@font-face { font-family: "B612 Mono"; font-weight: 400; font-display: swap;
  src: local("B612 Mono Regular"), local("B612Mono-Regular"), url("fonts/B612Mono-Regular.woff2") format("woff2"), url("fonts/B612Mono-Regular.woff") format("woff"); }
@font-face { font-family: "B612 Mono"; font-weight: 700; font-display: swap; unicode-range: U+0030-0039;
  src: local("B612 Mono Bold"), local("B612Mono-Bold"), url("fonts/B612Mono-Bold.woff2") format("woff2"), url("fonts/B612Mono-Bold.woff") format("woff"); }
@font-face { font-family: "B612"; font-weight: 400; font-display: swap;
  src: local("B612 Regular"), local("B612-Regular"), url("fonts/B612-Regular.woff2") format("woff2"), url("fonts/B612-Regular.woff") format("woff"); }
@font-face { font-family: "STIX Two Text"; font-weight: 400 700; font-display: swap;
  src: local("STIX Two Text"), local("STIXTwoText"), url("fonts/STIXTwoText.woff2") format("woff2"), url("fonts/STIXTwoText.woff") format("woff"); }

:root {
  --paper: #FBFAF7;
  --paper-2: #F3F1EB;
  --ink: #141414;
  --ink-2: #4A4A48;
  --ink-3: #8C8A84;
  --rule: #D9D6CF;
  --copper: #B87333;
  --copper-2: #8A5524;
  --hazard: #F2C230;
  --hazard-ink: #141414;
  --frost-0: #DCE5EA;
  --frost-1: #E6ECEF;
  --frost-2: #EFF2F2;
  --frost-ink: #3E5A6B;
  --qpu: #141414;
  --measured: #141414;
  --known: #141414;
  --focus: #B87333;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --button-primary-text: #FBFAF7;
  --data: "B612 Mono", ui-monospace, Menlo, Consolas, monospace;
  --label: "B612", -apple-system, "Segoe UI", system-ui, sans-serif;
  --text: "STIX Two Text", Charter, Georgia, "Times New Roman", serif;
  --formula: "B612", -apple-system, "Segoe UI", system-ui, sans-serif;
  --col-no: 36px;
  --col-comp: 300px;
  --col-est: 104px;
  --col-chance: 120px;
  --gap: 16px;
  color-scheme: light;
}

