.calc-shell{gap:1.2rem;width:min(100%,850px);margin-inline:auto;display:grid}.calc-intro{color:#405474;background:#f6f9ff;border:1px solid #d9e4fc;border-radius:18px;padding:1.1rem 1.3rem;line-height:1.65}.calc-intro summary{cursor:pointer;color:#172a52;font-weight:750}.calc-intro[open] summary{margin-bottom:.6rem}.calc-stale{color:#654612;background:#fff4df;border-radius:10px;flex-wrap:wrap;align-items:center;gap:.65rem;padding:.75rem;font-weight:700;display:flex}.calc-intro p{margin:0}.calc-intro p+p{margin-top:.45rem}.calc-intro strong{color:#172a52;margin-right:.4rem}.calc-form{gap:1.2rem;padding:clamp(1rem,3vw,1.7rem);display:grid}.calc-example{color:#46618d;margin:0;font-size:.94rem}.calc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.calc-field{align-content:start;gap:.42rem;min-width:0;display:grid}.calc-label{color:#172a52;font-weight:700;line-height:1.35}.calc-input-wrap{background:#fff;border:1px solid #c8d5ef;border-radius:12px;align-items:center;min-width:0;transition:border-color .15s,box-shadow .15s;display:flex;overflow:hidden}.calc-input-wrap:focus-within{border-color:#2458e8;box-shadow:0 0 0 3px #dce7ff}.calc-field .calc-input-wrap input{color:#172a52;width:100%;min-width:0;min-height:48px;font:inherit;background:0 0;border:0;outline:none;padding:.7rem .85rem;font-size:16px}.calc-unit{color:#526788;flex:none;padding:0 .8rem 0 .25rem;font-size:.9rem}.calc-help{color:#637394;line-height:1.4}.calc-actions{flex-wrap:wrap;gap:.7rem;display:flex}.calc-actions .tt-button{min-height:46px}.calc-error{color:#a52f35;background:#fff1f0;border-radius:10px;margin:0;padding:.7rem .9rem;font-weight:650}.calc-result{gap:.6rem;padding:clamp(1.15rem,3vw,1.8rem);display:grid}.calc-result h3{color:#172a52;margin:0;font-size:clamp(1.35rem,3vw,1.8rem)}.calc-result p{margin:0;line-height:1.55}.calc-kicker{color:#2458e8;letter-spacing:.03em;font-size:.83rem;font-weight:800}.calc-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin-top:.45rem;display:grid}.calc-metric{background:#f7faff;border:1px solid #d7e2fc;border-radius:12px;gap:.2rem;padding:.8rem .9rem;display:grid}.calc-metric span{color:#526788;font-size:.86rem}.calc-metric strong{color:#172a52;overflow-wrap:anywhere;font-size:1.12rem}.calc-note{color:#536787;font-size:.9rem}.calc-boundary,.calc-segment{border:1px solid #d7e2fc;border-radius:14px;min-width:0;padding:1rem}.calc-boundary legend,.calc-segment legend{color:#172a52;padding:0 .3rem;font-weight:800}.calc-boundary{gap:.5rem;display:grid}.calc-boundary .tt-choice{align-items:center;gap:.5rem;padding:.35rem 0;display:flex}.calc-boundary input{accent-color:#2458e8;width:18px;height:18px}.calc-segments{gap:1rem;display:grid}.calc-segment{gap:.7rem;display:grid}.calc-remove{color:#a63e43;cursor:pointer;font:inherit;background:0 0;border:0;justify-self:start;font-size:.9rem;text-decoration:underline}.calc-add{justify-self:start}@media (width<=620px){.calc-grid,.calc-metrics{grid-template-columns:1fr}.calc-actions .tt-button{flex:100%}}
