:root{color-scheme:light;--page:light-dark(#f3efe6,#0f1519);--band:light-dark(#ffd24a,#16202a);--card:light-dark(#fff,#172027);--raised:light-dark(#faf7f0,#1f2b34);--line:light-dark(#e2dccb,#2b3a46);--tint:light-dark(#f6efd2,#26343f);--ink:light-dark(#16191d,#eef2f4);--muted:light-dark(#505862,#a9b6bf);--control:light-dark(#7a8594,#6e8191);--tape:light-dark(#ffc72c,#ce9a2a);--on-tape:light-dark(#16191d,#10161b);--tape-edge:light-dark(#16191d,#ce9a2a);--selected-bg:light-dark(#ffc72c,#3b3118);--selected-ink:light-dark(#16191d,#f2d68e);--tile-edge:light-dark(#0000,#ce9a2a);--chalk:light-dark(#1f4fd8,#8cc8ff);--focus:light-dark(#1f4fd8,#8cc8ff);--band-ink:light-dark(#16191d,#eef2f4);--band-muted:light-dark(#3a3f47,#a9b6bf);--band-link:light-dark(#16191d,#8cc8ff);--band-focus:light-dark(#16191d,#8cc8ff);--band-chip:light-dark(#ffe69c,#22303c);--result:light-dark(#fff3c4,#1f2b34);--result-ink:light-dark(#16191d,#f2dfb0);--result-line:light-dark(#e6d79a,#34454f);--table-head:light-dark(#23282f,#26343f);--on-table-head:light-dark(#f7f4ec,#eef2f4);--ok:light-dark(#17703f,#6fd3a0);--warn:light-dark(#8a5200,#f2b15c);--danger:light-dark(#b42318,#ff8a80);--note-bg:light-dark(#e8eefc,#1b2a3d);--note-edge:light-dark(#1f4fd8,#8cc8ff);--caution-bg:light-dark(#ffe9d2,#3a2a1a);--caution-edge:light-dark(#b45f00,#f2a04a);--tip-bg:light-dark(#e3f3ea,#17302a);--tip-edge:light-dark(#17703f,#6fd3a0);--cat-concrete:light-dark(#5b6b7a,#9db0c0);--cat-landscaping:light-dark(#2e7d4f,#6fd3a0);--cat-roofing:light-dark(#b4452d,#ff9e86);--cat-fencing-decks:light-dark(#8a5a2b,#e0b07a);--cat-interior:light-dark(#6a4cc2,#b9a5ff);--cat-area-units:light-dark(#127a85,#6fd6e0);--on-cat:light-dark(#fff,#0b1220);--shadow-color:light-dark(#16191d1f,#0000008c);--shadow:0 1px 2px var(--shadow-color), 0 10px 28px var(--shadow-color);--glow-color:#0000;--glow:0 0 36px var(--glow-color);--font:"Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--display:"Archivo", "Display Fallback", "Inter", system-ui, sans-serif;--mono:ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:72px;--radius:18px;--radius-md:12px;--radius-sm:10px;--measure:70ch;--page-width:72rem;--header-height:60px}@media (prefers-color-scheme:dark){:root:not([data-theme]){color-scheme:dark}}:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_astro/inter-latin-wght-normal.Dx4kXJAl.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter Fallback;src:local(Arial);size-adjust:107.4%;ascent-override:90.2%;descent-override:22.5%;line-gap-override:0%}@font-face{font-family:Archivo;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_astro/archivo-latin-wght-normal.E0tuGl4L.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Display Fallback;src:local(Arial);size-adjust:103%;ascent-override:93%;descent-override:23%;line-gap-override:0%}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--header-height) + var(--space-4))}body{background:var(--page);color:var(--ink);font-family:var(--font);-webkit-font-smoothing:antialiased;margin:0;font-size:1.0625rem;line-height:1.6}h1,h2,h3{margin:0 0 var(--space-3);font-family:var(--display);letter-spacing:-.01em;line-height:1.12}h1{letter-spacing:-.02em;font-size:clamp(2rem,3.2vw + 1rem,3.25rem);font-weight:800;line-height:1.04}h2{margin-top:var(--space-7);font-size:clamp(1.5rem,1rem + 1.4vw,1.875rem);font-weight:750}h3{margin-top:var(--space-5);font-size:1.25rem;font-weight:700}p,ul,ol,dl{margin:0 0 var(--space-4)}ul,ol{padding-left:var(--space-5)}li+li{margin-top:var(--space-1)}a{color:var(--chalk);text-underline-offset:.18em}a:hover{text-decoration-thickness:2px}:focus-visible{outline:2px solid var(--chalk);outline-offset:2px}img,svg{max-width:100%;height:auto}small,.muted{color:var(--muted)}code{font-family:var(--mono);font-size:.95em}[hidden]{display:none!important}.visually-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{left:var(--space-3);z-index:30;padding:var(--space-2) var(--space-4);color:var(--on-tape);background:var(--tape);border-radius:var(--radius-sm);font-weight:700;position:absolute;top:-100px}.skip-link:focus{top:var(--space-3)}.mono-label{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;font-weight:600}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.page{width:100%;max-width:var(--page-width);padding-inline:var(--space-4);margin-inline:auto}.site-header{z-index:20;background:var(--card);border-bottom:3px solid var(--tape);position:sticky;top:0}.site-header .page{justify-content:space-between;align-items:center;gap:var(--space-4);min-height:calc(var(--header-height) - 3px);display:flex}.brand{align-items:center;gap:var(--space-2);min-height:44px;color:var(--ink);text-decoration:none;display:inline-flex}.brand-name{font-family:var(--display);letter-spacing:-.02em;white-space:nowrap;font-size:clamp(1.05rem,.9rem + .6vw,1.25rem);font-weight:800}.brand-mark-bg{fill:var(--tape)}.brand-mark-line,.brand-mark-ticks,.brand-mark-chalk{fill:none;stroke:var(--on-tape);stroke-linecap:round}.brand-mark-line{stroke-width:2.5px}.brand-mark-ticks{stroke-width:2px}.brand-mark-chalk{stroke-width:2px;stroke-dasharray:1 5}.header-actions{align-items:center;gap:var(--space-1);display:flex}@media (width<=380px){.site-header .page{gap:var(--space-2)}.brand{gap:6px}.brand-name{font-size:1rem}.header-actions{gap:0}.site-nav a{padding-inline:var(--space-2)}.site-nav a[data-section=current]:after{inset-inline:var(--space-2)}}.site-nav a{min-height:44px;padding-inline:var(--space-3);border-radius:var(--radius-sm);color:var(--ink);align-items:center;font-weight:600;text-decoration:none;transition:background-color .15s;display:inline-flex;position:relative}.site-nav a:hover{background:var(--raised)}.site-nav a[data-section=current]:after{content:"";inset-inline:var(--space-3);background:var(--tape);border-radius:2px;height:4px;position:absolute;bottom:2px}.theme-toggle{border-radius:var(--radius-sm);width:44px;height:44px;color:var(--ink);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;transition:background-color .15s;display:none}.js .theme-toggle{display:inline-flex}.theme-toggle:hover{background:var(--raised)}.theme-icon{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;display:none}:root[data-theme=dark] .icon-light,:root[data-theme=light] .icon-dark,:root:not([data-theme]) .icon-dark{display:block}@media (prefers-color-scheme:dark){:root:not([data-theme]) .icon-dark{display:none}:root:not([data-theme]) .icon-light{display:block}}main{display:block}.main-page{padding-block:var(--space-6) var(--space-7)}.hero-band{--overlap:44px;color:var(--band-ink);background:var(--band);padding-block:var(--space-3) calc(var(--overlap) + var(--space-5));position:relative}.hero-inner{column-gap:var(--space-4);grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"crumbs reviewed""title title""lede lede""chips chips";align-items:center;display:grid}.hero-inner>.breadcrumbs{grid-area:crumbs}.hero-inner>.last-reviewed{grid-area:reviewed}.hero-inner>h1{margin:var(--space-2) 0 var(--space-2);grid-area:title}.hero-inner>.lede{max-width:62rem;color:var(--band-ink);grid-area:lede;margin:0;font-size:1.1rem}.hero-inner>.chips{grid-area:chips}.hero-band a{color:var(--band-link)}.hero-band :focus-visible{outline-color:var(--band-focus)}.last-reviewed{font-family:var(--mono);letter-spacing:.04em;white-space:nowrap;color:var(--band-ink);background:var(--band-chip);border-radius:999px;margin:0;padding:3px 12px;font-size:.75rem;font-weight:600}.chips{gap:var(--space-2);margin:var(--space-4) 0 0;flex-wrap:wrap;padding:0;list-style:none;display:flex}.chips li{color:var(--band-ink);background:var(--band-chip);border-radius:999px;align-items:center;gap:6px;margin:0;padding:3px 12px 3px 8px;font-size:.85rem;font-weight:600;display:inline-flex}.chips .icon{color:var(--band-ink)}@media (width<=639px){.hero-inner{grid-template-areas:"crumbs crumbs""reviewed reviewed""title title""lede lede""chips chips";justify-items:start}.hero-inner>.last-reviewed{margin-top:var(--space-2)}}.breadcrumbs ol{align-items:center;gap:0 var(--space-2);flex-wrap:wrap;margin:0;padding:0;font-size:.9rem;list-style:none;display:flex}.breadcrumbs li+li{margin-top:0}.breadcrumbs li+li:before{content:"/";margin-right:var(--space-2);color:var(--band-muted)}.breadcrumbs [aria-current=page]{color:var(--band-ink);font-weight:600}.breadcrumbs a{align-items:center;min-height:32px;display:inline-flex}@media (width<=899px),(pointer:coarse){.breadcrumbs a{min-height:44px}}.calculator-wrap,.main-page>article.prose:first-child{z-index:2;margin-top:calc(-1 * (var(--space-6) + 44px));position:relative}.main-page>article.prose:first-child{max-width:52rem;padding:var(--space-6);background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.main-page>article.prose:first-child>:first-child{margin-top:0}.prose{max-width:var(--measure)}.calculator-layout{gap:var(--space-4);margin-bottom:var(--space-4);display:grid}@media (width>=900px){.calculator-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start}.result-col{top:calc(var(--header-height) + var(--space-4));position:sticky}}.article-layout{gap:var(--space-7);margin-top:var(--space-5);grid-template-columns:minmax(0,1fr);display:grid}.toc{display:none}@media (width>=1100px){.article-layout{grid-template-columns:minmax(0,46rem) 15rem}.toc{top:calc(var(--header-height) + var(--space-5));align-self:start;font-size:.9rem;display:block;position:sticky}}.toc h2{margin:0 0 var(--space-3);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.75rem;font-weight:600}.toc ol{border-left:1px solid var(--line);margin:0;padding:0;list-style:none}.toc li+li{margin-top:0}.toc a{padding:5px var(--space-3);color:var(--muted);border-left:3px solid #0000;margin-left:-1px;text-decoration:none;transition:color .15s,border-color .15s,background-color .15s;display:block}.toc a:hover{color:var(--ink);border-left-color:color-mix(in srgb, var(--tape) 60%, transparent)}.toc a[aria-current=location]{color:var(--ink);background:var(--tint);border-left-color:var(--tape);font-weight:700}.article-layout>article{min-width:0}.block{margin-block:var(--space-6)}.block>h2:first-child,.faq>h2:first-child,#sources>h2:first-child{margin-top:0}.block-panel,.block-strip{padding:var(--space-5);border-radius:var(--radius)}.block-panel{background:var(--card);border:1px solid var(--line);box-shadow:0 1px 2px var(--shadow-color)}.block-strip{background:var(--tint);border:1px solid var(--line)}.how-steps{gap:var(--space-3) var(--space-6);margin:var(--space-3) 0 0;counter-reset:step;padding:0;list-style:none;display:grid}.how-steps li{min-height:32px;color:var(--ink);counter-increment:step;margin:0;padding:3px 0 0 44px;position:relative}.how-steps li:before{content:counter(step);width:30px;height:30px;font-family:var(--display);color:var(--selected-ink);background:var(--selected-bg);box-shadow:inset 0 0 0 1px var(--tile-edge);border-radius:50%;place-items:center;font-size:.95rem;font-weight:800;line-height:1;display:grid;position:absolute;top:0;left:0}@media (width>=900px){.how-steps[data-count="4"],.how-steps[data-count="5"],.how-steps[data-count="6"]{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:column}.how-steps[data-count="4"]{grid-template-rows:repeat(2,auto)}.how-steps[data-count="5"],.how-steps[data-count="6"]{grid-template-rows:repeat(3,auto)}}.faq,#sources{margin-block:var(--space-7)}.calculators{margin-top:0}.group-title{margin:0 0 var(--space-1);font-size:1.5rem}.group-blurb{margin:0 0 var(--space-4);color:var(--muted)}.calc-grid{gap:var(--space-4);margin-bottom:var(--space-6);grid-template-columns:repeat(auto-fill,minmax(260px,1fr));display:grid}.calc-card{--cat:var(--tape);gap:var(--space-3);min-height:170px;padding:var(--space-5);color:inherit;background:var(--card);border:1px solid var(--line);border-top:5px solid var(--cat);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;text-decoration:none;transition:transform .15s,border-color .15s;display:flex;position:relative}.calc-card[data-cat=concrete]{--cat:var(--cat-concrete)}.calc-card[data-cat=landscaping]{--cat:var(--cat-landscaping)}.calc-card[data-cat=roofing]{--cat:var(--cat-roofing)}.calc-card[data-cat=fencing-decks]{--cat:var(--cat-fencing-decks)}.calc-card[data-cat=interior]{--cat:var(--cat-interior)}.calc-card[data-cat=area-units]{--cat:var(--cat-area-units)}.calc-card:hover{border-color:var(--control);border-top-color:var(--cat);transform:translateY(-3px)}.calc-card .calc-icon{color:var(--cat)}.calc-card h3{margin:0 0 var(--space-1);color:var(--ink);font-size:1.35rem}.calc-card p{color:var(--muted);margin:0}.calc-card .arrow{color:var(--chalk);align-self:flex-end;margin-top:auto;transition:transform .15s}.calc-card:hover .arrow{transform:translate(4px)}.calc-card-featured{align-items:center;gap:var(--space-5);min-height:0;padding:var(--space-5) var(--space-6);grid-column:1/-1;grid-template-columns:auto minmax(0,1fr) auto auto;display:grid}.calc-card-featured .arrow{align-self:center;margin:0}.calc-card-featured .calc-icon{width:56px;height:56px;color:light-dark(var(--on-cat),var(--cat));background:light-dark(var(--cat),color-mix(in srgb, var(--cat) 16%, var(--card)));box-shadow:inset 0 0 0 1px light-dark(transparent,var(--cat));border-radius:var(--radius-md);padding:12px}.calc-preview{padding:var(--space-3) var(--space-4);color:var(--ink);background:var(--result);border-radius:var(--radius-md);border-top:3px solid var(--tape);gap:2px;display:grid}.calc-preview-label{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.7rem}.calc-preview-input{color:var(--muted);font-size:.85rem}.calc-preview-result .num{font-family:var(--display);color:var(--result-ink);font-size:1.6rem;font-weight:800}.calc-preview-result .sep{margin-inline:var(--space-2);color:var(--muted)}@media (width<=899px){.calc-card-featured{gap:var(--space-4);padding:var(--space-5);grid-template-columns:auto minmax(0,1fr)}.calc-card-featured .calc-preview{grid-column:1/-1}.calc-card-featured .arrow{display:none}}.how{margin-block:var(--space-7)}.how-grid{gap:var(--space-4);margin-top:var(--space-4);grid-template-columns:repeat(auto-fit,minmax(240px,1fr));display:grid}.how-card{padding:var(--space-5);background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px var(--shadow-color)}.how-card h3{margin:var(--space-3) 0 var(--space-2);font-size:1.15rem}.how-card p{color:var(--muted);margin:0}.how-icon{width:48px;height:48px;color:var(--selected-ink);background:var(--selected-bg);box-shadow:inset 0 0 0 1px var(--tile-edge);border-radius:var(--radius-md);padding:10px}.how-link{margin:var(--space-4) 0 0;font-weight:600}.site-footer{margin-top:var(--space-6);padding-block:var(--space-7) var(--space-6);color:var(--band-ink);background:var(--band);font-size:.95rem;position:relative}.site-footer .page{gap:var(--space-5);display:grid}.site-footer h2{margin:0 0 var(--space-2);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--band-muted);font-size:.75rem;font-weight:600}.site-footer ul{margin:0;padding:0;list-style:none}.site-footer li+li{margin-top:0}.site-footer a{min-height:36px;color:var(--band-ink);align-items:center;text-decoration:none;display:inline-flex}.site-footer a:hover{color:var(--band-link);text-decoration:underline}.site-footer :focus-visible{outline-color:var(--band-focus)}@media (width<=899px),(pointer:coarse){.site-footer a{min-height:44px}}.footer-note{max-width:var(--measure);color:var(--band-muted);margin:0}.footer-note a{min-height:0;color:var(--band-link);text-decoration:underline;display:inline}@media (width>=600px){.site-footer .page{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-note{grid-column:1/-1}}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px}.section-label{margin:0 0 var(--space-3);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.75rem;font-weight:600}.field{min-width:0}.field label{margin-bottom:4px;font-size:.9rem;font-weight:650;line-height:1.3;display:block}.hint{color:var(--muted);margin-top:4px;font-size:.78rem;line-height:1.35;display:block}.input-wrap{align-items:stretch;display:flex}.input-wrap input{min-width:0;height:40px;padding:0 var(--space-3);font:inherit;font-variant-numeric:tabular-nums;color:var(--ink);background:var(--raised);border:1px solid var(--control);border-radius:var(--radius-sm) 0 0 var(--radius-sm);border-right:0;flex:auto;font-size:1rem}.input-wrap .suffix{padding:0 var(--space-3);font-family:var(--mono);color:var(--muted);white-space:nowrap;background:var(--page);border:1px solid var(--control);border-radius:0 var(--radius-sm) var(--radius-sm) 0;border-left:0;align-items:center;font-size:.85rem;display:inline-flex}.input-wrap:focus-within input,.input-wrap:focus-within .suffix{border-color:var(--chalk)}.input-wrap input:focus-visible{outline:2px solid var(--chalk);outline-offset:1px}.field input[aria-invalid=true]{border-color:var(--danger);border-width:2px}.field-error{color:var(--danger);margin:4px 0 0;font-size:.82rem;font-weight:650;line-height:1.35}.field-row{gap:var(--space-3);margin-bottom:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.inputs{--card-pad:20px;position:relative;overflow:hidden;container-type:inline-size}@container (width>=30rem){.field-row-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width<=29.99rem){.field-row-3{grid-template-columns:minmax(0,1fr)}}fieldset.area{margin:0 0 var(--space-3);border:0;min-width:0;padding:0}fieldset.area legend{padding:0}#areas[data-count="1"] .area-title{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}#areas:not([data-count="1"]) fieldset.area{padding:var(--space-3);background:var(--page);border:1px solid var(--line);border-radius:var(--radius-md)}#areas:not([data-count="1"]) fieldset.area legend{padding-inline:var(--space-2);font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;font-size:.75rem;font-weight:700}#areas:not([data-count="1"]) fieldset.area .field-row{margin-bottom:var(--space-2)}.inputs-actions{margin-bottom:var(--space-3)}.button{justify-content:center;align-items:center;gap:var(--space-2);min-height:40px;padding:0 var(--space-4);font:inherit;color:var(--on-tape);background:var(--tape);border:1px solid var(--tape-edge);border-radius:var(--radius-sm);cursor:pointer;font-weight:700;line-height:1;transition:background-color .15s,border-color .15s,transform .15s;display:inline-flex}.button:hover{filter:brightness(1.07)}.button:active{transform:translateY(1px)}.button[disabled]{opacity:.45;cursor:not-allowed;filter:none;transform:none}.button-secondary{color:var(--ink);border-color:var(--control);background:0 0}.button-secondary:hover{background:var(--raised);filter:none}.button-small{min-height:36px;padding:0 var(--space-3);font-size:.9rem}.icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.segmented{max-width:100%;margin-bottom:var(--space-3);background:var(--raised);border:1px solid var(--control);border-radius:var(--radius-sm);display:inline-flex;overflow:hidden}.segmented button{min-height:36px;padding:0 var(--space-4);font:inherit;color:var(--ink);cursor:pointer;background:0 0;border:0;font-size:.9rem;font-weight:650;transition:background-color .15s}.segmented button+button{border-left:1px solid var(--control)}.segmented button:hover{background:var(--page)}.segmented button[aria-pressed=true]{color:var(--selected-ink);background:var(--selected-bg);outline:1px solid var(--tape-edge);outline-offset:-1px}fieldset.shape-choice{border:0;min-width:0;margin:0;padding:0}.segmented-radios{width:100%;display:flex}.shape-option{flex:1 1 0;display:flex;position:relative}.shape-option+.shape-option{border-left:1px solid var(--control)}.shape-option input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.shape-option span{width:100%;min-height:36px;padding:0 var(--space-2);color:var(--ink);justify-content:center;align-items:center;font-size:.9rem;font-weight:650;transition:background-color .15s;display:flex}.shape-option:hover span{background:var(--page)}.shape-option input:checked+span{color:var(--selected-ink);background:var(--selected-bg);box-shadow:inset 0 0 0 1px var(--tape-edge)}@media (prefers-color-scheme:dark){:root:not([data-theme]) .segmented button[aria-pressed=true],:root:not([data-theme]) .shape-option input:checked+span{font-weight:700}}:root[data-theme=dark] .segmented button[aria-pressed=true],:root[data-theme=dark] .shape-option input:checked+span{font-weight:700}.shape-option input:focus-visible+span{outline:2px solid var(--focus);outline-offset:-4px}.slab{color:var(--ink);background:var(--result);border:1px solid var(--result-line);border-top:3px solid var(--tape);box-shadow:var(--shadow), var(--glow)}.slab :focus-visible{outline-color:var(--focus)}.slab .section-label{color:var(--muted);margin:0}.slab-head{justify-content:space-between;align-items:center;gap:var(--space-3);margin-bottom:var(--space-4);display:flex}.live{font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);align-items:center;gap:6px;font-size:.7rem;display:inline-flex}.live:before{content:"";background:var(--tape);border:1px solid var(--tape-edge);border-radius:50%;width:9px;height:9px}.result-hint{color:var(--muted);margin:0}.ledger{gap:0 var(--space-4);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;display:grid}.ledger .ledger-row-big{padding:0 0 var(--space-4);margin-bottom:var(--space-3);border-bottom:1px solid var(--result-line);flex-direction:column-reverse;order:-1;grid-column:span 1;justify-content:flex-end;gap:4px;display:flex}.ledger-row{justify-content:space-between;align-items:baseline;gap:var(--space-3);border-bottom:1px solid var(--result-line);grid-column:span 2;padding:8px 0;display:flex}.ledger-row:last-child{border-bottom:0}.ledger-row dt{color:var(--ink);font-size:.9rem;font-weight:600}.ledger-note{color:var(--muted);font-size:.78rem;font-weight:400;display:block}.ledger-row dd{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;color:var(--ink);margin:0}.ledger-row .unit{color:var(--muted);font-size:.85em}.ledger-row-big dd{text-align:left;white-space:normal;line-height:1}.ledger-row-big .num{font-family:var(--display);letter-spacing:-.03em;color:var(--result-ink);font-size:clamp(2.75rem,2.4vw + 1.75rem,4.25rem);font-weight:800;display:block}.ledger-row-big .unit{color:var(--ink);margin-top:4px;font-size:clamp(1rem,.6vw + .75rem,1.5rem);font-weight:600;display:block}.ledger-row-big dt{color:var(--muted);font-size:.85rem}.result-actions{gap:var(--space-2);margin-top:var(--space-4);flex-wrap:wrap;display:flex}.slab .button-secondary{color:var(--ink);border-color:var(--control)}.slab .button-secondary:hover{background:var(--result-line)}.status{min-height:1.3em;margin:var(--space-2) 0 0;color:var(--muted);font-size:.82rem}.based-on{align-items:center;gap:var(--space-2);margin:var(--space-3) 0 0;color:var(--muted);flex-wrap:wrap;font-size:.85rem;display:flex}.based-on-label{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem}.chip-link{min-height:28px;padding:0 var(--space-3);color:var(--chalk);background:var(--card);border:1px solid var(--line);border-radius:999px;align-items:center;font-weight:600;text-decoration:none;display:inline-flex}.chip-link:hover{border-color:var(--chalk)}.based-on-all{margin-left:auto}.result-bar{display:none}.callout{--edge:var(--line);--icon:none;margin:var(--space-4) 0;padding:var(--space-3) var(--space-4) var(--space-3) 46px;background:var(--raised);border:1px solid var(--line);border-left:4px solid var(--edge);border-radius:var(--radius-sm);position:relative}.callout:before{content:"";background-color:var(--edge);width:20px;height:20px;mask-image:var(--icon);position:absolute;top:14px;left:14px;mask-size:contain;mask-repeat:no-repeat}.callout-note{--edge:var(--note-edge);--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.01'/%3E%3C/svg%3E");background:var(--note-bg)}.callout-caution{--edge:var(--caution-edge);--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l10 18H2z'/%3E%3Cpath d='M12 10v5M12 18v.01'/%3E%3C/svg%3E");background:var(--caution-bg)}.callout-tip{--edge:var(--tip-edge);--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l3 3 5-6'/%3E%3C/svg%3E");background:var(--tip-bg)}#result-warnings .callout{margin:var(--space-3) 0 0;color:var(--ink);font-size:.9rem}noscript .callout{margin-top:0}.table-wrap{margin-bottom:var(--space-4);background:var(--card);border:1px solid var(--line);border-radius:var(--radius-md);box-shadow:0 1px 2px var(--shadow-color);overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.95rem}caption{padding:var(--space-3) var(--space-4);text-align:left;font-weight:700}th,td{padding:10px var(--space-4);text-align:left;border-top:1px solid var(--line);font-variant-numeric:tabular-nums}thead th{font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--on-table-head);background:var(--table-head);border-top:0;font-size:.72rem;font-weight:600}tbody tr:nth-child(2n){background:var(--raised)}tbody tr{transition:background-color .15s}tbody tr:hover{background:var(--tint)}td.num,th.num{text-align:right}.table-wrap:focus-visible{outline:2px solid var(--chalk);outline-offset:2px}details{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-md)}details+details{margin-top:var(--space-2)}.faq details[open]{border-left:5px solid var(--tape)}summary{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:44px;padding:var(--space-3) var(--space-4);cursor:pointer;border-radius:var(--radius-md);font-weight:650;list-style:none;transition:background-color .15s;display:flex}summary:hover{background:var(--raised)}summary::-webkit-details-marker{display:none}summary:after{content:"";border-bottom:2px solid;border-right:2px solid;flex:none;width:8px;height:8px;margin-right:4px;transition:transform .15s;transform:rotate(45deg)}details[open]>summary:after{transform:rotate(-135deg)}details>:not(summary){padding:0 var(--space-4) var(--space-4)}details.more{margin-top:var(--space-1);background:var(--raised)}.more-body .hint{margin:0 0 var(--space-3)}.more-body .field-row{margin-bottom:0}.assumptions{margin-top:var(--space-4)}.assumption{padding:var(--space-3) 0;border-top:1px solid var(--line)}.fixed-values>div>.muted:first-child{margin-top:var(--space-3)}.assumption:first-of-type{border-top:0}.assumption .name{margin:0;font-weight:650}.assumption p{margin:var(--space-1) 0 0;font-size:.925rem}.assumption .field{max-width:22rem;margin-top:var(--space-1)}.tag{margin-left:var(--space-2);font-family:var(--mono);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:1px 10px;font-size:.7rem;font-weight:600;display:inline-block}.tag-typical{color:var(--ink);background:var(--tint);border:1px solid var(--control)}.tag-ref{color:var(--muted);background:var(--raised);border:1px solid var(--line)}.tag-ref a{font-weight:700;text-decoration:none}sup.ref{font-family:var(--mono);margin-left:2px;font-size:.7em;line-height:0}sup.ref a{font-weight:700;text-decoration:none}sup.ref a:hover{text-decoration:underline}ol.sources{margin:0 0 var(--space-4);counter-reset:source;padding:0;list-style:none}ol.sources li{margin:0 0 var(--space-3);padding:var(--space-2) var(--space-3) var(--space-2) 48px;counter-increment:source;border-radius:var(--radius-sm);position:relative}ol.sources li:before{content:"[" counter(source) "]";left:var(--space-3);font-family:var(--mono);color:var(--chalk);font-weight:700;position:absolute}ol.sources li:target{background:var(--tint);outline:2px solid var(--tape-edge)}figure.diagram{margin:var(--space-5) 0 0;padding:var(--space-4);max-width:32rem;color:var(--ink);background:var(--raised);border:1px solid var(--line);border-radius:var(--radius-md)}figure.diagram figcaption{margin-top:var(--space-3);color:var(--muted);font-size:.925rem}.diagram svg{width:100%;height:auto;display:block}.diagram .d-fill{fill:var(--card);stroke:currentColor;stroke-width:2px}.diagram .d-dim{stroke:var(--tape-edge);stroke-width:2px}.diagram .d-ground{stroke:currentColor;stroke-width:3px;stroke-linecap:round}.diagram .d-text{fill:currentColor;font-family:var(--display);font-size:19px;font-weight:700}.diagram .d-note{fill:var(--muted);font-family:var(--mono);letter-spacing:.06em;text-transform:uppercase;font-size:12px}.related-list{gap:var(--space-2);padding:0;list-style:none;display:grid}.related-list a{align-items:center;min-height:44px;font-weight:600;display:inline-flex}.disclaimer-line{margin-top:var(--space-6);padding-top:var(--space-4);color:var(--muted);border-top:1px solid var(--line);font-size:.95rem}.ad-slot{min-height:280px;margin:var(--space-5) 0}.ad-slot .ad-label{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.7rem;display:block}.affiliate-box{margin:var(--space-5) 0}.affiliate-box .disclosure{color:var(--muted);font-size:.9rem}@media (width<=899px),(pointer:coarse){.input-wrap input{height:44px}.button,.button-small,.segmented button,.shape-option span{min-height:44px}.segmented button{padding-inline:var(--space-4)}.chip-link{min-height:44px}}@media (width<=639px){html:has(.result-bar:not([hidden])){scroll-padding-bottom:6rem}.result-bar{z-index:15;gap:var(--space-4);margin-top:var(--space-4);padding:var(--space-2) var(--space-4);color:var(--ink);background:var(--result);border-top:3px solid var(--tape);border-radius:var(--radius-md) var(--radius-md) 0 0;box-shadow:0 -6px 18px var(--shadow-color);display:flex;position:sticky;bottom:0}.result-bar[hidden]{display:none}.result-bar-item{flex-direction:column;flex:1 1 0;min-width:0;display:flex}.result-bar-label{font-family:var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-size:.68rem}.result-bar-value{font-family:var(--display);font-variant-numeric:tabular-nums;color:var(--result-ink);font-size:1.15rem;font-weight:750}}@media (width<=899px){.block-panel,.block-strip{padding:var(--space-4)}}@media (width<=480px){.card,.main-page>article.prose:first-child{padding:var(--space-4)}.inputs{--card-pad:16px}.ledger{gap:0 var(--space-3)}}@media print{:root,:root[data-theme]{color-scheme:light!important}body{color:#000;background:#fff;font-size:12pt}.site-header,.site-footer,.breadcrumbs,.chips,.skip-link,.ad-slot,.affiliate-box,.related,.toc,.segmented:not(.segmented-radios),.result-actions,.result-bar,.based-on-all,#add-area,.remove-area,.faq,.disclaimer-line a{display:none!important}.hero-band{color:#000;background:0 0;padding:0 0 8pt}a{color:#000}.calculator-wrap,.main-page>article.prose:first-child{margin-top:0}.card,details,fieldset.area,.block-panel,.block-strip{color:#000;box-shadow:none;break-inside:avoid;background:#fff;border:1px solid #000}.slab,.slab *,.calc-preview{color:#000!important;box-shadow:none!important;background:#fff!important}.slab{border:2px solid #000}details>:not(summary),.calculator-layout{display:block}}
