main.tool{width:720px;max-width:calc(100% - 2rem);margin:auto;padding:2rem 0 3rem;line-height:1.8}main.tool h1{margin:0 0 .5rem;font-size:1.9rem}main.tool .lead{color:#6b7280;margin:0 0 2rem}main.tool h2{border-bottom:1px solid #e5e7eb;margin:2.4rem 0 .8rem;padding-bottom:.4rem;font-size:1.15rem}main.tool p{color:#374151;margin:0 0 1rem}main.tool ul{color:#374151;padding-left:1.3rem}main.tool li{margin:.35rem 0}.tool-form{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:1.3rem 1.4rem 1.5rem}.tool-form .row{flex-wrap:wrap;gap:1rem;display:flex}.tool-form .row[hidden],.tool-form .field[hidden],.range[hidden]{display:none}.tool-form .field{flex:200px;min-width:0}.tool-form .field.wide{flex-basis:100%}.tool-form label{color:#1f2937;margin-bottom:.3rem;font-size:.9rem;font-weight:600;display:block}.tool-form input,.tool-form select{box-sizing:border-box;color:#0f1219;background:#fff;border:1px solid #cbd5e1;border-radius:7px;width:100%;padding:.6rem .7rem;font-family:inherit;font-size:1rem}.tool-form input:focus,.tool-form select:focus{outline-offset:1px;outline:2px solid #94a3b8}.tool-form .hint{color:#6b7280;margin:.35rem 0 0;font-size:.82rem;line-height:1.5}.tool-form .row+.row{margin-top:1rem}.radio-set{flex-wrap:wrap;gap:.5rem;display:flex}.radio-set label{text-align:center;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;flex:1 1 0;min-width:0;margin:0;padding:.55rem .7rem;font-weight:500}.radio-set input{width:auto;margin-right:.4rem}.radio-set label:has(input:checked){background:#eef2fb;border-color:#34439e}.form-actions{justify-content:flex-end;gap:.5rem;margin-top:1.1rem;display:flex}.form-actions.between{justify-content:space-between}.range{align-items:center;gap:.4rem;margin-bottom:.5rem;display:flex}.range input{flex:1 1 0;min-width:0}.item .fixed-name{color:#1f2937;background:#eef2fb;border:1px solid #e2e8f0;border-radius:7px;flex:1 1 0;align-items:center;min-width:0;padding:.6rem .7rem;font-size:.95rem;font-weight:600;display:flex}.range .tilde{color:#6b7280}.range .remove,.ghost-button{color:#374151;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:7px;padding:.45rem .7rem;font-family:inherit;font-size:.9rem}.range .remove{padding:.45rem .6rem;line-height:1}.ghost-button:hover,.range .remove:hover{background:#eef2fb;border-color:#94a3b8}.tool-result{margin-top:1.6rem}.result-main{color:#fff;background:#1f2430;border-radius:10px;padding:1.2rem 1.4rem}.result-main .label{color:#c3ccdb;margin:0;font-size:.88rem}.result-main .value{word-break:keep-all;color:#ffd166;margin:.2rem 0 0;font-size:2.1rem;font-weight:700;line-height:1.25}.result-main .value small{color:#c3ccdb;font-size:.95rem;font-weight:500}.result-main .sub{color:#dbe2ed;margin:.6rem 0 0;font-size:.9rem}.tool-note{color:#6b4a00;background:#fff6e5;border-left:4px solid #d9a441;border-radius:0 8px 8px 0;margin-top:1rem;padding:.9rem 1.1rem;font-size:.92rem}.tool-note strong{color:#8a5500}.compare-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1rem;display:grid}.compare-grid+.compare-grid{margin-top:1.2rem}main.tool h3{color:#1f2937;margin:0 0 .5rem;font-size:1rem}.result-main.alt{color:#1f2430;background:#eef2fb}.result-main.alt .label,.result-main.alt .sub{color:#4a5568}.result-main.alt .value{color:#2c3a8c}.result-main.alt .value small{color:#4a5568}.table-wrap{margin-top:1.2rem;overflow-x:auto}main.tool table{border-collapse:collapse;width:100%;font-size:.93rem}main.tool th,main.tool td{text-align:left;white-space:nowrap;border-bottom:1px solid #e5e7eb;padding:.55rem .7rem}main.tool th{background:#f1f5f9;font-weight:600}main.tool td.num,main.tool th.num{text-align:right;font-variant-numeric:tabular-nums}main.tool td.period,main.tool th.period{white-space:normal;word-break:keep-all}main.tool .cell-note{color:#6b7280;white-space:normal;word-break:keep-all;font-size:.8rem;font-weight:400;display:block}main.tool tr.total .cell-note{font-weight:400}main.tool tr.total td{border-top:2px solid #cbd5e1;font-weight:700}.sources{color:#6b7280;border-top:1px solid #e5e7eb;margin-top:2.5rem;padding-top:1.2rem;font-size:.9rem}.sources ul{padding-left:1.2rem}.tool-links{margin-top:2rem;font-size:.93rem}.result-top{z-index:15;background:#fff;padding:.6rem 0 .9rem;position:sticky;top:0}.result-top[hidden]{display:none}.result-top .compare-grid{grid-template-columns:1fr 1fr}@media (width<=520px){.result-main .value{font-size:1.7rem}.result-top .result-main{padding:.8rem .9rem}.result-top .label{font-size:.8rem}.result-top .value{font-size:1.4rem}.result-top .value small{font-size:.78rem;display:block}.result-top .sub{display:none}}
