.retirement-basic>.module-disclosure-body{padding:22px}.retirement-basic .layout{margin:0}.rp-module{margin-top:24px}.rp-module>summary{border-left:4px solid var(--green)}.rp-module>summary h2{font-size:19px}.rp-subtitle{display:block;font-size:12px;margin-top:6px;color:var(--muted)}.rp-body{font-size:14px;line-height:1.8}.rp-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 20px;margin:20px 0 8px}.rp-controls .field{font-size:13px}.rp-controls .field input,.rp-controls .field select{min-height:46px;height:auto;font-size:16px}.rp-note{font-size:12px;color:var(--muted);line-height:1.8}.rp-inner{border-top:1px solid var(--line);margin:18px 0 0;padding:0}.rp-inner>summary{cursor:pointer;min-height:50px;display:flex;align-items:center;color:var(--green);font-size:14px;font-weight:650;padding:12px 0}.rp-inner>summary::after{content:'＋';margin-left:auto}.rp-inner[open]>summary::after{content:'−'}.rp-inner>summary::-webkit-details-marker{display:none}.rp-inner>summary{list-style:none}.rp-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.rp-actions button,.rp-body button{min-height:44px;font-size:13px}.rp-actions button:first-child{background:var(--green);color:white}.rp-message{padding:18px;background:#fff5df;border:1px solid #d4b978;border-radius:9px;color:#634a18;font-size:13px;line-height:1.8}.rp-result-head,.rp-plan-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.rp-result-head{margin:25px 0 14px}.rp-result-head h3{margin:0}.rp-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.rp-plan{border:1px solid var(--line);border-radius:12px;padding:18px;background:var(--surface,#fff);min-width:0}.rp-leading{border-top:4px solid var(--green)}.rp-plan h3{font-size:17px;margin:0}.rp-plan dl{font-size:12px;line-height:1.7}.rp-plan dl>div{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:10px 0}.rp-plan dd{font-variant-numeric:tabular-nums;font-weight:700;margin:0;color:var(--green)}.rp-plan .chip{font-size:10px}.rp-good{font-size:12px;color:var(--green)}.rp-caution{font-size:12px;color:#8a5816}.rp-budget{background:var(--tint,#f1f6f3);padding:15px;border-radius:8px}.rp-budget span,.rp-budget small{display:block;font-size:12px;line-height:1.8}.rp-budget strong{font-size:25px;display:block;margin:8px 0;color:var(--green)}.rp-body table{min-width:550px}.rp-body caption{text-align:left;font-weight:650;color:inherit;margin:15px 0}.rp-current{background:var(--tint,#f1f6f3)}.rp-body svg{display:block;width:100%;max-height:350px}.rp-axis{stroke:var(--line)}.rp-body svg text{font-size:12px;fill:var(--muted)}.rp-line{fill:none;stroke-width:3}.rp-line.rp-super{stroke:var(--green)}.rp-line.rp-cash{stroke:#99752b;stroke-dasharray:6 4}.rp-line.rp-proportional{stroke:#617dba;stroke-dasharray:2 3}.rp-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:12px}.rp-legend span::before{content:'●';padding-right:6px}.rp-legend .rp-super{color:var(--green)}.rp-legend .rp-cash{color:#99752b}.rp-legend .rp-proportional{color:#617dba}.rp-body a{overflow-wrap:anywhere;min-height:44px;display:inline-flex;align-items:center}#retirement-planner-host{scroll-margin-top:16px}.retirement-basic>summary{min-height:60px}#rp-results{scroll-margin-top:16px}.rp-body .table-scroll{border:1px solid var(--line);border-radius:8px;padding:8px 12px}.rp-body :focus-visible{outline:3px solid var(--green);outline-offset:3px}
@media(max-width:1150px){.rp-plan-grid{grid-template-columns:1fr}.rp-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-plan dl>div{flex-wrap:nowrap}.rp-plan-title{justify-content:flex-start}}
@media(max-width:600px){.retirement-basic>.module-disclosure-body{padding:12px}.rp-module>.module-disclosure-body{padding:16px}.rp-controls{grid-template-columns:1fr;gap:0}.rp-module>summary h2{font-size:16px}.rp-subtitle{font-size:11px}.rp-plan{padding:16px}.rp-plan dl>div{flex-wrap:wrap}.rp-body .table-scroll{padding:5px 8px}.rp-body{font-size:13px}.rp-result-head{align-items:flex-start}.rp-plan-grid{gap:14px}.rp-inner>summary{font-size:13px}}
