:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#182a43;background:#f3f6fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;padding-bottom:92px}.wrap{max-width:1100px;margin:auto;padding-left:18px;padding-right:18px}.top{background:#123e80;color:white;padding:25px 0 29px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:.1em;color:#bcd9ff}.top h1{font-size:clamp(25px,5vw,37px);margin:8px 0 4px;line-height:1.15}.top p{margin:0;color:#d9e8ff;font-size:14px}.layout{display:grid;gap:20px;padding-top:20px}.form-stack{min-width:0}.card{background:#fff;border:1px solid #d9e2ef;border-radius:16px;padding:19px;margin-bottom:16px;box-shadow:0 3px 13px #183e7008}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px;font-size:12px;font-weight:700;color:#25588d}.toolbar .text-button{margin-left:auto}.toolbar #retry-offline{margin-left:0}.text-button{border:0;background:transparent;color:#1357a1;font:inherit;font-weight:700;cursor:pointer;padding:8px}.hint{color:#526681;font-size:13px;line-height:1.45;margin:6px 0 15px}.warning{color:#9d390d;background:#fff3e7;padding:11px;border-radius:8px;font-size:13px}.identity summary,.breakdown summary{font-weight:750;cursor:pointer;list-style:none}.identity summary::-webkit-details-marker,.breakdown summary::-webkit-details-marker{display:none}.identity summary:after,.breakdown summary:after{content:'⌄';float:right;color:#406598}.identity[open] summary:after,.breakdown[open] summary:after{content:'⌃'}.identity small{font-weight:400;color:#6b7990;margin-left:8px}.identity-grid{display:grid;gap:12px;margin-top:18px}.section-heading{display:flex;align-items:center;gap:11px;margin-bottom:20px}.section-heading h2{font-size:19px;margin:0}.step{display:inline-grid;place-items:center;background:#eaf2ff;color:#1255a0;border-radius:9px;width:33px;height:33px;font-size:12px;font-weight:800}label{display:block;font-size:13px;font-weight:680}input[type=text],input[type=datetime-local],input:not([type]){display:block;width:100%;min-width:0;border:1.5px solid #c5d2e3;border-radius:9px;padding:11px 9px;font:inherit;font-size:16px;color:#142840;background:#fff;margin-top:7px;outline:none}input:focus{border-color:#1671d2;box-shadow:0 0 0 3px #1671d222}input[aria-invalid=true]{border-color:#c42323;background:#fff7f7}.error{display:block;color:#b42323;font-size:11px;min-height:14px;margin-top:3px;line-height:1.2}.capacity{margin:0 0 20px;padding:0;border:0}.capacity legend,.group-label{font-size:13px;font-weight:750;margin-bottom:10px}.choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.choices label{display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;min-height:45px;border:1.5px solid #c5d2e3;border-radius:9px;font-size:12px;padding:4px}.choices label:has(input:checked){background:#e9f2ff;color:#10539f;border-color:#1564b6}.choices input{position:absolute;opacity:0;width:1px;height:1px}.choices label:focus-within{outline:2px solid #1671d2;outline-offset:2px}#custom-wrap{margin-top:12px}.measurement-grid,.phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.phase-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.measurement-grid label,.phase-grid label{min-width:0}.measurement-grid input,.phase-grid input{text-align:center;padding:10px 3px}.feeder{padding:14px 0;border-top:1px solid #e4ebf4}.feeder-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.feeder-heading strong{font-size:14px}.remove{border:0;background:transparent;color:#ac3b3b;font:inherit;font-weight:650;font-size:12px;cursor:pointer;padding:7px}.secondary{border:1.5px solid #b4cdeb;background:#eff5ff;color:#1658a2;font:inherit;font-size:14px;font-weight:750;border-radius:10px;padding:12px 16px;cursor:pointer;width:100%}.secondary:disabled{opacity:.45;cursor:not-allowed}.new-button{margin:0 0 20px}.result-card{background:#164c98;color:#fff;border-radius:17px;padding:23px;display:flex;flex-direction:column;gap:5px;box-shadow:0 9px 25px #123e802b}.result-label{color:#d9e9ff;font-size:14px;font-weight:600}.result-card strong{font-size:clamp(46px,6vw,72px);line-height:1.1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.result-card #result-type{font-size:13px;font-weight:750;color:#ffdb8d;min-height:17px}.result-card #power-line{font-size:14px;color:#e6f0ff}.result-note{padding:0 3px}.breakdown{margin-top:14px}.breakdown dl{margin:17px 0 8px}.breakdown dl div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e7edf5;padding:11px 0;font-size:13px}.breakdown dt{color:#526681}.breakdown dd{margin:0;text-align:right;font-weight:750;font-variant-numeric:tabular-nums}.formula{font-size:11px;color:#65758b;line-height:1.7;margin-bottom:0}.footer{font-size:12px;color:#64758d;padding-bottom:25px}.mobile-result{position:fixed;bottom:0;left:0;right:0;background:#164c98;color:white;display:flex;align-items:center;gap:9px;padding:12px 18px calc(12px + env(safe-area-inset-bottom));box-shadow:0 -4px 16px #17345033;font-size:12px;z-index:3}.mobile-result strong{font-size:24px;margin-left:auto;white-space:nowrap}.mobile-result #mobile-type{color:#ffdb8d;max-width:65px}.keyboard-active .mobile-result{display:none}button:focus-visible,summary:focus-visible{outline:3px solid #1975cc;outline-offset:3px}@media(min-width:800px){body{padding-bottom:0}.layout{grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);align-items:start;gap:25px}.results{position:sticky;top:18px}.mobile-result{display:none}.identity-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:360px){.wrap{padding-left:12px;padding-right:12px}.card{padding:14px}.choices{gap:4px}.choices label{font-size:11px}.phase-grid{gap:4px}.measurement-grid{gap:5px}.phase-grid input{font-size:15px}.mobile-result{padding-left:12px;padding-right:12px}}