:root {
  color-scheme: light;
  --bg: #edf0f1;
  --paper: #fcfdfd;
  --recess: #e3e8ea;
  --ink: #23292e;
  --muted: #4d5962;
  --line: #cbd2d6;
  --datum: #7b8993;
  --hot: #be123c;
  --hot-strong: #a80f34;
  --hot-fill: #e11d48;
  --hot-soft: #fbe4e9;
  --cool: #0369a1;
  --cool-fill: #0284c7;
  --cool-soft: #dceefa;
  --caution: #854907;
  --caution-soft: #fff1d6;
  --plot: #f6f8f9;
  --grid: #e4e9ec;
  --steel: #d7dfe3;
  --steel-top: #e9eef0;
  --steel-dark: #a8b6bd;
  --primary-ink: #fff;
  --mono: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171e23;
  --paper: #202930;
  --recess: #26333b;
  --ink: #f1f4f6;
  --muted: #b9c7ce;
  --line: #3c4c55;
  --datum: #899faa;
  --hot: #ff85a0;
  --hot-strong: #ffadc0;
  --hot-fill: #f46386;
  --hot-soft: #492531;
  --cool: #7bccf4;
  --cool-fill: #50a9d7;
  --cool-soft: #213d4e;
  --caution: #ffcd80;
  --caution-soft: #483724;
  --plot: #1b252b;
  --grid: #27353e;
  --steel: #374a55;
  --steel-top: #405461;
  --steel-dark: #647c89;
  --primary-ink: #1c1520;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  text-rendering: optimizeLegibility;
}
a { color: var(--cool); text-underline-offset: 0.19em; }
a:hover { color: var(--hot-strong); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cool-fill);
  outline-offset: 3px;
}
h1, h2, h3, p, ul, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
ul { padding: 0; list-style: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: 0.5; }
svg { vertical-align: middle; }
.shell { width: min(1224px, calc(100% - 64px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -70px;
  z-index: 3;
  background: var(--paper);
  padding: 10px;
}
.skip-link:focus { top: 12px; }

.site-header {
  background: var(--paper);
  border-top: 4px solid var(--hot);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 65px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 30px;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.045em;
  text-decoration: none;
}
.brand svg { flex: none; }
.brand-accent { color: var(--hot); }
.header-inner nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 34px);
}
.header-inner nav a, .footer-inner > a:last-child {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.header-inner nav a:hover, .header-inner nav a[aria-current="page"], .footer-inner > a:last-child:hover { color: var(--hot); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding-inline: 9px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  inset: calc(100% + 5px) 0 auto auto;
  z-index: 5;
  width: 11rem;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}
.theme-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-width: 44px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--muted);
  padding: 0 11px;
  font-size: 13px;
  font-weight: 650;
}
.theme-button:hover { color: var(--ink); border-color: var(--datum); }
.theme-button[aria-pressed="true"] { color: var(--cool); border-color: var(--cool); }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.16fr);
  gap: clamp(22px, 4.25vw, 66px);
  align-items: center;
  padding-block: 45px 40px;
  border-bottom: 1px solid var(--datum);
}
.home-hero h1, .share-copy h1 {
  font-size: clamp(39px, 5.05vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.066em;
  font-weight: 750;
}
.home-hero h1 span, .share-copy h1 span { color: var(--hot); }
.home-hero-copy > p {
  max-width: 42ch;
  margin-top: 21px;
  color: var(--muted);
  font-size: clamp(16px, 1.42vw, 20px);
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.primary-link, .text-link, .section-heading > a, .model-note > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  font-weight: 680;
  text-decoration: none;
}
.primary-link { padding: 3px 12px; border-radius: 4px; background: var(--hot); color: var(--primary-ink); }
.primary-link:hover { background: var(--hot-strong); color: var(--primary-ink); }
.hero-art { border: 1px solid var(--datum); background: var(--plot); border-radius: 6px; overflow: hidden; }

.home-section { margin-block: 29px 42px; }
.section-heading { display: flex; flex-wrap: wrap; gap: 5px 20px; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.section-heading h2 { font-size: clamp(26px, 2.4vw, 34px); }
.section-heading > a { font-size: 14px; }
.section-intro { margin-bottom: 18px; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-card, .panel, .example-group {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 0;
}
.tool-card { overflow: hidden; }
.tool-card > a {
  min-height: 203px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px;
  color: var(--ink);
  text-decoration: none;
}
.tool-card > a:hover, .tool-card > a:focus-visible { background: var(--hot-soft); }
.tool-card > a:focus-visible { outline-offset: -3px; }
.tool-area {
  color: var(--hot);
  font: 600 11px/1.25 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tool-card h3 { margin-top: 12px; font-size: 20px; }
.tool-card p { margin-block: 7px 13px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.open-tool {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  color: var(--cool);
  font-size: 13px;
  font-weight: 700;
}
.open-tool svg { width: 15px; height: 15px; }
.examples-section { border-top: 1px solid var(--datum); padding-top: 26px; }
.example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.example-group h3 { padding: 15px 17px 7px; }
.example-group h3 a { color: var(--ink); text-decoration: none; }
.example-group h3 a:hover { color: var(--hot); }
.example-group li, .related li { border-top: 1px solid var(--line); }
.example-group ul { margin: 6px 17px 11px; }
.example-group li > a, .related li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding-block: 6px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.example-group li > a:hover, .related li > a:hover { color: var(--hot); }
.example-group li svg, .related li svg { flex: none; color: var(--cool); }

.tool-title { padding-block: 22px 21px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px 8px;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.breadcrumb a { text-decoration: none; }
.tool-title h1 { font-size: clamp(30px, 3.56vw, 49px); letter-spacing: -0.047em; font-weight: 750; }
.tool-title p { margin-top: 8px; color: var(--muted); max-width: 86ch; }
.mobile-edit, .return-results { display: none; }
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
  gap: 17px;
  align-items: start;
}
.inputs { padding: 15px; border-top: 3px solid var(--datum); }
.panel-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 11px; }
.panel-title h2, .plot h2 { font-size: 18px; }
.unit-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--bg);
  padding: 2px;
}
.unit-toggle button {
  min-width: 43px;
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  font: 650 14px var(--mono);
}
.unit-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.input-fields { display: grid; gap: 7px; }
.inputs fieldset { padding: 0; margin: 0; min-width: 0; border: 0; }
.inputs fieldset + fieldset { margin-top: 15px; }
.inputs legend {
  width: 100%;
  padding: 0 0 5px;
  margin-bottom: 8px;
  color: var(--hot);
  border-bottom: 1px solid var(--line);
  font: 650 11px/1.3 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 3px 8px; align-items: center; }
.field label { font-size: 13px; font-weight: 620; line-height: 1.28; overflow-wrap: anywhere; }
.field:has(select) { grid-template-columns: minmax(0, 1fr); margin-block: 3px; }
.field small { grid-column: 1/-1; color: var(--muted); font-size: 11px; line-height: 1.4; }
.number-input {
  display: flex;
  align-items: center;
  min-width: 0;
  background: var(--plot);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.number-input:focus-within { border-color: var(--cool-fill); }
.number-input input {
  min-width: 0;
  width: 100%;
  min-height: 40px;
  padding: 3px 5px 3px 7px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 4px 0 0 4px;
  appearance: textfield;
  font: 500 14px var(--mono);
}
.number-input input::-webkit-inner-spin-button, .number-input input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.number-input input:read-only { color: var(--muted); background: var(--recess); }
.unit {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 6px;
  border-left: 1px solid var(--line);
  background: var(--recess);
  color: var(--muted);
  white-space: nowrap;
  font: 500 10px var(--mono);
}
.unit:empty { display: none; }
.field select, .share-panel input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 4px 7px;
  color: var(--ink);
  background: var(--plot);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
}
.field select[aria-invalid="true"], .number-input:has(input[aria-invalid="true"]) { border-color: var(--hot); }
.input-error { padding: 8px; margin-bottom: 10px; background: var(--hot-soft); color: var(--hot); border-radius: 4px; font-size: 13px; }
.results { min-width: 0; display: grid; gap: 10px; }
.readouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.kpi {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--hot);
  border-radius: 5px;
  padding: 9px 11px 10px;
}
.kpi:nth-child(even) { border-top-color: var(--cool); }
.kpi dt {
  font: 650 11px/1.3 var(--mono);
  letter-spacing: 0.03em;
  color: var(--muted);
  text-transform: uppercase;
}
.kpi dd { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 6px; }
.kpi strong {
  color: var(--ink);
  font: 650 clamp(18px, 2.15vw, 30px)/1.15 var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}
.kpi dd span { color: var(--muted); font: 580 11px/1.3 var(--mono); }
.plot { overflow: hidden; }
.plot figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 9px;
  min-height: 43px;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line);
}
.plot figcaption > span { font: 600 11px/1.25 var(--mono); color: var(--muted); }
.plot > div { display: grid; place-items: center; background: var(--plot); }
.plot > div .anatomy { width: min(100%, 675px); }
.plot-empty { min-height: 140px; padding: 12px; display: grid; place-items: center; color: var(--muted); text-align: center; }
.anatomy { display: block; width: 100%; height: auto; fill: none; font-family: var(--mono); }
.drawing-field { fill: var(--plot); }
.drawing-grid { stroke: var(--grid); stroke-width: 0.85; }
.steel-zone, .steel-top, .steel-dark, .recess, .bolt, .screw-flight { stroke: var(--datum); stroke-width: 1.5; }
.steel-zone { fill: var(--steel); }
.steel-top { fill: var(--steel-top); }
.steel-dark { fill: var(--steel-dark); }
.recess { fill: var(--recess); }
.bolt, .screw-flight { fill: var(--paper); }
.outline { fill: none; stroke: var(--datum); stroke-width: 1.25; }
.datum { fill: none; stroke: var(--datum); stroke-width: 1.45; }
.centerline { fill: none; stroke: var(--datum); stroke-width: 1.05; stroke-dasharray: 5 4; }
.melt-fill { fill: var(--hot-fill); stroke: none; }
.cool-fill { fill: var(--cool-fill); stroke: none; }
.melt-zone { fill: var(--hot-soft); stroke: var(--hot); stroke-width: 1.45; }
.cool-zone { fill: var(--cool-soft); stroke: var(--cool); stroke-width: 1.45; }
.melt-line, .melt-outline { fill: none; stroke: var(--hot); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.cool-line, .cool-dashed { fill: none; stroke: var(--cool); stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.cool-dashed { stroke-dasharray: 4 4; }
.profile { stroke-width: 3.25; }
.hero-melt { stroke-width: 7; }
.hero-water { stroke-width: 4; }
.plot-label, .plot-muted, .plot-hot, .plot-cool { font-size: 17px; font-weight: 650; }
.plot-label { fill: var(--ink); }
.plot-muted { fill: var(--muted); }
.plot-hot { fill: var(--hot); }
.plot-cool { fill: var(--cool); }

.screen { padding: 9px 12px 10px; }
.screen-heading { display: flex; min-height: 23px; align-items: center; gap: 8px; color: var(--ink); }
.screen-heading h3 { font-size: 15px; }
.signal { width: 8px; height: 8px; border-radius: 2px; flex: none; background: var(--cool); }
[data-tone="fail"] .signal { background: var(--hot); }
[data-tone="review"] .signal { background: var(--caution); }
.meter { display: block; height: 19px; width: 100%; }
.meter-floor { fill: var(--recess); }
.meter-band { fill: var(--cool-fill); opacity: 0.7; }
.meter-tick { stroke: var(--cool); stroke-width: 1.1; }
.meter-point { stroke: var(--ink); stroke-width: 2.75; }
[data-tone="fail"] .meter-point { stroke: var(--hot); }
[data-tone="review"] .meter-point { stroke: var(--caution); }
.meter-labels {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 35px;
  color: var(--muted);
  font: 570 11px/1.25 var(--mono);
}
.meter-labels span:nth-child(2) { text-align: center; }
.meter-labels span:nth-child(2)::before { content: ""; display: inline-block; width: 2px; height: 8px; margin-right: 5px; background: var(--cool); }
.screen p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.actions { display: flex; flex-wrap: wrap; gap: 5px; }
.actions button, .share-panel button, .share-panel > a {
  min-height: 42px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}
.actions button:hover:not(:disabled), .share-panel button:hover, .share-panel > a:hover { border-color: var(--datum); color: var(--hot); }
.actions button[data-action="share"] { background: var(--hot); border-color: var(--hot); color: var(--primary-ink); }
.actions button[data-action="share"]:hover:not(:disabled) { background: var(--hot-strong); color: var(--primary-ink); }
.share-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 5px; margin-top: 8px; }
.share-panel > label { grid-column: 1/-1; font-size: 13px; }
.share-panel > a { display: inline-flex; align-items: center; text-decoration: none; }
.action-status { color: var(--muted); font-size: 12px; }
.action-status:not(:empty) { margin-top: 5px; }
.detail-panel summary { padding: 9px 12px; min-height: 42px; font-weight: 680; cursor: pointer; }
.detail-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 13px; }
.detail-table tr { border-top: 1px solid var(--line); }
.detail-table th, .detail-table td { padding: 6px 12px; overflow-wrap: anywhere; }
.detail-table th { text-align: left; width: 57%; color: var(--muted); font-weight: 570; }
.detail-table td { text-align: right; font-family: var(--mono); font-weight: 560; }
.model-note, .doc-block { padding: 16px; }
.model-note { margin-top: 17px; }
.model-note p, .doc-block p { margin-top: 9px; color: var(--muted); max-width: 100ch; }
.equation {
  padding: 10px 12px;
  border-inline-start: 3px solid var(--hot);
  background: var(--recess);
  color: var(--ink) !important;
  font: 600 13px/1.65 var(--mono);
  overflow-wrap: anywhere;
}
.model-note a, .doc-block .text-link { margin-top: 4px; font-size: 14px; }
.related { margin-block: 26px 42px; }
.related ul { display: grid; gap: 0 25px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.doc-page { margin-bottom: 42px; }
.doc-page .tool-title { padding-top: 30px; }
.doc-block { margin-top: 12px; max-width: 990px; }
.method-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 15px; max-width: 990px; padding: 10px 16px; }
.method-index > a { display: flex; align-items: center; gap: 5px; min-height: 42px; font-size: 13px; font-weight: 680; text-decoration: none; }
.method-index svg { flex: none; }
.references { margin-top: 8px; font-size: 14px; }

