/* Hallmark · v2.0.0 · design.md: DESIGN.md (Night Ledger, locked system) · genre: editorial · job: calculate, then read · hero: split, head and calculator left, plate right · nav: wordmark left, guide links inline, no button · footer: sources and maintainer over links · signature: the step-by-step ledger of the visitor's own numbers · deal: manual (design.md overrides the deal) */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 · weakest: V, a calculator split hero is common in the category; the result ledger with full working is the part no neighbour shows, so it carries the page */
/* waive 77 (thin sections): the guide pages, FAQ and related lists are Read surfaces held to a 62ch measure (--measure), set after Impeccable's line-length scan; widening them to ten columns would break that */
/* waive 49b on the Life Path band heading: the spec makes the full page title the heading link; it wraps on phones by design */
/* waive 44c / 79 on home: the hero section includes both calculators below the head (it ends near y 750 at 1280x800); the linter measures only the head block */
/* waive 7b (pure white): only inside @media print, where the report is printed on white paper by design */
/* waive 58 (about 80 words a screen): the three guide pages are Read-mode articles the spec requires to cover definition, steps, example, edge cases and FAQ; the home and tool pages keep the hero to head, one sentence, the calculator */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1222;
  --ink-2: #111a2e;
  --surface: #16213a;
  --surface-2: #1d2a47;
  --line: #2c3a5c;
  --line-gold: #6d5a33;
  --field-edge: #7684a8;
  --text: #eee6d3;
  --text-2: #c2b8a3;
  --text-3: #9d9483;
  --gold: #d2ae63;
  --gold-hi: #e8c983;
  --gold-ink: #1a1406;
  --ember: #e0894a;
  --danger: #f0a08f;
  --ok: #9fd3a8;
  --shadow: rgb(0 0 0 / 0.35);
  --scrim: rgb(11 18 34 / 0.72);
  --print-ink: #1b1b1b;
  --print-paper: #ffffff;
  --print-line: #bbbbbb;

  --fs-xs: 0.875rem;
  --fs-sm: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.1875rem;
  --fs-h4: 1.375rem;
  --fs-h3: 1.5625rem;
  --fs-xl: 2rem;
  --fs-h2: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.3rem, 1.5rem + 2.6vw, 3.6rem);
  --fs-num: 3.5rem;
  --fs-big: clamp(6rem, 4rem + 8vw, 10rem);
  --placeholder: #a7b1c9;

  --font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --container: 1160px;
  --measure: 62ch;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  caret-color: var(--gold);
  scrollbar-color: var(--line-gold) var(--ink);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--gold); color: var(--gold-ink); }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
a { color: var(--gold); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }
strong { color: var(--text); font-weight: 600; }
.num { font-variant-numeric: lining-nums tabular-nums; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--gold); color: var(--gold-ink); padding: 12px 16px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus-visible { top: 12px; }

.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--ink); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h4); color: var(--text); text-decoration: none; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand:hover { color: var(--gold-hi); }
.nav-toggle { display: none; }
.site-nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text-2); text-decoration: none; font-size: var(--fs-sm); border-radius: var(--r-sm); }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--gold); }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
    background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-sm);
    font: 600 var(--fs-sm)/1 var(--font-body); cursor: pointer;
  }
  .nav-toggle:hover { border-color: var(--gold); }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; }
  .site-nav a { width: 100%; padding: 0 4px; font-size: var(--fs-body); }
  .no-js .site-nav { display: block; position: static; border: 0; }
}

/* Breadcrumb */
.crumbs { padding-top: 20px; font-size: var(--fs-sm); color: var(--text-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-gold); }
.crumbs a { color: var(--text-2); }

/* Hero */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.lede { font-size: var(--fs-lead); color: var(--text-2); margin: 16px 0 24px; max-width: 46ch; }
.plate { border: 1px solid var(--line-gold); background: var(--ink-2); }
.plate img { width: 100%; }
.hero-plate { position: relative; }
@media (min-width: 980px) { .hero-plate { margin-top: 8px; } }

/* Article hero (guide pages) */
.page-hero { padding-block: clamp(20px, 3vw, 40px) 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 980px) { .page-hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } .page-hero h1 { grid-column: 1 / -1; max-width: 24ch; } .page-hero .plate { margin-top: 28px; } }
.page-hero h1 { max-width: 22ch; }
.page-hero .plate { margin-top: 28px; }

