
.hpc-calc{
  --ink:#10233e;--muted:#5c6d80;--line:#d4e0ea;--navy:#062554;--green:#118847;
  --green-dark:#0b6c39;--soft:#f5f8fb;--danger:#9a2636;--focus:#18a65a;
  box-sizing:border-box;max-width:680px;margin:18px auto;border:1px solid var(--line);
  border-radius:14px;overflow:hidden;background:#fff;color:var(--ink);
  font:15px/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  box-shadow:0 8px 24px rgba(5,38,82,.07),0 1px 4px rgba(5,38,82,.04)
}
.hpc-calc *{box-sizing:border-box}
.hpc-calc .header{padding:17px 20px 16px;background:var(--navy);border-top:3px solid #18a65a;color:#fff}
.hpc-calc .brandrow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.hpc-calc .brand{font-size:12px;font-weight:750;letter-spacing:.02em}
.hpc-calc .currency{font-size:10px;font-weight:750;letter-spacing:.075em;border:1px solid #597085;border-radius:5px;padding:2px 6px;color:#e3edf5}
.hpc-calc h2{font-size:24px;line-height:1.15;letter-spacing:-.022em;margin:0 0 6px;font-weight:750}
.hpc-calc .header p{font-size:13px;line-height:1.42;max-width:560px;color:#d6e2ec;margin:0}
.hpc-calc .body{padding:17px 20px 16px}
.hpc-calc h3{font-size:15.5px;line-height:1.3;letter-spacing:-.008em;margin:0 0 4px;font-weight:750}
.hpc-calc p{margin:0 0 9px}
.hpc-calc .muted,.hpc-calc .help{color:var(--muted);font-size:12.5px}
.hpc-calc .step{padding:0 0 15px;margin:0 0 15px;border-bottom:1px solid var(--line)}
.hpc-calc .step:last-of-type{border-bottom:0;margin-bottom:0}
.hpc-calc .step-label{display:block;color:var(--green-dark);font-size:11px;font-weight:750;letter-spacing:.035em;margin-bottom:3px}
.hpc-calc fieldset{border:0;padding:0;margin:10px 0 0;min-width:0}
.hpc-calc legend{font-weight:700;margin-bottom:6px}
.hpc-calc .choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.hpc-calc .choice{position:relative}
.hpc-calc .choice input{position:absolute;opacity:0;pointer-events:none}
.hpc-calc .choice label{display:block;height:100%;padding:9px 10px 9px 33px;border:1px solid #b8c7d4;border-radius:8px;background:#fff;cursor:pointer;font-size:13px;line-height:1.3}
.hpc-calc .choice label::before{content:"";position:absolute;left:11px;top:12px;width:14px;height:14px;border:2px solid #8194a5;border-radius:50%;background:#fff}
.hpc-calc .choice input:checked + label{border-color:var(--green);background:#f1faf5;box-shadow:inset 0 0 0 1px var(--green)}
.hpc-calc .choice input:checked + label::before{border-color:var(--green);box-shadow:inset 0 0 0 4px #fff;background:var(--green)}
.hpc-calc .choice input:focus-visible + label{outline:3px solid var(--focus);outline-offset:2px}
.hpc-calc .inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}
.hpc-calc .field label{display:block;font-size:12.5px;font-weight:700}
.hpc-calc .field input{width:100%;min-width:0;min-height:43px;border:1px solid #aebfd0;border-radius:7px;padding:9px 10px;margin-top:5px;font:inherit;font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink);background:#f7fafe}
.hpc-calc .field input:focus{background:#fff;border-color:var(--green);box-shadow:0 0 0 3px rgba(24,166,90,.12);outline:0}
.hpc-calc .field input:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.hpc-calc .field input[aria-invalid="true"]{border:2px solid var(--danger)}
.hpc-calc .field-error{display:block;color:var(--danger);font-size:11.5px;font-weight:650;margin-top:4px}
.hpc-calc .consistency{margin-top:7px}
.hpc-calc .actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px}
.hpc-calc button{min-height:40px;border-radius:7px;padding:0 13px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.hpc-calc .primary{border:1px solid var(--green);background:var(--green);color:#fff}
.hpc-calc .primary:hover{background:var(--green-dark);border-color:var(--green-dark)}
.hpc-calc .secondary{border:1px solid #c2d0db;background:#fff;color:var(--ink)}
.hpc-calc .secondary:hover{background:#f1f6f9}
.hpc-calc button:focus-visible,.hpc-calc summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.hpc-calc .status{font-size:12px;color:var(--muted);margin:7px 0 0;min-height:17px}
.hpc-calc .unknown{padding:13px 14px;border:1px solid #d4e0ea;border-radius:9px;background:#f6f9fc;margin-top:10px}
.hpc-calc .unknown strong{display:block;margin-bottom:4px}
.hpc-calc blockquote{margin:9px 0;padding:9px 11px;border-left:3px solid var(--green);background:#fff;font-size:13px}
.hpc-calc .results{padding:14px 15px;border-radius:10px;background:var(--navy);color:#fff;margin-top:10px}
.hpc-calc .results h3{color:#fff;margin-bottom:3px}
.hpc-calc .result-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.hpc-calc .result-card{padding:10px 11px;border:1px solid #49627f;border-radius:8px;background:#0b315f}
.hpc-calc .result-name{display:block;font-size:11px;font-weight:700;color:#cfe0ec;margin-bottom:3px}
.hpc-calc .result-value{display:block;font-size:18px;line-height:1.22;font-weight:800;letter-spacing:-.012em;font-variant-numeric:tabular-nums}
.hpc-calc .results .context{font-size:12px;line-height:1.4;color:#d7e4ee;margin:0}
.hpc-calc .caution{margin:10px 0 0;padding:9px 10px;border-left:3px solid var(--green);background:#f7fafc;color:var(--ink);font-size:12px}
.hpc-calc details{border-top:1px solid var(--line)}
.hpc-calc summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;min-height:42px;cursor:pointer;font-weight:700;font-size:12.5px}
.hpc-calc summary::-webkit-details-marker{display:none}
.hpc-calc summary::after{content:"+";font-size:18px;font-weight:400;color:var(--green);flex-shrink:0}
.hpc-calc details[open] summary::after{content:"−"}
.hpc-calc .expanded{font-size:12.5px;line-height:1.45;padding:0 0 9px;color:var(--muted)}
.hpc-calc .expanded strong{color:var(--ink)}
.hpc-calc ol{margin:0;padding-left:20px}
.hpc-calc li{padding:0 0 7px 2px}
.hpc-calc .private{border-top:1px solid var(--line);display:flex;gap:6px;align-items:center;padding-top:10px;font-size:10.5px;color:var(--muted);margin:0}
.hpc-calc .private svg{flex-shrink:0;color:var(--green)}
.hpc-calc [hidden]{display:none!important}
.hpc-calc .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:620px){
  .hpc-calc{margin:14px auto;border-radius:12px}
  .hpc-calc .header{padding:16px 16px 15px}
  .hpc-calc .body{padding:16px}
  .hpc-calc h2{font-size:22px}
  .hpc-calc .choices,.hpc-calc .inputs,.hpc-calc .result-grid{grid-template-columns:1fr}
  .hpc-calc .step{padding-bottom:14px;margin-bottom:14px}
}
@media(prefers-reduced-motion:reduce){.hpc-calc *{scroll-behavior:auto!important}}