.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; min-height: 68px; padding-block: 8px; }
.footer-brand { font-size: 15px; }
.footer-brand svg { width: 26px; height: 26px; }
.footer-inner p { color: var(--muted); font-size: 13px; }
.print-sheet { display: none; }

.share-art { height: 630px; padding: 44px; }
.share-composition {
  height: 100%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  border-block: 1px solid var(--datum);
}
.share-composition > .brand { position: absolute; top: 19px; left: 0; }
.share-copy h1 { font-size: 67px; }
.share-copy p { margin-top: 17px; color: var(--muted); font-size: 20px; }

@media (max-width: 1040px) {
  .shell { width: calc(100% - 40px); }
  .workspace { grid-template-columns: minmax(0, 285px) minmax(0, 1fr); gap: 13px; }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card > a { min-height: 176px; }
}

@media (max-width: 750px) {
  .home-hero { grid-template-columns: 1fr; gap: 20px; padding-block: 26px; }
  .home-hero-copy > p { margin-top: 13px; }
  .hero-actions { margin-top: 13px; }
  .workspace { display: flex; flex-direction: column; }
  .workspace > * { width: 100%; }
  .results { order: -1; }
  .mobile-edit, .return-results { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 680; text-decoration: none; }
  .tool-title { padding-block: 14px 9px; }
  .method-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
  .theme-button { min-width: 42px; padding: 0; }
  .theme-button span { display: none; }
  .header-inner .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .header-inner .mobile-menu nav { display: grid; gap: 0; }
  .home-hero h1 { font-size: clamp(37px, 11vw, 54px); }
  .hero-actions { gap: 3px 10px; }
  .hero-actions > a { font-size: 13px; }
  .hero-actions svg { width: 15px; }
  .home-section { margin-block: 20px 31px; }
  .tool-grid { gap: 8px; }
  .tool-card > a { min-height: 177px; padding: 10px; }
  .tool-card h3 { font-size: 17px; margin-top: 8px; }
  .tool-card p { font-size: 12px; }
  .tool-area, .open-tool { font-size: 10px; }
  .example-grid, .related ul { grid-template-columns: minmax(0, 1fr); }
  .tool-title h1 { font-size: clamp(28px, 8.2vw, 37px); }
  .tool-title p { font-size: 14px; }
  .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .kpi { padding: 7px 8px; }
  .kpi dd { margin-top: 3px; }
  .kpi strong { font-size: 24px; }
  .results { gap: 7px; }
  .plot figcaption { padding: 6px 8px; min-height: 40px; }
  .plot h2 { font-size: 15px; }
  .plot figcaption > span { font-size: 10px; }
  .screen { padding: 7px 8px; }
  .screen p { font-size: 11px; }
  .screen-heading h3 { font-size: 14px; }
  .actions button { font-size: 12px; padding: 4px 7px; }
  .footer-inner p { order: 1; width: 100%; }
}

