/* Premissas horizontais e resultado abaixo. Tipografia dos títulos segue o app. */
@media(max-width:740px){.retirement-v2 .ret-explorer-heading{display:grid;grid-template-columns:1fr;gap:10px}.retirement-v2 .ret-explorer h3{font-size:14px}.retirement-v2 .ret-explorer-heading p{font-size:12px;max-width:none}.retirement-v2 .ret-age-stepper{width:100%;justify-content:space-between}.retirement-v2 .ret-age-stepper button{width:44px;height:44px}.retirement-v2 .ret-age-stepper>span{font-size:16px;flex:1}.retirement-v2 .ret-timeline input{height:44px}.retirement-v2 .ret-explorer-milestone button{min-height:44px}}
@media(max-width:360px){.retirement-v2 .ret-explorer #ret-year-values>div{display:block}.retirement-v2 .ret-explorer #ret-year-values b{margin-top:3px}.retirement-v2 .ret-metrics article{display:block}.retirement-v2 .ret-metrics strong{margin-top:4px}.retirement-v2 .ret-reference-actions small{display:none}}
.ret-explorer{grid-column:1/-1;background:#f1f6fa;border:1px solid #cbdae5;border-radius:10px;overflow:hidden}.ret-explorer-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px 8px}.ret-explorer h3{font-size:14px;font-weight:650;line-height:1.5;color:#294c67}.ret-explorer-heading p{font-size:12px;color:#526a7a;margin-top:2px}.ret-age-stepper{display:flex;align-items:center;background:#fff;border:1px solid #c5d7e4;border-radius:8px;flex-shrink:0}.ret-age-stepper button{display:grid;place-items:center;width:36px;height:36px;border:0;background:transparent;color:#2059a5;font-size:20px;border-radius:7px}.ret-age-stepper button:hover:enabled{background:#e5edf8}.ret-age-stepper button:disabled{opacity:.3;cursor:default}.ret-age-stepper>span{min-width:88px;text-align:center;color:#123c72;font-size:16px;font-weight:750;font-variant-numeric:tabular-nums}
.ret-explorer-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:28px;align-items:center;padding:8px 16px 12px}.ret-timeline{min-width:0}.ret-timeline input{width:100%;height:32px;margin:0;appearance:none;background:transparent;cursor:pointer}.ret-timeline input::-webkit-slider-runnable-track{height:5px;border-radius:4px;background:linear-gradient(to right,#15927d var(--ret-progress),#cedde7 var(--ret-progress))}.ret-timeline input::-webkit-slider-thumb{appearance:none;width:17px;height:17px;border-radius:50%;background:#087b65;border:3px solid #fff;box-shadow:0 0 0 1px #087b65;margin-top:-6px}.ret-timeline input::-moz-range-track{height:5px;border-radius:4px;background:#cedde7}.ret-timeline input::-moz-range-progress{height:5px;background:#15927d;border-radius:4px}.ret-timeline input::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#087b65;border:3px solid white}.ret-timeline input:disabled{cursor:default;opacity:.5}.ret-timeline-ends{display:flex;justify-content:space-between;gap:12px;color:#526a7a;font-size:11px}.ret-explorer #ret-year-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ret-explorer #ret-year-values>div{padding:10px 12px;border-radius:7px;background:#e8eef3;min-width:0}.ret-explorer #ret-year-values .ret-year-total{background:#deebf7}.ret-explorer #ret-year-values .ret-year-earnings{background:#deeee6}.ret-explorer #ret-year-values>div>span{font-size:11px;line-height:1.6;color:#3e5d72;display:block}.ret-explorer #ret-year-values b{display:block;font-size:18px;line-height:1.4;letter-spacing:-.2px;color:#163f6a;margin-top:3px}.ret-explorer #ret-year-values .ret-year-earnings b{color:#08654f}
.ret-explorer-milestone{display:flex;align-items:center;gap:10px;padding:8px 16px;border-top:1px solid #d2e3df;background:#edf6f1;color:#345f50;min-height:42px}.ret-milestone-mark{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:6px;background:#d6eadd;color:#087b65;font-size:17px}.ret-explorer-milestone p{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:12px;line-height:1.6;flex:1}.ret-explorer-milestone b{font-weight:650;color:#245243}.ret-explorer-milestone button{border:0;background:transparent;color:#174e83;font-size:12px;font-weight:650;min-height:36px;white-space:nowrap;padding:5px 0 5px 10px}.ret-explorer-milestone button:hover{text-decoration:underline;text-underline-offset:3px}.ret-year-cursor{stroke:#2059a5;stroke-width:1.5;stroke-dasharray:4 5;opacity:.7}
.ret-support{grid-column:1/-1;margin-top:12px;padding-top:10px;border-top:1px solid #dce6ed}.ret-reference-actions{display:flex;gap:12px;flex-wrap:wrap}.ret-reference-actions button{display:inline-flex;align-items:center;gap:9px;border:1px solid #cadbe6;background:#f8fafc;color:#244e70;border-radius:7px;padding:9px 12px;min-height:40px;font-size:12px;font-weight:650}.ret-reference-actions button[aria-expanded=true]{border-color:#91b1cc;background:#e6eff8}.ret-reference-actions button:hover{background:#eaf1f7}.ret-reference-actions button>span:first-child{font-size:16px;font-weight:500;color:#49758f}.ret-reference-actions small{font-size:11px;font-weight:400;color:#526a7a;border-left:1px solid #c8d7e1;padding-left:9px}.ret-toggle-symbol{font-size:16px;margin-left:8px;font-weight:400}.ret-reference-panel{padding:15px 0 0}.ret-reference-panel[hidden]{display:none}.ret-reference-panel caption{font-size:12px;text-align:left;color:#526a7a;padding:0 0 10px}.ret-reference-panel th{white-space:nowrap}.ret-reference-panel .ret-selected-year{background:#e4eff8}.ret-method-content{padding:14px 16px;background:#f0f5f9;border-radius:8px;margin-top:10px}.ret-method-content p{font-size:13px;line-height:1.8;color:#3f5b6e;margin-bottom:10px}.ret-method-content p:last-child{margin-bottom:0}.ret-method-content a{color:#164b85;text-decoration:underline}
@media(max-width:1100px){.ret-explorer-body{grid-template-columns:1fr;gap:10px}.ret-explorer #ret-year-values b{font-size:17px}.ret-explorer-milestone p{display:block}.ret-explorer-milestone b{display:block}}
@media(max-width:740px){.ret-explorer-heading{padding:12px;gap:10px;align-items:flex-start}.ret-explorer-heading p{font-size:11px;line-height:1.6;max-width:165px}.ret-explorer h3{font-size:13px}.ret-age-stepper button{width:30px;height:36px}.ret-age-stepper>span{min-width:66px;font-size:14px}.ret-explorer-body{padding:5px 12px 12px}.ret-explorer #ret-year-values{grid-template-columns:1fr;gap:7px}.ret-explorer #ret-year-values>div{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:9px 11px}.ret-explorer #ret-year-values>div>span{font-size:12px;max-width:150px}.ret-explorer #ret-year-values b{font-size:16px;margin:0}.ret-explorer-milestone{padding:10px 12px;align-items:flex-start;gap:8px;flex-wrap:wrap}.ret-explorer-milestone p{flex-basis:calc(100% - 35px);font-size:12px}.ret-explorer-milestone button{margin-left:33px;padding:2px 0;min-height:32px}.ret-reference-actions{display:grid;gap:8px}.ret-reference-actions button{font-size:12px;min-height:44px;text-align:left}.ret-reference-actions small{margin-left:auto;font-size:10px}.ret-toggle-symbol{margin-left:auto}.ret-reference-panel table{font-size:12px}.ret-method-content{padding:12px}}
.retirement-v2{--ret-line:#cbdde5;--ret-muted:#4e6576;--ret-positive:#08755f}
.retirement-v2 .page-heading{margin-bottom:14px}.retirement-v2 .page-heading h1{margin-top:3px;margin-bottom:5px}.retirement-v2 h2{font-size:16px;font-weight:650;letter-spacing:-.015em;line-height:1.4}
.ret-scenarios{display:inline-flex;max-width:100%;gap:4px;padding:4px;margin:0 0 14px;background:#e3ebf1;border:1px solid #cbdbe5;border-radius:11px}.ret-scenarios button{display:flex;align-items:center;gap:12px;text-align:left;padding:9px 14px;border:1px solid transparent;border-radius:7px;background:transparent;min-height:42px;color:#344e62}.ret-scenarios button[aria-selected=true]{background:var(--blue-dark);color:#fff}.ret-scenarios b{font-size:14px;font-weight:650}.ret-scenarios small{font-size:12px;color:#526a7a}.ret-scenarios [aria-selected=true] small{color:#d9e9f8}
.ret-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.ret-input-panel{padding:0;overflow:hidden;border-color:var(--ret-line);background:#edf4f7;margin:0}.ret-form-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;background:#e0ecf2;border-bottom:1px solid #c4dae4}.ret-form-heading>span{font-size:12px;color:#425e73}
.ret-input-panel form{padding:14px 18px 10px}.ret-primary-fields{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:end}.ret-primary-fields>div{min-width:0}.ret-field-age,.ret-field-rate{grid-column:span 1}.ret-field-objective,.ret-field-source,.ret-field-capital,.ret-field-period{grid-column:span 2}.ret-input-panel .field{margin:0;gap:5px}.ret-input-panel .field>span{display:flex;align-items:flex-end;min-height:17px;font-size:12px;line-height:1.35;font-weight:600;color:#344e60}.ret-input-panel .field input,.ret-input-panel .field select{padding:8px 10px;min-height:40px;font-size:15px;border-color:#b9cdd9;color:#233f53;border-radius:7px}.ret-input-panel .field select{padding-right:28px;background-position:right 9px center}.ret-field-objective input{font-weight:700;border-left:3px solid var(--teal);background:#fff}.ret-input-panel input[readonly]{background:#e2eee9;border-color:#bdd6cb;font-weight:600;color:#245645}
.ret-secondary-fields{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1.5fr) minmax(0,3fr) minmax(0,2.5fr);gap:12px;margin-top:10px;align-items:end}.ret-secondary-fields>div{min-width:0}.ret-submit .btn{width:100%;min-height:40px;padding:9px 12px;font-size:13px;border-radius:7px}.ret-preserve-note{display:flex;align-items:center;min-height:40px;padding:5px 0;font-size:12px;line-height:1.4;color:#426254}.ret-form-bottom{margin-top:10px}.ret-form-bottom>p:first-child{font-size:11px;line-height:1.65;color:#526a7a}.ret-form-bottom a{color:#174e83;text-decoration:underline;text-underline-offset:2px}.ret-dirty{font-size:12px;color:#77530c;padding:7px 10px;background:#fff1d4;border-radius:6px;margin-top:8px}.ret-dirty[hidden]{display:none}
.ret-results{min-width:0;display:grid;gap:16px;scroll-margin-top:16px}.ret-summary{display:grid;grid-template-columns:minmax(220px,1.05fr) minmax(0,3fr);border:1px solid #c5d8e3;border-radius:12px;overflow:hidden;background:#fff}.ret-answer{padding:17px 20px;background:linear-gradient(110deg,#123e6c,#2059a5);color:white;display:flex;flex-direction:column;justify-content:center}.ret-answer-label{font-size:11px;line-height:1.5;font-weight:700;letter-spacing:.04em;color:#cef4e9}.ret-main-number{font-size:29px;line-height:1.2;letter-spacing:-.8px;margin:6px 0}.ret-answer>small{font-size:11px;color:#dbe9f7}.ret-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.ret-metrics article{padding:17px 20px;background:#eaf0f8;border-left:1px solid #cbd9e7;display:flex;flex-direction:column;justify-content:center}.ret-metrics article:nth-child(2){background:#eef2f5}.ret-metrics article.ret-earnings{background:#e0eee8}.ret-metrics article>span{font-size:12px;line-height:1.5;color:#3d576b;font-weight:650}.ret-metrics strong{display:block;font-size:22px;line-height:1.3;letter-spacing:-.5px;margin:6px 0}.ret-metrics small{display:block;font-size:11px;line-height:1.6;color:#526a7a}.ret-earnings strong{color:#08654f}.ret-summary-context{grid-column:1/-1;padding:10px 18px;background:#f6f9fb;border-top:1px solid #d5e1e8;display:flex;justify-content:space-between;gap:8px 20px;flex-wrap:wrap}.ret-summary-context p{font-size:12px;line-height:1.6;color:#344f63}.ret-summary-context>span{font-size:11px;line-height:1.75;color:#526a7a}
.ret-growth{padding:18px 20px;border-color:#cbdde5;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 22px;margin:0}.ret-growth .panel-heading{grid-column:1/-1;margin-bottom:10px}.ret-growth h2{margin-top:2px}.ret-growth .eyebrow{font-size:10px}.ret-growth .panel-heading p{color:#526a7a;font-size:12px;line-height:1.6;margin-top:4px}.ret-chart-legend{grid-column:1/-1;display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#405c70;margin:0 0 10px}.ret-chart-legend>span{display:flex;align-items:center;gap:7px}.ret-dot{width:18px;height:3px;display:inline-block;border-radius:10px;background:#087e67}.ret-dot.invested{background:repeating-linear-gradient(90deg,#59758c 0 5px,transparent 5px 7px)}.ret-plot{grid-column:1/-1;display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:220px 25px;min-width:0;margin-bottom:12px;padding-right:8px}.ret-axis-y{display:flex;flex-direction:column;justify-content:space-between;font-size:11px;line-height:1;color:#526a7a;text-align:right;padding:4px 10px 4px 0}.ret-chart{display:block;width:100%;height:220px;overflow:visible}.ret-axis-x{grid-column:2;position:relative;font-size:11px;color:#526a7a;line-height:1;padding-top:8px}.ret-axis-x span{position:absolute;transform:translateX(-50%);white-space:nowrap}.ret-axis-x span:first-child{transform:none}.ret-axis-x span:last-child{transform:translateX(-100%)}
.ret-insight{align-self:start;padding:12px 14px;background:#e5f2ec;border-left:3px solid #15927d;border-radius:7px;color:#245445;font-size:12px;line-height:1.65}.ret-insight>b{display:block;font-weight:650;margin-bottom:4px}.ret-year-control{min-width:0}.ret-year-control>label{display:flex;justify-content:space-between;font-size:12px;color:#405c70}.ret-year-control strong{color:#123c72}.ret-year-control input{width:100%;height:30px;accent-color:#137d6b;margin:2px 0 5px;cursor:pointer}.ret-year-control #ret-year-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px 12px;background:#eff4f7;border-radius:7px}.ret-year-control #ret-year-values>span{font-size:11px;color:#4c6576}.ret-year-control b{font-size:13px;display:block;color:#263f53;margin-top:3px}.ret-annual{grid-column:1/-1;margin-top:10px}.ret-annual summary{font-weight:650;font-size:12px;color:#2059a5;padding:7px 0}.ret-annual caption{font-size:12px;text-align:left;padding:10px 0;color:#4e6576}.ret-annual th{white-space:nowrap}.ret-method{padding:13px 18px;background:#e8eff5;border-color:#c9dae7;margin:0}.ret-method summary{font-size:13px;font-weight:650;color:#244960;cursor:pointer}.ret-method p{font-size:13px;line-height:1.8;color:#3f5b6e;margin-top:12px}.ret-method a{text-decoration:underline;color:#164b85}.ret-error{border:1px solid #dbb763;background:#fff4d9;color:#76520f}.ret-error p{margin-top:12px;line-height:1.7}
@media(max-width:1250px) and (min-width:741px){.ret-primary-fields{grid-template-columns:repeat(8,minmax(0,1fr))}.ret-field-age{grid-column:span 1}.ret-field-objective,.ret-field-source,.ret-field-capital,.ret-field-rate,.ret-field-period{grid-column:span 2}.ret-main-number{font-size:26px}.ret-metrics strong{font-size:19px}.ret-metrics article,.ret-answer{padding:15px}.ret-summary{grid-template-columns:minmax(205px,1fr) minmax(0,3fr)}}
@media(max-width:1000px) and (min-width:741px){.ret-summary{grid-template-columns:1fr}.ret-answer{display:grid;grid-template-columns:1fr auto;gap:0 20px}.ret-main-number{grid-column:2;grid-row:1/span 2;align-self:center;margin:0}.ret-metrics article:first-child{border-left:0}.ret-metrics article{border-top:1px solid #cbd9e7}.ret-secondary-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.retirement-v2 .page-heading{margin-bottom:12px}.ret-scenarios{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-bottom:12px}.ret-scenarios button{display:block;padding:10px;min-height:64px}.ret-scenarios b{display:block;font-size:13px;line-height:1.4}.ret-scenarios small{display:block;margin-top:3px;font-size:11px}.ret-form-heading{padding:13px 15px;display:block}.ret-form-heading>span{display:block;margin-top:4px;font-size:12px}.ret-input-panel form{padding:12px 15px}.ret-primary-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.ret-field-age,.ret-field-source,.ret-field-capital,.ret-field-rate,.ret-field-period{grid-column:span 2}.ret-field-objective{grid-column:span 4}.ret-input-panel .field>span{min-height:28px;font-size:12px}.ret-input-panel .field input,.ret-input-panel .field select{min-height:44px;font-size:16px;padding:10px}.ret-input-panel .field select{padding-right:28px}.ret-secondary-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ret-field-payout,.ret-field-benefit,.ret-submit{grid-column:1/-1}.ret-submit .btn{min-height:44px;font-size:14px}.ret-form-bottom>p:first-child{font-size:11px}.ret-summary{grid-template-columns:1fr}.ret-answer{padding:18px}.ret-main-number{font-size:29px;margin:8px 0}.ret-metrics{grid-template-columns:1fr}.ret-metrics article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;border-left:0;border-top:1px solid #cbd9e7;padding:12px 15px}.ret-metrics strong{grid-column:2;grid-row:1/span 2;font-size:20px;margin:0;align-self:center}.ret-metrics article>span{font-size:12px}.ret-metrics small{font-size:11px}.ret-summary-context{display:block;padding:12px 15px}.ret-summary-context>span{display:block;margin-top:6px}.ret-growth{display:block;padding:16px 14px}.ret-growth .panel-heading{margin-bottom:12px}.ret-chart-legend{font-size:11px;gap:10px;margin-bottom:10px}.ret-plot{grid-template-columns:38px minmax(0,1fr);grid-template-rows:200px 24px;padding-right:2px;margin-bottom:12px}.ret-chart{height:200px}.ret-axis-y{padding-right:6px;font-size:10px}.ret-axis-x{font-size:10px}.ret-insight{padding:11px 12px;margin-bottom:14px}.ret-year-control #ret-year-values{grid-template-columns:1fr;gap:8px}.ret-year-control #ret-year-values>span{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px}.ret-year-control b{margin:0;font-size:13px}.ret-annual{margin-top:12px}.ret-annual table{font-size:12px}.ret-annual caption{font-size:11px}.ret-method{padding:13px 15px}}
