*{box-sizing:border-box} :root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#142d42;background:#f2f5f8;font-size:16px;line-height:1.5}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #c8d3dd;background:white;color:#17354d;border-radius:9px;padding:10px 16px;min-height:44px;font-weight:600}button:hover{background:#e9f0f5}button:disabled{cursor:wait;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #16876f;outline-offset:3px}.primary{background:#173d58;color:white;border-color:#173d58}.primary:hover{background:#245674}header{display:flex;align-items:center;justify-content:space-between;padding:22px max(24px,calc((100vw - 1120px)/2));background:white;border-bottom:1px solid #dae3eb;gap:16px}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:19px}.brand-icon{background:#173d58;color:white;padding:5px 13px;border-radius:12px;font-size:24px}.brand small{display:block;color:#617182;font-size:13px;font-weight:400}main{max-width:1168px;padding:28px 24px;margin:auto}h1{font-size:clamp(28px,4vw,38px);letter-spacing:-1.1px;line-height:1.2;margin:10px 0}h2{font-size:21px;margin:0}p{color:#526778}.eyebrow{font-size:12px;font-weight:750;letter-spacing:1.8px;color:#517084}.title-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 28px}.title-row p{font-size:14px;margin:10px 0 0}.month-tools{display:grid;grid-template-columns:1fr auto;gap:8px}.month-tools label{grid-column:1/-1;font-size:14px}.totals{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:18px}.totals article{background:white;border:1px solid #dae3eb;border-radius:16px;padding:24px}.totals span,.totals small{display:block}.totals span{font-size:15px}.totals strong{font-size:clamp(25px,3vw,37px);display:block;margin:8px 0;letter-spacing:-1px;font-variant-numeric:tabular-nums}.totals small{color:#627789;font-size:14px}.totals .remaining{background:#173d58;color:white;border-color:#173d58}.remaining small{color:#c6dce9}.progress-caption{display:flex;justify-content:space-between;font-size:14px;margin:21px 0 6px;color:#536b7c}progress{width:100%;height:8px;border:0;border-radius:12px;overflow:hidden;background:#dce6ec}progress::-webkit-progress-bar{background:#dce6ec}progress::-webkit-progress-value{background:#15846d}progress::-moz-progress-bar{background:#15846d}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:32px 0 16px}.group{margin:16px 0 24px;background:white;border:1px solid #dae3eb;border-radius:14px;overflow:hidden}.group-heading{padding:16px 20px;background:#e9eff4;display:flex;justify-content:space-between;align-items:center;gap:12px}.group-heading h3{font-size:16px;margin:0}.group-heading span{font-size:14px;color:#526778}.row{padding:14px 20px;display:grid;grid-template-columns:28px 1fr auto auto;align-items:center;gap:14px;border-top:1px solid #e8edf1}.row input[type=checkbox]{accent-color:#16836c;width:24px;height:24px;cursor:pointer;margin:0}.row label{font-weight:650;cursor:pointer;overflow-wrap:anywhere}.row small{display:block;font-size:14px;color:#607384;font-weight:400;margin-top:3px}.row .amount{font-variant-numeric:tabular-nums;font-weight:700;white-space:nowrap}.row.done{background:#f4faf7}.row.done label{color:#576f64}.row.done .amount{color:#16755f}.row.dormant{background:#fafbfc}.row.dormant .amount{color:#657789}.row button{font-size:14px;padding:8px 12px}.empty{padding:24px;color:#617587}.footer-tools{display:flex;gap:10px;flex-wrap:wrap}.hint{font-size:14px;max-width:850px}.welcome{max-width:530px;margin:38px auto;background:white;border:1px solid #d7e1e9;border-radius:20px;padding:32px}.welcome h1{font-size:39px}.welcome small{display:block;margin-top:12px;color:#617587;font-size:14px}label{display:block}input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid #bbcbd7;border-radius:8px;padding:11px 12px;background:white;color:#142d42;min-width:0}form label{margin:14px 0;font-size:14px;font-weight:600}form>.primary{width:100%;margin:10px 0}#demo{width:100%;margin-top:8px}#notice:not(:empty){background:#fff5d9;border:1px solid #dec588;padding:14px 18px;border-radius:10px;margin-bottom:16px}dialog{border:0;border-radius:16px;padding:24px;width:min(540px,calc(100% - 24px));max-height:90vh;color:#142d42;box-shadow:0 20px 100px #10283b55}dialog::backdrop{background:#10283b88}.dialog-title,.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.dialog-actions{margin-top:20px}.dialog-actions .primary{margin-left:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.danger{color:#a52d39}footer{text-align:center;padding:25px 16px;color:#617587;font-size:14px}[hidden]{display:none!important}@media(max-width:650px){header{padding:15px 18px}.brand{font-size:17px}main{padding:18px 14px}.title-row{align-items:stretch;flex-direction:column;gap:16px}.totals{grid-template-columns:1fr 1fr;gap:10px}.totals .remaining{grid-column:1/-1}.totals article{padding:18px}.remaining strong{font-size:36px}.totals strong{font-size:28px}.list-toolbar{align-items:flex-start}.list-toolbar button{font-size:14px}.row{grid-template-columns:28px 1fr auto;gap:10px;padding:14px}.row button{grid-column:2/4;justify-self:end;min-height:38px}.group-heading{padding:14px;align-items:flex-start;flex-direction:column;gap:4px}.welcome{padding:24px;margin:20px auto}.welcome h1{font-size:32px}.form-grid{grid-template-columns:1fr}.month-tools{grid-template-columns:1fr}.month-tools label{grid-column:auto}}