@page { size: A4; margin: 11mm; }

@media print {
  :root, :root[data-theme="dark"] {
    color-scheme: light;
    --bg: #fff;
    --paper: #fff;
    --ink: #171c20;
    --muted: #41494f;
    --line: #cbd2d6;
    --datum: #6b767d;
    --recess: #eef1f2;
    --hot: #9f1436;
    --hot-fill: #c62b4b;
    --hot-soft: #fae1e8;
    --cool: #095e88;
    --cool-fill: #167caf;
    --cool-soft: #deedf6;
    --plot: #fbfcfc;
    --grid: #ebeff1;
    --steel: #dbe2e6;
    --steel-top: #edf0f1;
    --steel-dark: #a8b5bd;
  }
  body { font-size: 9pt; }
  .calculator-page > :not(main), .calculator-page main > :not(.print-sheet) { display: none !important; }
  .calculator-page .shell { width: auto; margin: 0; }
  .print-sheet { display: block; }
  .print-sheet > header { padding-bottom: 2mm; border-bottom: 1pt solid var(--ink); }
  .print-sheet > header p { font: 650 8pt/1.3 var(--mono); color: var(--hot); }
  .print-sheet h1 { font-size: 18pt; margin-top: 1mm; }
  .print-sheet h2 { font-size: 11pt; padding: 0 0 1mm; }
  .print-formula { margin: 2mm 0; font: 8.2pt/1.4 var(--mono); overflow-wrap: anywhere; }
  .print-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
  .print-sheet table { border-collapse: collapse; width: 100%; line-height: 1.25; table-layout: fixed; font-size: 8pt; }
  .print-sheet th, .print-sheet td { text-align: left; padding: 0.75mm; border-top: 0.3pt solid var(--line); overflow-wrap: anywhere; }
  .print-sheet th { width: 59%; color: var(--muted); font-weight: 550; }
  .print-sheet td { font-family: var(--mono); }
  .print-screen, .print-sheet footer { margin-top: 2mm; font-size: 8.2pt; line-height: 1.34; }
  .print-sheet .anatomy {
    display: block;
    width: 146mm;
    max-width: 100%;
    margin: 2mm auto 0;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .print-sheet footer { padding-top: 2mm; border-top: 0.5pt solid var(--line); }
}
