:root { --fg: #1a1a1a; --muted: #5f6368; --line: #dadce0; --bg: #fff; --accent: #1a56db;
  --bad: #b3261e; --ok: #146c2e; --warn: #8a5300; color-scheme: light dark; }
@media (prefers-color-scheme: dark) {
  :root { --fg: #e8eaed; --muted: #9aa0a6; --line: #3c4043; --bg: #202124; --accent: #8ab4f8;
    --bad: #f28b82; --ok: #81c995; --warn: #fdd663; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, sans-serif; color: var(--fg); background: var(--bg); }
header { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; padding: .75rem 1rem;
  border-bottom: 1px solid var(--line); }
header nav { display: flex; gap: 1rem; }
.brand { font-weight: 700; color: inherit; text-decoration: none; }
.me { margin-left: auto; color: var(--muted); overflow-wrap: anywhere; }
main { max-width: 60rem; margin: 0 auto; padding: 1rem; }
a { color: var(--accent); }
h1 { font-size: 1.5rem; margin: .5rem 0 1rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
.muted { color: var(--muted); }
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .5rem .5rem .5rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: .85rem; }
button { font: inherit; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg); color: var(--fg); cursor: pointer; }
button:hover { border-color: var(--accent); }
button:disabled { opacity: .6; cursor: wait; }
button.link { border: 0; padding: 0; background: none; color: var(--accent); text-decoration: underline; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input, select, textarea { font: inherit; padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg); color: var(--fg); max-width: 100%; }
.stack { display: grid; gap: .75rem; max-width: 22rem; }
.stack label { display: grid; gap: .25rem; }
.stack label[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.inline { display: flex; gap: .25rem; }
.inline input { width: 7rem; min-width: 0; }
.inline input[type=url] { width: 16rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.pager { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.feedback { list-style: none; padding: 0; }
.feedback li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.verdict { font-weight: 600; text-transform: uppercase; font-size: .8rem; }
.verdict.yes { color: var(--ok); } .verdict.partly { color: var(--warn); } .verdict.no { color: var(--bad); }
blockquote { margin: 0 0 1rem; padding-left: 1rem; border-left: 3px solid var(--line); white-space: pre-wrap; }
img { max-width: 100%; height: auto; border: 1px solid var(--line); }
audio { width: 100%; max-width: 30rem; }
code { overflow-wrap: anywhere; }
#flash { margin: 0; padding: .6rem 1rem; background: color-mix(in srgb, var(--ok) 15%, var(--bg)); }
#flash.bad { background: color-mix(in srgb, var(--bad) 15%, var(--bg)); }
