:root{color-scheme:dark;--bg:#10171c;--fg:#e8e3d9;--muted:#9ba6ac;--surface:#131c22;--line:#24323b;--accent:#7fb8a4;--accent-ink:#10171c;--heading:#e0503a;--radius:1.25rem;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root[data-theme=light]{color-scheme:light;--bg:#f7f5ef;--surface:#fff;--fg:#10171c;--muted:#586660;--line:#d3dcd5;--accent:#356b59;--accent-ink:#fff;--heading:#ae3e2c}@media (prefers-color-scheme:light){:root:not([data-theme]){color-scheme:light;--bg:#f7f5ef;--surface:#fff;--fg:#10171c;--muted:#586660;--line:#d3dcd5;--accent:#356b59;--accent-ink:#fff;--heading:#ae3e2c}}*{box-sizing:border-box}[hidden]{display:none!important}html{background:var(--bg);color:var(--fg);scroll-padding-top:6rem}body{margin:0;font-size:1rem;line-height:1.65}a{color:inherit;text-underline-offset:.25em}button,input,select{font:inherit}button{cursor:pointer}button,a,summary{touch-action:manipulation}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}p{margin:0 0 1rem}h1,h2,h3{letter-spacing:-.025em;line-height:1.3}h1{letter-spacing:-.035em;margin:0 0 1.25rem;font-size:clamp(1.75rem,4vw,2.5rem);font-weight:650;line-height:1.2}h2{margin:0 0 1.25rem;font-size:1.4rem;font-weight:600}h3{color:var(--accent);margin:0 0 .75rem;font-size:1.125rem;font-weight:600}.shell{max-width:1180px;margin:auto;padding:0 1rem}main{padding:2.5rem 0 3rem}.home-opening{max-width:760px;margin-bottom:2rem}.home-opening>p:last-child{max-width:680px;color:var(--muted);margin:0;font-size:1.0625rem}.eyebrow{letter-spacing:.1em;color:var(--accent);text-transform:uppercase;margin:0 0 .75rem;font-size:.75rem}.skip{background:var(--accent);color:var(--accent-ink);z-index:20;padding:.75rem;position:absolute;top:-6rem;left:1rem}.skip:focus{top:1rem}.brand{flex-shrink:0;align-items:center;gap:.6rem;text-decoration:none;display:flex}.brand svg{color:var(--accent);flex-shrink:0;width:30px;height:30px}.brand-name{letter-spacing:-.04em;font-size:1.1rem;font-weight:700;line-height:1.1}.header{z-index:10;border-bottom:1px solid var(--line);background:var(--surface);background:color-mix(in srgb,var(--surface) 80%,transparent);backdrop-filter:blur(18px);padding:10px 16px;position:sticky;top:0}.header-inner{grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:0;min-height:44px;display:grid}.header-brand{flex-direction:column;grid-area:1/1;align-items:flex-start;gap:.1rem;display:flex}.header-tagline{color:var(--muted);margin:0;font-size:.75rem;line-height:1.4;display:none}.header-menu{flex-direction:column;align-items:stretch;gap:0;font-size:1.125rem;display:flex}.header-menu a{min-height:48px;color:var(--muted);padding:9px 0;text-decoration:none}.header-menu a:hover{color:var(--fg)}.mobile-menu-toggle,.menu-close-icon{display:none}.header[data-menu-ready] .mobile-menu-toggle{width:44px;height:44px;color:var(--fg);background:0 0;border:0;border-radius:6px;grid-area:1/2;place-items:center;padding:9px;display:grid}.mobile-menu-toggle svg{width:25px;height:25px}.mobile-menu-toggle[aria-expanded=true] .menu-open-icon{display:none}.mobile-menu-toggle[aria-expanded=true] .menu-close-icon{display:block}.header-panel{overscroll-behavior:contain;grid-area:2/1/auto/-1;max-height:calc(100dvh - 65px);padding:14px 4px 12px;overflow-y:auto}.header[data-menu-ready] .header-panel:not(.is-open){display:none}.header-preferences{width:100%}.theme-setting{margin-top:20px}.theme-setting-label{margin-bottom:8px;font-size:1rem;font-weight:600;display:block}.theme-picker{border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:2px;display:grid}.theme-button{width:100%;min-height:44px;color:var(--fg);background:0 0;border:0;border-radius:5px;padding:8px 4px;font-size:.9375rem}.theme-button svg{display:none}.theme-button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}.footer{border-top:1px solid var(--line);width:100%;padding:1.25rem 1rem}.footer-top{flex-direction:column;gap:1rem;display:flex}.footer-brand{gap:.5rem}.footer-brand svg{width:28px;height:22px}.footer-brand .brand-name{font-size:1rem}.footer-tag{color:var(--muted);margin:.25rem 0 0;font-size:.8125rem}.footer-links{color:var(--muted);flex-wrap:wrap;gap:1.25rem;font-size:.8125rem;display:flex}.footer-links a{text-decoration:none}.footer-bottom{border-top:1px solid var(--line);color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:1rem;margin-top:1rem;padding-top:.75rem;font-size:.75rem;display:flex}.footer-bottom p{margin:0}.calculator{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.shared-inputs{gap:1.25rem;padding:1.25rem;display:grid}.field{min-width:0}label{margin-bottom:.5rem;font-size:.875rem;font-weight:600;display:block}input,select{border:1px solid var(--line);background:var(--bg);width:100%;min-height:48px;color:var(--fg);border-radius:.5rem;padding:.65rem .8rem;font-size:1rem;display:block}input::placeholder{color:var(--muted);opacity:.85}input[readonly]{color:var(--muted);border-style:dashed}input[aria-invalid=true]{border-color:var(--heading)}.input-wrap{position:relative}.input-wrap input{font-variant-numeric:tabular-nums;padding-right:3.75rem}.input-unit{color:var(--muted);pointer-events:none;font-size:.8125rem;position:absolute;top:50%;right:.8rem;transform:translateY(-50%)}.hint{color:var(--muted);margin:.4rem 0 0;font-size:.8125rem;line-height:1.6}.hint:empty{display:none}.field-error{color:var(--heading);margin:.5rem 0 0;font-size:.8125rem}.market{border-top:1px solid var(--line);padding-top:1rem}.market-label{color:var(--muted);margin:0 0 .25rem;font-size:.8125rem}.market-price{letter-spacing:-.025em;font-variant-numeric:tabular-nums;margin:0;font-size:1.5rem;font-weight:600;line-height:1.3}.market .hint{font-size:.75rem}.source-link{color:var(--accent);margin-top:.4rem;font-size:.75rem;display:inline-block}.market[data-stale=true] #market-status{color:var(--heading)}.tabs{border-top:1px solid var(--line);border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem;padding:.5rem .75rem;display:grid}.tabs button{min-height:44px;color:var(--muted);background:0 0;border:0;border-radius:.5rem;padding:.65rem .25rem;font-size:.875rem;font-weight:600}.tabs button[aria-selected=true]{background:color-mix(in srgb,var(--accent) 12%,var(--surface));color:var(--accent)}.tabs button:hover{color:var(--fg)}.tab-panel{padding:1.25rem}.tab-panel:focus-visible{outline-offset:-4px}.calc-grid{align-items:start;gap:1.5rem;display:grid}.calculation-fields{gap:1.1rem;min-width:0;display:grid}.result{border:1px solid var(--line);background:var(--bg);border-radius:.75rem;min-width:0;padding:1.25rem}.result-label{color:var(--muted);margin:0 0 .75rem;font-size:.875rem;font-weight:500}.result-value{letter-spacing:-.045em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:0 0 .75rem;font-size:clamp(1.75rem,3.8vw,2.75rem);font-weight:600;line-height:1.2}.result-note{color:var(--muted);margin:0;font-size:.875rem}.result-source{color:var(--muted);margin:.75rem 0 0;font-size:.75rem}.result-source:empty{display:none}.result-details{margin:1.25rem 0 0;font-size:.875rem}.result-details>div{border-top:1px solid var(--line);justify-content:space-between;gap:1rem;padding:.75rem 0;display:flex}.result-details dt{color:var(--muted)}.result-details dd{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-weight:600}.text-button{min-height:44px;color:var(--accent);text-underline-offset:.25em;background:0 0;border:0;justify-content:flex-start;justify-self:start;align-items:center;padding:0;font-size:.8125rem;text-decoration:underline;display:inline-flex}.cost-fields{border:0;border-top:1px solid var(--line);gap:1rem;min-width:0;margin:0;padding:1rem 0 0;display:grid}.cost-fields legend{padding:0 .5rem 0 0;font-size:.875rem;font-weight:600}.cost-summary{border-top:1px solid var(--line);padding-top:1rem}.small-label{color:var(--muted);margin:0 0 .25rem;font-size:.8125rem}.cost-summary p:not(.small-label){margin:0;font-size:.875rem}.calculator-bottom{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.25rem 1rem;padding:.75rem 1.25rem;display:flex}.calculator-bottom p{margin:0}.storage-status{margin:0;padding:0 1.25rem 1rem}.notice{color:var(--heading);margin:0;padding:1.25rem}.explanation{margin-top:3rem}.explanation-grid{gap:1.5rem;display:grid}.explanation-grid p,.privacy-section p{color:var(--muted);font-size:.9375rem;line-height:1.8}.explanation-grid p{margin:0}.formula-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:1.5rem}summary{cursor:pointer;min-height:48px;color:var(--accent);padding:1rem 0;font-size:.9375rem}.details-copy{max-width:780px;color:var(--muted);padding:.25rem 0 1rem;font-size:.875rem}.details-copy p{overflow-wrap:anywhere}.disclaimer{color:var(--muted);margin:1rem 0 0;font-size:.8125rem;line-height:1.7}.privacy-section{max-width:780px;margin-top:3rem}.privacy-section p:last-child{margin:0}@media (width>=381px){.shell{padding:0 1.5rem}}@media (width>=761px){.shell{padding:0 3rem}main{padding:3.5rem 0 4rem}.header{padding:.7rem clamp(1rem,4vw,2.5rem)}.header-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:1.5rem;min-height:38px}.header-tagline{display:block}.header-panel{max-height:none;overflow:visible;display:contents!important}.header[data-menu-ready] .mobile-menu-toggle{display:none}.header-menu{flex-direction:row;justify-content:center;align-items:center;gap:1.4rem;font-size:.92rem}.header-menu a{min-height:44px;padding:0}.header-preferences{justify-self:end;align-items:center;gap:16px;width:auto;display:flex}.theme-setting{margin:0}.theme-setting-label{display:none}.theme-picker{background:color-mix(in srgb,var(--accent) 8%,var(--surface));border:0;border-radius:8px;gap:1px;padding:3px;display:flex}.theme-button{place-items:center;width:34px;height:34px;min-height:34px;padding:7px;display:grid}.theme-button svg{width:18px;height:18px;display:block}.theme-button span{display:none}.theme-button[aria-pressed=true]{background:var(--surface);color:var(--fg);box-shadow:0 1px 3px #0000001a}.footer{padding:1.25rem clamp(1rem,4vw,2.5rem)}.footer-top{flex-direction:row;justify-content:space-between;gap:2rem}.shared-inputs{grid-template-columns:1fr 1fr 1.1fr;gap:1.5rem;padding:1.75rem}.market{border-top:0;border-left:1px solid var(--line);padding:0 0 0 1.5rem}.tab-panel{padding:1.75rem}.tabs{grid-template-columns:repeat(3,minmax(0,1fr));padding:.5rem 1.25rem}.calc-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:2rem}.result{grid-area:1/2;min-height:190px;padding:1.5rem}.calculation-fields{grid-area:1/1}.explanation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}.calculator-bottom{padding:.75rem 1.75rem}.storage-status{padding:0 1.75rem 1rem}}@media (width>=761px) and (width<=1000px){.header-inner{grid-template-columns:minmax(0,1fr) auto}.header-menu{grid-area:2/1/auto/-1;justify-content:flex-start}.header-preferences{grid-area:1/2}}@media (width<=480px){.header .brand svg{width:26px;height:26px}.brand-name{font-size:1rem}.shared-inputs{gap:1rem}.result-details>div{gap:.65rem}.tabs button{font-size:.8125rem}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}.shared-inputs>.field,.shared-inputs>.market{border:1px solid var(--line);background:var(--bg);border-radius:.75rem;padding:1rem}.calculation-fields{border:1px solid var(--line);border-radius:.75rem;padding:1.25rem}.explanation-grid>div{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:1.5rem}.privacy-section{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);max-width:none;padding:1.5rem}.privacy-section p{max-width:780px}@media (width>=761px){.shared-inputs>.market{padding:1rem}.calculation-fields{padding:1.5rem}.privacy-section{padding:1.75rem}}.header-brand{min-width:0}.header-brand .header-tagline{color:var(--accent);margin-left:0;display:block}.header-menu a{white-space:nowrap;align-items:center;display:inline-flex}@media (width>=1101px){.header-preferences{margin-left:1.5rem}}@media (width>=761px) and (width<=1100px){.header-inner{grid-template-columns:minmax(0,1fr) auto;gap:.25rem 1rem}.header-menu{grid-area:2/1/auto/-1;justify-content:flex-start}.header-preferences{grid-area:1/2}}@media (width<=480px){.header .brand{gap:.4rem}}.calculator{background:0 0;border:0;overflow:visible}.shared-section{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);overflow:hidden}.shared-heading{padding:1.25rem 1.25rem 0}.shared-heading h2{margin-bottom:.4rem}.shared-heading p{color:var(--muted);margin:0;font-size:.875rem}.shared-inputs{gap:1rem}.shared-inputs>.field,.shared-inputs>.market{background:0 0;border:0;border-radius:0;padding:0}.shared-inputs>.field input,.shared-inputs>.field select{background:var(--bg)}.shared-inputs>.market{border-top:1px solid var(--line);padding-top:1rem}.calculations{grid-template-columns:minmax(0,1fr);align-items:start;gap:1.5rem;margin-top:1.5rem;display:grid}.calculation-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-width:0;padding:1.25rem;scroll-margin-top:6rem}.card-kind{letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:0 0 .65rem;font-size:.75rem}.card-heading h2{margin:0 0 .65rem;font-size:1.3rem;line-height:1.3}.card-heading>p:last-child{color:var(--muted);margin:0 0 1.25rem;font-size:.875rem}.card-body{gap:1.25rem;min-width:0;display:grid}.card-body>.result,.card-body>.calculation-fields{grid-area:auto}.card-body>.result{min-height:0;padding:1rem}.card-body>.calculation-fields{border:0;border-radius:0;gap:1rem;padding:0}.card-body .result-value{font-size:clamp(1.5rem,3vw,2rem)}.card-body .result-details,.card-body .result-note{font-size:.8125rem}.settings-details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.settings-details>summary{padding:.75rem 0;font-size:.8125rem;line-height:1.5}.settings-details>summary span{color:var(--muted);margin-left:1rem;font-size:.75rem;display:block}.detail-fields{gap:1rem;padding:.25rem 0 1rem;display:grid}.detail-fields>.text-button{margin-top:-.75rem}.calculation-fields>.text-button{margin-top:-.6rem}@media (width>=761px){.shared-heading{padding:1.75rem 1.75rem 0}.shared-inputs>.market{border-top:0;border-left:1px solid var(--line);padding:0 0 0 1.5rem}.calculation-card{padding:1.5rem}}@media (width>=761px) and (width<=1149px){.card-body{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:2rem}.card-body>.result{align-self:start}}@media (width>=1150px){.calculations{grid-template-columns:repeat(3,minmax(0,1fr))}.card-heading{min-height:185px}.card-body>.result{min-height:250px}.card-heading h2{font-size:1.25rem}}.header-menu a[aria-current=page]{color:var(--fg)}.explanation{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:1.5rem}.method-note{max-width:780px;color:var(--muted);margin:0;font-size:.9375rem}.explanation .formula-details{margin-top:1.25rem}@media (width>=761px){.explanation{padding:1.75rem}}