* { box-sizing: border-box; }
/* B612 Mono sets the period and the comma in the left quarter of the cell; pull the next glyph in. B612 centres them: no pull in formulas. */
.p { letter-spacing: -0.3em; }
.formula .p { letter-spacing: 0; }
html {
  background: var(--paper);
  color: var(--ink);
  font: 16px/24px var(--text);
  -webkit-text-size-adjust: 100%;
}
body { margin: 0; min-width: 320px; background: var(--paper); }
.wrap { max-width: 1248px; padding: 0 24px; margin: 0 auto; }
p { margin: 0 0 8px; }
h1, h2, h3 { font-weight: 600; margin: 0 0 8px; }
h2.heading { font: 600 22px/28px var(--text); margin: 24px 0 8px; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--copper); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
data { font-family: var(--data); }
.formula { font-family: var(--formula); }
.formula sub { font-size: 0.72em; line-height: 0; vertical-align: -0.22em; letter-spacing: 0.01em; }
.small, .legend, .assume, .field, .lab-name, .muted, .tag, .poster, .status { font-family: var(--label); font-size: 13px; line-height: 18px; }
.muted { color: var(--ink-2); }
.kicker { font: 12px/16px var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.view[hidden] { display: none !important; }
[hidden] { display: none !important; }
.status { color: var(--ink-2); margin: 8px 0; }
.status:empty { display: none; }

.hazard { display: inline-block; background: var(--hazard); color: var(--hazard-ink); padding: 0 6px; border-radius: 2px; font: 12px/18px var(--label); }

button, .button {
  font: 14px/20px var(--label);
  border-radius: 2px;
  min-height: 36px;
  padding: 7px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
button:disabled { cursor: default; opacity: 0.45; }
.primary { background: var(--ink); color: var(--button-primary-text); border: 1px solid var(--ink); }
.primary:hover { background: #2B2B2A; }
.secondary, .chip { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.secondary:hover, .chip:hover { background: var(--paper-2); }
input, select { font-family: var(--data); font-size: 15px; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; }
input.formula { font-family: var(--formula); }
input[inputmode="decimal"] { font-family: var(--label); }

.seg { display: inline-flex; align-items: stretch; border: 1px solid var(--ink); border-radius: 2px; }
.seg button { border: 0; border-left: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); min-height: 34px; padding: 6px 14px; font: 14px/20px var(--label); }
.seg button:first-of-type { border-left: 0; }
.seg .seg-label + button { border-left: 1px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button[aria-pressed="false"]:hover { background: var(--paper-2); }
.seg-label { display: flex; align-items: center; padding: 0 12px; font: 12px/16px var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

.top { border-bottom: 1px solid var(--ink); background: var(--paper); }
.top-grid { display: flex; align-items: stretch; gap: 32px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 22px/28px var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand-mark { flex: none; }
.brand-mark path { fill: none; stroke: var(--copper); stroke-width: 2; stroke-linejoin: miter; }
.places { display: flex; gap: 28px; font: 15px/20px var(--label); }
.places a { display: flex; align-items: center; gap: 6px; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--ink-2); }
.places a:hover { color: var(--ink); }
.places a[aria-current] { border-bottom-color: var(--copper); color: var(--ink); }
.places .muted { font-family: var(--data); font-size: 13px; }
.lab-name { display: flex; align-items: center; margin-left: auto; color: var(--ink-2); }
.top .add-btn { align-self: center; }

.page-head { padding: 36px 0 8px; }
.page-head .kicker { margin-bottom: 6px; color: var(--copper-2); }
.display { font: 600 34px/40px var(--text); letter-spacing: -0.015em; margin: 0 0 8px; }
.lead { font: 17px/26px var(--text); color: var(--ink-2); max-width: 92ch; margin: 0 0 12px; }
.pool-switch { margin: 4px 0 8px; }

.controls { padding: 8px 0 12px; }
.control-row { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; margin: 0; }
.field { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.field input { width: 64px; height: 36px; font-size: 16px; padding: 0 10px; text-align: right; -moz-appearance: textfield; appearance: textfield; }
.field input::-webkit-inner-spin-button, .field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.assume { margin: 12px 0 0; color: var(--ink-2); max-width: 110ch; }

.grid {
  display: grid;
  grid-template-columns: var(--col-no) var(--col-comp) minmax(0, 1fr) var(--col-est) var(--col-chance);
  column-gap: var(--gap);
  align-items: center;
}
.list { margin-top: 8px; }
.list-head { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--ink); }
.legend-row { list-style: none; margin: 0; padding: 12px 0 10px; display: flex; flex-wrap: wrap; gap: 6px 22px; font: 12px/16px var(--label); color: var(--ink-2); }
.legend-row li { display: inline-flex; align-items: center; gap: 7px; flex: none; white-space: nowrap; }
.legend-row .lg-measured { display: none; }
body.revealed:not(.pool-lab) .legend-row .lg-measured, body.lab-measured .legend-row .lg-measured { display: inline-flex; }
.legend-row svg { overflow: visible; }
.head-grid { align-items: end; padding-bottom: 0; }
.head-grid > span { font: 11px/14px var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); padding-bottom: 8px; }
.head-grid .col-no { text-align: right; }
.head-grid .col-est { text-align: right; }
.axis-head { position: relative; min-width: 0; }
.axis-svg { display: block; width: 100%; height: 46px; overflow: visible; }
.axis-svg .axis { stroke: var(--ink); stroke-width: 1.5; }
.axis-svg .tick { stroke: var(--ink); stroke-width: 1; }
.axis-svg .floor { stroke: var(--ink-2); stroke-width: 1; }
.axis-svg text { font: 11px var(--data); fill: var(--ink-2); }
.axis-svg text.lm-min { fill: var(--copper-2); font-weight: 700; }
.axis-svg .zone.z3 { fill: transparent; }
.axis-svg .zl { font: 10.5px var(--label); fill: var(--frost-ink); letter-spacing: 0.02em; }
.axis-svg .zl-short { display: none; }
.axis-svg use { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: miter; }
.axis-svg .min { stroke: var(--copper); stroke-width: 1.5; stroke-dasharray: 4 3; }
.cursor-k { position: absolute; top: -2px; transform: translateX(-50%); background: var(--ink); color: var(--paper); font: 11px/16px var(--data); padding: 0 5px; border-radius: 2px; pointer-events: none; white-space: nowrap; z-index: 2; }

.zone.z0 { fill: var(--frost-0); }
.zone.z1 { fill: var(--frost-1); }
.zone.z2 { fill: var(--frost-2); }

#rows { position: relative; z-index: 0; --rl: calc(var(--col-no) + var(--col-comp) + 2 * var(--gap)); --rw: calc(100% - var(--col-no) - var(--col-comp) - var(--col-est) - var(--col-chance) - 4 * var(--gap)); --minf: 0.2; }
.overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ov-min { position: absolute; top: 0; bottom: 0; left: calc(var(--rl) + var(--rw) * var(--minf) - 1px); border-left: 2px dashed var(--copper); opacity: 0.9; }
.ov-cursor { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--ink); opacity: 0.55; }

.rows { list-style: none; margin: 0; padding: 0; }
.row { border-bottom: 1px solid var(--rule); }
.row-main { cursor: pointer; padding: 14px 0; position: relative; }
.row-main:hover { background: rgba(20, 20, 20, 0.025); }
.row-main:focus-visible { outline-offset: -2px; }
.no { font: 15px/24px var(--data); color: var(--ink-2); text-align: right; }
.comp { min-width: 0; }
.comp .formula { display: block; font: 18px/24px var(--formula); color: var(--ink); word-break: keep-all; overflow-wrap: normal; }
.fam { display: flex; flex-wrap: wrap; gap: 0 12px; margin-top: 2px; font: 10.5px/14px var(--label); letter-spacing: 0.08em; color: var(--ink-2); }
.hz { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ruler { display: block; width: 100%; height: 28px; overflow: visible; }
.est { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.est-key { display: none; }
.est .big { font: 22px/26px var(--data); color: var(--ink); }
.est .other, .est .meas { font: 12px/16px var(--data); color: var(--ink-2); white-space: nowrap; }
.est .meas { color: var(--ink); opacity: 0; transition: opacity 300ms var(--ease); }
body.revealed .est .meas, body.pool-lab .est .meas { opacity: 1; }
.row.miss .est .meas { color: var(--copper-2); }
.chance { display: flex; flex-direction: column; gap: 4px; }
.chance-svg { display: block; }
.chance-svg .on { fill: var(--copper); }
.chance-svg .off { fill: none; stroke: var(--ink-3); stroke-width: 0.8; }
.chance .k { font: 12px/16px var(--data); color: var(--ink-2); }

.ruler .base { stroke: var(--ink-3); stroke-width: 0.75; opacity: 0.6; }
.ruler .band { fill: var(--copper); fill-opacity: 0.42; }
.ruler .cap { stroke: var(--copper); stroke-width: 1.25; }
.ruler .dot { fill: var(--copper); stroke: var(--paper); stroke-width: 1.5; }
.ruler use[href="#qtick"] { fill: var(--paper); stroke: var(--copper-2); stroke-width: 1.5; stroke-linejoin: miter; }
.ruler use[href="#ktick"] { fill: var(--known); }
.ruler .min { stroke: var(--copper); stroke-width: 1.5; stroke-dasharray: 4 3; }
.ruler .measured { opacity: 0; transition: opacity 260ms var(--ease) var(--d, 0ms); }
.ruler .measured line { stroke: var(--measured); stroke-width: 2; }
.ruler .measured .m-zero { stroke-width: 1.5; opacity: 0.45; }
.ruler .measured .m-drop { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0); transition: transform 360ms var(--ease) calc(var(--d, 0ms) + 120ms); }
body.revealed .ruler .measured, body.pool-lab .ruler .measured { opacity: 1; }
body.revealed .ruler .measured .m-drop, body.pool-lab .ruler .measured .m-drop { transform: none; }
.legend-row .measured, .legend-row .measured .m-drop { opacity: 1; transform: none; transition: none; }
.legend-row .measured .m-zero { opacity: 0.45; }
body.no-motion .ruler .measured, body.no-motion .ruler .measured .m-drop, body.no-motion .est .meas { transition: none; }

.round { position: relative; }
.round::before { content: ""; position: absolute; left: -14px; top: 10px; bottom: 0; width: 3px; background: var(--ink); }
.round-kicker, .rest-kicker { margin: 0; padding: 20px 0 10px; background: var(--paper); position: relative; }
.rk-title { color: var(--ink); }
.rk-sub { font: 15px/20px var(--text); letter-spacing: 0; text-transform: none; color: var(--ink-2); margin-left: 8px; }
.rest-kicker .rk-title { color: var(--ink-2); }
.round .rows { border-top: 1px solid var(--ink); }
.rows.rest { border-top: 1px solid var(--rule); }
.row.beyond .row-main { opacity: 0.9; }
.row.beyond .row-main:hover, .row.beyond .row-main:focus-visible, .row.beyond.open .row-main { opacity: 1; }
#rows :is(.row-main, a, button) { scroll-margin-top: var(--sticky-h, 0px); }
.show-rest-p { margin: 0; }

.row-open { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease); }
.row.open .row-open { grid-template-rows: 1fr; }
.row-open-inner { overflow: hidden; min-height: 0; }
.op-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 0.85fr); gap: 32px; padding: 20px 20px 24px calc(var(--col-no) + var(--gap)); background: var(--paper-2); border-top: 1px solid var(--rule); }
.row:not(.open) .op-grid { visibility: hidden; transition: visibility 0s 320ms; }
.op .kicker { margin-bottom: 10px; }
.known-table { width: 100%; border-collapse: collapse; font: 13px/18px var(--label); }
.known-table th { font: 10.5px/14px var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); text-align: left; font-weight: 400; padding: 0 8px 6px 0; border-bottom: 1px solid var(--ink); }
.known-table td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.known-table .n { text-align: right; font-family: var(--data); white-space: nowrap; }
.known-table .formula { font-size: 15px; line-height: 20px; }
.known-table .diff { color: var(--ink-2); }
.ro-grid { display: flex; flex-direction: column; }
.op-est .ro { display: grid; grid-template-columns: 76px minmax(0, 1fr); column-gap: 12px; align-items: baseline; padding: 6px 0; border-top: 1px solid var(--rule); }
.op-est .ro:first-child { border-top: 1px solid var(--ink); }
.op-est .ro-num { grid-row: span 2; margin: 0; font: 28px/32px var(--data); white-space: nowrap; }
.op-est .ro-num .unit { font: 13px/16px var(--data); color: var(--ink-2); margin-left: 3px; }
.op-est .ro-label { margin: 0; font: 13px/18px var(--label); }
.op-est > .small { margin-top: 10px; }
.op-next p { margin: 0 0 10px; }
.op-next .button { display: inline-flex; align-items: center; }
.op-next .small { margin: 6px 0 0; }

