:root{color:#161616;font-synthesis:none;background:#f4f4f4;font-family:IBM Plex Sans,Arial,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}.app-shell{max-width:1440px;margin:0 auto;padding:2rem 3rem 4rem}.page-header{border-bottom:1px solid #c6c6c6;justify-content:space-between;align-items:flex-start;gap:2rem;margin-bottom:2rem;padding-bottom:2rem;display:flex}.eyebrow{color:#525252;letter-spacing:.08rem;margin:0 0 .5rem;font-size:.75rem}h1,h2,p{margin-top:0}h1{margin-bottom:.5rem;font-size:2.5rem;font-weight:400}h2{margin-bottom:1.5rem;font-size:1.25rem;font-weight:600}.subtitle,.panel-description,.helper-text{color:#525252}.subtitle{max-width:42rem;margin-bottom:0}.workspace{grid-template-columns:minmax(18rem,24rem) 1fr;align-items:start;gap:2rem;display:grid}.panel{background:#fff;border:1px solid #e0e0e0;min-width:0;padding:1.5rem}.panel-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.panel-heading h2{margin-bottom:0}fieldset{border:0;margin:0;padding:0}fieldset+fieldset{border-top:0}legend{margin:0 0 1rem;padding:0;font-size:.875rem;font-weight:600;display:block}.section-toggle{width:100%;font:inherit;color:#161616;cursor:pointer;text-align:left;background:0 0;border:0;border-top:1px solid #e0e0e0;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 0;font-size:.875rem;font-weight:600;display:flex}.inputs-panel fieldset:first-of-type .section-toggle{border-top:0;padding-top:.25rem}.section-toggle:hover,.section-toggle:hover .section-toggle-arrow{color:#0f62fe}.section-toggle-arrow{color:#8d8d8d;flex-shrink:0;font-size:.65rem;transition:transform .18s;transform:rotate(0)}.section-toggle[aria-expanded=true] .section-toggle-arrow{transform:rotate(90deg)}.section-body{width:100%;min-width:0;padding-bottom:1.25rem}.section-body:empty{padding-bottom:0}.field{margin-bottom:1rem;font-size:.875rem;display:block}.field>span{margin-bottom:.375rem;display:block}.input-wrap{background:#f4f4f4;border-bottom:1px solid #8d8d8d;align-items:center;min-width:0;min-height:2.5rem;display:flex}.input-wrap:focus-within{outline-offset:-2px;outline:2px solid #0f62fe}.input-wrap input{color:#161616;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:.625rem .75rem}.step-controls{border-left:1px solid #c6c6c6;flex-direction:column;display:flex}.step-controls button{color:#525252;cursor:pointer;background:0 0;border:0;padding:.125rem .5rem;font-size:.625rem;line-height:1}.step-controls button:hover,.step-controls button:focus-visible{color:#161616;background:#e0e0e0}.input-affix{color:#525252;padding:0 .75rem}.helper-text{margin:1.5rem 0 0;font-size:.75rem;line-height:1.4}.results-column{gap:1.5rem;display:grid}.metric-grid{grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:1.5rem;display:grid}.metric{border-left:3px solid #0f62fe;min-width:0;padding:.5rem 0 .5rem .75rem}.metric span{color:#525252;margin-bottom:.5rem;font-size:.9rem;display:block}.metric strong{overflow-wrap:anywhere;font-size:1.25rem;font-weight:400;display:block}.pill{padding:.375rem .75rem;font-size:.75rem}.success{color:#044317;background:#defbe6}.danger{color:#750e13;background:#fff1f1}.status-dot{background:#24a148;border-radius:50%;width:.5rem;height:.5rem}.secondary-button{cursor:pointer;background:0 0;border:1px solid #161616;padding:.75rem 1rem}.secondary-button:hover{background:#e0e0e0}.chart-panel{min-height:24rem}.chart-panel h2{margin-bottom:.25rem}.panel-description{margin:.5rem 0 0;font-size:.875rem}.chart-panel .panel-description strong{font-size:1rem;font-weight:700}.portfolio-chart{margin-top:1.5rem;padding:0 .5rem}.chart-bars{align-items:end;gap:2px;height:16rem;display:flex}.bar{background:#4589ff;flex:1;min-width:2px;position:relative}.bar:after{content:attr(data-tooltip);color:#fff;white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;z-index:2;background:#161616;padding:.375rem .5rem;font-size:.75rem;position:absolute;bottom:calc(100% + .5rem);left:50%;transform:translate(-50%)}.bar:hover:after,.bar:focus-visible:after{opacity:1;visibility:visible}.retirement-bar{background:#da1e28}.projection-axis{color:#525252;justify-content:space-between;align-items:center;min-height:2rem;margin-top:.75rem;padding:.25rem 0;font-size:1rem;font-weight:700;display:flex}.projection-axis span{padding:0 .25rem}.calculation-log{color:#525252;margin-top:1rem;font-size:.75rem;display:block}.calculation-log span{margin-bottom:.375rem;display:block}.calculation-log textarea{resize:vertical;color:#161616;background:#f4f4f4;border:1px solid #c6c6c6;width:100%;padding:.75rem;font:.75rem/1.5 IBM Plex Mono,monospace;display:block}.retirement-label{color:#da1e28}.chart-note{color:#525252;margin:1rem 0 0;font-size:.75rem}.legend-swatch{vertical-align:-1px;background:#4589ff;width:.75rem;height:.75rem;margin-right:.25rem;display:inline-block}.retirement-swatch{background:#da1e28;margin-left:1rem}.stress-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.5rem;display:grid}.scenario-visualization{border-top:1px solid #e0e0e0;margin-top:1.5rem;padding-top:1rem}.scenario-visualization h3{margin:0 0 .25rem;font-size:1rem}.assumptions-panel p{color:#525252;margin-bottom:0;line-height:1.6}.sim-count-control{align-items:center;display:flex}.sim-count-control label{color:#525252;flex-direction:column;gap:.25rem;font-size:.75rem;display:flex}.sim-count-control label strong{color:#161616}.sim-count-control input[type=range]{accent-color:#0f62fe;cursor:pointer;width:12rem}.event-description{color:#525252;margin:0 0 1rem;font-size:.75rem}.event-preview{overflow-wrap:anywhere;padding-bottom:.5rem;font-size:.8rem;font-weight:600}.event-positive{color:#198038}.event-negative{color:#da1e28}.event-remove{color:#525252;cursor:pointer;background:0 0;border:0;align-self:end;padding:.375rem .5rem;font-size:1rem;line-height:1}.event-remove:hover{color:#da1e28}.event-add{color:#0f62fe;cursor:pointer;background:0 0;border:1px dashed #8d8d8d;width:100%;margin-top:.25rem;padding:.5rem .75rem;font-size:.8rem}.event-add:hover{background:#f0f4ff}.checkbox-field{cursor:pointer;align-items:flex-start;gap:.625rem;margin-top:1rem;font-size:.875rem;display:flex}.checkbox-field input[type=checkbox]{accent-color:#0f62fe;cursor:pointer;flex-shrink:0;width:1rem;height:1rem;margin-top:.15rem}.checkbox-field span{color:#161616;line-height:1.4}.checkbox-detail{color:#525252;margin:.375rem 0 0 1.625rem;font-size:.75rem;line-height:1.5}.annuity-entry{border:1px solid #e0e0e0;min-width:0;margin-bottom:.75rem;padding:1rem}.annuity-entry-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.annuity-entry-label{color:#525252;text-transform:uppercase;letter-spacing:.04rem;font-size:.8rem;font-weight:600}.annuity-entry .field{margin-bottom:.75rem}.annuity-entry .event-preview{margin-top:.25rem;font-size:.875rem;font-weight:600;display:block}@media (width<=900px){.app-shell{padding:1.5rem}.workspace{grid-template-columns:1fr}}@media (width<=600px){.page-header{display:block}.secondary-button{margin-top:1.5rem}.metric-grid,.stress-grid{grid-template-columns:repeat(2,1fr)}}.mc-chart-wrap{background:#fff;border:1px solid #e0e0e0;margin-top:1rem;position:relative;overflow:hidden}.mc-chart-svg{width:100%;height:auto;display:block}.mc-grid-line{stroke:#e0e0e0;stroke-width:1px;vector-effect:non-scaling-stroke}.mc-axis-line{stroke:#161616;stroke-width:1.5px;vector-effect:non-scaling-stroke}.mc-tick-line{stroke:#525252;stroke-width:1px;vector-effect:non-scaling-stroke}.mc-axis-label{fill:#525252;font:12px IBM Plex Sans,Arial,sans-serif}.mc-axis-title{fill:#161616;font:13px IBM Plex Sans,Arial,sans-serif}.mc-line{fill:none;stroke:#9e9e9e;stroke-width:.8px;stroke-opacity:.35;vector-effect:non-scaling-stroke;cursor:pointer}.mc-line--depleted{stroke:#da1e28;stroke-opacity:.55}.mc-line--hovered{stroke-width:2.5px;stroke-opacity:1}.mc-down-dot{fill:#f1c21b;stroke:#8a6900;stroke-width:1px}.mc-tooltip{color:#fff;pointer-events:none;background:#161616;gap:.25rem;min-width:13rem;max-height:calc(88% - .5rem);padding:.75rem;font-size:.75rem;display:grid;position:absolute;top:calc(4.5% + .25rem);left:calc(8% + .75rem);overflow:hidden}.mc-tooltip strong{font-size:.875rem;display:block}.mc-tooltip span{display:block}.mc-tooltip--depleted{border-left:3px solid #da1e28}.mc-tooltip-down{color:#f1c21b;white-space:nowrap}.mc-tooltip-down-header{color:#a8a8a8;margin-top:.25rem}.mc-legend{background:#fafafa;border-top:1px solid #e0e0e0;flex-wrap:wrap;align-items:center;gap:1.25rem;padding:.5rem .75rem;display:flex}.mc-legend-item{color:#525252;align-items:center;gap:.375rem;font-size:.75rem;display:flex}.mc-legend-item svg{flex-shrink:0;overflow:visible}.scenario-table-details{border-top:1px solid #e0e0e0;margin-top:1.5rem}.scenario-table-summary{cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.5rem;padding:.75rem 0 .5rem;font-size:.875rem;font-weight:600;list-style:none;display:flex}.scenario-table-summary::-webkit-details-marker{display:none}.scenario-table-summary:before{content:"▶";color:#525252;flex-shrink:0;font-size:.65rem;transition:transform .15s}.scenario-table-details[open] .scenario-table-summary:before{transform:rotate(90deg)}.scenario-table-summary span{color:#161616}.scenario-table-wrap{border:1px solid #e0e0e0;max-height:24rem;margin-top:.25rem;overflow-y:auto}.scenario-table{border-collapse:collapse;width:100%;font-size:.75rem}.scenario-table thead{z-index:1;background:#f4f4f4;position:sticky;top:0}.scenario-table th{text-align:left;white-space:nowrap;border-bottom:2px solid #c6c6c6;padding:.5rem .75rem;font-weight:600}.scenario-table td{vertical-align:top;border-bottom:1px solid #e0e0e0;padding:.375rem .75rem}.scenario-table th:first-child,.scenario-table td:first-child,.scenario-table th:nth-child(4),.scenario-table td:nth-child(4){text-align:center}.scenario-table tbody tr:last-child td{border-bottom:0}.scenario-table tbody tr:hover{background:#f4f4f4}.scenario-row-depleted td{color:#da1e28}.scenario-row-depleted td:first-child{font-weight:600}.sortable-th{cursor:pointer;white-space:nowrap;-webkit-user-select:none;user-select:none}.sortable-th:hover{background:#e8e8e8}.sort-active{background:#e0e0e0}.ssa-calc{background:#edf4ff;border:1px solid #d0e2ff;min-width:0;margin-bottom:1rem;padding:1rem;font-size:.875rem}.ssa-calc *{box-sizing:border-box}.ssa-calc-header{justify-content:space-between;align-items:center;gap:.5rem;min-width:0;margin-bottom:.75rem;display:flex;overflow:hidden}.ssa-calc-title{color:#0043ce;text-transform:uppercase;letter-spacing:.04rem;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:.8rem;font-weight:600;overflow:hidden}.ssa-calc-ref{color:#0043ce;white-space:nowrap;flex-shrink:0;font-size:.75rem;text-decoration:none}.ssa-calc-ref:hover{text-decoration:underline}.ssa-calc-fields{gap:0;width:100%;min-width:0;display:grid}.ssa-calc-fields .field{width:100%;min-width:0;margin-bottom:.75rem}.ssa-calc-result{border-top:1px solid #d0e2ff;gap:.5rem;min-width:0;margin-top:.25rem;padding-top:.75rem;display:grid}.ssa-calc-result-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;min-width:0;font-size:.8rem;display:flex}.ssa-calc-result-row span{color:#525252;min-width:0}.ssa-calc-result-row strong{color:#161616;overflow-wrap:anywhere;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:.5rem;min-width:0;display:flex}.ssa-select-field{width:100%;min-width:0;margin-bottom:.75rem;font-size:.875rem;display:block}.ssa-select-field>span{margin-bottom:.375rem;font-size:.875rem;display:block}.ssa-select-field select{box-sizing:border-box;color:#161616;width:100%;max-width:100%;min-height:2.5rem;font:inherit;cursor:pointer;appearance:auto;background:#f4f4f4;border:0;border-bottom:1px solid #8d8d8d;padding:.625rem .75rem;font-size:.875rem;display:block}.ssa-select-field select:focus{outline-offset:-2px;outline:2px solid #0f62fe}.ssa-delta{padding:.1rem .3rem;font-size:.7rem;font-weight:400}.ssa-delta.positive{color:#198038;background:#defbe6}.ssa-delta.negative{color:#da1e28;background:#fff1f1}.ssa-apply-btn{color:#fff;cursor:pointer;text-align:left;background:#0043ce;border:0;width:100%;margin-top:.875rem;padding:.625rem .75rem;font-size:.8rem}.ssa-apply-btn:hover{background:#0035b3}.ssa-remove-btn{color:#da1e28;cursor:pointer;text-align:left;background:0 0;border:1px solid #da1e28;width:100%;margin-top:.875rem;padding:.625rem .75rem;font-size:.8rem}.ssa-remove-btn:hover{background:#fff1f1}.scenario-reviewer-panel{background:#fff;border-left:4px solid #0f62fe}.agent-badge{color:#0043ce;background:#edf5ff;border:1px solid #d0e2ff;align-items:center;gap:.375rem;margin-bottom:.5rem;padding:.2rem .5rem;font-size:.75rem;font-weight:600;display:inline-flex}.agent-dot{background:#0f62fe;border-radius:50%;width:.45rem;height:.45rem}.copy-brief-btn{white-space:nowrap;padding:.5rem .85rem;font-size:.8rem}.reviewer-summary-cards{grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.25rem;display:grid}.reviewer-card{background:#fbfbfb;border:1px solid #e0e0e0;padding:1rem}.reviewer-card-good{border-left:3px solid #24a148}.reviewer-card-warn{border-left:3px solid #da1e28}.reviewer-card-label{color:#525252;margin-bottom:.25rem;font-size:.75rem;display:block}.reviewer-card-value{color:#161616;font-size:1.5rem;font-weight:600;display:block}.reviewer-card-sub{color:#6f6f6f;margin-top:.25rem;font-size:.75rem;display:block}.reviewer-section{border-top:1px solid #e0e0e0;margin-top:1.75rem;padding-top:1.25rem}.reviewer-section h3{margin:0 0 .25rem;font-size:1.1rem}.stress-table-wrap{border:1px solid #e0e0e0;margin-top:1rem;overflow-x:auto}.stress-matrix-table{border-collapse:collapse;width:100%;font-size:.8rem}.stress-matrix-table th{text-align:left;white-space:nowrap;background:#f4f4f4;border-bottom:2px solid #c6c6c6;padding:.625rem .75rem;font-weight:600}.stress-matrix-table th.col-group-header{text-align:center;color:#fff;text-transform:uppercase;letter-spacing:.07em;background:#1f2328;border-bottom:1px solid #3d4147;border-left:2px solid #fff;border-right:2px solid #fff;padding:.4rem .75rem;font-size:.7rem;font-weight:700}.stress-matrix-table th:not(:first-child){text-align:center}.stress-matrix-table td{vertical-align:top;text-align:center;border-bottom:1px solid #e0e0e0;padding:.625rem .75rem}.stress-matrix-table td:first-child{text-align:left}.stress-matrix-table tbody tr:last-child td{border-bottom:0}.stress-matrix-table tbody tr:hover{background:#f9f9f9}.stress-row-high-impact{background:#fff8f8}.th-tooltip{cursor:help}.th-tooltip-portal{color:#1f2328;letter-spacing:0;text-transform:none;text-align:left;z-index:9999;pointer-events:none;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;width:360px;padding:.65rem .85rem;font-size:.75rem;font-weight:400;line-height:1.6;position:fixed;box-shadow:0 6px 16px #0000001f}.th-tooltip-heading{color:#1e40af;text-transform:none;letter-spacing:0;margin-bottom:.4rem;font-size:.78rem;font-weight:700}.th-tooltip-bullets{margin:0;padding:0;list-style:none}.th-tooltip-bullets li{text-indent:-.9rem;margin-bottom:.35rem;padding-left:.9rem}.th-tooltip-bullets li:last-child{margin-bottom:0}.th-tooltip-bullets li:before{content:"• "}.stress-subtext{color:#6f6f6f;margin:.25rem 0 0;font-size:.75rem;line-height:1.35}.text-danger{color:#da1e28;font-weight:600}.text-success{color:#198038;font-weight:600}.recommendation-text{margin-bottom:.35rem;line-height:1.35;display:block}.apply-preset-btn{color:#0f62fe;cursor:pointer;background:0 0;border:1px solid #0f62fe;margin-top:.25rem;padding:.2rem .5rem;font-size:.75rem}.apply-preset-btn:hover{background:#edf5ff}.remove-preset-btn{color:#da1e28;cursor:pointer;background:0 0;border:1px solid #da1e28;margin-top:.25rem;padding:.2rem .5rem;font-size:.75rem}.remove-preset-btn:hover{background:#fff1f1}.ssa-tradeoff-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:1rem;display:grid}.ssa-card{background:#fcfcfc;border:1px solid #e0e0e0;flex-direction:column;justify-content:space-between;min-width:0;padding:.625rem;display:flex;overflow:hidden}.ssa-card-active{background:#edf5ff;border:2px solid #0f62fe}.ssa-card-selectable{cursor:pointer}.ssa-card-selectable:hover{background:#f5f9ff;border-color:#0f62fe}.ssa-card-selectable:focus{outline-offset:2px;outline:2px solid #0f62fe}.ssa-card-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.ssa-card-benefit{margin-bottom:.75rem}.benefit-val{color:#161616;overflow-wrap:anywhere;font-size:1rem;font-weight:600;display:block}.benefit-sub{color:#525252;font-size:.75rem;display:block}.ssa-card-stats{border-top:1px solid #e0e0e0;gap:.25rem;margin-bottom:.75rem;padding-top:.5rem;font-size:.8rem;display:grid}.ssa-stat{justify-content:space-between;display:flex}.ssa-set-hint{color:#0f62fe;text-align:center;margin-top:.25rem;font-size:.72rem}.ssa-section{border-top:1px solid #d0e2ff;margin-top:1rem;padding-top:.875rem;padding-bottom:.875rem}.ssa-section:last-child{padding-bottom:0}.ssa-section-heading{color:#0043ce;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.75rem;font-size:.75rem;font-weight:600}.ssa-section-toggle{cursor:pointer;color:#0043ce;text-align:left;background:0 0;border:none;align-items:center;gap:.35rem;width:100%;padding:0;font-size:.8rem;font-weight:600;display:flex}.ssa-section-toggle:hover{text-decoration:underline}.ssa-breakeven-grid{gap:.5rem;display:grid}.ssa-breakeven-row{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.5rem;font-size:.8rem;display:flex}.ssa-breakeven-row strong{overflow-wrap:anywhere}.ssa-breakeven-row span{color:#525252}.ssa-breakeven-note{color:#6f6f6f;margin:.25rem 0 0;font-size:.72rem;line-height:1.4}.ssa-spousal{margin-top:.75rem}.ssa-spousal-note{color:#525252;margin:0 0 .75rem;font-size:.75rem;line-height:1.5}.ssa-earnings-note{color:#6f6f6f;margin:0;font-size:.72rem;line-height:1.45}.ssa-dual-active{background:#defbe6;border-radius:2px;padding:.1rem .25rem}.ssa-warn-badge{color:#7d4e00;vertical-align:middle;text-transform:uppercase;letter-spacing:.03em;background:#fff3cd;border:1px solid #e0a800;border-radius:2px;margin-left:.5rem;padding:.1rem .35rem;font-size:.65rem;font-weight:700}.ssa-pension-type-row{gap:1rem;margin-bottom:.75rem;font-size:.8rem;display:flex}.ssa-radio-label{cursor:pointer;align-items:center;gap:.35rem;display:flex}.ssa-discount-input{width:4rem;font:inherit;text-align:right;color:#161616;background:#f4f4f4;border:0;border-bottom:1px solid #8d8d8d;padding:.25rem .5rem;font-size:.8rem}.ssa-discount-input:focus{outline-offset:-2px;outline:2px solid #0f62fe}.tax-calc{background:#f4f7fb;border:1px solid #d0e2ff;border-radius:4px;min-width:0;margin-top:.75rem;padding:1rem}.tax-calc-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.tax-calc-title{color:#0f62fe;font-size:.875rem;font-weight:600}.tax-calc-tag{color:#6929c4;text-transform:uppercase;letter-spacing:.03em;background:#e8daff;border:1px solid #d4bbff;border-radius:2px;padding:.1rem .35rem;font-size:.65rem;font-weight:700}.tax-calc-fields{gap:.75rem;margin-bottom:.875rem;display:grid}.tax-select-field{color:#525252;flex-direction:column;gap:.25rem;font-size:.75rem;font-weight:500;display:flex}.tax-select-field select{color:#161616;background:#fff;border:1px solid #8d8d8d;border-radius:2px;padding:.375rem .5rem;font-size:.875rem}.tax-select-field select:focus{outline-offset:-2px;outline:2px solid #0f62fe}.tax-calc-summary-grid{grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.875rem;display:grid}.tax-stat-card{background:#fff;border:1px solid #e0e0e0;border-radius:4px;flex-direction:column;gap:.15rem;padding:.5rem;display:flex}.tax-stat-label{color:#525252;font-size:.7rem}.tax-stat-value{color:#161616;font-size:.9rem}.tax-stat-sub{color:#8d8d8d;font-size:.65rem}.tax-impact-banner{background:#edf5ff;border:1px solid #a6c8ff;border-radius:4px;gap:.35rem;margin-bottom:.875rem;padding:.625rem;font-size:.75rem;display:grid}.tax-impact-row{justify-content:space-between;align-items:center;display:flex}.tax-impact-row span{color:#525252}.tax-section{border-top:1px solid #d0e2ff;margin-top:.75rem;padding-top:.75rem;position:relative}.tax-section-toggle{cursor:pointer;color:#0043ce;text-align:left;background:0 0;border:none;align-items:center;gap:.35rem;width:100%;padding:0;font-size:.8rem;font-weight:600;display:flex}.tax-section-toggle:hover{text-decoration:underline}.tax-schedule-container{z-index:20;background:#fff;border:1px solid #d0e2ff;border-radius:4px;min-width:max-content;max-width:720px;padding:.75rem;position:absolute;top:calc(100% + .25rem);left:0;box-shadow:0 4px 16px #0000001f}.tax-schedule-note{color:#6f6f6f;white-space:normal;max-width:480px;margin:0 0 .5rem;font-size:.72rem;line-height:1.4}.tax-table-wrapper{-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e0e0e0;border-radius:4px;overflow-x:auto}.tax-schedule-table{border-collapse:collapse;text-align:right;width:max-content;font-size:.72rem}.tax-schedule-table th,.tax-schedule-table td{white-space:nowrap;border-bottom:1px solid #f4f4f4;padding:.35rem .5rem}.tax-schedule-table th{color:#525252;background:#f4f4f4;font-weight:600}.tax-schedule-table th:first-child,.tax-schedule-table td:first-child{text-align:left}.tax-row-active{background:#f0f7ff}.irmaa-calc{background:#f2fbf4;border:1px solid #a7f0ba;border-radius:4px;margin-top:.75rem;padding:1rem}.irmaa-calc-header{justify-content:space-between;align-items:center;margin-bottom:.75rem;display:flex}.irmaa-calc-title{color:#0e6027;font-size:.875rem;font-weight:600}.irmaa-tier-badge{text-transform:uppercase;letter-spacing:.03em;border:1px solid;border-radius:2px;padding:.1rem .4rem;font-size:.65rem;font-weight:700}.irmaa-tier-safe{color:#044317;background:#defbe6;border-color:#a7f0ba}.irmaa-tier-1{color:#7d4e00;background:#fef7e0;border-color:#f8d877}.irmaa-tier-2{color:#8a4700;background:#fff4e3;border-color:#f4b24a}.irmaa-tier-3{color:#750e13;background:#fff1f1;border-color:#ffa4a9}.irmaa-tier-4{color:#750e13;background:#fff1f1;border-color:#ff8389}.irmaa-tier-5{color:#ffd7d9;background:#2d0709;border-color:#ff8389}.irmaa-calc-fields{gap:.75rem;margin-bottom:.875rem;display:grid}.irmaa-checkbox-field{color:#525252;cursor:pointer;align-items:center;gap:.5rem;font-size:.8rem;display:flex}.irmaa-cliff-warning{color:#7d4e00;background:#fff4e3;border:1px solid #f4b24a;border-radius:4px;margin-bottom:.75rem;padding:.5rem .75rem;font-size:.75rem;line-height:1.4}.irmaa-cost-elevated{color:#da1e28}.irmaa-impact-banner{background:#f2fbf4;border:1px solid #a7f0ba;border-radius:4px;gap:.35rem;margin-bottom:.875rem;padding:.625rem;font-size:.75rem;display:grid}.irmaa-row-active{background:#f2fbf4}.agent-chat-card{background:#fff;border:1px solid #e0e0e0;border-radius:4px;flex-direction:column;gap:1rem;margin-top:1.5rem;padding:1.25rem;display:flex}.agent-chat-header{border-bottom:1px solid #f4f4f4;justify-content:space-between;align-items:center;padding-bottom:.75rem;display:flex}.agent-chat-title-group{align-items:center;gap:.75rem;display:flex}.agent-chat-title-group h3{color:#161616;margin:0;font-size:1.1rem}.agent-badge{color:#0f62fe;background:#e8f0fe;border-radius:12px;padding:.2rem .5rem;font-size:.7rem;font-weight:600}.agent-chat-actions{gap:.5rem;display:flex}.agent-btn-subtle{cursor:pointer;color:#525252;background:0 0;border:1px solid #dcdcdc;border-radius:4px;padding:.3rem .6rem;font-size:.8rem;transition:all .15s}.agent-btn-subtle:hover{color:#161616;background:#f4f4f4}.agent-config-panel{background:#f8f9fa;border:1px solid #e5e7eb;border-radius:4px;flex-direction:column;gap:.6rem;padding:.85rem;display:flex}.agent-config-row{align-items:center;gap:.5rem;font-size:.85rem;display:flex}.agent-config-row label{color:#333;width:5.5rem;font-weight:500}.agent-config-row select,.agent-config-row input{border:1px solid #c6c6c6;border-radius:3px;flex:1;padding:.35rem .6rem;font-size:.85rem}.agent-config-hint{color:#6f6f6f;margin:.25rem 0 0;font-size:.75rem;line-height:1.4}.agent-chat-error{color:#da1e28;background:#fff0f1;border:1px solid #ffccd1;border-radius:4px;padding:.5rem .75rem;font-size:.8rem}.agent-chat-messages{background:#fafafa;border:1px solid #eee;border-radius:4px;flex-direction:column;gap:.75rem;min-height:160px;max-height:380px;padding:.5rem;display:flex;overflow-y:auto}.agent-chat-empty{text-align:center;color:#6f6f6f;margin:auto 0;padding:1rem 0;font-size:.85rem}.agent-suggestions{flex-wrap:wrap;justify-content:center;gap:.4rem;margin-top:.75rem;display:flex}.agent-suggestion-chip{color:#0f62fe;cursor:pointer;background:#fff;border:1px solid #d0d7de;border-radius:16px;padding:.35rem .75rem;font-size:.75rem;transition:background .15s}.agent-suggestion-chip:hover{background:#edf5ff}.agent-message{white-space:pre-wrap;border-radius:6px;padding:.6rem .85rem;font-size:.85rem;line-height:1.5}.agent-message-user{background:#e5f1ff;border-bottom-right-radius:1px;align-self:flex-end;max-width:85%}.agent-message-assistant{background:#fff;border:1px solid #e0e0e0;border-bottom-left-radius:1px;align-self:flex-start;max-width:90%}.agent-message-header{color:#6f6f6f;margin-bottom:.25rem;font-size:.72rem}.agent-chat-input-area{align-items:flex-end;gap:.5rem;display:flex}.agent-chat-input-area textarea{resize:vertical;border:1px solid #c6c6c6;border-radius:4px;flex:1;min-height:50px;padding:.5rem;font-family:inherit;font-size:.85rem}.agent-chat-input-area textarea:focus{outline-offset:-2px;outline:2px solid #0f62fe}.agent-btn-send{color:#fff;cursor:pointer;background:#0f62fe;border:none;border-radius:4px;padding:.55rem 1.1rem;font-size:.85rem;font-weight:500;transition:background .15s}.agent-btn-send:hover:not(:disabled){background:#0353e9}.agent-btn-send:disabled{cursor:not-allowed;background:#c6c6c6}.agent-btn-stop{color:#fff;cursor:pointer;background:#da1e28;border:none;border-radius:4px;padding:.55rem 1.1rem;font-size:.85rem;font-weight:500}.ai-analyze-btn{color:#fff;cursor:pointer;background:#0f62fe;border:none;border-radius:4px;align-items:center;gap:.35rem;padding:.35rem .85rem;font-size:.8rem;font-weight:500;transition:background .15s;display:inline-flex}.ai-analyze-btn:hover{background:#0353e9}
