html:not(.tool-ready) .tool,html:not(.tool-ready) .tool~*,html:not(.tool-ready) body:has(.tool) .site-footer{visibility:hidden;animation:0s 2s forwards tool-show}@keyframes tool-show{to{visibility:visible}}.tool{padding-bottom:clamp(2rem,6vw,4rem)}.tool .tool-grid{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:start;gap:clamp(1.25rem,3vw,2rem);display:grid}.tool .panel{background:var(--raised);border-radius:28px;gap:1.1rem;padding:clamp(1rem,3vw,1.6rem);display:grid}@supports (corner-shape:squircle){.tool .panel{corner-shape:squircle;border-radius:52px}}.tool .panel h2{margin:0;font-size:1.35rem}.tool .panel h3{margin:0;font-size:1.08rem}.tool .muted{color:var(--ink-2)}.tool .small{font-size:.85rem}.tool .row{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem 1rem;display:grid}.tool .fld{gap:.3rem;min-width:0;display:grid}.tool .fld>span,.tool legend{color:var(--ink);font-size:.85rem;font-weight:600}.tool fieldset{border:0;gap:.4rem;min-width:0;margin:0;padding:0;display:grid}.tool input[type=number],.tool input[type=text],.tool select{border:1.5px solid var(--grout);background:var(--tile);width:100%;min-height:44px;font:500 1rem var(--sans);color:var(--ink);border-radius:12px;padding:.5rem .7rem}.tool input:focus-visible,.tool select:focus-visible,.tool button:focus-visible{outline:2.5px solid var(--brass);outline-offset:2px}.tool input[type=number]{font-variant-numeric:tabular-nums}.tool .dim{grid-template-columns:1fr 1fr;gap:.4rem;display:grid}.tool .dim label{position:relative}.tool .dim label i{color:var(--ink-2);pointer-events:none;font-size:.85rem;font-style:normal;position:absolute;top:50%;right:.7rem;transform:translateY(-50%)}.tool .dim input{padding-right:2.2rem}html:not([data-units=cm]) .tool .u-cmonly,html[data-units=cm] .tool .u-ftonly{display:none}.tool .chips{flex-wrap:wrap;gap:.4rem;display:flex}.tool .chip{position:relative}.tool .chip input{opacity:0;cursor:pointer;margin:0;position:absolute;inset:0}.tool .chip span{border:1.5px solid var(--grout);background:var(--tile);border-radius:999px;align-items:center;min-height:40px;padding:0 .9rem;font-size:.9rem;font-weight:600;display:inline-flex}.tool .chip input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--raised)}.tool .chip input:focus-visible+span{outline:2.5px solid var(--brass);outline-offset:2px}.tool .check{cursor:pointer;align-items:center;gap:.55rem;font-size:.92rem;font-weight:600;display:flex}.tool .check input{width:20px;height:20px;accent-color:var(--ink)}.tool details.more>summary{cursor:pointer;padding:.3rem 0;font-size:.92rem;font-weight:600;list-style:none}.tool details.more>summary::-webkit-details-marker{display:none}.tool details.more>summary:before{content:"+ "}.tool details.more[open]>summary:before{content:"–"}.tool details.more>div{gap:.9rem;padding-top:.6rem;display:grid}.tool .hint{color:var(--ink-2);margin:0;font-size:.8rem}.tool .card{background:var(--tile);border:1.5px solid #0000;border-radius:22px;gap:.9rem;padding:1rem;display:grid}.tool .card-head{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.tool .card-head input{background:0 0;border-color:#0000;padding-left:.2rem;font-size:1.05rem;font-weight:640;font-stretch:108%}.tool .card-head input:hover,.tool .card-head input:focus{border-color:var(--grout);background:var(--raised)}.tool .sub{border-top:1px solid var(--grout);gap:.8rem;padding-top:.8rem;display:grid}.tool .x{color:var(--ink-2);font:600 .85rem var(--sans);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;min-height:40px;padding:.4rem;text-decoration:underline}.tool .btn-ink{background:var(--ink);border-color:var(--ink);color:var(--raised)}.tool .btn-ink:hover{color:var(--raised);background:#33312d}.tool .add{justify-self:start}.tool .results{position:sticky;top:5.5rem}.tool .meter{background:var(--tile);border-radius:18px;gap:.45rem;padding:.9rem 1rem;display:grid}.tool .meter-top{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.tool .meter-top strong{font-size:1.05rem}.tool .meter-bar{background:var(--grout);border-radius:5px;height:10px;overflow:hidden}.tool .meter-bar span{background:var(--ink);height:100%;transition:width .3s var(--ease);border-radius:5px;display:block}.tool .meter[data-level=Rough] .meter-bar span{background:#9a3b1f}.tool .meter[data-level=Fair] .meter-bar span{background:#b98a3a}.tool .meter[data-level=Good] .meter-bar span{background:#5f7f5a}.tool .meter ul{color:var(--ink-2);gap:.2rem;margin:.2rem 0 0;padding-left:1.1rem;font-size:.85rem;display:grid}.tool .qty{margin:0;padding:0;list-style:none;display:grid}.tool .qty li{border-top:1px solid var(--grout);grid-template-columns:1fr auto;gap:.2rem 1rem;padding:.7rem 0;display:grid}.tool .qty li:first-child{border-top:0}.tool .qty b{font-weight:640}.tool .qty .v{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.05rem;font-weight:640}.tool .qty .d{color:var(--ink-2);grid-column:1/-1;font-size:.82rem}.tool .actions{gap:.5rem;display:grid}.tool .actions .two{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.tool .actions .btn{justify-content:center;width:100%}.tool .note{background:var(--tile);border-left:4px solid #b98a3a;border-radius:14px;margin:0;padding:.75rem .9rem;font-size:.9rem}.tool table.t{border-collapse:collapse;width:100%;font-size:.9rem}.tool table.t th,.tool table.t td{text-align:left;border-bottom:1px solid var(--grout);vertical-align:top;padding:.55rem .5rem}.tool table.t th{color:var(--ink-2);font-size:.8rem;font-weight:600}.tool table.t td.n,.tool table.t th.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.tool .scroll{overflow-x:auto}.how-calc{padding-top:0}.how-calc .wrap{gap:1rem;display:grid}.how-calc details{background:var(--raised);border-radius:22px;padding:1rem 1.2rem}.how-calc summary{cursor:pointer;justify-content:space-between;font-weight:640;list-style:none;display:flex}.how-calc summary::-webkit-details-marker{display:none}.how-calc summary:after{content:"+";color:var(--ink-2);font-size:1.3rem;font-weight:400}.how-calc details[open] summary:after{content:"–"}.how-calc table{border-collapse:collapse;width:100%;margin-top:.8rem;font-size:.9rem}.how-calc th,.how-calc td{text-align:left;border-bottom:1px solid var(--grout);vertical-align:top;padding:.55rem .4rem}.how-calc th{color:var(--ink-2);font-size:.8rem}.report{display:none}@media print{@page{size:A4;margin:14mm}body>:not(main),.site-header,.site-footer,.action-bar,main>:not(.tool),.tool>:not(.report),.how-calc{display:none!important}.report{color:#000;font:10.5pt/1.45 var(--sans);display:block!important}.report h1{margin:0 0 2mm;font-size:18pt}.report .rh{border-bottom:1.5pt solid #000;justify-content:space-between;margin-bottom:4mm;padding-bottom:3mm;display:flex}.report table{border-collapse:collapse;width:100%;margin:3mm 0 5mm}.report th,.report td{text-align:left;vertical-align:top;border-bottom:.5pt solid #999;padding:1.6mm 1.5mm}.report td.n,.report th.n{text-align:right}.report .foot{color:#333;border-top:.5pt solid #999;margin-top:5mm;padding-top:3mm;font-size:8.5pt}}@media (width<=960px){.tool .tool-grid{grid-template-columns:1fr}.tool .results{position:static}}.page-head .unit-toggle{justify-self:start}.tool .warn{color:#8a2f16;font-weight:600}.tool .ok{color:#3f6b39;font-weight:600}.tool .section-svg{background:var(--tile);border-radius:18px;width:100%;height:auto}.tool .card-head .small{white-space:nowrap}.tool .mini{display:none}@media (width<=960px){.tool .mini:not([hidden]){z-index:30;background:var(--ink);color:var(--raised);border-radius:16px;justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem 1rem;font-size:.9rem;text-decoration:none;display:flex;position:fixed;bottom:84px;left:12px;right:12px;box-shadow:0 6px 20px #1c1b1940}.tool .mini .go{text-underline-offset:3px;white-space:nowrap;font-weight:600;text-decoration:underline}}@media print{.tool .mini{display:none!important}}.tool .card.collapsed .card-body{display:none}.tool .card.collapsed{gap:.35rem}.tool .room-sum{text-align:left;width:100%;font:500 .9rem var(--sans);color:var(--ink-2);cursor:pointer;background:0 0;border:0;min-height:32px;padding:0 .2rem;display:block}.tool .card:not(.collapsed) .room-sum{display:none}.tool .card-body{gap:.9rem;display:grid}.tool .card-body>.x:last-child{justify-self:start}.tool .sheet-bar,.tool .step{display:none}@media (width<=960px){body:has(.tool .results) .action-bar{display:none}body:has(.tool .results){padding-bottom:calc(76px + env(safe-area-inset-bottom))}.page-head:has(+.tool){gap:.7rem;padding-block:1.25rem .75rem}.page-head:has(+.tool) h1{font-size:clamp(1.9rem,8vw,2.4rem)}.page-head:has(+.tool) .lede{font-size:1rem}.tool .tool-grid{gap:1rem}.tool .panel{border-radius:24px;padding:1rem}.tool .row{grid-template-columns:1fr 1fr;gap:.7rem}.tool .row>.fld:only-child,.tool .row>.fld:has(select):first-child:last-child{grid-column:1/-1}.tool .dim{grid-template-columns:1fr}.tool input[type=number],.tool input[type=text],.tool select{border-radius:14px;min-height:48px;font-size:16px}.tool .dim label.has-step{grid-template-columns:44px minmax(0,1fr) 44px;align-items:stretch;display:grid}.tool .dim label.has-step input{text-align:center;border-inline:0;border-radius:0;padding-inline:.3rem 1.6rem}.tool .dim label.has-step i{right:52px}.tool .step{border:1.5px solid var(--grout);background:var(--raised);font:600 1.3rem/1 var(--sans);color:var(--ink);cursor:pointer;touch-action:manipulation;display:block}.tool .step.minus{border-radius:14px 0 0 14px}.tool .step.plus{border-radius:0 14px 14px 0}.tool .step:active{background:var(--grout)}.tool .dim:has(.u-ftonly){grid-template-columns:1fr 1fr}.tool .row>.fld:has(.dim .u-ftonly),.tool .row>.fld:has(.dim label.has-step){grid-column:1/-1}.tool .row:has(>.fld .has-step),html[data-units=cm] .tool .dim:has(.u-ftonly){grid-template-columns:1fr}.tool .results.sheet{z-index:60;max-height:calc(68px + env(safe-area-inset-bottom));padding:0 1rem calc(1rem + env(safe-area-inset-bottom));background:var(--ink);color:var(--raised);transition:max-height .32s var(--ease);border-radius:24px 24px 0 0;position:fixed;inset:auto 0 0;overflow:hidden;box-shadow:0 -8px 30px #1c1b1947}.tool .results.sheet.open{overscroll-behavior:contain;max-height:88dvh;overflow-y:auto}.tool .results.sheet>h2{display:none}.tool .sheet-bar{z-index:2;background:var(--ink);width:calc(100% + 2rem);min-height:68px;color:var(--raised);text-align:left;cursor:pointer;font:inherit;border:0;grid-template-columns:1fr auto;align-items:center;gap:.25rem .75rem;margin:0 -1rem .5rem;padding:18px 1rem 12px;display:grid;position:sticky;top:0}.tool .sheet-bar .grip{background:#6b665e;border-radius:2px;width:40px;height:4px;margin-left:-20px;position:absolute;top:7px;left:50%}.tool .sheet-bar .peek{color:#cfc8bc;align-items:baseline;gap:.55rem;min-width:0;font-size:.9rem;display:flex}.tool .sheet-bar .peek b{color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:1.35rem;font-stretch:112%}.tool .sheet-bar .peek span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tool .sheet-bar .peek em{color:#e9e4dc;white-space:nowrap;background:#3a3733;border-radius:999px;margin-left:auto;padding:.2rem .5rem;font-size:.78rem;font-style:normal;font-weight:600}.tool .sheet-bar .peek em[data-level=High],.tool .sheet-bar .peek em[data-level=Good]{color:#dbe9d5;background:#34492f}.tool .sheet-bar .peek em[data-level=Rough]{color:#f4d9cf;background:#5a2a1b}.tool .sheet-bar .chev{width:12px;height:12px;transition:transform .25s var(--ease);border-bottom:2px solid #cfc8bc;border-right:2px solid #cfc8bc;transform:rotate(-135deg)translate(-2px,-2px)}.tool .results.open .sheet-bar .chev{transform:rotate(45deg)}.tool .sheet .meter{background:#2a2825}.tool .sheet .meter ul,.tool .sheet .muted,.tool .sheet .hint,.tool .sheet .qty .d{color:#b9b2a6}.tool .sheet .meter-bar{background:#3a3733}.tool .sheet .meter-bar span{background:#e9e4dc}.tool .sheet .qty li{border-color:#3a3733}.tool .sheet .qty b,.tool .sheet .qty .v{color:#fff}.tool .sheet .note{color:#e9e4dc;background:#2a2825}.tool .sheet .btn:not(.btn-brass){color:#fff;background:0 0;border-color:#6b665e}.tool .sheet .btn-quiet{border-color:#0000}.tool .sheet table.t th,.tool .sheet table.t td{border-color:#3a3733}.tool .sheet table.t th{color:#b9b2a6}.tool .sheet .section-svg{background:#f0ece6}.tool .sheet .warn{color:#ffb59a}.tool .sheet .ok{color:#b6d9a8}.tool .sheet .actions{padding-top:.5rem}html.sheet-open body{overflow:hidden}.tool .results.sheet{transition:max-height .32s var(--ease), transform .2s var(--ease)}html.typing .tool .results.sheet{transform:translateY(110%)}html.typing .tool{padding-bottom:0}.tool table.t{-webkit-overflow-scrolling:touch;max-width:100%;display:block;overflow-x:auto}}@media (prefers-reduced-motion:reduce){.tool .results.sheet,.tool .sheet-bar .chev{transition:none}}@media print{.tool .sheet-bar{display:none!important}}
