.tlw-plan-final-card{grid-column:1/-1;max-width:none}.card[data-return-analysis] h3::before,.card[data-workspace="plan"] h3::before{display:grid!important;place-items:center;width:24px;height:24px;border:1px solid rgba(154,126,60,0.32);border-radius:50%;font:600 11px var(--mono);color:var(--gold);flex:0 0 auto}.card[data-return-analysis] h3::before{content:"6"}.card[data-workspace="plan"] h3::before{content:"7"!important}
.tlw-return-overlay{position:fixed;inset:0;z-index:1200;background:#fcfbf6;display:none;overflow:auto}.tlw-return-overlay.open{display:block;background:#fcfbf6}.tlw-return-shell{min-height:100vh;color:#222522}.tlw-return-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;background:rgba(252,251,250,0.97);border-bottom:1px solid #d6ccb3}.tlw-return-head small,.tlw-ra-eyebrow{display:block;color:#2f6f4b;font:800 10px/1.3 Arial,sans-serif;letter-spacing:.13em}.tlw-return-head h2{font:600 31px/1.05 Georgia,serif;margin:4px 0}.tlw-return-head p{margin:0;color:#414841}.tlw-return-back{white-space:nowrap;padding:10px 17px}
.tlw-return-body{width:100%;max-width:none;margin:0;padding:24px clamp(18px,2vw,34px) 50px;box-sizing:border-box}.tlw-ra-intro{display:grid;grid-template-columns:1.5fr 1fr;gap:25px;padding:20px 22px;border:1px solid #d4c9af;border-left:4px solid #1f4e79;border-radius:12px;background:#fdfbf7}.tlw-ra-intro strong{display:block;font:600 22px/1.35 Georgia,serif;margin-top:6px}.tlw-ra-intro p{margin:3px 0;color:#424942;line-height:1.55}
.tlw-ra-strategies{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0 10px}.tlw-ra-strategy{display:grid;grid-template-columns:14px 1fr;column-gap:8px;text-align:left;padding:13px;background:#f6f1e6;color:#222522;border:1px solid #d4c9af;border-radius:10px;cursor:pointer}.tlw-ra-strategy.active{border-color:#1f4e79;box-shadow:inset 0 0 0 1px rgba(31,78,121,0.5);background:#fdfbf7}.tlw-ra-strategy .dot,.tlw-ra-compare-row .dot{width:10px;height:10px;border-radius:50%;background:var(--dot);margin-top:3px}.tlw-ra-strategy small{grid-column:2;color:#515a51;margin-top:5px;line-height:1.35}
.tlw-ra-settings{margin-bottom:16px}.tlw-ra-setting-wide{display:grid;grid-template-columns:140px 160px 1fr;gap:12px;align-items:end;padding:11px 14px;border:1px solid #d6ccb3;border-radius:10px;background:#f6f1e6}.tlw-ra-setting-wide label,.tlw-ra-custom label{font-size:11px;color:#4b534b}.tlw-ra-setting-wide input,.tlw-ra-custom input,.tlw-ra-year-grid input{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:8px;border-radius:7px;border:1px solid #d3c7ac;background:#fdfbf7;color:#1d201d}.tlw-ra-assumption{padding:8px 0;color:#474f47;font-size:12px}.tlw-ra-custom{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}.tlw-ra-custom>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;border:1px solid #d6ccb3;border-radius:9px}.tlw-ra-custom b{grid-column:1/-1;font-size:12px}
.tlw-ra-hero{display:grid;grid-template-columns:230px 1fr 1.25fr;border:1px solid #d4c9af;border-radius:14px;overflow:hidden;background:#f6f1e6;margin:18px 0}.tlw-ra-confidence{display:flex;flex-direction:column;justify-content:center;padding:20px;background:#fdfbf8;border-right:1px solid #d4c9af}.tlw-ra-confidence small{letter-spacing:.12em}.tlw-ra-confidence strong{font:700 56px/1 Georgia,serif;margin:7px 0}.tlw-ra-confidence span{font-size:11px;font-weight:800;letter-spacing:.08em}.tlw-ra-confidence.good strong{color:#298f52}.tlw-ra-confidence.fair strong{color:#7c8f28}.tlw-ra-confidence.warn strong{color:#1f4e79}.tlw-ra-confidence.bad strong{color:#9c2d1c}.tlw-ra-answer{padding:18px 21px}.tlw-ra-answer h3{font:600 22px/1.25 Georgia,serif;margin:0 0 9px}.tlw-ra-answer p{color:#424942;line-height:1.55;margin:0}.tlw-ra-range{display:grid;grid-template-columns:repeat(3,1fr);align-items:center;border-left:1px solid #d6ccb3}.tlw-ra-range>div{padding:18px 12px;border-left:1px solid #d7cdb5}.tlw-ra-range small,.tlw-ra-compare-row small{display:block;color:#586158;font-size:9px;letter-spacing:.08em}.tlw-ra-range strong,.tlw-ra-compare-row strong{display:block;margin-top:6px;font:600 19px Georgia,serif}
.tlw-ra-chart,.tlw-ra-compare,.tlw-ra-order,.tlw-ra-planlens-wrap{border:1px solid #d5cab1;border-radius:13px;background:#f6f1e6;padding:16px;margin:14px 0}.tlw-ra-chart-head{display:flex;justify-content:space-between;align-items:center;gap:16px}.tlw-ra-chart-head h3{font:600 23px Georgia,serif;margin:3px 0 8px}.tlw-ra-chart svg,.tlw-ra-order svg{display:block;width:100%;height:330px}.tlw-ra-grid{stroke:#1d201d;stroke-width:1}.tlw-ra-y-label,.tlw-ra-x-label{fill:#4e574e;font:11px Arial,sans-serif}.tlw-ra-line{fill:none;stroke-width:3}.tlw-ra-band{fill:rgba(79,135,104,0.22)}.tlw-ra-caption{color:#4b534b;font-size:12px;margin:8px 0 0}.tlw-ra-legend{display:flex;flex-wrap:wrap;gap:14px;font-size:11px}.tlw-ra-legend span:before{content:"";display:inline-block;width:18px;height:4px;margin-right:6px;vertical-align:middle}.tlw-ra-legend .range:before{height:10px;background:rgba(126,180,150,.35)}.tlw-ra-legend .median:before{background:#1f4e79}.tlw-ra-legend .baseline:before{background:#6d7ce6}
.tlw-ra-compare-row{display:grid;grid-template-columns:1.1fr repeat(3,1fr);align-items:center;border-top:1px solid #d7ccb4;padding:13px 8px}.tlw-ra-compare-row:first-child{border-top:0}.tlw-ra-compare-row>div:first-child{display:flex;align-items:center;gap:9px}.tlw-ra-compare-row>div:not(:first-child){padding-left:18px;border-left:1px solid #d7ccb4}
.tlw-return-modes{display:flex;flex-wrap:wrap;gap:7px}.tlw-return-modes button{border:1px solid #d0c4a8;border-radius:8px;background:#f6f1e6;color:#222522;padding:8px 11px;font-weight:750;cursor:pointer}.tlw-return-modes button.active{background:#1f4e79;color:#ffffff;border-color:#1f4e79}.tlw-ra-year-wrap{margin-top:10px}.tlw-ra-year-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:7px;max-height:250px;overflow:auto}.tlw-ra-year-grid label{font-size:10px;color:#4b534b}.tlw-ra-planlens-wrap{padding:0;overflow:hidden}.tlw-ra-planlens-wrap .tlw-ra-chart-head{padding:15px 16px 4px}.tlw-ra-baseline-pill{border:1px solid #80672d;border-radius:20px;padding:5px 9px;color:#1f4e79;font-size:9px;letter-spacing:.08em}.tlw-ra-planlens-frame{display:block;width:100%;height:520px;border:0;background:#f6f1e6}.tlw-ra-loading{padding:24px;color:#1f4e79;display:flex;align-items:center;gap:12px}
.tlw-ra-spinner{width:22px;height:22px;border-radius:50%;border:3px solid rgba(31,78,121,0.25);border-top-color:#1f4e79;animation:tlwRaSpin .8s linear infinite;flex:0 0 auto}
@keyframes tlwRaSpin{to{transform:rotate(360deg)}}
.tlw-ra-result-grid.tlw-ra-busy{position:relative}
.tlw-ra-result-grid.tlw-ra-busy>*{opacity:.35;transition:opacity .2s}
.tlw-ra-result-grid.tlw-ra-busy::after{content:'Working…';position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding-top:70px;color:#1f4e79;font-size:14px;background:radial-gradient(circle at 50% 42%,rgba(31,78,121,0.08),transparent 60%);pointer-events:none}
.tlw-ra-result-grid.tlw-ra-busy::before{content:'';position:absolute;left:50%;top:42%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;border:4px solid rgba(31,78,121,0.25);border-top-color:#1f4e79;animation:tlwRaSpin .8s linear infinite;z-index:2;pointer-events:none}
@media(max-width:1000px){.tlw-ra-strategies{grid-template-columns:1fr 1fr}.tlw-ra-hero{grid-template-columns:190px 1fr}.tlw-ra-range{grid-column:1/-1;border-top:1px solid #d6ccb3;border-left:0}.tlw-ra-custom{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.tlw-return-head,.tlw-return-body{padding:14px}.tlw-return-head p{display:none}.tlw-ra-intro,.tlw-ra-hero{grid-template-columns:1fr}.tlw-ra-strategies,.tlw-ra-custom{grid-template-columns:1fr}.tlw-ra-setting-wide{grid-template-columns:1fr 1fr}.tlw-ra-assumption{grid-column:1/-1}.tlw-ra-confidence{border-right:0}.tlw-ra-range{grid-template-columns:1fr}.tlw-ra-chart-head{display:block}.tlw-ra-compare-row{grid-template-columns:1fr 1fr;gap:12px}.tlw-ra-year-grid{grid-template-columns:repeat(3,1fr)}.tlw-ra-planlens-frame{height:900px}.tlw-plan-final-card{grid-column:auto}}

/* Annual portfolio strategy timelines */
.tlw-ra-portfolio-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:9px;margin:18px 0 10px;align-items:stretch}.tlw-ra-portfolio-tabs button{padding:12px;text-align:left;border:1px solid #d4c9af;border-radius:10px;background:#f6f1e6;color:#222522;font-weight:800;cursor:pointer}.tlw-ra-portfolio-tabs button.active{border-color:#1f4e79;background:#fdfbf7;box-shadow:inset 0 0 0 1px rgba(31,78,121,0.5)}.tlw-ra-portfolio-tabs small{display:block;margin-top:5px;color:#525b52;font-weight:500}.tlw-ra-timeline{padding:16px;border:1px solid #d4c9af;border-radius:13px;background:#f6f1e6}.tlw-ra-timeline-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.tlw-ra-timeline-head h3{font:600 24px Georgia,serif;margin:3px 0}.tlw-ra-metric-switch{display:flex;gap:7px}.tlw-ra-metric-switch button,.tlw-ra-preset-buttons button{border:1px solid #d2c6aa;border-radius:8px;background:#f6f1e6;color:#222522;padding:8px 11px;font-weight:750;cursor:pointer}.tlw-ra-metric-switch button.active{background:#1f4e79;border-color:#1f4e79;color:#ffffff}.tlw-ra-band-editor{display:grid;grid-template-columns:130px 130px minmax(360px,1fr) auto;gap:9px;align-items:end;margin:13px 0;padding:11px;border:1px solid #d6ccb3;border-radius:10px;background:#fcfaf6}.tlw-ra-band-editor label{font-size:10px;color:#4b534b}.tlw-ra-band-editor select,.tlw-ra-confidence-controls input{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:8px;border:1px solid #d3c7ac;border-radius:7px;background:#fdfbf7;color:#1d201d}.tlw-ra-preset-buttons{display:flex;gap:7px}.tlw-ra-preset-buttons .dot{display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:50%;background:var(--dot)}.tlw-ra-drag-help{padding:8px 11px;border-left:3px solid #79b8a0;background:rgba(121,184,160,.07);color:#474f47;font-size:12px}.tlw-ra-timeline svg{display:block;width:100%;height:285px;touch-action:none;cursor:crosshair}.tlw-ra-point{fill:#1f4e79}.tlw-ra-point.manual{fill:#1d201d;stroke:#1f4e79;stroke-width:3}.tlw-ra-line.dash{stroke-dasharray:7 5}.tlw-ra-confidence-controls{display:grid;grid-template-columns:1fr 150px 180px;gap:12px;align-items:end;margin:14px 0;padding:13px 16px;border:1px solid #d6ccb3;border-radius:11px;background:#fcfbf6}.tlw-ra-confidence-controls strong{display:block;margin-top:4px}.tlw-ra-confidence-controls label{font-size:10px;color:#4b534b}.tlw-ra-scenario-summary{display:grid;grid-template-columns:1.3fr 1fr 1fr;margin:12px 0;border:1px solid #d6ccb3;border-radius:10px;background:#f6f1e6}.tlw-ra-scenario-summary>div{padding:11px 13px;border-left:1px solid #d6ccb3}.tlw-ra-scenario-summary>div:first-child{border-left:0}.tlw-ra-scenario-summary small{display:block;color:#586158;font-size:9px;letter-spacing:.08em}.tlw-ra-scenario-summary strong{display:block;margin-top:4px}.tlw-ra-legend .scenario:before{background:#ef8f75}
@media(max-width:900px){.tlw-ra-portfolio-tabs{grid-template-columns:1fr 1fr}.tlw-ra-schedule-link-top{grid-column:1/-1;min-height:38px}.tlw-ra-band-editor{grid-template-columns:1fr 1fr}.tlw-ra-preset-buttons{grid-column:1/-1}.tlw-ra-confidence-controls{grid-template-columns:1fr 1fr}.tlw-ra-confidence-controls>div{grid-column:1/-1}}
@media(max-width:600px){.tlw-ra-portfolio-tabs{grid-template-columns:1fr}.tlw-ra-schedule-link-top{grid-column:auto}.tlw-ra-timeline-head{display:block}.tlw-ra-metric-switch{margin-top:10px}.tlw-ra-band-editor{grid-template-columns:1fr}.tlw-ra-preset-buttons{display:grid;grid-template-columns:1fr}.tlw-ra-confidence-controls,.tlw-ra-scenario-summary{grid-template-columns:1fr}.tlw-ra-scenario-summary>div{border-left:0;border-top:1px solid #d6ccb3}.tlw-ra-scenario-summary>div:first-child{border-top:0}}
.tlw-ra-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tlw-ra-result-grid>.tlw-ra-chart{min-width:0}.tlw-ra-result-grid .tlw-ra-chart-head{align-items:flex-start}.tlw-ra-result-grid .tlw-ra-legend{justify-content:flex-end;max-width:58%}.tlw-ra-sequence-note{margin:12px 0;padding:10px 12px;border-left:3px solid #79b8a0;background:rgba(121,184,160,.08);color:#424942;font-size:12px;line-height:1.45}
.tlw-ra-timeline-chart{position:relative}.tlw-ra-drag-readout{display:none;position:absolute;z-index:2;pointer-events:none;padding:6px 9px;border:1px solid #d0c4a8;border-radius:7px;background:#f6f1e6;color:#222522;font:700 11px Arial,sans-serif;box-shadow:0 4px 14px rgba(30,33,30,0.158)}
/* FIX56 (Mark, 4 Oct): popover at the point: year, % and what it is */
.tlw-ra-drag-readout{min-width:96px;text-align:center;padding:6px 10px;border-color:#1f4e79;font-size:12px;line-height:1.25}
.tlw-ra-drag-readout span{display:block;color:#484f48;font-weight:700}
.tlw-ra-drag-readout b{display:block;color:#1f4e79;font-size:17px}
.tlw-ra-drag-readout small{display:block;color:#4e574e;font-weight:600;font-size:10.5px}
.tlw-ra-drag-readout:after{content:'';position:absolute;left:50%;bottom:-6px;width:10px;height:10px;margin-left:-5px;background:#f6f1e6;border-right:1px solid #1f4e79;border-bottom:1px solid #1f4e79;transform:rotate(45deg)}
.tlw-ra-band-inner{fill:rgba(121,184,160,.23)}.tlw-ra-legend .middle:before{height:10px;background:rgba(121,184,160,.42)}.tlw-ra-vol-band{fill:rgba(121,184,160,.18);stroke:none}
.tlw-ra-methods{display:grid;grid-template-columns:1.05fr 1.2fr 1fr 120px auto;gap:10px;align-items:end;margin:13px 0;padding:12px;border:1px solid #d6ccb3;border-radius:10px;background:#fcfaf6}.tlw-ra-methods small{display:block;margin-bottom:6px;color:#586158;font:800 9px Arial,sans-serif;letter-spacing:.09em}.tlw-ra-methods>div>div{display:flex;gap:6px;flex-wrap:wrap}.tlw-ra-methods button{border:1px solid #d2c6aa;border-radius:8px;background:#f6f1e6;color:#222522;padding:8px 10px;font-weight:750;cursor:pointer}.tlw-ra-methods button.active,.tlw-ra-methods button:hover{border-color:#1f4e79}.tlw-ra-methods .dot{display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:50%;background:var(--dot)}.tlw-ra-methods label{font-size:10px;color:#4b534b}.tlw-ra-methods input{display:block;width:100%;box-sizing:border-box;margin-top:4px;padding:8px;border:1px solid #d3c7ac;border-radius:7px;background:#fdfbf7;color:#1d201d}.tlw-ra-legacy{display:none!important}
@media(max-width:1100px){.tlw-ra-methods{grid-template-columns:1fr 1fr}.tlw-ra-methods>label,.tlw-ra-methods>.smallghost{align-self:end}}
@media(max-width:650px){.tlw-ra-methods{grid-template-columns:1fr}}
.tlw-ra-methods button.active{background:#1f4e79;color:#ffffff}
.tlw-ra-methods .tlw-ra-mix-button{border-color:#b34b33}
.tlw-ra-methods .tlw-ra-mix-button .dot{background:#d98c7a}
.tlw-ra-methods .tlw-ra-mix-button.active{background:#d98c7a;color:#1d201d;border-color:#b34b33}
.tlw-ra-schedule.is-mix-active{border-left:3px solid #b34b33;border-color:#b34b33}
.tlw-ra-mix-title{display:inline-flex;align-items:center;gap:7px;font:700 10px/1.2 Arial,sans-serif;letter-spacing:.09em;color:#8f3c29}
.tlw-ra-mix-title i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#d98c7a;flex:none}
.tlw-ra-schedule:not(.is-mix-active) .tlw-ra-mix-title{color:#1f4e79}
.tlw-ra-schedule:not(.is-mix-active) .tlw-ra-mix-title i{background:#1f4e79}.tlw-ra-order{display:none!important}.tlw-ra-portfolio-tabs{grid-template-columns:repeat(3,minmax(0,1fr)) auto}
.tlw-ra-live-workbench{display:grid;grid-template-columns:minmax(480px,.92fr) minmax(560px,1.08fr);gap:14px;align-items:stretch;margin-top:10px}.tlw-ra-live-left,.tlw-ra-live-right{min-width:0}.tlw-ra-live-left{display:flex}.tlw-ra-live-left .tlw-ra-timeline{display:flex;flex:1;flex-direction:column}.tlw-ra-live-left .tlw-ra-methods{grid-template-columns:1fr}.tlw-ra-live-left .tlw-ra-timeline-chart{flex:1;min-height:500px;display:flex;align-items:stretch}.tlw-ra-live-left .tlw-ra-timeline svg{height:auto;min-height:500px}.tlw-ra-live-right{display:flex;flex-direction:column}.tlw-ra-live-right .tlw-ra-hero{grid-template-columns:150px 1fr;margin:0 0 10px}.tlw-ra-live-right .tlw-ra-range{grid-column:1/-1}.tlw-ra-live-right .tlw-ra-planlens-wrap{margin:0;flex:1}.tlw-ra-live-right .tlw-ra-planlens-frame{height:760px}.tlw-ra-return-legend{display:flex;gap:16px;flex-wrap:wrap;margin:8px 0 0;color:#4b534b;font-size:10px}.tlw-ra-return-legend span:before{content:"";display:inline-block;width:22px;height:4px;margin-right:6px;vertical-align:middle}.tlw-ra-return-legend .path:before{background:#1f4e79}.tlw-ra-return-legend .vol:before{height:10px;background:rgba(121,184,160,.35)}.tlw-ra-return-legend .axis{margin-left:auto}.tlw-ra-return-legend .axis:before{display:none}
@media(max-width:1150px){.tlw-ra-live-workbench{grid-template-columns:1fr}.tlw-ra-live-left .tlw-ra-timeline-chart{min-height:380px}.tlw-ra-live-left .tlw-ra-timeline svg{min-height:380px}.tlw-ra-live-right .tlw-ra-hero{grid-template-columns:190px 1fr}.tlw-ra-live-right .tlw-ra-planlens-frame{height:760px}}
@media(max-width:650px){.tlw-ra-live-left .tlw-ra-methods{grid-template-columns:1fr}.tlw-ra-live-right .tlw-ra-hero{grid-template-columns:1fr}}
@media(max-width:1050px){.tlw-ra-result-grid{grid-template-columns:1fr}.tlw-ra-result-grid .tlw-ra-legend{max-width:none}}
.tlw-ra-live-left .tlw-ra-methods>div{padding-bottom:10px;border-bottom:1px solid #d6ccb4}.tlw-ra-live-left .tlw-ra-methods>div>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.tlw-ra-live-left .tlw-ra-methods button{width:100%}.tlw-ra-live-left .tlw-ra-methods>label{display:grid;grid-template-columns:1fr 180px;align-items:center;gap:12px}.tlw-ra-live-left .tlw-ra-methods>label input{margin-top:0}
@media(max-width:650px){.tlw-ra-live-left .tlw-ra-methods>div>div{grid-template-columns:1fr}.tlw-ra-live-left .tlw-ra-methods>label{grid-template-columns:1fr}}

/* Card 6 desktop workbench: confidence + controls on the left, live PlanLens charts on the right. */
.tlw-ra-live-workbench{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:stretch}
.tlw-ra-live-left{flex-direction:column}
.tlw-ra-live-left .tlw-ra-hero{grid-template-columns:135px minmax(0,1fr);margin:0 0 10px}
.tlw-ra-live-left .tlw-ra-confidence{padding:16px 13px}
.tlw-ra-live-left .tlw-ra-confidence strong{font-size:48px}
.tlw-ra-live-left .tlw-ra-answer{padding:15px 17px}
.tlw-ra-live-left .tlw-ra-answer h3{font-size:20px}
.tlw-ra-live-left .tlw-ra-range{grid-column:1/-1;border-left:0;border-top:1px solid #d6ccb3}
.tlw-ra-live-left .tlw-ra-timeline-chart{min-height:390px}
.tlw-ra-live-left .tlw-ra-timeline svg{min-height:390px}
.tlw-ra-live-right .tlw-ra-planlens-wrap{height:100%}
@media(max-width:850px){.tlw-ra-live-workbench{grid-template-columns:1fr}.tlw-ra-live-left .tlw-ra-hero{grid-template-columns:150px minmax(0,1fr)}}
@media(max-width:650px){.tlw-ra-live-left .tlw-ra-hero{grid-template-columns:1fr}}

/* Adjustable Card 6 workbench. The return scenario is the primary workspace. */
.tlw-ra-live-workbench{grid-template-columns:minmax(0,60fr) 8px minmax(0,40fr);column-gap:8px}
.tlw-ra-live-divider{position:relative;min-height:100%;border-radius:6px;background:#f7f4ed;cursor:col-resize;touch-action:none}
.tlw-ra-live-divider:before{content:"";position:absolute;top:50%;left:2px;width:4px;height:64px;transform:translateY(-50%);border-radius:3px;background:#fdfdfc}
.tlw-ra-live-divider:hover,.tlw-ra-live-divider.dragging{background:#1f4e79}.tlw-ra-live-divider:hover:before,.tlw-ra-live-divider.dragging:before{background:#fcfaf6}
.tlw-ra-confidence-section{margin-top:12px;padding:15px;border:1px solid #d4c9af;border-radius:13px;background:#f6f1e6}
.tlw-ra-live-workbench+.tlw-ra-confidence-section{width:100%;margin:14px 0 12px}
.tlw-ra-confidence-section>header{display:flex;align-items:baseline;gap:13px;flex-wrap:wrap;margin-bottom:8px}
.tlw-ra-confidence-section>header h3{margin:0;font:600 25px Georgia,serif}
.tlw-ra-confidence-section>header p{flex:1 1 240px;margin:0;color:#474f47;font-size:12px}
.tlw-ra-confidence-section .tlw-ra-confidence-controls{margin:8px 0 10px;grid-template-columns:minmax(0,1fr) 120px 150px}
.tlw-ra-confidence-controls>div small{display:block;margin-top:4px;color:#586158}
.tlw-ra-confidence-section .tlw-ra-hero{margin:0}
.tlw-ra-vol-control{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px;padding:13px 15px;border:1px solid #d4c9af;border-radius:10px;background:#fcfaf6}
.tlw-ra-vol-control strong{display:block;color:#222522;font-size:14px}.tlw-ra-vol-control small{display:block;margin-top:3px;color:#474f47;font-size:11px;line-height:1.4}
.tlw-ra-vol-control label{display:flex;align-items:center;gap:8px;color:#1f4e79;font-weight:800}.tlw-ra-vol-control input{width:110px;padding:10px 12px;font-size:16px;font-weight:800}
.tlw-ra-planlens-apply{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:13px 15px;border:1px solid #78632f;border-radius:10px;background:#fcfaf6}.tlw-ra-planlens-apply strong{display:block;color:#222522;font-size:14px}.tlw-ra-planlens-apply small{display:block;margin-top:3px;color:#414841;font-size:11px;line-height:1.4}.tlw-ra-planlens-apply>div:last-child{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tlw-ra-planlens-apply button{padding:9px 12px;border-radius:8px;cursor:pointer;font-weight:800}.tlw-ra-planlens-apply .smallgold{border:1px solid #1f4e79;background:#1f4e79;color:#ffffff}.tlw-ra-planlens-apply .smallghost{border:1px solid #d2c6aa;background:#f6f1e6;color:#222522}
.tlw-ra-portfolio-tabs button small{display:flex!important;flex-direction:column;gap:2px}.tlw-ra-portfolio-balance{color:#222522;font-size:12px;font-weight:800}.tlw-ra-portfolio-assumption{color:#4b534b;font-size:10px;font-weight:500}
.tlw-ra-result-grid .tlw-ra-uncertainty-svg{display:block;width:100%;height:auto;min-height:460px}
.tlw-ra-result-grid .tlw-ra-y-label,.tlw-ra-result-grid .tlw-ra-x-label{fill:#343934;font:700 17px Arial,sans-serif}
.tlw-ra-result-grid .tlw-ra-grid{stroke:#5c655c;stroke-width:1.2}
@media(max-width:850px){.tlw-ra-live-workbench{grid-template-columns:1fr!important;column-gap:0}.tlw-ra-live-divider{display:none}.tlw-ra-confidence-section .tlw-ra-confidence-controls{grid-template-columns:1fr 1fr}.tlw-ra-confidence-section .tlw-ra-confidence-controls>div{grid-column:1/-1}}
@media(max-width:650px){.tlw-ra-vol-control,.tlw-ra-planlens-apply{align-items:flex-start;flex-direction:column}.tlw-ra-planlens-apply>div:last-child{justify-content:flex-start}.tlw-ra-result-grid .tlw-ra-uncertainty-svg{min-height:320px}}

.tlw-ra-profile-schedule{margin-top:12px;padding:12px;border:1px solid #d4c9af;border-radius:10px;background:#fcfaf6}
.tlw-ra-profile-schedule-head strong{display:block;color:#222522;font-size:13px}
.tlw-ra-profile-schedule-head small{display:block;margin-top:3px;color:#586158;font-size:11px}
.tlw-ra-schedule-mode{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0 8px;padding:10px 12px;border:1px solid #d5cab1;border-radius:9px;background:#f6f1e6}
.tlw-ra-schedule-mode label{display:flex;align-items:center;gap:7px;color:#383e38;font-size:12px;cursor:pointer}
.tlw-ra-profile-segments{display:flex;flex-direction:column;gap:7px}
.tlw-ra-profile-segment{display:grid;grid-template-columns:90px 24px 90px minmax(150px,1fr) 34px;align-items:center;gap:7px}
.tlw-ra-profile-segment select{width:100%;padding:8px 9px;border:1px solid #d3c8ae;border-radius:7px;background:#f6f1e6;color:#222522;font-weight:700}
.tlw-ra-profile-arrow{text-align:center;color:#586158}
.tlw-ra-profile-segment button{padding:7px 8px}
.tlw-ra-profile-schedule>[data-add-segment]{margin-top:9px}
@media(max-width:850px){.tlw-ra-profile-segment{grid-template-columns:1fr 18px 1fr;}.tlw-ra-profile-segment select[data-seg-field="profile"]{grid-column:1/3}.tlw-ra-profile-segment button{grid-column:3}}

/* Card 6 — different-profiles-over-time segmented year slider (compact, PlanLens-scaled) */
.tlw-ra-schedule{margin:11px 0;padding:11px 12px;border:1px solid #d5cab1;border-radius:9px;background:#f6f1e6}
.tlw-ra-schedule-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.tlw-ra-schedule-head .tlw-ra-eyebrow{font:700 10px/1.2 Arial,sans-serif;letter-spacing:.09em;color:#1f4e79}
.tlw-ra-schedule-link{display:flex;align-items:center;gap:7px;font-size:11.5px;color:#222522;cursor:pointer;user-select:none}
.tlw-ra-schedule-link input{width:14px;height:14px;accent-color:#1f4e79;cursor:pointer}
.tlw-ra-schedule-link-top{align-self:stretch;justify-content:center;white-space:nowrap;padding:0 12px;border:1px solid #d4c9af;border-radius:10px;background:#fcfaf6;color:#222522}.tlw-ra-schedule-link-top:hover{border-color:#1f4e79}.tlw-ra-schedule-link-top input{flex:none}
.tlw-ra-schedule-hint{font-size:10.5px;color:#5c655c;margin:5px 0 9px;line-height:1.45}
.tlw-ra-sched-row{margin-top:11px}
.tlw-ra-sched-row:first-child{margin-top:0}
.tlw-ra-sched-rowlab{font:700 10px/1 Arial,sans-serif;letter-spacing:.05em;text-transform:uppercase;color:#525b52;margin-bottom:4px}
.tlw-ra-sched-track{position:relative;height:30px;border-radius:6px;overflow:hidden;background:#f6f1e6;border:1px solid #d3c8ae;touch-action:none}
.tlw-ra-sched-seg{position:absolute;top:0;bottom:0;display:flex;align-items:center;justify-content:center;gap:5px;color:#1d201d;font-size:11px;font-weight:600;cursor:pointer;user-select:none;border-right:1px solid rgba(30,33,30,0.35);overflow:hidden;white-space:nowrap}
.tlw-ra-sched-seg:last-child{border-right:0}
.tlw-ra-sched-name{padding:0 2px}
.tlw-ra-sched-x{border:0;background:rgba(255,255,255,0.28);color:inherit;border-radius:50%;width:15px;height:15px;line-height:14px;font-size:12px;cursor:pointer;padding:0;flex:none}
.tlw-ra-sched-x:hover{background:rgba(252,251,250,0.85)}
.tlw-ra-sched-handle{position:absolute;top:-2px;bottom:-2px;width:12px;margin-left:-6px;cursor:ew-resize;z-index:4;display:flex;align-items:center;justify-content:center;touch-action:none}
.tlw-ra-sched-handle:after{content:"";width:3px;height:100%;background:#f5eedc;border-radius:3px;box-shadow:0 0 0 1px rgba(30,33,30,0.22)}
.tlw-ra-sched-bubble{position:absolute;top:-19px;transform:translateX(-50%);font:600 10px Arial,sans-serif;color:#222522;background:#fcfaf6;border:1px solid #d4c9af;border-radius:4px;padding:1px 5px;white-space:nowrap;pointer-events:none;z-index:6}
.tlw-ra-sched-axis{position:relative;height:13px;margin-top:3px;font-size:9.5px;color:#5c655c}
.tlw-ra-sched-axis span{position:absolute}
.tlw-ra-sched-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:6px;flex-wrap:wrap}
.tlw-ra-sched-readout{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:10.5px;color:#474f47}
.tlw-ra-sched-readout span{display:inline-flex;align-items:center;gap:5px}
.tlw-ra-sched-readout i{width:8px;height:8px;border-radius:2px;display:inline-block}
.tlw-ra-sched-add{border:1px solid #d2c6aa;background:none;color:#1f4e79;border-radius:6px;padding:4px 9px;font-size:10.5px;cursor:pointer;font-family:inherit;white-space:nowrap}
.tlw-ra-sched-add:hover{border-color:#1f4e79}

/* Configure return profiles — compact transposed matrix (profiles as columns, PlanLens-scaled) */
.tlw-ra-profile-config-body .tlw-ra-pm{display:grid;grid-template-columns:auto repeat(4,minmax(60px,1fr));gap:6px 10px;align-items:center}
.tlw-ra-pm-corner{min-height:1px}
.tlw-ra-pm-col{display:flex;align-items:center;gap:6px;font:600 11px/1 Arial,sans-serif;color:#222522}
.tlw-ra-pm-col .dot{width:8px;height:8px;border-radius:50%;background:var(--dot);flex:none}
.tlw-ra-pm-rowlab{font-size:11px;color:#4b534b;white-space:nowrap}
.tlw-ra-profile-config .tlw-ra-pm input{width:100%;box-sizing:border-box;text-align:right;height:24px;margin:0;padding:3px 6px;font:700 11px/1 Inter,Arial,sans-serif;background:#fdfdfc;color:#1a1a2e;border:1px solid #cfc3a6;border-radius:4px}
.tlw-ra-profile-config .tlw-ra-pm input:focus{outline:none;border-color:#1f4e79}
.tlw-ra-profile-config .tlw-ra-pm input::-webkit-inner-spin-button,.tlw-ra-profile-config .tlw-ra-pm input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.tlw-ra-profile-config .tlw-ra-profile-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}

/* Return-over-time: compact chrome + graph header/legend/axis titles */
.tlw-ra-timeline-head h3{font-size:16px;margin:1px 0}
.tlw-ra-methods{margin:8px 0;padding:8px 9px;gap:6px}
.tlw-ra-methods small{margin-bottom:3px}
.tlw-ra-methods button{padding:5px 9px;font-weight:650}
.tlw-ra-methods>div{padding-bottom:6px}
.tlw-ra-timeline-block{margin-top:6px}
.tlw-ra-tl-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:3px}
.tlw-ra-tl-title{font:600 13px/1.2 Georgia,serif;color:#222522}
.tlw-ra-tl-info{position:relative;display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;border:1px solid #80672d;border-radius:50%;color:#1f4e79;font:italic 700 10px/1 Georgia,serif;cursor:help;flex:none}
.tlw-ra-tl-pop{display:none;position:absolute;top:20px;left:0;z-index:20;width:min(280px,72vw);padding:8px 10px;background:#fcfaf6;border:1px solid #d4c9af;border-radius:7px;color:#766941;font:400 11px/1.5 Arial,sans-serif;box-shadow:0 8px 24px rgba(30,33,30,0.22)}
.tlw-ra-tl-info:hover .tlw-ra-tl-pop,.tlw-ra-tl-info:focus .tlw-ra-tl-pop{display:block}
.tlw-ra-tl-legend{display:flex;gap:14px;margin-left:auto;font-size:11px;color:#4b534b}
.tlw-ra-tl-legend span{display:inline-flex;align-items:center}
.tlw-ra-tl-legend span:before{content:"";display:inline-block;width:16px;height:3px;margin-right:6px;vertical-align:middle;border-radius:2px}
.tlw-ra-tl-legend .path:before{background:#1f4e79}
.tlw-ra-tl-legend .vol:before{height:9px;background:rgba(121,184,160,.30)}
.tlw-ra-timeline-chart .tlw-ra-y-label,.tlw-ra-timeline-chart .tlw-ra-x-label{font-size:17px;fill:#424942}
.tlw-ra-timeline-chart .tlw-ra-axis-title{font:600 16px Arial,sans-serif;fill:#586158}

/* Compact return-method rows: keep each method label beside its choices. */
.tlw-ra-methods{display:grid;grid-template-columns:1fr;gap:0;margin:8px 0;padding:7px 9px}
.tlw-ra-methods>div{display:grid;grid-template-columns:108px minmax(0,1fr);align-items:center;gap:8px;padding:4px 0;border-bottom:1px solid #d6ccb4}
.tlw-ra-methods>div:last-of-type{border-bottom:0}
.tlw-ra-methods small{margin:0;white-space:nowrap}
.tlw-ra-methods>div>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.tlw-ra-methods button{width:100%;padding:5px 8px}
.tlw-ra-methods>#tlwResetPortfolio{width:100%;margin-top:6px}
@media(max-width:650px){
  .tlw-ra-methods>div{grid-template-columns:1fr;gap:3px}
  .tlw-ra-methods>div>div{grid-template-columns:1fr}
}

/* Next compression pass: keep custom-mode control on one line and make the profile dropdown obvious. */
.tlw-ra-methods>div:last-of-type>div{min-width:205px}
.tlw-ra-methods>div:last-of-type button[data-mode="custom"]{min-width:205px;white-space:nowrap}
.tlw-ra-profile-config>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 10px;border:1px solid #d2c6aa;border-radius:7px;background:#fcfaf6;color:#222522;font-weight:700;cursor:pointer;list-style:none}
.tlw-ra-profile-config>summary::-webkit-details-marker{display:none}
.tlw-ra-profile-config>summary:after{content:"⌄";display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1px solid #1f4e79;border-radius:5px;color:#1f4e79;font-size:15px;font-weight:800;line-height:1;flex:none}
.tlw-ra-profile-config[open]>summary:after{content:"⌃"}
.tlw-ra-profile-config>summary:hover{border-color:#1f4e79}

/* Tighten volatility copy onto one line to save vertical space. */
.tlw-ra-vol-control>div{display:flex;align-items:baseline;gap:8px;min-width:0}
.tlw-ra-vol-control strong{flex:none}
.tlw-ra-vol-control small{margin-top:0;line-height:1.2}
.tlw-ra-schedule-actions{display:flex;justify-content:flex-end;margin-top:9px;padding-top:8px;border-top:1px solid #d6ccb4}
.tlw-ra-schedule-actions .gold{padding:6px 13px}

/* Card 6 — tighter left-column layout: keep Flat choices on one line and reduce button chrome. */
.tlw-ra-live-left .tlw-ra-methods{background:#fdfbf7}
.tlw-ra-live-left .tlw-ra-methods>div:first-child>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;flex-wrap:nowrap}
.tlw-ra-live-left .tlw-ra-methods>div:nth-child(2)>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex-wrap:nowrap}
.tlw-ra-live-left .tlw-ra-methods>div>div button{min-width:0;padding:5px 8px;white-space:nowrap}
.tlw-ra-live-left .tlw-ra-methods>div:last-of-type>div{min-width:0}
.tlw-ra-live-left .tlw-ra-methods>div:last-of-type button[data-mode="custom"]{min-width:205px;padding:5px 8px}

/* Give the Card 6 panels a shared lifted background so the sections read clearly against the page. */
.tlw-ra-live-left .tlw-ra-timeline,
.tlw-ra-live-left .tlw-ra-profile-config,
.tlw-ra-live-left .tlw-ra-schedule{background:#fdfbf7}
.tlw-ra-live-left .tlw-ra-profile-config>summary{background:#fdfbf7;padding:6px 9px}
.tlw-ra-live-left .tlw-ra-profile-config>summary:after{width:20px;height:20px}
.tlw-ra-live-left .tlw-ra-schedule{padding:9px 11px}
.tlw-ra-live-left .tlw-ra-schedule-hint{margin:4px 0 7px}
.tlw-ra-live-left .tlw-ra-schedule-actions{margin-top:6px;padding-top:6px}
.tlw-ra-live-left .tlw-ra-schedule-actions .gold{padding:4px 10px;min-height:0}
.tlw-ra-live-left .tlw-ra-sched-add{padding:3px 8px}

/* Card 6 — make the Mix relationship unmistakable and keep the controls on one compact line. */
.tlw-ra-live-left .tlw-ra-methods>div:first-child>div{display:flex;flex-wrap:nowrap;gap:6px;min-width:0}
.tlw-ra-live-left .tlw-ra-methods>div:first-child>div button{flex:1 1 0;min-width:0;padding:4px 6px}
.tlw-ra-live-left .tlw-ra-schedule.is-mix-active{border:1px solid #b34b33;border-left:3px solid #b34b33;box-shadow:inset 0 0 0 1px rgba(179,75,51,0.14)}
.tlw-ra-live-left .tlw-ra-schedule.is-mix-active .tlw-ra-mix-title{color:#8f3c29}
.tlw-ra-live-left .tlw-ra-schedule.is-mix-active .tlw-ra-mix-title i{background:#d98c7a}
.tlw-ra-live-left .tlw-ra-schedule.is-mix-active .tlw-ra-sched-track{border-color:#b34b33;box-shadow:inset 0 0 0 1px rgba(179,75,51,0.12)}
.tlw-ra-live-left .tlw-ra-schedule.is-mix-active .tlw-ra-sched-handle:after{background:#d98c7a}
@media(max-width:650px){.tlw-ra-live-left .tlw-ra-methods>div:first-child>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));flex-wrap:wrap}.tlw-ra-live-left .tlw-ra-methods>div:first-child>div button{flex:none}}

/* Card 6 — use the same black inner-panel treatment as the People card, while keeping the lifted outer card. */
.tlw-ra-live-left .tlw-ra-methods{background:#f6f1e6}
.tlw-ra-live-left .tlw-ra-profile-config{background:#f6f1e6}
.tlw-ra-live-left .tlw-ra-profile-config>summary{background:#f6f1e6}
.tlw-ra-live-left .tlw-ra-profile-config-body{background:#f6f1e6}
.tlw-ra-live-left .tlw-ra-schedule{background:#f6f1e6}
.tlw-ra-live-left .tlw-ra-schedule .tlw-ra-sched-track{background:#f6f1e6}
.tlw-ra-live-left .tlw-ra-schedule .tlw-ra-sched-bubble{background:#f6f1e6}
.tlw-ra-live-left .tlw-ra-timeline-chart{background:#f6f1e6;border-radius:7px}
/* Keep entry fields consistent with the app's light input treatment. */
.tlw-ra-live-left .tlw-ra-profile-config .tlw-ra-pm input{background:#fdfdfc;color:#1a1a2e;border-color:#cfc3a6}
/* Active method follows the app's selected-tab treatment; Mix retains its coral state. */
.tlw-ra-live-left .tlw-ra-methods button.active:not(.tlw-ra-mix-button){background:#1f4e79;color:#ffffff;border-color:#1f4e79}

/* Final Mix linkage: the Mix state, title and controlling section share one accent. */
.tlw-ra-live-left .tlw-ra-methods .tlw-ra-mix-button.active{
  border-color:#b34b33 !important;
  color:#8f3c29 !important;
  background:#f6f1e6 !important;
}
.tlw-ra-live-left .tlw-ra-methods .tlw-ra-mix-button.active .dot{
  background:#d98c7a !important;
}
.tlw-ra-live-left #tlwReturnProfileSchedule.is-mix-active{
  border:1px solid #b34b33 !important;
  border-left:3px solid #b34b33 !important;
  box-shadow:inset 0 0 0 1px rgba(179,75,51,0.14) !important;
}
.tlw-ra-live-left #tlwReturnProfileSchedule.is-mix-active .tlw-ra-mix-title{
  color:#8f3c29 !important;
}
.tlw-ra-live-left #tlwReturnProfileSchedule.is-mix-active .tlw-ra-mix-title i{
  background:#d98c7a !important;
}
.tlw-ra-live-left #tlwReturnProfileSchedule.is-mix-active .tlw-ra-sched-track{
  border-color:#b34b33 !important;
}


/* Card 6 — keep direct portfolios and Industry / retail funds as separate top-level groups. */
.tlw-ra-portfolio-tabs{display:flex;flex-direction:column;gap:10px;margin:18px 0 10px;align-items:stretch}
.tlw-ra-portfolio-group{border:1px solid #d6ccb3;border-radius:10px;background:#f6f1e6;padding:8px 9px}
.tlw-ra-portfolio-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 8px}
.tlw-ra-portfolio-group-head>span{color:#1f4e79;font:800 10px Arial,sans-serif;letter-spacing:.08em}
.tlw-ra-portfolio-group-head .tlw-ra-schedule-link{display:flex;align-items:center;gap:7px;color:#222522;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
.tlw-ra-portfolio-group-head .tlw-ra-schedule-link input{accent-color:#1f4e79}
.tlw-ra-portfolio-group-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.tlw-ra-portfolio-group-tabs button{padding:10px 12px;text-align:left;border:1px solid #d4c9af;border-radius:10px;background:#f6f1e6;color:#222522;font-weight:800;cursor:pointer;min-width:0}
.tlw-ra-portfolio-group-tabs button.active{border-color:#1f4e79;background:#fdfbf7;box-shadow:inset 0 0 0 1px rgba(31,78,121,0.5)}
.tlw-ra-portfolio-group-tabs small{display:block;margin-top:5px;color:#525b52;font-weight:500}
.tlw-ra-portfolio-group-industry .tlw-ra-portfolio-group-head>span{color:#2f6f4b}
.tlw-ra-portfolio-group-industry .tlw-ra-portfolio-group-tabs button.active{border-color:#45a16c;box-shadow:inset 0 0 0 1px #45a16c}
@media(max-width:900px){.tlw-ra-portfolio-group-tabs{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.tlw-ra-portfolio-group-head{align-items:flex-start;flex-direction:column;gap:5px}.tlw-ra-portfolio-group-head .tlw-ra-schedule-link{white-space:normal}.tlw-ra-portfolio-group-tabs{grid-template-columns:1fr}}

/* FIX42: today's dollars beside end-of-plan amounts */
.tlw-ra-pv{display:block;font-style:normal;font-size:10px;font-weight:500;opacity:.78;margin-top:2px}

/* FIX57 (Mark, 4 Oct): Mix shows clearly when selected (its own colour); reset button at the top of Return over time */
#tlwReturnOverlay .tlw-ra-methods button.tlw-ra-mix-button.active,#tlwReturnOverlay .tlw-ra-live-left .tlw-ra-methods button.tlw-ra-mix-button.active{background:#d98c7a!important;color:#1d201d!important;border-color:#b34b33!important}
#tlwReturnOverlay .tlw-ra-methods button.tlw-ra-mix-button.active .dot{background:#d98c7a!important;outline:2px solid #d9d0b9;outline-offset:0}
.tlw-ra-timeline-head .tlw-ra-reset-portfolio{margin-left:auto;white-space:normal;text-align:center;max-width:280px}
.tlw-ra-timeline-head .tlw-ra-reset-portfolio:disabled{opacity:.45;cursor:default}
/* FIX57 (Mark, 4 Oct): a selected profile takes its own colour, as in the Mix bar */
#tlwReturnOverlay .tlw-ra-methods button[data-flat="conservative"].active{background:#79b8a0!important;border-color:#79b8a0!important;color:#1d201d!important}
#tlwReturnOverlay .tlw-ra-methods button[data-flat="balanced"].active{background:#1f4e79!important;border-color:#1f4e79!important;color:#ffffff!important}
#tlwReturnOverlay .tlw-ra-methods button[data-flat="growth"].active{background:#a784dc!important;border-color:#6633b3!important;color:#1d201d!important}
#tlwReturnOverlay .tlw-ra-methods button[data-flat].active .dot{outline:2px solid #d9d0b9;outline-offset:0}
/* FIX76 (Mark, 5 Oct): section 2, market ups and downs */
.tlw-ra-legend .plan:before{background:#f4efe3}
#tlwConfidenceControls{display:block}
.tlw-ra-s2{border:1px solid rgba(31,78,121,0.35);border-radius:12px;background:rgba(31,78,121,0.05);padding:14px 16px;margin:0 0 12px}
.tlw-ra-s2 h3{margin:0 0 6px;font-size:18px;color:#1f4e79}
.tlw-ra-s2 p{margin:6px 0 0;font-size:14px;line-height:1.55;color:#222522}
.tlw-ra-s2 .tlw-ra-s2-note{font-size:13.5px;color:#3c433c}
.tlw-ra-s2-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.tlw-ra-s2-lab{font-size:14px;font-weight:700;color:#222522;margin-right:4px}
.tlw-ra-s2-row button{height:34px;padding:0 14px;border-radius:999px;border:1px solid rgba(154,126,60,0.25);background:transparent;color:#222522;font-size:14px;cursor:pointer}
.tlw-ra-s2-row button.active{background:#ef8f75;border-color:#c34522;color:#1d201d;font-weight:700}
.tlw-ra-s2-row button[data-example=""].active{background:#f4efe3;border-color:#a58741}
.tlw-ra-s2-row .tlw-ra-s2-draw{border-color:rgba(182,64,32,0.7);color:#9c371c}
.tlw-ra-s2-cautious{display:flex;gap:8px;align-items:center;margin-top:12px;font-size:14.5px;font-weight:700;color:#222522;cursor:pointer}
.tlw-ra-s2-cautious input{width:18px;height:18px;accent-color:#1f4e79}
/* FIX76 polish: the section 1 label is not cut off; the cautious switch label is readable (other label rules were overriding it) */
#tlwReturnOverlay .tlw-ra-methods>div{grid-template-columns:1fr!important;row-gap:6px!important}
#tlwReturnOverlay .tlw-ra-methods small{font-size:11px!important;white-space:nowrap}
#tlwReturnOverlay label.tlw-ra-s2-cautious{font-size:15px!important;font-weight:700!important;color:#222522!important;text-transform:none!important;letter-spacing:0!important}
#tlwReturnOverlay .tlw-ra-methods small{font-size:12px!important}
/* FIX76: readable notes on the Rate of return card (13px floor for explanatory text) */
#tlwReturnOverlay .tlw-ra-portfolio-assumption,#tlwReturnOverlay .tlw-ra-schedule-hint,#tlwReturnOverlay .tlw-ra-vol-control small,#tlwReturnOverlay .tlw-ra-planlens-apply small,#tlwReturnOverlay .tlw-ra-caption,#tlwReturnOverlay .tlw-ra-pv{font-size:13px!important;line-height:1.45!important}
#tlwReturnOverlay .tlw-ra-legend span{font-size:12.5px!important}

/* FIX77 (Mark, 5 Oct): the Mix panel sits right under the options and is visibly tied to the Mix button; section 2 header text readable */
#tlwReturnOverlay #tlwReturnProfileSchedule{border:1px solid #b34b33!important;border-left:4px solid #b34b33!important;margin-top:6px}
#tlwReturnOverlay #tlwReturnProfileSchedule .tlw-ra-mix-title{font:700 15px/1.3 Arial,sans-serif!important;letter-spacing:.04em;color:#8f3c29!important}
#tlwReturnOverlay #tlwReturnProfileSchedule .tlw-ra-mix-title i{width:11px;height:11px;background:#d98c7a!important}
#tlwReturnOverlay .tlw-ra-mix-link{font-size:13.5px;color:#222522}
#tlwReturnOverlay .tlw-ra-confidence-section>header .tlw-ra-eyebrow{flex:1 0 100%;font:700 14px/1.3 Arial,sans-serif;letter-spacing:.06em;color:#1f4e79}
#tlwReturnOverlay .tlw-ra-confidence-section>header p{flex:1 0 100%;font-size:14px;line-height:1.55;color:#222522}
#tlwReturnOverlay .tlw-ra-confidence-section .tlw-ra-hero{margin:0 0 12px}
#tlwReturnOverlay .tlw-ra-s2-returns{margin-top:12px;padding:10px 12px;border:1px solid rgba(154,126,60,0.15);border-radius:10px;background:#f6f1e6}
#tlwReturnOverlay .tlw-ra-s2-returns-head{display:flex;flex-wrap:wrap;gap:14px;align-items:center;font-size:14px;color:#222522}
#tlwReturnOverlay .tlw-ra-s2-key{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:#222522}
#tlwReturnOverlay .tlw-ra-s2-key:before{content:"";width:18px;height:3px;border-radius:2px;background:#1f4e79}
#tlwReturnOverlay .tlw-ra-s2-key.ex:before{background:#ef8f75}
#tlwReturnOverlay #tlwS2ReturnChart svg{display:block;width:100%;height:auto}
#tlwReturnOverlay #tlwS2ReturnChart .tlw-ra-y-label,#tlwReturnOverlay #tlwS2ReturnChart .tlw-ra-x-label{fill:#343934;font:700 25px Arial,sans-serif}
#tlwReturnOverlay .tlw-ra-s2-crash{display:flex;flex-wrap:wrap;gap:12px 18px;margin-top:12px;padding:10px 12px;border:1px solid rgba(182,64,32,0.45);border-radius:10px;background:rgba(239,143,117,.06)}
#tlwReturnOverlay .tlw-ra-s2-crash label{display:flex;flex-direction:column;gap:5px;font-size:14px!important;font-weight:700;color:#222522!important;text-transform:none!important;letter-spacing:0!important}
#tlwReturnOverlay .tlw-ra-s2-crash select{height:36px;min-width:150px;padding:0 10px;border-radius:8px;border:1px solid rgba(154,126,60,0.3);background:#f6f1e6;color:#222522;font-size:14px}
#tlwReturnOverlay .tlw-ra-s2-how{margin-top:10px}
#tlwReturnOverlay .tlw-ra-s2-how summary{cursor:pointer;font-size:14px;font-weight:700;color:#1f4e79}
/* FIX79 (Mark, 6 Oct): stress test: returns and the effect on the plan side by side */
#tlwReturnOverlay .tlw-ra-s2-title{margin:0 0 4px;font:600 21px Georgia,serif;color:#1f4e79}
#tlwReturnOverlay .tlw-ra-s2-what{margin:10px 0 0;font-size:14.5px;line-height:1.55;color:#222522}
#tlwReturnOverlay .tlw-ra-s2-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px;margin-top:12px}
#tlwReturnOverlay .tlw-ra-s2-grid .tlw-ra-s2-returns{margin-top:0}
#tlwReturnOverlay .tlw-ra-s2-effect{padding:10px 12px;border:1px solid rgba(154,126,60,0.15);border-radius:10px;background:#f6f1e6;min-width:0}
#tlwReturnOverlay #tlwS2EffectChart svg{display:block;width:100%;height:auto}
#tlwReturnOverlay #tlwS2EffectChart .tlw-ra-y-label,#tlwReturnOverlay #tlwS2EffectChart .tlw-ra-x-label{fill:#343934;font:700 25px Arial,sans-serif}
#tlwReturnOverlay .tlw-ra-s2-key.mine:before{background:#f4efe3}
#tlwReturnOverlay .tlw-ra-s2-stats table{width:100%;border-collapse:collapse;margin-top:8px;font-size:14px;color:#222522}
#tlwReturnOverlay .tlw-ra-s2-stats th{text-align:left;font-size:13.5px;color:#3c433c;font-weight:700;padding:5px 6px;border-bottom:1px solid rgba(154,126,60,0.15)}
#tlwReturnOverlay .tlw-ra-s2-stats td{padding:6px;border-bottom:1px solid rgba(154,126,60,0.08)}
#tlwReturnOverlay .tlw-ra-s2-stats td.neg{color:#b12a24;font-weight:700}
@media(max-width:1050px){#tlwReturnOverlay .tlw-ra-s2-grid{grid-template-columns:1fr}}
/* FIX82 (Mark, 6 Oct): 2 · stress test, full width under section 1; Card 6 charts taller */
#tlwReturnOverlay .tlw-ra-live-right .tlw-ra-planlens-frame{height:1080px}
#tlwReturnOverlay .tlw-ra-tl-legend{font-size:13px}
#tlwReturnOverlay .tlw-ra-tl-legend .div:before{background:repeating-linear-gradient(90deg,#1f4e79 0 4px,transparent 4px 7px)}
#tlwReturnOverlay .tlw-ra-div-line{stroke-dasharray:3 7;stroke-width:3;opacity:.95;pointer-events:none}
#tlwReturnOverlay .tlw-ra-stress{margin:16px 0 12px;padding:16px;border:1px solid rgba(182,64,32,0.55);border-radius:13px;background:#f6f1e6}
#tlwReturnOverlay .tlw-ra-stress-head .tlw-ra-eyebrow{font:700 14px/1.2 Arial,sans-serif;letter-spacing:.08em;color:#9c371c}
#tlwReturnOverlay .tlw-ra-stress-head h3{margin:4px 0 8px;font:600 25px Georgia,serif;color:#222522}
#tlwReturnOverlay .tlw-ra-whatif .tlw-ra-s2-row button{height:36px;padding:0 16px;border-radius:999px;border:1px solid rgba(154,126,60,0.3);background:transparent;color:#222522;font-size:14.5px;cursor:pointer}
#tlwReturnOverlay .tlw-ra-whatif .tlw-ra-s2-row button.active{background:#ef8f75;border-color:#c34522;color:#1d201d;font-weight:700}
#tlwReturnOverlay .tlw-ra-whatif .tlw-ra-s2-row button[data-example=""].active{background:#f4efe3;border-color:#a58741}
#tlwReturnOverlay .tlw-ra-crash-list{flex-direction:column;align-items:stretch}
#tlwReturnOverlay .tlw-ra-crash-row{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:flex-end}
#tlwReturnOverlay .tlw-ra-crash-remove{height:36px;width:36px;border-radius:8px;border:1px solid rgba(154,126,60,0.3);background:transparent;color:#222522;font-size:18px;cursor:pointer}
#tlwReturnOverlay .tlw-ra-crash-foot{display:flex;flex-wrap:wrap;gap:12px 18px;align-items:flex-end}
#tlwReturnOverlay .tlw-ra-crash-add{height:36px;padding:0 14px;border-radius:8px;border:1px solid #c34522;background:transparent;color:#9c371c;font-size:14px;font-weight:700;cursor:pointer}
#tlwReturnOverlay .tlw-ra-crash-desc{margin:4px 0 0;padding-left:18px;font-size:14px;line-height:1.5;color:#222522}
#tlwReturnOverlay .tlw-ra-stress-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:14px;margin-top:14px;align-items:start}
#tlwReturnOverlay .tlw-ra-stress-left{display:grid;gap:12px;min-width:0}
#tlwReturnOverlay .tlw-ra-stress-ret-head{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;justify-content:space-between;font-size:15px;color:#222522}
#tlwReturnOverlay .tlw-ra-stress-ret-head label{display:flex;gap:8px;align-items:center;font-size:14px!important;font-weight:700;color:#222522!important;text-transform:none!important;letter-spacing:0!important}
#tlwReturnOverlay .tlw-ra-stress-ret-head select{height:34px;padding:0 10px;border-radius:8px;border:1px solid rgba(154,126,60,0.3);background:#f6f1e6;color:#222522;font-size:14px}
#tlwReturnOverlay .tlw-ra-stress-key{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0 4px;font-size:14px;color:#222522}
#tlwReturnOverlay .tlw-ra-stress-key span.plan:before,#tlwReturnOverlay .tlw-ra-stress-key span.ex:before{content:"";display:inline-block;width:18px;height:4px;margin-right:6px;vertical-align:middle;border-radius:2px;background:#1f4e79}
#tlwReturnOverlay .tlw-ra-stress-key span.ex:before{background:#ef8f75}
#tlwReturnOverlay .tlw-ra-stress-key .note{color:#3c433c}
#tlwReturnOverlay #tlwS2ReturnChart svg{display:block;width:100%;height:auto}
#tlwReturnOverlay #tlwS2ReturnChart .tlw-ra-line.dash{stroke-dasharray:3 7;stroke-width:3}
#tlwReturnOverlay .tlw-ra-stress-right{min-width:0}
#tlwReturnOverlay .tlw-ra-stress-right-head .tlw-ra-eyebrow{font:700 13px/1.2 Arial,sans-serif;letter-spacing:.08em;color:#9c371c}
#tlwReturnOverlay .tlw-ra-stress-right-head p{margin:4px 0 8px;font-size:14px;color:#222522}
#tlwReturnOverlay .tlw-ra-stress-frame{display:block;width:100%;height:1080px;border:2px solid #c34522;border-radius:10px;background:#f6f1e6}
#tlwReturnOverlay .tlw-ra-stress-empty{padding:30px 16px;border:1px dashed rgba(154,126,60,0.25);border-radius:10px;font-size:15px;color:#3c433c;text-align:center}
#tlwReturnOverlay .tlw-ra-s2-stats td span.neg{color:#b12a24;font-weight:700}
@media(max-width:1150px){#tlwReturnOverlay .tlw-ra-stress-grid{grid-template-columns:1fr}}
/* FIX83 (Mark, 6 Oct): stress test: inputs | returns chart, then Income | Assets side by side */
#tlwReturnOverlay .tlw-ra-live-right .tlw-ra-planlens-frame{height:900px}
#tlwReturnOverlay .tlw-ra-stress-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
#tlwReturnOverlay .tlw-ra-stress-top.is-empty{grid-template-columns:1fr}
#tlwReturnOverlay .tlw-ra-stress-in{display:grid;gap:12px;min-width:0}
#tlwReturnOverlay .tlw-ra-stress-in .tlw-ra-whatif{margin:0}
#tlwReturnOverlay .tlw-ra-stress-right{margin-top:14px}
#tlwReturnOverlay .tlw-ra-stress-frame{height:620px}
@media(max-width:1150px){#tlwReturnOverlay .tlw-ra-stress-top{grid-template-columns:1fr}}
/* FIX84 (Mark, 6 Oct): readable stress returns chart */
#tlwReturnOverlay .tlw-ra-rc-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:8px 0 6px;font-size:14px;color:#222522}
#tlwReturnOverlay .tlw-ra-rc-legend span{display:inline-flex;align-items:center;gap:7px}
#tlwReturnOverlay .tlw-ra-rc{position:relative;width:100%}
#tlwReturnOverlay .tlw-ra-rc .rc-svg{display:block}
#tlwReturnOverlay .tlw-ra-rc .rc-grid{stroke:#1d201d;stroke-width:1}
#tlwReturnOverlay .tlw-ra-rc .rc-zero{stroke:#3c433c;stroke-width:1.6}
#tlwReturnOverlay .tlw-ra-rc .rc-tick{stroke:#5c655c;stroke-width:1}
#tlwReturnOverlay .tlw-ra-rc .rc-y,#tlwReturnOverlay .tlw-ra-rc .rc-x{fill:#343934;font:600 14px Arial,sans-serif}
#tlwReturnOverlay .tlw-ra-rc .rc-y0{fill:#1d201d;font-weight:800}
#tlwReturnOverlay .tlw-ra-rc .rc-guide{stroke:#222522;stroke-width:1;stroke-dasharray:3 3;opacity:.6}
#tlwReturnOverlay .tlw-ra-rc .rc-tip{position:absolute;z-index:2;min-width:230px;padding:8px 10px;border:1px solid rgba(154,126,60,0.25);border-radius:8px;background:#fcfaf6;box-shadow:0 6px 18px rgba(30,33,30,0.22);font-size:13.5px;color:#222522;pointer-events:none}
#tlwReturnOverlay .tlw-ra-rc .rc-tip b{display:block;margin-bottom:4px;font-size:14px}
#tlwReturnOverlay .tlw-ra-rc .rc-tip div{display:flex;align-items:center;gap:7px;line-height:1.6}
#tlwReturnOverlay .tlw-ra-rc .rc-tip i{display:inline-block;width:10px;height:10px;border-radius:2px}
#tlwReturnOverlay .tlw-ra-rc .rc-tip span{margin-left:auto;padding-left:12px;font-weight:700;font-variant-numeric:tabular-nums}
#tlwReturnOverlay .tlw-ra-stress-use{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:12px}
#tlwReturnOverlay .tlw-ra-stress-use button{height:38px;padding:0 16px;border-radius:8px;border:1px solid #c34522;background:#ef8f75;color:#1d201d;font-size:14.5px;font-weight:700;cursor:pointer}
#tlwReturnOverlay .tlw-ra-stress-use span{font-size:13.5px;color:#3c433c}
#tlwReturnOverlay .tlw-ra-stress-applied{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:12px;padding:10px 12px;border-radius:10px;background:rgba(239,143,117,.15);border:1px solid #c34522;font-size:14.5px;color:#222522}
#tlwReturnOverlay .tlw-ra-stress-applied button{height:34px;padding:0 14px;border-radius:8px;border:1px solid #a58741;background:transparent;color:#222522;font-size:14px;font-weight:700;cursor:pointer}
/* FIX86: one crash per row: start, size, dividends, remove */
#tlwReturnOverlay .tlw-ra-crash-list .tlw-ra-crash-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) minmax(0,1fr) 36px;gap:10px;align-items:end;padding:10px;border:1px solid rgba(154,126,60,0.15);border-radius:10px}
#tlwReturnOverlay .tlw-ra-crash-list .tlw-ra-crash-row select{min-width:0;width:100%}
#tlwReturnOverlay .tlw-ra-crash-list .tlw-ra-crash-row label{min-width:0}
#tlwReturnOverlay .tlw-ra-crash-list .tlw-ra-crash-row select{padding:0 6px;font-size:14px}
/* FIX87 (Mark, 6 Oct): section 1 explanation as a popover beside the heading; readable popovers */
#tlwReturnOverlay .tlw-ra-s1-title{display:flex;align-items:center;gap:10px}
#tlwReturnOverlay .tlw-ra-tl-info{width:22px;height:22px;font-size:14px}
#tlwReturnOverlay .tlw-ra-tl-pop{width:min(420px,80vw);padding:12px 14px;font:400 14px/1.55 Arial,sans-serif;color:#222522;font-style:normal}
#tlwReturnOverlay .tlw-ra-tl-pop p{margin:0 0 8px}
#tlwReturnOverlay .tlw-ra-tl-pop p:last-child{margin:0}
#tlwReturnOverlay .tlw-ra-tl-pop strong{color:#1d201d}
/* FIX88: section 3 chart axes */
#tlwReturnOverlay .tlw-ra-result-grid .tlw-ra-axis-line{stroke:#4f584f;stroke-width:1.6}
#tlwReturnOverlay .tlw-ra-result-grid .tlw-ra-axis-tick{stroke:#4f584f;stroke-width:1.4}
#tlwReturnOverlay .tlw-ra-result-grid .tlw-ra-axis-title{fill:#343934;font:700 16px Arial,sans-serif}
/* FIX89: A random run and Draw another joined into one control */
#tlwReturnOverlay .tlw-ra-pillgroup{display:inline-flex;border:1px solid #c34522;border-radius:999px;overflow:hidden}
#tlwReturnOverlay .tlw-ra-whatif .tlw-ra-pillgroup button{border:0!important;border-radius:0!important;margin:0}
#tlwReturnOverlay .tlw-ra-whatif .tlw-ra-pillgroup button.active{background:#ef8f75;color:#1d201d}
#tlwReturnOverlay .tlw-ra-whatif .tlw-ra-pillgroup .tlw-ra-s2-draw{background:rgba(239,143,117,.16);color:#222522;border-left:1px solid #c34522!important;font-weight:700}
#tlwReturnOverlay .tlw-ra-whatif .tlw-ra-pillgroup .tlw-ra-s2-draw:hover{background:rgba(239,143,117,.3)}
/* FIX90: draw the total return or the dividend */
#tlwReturnOverlay .tlw-ra-draw-toggle{display:inline-flex;align-items:center;gap:0;margin-left:14px;border:1px solid #80672d;border-radius:999px;overflow:hidden;font-size:13px}
#tlwReturnOverlay .tlw-ra-draw-toggle>span{padding:0 10px;color:#3c433c;font-weight:700}
#tlwReturnOverlay .tlw-ra-draw-toggle button{height:30px;padding:0 12px;border:0;border-left:1px solid #80672d;background:transparent;color:#222522;font-size:13.5px;font-weight:700;cursor:pointer}
#tlwReturnOverlay .tlw-ra-draw-toggle button.active{background:#1f4e79;color:#ffffff}
#tlwReturnOverlay .tlw-ra-div-line.is-drawing{stroke-width:4;opacity:1}
#tlwReturnOverlay .tlw-ra-div-point{fill:#1f4e79;stroke:#1d201d;stroke-width:1.5}

/* tlw-light-skip-start */
/* FIX103 (Mark, 15 Oct): Free sees the stress tests and Plan Confidence with an example result and a Plus label. */
#tlwReturnOverlay .tlw-ra-full-locked{position:relative;filter:blur(3px) grayscale(.35);opacity:.55;pointer-events:none;user-select:none}
#tlwReturnOverlay .tlw-ra-full-example{pointer-events:none;user-select:none}
#tlwReturnOverlay[data-ra-view="returns"] #tlwStress,#tlwReturnOverlay[data-ra-view="returns"] .tlw-ra-confidence-section,#tlwReturnOverlay[data-ra-view="returns"] .tlw-ra-result-grid,#tlwReturnOverlay[data-ra-view="returns"] .tlw-ra-full-tag{display:none!important}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-intro,#tlwReturnOverlay[data-ra-view="confidence"] #tlwPortfolioTabs,#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-live-workbench{display:none!important}
/* FIX107 (Mark, 16 Oct): Stress tests are their own screen; Plan Confidence shows only the probability. */
#tlwReturnOverlay[data-ra-view="confidence"] #tlwStress{display:none!important}
#tlwReturnOverlay[data-ra-view="stress"] .tlw-ra-intro,#tlwReturnOverlay[data-ra-view="stress"] #tlwPortfolioTabs,#tlwReturnOverlay[data-ra-view="stress"] .tlw-ra-live-workbench,#tlwReturnOverlay[data-ra-view="stress"] .tlw-ra-confidence-section,#tlwReturnOverlay[data-ra-view="stress"] .tlw-ra-result-grid{display:none!important}
#tlwReturnOverlay[data-ra-view="stress"] .tlw-return-body{display:flex!important;flex-direction:column!important}
/* FIX107: the screen heading already says this */
#tlwReturnOverlay[data-ra-view="stress"] .tlw-ra-stress-head{display:none!important}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-return-body{display:flex!important;flex-direction:column!important}
#tlwReturnOverlay #tlwRaHero.tlw-ra-hero-example{display:block!important;grid-template-columns:none!important;padding:0!important;border:0!important;background:transparent!important;min-height:0!important}
#tlwReturnOverlay .tlw-ra-full-tag{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:18px 0 8px;padding:12px 16px;border:1px solid #BFD0E2;border-left:4px solid #1F4E79;border-radius:10px;background:#E7EEF5;color:#1E211E;font:500 14px/1.45 Inter,'Segoe UI',sans-serif}
#tlwReturnOverlay .tlw-ra-full-tag[hidden]{display:none}
#tlwReturnOverlay .tlw-ra-full-tag strong{font-weight:700;color:#1E211E}
#tlwReturnOverlay .tlw-ra-full-text{flex:1 1 260px;color:#3E443D}
#tlwReturnOverlay .tlw-ra-full-pill{display:inline-block;padding:3px 9px;border-radius:99px;background:#1F4E79;color:#FFFFFF;font:700 13px Inter,sans-serif;letter-spacing:.02em}
#tlwReturnOverlay .tlw-ra-full-tag a{color:#1F4E79;font-weight:700;text-decoration:underline;white-space:nowrap}
#tlwReturnOverlay .tlw-ra-example{display:flex;gap:18px;align-items:center;padding:18px;border-radius:12px;border:1px solid #DAD5C8;background:#FFFFFF;color:#1E211E}
#tlwReturnOverlay .tlw-ra-example-score{display:flex;flex-direction:column;align-items:flex-start;min-width:150px}
#tlwReturnOverlay .tlw-ra-example-score small{font:700 13px Inter,sans-serif;letter-spacing:.1em;color:#5B6159}
#tlwReturnOverlay .tlw-ra-example-score b{font:600 46px/1.05 Georgia,serif;color:#1F4E79}
#tlwReturnOverlay .tlw-ra-example-score span{font:700 13px Inter,sans-serif;color:#5B6159;text-transform:uppercase}
#tlwReturnOverlay .tlw-ra-example-text strong{display:block;font:600 18px/1.35 Georgia,serif;color:#1E211E}
#tlwReturnOverlay .tlw-ra-example-text p{margin:6px 0 0;font:500 14px/1.45 Inter,sans-serif;color:#3E443D}
/* tlw-light-skip-end */

/* tlw-light-skip-start */
/* FIX106 (Mark, 16 Oct): Free sees its real results with most of each Plus section covered. */
#tlwReturnOverlay .tlw-ra-lock-host{position:relative!important;overflow:hidden!important}
/* FIX111: the banner sits on the chart's outer panel (not redrawn), placed over the chart box */
#tlwReturnOverlay .tlw-ra-lock-anchor{position:relative!important}
/* FIX107: Mix and Draw year by year are Plus */
#tlwReturnOverlay #tlwReturnProfileSchedule>.tlw-ra-lock{z-index:30}
#tlwReturnOverlay .tlw-ra-method-locked{opacity:1} /* FIX109: can be set up in Free; applying is Plus */
/* FIX110: the Plus marks come from the overlay's Free class, so they survive every redraw */
#tlwReturnOverlay.tlw-ra-free #tlwTimeline [data-mix]::after,#tlwReturnOverlay.tlw-ra-free #tlwTimeline [data-mode="custom"]::after,#tlwReturnOverlay.tlw-ra-free #tlwReturnProfileScheduleApply::after,#tlwReturnOverlay.tlw-ra-free .tlw-ra-mix-title::after{content:'Plus';margin-left:8px;padding:1px 8px;border-radius:99px;background:#1F4E79;color:#FFFFFF;font:700 13px Inter,'Segoe UI',sans-serif;letter-spacing:.02em;text-transform:none;vertical-align:middle;white-space:nowrap;flex:none;width:auto;height:auto;line-height:1.4}
#tlwReturnOverlay .tlw-ra-free-window{margin:12px 0;padding:12px;border:2px dashed #7A9CC0;border-radius:14px;background:rgba(31,78,121,.04)}
#tlwReturnOverlay .tlw-ra-free-window>.tlw-ra-free-note{margin:0 0 12px}
/* FIX112: in Free the Mix panel and the return path are view only; a click anywhere on them shows the upgrade message */
#tlwReturnOverlay .tlw-ra-free-window{cursor:not-allowed}
#tlwReturnOverlay .tlw-ra-free-window #tlwReturnProfileSchedule *,#tlwReturnOverlay .tlw-ra-free-window .tlw-ra-timeline-block *{pointer-events:none}
#tlwReturnOverlay .tlw-ra-free-window .tlw-ra-tl-info,#tlwReturnOverlay .tlw-ra-free-window .tlw-ra-tl-info *{pointer-events:auto;cursor:help}
#tlwReturnOverlay .tlw-ra-free-window .tlw-ra-free-note,#tlwReturnOverlay .tlw-ra-free-window .tlw-ra-free-note *{cursor:auto}
#tlwReturnOverlay .tlw-ra-tl-free{display:inline-flex;align-items:center;gap:6px;margin-left:10px;font:600 13px Inter,'Segoe UI',sans-serif;color:#1F4E79}
#tlwReturnOverlay .tlw-ra-method-locked-old::after{content:'Plus';margin-left:7px;padding:1px 7px;border-radius:99px;background:#1F4E79;color:#FFFFFF;font:700 13px Inter,sans-serif}
#tlwReturnOverlay .tlw-ra-locked{min-height:320px}
#tlwReturnOverlay .tlw-ra-lock-full{min-height:300px}
#tlwReturnOverlay .tlw-ra-lock-host>:not(.tlw-ra-lock){pointer-events:none;user-select:none}
#tlwReturnOverlay .tlw-ra-locked.tlw-ra-busy::before,#tlwReturnOverlay .tlw-ra-locked.tlw-ra-busy::after{display:none!important}
#tlwReturnOverlay .tlw-ra-locked.tlw-ra-busy>*{opacity:1!important}
#tlwReturnOverlay .tlw-ra-lock{position:absolute;top:0;bottom:0;left:20%;right:0;z-index:3;display:flex;align-items:center;justify-content:center;padding:3%;box-sizing:border-box;background:linear-gradient(90deg,rgba(245,240,230,.55),rgba(245,240,230,.97) 6%);container-type:inline-size}
/* FIX110 (Mark, 16 Oct): each chart is about 90% covered, and what shows is blurred so it cannot be read */
#tlwReturnOverlay .tlw-ra-lock.tlw-ra-lock-whole{left:10%;background:linear-gradient(90deg,rgba(245,240,230,.55),rgba(245,240,230,.96) 6%)}
#tlwReturnOverlay .tlw-ra-lock.tlw-ra-lock-split{left:0;background:none;padding:0;display:flex;align-items:stretch;justify-content:stretch;container-type:normal}
#tlwReturnOverlay .tlw-ra-lock-pane{position:relative;flex:1 1 50%;display:flex;align-items:center;justify-content:center;padding:3%;box-sizing:border-box;margin-left:5%;background:linear-gradient(90deg,rgba(245,240,230,.55),rgba(245,240,230,.96) 6%);container-type:inline-size}
/* FIX109 (Mark, 16 Oct): Free gets a glimpse: the results show under the banner, blurred so the figures cannot be read */
#tlwReturnOverlay .tlw-ra-lock-blur>:not(.tlw-ra-lock){filter:blur(6px)}
/* FIX108: Free sees the Plan Confidence result with its key numbers shaded so they cannot be read */
#tlwReturnOverlay.tlw-ra-free .tlw-ra-confidence strong,#tlwReturnOverlay.tlw-ra-free .tlw-ra-confidence span,#tlwReturnOverlay.tlw-ra-free .tlw-ra-range strong,#tlwReturnOverlay.tlw-ra-free .tlw-ra-mask{filter:blur(8px);user-select:none}
/* FIX111: the blur grows with the text size, so no number can be read at any size (the numbers are placeholders anyway) */
#tlwReturnOverlay.tlw-ra-free .tlw-ra-confidence strong,#tlwReturnOverlay.tlw-ra-free .tlw-ra-confidence span,#tlwReturnOverlay.tlw-ra-free .tlw-ra-range strong,#tlwReturnOverlay.tlw-ra-free .tlw-ra-mask{filter:blur(max(8px,.35em))}
#tlwReturnOverlay .tlw-ra-free-note{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:0 0 14px;padding:12px 16px;border:1px solid #D8CDB5;border-radius:12px;background:#FFFDF8;font:500 14px/1.45 Inter,'Segoe UI',sans-serif;color:#3E443D}
#tlwReturnOverlay .tlw-ra-free-note>span:nth-child(2){flex:1 1 280px}
#tlwReturnOverlay .tlw-ra-free-note .tlw-ra-lock-btn{padding:0 18px}
#tlwReturnOverlay.tlw-ra-free [data-stress-apply]{opacity:.6;border-style:dashed!important}
#tlwReturnOverlay.tlw-ra-free [data-stress-apply]::after{content:'Plus';margin-left:8px;padding:1px 7px;border-radius:99px;background:#1F4E79;color:#FFFFFF;font:700 13px Inter,sans-serif}
#tlwReturnOverlay .tlw-ra-lock-card{width:min(88%,640px);box-sizing:border-box;padding:3.5cqi 4cqi;border:1px solid #D8CDB5;border-radius:14px;background:#FFFDF8;box-shadow:0 14px 34px rgba(30,33,30,.14);text-align:left;font:500 clamp(13px,2.2cqi,17px)/1.5 Inter,'Segoe UI',sans-serif;color:#3E443D}
#tlwReturnOverlay .tlw-ra-lock-card strong{display:block;margin:10px 0 6px;font:600 clamp(16px,3cqi,24px)/1.3 Georgia,serif;color:#1E211E}
#tlwReturnOverlay .tlw-ra-lock-card p{margin:0 0 16px}
#tlwReturnOverlay .tlw-ra-lock-btn{display:flex;justify-content:center;align-items:center;min-height:46px;border-radius:10px;background:#1F4E79;color:#FFFFFF!important;font:700 15px Inter,'Segoe UI',sans-serif;text-decoration:none}
#tlwReturnOverlay .tlw-ra-lock-btn:hover{background:#173D5F}
/* tlw-light-skip-end */

/* FIX113: the Drawn by hand column (volatility only) */
.tlw-ra-profile-config .tlw-ra-pm-drawn{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.tlw-ra-profile-config .tlw-ra-pm-na{font:500 11px/1.2 Inter,Arial,sans-serif;color:#6b6f66;text-align:right}
.tlw-ra-profile-config .tlw-ra-pm input:disabled{background:#efe9dc;color:#7a7d76;cursor:not-allowed}

/* FIX119: the Shares and dividends link, on the Rate of Return screen only */
#tlwReturnOverlay .tlw-ra-shares-tip{display:none;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:10px 0 0;padding:10px 14px;border:1px solid #D8CDB5;border-radius:10px;background:#FFFDF8;font:500 13px/1.45 Inter,'Segoe UI',sans-serif;color:#3E443D;max-width:980px}
#tlwReturnOverlay[data-ra-view="returns"] .tlw-ra-shares-tip{display:flex}
#tlwReturnOverlay .tlw-ra-shares-tip>span{flex:1 1 420px}
#tlwReturnOverlay .tlw-ra-shares-btn{appearance:none;border:1px solid #1F4E79;border-radius:8px;background:#FFFFFF;color:#1F4E79;font:700 13px Inter,'Segoe UI',sans-serif;padding:7px 12px;cursor:pointer;white-space:nowrap}
#tlwReturnOverlay .tlw-ra-shares-btn:hover{background:#E7EEF5}

/* FIX159: Plan Confidence building up */
.tlw-ra-confidence .tlw-ra-runs{display:block;margin-top:8px;font:600 12px/1.3 Inter,Arial,sans-serif;font-style:normal;color:#4e574e;letter-spacing:0}
.tlw-ra-confidence.tlw-ra-building strong{opacity:.82}
.tlw-ra-settle{margin-top:10px;min-height:86px}.tlw-ra-settle small{display:block;font:600 11px Inter,Arial,sans-serif;color:#4e574e;margin-bottom:2px}

/* FIX160 (Mark, 19 Oct): Plan Confidence fits on one screen: a slimmer header, a shorter answer box with the settle line
   under the three amounts, and shorter charts (the chart height is set in return-analysis.js). */
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-return-head{padding:10px 28px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-return-head h2{font-size:26px;margin:2px 0}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-return-head p{font-size:12.5px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-confidence-section{padding:12px 15px;margin:10px 0}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-confidence-section>header{margin-bottom:6px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-confidence-section>header h3{font-size:21px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-hero{grid-template-columns:215px 1.2fr 1fr}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-confidence{padding:12px 18px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-confidence strong{font-size:50px;margin:4px 0}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-answer{padding:12px 18px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-answer h3{font-size:18px;line-height:1.3;margin:0 0 6px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-answer p{font-size:12.5px;line-height:1.45}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-range{align-content:center;align-items:start}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-range>div{padding:12px 10px 6px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-range>.tlw-ra-settle{grid-column:1/-1;border-left:0;border-top:1px solid #d7cdb5;margin:0;padding:8px 12px 6px;min-height:78px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-result-grid .tlw-ra-chart-head{padding:10px 14px 2px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-result-grid .tlw-ra-chart-head h3{font-size:18px;margin:2px 0 4px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-confidence-section>header .tlw-ra-eyebrow,#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-confidence-section>header h3{display:none!important}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-confidence-section>header p{font-size:12.5px!important;margin:0!important}
#tlwReturnOverlay[data-ra-view="confidence"] #tlwRaIncomeChart,#tlwReturnOverlay[data-ra-view="confidence"] #tlwRaAssetChart{min-height:0!important;height:auto!important}
#tlwReturnOverlay[data-ra-view="confidence"] #tlwRaIncomeChart svg,#tlwReturnOverlay[data-ra-view="confidence"] #tlwRaAssetChart svg{height:auto!important;max-height:calc(100vh - 470px);min-height:240px}
#tlwReturnOverlay[data-ra-view="confidence"] .tlw-ra-result-grid .tlw-ra-chart{padding-bottom:6px}
/* FIX160: legend swatches match the lines (median light gold, your plan dark gold) */
.tlw-ra-legend .median:before{background:rgb(224,172,83)!important} /* the median line colour */
.tlw-ra-legend .plan:before{background:#9a7e3c!important}
.tlw-ra-runs-pick{display:flex;align-items:center;gap:6px;margin-top:8px;font:600 12px Inter,Arial,sans-serif;color:#4e574e}
.tlw-ra-runs-pick select{font:600 12px Inter,Arial,sans-serif;padding:3px 6px;border:1px solid #cfc4a8;border-radius:6px;background:#fff}
