:root {
  color-scheme: light;
  --page: #f2f2ed;
  --paper: #fafaf6;
  --white: #fffefa;
  --concrete: #d9dad1;
  --ink: #252a2a;
  --muted: #515b59;
  --line: #c8ccc4;
  --line-dark: #949e96;
  --rust: #9a3412;
  --rust-light: #f4e5db;
  --blue: #1d4ed8;
  --blue-dark: #2047ac;
  --blue-light: #e6edfb;
  --green: #23604a;
  --green-light: #e5eee7;
  --warn: #79490c;
  --warn-light: #f5ebd5;
  --red: #9a2c24;
  --red-light: #f7e5df;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::after, *::before { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.52 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.1; }
h1 { font-size: clamp(2.15rem, 5.1vw, 4rem); font-weight: 690; }
h2 { font-size: clamp(1.4rem, 3vw, 2.45rem); font-weight: 670; }
h3 { font-size: 1.12rem; }
a { color: var(--blue-dark); text-underline-offset: .2em; }
a:hover { color: var(--rust); }
button, input, select { font: inherit; }
button, .button, summary, select { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.skip { position: absolute; z-index: 4; left: 12px; top: -100px; background: var(--white); padding: 14px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1260px; width: calc(100% - 80px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line-dark); background: var(--paper); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-inner { min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand strong { font-size: 1.17rem; font-weight: 740; letter-spacing: -.045em; }
.desktop-nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 28px; }
.desktop-nav a, .site-footer nav a { color: var(--muted); font-size: .91rem; text-decoration: none; font-weight: 600; }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--rust); text-decoration: underline; }
.mobile-nav { display: none; }
.site-footer { border-top: 1px solid var(--line-dark); padding: 28px 0 32px; background: var(--paper); }
.site-footer p { color: var(--muted); margin-top: 8px; font-size: .85rem; }
.eyebrow { color: var(--rust); font: 650 .73rem/1.4 var(--mono); letter-spacing: .105em; text-transform: uppercase; }
.eyebrow span { color: var(--muted); font-weight: 500; letter-spacing: .035em; margin-left: .55rem; }
.hero {
  border-bottom: 1px solid var(--line-dark);
  background-color: #eeefe8;
  background-image: linear-gradient(90deg, #798c8320 1px, transparent 1px), linear-gradient(#798c831c 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-layout { min-height: 490px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); align-items: center; gap: 22px; }
.hero-copy { padding: 39px 0 48px; }
.hero-copy h1 { font-size: clamp(2.62rem, 5vw, 5.1rem); line-height: .97; margin-top: 21px; max-width: 12em; letter-spacing: -.073em; }
.hero-lede { font-size: clamp(1rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 31rem; margin-top: 23px; }
.hero-art { margin: 11px -7px 0 0; border-left: 1px solid #a8b2aa; padding-left: 18px; }
.hero-art img { width: 100%; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.button, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px;
  border: 1px solid var(--line-dark); border-radius: 3px; padding: 8px 13px;
  background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 650; line-height: 1.25;
}
.button:hover, button:not(:disabled):hover { border-color: var(--rust); color: var(--rust); background: var(--rust-light); }
.button.primary, button.primary { border-color: var(--rust); color: var(--white); background: var(--rust); }
.button.primary:hover, button.primary:not(:disabled):hover { background: #73270e; color: var(--white); }
button:disabled { opacity: .52; cursor: not-allowed; }
.plain-link { color: var(--blue-dark); font-weight: 650; text-decoration: none; }
.plain-link:hover { text-decoration: underline; }
.tool-index { padding: 40px 0 50px; }
.section-line { display: flex; justify-content: space-between; align-items: end; gap: 10px 24px; margin-bottom: 18px; }
.section-line h2 { margin-top: 5px; }
.section-line > p { color: var(--muted); margin-bottom: .12em; }
.tools-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  border: 1px solid var(--line-dark); background: var(--line-dark);
}
.tool-card {
  display: flex; flex-direction: column; min-width: 0; min-height: 201px; padding: 17px 18px 19px;
  background: var(--paper); text-decoration: none; color: var(--ink);
}
.tool-card:hover { color: var(--ink); background: #f8ebe2; }
.tool-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tool-card-top > span { color: var(--muted); font: .69rem/1.45 var(--mono); text-align: right; }
.nav-drawing { color: var(--rust); width: 47px; height: 42px; flex: 0 0 auto; }
.tool-card h3 { font-size: 1.16rem; }
.tool-card p { color: var(--muted); font-size: .9rem; margin: 8px 0 11px; }
.open-tool { margin-top: auto; color: var(--blue-dark); font-size: .82rem; font-weight: 700; }
.case-index { border-top: 1px solid var(--line); padding: 38px 0 54px; background: #e8ebe4; }
.scenes-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 15px; align-items: start; }
.scene-group { background: var(--paper); border: 1px solid var(--line); }
.scene-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; list-style: none; padding: 9px 15px; font-weight: 660; }
.scene-group summary::-webkit-details-marker, .mobile-nav summary::-webkit-details-marker, .readout-panel summary::-webkit-details-marker { display: none; }
.scene-group summary::after, .readout-panel summary::after { content: "+"; color: var(--rust); font: 1.3rem var(--mono); margin-left: 1px; }
.scene-group[open] summary::after, .readout-panel[open] summary::after { content: "−"; }
.scene-count { margin-left: auto; color: var(--muted); font: .72rem var(--mono); }
.scene-group ul { padding: 4px 15px 14px 32px; }
.scene-group li + li { margin-top: 5px; }

.main-tool { padding-bottom: 49px; }
.tool-heading { padding: 22px 0 22px; }
.crumb { display: flex; gap: 8px; align-items: baseline; color: var(--muted); font-size: .81rem; margin-bottom: 17px; flex-wrap: wrap; }
.crumb a { font-weight: 620; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.tool-heading h1 { margin: 7px 0 6px; font-size: clamp(2.05rem, 4.1vw, 3.78rem); }
.lede { color: var(--muted); font-size: clamp(.95rem, 1.8vw, 1.11rem); max-width: 55rem; }
.input-jump { display: none; }
.workbench {
  display: grid; gap: 13px 17px; align-items: start;
  grid-template-columns: minmax(294px, .92fr) minmax(0, 2.12fr);
  grid-template-rows: repeat(4, max-content) 1fr;
  grid-template-areas: "inputs kpis" "inputs drawing" "inputs screening" "inputs readout" "inputs actions";
}
.inputs-panel, .telemetry, .anatomy, .screening, .readout-panel, .actions-panel { min-width: 0; }
.inputs-panel { grid-area: inputs; background: var(--paper); border: 1px solid var(--line-dark); }
.inputs-top, .anatomy figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.inputs-top { padding: 14px 14px 12px; border-bottom: 1px solid var(--line); background: #eaece5; }
.inputs-top h2 { font-size: 1.3rem; }
.inputs-top p { color: var(--muted); font-size: .73rem; margin-top: 4px; }
.units-toggle { display: flex; border: 1px solid var(--line-dark); border-radius: 3px; }
.units-toggle button { border: 0; min-width: 41px; border-radius: 0; font: 650 .8rem var(--mono); }
.units-toggle button[aria-pressed="true"] { color: var(--white); background: var(--ink); }
.units-toggle button[aria-pressed="true"]:hover { color: var(--white); background: var(--ink); }
fieldset { min-width: 0; margin: 13px 0 0; padding: 6px 14px 13px; border: 0; border-bottom: 1px solid var(--line); }
fieldset:last-child { border-bottom: 0; padding-bottom: 16px; }
legend { padding: 0; margin-left: 0; color: var(--rust); font: 660 .73rem/1.4 var(--mono); letter-spacing: .035em; text-transform: uppercase; }
.field-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field:has(select) { grid-column: 1 / -1; }
.input-label { color: var(--muted); font-size: .78rem; font-weight: 650; line-height: 1.24; }
.field input, .field select, .share-panel input {
  min-width: 0; width: 100%; min-height: 42px; border-radius: 3px; border: 1px solid var(--line-dark);
  color: var(--ink); background: var(--white); padding: 7px 8px; line-height: 1.2;
}
.field input, .share-panel input { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.number-input { display: flex; align-items: center; min-width: 0; border: 1px solid var(--line-dark); border-radius: 3px; background: var(--white); }
.number-input > input { border: 0; min-height: 40px; }
.number-input:focus-within { outline: 2px solid var(--blue); outline-offset: 1px; }
.number-input > input:focus-visible { outline: 0; }
.number-input input::-webkit-inner-spin-button, .number-input input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.number-input input { appearance: textfield; }
.input-unit { color: var(--muted); font: .67rem/1.2 var(--mono); text-align: right; padding-right: 7px; white-space: nowrap; }
.telemetry { grid-area: kpis; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.kpi { display: grid; align-content: start; grid-template-rows: minmax(15px, auto) auto auto; min-width: 0; padding: 12px 13px 10px; background: var(--white); border-top: 3px solid var(--line); }
.kpi:first-child { border-top-color: var(--rust); background: #fcf3eb; }
.kpi:last-child { border-top-color: var(--blue); }
.kpi-label { font: 660 .71rem/1.28 var(--mono); letter-spacing: .015em; white-space: nowrap; }
.kpi-number { margin-top: 4px; color: var(--ink); font: 700 clamp(1.12rem, 2.25vw, 1.9rem)/1.12 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.072em; overflow-wrap: anywhere; }
.kpi-unit { color: var(--muted); margin-top: 4px; font: .72rem/1.2 var(--mono); }
.anatomy { grid-area: drawing; border: 1px solid var(--line-dark); background: #e9eee9; }
.anatomy figcaption { border-bottom: 1px solid var(--line); background: var(--paper); padding: 9px 13px; }
.anatomy figcaption strong { font-size: 1.02rem; letter-spacing: -.025em; }
.anatomy figcaption span { font: .7rem var(--mono); color: var(--muted); }
.drawing {
  display: grid; place-items: center; padding: 10px 10px 8px;
  background-image: linear-gradient(#6b8b9b15 1px, transparent 1px), linear-gradient(90deg, #6b8b9b15 1px, transparent 1px);
  background-size: 22px 22px;
}
.drawing svg { display: block; width: 100%; max-width: 550px; height: auto; overflow: hidden; }
.diagram-empty { min-height: 187px; display: grid; place-items: center; text-align: center; padding: 14px; color: var(--muted); }
.svg-concrete { fill: #d8dcd4; stroke: #394642; stroke-width: 1.05; }
.svg-slab-area { fill: #eff1e9; stroke: #aebbb7; stroke-width: 1; }
.svg-grain { fill: #758681; opacity: .44; }
.svg-ink, .svg-guide, .svg-blue, .svg-axis, .svg-rust, .svg-tension, .svg-rebar, .svg-thin-rebar, .svg-heavy-rebar, .svg-rebar-outline { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.svg-ink { stroke: #3c4747; stroke-width: .9; }
.svg-guide { stroke: #879895; stroke-width: .7; }
.svg-blue { stroke: var(--blue); stroke-width: 1.65; }
.svg-axis { stroke: var(--blue); stroke-width: 1.45; stroke-dasharray: 5 4; }
.svg-rust { stroke: var(--rust); stroke-width: 1.5; }
.svg-tension { stroke: var(--rust); stroke-width: 1; stroke-dasharray: 4 4; }
.svg-rebar { stroke: var(--rust); stroke-width: 2.15; }
.svg-thin-rebar { stroke: var(--rust); stroke-width: 1.15; }
.svg-heavy-rebar { stroke: var(--rust); stroke-width: 5; }
.svg-rebar-outline { stroke: var(--rust); stroke-width: 1.65; }
.svg-steel { fill: var(--rust); }
.svg-support { fill: #a9bab4; stroke: #455956; stroke-width: .75; }
.svg-compression { fill: #b2c7f2; stroke: var(--blue); stroke-width: 1.05; fill-opacity: .87; }
.svg-tension-area { fill: #e8c0a8; stroke: var(--rust); stroke-width: 1.05; }
.svg-heading, .svg-label, .svg-note, .svg-rust-label, .svg-blue-label { font-family: var(--mono); stroke: none; }
.svg-heading { fill: #354341; font-size: 10.2px; font-weight: 650; letter-spacing: .55px; }
.svg-label, .svg-blue-label, .svg-rust-label { font-size: 11.9px; font-weight: 640; }
.svg-label { fill: #283837; }
.svg-blue-label { fill: var(--blue-dark); }
.svg-rust-label { fill: var(--rust); }
.svg-note { fill: #3c4e4b; font-size: 9.1px; font-weight: 530; }
.screening { grid-area: screening; border: 1px solid var(--line-dark); background: var(--paper); padding: 13px; }
.screening h2 { font-size: 1.28rem; }
.screen-top { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-bottom: 9px; }
.flag, .check-tag { display: inline-block; font: 650 .68rem/1.3 var(--mono); padding: 4px 7px; border-radius: 2px; text-align: center; }
.flag.pass, .check-tag.pass { color: var(--green); background: var(--green-light); }
.flag.review, .check-tag.review { color: var(--warn); background: var(--warn-light); }
.flag.fail, .flag.invalid, .check-tag.fail { color: var(--red); background: var(--red-light); }
.meter-title, .margin-text { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.meter-title { color: var(--muted); font-size: .81rem; }
.meter-title strong { color: var(--blue-dark); font: 700 1.22rem var(--mono); }
.meter-row { position: relative; height: 9px; margin-top: 6px; }
meter { display: block; width: 100%; height: 9px; appearance: none; }
meter::-webkit-meter-bar { background: #dce3de; border: 0; border-radius: 0; }
meter::-webkit-meter-optimum-value { background: var(--blue); }
meter::-moz-meter-bar { background: var(--blue); }
.screening.fail meter::-webkit-meter-optimum-value { background: var(--red); }
.screening.fail meter::-moz-meter-bar { background: var(--red); }
.screening.review meter::-webkit-meter-optimum-value { background: #997223; }
.screening.review meter::-moz-meter-bar { background: #997223; }
.meter-mark { position: absolute; top: -2px; bottom: -2px; left: 66.6667%; width: 2px; background: #373b38; }
.margin-text { margin: 5px 0 9px; color: var(--muted); font: .72rem/1.35 var(--mono); }
.margin-text > :last-child { text-align: right; }
.checks { list-style: none; padding: 0; }
.checks li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.checks li div { display: grid; gap: 0; }
.checks li strong { font-size: .86rem; }
.checks li div span { color: var(--muted); font-size: .76rem; }
.check-tag { flex: 0 0 auto; }
.caveat { color: var(--muted); font-size: .8rem; padding: 9px 10px 8px; background: #e9ece5; border-left: 2px solid var(--line-dark); margin-top: 6px; }
.input-error { color: var(--red); font-weight: 620; font-size: .88rem; }
.readout-panel { grid-area: readout; border: 1px solid var(--line-dark); background: var(--paper); }
.readout-panel summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; list-style: none; padding: 7px 12px; font-weight: 670; }
.readout-panel [data-readout] { padding: 0 12px 12px; }
.readout { width: 100%; border-collapse: collapse; text-align: left; font-size: .85rem; }
.readout :is(th,td) { padding: 6px; border-bottom: 1px solid var(--line); }
.readout thead { color: var(--muted); background: #e8ece6; }
.readout tbody th { font-weight: 550; }
.readout td { font-family: var(--mono); }
.readout :is(th,td):last-child { text-align: right; }
.actions-panel { grid-area: actions; }
.actions { display: flex; flex-wrap: wrap; gap: 7px; }
.actions button { font-size: .82rem; }
.share-panel { margin-top: 10px; padding: 10px; border: 1px solid var(--line); background: var(--paper); }
.share-panel label { display: block; margin-bottom: 5px; color: var(--muted); font-size: .81rem; }
.share-panel div { display: flex; gap: 7px; }
.share-panel input { font-size: .83rem; }
.feedback:not(:empty) { margin-top: 6px; font-size: .79rem; color: var(--blue-dark); }
.answer-panel { margin-top: 25px; border-top: 1px solid var(--line-dark); padding-top: 14px; }
.answer-panel h2 { font-size: 1.43rem; }
.answer-panel .section-line { margin-bottom: 10px; }
.answer-panel .plain-link { font-size: .85rem; }
.method-steps { padding-left: 1.36em; }
.method-steps li + li { margin-top: 8px; }
.method-steps li::marker { color: var(--rust); font-family: var(--mono); font-weight: 700; }
.related ul { columns: 2; padding-left: 19px; }
.related li { break-inside: avoid; margin-bottom: 4px; }
.worked-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 10px; }
.worked-grid > div { border: 1px solid var(--line); background: var(--paper); padding: 12px; }
.worked-values { margin-top: 10px; }
.worked-values > div { display: flex; justify-content: space-between; gap: 6px; border-top: 1px solid var(--line); padding: 5px 0; }
.worked-values dt { color: var(--muted); }
.worked-values dd { text-align: right; font-family: var(--mono); }
.worked-outcome { margin-top: 6px; color: var(--muted); font-size: .86rem; }
.document { padding: 30px 0 48px; }
.document header { border-bottom: 1px solid var(--line-dark); padding-bottom: 20px; margin-bottom: 20px; }
.document header .eyebrow { margin-bottom: 7px; }
.document header .lede { margin-top: 8px; }
.document-grid { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 3.3fr); gap: 25px; }
.document-grid > nav { align-self: start; border: 1px solid var(--line); background: var(--paper); padding: 13px; }
.document-grid nav ul, .references-list { padding-left: 16px; margin-top: 7px; }
.document-grid nav li + li, .references-list li + li { margin-top: 6px; }
.document h2 { margin-bottom: 8px; font-size: 1.45rem; }
.document h2 a { color: var(--ink); text-decoration-color: var(--line-dark); }
.document .eyebrow { margin-bottom: 4px; }
.document section + section { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 15px; }
.document p + p { margin-top: 8px; }
.document-copy { max-width: 48rem; }
.document-copy h2:not(:first-child) { margin-top: 19px; }
.print-sheet { display: none; }
.share-preview { background: #e9ebe3; }
.share-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; width: 1200px; height: 630px; padding: 52px 62px; border: 24px solid #f5f5ee; box-shadow: inset 0 0 0 1px #a1ada5; }
.share-message h1 { font-size: 75px; line-height: .95; margin-top: 17px; letter-spacing: -.07em; }
.share-message .eyebrow { margin-top: 27px; font-size: 13px; }
.share-subtitle { margin-top: 18px; color: var(--blue-dark); font-weight: 650; font-size: 19px; }
.share-drawing { width: 100%; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .hero-layout { min-height: 425px; }
  .tool-card { padding-inline: 13px; }
  .workbench { grid-template-columns: minmax(246px, .95fr) minmax(0, 2.05fr); gap: 11px; }
  .kpi { padding-inline: 8px; }
  .kpi-label { font-size: .64rem; }
}
@media (max-width: 800px) {
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); min-height: 370px; }
  .hero-art { padding-left: 6px; }
  .hero-break { display: none; }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool-card { min-height: 166px; }
  .workbench { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 11px;
    grid-template-areas: "kpis" "drawing" "screening" "inputs" "readout" "actions"; }
  .input-jump { display: inline-flex; align-items: center; min-height: 40px; margin-top: 3px; font-size: .85rem; }
  .tool-heading { padding-bottom: 10px; }
  .kpi { padding-inline: 11px; }
  .kpi-label { font-size: .71rem; }
  .kpi-number { font-size: clamp(1.3rem, 4.4vw, 1.82rem); }
}
@media (max-width: 570px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 57px; }
  .brand img { width: 28px; height: 28px; }
  .brand strong { font-size: 1.08rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { min-height: 40px; min-width: 61px; display: grid; place-items: center; list-style: none; border: 1px solid var(--line-dark); border-radius: 3px; font-weight: 650; padding: 0 8px; }
  .mobile-nav nav { position: absolute; top: calc(100% + 6px); right: 0; z-index: 2; width: 167px; border: 1px solid var(--line-dark); background: var(--white); }
  .mobile-nav nav a { display: grid; align-items: center; min-height: 41px; padding: 5px 11px; font-weight: 620; text-decoration: none; color: var(--ink); }
  .mobile-nav nav a + a { border-top: 1px solid var(--line); }
  .hero-layout { display: block; min-height: 0; padding-bottom: 11px; }
  .hero-copy { padding: 22px 0 11px; }
  .hero-copy h1 { font-size: clamp(2.68rem, 11vw, 3.8rem); margin-top: 12px; max-width: 9.5em; }
  .hero-lede { margin-top: 12px; }
  .hero-actions { margin-top: 14px; gap: 8px 13px; }
  .hero-actions a { font-size: .8rem; min-height: 42px; display: inline-flex; align-items: center; }
  .hero-art { margin: 0; padding: 0; border-left: 0; max-width: 410px; }
  .section-line { align-items: start; flex-direction: column; gap: 4px; margin-bottom: 11px; }
  .section-line > p { font-size: .82rem; }
  .tool-index { padding: 24px 0 28px; }
  .case-index { padding: 23px 0 29px; }
  .tool-card { padding: 10px; }
  .tool-card h3 { font-size: .97rem; }
  .tool-card p { font-size: .79rem; }
  .tool-card-top { gap: 3px; margin-bottom: 7px; }
  .tool-card-top > span { font-size: .61rem; }
  .nav-drawing { width: 33px; height: 32px; }
  .open-tool { font-size: .74rem; }
  .scenes-list, .worked-grid, .document-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-footer { padding: 17px 0; }
  .site-footer nav { gap: 15px; }
  .tool-heading { padding-top: 13px; }
  .crumb { margin-bottom: 10px; }
  .tool-heading h1 { margin: 5px 0 6px; font-size: clamp(1.78rem, 7.7vw, 2.2rem); }
  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi { padding: 7px 9px; border-top-width: 2px; }
  .kpi-number { margin-top: 2px; }
  .kpi-unit { margin-top: 2px; }
  .anatomy figcaption { padding: 7px 9px; }
  .drawing { padding: 4px 1px 4px; }
  .screening { padding: 10px; }
  .check-tag, .flag { font-size: .62rem; }
  .margin-text { font-size: .66rem; }
  .actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .actions button { padding-inline: 5px; font-size: .76rem; }
  .related ul { columns: 1; }
  .document { padding-top: 20px; }
}
@media (max-width: 340px) {
  .wrap { width: calc(100% - 24px); }
  .field-grid { gap: 8px; }
  .input-unit { font-size: .61rem; }
}

@page { size: A4 portrait; margin: 13mm 14mm; }
@media print {
  :root { background: white; }
  body { background: white; color: #1e2422; font-size: 9.5pt; line-height: 1.25; }
  .calculator-page > :not(main), .main-tool > :not(.print-sheet) { display: none !important; }
  .main-tool { width: auto; max-width: none; padding: 0; }
  .print-sheet { display: block; break-inside: avoid; }
  .print-title { display: flex; justify-content: space-between; gap: 8px; padding-bottom: 2.4mm; border-bottom: .3mm solid #525a54; font: 8pt var(--mono); }
  .print-sheet h1 { font-size: 19pt; margin: 3mm 0 1.5mm; }
  .print-sheet h2 { margin-bottom: 1.6mm; font-size: 11pt; }
  .print-cols, .print-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4mm; padding: 3mm 0; }
  .print-values div { display: flex; justify-content: space-between; gap: 2mm; padding: 1.15mm 0; border-top: .2mm solid #adb3ab; }
  .print-values dd { text-align: right; font: 8pt var(--mono); }
  .print-review { align-items: start; border-top: .25mm solid #939b94; }
  .print-review svg { display: block; width: 100%; height: auto; }
  .print-review ul { padding-left: 4mm; }
  .print-review li { margin-top: 1.15mm; }
  .print-note { padding-top: 2mm; border-top: .2mm solid #adb3ab; font-size: 8.5pt; }
}