/* Calculator panel */
.calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(16px, 2.4vw, 24px);
}
.calc + .calc { margin-top: 16px; }
.calc h2 { font-size: var(--fs-h3); margin-bottom: 4px; }
.calc .hint { color: var(--text-3); font-size: var(--fs-sm); margin: 0 0 16px; }
.fields { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 12px; }
.fields.one { grid-template-columns: minmax(0, 1fr); }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); margin-bottom: 8px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 12px 12px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--field-edge); border-radius: var(--r-sm);
  font: 400 var(--fs-body)/1.2 var(--font-body);
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field input:hover, .field select:hover { border-color: var(--gold); }
.field input:focus-visible, .field select:focus-visible { border-color: var(--gold); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field input::placeholder { color: var(--placeholder); opacity: 1; }
.err { min-height: 1lh; margin: 8px 0 0; color: var(--danger); font-size: var(--fs-sm); }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 12px; }
.privacy-note { color: var(--text-3); font-size: var(--fs-sm); margin: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-sm);
  font: 600 var(--fs-body)/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid var(--gold); background: var(--gold); color: var(--gold-ink);
  transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out), color 160ms var(--ease-out);
}
.btn:hover { background: var(--gold-hi); color: var(--gold-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--surface-2); color: var(--gold-hi); }

/* Sections */
.band { padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--ink-2); color: var(--text); }
.band-head { max-width: var(--measure); margin-bottom: clamp(24px, 3vw, 40px); }
.band-head p { color: var(--text-2); margin-top: 12px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .split.flip > :first-child { order: 2; } }

/* More row: full width, at block end */
.more { display: flex; margin-top: clamp(28px, 3vw, 40px); padding-top: 20px; border-top: 1px solid var(--line-gold); }
.more a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-weight: 600; font-size: var(--fs-body); color: var(--gold); text-decoration: none;
  background-image: linear-gradient(var(--gold-hi), var(--gold-hi)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size 220ms var(--ease-out), color 160ms var(--ease-out);
}
.more a:hover { color: var(--gold-hi); background-size: 100% 1px; }
.more svg { width: 18px; height: 18px; flex: none; }

/* Result ledger */
.ledger { border-top: 1px solid var(--line-gold); }
.ledger-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ledger-num {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-num); line-height: 1; color: var(--gold);
  font-variant-numeric: lining-nums tabular-nums; text-align: center;
}
.ledger-num.empty { color: var(--line-gold); }
.ledger-name { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; margin: 0 0 4px; }
.ledger-formula { font-variant-numeric: lining-nums tabular-nums; color: var(--text-2); font-size: var(--fs-sm); margin: 0 0 8px; overflow-wrap: anywhere; }
.ledger-reading { margin: 0; }
.master-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px solid var(--ember); color: var(--ember); border-radius: var(--r-sm); font: 600 var(--fs-xs)/1.5 var(--font-body); vertical-align: middle; }
.ledger-row.reveal .ledger-num { animation: rise 220ms var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.results-status { color: var(--text-2); }
.results-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; }
@media (min-width: 980px) { .results-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.results-cols h3 { font-size: var(--fs-h4); color: var(--text-2); margin: 8px 0 8px; }

/* Big result (life path page) */
.big-result { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
@media (min-width: 900px) { .big-result { grid-template-columns: auto minmax(0, 1fr); } }
.big-num { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-big); line-height: 0.9; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; min-width: 2ch; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.step { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; background: var(--surface); }
.step b { display: block; font-weight: 600; color: var(--text-2); font-size: var(--fs-sm); }
.step span { font-variant-numeric: lining-nums tabular-nums; font-size: var(--fs-body); }
.step strong { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--gold); display: block; line-height: 1.1; font-variant-numeric: lining-nums; }
.sum-line { font-variant-numeric: lining-nums tabular-nums; color: var(--text-2); }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); font-variant-numeric: lining-nums tabular-nums; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--text-2); background: var(--surface); }
tbody tr:last-child td { border-bottom: 0; }
td.n { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--gold); white-space: nowrap; }
.chart td, .chart th { text-align: center; }
.chart td:first-child, .chart th:first-child { text-align: left; }

/* Article body */
.article { padding-bottom: clamp(48px, 6vw, 96px); }
.article section { margin-top: clamp(40px, 5vw, 64px); }
.article h2 { margin-bottom: 16px; }
.article h3 { margin: 28px 0 12px; font-size: var(--fs-h4); }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.article li { margin-bottom: 0.45em; }
.article .plate { margin: 28px 0; max-width: 860px; }
.answer { font-size: var(--fs-lead); color: var(--text); border-left: 1px solid var(--line-gold); padding-left: 20px; margin: 28px 0 0; max-width: var(--measure); }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 20px; font-variant-numeric: lining-nums tabular-nums; max-width: var(--measure); }
.work p:last-child { margin-bottom: 0; }
.work code, code { font-family: var(--font-body); font-weight: 600; color: var(--gold-hi); }

/* Meanings grid (home) */
.figure-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }

