:root {
    color-scheme: light;
    --ink: #122c40;
    --muted: #4d6679;
    --line: #d6e2ea;
    --surface: #fff;
    --accent: #006a65;
    --tint: #e6f4f2;
    --warn-ink: #784600;
    --warn-fill: #fff0d5;
    font: 16px/1.5 system-ui, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #eef3f7;
}
* { box-sizing: border-box; }
body { margin: 0; }
.masthead { background: #112941; color: #edf8fb; }
.chrome, .content { width: min(1120px, calc(100% - 32px)); margin: auto; }
.chrome, .heading, .section-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.chrome { padding: 14px 0; }
.chrome form, .section-head form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.brand { color: inherit; text-decoration: none; font-weight: 700; }
.chrome-link { color: inherit; margin-right: 8px; }
.brand span { display: inline-grid; place-items: center; background: #a6ebe0; color: #143c49; width: 36px; height: 36px; border-radius: 8px; margin-right: 8px; }
.content { padding: 26px 0 42px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.2; }
h2 { font-size: 1.25rem; }
.kicker { text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; font-size: .76rem; margin-bottom: 4px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-top: 15px; }
.filters { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
label { display: grid; gap: 4px; font-weight: 600; }
input, select, button { min-height: 42px; max-width: 100%; border: 1px solid #aabfce; border-radius: 7px; padding: 7px 10px; font: inherit; color: var(--ink); background: var(--surface); }
button { background: var(--accent); color: white; border-color: var(--accent); cursor: pointer; padding-inline: 16px; font-weight: 650; }
button.quiet { background: var(--surface); color: var(--accent); border-color: #aabfce; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #1c7bca; outline-offset: 3px; }
.account { max-width: 220px; overflow-wrap: anywhere; }
nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
nav a { padding: 7px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.muted { color: var(--muted); font-size: .875rem; margin-top: 5px; }
.empty { padding-top: 14px; }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.metric { background: var(--tint); padding: 12px 16px; border-radius: 8px; }
.metric strong { display: block; font-size: 1.45rem; font-variant-numeric: tabular-nums; }
.metric span { font-size: .85rem; }
.count, .status { padding: 3px 8px; border-radius: 6px; background: var(--warn-fill); color: var(--warn-ink); }
.count { font-variant-numeric: tabular-nums; }
.table-wrap { margin-top: 9px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border-bottom: 1px solid var(--line); padding: 9px 8px; vertical-align: top; }
td { overflow-wrap: anywhere; }
th { color: var(--muted); font-size: .85rem; }
.number { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pagination { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 14px; }
.login { max-width: 420px; margin: 28px auto; }
.login form { display: grid; gap: 8px; margin: 16px 0 0; }
.login form button { justify-self: start; margin-top: 6px; }
.problem { padding: 12px; margin: 12px 0; background: var(--warn-fill); color: var(--warn-ink); border-radius: 8px; }
.site-grid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.site-card { display: grid; gap: 8px; align-content: start; overflow-wrap: anywhere; }
.site-card a { justify-self: start; }
.review-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 14px 0; }
.review-meta dt { color: var(--muted); font-size: .85rem; }
.review-meta dd { margin: 0; overflow-wrap: anywhere; }
.evidence { padding: 0; list-style: none; margin: 8px 0 0; }
.evidence li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 560px) {
    .chrome, .content { width: calc(100% - 22px); }
    .content { padding-top: 18px; }
    .panel { padding: 13px; }
    .filters label:first-child { width: 100%; }
    #review table { min-width: 34rem; }
}
