/* Calculator styles are scoped; shared header, footer and consent stay consistent. */
.calculator{--bg:#fff;--card:#fff;--ink:#172b42;--muted:#536174;--line:#d9e0e6;--accent:#bd6700;--accent-ink:#fff;--volt:#ffb348;--soft:#fff5e7;--head:#152942;--head-ink:#fff;--radius:14px;--shadow:none;font-family:Arial,Helvetica,sans-serif;line-height:1.55;background:var(--paper,#fff);padding-bottom:32px}
.calculator .wrap{width:min(1280px,calc(100% - 40px));max-width:1280px;padding:0;margin-inline:auto}
.calculator .hero{background:#fff;color:var(--ink);padding:32px 0 36px;border-bottom:0}
.calculator .crumb{opacity:1;color:var(--muted);line-height:1.8;margin-bottom:24px}
.calculator h1{font-size:clamp(2.2rem,5vw,4.2rem);letter-spacing:-.045em;line-height:1.08;max-width:1000px}
.calculator h1 em{color:var(--navy);font-family:Georgia,serif;font-style:italic;font-weight:normal}
.calculator .hero .lead{opacity:1;color:var(--muted);max-width:800px;font-size:1.08rem;margin-top:22px}
.calculator .grid{width:100%;max-width:none;margin:0;gap:40px}
.calculator .card{padding:24px 0;background:transparent;border:0;border-radius:0;box-shadow:none}.calculator .card h2{font-size:1.3rem}
.calculator .result{position:static}.calculator .result .big{padding:28px 16px;border-top:4px solid var(--orange)}
.calculator input,.calculator select{min-height:44px}.calculator .seg input{min-height:0}
.calculator .seg label{min-height:44px;display:flex;flex-direction:column;justify-content:center}
.calculator .chips button{min-height:40px}.calculator button:focus-visible,.calculator input:focus-visible,.calculator select:focus-visible{outline:3px solid #a65300;outline-offset:3px}
.calculator .content{width:100%;max-width:none}.calculator .content h2{line-height:1.25}
.calculator .content a{color:#8b4c00}.calculator .card,.calculator .grid>*{min-width:0}
.calculator table{max-width:100%}
@media(max-width:540px){.calculator .card{padding:18px 0}.calculator .row3{grid-template-columns:1fr 1fr}.calculator .row3>:last-child{grid-column:1/-1}.calculator .seg{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator .row2{grid-template-columns:1fr}.calculator .stats{grid-template-columns:1fr 1fr}.calculator .tbl{font-size:13px}.calculator .tbl th,.calculator .tbl td{padding:7px 4px;overflow-wrap:anywhere}}

@media(min-width:600px){.calculator .wrap{width:min(1280px,calc(100% - 64px))}}
