:root {
  color-scheme: light;
  --canvas: #edf0ed;
  --paper: #fcfdfb;
  --draft: #f6f8f5;
  --panel: #e7ece9;
  --ink: #192422;
  --muted: #4d5b58;
  --line: #cbd4cf;
  --rule: #9eadab;
  --blue: #1e3a8a;
  --blue-bright: #1d4ed8;
  --blue-wash: #e7eefb;
  --blue-mid: #8ba6d8;
  --crimson: #b91c1c;
  --rust: #c2410c;
  --warn-paper: #fff1e7;
  --over-paper: #fbeaea;
  --good: #22564e;
  --good-paper: #e7f0eb;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 20px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
}
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-bright); }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
svg { display: block; max-width: 100%; }
.shell { width: min(var(--shell), calc(100% - 88px)); margin-inline: auto; }
.skip {
  position: fixed; z-index: 3; top: 10px; left: 10px;
  padding: 10px 14px; background: var(--paper); transform: translateY(-150%);
}
.skip:focus { transform: none; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--rule); }
.masthead-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.masthead-inner { min-height: 67px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
  text-decoration: none; font-size: 20px; font-weight: 780; letter-spacing: -.047em;
}
.brand:hover { color: var(--blue); }
.brand-mark { width: 31px; height: 31px; flex-shrink: 0; }
.masthead nav, .site-footer nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.masthead nav a, .site-footer nav a {
  display: inline-flex; min-height: 40px; align-items: center;
  color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650;
}
.masthead nav a:hover, .site-footer nav a:hover { color: var(--blue); text-decoration: underline; }
.site-footer { background: var(--paper); border-top: 1px solid var(--rule); margin-top: 64px; }
.footer-inner { min-height: 121px; padding-block: 20px; }
.footer-inner p { margin-top: 5px; color: var(--muted); font-size: .86rem; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center; gap: clamp(26px, 5vw, 82px);
  padding-block: 55px 58px;
}
.eyebrow, .section-ref {
  font: 650 .73rem/1.35 var(--mono);
  letter-spacing: .055em; color: var(--blue); text-transform: uppercase;
}
.hero h1 {
  margin: 19px 0 16px; font-size: clamp(3.15rem, 5.65vw, 5.25rem);
  font-weight: 760; letter-spacing: -.055em; word-spacing: .035em; line-height: .98;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-copy { max-width: 39ch; color: var(--muted); font-size: 1.13rem; line-height: 1.55; }
.hero-actions { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 10px 13px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 47px; padding: 7px 15px; border: 1px solid transparent;
  border-radius: 3px; font-size: .89rem; font-weight: 720; text-decoration: none;
}
.button.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.button.primary:hover { background: #17317b; }
.text-button { color: var(--blue); border-color: var(--line); background: var(--paper); }
.text-button:hover { border-color: var(--blue-mid); background: var(--blue-wash); }
.hero-figure {
  min-width: 0; background: var(--paper); border: 1px solid var(--rule);
  box-shadow: 6px 6px 0 #dce4de; border-radius: 3px;
}
.drawing-header {
  min-height: 44px; padding: 9px 15px; display: flex; align-items: center;
  justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--line);
  font: 650 .75rem/1.3 var(--mono); color: var(--muted);
}
.drawing-header span:last-child { color: var(--blue); }
.hero-drawing { background: var(--draft); width: 100%; height: auto; padding: 5px 0; }
.hero-drawing text { fill: var(--blue); font-family: var(--mono); font-weight: 650; font-size: 15px; }
.hero-grid { stroke: #dce5de; stroke-width: .9; }
.hero-axis { fill: none; stroke: #9caaa8; stroke-width: .9; stroke-dasharray: 5 4; }
.hero-dim { fill: none; stroke: var(--blue); stroke-width: 1.15; }
.beam-face { fill: #233b43; stroke: #1c3239; stroke-width: 1.1; }
.beam-top { fill: #a3b6bf; stroke: #435961; stroke-width: 1.1; }
.beam-side { fill: #5e7986; stroke: #435961; stroke-width: 1.1; }
.hero-spec {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line); font: .77rem/1.35 var(--mono); color: var(--muted);
}
.hero-spec span { padding: 12px 8px; text-align: center; }
.hero-spec span + span { border-left: 1px solid var(--line); }
.hero-spec strong { color: var(--ink); font-weight: 700; }
.basis-band { border-block: 1px solid var(--rule); background: var(--panel); }
.basis-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.basis-items div { display: grid; gap: 2px; padding: 12px 16px; }
.basis-items div:first-child { padding-left: 0; }
.basis-items div + div { border-left: 1px solid var(--line); }
.basis-items span { color: var(--muted); font: 650 .69rem/1.4 var(--mono); letter-spacing: .055em; }
.basis-items strong { font-size: .88rem; font-weight: 720; }
.catalog { padding-top: 39px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-bottom: 15px; }
.catalog-heading h2 { font-size: 2rem; letter-spacing: -.054em; }
.catalog-link { font-size: .85rem; font-weight: 650; padding-block: 4px; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 16px 16px 13px; border: 1px solid var(--line); border-top: 2px solid #91a8cb;
  border-radius: 3px; background: var(--paper);
}
.tool-card:has(a:hover), .tool-card:focus-within { border-color: var(--blue-mid); }
.tool-card-top { display: flex; justify-content: space-between; align-items: center; gap: 7px; margin-bottom: 12px; }
.tool-glyph { width: 38px; height: 33px; color: var(--blue); }
.tool-glyph path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tool-card h3 { font-size: 1.03rem; letter-spacing: -.023em; }
.tool-link { text-decoration: none; color: var(--ink); }
.tool-link::after { content: ""; position: absolute; inset: 0; }
.tool-card p { margin-top: 7px; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.tool-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; margin-top: auto; color: var(--blue); font-size: .77rem; font-weight: 650;
}
.tool-card-foot span { font-size: .9rem; }
.review-note {
  color: var(--muted); border-left: 2px solid var(--rust); padding-left: 11px;
  font-size: .84rem; margin-top: 19px; line-height: 1.45;
}

.crumbs { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; color: var(--muted); font-size: .8rem; }
.calculator-page, .trust-page { padding-top: 22px; }
.page-intro { margin: 12px 0 12px; }
.page-intro h1 {
  font-size: clamp(2.15rem, 4vw, 3.28rem); letter-spacing: -.043em; word-spacing: .025em;
  font-weight: 760; max-width: 35ch; text-wrap: pretty;
}
.page-intro p { margin-top: 9px; color: var(--muted); max-width: 108ch; font-size: 1rem; }
.calculation-note { margin-top: 0; margin-bottom: 17px; }
.workspace-bar {
  min-height: 66px; padding: 8px 13px 9px 17px; border: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 8px 18px;
  background: var(--panel); border-radius: 3px;
}
.workspace-bar > div:first-child { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.bar-separator { height: 13px; border-left: 1px solid var(--rule); }
.settings { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.segmented { padding: 0; margin: 0; min-width: 0; border: 0; }
.segmented legend {
  font: 650 .68rem/1.15 var(--mono); color: var(--muted); margin-bottom: 4px;
}
.segments { display: flex; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); }
.segments label { position: relative; }
.segments label + label { border-left: 1px solid var(--rule); }
.segments input { position: absolute; opacity: 0; margin: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.segments span {
  display: grid; min-width: 47px; min-height: 31px; padding-inline: 8px; place-items: center;
  font: 700 .76rem/1.2 var(--mono); color: var(--blue);
}
.segments input:checked + span { background: var(--blue); color: #fff; }
.segments input:focus-visible + span { outline: 2px solid var(--blue-bright); outline-offset: 2px; z-index: 1; }
.method-switch-note { padding: 9px 14px 0; font-size: .77rem; color: var(--muted); }
.workbench {
  display: grid; grid-template-columns: minmax(300px, 351px) minmax(0, 1fr);
  grid-template-areas: "inputs anatomy" "inputs details";
  align-items: start; gap: 14px; margin-top: 11px;
}
.panel { min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 3px; }
.input-panel { grid-area: inputs; }
.result-panel { grid-area: anatomy; }
.details-panel { grid-area: details; }
.panel-title {
  min-height: 47px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--draft);
}
.panel-title h2 { font-size: 1.03rem; font-weight: 740; letter-spacing: -.018em; }
.field-group { margin: 0 14px; padding: 0 0 13px; border: 0; min-width: 0; }
.field-group:not([hidden]) ~ .field-group legend { border-top: 1px solid var(--line); }
.field-group legend {
  width: 100%; margin: 0 0 8px; padding: 13px 0 2px;
  font-size: .86rem; color: var(--ink); font-weight: 750;
}
.group-note { margin-bottom: 8px; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 9px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.field.choice { grid-column: 1 / -1; }
.field label { font-size: .78rem; line-height: 1.3; font-weight: 630; }
.field-help { color: var(--muted); font-size: .71rem; line-height: 1.35; }
.number-control { display: flex; align-items: stretch; min-height: 40px; min-width: 0; }
.field input, .field select, .share-fallback input {
  width: 100%; min-width: 0; min-height: 40px;
  padding: 7px 8px; border: 1px solid var(--rule);
  border-radius: 3px; background-color: #fff; color: var(--ink);
  font-size: .84rem;
}
.field select { padding-right: 20px; }
.field input, .share-fallback input { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.field input::-webkit-inner-spin-button, .field input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.field input[type=number] { appearance: textfield; }
.input-unit {
  flex-shrink: 0; display: grid; place-items: center; padding: 0 6px;
  border: 1px solid var(--rule); border-left: 0; border-radius: 0 3px 3px 0;
  background: var(--panel); color: var(--muted); font: .7rem/1.2 var(--mono);
}
.input-unit:empty { display: none; }
.number-control:has(.input-unit:not(:empty)) input { border-radius: 3px 0 0 3px; }
.field [aria-invalid=true] { border-color: var(--crimson); background: var(--over-paper); }

.result-body, .details-body { padding: 12px 14px 0; }
.verdict {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px;
  border-radius: 2px; background: var(--blue-wash); color: var(--blue);
  font-size: .73rem; line-height: 1.35; font-weight: 700;
}
.verdict::before { content: ""; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.verdict[data-kind=within] { color: var(--good); background: var(--good-paper); }
.verdict[data-kind=review] { color: var(--rust); background: var(--warn-paper); }
.verdict[data-kind=over] { color: var(--crimson); background: var(--over-paper); }
.telemetry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.telemetry-card {
  min-width: 0; padding: 9px 9px 8px; border: 1px solid var(--line);
  border-top: 2px solid var(--blue-mid); border-radius: 2px; background: var(--paper);
}
.telemetry-card dt { color: var(--muted); font: 650 .67rem/1.35 var(--mono); letter-spacing: .03em; text-transform: uppercase; }
.telemetry-card dd {
  font: 680 clamp(1.05rem, 1.85vw, 1.53rem)/1.15 var(--mono); letter-spacing: -.065em;
  margin-top: 5px; color: var(--blue); overflow-wrap: anywhere;
}
.telemetry-card dd small {
  display: block; font-size: .68rem; font-weight: 550;
  letter-spacing: 0; margin-top: 2px; color: var(--muted);
}
.anatomy { margin-top: 8px; }
.diagram-surface { background: var(--draft); border: 1px solid var(--line); border-radius: 2px; }
.drawing { width: 100%; height: auto; max-height: 343px; }
.anatomy figcaption { color: var(--muted); font-size: .77rem; line-height: 1.4; margin-top: 6px; }
.utilities { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding-top: 9px; }
.utility {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 4px 9px; border: 1px solid var(--rule); border-radius: 3px; color: var(--blue);
  background: var(--paper); font-size: .77rem; font-weight: 680;
}
.utility:hover:enabled { border-color: var(--blue); background: var(--blue-wash); }
.utility-share { background: var(--blue); border-color: var(--blue); color: #fff; }
.utility-share:hover:enabled { background: #17317b; }
.utility:disabled { color: var(--muted); opacity: .62; }
.feedback { font-size: .76rem; color: var(--muted); min-height: 23px; padding: 3px 0; }
.share-fallback { display: grid; margin-top: 9px; gap: 3px; font-size: .75rem; color: var(--muted); }
.error, .findings {
  border-left: 2px solid var(--crimson); background: var(--over-paper);
  color: #852218; padding: 8px 10px; font-size: .86rem; line-height: 1.42;
}
.findings { margin: 11px 0 0; padding-left: 25px; background: var(--warn-paper); border-color: var(--rust); }
.diagram-empty { padding: 33px 15px; color: var(--muted); }
.details-body { padding-bottom: 13px; }
.check-table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: .82rem; }
.check-table th, .check-table td { border-bottom: 1px solid var(--line); padding: 7px 5px; text-align: right; overflow-wrap: anywhere; }
.check-table thead th { color: var(--muted); font-size: .72rem; font-weight: 690; }
.check-table th:first-child { width: 42%; text-align: left; }
.check-table tbody th { font-weight: 640; }
.numeric, .fact-grid dd, .check-table td, .print-inputs dd { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.value-unit { color: var(--muted); font-size: .7rem; font-weight: 500; }
.check-table .over { color: var(--crimson); font-weight: 720; }
.values-heading, .compactness h3 { margin-top: 13px; font-size: .9rem; }
.compactness table th:first-child { width: 26%; }
.compactness table th:last-child { width: 29%; }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 4px; }
.fact-grid div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 7px;
  padding-block: 6px; border-bottom: 1px solid var(--line); font-size: .77rem;
}
.fact-grid dt { min-width: 0; color: var(--muted); }
.fact-grid dd { min-width: 0; text-align: right; overflow-wrap: anywhere; font-weight: 640; }

.drawing .draft-paper { fill: var(--draft); }
.drawing text { fill: var(--ink); font: 540 13px var(--mono); stroke: none; }
.drawing .strong { fill: var(--blue); font-size: 15px; font-weight: 730; }
.drawing .tick { fill: var(--muted); font-size: 12px; }
.drawing .rust-text { fill: var(--rust); font-weight: 700; }
.drawing .meter-label { fill: var(--ink); font-size: 13px; font-weight: 690; }
.drawing .meter-value, .drawing .meter-warn { fill: var(--blue); font-size: 15px; font-weight: 740; }
.drawing .meter-warn { fill: var(--crimson); }
.drawing .grid { stroke: #d0dad4; stroke-width: 1; fill: none; }
.drawing .axis, .drawing .dim, .drawing .rule { stroke: #647975; stroke-width: 1.15; fill: none; }
.drawing .guide { stroke: #7b9294; stroke-width: 1.25; stroke-dasharray: 5 4; fill: none; }
.drawing .trace { stroke: #9b5550; stroke-width: 1.05; stroke-dasharray: 4 3; }
.drawing .accent-line, .drawing .plot-line, .drawing .neutral { stroke: var(--blue); stroke-width: 1.55; fill: none; }
.drawing .plot-line, .drawing .rust-line { stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.drawing .rust-line, .drawing .limit, .drawing .plastic { stroke: var(--crimson); stroke-width: 1.8; fill: none; }
.drawing .neutral { stroke-width: 1.2; stroke-dasharray: 6 4; }
.drawing .plastic { stroke-width: 1.2; stroke-dasharray: 4 3; }
.drawing .rupture { stroke-dasharray: 7 4; stroke-width: 2.35; }
.drawing .rupture-fill { fill: #f8dcd4; fill-opacity: .72; }
.drawing .plot-fill { fill: #b8c9ef; opacity: .42; }
.drawing .solid-fill { opacity: .65; }
.drawing .zone-one { fill: #e4ecee; }
.drawing .zone-two { fill: #e5edf9; }
.drawing .zone-three { fill: #f1e6e2; }
.drawing .marker { fill: var(--crimson); stroke: #fff; stroke-width: 1.5; }
.drawing .beam-line { stroke: #233c43; stroke-width: 5; }
.drawing .steel { fill: #9dafb6; stroke: #3f5f66; stroke-width: 1.15; }
.drawing .plate { fill: #dce9e7; stroke: #5a797c; stroke-width: 1.3; }
.drawing .pedestal { fill: #e1e6e0; stroke: #839794; stroke-width: 1.2; }
.drawing .section { fill: #3e5e6a; stroke: #253c42; stroke-width: .9; }
.drawing .outline { fill: none; stroke: var(--rust); stroke-width: 1.5; stroke-dasharray: 5 3; }
.drawing .hole { fill: var(--draft); stroke: #4b6b70; stroke-width: 1.25; }
.drawing .shank { fill: #526d77; stroke: #2d4851; stroke-width: 1.1; }
.drawing .bolt-head { fill: #1c3742; stroke: #182d36; stroke-width: 1.1; }
.drawing .meter-track { fill: #dbe5e0; }
.drawing .meter-limit-area { fill: #f4ddd6; }
.drawing .meter-fill { fill: var(--blue); }
.drawing .meter-over { fill: var(--crimson); }

.reference-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 14px; margin-top: 17px; align-items: start; }
.reference-block {
  min-width: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper);
}
.reference-block + .reference-block { margin-top: 12px; }
.reference-block h2 { font-size: 1.14rem; letter-spacing: -.025em; margin-bottom: 8px; }
.reference-block h3 { font-size: .93rem; letter-spacing: -.01em; }
.reference-block p, .reference-block li { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.reference-block p + p { margin-top: 8px; }
.scope-note { border-left: 2px solid var(--blue-mid); padding-left: 10px; }
.method-list { display: grid; gap: 10px; margin: 13px 0; }
.method-list p { margin-top: 4px; overflow-wrap: anywhere; }
.worked-steps { padding-left: 21px; margin: 7px 0 2px; }
.worked-steps li + li { margin-top: 7px; }
.example-list ul { margin: 0; padding: 0; list-style: none; }
.example-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.example-list li:last-child { border: 0; }
.example-list a { font-weight: 640; text-decoration-thickness: 1px; }
.example-list span { color: var(--blue); }
.trust-content { max-width: 840px; margin-top: 20px; }
.trust-content ul { padding-left: 20px; }
.trust-content li + li { margin-top: 5px; }
.print-sheet { display: none; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 30px; padding-block: 40px; }
  .workbench { grid-template-columns: minmax(267px, 300px) minmax(0, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 735px) {
  .shell { width: calc(100% - 28px); }
  .hero { display: block; padding-block: 27px 25px; }
  .hero h1 { font-size: clamp(2.85rem, 10vw, 4.2rem); margin: 13px 0 11px; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { margin-top: 17px; gap: 7px; }
  .hero-actions .button { padding-inline: 12px; }
  .hero-figure { margin-top: 22px; max-width: 480px; }
  .basis-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .basis-items div { padding: 8px 10px; }
  .basis-items div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .basis-items div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .catalog { padding-top: 26px; }
  .catalog-heading h2 { font-size: 1.7rem; }
  .tool-grid { gap: 8px; }
  .tool-card { padding: 9px 10px 11px; }
  .tool-card-top { align-items: start; margin-bottom: 7px; }
  .tool-glyph { width: 32px; height: 26px; }
  .tool-card h3 { font-size: .96rem; }
  .tool-card p { font-size: .79rem; }
  .tool-card .section-ref { font-size: .61rem; text-align: right; }
  .tool-card-foot { font-size: .71rem; }
  .site-footer { margin-top: 36px; }
  .footer-inner { align-items: start; flex-direction: column; gap: 5px; }
  .masthead-inner { min-height: 57px; gap: 6px; }
  .brand { font-size: 17px; gap: 6px; }
  .brand-mark { width: 25px; height: 25px; }
  .masthead nav, .site-footer nav { gap: 12px; }
  .masthead nav a, .site-footer nav a { font-size: .78rem; }
  .calculator-page, .trust-page { padding-top: 15px; }
  .page-intro h1 { font-size: clamp(1.96rem, 7vw, 2.68rem); }
  .page-intro p { font-size: .94rem; line-height: 1.45; }
  .calculation-note { font-size: .78rem; margin-bottom: 12px; }
  .workspace-bar { align-items: start; flex-direction: column; gap: 8px; padding: 9px 11px 10px; }
  .settings { width: 100%; gap: 11px; }
  .segments span { min-height: 40px; min-width: 53px; }
  .workbench { grid-template-columns: minmax(0, 1fr); grid-template-areas: "anatomy" "inputs" "details"; gap: 10px; }
  .panel-title { padding-inline: 10px; }
  .result-body, .details-body { padding-inline: 9px; }
  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .telemetry-card { padding: 7px 8px; }
  .telemetry-card dd { font-size: 1.19rem; }
  .telemetry-card dd small { display: inline-block; margin-left: 4px; }
  .reference-grid { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .reference-block { padding: 13px 12px; }
  .fact-grid { gap: 0 10px; }
  .fact-grid div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .fact-grid dd { text-align: left; }
  .check-table { font-size: .73rem; }
  .check-table th, .check-table td { padding: 6px 3px; }
  .value-unit { display: block; font-size: .62rem; }
}
@media (max-width: 350px) {
  .masthead nav { gap: 7px; }
  .masthead nav a { font-size: .72rem; }
  .basis-items strong { font-size: .79rem; }
  .hero .button { font-size: .78rem; padding-inline: 10px; }
  .tool-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-spec { font-size: .67rem; }
}

@page { size: A4; margin: 11mm; }
@media print {
  :root { --canvas: #fff; --paper: #fff; --draft: #f7f9f7; }
  body { background: #fff; color: #17211f; margin: 0; font-size: 9pt; print-color-adjust: exact; }
  .masthead, .site-footer, .skip, .calculator-page > :not(.print-sheet) { display: none !important; }
  .calculator-page { width: 100%; margin: 0; padding: 0; }
  .print-sheet:not([hidden]) { display: block; }
  .print-heading { border-bottom: 1.5pt solid #1e3a8a; padding-bottom: 3mm; margin-bottom: 3mm; }
  .print-sheet .print-title { font-size: 17pt; margin-block: 1mm; }
  .print-heading p { font-family: var(--mono); font-size: 8pt; }
  .print-assumption { line-height: 1.35; margin-bottom: 2mm; }
  .print-sheet h2 { font-size: 10pt; margin: 3mm 0 1.5mm; }
  .print-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1mm 3mm; }
  .print-inputs div { border-bottom: .4pt solid #cbd4cf; padding-block: .5mm; }
  .print-inputs dt { color: #4d5b58; line-height: 1.1; font-size: 7.5pt; }
  .print-inputs dd { font-size: 8pt; line-height: 1.3; overflow-wrap: anywhere; }
  .print-sheet .telemetry { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5mm; }
  .print-sheet .telemetry-card { padding: 1mm 1.4mm; }
  .print-sheet .telemetry-card dt { font-size: 7pt; }
  .print-sheet .telemetry-card dd { font-size: 9pt; }
  .print-sheet .telemetry-card dd small { display: inline-block; margin-left: 2pt; font-size: 7pt; }
  .print-sheet .check-table { font-size: 8pt; }
  .print-sheet .check-table th, .print-sheet .check-table td { padding: .9mm 1mm; }
  .print-sheet .value-unit { display: inline; font-size: 7pt; }
  .print-sheet .compactness h3 { margin-top: 2mm; font-size: 9pt; }
  .print-sheet .findings { margin-top: 2mm; padding: 1mm 1mm 1mm 4mm; font-size: 8pt; }
  .print-drawing { max-width: 132mm; margin: 3mm auto; break-inside: avoid; border: .4pt solid #cbd4cf; }
  .print-drawing .drawing { max-height: 86mm; }
  .print-disclaimer { border-top: .6pt solid #9eadab; padding-top: 2mm; font-size: 8pt; line-height: 1.25; }
}
