/* wren portal. Server-rendered, no script. WCAG 2.2 AA: body text 7:1 or better, secondary text
   at least 4.5:1, control borders 3:1, targets at least 44 px (24 px is the floor), visible focus
   ring on everything that takes focus, one h1 per page, no orphan words (text-wrap). Content blocks
   fill their column; the only width limit is the page frame and the sign-in card. */
:root {
  --ink: #111827;
  --muted: #4b5563;
  --faint: #6b7280;
  --line: #d9dde3;
  --control: #6b7280;
  --bg: #f4f5f7;
  --panel: #ffffff;
  --surface: #eef0f3;
  --primary: #12305c;
  --primary-hover: #0c2142;
  --primary-ink: #ffffff;
  --primary-soft: #e6edf7;
  --focus: #1a56db;
  --ok-bg: #e7f5ec; --ok-ink: #0b4a22; --ok-line: #2f7d4b;
  --info-bg: #e6eefb; --info-ink: #12305c; --info-line: #3b5f9a;
  --warn-bg: #fff4d6; --warn-ink: #4d3300; --warn-line: #a86b00;
  --bad-bg: #fde8e8; --bad-ink: #7f1010; --bad-line: #c03030;
  --frame: 76rem;
  --gutter: 16px;
  --radius: 12px;
  --target: 2.75rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.25; margin: 0; }