/* Report block */
.report { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .report { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.price { font-variant-numeric: lining-nums tabular-nums; font-family: var(--font-display); font-size: var(--fs-xl); color: var(--gold); margin: 8px 0 4px; }
.price small { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--text-3); }
.toc { list-style: none; padding: 0; margin: 16px 0; counter-reset: toc; }
.toc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.toc li span:last-child { color: var(--text-3); font-size: var(--fs-sm); white-space: nowrap; }
.toc li.free span:last-child { color: var(--ok); }
.notice { border: 1px solid var(--line-gold); border-radius: var(--r-md); padding: 16px 16px; color: var(--text-2); font-size: var(--fs-sm); }
.notice p:last-child { margin: 0; }
.preview-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.entry { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; border: 1px solid var(--line-gold); border-radius: var(--r-md); padding: clamp(16px, 2.5vw, 28px); background: var(--surface); margin-top: 32px; }
@media (min-width: 760px) { .entry { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.entry h3 { margin-bottom: 8px; }
.unlocked-banner { color: var(--ok); font-weight: 600; }

/* Paid report output */
#report-output { margin-top: 28px; }
.rp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 3vw, 36px); }
.rp h3 { margin: 28px 0 8px; }
.rp h3:first-child { margin-top: 0; }
.rp h4 { font: 600 var(--fs-body)/1.3 var(--font-body); margin: 20px 0 8px; color: var(--text); }
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.checklist input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--gold); flex: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 20px 0; font-family: var(--font-display); font-size: var(--fs-h4); font-weight: 600; line-height: 1.2; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); color: var(--gold); font-size: var(--fs-h3); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--gold-hi); }
.faq .a { padding: 0 0 20px; color: var(--text-2); max-width: var(--measure); }
.faq .a p:last-child { margin: 0; }

/* Related + sources */
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.related li { border-bottom: 1px solid var(--line); }
.related a { display: block; padding: 16px 0; font-weight: 600; text-decoration: none; }
.related a:hover { text-decoration: underline; }
.related span { display: block; font-weight: 400; color: var(--text-3); font-size: var(--fs-sm); }
.sources { font-size: var(--fs-sm); color: var(--text-3); }
.sources ul { padding-left: 1.2em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-gold); padding: 48px 0 40px; background: var(--ink-2); color: var(--text-3); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.site-footer h2 { font-size: var(--fs-h4); margin-bottom: 12px; color: var(--text-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li a { display: inline-flex; min-height: 40px; align-items: center; color: var(--text-2); }
.site-footer p { max-width: 62ch; }
.footnote { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }

noscript .notice, .noscript-note { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Print: only the generated report */
@media print {
  :root { --text: var(--print-ink); --text-2: var(--print-ink); --text-3: var(--print-ink); --line: var(--print-line); }
  body { background: var(--print-paper); color: var(--print-ink); font-size: 11pt; }
  body.printing-report > *:not(main) { display: none !important; }
  body.printing-report main > *:not(#deep-report) { display: none !important; }
  body.printing-report #deep-report > .wrap > *:not(#report-unlocked) { display: none !important; }
  body.printing-report #report-form { display: none !important; }
  body.printing-report #deep-report { padding: 0; border: 0; background: var(--print-paper); }
  body.printing-report .unlocked-banner { color: var(--print-ink); }
  body.printing-report td.n { color: var(--print-ink); }
  body.printing-report th { background: var(--print-paper); }
  body.printing-report .rp { border: 0; padding: 0; background: var(--print-paper); }
  body.printing-report .rp-actions { display: none !important; }
  .rp h3, .rp h4 { color: var(--print-ink); break-after: avoid; }
  a { color: var(--print-ink); }
}

.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; }
figure.plate { margin: 0; }
.mt { margin-top: 16px; }

/* Home hero: heading + plate, then the two calculators side by side */
.hero-top { align-items: center; }
.hero-top h1 { font-size: var(--fs-h1); }
.hero-top .lede { margin-bottom: 0; }
.calc-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: clamp(24px, 3vw, 36px); }
.calc-pair .calc + .calc { margin-top: 0; }
@media (min-width: 900px) { .calc-pair { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.calc { display: flex; flex-direction: column; }
.calc .row-actions { margin-top: auto; padding-top: 4px; }

/* Lining figures everywhere numbers are read as data */
h1, h2, h3, .price, td.n, .ledger-name, .faq summary { font-variant-numeric: lining-nums; }
/* Keep narrow blocks on the left content edge */
.wrap.measure { max-width: var(--container); }
.wrap.measure > * { max-width: var(--measure); }
.split > .work { align-self: end; }
.btn { white-space: nowrap; }

@media (max-width: 560px) {
  .chart th, .chart td { padding: 8px 4px; font-size: var(--fs-sm); }
}
.wrap.measure > .faq, .wrap.measure > .related, .wrap.measure > h2 { max-width: 860px; }
#report-locked > * { max-width: var(--measure); }

/* Copy that differs with and without a running calculator (no-js is removed by app.js) */
.no-js .js-only { display: none; }
html:not(.no-js) .nojs-only { display: none; }