.reveal { padding: 18px 0 20px calc(var(--col-no) + var(--gap)); background: var(--paper); position: relative; border-bottom: 1px solid var(--ink); }
.after-reveal { display: none; }
body.revealed .reveal-btn { display: none; }
body.revealed .after-reveal { display: block; }
.count { font: 19px/28px var(--text); margin: 0 0 6px; max-width: 62ch; }
.count data { font-size: 17px; }
.after-reveal .count { margin-bottom: 16px; }
body.pool-lab .reveal { display: none; }

.legend { color: var(--ink-2); margin: 12px 0 0; max-width: 130ch; }

.try { padding: 16px 0; }
.try-form { display: flex; gap: 8px; margin: 0; max-width: 480px; }
.try-form input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; font-size: 17px; }
.try-form .primary { min-height: 44px; padding: 0 18px; font-size: 15px; line-height: 20px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 8px; padding: 0; }
.chip { font: 14px/18px var(--formula); min-height: 36px; padding: 6px 12px; }
.try-out { max-width: 760px; }
.try-out:empty { display: none; }
.ro-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 16px 0 4px; }
.ro-formula { font: 26px/32px var(--formula); margin: 0; }
.ro-formula.long { font-size: 19px; line-height: 26px; }
.ro-head .see-how { font: 13px/18px var(--label); }
.ro-ruler { margin: 10px 0 14px; padding: 4px 0 6px; border-bottom: 1px solid var(--rule); }
.ro-ruler .axis-svg { margin-bottom: 2px; }
.ro-ruler .axis-svg .zone.z3 { fill: transparent; }
.try-readout { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.try-readout .ro { min-width: 140px; }
.try-readout .ro p { margin: 0; }
.try-readout .ro-num { font: 34px/38px var(--data); }
.try-readout .ro-num .unit { font: 17px/24px var(--data); color: var(--ink-2); margin-left: 4px; }
.try-readout .ro-label { font: 13px/18px var(--label); color: var(--ink); margin-top: 2px; }
.try-readout .ro .small { margin-top: 2px; color: var(--ink-2); }
.try-readout .ro-action { align-self: center; }
.quantum { padding: 20px 0; border-top: 1px solid var(--rule); }
.quantum .button { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; font-size: 15px; line-height: 20px; }

.placeholder { padding: 8px 0 16px; max-width: 70ch; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation-duration: 0s !important; }
}

