.calculator-card{margin:0 auto}.calculator-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);align-items:start;gap:20px}.investment-calculator{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr);align-items:start;gap:18px;margin:0 auto}.investment-calculator .calculator-inputs,.investment-calculator .calculator-output{padding:22px}.investment-form-fields{display:grid;gap:17px}.calculator-input-header{margin:0 0 19px}.calculator-input-header .eyebrow{margin:0 0 5px}.calculator-input-header h2{margin:0;color:var(--dark-green);font-size:20px;letter-spacing:-.4px}.calculator-input-header>p:last-child{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.investment-check{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdfb;color:#344a3d;cursor:pointer;font-size:12px;font-weight:650}.investment-check input{width:17px;height:17px;flex:none;margin:1px 0 0;accent-color:var(--green)}.investment-check span{display:grid;gap:3px}.investment-check small{color:var(--muted);font-size:11px;font-weight:450;line-height:1.5}.investment-rows{display:grid;gap:12px}.investment-rows>h2{margin:0;color:var(--dark-green);font-size:16px}.investment-rows>p{margin:-6px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.investment-row{min-width:0;margin:0;padding:14px;border:1px solid var(--line);border-radius:10px}.investment-row legend{padding:0 5px;color:var(--green-hover);font-size:11px;font-weight:740}.investment-row .input-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.investment-file-field input{min-height:40px;padding:8px;font-size:12px}.investment-price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.investment-form-fields textarea{width:100%;min-height:90px;padding:10px 12px;border:1px solid #c5d4c9;border-radius:7px;background:#fcfdfc;color:var(--ink);font:inherit;font-size:13px;resize:vertical}.investment-form-fields textarea:focus{border-color:var(--green);outline:3px solid rgb(39 134 76/15%)}.investment-empty-state{margin:0;padding:12px;border:1px dashed #bdcec0;border-radius:8px;background:#fbfdfb;color:var(--muted);font-size:12px;line-height:1.55}.calculator-error{padding:17px;border:1px solid #e8c5bd;border-radius:10px;background:#fff8f6;color:#783d32}.calculator-error strong{font-size:14px}.calculator-error p{margin:5px 0 0;font-size:12px;line-height:1.6}.investment-result-note{margin:12px 0 0;padding:10px 12px;border-left:3px solid #8ab899;border-radius:0 7px 7px 0;background:#f6faf6;color:var(--muted-strong);font-size:11px;line-height:1.6}.investment-data-table{margin-top:14px}.investing-hub-note{max-width:820px;margin:24px auto 36px;padding:17px 20px;border:1px solid #d5e6d9;border-radius:11px;background:var(--surface);color:var(--dark-green)}.investing-hub-note strong{font-size:14px}.investing-hub-note p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.investing-group{margin:38px 0 0}.investing-group h2{margin:0 0 16px;color:var(--dark-green);font-size:22px;letter-spacing:-.4px}.investing-group .tool-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.investing-group .tool-card{min-height:180px}.investing-methodology{max-width:var(--reading-width);margin:45px auto 0;padding-top:25px;border-top:1px solid var(--line)}.investing-methodology h2{margin:0 0 10px;color:var(--dark-green);font-size:21px}.investing-methodology p{color:#405449;font-size:14px;line-height:1.75}.investing-methodology a{color:var(--green-hover);text-decoration:underline;text-decoration-color:#a3c8ac;text-underline-offset:3px}.investing-explanation{margin-bottom:12px}.calculator-inputs,.calculator-output{min-width:0;padding:24px;border:1px solid var(--line);border-radius:var(--radius-md);background:white}.calculator-panel-heading{margin:0 0 20px}.calculator-panel-heading .eyebrow{margin-bottom:5px}.calculator-panel-heading h2{margin:0;color:var(--dark-green);font-size:21px;letter-spacing:-.5px;line-height:1.3}.calculator-panel-heading p:last-child{margin:6px 0 0;color:var(--muted);font-size:12px}.input-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field{display:flex;min-width:0;flex-direction:column;gap:7px;color:#344a3d;font-size:12px;font-weight:680;line-height:1.4}.field input,.field select{width:100%;min-height:46px;padding:10px 12px;border:1px solid #c5d4c9;border-radius:7px;background:#fcfdfc;color:var(--ink);outline:none;font-size:15px;font-weight:500;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.field input:hover,.field select:hover{border-color:#91ad98;background:white}.field input:focus,.field select:focus{border-color:var(--green);background:white;box-shadow:0 0 0 3px rgb(39 134 76/15%)}.field input::placeholder{color:#87948b}.field.compact{max-width:360px;margin-top:16px}.check-field{display:inline-flex;align-items:center;gap:9px;min-height:42px;margin-top:11px;color:#344a3d;cursor:pointer;font-size:13px;font-weight:650}.check-field input{width:17px;height:17px;accent-color:var(--green)}.field-hint{max-width:580px;margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.55}.secondary-button{min-height:38px;margin-top:16px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:8px;background:white;color:var(--green-hover);cursor:pointer;font-size:11px;font-weight:700}.secondary-button:hover{border-color:var(--green);background:var(--surface)}.remove-debt{margin-top:13px;color:#8a3737}.reset-button{display:block}.debt-list{display:grid;gap:12px}.debt-row{min-width:0;margin:0;padding:15px;border:1px solid var(--line);border-radius:10px}.debt-row legend{padding:0 5px;color:var(--green-hover);font-size:11px;font-weight:760}.debt-row .input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator-output .results{margin:0;padding:19px 20px;border:1px solid #d8eadc;border-radius:12px;background:var(--surface)}.results .eyebrow{margin-bottom:4px;font-size:9px}.results h2{margin:0 0 10px;color:var(--dark-green);font-size:19px;letter-spacing:-.4px}.calculator-localization-note,.results-explanation,.table-explanation{margin:0 0 10px;color:var(--muted);font-size:12px;line-height:1.6}.calculator-localization-note{max-width:760px;margin:10px 0 0;padding:10px 12px;border-left:3px solid #8ab899;border-radius:0 7px 7px 0;background:#f6faf6;font-size:12px}.results-explanation{margin:0 0 6px}.result-row{display:flex;gap:16px;padding:10px 0;border-bottom:1px solid #d9e8dc;color:#405449;font-size:12px;line-height:1.5}.result-row:last-child{border-bottom:0}.result-row strong{color:var(--dark-green);font-size:13px;font-weight:720;text-align:right}.result-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.result-row{min-width:0;min-height:65px;flex-direction:column;justify-content:space-between;gap:6px;padding:11px 12px;border:1px solid #e3ebe4;border-radius:9px;background:#fff}.result-row span{color:#53635a;font-size:11px}.result-row strong{max-width:100%;color:#203c2d;font-size:clamp(14px,1.3vw,17px);text-align:left;overflow-wrap:anywhere}.result-row.primary-result-row{grid-column:1/-1;min-height:96px;justify-content:center;padding:16px 17px;border-color:#c8e0ce;background:linear-gradient(135deg,#f4faf5,#fff 78%)}.result-row.primary-result-row span{color:#365a43;font-size:12px;font-weight:680}.result-row.primary-result-row strong{color:#145b38;font-size:clamp(25px,3vw,36px);letter-spacing:-.7px;line-height:1.15}.calculator-output .visualization-slot{margin-top:16px}.calculator-output .financial-chart{margin-top:0;padding:14px;border-radius:10px}.calculator-output .chart-viewport{border:0;background:transparent}.calculator-output .chart-hint{margin-bottom:4px}.calculator-output .note{margin-top:15px}.calculator-details{width:100%;min-width:0;margin-top:22px}.visualization-slot{min-width:0}.visualization-placeholder{min-height:80px}.financial-chart,.schedule{min-width:0;margin:22px 0 0;padding:17px;border:1px solid var(--line);border-radius:12px;background:white}.financial-chart h3{margin:0 0 9px;color:var(--dark-green);font-size:15px}.chart-description{margin:0 0 11px;color:var(--muted);font-size:12px;line-height:1.6}.chart-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:10px 0;padding:0;color:var(--muted);font-size:11px;list-style:none}.chart-legend li{display:flex;align-items:center;gap:7px}.chart-legend li span{width:11px;height:11px;flex:none;border-radius:3px}.chart-viewport{width:100%;min-width:0;overflow:hidden;border:1px solid #edf1ed;border-radius:8px;background:linear-gradient(180deg,#fff,#fbfcfb)}.chart-viewport svg{display:block;width:100%;height:260px;overflow:hidden}.chart-gridline{stroke:#e3e9e4;stroke-width:1}.chart-zero-line{stroke:#8b9a8f;stroke-width:1.5}.chart-axis-title,.chart-tick,.chart-x-tick{fill:#5d6a61;font-size:10px}.chart-value-label{fill:#344a3d;font-size:10px;font-weight:700}.chart-axis-title{font-size:11px;font-weight:600}.chart-x-tick{font-size:9px}.financial-chart circle,.financial-chart rect{outline:none}.financial-chart circle:focus,.financial-chart rect:focus{stroke:var(--dark-green);stroke-width:3}.chart-hint{margin:7px 0 10px;color:var(--muted);font-size:11px;line-height:1.55}.chart-data summary{padding:7px 0;color:var(--green-hover);cursor:pointer;font-size:12px;font-weight:700}.table-scroll{max-height:420px;overflow:auto;margin-top:8px;border:1px solid var(--line);border-radius:8px}.chart-data table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.chart-data caption,.schedule caption{padding:10px 12px;color:var(--muted);font-size:12px;font-weight:650;text-align:left}.chart-data td,.chart-data th{padding:9px 12px;border-bottom:1px solid var(--line);text-align:right}.chart-data td:first-child,.chart-data th:first-child{text-align:left}.chart-data thead{position:sticky;top:0;background:#f2f6f2}.chart-data tbody tr:nth-child(2n),.schedule tbody tr:nth-child(2n){background:#fafbfa}.yearly-balance{margin-top:0;padding:17px 18px;border:1px solid var(--line);border-radius:10px;background:white}.yearly-balance summary{padding:0 0 12px;color:var(--dark-green);cursor:pointer;font-size:15px;font-weight:720}.table-explanation{margin:0 0 10px}.yearly-balance .table-scroll{max-height:380px;margin-top:0}.yearly-balance table{width:100%;border-collapse:collapse;font-size:12px}.yearly-balance caption{padding:9px 11px;color:var(--muted);font-size:11px;text-align:left}.yearly-balance td,.yearly-balance th{padding:7px 11px;border-bottom:1px solid #e2eae3;text-align:right}.yearly-balance td:first-child,.yearly-balance th:first-child{text-align:left}.yearly-balance thead{position:sticky;top:0;background:var(--surface)}.yearly-balance tbody tr:nth-child(2n){background:#f7faf7}@media (max-width:760px){.calculator-layout,.investment-calculator{grid-template-columns:1fr}.investing-group .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calculator-inputs,.calculator-output{padding:20px}.financial-chart{margin-top:20px;padding-top:15px}.yearly-balance{padding:15px}.yearly-balance table{font-size:12px}.yearly-balance td,.yearly-balance th{padding:8px 10px}.chart-viewport svg{height:238px}.chart-legend{gap:7px 12px;font-size:10px}.chart-x-tick{font-size:8px}.chart-data table{font-size:11px}}@media (max-width:520px){.calculator-inputs,.calculator-output{padding:17px}.investment-calculator .calculator-inputs,.investment-calculator .calculator-output{padding:16px}.investing-group .tool-grid,.investment-price-grid,.investment-row .input-grid{grid-template-columns:1fr}.calculator-output .results{padding:16px}.result-metrics{gap:7px}.result-row{min-height:62px;padding:9px 10px}.result-row.primary-result-row{min-height:88px}.result-row.primary-result-row strong{font-size:clamp(23px,8vw,32px)}.debt-row .input-grid{grid-template-columns:1fr}}@media (max-width:900px){.calculator-layout{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.financial-chart *{scroll-behavior:auto}}