p, li, dd, td { text-wrap: pretty; }
p { margin: 0 0 0.75rem; }
h1 { font-size: 1.6rem; letter-spacing: -0.01em; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
a { color: var(--primary); text-underline-offset: 0.18em; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 10; background: var(--primary); color: var(--primary-ink); padding: 0.75rem 1rem; }
.skip:focus { left: var(--gutter); top: 0.5rem; }
@media (min-width: 700px) { :root { --gutter: 32px; } h1 { font-size: 1.85rem; } }

.frame { width: 100%; max-width: calc(var(--frame) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- header and navigation ---------- */
.top { background: var(--panel); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; padding-block: 0.6rem; }
.brand { display: flex; align-items: center; min-width: 0; text-decoration: none; color: var(--ink); }
.brand img { display: block; height: 2.6rem; width: auto; max-width: 11rem; }
.brand-name { font-weight: 700; font-size: 1.1rem; }
.account { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }
.who { text-align: right; line-height: 1.3; min-width: 0; }
.who-name { display: block; font-weight: 600; font-size: 0.95rem; }
.who-org { display: block; color: var(--muted); font-size: 0.85rem; }
.account form { margin: 0; }
@media (max-width: 560px) { .who { display: none; } .brand img { height: 2.2rem; } }

.nav { background: var(--panel); border-bottom: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: var(--target); padding: 0.4rem 0.85rem;
  color: var(--muted); font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.nav-group { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.nav-sep { width: 1px; background: var(--line); margin: 0.6rem 0.5rem; }
@media (max-width: 699px) {
  .nav ul { padding-block: 0.5rem; gap: 0.4rem; }
  .nav a { border: 1px solid var(--line); border-radius: 999px; background: var(--panel); padding-inline: 0.9rem; }
  .nav a[aria-current="page"] { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
  .nav-sep { display: none; }
}

/* ---------- page ---------- */
main { flex: 1; padding-block: 1.75rem 3rem; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1.5rem; }
.page-head > div { flex: 1 1 22rem; min-width: 0; }
.page-head p { margin: 0.35rem 0 0; color: var(--muted); }
.eyebrow { display: block; color: var(--muted); font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; }
.back { display: inline-flex; align-items: center; min-height: var(--target); margin: -0.75rem 0 0.25rem; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1180px) { .grid-2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.section-title a { font-weight: 600; white-space: nowrap; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; min-width: 0; }
.panel > :last-child { margin-bottom: 0; }
.panel-flush { padding: 0; overflow: hidden; }
.panel-flush > .section-title { padding: 1.1rem 1.25rem 0; }
.panel > h2 { margin-bottom: 0.6rem; }
.panel > h2 + .hint { margin-top: -0.3rem; }

/* ---------- stats ---------- */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); margin-bottom: 1.5rem; }
.stat {
  display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.25rem; min-height: 6.5rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none;
}
a.stat:hover { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); color: var(--ink); }
.stat-value { font-size: 2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { font-weight: 600; }
.stat-hint { color: var(--muted); font-size: 0.9rem; }
.stat-attention { border-left: 6px solid var(--warn-line); }

/* ---------- lists and rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; padding: 0.85rem 1.25rem; border-top: 1px solid var(--line); }
.panel:not(.panel-flush) .rows > li { padding-inline: 0; }
.panel:not(.panel-flush) .rows > li:first-child { border-top: 0; padding-top: 0.25rem; }
.row-main { min-width: 0; flex: 1 1 14rem; }
.row-title { font-weight: 600; display: block; }
.row-sub { color: var(--muted); font-size: 0.92rem; display: block; }
.row-side { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.num { font-variant-numeric: tabular-nums; font-weight: 600; }
.panel + .hint { margin-top: 0.75rem; }
.empty { color: var(--muted); padding: 1rem 1.25rem 1.25rem; margin: 0; }
.panel:not(.panel-flush) .empty { padding: 0; }

/* ---------- site cards (who is in now) ---------- */
.site-card h3 { display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; }
.site-card .count { color: var(--muted); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.people-chips { list-style: none; margin: 0.75rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.people-chips li { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; padding: 0.55rem 0.75rem; background: var(--surface); border-radius: 8px; }
.people-chips .since { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.15rem 0.6rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; border: 1px solid transparent; white-space: nowrap; line-height: 1.5;
}
.badge::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-bg); color: var(--ok-ink); border-color: var(--ok-line); }
.badge-info { background: var(--info-bg); color: var(--info-ink); border-color: var(--info-line); }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.badge-bad { background: var(--bad-bg); color: var(--bad-ink); border-color: var(--bad-line); }
.badge-plain { background: var(--surface); color: var(--muted); border-color: var(--line); }

/* ---------- tables (stack into labelled rows on a phone) ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data th, .data td { text-align: left; padding: 0.75rem 1rem; border-top: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.data th:first-child, .data td:first-child { padding-left: 1.25rem; }
.data th:last-child, .data td:last-child { padding-right: 1.25rem; }
.data td.wrap { white-space: normal; min-width: 10rem; }
.data tr.off td { color: var(--muted); }
.data thead th { border-top: 0; color: var(--muted); font-size: 0.88rem; font-weight: 600; background: var(--surface); }
.data td.n, .data th.n { text-align: right; }
.data tfoot td { font-weight: 700; background: var(--surface); }
.data a { font-weight: 600; }
@media (max-width: 699px) {
  .data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data, .data tbody, .data tfoot, .data tr, .data td { display: block; width: 100%; }
  .data tr { border-top: 1px solid var(--line); padding: 0.6rem 1.25rem; }
  .data td, .data td:first-child, .data td:last-child { border: 0; padding: 0.2rem 0; display: flex; justify-content: space-between; gap: 1rem; text-align: right; white-space: normal; }
  .data td:empty { display: none; }
  .data td.n { text-align: right; }
  .data td::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; }
  .data td.cell-main { display: block; text-align: left; font-size: 1.05rem; padding-bottom: 0.3rem; }
  .data td.cell-main::before { content: none; }
  .data tfoot tr { background: var(--surface); }
}

/* ---------- definition lists ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem 1.5rem; margin: 0; }
.facts div { min-width: 0; }
.note-h { margin: 1.25rem 0 0.25rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.facts dt { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.facts dd { margin: 0.15rem 0 0; font-weight: 600; }

/* ---------- balance meter ---------- */
.balance-figure { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; margin: 0.5rem 0 0.75rem; }
.balance-figure strong { font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.meter { display: flex; height: 0.75rem; border-radius: 999px; overflow: hidden; background: var(--surface); border: 1px solid var(--control); }
.meter span { display: block; height: 100%; }
.meter .m-taken { background: var(--primary); }
.meter .m-booked { background: #5b7fb5; }
/* meter widths (no inline styles under the CSP) */
.w-0 { width: 0%; } .w-5 { width: 5%; } .w-10 { width: 10%; } .w-15 { width: 15%; } .w-20 { width: 20%; } .w-25 { width: 25%; } .w-30 { width: 30%; } .w-35 { width: 35%; } .w-40 { width: 40%; } .w-45 { width: 45%; } .w-50 { width: 50%; } .w-55 { width: 55%; } .w-60 { width: 60%; } .w-65 { width: 65%; } .w-70 { width: 70%; } .w-75 { width: 75%; } .w-80 { width: 80%; } .w-85 { width: 85%; } .w-90 { width: 90%; } .w-95 { width: 95%; } .w-100 { width: 100%; }
.legend { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; color: var(--muted); font-size: 0.92rem; }
.legend li { display: flex; align-items: center; gap: 0.4rem; }
.key { width: 0.8rem; height: 0.8rem; border-radius: 3px; display: inline-block; border: 1px solid var(--control); }
.key-taken { background: var(--primary); } .key-booked { background: #5b7fb5; } .key-left { background: var(--surface); }

/* ---------- notices ---------- */
.notice { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1.1rem; border-radius: 10px; border: 1px solid; border-left-width: 6px; margin-bottom: 1.25rem; }
.notice p { margin: 0; }
.notice strong { display: block; }
.notice-ok { background: var(--ok-bg); color: var(--ok-ink); border-color: var(--ok-line); }
.notice-info { background: var(--info-bg); color: var(--info-ink); border-color: var(--info-line); }
.notice-warn { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.notice-bad { background: var(--bad-bg); color: var(--bad-ink); border-color: var(--bad-line); }
.code-reveal { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.8rem; font-weight: 700; letter-spacing: 0.12em; display: block; margin: 0.35rem 0; color: var(--ink); }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label, .field legend { font-weight: 600; }
.hint { color: var(--muted); font-size: 0.92rem; margin: 0; }
.field-error { color: var(--bad-ink); font-weight: 600; font-size: 0.95rem; margin: 0; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
/* side-by-side fields keep their inputs on one line whatever hint or error sits above them */
@media (min-width: 700px) {
  .field-row { row-gap: 0.35rem; }
  .field-row > .field { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0.35rem; align-content: start; }
  .field-row > .field > label { grid-row: 1; } .field-row > .field > .hint { grid-row: 2; }
  .field-row > .field > .field-error { grid-row: 3; } .field-row > .field > input { grid-row: 4; }
}
input[type="text"], input[type="email"], input[type="password"], input[type="date"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: var(--target); padding: 0.55rem 0.75rem; font: inherit; color: var(--ink);
  background: var(--panel); border: 1px solid var(--control); border-radius: 8px;
}
textarea { min-height: 6rem; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border: 2px solid var(--bad-line); }
input.code { font-size: 1.5rem; letter-spacing: 0.3em; font-variant-numeric: tabular-nums; max-width: 14rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.inline-form { display: inline; margin: 0; }
.search-row { display: flex; gap: 0.75rem; align-items: stretch; }
.search-row input, .search-row select { flex: 1 1 auto; min-width: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--target); padding: 0.55rem 1.15rem; font: inherit; font-weight: 600; line-height: 1.2; text-align: center;
  border-radius: 8px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-ink); }
.btn-secondary { background: var(--panel); color: var(--ink); border-color: var(--control); }
.btn-secondary:hover { background: var(--surface); color: var(--ink); }
.btn-danger { background: var(--panel); color: var(--bad-ink); border-color: var(--bad-line); }
.btn-danger:hover { background: var(--bad-bg); }
.btn-quiet { background: transparent; color: var(--primary); border-color: transparent; text-decoration: underline; text-underline-offset: 0.18em; padding-inline: 0.5rem; }
.btn-small { min-height: 2.25rem; padding: 0.3rem 0.8rem; font-size: 0.95rem; white-space: nowrap; }
.btn-block { width: 100%; }

/* ---------- sign-in ---------- */
.auth-main { display: flex; align-items: flex-start; justify-content: center; padding: 2.5rem var(--gutter) 3rem; }
.auth-card { width: 100%; max-width: 30rem; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 2rem 1.5rem; }
@media (min-width: 560px) { .auth-card { padding: 2.25rem 2.5rem; } .auth-main { padding-top: 4rem; } }
.auth-logo { display: block; height: 3.25rem; width: auto; max-width: 100%; margin-bottom: 1.5rem; }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.auth-card .lead { color: var(--muted); margin-bottom: 1.5rem; }
.auth-alt { margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }
.auth-alt a { font-weight: 600; }
.choice-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.choice-list button { width: 100%; justify-content: space-between; text-align: left; padding: 0.9rem 1rem; }
.choice-list .badge { margin-left: auto; }
/* authenticator set-up, recovery codes and step-up (docs/dev/totp-r1-report.md) */
.steps { margin: 0 0 1.25rem; padding-left: 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; }
.qr-box { margin: 0 0 1.25rem; display: flex; justify-content: center; }
.qr-box svg { display: block; width: 14.5rem; height: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.secret-key { background: var(--surface); border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 1.5rem; }
.secret-key .hint { margin-bottom: 0.4rem; }
.key-text { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; word-spacing: 0.25em; overflow-wrap: anywhere; margin: 0; color: var(--ink); }
.recovery-codes { list-style: none; margin: 0 0 1rem; padding: 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 0.5rem 1rem; background: var(--surface); border-radius: 8px; counter-reset: rc; }
.recovery-codes li { counter-increment: rc; display: flex; gap: 0.6rem; align-items: baseline; }
.recovery-codes li::before { content: counter(rc) "."; color: var(--muted); min-width: 1.6rem; text-align: right; font-variant-numeric: tabular-nums; }
.recovery-codes code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.recovery-codes + .hint { margin-bottom: 1.5rem; }
/* A deliberate, planned width: the step-up check is a two-field form in a signed-in page, sized
   like the sign-in card (30 rem) rather than stretched across the 76 rem frame. */
.panel-narrow { max-width: 34rem; }

/* ---------- admin screens (docs/dev/portal-admin-r1-report.md) ---------- */
fieldset.choices { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.choices legend { padding: 0; margin-bottom: 0.35rem; }
.choices .choice { margin-top: 0.4rem; }
.choice { display: flex; align-items: flex-start; gap: 0.7rem; min-height: var(--target); padding: 0.55rem 0.75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.choice input[type="radio"], .choice input[type="checkbox"] { flex: none; width: 1.5rem; height: 1.5rem; margin: 0.05rem 0 0; accent-color: var(--primary); }
.choice label { font-weight: 600; flex: 1 1 auto; min-width: 0; cursor: pointer; text-wrap: pretty; }
.choice-hint { display: block; color: var(--muted); font-weight: 400; font-size: 0.92rem; }
.choice-confirm { background: var(--surface); }
@media (min-width: 700px) {
  .choices-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); column-gap: 0.6rem; }
  .choices-columns > legend, .choices-columns > .hint, .choices-columns > .field-error { grid-column: 1 / -1; }
}
.sub-fields { display: flex; flex-direction: column; gap: 0.9rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sub-fields h3 { color: var(--muted); font-size: 0.92rem; }
.section-gap { margin-top: 1.25rem; margin-bottom: 1.25rem; }
.section-title .count { color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; }
.token-reveal { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 1rem; font-weight: 700; display: block; margin: 0.5rem 0 0; padding: 0.6rem 0.75rem; background: var(--panel); border: 1px solid var(--ok-line); border-radius: 8px; color: var(--ink); overflow-wrap: anywhere; }
.step-up-panel .btn { margin-top: 0.25rem; }
.form-gap { margin-top: 1.25rem; }
.page-head > form { margin: 0; }
.line { display: block; }
.stack > * { min-width: 0; max-width: 100%; }
.admin-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.admin-card { display: flex; flex-direction: column; gap: 0.35rem; color: var(--ink); text-decoration: none; min-height: 9.5rem; }
a.admin-card:hover { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); color: var(--ink); }
.admin-card-title { font-size: 1.15rem; font-weight: 700; color: var(--primary); text-decoration: underline; text-underline-offset: 0.18em; }
.admin-card-text { color: var(--muted); }
.admin-card-figure { margin-top: auto; font-weight: 600; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--panel); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; color: var(--muted); font-size: 0.88rem; }
.powered { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); text-decoration: none; }
.powered img { height: 1.1rem; width: auto; display: block; }
.foot p { margin: 0; }

/* ---------- error pages ---------- */
.error-ref { font-family: ui-monospace, Consolas, monospace; color: var(--muted); font-size: 0.9rem; }

@media print { .nav, .foot, .account form, .skip { display: none; } body { background: #fff; } }