@media (min-width: 761px) {
  .phone { display: none !important; }

  #view-candidates { display: flex; flex-direction: column; }
  #view-candidates > .page-head { order: -1; }
  #view-candidates > .controls { order: 0; }
  #view-candidates > .try { order: 1; }
  #view-candidates > .list { order: 2; }
  .try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; margin: 4px 0 12px; background: var(--paper-2); border-radius: 2px; }
  .try .kicker { margin: 0; color: var(--ink); }
  .try-form { flex: 0 1 300px; }
  .try-form input { height: 36px; }
  .try-form .primary { min-height: 36px; }
  .try .chips { margin: 0; }
  .try > .small { margin: 0; }
  .try-out { flex: 1 0 100%; max-width: none; }
  .try-out .ro-ruler { max-width: 760px; }

  #rows { background-image: linear-gradient(to right, var(--frost-0) 0 2.8%, var(--frost-1) 2.8% 13.533%, var(--frost-2) 13.533% 51.333%, transparent 51.333%); background-repeat: no-repeat; background-position: var(--rl) 0; background-size: var(--rw) 100%; }
  #rows .ruler .zone, #rows .ruler .min { display: none; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  :root { --col-comp: 250px; --col-chance: 112px; --col-est: 96px; }
  .comp .formula { font-size: 16px; line-height: 22px; }
  .op-grid { grid-template-columns: 1fr 1fr; }
  .op-next { grid-column: 1 / -1; }
  .places { gap: 20px; }
  .top .lab-name { display: none; }
}
@media (max-width: 760px) {
  .desktop { display: none !important; }
  .wrap { padding: 0 16px; }
  body { padding-bottom: 72px; }
  #rows :is(.row-main, a, button) { scroll-margin-bottom: 64px; }

  .top-grid { height: 52px; gap: 16px; }
  .brand { font-size: 20px; }
  .poster { display: flex; align-items: center; margin-left: auto; color: var(--ink-2); }

  .page-head { padding: 20px 0 4px; }
  .display { font-size: 27px; line-height: 32px; }
  .lead { font-size: 16px; line-height: 24px; }
  .controls { padding: 4px 0 8px; }
  .control-row { gap: 10px; }
  .seg button { padding: 6px 10px; font-size: 13px; }
  .seg-label { padding: 0 8px; font-size: 11px; }
  .assume { margin-top: 8px; }

  .list-head { display: contents; }
  .legend-row { gap: 6px 14px; padding: 8px 0; font-size: 11.5px; }
  .head-grid { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--ink); display: block; padding-top: 6px; }
  .head-grid > span { display: none; }
  .axis-svg .zl-long { display: none; }
  .axis-svg .zl-short { display: inline; }
  .axis-svg .t-h2 { display: none; }
  .overlay { display: none; }
  .round::before { left: -9px; width: 2px; }

  .grid { grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 10px; }
  .row-main { grid-template-areas: "no comp est" "ruler ruler ruler"; padding: 12px 0 10px; align-items: start; row-gap: 8px; }
  .row-main .no { grid-area: no; font-size: 13px; line-height: 22px; }
  .row-main .comp { grid-area: comp; }
  .row-main .ruler { grid-area: ruler; }
  .row-main .est { grid-area: est; }
  .row-main .chance { display: none; }
  .comp .formula { font-size: 16px; line-height: 22px; }
  .est-key { display: block; font: 10px/12px var(--label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
  .est .big { font-size: 20px; line-height: 22px; }
  .est .other, .est .meas { font-size: 11px; line-height: 14px; }
  .rest-kicker, .rows.rest { display: none; }
  body.show-rest .rest-kicker { display: block; }
  body.show-rest .rows.rest { display: block; }
  .show-rest-p { padding: 12px 0 0; }

  .op-grid { grid-template-columns: 1fr; gap: 20px; padding: 16px 12px 18px; }
  .known-table .diff, .known-table th:nth-child(4) { display: none; }

  .reveal { padding: 14px 0 16px; }
  .reveal .primary { width: 100%; min-height: 48px; font-size: 15px; line-height: 20px; }
  .count { font-size: 17px; line-height: 25px; }

  .try { border-top: 1px solid var(--rule); margin-top: 16px; padding-top: 20px; }
  .try-form { max-width: none; }
  .ro-formula { font-size: 22px; line-height: 28px; }
  .ro-formula.long { font-size: 16px; line-height: 22px; }
  .try-readout { gap: 12px 28px; }
  .try-readout .ro-num { font-size: 30px; line-height: 34px; }


  .bottom-bar {
    position: fixed; left: 0; right: 0; bottom: 0; height: 56px; z-index: 5;
    display: flex; background: var(--paper); border-top: 1px solid var(--ink);
  }
  .bottom-bar a { flex: 1; display: flex; align-items: center; justify-content: center; text-decoration: none; font: 13px/18px var(--label); border-top: 3px solid transparent; margin-top: -1px; color: var(--ink-2); }
  .bottom-bar a[aria-current] { border-top-color: var(--copper); color: var(--ink); }
}

.spec h2 { font: 600 22px/28px var(--text); margin: 24px 0 8px; }
.spec .line { border-top: 1px solid var(--rule); padding: 6px 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 16px; }
.spec .line .small { color: var(--ink-2); }
.spec .s-data { font: 17px/24px var(--data); }
.spec .s-readout { font: 34px/38px var(--data); }
.spec .s-label { font: 13px/18px var(--label); }
.spec .s-control { font: 15px/20px var(--label); }
.spec .s-body { font: 16px/24px var(--text); }
.spec .s-lead { font: 17px/26px var(--text); }
.spec .s-heading { font: 600 22px/28px var(--text); }
.spec .s-display { font: 600 34px/40px var(--text); }
.spec .s-ruler { font: 11px/14px var(--data); }
.spec .f18 { font: 18px/24px var(--formula); }
.spec .f16 { font: 16px/22px var(--formula); }
.spec .f26 { font: 26px/32px var(--formula); }
@media (max-width: 760px) { .spec .line { grid-template-columns: 1fr; } }
