.tool-hero{max-width:46rem}.tool-hero h1{margin:0 0 .75rem;font-size:clamp(2rem,5vw,3rem)}.tool-hero .tool-sub{color:hsl(var(--muted-foreground));margin:0;font-size:1.125rem}.tool-badge{letter-spacing:.04em;text-transform:uppercase;color:hsl(var(--primary));background:hsl(var(--primary) / .1);border-radius:999px;margin-bottom:1rem;padding:.25rem .75rem;font-size:.75rem;font-weight:700;display:inline-block}.calc{grid-template-columns:1fr;gap:1.5rem;margin-top:2.5rem;display:grid}@media (width>=56rem){.calc{grid-template-columns:1.1fr 1fr;align-items:start}}.calc-panel{background:hsl(var(--card));border:1px solid hsl(var(--border));box-shadow:0 12px 32px hsl(var(--foreground) / .05);border-radius:1rem;padding:1.5rem}.calc-field+.calc-field{margin-top:1.5rem}.calc-field>label,.calc-field>.calc-label{margin-bottom:.5rem;font-size:.9375rem;font-weight:600;display:block}.calc-hint{color:hsl(var(--muted-foreground));margin:.375rem 0 0;font-size:.8125rem}.calc-input{width:100%;font:inherit;border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--background));color:hsl(var(--foreground));padding:.75rem .875rem;font-size:1.125rem}.calc-input:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:1px}.calc-seg{border:1px solid hsl(var(--border));border-radius:var(--radius);background:hsl(var(--muted));flex-wrap:wrap;gap:.375rem;padding:.25rem;display:flex}.calc-seg label{text-align:center;flex:auto}.calc-seg input{opacity:0;pointer-events:none;position:absolute}.calc-seg span{border-radius:calc(var(--radius) - .15rem);color:hsl(var(--muted-foreground));cursor:pointer;white-space:nowrap;padding:.5rem .625rem;font-size:.875rem;font-weight:600;display:block}.calc-seg input:checked+span{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.calc-seg input:focus-visible+span{outline:2px solid hsl(var(--primary));outline-offset:2px}.calc-results{background:linear-gradient(160deg, hsl(var(--primary) / .06) 0%, hsl(var(--card)) 60%);border:1px solid hsl(var(--border));border-radius:1rem;padding:1.5rem}.calc-results h2{margin:0 0 1rem;font-size:1.125rem}.calc-result-grid{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.calc-result{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius);padding:1rem}.calc-result--wide{grid-column:1/-1}.calc-result-label{letter-spacing:.04em;text-transform:uppercase;color:hsl(var(--muted-foreground));margin:0 0 .375rem;font-size:.75rem;font-weight:700}.calc-result-value{font-family:var(--font-display);font-size:clamp(1.5rem,4vw,2rem);font-weight:700;line-height:1.1}.calc-result-sub{color:hsl(var(--muted-foreground));margin:.375rem 0 0;font-size:.8125rem}.calc-save{border-top:1px dashed hsl(var(--border));margin-top:1.25rem;padding-top:1.25rem}.calc-save p{color:hsl(var(--muted-foreground));margin:0 0 .875rem;font-size:.9375rem}.btn-primary.btn-lg{padding:.75rem 1.5rem;font-size:1rem}.btn-block{text-align:center;display:block}.calc-assumptions{margin-top:3rem}.calc-assumptions summary{cursor:pointer;font-weight:600}.calc-assumptions ul{color:hsl(var(--muted-foreground));margin:1rem 0 0;padding-left:1.25rem;font-size:.9375rem}.calc-assumptions li+li{margin-top:.5rem}.tool-cta{text-align:center;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:1rem;margin-top:3.5rem;padding:2.5rem 1.5rem}.tool-cta h2{margin:0 0 .75rem;font-size:clamp(1.5rem,3vw,2rem)}.tool-cta p{color:hsl(var(--muted-foreground));max-width:38rem;margin:0 auto 1.5rem}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.theme-dark .tool-hero h1{font-family:var(--font-display);letter-spacing:-.02em}.theme-dark .tool-sub,.theme-dark .calc-hint,.theme-dark .calc-result-sub{color:hsl(var(--muted-foreground))}.theme-dark .tool-badge{background:hsl(var(--primary) / .16);color:hsl(var(--primary-2));border-color:hsl(var(--primary) / .35)}.theme-dark .calc-panel,.theme-dark .calc-result,.theme-dark .tool-cta{background:hsl(var(--card) / .72);border-color:hsl(var(--border))}.theme-dark .calc-input{background:hsl(var(--background) / .8);border-color:hsl(var(--border-strong));color:hsl(var(--foreground))}.theme-dark .calc-input:focus-visible{outline-color:hsl(var(--primary-2));border-color:hsl(var(--primary))}.theme-dark .calc-seg{border-color:hsl(var(--border-strong));background:hsl(var(--background) / .6)}.theme-dark .calc-seg span{color:hsl(var(--foreground) / .78)}.theme-dark .calc-seg label:hover span{background:hsl(var(--foreground) / .06);color:hsl(var(--foreground))}.theme-dark .calc-seg input:checked+span{background:linear-gradient(120deg, hsl(var(--primary)), hsl(var(--primary-2)));color:#fff}.theme-dark .calc-result-value{color:hsl(var(--foreground))}.theme-dark .calc-result-label{color:hsl(var(--primary-2))}.theme-dark .calc-result--wide{border-color:hsl(var(--primary) / .4);background:hsl(var(--primary) / .1)}.theme-dark .calc-assumptions{color:hsl(var(--muted-foreground))}.theme-dark .calc-assumptions summary{color:hsl(var(--primary-2));cursor:pointer}.theme-dark .calc-save{border-color:hsl(var(--border))}
