:root{--paper:#fbfaf6;--white:#fffefa;--ink:#192f2a;--muted:#53615b;--rule:#d8dcd2;--pine:#234e43;--pine-dark:#173b33;--clay:#a54427;--soft:#edf0e8;--serif:"Instrument Serif","Iowan Old Style",Georgia,serif;--sans:"DM Sans","Helvetica Neue",Arial,sans-serif;color:var(--ink);font-family:var(--sans);background:var(--paper);color-scheme:light;font-size:16px}
*{box-sizing:border-box}
body{margin:0;line-height:1.5}
button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}
[hidden]{display:none!important}
a{color:inherit;text-underline-offset:.18em}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #bd643d;outline-offset:3px}
.skip,.sr-only{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.skip:focus{clip-path:none;width:auto;height:auto;background:white;z-index:5;top:0;left:0;padding:.75rem}
.topbar{border-bottom:1px solid var(--rule);background:var(--paper)}
.top-inner,.container,.footer{width:min(1120px,calc(100% - 5rem));margin-inline:auto}
.top-inner{min-height:79px;display:flex;align-items:center;gap:2rem}
.brand,.footer>span:first-child{font-family:var(--serif);font-size:1.72rem;font-weight:600;letter-spacing:-.055em;line-height:1.05}
.brand{display:inline-flex;align-items:center;gap:.64rem;text-decoration:none;white-space:nowrap}
.mark{width:25px;height:25px;border:2px solid var(--pine);position:relative;display:inline-block;transform:rotate(-2deg)}
.mark:before,.mark:after,.mark i{content:"";position:absolute;display:block;background:var(--pine)}
.mark:before{width:2px;height:16px;left:8px;top:0}.mark:after{height:2px;width:11px;right:0;top:9px}.mark i{width:7px;height:4px;background:var(--paper);bottom:-2px;left:2px}
.top-inner nav{display:flex;align-items:center;gap:1.6rem;margin-left:auto;font-size:.9375rem}
.top-inner nav a{text-decoration:none}.top-inner nav a:hover,.text-button:hover,.result-link:hover{text-decoration:underline}
#list-count{font-size:.78rem;background:var(--soft);border-radius:50%;display:inline-grid;min-width:1.45rem;min-height:1.45rem;place-items:center;margin-left:.15rem}
.unit-switch{display:flex;align-items:center;border:1px solid #aeb9ac;border-radius:5px;padding:3px;gap:2px}
.unit-switch button{background:transparent;border:0;border-radius:3px;font-size:.875rem;padding:.35rem .64rem;min-height:32px}
.unit-switch [aria-pressed="true"]{background:var(--pine);color:white}
.hero{display:grid;grid-template-columns:1.04fr 1fr;gap:clamp(2rem,6.5vw,6.5rem);align-items:center;padding:3rem 0 3.1rem;border-bottom:1px solid var(--rule)}
h1,h2,h3,p,figure{margin:0}
h1,h2{font-family:var(--serif);font-weight:500}
.hero h1{font-size:clamp(3.1rem,6vw,5.75rem);line-height:.96;letter-spacing:-.067em}
.hero-copy>p,.tool-title p{margin-top:1.15rem;max-width:47ch;color:var(--muted);font-size:1.08rem;line-height:1.5}
.hero-actions{margin-top:1.55rem}
.button,.text-button,.close-button{border:0;cursor:pointer;font-weight:600;background:transparent}
.button{background:var(--pine);border:1px solid var(--pine);color:white;border-radius:5px;font-size:.94rem;min-height:43px;padding:.58rem 1.08rem;display:inline-flex;align-items:center;justify-content:center;line-height:1.4}
.button:hover{background:var(--pine-dark)}
.button:disabled{background:#d9ded7;color:#5c665e;border-color:#b6bfb6;cursor:default}
.button.light{color:var(--pine);background:var(--white);border-color:#adb9aa}
.button.light:hover{background:var(--soft)}
.text-button{color:var(--pine);font-size:.95rem;text-decoration:underline;text-underline-offset:.22em}
.plan{background:#e7eddf;border:1px solid #c3cfbb;border-radius:7px;overflow:hidden}
.plan-head,.plan figcaption{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.62rem 1rem;font-size:.875rem}
.plan-head{border-bottom:1px solid #c8d2bf;font-weight:600}
.plan-head span:last-child,.plan figcaption span:last-child{font-variant-numeric:tabular-nums}
.plan figcaption{border-top:1px solid #c8d2bf;color:#43594a}
.plan canvas{display:block;width:100%;height:clamp(175px,17vw,226px)}
.catalog,.shopping,#comparison,#marking,.method,.related{padding:2.1rem 0 2.2rem;border-bottom:1px solid var(--rule)}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:.9rem}
h2{font-size:clamp(1.77rem,3.2vw,2.45rem);letter-spacing:-.05em;line-height:1.15}
.filter-label,.field{font-size:.9rem;font-weight:600}
.filter-label{display:flex;gap:.65rem;align-items:center;color:var(--muted)}
select{appearance:none;border:1px solid #adb9aa;border-radius:4px;background-color:var(--white);padding:.45rem 1.9rem .45rem .64rem;color:var(--ink);background-image:linear-gradient(45deg,transparent 50%,#49614f 50%),linear-gradient(135deg,#49614f 50%,transparent 50%);background-position:calc(100% - 12px) 51%,calc(100% - 8px) 51%;background-size:4px 4px;background-repeat:no-repeat}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin-top:1.25rem}
.tool-card{position:relative;display:flex;align-items:center;gap:.8rem;padding:1rem .85rem;background:var(--white);border:1px solid var(--rule);border-radius:5px;text-decoration:none;min-height:112px}
.tool-card:hover{border-color:#8d9f88;background:#f5f6ef}
.card-copy{display:grid;gap:.24rem;min-width:0}.card-copy strong{font-size:1rem;line-height:1.25;letter-spacing:-.018em}
.card-copy>span{font-size:.875rem;color:var(--muted);line-height:1.35}
.card-chevron{font-family:Georgia,serif;font-size:1.4rem;line-height:1;color:#6d7b6f;margin-left:auto}
.swatch,.swatch-mini{flex:none;display:inline-block;border:1px solid #283e302b;border-radius:3px;width:46px;height:52px}
.swatch-mini{width:24px;height:26px;border-color:#ffffff70}
.paint{background:linear-gradient(155deg,#aab39a 0 35%,#87977c 35% 66%,#647e68 66%)}
.wallpaper{background-color:#efe0c4;background-image:radial-gradient(ellipse at 0 100%,transparent 35%,#b67953 38% 45%,transparent 48%),radial-gradient(ellipse at 100% 100%,transparent 35%,#b67953 38% 45%,transparent 48%);background-size:14px 13px}
.battens{background:repeating-linear-gradient(90deg,#d1b394 0 4px,#ae8869 4px 7px,#e3ccb0 7px 17px)}
.flooring{background:repeating-linear-gradient(26deg,transparent 0 13px,#a57c58 13px 15px,transparent 15px 28px),repeating-linear-gradient(110deg,#cfa77c 0 16px,#b38b63 16px 17px,#d9bc95 17px 30px)}
.tile{background-color:#8ca9a1;background-image:linear-gradient(90deg,transparent 87%,#eee9d8 88%),linear-gradient(0deg,transparent 87%,#eee9d8 88%);background-size:13px 13px}
.trim{background:repeating-linear-gradient(0deg,#c5ccbc 0 4px,#a9b49e 4px 6px,#e0e3d7 6px 10px,#f0eee1 10px 17px)}
.curtains{background:repeating-linear-gradient(90deg,#a86050 0,#d1937e 6px,#e2ad93 10px,#b97664 14px)}
.shopping #list-empty,.muted,.method p{color:var(--muted)}
.shopping p,.method p,#comparison .muted,#marking .muted{margin-top:.85rem}
#list-room{font-size:.93rem}.footer{padding:2rem 0;display:flex;justify-content:space-between;gap:1rem;align-items:center;color:var(--muted);font-size:.86rem}.footer>span:first-child{font-size:1.28rem}
.crumb{display:flex;gap:.5rem;padding:1.55rem 0 .55rem;align-items:center;font-size:.88rem;color:var(--muted)}
.tool-title{display:flex;align-items:center;gap:1rem;padding:1.2rem 0 1.55rem}
.tool-title .swatch{width:66px;height:77px}
.tool-title h1{font-size:clamp(2.25rem,5vw,4.1rem);line-height:.98;letter-spacing:-.065em}.tool-title p{margin-top:.55rem;max-width:74ch;font-size:1rem}
.room-strip{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:var(--soft);border:1px solid #d5dfcd;padding:.75rem 1rem;border-radius:5px}
.room-strip>div{display:flex;gap:1rem;align-items:center}.room-strip strong,.room-strip span{font-size:.92rem}.room-strip span{color:#49604c}
.workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr);gap:clamp(1.4rem,5vw,4.3rem);align-items:start;margin:2.05rem 0 1.8rem}
.input-panel h2,.result-top{margin-bottom:1rem}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.1rem;row-gap:1rem}
.field{min-width:0;display:flex;flex-direction:column;gap:.28rem;justify-content:end;color:var(--ink)}
.field em{font-size:.78rem;font-style:normal;font-weight:400;color:var(--muted)}
.input-wrap{display:flex;align-items:center;gap:.2rem;border:1px solid #aab5a6;border-radius:4px;background:var(--white);padding-right:.65rem;min-height:43px}
.input-wrap:focus-within{outline:2px solid var(--pine);outline-offset:1px}
.field input{min-width:0;width:100%;border:none;background:transparent;padding:.52rem .62rem;outline:none;font-weight:400;font-size:1rem;border-radius:4px}
.input-wrap>span{color:var(--muted);font-size:.85rem;font-weight:500;white-space:nowrap}.field input[aria-invalid=true]{outline:2px solid var(--clay);outline-offset:-1px}
.error{color:#963c25;font-size:.93rem;margin:.8rem 0}.error:empty{display:none}
.result{background:#e5eddf;border:1px solid #c1cebb;border-top:4px solid var(--pine);padding:1.2rem 1.3rem;border-radius:4px}
.result-top{display:flex;align-items:center;justify-content:space-between;font-size:.92rem;font-weight:600}
#estimate{display:block;font:500 clamp(2.6rem,4vw,3.55rem)/1.13 var(--serif);letter-spacing:-.06em}
dl{margin:.8rem 0 1.1rem}dl div{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #c7d3c0;padding:.45rem 0;font-size:.9rem}
dt{color:#465746}dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.result-link{margin-left:.7rem;font-size:.88rem}
#comparison-cards{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem}
.pack{background:var(--white);border:1px solid var(--rule);border-radius:5px;padding:1rem;display:grid;gap:.3rem;justify-items:start}
.pack.is-selected{border-color:var(--pine);box-shadow:inset 0 0 0 1px var(--pine)}
.pack small{font-size:.88rem;color:var(--muted)}.pack .text-button{padding:.4rem 0}
#mark-diagram{display:flex;min-height:4rem;border:1px solid #ad957c;border-radius:4px;background:#eddbc5;margin:1rem 0;align-items:stretch;overflow:hidden}
#mark-diagram i{display:block;flex:none;background:linear-gradient(90deg,#aa8865,#d1b494);border-right:1px solid #947658}
#marks{padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:.4rem}#marks li{background:var(--soft);padding:.3rem .55rem;font-size:.88rem;border-radius:3px}
.related-links{display:flex;flex-wrap:wrap;gap:.55rem 1.2rem;margin-top:.9rem;font-size:.94rem}.source{font-size:.9rem}
#saved-items{list-style:none;padding:0;margin:.9rem 0 0}#saved-items li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:1rem;border-top:1px solid var(--rule);padding:.75rem 0}
#saved-items li small{display:block;color:var(--muted);font-size:.85rem}#saved-items li b{text-align:right}.inline-note{border-left:3px solid #b06c49;padding-left:.7rem;color:#71543e;font-size:.9rem}
dialog{width:min(540px,calc(100% - 1.5rem));max-height:90dvh;overflow:auto;border:1px solid var(--rule);border-radius:8px;padding:1.55rem;background:var(--paper);color:var(--ink);box-shadow:0 18px 60px #16231d40}
dialog::backdrop{background:#1b292468}.close-button{font-size:1.8rem;font-weight:400;line-height:1;min-width:40px;min-height:40px}
dialog .muted{margin:.65rem 0 1.15rem}.dialog-actions{display:flex;justify-content:flex-end;gap:.65rem;margin-top:1.3rem}
@media(max-width:880px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.top-inner,.container,.footer{width:min(100% - 3.5rem,1120px)}.top-inner{gap:1.1rem}.workspace{gap:1.5rem}.result-link{display:block;margin:.7rem 0 0}}
@media(max-width:640px){.top-inner,.container,.footer{width:calc(100% - 2rem)}.top-inner{min-height:65px;flex-wrap:wrap;gap:.45rem 1rem;padding:.65rem 0}.brand{font-size:1.5rem}.top-inner nav{order:3;flex-basis:100%;gap:1.2rem;font-size:.875rem}.unit-switch{margin-left:auto}.hero{grid-template-columns:1fr;gap:1.4rem;padding:1.8rem 0 1.65rem}.hero h1{font-size:3.65rem}.hero h1 br{display:none}.hero-copy>p{margin-top:.75rem;font-size:1rem}.hero-actions{margin-top:1rem}.plan canvas{height:158px}.cards{grid-template-columns:1fr;gap:.55rem}.tool-card{min-height:81px;padding:.7rem .85rem}.swatch{width:41px;height:47px}.catalog,.shopping,#comparison,#marking,.method,.related{padding:1.55rem 0}.section-head{flex-wrap:wrap}.filter-label{gap:.36rem}.footer{flex-wrap:wrap}.workspace{grid-template-columns:1fr;gap:1.3rem;margin:1.4rem 0}.room-strip>div{align-items:flex-start;flex-direction:column;gap:.15rem}.tool-title .swatch{width:42px;height:59px}.tool-title{align-items:flex-start;gap:.65rem}.tool-title h1{font-size:2.45rem}.fields{gap:.75rem}.result-link{display:inline-block;margin:0 0 0 .6rem}#saved-items li{gap:.55rem;grid-template-columns:minmax(0,1fr) auto}#saved-items li .text-button{justify-self:start;grid-column:1/-1}.card-copy strong{font-size:1.02rem}}
@media(max-width:380px){.hero h1{font-size:3rem}.fields{grid-template-columns:1fr}#comparison-cards{grid-template-columns:1fr}.top-inner,.container,.footer{width:calc(100% - 1.45rem)}}
@media print{@page{margin:15mm}body{background:white;color:black}.topbar,.hero,.catalog,.footer,dialog,.skip,.shopping button,.sr-only{display:none!important}.container{width:100%}.shopping{border:0;padding:0}.shopping li{break-inside:avoid}.shopping a{text-decoration:none}.shopping h2{font-size:2rem}.tool-title,.result{break-inside:avoid}.related,.room-strip button,.result button,.result-link{display:none}}

.verdict{margin-top:.8rem;color:var(--pine);font-weight:600}

/* The same measured surfaces are used on screen and paper. */
:root{--wood:#b99570;--board-line:#785a40;--drawing:#f3eada;--sage:#e5ecdf;--sage-edge:#aebaac}
::selection{background:#dbe8cf;color:#193e33}
input{caret-color:var(--pine)}
.brand,.hero h1,.tool-title h1,h2,#estimate,.footer>span:first-child{letter-spacing:-.035em}
h1,h2,h3{text-wrap:balance}
.footer a,.example-links a,.result-link{color:var(--pine)}
.print-only{display:none}
.focus-title{padding:.65rem 0 1.65rem;border-bottom:1px solid var(--rule)}
.focus-title h1,.guide h1{font-size:clamp(2.65rem,5vw,4.45rem);line-height:1.02;letter-spacing:-.04em}
.focus-title p,.guide-deck{color:var(--muted);max-width:72ch;margin:.6rem 0 0;font-size:1.075rem}
.focus-workspace{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(1.5rem,5vw,4.4rem);align-items:start;margin:1.65rem 0}
.inputs h2,.sheet-summary h2{font-size:1.65rem}
.field-tip,.unit-note{color:var(--muted);font-size:.91rem;line-height:1.45}
.inputs>.field-tip,.unit-note{margin:.45rem 0 .9rem}
fieldset{border:0;margin:0;padding:0;min-width:0}
fieldset+fieldset{margin-top:1.2rem}
legend{padding:0;margin-bottom:.55rem;font-size:1rem;font-weight:650}
.room-dims{grid-template-columns:repeat(3,minmax(0,1fr))}
.inputs .fields{gap:.8rem 1rem}
.inputs fieldset .text-button{padding:.6rem 0 .3rem}
.inputs form>.button,.calculate{margin-top:1rem}
#match-tip{margin-top:.7rem}
.field select{min-height:43px}
.sheet-summary{background:#eef1e8;border:1px solid var(--sage-edge);border-radius:5px;padding:1.2rem 1.4rem;min-width:0}
.sheet-summary:focus{outline-offset:4px}
.sheet-numbers{display:flex;align-items:baseline;justify-content:space-between;gap:.8rem;border-bottom:1px solid var(--sage-edge);padding-bottom:.7rem}
.sheet-numbers h2{font-family:var(--sans);font-size:1rem;letter-spacing:0;font-weight:650}
.sheet-numbers #estimate{font:500 2.65rem/1 var(--serif);white-space:nowrap}
.sheet-summary dl>div:first-child{border-top:0}
.sheet-actions,.example-links,.guide-actions{display:flex;gap:.65rem 1.2rem;align-items:center;flex-wrap:wrap}
.sheet-actions button,.guide-actions button{min-height:44px}
.sheet-summary .result-link{display:inline-block;margin:.55rem 0 0}
.elevation{padding:1rem 0 0;color:#4e4439}
.dimension{display:flex;align-items:center;text-align:center;font-weight:650;font-variant-numeric:tabular-nums;font-size:.88rem;gap:.55rem;margin-bottom:.4rem}
.dimension:before,.dimension:after{content:'';height:.5rem;flex:1;border-top:1px solid #79634c;align-self:end}
.dimension:before{border-left:1px solid #79634c}.dimension:after{border-right:1px solid #79634c}
.wall-face,#mark-diagram.wall-face{display:block;position:relative;height:80px;min-height:0;margin:0;border:1px solid var(--board-line);border-radius:0;background:var(--drawing);overflow:hidden}
.board{height:100%;position:absolute;top:0;border-inline:1px solid var(--board-line);background:#d5b899}
.board:after{content:'';position:absolute;left:50%;top:0;height:100%;border-left:1px dashed #6e533f}
.board.marked{background:#a2b69c;border-color:#49634e}
.elevation figcaption{display:flex;justify-content:space-between;gap:1rem;font-size:.83rem;margin-top:.3rem}
.work-detail,.worked,.comparison-section{border-block-start:1px solid var(--rule);padding:1.75rem 0 1.85rem}
#marking.work-detail{border-bottom:0}
.work-detail>p,.worked>p,.guide>p{max-width:72ch;margin:.65rem 0}
#mark-progress,.roll-title>span,.ranges,.guide-stats,.guide-marks,#marks{font-variant-numeric:tabular-nums}
#mark-progress{font-size:.93rem;color:var(--pine)}
#marks,.guide-marks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 1.55rem;padding:0;margin:1rem 0;list-style:none}
#marks li,.guide-marks li{display:block;background:transparent;border-radius:0;padding:0;border-bottom:1px solid var(--rule)}
#marks label,.guide-marks li{display:flex;align-items:center;gap:.6rem;min-height:46px;font-size:.94rem}
#marks label{cursor:pointer}#marks li:has(input:checked){background:#e6eddf}
#marks input{width:19px;height:19px;accent-color:var(--pine);flex:none}
#marks strong,.guide-marks b{margin-left:auto;white-space:nowrap}
#marks label:focus-within{outline:2px solid var(--pine);outline-offset:1px}
.work-detail .unit-note{margin-bottom:0}
.comparison-section table{max-width:720px;margin:.85rem 0 .6rem}
.comparison-section .text-button{padding:.5rem 0}
table{border-collapse:collapse;width:100%;font-size:.93rem;font-variant-numeric:tabular-nums;line-height:1.38}
th,td{padding:.48rem .55rem;border-bottom:1px solid var(--rule);text-align:right}
th:first-child,td:first-child{text-align:left;padding-left:0}
th:last-child,td:last-child{padding-right:0}
thead th{color:var(--muted);font-weight:500;font-size:.85rem}
tbody th{font-weight:600}
.roll-caption{margin:.85rem 0 .35rem;font-weight:600;font-size:.9rem}
.roll-bar{display:flex;width:100%;height:27px;border:1px solid #7b8376;overflow:hidden;background:var(--paper)}
.roll-bar>*{display:block;flex:none;min-width:0}
.roll-bar .cut{border-right:1px solid #61715a;display:grid;place-items:center;font-size:.8rem;font-weight:650;background:#d6e3ca;color:#273c29;overflow:hidden}
.roll-bar .phase-1{background:#e2ccb3;border-color:#967c61;color:#493822}
.roll-bar .align{background:repeating-linear-gradient(135deg,#c2c6b9 0 1px,#f3f3ed 1px 4px)}
.roll-bar .offcut{background:#faf9f1}
#rolls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem 2.3rem;margin-top:1.3rem}
.roll-detail,.roll-reference{min-width:0;break-inside:avoid}
.roll-title{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin:0 0 .35rem}
.roll-title h3,.roll-title strong{font-size:1rem}
.roll-title>span{color:var(--muted);font-size:.88rem}
.roll-detail table{margin:.4rem 0}
.last-roll{font-weight:600;color:var(--pine)}
.worked,.method{border-bottom:0}
.worked .roll-reference,.guide .roll-reference{max-width:700px;margin:.9rem 0}
.ranges{font-size:.87rem;color:var(--muted);display:flex;gap:.3rem;flex-wrap:wrap;margin:.25rem 0}
.example-links,.guide-actions{margin:1.1rem 0 .1rem}
.guide{max-width:770px;margin:0 auto;padding:0 0 2rem}
.guide h1{margin:.8rem 0}
.guide .guide-deck{font-size:1.15rem}
.guide-stats{display:flex;gap:2rem;margin:1rem 0 1.45rem}
.guide-stats>div{display:block;border:0;padding:0}
.guide-stats dd{text-align:left;font-size:1.35rem}
.guide .elevation{margin:.4rem 0}
.guide .wall-face{height:120px}
.guide .roll-bar{height:22px}
.guide .button{text-decoration:none}
.paper-check{width:16px;height:16px;border:1px solid #637268}
.sample-notice{margin:.75rem 0;color:var(--pine);font-size:.9rem}
.error:empty{margin:0}
@media(max-width:780px){
  .focus-workspace{gap:1.3rem}.sheet-summary{padding:1rem}.sheet-numbers{flex-wrap:wrap}
  #marks,.guide-marks{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .focus-title{padding:.55rem 0 1rem}.focus-title h1,.guide h1{font-size:2.6rem}
  .focus-title p{font-size:1rem}.focus-workspace{grid-template-columns:1fr;margin:1.1rem 0}
  .inputs h2,.sheet-summary h2{font-size:1.48rem}.sheet-numbers h2{font-size:.98rem}
  #rolls{grid-template-columns:1fr;gap:1.25rem}
  .room-dims{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem!important}
  .room-dims .field{font-size:.84rem}.room-dims .input-wrap{padding-right:.4rem}
  .guide-stats{gap:1.3rem}.guide-stats dd{font-size:1.13rem}
  #marks,.guide-marks{column-gap:.9rem}#marks label,.guide-marks li{font-size:.86rem;gap:.35rem}
  .comparison-section .section-head{align-items:start;flex-direction:column}
  #bay-table th,#bay-table td{padding:.5rem .25rem;font-size:.84rem}
  .work-detail,.worked,.comparison-section{padding:1.3rem 0}
}
@media(max-width:420px){
  #marks{grid-template-columns:1fr}#marks label{font-size:1rem;min-height:48px}
  .room-dims{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media print{
  @page{margin:15mm}
  :root{font-size:10.5pt;--paper:white;--ink:#13261c;--rule:#b6beb3}
  html,body{background:white;color:#13261c}
  .screen-only,.comparison-section,.topbar,.footer,.skip,dialog,.hero,.catalog,.unit-switch,button,.sr-only,.method,.related,#comparison,.room-strip,.input-panel,.result-link{display:none!important}
  .print-only{display:block}
  .print-brand{font-family:var(--serif);font-size:17pt;line-height:1.2;border-bottom:1pt solid #637268;padding-bottom:5pt;margin-bottom:9pt}
  .container,.guide{width:100%;max-width:none;margin:0;padding:0}
  .focus-workspace{display:block;margin:0 0 10pt}
  .sheet-summary{border:0;background:white;padding:0;border-radius:0}
  .sheet-numbers h2,.guide h1,.shopping h2{font-family:var(--serif);font-size:22pt;letter-spacing:-.025em}
  .sheet-numbers{padding-bottom:4pt;flex-wrap:nowrap}.sheet-numbers #estimate{font-size:24pt}
  .sheet-summary dl{margin:4pt 0}.sheet-summary dl div{padding:2pt 0;font-size:10pt}
  .elevation{padding-top:4pt}.wall-face,#mark-diagram.wall-face,.guide .wall-face{height:50pt}
  .board,.roll-bar,.paper-check,#marks input{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  #print-spec,.guide>p,.worked>p,.work-detail>p{font-size:10pt;max-width:none;margin:4pt 0}
  .work-detail,#marking.work-detail{padding:8pt 0 0;border-bottom:0}.work-detail h2,.guide h2{font-size:17pt}
  #marks,.guide-marks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12pt;margin:7pt 0}
  #marks li,.guide-marks li{break-inside:avoid}#marks label,.guide-marks li{min-height:31pt;font-size:11pt}
  #marks strong,.guide-marks b{font-size:12pt}.guide .wall-face{height:76pt}
  #marks input{width:12pt;height:12pt}.unit-note{font-size:9pt}
  #rolls{display:block;columns:2;column-gap:16pt;margin:6pt 0 0}
  .roll-detail{display:inline-block;width:100%;margin:0 0 6pt;vertical-align:top}
  .roll-detail table{font-size:9pt}.roll-detail th,.roll-detail td{padding:2pt 1pt}.roll-detail thead th{font-size:8pt}
  .roll-bar,.guide .roll-bar{height:14pt}.roll-title{margin-bottom:2pt}
  .guide .roll-reference{margin:5pt 0}.ranges{font-size:9pt;margin:1pt 0}
  .guide .guide-deck{font-size:12pt}.guide-stats{margin:7pt 0 10pt}
  .guide-return{break-inside:avoid;border-top:1pt solid #98a397;padding-top:5pt;overflow-wrap:anywhere}
  .guide h1{margin:0 0 5pt}
  .shopping #saved-items li{display:grid;grid-template-columns:minmax(0,1fr) auto}
}
