/* EnerComply UI, direction C "Block" (docs/superpowers/specs/2026-10-02-ui-redesign-block-design.md). */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo-Variable.ttf") format("truetype");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/ui/brand/fonts/IBMPlexMono-Regular.ttf") format("truetype");
  font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/ui/brand/fonts/IBMPlexMonoMedium-Regular.ttf") format("truetype");
  font-weight: 500; font-display: swap; }

:root {
  --navy: #17315A; --navy-deep: #0B2439; --on-navy: #B6C7D8; --tint: #6F8AA5;
  --ground: #EEF0F3; --surface: #FFFFFF; --ink: #0F1A2A; --body: #4A5568; --label: #43617D;
  --rule: #E3E7EC; --edge: #D5DAE1; --signal: #C25A16; --signal-text: #A34A10;
  /* v0.42.0 R3 (docs/PLAN_UI_REFRESH.md section 5): non-text edges at 3:1 or more (WCAG 1.4.11);
     tests/test_ui_contrast.py reads these. --tint was #8FA8C0 (2.46:1 on white). */
  --field-edge: #8A94A3; --chip-edge: #8A94A3; --navy-edge: #5A7FA3;
  --sans: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --mono: "Plex Mono", Menlo, Consolas, monospace;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 15px;
  line-height: 1.5; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.band :focus-visible { outline-color: #FFFFFF; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
code, .id, .mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.caps { font-stretch: 125%; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.text { white-space: pre-wrap; }
.muted { color: var(--body); }

/* Header band */
.band { background: var(--navy); color: #FFFFFF; }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; min-height: 72px;
  padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; gap: 14px; min-height: 44px; color: #FFFFFF; text-decoration: none; }
.brand:hover { color: #FFFFFF; }
.brand__mark { width: 22px; height: 30px; fill: #FFFFFF; }
.brand__word { font-stretch: 125%; font-weight: 700; font-size: 15px; letter-spacing: 0.22em; }
.tabs { display: flex; flex-wrap: wrap; align-self: stretch; gap: 0 4px; }
.tabs a { display: flex; align-items: center; min-height: 72px; padding: 4px 12px 0; border-bottom: 4px solid transparent;
  color: var(--on-navy); text-decoration: none; font-stretch: 112%; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; }
.tabs a:hover { color: #FFFFFF; }
.tabs a[aria-current="page"] { color: #FFFFFF; border-bottom-color: #FFFFFF; }
.band__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--navy-edge); background: transparent; color: #FFFFFF; cursor: pointer; text-decoration: none; }
.iconbtn:hover { background: var(--navy-deep); color: #FFFFFF; }
.iconbtn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.band .btn--quiet { color: #FFFFFF; border-color: var(--navy-edge); }
/* v0.42.0 R2: the More menu (a details element; no JavaScript). It sits in .tabs, so .tabs a styles its links too. */
.more { position: relative; display: flex; align-self: stretch; }
.more summary { display: flex; align-items: center; min-height: 72px; padding: 4px 12px 0; border-bottom: 4px solid transparent;
  color: var(--on-navy); cursor: pointer; list-style: none; font-stretch: 112%; font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; margin-left: 6px; }
.more[open] summary::after { content: "-"; }
.more summary:hover, .more[open] summary { color: #FFFFFF; }
.more__menu { position: absolute; top: 100%; left: 0; z-index: 10; min-width: 240px; display: flex; flex-direction: column;
  padding: 8px 0; background: var(--navy); border: 1px solid var(--navy-edge); }
.tabs .more__menu a { min-height: 44px; padding: 0 16px; border-bottom: 0; }
.band .btn--quiet:hover { background: var(--navy-deep); color: #FFFFFF; }

/* Client strip */
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 10px var(--gutter); background: var(--surface); border-bottom: 1px solid var(--edge); }
.strip__client { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.strip__label { display: inline-flex; align-items: center; min-height: 44px; font-stretch: 125%; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--label);
  text-transform: uppercase; }
.strip__name { font-stretch: 125%; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.strip__meta { font-family: var(--mono); font-size: 12px; color: var(--body); }

/* Page */
.page { width: 100%; max-width: 1360px; margin: 0 auto; padding: 40px var(--gutter) 64px; display: flex;
  flex-direction: column; gap: 24px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.eyebrow { font-stretch: 125%; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--navy);
  text-transform: uppercase; }
.title { font-size: 34px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; overflow-wrap: anywhere; }
.meta { font-family: var(--mono); font-size: 12px; color: var(--body); }
/* v0.37.0 screen ID badge (docs/SCREEN_IDS.md): small grey monospace code a user reads to support. */
.screen-id { font: 11px/1 var(--mono), ui-monospace, monospace; color: var(--body); letter-spacing: .04em;
  align-self: flex-start; user-select: all; }
.screen-id--corner { align-self: flex-end; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-stretch: 112%; font-size: 11px;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.split__side { flex: 1 1 290px; max-width: 100%; }
.split__main { flex: 999 1 560px; min-width: 0; }

/* Panels */
.panel { background: var(--surface); padding: 32px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel--navy { background: var(--navy); color: #FFFFFF; }
.panel--navy a { color: #FFFFFF; }
.panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.panel__title { font-stretch: 125%; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; color: var(--navy);
  text-transform: uppercase; }
.panel--navy .panel__title { color: var(--on-navy); }
.panel__link { display: inline-flex; align-items: center; min-height: 44px; font-stretch: 112%; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* Readiness figure and bars */
.figure { display: flex; align-items: flex-start; gap: 6px; line-height: 0.82; font-stretch: 125%; }
.figure__num { font-weight: 800; font-size: 168px; letter-spacing: -0.02em; }
.figure__unit { font-weight: 700; font-size: 64px; padding-top: 10px; }
.figure__none { font-weight: 700; font-size: 40px; line-height: 1.1; }
/* v0.42.0 R1: the stack bar is an inline SVG (ui/_components.html stackbar); the swatch spans keep the backgrounds. */
.stackbar { display: block; width: 100%; height: 16px; }
.stackbar--thin { height: 12px; }
.stackbar .seg--effective { fill: var(--navy); }
.stackbar .seg--improving { fill: var(--tint); }
.stackbar .seg--empty { fill: none; stroke: var(--tint); stroke-width: 2; vector-effect: non-scaling-stroke; }
.panel--navy .stackbar .seg--effective { fill: #FFFFFF; }
.seg { display: block; min-width: 0; }
.seg--effective { background: var(--navy); }
.seg--improving { background: var(--tint); }
.seg--empty { border: 2px solid var(--tint); }
.panel--navy .seg--effective { background: #FFFFFF; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; font-stretch: 125%; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; }
.legend__key { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 10px; height: 10px; display: inline-block; }

/* Action rows ("This week") */
.actions { display: flex; flex-direction: column; }
.action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.action__num { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #FFFFFF; font-stretch: 125%; font-weight: 700; font-size: 14px; flex: none; }
.action__body { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.action__title { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.action__meta { font-size: 13px; color: var(--body); }
.tag { font-stretch: 112%; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--signal-text);
  text-transform: uppercase; margin-left: 10px; }

/* Requirement rows */
.reqrows { display: flex; flex-direction: column; min-width: 640px; }
.reqrow { display: grid; grid-template-columns: 64px minmax(200px, 1.2fr) 2fr 64px 72px; align-items: center; gap: 20px;
  min-height: 60px; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.reqrow:last-child { border-bottom: 1px solid var(--rule); }
.reqrow__num { font-stretch: 125%; font-weight: 800; font-size: 22px; color: var(--navy); }
.reqrow__count { font-family: var(--mono); font-size: 13px; color: var(--body); text-align: right; }
.reqrow__pct { font-stretch: 125%; font-weight: 700; font-size: 18px; text-align: right; }

/* Big number tiles */
.tile { background: var(--surface); padding: 28px 32px; display: flex; flex-direction: column; gap: 4px;
  color: var(--ink); text-decoration: none; }
.tile__num { font-stretch: 125%; font-weight: 800; font-size: 52px; line-height: 1; color: var(--navy); }
.tile__label { font-stretch: 125%; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.tile--navy { background: var(--navy); color: #FFFFFF; justify-content: flex-end; }
.tile--navy:hover { background: var(--navy-deep); color: #FFFFFF; }

/* Tables */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 10px 16px; font-stretch: 125%; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; color: var(--label); text-transform: uppercase; white-space: nowrap; }
.table td { padding: 16px; border-top: 1px solid var(--rule); vertical-align: top; overflow-wrap: anywhere; }
.table th:first-child, .table td:first-child { padding-left: 0; }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table td .id, .table td code { font-size: 13px; color: var(--navy); }
.table td a { font-weight: 600; text-decoration: none; }
.table td a:hover { text-decoration: underline; }
.table--kv th { width: 220px; padding-left: 0; vertical-align: top; border-top: 1px solid var(--rule); padding-top: 16px; }
/* Document tables (v0.28.0): a section's pipe table shown as a table (app/ui/doc_render.py) and, on the Edit page, as
   a grid of cell inputs. unfilled marks an empty merge token ("PREPARER - not filled") and an empty Value cell
   ("not filled"): a signal-colour edge and a light signal tint, never colour alone (the words are in the mark). */
.table--doc { margin: 8px 0 16px; }
.table--doc th, .table--doc td { padding: 8px 12px; border: 1px solid var(--rule); }
.table--doc th:first-child, .table--doc td:first-child { padding-left: 12px; }
.table--doc th:last-child, .table--doc td:last-child { padding-right: 12px; }
.table--doc th { background: var(--ground); }
.table--grid td { padding: 4px; }
.table--grid td:first-child, .table--grid td:last-child { padding-left: 4px; padding-right: 4px; }
.cell { display: block; }
.cell input { width: 100%; min-width: 120px; font: inherit; font-size: 14px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--field-edge); min-height: 40px; padding: 6px 10px; border-radius: 0; }
.cell input:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
.cell input::placeholder { color: #6B7480; }
.unfilled { background: var(--surface); background: color-mix(in srgb, var(--signal) 14%, var(--surface));
  color: var(--signal-text); border: 1px solid var(--signal); padding: 0 6px; font-size: 13px; font-weight: 600;
  overflow-wrap: normal; }
/* Version compare (v0.28.0 Task 4): old on the left, new on the right; two columns wide, one on a phone. A section
   that did not change is a collapsed details element. */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px; }
.compare__side { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.compare__same { background: var(--surface); padding: 12px 32px; border-top: 1px solid var(--rule); }
.compare__same summary { cursor: pointer; font-size: 14px; color: var(--body); overflow-wrap: anywhere; }
/* Compact table (Users page, v0.27.1; Andy: rows too tall): tight cells, small quiet row buttons, groups as plain text.
   A row is one 26px button plus 12px of padding, about 39px, down from 77px. Any button added to a row inherits it. */
.table--compact th { padding: 8px 12px; }
.table--compact td { padding: 6px 12px; vertical-align: middle; }
.table--compact .btn { min-height: 26px; padding: 0 10px; border-width: 1px; font-size: 11px; letter-spacing: 0.06em; }
.table--compact .inline-form { display: inline-flex; margin-left: 8px; vertical-align: middle; }
.table--compact .groups { display: block; }
.table--compact .group { display: inline; padding: 0; border: 0; font-size: 14px; white-space: normal; }
.table--compact .group:not(:last-child)::after { content: ", "; }
.cell-sub { display: block; font-size: 13px; color: var(--body); font-weight: 400; }
.num { text-align: right; font-family: var(--mono); white-space: nowrap; }

/* Status labels */
.st { display: inline-block; padding: 2px 7px; font-stretch: 112%; font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; border: 2px solid transparent; white-space: nowrap; }
.st--effective, .st--approved { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }
.st--improving { background: var(--tint); color: var(--ink); border-color: var(--tint); }
.st--empty { border-color: var(--tint); color: var(--ink); }
.st--draft { border-color: var(--navy); color: var(--navy); }
.st--reviewed { background: var(--tint); color: var(--ink); border-color: var(--navy); }
.st--overdue { border-color: var(--signal); color: var(--signal-text); }
.st--not-adopted { border: 1px dashed var(--body); color: var(--body); }
.st--na, .st--neutral { border-color: var(--edge); color: var(--body); }

/* Requirement chips */
.chips { display: flex; flex-wrap: wrap; gap: 3px; max-width: 240px; font-family: var(--mono); font-size: 11px; }
.chip { padding: 1px 5px; border: 1px solid var(--chip-edge); }
.chip--on { background: var(--navy); color: #FFFFFF; border-color: var(--navy); }

/* Search field */
.searchbar { display: flex; flex-wrap: wrap; gap: 12px; }
.search { flex: 1 1 420px; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 18px;
  background: var(--surface); border: 2px solid var(--navy); }
.search svg { width: 18px; height: 18px; stroke: var(--navy); fill: none; stroke-width: 1.6; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px;
  color: var(--ink); }
.search input::placeholder { color: #5B6676; }
.search:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
.sort { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; background: var(--surface);
  border: 1px solid var(--edge); font-stretch: 112%; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--label); text-transform: uppercase; }
.sort select { border: 0; background: transparent; font: inherit; font-size: 14px; font-stretch: 100%;
  font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); min-height: 44px; }

/* Filters */
.filters { background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 28px; }
.filters__head { display: flex; align-items: baseline; justify-content: space-between; }
.fgroup { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fgroup legend { padding: 0 0 10px; font-stretch: 125%; font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--label); text-transform: uppercase; }
.fopt { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; min-height: 44px;
  font-size: 14px; cursor: pointer; }
.fopt--req { grid-template-columns: 22px 26px 1fr auto; }
.fopt input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.fopt__num { font-family: var(--mono); font-size: 12px; color: var(--navy); }
.fopt__count { font-family: var(--mono); font-size: 12px; color: var(--body); }
.fopt--on { font-weight: 600; background: #EEF2F7; margin: 0 -8px; padding: 0 8px; }
.fopt--none { color: #5B6676; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.fchip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; background: var(--navy);
  color: #FFFFFF; text-decoration: none; font-stretch: 112%; font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; }
.fchip:hover { background: var(--navy-deep); color: #FFFFFF; }
.result-count { font-size: 15px; font-weight: 600; margin-right: 6px; }

/* Buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--navy); background: var(--navy); color: #FFFFFF; font: inherit; font-stretch: 112%;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; white-space: nowrap; overflow-wrap: normal; flex: none; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #FFFFFF; }
.btn--secondary { background: transparent; color: var(--navy); }
.btn--secondary:hover { background: #EEF2F7; color: var(--navy-deep); }
.btn--quiet { background: transparent; border: 1px solid var(--edge); color: var(--navy); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form > .btn { align-self: flex-start; }
.form--inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.form--inline .field { flex: 1 1 200px; }
.form--cell { min-width: 220px; gap: 10px; }
.table .field input, .table .field select { min-width: 160px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; font-stretch: 112%; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--label); text-transform: uppercase; }
.field input, .field select, .field textarea { font: inherit; font-stretch: 100%; font-size: 15px; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--surface); border: 1px solid var(--field-edge);
  min-height: 44px; padding: 8px 12px; border-radius: 0; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 0;
  border-color: var(--navy); }
.field--wide { grid-column: 1 / -1; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.note { font-size: 13px; color: var(--body); }
/* The policy reader's end marker (v0.30.0 Task 5): it must be fully visible for the end to count */
.reader-end { min-height: 12px; }
/* Document stage strip: Draft, Reviewed by Ener, Approved ("Reviewed by Ener", RULING REGAN-LT 246) */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.stages__step { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: var(--surface);
  border: 1px solid var(--edge); border-top: 4px solid var(--edge); }
.stages__step--done { border-top-color: var(--navy); }
.stages__step--current { border-top-color: var(--signal); }
.stages__label { font-stretch: 125%; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--label);
  text-transform: uppercase; }
.stages__detail { font-size: 14px; color: var(--ink); }
.stages__step--todo .stages__detail { color: var(--body); }
@media (max-width: 720px) { .stages { grid-template-columns: 1fr; } }
.error { border: 2px solid var(--signal); color: var(--signal-text); background: var(--surface); padding: 14px 18px;
  font-weight: 600; }
.empty { padding: 32px 0; color: var(--body); }
.panel-subhead { font-stretch: 125%; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; color: var(--label);
  text-transform: uppercase; padding-top: 8px; }
.file { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13px; }
.file + .file { margin-top: 6px; }
.file .sha { font-size: 12px; color: var(--body); }  /* v0.42.0 R6: first 12 characters; the full sha256 is the title */
.suggestion { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 6px 0; }
.suggestion + .suggestion { border-top: 1px solid var(--rule); }
.suggestion form { display: inline-flex; }
.groups { display: flex; flex-wrap: wrap; gap: 4px; }
.group { padding: 1px 7px; border: 1px solid var(--edge); font-size: 12px; white-space: nowrap; }
.checks { display: flex; flex-wrap: wrap; gap: 0 20px; }
.check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-stretch: 100%; font-size: 14px;
  font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--navy); }

/* Sign-in and picker */
.center { min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.signin { background: var(--surface); width: 100%; max-width: 480px; padding: 48px; display: flex; flex-direction: column;
  gap: 24px; }
.picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }

/* Jump dialog */
.jump { border: 0; padding: 0; width: min(640px, calc(100vw - 32px)); background: var(--surface); }
.jump::backdrop { background: rgba(11, 36, 57, 0.6); }
.jump form { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.jump__hint { font-size: 13px; color: var(--body); }

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .panel, .filters { padding: 20px; }
  .figure__num { font-size: 112px; }
  .figure__unit { font-size: 44px; }
  .title { font-size: 26px; }
  .signin { padding: 28px; }
  .tabs a { min-height: 44px; }
  .table--kv th { width: 40%; }
  /* v0.42.0 R1 and R2 on a phone: requirement rows stack (number, name, count, percent; the bar below) and the More
     menu opens in place. */
  .reqrows { min-width: 0; }
  .reqrow { grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 6px 12px; padding: 10px 0; }
  .reqrow .stackbar { grid-column: 2 / -1; grid-row: 2; }
  .more summary { min-height: 44px; }
  .more__menu { position: static; min-width: 0; }
}
