/* Legal Support Request Portal. Three Link branding: primary #F96714, accent #253668,
   headings in Inter, body in Arial. Light and dark themes; WCAG 2.1 AA contrast.
   Orange is used for brand marks and accents; navy carries text-bearing controls so white text passes AA. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f3f4f7;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --ink: #17202e;
  --muted: #566173;
  --line: #d5dae3;
  --line-strong: #9aa4b5;
  --brand: #f96714;
  --navy: #253668;
  --link: #253668;
  --focus: #253668;
  --accent: #253668;
  --btn-bg: #253668;
  --btn-ink: #ffffff;
  --btn-hover: #1a2750;
  --field-bg: #ffffff;
  --danger: #b42318;
  --danger-bg: #fdeceb;
  --danger-line: #eda29b;
  --warn-bg: #fff8e6;
  --warn-line: #e3b341;
  --warn-ink: #6b4e00;
  --ok-bg: #edfaf1;
  --ok-line: #56b17a;
  --ok-ink: #14532d;
  --info-bg: #eef2fb;
  --info-line: #a9b8e0;
  --info-ink: #253668;
  --b-submitted-bg: #e6ebf7; --b-submitted-ink: #253668;
  --b-working-bg: #dff0fb; --b-working-ink: #0b4a7a;
  --b-info-bg: #fff0cc; --b-info-ink: #6b4e00;
  --b-completed-bg: #dff5e7; --b-completed-ink: #14532d;
  --b-cancelled-bg: #e9ebef; --b-cancelled-ink: #454e5c;
  --b-overdue-bg: #fde3e0; --b-overdue-ink: #9a1c12;
  --b-stale-bg: #efe5fd; --b-stale-ink: #5b21b6;
  --shadow: 0 1px 2px rgba(23, 32, 46, 0.06), 0 1px 6px rgba(23, 32, 46, 0.04);
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #0f131b;
    --surface: #171d29;
    --surface-2: #1d2433;
    --ink: #e8ebf1;
    --muted: #a6b0c0;
    --line: #2d3648;
    --line-strong: #56627a;
    --link: #a9bdf7;
    --focus: #ffb27d;
    --accent: #f96714;
    --btn-bg: #f96714;
    --btn-ink: #160d05;
    --btn-hover: #ff8a45;
    --field-bg: #10151e;
    --danger: #ff9a8f;
    --danger-bg: #3a1a17;
    --danger-line: #8a3d35;
    --warn-bg: #352c10;
    --warn-line: #9a7b1f;
    --warn-ink: #f2dd9c;
    --ok-bg: #15291d;
    --ok-line: #3f7a56;
    --ok-ink: #b7e8c8;
    --info-bg: #1a2440;
    --info-line: #3d4f85;
    --info-ink: #c9d5fb;
    --b-submitted-bg: #232f52; --b-submitted-ink: #c9d5fb;
    --b-working-bg: #143449; --b-working-ink: #a9dcfa;
    --b-info-bg: #40330f; --b-info-ink: #f6dc93;
    --b-completed-bg: #173323; --b-completed-ink: #a9e5bf;
    --b-cancelled-bg: #2a303b; --b-cancelled-ink: #c3cad6;
    --b-overdue-bg: #4a1c18; --b-overdue-ink: #ffb4ab;
    --b-stale-bg: #33235a; --b-stale-ink: #d9c7ff;
    --shadow: none;
  }
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0f131b;
  --surface: #171d29;
  --surface-2: #1d2433;
  --ink: #e8ebf1;
  --muted: #a6b0c0;
  --line: #2d3648;
  --line-strong: #56627a;
  --link: #a9bdf7;
  --focus: #ffb27d;
  --accent: #f96714;
  --btn-bg: #f96714;
  --btn-ink: #160d05;
  --btn-hover: #ff8a45;
  --field-bg: #10151e;
  --danger: #ff9a8f;
  --danger-bg: #3a1a17;
  --danger-line: #8a3d35;
  --warn-bg: #352c10;
  --warn-line: #9a7b1f;
  --warn-ink: #f2dd9c;
  --ok-bg: #15291d;
  --ok-line: #3f7a56;
  --ok-ink: #b7e8c8;
  --info-bg: #1a2440;
  --info-line: #3d4f85;
  --info-ink: #c9d5fb;
  --b-submitted-bg: #232f52; --b-submitted-ink: #c9d5fb;
  --b-working-bg: #143449; --b-working-ink: #a9dcfa;
  --b-info-bg: #40330f; --b-info-ink: #f6dc93;
  --b-completed-bg: #173323; --b-completed-ink: #a9e5bf;
  --b-cancelled-bg: #2a303b; --b-cancelled-ink: #c3cad6;
  --b-overdue-bg: #4a1c18; --b-overdue-ink: #ffb4ab;
  --b-stale-bg: #33235a; --b-stale-ink: #d9c7ff;
  --shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3, h4, .brand strong, .kpi .value {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: 1.6rem; margin: 0 0 0.35rem; font-weight: 700; }
h2 { font-size: 1.15rem; margin: 0 0 0.75rem; font-weight: 650; }
h3 { font-size: 1rem; margin: 0 0 0.5rem; font-weight: 650; }
p { margin: 0 0 0.9rem; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- header / footer ---------- */
.site-header { background: var(--surface); border-top: 4px solid var(--brand); border-bottom: 1px solid var(--line); }
.site-header .bar { max-width: 1480px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: 6px; }
.brand img { width: 38px; height: 38px; border-radius: 8px; background: #ffffff; }
.brand strong { display: block; font-size: 0.98rem; font-weight: 700; }
.brand small { display: block; font-size: 0.78rem; color: var(--muted); }
.site-nav { display: flex; gap: 2px; flex-wrap: wrap; flex: 1 1 auto; }
.site-nav a { padding: 7px 12px; border-radius: 7px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.93rem; border-bottom: 3px solid transparent; }
.site-nav a:hover { background: var(--surface-2); }
.site-nav a[aria-current='page'] { border-bottom-color: var(--brand); border-radius: 7px 7px 0 0; }
.user-box { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; flex-wrap: wrap; }
.user-box .who { text-align: right; line-height: 1.25; }
.user-box .who strong { display: block; }
.user-box form { margin: 0; }
.dev-banner { background: var(--warn-bg); color: var(--warn-ink); border-bottom: 1px solid var(--warn-line); font-size: 0.85rem; padding: 6px 20px; text-align: center; }
.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 20px 56px; flex: 1 0 auto; }
.container.wide { max-width: 1480px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.8rem; text-align: center; padding: 16px 20px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { margin: 0; color: var(--muted); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card > h2:first-child, .card > .card-head { margin-top: 0; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.banner { border: 1px solid var(--info-line); background: var(--info-bg); color: var(--info-ink); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 0.95rem; }
.banner.warn { border-color: var(--warn-line); background: var(--warn-bg); color: var(--warn-ink); }
.banner.error { border-color: var(--danger-line); background: var(--danger-bg); color: var(--danger); }
.banner.ok { border-color: var(--ok-line); background: var(--ok-bg); color: var(--ok-ink); }
.banner p:last-child, .banner ul:last-child { margin-bottom: 0; }
.banner ul { margin: 6px 0 0; padding-left: 20px; }
.empty { text-align: center; color: var(--muted); padding: 34px 16px; }
.empty .btn { margin-top: 10px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1.2; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--btn-bg); background: var(--btn-bg); color: var(--btn-ink); cursor: pointer; text-decoration: none; min-height: 40px; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger-bg); }
.btn.small { padding: 5px 10px; font-size: 0.85rem; min-height: 32px; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field > label, fieldset.group > legend { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 6px; }
.req { color: var(--danger); margin-left: 2px; }
.opt { font-weight: 400; color: var(--muted); }
input[type='text'], input[type='email'], input[type='url'], input[type='date'], input[type='time'], input[type='number'], input[type='search'], textarea, select {
  width: 100%; font: inherit; font-size: 0.97rem; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--field-bg); color: var(--ink); min-height: 40px;
}
textarea { min-height: 96px; resize: vertical; }
input[readonly] { background: var(--surface-2); color: var(--muted); }
input[type='file'] { font: inherit; font-size: 0.93rem; max-width: 100%; }
input[type='checkbox'], input[type='radio'] { width: 17px; height: 17px; accent-color: var(--accent); flex: 0 0 auto; margin: 3px 0 0; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.hint { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--danger); font-size: 0.87rem; margin: 6px 0 0; font-weight: 600; }
.field.bad input, .field.bad textarea, .field.bad select, fieldset.group.bad { border-color: var(--danger); }
fieldset.group { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; min-width: 0; }
fieldset.group > .field { margin: 14px 0 2px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.choices.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 20px; }
.choice { display: flex; align-items: flex-start; gap: 8px; font-size: 0.95rem; font-weight: 400; cursor: pointer; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; }
@media (max-width: 680px) { .duo, .trio, .choices.stack { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { margin-bottom: 0; flex: 1 1 180px; }
form.stacked > .btn, form.stacked > .actions { margin-top: 4px; }

/* ---------- wizard ---------- */
.steps { list-style: none; display: flex; gap: 6px; margin: 0 0 20px; padding: 0; flex-wrap: wrap; }
.steps li { flex: 1 1 110px; border-top: 4px solid var(--line); padding-top: 7px; font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.steps li.done { border-top-color: var(--navy); color: var(--ink); }
.steps li[aria-current='step'] { border-top-color: var(--brand); color: var(--ink); }
.step > h2 { margin-bottom: 2px; }
.step-hint { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.js .step[data-off] { display: none; }
.wizard-nav { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.wizard-nav .spacer { flex: 1 1 auto; }
.draft-status { font-size: 0.85rem; color: var(--muted); }
.turnaround { background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); border-radius: 8px; padding: 14px 16px; margin: 4px 0 16px; font-size: 0.92rem; }
.turnaround h3 { margin: 0 0 8px; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.turnaround p { margin: 0 0 8px; }
.turnaround p:last-child { margin-bottom: 0; font-weight: 700; }
.filelist { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.92rem; }
.filelist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 6px; flex-wrap: wrap; }
.filelist li.blocked { border-color: var(--danger-line); background: var(--danger-bg); color: var(--danger); }
.filelist .name { overflow-wrap: anywhere; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
table.answers th { width: 36%; font-weight: 600; color: var(--muted); }
table.answers td { overflow-wrap: anywhere; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.compact { font-size: 0.86rem; }
table.compact th, table.compact td { padding: 8px 7px; }
tfoot td, tfoot th { font-weight: 700; border-top: 2px solid var(--line-strong); border-bottom: 0; }
@media (max-width: 760px) {
  table.stack thead { position: absolute; left: -9999px; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; margin-bottom: 10px; }
  table.stack td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 14px; text-align: right; }
  table.stack td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; flex: 0 0 40%; }
  table.stack td.num { text-align: right; }
  table.answers th, table.answers td { display: block; width: 100%; }
  table.answers th { border-bottom: 0; padding-bottom: 0; }
}

/* ---------- badges ---------- */
.badge { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; line-height: 1.4; }
.badge.submitted { background: var(--b-submitted-bg); color: var(--b-submitted-ink); }
.badge.working_on { background: var(--b-working-bg); color: var(--b-working-ink); }
.badge.info_needed { background: var(--b-info-bg); color: var(--b-info-ink); }
.badge.completed { background: var(--b-completed-bg); color: var(--b-completed-ink); }
.badge.cancelled { background: var(--b-cancelled-bg); color: var(--b-cancelled-ink); }
.badge.overdue { background: var(--b-overdue-bg); color: var(--b-overdue-ink); }
.badge.stale { background: var(--b-stale-bg); color: var(--b-stale-ink); }
.badge.plain { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.badges { display: inline-flex; gap: 6px; flex-wrap: wrap; align-items: center; }

/* ---------- tabs / pagination ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 14px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current='page'] { color: var(--ink); border-bottom-color: var(--brand); }
.tabs .count { font-weight: 400; color: var(--muted); }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 0.9rem; color: var(--muted); }

/* ---------- request page ---------- */
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px 18px; margin: 0; }
.summary div { min-width: 0; }
.summary dt { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }
.summary dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.thread { list-style: none; margin: 0 0 14px; padding: 0; }
.thread li { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; background: var(--surface-2); }
.thread li.mine { border-left: 4px solid var(--navy); }
.thread .meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; }
.thread .meta strong { color: var(--ink); }
.thread .body { overflow-wrap: anywhere; }
.notes .thread li { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-ink); }
.notes .thread .meta, .notes .thread .meta strong { color: var(--warn-ink); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.timeline li { position: relative; padding: 0 0 16px 22px; border-left: 2px solid var(--line); }
.timeline li:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--navy); }
.timeline li.auto::before { border-color: var(--brand); }
.timeline .what { font-weight: 600; }
.timeline .meta { font-size: 0.82rem; color: var(--muted); }
.timeline .detail { font-size: 0.9rem; margin-top: 4px; overflow-wrap: anywhere; }
.quote { border-left: 3px solid var(--brand); padding: 4px 10px; margin: 6px 0 0; background: var(--surface-2); border-radius: 0 6px 6px 0; overflow-wrap: anywhere; }
.doclist { list-style: none; margin: 0 0 12px; padding: 0; }
.doclist li { display: flex; justify-content: space-between; align-items: center; gap: 8px 14px; padding: 9px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.doclist li:last-child { border-bottom: 0; }
.doclist .name { font-weight: 600; overflow-wrap: anywhere; }
.doclist .meta { font-size: 0.82rem; color: var(--muted); }
.doclist .removed .name { text-decoration: line-through; color: var(--muted); }
.doclist .acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
details.more > summary { cursor: pointer; font-weight: 600; color: var(--link); padding: 4px 0; }
details.more.quiet > summary { color: var(--muted); font-weight: 400; }
.inline-form[data-gap] { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
details.more[open] > summary { margin-bottom: 10px; }
.change { font-size: 0.9rem; }
.change del { color: var(--danger); text-decoration: line-through; }
.change ins { color: var(--ok-ink); text-decoration: none; font-weight: 600; }

/* ---------- queue / metrics ---------- */
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 14px; align-items: end; }
.filters .field { margin: 0; }
.filters .span-all { grid-column: 1 / -1; }
.filters fieldset.group { margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 600; }
.kpi .value { font-size: 1.9rem; font-weight: 700; margin-top: 2px; }
.kpi .value.alert { color: var(--danger); }
.kpi .note { font-size: 0.8rem; color: var(--muted); }

/* ---------- dialogs ---------- */
dialog { border: 1px solid var(--line); border-radius: 12px; padding: 0; background: var(--surface); color: var(--ink); width: min(520px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); }
dialog::backdrop { background: rgba(10, 14, 22, 0.55); }
dialog .dialog-body { padding: 20px; }
dialog h2 { margin-bottom: 12px; }

/* ---------- sign-in ---------- */
.signin { max-width: 760px; margin: 0 auto; }
.personas { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.personas li form { margin: 0; }
.persona { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.persona:hover { border-color: var(--navy); background: var(--surface-2); }
.persona strong { display: block; font-family: 'Inter', Arial, sans-serif; }
.persona .blurb { display: block; font-size: 0.87rem; color: var(--muted); }
.email-frame { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff; }
pre.plain { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 0.85rem; margin: 0; }
.notfound { text-align: center; padding: 60px 16px; }
