:root{color-scheme:light;--paper:#f7f7f2;--surface:#fffefa;--ink:#20352f;--muted:#596660;--line:#d6ddd5;--teal:#176657;--teal-hover:#104f43;--soft:#edf3ed;--danger:#a32d22;--danger-bg:#fff1ec;--focus:#136fba;--feedback-surface:var(--surface);--feedback-focus:var(--focus);color:var(--ink);background:var(--paper);font-synthesis:none;text-rendering:optimizelegibility;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{color:var(--teal);text-underline-offset:.2em}a:hover{text-decoration-thickness:2px}button,input,select,textarea{font:inherit}button{cursor:pointer}button,input,select,textarea{touch-action:manipulation}button:disabled{opacity:.55;cursor:not-allowed}button:active:not(:disabled){transform:translateY(1px)}::selection{color:var(--ink);background:#c7e4d5}input,textarea{caret-color:var(--teal)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{z-index:1;position:relative}[hidden]{display:none!important}h1,h2,h3,p,dl,figure{margin:0}h1,h2,h3{text-wrap:balance;line-height:1.2}h1{letter-spacing:-.025em;font-size:1.75rem;font-weight:700}h2{letter-spacing:-.015em;font-size:1.375rem}h3{font-size:1.0625rem}p+p{margin-top:.75rem}svg{flex-shrink:0}fieldset{border:0;min-width:0;margin:0;padding:0}legend{overflow-wrap:anywhere;font-weight:650}img,svg{max-width:100%}main{max-width:76rem;margin:auto;padding:1.75rem 2rem 3rem}.site-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:1.5rem;max-width:76rem;margin:auto;padding:1.125rem 2rem;display:flex}.brand{color:var(--ink);align-items:center;gap:.625rem;font-weight:700;line-height:1.15;text-decoration:none;display:inline-flex}.brand img{flex-shrink:0}.header-link{white-space:nowrap;font-size:.875rem}.site-footer{border-top:1px solid var(--line);max-width:76rem;color:var(--muted);margin:auto;padding:1.5rem 2rem 2rem;font-size:.875rem}.site-footer nav{flex-wrap:wrap;gap:1rem;margin-bottom:.75rem;display:flex}.skip-link{background:var(--surface);z-index:10;padding:.6rem 1rem;position:fixed;top:8px;left:8px;transform:translateY(-160%)}.skip-link:focus{transform:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.page-title{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.planner-columns{grid-template-columns:minmax(19rem,.9fr) minmax(0,1.1fr);align-items:start;gap:2.5rem;display:grid}.input-panel,.result-panel{min-width:0}.input-panel{border-right:1px solid var(--line);padding-right:2rem}.result-panel{padding-top:.25rem}.field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.875rem 1rem;display:grid}.field{flex-direction:column;align-items:stretch;gap:.35rem;min-width:0;font-size:.875rem;font-weight:600;display:flex}.field>.optional,.field>.unit{font-weight:400}.field input,.field select,.field textarea{background:var(--surface);width:100%;min-width:0;min-height:44px;color:var(--ink);font-variant-numeric:tabular-nums;border:1px solid #8d9c92;border-radius:6px;padding:.5rem .625rem;font-size:1rem;font-weight:400;line-height:1.4}.field input::placeholder,.field textarea::placeholder{color:#68766d;opacity:1}.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--teal)}.field select{appearance:none;background-image:url(/chevron.svg);background-position:right 14px center;background-repeat:no-repeat;background-size:12px 8px;padding-right:2.5rem}.field input[type=file]{padding:.4rem;font-size:.875rem}.field input[type=file]::file-selector-button{font:inherit;border:1px solid var(--line);background:var(--soft);color:var(--ink);border-radius:4px;margin-right:.5rem;padding:.3rem .5rem}.field textarea{resize:vertical;min-height:6rem}.optional,.unit{color:var(--muted);font-size:.8125rem}.full-width{grid-column:1/-1}.field-error{color:var(--danger);font-size:.8125rem;font-weight:500;line-height:1.4}.field-error:empty{display:none}[aria-invalid=true]{border-color:var(--danger)!important;background:var(--danger-bg)!important}.narrow-field{max-width:26rem}.debt-card{border-bottom:1px solid var(--line);padding:1.25rem 0 1rem;position:relative}.debt-card:first-child{padding-top:0}.debt-card legend{padding:0 2rem 0 0;font-size:1rem}.debt-heading{justify-content:flex-end;align-items:center;min-height:1.5rem;margin-top:-1.5rem;margin-bottom:.75rem;display:flex}.debt-number{display:none}.debt-card .field-grid{row-gap:.75rem}.debt-card .field{grid-template-columns:1fr auto;align-content:start;align-items:end;gap:.25rem;display:grid}.debt-card .field input,.debt-card .field select,.debt-card .field .field-error{grid-column:1/-1}.debt-card .unit,.debt-card .optional{white-space:nowrap}.debt-card .field select{align-self:end}.debt-card .full-width{grid-template-columns:1fr auto;display:grid}.estimated-note{color:#765215;margin-top:.6rem;font-size:.8125rem}.field-help{margin-top:.625rem;font-size:.8125rem;border:0!important;padding:0!important}.field-help summary{color:var(--teal);padding:.25rem 0!important;font-size:.8125rem!important;font-weight:400!important}.field-help p{margin:.6rem 0}.field-help .small-copy{overflow-wrap:anywhere;font-size:.75rem}.primary,.secondary,.add-button{border-radius:6px;justify-content:center;align-items:center;gap:.625rem;min-height:44px;padding:.6rem 1rem;font-size:.9375rem;font-weight:650;line-height:1.4;text-decoration:none;display:inline-flex}.primary{border:1px solid var(--teal);background:var(--teal);color:#fff}.primary:hover{background:var(--teal-hover);border-color:var(--teal-hover)}.secondary{background:var(--surface);color:var(--ink);border:1px solid #9bac9f}.secondary:hover{background:var(--soft);border-color:var(--teal)}.text-button{min-height:44px;color:var(--teal);text-underline-offset:.2em;background:0 0;border:0;padding:.35rem .1rem;font-size:.875rem;font-weight:500;text-decoration:underline}.text-button:hover{text-decoration-thickness:2px}.danger{color:var(--danger)}.small{min-height:36px;padding:.375rem .625rem;font-size:.8125rem}.add-button{width:100%;color:var(--teal);background:0 0;border:1px dashed #9bac9f;justify-content:flex-start;margin-top:.75rem;padding:.5rem .75rem}.add-button:hover{border-color:var(--teal);background:var(--soft)}.budget-fields{gap:.75rem;margin-top:1.25rem;display:grid}.budget-fields .field{gap:.3rem}.budget-totals{color:var(--muted);margin:1rem 0;font-size:.8125rem}.budget-totals>div{justify-content:space-between;gap:1rem;display:flex}.budget-totals dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0}.budget-totals .total{color:var(--ink);border-top:1px solid var(--line);margin-top:.35rem;padding-top:.35rem;font-size:.9375rem;font-weight:700}.calculate{justify-content:space-between;width:100%;padding:.7rem .875rem}.plan-options{margin-top:.875rem!important}.tool-support{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-top:.25rem;font-size:.8125rem;display:flex}.tool-support .portfolio-feedback{margin:0}.status{color:var(--muted);margin-top:.5rem;font-size:.875rem}.status:empty{margin:0}.error-summary:empty{display:none}.error-summary{background:var(--danger-bg);color:var(--danger);border-radius:6px;margin-bottom:1rem;padding:.875rem;font-size:.875rem}.notice{color:#694b18;background:#fff3dc;border-radius:6px;margin:.75rem 0;padding:.75rem 1rem;font-size:.875rem}.small-copy{overflow-wrap:anywhere;color:var(--muted);font-size:.8125rem;line-height:1.5}.empty-state{max-width:29rem;color:var(--muted);padding:3.5rem 1.5rem 4rem}.empty-state svg{color:#698879;margin-bottom:1.5rem}.empty-state h2{color:var(--ink);margin-bottom:.75rem}.empty-state .small-copy{margin-top:1.25rem}.result-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:1.25rem;display:flex}.result-date{color:var(--muted);font-size:.875rem}.table-wrap{overscroll-behavior-inline:contain;scrollbar-color:#9bac9f var(--paper);scrollbar-width:thin;max-width:100%;overflow:auto}.table-wrap:focus-visible{outline-offset:-3px}table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.8125rem}caption{text-align:left;color:var(--ink);padding:.5rem 0;font-size:.9375rem;font-weight:650}th,td{text-align:right;border-bottom:1px solid var(--line);white-space:nowrap;vertical-align:top;padding:.625rem .5rem}th:first-child,td:first-child{text-align:left;white-space:normal;overflow-wrap:anywhere;min-width:6.5rem;max-width:14rem}thead th{color:var(--muted);background:var(--soft);z-index:1;font-weight:600;position:sticky;top:0}tfoot td,tfoot th{font-weight:700}.result-metrics{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 1.25rem;margin:1.5rem 0 .75rem;display:grid}.result-metrics>div{border-top:1px solid var(--line);padding:.875rem 0}.result-metrics dt{color:var(--muted);font-size:.8125rem}.result-metrics dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:.25rem 0 0;font-size:1.25rem;font-weight:650}.result-metrics dd small{font-size:.8125rem;font-weight:400}.reference-field{margin:1.25rem 0 .5rem}.reference-field select{font-size:.875rem}.result-actions,.button-row{flex-wrap:wrap;align-items:center;gap:.625rem;margin-top:1rem;display:flex}.result-actions .text-button{padding-inline:.25rem}.plan-detail{margin:2.5rem 0}.plan-detail>h2{margin-bottom:1.25rem}.balance-figure{margin-bottom:1rem}.balance-figure svg{width:100%;height:auto;max-height:24rem;display:block}.balance-figure figcaption{color:var(--muted);margin-top:.75rem;font-size:.8125rem}.balance-figure text{fill:var(--muted);font:12px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}details{border-top:1px solid var(--line);padding:.875rem 0}details>summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;min-height:30px;padding:.125rem 0;font-size:.9375rem;font-weight:600;list-style:none;display:flex}details>summary::-webkit-details-marker{display:none}details>summary:after{content:"";background:url(/chevron.svg) 50%/12px 8px no-repeat;flex-shrink:0;width:12px;height:8px;transition:transform .16s ease-out;display:block}details[open]>summary:after{transform:rotate(180deg)}details[open]>summary{margin-bottom:.875rem}details>p,details>form>p{max-width:72ch;font-size:.875rem}details .field-grid{margin:.875rem 0}details>h3{margin-top:1.5rem;margin-bottom:.75rem}.workspace{margin-top:2.5rem}.section-intro{max-width:65ch;color:var(--muted);margin-top:.5rem;margin-bottom:1rem;font-size:.875rem}.storage-status{color:var(--muted);padding:.75rem 0 1.25rem;font-size:.8125rem}.subform{border-top:1px solid var(--line);padding:1.25rem 0}.subform:first-of-type{border-top:0;padding-top:0}.subform h3,.subform .small-copy{margin-bottom:.75rem}.preview{background:var(--soft);border-radius:8px;margin:1rem 0;padding:1rem}.preview h3{margin-bottom:.75rem}.preview p,.preview li{font-size:.875rem}.import-group{margin-top:1.5rem}.import-group .small-copy{margin-top:.5rem}.budget-item{border-bottom:1px solid var(--line);padding:1rem 0}.budget-item .text-button{align-self:end}.budget-summary{margin:1rem 0}dialog{border:1px solid var(--line);background:var(--surface);width:min(36rem,100vw - 2rem);max-height:calc(100dvh - 2rem);color:var(--ink);border-radius:12px;padding:1.5rem;overflow:auto}dialog::backdrop{background:#14251e73}dialog h2{margin-bottom:1rem}dialog p,dialog li{font-size:.9375rem}.print-only{display:none}.prose{max-width:70ch;margin:1rem auto 3rem}.prose h1{margin-bottom:1.5rem}.prose h2{margin:2rem 0 .75rem;font-size:1.25rem}.prose h3{margin:1.5rem 0 .625rem}.prose p,.prose li{line-height:1.7}.prose ul,.prose ol{padding-left:1.25rem}.prose li+li{margin-top:.5rem}.prose dl{grid-template-columns:auto 1fr;gap:.5rem 1rem;display:grid}.prose dd{overflow-wrap:anywhere;margin:0}.prose .table-wrap{margin:1rem 0}.prose .back-link{margin-top:2rem;display:inline-block}.ad-controls{margin-block:1.5rem}.archive-visibility{margin-top:.5rem}.archive-toggle{cursor:pointer;align-items:center;gap:.5rem;min-height:44px;font-size:.875rem;display:flex}.archive-toggle input{width:18px;height:18px;accent-color:var(--teal);flex-shrink:0;margin:0}.budget-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:.75rem}.budget-fields .field{grid-row:span 3;grid-template-rows:subgrid;display:grid}.budget-fields .field select{background-position:right 12px center;padding-left:.5rem;padding-right:2.125rem;font-size:.8125rem}.budget-fields .field>span:first-child{align-self:end}.budget-fields .field .unit{white-space:nowrap}@media (width>=1000px){.workspace>details{padding:1rem 0}.workspace>details>form,.workspace>details>p{max-width:52rem}.workspace>details>summary{font-size:1rem}.planner-columns{gap:3rem}.result-panel{padding-right:.5rem}}@media (width<=760px){main{padding:1.25rem 1rem 2rem}.site-header{padding:.875rem 1rem}.brand{gap:.5rem;font-size:.875rem}.brand img{width:26px;height:26px}.header-link{font-size:.8125rem}.page-title{align-items:flex-start;gap:.75rem;margin-bottom:1rem}.page-title h1{max-width:16rem;font-size:1.5rem}.page-title .text-button{text-align:right;flex-shrink:0;max-width:5rem;min-height:32px;font-size:.75rem;line-height:1.35}.planner-columns{grid-template-columns:minmax(0,1fr);gap:1.75rem}.input-panel{border:0;padding:0}.result-panel{border-top:1px solid var(--line);padding:0}.empty-state{max-width:none;padding:1.5rem 0}.empty-state svg{display:none}.empty-state h2{font-size:1.125rem}.empty-state p{font-size:.875rem}.result-heading{margin-top:1.5rem}.debt-card{padding-top:1rem;padding-bottom:.75rem}.debt-card .field-grid{gap:.625rem .75rem}.debt-card .field{font-size:.8125rem}.budget-fields{gap:.625rem;margin-top:1rem}.budget-totals{margin:.75rem 0}.plan-options{margin-top:.75rem!important}.plan-options>summary{font-size:.8125rem}.tool-support{gap:.75rem}.result-metrics{column-gap:1rem}.result-metrics dd{font-size:1.125rem}.result-actions{gap:.5rem}.plan-detail,.workspace{margin-top:2rem}.site-footer{padding:1.25rem 1rem 1.5rem}.prose{margin-top:.5rem}.prose h1{font-size:1.625rem}}@media (width<=360px){.budget-fields{grid-template-columns:1fr}.budget-fields .field{grid-row:auto;grid-template-rows:auto auto auto}.site-header{gap:.5rem}.header-link{font-size:.75rem}.brand{max-width:13rem}.page-title h1{font-size:1.375rem}.field-grid{grid-template-columns:minmax(0,1fr);gap:.75rem}.debt-card .field .unit,.debt-card .field .optional{font-size:.6875rem}.debt-card .full-width .unit{font-size:.75rem}.field select{background-position:right 12px center;padding-left:.5rem;padding-right:2.125rem;font-size:.9375rem}.result-metrics{grid-template-columns:1fr 1fr}.button-row>.primary,.button-row>.secondary{max-width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}button:active:not(:disabled){transform:none}}@media print{@page{size:landscape;margin:12mm}body{color:#000;background:#fff;font-size:9pt}.site-header,.site-footer,.skip-link,[data-ad-controls],[data-snowball-ad-slot],.planner>:not(#print-plan){display:none!important}main{max-width:none;padding:0}#print-plan{display:block!important}#print-plan h1{margin-bottom:8pt;font-size:18pt}#print-plan h2{margin:14pt 0 6pt;font-size:13pt}#print-plan h3{margin:10pt 0 5pt;font-size:11pt}#print-plan p{margin:5pt 0;font-size:9pt}#print-plan table{table-layout:auto;width:100%;font-size:8pt}#print-plan th,#print-plan td{color:#000;white-space:normal;overflow-wrap:anywhere;border-color:#aaa;max-width:none;padding:4pt 3pt}#print-plan thead{display:table-header-group}#print-plan thead th{background:#eee;position:static}#print-plan tr{break-inside:avoid}#print-plan h2,#print-plan h3,#print-plan caption{break-after:avoid}#print-plan .table-wrap{overflow:visible}a{color:#000;text-decoration:none}}
