/* Water heater calculators · shared markup, site colours mapped below */
.whc{--whc-ink:#0B2545;--whc-accent:#F26B1D;--whc-accent-ink:#B84A08;--whc-soft:#FFF1E8;--whc-tint:#EAF1F9;--whc-line:#E2E8F0;--whc-muted:#4A5568;--whc-r:14px;--whc-fh:"Manrope",system-ui,sans-serif;display:grid;gap:18px;grid-template-columns:1fr;align-items:start;margin:0 auto;max-width:1040px}
@media (min-width:920px){.whc{grid-template-columns:1.15fr .85fr}.whc-result{position:sticky;top:96px}}
.whc-card,.whc-result{background:#fff;border:1px solid var(--whc-line);border-radius:var(--whc-r);box-shadow:0 1px 2px rgba(11,37,69,.06),0 8px 24px rgba(11,37,69,.08);padding:20px}
.whc-step-t{display:flex;align-items:center;gap:10px;margin:18px 0 8px;font-family:var(--whc-fh);font-weight:800;color:var(--whc-ink);font-size:1.08rem}
.whc-step-t:first-child{margin-top:0}
.whc-step-t span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--whc-ink);color:#fff;font-size:.9rem;flex:none}
.whc-note{margin:0 0 10px;color:var(--whc-muted);font-size:.95rem}
.whc-list{display:grid;gap:2px}
.whc-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--whc-line)}
.whc-row:last-child{border-bottom:0}
.whc-row__txt{min-width:0}
.whc-row label{display:block;font-weight:700;color:var(--whc-ink);line-height:1.3}
.whc-hint{display:block;font-size:.84rem;color:var(--whc-muted);line-height:1.35}
.whc-step{display:flex;align-items:center;gap:6px;flex:none}
.whc-step input{width:52px;height:44px;text-align:center;font:700 1.1rem var(--whc-fh);color:var(--whc-ink);border:1px solid var(--whc-line);border-radius:10px;background:#fff;-moz-appearance:textfield}
.whc-step input::-webkit-outer-spin-button,.whc-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.whc-btn{width:44px;height:44px;border-radius:10px;border:1px solid var(--whc-line);background:var(--whc-tint);color:var(--whc-ink);font:800 1.3rem/1 var(--whc-fh);cursor:pointer}
.whc-btn:hover{border-color:var(--whc-ink)}
.whc-btn:focus-visible,.whc-step input:focus-visible,.whc-field select:focus-visible{outline:3px solid var(--whc-accent);outline-offset:2px}
.whc-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.whc-seg label{position:relative}
.whc-seg input{position:absolute;opacity:0;inset:0}
.whc-seg span{display:grid;place-items:center;min-height:48px;padding:8px;text-align:center;border:1px solid var(--whc-line);border-radius:10px;font-weight:700;color:var(--whc-ink);font-size:.92rem;cursor:pointer;background:#fff}
.whc-seg input:checked+span{background:var(--whc-ink);border-color:var(--whc-ink);color:#fff}
.whc-seg input:focus-visible+span{outline:3px solid var(--whc-accent);outline-offset:2px}
.whc-two{display:grid;gap:12px;grid-template-columns:1fr}
@media (min-width:560px){.whc-two{grid-template-columns:1fr 1fr}}
.whc-field span{display:block;font-weight:700;color:var(--whc-ink);margin-bottom:6px;font-size:.95rem}
.whc-field select{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--whc-line);border-radius:10px;background:#fff;color:var(--whc-ink);font-family:inherit;font-weight:600;font-size:.95rem}
.whc-result{background:linear-gradient(180deg,var(--whc-soft),#fff 70%);border-top:6px solid var(--whc-accent)}
.whc-res-k{margin:0 0 4px;font-size:.82rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--whc-muted)}
.whc-big{margin:0 0 14px;font:800 clamp(2.2rem,6vw,3rem)/1.05 var(--whc-fh);color:var(--whc-ink)}
.whc-big small{font-size:1rem;font-weight:700;color:var(--whc-muted)}
.whc-res-grid{display:grid;gap:12px;grid-template-columns:1fr;margin-bottom:12px}
@media (min-width:480px){.whc-res-grid{grid-template-columns:1fr 1fr}}
@media (min-width:920px){.whc-res-grid{grid-template-columns:1fr}}
.whc-res-grid>div{background:#fff;border:1px solid var(--whc-line);border-radius:12px;padding:12px 14px}
.whc-mid{margin:0 0 4px;font:800 1.45rem/1.2 var(--whc-fh);color:var(--whc-accent-ink)}
.whc-sub{margin:0;font-size:.9rem;line-height:1.5;color:var(--whc-muted)}
.whc-detail{margin-top:10px}
.whc-warn{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:#FFF4DB;color:#6B4700;font-size:.9rem}
.whc-tools{display:grid;gap:18px;grid-template-columns:1fr}
@media (min-width:700px){.whc-tools{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.whc-tools{grid-template-columns:repeat(3,1fr)}}
.whc-tool{display:flex;flex-direction:column;background:#fff;border:1px solid var(--whc-line,#E2E8F0);border-radius:16px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:0 1px 2px rgba(11,37,69,.06),0 8px 24px rgba(11,37,69,.08);transition:transform .15s}
.whc-tool:hover{transform:translateY(-3px)}
.whc-tool img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.whc-tool div{padding:18px 20px 20px}
.whc-tool h3{margin:0 0 6px}
.whc-tool p{margin:0 0 10px;color:var(--whc-muted,#4A5568)}
.whc-tool .go{font-weight:800;color:var(--whc-accent-ink,#B84A08)}
