/* Retirement Calculator — retirement-calculator.css */
.rc-wrap*,.rc-wrap *::before,.rc-wrap *::after{box-sizing:border-box;margin:0;padding:0}
.rc-wrap{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;color:#1e293b;max-width:960px;margin:0 auto;background:#fff;border-radius:16px;border:1px solid #e2e8f0;overflow:hidden}
.rc-header{display:flex;align-items:center;gap:14px;padding:20px 24px;background:#1e3a5f}
.rc-header-icon{width:44px;height:44px;background:rgba(255,255,255,.12);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#93c5fd;flex-shrink:0}
.rc-title{font-size:19px;font-weight:700;color:#fff;margin-bottom:3px}
.rc-subtitle{font-size:12.5px;color:#93c5fd}
.rc-body{display:flex;flex-direction:column}
@media(min-width:720px){.rc-body{flex-direction:row;align-items:flex-start}.rc-form{width:50%;border-right:1px solid #e2e8f0}.rc-results{width:50%;position:sticky;top:0;max-height:100vh;overflow-y:auto}}
.rc-form{padding:20px;display:flex;flex-direction:column;gap:14px}
.rc-field{display:flex;flex-direction:column;gap:5px}
.rc-section-label{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:#94a3b8;padding-bottom:4px;border-bottom:1px solid #f1f5f9}
.rc-label{font-size:12px;font-weight:700;color:#334155;text-transform:uppercase;letter-spacing:.04em}
.rc-hint{font-size:11.5px;color:#94a3b8;line-height:1.4}
.rc-row-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:400px){.rc-row-2{grid-template-columns:1fr}}
.rc-btn-group{display:flex;gap:6px;flex-wrap:wrap}
.rc-choice{flex:1;min-width:60px;padding:9px 8px;border:1.5px solid #e2e8f0;border-radius:9px;background:#f8fafc;font-size:13px;font-weight:600;color:#475569;cursor:pointer;transition:all .15s;text-align:center}
.rc-choice:hover{border-color:#1e3a5f;color:#1e3a5f}
.rc-choice.active{background:#1e3a5f;border-color:#1e3a5f;color:#fff}
.rc-prefix-wrap,.rc-suffix-wrap{display:flex;align-items:center;border:1.5px solid #cbd5e1;border-radius:10px;overflow:hidden;background:#f8fafc;transition:border-color .18s}
.rc-prefix-wrap:focus-within,.rc-suffix-wrap:focus-within{border-color:#1e3a5f;background:#fff}
.rc-prefix,.rc-suffix{padding:0 11px;font-size:13px;font-weight:600;color:#64748b;background:#f1f5f9;height:44px;display:flex;align-items:center;flex-shrink:0}
.rc-prefix{border-right:1px solid #e2e8f0}
.rc-suffix{border-left:1px solid #e2e8f0}
.rc-input{flex:1;border:none;background:transparent;padding:0 12px;height:44px;font-size:14px;color:#1e293b;outline:none;-moz-appearance:textfield;min-width:0}
.rc-input::-webkit-outer-spin-button,.rc-input::-webkit-inner-spin-button{-webkit-appearance:none}
.rc-slider-wrap{display:flex;align-items:center;gap:12px}
.rc-slider{flex:1;-webkit-appearance:none;height:4px;background:#e2e8f0;border-radius:4px;outline:none}
.rc-slider::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#1e3a5f;cursor:pointer;border:2px solid #fff;box-shadow:0 0 0 2px #1e3a5f}
.rc-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#1e3a5f;cursor:pointer;border:2px solid #fff}
.rc-slider-val{font-size:15px;font-weight:700;color:#1e3a5f;min-width:48px;text-align:right}
.rc-disclaimer{display:flex;align-items:flex-start;gap:8px;background:#fefce8;border:1px solid #fde047;border-radius:9px;padding:10px 14px;font-size:12px;color:#854d0e;line-height:1.5}
.rc-disclaimer svg{flex-shrink:0;margin-top:1px;color:#ca8a04}
/* Results */
.rc-results{background:#eff6ff;padding:20px}
.rc-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px;gap:14px;color:#94a3b8;text-align:center}
.rc-placeholder p{font-size:13.5px;line-height:1.6;max-width:220px}
.rc-hero{background:#1e3a5f;border-radius:14px;padding:20px;text-align:center;margin-bottom:12px}
.rc-hero-label{font-size:11px;font-weight:700;color:#93c5fd;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}
.rc-hero-amount{font-size:48px;font-weight:800;color:#fff;letter-spacing:-.03em;line-height:1}
.rc-hero-sub{font-size:12.5px;color:#93c5fd;margin-top:5px}
/* Gap block */
.rc-gap-block{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px;margin-bottom:12px}
.rc-gap-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.rc-gap-item{flex:1;text-align:center}
.rc-gap-label{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#94a3b8;margin-bottom:3px}
.rc-gap-val{font-size:18px;font-weight:800;color:#1e293b}
.rc-gap-arrow{font-size:20px;color:#94a3b8;flex-shrink:0}
.rc-gap-result{font-size:13px;font-weight:600;text-align:center;margin-bottom:10px;padding:7px 12px;border-radius:8px}
.rc-gap-bar-track{height:10px;background:#f1f5f9;border-radius:6px;overflow:hidden;margin-bottom:5px}
.rc-gap-bar-fill{height:100%;border-radius:6px;transition:width .5s ease,background .3s}
.rc-gap-pct{font-size:12px;font-weight:700;text-align:right}
/* Income block */
.rc-income-block{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px;margin-bottom:12px}
.rc-inc-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;margin-bottom:10px}
.rc-inc-row{display:flex;justify-content:space-between;padding:6px 0;font-size:13px;color:#475569;border-bottom:1px solid #f1f5f9}
.rc-inc-row:last-child{border-bottom:none}
.rc-inc-row span:last-child{font-weight:600;color:#1e293b}
.rc-inc-divider{height:1px;background:#e2e8f0;margin:4px 0}
.rc-inc-total{font-weight:700;font-size:13.5px}
.rc-inc-total span:last-child{color:#1e3a5f;font-size:15px}
/* Action block */
.rc-action-block{background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:14px;margin-bottom:12px}
.rc-action-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#991b1b;margin-bottom:10px}
.rc-action-row{display:flex;justify-content:space-between;padding:6px 0;font-size:13px;color:#7f1d1d;border-bottom:1px solid #fecaca}
.rc-action-row:last-child{border-bottom:none}
/* Projection table */
.rc-projection{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px;overflow-x:auto}
.rc-proj-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#94a3b8;margin-bottom:10px}
.rc-table{width:100%;border-collapse:collapse;font-size:12.5px}
.rc-table th{font-size:11px;font-weight:700;color:#64748b;text-align:right;padding:6px 10px;border-bottom:1.5px solid #e2e8f0}
.rc-table th:first-child{text-align:left}
.rc-table td{padding:7px 10px;text-align:right;border-bottom:1px solid #f1f5f9;color:#475569}
.rc-table td:first-child{text-align:left;font-weight:600;color:#1e3a5f}
.rc-table tr:last-child td{border-bottom:none}
.rc-table tr.rc-retire-row td{background:#eff6ff;font-weight:700;color:#1e3a5f}
@media(max-width:480px){.rc-header,.rc-form,.rc-results{padding:14px}.rc-title{font-size:17px}.rc-hero-amount{font-size:38px}}
