/* Decision Register. Direction from the design seed (sha256 in design-brief.md): a minute book. One ivory sheet of laid
   stock, near-black typed ink, faint green-grey ruling between the minutes, an old-style serif for the headline, the big
   figures and the small-caps listed-use flags, a typewriter mono for every docket number, code, date and figure, a single
   vermilion margin rule down the left of the sheet, and a disposition column at the right edge of every minute. Hairlines,
   no band, no shadows, no gradients, 2px corners on buttons and inputs only. */
:root {
  --stock: #f8f5ee; --card: #fffdf8; --wash: #f1ede3;
  --ink: #1a1916; --ink-2: #4a4741; --ink-3: #75726a;
  --rule: #c4cdbf; --rule-2: #dfe5db;
  --red: #b8321c; --red-wash: #f6e9e6;
  --display: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;
  --max: 1160px; --r: 2px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--stock); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body { margin: 0; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--ink-3); }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 12px; letter-spacing: 0; }
h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 600; }
h2 { font-size: clamp(23px, 2.5vw, 29px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.num, .tab { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
/* Running head: an ivory strip under a 1px ink rule, the wordmark in the serif */
.band { background: var(--card); border-bottom: 1px solid var(--ink); }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
header.site .brand { font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--ink); text-decoration: none; }
header.site .brand em { font-style: italic; font-weight: 500; }
header.site nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }
header.site nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
header.site nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
/* Section heads: a hairline of ruling above, the head, the folio at the right */
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; border-top: 1px solid var(--rule); padding-top: 10px; margin-bottom: 10px; }
.sec-head h2 { margin: 0; }
.sec-head .folio { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); margin-left: auto; }
/* The disposition column, the listed-use small caps, the one stamp */
.dispo { display: inline-block; font-family: var(--mono); font-size: 12.5px; color: var(--ink); line-height: 1.25; }
.dispo.alone { color: var(--red); font-weight: 700; }
.dispo.informs { color: var(--ink-3); }
.lu { display: inline-block; font-family: var(--display); font-variant-caps: small-caps; text-transform: lowercase; font-weight: 600; font-size: 14.5px; letter-spacing: 0.03em; color: var(--ink); margin: 2px 10px 0 0; line-height: 1.2; } .lu.sector { color: var(--ink-3); font-weight: 500; }
.lus { margin-top: 2px; }
.flag { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); margin: 0 0 3px; line-height: 1.3; } .flag.all, .flag.none { color: var(--ink-3); }
.mark { color: var(--red); font-weight: 600; }
.standing { display: none; } .standing.unreg { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--ink); padding: 1px 5px 0; margin-left: 8px; vertical-align: 1px; }
/* Hero */
.hero { padding: 40px 0 16px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.hero .lede { font-size: 18px; color: var(--ink-2); max-width: 600px; margin-bottom: 18px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero .cta .hint { flex-basis: 100%; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; } .eyebrow a { color: var(--ink-3); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 20px; } }
figure.person { margin: 0; } figure.person img { display: block; width: 100%; height: auto; background: var(--wash); }
figure.person figcaption { font-size: 14px; color: var(--ink-2); margin-top: 10px; line-height: 1.45; }
/* Specimen minutes under the photograph: the margin rule and the disposition column */
.specimen { border-left: 2px solid var(--red); margin-top: 16px; padding: 4px 0 0 14px; font-size: 13px; }
.specimen .legend { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; gap: 10px; }
.specimen table { width: 100%; border-collapse: collapse; margin-top: 8px; table-layout: fixed; }
.specimen th { font-family: var(--sans); font-size: 12px; font-weight: 600; text-align: left; padding: 6px 8px 5px 0; border-bottom: 1px solid var(--ink); color: var(--ink-2); }
.specimen th.num, .specimen td.num, .specimen th.dcol, .specimen td.dcol { text-align: right; font-family: var(--mono); font-size: 12px; }
.specimen td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
.specimen td.mono { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.specimen tr.total td { border-top: 1px solid var(--ink); border-bottom: 0; font-weight: 600; }
.specimen .lu { font-size: 13px; margin: 0 8px 0 0; } .specimen .dispo { font-size: 12px; white-space: normal; }
.specimen .cap { font-size: 12px; color: var(--ink-3); margin-top: 8px; }
section { padding: 30px 0; }
/* The tool */
.tool { border: 1px solid var(--rule); background: var(--card); margin-top: 22px; }
.tool .bar { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 14px 16px 10px; }
.tool .bar .spacer { flex: 1; }
.tool .bar label { font: 14px var(--sans); color: var(--ink-2); white-space: nowrap; }
.tool .bar label input { margin-right: 5px; vertical-align: -1px; accent-color: var(--ink); }
.tool .bar .ticks { display: flex; flex-wrap: wrap; gap: 6px 16px; }
textarea.paste { width: 100%; min-height: 230px; border: 0; border-top: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); padding: 14px 16px; font: 13px/1.5 var(--mono); color: var(--ink); resize: vertical; background: var(--card); display: block; }
textarea.paste:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.btn { display: inline-block; border: 1px solid var(--ink); background: var(--ink); color: #fff; padding: 10px 18px; font: 600 14.5px var(--sans); cursor: pointer; text-decoration: none; border-radius: var(--r); }
.btn:hover { background: #000; border-color: #000; color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--wash); color: var(--ink); }
.btn.small { padding: 7px 12px; font-size: 13px; }
.hint { font-size: 13px; color: var(--ink-3); }
.na { color: var(--ink-3); font-size: 12.5px; }
.sub { display: block; font-family: var(--sans); font-size: 11.5px; color: var(--ink-3); margin-top: 2px; } .sub.mark { color: var(--red); }
.d { font-family: var(--mono); font-size: 0.9em; }
.regime-line { margin: -22px 0 26px; }
/* The results sheet: the margin rule */
#result.has { border-left: 2px solid var(--red); padding-left: 18px; }
/* Summary strip: six cells under the 2px ink rule, big serif figures */
.summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 18px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 34px; padding: 4px 0; }
.summary > div { padding: 12px 0 10px; } .summary > div + div { border-left: 1px solid var(--rule-2); padding-left: 16px; }
.summary .n { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.2vw, 34px); line-height: 1.02; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.summary > div.flagged .n { color: var(--red); }
.summary .l { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.3; }
.summary .l .sub { color: var(--ink-3); margin-top: 3px; }
@media (max-width: 860px) { .summary { grid-template-columns: repeat(3, 1fr); gap: 0 12px; } .summary > div + div { border-left: 0; padding-left: 0; } }
@media (max-width: 480px) { .summary { grid-template-columns: repeat(2, 1fr); } }
/* Where the decisions sit: three plain columns of figures */
section.conc { padding: 0 0 8px; margin-bottom: 8px; }
.conc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.conc-grid h3 { font-size: 16px; margin: 6px 0 8px; }
.crow { display: grid; grid-template-columns: minmax(0, 1.4fr) 58px minmax(0, 0.7fr); gap: 8px; align-items: baseline; font-size: 13px; min-height: 30px; padding: 4px 0; border-bottom: 1px solid var(--rule-2); }
.crow .cl, .crow .cn { overflow-wrap: anywhere; line-height: 1.25; } .crow .cv { font-family: var(--mono); font-size: 12.5px; text-align: right; } .crow .cn { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); text-align: right; } .crow.rest { color: var(--ink-3); }
@media (max-width: 860px) { .conc-grid { grid-template-columns: 1fr; } }
/* Function sections and the minute table */
section.fn { padding: 22px 0 0; margin-top: 18px; }
.sheet-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
table.sheet { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; } table.sheet td { overflow-wrap: anywhere; }
table.sheet col.c1 { width: 6%; } table.sheet col.c2 { width: 24%; } table.sheet col.c3 { width: 13%; } table.sheet col.c4 { width: 11%; } table.sheet col.c5 { width: 13%; } table.sheet col.c6 { width: 15%; } table.sheet col.c7 { width: 13%; } table.sheet col.c8 { width: 5%; }
table.sheet th { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink-2); text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); }
table.sheet th.dcol, table.sheet td.dcol { text-align: right; }
table.sheet td { padding: 10px 10px 8px; vertical-align: top; border-bottom: 0; }
table.sheet td.mono { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
table.sheet tr.f td { border-top: 1px solid var(--rule); }
table.sheet td.code { font-weight: 500; color: var(--ink); }
table.sheet td.code a.cat, table.sheet td.small a.cat { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); font-weight: 500; }
table.sheet td.small a.cat:hover { border-color: var(--ink); }
table.sheet td.small { font-size: 13px; color: var(--ink-2); }
table.sheet td.small .sub { font-size: 11.5px; }
table.sheet tfoot tr.total td { border-top: 1px solid var(--ink); font-weight: 600; padding: 8px 10px; font-size: 13px; }
table.sheet tr.why:not(.open) { display: none; }
table.sheet tr.why td { padding: 0 12px 12px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
table.sheet td.more { text-align: right; white-space: nowrap; padding-right: 4px; } table.sheet tr.f { cursor: pointer; } table.sheet tr.f .toggle { font: 600 11.5px var(--mono); color: var(--ink-3); } table.sheet tr.f .toggle::after { content: 'open'; } table.sheet tr.f.open .toggle::after { content: 'close'; }
table.sheet tr.why td > div { display: flex; gap: 8px; margin-top: 6px; } table.sheet tr.why td > div > .k { flex: 0 0 132px; } table.sheet tr.why td > div > span:not(.k) { flex: 1; min-width: 0; }
table.sheet tr.why .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
table.sheet tr.why a.cref { font-family: var(--mono); font-size: 12px; text-decoration: none; border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.sheet tr.why .lu { font-size: 14px; }
.plan-tag { font-family: var(--mono); font-size: 10px; border: 1px solid currentColor; padding: 0 4px; margin-left: 6px; vertical-align: 1px; opacity: 0.8; }
/* Findings */
section.ctrls { margin-top: 34px; padding-top: 0; }
section.ctrls details, .ctrls-inline details { border-top: 1px solid var(--rule); padding: 0; }
section.ctrls details:not([open]) .codes { display: none; }
section.ctrls summary, .ctrls-inline summary { cursor: pointer; padding: 11px 0; font-family: var(--sans); font-weight: 600; font-size: 15.5px; }
section.ctrls summary .who { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-2); margin-top: 2px; font-weight: 400; }
section.ctrls summary .codes { font-family: var(--mono); font-weight: 400; font-size: 12px; display: block; margin-top: 2px; color: var(--ink-3); }
section.ctrls .ctrl, .ctrls-inline .ctrl { padding: 6px 0 12px; border-top: 1px solid var(--rule-2); }
section.ctrls .ch, .ctrls-inline .ch { font-weight: 600; margin-bottom: 4px; } section.ctrls .ch code, .ctrls-inline .ch code { color: var(--ink-3); margin-right: 6px; }
section.ctrls .ctrl p, .ctrls-inline .ctrl p { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
ul.items { margin: 0 0 12px; padding-left: 18px; font-size: 14px; } ul.items li { margin-bottom: 6px; }
.locked { color: var(--ink-3); font-style: italic; }
body.has-result section.explain { display: none; }
/* Explanation rows and notices */
.form { border-top: 1px solid var(--ink); }
.form > div { display: grid; grid-template-columns: 56px 240px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule-2); align-items: baseline; }
.form .k { font-family: var(--mono); color: var(--ink-3); font-size: 13px; letter-spacing: 0.06em; }
.form h3 { margin: 0; }
.form p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .form > div { grid-template-columns: 40px 1fr; } .form p { grid-column: 2; } }
.notice { border: 1px solid var(--rule); background: var(--card); padding: 12px 16px; margin: 14px 0; font-size: 14.5px; }
.notice.gate { background: var(--wash); border-color: var(--rule); }
p.plain-note { font-size: 14.5px; color: var(--ink-2); max-width: 720px; }
/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--card); }
.pricing > div { padding: 22px 20px 24px; border-right: 1px solid var(--rule-2); display: flex; flex-direction: column; }
.pricing > div:last-child { border-right: 0; }
@media (max-width: 860px) { .pricing > div { border-right: 0; border-bottom: 1px solid var(--rule-2); } .pricing > div:last-child { border-bottom: 0; } }
.pricing .price { font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; margin: 8px 0 2px; display: flex; align-items: baseline; gap: 8px; }
.pricing .price small { font-size: 13px; color: var(--ink-3); font-family: var(--mono); font-weight: 400; }
.pricing .per { color: var(--ink-3); font-size: 13px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--rule-2); }
.pricing ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14.5px; }
.pricing li { margin-bottom: 7px; padding-left: 1.1em; text-indent: -1.1em; }
.pricing li::before { content: "+  "; color: var(--ink-3); font-family: var(--mono); }
.pricing .btn { margin-top: auto; align-self: flex-start; }
footer.site { border-top: 1px solid var(--ink); margin-top: 30px; padding-block: 22px 40px; font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.site a { color: var(--ink-3); }
/* Forms and modal */
.modal { position: fixed; inset: 0; background: rgba(26,25,22,0.55); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 10; }
.modal.open { display: flex; }
.modal .box { background: var(--card); border: 1px solid var(--ink); padding: 26px; max-width: 440px; width: 100%; }
.modal .box .legend { font-family: var(--display); font-weight: 600; font-size: 24px; margin-bottom: 6px; }
input[type=email], input[type=text] { width: 100%; padding: 10px 12px; border: 1px solid var(--ink-3); font: 15px var(--sans); background: var(--card); color: var(--ink); border-radius: var(--r); }
input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.row { display: flex; gap: 10px; align-items: center; }
.ok { color: var(--ink); } .err { color: var(--red); }
.list { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--card); }
.list a.item { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--rule-2); text-decoration: none; color: var(--ink); }
.list a.item:last-child { border-bottom: 0; }
.list a.item:hover { background: var(--wash); }
.list .meta { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.index { columns: 2; column-gap: 40px; font-size: 14px; }
.index a { display: block; text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--rule-2); break-inside: avoid; }
.index a .chips { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
/* Task, function, regime and standards pages */
table.mtable { width: 100%; border-collapse: collapse; font-size: 14px; }
main.ruled { border-left: 2px solid var(--red); padding-left: 38px; margin-top: 26px; } @media (max-width: 700px) { main.ruled { padding-left: 14px; margin-left: 16px; margin-right: 16px; padding-right: 0; } }
table.mtable th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); padding: 9px 16px 8px 0; border-bottom: 1px solid var(--rule-2); vertical-align: top; width: 230px; line-height: 1.35; }
table.mtable td { padding: 8px 0; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
ul.doclist { padding-left: 18px; max-width: 760px; } ul.doclist li { margin-bottom: 8px; font-size: 14.5px; }
ol.clauses { padding-left: 20px; max-width: 760px; } ol.clauses li { margin-bottom: 6px; font-size: 14.5px; }
p.q, span.q { }
/* Phone: the minute table becomes stacked entries under the margin rule */
@media (max-width: 700px) { #result.has { padding-left: 12px; } .dispo { white-space: normal; } table.sheet, table.sheet tbody, table.sheet tfoot, table.sheet tr, table.sheet td { display: block; } table.sheet thead { display: none; } table.sheet tr.f { border-top: 1px solid var(--rule); padding: 10px 10px 4px; display: flex; flex-wrap: wrap; align-items: baseline; } table.sheet tr.f td.mono { order: 0; } table.sheet tr.f td.code { order: 1; flex: 1 1 50%; } table.sheet tr.f td.dcol { order: 2; flex: 0 0 auto; margin-left: auto; text-align: right; padding-left: 8px !important; } table.sheet tr.f td.dcol::before { display: none !important; } table.sheet tr.f td[data-l]:not(.code):not(.mono):not(.dcol) { order: 3; flex-basis: 100%; } table.sheet tr.f td.more { order: 9; flex-basis: 100%; } table.sheet tr.f td { border: 0; padding: 3px 0; white-space: normal; min-width: 0; max-width: none; text-align: left; } table.sheet tr.f td.mono { display: inline-block; padding: 0 8px 0 0; } table.sheet tr.f td.code { display: inline; font-size: 15px; } table.sheet tr.f td.code .lus { display: block; } table.sheet tr.f td[data-l]:not(.code):not(.mono) { position: relative; padding-left: 104px; font-size: 13px; } table.sheet tr.f td[data-l]:not(.code):not(.mono)::before { content: attr(data-l); position: absolute; left: 0; top: 4px; font-family: var(--sans); font-size: 12px; color: var(--ink-3); } table.sheet tr.f td.dcol { text-align: right; } table.sheet tr.f td .sub { display: inline; margin-left: 6px; } table.sheet tr.why td { padding: 6px 10px 12px; } table.sheet tr.f td.more { display: block; text-align: right; padding: 4px 0 2px; } table.mtable th, table.mtable td { display: block; width: auto; padding: 6px 0 0; border: 0; } table.mtable td { padding-bottom: 8px; border-bottom: 1px solid var(--rule-2); } section.ctrls summary .who { display: block; margin: 2px 0 0; } .index { columns: 1; } table.sheet tfoot tr.total { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 8px 10px; border-top: 1px solid var(--ink); } table.sheet tfoot tr.total td { border: 0; padding: 0; display: inline; } table.sheet tfoot tr.total td:empty { display: none; } table.sheet tr.why td > div { display: block; margin-top: 8px; } table.sheet tr.why td > div > .k { display: block; margin-bottom: 2px; } .sheet-wrap { overflow: visible; } .summary .n { font-size: 26px; } .summary > div { padding: 8px 0; } .pricing .price { font-size: 38px; } section.ctrls summary .codes { white-space: normal; } header.site { gap: 10px; } header.site nav { gap: 2px 12px; } header.site nav a { font-size: 13.5px; } .sec-head .folio { font-size: 11px; } table.sheet { font-size: 13px; } .hero { padding-top: 24px; } .sec-head .folio { margin-left: 0; flex-basis: 100%; white-space: normal; } .regime-line { margin-top: -26px; } .crow { grid-template-columns: minmax(0, 1.2fr) 52px minmax(0, 0.6fr); } }
@media (max-width: 480px) { h1 { font-size: 2.1rem; } .wrap { padding: 0 16px; } header.site { flex-wrap: wrap; gap: 4px 10px; padding-block: 10px; } header.site .brand { white-space: nowrap; font-size: 21px; } header.site nav { flex-basis: 100%; justify-content: flex-start; gap: 2px 14px; } header.site nav a { font-size: 13px; } .hero { padding-top: 18px; } .hero .lede { font-size: 1rem; line-height: 1.45; } .hero .cta .btn { flex: 1 1 45%; text-align: center; } .tool .bar .btn { width: 100%; text-align: center; } .tool .bar .spacer { display: none; } .specimen col.i { display: none; } }
@media print { header.site nav, .tool, .btn, footer.site, .no-print, .specimen, figure.person { display: none !important; } html { background: #fff; } details { display: block; } details > * { display: block; } table.sheet tr.why { display: table-row; } }

/* autospec first screen (2026-09-23): on a phone the specimen excerpt sits above the photograph, and is shown where it was hidden,
   so a piece of real output is inside the first 1.5 screens. Desktop is unchanged. The facts row stays one row. On a
   narrow phone the excerpt table scrolls inside itself and sizes its columns to the figures (a fixed layout let a spend
   figure run into the next column); the box itself never clips, so an absolutely placed legend stays visible. */
@media (max-width: 860px) {
  .hero .side { display: flex; flex-direction: column; min-width: 0; }
  .hero .side .specimen { order: -1; display: block; margin: 0 0 16px; min-width: 0; max-width: 100%; }
  .hero .facts { flex-wrap: nowrap; gap: 12px; margin-bottom: 20px; }
  .hero .facts > div { flex: 1 1 0; min-width: 0; }
}
@media (max-width: 480px) {
  .hero .side .specimen table, .specimen.wide table { display: block; max-width: 100%; overflow-x: auto; table-layout: auto; }
  .hero .side .specimen td.num, .hero .side .specimen th.num { white-space: nowrap; }
}
/* end autospec first screen */
