:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#192f43;background:#f1f6fb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;line-height:1.6}.shell{max-width:1080px;margin:auto;padding:24px}a{color:#175d99;text-underline-offset:3px}.site-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid #d9e4ed;border-radius:24px;padding:12px 16px;box-shadow:0 5px 20px #263f5908}.brand{font-weight:800;text-decoration:none;color:#192f43}.brand span{display:inline-grid;place-items:center;border-radius:9px;background:#e5f4ef;color:#17624f;width:30px;height:30px;margin-right:6px}.site-nav>a:last-child{font-weight:700}.crumb{font-size:.82rem;color:#526a80;margin:20px 0}header{margin:28px 0}.eyebrow{font-size:.74rem;letter-spacing:.12em;font-weight:800;color:#17624f;margin:0 0 6px}h1{font-size:clamp(2rem,5vw,3.3rem);line-height:1.15;letter-spacing:-.035em;margin:0 0 16px}header>p:last-child{max-width:740px;color:#50647a;font-size:1.08rem}h2{line-height:1.25;letter-spacing:-.02em;margin:0 0 16px;font-size:1.45rem}.tool,.content{padding:28px;border:1px solid #d9e4ed;background:white;border-radius:24px;margin:24px 0}.callout{background:#eaf5f2;border-left:4px solid #23836b;border-radius:8px;padding:12px 16px;margin:0 0 20px}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start;min-width:0}form,.result-area{min-width:0}label{display:block;font-weight:700;font-size:.9rem;margin:12px 0 6px}input,select,button{font:inherit}input,select{width:100%;min-width:0;border:1px solid #aebfd1;border-radius:10px;background:#fff;color:#192f43;padding:11px 12px;min-height:48px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.helper{font-size:.8rem;color:#52647b}.actions,.examples{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}button{cursor:pointer;border:1px solid #175d99;border-radius:10px;background:#175d99;color:#fff;font-weight:750;padding:11px 16px;min-height:46px}.secondary,.examples button{color:#175d99;background:#f2f7fd}.examples button{font-size:.8rem;min-height:40px;padding:8px 10px}button:hover{filter:brightness(.94)}:focus-visible{outline:3px solid #dc9b20;outline-offset:3px}details{border-top:1px solid #dbe5ee;padding:14px 0}summary{cursor:pointer;font-weight:700}details p{margin-bottom:4px}#factorDetails{margin-top:16px}.result-area{background:#f1f8f6;border:1px solid #d3e5df;padding:20px;border-radius:18px}.big{display:block;font-size:clamp(1.5rem,3vw,2rem);line-height:1.3;overflow-wrap:anywhere}#rangeNote{font-size:.8rem;color:#52647b}.result-table{overflow-x:auto}table{border-collapse:collapse;min-width:100%;font-size:.88rem}caption{text-align:left;font-size:.78rem;color:#52647b;padding:8px 0}th,td{text-align:left;border-bottom:1px solid #d3dfdf;padding:9px 6px;vertical-align:top}th{font-weight:650}td{font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere}#error{color:#a0232e;font-weight:700;min-height:0;margin-bottom:0}#error:empty{display:none}code{font-size:.88em;white-space:normal;overflow-wrap:anywhere}.content p{max-width:88ch}.content a{overflow-wrap:anywhere}footer{font-size:.85rem;color:#52647b;text-align:center;margin:30px 0}[hidden]{display:none!important}@media(max-width:700px){.shell{padding:14px}.site-nav{border-radius:20px;gap:8px}.brand{font-size:.78rem}.brand span{width:26px;height:26px;margin-right:2px}.site-nav>a:last-child{font-size:.75rem}header{margin:20px 0}h1{font-size:2rem}header>p:last-child{font-size:.98rem}.tool,.content{padding:18px;border-radius:20px;margin:20px 0}.workspace{grid-template-columns:1fr;gap:16px}.two{gap:10px}.two label{font-size:.8rem}.callout{font-size:.88rem;padding:10px 12px}.result-area{padding:16px}.big{font-size:1.75rem}}.mobile-preview{display:none}@media(max-width:700px){.shell{padding-bottom:104px}.crumb{margin:12px 0}header{margin:16px 0}header>p:last-child{margin-bottom:0}.tool{margin-top:16px}.callout{font-size:.82rem}.mobile-preview{display:flex;align-items:center;justify-content:space-between;gap:10px;position:fixed;bottom:12px;left:12px;right:12px;z-index:5;padding:10px 14px;background:#173c50;color:white;border-radius:16px;box-shadow:0 5px 25px #152c4440}.mobile-preview span{display:block;font-size:.7rem;color:#c4dce4}.mobile-preview strong{display:block;font-size:1rem;overflow-wrap:anywhere}.mobile-preview>div{min-width:0}.mobile-preview a{color:white;flex:none;font-size:.8rem;font-weight:700}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}
