.chart-change-head{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}
.chart-change-period{font-size:11px;font-weight:650;color:var(--mm-muted);white-space:nowrap}
.live-price-line .chart-change-dates{display:block!important;font-size:11px!important;line-height:1.5;margin-top:3px;color:var(--mm-muted)}
.live-price-line .chart-change-note{display:block!important;font-size:10px!important;line-height:1.5;color:var(--mm-muted)}
.chart-ma-control{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.chart-ma-control>label{display:inline-flex;align-items:center;gap:5px}
.chart-term-help{display:inline-flex;align-items:center;position:relative;white-space:normal}
html[data-theme] body.desktop-v4 .chart-help-trigger{display:inline-flex;align-items:center;justify-content:center;min-width:28px;width:28px;height:28px;min-height:28px;padding:0;border:1px solid var(--mm-line);border-radius:50%;background:var(--mm-soft);color:var(--mm-ink);font-family:inherit;font-size:13px;font-weight:700;line-height:1;cursor:help}
.chart-help-trigger:focus-visible{outline:2px solid var(--mm-link);outline-offset:3px}
html[data-theme] body.desktop-v4 .chart-help-bubble{position:absolute;z-index:100;top:calc(100% + 8px);right:0;width:310px;max-width:calc(100vw - 32px);box-sizing:border-box;display:block;padding:14px 16px;border:1px solid var(--mm-line);border-radius:12px;background:var(--mm-surface);color:var(--mm-ink);box-shadow:0 8px 28px rgba(12,20,39,.16);font-size:12px;line-height:1.7;text-align:left;white-space:normal;cursor:auto}
html[data-theme] body.desktop-v4 .chart-help-bubble[hidden]{display:none}
.chart-help-bubble>strong{display:block;margin-bottom:7px;font-size:13px}
.chart-help-bubble>span{display:block;margin:4px 0}
.chart-help-bubble b{font-weight:750}
.chart-help-bubble small{display:block;margin-top:8px;font-size:11px;line-height:1.6;color:var(--mm-muted)}
.heat-change-period{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid var(--mm-line);border-radius:5px;background:var(--mm-soft);color:var(--mm-ink);font-size:11px;line-height:1.4;white-space:nowrap}
html[data-theme] body.desktop-v4 #real-heat-grid.r3-heat-values .r3-heat-tile{grid-template-rows:18px minmax(29px,auto) 32px}
html[data-theme] body.desktop-v4 #real-heat-grid.r3-heat-values .r3-heat-tile>b{display:flex;flex-direction:column;align-items:inherit;justify-content:center;line-height:18px;height:auto}
html[data-theme] body.desktop-v4 #real-heat-grid .r3-heat-tile .heat-tile-period{display:block;font-size:9px!important;line-height:12px!important;font-weight:500;color:var(--tile-ink)!important}
@media(max-width:760px){.live-chart-toolbar{position:relative}.chart-ma-control{gap:6px}.chart-term-help{position:static}html[data-theme] body.desktop-v4 .chart-help-bubble{top:calc(100% + 5px);left:0;right:auto;width:100%;max-width:100%}html[data-theme] body.desktop-v4 .chart-help-trigger{min-width:30px;width:30px;height:30px;min-height:30px}}

/* My page: one document flow, with analysis and cached AI alongside the overview. */
html[data-theme] body.member-workspace .workspace-bar,
html[data-theme] body.member-workspace .next-assets-toolbar,
html[data-theme] body.member-workspace .my-nav{position:static!important;top:auto!important;z-index:auto!important}
html[data-theme] body.member-workspace .next-assets-toolbar{height:auto;min-height:58px;padding:0 0 16px;margin:0;background:transparent;flex-wrap:wrap;gap:12px}
.member-workspace .next-assets-toolbar h1{font-size:25px;line-height:1.3;margin:0;white-space:nowrap}
.member-workspace .next-assets-toolbar nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.member-workspace .next-assets-toolbar nav>a{font-size:13px;padding:9px 12px;line-height:1.4}
.member-workspace .next-assets-toolbar .btn{min-height:40px;padding:10px 14px;font-size:13px}
html[data-theme] body.desktop-v4.member-workspace .r2-asset-hero{background:var(--mm-surface)!important;border:2px solid #ff792a;color:var(--mm-ink)!important;border-radius:20px;padding:23px;box-shadow:0 5px 20px #18294106;min-width:0}
html[data-theme] body.desktop-v4.member-workspace .r2-asset-hero :is(p,small,span,summary,strong,b,h2,h3){color:var(--mm-ink)!important}
html[data-theme] body.desktop-v4.member-workspace .r2-asset-hero>span{color:var(--mm-muted)!important;font-size:12px}
.member-workspace .r2-asset-hero>strong{font-size:40px;line-height:1.25;letter-spacing:-1.3px;margin:8px 0 10px}
.member-workspace .r2-asset-hero>p{font-size:12px;margin:0 0 18px;display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.member-workspace .r2-asset-hero>p>b{font-size:21px;display:inline-flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.member-workspace .r2-asset-hero>p small{font-size:12px}
html[data-theme] body.desktop-v4.member-workspace .r2-asset-hero .down{color:var(--mm-down)!important}
html[data-theme] body.desktop-v4.member-workspace .r2-asset-hero .up{color:var(--mm-up)!important}
.member-workspace .r2-my-top{grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);align-items:start;gap:18px;margin:0 0 20px}
.r6-member-side{display:grid;gap:14px;min-width:0}
.r6-member-side .live-panel{margin:0!important;padding:20px!important}
.member-workspace .r2-analysis{padding:0!important;margin:0 0 18px!important;border:0!important;background:transparent!important}
.member-workspace .r2-analysis-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.member-workspace .r2-analysis-grid .r2-status{padding:12px 14px;border-radius:12px;min-height:0;position:relative}
.member-workspace .r2-analysis-grid .r2-status>span{font-size:11px}
.member-workspace .r2-analysis-grid .r2-status>strong{font-size:17px;margin:3px 0}
.member-workspace .r2-analysis-grid .r2-status>p{font-size:11px;line-height:1.6;margin:0}
.r6-ai-overview{border-top:3px solid #ff792a!important;scroll-margin-top:100px}
.r6-ai-heading{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.r6-ai-icon{display:grid;place-items:center;width:34px;height:34px;background:var(--mm-soft);color:var(--mm-link);border-radius:10px;font-size:21px;flex-shrink:0}
.r6-ai-heading h2{margin:2px 0 0;font-size:17px;line-height:1.4}
.r6-ai-heading .jp-label{font-size:10px;letter-spacing:.04em;color:var(--mm-muted)}
.r6-ai-overview>time{display:block;font-size:10px;color:var(--mm-muted);margin:6px 0 10px}
.r6-ai-summary,.r6-ai-empty{font-size:13px;line-height:1.8;margin:9px 0;overflow-wrap:anywhere}
.r6-ai-checks{display:grid;gap:8px;margin:12px 0}
.r6-ai-checks>div{border-left:3px solid var(--mm-up);background:var(--mm-soft);padding:9px 11px;border-radius:0 7px 7px 0}
.r6-ai-checks b{font-size:12px}.r6-ai-checks p{font-size:12px;line-height:1.7;margin:3px 0 0}
.r6-ai-date-note{font-size:10px!important;line-height:1.6!important;color:var(--mm-muted)!important;margin:10px 0!important}
.r6-ai-full{padding-top:10px;border-top:1px solid var(--mm-line)}
.r6-ai-full>summary{font-size:12px;font-weight:700;color:var(--mm-link);cursor:pointer}
.r6-ai-full .member-doc-block{font-size:12px;overflow-wrap:anywhere}
.member-workspace .r2-composition h2{font-size:16px;margin-bottom:14px}
.member-workspace .r2-donut-layout{grid-template-columns:110px minmax(0,1fr);gap:18px;align-items:center}
.member-workspace .r2-donut{width:110px;height:110px;padding:17px;box-sizing:border-box}
.member-workspace .r2-donut>span{width:76px;height:76px;font-size:27px;background:var(--mm-surface)!important;color:var(--mm-ink)!important}
.member-workspace .r2-donut small{font-size:10px}
.member-workspace .r2-donut-layout>div:last-child{font-size:12px;max-height:none;overflow:visible}
.member-workspace .r2-donut-layout p{font-size:12px;margin:7px 0;line-height:1.6;align-items:start}
.member-workspace .r2-donut-layout p>span{min-width:0;overflow-wrap:anywhere}
.member-workspace .r2-composition>a.btn{min-height:36px;font-size:12px;padding:8px;margin-top:14px}
.member-workspace .next-dividend-pair{margin-top:14px;padding-top:12px;gap:12px}
.member-workspace .next-dividend-pair span{font-size:10px;line-height:1.5}
.member-workspace .next-dividend-pair b{font-size:20px;margin:4px 0}
.member-workspace .next-dividend-pair small,.member-workspace #next-asset-dividends>small{font-size:10px;line-height:1.5}
.member-workspace .next-assets-analysis.r6-analysis-open{padding:20px;background:var(--mm-surface);border:1px solid var(--mm-line);border-radius:18px;margin:0 0 20px;scroll-margin-top:100px}
.r6-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.r6-section-heading h2{font-size:21px;margin:2px 0 0}.r6-section-heading .jp-label{font-size:10px;color:var(--mm-muted)}
.r6-section-heading a{font-size:12px}
.r6-analysis-open .r2-detail-grid{gap:14px;margin:0 0 18px}
.r6-analysis-open .r2-detail-grid>.member-card{box-shadow:none;border-radius:12px;padding:16px;margin:0;background:var(--mm-soft)!important}
.r6-analysis-open .r2-detail-grid h2{font-size:15px}
.r6-analysis-open .r2-profit-main strong{font-size:23px}.r6-analysis-open .r2-profit-main small{font-size:14px}
.r6-analysis-open .r2-metrics{gap:8px}.r6-analysis-open .r2-metrics>div{font-size:11px}.r6-analysis-open .r2-metrics b{font-size:16px}
.r6-analysis-open .r2-contribution{padding:6px 0}.r6-analysis-open .r2-contribution>span,.r6-analysis-open .r2-contribution>strong{font-size:13px}
.r6-analysis-open .member-note{font-size:10px;line-height:1.7;margin:10px 0 0}
.r6-analysis-open .next-portfolio-mix{padding:0;gap:16px}.r6-analysis-open .next-portfolio-mix h3{font-size:14px;margin:0 0 10px}
.r6-analysis-open .next-mix-row{font-size:12px;margin-bottom:10px}
.member-workspace #next-assets-holdings{scroll-margin-top:100px}
html[data-theme] body.desktop-v4.member-workspace .next-asset-chart{background:transparent!important;color:var(--mm-ink)!important;padding:0}
.member-workspace .next-asset-chart-tools{gap:8px;flex-wrap:wrap;margin-bottom:14px}
.member-workspace .next-asset-chart .compact-tabs{padding:3px;background:var(--mm-soft);border-radius:9px;gap:2px}
.member-workspace .next-asset-chart .compact-tabs button{font-size:11px;padding:7px 9px;border:0!important;border-radius:7px;min-height:0}
html[data-theme] body.desktop-v4.member-workspace .next-asset-chart .compact-tabs [aria-pressed=true]{background:var(--mm-ink)!important;color:var(--mm-surface)!important}
.member-workspace .next-history-svg svg{height:auto!important;width:100%;display:block;overflow:visible;color:#ee7122}
.member-workspace .r6-chart-readout{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:0 0 6px;padding-top:12px;border-top:1px solid var(--mm-line)}
.member-workspace .r6-chart-readout span{font-size:11px}.member-workspace .r6-chart-readout b{font-size:16px}.member-workspace .r6-chart-readout small{margin-left:auto;font-size:10px;color:var(--mm-muted)!important}
html[data-theme] body.desktop-v4.member-workspace .next-history-svg svg text{fill:var(--mm-muted)!important;font-size:11px}
html[data-theme] body.desktop-v4.member-workspace .next-history-svg svg .r6-chart-grid{stroke:var(--mm-line)!important;stroke-width:.7}
html[data-theme] body.desktop-v4.member-workspace .next-history-svg svg .r6-chart-area{fill:url(#r6-portfolio-fill)!important;stroke:none!important}
html[data-theme] body.desktop-v4.member-workspace .next-history-svg svg .r6-value-line{fill:none!important;stroke:currentColor!important;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}
html[data-theme] body.desktop-v4.member-workspace .next-history-svg svg .next-principal-line{fill:none!important;stroke:var(--mm-muted)!important;stroke-width:1;stroke-dasharray:4 4}
.r6-chart-last{fill:currentColor;stroke:var(--mm-surface);stroke-width:2}
.member-workspace .next-chart-legend{font-size:10px;display:flex;justify-content:flex-start;gap:16px;flex-wrap:wrap;padding:6px 0 10px}
.next-chart-legend>span{display:flex;align-items:center;gap:5px}.next-chart-legend i{display:inline-block;width:16px;border-top:2px solid #ee7122}.next-chart-legend .r6-principal-key i{border-color:var(--mm-muted);border-top-style:dashed}.next-chart-legend>small{margin-left:auto;font-size:10px;color:var(--mm-muted)!important}
.member-workspace .next-asset-chart details{font-size:11px;margin-top:7px;color:var(--mm-muted)}
@media(max-width:900px){.member-workspace .r2-my-top{grid-template-columns:minmax(0,1fr)}.r6-member-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.member-workspace .r2-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){html[data-theme] body.member-workspace .next-assets-toolbar{padding-bottom:14px;gap:10px}.member-workspace .next-assets-toolbar h1{font-size:22px}.member-workspace .next-assets-toolbar nav{gap:6px;width:100%}.member-workspace .next-assets-toolbar nav>a:first-child{display:inline-flex!important}.member-workspace .next-assets-toolbar nav>a{font-size:11px;padding:7px 9px}.member-workspace .next-assets-toolbar .btn{font-size:11px;padding:8px 10px;min-height:34px}.member-workspace .r2-asset-hero{padding:17px!important;border-radius:15px!important}.member-workspace .r2-asset-hero>strong{font-size:34px}.member-workspace .r2-asset-hero>p>b{font-size:20px}.member-workspace .r2-analysis-grid{gap:7px}.member-workspace .r2-analysis-grid .r2-status{padding:10px}.member-workspace .r2-analysis-grid .r2-status>strong{font-size:14px}.member-workspace .r2-analysis-grid .r2-status>p{font-size:10px}.r6-member-side{grid-template-columns:minmax(0,1fr)}.member-workspace .next-assets-analysis.r6-analysis-open{padding:16px}.r6-analysis-open .r2-detail-grid{grid-template-columns:minmax(0,1fr)}.r6-analysis-open .next-portfolio-mix{grid-template-columns:minmax(0,1fr)}.r6-section-heading h2{font-size:19px}.member-workspace .r6-chart-readout small{margin-left:0}.member-workspace .next-asset-chart-tools{margin-bottom:8px}.member-workspace .next-asset-chart .compact-tabs button{padding:6px 8px}.app-v3 .bottom-nav a{font-size:10px}.member-workspace .r2-donut-layout{grid-template-columns:95px minmax(0,1fr)}.member-workspace .r2-donut{width:95px;height:95px;padding:15px}.member-workspace .r2-donut>span{width:65px;height:65px}}
.member-workspace .r6-analysis-open .r2-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
html[data-theme] body.desktop-v4.member-workspace .r6-ai-overview{border-top-color:#ff792a!important}
html[data-theme] body.desktop-v4.member-workspace .r2-asset-hero .compact-tabs button[aria-pressed=false]{background:transparent!important;box-shadow:none;color:var(--mm-muted)!important}
.member-workspace .next-history-svg svg{max-height:215px}
.member-workspace .next-asset-chart details>summary{line-height:1.6;padding:0}
@media(max-width:1100px){.member-workspace .r6-analysis-open .r2-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.member-workspace .r6-analysis-open .r2-composition{grid-column:1/-1}}
@media(max-width:650px){.member-workspace .r6-analysis-open .r2-detail-grid{grid-template-columns:minmax(0,1fr)}.member-workspace .next-history-svg svg{max-height:none}}
html:has(body.member-workspace){scroll-padding-top:82px}
.member-workspace :is(#next-assets-analysis,#next-assets-ai,#next-assets-holdings){scroll-margin-top:12px}
@media(max-width:650px){body.member-workspace .my-layout{padding-inline:0!important}.member-workspace .r6-member-side{display:block}.member-workspace .r6-ai-heading h2{font-size:16px}}

html[data-theme] body.desktop-v4 .ai-market-hero.r2-score-secondary{align-items:start;padding:25px;gap:28px}
html[data-theme] body.desktop-v4 .r7-score-explanation{font-size:15px;line-height:1.85;max-width:760px;color:var(--mm-ink)!important}
.ai-market-hero .r7-original-link{display:inline-flex;margin-left:15px;font-size:12px;background:transparent!important;color:var(--mm-link)!important;padding:8px 0;border:0}
.ai-market-hero .r7-score-label{display:inline-flex;margin:10px 0 8px;padding:5px 15px;border-radius:99px;background:var(--mm-soft);color:var(--mm-ink);font-size:15px}
.ai-score-labels{justify-content:space-between}
.ai-score-card>small{display:block;font-size:11px;line-height:1.6}
.r7-component-chart{scroll-margin-top:100px}
.r7-components{display:grid;gap:15px}
.r7-component{padding:0 0 13px;border-bottom:1px solid var(--mm-line)}
.r7-component>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.r7-component h3{margin:0;font-size:15px;line-height:1.5}
.r7-component strong{font-size:23px;line-height:1.3;font-variant-numeric:tabular-nums}
.r7-component strong small{font-size:11px;font-weight:500;margin-left:3px;color:var(--mm-muted)}
.r7-component-track{height:9px;border-radius:5px;background:var(--mm-soft);margin:9px 0 8px;overflow:hidden}
.r7-component-track>i{display:block;min-width:3px;height:100%;border-radius:5px;background:linear-gradient(90deg,#f49b56,#e46a19)}
.r7-component>p{font-size:12px;line-height:1.75;color:var(--mm-ink);margin:6px 0}
.r7-component>small{font-size:11px;color:var(--mm-muted);line-height:1.6}
.r7-score-formula{font-size:12px;line-height:1.8;border:1px solid var(--mm-line);border-radius:10px;margin-top:16px;padding:12px;background:var(--mm-soft);overflow-wrap:anywhere}
.r7-score-formula>summary{font-weight:700;cursor:pointer;color:var(--mm-link)}
.r7-score-formula>p{margin:10px 0 0;color:var(--mm-ink)}
.ai-chart-grid:has(.r7-components){align-items:start}
#ai-sector-chart[aria-busy=true]{display:grid;place-items:center;min-height:330px;color:var(--mm-muted)}
#ai-sector-basis{font-size:11px;line-height:1.8;color:var(--mm-muted);overflow-wrap:anywhere}
.r7-chart-empty{font-size:13px;line-height:1.8;padding:20px;color:var(--mm-muted)}
@media(max-width:650px){html[data-theme] body.desktop-v4 .ai-market-hero.r2-score-secondary{padding:18px;gap:18px}.r7-score-explanation{font-size:13px!important}.ai-market-hero .r7-original-link{margin-left:10px}.r7-components{gap:13px}.r7-component h3{font-size:14px}.r7-component>p{font-size:12px}.r7-component-chart{scroll-margin-top:90px}.ai-chart-grid:has(.r7-components)>.ai-card{min-width:0;padding:16px}.ai-chart-grid:has(.r7-components){grid-template-columns:minmax(0,1fr)}}

html[data-theme] body.desktop-v4 .r2-stock-chips :is(button,a)>small{background:var(--mm-soft)!important;color:var(--mm-muted)!important;border-color:var(--mm-line)!important}
html[data-theme] body.desktop-v4 main .r2-summary .r2-stock-chips :is(button,a)>small{background:var(--mm-soft)!important;color:var(--mm-muted)!important}
html[data-theme] body.desktop-v4 .stock-choice span>.r7-stock-sector:last-child{display:inline-block!important;color:var(--mm-link)!important;background:var(--mm-soft);border:1px solid var(--mm-line);border-radius:5px;padding:1px 6px;margin-top:6px;font-size:10px;line-height:1.5}
#ai-sector-chart{scroll-margin-top:12px}
#ai-sector-chart:has(.r7-sector-bars){min-height:0;height:auto;padding:0}
.r7-sector-axis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));font-size:10px;color:var(--mm-muted);margin:0 0 7px}.r7-sector-axis>span:nth-child(2){text-align:center}.r7-sector-axis>span:last-child{text-align:right}
.r7-sector-bars{display:grid;gap:11px}.r7-sector-row{min-width:0;padding:0 0 7px;border-bottom:1px solid var(--mm-line)}
.r7-sector-row>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:6px;font-size:13px;line-height:1.6}
.r7-sector-row>div>span{min-width:0;overflow-wrap:anywhere}.r7-sector-row small{font-size:10px;color:var(--mm-muted);white-space:nowrap}.r7-sector-row b{font-size:14px;font-variant-numeric:tabular-nums;flex-shrink:0}
.r7-return-track{position:relative;height:10px;border-radius:3px;background:var(--mm-soft);overflow:hidden}.r7-return-track:before{content:"";position:absolute;left:50%;height:100%;border-left:1px solid var(--mm-muted);z-index:1}.r7-return-track>i{position:absolute;height:100%;min-width:2px;background:var(--mm-up);border-radius:2px}.r7-return-track>i.down{background:var(--mm-down)}
@media(max-width:650px){.r7-sector-bars{gap:9px}.r7-sector-row>div:first-child{font-size:12px;gap:8px}.r7-sector-row b{font-size:13px}.r7-sector-row small{font-size:10px}}
#ai-sector-section{scroll-margin-top:12px}

/* The allocation view stays compact, with an explicit map legend. */
html body.desktop-v4 .opt-scene-frame{--scene-paper:#f6f8fc;--scene-ink:#34465f;--scene-muted:#5c6e87;background:var(--scene-paper);border:1px solid var(--mm-line);border-radius:14px;overflow:hidden}
html[data-theme=dark] body.desktop-v4 .opt-scene-frame{--scene-paper:#162236;--scene-ink:#e5edf9;--scene-muted:#b4c2d7}
html body.desktop-v4 .opt-scene-caption{display:flex;align-items:center;gap:9px;padding:12px 14px 0;color:var(--scene-ink)}
html body.desktop-v4 .opt-scene-caption p{font-size:11px;line-height:1.6;margin:0;color:var(--scene-ink);flex:1}
.opt-scene-badge{font-size:10px;font-weight:800;letter-spacing:.05em;color:#fff;background:#425e99;border-radius:5px;padding:4px 6px}
html body.desktop-v4 .opt-scene-gesture{font-size:10px;color:var(--scene-muted);white-space:nowrap}
html body.desktop-v4 #real-opt-plot.real-opt-plot{height:360px!important;border:0;border-radius:0;background:var(--scene-paper);max-width:900px;margin:0 auto;touch-action:pan-y}
html body.desktop-v4 .opt-scene-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 14px 11px}
.opt-color-scale{display:flex;align-items:center;gap:9px;min-width:0;color:var(--scene-muted);font-size:10px}
.opt-color-scale>div{display:flex;align-items:center;gap:7px}
.opt-color-scale i{width:92px;height:6px;border-radius:5px;background:linear-gradient(90deg,#3955a6,#5866c7 32%,#328eae 64%,#65c9c2)}
.opt-color-scale b{font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--scene-ink);white-space:nowrap}
.opt-camera-actions{display:flex;gap:5px;flex-shrink:0}
html body.desktop-v4 .opt-camera-actions .text-button{font-size:11px;min-height:30px;padding:5px 8px;border:1px solid var(--mm-line);border-radius:6px;background:var(--mm-surface);color:var(--mm-ink);text-decoration:none}
html body.desktop-v4 .opt-camera-actions .text-button:hover{border-color:#7891bd;background:var(--mm-soft)}
html body.desktop-v4 .real-plot-controls{align-items:center;gap:10px 15px;padding:10px 0 2px;color:var(--mm-muted)}
.opt-selected-dot{background:#f07828;outline:2px solid var(--mm-surface);box-shadow:0 0 0 3px #e38b52}
#real-opt-selection{margin-left:auto;color:var(--mm-ink);font-variant-numeric:tabular-nums;font-size:11px;line-height:1.6}
html body.desktop-v4 .optimizer-hero-panel>.live-panel-title{border-radius:8px}
.opt-camera-actions[hidden],.opt-scene-gesture[hidden]{display:none!important}
@media(max-width:760px){
 html body.desktop-v4 .real-mobile-allocation>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;font-size:12px;font-weight:700;min-height:28px;color:var(--mm-ink)}
 html body.desktop-v4 .real-mobile-allocation>summary:before{content:'＋';font-weight:400;font-size:16px}
 html body.desktop-v4 .real-mobile-allocation[open]>summary:before{content:'−'}
 html body.desktop-v4 .real-mobile-allocation>summary>span{font-size:10px;color:var(--mm-muted);margin-left:auto}
 html body.desktop-v4 .real-mobile-allocation[open]>div{padding-top:10px}
 html body.desktop-v4 .opt-scene-caption{padding:10px 10px 0;align-items:flex-start;gap:6px}
 html body.desktop-v4 .opt-scene-caption p{font-size:10px;line-height:1.6}
 html body.desktop-v4 .opt-scene-gesture{display:none}
 html body.desktop-v4 #real-opt-metrics .metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0 0 9px}
 html body.desktop-v4 #real-opt-metrics .metric-row>div{padding:8px 6px!important;min-width:0}
 html body.desktop-v4 #real-opt-metrics .metric-row span{font-size:9px!important;line-height:1.45;overflow-wrap:anywhere}
 html body.desktop-v4 #real-opt-metrics .metric-row strong{font-size:17px!important;line-height:1.35;margin:5px 0;white-space:nowrap}
 html body.desktop-v4 #real-opt-metrics .metric-row small{font-size:9px!important;line-height:1.5;overflow-wrap:anywhere}
 html body.desktop-v4 #real-opt-plot.real-opt-plot{height:300px!important}
 html body.desktop-v4 .opt-scene-bottom{padding:0 10px 10px;align-items:flex-start;gap:10px;flex-wrap:wrap}
 .opt-color-scale{justify-content:space-between;flex:1;min-width:230px;font-size:10px}
 .opt-color-scale i{width:75px}
 .opt-camera-actions{margin-left:auto}
 html body.desktop-v4 .opt-camera-actions .text-button{min-height:36px;font-size:10px}
 #real-opt-selection{margin-left:0;flex-basis:100%;font-size:10px}
 html body.desktop-v4 .real-plot-controls{font-size:10px;gap:7px 12px}
}

/* Feature hierarchy and dense, readable dividend records. */
html body.desktop-v4 #primary-navigation>a[href="/optimizer/"]{font-size:13px;white-space:nowrap;background:transparent;border:0;border-bottom:3px solid transparent;border-radius:0;padding:24px 0 20px;align-self:stretch;color:var(--mm-muted)!important}
html body.desktop-v4 #primary-navigation>a[href="/optimizer/"][aria-current]{background:transparent;border-bottom-color:#ff6a1a;color:var(--mm-link)!important}
html body.desktop-v4 .v4-lp-copy>p{font-size:16px;line-height:1.8}
html body.desktop-v4 .optimizer-feature-entry{display:flex;align-items:center;gap:13px;min-width:0;padding:15px 19px;background:#fff3e9;border:1px solid #e8b18a;border-radius:13px;text-decoration:none;color:#823712;box-shadow:0 4px 14px #9e4d1206}
.optimizer-feature-entry>span:not(.optimizer-feature-icon){display:flex;flex-direction:column;gap:5px}
html body.desktop-v4 .optimizer-feature-entry strong{font-size:20px;line-height:1.4}
html body.desktop-v4 .optimizer-feature-entry small{font-size:13px;line-height:1.5;color:#7c5239}
.optimizer-feature-entry>b{font-size:23px;margin-left:15px}
.optimizer-feature-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:11px;color:white;background:#445b98;font-size:17px;font-weight:800;flex-shrink:0}
html[data-theme=dark] body.desktop-v4 .optimizer-feature-entry{background:#332c29;border-color:#9b6c49;color:#ffbc8c}
html[data-theme=dark] body.desktop-v4 .optimizer-feature-entry small{color:#d9b99f}
html body.desktop-v4 #r5-picker .optimizer-page-kicker{font-size:12px;font-weight:700;color:var(--mm-muted);display:block;margin:0 0 4px}
html body.desktop-v4 #r5-picker h1{font-size:28px!important;line-height:1.45;margin:0}
html body.desktop-v4 #r5-picker .optimizer-page-lead{font-size:15px;margin:7px 0 0;line-height:1.6;color:var(--mm-muted)}
html body.desktop-v4 #r5-picker .r5-product-editor>summary{font-size:14px;line-height:1.5}
html body.desktop-v4 .optimizer-hero-panel>.live-panel-title h2{font-size:20px}
html body.desktop-v4 .optimizer-hero-panel .compact-tabs button{font-size:13px;min-height:38px;padding:8px 12px}
html body.desktop-v4 .real-weight label b{font-size:14px}
html body.desktop-v4 .real-weight output{font-size:22px}
html body.desktop-v4 .opt-scene-caption p,html body.desktop-v4 .real-plot-controls{font-size:12px;line-height:1.6}
html body.desktop-v4 .opt-camera-actions .text-button{font-size:12px;min-height:36px}
html body.desktop-v4 #real-opt-metrics .metric-row :is(span,small){font-size:12px!important;line-height:1.5}
html body.desktop-v4 #real-opt-metrics strong{font-size:24px}
html body.desktop-v4 .r5-allocation-modes a{font-size:14px;min-height:42px}
html body.desktop-v4 #r2-div-registrations>.live-panel{padding:18px 20px!important}
html body.desktop-v4 #member-content:has(#r2-div-registrations){min-height:0!important}
html body.desktop-v4 #r2-div-registrations h3{font-size:20px;margin:0 0 13px;line-height:1.5}
html body.desktop-v4 .next-dividend-table{width:100%;min-width:0;table-layout:fixed;font-size:15px;border-collapse:collapse}
html body.desktop-v4 .next-dividend-table :is(th,td){height:auto;padding:10px 14px!important;vertical-align:middle;font-size:15px!important;line-height:1.45;border-bottom:1px solid var(--mm-line);overflow-wrap:anywhere}
html body.desktop-v4 .next-dividend-table th{font-size:13px!important;font-weight:700;padding-top:11px!important;padding-bottom:11px!important}
html body.desktop-v4 .next-dividend-table :is(th,td):nth-child(2){width:100px;text-align:right}
html body.desktop-v4 .next-dividend-table :is(th,td):nth-child(3){width:136px;text-align:center}
html body.desktop-v4 .next-dividend-table :is(th,td):nth-child(4){width:124px;text-align:right}
html body.desktop-v4 .next-dividend-table td:first-child>button{font-size:16px!important;font-weight:650;line-height:1.45;min-height:0;padding:0;white-space:normal;text-align:left;vertical-align:baseline}
html body.desktop-v4 .next-dividend-table td small{display:inline;font-size:12px!important;line-height:1.5;margin:0 0 0 10px;color:var(--mm-muted);white-space:nowrap}
html body.desktop-v4 .next-dividend-table .actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-direction:row;margin:0!important}
html body.desktop-v4 .next-dividend-table .actions button{font-size:14px!important;min-height:36px;line-height:1.4;padding:7px 6px}
.dividend-account-badge{font-size:13px;line-height:1.4;background:var(--mm-soft);color:var(--mm-ink);padding:5px 9px;border-radius:5px;display:inline-block;white-space:nowrap}
@media(max-width:1100px) and (min-width:761px){html body.desktop-v4 #primary-navigation{gap:10px}html body.desktop-v4 #primary-navigation>a{font-size:13px}html body.desktop-v4 #primary-navigation>a[href="/optimizer/"]{font-size:13px;padding:24px 0 20px}}
@media(max-width:760px){
 html[data-theme] body.desktop-v4 header.refined-header{gap:6px!important}
 html body.desktop-v4 #account-area #member-signout{font-size:11px;padding:6px 8px;min-height:34px}
 html body.desktop-v4 .optimizer-feature-entry{width:100%;padding:12px;box-sizing:border-box;gap:10px}
 html body.desktop-v4 .optimizer-feature-entry strong{font-size:19px}
 html body.desktop-v4 .optimizer-feature-entry small{font-size:12px}
 .optimizer-feature-entry>b{margin-left:auto}
 .optimizer-feature-icon{width:39px;height:39px;font-size:15px}
 html body.desktop-v4 .fund-overview-heading{align-items:stretch}
 html body.desktop-v4 .v3-bottom-nav{align-items:stretch;min-height:59px;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 2px;padding-left:4px;padding-right:4px}
 html body.desktop-v4 .v3-bottom-nav>a{justify-content:center;min-width:0}
 html body.desktop-v4 .v3-bottom-nav a>.bottom-nav-label{font-size:10px;line-height:1.2;min-height:24px;display:flex;align-items:center;justify-content:center;text-align:center;width:100%;white-space:normal}
 html body.desktop-v4 .v3-bottom-nav .optimizer-bottom-entry{margin:0 2px;padding:3px 1px}
 html body.desktop-v4 .v3-bottom-nav .optimizer-bottom-entry>.bottom-nav-label{font-size:10px;line-height:1.2}
 html body.desktop-v4 .v3-bottom-nav a>span[aria-hidden]{font-size:21px;line-height:23px;min-height:23px}
 html body.desktop-v4 #r5-picker h1{font-size:23px!important}
 html body.desktop-v4 #r5-picker .optimizer-page-lead{font-size:13px}
 html body.desktop-v4 .optimizer-hero-panel>.live-panel-title h2{font-size:18px}
 html body.desktop-v4 #real-opt-metrics .metric-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.desktop-v4 #real-opt-metrics .metric-row>div:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;align-items:center}
 html body.desktop-v4 #real-opt-metrics .metric-row>div:first-child strong{grid-column:2;grid-row:1/3}
 html body.desktop-v4 #real-opt-metrics .metric-row>div:first-child small{grid-column:1}
 html body.desktop-v4 #real-opt-metrics .metric-row strong{font-size:21px!important}
 html body.desktop-v4 .r5-allocation-modes a{font-size:12px;padding:10px}
 html body.desktop-v4 #r2-div-registrations>.live-panel{padding:14px!important}
 html body.desktop-v4 #r2-div-registrations .member-table-scroll{overflow:visible}
 html body.desktop-v4 .next-dividend-table,html body.desktop-v4 .next-dividend-table tbody{display:block;width:100%;min-width:0}
 html body.desktop-v4 .next-dividend-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body.desktop-v4 .next-dividend-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px 4px;padding:12px 0;border-bottom:1px solid var(--mm-line)}
 html body.desktop-v4 .next-dividend-table td{display:block;width:auto!important;border:0;padding:0!important;font-size:14px!important;text-align:left!important}
 html body.desktop-v4 .next-dividend-table td:first-child{grid-column:1/-1}
 html body.desktop-v4 .next-dividend-table td:first-child>button{font-size:16px!important}
 html body.desktop-v4 .next-dividend-table td small{font-size:12px!important;margin-left:7px}
 html body.desktop-v4 .next-dividend-table td[data-label]:before{content:attr(data-label);display:block;font-size:10px;color:var(--mm-muted);margin-bottom:3px}
 html body.desktop-v4 .next-dividend-table .actions{height:100%;gap:2px}
 html body.desktop-v4 .next-dividend-table .actions button{min-height:40px;font-size:13px!important;padding:7px 5px}
 .dividend-account-badge{font-size:12px;padding:4px 5px}
}

/* Home stays an introduction to MoneyMart; saved analysis is a compact preview. */
html body.desktop-v4 .home-market-panels{align-items:start}
html body.desktop-v4 .home-market-brief .live-panel-title{align-items:center;gap:12px;margin-bottom:16px}
html body.desktop-v4 .home-market-brief .live-panel-title h2{font-size:21px;line-height:1.45;margin:0}
html body.desktop-v4 .home-market-brief .live-panel-title>a{font-size:13px;white-space:nowrap}
.home-brief-meta{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;color:var(--mm-muted);font-size:13px;line-height:1.5}
.home-brief-meta>span{background:var(--mm-soft);padding:4px 8px;border-radius:5px;color:var(--mm-ink);font-weight:650}
.home-brief-points{list-style:none;padding:0;margin:12px 0 0}
.home-brief-points>li{border-top:1px solid var(--mm-line);padding:10px 0;display:grid;grid-template-columns:25px minmax(0,1fr);gap:7px}
.home-brief-points>li>b{font-size:12px;color:var(--mm-link);line-height:24px}
html body.desktop-v4 .home-brief-points h3{font-size:14px!important;line-height:1.6!important;margin:0 0 4px!important}
html body.desktop-v4 .home-brief-points p{font-size:15px!important;line-height:1.7!important;margin:0!important;color:var(--mm-ink);overflow-wrap:anywhere}
.home-brief-links{display:flex;gap:8px;flex-wrap:wrap;align-items:center;padding-top:3px}
.home-brief-links .r2-stock-chips{margin:0}
html body.desktop-v4 .home-brief-links>a{font-size:13px;line-height:1.6;padding:7px 9px;margin:0;min-height:0;border:1px solid var(--mm-line);border-radius:6px;text-decoration:none;background:var(--mm-soft)}
html body.desktop-v4 .home-market-brief .home-brief-note{font-size:12px;line-height:1.6;color:var(--mm-muted);margin:12px 0 0}
@media(max-width:760px){
 html body.desktop-v4 .home-market-brief .live-panel-title h2{font-size:19px}
 html body.desktop-v4 .home-market-brief .live-panel-title>a{font-size:12px}
 .home-brief-points>li{padding:11px 0}
}

/* Dense member workspace: current evidence and saved analysis remain distinct. */
html[data-theme] body.desktop-v4.member-workspace #member-content{min-height:0!important}
html body.desktop-v4.member-workspace .my-layout{padding-top:16px}
html body.desktop-v4.member-workspace .next-assets-toolbar{min-height:45px;padding-bottom:12px;gap:10px}
html body.desktop-v4.member-workspace .next-assets-toolbar h1{font-size:25px}
html body.desktop-v4.member-workspace .next-assets-toolbar nav>a{font-size:13px;min-height:38px;padding:8px 10px}
html body.desktop-v4.member-workspace .next-assets-toolbar nav>a[href="#next-assets-ai"]{background:var(--mm-soft);border-color:#9d8abb;color:var(--mm-link);font-weight:800}
html body.desktop-v4.member-workspace .r2-my-top{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:14px;align-items:stretch;margin-bottom:14px}
html body.desktop-v4.member-workspace .r2-asset-hero{min-height:0!important;padding:19px!important;border-width:1px;border-radius:15px}
html body.desktop-v4.member-workspace .r2-asset-hero>span{font-size:13px}
html body.desktop-v4.member-workspace .r2-asset-hero>strong{font-size:39px;margin:5px 0 7px}
html body.desktop-v4.member-workspace .r2-asset-hero>p{font-size:13px;margin:0 0 12px}
html body.desktop-v4.member-workspace .r2-hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 13px;padding:12px 0;border-block:1px solid var(--mm-line)}
html body.desktop-v4.member-workspace .r2-hero-stats>div{font-size:12px;line-height:1.6;min-width:0}
html body.desktop-v4.member-workspace .r2-hero-stats b{font-size:17px;display:block;margin-top:2px;font-variant-numeric:tabular-nums}
html body.desktop-v4.member-workspace .r2-asset-hero .r8-asset-reading{font-size:13px!important;color:var(--mm-muted)!important;margin:10px 0 0;line-height:1.7;display:block;border-top:1px solid var(--mm-line);padding-top:11px}
html body.desktop-v4.member-workspace .next-asset-chart-tools{margin-bottom:6px}
html body.desktop-v4.member-workspace .next-history-svg svg{max-height:205px}
html body.desktop-v4.member-workspace .r6-chart-readout{padding-top:8px;border-top:0}
html body.desktop-v4.member-workspace .r6-member-side{display:block;height:100%}
html body.desktop-v4.member-workspace .r8-current-review{padding:17px!important;border-radius:15px;height:100%;box-sizing:border-box}
.r8-review-heading .jp-label{font-size:12px;color:var(--mm-muted)}
html body.desktop-v4.member-workspace .r8-review-heading h2{font-size:22px;line-height:1.45;margin:4px 0 6px}
html body.desktop-v4.member-workspace .r8-review-heading>p{font-size:13px;line-height:1.65;margin:0 0 12px;color:var(--mm-muted)}
.r8-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.r8-review-grid>article{border:1px solid var(--mm-line);background:var(--mm-soft);border-radius:9px;padding:12px;min-width:0}
.r8-review-grid>article>div{display:flex;flex-direction:column;gap:5px}
html body.desktop-v4.member-workspace .r8-review-grid article>div>span{font-size:12px;font-weight:750;color:var(--mm-muted)}
html body.desktop-v4.member-workspace .r8-review-grid strong{font-size:23px;line-height:1.35;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
html body.desktop-v4.member-workspace .r8-review-grid p{font-size:14px;line-height:1.75;margin:8px 0 7px;color:var(--mm-ink)}
html body.desktop-v4.member-workspace .r8-review-grid small{font-size:12px;line-height:1.65;display:block;color:var(--mm-muted)}
html body.desktop-v4.member-workspace .r2-analysis{margin:0 0 14px!important}
html body.desktop-v4.member-workspace .r2-analysis-grid{gap:9px}
html body.desktop-v4.member-workspace .r2-analysis-grid .r2-status{padding:11px 13px}
html body.desktop-v4.member-workspace .r2-analysis-grid .r2-status>span{font-size:12px}
html body.desktop-v4.member-workspace .r2-analysis-grid .r2-status>strong{font-size:18px}
html body.desktop-v4.member-workspace .r2-analysis-grid .r2-status>p{font-size:12px;line-height:1.65}
html body.desktop-v4.member-workspace .r6-ai-overview{padding:19px 21px!important;margin:0 0 14px!important;border-radius:15px;border-top:3px solid #9274bc!important}
html body.desktop-v4.member-workspace .r6-ai-heading{margin-bottom:8px}
html body.desktop-v4.member-workspace .r6-ai-heading h2{font-size:22px;line-height:1.5}
html body.desktop-v4.member-workspace .r6-ai-heading .jp-label{font-size:12px}
.r8-ai-edition{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:7px 0}
.r8-ai-edition time{font-size:13px;color:var(--mm-muted)}
.r8-ai-edition>strong{font-size:12px;color:var(--mm-link);background:var(--mm-soft);border:1px solid var(--mm-line);padding:4px 8px;border-radius:5px}
html body.desktop-v4.member-workspace .r6-ai-date-note{font-size:13px!important;line-height:1.7!important;margin:7px 0 14px!important;color:var(--mm-muted)!important}
.r8-ai-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:22px}
html body.desktop-v4.member-workspace .r6-ai-summary{font-size:18px;line-height:1.65;font-weight:750;margin:0 0 14px;color:var(--mm-ink)}
.r8-ai-list{margin-top:13px}
html body.desktop-v4.member-workspace .r8-ai-list h3{font-size:14px;margin:0 0 5px}
html body.desktop-v4.member-workspace .r8-ai-list ul{padding-left:18px;margin:0;font-size:14px;line-height:1.85;color:var(--mm-ink)}
html body.desktop-v4.member-workspace .r6-ai-checks{margin:0;display:grid;gap:8px}
.r6-ai-checks>article{background:var(--mm-soft);padding:12px 14px;border-left:3px solid #9274bc;border-radius:0 8px 8px 0}
.r6-ai-checks>article>div{display:flex;gap:8px;align-items:center;justify-content:space-between}
html body.desktop-v4.member-workspace .r6-ai-checks article b{font-size:15px}
.r6-ai-checks article span{font-size:12px;border:1px solid var(--mm-line);padding:2px 8px;border-radius:4px;color:var(--mm-muted)}
html body.desktop-v4.member-workspace .r6-ai-checks article p{font-size:14px;line-height:1.75;margin:5px 0 0;color:var(--mm-ink)}
html body.desktop-v4.member-workspace .r6-ai-full{margin-top:15px;padding-top:12px}
html body.desktop-v4.member-workspace .r6-ai-full>summary{font-size:14px;line-height:1.7}
html body.desktop-v4.member-workspace .r6-ai-full .member-doc-block{font-size:14px;line-height:1.75}
html body.desktop-v4.member-workspace .next-assets-analysis.r6-analysis-open{padding:18px;margin-bottom:14px}
html body.desktop-v4.member-workspace .r6-analysis-open .r2-detail-grid{gap:11px;align-items:stretch}
html body.desktop-v4.member-workspace .r6-analysis-open .r2-detail-grid h2{font-size:18px}
html body.desktop-v4.member-workspace .r6-analysis-open .r2-metrics>div,.r6-analysis-open .member-note{font-size:12px;line-height:1.7}
html body.desktop-v4.member-workspace .r6-analysis-open .r2-metrics b{font-size:18px}
html body.desktop-v4.member-workspace .r6-analysis-open .next-mix-row{font-size:14px;line-height:1.7}
html body.desktop-v4.member-workspace .r6-analysis-open .next-portfolio-mix h3{font-size:16px}
html body.desktop-v4.member-workspace .next-holdings :is(th,td){font-size:14px!important;padding:12px 10px!important;line-height:1.6}
html body.desktop-v4.member-workspace .next-holdings td:first-child>button{font-size:16px!important;font-weight:700}
html body.desktop-v4.member-workspace .next-holdings td small{font-size:12px!important}
html body.desktop-v4.member-workspace .next-holdings td .actions button{font-size:13px!important;min-height:34px}
.member-workspace .next-asset-news>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.member-workspace .next-asset-news>div:last-child>article{padding:18px 20px;border:1px solid var(--mm-line);border-radius:10px;min-width:0;overflow-wrap:anywhere}
.member-workspace .next-asset-news article>a{display:block}
.member-workspace .next-asset-news article>a{font-size:15px;line-height:1.7}
.member-workspace .next-asset-news article small{font-size:12px;display:block;margin:7px 0;color:var(--mm-muted)}
/* The 3D launch remains visible even when the product editor is folded. */
html body.desktop-v4 #r5-picker>.live-panel-title{align-items:center;gap:14px}
html body.desktop-v4 .r8-opt-primary{background:#e96d1b!important;color:#20160f!important;border:1px solid #bd5714!important;font-size:16px!important;font-weight:800;min-height:48px;white-space:nowrap;box-shadow:0 3px 10px #9a4a1010}
html body.desktop-v4 .r8-opt-primary[aria-disabled=true]{background:var(--mm-soft)!important;color:var(--mm-muted)!important;border-color:var(--mm-line)!important;box-shadow:none;cursor:default}
.r8-opt-route{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;margin:4px 0 13px}
.r8-opt-route>span{display:flex;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--mm-ink)}
.r8-opt-route i{font-style:normal;color:var(--mm-muted)}
.r8-opt-route small{font-size:12px;color:var(--mm-muted)}
html body.desktop-v4 .r8-opt-view-tabs{padding:4px;background:var(--mm-soft);border:1px solid var(--mm-line);border-radius:11px;gap:5px;scroll-margin-top:95px;flex-shrink:0}
html body.desktop-v4 .r8-opt-view-tabs button{font-size:15px!important;font-weight:750;min-height:44px!important;border:1px solid transparent;padding:9px 14px!important}
html body.desktop-v4 .r8-opt-view-tabs button[aria-pressed=true]{background:#e96d1b!important;color:#20160f!important;border-color:#bd5714!important;border-radius:8px}
html body.desktop-v4 .r8-opt-view-tabs button[aria-pressed=false]{background:var(--mm-surface)!important;color:var(--mm-ink)!important;border-color:var(--mm-line)!important;border-radius:8px}
@media(max-width:1000px){
 html body.desktop-v4.member-workspace .r2-my-top{grid-template-columns:minmax(0,1fr)}
 .r8-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .member-workspace .next-asset-news>div:last-child{grid-template-columns:minmax(0,1fr)}
 html body.desktop-v4 .optimizer-hero-panel>.live-panel-title{align-items:flex-start;flex-wrap:wrap;gap:12px}
}
@media(max-width:650px){
 html body.desktop-v4.member-workspace .my-layout{padding-top:10px}
 html body.desktop-v4.member-workspace .next-assets-toolbar{gap:8px}
 html body.desktop-v4.member-workspace .r2-asset-hero{padding:16px!important}
 html body.desktop-v4.member-workspace .r2-hero-stats{gap:6px;padding:10px 0}
 html body.desktop-v4.member-workspace .r2-hero-stats b{font-size:15px}
 html body.desktop-v4.member-workspace .next-history-svg svg{max-height:none}
 html body.desktop-v4.member-workspace .r8-current-review{height:auto}
 .r8-review-grid{grid-template-columns:minmax(0,1fr)}
 .r8-review-grid>article{padding:13px}
 .r8-review-grid>article>div{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
 html body.desktop-v4.member-workspace .r8-review-grid strong{font-size:22px}
 html body.desktop-v4.member-workspace .r8-review-grid p{font-size:15px}
 .r8-ai-layout{grid-template-columns:minmax(0,1fr);gap:14px}
 html body.desktop-v4.member-workspace .r6-ai-overview{padding:16px!important}
 html body.desktop-v4.member-workspace .r6-ai-heading h2{font-size:20px}
 html body.desktop-v4.member-workspace .r6-ai-summary{font-size:17px}
 html body.desktop-v4 #r5-picker>.live-panel-title{display:flex;flex-wrap:wrap}
 html body.desktop-v4 .r8-opt-primary{width:100%;justify-content:center;font-size:16px!important}
 .r8-opt-route{gap:8px;margin-top:8px}
 .r8-opt-route>span{gap:6px;font-size:12px}
 html body.desktop-v4 .r8-opt-view-tabs{width:100%;display:flex;box-sizing:border-box;gap:4px}
 html body.desktop-v4 .r8-opt-view-tabs button{flex:1;font-size:14px!important;min-height:44px!important;padding:8px 7px!important;white-space:nowrap}
}
html[data-theme] body.desktop-v4.member-workspace .r2-hero-stats>div{color:var(--mm-muted)!important}
html[data-theme] body.desktop-v4.member-workspace .r6-ai-overview{border-top-color:#9274bc!important}

html[data-theme] body.desktop-v4 .optimizer-hero-panel .r8-opt-view-tabs button[aria-pressed=true]{background:#e96d1b!important;color:#20160f!important;border-color:#bd5714!important}
html[data-theme] body.desktop-v4 .optimizer-hero-panel #real-opt-views.r8-opt-view-tabs button[aria-pressed=true]{background:#e96d1b!important;color:#20160f!important;border-color:#bd5714!important}

/* Detailed member reading: current records, dated saved analysis, and monthly schedules. */
html body.desktop-v4.member-workspace .r2-my-top{align-items:start}
html body.desktop-v4.member-workspace .r6-member-side,html body.desktop-v4.member-workspace .r8-current-review{height:auto}
.member-workspace :is(.r10-household,.r10-dividend,.r10-portfolio-detail){font-size:15px;line-height:1.7;color:var(--mm-ink);min-width:0}
.member-workspace .r10-page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}
.member-workspace .r10-page-heading h1{font-size:27px;line-height:1.4;margin:3px 0 5px;letter-spacing:-.5px}
.member-workspace .r10-page-heading p{margin:0;color:var(--mm-muted);font-size:14px}
.member-workspace :is(.r10-household,.r10-dividend) .live-panel{padding:21px;border-radius:15px;min-height:0;margin:0}
.member-workspace :is(.r10-household,.r10-dividend,.r10-portfolio-detail) h2{font-size:20px;line-height:1.5;margin:0 0 10px}
.member-workspace :is(.r10-household,.r10-dividend,.r10-portfolio-detail) h3{font-size:16px;line-height:1.6;margin:0 0 8px}
.member-workspace :is(.r10-household,.r10-dividend) .live-panel-title{gap:12px;align-items:center;margin-bottom:15px;flex-wrap:wrap}
.member-workspace :is(.r10-household,.r10-dividend) .jp-label{font-size:12px;color:var(--mm-muted);display:block;margin-bottom:4px}
.member-workspace :is(.r10-chart-reading,.r10-reading-note){font-size:13px!important;line-height:1.8!important;color:var(--mm-muted)!important;margin:12px 0 0!important}
.r10-two-columns,.r10-household-top,.r10-dividend-top,.r10-portfolio-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start}
.r10-household-top{grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);margin-bottom:15px}
html[data-theme] body.member-workspace .r10-budget-hero{padding:22px;background:var(--mm-surface)!important;border:1px solid #ed9a60;color:var(--mm-ink)!important;border-radius:15px;box-shadow:0 3px 12px #17283805;min-width:0}
html[data-theme] body.member-workspace .r10-budget-hero>strong{font-size:39px;letter-spacing:-1px;margin:7px 0 9px;line-height:1.3;display:block}
.member-workspace .r10-budget-hero .live-panel-title{font-size:14px;margin-bottom:2px}
.r10-budget-caption,.r10-budget-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 15px;font-size:13px;color:var(--mm-muted)}
.member-workspace .r10-budget-hero .next-budget-line{height:12px;margin:15px 0 10px;background:var(--mm-soft)}
.member-workspace .r10-budget-hero .next-budget-line>i{background:#e57732}
.member-workspace .r10-budget-hero>p{font-size:14px;line-height:1.75;margin:10px 0 14px}
.r10-budget-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--mm-line);border-radius:10px;overflow:hidden;margin:14px 0}
.r10-budget-numbers>div{padding:13px 14px;background:var(--mm-soft);min-width:0}
.r10-budget-numbers>div:nth-child(odd){border-right:1px solid var(--mm-line)}
.r10-budget-numbers>div:nth-child(-n+2){border-bottom:1px solid var(--mm-line)}
.r10-budget-numbers span{display:block;font-size:13px;color:var(--mm-muted)}
html body.member-workspace .r10-budget-numbers strong{display:block;font-size:24px;line-height:1.5;margin:3px 0;font-variant-numeric:tabular-nums;letter-spacing:-.4px;overflow-wrap:anywhere}
.r10-budget-numbers small{font-size:12px;line-height:1.7;color:var(--mm-muted)}
.r10-budget-foot{border-bottom:1px solid var(--mm-line);padding-bottom:12px}
.r10-budget-foot>a{font-weight:650;color:var(--mm-link)}
.r10-check{padding:12px 13px;border:1px solid var(--mm-line);border-left:3px solid #397d9c;border-radius:8px;background:var(--mm-soft);margin-top:9px}
.r10-check.attention{border-left-color:#e57732}
.r10-check>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.r10-check>div>span{font-size:13px;font-weight:700}
.r10-check b{font-size:20px;font-variant-numeric:tabular-nums}
.r10-check p{font-size:14px;margin:6px 0 0;line-height:1.8}
.r10-local-analysis,.r10-cached-household{border-top:1px solid var(--mm-line);padding-top:13px;margin-top:14px}
.r10-local-analysis b{color:var(--mm-link);font-size:15px}
.r10-local-analysis p,.r10-cached-household p{font-size:14px;line-height:1.8;margin:6px 0}
.r10-local-analysis small,.r10-cached-household small{font-size:12px;color:var(--mm-muted);display:block;line-height:1.7}
.r10-cached-household h3{color:var(--mm-link)}
.r10-cached-household a{font-size:13px;display:inline-block;margin-top:8px}
.r10-household-charts{margin-bottom:18px}
.r10-category-bars{display:grid;gap:12px}
.r10-category-bars>button{display:grid;grid-template-columns:minmax(0,1fr) auto 48px;align-items:baseline;gap:3px 10px;text-align:left;width:100%;background:transparent;border:0;color:var(--mm-ink);padding:3px 0;cursor:pointer}
.r10-category-bars button>span{display:flex;align-items:center;gap:7px;font-size:15px;min-width:0}
.r10-category-bars button>span>i{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.r10-category-bars button>b{font-size:17px;font-variant-numeric:tabular-nums}
.r10-category-bars button>small{font-size:13px;color:var(--mm-muted);text-align:right}
.r10-category-bars button>em{height:8px;border-radius:4px;background:var(--mm-soft);grid-column:1/-1;overflow:hidden;display:block}
.r10-category-bars button>em>i{height:100%;display:block;border-radius:4px}
.r10-month-bars{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:end;margin-top:8px}
.r10-month-bars>button{border:0;background:transparent;padding:0;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--mm-ink);min-width:0;cursor:pointer}
.r10-month-bars button>b{font-size:12px;line-height:1.4;min-height:18px;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}
.r10-month-bars button>span{height:122px;display:flex;align-items:end;justify-content:center;width:100%;border-bottom:1px solid var(--mm-line);background:linear-gradient(var(--mm-surface),var(--mm-soft));border-radius:6px 6px 0 0}
.r10-month-bars button i{width:62%;border-radius:5px 5px 0 0;background:#81b3c3;display:block;max-height:112px}
.r10-month-bars button[aria-pressed=true] i{background:#e57732}
.r10-month-bars button>strong{font-size:14px;line-height:1.4}
.r10-month-bars button>small{font-size:12px;color:var(--mm-muted)}
.member-workspace .r10-household .next-detail-tabs{margin:12px 0 14px;border-bottom:1px solid var(--mm-line);padding:0 0 9px}
.member-workspace .r10-household .next-detail-tabs button{font-size:16px;min-height:42px;padding:8px 18px}
.r10-household .next-detail-tabs button>span{font-size:12px;font-weight:500;margin-left:6px}
.r10-ledger-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:15px;align-items:start}
.r10-ledger-aside>p{font-size:14px;line-height:1.85;margin:12px 0 19px}
.r10-ledger-aside>.btn,.r10-ledger-aside>.text-link{display:flex;margin-top:10px;justify-content:center}
.r10-key-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--mm-line);font-size:14px}
.r10-key-row>b{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
.r10-expense-mark{display:grid;place-items:center;align-self:center;width:36px;height:36px;border-radius:9px;background:var(--mm-soft);color:var(--category-color);font-size:18px;font-weight:750;border:1px solid var(--mm-line)}
.r10-household .next-expense-day h3{font-size:15px;padding:10px 14px;margin:0;background:var(--mm-soft);border-bottom:1px solid var(--mm-line);display:flex;justify-content:space-between;gap:12px}
.r10-household .next-expense-day h3 small{font-size:12px;color:var(--mm-muted);margin-left:8px;font-weight:500}
.r10-household .next-expense-row{padding:13px 14px;gap:12px;align-items:center;grid-template-columns:36px minmax(0,1fr) auto 32px}
.r10-household .next-expense-row strong{font-size:16px}
.r10-household .next-expense-row small{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.r10-household .next-expense-row>b{font-size:18px;font-variant-numeric:tabular-nums}
.r10-analysis-detail>.live-panel{margin-bottom:15px!important}
.r10-detail-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.7}
.r10-detail-table th,.r10-detail-table td{padding:11px 10px;text-align:right;border-bottom:1px solid var(--mm-line);white-space:nowrap;font-variant-numeric:tabular-nums}
.r10-detail-table th:first-child{white-space:normal;text-align:left}
.r10-detail-table thead th{font-size:13px;background:var(--mm-soft)}
.r10-detail-table small{display:block;font-size:12px;color:var(--mm-muted)}
.r10-week-bars>div{display:grid;grid-template-columns:68px minmax(0,1fr) 95px;gap:12px;align-items:center;padding:9px 0;font-size:14px}
.r10-week-bars>div>i{height:9px;background:var(--mm-soft);border-radius:5px;overflow:hidden}
.r10-week-bars em{height:100%;background:#397d9c;display:block;border-radius:5px}
.r10-week-bars b{font-size:15px;text-align:right;font-variant-numeric:tabular-nums}
.r10-largest{padding:13px;background:var(--mm-soft);border-radius:8px;margin-top:14px}
.r10-largest>span{display:block;font-size:13px;color:var(--mm-muted)}
.r10-largest>strong{font-size:25px;display:block}
.r10-largest>p{font-size:14px;margin:0}
.r10-method{padding:13px 16px;border:1px solid var(--mm-line);border-radius:10px;background:var(--mm-surface);font-size:14px;line-height:1.85;margin:16px 0}
.r10-method summary{cursor:pointer;font-weight:650}
.r10-method>p{margin:12px 0 0;color:var(--mm-muted)}
.r10-dividend-top{grid-template-columns:minmax(0,.9fr) minmax(0,1.45fr);margin-bottom:15px}
html body.desktop-v4.member-workspace .r10-dividend-hero{padding:21px!important}
html body.desktop-v4.member-workspace .r10-dividend-hero>strong{font-size:38px}
.r10-tag{font-size:11px!important;padding:3px 7px;border-radius:5px;background:var(--mm-soft);font-weight:650;white-space:nowrap}
.r10-dividend-net{display:flex;justify-content:space-between;align-items:end;gap:10px;padding:13px 0;border-block:1px solid var(--mm-line);margin-top:13px}
.r10-dividend-net span{font-size:13px;display:block;color:var(--mm-muted)}
html body.member-workspace .r10-dividend-net strong{font-size:28px;display:block;line-height:1.45;margin-top:4px}
.r10-dividend-net b{font-size:18px;font-variant-numeric:tabular-nums}
.r10-tax-bar{height:9px;background:#e5a675;border-radius:5px;overflow:hidden;margin-top:15px}
.r10-tax-bar>i{display:block;height:100%;background:#397d9c}
.r10-tax-caption{display:flex;gap:7px;flex-wrap:wrap;justify-content:space-between;font-size:12px;margin:7px 0 10px;color:var(--mm-muted)}
.r10-dividend-next{padding:13px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--mm-line)}
.r10-dividend-next span{font-size:13px;display:block}
.r10-dividend-next b{font-size:24px;display:block;line-height:1.45}
.r10-dividend-next small{font-size:12px;color:var(--mm-muted)}
.r10-dividend-next>.btn{font-size:13px;min-height:38px;padding:8px 12px;flex-shrink:0}
.r10-div-quick{display:flex;gap:12px;justify-content:space-between;padding-top:10px;font-size:13px;flex-wrap:wrap}
.r10-div-quick b{margin-left:5px;font-size:15px}
.r10-chart-controls{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 14px}
.r10-chart-controls .compact-tabs{padding:3px}
.r10-chart-controls .compact-tabs button{font-size:12px;padding:7px 9px;min-height:34px;white-space:nowrap}
.member-workspace .r10-div-month-bars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;margin:10px 0 14px;min-height:0;padding:0}
.member-workspace .r10-div-month-bars>button{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:10px 6px 12px;box-sizing:border-box;border-radius:10px;background:transparent;border:0;color:var(--mm-ink);cursor:pointer}
.member-workspace .r10-div-month-bars button>b{font-size:11px;white-space:nowrap;height:18px;line-height:18px;font-variant-numeric:tabular-nums}
.member-workspace .r10-div-month-bars button>span{height:138px;width:100%;display:flex;align-items:end;justify-content:center;border-bottom:1px solid var(--mm-line);background:linear-gradient(var(--mm-surface),var(--mm-soft));border-radius:4px 4px 0 0}
.member-workspace .r10-div-month-bars button i{width:68%;max-width:34px;display:block;background:#8ebbc9;border-radius:5px 5px 0 0}
.member-workspace .r10-div-month-bars button[aria-pressed=true] i{background:#e57732}
.member-workspace .r10-div-month-bars button>strong{font-size:13px;line-height:1.5}
.member-workspace .r10-div-month-bars button>small{font-size:10px;color:var(--mm-muted);line-height:1.5;white-space:nowrap}
.member-workspace .r10-div-month-bars button[aria-pressed=true]>strong{color:var(--mm-link);font-weight:800}
.member-workspace .r10-div-month-bars>button:focus-visible{outline:3px solid var(--mm-link);outline-offset:3px}
@media(max-width:700px){
 .member-workspace .next-asset-news>div:last-child>article{padding:16px}
}
.r10-quarter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;border-top:1px solid var(--mm-line);padding-top:12px}
.r10-quarter-grid>div{background:var(--mm-soft);border-radius:6px;padding:8px;min-width:0}
.r10-quarter-grid span{font-size:12px;display:block;color:var(--mm-muted)}
.r10-quarter-grid b{font-size:15px;display:block;line-height:1.7;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.member-workspace .r10-div-reading{margin-bottom:15px}
.r10-three-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.r10-three-columns>article{border-left:2px solid var(--mm-line);padding-left:15px;min-width:0}
.r10-three-columns article>span{font-size:13px;color:var(--mm-muted);display:block}
.r10-three-columns article>strong{display:block;font-size:26px;line-height:1.5;margin:5px 0}
.r10-three-columns article>p{font-size:14px;line-height:1.85;margin:6px 0 0}
.member-workspace .r10-div-month-detail{margin-bottom:15px}
.r10-selected-total{font-size:27px;line-height:1.4;font-variant-numeric:tabular-nums}
.r10-div-event{padding:14px 0!important;gap:20px!important;align-items:center!important}
.r10-div-event h3{margin:7px 0 3px!important;font-size:17px!important}
.r10-div-event h3>button{background:none;border:0;padding:0;color:var(--mm-link);font:inherit;text-align:left;cursor:pointer;font-weight:700;line-height:1.65}
.r10-div-event small{font-size:13px;line-height:1.7;color:var(--mm-muted)}
.r10-div-event p{font-size:14px;line-height:1.8;margin:7px 0 0}
.r10-event-badge{font-size:12px;color:var(--mm-link);background:var(--mm-soft);padding:3px 7px;border-radius:5px;display:inline-block}
.r10-event-money{flex-shrink:0;text-align:right}
.r10-event-money>span{font-size:12px;color:var(--mm-muted)}
.r10-event-money>strong{font-size:24px!important;line-height:1.5;display:block;font-variant-numeric:tabular-nums}
.r10-event-money>small{display:block}
.r10-event-money>a{font-size:13px;display:block;margin-top:5px}
.r10-no-payment{padding:9px 0;font-size:14px;line-height:1.8}
html body.desktop-v4.member-workspace .r10-dividend-table{min-width:750px;table-layout:auto;width:100%;border-collapse:collapse}
html body.desktop-v4.member-workspace .r10-dividend-table th{font-size:13px!important;white-space:nowrap;background:var(--mm-soft);padding:10px 12px!important;text-align:left}
html body.desktop-v4.member-workspace .r10-dividend-table td{font-size:14px!important;vertical-align:middle;padding:14px 12px!important;line-height:1.75;border-bottom:1px solid var(--mm-line);text-align:left}
html body.desktop-v4.member-workspace .r10-dividend-table td:first-child{width:28%;min-width:180px}
html body.desktop-v4.member-workspace .r10-dividend-table td:first-child>button{font-size:16px!important;line-height:1.6;font-weight:700;white-space:normal}
html body.desktop-v4.member-workspace .r10-dividend-table td small{display:block;margin-top:4px;font-size:12px!important;color:var(--mm-muted)}
html body.desktop-v4.member-workspace .r10-dividend-table td>b{font-size:16px;white-space:nowrap;font-variant-numeric:tabular-nums}
.r10-month-chips{display:flex;flex-wrap:wrap;gap:4px;max-width:190px}
.r10-month-chips>button{padding:3px 7px;border:1px solid var(--mm-line);border-radius:5px;color:var(--mm-ink);background:var(--mm-soft);font-size:12px;cursor:pointer;white-space:nowrap}
.r10-history-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--mm-line);border-radius:8px;overflow:hidden;margin-top:12px}
.r10-history-facts>div{padding:10px 11px;background:var(--mm-soft);min-width:0}
.r10-history-facts>div:nth-child(odd){border-right:1px solid var(--mm-line)}
.r10-history-facts>div:nth-child(-n+2){border-bottom:1px solid var(--mm-line)}
.r10-history-facts span{display:block;font-size:12px;color:var(--mm-muted)}
.r10-history-facts b{display:block;font-size:18px;font-variant-numeric:tabular-nums;line-height:1.6;overflow-wrap:anywhere}
.r10-history-facts small{display:block;font-size:11px;line-height:1.7;color:var(--mm-muted)}
.member-workspace .r10-portfolio-detail{margin:0 0 15px;padding:21px!important;border-radius:15px}
.member-workspace .r10-portfolio-detail .live-panel-title{margin-bottom:17px;gap:14px;flex-wrap:wrap}
.r10-portfolio-columns{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:25px}
.r10-impact-row{padding:11px 0;border-bottom:1px solid var(--mm-line)}
.r10-impact-row>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.r10-impact-row>div:first-child>span{font-size:15px;font-weight:650;display:flex;gap:7px;align-items:baseline}
.r10-impact-row>div:first-child>span>i{width:8px;height:8px;border-radius:50%;flex-shrink:0;display:inline-block}
.r10-impact-row b{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}
.r10-impact-row small{font-size:12px;line-height:1.9;display:block;color:var(--mm-muted)}
.r10-impact-track,.r10-currency-track{height:8px;background:var(--mm-soft);overflow:hidden;border-radius:5px;margin:9px 0 5px}
.r10-impact-track>i{height:100%;display:block;border-radius:5px;background:var(--mm-down)}
.r10-impact-track>i.up{background:var(--mm-up)}
.r10-currency-row{margin-bottom:13px}
.r10-currency-row>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:14px}
.r10-currency-row b{font-size:18px;font-variant-numeric:tabular-nums}
.r10-currency-row small{font-size:12px;line-height:1.8;color:var(--mm-muted)}
.r10-currency-track>i{display:block;height:100%;border-radius:5px}
.r10-currency-reading>p{font-size:14px;line-height:1.8;margin:12px 0}
.r10-sensitivity{border:1px solid var(--mm-line);border-radius:9px;background:var(--mm-soft);padding:14px;margin-top:17px}
.r10-sensitivity>span{font-size:13px;font-weight:650}
.r10-sensitivity>strong{display:block;font-size:27px;line-height:1.5;font-variant-numeric:tabular-nums;margin:6px 0}
.r10-sensitivity>p{font-size:14px;line-height:1.85;margin:6px 0}
.r10-sensitivity>small{font-size:12px;color:var(--mm-muted);line-height:1.8;display:block}
.r10-portfolio-conclusion{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;border-top:1px solid var(--mm-line);padding-top:14px;margin-top:15px}
.r10-portfolio-conclusion>article{padding:0;min-width:0}
.r10-portfolio-conclusion span{display:block;font-size:13px;color:var(--mm-muted)}
.r10-portfolio-conclusion b{display:block;font-size:21px;margin:4px 0}
.r10-portfolio-conclusion p{font-size:14px;line-height:1.8;margin:4px 0 0}
@media(max-width:1050px){
 .r10-dividend-top,.r10-household-top{grid-template-columns:minmax(0,1fr)}
 .r10-ledger-layout{grid-template-columns:minmax(0,1.4fr) minmax(230px,1fr)}
 .r10-chart-controls .compact-tabs button{font-size:13px}
 .member-workspace .r10-div-month-bars button>b{font-size:12px}
}
@media(max-width:700px){
 .member-workspace .r10-page-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}
 .member-workspace .r10-page-heading h1{font-size:23px}
 .member-workspace .r10-page-heading p{font-size:14px}
 .r10-two-columns,.r10-ledger-layout,.r10-three-columns,.r10-portfolio-columns{grid-template-columns:minmax(0,1fr)}
 .member-workspace :is(.r10-household,.r10-dividend) .live-panel{padding:17px}
 html[data-theme] body.member-workspace .r10-budget-hero{padding:18px}
 .member-workspace :is(.r10-household,.r10-dividend,.r10-portfolio-detail) h2{font-size:19px}
 .r10-check p,.r10-local-analysis p,.r10-cached-household p,.r10-three-columns article>p{font-size:15px}
 .r10-three-columns{gap:16px}
 .r10-three-columns>article{padding-left:13px}
 .r10-three-columns article>strong{font-size:23px;margin:2px 0}
 .r10-check>div>span{font-size:14px}
 .r10-check b{font-size:21px}
 .r10-budget-numbers>div{padding:12px 10px}
 html body.member-workspace .r10-budget-numbers strong{font-size:23px}
 .r10-budget-numbers span{font-size:12px}
 .r10-budget-numbers small{font-size:11px}
 .r10-household .next-detail-tabs button>span{display:block;font-size:11px;margin:2px 0 0}
 .member-workspace .r10-household .next-detail-tabs button{flex:1;padding:8px;font-size:15px}
 .r10-household .next-expense-row{padding:12px 10px;gap:9px;grid-template-columns:30px minmax(0,1fr) auto 26px}
 .r10-expense-mark{width:30px;height:32px;font-size:15px}
 .r10-household .next-expense-row>b{font-size:17px}
 .r10-household .next-expense-row strong{font-size:15px}
 .r10-month-bars{gap:5px}
 .r10-month-bars button>b{font-size:11px}
 .r10-chart-controls{gap:9px}
 .r10-quarter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .member-workspace .r10-div-month-bars{grid-template-columns:repeat(6,minmax(0,1fr));gap:13px 8px}
 .member-workspace .r10-div-month-bars button>span{height:86px}
 .member-workspace .r10-div-month-bars button i{max-height:80px}
 .member-workspace .r10-div-month-bars button>strong{font-size:14px}
 .member-workspace .r10-div-month-bars button>small{font-size:11px}
 .r10-div-event{align-items:start!important;gap:12px!important}
 .r10-div-event h3{font-size:16px!important}
 .r10-event-money>strong{font-size:20px!important}
 .r10-event-money{max-width:43%}
 .r10-event-money>small{font-size:12px}
 .r10-selected-total{font-size:24px}
 html body.desktop-v4.member-workspace .r10-dividend-table{min-width:0!important;width:100%!important;display:block}
 .r10-dividend-table thead{display:none}
 .r10-dividend-table tbody{display:grid!important;gap:13px}
 .r10-dividend-table tr{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid var(--mm-line);border-radius:10px;padding:13px;min-width:0}
 html body.desktop-v4.member-workspace .r10-dividend-table td{display:block!important;padding:0!important;border:0!important;width:auto!important;min-width:0!important;font-size:14px!important}
 .r10-dividend-table td:first-child,.r10-dividend-table td:nth-child(2),.r10-dividend-table td:last-child{grid-column:1/-1}
 html body.desktop-v4.member-workspace .r10-dividend-table td:first-child>button{font-size:17px!important}
 .r10-dividend-table td[data-label]:before{content:attr(data-label);font-size:12px;color:var(--mm-muted);display:block;margin-bottom:3px}
 .r10-month-chips{max-width:none}
 .r10-month-chips>button{font-size:12px;padding:5px 8px}
 .r10-dividend-table td:last-child>.actions{justify-content:flex-end}
 .member-workspace .r10-portfolio-detail{padding:17px!important}
 .r10-impact-row>div:first-child{gap:9px;flex-wrap:wrap}
 .r10-impact-row b{font-size:22px}
 .r10-portfolio-conclusion{grid-template-columns:minmax(0,1fr)}
 .r10-history-facts b{font-size:17px}
 .r10-history-facts>div{padding:10px}
}
/* Old calendar rules fixed the plot height; allow both the labels and mobile rows to fit. */
html body.desktop-v4.member-workspace .r10-div-month-bars{height:auto!important;min-height:0!important;align-items:stretch!important}
html body.desktop-v4.member-workspace .r10-div-month-bars>button{height:auto!important;min-height:0!important;justify-content:flex-start!important}
.member-workspace .r10-chart-controls>.compact-tabs{display:flex;height:auto;min-height:0;margin:0!important;gap:0}
.member-workspace .r10-chart-controls>.compact-tabs>button{margin:0;min-height:35px;line-height:1.5}
.member-workspace .r10-dividend-chart #r2-div-year{width:88px;min-width:0;min-height:35px;height:35px;padding:5px 10px;font-size:14px;margin:0}
/* Keep record entry reachable after replacing the old floating expense button. */
.member-workspace .r10-household .next-month{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:13px 0 16px;min-height:0}
.member-workspace .r10-household .next-month .next-add-expense{display:inline-flex!important;position:static!important;align-items:center;justify-content:center;margin-left:auto;white-space:nowrap}
.member-workspace .r10-household .next-section-tabs{display:inline-flex;align-items:center;gap:4px;padding:3px;background:var(--mm-soft);border:1px solid var(--mm-line);border-radius:9px;width:auto;min-height:0;margin:0}
.member-workspace .r10-household .next-section-tabs button{padding:9px 14px;min-height:38px;margin:0;font-size:14px;line-height:1.5;white-space:nowrap;border:0;border-radius:7px}
@media(max-width:700px){
 .member-workspace .r10-household .next-section-tabs{width:auto;align-self:flex-start}
 .member-workspace .r10-household .next-month{gap:6px;justify-content:flex-start}
 .member-workspace .r10-household .next-month>button:not(.next-add-expense){min-width:20px;width:20px;height:35px;padding:0}
 .member-workspace .r10-household .next-month select{width:76px;min-width:0;font-size:13px;padding:5px;height:35px;min-height:35px}
 .member-workspace .r10-household .next-month label{min-width:0;gap:5px;flex:0 1 auto}
 .member-workspace .r10-household .next-month .next-add-expense{font-size:13px;padding:8px 10px;min-height:36px;margin-left:auto}
}
@media(max-width:700px){
 .r10-household .r10-detail-table,.r10-household .r10-detail-table tbody{display:block;width:100%;min-width:0;max-width:100%}
 .r10-household .r10-detail-table thead{display:none}
 .r10-household .r10-detail-table tbody{display:grid;gap:11px}
 .r10-household .r10-detail-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;border:1px solid var(--mm-line);border-radius:9px;padding:13px;background:var(--mm-surface)}
 .r10-household .r10-detail-table tbody th{grid-column:1/-1;display:block;padding:0 0 9px;border:0;border-bottom:1px solid var(--mm-line);font-size:16px;text-align:left}
 .r10-household .r10-detail-table td{display:block;padding:0;border:0;white-space:normal;min-width:0;font-size:16px;text-align:left;line-height:1.7}
 .r10-household .r10-detail-table td:before{content:attr(data-label);display:block;font-size:12px;color:var(--mm-muted);margin-bottom:2px}
}

/* The registration table has six columns; do not reuse the old four-column widths. */
html body.desktop-v4.member-workspace .r10-dividend-table{table-layout:fixed!important;min-width:0!important;width:100%!important}
.r10-dividend-table .dividend-col-name{width:28%}
.r10-dividend-table .dividend-col-months{width:24%}
.r10-dividend-table .dividend-col-gross{width:15%}
.r10-dividend-table .dividend-col-net{width:13%}
.r10-dividend-table .dividend-col-account,.r10-dividend-table .dividend-col-actions{width:10%}
html body.desktop-v4.member-workspace .r10-dividend-table :is(th,td){width:auto!important;min-width:0!important;height:auto!important;padding:10px 12px!important;vertical-align:middle;line-height:1.5;text-align:left}
html body.desktop-v4.member-workspace .r10-dividend-table th{white-space:normal!important;overflow-wrap:normal;font-size:13px!important}
html body.desktop-v4.member-workspace .r10-dividend-table th small{display:block;font-size:12px!important;font-weight:400;line-height:1.5;margin:2px 0 0;color:var(--mm-muted)}
html body.desktop-v4.member-workspace .r10-dividend-table :is(th,td):is(:nth-child(3),:nth-child(4)){text-align:right!important}
html body.desktop-v4.member-workspace .r10-dividend-table :is(th,td):nth-child(5){text-align:center!important;padding-inline:6px!important}
html body.desktop-v4.member-workspace .r10-dividend-table :is(th,td):last-child{text-align:right!important;padding-inline:6px!important}
html body.desktop-v4.member-workspace .r10-dividend-table td small{display:block!important;margin:4px 0 0!important;white-space:normal;line-height:1.5}
html body.desktop-v4.member-workspace .r10-dividend-table td:first-child>button{padding:0!important;min-height:0!important;line-height:1.5}
html body.desktop-v4.member-workspace .r10-dividend-table .r10-month-chips{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;max-width:none!important;width:100%;margin:0;justify-content:flex-start}
html body.desktop-v4.member-workspace .r10-dividend-table .r10-month-chips>button{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;width:auto!important;height:32px!important;min-height:32px!important;min-width:32px;padding:4px 6px!important;margin:0!important;font-size:13px!important;line-height:1!important;white-space:nowrap;border-radius:6px}
html body.desktop-v4.member-workspace .r10-dividend-table .actions{display:flex;flex-direction:row!important;align-items:center;justify-content:flex-end;gap:6px;margin:0!important;flex-wrap:nowrap}
html body.desktop-v4.member-workspace .r10-dividend-table .actions>button{min-width:36px;min-height:36px!important;height:auto!important;padding:6px 3px!important;font-size:14px!important;white-space:nowrap;line-height:1.5}
html body.desktop-v4.member-workspace .r10-div-registrations>.live-panel-title{margin-bottom:12px;align-items:center}
html body.desktop-v4.member-workspace .r10-div-registrations>.live-panel-title h2{margin-bottom:0}
html body.desktop-v4.member-workspace .r10-dividend :is(.r10-div-reading,.r10-div-month-detail){margin:0 0 14px;min-height:0}
html body.desktop-v4.member-workspace .r10-dividend .r10-div-event{padding:12px 0!important}
@media(max-width:1050px){
 html body.desktop-v4.member-workspace .r10-dividend-table,html body.desktop-v4.member-workspace .r10-dividend-table tbody{display:block!important;min-width:0!important;width:100%!important}
 html body.desktop-v4.member-workspace .r10-dividend-table colgroup{display:none}
 html body.desktop-v4.member-workspace .r10-dividend-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody{display:grid!important;gap:12px}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody tr{position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;padding:13px;border:1px solid var(--mm-line);border-radius:10px;min-width:0;height:auto!important}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td{display:block!important;grid-area:auto;width:auto!important;min-width:0!important;padding:0!important;border:0!important;text-align:left!important;font-size:14px!important}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td:first-child{grid-column:1/-1;padding-right:86px!important}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td:first-child>button{font-size:17px!important}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td:nth-child(2){grid-column:1/-1;display:grid!important;grid-template-columns:48px minmax(0,1fr);gap:8px;align-items:center}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td:nth-child(3){grid-column:1;grid-row:3}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td:nth-child(4){grid-column:2;grid-row:3}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td:nth-child(5){position:absolute;right:13px;top:13px;padding:0!important;grid-column:auto}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td:nth-child(5):before{display:none}
 html body.desktop-v4.member-workspace .r10-dividend-table tbody td:last-child{grid-column:1/-1;grid-row:4;padding:0!important}
 html body.desktop-v4.member-workspace .r10-dividend-table td[data-label]:before{content:attr(data-label);display:block;font-size:12px;color:var(--mm-muted);line-height:1.5;margin:0 0 4px}
 html body.desktop-v4.member-workspace .r10-dividend-table td:nth-child(2):before{margin:0}
 html body.desktop-v4.member-workspace .r10-dividend-table .actions{padding-top:6px;border-top:1px solid var(--mm-line);gap:12px}
 html body.desktop-v4.member-workspace .r10-dividend-table .actions>button{min-width:48px;min-height:40px!important;padding:7px 5px!important}
}

@media(max-width:1050px){
 html body.desktop-v4.member-workspace .r10-dividend .r10-div-event{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 html body.desktop-v4.member-workspace .r10-dividend .r10-event-money{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;width:100%;max-width:none;text-align:left;padding:10px 12px;background:var(--mm-soft);border-radius:8px;min-width:0}
 html body.desktop-v4.member-workspace .r10-dividend .r10-event-money>span{grid-column:1;grid-row:1}
 html body.desktop-v4.member-workspace .r10-dividend .r10-event-money>strong{grid-column:1;grid-row:2;font-size:21px!important;line-height:1.5}
 html body.desktop-v4.member-workspace .r10-dividend .r10-event-money>.r10-event-net{grid-column:2;grid-row:1/3;display:flex;flex-direction:column;align-self:center;min-width:0}
 html body.desktop-v4.member-workspace .r10-dividend .r10-event-net>b{font-size:18px;font-variant-numeric:tabular-nums}
 html body.desktop-v4.member-workspace .r10-dividend .r10-event-money>:is(.r10-event-note,a){grid-column:1/-1;margin:2px 0 0;line-height:1.6}
}

/* Two main columns and four summary tiles share the same gutters and centerline. */
@media(min-width:901px){
 html body.desktop-v4.member-workspace .r2-my-top{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;
 }
 html body.desktop-v4.member-workspace .r6-member-side{display:flex;min-width:0;height:auto}
 html body.desktop-v4.member-workspace .r8-current-review{
  display:flex;flex-direction:column;flex:1;min-width:0;height:auto;
 }
 html body.desktop-v4.member-workspace .r8-review-grid{flex:1;grid-auto-rows:1fr;align-content:stretch}
 html body.desktop-v4.member-workspace .r2-analysis-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
}
html body.desktop-v4.member-workspace .r2-analysis-grid .r2-status{min-width:0;box-sizing:border-box;overflow-wrap:anywhere}

/* Preserve saved report groups and align labels with their values. */
html body.desktop-v4.member-workspace .member-doc-compact{margin-top:14px;min-width:0}
html body.desktop-v4.member-workspace .member-doc-compact .member-doc-block{margin:0;min-width:0}
html body.desktop-v4.member-workspace .member-doc-compact .member-doc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;min-width:0}
html body.desktop-v4.member-workspace .member-doc-compact .member-doc-group{grid-column:1/-1;padding:14px;border:1px solid var(--mm-line);border-radius:10px}
html body.desktop-v4.member-workspace .member-doc-compact h4{font-size:14px;line-height:1.65;margin:0 0 5px;color:var(--mm-muted)}
html body.desktop-v4.member-workspace .member-doc-compact .member-doc-group>h4{font-size:16px;color:var(--mm-ink);margin-bottom:10px}
html body.desktop-v4.member-workspace .member-doc-compact p{margin:0;font-size:16px;line-height:1.75;overflow-wrap:anywhere}
html body.desktop-v4.member-workspace .member-doc-compact .member-doc-wide{grid-column:1/-1}
html body.desktop-v4.member-workspace .member-doc-compact .member-doc-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}
html body.desktop-v4.member-workspace .member-doc-compact .member-doc-item{padding:12px;background:var(--mm-soft);border-radius:8px;min-width:0}
html body.desktop-v4.member-workspace .member-doc-compact .member-doc-item .member-doc-fields{gap:10px 14px}
@media(max-width:650px){
 html body.desktop-v4.member-workspace .member-doc-compact .member-doc-fields{grid-template-columns:minmax(0,1fr);gap:10px}
 html body.desktop-v4.member-workspace .member-doc-compact .member-doc-group{padding:12px}
 html body.desktop-v4.member-workspace .member-doc-compact .member-doc-item .member-doc-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Optional investor-style answers: no flashing, portfolio changes or default result. */
/* My page order: total -> impact/review -> history/holdings -> news/records. */
html body.desktop-v4.member-workspace .r2-my-top.r11-asset-summary{display:block;grid-template-columns:minmax(0,1fr);margin-bottom:16px}
html body.desktop-v4.member-workspace .r11-asset-summary>.r2-asset-hero{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:28px;padding:22px!important}
.r11-asset-summary>.r2-asset-hero>span,.r11-asset-summary>.r2-asset-hero>strong,.r11-asset-summary>.r2-asset-hero>p{grid-column:1}
html body.desktop-v4.member-workspace .r11-asset-summary .r2-hero-stats{grid-column:2;grid-row:1/4;display:grid;grid-template-columns:minmax(0,1fr);align-self:center;gap:10px;margin:0;padding:0;border:0}
html body.desktop-v4.member-workspace .r11-asset-summary .r2-hero-stats>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;min-width:0;font-size:13px;line-height:1.7}
html body.desktop-v4.member-workspace .r11-asset-summary .r2-hero-stats b{font-size:clamp(18px,1.6vw,24px);line-height:1.5;white-space:nowrap}
.r11-priority-analysis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px;align-items:stretch}
html body.desktop-v4.member-workspace .r11-priority-analysis>section{display:flex;flex-direction:column;min-width:0;margin:0!important;padding:20px!important;box-sizing:border-box}
html body.desktop-v4.member-workspace .r11-priority-analysis h2{font-size:20px;line-height:1.5;margin:4px 0 8px}
.r11-priority-impact>.live-panel-title{display:block;margin-bottom:8px}
.r11-priority-impact>.live-panel-title>a{font-size:12px;display:inline-block;margin-top:4px}
.r11-impact-basis{font-size:12px!important;line-height:1.7!important;color:var(--mm-muted);margin:0 0 12px!important}
.r11-priority-impact .r10-impact-row>div:first-child>span{min-width:0;flex:1;font-size:14px;overflow-wrap:anywhere}
.r11-priority-impact .r10-impact-row b{font-size:21px}
html body.desktop-v4.member-workspace .r11-priority-review>.r8-review-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:12px;flex:none;align-content:start}
.r11-priority-review>.r8-review-grid>article{padding:12px;min-height:0}
.r11-priority-review>.r8-review-grid>article>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.r11-priority-review>.r8-review-grid strong{font-size:23px;line-height:1.4;margin:0;white-space:nowrap}
.r11-priority-review>.r8-review-grid p{font-size:14px;line-height:1.7;margin:7px 0}
.r11-priority-review>.r8-review-grid small{font-size:12px;line-height:1.7}
html body.desktop-v4.member-workspace .r11-priority-review>.r8-review-grid>article>div{flex-direction:row;flex-wrap:wrap;gap:8px;align-items:baseline}
html body.desktop-v4.member-workspace .r11-priority-review>.r8-review-grid strong{font-size:23px!important;line-height:1.4;margin:0}
html body.desktop-v4.member-workspace .r11-priority-review>.r8-review-grid p{font-size:14px!important;line-height:1.7!important;margin:7px 0}
html body.desktop-v4.member-workspace .r11-priority-review>.r8-review-grid small{font-size:12px!important;line-height:1.65}
html body.desktop-v4.member-workspace .r11-priority-review .r8-review-heading h2{margin:5px 0 7px}
html body.desktop-v4.member-workspace .r11-priority-review .r8-review-heading>p{font-size:14px;line-height:1.7;margin:0 0 12px}
.r11-analysis-more{border-top:1px solid var(--mm-line);padding-top:14px;margin-top:16px;min-width:0}
.r11-priority-analysis>section>.r11-analysis-more{margin-top:auto}
.r11-analysis-more>summary{font-size:14px;line-height:1.7;font-weight:650;cursor:pointer;color:var(--mm-ink);padding:10px 0}
.r11-analysis-more>summary:focus-visible{outline:2px solid #387ca0;outline-offset:3px}
.r11-analysis-more[open]>.r8-review-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-top:12px}
.r11-analysis-more .r10-currency-reading{margin-top:16px}
.member-workspace .r11-asset-history{margin-bottom:18px;padding:22px!important;min-width:0}
.r11-asset-history>h2{font-size:22px;margin:0 0 14px}
.r11-asset-history .r8-asset-reading{font-size:13px;line-height:1.8;margin:16px 0 0;color:var(--mm-muted)}
.r11-data-warning{grid-column:1/-1;border-top:1px solid var(--mm-line);margin-top:12px;padding-top:12px}
.r11-data-warning p{font-size:13px;line-height:1.7;margin:0}
.r11-asset-records{margin-top:18px;min-width:0}
.r11-asset-records>.r11-analysis-more{border:1px solid var(--mm-line);border-radius:14px;padding:12px 20px;background:var(--mm-surface)}
.r11-asset-records>.r11-analysis-more>section{margin-top:16px!important}
.r11-asset-records .r2-analysis>h2{font-size:20px;margin:0 0 14px}
/* Keep asset composition visible after the two priority analysis panels. */
html body.desktop-v4.member-workspace .r11-asset-composition{
 display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;
 padding:0!important;margin:0 0 18px;min-width:0;align-items:start;
 border:0!important;background:transparent!important;box-shadow:none!important;
}
html[data-theme] body.desktop-v4.member-workspace #next-assets-composition{background:transparent!important}
html body.desktop-v4.member-workspace .r11-asset-composition.r12-composition-single{grid-template-columns:minmax(0,1fr)}
html body.desktop-v4.member-workspace .r11-asset-composition>section{margin:0!important;padding:18px!important;min-width:0;box-sizing:border-box}
.r12-composition-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.r12-composition-heading>h2,.r12-composition-dividends>h2{font-size:18px!important;line-height:1.5;margin:0!important}
.r12-composition-heading>a{display:inline-flex;align-items:center;font-size:13px;line-height:1.5;white-space:nowrap;flex-shrink:0;min-height:32px!important;padding:0!important;border-bottom:0!important}
.r12-composition-dividends{display:flex;flex-direction:column;gap:14px}
.r11-asset-composition.r2-composition .r2-donut-layout{
 display:grid!important;grid-template-columns:128px minmax(0,1fr);gap:18px;min-width:0;
}
.r11-asset-composition.r2-composition .r2-donut{width:128px!important;height:128px!important}
.r11-asset-composition.r2-composition .r2-donut>span{inset:20px;width:auto!important;height:auto!important}
.r11-asset-composition.r2-composition .r2-donut-layout p{display:grid!important;grid-template-columns:8px minmax(0,1fr) auto;gap:8px;font-size:13px!important;line-height:1.6}
.r12-composition-dividends #next-asset-dividends{min-width:0;flex:1;display:flex;flex-direction:column;margin:0!important;padding:0!important;border:0!important}
.r11-asset-composition #next-asset-dividends .next-dividend-pair{grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0;gap:16px;border-top:0;flex:1;align-content:start}
.r12-composition-dividends .next-dividend-pair>a{min-width:0;gap:6px}
.r12-composition-dividends .next-dividend-pair>a+a{border-left:1px solid var(--mm-line);padding-left:16px}
.r12-composition-dividends .next-dividend-pair span{font-size:12px!important;line-height:1.6}
.r12-composition-dividends .next-dividend-pair b{font-size:24px!important;line-height:1.4;overflow-wrap:anywhere}
.r12-composition-dividends .next-dividend-pair small{font-size:12px!important;line-height:1.6}
.r12-composition-dividends #next-asset-dividends>small{font-size:11px;line-height:1.65;margin-top:12px;padding-top:10px;border-top:1px solid var(--mm-line)}
/* History uses the available plot width, rather than shrinking a fixed viewBox. */
html body.desktop-v4.member-workspace .r11-asset-history .next-asset-chart{margin-top:0!important}
html body.desktop-v4.member-workspace .r11-asset-history .next-history-svg{width:100%;min-width:0}
html body.desktop-v4.member-workspace .r11-asset-history .next-history-svg svg{width:100%!important;height:auto!important;max-height:none!important;display:block}
html[data-theme] body.desktop-v4.member-workspace .r11-asset-history .compact-tabs button{background:transparent!important;color:var(--mm-muted)!important;border:0!important;font-size:13px;min-height:34px!important;height:auto!important;padding:8px 12px!important}
html[data-theme] body.desktop-v4.member-workspace .r11-asset-history .compact-tabs button[aria-pressed=true]{background:var(--mm-ink)!important;color:var(--mm-surface)!important}
.r11-asset-history .r6-chart-readout{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;margin:10px 0 6px}
.r11-asset-history .r6-chart-readout b{font-size:24px;line-height:1.4}
.r11-asset-history .r6-chart-readout small{margin-left:auto}
.r11-asset-history .r10-history-facts{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px}
.r11-asset-history .r10-history-facts>div{padding:14px;border:0!important}
.r11-asset-history .r10-history-facts>div+div{border-left:1px solid var(--mm-line)!important}
.r11-asset-history .r10-history-facts b{font-size:20px;line-height:1.5;margin:4px 0}
.r11-asset-history .r10-history-detail>.r10-chart-reading{font-size:13px;line-height:1.7;margin:12px 0 8px}
.r11-asset-history .next-asset-chart>details{font-size:12px;margin-top:8px}
.r10-sensitivity>h4{font-size:16px;line-height:1.6;margin:0 0 8px}
.r10-sensitivity .r12-sensitivity-cases{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.r12-sensitivity-cases>div{padding:12px;background:var(--mm-surface);border:1px solid var(--mm-line);border-radius:8px;min-width:0}
.r12-sensitivity-cases span{display:block;font-size:13px;line-height:1.6}
.r12-sensitivity-cases strong{display:block;font-size:23px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.r10-sensitivity>.r12-sensitivity-share{font-size:13px;color:var(--mm-muted)}
@media(max-width:900px){
 .r11-priority-analysis{grid-template-columns:minmax(0,1fr)}
 html body.desktop-v4.member-workspace .r11-asset-composition{grid-template-columns:minmax(0,1fr);gap:12px}
 .r11-asset-history .r10-history-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .r11-asset-history .r10-history-facts>div:nth-child(3){border-left:0!important}
 .r11-asset-history .r10-history-facts>div:nth-child(n+3){border-top:1px solid var(--mm-line)!important}
 html body.desktop-v4.member-workspace .r11-asset-summary>.r2-asset-hero{grid-template-columns:minmax(0,1fr)}
 html body.desktop-v4.member-workspace .r11-asset-summary .r2-hero-stats{grid-column:1;grid-row:auto;padding-top:12px;border-top:1px solid var(--mm-line);margin-top:8px}
}
@media(max-width:650px){
 html body.desktop-v4.member-workspace .r11-asset-summary .r2-hero-stats{grid-template-columns:minmax(0,1fr);gap:8px}
 html body.desktop-v4.member-workspace .r11-asset-summary .r2-hero-stats>div{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
 html body.desktop-v4.member-workspace .r11-priority-analysis>section{padding:17px!important}
 .r11-priority-impact .r10-impact-row b{font-size:19px}
 .member-workspace .r11-asset-history{padding:17px!important}
 html body.desktop-v4.member-workspace .r11-asset-composition>section{padding:16px!important}
 .r12-composition-heading>a{min-height:44px!important}
 .r11-asset-composition.r2-composition .r2-donut-layout{grid-template-columns:96px minmax(0,1fr);gap:14px}
 .r11-asset-composition.r2-composition .r2-donut{width:96px!important;height:96px!important}
 .r11-asset-composition.r2-composition .r2-donut>span{inset:15px}
 .r11-asset-history .r6-chart-readout b{font-size:22px}
 .r11-asset-history .r6-chart-readout small{width:100%;margin-left:0}
 .r11-asset-history .r10-history-facts>div{padding:10px}
 .r11-asset-history .r10-history-facts b{font-size:17px}
 .r10-sensitivity .r12-sensitivity-cases{grid-template-columns:minmax(0,1fr);gap:8px}
 .r12-sensitivity-cases>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
 .r12-sensitivity-cases strong{font-size:18px;white-space:nowrap}
 .r11-asset-records>.r11-analysis-more{padding:10px 16px}
}

.investor-style-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px;padding:22px 24px!important;border:1px solid #cddae7;background:#fff}
.investor-style-card.is-incomplete{border-left:4px solid #387ca0;background:#f5f9fc}
.investor-style-card .investor-style-copy{min-width:0;flex:1}
.investor-style-card h2{margin:5px 0 8px;font-size:clamp(18px,1.4vw,22px);line-height:1.45}
.investor-style-card p{margin:0 0 8px;font-size:15px;line-height:1.65}
.investor-style-card small{display:block;color:#53647d;font-size:12px;line-height:1.6}
.investor-style-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex-shrink:0}
.investor-style-actions button{min-height:44px;white-space:normal}
.investor-style-details{margin:8px 0 12px;font-size:14px}
.investor-style-details summary{cursor:pointer;font-weight:600}
.investor-style-details dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0}
.investor-style-details dt{font-size:12px;color:#53647d}.investor-style-details dd{margin:4px 0 0;line-height:1.6}
.investor-style-editor .member-field{margin:16px 0}.investor-style-editor select{width:100%;max-width:100%;font-size:16px}
.investor-style-editor [data-style-error]{color:#a22b32;font-size:14px}
html[data-theme="dark"] .investor-style-card{background:#182236;color:#edf3fa;border-color:#42536d}
html[data-theme="dark"] .investor-style-card small,html[data-theme="dark"] .investor-style-details dt{color:#b8c5d7}
@media(max-width:767px){.investor-style-card{align-items:stretch;flex-direction:column;gap:14px;padding:18px!important}.investor-style-actions{width:100%}.investor-style-actions .btn{flex:1}.investor-style-details dl{grid-template-columns:1fr;gap:10px}.investor-style-editor .actions{display:flex;flex-wrap:wrap;gap:10px}}

/* Keep saved quotes close to their names; avoid a full-width sparse table. */
html body.desktop-v4.member-workspace .member-watch-workspace{padding:24px;min-width:0}
.member-watch-workspace .live-panel-title{align-items:center;gap:16px;margin-bottom:16px}
.member-watch-workspace .live-panel-title h2{margin:4px 0 0}
.member-watch-workspace .watch-total{padding:7px 12px;border-radius:20px;background:var(--mm-soft);white-space:nowrap}
.member-watch-overview{display:flex;align-items:center;gap:24px;padding:14px 18px;background:var(--mm-soft);border-radius:12px}
.member-watch-overview>div{display:flex;align-items:baseline;gap:8px;white-space:nowrap}
.member-watch-overview>div>strong{font-size:24px;line-height:1.3;font-variant-numeric:tabular-nums}
.member-watch-overview>div>span{font-size:13px;color:var(--mm-muted)}
.member-watch-overview>p{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0 0 0 auto;font-size:14px}
.member-watch-overview>p>span{white-space:nowrap}
.member-watch-overview b{font-variant-numeric:tabular-nums;margin-left:4px}
html body.desktop-v4.member-workspace .member-watch-note{font-size:14px!important;margin:10px 0 20px;line-height:1.7!important;color:var(--mm-muted)}
.member-watch-controls{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}
.member-watch-controls>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;color:var(--mm-muted)}
.member-watch-controls .member-watch-search{flex:1;min-width:200px}
.member-watch-controls input,.member-watch-controls select{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid var(--mm-line);border-radius:8px;background:var(--mm-card,#fff);color:var(--mm-ink);font:inherit;font-size:16px}
.member-watch-controls select{min-width:135px}
.member-watch-controls .compact-tabs{display:flex;gap:3px;padding:4px;border-radius:10px;background:var(--mm-soft);margin:0}
html body.desktop-v4.member-workspace .member-watch-controls .compact-tabs button{font-size:14px;min-height:40px;padding:8px 12px;border:0;border-radius:7px;background:transparent;cursor:pointer;white-space:nowrap;color:var(--mm-muted)}
html body.desktop-v4.member-workspace .member-watch-controls .compact-tabs button[aria-pressed=true]{background:var(--mm-ink);color:var(--mm-bg,#fff)}
html body.desktop-v4.member-workspace .member-watch-result{font-size:13px!important;color:var(--mm-muted);margin:16px 0 10px;line-height:1.5!important}
.member-watch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.member-watch-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:space-between;gap:14px 20px;padding:18px 20px;border:1px solid var(--mm-line);border-radius:12px;min-width:0;background:var(--mm-card,#fff)}
.member-watch-name{border:0;background:transparent;padding:0;min-width:0;text-align:left;cursor:pointer;color:var(--mm-ink);font:inherit;align-self:start}
.member-watch-name>strong{display:block;font-size:16px;line-height:1.55;overflow-wrap:anywhere}
.member-watch-name>small{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:12px;color:var(--mm-muted);line-height:1.6;margin-top:7px}
.member-watch-name small>b{font-weight:600}.member-watch-name small>span{padding:1px 7px;border-radius:4px;background:var(--mm-soft)}
.member-watch-quote{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-variant-numeric:tabular-nums;white-space:nowrap}
.member-watch-quote>small{font-size:11px;color:var(--mm-muted);line-height:1.5}
.member-watch-quote>strong{font-size:20px;line-height:1.35;color:var(--mm-ink)}
.member-watch-quote>strong>span{font-size:12px;font-weight:500;color:var(--mm-muted)}
.member-watch-quote>b{font-size:14px;line-height:1.5}
.member-watch-card-foot{grid-column:1/-1;display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;border-top:1px solid var(--mm-line);padding-top:10px;min-width:0}
.member-watch-card-foot>span{font-size:12px;color:var(--mm-muted);margin-right:auto}
.member-watch-card-foot time{margin-left:5px;font-variant-numeric:tabular-nums}
html body.desktop-v4.member-workspace .member-watch-card-foot button{border:0;background:transparent;font-family:inherit;font-size:13px;line-height:1.5;min-height:36px;padding:6px 4px;cursor:pointer;white-space:nowrap;color:var(--mm-link)}
html body.desktop-v4.member-workspace .member-watch-card-foot button[data-unwatch]{font-size:12px;color:var(--mm-muted)}
.member-watch-card button:focus-visible,.member-watch-controls :is(input,button,select):focus-visible{outline:2px solid #3976ad;outline-offset:3px}
.member-watch-card button:disabled{opacity:.5;cursor:wait}
.member-watch-card .up,.member-watch-overview .up{color:#bc2440}.member-watch-card .down,.member-watch-overview .down{color:#225eb1}
.member-watch-empty{grid-column:1/-1;padding:24px 16px;border-radius:10px;background:var(--mm-soft);color:var(--mm-muted);margin:0}
.member-watch-workspace>.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
html[data-theme=dark] .member-watch-card,html[data-theme=dark] .member-watch-controls :is(input,select){background:#182236}
html[data-theme=dark] .member-watch-controls .compact-tabs button[aria-pressed=true]{background:#dbe5f1!important;color:#182236!important}
@media(max-width:1000px){.member-watch-overview{flex-wrap:wrap;gap:12px 24px}.member-watch-overview>p{flex-basis:100%;margin:0}.member-watch-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
 html body.desktop-v4.member-workspace .member-watch-workspace{padding:16px}
 .member-watch-overview{padding:12px;gap:10px 20px}.member-watch-overview>div>strong{font-size:22px}.member-watch-overview>p{font-size:13px;gap:7px 14px}
 .member-watch-controls{gap:10px;display:grid;grid-template-columns:minmax(0,1fr) auto}
 .member-watch-controls .member-watch-search{min-width:0;grid-column:1/-1}
 html body.desktop-v4.member-workspace .member-watch-controls .compact-tabs button{font-size:12px;padding:8px;min-height:44px}
 .member-watch-controls select{min-width:0;font-size:14px;padding:10px 8px}
 .member-watch-controls .compact-tabs{grid-column:1/-1;justify-content:space-between}
 .member-watch-controls>label:last-child{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}
 .member-watch-controls>label:last-child select{width:140px}
 .member-watch-card{padding:16px;gap:12px 14px}.member-watch-name>strong{font-size:15px}.member-watch-quote>strong{font-size:18px}
 .member-watch-card-foot>span{flex-basis:100%;margin:0}.member-watch-card-foot .member-watch-open{margin-right:auto}
}

/* Community: a readable conversation feed shared with the mobile apps. */
.page-community .cf-layout{max-width:1240px;display:grid;grid-template-columns:178px minmax(0,680px) minmax(210px,1fr);gap:24px;align-items:start;padding-top:24px;padding-bottom:48px}
.cf-layout *{box-sizing:border-box;min-width:0}.cf-layout button,.cf-thread button{font:inherit;cursor:pointer}.cf-layout button:disabled,.cf-thread button:disabled{cursor:wait;opacity:.55}.cf-layout svg,.cf-thread svg{width:21px;height:21px;flex:none}.cf-layout button:focus-visible,.cf-thread button:focus-visible{outline:3px solid #86a9d1;outline-offset:3px}
.cf-left,.cf-right{position:sticky;top:132px}.cf-brand{font-size:11px;font-weight:800;letter-spacing:.13em;color:#587183;margin:12px 0 24px}.cf-brand span{display:block;letter-spacing:0;font-size:13px;line-height:1.7;font-weight:500;margin-top:8px;color:#65768a}.cf-left nav{display:grid;gap:8px}.cf-left nav button{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px;border:0;background:transparent;border-radius:12px;text-align:left;font-size:15px;color:#506278}.cf-left nav button[aria-pressed=true]{background:#e6eef5;color:#14273e;font-weight:800}.cf-left .cf-write{width:100%;display:flex;justify-content:center;align-items:center;gap:8px;margin:24px 0 16px;border-radius:24px;min-height:46px}.cf-left>a{font-size:12px;color:#66788d;text-decoration:none}
.cf-center{background:#fff;border:1px solid #dbe3ec;border-radius:18px;overflow:hidden}.cf-header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 16px;border-bottom:1px solid #edf0f4}.cf-header h1{font-size:24px;line-height:1.35;margin:2px 0 0}.cf-header .jp-label{font-size:11px}.cf-icon-button{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;border-radius:50%;color:#62758b}.cf-icon-button:hover{background:#edf2f7}
.cf-compose{padding:20px 22px 16px;border-bottom:7px solid #f1f4f8}.cf-compose-top{display:flex;align-items:flex-start;gap:12px}.cf-compose-top>label{flex:1}.cf-avatar{width:36px;height:36px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:750;background:#e7eef4;color:#3f617c}.cf-compose textarea{width:100%;min-height:84px;max-height:300px;padding:5px 0;border:0;background:transparent;resize:vertical;font:inherit;font-size:16px;line-height:1.7;color:#20344a;box-shadow:none;outline:none}.cf-compose textarea::placeholder{color:#8897a5}.cf-compose-options{margin:8px 0 12px 48px;font-size:12px;color:#64748b}.cf-compose-options summary{cursor:pointer;line-height:1.7}.cf-compose-options summary span{font-size:11px;margin-left:5px}.cf-compose-options>label{display:grid;gap:5px;font-size:12px;margin-top:12px}.cf-compose-options input:not([type=checkbox]){width:100%;padding:9px 11px;border:1px solid #d9e2eb;border-radius:8px;background:#fff;font:inherit;color:#24384d}.cf-tag-picks{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}.cf-tag-picks label{cursor:pointer;position:relative}.cf-tag-picks input{position:absolute;opacity:0;width:1px;height:1px}.cf-tag-picks span{display:block;border:1px solid #dce5ed;border-radius:18px;padding:6px 10px;background:#f7f9fb;color:#62768a}.cf-tag-picks input:checked+span{color:#245e8b;background:#e9f3fa;border-color:#7babc9}.cf-tag-picks input:focus-visible+span{outline:2px solid #86a9d1}.cf-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-left:48px}.cf-compose-bottom small{font-size:12px;color:#758598}.cf-compose .btn{min-height:40px;padding:9px 19px;border-radius:24px;font-size:14px}.cf-form-error:not(:empty){margin:10px 0 0 48px;font-size:13px;line-height:1.6;color:#a1382a}
.cf-layout nav{position:static;inset:auto;transform:none;width:auto;box-shadow:none;z-index:auto}.cf-mobile-tabs{display:flex;gap:0;padding:0;align-items:stretch;flex-direction:row;flex-wrap:nowrap;border-bottom:1px solid #e8edf2;min-height:48px}.cf-mobile-tabs button{flex:1;min-height:48px;padding:10px 5px;border:0;background:#fff;color:#64748b;position:relative;font-size:14px}.cf-mobile-tabs button[aria-pressed=true]{color:#1c344d;font-weight:800}.cf-mobile-tabs button[aria-pressed=true]:after{content:'';position:absolute;bottom:0;left:25%;right:25%;height:3px;background:#cf6a30;border-radius:3px}.cf-search{display:flex;gap:12px;align-items:center;padding:12px 22px;border-bottom:1px solid #edf0f4}.cf-search label{display:flex;align-items:center;gap:8px;flex:1;background:#f3f6f9;padding:8px 12px;border-radius:22px;color:#8a99a8}.cf-search svg{width:16px;height:16px}.cf-search input{width:100%;font:inherit;font-size:13px;background:transparent;border:0;box-shadow:none;outline:none;padding:0;color:#32495e}.cf-search>span{font-size:12px;color:#7b8b9c;white-space:nowrap}.cf-update-banner{display:block;width:100%;background:#eaf3fa;color:#2a648b;border:0;border-bottom:1px solid #d6e5f0;padding:13px;font-size:13px}.cf-update-banner[hidden]{display:none}.cf-feedback{font-size:13px;line-height:1.6;padding:0 22px;color:#477089}.cf-feedback:not(:empty){padding:12px 22px;background:#f6f9fc}.cf-feedback[role=alert]{color:#a13c2e}
.cf-post{padding:20px 22px 17px;border-bottom:1px solid #e8edf2;transition:background .15s}.cf-post:hover{background:#fcfdfe}.cf-post-heading{display:flex;gap:11px;align-items:center}.cf-post-heading>div{display:flex;gap:8px;align-items:baseline;flex:1;flex-wrap:wrap}.cf-post-heading strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}.cf-post-heading time{font-size:12px;color:#8995a3}.cf-post-content{margin-left:47px}.cf-open{border:0;background:transparent;padding:7px 0 0;text-align:left;display:block;width:100%;color:inherit}.cf-open h2,.cf-full-body+h2{font-size:16px;line-height:1.6;margin:0 0 7px;font-weight:700;overflow-wrap:anywhere}.cf-open p{font-size:15px;line-height:1.8;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}.cf-read-more{display:block;margin-top:8px;color:#406e92;font-size:12px}.cf-post-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;align-items:center}.cf-post-tags button{border:0;background:transparent;padding:2px 0;color:#477596;font-size:12px}.cf-ticker{font-size:11px;background:#f0f4f7;padding:3px 8px;border-radius:5px;color:#58708a}.cf-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:12px;max-width:430px}.cf-actions button{display:flex;align-items:center;justify-content:flex-start;gap:7px;border:0;background:transparent;color:#7a8b9b;min-width:44px;min-height:40px;padding:7px;border-radius:22px;font-size:12px}.cf-actions button:hover{background:#edf4fa;color:#386b91}.cf-actions button[aria-pressed=true]{color:#a94c4c;background:#fbf0f0}.cf-actions button[data-cf-action=save][aria-pressed=true]{color:#346f98;background:#eaf3fa}.cf-actions svg{width:19px;height:19px}.cf-action-label{font-size:11px}.cf-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:12px;border-radius:12px;overflow:hidden}.cf-images:has(img:only-child){grid-template-columns:1fr}.cf-images img{width:100%;max-height:270px;object-fit:cover;display:block;background:#f3f6f9}.cf-more{display:block;width:100%;min-height:48px;padding:14px;border:0;background:#f8fafc;color:#4b6e8a;text-align:center;font-size:14px}.cf-more[hidden]{display:none}.cf-empty{padding:44px 26px;text-align:center}.cf-empty h2{font-size:18px;line-height:1.5}.cf-empty p{font-size:14px;line-height:1.8;color:#758599}
.cf-right section{padding:20px;background:#fff;border:1px solid #e1e7ed;border-radius:16px;margin-bottom:16px}.cf-right h2{font-size:17px;margin:4px 0 14px}.cf-right p{font-size:13px;color:#758499;line-height:1.85;margin:14px 0 0}.cf-topics{display:flex;flex-wrap:wrap;gap:7px}.cf-topics button{padding:7px 11px;border-radius:18px;border:1px solid #e0e7ee;background:#f8fafc;color:#596f83;font-size:12px}.cf-topics button[aria-pressed=true]{background:#e7f0f7;color:#2e638a;border-color:#adcadf}.cf-right .cf-rules{background:transparent;border:0;padding:4px 4px 18px}.cf-rules h2{font-size:13px;color:#536a80;margin-bottom:8px}.cf-rules p{font-size:11px;margin-top:8px}.cf-rules a,.cf-related a{font-size:12px;color:#5c748b;text-decoration:none}.cf-related{display:grid;gap:12px}.cf-mobile-topics{display:none}
.cf-thread{max-width:720px;margin:auto;color:#24384e}.cf-thread>header{padding:6px 4px 16px;border-bottom:1px solid #e8edf2}.cf-thread>header h1{margin:4px 0 0;font-size:22px}.cf-thread .cf-post{padding:22px 4px 16px}.cf-thread .cf-post-content{margin-left:47px}.cf-thread .cf-post-content>h2{font-size:19px;line-height:1.6;margin:12px 0}.cf-full-body{font-size:15px;line-height:1.85;overflow-wrap:anywhere}.cf-full-body p{margin:14px 0}.cf-full-body a{color:#3a7197}.cf-reply{display:flex;gap:12px;padding:18px 4px;border-bottom:1px solid #edf0f4}.cf-reply>div{flex:1}.cf-reply header{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap}.cf-reply strong{font-size:13px}.cf-reply time{font-size:11px;color:#8494a4}.cf-reply p{font-size:14px;line-height:1.8;margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.cf-empty-replies{padding:24px 4px;font-size:13px;color:#7d8e9f}.cf-reply-form{padding:20px 4px}.cf-reply-form label,.cf-report label{display:grid;gap:8px;font-size:13px;color:#62788c}.cf-reply-form textarea,.cf-report textarea,.cf-report select{font:inherit;width:100%;padding:12px;border:1px solid #d7e1eb;background:#fff;border-radius:10px;color:#24394f;line-height:1.7}.cf-reply-form .btn{margin-top:10px;border-radius:22px}.cf-thread [role=alert]{color:#a13c2e;font-size:13px}.cf-report{border-top:1px solid #e7edf3;margin-top:8px;padding:16px 4px;font-size:12px;color:#7c8b9b}.cf-report summary{cursor:pointer}.cf-report form{display:grid;gap:12px;margin-top:16px}.cf-edit{max-width:680px;margin:auto}.cf-edit .cf-compose{border:0;padding:16px 0}
@media(max-width:1120px){.page-community .cf-layout{grid-template-columns:minmax(0,720px) minmax(210px,1fr);gap:20px;max-width:1020px}.cf-left{display:none}}
@media(max-width:900px){.page-community .cf-layout{display:block;max-width:730px;padding-top:16px}.cf-right{display:none}.cf-mobile-topics{display:flex;gap:6px;overflow-x:auto;padding:10px 16px;border-bottom:1px solid #edf0f4}.cf-mobile-topics button{flex:none;border:1px solid #dce5ed;background:#fff;border-radius:18px;padding:6px 10px;color:#637c90;font-size:12px}.cf-mobile-topics button[aria-pressed=true]{background:#e9f2f8;color:#32698e;border-color:#adc9dc}}
@media(max-width:600px){.page-community .cf-layout{padding:0 0 20px;width:100%;max-width:none}.cf-center{border-radius:0;border-left:0;border-right:0}.cf-header{padding:16px}.cf-header h1{font-size:21px}.cf-compose{padding:16px;border-bottom-width:6px}.cf-compose-options,.cf-compose-bottom{margin-left:0}.cf-compose-options{margin-top:6px}.cf-compose textarea{font-size:16px;min-height:72px}.cf-compose-top{gap:10px}.cf-avatar{width:32px;height:32px;font-size:13px}.cf-compose .cf-avatar{display:none}.cf-compose-bottom small{font-size:11px}.cf-search{padding:12px 16px}.cf-post{padding:17px 16px 13px}.cf-post-content,.cf-thread .cf-post-content{margin-left:42px}.cf-post-heading{gap:10px}.cf-post-heading>div{gap:5px}.cf-open p{font-size:14px;line-height:1.85}.cf-open h2{font-size:15px}.cf-actions{gap:1px;margin-left:-5px}.cf-actions button{gap:5px;padding:7px 5px}.cf-action-label{display:none}.cf-feedback{padding:0 16px}.cf-feedback:not(:empty){padding:12px 16px}.cf-thread .cf-post-content{margin-left:0}.cf-thread .cf-post-heading{margin-bottom:12px}.cf-thread>header h1{font-size:20px}.cf-images img{max-height:220px}.cf-form-error:not(:empty){margin-left:0}}
.cf-name-row{display:flex;align-items:center;gap:12px;margin-bottom:14px}.cf-name-row small{font-size:11px;color:#8a97a5;line-height:1.5}.cf-nickname{display:flex;align-items:center;gap:9px;font-size:11px;color:#718196;min-width:0}.cf-nickname input{width:150px;max-width:100%;font:inherit;font-size:13px;border:1px solid #dfe6ed;border-radius:8px;padding:8px 10px;color:#30485d;background:#fff}.cf-photo-tools{display:flex;align-items:center;gap:10px;margin:10px 0 14px 48px;flex-wrap:wrap}.cf-photo-add{cursor:pointer;color:#4d7a98;font-size:12px;position:relative;border-radius:16px;padding:7px 10px;background:#edf4f9;overflow:hidden}.cf-photo-add:focus-within{outline:2px solid #668fab}.cf-photo-add input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.cf-photo-tools>span{font-size:10px;color:#8a97a5}.cf-photo-previews{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 12px 48px}.cf-photo-previews:empty{display:none}.cf-photo-previews>div{position:relative}.cf-photo-previews img{width:90px;height:76px;object-fit:cover;border-radius:8px}.cf-photo-previews button{position:absolute;top:3px;right:3px;background:#fff;color:#263c52;border:1px solid #dfe5ed;border-radius:50%;width:26px;height:26px;padding:0;font-size:18px}.cf-reply-form>.cf-nickname{margin-bottom:14px;display:flex}.cf-layout button:focus-visible,.cf-layout a:focus-visible{outline:2px solid #5a86a8;outline-offset:3px}
@media(max-width:600px){.cf-name-row{align-items:flex-start;flex-direction:column;gap:6px}.cf-nickname input{font-size:16px;width:170px}.cf-photo-tools,.cf-photo-previews{margin-left:0}.cf-name-row small{font-size:10px}.cf-compose-options input:not([type=checkbox]),.cf-search input{font-size:16px}}

/* Keep writing controls compact so the conversation is visible immediately. */
.cf-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}.cf-name-row,.cf-compose-top,.cf-compose-options,.cf-photo-previews,.cf-form-error{grid-column:1/-1}.cf-name-row{margin-bottom:8px}.cf-compose textarea{min-height:64px}.cf-compose-options{margin-top:4px;margin-bottom:8px}.cf-photo-tools{grid-column:1;grid-row:4;margin-top:4px;margin-bottom:0;margin-right:0}.cf-compose-bottom{grid-column:2;grid-row:4;margin:0;align-self:center}.cf-compose-bottom small{display:none}.cf-photo-previews{margin-top:10px;margin-bottom:0}.cf-photo-add{min-height:36px;display:flex;align-items:center}.cf-form-error:empty{display:none}
@media(max-width:600px){.cf-compose{column-gap:8px}.cf-compose textarea{min-height:64px}.cf-photo-tools{gap:4px}.cf-photo-tools>span{font-size:9px;line-height:1.6}.cf-compose .btn{padding:9px 15px}.cf-name-row{gap:4px}}

.page-community #modal>.close{z-index:5;width:40px;min-height:40px;right:12px;top:12px;border:1px solid #dfe6ed;border-radius:50%;background:#f4f7fa;color:#263e54;font-size:22px;line-height:1;display:flex;align-items:center;justify-content:center}.cf-thread>header{display:block;padding-right:48px}.cf-thread>header h1{display:block;text-align:left}
/* Site-wide sticky headers must not cover conversation controls or replies. */
.cf-header,.cf-thread header{position:static;z-index:auto;top:auto}
.line-auth-button{background:#06c755!important;border-color:#06c755!important;color:#062d17!important;text-decoration:none!important}
.line-auth-button:focus-visible{outline:3px solid #173b2a;outline-offset:3px}

/* Actionable selection: one price currency, explicit repairs, then the 3D map. */
html[data-theme] body.desktop-v4 #r5-picker .optimizer-page-lead{font-size:15px!important;line-height:1.7!important;max-width:670px}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-layout{grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:20px}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-editor>div{padding-top:15px}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-layout h2{font-size:18px;line-height:1.5;margin:0 0 8px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-layout h2>b{font-size:12px;display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:var(--mm-soft);color:var(--mm-ink);flex-shrink:0}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-layout p{font-size:13px!important;line-height:1.7!important;color:var(--mm-muted);margin:6px 0 12px}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-layout .r9-currency-explainer{font-size:14px!important;color:var(--mm-ink)}
.r9-currency-field{display:flex;align-items:center;gap:10px;background:var(--mm-soft);border:1px solid var(--mm-line);padding:10px 12px;border-radius:9px}
.r9-currency-field label{font-size:14px;font-weight:750;color:var(--mm-ink)}
.r9-currency-field select{min-height:42px;min-width:140px;border:1px solid var(--mm-line);border-radius:7px;padding:8px;background:var(--mm-surface);color:var(--mm-ink);font-size:15px;flex:1}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-controls input{font-size:14px;min-height:43px}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-controls select{font-size:13px;min-height:43px;max-width:145px}
.r9-candidate-count{font-size:12px;line-height:1.7;margin:5px 0 8px;color:var(--mm-muted)}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-results button{min-height:91px;padding:11px;border-color:var(--mm-line);background:var(--mm-surface);color:var(--mm-ink)}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-results strong{font-size:14px;line-height:1.6}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-results small{font-size:12px;line-height:1.6;color:var(--mm-muted)}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-results b{font-size:12px;line-height:1.6;white-space:nowrap;color:var(--mm-link);flex-shrink:0}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-results button:disabled{opacity:1;color:var(--mm-muted);background:var(--mm-soft);cursor:default}
html[data-theme] body.desktop-v4 #r5-picker .r5-product-results button:disabled b{color:var(--mm-muted)}
.r9-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
html[data-theme] body.desktop-v4 #r5-picker .r9-selection-heading h2{margin:0}
.r9-selection-heading>button{font-size:12px;min-height:34px;white-space:nowrap}
html[data-theme] body.desktop-v4 #r5-picker .r5-picked>div{padding:11px 12px;border-color:var(--mm-line);min-width:0}
html[data-theme] body.desktop-v4 #r5-picker .r5-picked strong{font-size:14px;line-height:1.55}
html[data-theme] body.desktop-v4 #r5-picker .r5-picked small{font-size:12px;line-height:1.7;color:var(--mm-muted)}
html[data-theme] body.desktop-v4 #r5-picker .r5-picked button{width:auto;padding:7px 10px;min-height:36px;font-size:13px;border:1px solid var(--mm-line)}
.r9-currency-tag{font-size:11px;font-weight:700;background:var(--mm-surface);border:1px solid var(--mm-line);border-radius:4px;padding:2px 4px;display:inline-block;margin:4px 3px 2px 0;color:var(--mm-ink)}
html[data-theme] body.desktop-v4 #r5-picker .r5-picked .r9-currency-conflict{border:2px solid #c96a30;background:var(--mm-soft)}
.r9-currency-conflict em{font-size:12px;font-style:normal;display:block;color:var(--mm-link);font-weight:750;margin:5px 0 0}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-status{background:var(--mm-soft);border:1px solid var(--mm-line);padding:12px;border-radius:9px;color:var(--mm-ink);margin:10px 0}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-status.is-warning{border:2px solid #c96a30;background:var(--mm-soft)}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-status>strong{font-size:14px;line-height:1.6;display:block;color:var(--mm-ink)}
html[data-theme] body.desktop-v4 #r5-picker .r5-picker-status>p{font-size:13px!important;color:var(--mm-ink);margin:6px 0 0}
#r9-currency-repair{display:grid;gap:8px}
.r9-repair-option{border:1px solid var(--mm-line);padding:9px 10px;border-radius:8px;display:flex;align-items:center;gap:12px;background:var(--mm-surface)}
html[data-theme] body.desktop-v4 #r5-picker .r9-repair-option button{font-size:14px;min-height:40px;padding:8px 10px;white-space:nowrap;color:var(--mm-link)}
.r9-repair-option small{font-size:12px;line-height:1.6;color:var(--mm-muted)}
html[data-theme] body.desktop-v4 #r5-picker .r9-filter-warning{padding:11px;margin:8px 0;border:1px solid #c96a30;border-radius:8px;background:var(--mm-soft)}
html[data-theme] body.desktop-v4 #r5-picker .r9-filter-warning button{font-size:13px;min-height:40px;white-space:normal}
html[data-theme] body.desktop-v4 #r5-picker .r9-picker-empty{display:block;border-style:dashed;background:var(--mm-surface);padding:16px}
.r9-picker-empty span{font-size:13px;color:var(--mm-muted);display:block;margin-top:5px;line-height:1.7}
html[data-theme] body.desktop-v4 #r5-picker .r9-selection-run{display:flex;justify-content:center;align-items:center;width:100%;box-sizing:border-box;min-height:46px;font-size:15px;font-weight:800;margin-top:12px;border:1px solid var(--mm-line);background:var(--mm-soft);color:var(--mm-muted);text-decoration:none;line-height:1.5;white-space:normal;text-align:center}
html[data-theme] body.desktop-v4 #r5-picker .r9-selection-run.is-ready{background:#e96d1b!important;color:#20160f!important;border-color:#bd5714!important}
html[data-theme] body.desktop-v4 #r5-picker .r9-selection-note{font-size:12px!important;line-height:1.65!important}
.r9-selection-updated{border:1px solid var(--mm-line);background:var(--mm-surface);border-radius:10px;padding:15px 18px;margin-top:14px;font-size:14px;color:var(--mm-ink)}
.r9-selection-updated p{font-size:13px;color:var(--mm-muted);line-height:1.7;margin:6px 0 0}
@media(max-width:760px){
 html[data-theme] body.desktop-v4 #r5-picker .r5-picker-layout{display:flex;flex-direction:column;gap:20px}
 .r9-picker-candidates,.r9-picker-selection{width:100%;box-sizing:border-box;min-width:0}
 .r9-picker-selection{order:-1}
 html[data-theme] body.desktop-v4 #r5-picker .r5-product-results{grid-template-columns:minmax(0,1fr)}
 html[data-theme] body.desktop-v4 #r5-picker .r5-product-results button{min-height:80px}
 .r9-currency-field{padding:9px}
 .r9-currency-field label{font-size:13px}
 .r9-repair-option{flex-direction:column;align-items:stretch;gap:5px}
 .r9-repair-option small{font-size:12px}
 html[data-theme] body.desktop-v4 #r5-picker .r9-repair-option button{white-space:normal;font-size:15px}
 html[data-theme] body.desktop-v4 #r5-picker .r9-selection-heading h2{font-size:17px}
 .r9-selection-heading{gap:5px}
 .r9-selection-heading>button{font-size:11px}
 html[data-theme] body.desktop-v4 #r5-picker .r9-opt-route>span{gap:5px;font-size:12px}
}
html[data-theme] body.desktop-v4 #r5-picker #r5-run[aria-disabled=true]{background:var(--mm-soft)!important;color:var(--mm-muted)!important;border-color:var(--mm-line)!important}

/* Compare headers and all body rows use the same column edges. */
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table{table-layout:fixed;width:100%;min-width:480px;border-collapse:collapse}
.comparison-col-product{width:23%}.comparison-col-number{width:16%}.comparison-col-basis{width:29%}
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table :is(th,td){box-sizing:border-box;padding:12px 10px!important;vertical-align:middle;line-height:1.6;overflow-wrap:normal;word-break:normal}
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table th{font-size:13px!important;line-height:1.45;font-weight:750;white-space:nowrap}
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table th>span{display:block;white-space:nowrap}
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table :is(th,td):first-child{padding-left:12px!important;text-align:left}
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table :is(th,td):nth-child(2),
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table :is(th,td):nth-child(3),
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table :is(th,td):nth-child(4){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table td.comparison-value{font-size:15px!important;letter-spacing:0}
html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table :is(th,td):last-child{text-align:left;padding-left:14px!important}
html[data-theme] body.desktop-v4 #real-comparison .comparison-product{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-variant-numeric:tabular-nums}
html[data-theme] body.desktop-v4 #real-comparison .comparison-product b{font-size:14px;font-weight:700;white-space:nowrap;line-height:1.6}
html[data-theme] body.desktop-v4 #real-comparison .comparison-product .legend-dot{width:8px;height:8px;margin:0;flex-shrink:0;border-radius:50%}
html[data-theme] body.desktop-v4 #real-comparison .comparison-price-basis{font-size:13px!important;line-height:1.6;white-space:normal}
html[data-theme] body.desktop-v4 #real-comparison .comparison-price-basis>span{display:block;white-space:nowrap}
html[data-theme] body.desktop-v4 #real-comparison .comparison-price-basis>small{display:block;font-size:11px;color:var(--mm-muted);white-space:nowrap;line-height:1.6;margin-top:2px}
html body.desktop-v4 #real-comparison .live-table-scroll{overflow-x:auto;overflow-y:visible}
@media(max-width:760px){
 html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table{min-width:520px}
 html[data-theme] body.desktop-v4 #real-comparison .comparison-metrics-table :is(th,td){padding:11px 10px!important}
}

/* One fund workspace: overview -> selection -> comparison -> 3D. */
html body.desktop-v4 .fund-flow-workspace{display:block!important;padding-top:0}
html body.desktop-v4 .fund-flow-workspace>[data-fund-flow-pane]{position:static!important;width:100%;margin:0 0 18px!important;box-sizing:border-box;min-width:0}
html body.desktop-v4 .fund-flow-workspace>[data-fund-flow-pane][hidden]{display:none!important}
html body.desktop-v4 .fund-flow-workspace #real-dock{position:static;transform:none;left:auto;bottom:auto;width:100%;max-width:none;box-sizing:border-box;margin:0 0 14px;padding:12px 16px;background:var(--mm-surface);border:1px solid var(--mm-line);border-radius:12px;box-shadow:none;display:flex;align-items:center;justify-content:space-between;gap:16px}
html body.desktop-v4 .fund-flow-workspace #real-dock[hidden]{display:none!important}
html body.desktop-v4 .fund-flow-workspace #real-dock>div{display:flex;align-items:center;gap:12px;min-width:0}
html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips{display:flex;gap:6px;max-width:none;flex-wrap:wrap;overflow:visible}
html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips button{max-width:190px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:36px;font-size:12px;color:var(--mm-ink);background:var(--mm-soft);border:1px solid var(--mm-line)}
html body.desktop-v4 .fund-flow-workspace #real-dock .btn{min-height:40px;white-space:nowrap;font-size:13px}
html body.desktop-v4 .fund-flow-workspace #real-dock small{font-size:12px}
html body.desktop-v4 .fund-flow-workspace #real-compare{padding-bottom:22px!important}
html body.desktop-v4 .fund-flow-workspace .fund-result-tabs{display:none!important}
html body.desktop-v4 .fund-flow-workspace .fund-live-table .live-name strong{font-size:15px}
html body.desktop-v4 .fund-flow-workspace .fund-live-table .live-name small{font-size:12px}
html body.desktop-v4 .fund-flow-workspace .fund-live-table th:nth-child(2){width:30%}
html body.desktop-v4 .fund-flow-workspace .fund-live-table td{padding-block:12px}
html body.desktop-v4 .fund-flow-workspace .fund-results-toolbar{margin:14px 0}
html body.desktop-v4 .fund-flow-workspace #real-comparison .v4-comparison-primary{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(470px,1fr);gap:22px;align-items:start}
html body.desktop-v4 .fund-flow-workspace #real-comparison .v4-comparison-primary>div{min-width:0}
html body.desktop-v4 .fund-flow-workspace .v4-comparison-extra{padding:12px;margin-top:16px}
html body.desktop-v4 .fund-flow-workspace{scroll-margin-top:135px}
html body.desktop-v4 .fund-flow-picker-dialog{width:min(1120px,calc(100vw - 40px));max-width:1120px;max-height:calc(100dvh - 40px);box-sizing:border-box;overflow:auto;border:1px solid var(--mm-line);border-radius:18px;background:var(--mm-surface);color:var(--mm-ink);padding:22px}
.fund-flow-picker-dialog::backdrop{background:#12203699}
.fund-flow-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.fund-flow-dialog-heading h2{font-size:20px!important;margin:0!important}
.fund-flow-picker-dialog>.r5-product-editor{border:0!important;padding:0!important}
.fund-flow-picker-dialog>.r5-product-editor>summary{display:none!important}
html body.desktop-v4 #fund-flow-edit-products{font-size:13px;min-height:38px;padding:8px 13px;margin-left:auto}
@media(max-width:999px){
 html body.desktop-v4 .fund-flow-workspace #real-comparison .v4-comparison-primary{grid-template-columns:1fr}
 html body.desktop-v4 .fund-flow-workspace #real-dock{display:grid;gap:10px;padding:12px}
 html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips button{font-size:11px;max-width:150px}
 html body.desktop-v4 .fund-flow-workspace #real-dock .r5-dock-actions{display:flex;width:100%;gap:8px}
 html body.desktop-v4 .fund-flow-workspace #real-dock .r5-dock-actions>*{flex:1;text-align:center;padding:10px 7px;font-size:12px}
 html body.desktop-v4 .fund-flow-workspace{scroll-margin-top:112px}
 html body.desktop-v4 .fund-flow-picker-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:16px}
 .fund-flow-dialog-heading h2{font-size:17px!important}
}

html body.desktop-v4 .fund-flow-workspace[data-fund-pane="compare"] #fund-flow-compare,html body.desktop-v4 .fund-flow-workspace .real-compare-next{display:none!important}
html body.desktop-v4 .fund-flow-picker-dialog .r5-picker-layout h2{font-size:18px!important;line-height:1.5}
html body.desktop-v4 .fund-flow-picker-dialog .r5-picker-layout p{font-size:13px;line-height:1.7}
html body.desktop-v4 .fund-flow-picker-dialog [data-r5-remove]{white-space:nowrap;min-width:52px}
html body.desktop-v4 .fund-flow-picker-dialog [data-r5-add]>b{white-space:nowrap}
html body.desktop-v4 .fund-flow-picker-dialog{top:20px;bottom:auto;left:50%;right:auto;margin:0!important;transform:translateX(-50%)}
.fund-flow-dialog-heading{position:sticky;top:-22px;z-index:3;background:var(--mm-surface);padding-block:10px}
@media(max-width:999px){html body.desktop-v4 .fund-flow-picker-dialog{top:12px}.fund-flow-dialog-heading{top:-16px}}
html body.desktop-v4 .fund-flow-workspace #real-dock .next-dock-allocation{display:inline-flex!important;justify-content:center;align-items:center}
html body.desktop-v4 .fund-flow-workspace #real-dock #fund-flow-compare{display:inline-flex;justify-content:center;align-items:center}
html body.desktop-v4 .fund-flow-workspace[data-fund-pane="compare"] #real-dock #fund-flow-compare{display:none!important}
@media(max-width:999px){html body.desktop-v4 .fund-flow-workspace #real-dock>div:first-child{align-items:flex-start}.fund-flow-workspace .dock-chips{gap:4px!important}html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips button{max-width:95px;padding:6px;font-size:10px;min-height:30px}html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips{flex-wrap:nowrap}html body.desktop-v4 .fund-flow-workspace #real-dock>div:first-child>b{font-size:18px}html body.desktop-v4 .fund-flow-workspace #real-dock>div:first-child>b small{display:block;font-size:10px}}

@media(max-width:999px){html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips{flex:1;min-width:0}html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips button{flex:0 1 auto;min-width:0;max-width:none!important;font-size:12px;white-space:nowrap}html body.desktop-v4 .fund-flow-workspace #real-dock>div:first-child>b{flex-shrink:0}}

/* Keep frequently used help above the compact footer directory. */
.desktop-v4 footer .v5-footer-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.desktop-v4 footer .footer-faq-link{display:flex;align-items:center;gap:12px;min-height:64px;max-width:100%;padding:10px 16px;border:1.5px solid #c45210;border-radius:12px;background:var(--mm-surface);text-decoration:none;line-height:1.4;transition:border-color .15s,box-shadow .15s}
.desktop-v4 footer .footer-faq-copy{display:block;min-width:0}
.desktop-v4 footer .footer-faq-copy strong{display:block;font-size:17px;font-weight:750;line-height:1.5;color:var(--mm-ink)!important}
.desktop-v4 footer .footer-faq-copy small{display:block;font-size:12px;line-height:1.5;color:var(--mm-muted)!important}
.desktop-v4 footer .footer-faq-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:1.5px solid currentColor;border-radius:50%;color:#a33c00!important;font-size:21px!important;font-weight:750}
.desktop-v4 footer .footer-faq-arrow{margin-left:auto;padding-left:14px;font-size:22px!important;color:#a33c00!important}
.desktop-v4 footer .footer-faq-link:hover{border-color:#a33c00;box-shadow:0 0 0 2px #c452101a;text-decoration:none}
.desktop-v4 footer .footer-faq-link:focus-visible{outline:3px solid #c45210;outline-offset:4px}
html[data-theme=dark] .desktop-v4 footer .footer-faq-link{border-color:#ffad76}
html[data-theme=dark] .desktop-v4 footer :is(.footer-faq-icon,.footer-faq-arrow){color:#ffad76!important}
@media(max-width:600px){.desktop-v4 footer .footer-faq-link{width:100%;padding:10px 12px}.desktop-v4 footer .footer-faq-copy strong{font-size:16px}.desktop-v4 footer .v5-footer-top{gap:14px}}

.desktop-v4 footer .v5-footer-external-note{font-size:11px!important;color:var(--mm-muted);line-height:1.7;margin:8px 0}

/* Optimizer controls and chart share one compact, bounded workspace. */
html body.desktop-v4 .real-optimizer-grid{grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}
html body.desktop-v4 .real-allocation{position:static;min-width:0;padding:18px!important;overflow:visible}
html body.desktop-v4 .real-allocation h2{font-size:18px!important;line-height:1.5}
html body.desktop-v4 .real-allocation .chart-tag{font-size:11px;white-space:nowrap}
html body.desktop-v4 .real-weight{padding:10px 0;margin:0;border-bottom:1px solid var(--mm-line)}
html body.desktop-v4 .real-weight label{display:grid;grid-template-columns:minmax(0,1fr) 74px;gap:10px;align-items:start}
html body.desktop-v4 .real-weight label>span{display:grid;grid-template-columns:9px minmax(0,1fr);gap:3px 7px;min-width:0}
html body.desktop-v4 .real-weight label i{width:8px;height:8px;border-radius:50%;align-self:center;background:var(--fund-color);margin:0}
html body.desktop-v4 .real-weight label b{font-size:15px;line-height:1.5;white-space:nowrap}
html body.desktop-v4 .real-weight label small{grid-column:2;display:block;max-height:none;overflow:visible;-webkit-line-clamp:unset;font-size:12px;line-height:1.65;word-break:normal;margin:0;color:var(--mm-muted)}
html body.desktop-v4 .real-weight output{font-size:23px;line-height:1.4;font-weight:750;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums;color:var(--mm-ink)}
html body.desktop-v4 .real-weight>div{display:flex;justify-content:space-between;gap:8px;font-size:11px;line-height:1.5;color:var(--mm-muted)}
html body.desktop-v4 .real-weight input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:24px;min-height:24px;box-sizing:border-box;padding:0;margin:9px 0 6px;border:0;background:transparent;cursor:pointer}
.real-weight input[type=range]::-webkit-slider-runnable-track{height:5px;border-radius:10px;background:linear-gradient(to right,var(--fund-color) 0 var(--opt-weight),var(--mm-line) var(--opt-weight) 100%)}
.real-weight input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:17px;height:17px;margin-top:-6px;border-radius:50%;background:var(--fund-color);border:2px solid var(--mm-surface);box-shadow:0 0 0 1px var(--fund-color)}
.real-weight input[type=range]:focus-visible{outline:2px solid var(--mm-link);outline-offset:3px;border-radius:8px}
html body.desktop-v4 .opt-mix-card{margin:14px 0 12px;padding-top:2px;min-width:0}
html body.desktop-v4 .opt-mix-card h3{font-size:13px!important;margin:0 0 9px;line-height:1.5}
html body.desktop-v4 #real-allocation-donut{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:12px;width:100%;min-width:0}
.opt-mix-visual{width:96px;min-width:0}
.opt-mix-visual svg{display:block;width:100%;height:auto;overflow:visible}
.opt-mix-track{fill:none;stroke:var(--mm-soft);stroke-width:12}
.opt-mix-value{fill:var(--mm-ink);font-size:25px;font-weight:750;letter-spacing:-1px}
.opt-mix-label{fill:var(--mm-muted);font-size:10px}
.opt-mix-legend{min-width:0;display:grid;gap:1px}
.opt-mix-legend>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid var(--mm-line);min-width:0}
.opt-mix-legend>div>span{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.5;min-width:0;color:var(--mm-ink)}
.opt-mix-legend i{display:block;width:7px;height:7px;border-radius:50%;flex:none}
.opt-mix-legend strong{font-size:17px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--mm-ink);text-align:right}
.opt-mix-legend strong small{font-size:11px;margin-left:1px}
html body.desktop-v4 .opt-mix-card>p{font-size:11px;line-height:1.6;margin:7px 0 0;color:var(--mm-muted)}
html body.desktop-v4 .real-allocation-actions{display:grid;grid-template-columns:1fr 1fr;margin-top:8px;gap:8px;padding:0}
html body.desktop-v4 .real-allocation-actions .btn{font-size:13px;min-height:40px;padding:9px 12px;width:100%;box-sizing:border-box}
html body.desktop-v4 .real-allocation-actions .text-link{font-size:12px;justify-self:start;grid-column:1/-1}
html body.desktop-v4 .real-allocation .next-info{font-size:11px;line-height:1.7;margin-top:12px}
html body.desktop-v4 .optimizer-hero-panel{padding:18px!important;min-width:0}
html body.desktop-v4 .optimizer-hero-panel>.live-panel-title{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:center;gap:12px;margin-bottom:10px;padding-bottom:8px;position:static;min-height:0!important;height:auto!important}
html body.desktop-v4 .optimizer-hero-panel>.live-panel-title h2{font-size:20px;line-height:1.5;margin:0!important}
html body.desktop-v4 .optimizer-hero-panel>.live-panel-title p{font-size:12px;line-height:1.6;margin:4px 0 0!important}
html body.desktop-v4 #fund-flow-edit-products{grid-column:3;grid-row:1;margin:0;font-size:13px;min-height:38px}
html body.desktop-v4 #real-opt-views{grid-column:2;grid-row:1;justify-self:start;margin:0!important;display:flex;gap:4px;padding:4px;background:var(--mm-soft);border:1px solid var(--mm-line);border-radius:10px;scroll-margin-top:145px}
html body.desktop-v4 #real-opt-views button{font-size:13px;min-height:36px;padding:8px 15px}
html body.desktop-v4 #real-opt-metrics .metric-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
html body.desktop-v4 #real-opt-metrics .metric-row>div{padding:10px 12px!important;border-radius:10px;background:var(--mm-soft);min-width:0}
html body.desktop-v4 #real-opt-metrics .metric-row span{font-size:12px!important;line-height:1.5}
html body.desktop-v4 #real-opt-metrics .metric-row strong{font-size:25px!important;line-height:1.35;margin:4px 0;white-space:nowrap;font-variant-numeric:tabular-nums}
html body.desktop-v4 #real-opt-metrics .metric-row small{font-size:11px!important;line-height:1.5}
html body.desktop-v4 .opt-scene-frame{--scene-paper:#fff;border-radius:12px;box-shadow:inset 0 1px 0 #fff;background:var(--scene-paper)}
html body.desktop-v4 .opt-scene-caption{padding:12px 16px 0;gap:10px}
html body.desktop-v4 .opt-scene-caption p{font-size:12px;line-height:1.6}
html body.desktop-v4 .opt-scene-badge{font-size:11px;padding:4px 7px;background:#234f9a}
html body.desktop-v4 #real-opt-plot.real-opt-plot{height:clamp(280px,calc(100dvh - 420px),420px)!important;width:100%;max-width:none}
html body.desktop-v4 .opt-scene-bottom{padding:0 16px 12px;gap:12px}
html body.desktop-v4 .opt-color-scale{font-size:11px}
html body.desktop-v4 .opt-color-scale i{width:110px;background:linear-gradient(90deg,#234f9a,#3c83cc 35%,#35a3bc 68%,#43b6a5)}
html body.desktop-v4 .opt-color-scale b{font-size:11px}
html body.desktop-v4 .opt-camera-actions .text-button{font-size:12px;padding:7px 10px;min-height:36px}
html body.desktop-v4 .real-plot-controls{font-size:12px;line-height:1.7;padding-top:12px;flex-wrap:wrap}
html body.desktop-v4 #real-opt-selection{font-size:12px;line-height:1.7;color:var(--mm-ink)}
html body.desktop-v4 .optimizer-hero-panel>.next-info{font-size:12px;line-height:1.8}
@media(min-width:761px) and (max-width:1100px){html body.desktop-v4 .real-optimizer-grid{grid-template-columns:270px minmax(0,1fr);gap:14px}html body.desktop-v4 .real-allocation{padding:15px!important}html body.desktop-v4 #real-allocation-donut{grid-template-columns:80px minmax(0,1fr);gap:9px}.opt-mix-visual{width:80px}.opt-mix-legend strong{font-size:16px}.opt-mix-legend>div>span{font-size:11px}}
@media(max-width:760px){
 html body.desktop-v4 .real-optimizer-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 html body.desktop-v4 .real-allocation,html body.desktop-v4 .optimizer-hero-panel{padding:14px!important}
 html body.desktop-v4 .real-mobile-allocation>summary{font-size:14px}
 html body.desktop-v4 .real-mobile-allocation>summary>span{font-size:11px}
 html body.desktop-v4 .real-mobile-allocation[open]>div{padding-top:14px}
 html body.desktop-v4 .real-weight label{grid-template-columns:minmax(0,1fr) 76px}
 html body.desktop-v4 #real-allocation-donut{grid-template-columns:108px minmax(0,1fr);gap:15px}
 .opt-mix-visual{width:108px}.opt-mix-legend>div>span{font-size:14px}.opt-mix-legend strong{font-size:19px}
 html body.desktop-v4 .optimizer-hero-panel>.live-panel-title{grid-template-columns:minmax(0,1fr) auto}html body.desktop-v4 .optimizer-hero-panel>.live-panel-title h2{font-size:18px}
 html body.desktop-v4 #fund-flow-edit-products{grid-column:2;grid-row:1;font-size:12px;padding:7px 10px}
 html body.desktop-v4 #real-opt-views{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:space-between;width:100%;box-sizing:border-box}
 html body.desktop-v4 #real-opt-views button{font-size:12px;padding:8px 9px;flex:1;white-space:nowrap}
 html body.desktop-v4 #real-opt-metrics .metric-row{gap:6px;margin-bottom:11px}
 html body.desktop-v4 #real-opt-metrics .metric-row>div{padding:9px 7px!important}
 html body.desktop-v4 #real-opt-metrics .metric-row span{font-size:10px!important;line-height:1.5}
 html body.desktop-v4 #real-opt-metrics .metric-row strong{font-size:20px!important}
 html body.desktop-v4 #real-opt-metrics .metric-row small{font-size:10px!important}
 html body.desktop-v4 #real-opt-plot.real-opt-plot{height:340px!important}
 html body.desktop-v4 .opt-scene-caption{padding:10px 10px 0;align-items:flex-start}
 html body.desktop-v4 .opt-scene-caption p{font-size:11px}
 html body.desktop-v4 .opt-scene-bottom{padding:0 10px 10px;flex-wrap:wrap}
 html body.desktop-v4 .opt-camera-actions{margin-left:auto}
 html body.desktop-v4 .opt-color-scale{min-width:0;width:100%;justify-content:space-between}
 html body.desktop-v4 .opt-color-scale i{width:105px}
 html body.desktop-v4 .optimizer-hero-panel>.live-panel-title{position:static}
}

html body.desktop-v4 .opt-save-note{font-size:11px;line-height:1.7;margin:10px 0 0;color:var(--mm-muted)}
html body.desktop-v4 .real-optimizer-grid{scroll-margin-top:0}
@media(min-width:761px) and (max-width:1100px){html body.desktop-v4 .optimizer-hero-panel>.live-panel-title{grid-template-columns:minmax(0,1fr) auto}html body.desktop-v4 #real-opt-views{grid-column:1/-1;grid-row:2}html body.desktop-v4 #fund-flow-edit-products{grid-column:2}}

.opt-scene-body{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:8px;min-width:0}
.opt-reference{min-width:0;margin:12px 14px 12px 0;padding:14px 12px;background:var(--mm-soft);border:1px solid var(--mm-line);border-radius:10px}
html body.desktop-v4 .opt-reference h3{font-size:13px!important;line-height:1.5;margin:0 0 5px}
html body.desktop-v4 .opt-reference p{font-size:11px;line-height:1.6;margin:0 0 12px;color:var(--mm-muted)}
.opt-reference-columns,.opt-reference-current,.opt-reference button{display:grid;grid-template-columns:minmax(0,1fr) 66px 56px;gap:4px;align-items:center}
.opt-reference-columns{font-size:9px;line-height:1.5;color:var(--mm-muted);padding:0 0 6px;text-align:right}
.opt-reference-columns>span:first-child{text-align:left}
.opt-reference button{width:100%;background:var(--mm-surface);color:var(--mm-ink);border:1px solid var(--mm-line);border-radius:7px;padding:9px 6px;margin:0 0 6px;cursor:pointer;text-align:right;min-height:48px;box-sizing:border-box}
.opt-reference button:hover,.opt-reference button[aria-pressed=true]{border-color:var(--mm-link)}
.opt-reference button:focus-visible{outline:2px solid var(--mm-link);outline-offset:2px}
.opt-reference b{font-size:12px;line-height:1.5;text-align:left;white-space:nowrap}
.opt-reference b>i{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px}
html body.desktop-v4 .opt-reference b>small{display:block;font-size:10px;margin-left:10px}
.opt-reference strong,.opt-reference button>span,.opt-reference-current>span{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.opt-reference-current{padding:8px 6px 2px}
.opt-reference-current b{font-size:10px}
html body.desktop-v4 .opt-reference>small{display:block;font-size:10px;line-height:1.6;margin-top:12px;color:var(--mm-muted)}
@media(max-width:1100px){.opt-scene-body{grid-template-columns:minmax(0,1fr)}.opt-reference{margin:0 12px 12px}.opt-reference-columns,.opt-reference-current,.opt-reference button{grid-template-columns:minmax(0,1fr) 100px 85px}.opt-reference button{min-height:40px}.opt-reference b>small{display:inline!important;margin-left:7px!important}.opt-reference>small{margin-top:6px!important}.opt-reference h3{margin-bottom:4px!important}.opt-reference p{margin-bottom:5px!important}}
@media(max-width:760px){.opt-reference-columns,.opt-reference-current,.opt-reference button{grid-template-columns:minmax(0,1fr) 83px 73px}.opt-reference{padding:12px 10px}.opt-reference b,.opt-reference strong,.opt-reference button>span,.opt-reference-current>span{font-size:12px}.opt-reference-columns{font-size:10px}}

/* Once a result exists, setup guidance gives way to the analysis workspace. */
html body.desktop-v4 #r5-picker.optimizer-ready{padding:10px 16px!important;margin-bottom:12px}
html body.desktop-v4 #r5-picker.optimizer-ready>.live-panel-title{margin:0;min-height:0}
html body.desktop-v4 #r5-picker.optimizer-ready h1{font-size:20px!important;line-height:1.5;margin:0!important}
#r5-picker.optimizer-ready .optimizer-page-kicker,#r5-picker.optimizer-ready .optimizer-page-lead,#r5-picker.optimizer-ready .r8-opt-route,#r5-picker.optimizer-ready #r5-run,#r5-picker.optimizer-ready>.r5-product-editor{display:none!important}
@media(max-width:760px){html body.desktop-v4 .real-mobile-allocation[open]>div>.live-panel-title{display:none}}

/* Goal controls: server-computed allocations, separate from manual adjustments. */
.opt-goal-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 6px}.opt-goal-controls button{border:1px solid var(--mm-line,#d4dce7);background:var(--mm-surface,#fff);color:var(--mm-ink,#18263c);border-radius:12px;text-align:left;padding:12px;font:inherit;min-width:0;cursor:pointer}.opt-goal-controls button[aria-pressed=true]{border:2px solid #e96e21;background:var(--mm-soft,#fff6ed);padding:11px}.opt-goal-controls strong{font-size:18px;display:block}.opt-goal-controls small,.opt-goal-controls span,.opt-goal-controls em{display:block;overflow-wrap:anywhere;line-height:1.5;font-size:13px;margin-top:4px;font-style:normal}.opt-goal-controls span{font-weight:700}.opt-goal-controls em{color:var(--mm-muted,#526278)}.opt-goal-status{font-size:14px;line-height:1.5;margin:8px 0 12px}.opt-goal-controls button:disabled{opacity:.6;cursor:wait}@media(max-width:560px){.opt-goal-controls{gap:6px}.opt-goal-controls button{padding:9px}.opt-goal-controls button[aria-pressed=true]{padding:8px}.opt-goal-controls strong{font-size:16px}.opt-goal-controls small,.opt-goal-controls span,.opt-goal-controls em{font-size:12px}}

#real-opt-goals button[aria-pressed=true]{background:#fff4e9!important;color:#18263c!important;border-color:#e96e21!important}#real-opt-goals button[aria-pressed=true] small,#real-opt-goals button[aria-pressed=true] em{color:#526278!important}html[data-theme=dark] #real-opt-goals button[aria-pressed=true]{background:#3b2a22!important;color:#fff0e4!important}html[data-theme=dark] #real-opt-goals button[aria-pressed=true] small,html[data-theme=dark] #real-opt-goals button[aria-pressed=true] em{color:#ded1c8!important}

/* Surface colours remain readable on the normal light chart background. */
html body.desktop-v4 .opt-color-scale i{background:linear-gradient(90deg,#536c9e,#7e69ad 30%,#b27ba7 55%,#e59861 78%,#ffb348)}
html body.desktop-v4 #real-opt-plot.real-opt-plot{height:440px!important}
html body.desktop-v4 .opt-selected-dot{background:#bc80ed;box-shadow:0 0 0 3px #c995f6}
@media(max-width:760px){html body.desktop-v4 #real-opt-plot.real-opt-plot{height:360px!important}}

.opt-goal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 0 12px}
.opt-goal-toolbar>div{min-width:0}.opt-goal-toolbar strong{display:block;font-size:17px;line-height:1.5}.opt-goal-toolbar span{display:block;font-size:13px;line-height:1.6;color:var(--mm-muted)}
html body.desktop-v4 [data-opt-restore]{background:#ff791c!important;color:#17283e!important;border:2px solid #ed6e12!important;min-height:46px;font-size:15px!important;font-weight:750;white-space:normal;line-height:1.5}
html body.desktop-v4 [data-opt-restore]:focus-visible{outline:3px solid #7555bd;outline-offset:3px}
html body.desktop-v4 [data-opt-restore].needs-restore{box-shadow:0 0 0 3px #ffe0c3}
html body.desktop-v4 .opt-restore-side{display:block;width:100%;margin:14px 0 10px}
.opt-concentration{display:inline-block;margin-top:7px;padding:2px 7px;border-radius:5px;background:#fff0d8;color:#704112;font-size:12px;font-weight:700;line-height:1.5}
#real-opt-metrics{position:relative}#real-opt-metrics[aria-busy=true] .metric-row{opacity:.28}#real-opt-metrics[aria-busy=true]:after{content:'正確な数値を確認しています…';position:absolute;inset:0;display:grid;place-items:center;font-size:15px;font-weight:700;color:var(--mm-ink);pointer-events:none}
@media(max-width:760px){.opt-goal-toolbar{align-items:stretch;flex-direction:column;gap:9px}.opt-goal-toolbar [data-opt-restore]{width:100%}.opt-goal-toolbar strong{font-size:16px}.opt-goal-toolbar span{font-size:12px}}
.opt-goal-toolbar>div{display:flex;align-items:center;gap:10px}.opt-goal-toolbar label{font-size:15px;font-weight:700;white-space:nowrap}.opt-goal-toolbar select{min-width:150px;min-height:46px;font-size:16px;padding:8px 30px 8px 12px;border:1px solid var(--mm-line);border-radius:9px;background:var(--mm-surface);color:var(--mm-ink)}
html body.desktop-v4 .opt-profile-heading{font-size:16px!important;margin:18px 0 6px!important;line-height:1.5}
@media(max-width:760px){.opt-goal-toolbar>div{justify-content:space-between}.opt-goal-toolbar select{flex:1;min-width:0}.opt-goal-toolbar label{font-size:14px}}
html body.desktop-v4 .opt-price-basis{font-size:12px;line-height:1.6;margin:0 0 10px;color:var(--mm-muted)}
.opt-live-mobile-controls[hidden]{display:none!important}
/* Keep the mobile heading and return legend readable without squeezed columns. */
@media(max-width:760px){
 html body.desktop-v4 .optimizer-hero-panel>.live-panel-title>div:first-child{min-width:0}
 html body.desktop-v4 .optimizer-hero-panel>.live-panel-title>div h1{font-size:22px!important;line-height:1.4;margin:0!important}
 html body.desktop-v4 .opt-scene-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 html body.desktop-v4 .opt-scene-bottom .opt-camera-actions{justify-self:end;margin-left:0;flex-wrap:wrap}
 html body.desktop-v4 #real-opt-color-scale{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;justify-items:start;width:100%;max-width:100%}
 html body.desktop-v4 #real-opt-color-scale>span{white-space:nowrap;line-height:1.5}
 html body.desktop-v4 #real-opt-color-scale>div{display:flex;align-items:center;gap:8px;max-width:100%;min-width:0}
 html body.desktop-v4 #real-opt-color-scale b{white-space:nowrap;flex:none}
 html body.desktop-v4 #real-opt-color-scale i{flex:0 1 105px;min-width:60px}
}
@media(max-width:360px){
 html body.desktop-v4 .optimizer-hero-panel>.live-panel-title{grid-template-columns:minmax(0,1fr)}
 html body.desktop-v4 #fund-flow-edit-products{grid-column:1;grid-row:2;justify-self:start}
 html body.desktop-v4 #real-opt-views{grid-row:3}
}
@media(max-width:760px){
 html body.desktop-v4 .opt-live-mobile-controls{display:grid;padding:7px 12px 3px;border-bottom:1px solid var(--mm-line);gap:0}
 html body.desktop-v4 .opt-live-mobile-controls .real-weight{padding:5px 0 3px;margin:0;border:0}
 html body.desktop-v4 .opt-live-mobile-controls .real-weight label{align-items:center;grid-template-columns:minmax(0,1fr) 80px}
 html body.desktop-v4 .opt-live-mobile-controls .real-weight label small,html body.desktop-v4 .opt-live-mobile-controls .real-weight>div{display:none}
 html body.desktop-v4 .opt-live-mobile-controls .real-weight label b{font-size:15px}
 html body.desktop-v4 .opt-live-mobile-controls .real-weight output{font-size:20px;line-height:1.3}
 html body.desktop-v4 .opt-live-mobile-controls .real-weight input[type=range]{margin:1px 0 2px;height:27px;min-height:27px}
}

/* Natural-height cards: a disclosure only changes the space its own card needs. */
.r12-packed-grid{display:grid!important;grid-template-columns:repeat(var(--packed-columns,2),minmax(0,1fr))!important;grid-auto-rows:1px!important;gap:0 14px!important;align-items:start!important;min-width:0;width:100%;margin:0!important}
.r12-packed-grid[data-stack-columns="1"]{display:flex!important;flex-direction:column;gap:14px!important}
html body.desktop-v4 .r12-packed-grid>.r12-packed-card{align-self:start!important;min-width:0!important;width:100%;box-sizing:border-box;min-height:0!important;height:auto!important;margin:0!important}
html body.desktop-v4 .r12-market-page{gap:14px;margin-top:16px}
html body.desktop-v4 .r12-market-grid>.live-panel,html body.desktop-v4 .r12-market-grid>#r2-market-summary>.live-panel{padding:16px!important;border-radius:14px;min-height:0!important;margin:0!important}
.r12-market-grid>#r2-market-summary{display:grid;gap:9px}
.r12-market-grid .live-panel-title{margin:0 0 10px!important;gap:10px;align-items:center}
.r12-market-grid .live-panel-title h2{font-size:19px!important;line-height:1.5;margin:0}
.r12-market-grid .live-panel-title .text-link{padding:0;line-height:1.6;font-size:13px;white-space:nowrap;min-height:0;border:0;margin:0}
html body.desktop-v4 .r12-market-grid .next-market-brief{padding:16px!important;min-height:0!important;height:auto!important}
.r12-market-grid .next-market-brief h2{font-size:19px;line-height:1.6;margin:8px 0 10px}
.r12-market-grid .r2-hold-impact{margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:13px}
.r12-market-grid .r2-hold-impact button{font-size:13px;padding:7px 10px;min-height:34px}
html body.desktop-v4 .r12-market-grid #real-heatmap{padding:16px!important;min-height:0!important}
html body.desktop-v4 .r12-market-grid #real-heat-grid.r3-heat-values{grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:minmax(94px,auto)!important}
html body.desktop-v4 .r12-market-grid #real-heat-grid.r3-heat-values .r3-heat-tile{grid-template-rows:18px minmax(29px,auto) minmax(32px,auto)!important;padding:7px!important;gap:2px;min-height:0!important}
.r12-market-grid .v4-heat-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.r12-market-grid .v4-heat-overview a{padding:10px;min-height:0;line-height:1.6}
.r12-market-grid .v4-heat-overview>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px;align-items:center;min-height:0!important;padding:9px!important;font-size:12px;line-height:1.5;text-align:left;border-radius:8px}
.r12-market-grid .v4-heat-overview>button>b{grid-column:2;grid-row:1;font-size:15px;line-height:1.5;white-space:nowrap}
.r12-market-grid .v4-heat-overview>button>small{grid-column:1/-1;font-size:11px;line-height:1.5}
.r12-market-grid .v4-market-news a{padding:11px 0}
.r12-market-grid .v4-market-news a:last-child{border:0;padding-bottom:0}
.r12-market-grid #real-market-ai>p{font-size:14px;line-height:1.7;margin:0 0 10px}
.r12-market-grid #v4-market-chart .next-index-switcher{gap:4px;padding:0}
html body.desktop-v4 .r12-market-grid #v4-index-chart{height:205px!important}
.r12-market-grid #v4-market-chart .index-heading{flex-wrap:wrap;gap:8px}
.r12-market-grid #v4-market-chart .index-heading>.compact-tabs{margin-left:auto}
html body.desktop-v4 .r12-market-grid #v4-market-chart{gap:10px}
.r12-market-page>.v3-extra-indices{margin:0;min-width:0}
.r12-market-page>.v3-extra-indices>summary{font-size:15px;font-weight:650;margin:0 0 10px;padding:11px 14px;background:var(--mm-surface);border:1px solid var(--mm-line);border-radius:9px;color:var(--mm-ink)}
html body.desktop-v4 .r12-market-page .live-dashboard{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 16px;background:var(--mm-surface);border:1px solid var(--mm-line);border-radius:12px;padding:4px 14px;margin:0}
html body.desktop-v4 .r12-market-page .live-dashboard>article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:3px 10px;min-width:0;min-height:0!important;height:auto!important;padding:10px 0!important;border:0;border-bottom:1px solid var(--mm-line);border-radius:0;background:transparent!important;box-shadow:none}
html body.desktop-v4 .r12-market-page .live-dashboard>article>span{display:block;min-width:0;font-size:13px;font-weight:650;line-height:1.5;color:var(--mm-ink)!important}
html body.desktop-v4 .r12-market-page .live-dashboard>article>span>small{display:block;font-size:10px;line-height:1.5;color:var(--mm-muted)!important;font-weight:400;margin-top:2px}
html body.desktop-v4 .r12-market-page .live-dashboard>article>strong{font-size:20px!important;line-height:1.4;margin:0!important;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:-.4px}
html body.desktop-v4 .r12-market-page .live-dashboard>article>b{font-size:12px;line-height:1.5;white-space:nowrap;text-align:right;min-width:55px;font-variant-numeric:tabular-nums}
html body.desktop-v4 .r12-market-page .live-dashboard>article>small{grid-column:1/-1;font-size:10px;line-height:1.5;margin:0;color:var(--mm-muted)}
.r12-market-page .v3-extra-indices>.data-note{font-size:12px;line-height:1.65;margin:8px 0}
html body.desktop-v4 .r12-market-page #calendar{padding:16px!important;margin:0!important;border-radius:14px}

/* Member pages retain their figures and explanation; padding does less work. */
html body.member-workspace .r12-household-overview>.live-panel,html[data-theme] body.member-workspace .r12-household-overview>.r10-budget-hero{padding:16px!important;border-radius:13px}
.r12-household-overview{margin-bottom:14px!important}
.r12-household-overview .live-panel-title{margin:0 0 9px!important;min-height:0;gap:8px}
.r12-household-overview .live-panel-title h2{font-size:20px;line-height:1.5;margin:0}
html[data-theme] body.member-workspace .r12-household-overview>.r10-budget-hero>strong{font-size:35px;margin:4px 0 7px;line-height:1.3}
.r12-household-overview .r10-budget-numbers{margin:10px 0}
.r12-household-overview .r10-budget-numbers>div{padding:9px 12px}
.r12-household-overview .r10-budget-hero .next-budget-line{margin:10px 0 8px;height:9px}
.r12-household-overview .r10-budget-hero>p{margin:8px 0;line-height:1.65}
.r12-household-overview .r10-budget-foot{padding-bottom:8px}
.r12-household-overview .r10-check{padding:9px 11px;margin-top:7px}
.r12-household-overview .r10-check p{font-size:14px;line-height:1.65;margin:4px 0 0}
.r12-household-overview :is(.r10-local-analysis,.r10-cached-household){padding:11px;margin-top:9px}
.r12-household-overview :is(.r10-local-analysis,.r10-cached-household) p{font-size:14px;line-height:1.65;margin:6px 0}
html body.member-workspace .r12-household-overview :is(.r10-chart-reading,.r10-reading-note){font-size:13px!important;line-height:1.65!important;margin:9px 0 0!important}
.r12-household-overview .r11-category-composition{grid-template-columns:155px minmax(0,1fr);gap:12px}
.r12-household-overview .r11-category-donut{width:155px}
html body.member-workspace .r12-household-overview .r11-donut-center strong{font-size:22px}
.r12-household-overview .r10-month-bars button>span{height:104px}
.r12-household-overview .r10-month-bars button i{max-height:94px}
.member-workspace .r10-household .r10-page-heading{margin-bottom:12px}
.member-workspace .r10-household .r10-page-heading h1{margin:2px 0 4px}
.member-workspace .r10-household .r10-page-heading p{margin:0;line-height:1.65}
.member-workspace .r10-household .next-month{margin-bottom:14px;padding-bottom:0}
.member-workspace .r10-household .next-detail-tabs{margin:0 0 13px}
.member-workspace .r10-household .r10-ledger-aside{padding:16px!important}
html body.member-workspace .r10-household .next-expense-row{padding-block:10px;min-height:70px}
html body.member-workspace .r10-household .next-expense-day h3{padding-block:8px}
.member-workspace .r2-my-top{align-items:start;gap:14px;margin-bottom:14px}
.member-workspace .r6-member-side{display:grid;gap:14px;align-content:start}
.member-workspace .r6-member-side>.live-panel{min-height:0!important;height:auto!important;padding:16px!important}
html[data-theme] body.desktop-v4.member-workspace .r2-asset-hero{padding:18px!important}
.member-workspace .next-assets-analysis.r6-analysis-open{padding:16px;margin-bottom:14px}
.member-workspace .r6-analysis-open .r2-detail-grid{align-items:start;gap:12px;margin-bottom:12px}

@media(max-width:1249px){html body.desktop-v4 .r12-market-page .live-dashboard{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 14px}}
@media(max-width:1049px){html body.desktop-v4 .r12-market-page .live-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1049px){
 .r12-packed-grid{display:flex!important;flex-direction:column;gap:14px!important}
 html body.desktop-v4 .r12-market-grid #real-heat-grid.r3-heat-values{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:700px){
 html body.desktop-v4 .r12-market-page{margin-top:12px;gap:12px}
 .r12-packed-grid,.r12-packed-grid[data-stack-columns="1"]{gap:12px!important}
 html body.desktop-v4 .r12-market-grid>.live-panel,html body.desktop-v4 .r12-market-grid>#r2-market-summary>.live-panel{padding:14px!important}
 .r12-market-grid .live-panel-title h2{font-size:18px!important}
 html body.desktop-v4 .r12-market-grid #real-heatmap{padding:12px!important}
 html body.desktop-v4 .r12-market-grid #real-heat-grid.r3-heat-values{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .r12-market-grid .v4-heat-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.desktop-v4 .r12-market-page .live-dashboard{grid-template-columns:minmax(0,1fr);padding:2px 12px}
 html body.desktop-v4 .r12-market-page .live-dashboard>article{grid-template-columns:minmax(0,1fr) auto auto;gap:2px 10px;padding:9px 0!important}
 html body.desktop-v4 .r12-market-page .live-dashboard>article>strong{font-size:21px!important}
 html body.desktop-v4 .r12-market-page .live-dashboard>article>span{font-size:14px!important}
 html body.desktop-v4 .r12-market-page .live-dashboard>article>span>small{font-size:10px!important}
 html body.desktop-v4 .r12-market-page .live-dashboard>article>b{font-size:13px}
 html body.member-workspace .r12-household-overview>.live-panel,html[data-theme] body.member-workspace .r12-household-overview>.r10-budget-hero{padding:14px!important}
 .r12-household-overview .r11-category-composition{grid-template-columns:132px minmax(0,1fr);gap:7px}
 .r12-household-overview .r11-category-donut{width:132px}
 html body.member-workspace .r12-household-overview .r11-donut-center strong{font-size:19px}
 html body.member-workspace .r10-household .next-expense-row{padding-block:11px;min-height:72px}
}
@media(max-width:380px){.r12-household-overview .r11-category-composition{grid-template-columns:minmax(0,1fr)}.r12-household-overview .r11-category-donut{width:155px}}

/* Rearrange information before reducing any typography. */
html body.desktop-v4 .fund-overview-grid>.live-panel{padding:16px!important;margin:0!important;min-height:0;height:auto}
html body.desktop-v4 .fund-overview-grid h2{font-size:17px!important}
.fund-overview-grid .live-panel-title{margin-bottom:9px!important}
.fund-overview-grid #fund-bubble-chart{height:280px}
.fund-overview-grid .fund-bubble-legend{gap:6px 10px;margin-top:7px}
.fund-overview-grid .fund-chart-method{margin-top:9px}
.fund-overview-grid .fund-leader-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fund-overview-grid .fund-leader-row{padding:7px 0;gap:5px}
.fund-overview-grid .fund-leader-name{white-space:normal;overflow:visible;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
.fund-overview-grid .fund-leader-row b{grid-column:2/-1;justify-self:start}
.fund-overview-grid .fund-leader-row>i{margin:0}
.fund-selected-panel .fund-bubble-readout{padding:10px;margin:0}
.fund-selected-panel .fund-bubble-picker{flex-wrap:wrap;gap:5px;margin-bottom:9px}
.fund-selected-panel .fund-bubble-picker select{flex-basis:100%;width:100%;height:36px}
.fund-selected-panel .fund-bubble-readout .actions{gap:7px}
.fund-selected-panel .fund-watch-heading{flex-wrap:wrap;gap:7px}
html body.desktop-v4 .fund-workbench>.fund-rankings{padding:16px!important;margin-top:0!important}
.fund-workbench .rank-control-row{gap:8px;margin-bottom:10px}
.fund-workbench .rank-footnote{margin-bottom:8px}

/* A row keeps the name, market/sector and price/date at their original sizes. */
html body.desktop-v4 .stock-split{grid-template-columns:340px minmax(0,1fr);gap:14px;align-items:start}
html body.desktop-v4 .stock-split #live-directory,html body.desktop-v4 .stock-split #live-stock-chart{height:auto;min-height:0;max-height:none;overflow:visible;padding:16px!important}
.stock-split .stock-controls{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:0 0 9px}
.stock-split .stock-controls>input{grid-column:1/-1}
.stock-split .stock-controls>label{gap:7px;min-width:0;justify-content:flex-start}
.stock-split .stock-controls select{width:auto;max-width:150px;flex:1;min-width:0}
.stock-split #stock-shuffle{padding:6px 8px;min-height:36px;white-space:nowrap}
.stock-list-options{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 9px}
.stock-list-options :is(.stock-watch-filter,.r2-old-quotes){margin:0!important;padding:0;display:flex;align-items:center;gap:5px}
.stock-split .results-summary{margin:9px 0;gap:8px;align-items:center;min-height:0}
.stock-split .results-summary>p{margin:0!important}
html body.desktop-v4 .stock-split .stock-choice{padding:8px 0!important;gap:8px;min-height:0;align-items:center}
.stock-split .stock-choice-summary{min-width:0}
.stock-split .stock-choice-summary>strong{display:block;line-height:1.45}
.stock-split .stock-choice-meta{display:flex!important;flex-wrap:wrap;align-items:center;gap:3px 7px;margin-top:4px}
html body.desktop-v4 .stock-split .stock-choice-meta>small{display:inline!important;margin:0!important;line-height:1.5;max-width:100%}
html body.desktop-v4 .stock-split .stock-choice-meta>.r7-stock-sector{padding:0 4px!important;white-space:normal}
.stock-split .stock-choice-price{display:grid!important;grid-template-columns:auto auto;gap:3px 4px;justify-content:end;align-items:baseline}
.stock-split .stock-choice-price>small{margin:0!important}
.stock-split .stock-choice-price>time{grid-column:1/-1;justify-self:end;margin:0!important}
.stock-split .live-ohlc{gap:8px 14px;line-height:1.6;flex-wrap:wrap}

/* The figure gets the width; the reference table sits beside the allocation controls. */
html body.desktop-v4 .opt-scene-body{grid-template-columns:minmax(0,1fr);gap:0}
html body.desktop-v4 .real-allocation .opt-reference{margin:12px 0;padding:11px 10px}
.real-allocation .opt-reference-columns,.real-allocation .opt-reference-current,.real-allocation .opt-reference button{grid-template-columns:minmax(0,1fr) 70px 58px}
.real-allocation .opt-reference p{margin-bottom:7px!important}
.real-allocation .opt-reference>small{margin-top:7px!important}
.real-allocation .opt-reference button{min-height:42px;margin-bottom:5px;padding:7px 6px}
html body.desktop-v4 .opt-scene-caption{flex-wrap:wrap;gap:7px 12px;padding:10px 14px 0}
html body.desktop-v4 .optimizer-hero-panel>.live-panel-title{gap:10px;padding-bottom:7px;margin-bottom:9px}
html body.desktop-v4 .real-optimizer-results{gap:10px}
html body.desktop-v4 .real-optimizer-results :is(.opt-history,.real-method){margin:0;padding:10px 14px!important}
.optimizer-hero-panel>.next-info{margin-top:10px}
.opt-scene-frame:has([data-surface-kind="risk-curtain"]) .opt-scene-caption p:after{content:' · 面は高さの補助';display:inline;color:var(--mm-muted)}
@media(max-width:1279px) and (min-width:1000px){.fund-overview-grid .fund-leader-columns{gap:14px}.fund-selected-panel .fund-bubble-picker{flex-wrap:nowrap}.fund-selected-panel .fund-bubble-picker select{flex-basis:auto}}
@media(max-width:1050px){html body.desktop-v4 .stock-split{grid-template-columns:minmax(0,1fr)}html body.desktop-v4 .stock-split #live-directory{overflow:visible;max-height:none}}
@media(max-width:760px){
 html body.desktop-v4 .fund-overview-grid h2{font-size:16px!important}
 html body.desktop-v4 .fund-overview-grid>.live-panel{padding:14px!important}
 .fund-selected-panel .fund-bubble-picker{flex-wrap:wrap}
 html body.desktop-v4 .stock-split #live-directory,html body.desktop-v4 .stock-split #live-stock-chart{padding:14px!important}
 .stock-split .stock-controls{grid-template-columns:minmax(0,1fr) auto}
 .stock-split .stock-controls>label{display:flex;gap:5px}
 .stock-split .stock-controls select{max-width:140px}
 .stock-split .stock-choice-meta{gap:3px 7px}
 html body.desktop-v4 .opt-scene-body>.opt-reference{margin:0 10px 10px;padding:12px}
 .opt-scene-body .opt-reference-columns,.opt-scene-body .opt-reference-current,.opt-scene-body .opt-reference button{grid-template-columns:minmax(0,1fr) 83px 73px}
 html body.desktop-v4 .opt-scene-caption{padding:10px 10px 0}
}

/* Once analysis exists, one title and its controls are enough. */
html body.desktop-v4 #r5-picker.optimizer-ready{display:none!important}
html body.desktop-v4 .optimizer-hero-panel>.live-panel-title h1{font-size:20px!important;line-height:1.5;margin:0!important;letter-spacing:normal}
@media(max-width:760px){html body.desktop-v4 .optimizer-hero-panel>.live-panel-title h1{font-size:18px!important}}

/* Compact the directory controls, preserving the existing stock name size. */
html body.desktop-v4 .stock-split .stock-controls :is(input,select){height:36px!important;min-height:36px!important;padding:6px 9px!important}
html body.desktop-v4 .stock-split #stock-shuffle{min-height:32px;padding:4px 7px}
html body.desktop-v4 .stock-split .stock-controls{gap:6px;margin-bottom:7px}
html body.desktop-v4 .stock-split .stock-list-options{gap:5px 12px;margin-bottom:7px}
html body.desktop-v4 .stock-split .stock-list-options input{width:16px;height:16px;min-height:0;margin:0}
html body.desktop-v4 .stock-split #live-filters{gap:8px}
html body.desktop-v4 .stock-split #live-filters select{height:34px;min-height:34px;padding:5px 9px}
html body.desktop-v4 .stock-split .results-summary{margin:7px 0}
html body.desktop-v4 .stock-split .stock-choice{padding:6px 0!important}
@media(max-width:760px){html body.desktop-v4 .stock-split .stock-controls :is(input,select){height:40px!important;min-height:40px!important}html body.desktop-v4 .stock-split #live-filters select{height:40px;min-height:40px}}

/* Fund overview: two useful cards first, then a full-width chart. */
html body.desktop-v4 .fund-overview-two-stage{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start}
html body.desktop-v4 .fund-overview-two-stage>.live-panel{min-width:0;padding:20px!important;order:0!important}
html body.desktop-v4 .fund-overview-two-stage>.fund-bubble-panel{grid-column:1/-1}
html body.desktop-v4 .fund-overview-two-stage h2{font-size:18px!important;line-height:1.5}
.fund-overview-two-stage #fund-bubble-chart{height:340px}
.fund-overview-two-stage .fund-leader-name{font-size:15px;line-height:1.5}
.fund-overview-two-stage .fund-leader-columns{gap:24px}
.fund-overview-two-stage .fund-leader-row{padding:9px 0}
.fund-overview-two-stage .fund-bubble-readout{padding:16px}
.fund-overview-two-stage .fund-bubble-picker select{min-height:44px;font-size:15px}
.fund-overview-two-stage .data-note{font-size:14px;line-height:1.7}
.fund-overview-two-stage .fund-selection-empty{margin:0}
/* Keep the next action within reach without covering the final content. */
html:has(body.fund-dock-visible){scroll-padding-bottom:calc(var(--fund-dock-space,0px) + var(--fund-dock-bottom,12px))}
html body.desktop-v4.fund-dock-visible .fund-flow-workspace{padding-bottom:var(--fund-dock-space,150px)!important}
html body.desktop-v4 .fund-flow-workspace #real-dock{position:fixed!important;left:50%!important;bottom:var(--fund-dock-bottom,12px)!important;transform:translateX(-50%)!important;width:min(1180px,calc(100% - 32px))!important;max-width:none!important;margin:0!important;padding:14px 18px!important;z-index:75;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:16px;background:var(--mm-surface);box-shadow:0 8px 32px #0f172a26;gap:16px}
html body.desktop-v4 .fund-flow-workspace #real-dock>.fund-dock-selection{display:flex;flex-wrap:wrap;gap:8px 14px;min-width:0}
html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-count{display:flex;flex-direction:column;gap:2px}
html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-count b{font-size:23px;line-height:1.3;white-space:nowrap}
html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-count small{font-size:14px;color:var(--muted);font-weight:500}
html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-count>span{font-size:13px;color:var(--muted)}
html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips{display:flex!important;gap:6px;flex-wrap:wrap}
html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips button{min-height:36px;font-size:14px;max-width:none;padding:6px 10px;white-space:nowrap}
html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-clear{font-size:14px;padding:6px;min-height:36px;white-space:nowrap}
html body.desktop-v4 .fund-flow-workspace #real-dock .r5-dock-actions{display:flex;flex-shrink:0;gap:10px}
html body.desktop-v4 .fund-flow-workspace #real-dock .btn{font-size:15px!important;min-height:44px;padding:10px 16px;white-space:nowrap;text-align:center;justify-content:center}
html body.desktop-v4 .fund-flow-workspace #real-dock .next-dock-allocation{background:var(--accent);border-color:var(--accent);color:#172237}
html body.desktop-v4 .fund-flow-workspace #real-dock .btn:disabled{opacity:1;background:var(--mm-soft);border-color:var(--line);color:var(--muted);cursor:not-allowed}
@media(max-width:999px){
 html body.desktop-v4 .fund-flow-workspace #real-dock{display:grid;gap:10px;padding:12px!important;width:calc(100% - 24px)!important}
 html body.desktop-v4 .fund-flow-workspace #real-dock>.fund-dock-selection{gap:6px 10px;align-items:center}
 html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-count{flex-direction:row;align-items:center;gap:8px}
 html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-clear{margin-left:auto}
 html body.desktop-v4 .fund-flow-workspace #real-dock .r5-dock-actions{width:100%;gap:8px}
 html body.desktop-v4 .fund-flow-workspace #real-dock .r5-dock-actions>*{flex:1;min-width:0}
 html body.desktop-v4 .fund-flow-workspace #real-dock .btn{font-size:15px!important;white-space:normal;padding:9px 10px}
}
@media(max-width:760px){
 html body.desktop-v4 .fund-overview-two-stage{grid-template-columns:minmax(0,1fr);gap:14px}
 html body.desktop-v4 .fund-overview-two-stage>.live-panel{padding:16px!important}
 html body.desktop-v4 .fund-overview-two-stage h2{font-size:18px!important}
 .fund-overview-two-stage .fund-leader-columns{gap:16px}
 html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-count>span{font-size:13px}
 html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips{gap:5px}
}
@media(max-width:760px){
 html body.desktop-v4 .fund-flow-workspace #real-dock>.fund-dock-selection{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px}
 html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-count{grid-column:1;grid-row:1;flex-wrap:wrap}
 html body.desktop-v4 .fund-flow-workspace #real-dock .fund-dock-clear{grid-column:2;grid-row:1}
 html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips{grid-column:1/-1;grid-row:2;flex-wrap:nowrap;max-width:100%}
 html body.desktop-v4 .fund-flow-workspace #real-dock .dock-chips button{flex:0 1 auto;min-width:0;overflow-wrap:anywhere;white-space:normal}
 /* Explicit mobile cells prevent the old table and card rules from colliding. */
 html body.desktop-v4 #real-fund-directory .fund-live-table tbody tr{position:relative;display:grid!important;grid-template-columns:36px repeat(2,minmax(0,1fr))!important;gap:8px 10px!important;padding:14px 0!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table tbody td{min-width:0;width:auto!important;padding:0!important;text-align:left!important;justify-self:stretch!important;font-size:14px!important;line-height:1.5}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(1){grid-area:1/1/3/2!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(2){grid-area:1/2/2/4!important;padding-right:48px!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(3){display:none!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(4){grid-area:3/2/4/3!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(5){grid-area:3/3/4/4!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(6){grid-area:4/2/5/3!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(7){grid-area:4/3/5/4!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(8){grid-area:2/2/3/4!important;display:flex!important;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(9){position:absolute;right:0;top:14px;grid-area:auto!important;width:40px!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(4):before{content:'信託報酬（年率）'}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(5):before{content:'1年リターン'}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(6):before{content:'リスク（年率）'}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(7):before{content:'NISA'}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(n+4):nth-child(-n+7):before{display:block;color:var(--muted);font-size:12px;line-height:1.5;font-weight:400}
 html body.desktop-v4 #real-fund-directory .fund-live-table .live-name strong{font-size:15px!important;line-height:1.5}
 html body.desktop-v4 #real-fund-directory .fund-live-table .live-name small{font-size:12px!important;line-height:1.5}
 html body.desktop-v4 #real-fund-directory .fund-live-table .fund-quote-amount{display:flex;align-items:baseline;gap:5px}
 html body.desktop-v4 #real-fund-directory .fund-live-table .fund-quote-amount strong{font-size:19px!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table .fund-quote-date{font-size:12px!important}
}

#real-dock .fund-dock-short-label{display:none}
@media(max-width:760px){#real-dock .fund-dock-full-label{display:none}#real-dock .fund-dock-short-label{display:inline}}
/* Shared button rules style nested labels; keep this action as readable as its button. */
html body.desktop-v4 .fund-flow-workspace #real-dock .next-dock-allocation{color:#172237!important}
html body.desktop-v4 .fund-flow-workspace #real-dock .btn>span{font:inherit!important;color:inherit!important;line-height:inherit!important}
/* Reserve space at the document end so the floating bar cannot hide footer links. */
html body.desktop-v4.fund-dock-visible{padding-bottom:calc(var(--fund-dock-space,150px) + var(--fund-dock-bottom,12px))!important}
html body.desktop-v4.fund-dock-visible .fund-flow-workspace{padding-bottom:0!important}

/* The stock list and its chart share a row; pagination never sends the reader uphill. */
html body.desktop-v4 .stock-split{align-items:stretch!important;overflow-anchor:none}
html body.desktop-v4 .stock-split #live-directory,html body.desktop-v4 .stock-split #live-stock-chart{align-self:stretch!important}
html body.desktop-v4 .stock-split #live-directory{display:flex;flex-direction:column;min-width:0;overflow:visible!important;max-height:none!important}
html body.desktop-v4 .stock-split #live-stock-rows{flex:1;display:flex;min-width:0}
html body.desktop-v4 .stock-split .stock-choice-list{display:flex;flex-direction:column;width:100%}
html body.desktop-v4 .stock-split #live-directory:has(.stock-choice:nth-child(8)) .stock-choice{flex:1}
html body.desktop-v4 .stock-split #live-pages{position:sticky;bottom:12px;z-index:20;flex-shrink:0;margin-top:10px;background:var(--mm-surface);border-top:1px solid var(--line);box-shadow:0 -8px 12px var(--mm-surface);border-radius:0 0 10px 10px}
html body.desktop-v4 .stock-split #live-pages .live-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:10px 0 0;min-height:50px;font-size:14px}
html body.desktop-v4 .stock-split #live-pages button{min-height:40px;padding:7px 12px;font-size:14px;white-space:nowrap}
html body.desktop-v4 .stock-split #live-pages [role="status"]{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:1050px){html body.desktop-v4 .stock-split{align-items:start!important}html body.desktop-v4 .stock-split #live-pages{bottom:12px}}
@media(max-width:760px){html body.desktop-v4 .stock-split #live-pages{bottom:calc(80px + env(safe-area-inset-bottom));border-radius:10px;padding:0 8px 8px;border:1px solid var(--line);box-shadow:0 3px 14px #17223714}html body.desktop-v4 .stock-split #live-pages .live-pagination{padding-top:8px}}
@media(min-width:1051px){html body.desktop-v4 .stock-split #live-directory:not(:has(.stock-choice:nth-child(8))){align-self:start!important}}

.billing-page{padding-block:28px;max-width:1240px}.billing-page>header{margin-bottom:22px}.billing-page h1{font-size:30px;margin:5px 0}.billing-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,.9fr);gap:20px;align-items:start}.billing-layout>*{min-width:0;padding:24px}.billing-cycles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.billing-cycles button{display:flex;flex-direction:column;align-items:start;gap:5px;border:1px solid var(--line,#d8e1ed);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#192b42);padding:18px;font:inherit;cursor:pointer}.billing-cycles button[aria-pressed=true]{border:2px solid #ed710e;padding:17px;background:#fff6ed}.billing-cycles strong{font-size:30px;line-height:1.3}.billing-cycles small{font-size:14px}.billing-page table{width:100%;border-collapse:collapse;font-size:15px}.billing-page th,.billing-page td{padding:12px 9px;border-bottom:1px solid #dde4ee;text-align:left;vertical-align:middle;line-height:1.6}.billing-page td{white-space:nowrap}.billing-page h2{font-size:22px;margin:0 0 16px}.billing-page h3{font-size:19px}.billing-page p{line-height:1.8}.billing-page .member-field{display:grid;gap:8px;margin:16px 0}.billing-page input:not([type=checkbox]){width:100%;font:inherit;padding:12px;border:1px solid #bccbdf;border-radius:8px;background:#fff;color:#192b42;min-height:48px}.billing-page #payjp-next-card{display:block;min-height:50px;padding:15px 12px;border:1px solid #bccbdf;border-radius:8px;background:#fff}.billing-page .member-check{display:flex;gap:10px;align-items:start;font-size:15px;margin:18px 0}.billing-page [role=alert]{color:#a52a22}.billing-badge{display:inline-block;padding:8px 12px;background:#e9f5ef;color:#126848;border-radius:8px;font-weight:700}.billing-contract dl div{display:flex;gap:15px;justify-content:space-between;flex-wrap:wrap}.billing-contract dd{margin:0;font-weight:700}.billing-confirm{border:1px solid #ecb58e;background:#fff8f2;padding:16px;border-radius:10px;margin:14px 0}.billing-links{display:flex;flex-wrap:wrap;gap:10px 15px;padding-top:20px;border-top:1px solid #dde4ee;margin-top:24px;font-size:14px}.billing-terms{padding:24px;margin-top:20px}.billing-page .btn{font-size:16px;min-height:46px;white-space:normal}.billing-page .text-button{margin:12px 0}.billing-total{font-size:15px;color:#4b617b}.billing-page a{color:#a94412}.billing-page .btn.dark{color:#fff}.billing-page #payjp-next-checkout>button{width:100%}.billing-page .data-note{font-size:14px}.billing-page .text-link{display:block;margin-top:15px}html[data-theme=dark] .billing-cycles button[aria-pressed=true],html[data-theme=dark] .billing-confirm{background:#31271f;color:#f0f3f8}html[data-theme=dark] .billing-total{color:#bac9dd}html[data-theme=dark] .billing-badge{background:#173a2b;color:#b8eed4}@media(max-width:800px){.billing-layout{grid-template-columns:1fr}.billing-layout>*{padding:18px}.billing-page{padding-block:18px}.billing-page h1{font-size:26px}.billing-page th,.billing-page td{padding:10px 6px;font-size:14px}.billing-cycles strong{font-size:27px}.billing-cycles button{padding:14px}.billing-cycles button[aria-pressed=true]{padding:13px}}

.nisa-reference{padding:24px}.nisa-reference-notice{border-left:4px solid #e67c23;background:#fff7ed;padding:14px;line-height:1.8}.nisa-reference-notice strong{display:block}.nisa-reference-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.nisa-reference-cards article{border:1px solid #dce4ef;border-radius:12px;padding:18px;display:grid;gap:10px}.nisa-reference-cards strong{font-size:28px}.nisa-reference-cards small{font-size:14px;line-height:1.7}.nisa-meter{height:9px;background:#edf1f7;border-radius:8px;overflow:hidden}.nisa-meter i{display:block;height:100%;background:#ef812f}.nisa-bars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;height:180px;align-items:end}.nisa-bars>div{display:grid;justify-items:center;gap:8px}.nisa-bar{width:70%;background:#408fbb;display:flex;flex-direction:column;justify-content:end;min-height:2px;border-radius:4px 4px 0 0;overflow:hidden}.nisa-bar i{background:#f28a3b;display:block;width:100%}.nisa-reference table{width:100%;border-collapse:collapse}.nisa-reference td,.nisa-reference th{padding:13px;border-bottom:1px solid #dce4ef;text-align:left}.nisa-reference td:last-child{white-space:nowrap;text-align:right}.nisa-reference td small{display:block;color:#61738a}.nisa-reference p{line-height:1.8}@media(max-width:800px){.nisa-reference{padding:18px}.nisa-reference-cards{grid-template-columns:1fr}.nisa-bars{gap:3px}.nisa-bars small{font-size:12px}.nisa-reference td,.nisa-reference th{padding:10px 6px}}

.wrap.billing-page{max-width:1240px;width:calc(100% - 40px);font-size:16px}.billing-heading{padding:4px 0 20px}.billing-heading p{margin:7px 0 0}.billing-side{padding:0}.billing-side>.live-panel{padding:24px}.billing-side .billing-terms{margin-top:20px}.billing-page .billing-plans table th,.billing-page .billing-plans table td{font-size:16px;padding:12px 10px}.billing-page .billing-plans table td{text-align:center}.billing-page .billing-plans table th:first-child{width:50%}.billing-page .billing-cycles button[aria-pressed=true]{background:#fff3e6!important;color:#172b42!important;border:2px solid #eb7624!important}.billing-page .billing-cycles small{color:#526880!important}.billing-page .billing-total{font-size:15px}.billing-page .billing-cycles strong{font-size:30px}.billing-page .billing-links a{font-size:14px}.billing-page .billing-contract .btn{font-size:16px!important;padding:12px 16px!important}.billing-page .billing-contract #billing-status>p{font-size:16px}.billing-page .billing-side .billing-terms h2{font-size:19px}.billing-page .billing-side .billing-terms p{font-size:15px}@media(max-width:800px){.wrap.billing-page{width:calc(100% - 28px)}.billing-side>.live-panel{padding:18px}.billing-page .billing-plans table th,.billing-page .billing-plans table td{font-size:15px;padding:10px 6px}.billing-page .billing-plans table td{white-space:normal}.billing-page .billing-cycles strong{font-size:28px}}

.billing-page .member-table-scroll table{min-width:0!important;table-layout:fixed}.billing-page .member-table-scroll{min-width:0;max-width:100%}@media(max-width:800px){.billing-page .billing-plans table th:first-child{width:48%}.billing-page .billing-plans table td{overflow-wrap:break-word}.billing-page .billing-plans table th,.billing-page .billing-plans table td{padding:10px 5px}}

.billing-page .billing-plans table th{white-space:normal!important;overflow-wrap:anywhere;word-break:normal}.billing-page .billing-plans table td{white-space:normal!important}@media(max-width:800px){.billing-page .billing-plans table td,.billing-page .billing-plans table th{padding:10px 4px;line-height:1.65}.billing-page .billing-plans table th:first-child{width:48%}}

@media(max-width:800px){.billing-page .billing-plans table thead th:last-child{white-space:nowrap!important;overflow-wrap:normal;padding-left:1px;padding-right:1px}}

.campaign-entry{display:flex;align-items:center;gap:16px;border:1px solid #edba8d;background:#fff8f0;color:#233148;border-radius:14px;padding:15px 20px;margin:18px 0 28px;font-size:16px}.campaign-entry-badge{background:#a84312;color:#fff;border-radius:7px;padding:7px 10px;font-size:14px;font-weight:700;white-space:nowrap}.campaign-entry>div{flex:1;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}.campaign-entry a{color:#a33b0c;font-weight:700;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}
dialog.campaign-popup{box-sizing:border-box;width:min(710px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 28px);height:fit-content;margin:auto;padding:0;border:1px solid #f2b886;border-radius:22px;background:#fff;color:#1b2b42;box-shadow:0 24px 90px #0f172a55;overflow:auto;font-family:inherit}dialog.campaign-popup::backdrop{background:#11182799;backdrop-filter:blur(3px)}.campaign-popup *{box-sizing:border-box}.campaign-popup-heading{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;border-bottom:1px solid #f2e5db}.campaign-popup-heading>span{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:700}.campaign-popup-close{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #d8e0ec;border-radius:50%;font:inherit;font-size:30px;line-height:1;color:#30415b;background:#fff;cursor:pointer}.campaign-popup-body{padding:18px 28px 20px}.campaign-popup-kicker{margin:0 0 5px;color:#a64214;font-size:16px;font-weight:700}.campaign-popup h2{margin:0;font-size:32px;line-height:1.35;letter-spacing:0}.campaign-popup h2 span{color:#b5400c}.campaign-popup-period{font-size:14px;line-height:1.6;margin:10px 0 16px;color:#526174}.campaign-popup-prizes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.campaign-popup-prize{display:grid;grid-template-columns:36px 1fr;column-gap:10px;align-items:center;padding:17px 15px;border-radius:13px;background:#fff5e8;border:1px solid #edc49a}.campaign-popup-prize.premium{background:#f5f2ff;border-color:#d7ccf2}.campaign-prize-icon{grid-row:span 2;font-size:28px;color:#7450ad}.campaign-popup-prize h3{font-size:17px;line-height:1.55;margin:0;font-weight:700}.campaign-popup-prize strong{font-size:19px;color:#9b380b}.campaign-popup-prize.premium strong{color:#64449b}.campaign-popup-steps{list-style:none;counter-reset:campaign;display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;padding:0;margin:18px 0;font-size:15px;line-height:1.55}.campaign-popup-steps li{counter-increment:campaign;position:relative;padding-left:30px}.campaign-popup-steps li::before{content:counter(campaign);position:absolute;left:0;top:1px;width:23px;height:23px;border-radius:50%;display:grid;place-items:center;background:#fff0df;color:#a3410d;font-size:13px;font-weight:700}.campaign-popup-steps li>span{display:block;color:#596a80;font-size:13px}.campaign-popup-cta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px;border-radius:11px;background:#ff781c;color:#17273d!important;text-decoration:none;font-size:18px;font-weight:800;line-height:1.5}.campaign-popup-note{font-size:13px;line-height:1.65;color:#526174;margin:10px 0}.campaign-popup-actions{display:flex;justify-content:center;gap:18px}.campaign-popup-actions button{background:transparent;border:0;min-height:44px;padding:8px;color:#455a74;font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.campaign-popup :focus-visible,.campaign-entry a:focus-visible{outline:3px solid #276eb9;outline-offset:3px}
@media(min-width:601px){.campaign-popup h2 br{display:none}.campaign-popup-body{padding:16px 28px 14px}.campaign-popup-prize{padding:14px 15px}.campaign-popup-prize h3{text-wrap:balance}}
@media(max-width:600px){.campaign-entry{gap:10px;padding:13px;flex-wrap:wrap}.campaign-entry>div{flex-basis:65%;gap:3px}.campaign-entry>div span{font-size:14px}.campaign-entry a{margin-left:auto}.campaign-popup-heading{padding:9px 14px}.campaign-popup-body{padding:14px 16px}.campaign-popup h2{font-size:27px}.campaign-popup-period{margin:7px 0 12px}.campaign-popup-prizes{gap:9px}.campaign-popup-prize{padding:12px 10px;grid-template-columns:1fr;gap:4px}.campaign-prize-icon{display:none}.campaign-popup-prize h3{font-size:16px}.campaign-popup-prize strong{font-size:18px}.campaign-popup-steps{gap:10px;margin:14px 0}.campaign-popup-steps li{padding-left:27px}.campaign-popup-cta{font-size:17px;padding:13px}.campaign-popup-note{font-size:13px}}

.campaign-popup-prize strong>span{white-space:nowrap}.campaign-popup-prize strong small{font-size:14px;font-weight:700;white-space:nowrap}@media(max-width:600px){.campaign-popup-prize strong>span,.campaign-popup-prize strong small{display:block}.campaign-popup-steps{grid-template-columns:1fr;gap:8px}.campaign-popup-steps li>span{font-size:13px}.campaign-popup-prize h3{line-height:1.5}}

/* Shared reading scale. Reflow the layout rather than shrinking text to fit. */
html body.desktop-v4{font-size:17px;line-height:1.65}
html body.desktop-v4 .refined-header{gap:22px;padding-inline:max(24px,calc((100vw - 1440px)/2))}
html body.desktop-v4 #primary-navigation{gap:22px;min-width:0}
html body.desktop-v4 #primary-navigation>a{font-size:18px!important;line-height:1.4;padding:0!important;align-items:center;letter-spacing:0}
html body.desktop-v4 .refined-header .brand span{font-size:25px}
html body.desktop-v4 .refined-header .nav-finder{flex-shrink:0;min-width:40px;width:40px;height:40px}
html body.desktop-v4 #account-area>:is(a,button){font-size:15px;line-height:1.4;min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px}
html body.desktop-v4 #account-area .account-my{display:none}
html body.desktop-v4 #account-area .account-watch{font-size:23px;padding:4px 9px}
html body.desktop-v4 .workspace-tabs{gap:28px;min-height:52px;align-items:stretch}
html body.desktop-v4 .workspace-tabs>a{font-size:16px!important;line-height:1.5;padding:13px 0 12px;display:flex;align-items:center}
html body.desktop-v4 :is(.work-head,.v3-page-title,.fund-overview-heading,.r10-page-heading) h1{font-size:28px!important;line-height:1.45;letter-spacing:-.3px}
html body.desktop-v4 :is(.live-panel-title,.member-card) h2,
html body.desktop-v4 .fund-overview-two-stage h2,
html body.desktop-v4 .r12-market-grid .live-panel-title h2{font-size:22px!important;line-height:1.5}
html body.desktop-v4 .optimizer-hero-panel>.live-panel-title h1{font-size:26px!important;line-height:1.5}
html body.desktop-v4 :is(.live-panel,.member-card,.refined-panel)>p,
html body.desktop-v4 :is(.data-note,.member-note,.live-provenance,.live-panel-title p,.next-info,.r10-reading-note,.r10-chart-reading){font-size:15px!important;line-height:1.75!important}
html body.desktop-v4 :is(.btn,.text-link){font-size:16px;line-height:1.5}
html body.desktop-v4 .btn{min-height:44px;white-space:normal}
html body.desktop-v4 :is(.compact-tabs,.next-detail-tabs,.community-tabs,.r8-opt-view-tabs) button{font-size:15px!important;line-height:1.5;min-height:42px}
html body.desktop-v4 :is(.filter-group,.filter-select,.stock-controls,.stock-list-options,.fund-filter-row,.fund-advanced-filters,.r5-picker-filters) :is(label,summary){font-size:15px!important;line-height:1.6}
html body.desktop-v4 :is(.live-workspace,.my-layout,.tool-workspace) :is(input:not([type=checkbox]):not([type=range]):not([type=radio]),select,textarea){font-size:16px!important;line-height:1.5;min-height:44px}
html body.desktop-v4 .results-summary{font-size:15px;line-height:1.6;flex-wrap:wrap;gap:8px}
html body.desktop-v4 .results-summary :is(p,small,span){font-size:14px}
html body.desktop-v4 .results-summary strong{font-size:20px}
html body.desktop-v4 :is(.live-pagination,.live-pagination button){font-size:15px!important;line-height:1.5}
html body.desktop-v4 .live-pagination button{min-height:40px}
/* Financial tables keep a shared baseline and a separate line for units. */
html body.desktop-v4 .live-table :is(th,td){font-size:16px;line-height:1.6;vertical-align:middle;padding:13px 12px}
html body.desktop-v4 .live-table th{font-size:14px;font-weight:750}
html body.desktop-v4 .live-table :is(th,td) small{font-size:13px;line-height:1.55}
html body.desktop-v4 .live-name strong{font-size:17px;line-height:1.55}
html body.desktop-v4 .live-name small{font-size:14px;line-height:1.6}
html body.desktop-v4 .fund-live-table th:nth-child(1){width:48px}
html body.desktop-v4 .fund-live-table th:nth-child(2){width:31%}
html body.desktop-v4 .fund-live-table th:nth-child(4){width:12%}
html body.desktop-v4 .fund-live-table th:nth-child(5){width:11%}
html body.desktop-v4 .fund-live-table th:nth-child(6){width:10%}
html body.desktop-v4 .fund-live-table th:nth-child(7){width:12%}
html body.desktop-v4 .fund-live-table th:nth-child(8){width:16%}
html body.desktop-v4 .fund-live-table th:nth-child(9){width:48px}
html body.desktop-v4 .fund-live-table .fund-quote-amount strong{font-size:21px}
html body.desktop-v4 .fund-live-table .fund-quote-date{font-size:14px}
html body.desktop-v4 .fund-live-table .fund-fee-heading :is(span,small){white-space:nowrap;display:block}
html body.desktop-v4 .fund-live-table .fund-watch-button{width:38px;min-height:38px}
html body.desktop-v4 .fund-overview-two-stage :is(.fund-bubble-picker select,.fund-leader-name){font-size:16px;line-height:1.6}
html body.desktop-v4 .fund-overview-two-stage :is(.fund-leader-row small,.fund-bubble-legend,.fund-watch-heading,.fund-chart-method){font-size:14px;line-height:1.6}
html body.desktop-v4 .fund-overview-two-stage .fund-bubble-readout .actions{flex-wrap:wrap}
html body.desktop-v4 .fund-overview-two-stage .fund-bubble-readout .actions>*{font-size:15px;min-height:40px}
html body.desktop-v4 .fund-rank-list .rank-product strong{font-size:16px}
html body.desktop-v4 .fund-rank-list :is(.rank-product small,.rank-result small,.rank-period,.rank-footnote,.rank-method){font-size:13px;line-height:1.6}
html body.desktop-v4 .fund-rank-list .rank-actions button{font-size:14px;min-height:38px}
/* The larger stock labels use a wider column, without nested scrolling. */
@media(min-width:1051px){html body.desktop-v4 .stock-split{grid-template-columns:370px minmax(0,1fr)}}
html body.desktop-v4 .stock-split .stock-choice-summary>strong{font-size:16px;line-height:1.5}
html body.desktop-v4 .stock-split .stock-choice-price{max-width:none}
html body.desktop-v4 .stock-split .stock-choice-price>strong{font-size:18px;line-height:1.5}
html body.desktop-v4 .stock-split .stock-choice :is(small,time){font-size:13px;line-height:1.5}
html body.desktop-v4 .stock-split .stock-choice{gap:12px;padding:10px 0!important}
html body.desktop-v4 .stock-split .stock-controls :is(input,select),
html body.desktop-v4 .stock-split #live-filters select{height:44px!important;min-height:44px!important;font-size:16px!important}
html body.desktop-v4 .stock-split :is(#stock-shuffle,#live-reset){font-size:15px;line-height:1.5}
html body.desktop-v4 .stock-split .live-price-panel h2{font-size:27px!important}
html body.desktop-v4 .live-ohlc{font-size:15px;line-height:1.6;gap:8px 16px}
/* News, portfolio explanations and optimizer controls share the reading scale. */
html body.desktop-v4 :is(.live-news-item,.news-list-item,.r2-news-item) h3{font-size:20px;line-height:1.6}
html body.desktop-v4 :is(.live-news-item,.news-list-item,.r2-news-item) :is(time,small){font-size:14px;line-height:1.6}
html body.desktop-v4 :is(.actual-article,.member-doc-block){font-size:17px;line-height:1.9}
html body.desktop-v4 :is(.real-allocation,.real-method,.opt-history,.r5-picker-layout){font-size:16px;line-height:1.7}
html body.desktop-v4 :is(.real-allocation,.real-method,.opt-history,.r5-picker-layout) :is(small,label,summary){font-size:14px;line-height:1.65}
html body.desktop-v4 .real-allocation .allocation-label{font-size:17px}
html body.desktop-v4 .r5-product-option{font-size:16px;line-height:1.6;height:auto;min-height:72px}
html body.desktop-v4 .r5-product-option small{font-size:14px;line-height:1.5}
html body.desktop-v4 .r8-opt-route :is(span,small){font-size:14px;line-height:1.6}
html body.desktop-v4 .live-chart-toolbar{gap:10px;flex-wrap:wrap}
html body.desktop-v4 .live-chart-toolbar button{font-size:15px;min-height:42px}
/* Member values retain their large headline sizes; supporting copy is readable. */
html body.desktop-v4.member-workspace :is(.r10-household,.r10-dividend,.r10-portfolio-detail){font-size:17px}
html body.desktop-v4.member-workspace :is(.r8-review-grid,.r2-status,.r8-ai-list,.r6-ai-checks,.r6-analysis-open,.r10-check,.r10-local-analysis,.r10-cached-household,.r10-ledger-aside) :is(p,ul){font-size:16px!important;line-height:1.75!important}
html body.desktop-v4.member-workspace :is(.r8-review-grid,.r2-status,.r6-analysis-open,.r10-check,.r10-local-analysis,.r10-cached-household,.r10-ledger-aside,.r2-hero-stats) :is(small,span){font-size:14px;line-height:1.65}
html body.desktop-v4.member-workspace :is(.r6-ai-date-note,.r8-review-heading>p,.r10-page-heading p,.r2-asset-hero>p,.r8-asset-reading){font-size:15px!important;line-height:1.75!important}
html body.desktop-v4.member-workspace :is(.r10-dividend-register,.next-holdings) :is(th,td){font-size:16px!important;line-height:1.6}
html body.desktop-v4.member-workspace .next-holdings td:first-child>button{font-size:17px!important}
html body.desktop-v4.member-workspace :is(.next-holdings td small,.r10-dividend-register td small){font-size:14px!important}
html body.desktop-v4.member-workspace :is(.r10-chart-reading,.r10-reading-note){font-size:15px!important;line-height:1.75!important}
html body.desktop-v4.member-workspace :is(.r10-budget-caption,.r10-budget-foot,.r10-budget-numbers span,.r10-budget-numbers small,.r10-key-row,.r10-event-note){font-size:14px;line-height:1.7}
html body.desktop-v4.member-workspace :is(.next-assets-toolbar nav>a,.my-nav a,.my-nav a strong){font-size:16px;line-height:1.5;min-height:42px}
html body.desktop-v4 .r12-market-page .live-dashboard>article>span{font-size:15px!important;line-height:1.5}
html body.desktop-v4 .r12-market-page .live-dashboard>article>span>small,
html body.desktop-v4 .r12-market-page .live-dashboard>article>small{font-size:13px!important;line-height:1.5}
html body.desktop-v4 .r12-market-page .live-dashboard>article>strong{font-size:22px!important}
html body.desktop-v4 .r12-market-page .live-dashboard>article>b{font-size:14px}
html body.desktop-v4 footer :is(a,p,li){font-size:15px;line-height:1.65}
html body.desktop-v4 footer .footer-faq-copy strong{font-size:19px}
html body.desktop-v4 footer .footer-faq-copy small{font-size:14px}
html body.desktop-v4 footer .copyright{font-size:13px;line-height:1.6}
/* Tablet navigation gets a real second row, preserving all destinations. */
@media(min-width:761px) and (max-width:1180px){
 html body.desktop-v4 .refined-header{height:112px;min-height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:64px 48px;gap:0 14px;padding-inline:24px}
 html body.desktop-v4 .refined-header>.brand{grid-area:1/1}
 html body.desktop-v4 #account-area{grid-area:1/2}
 html body.desktop-v4 .refined-header>.next-theme-toggle{grid-area:1/3}
 html body.desktop-v4 #primary-navigation{grid-area:2/1/3/4;gap:26px;align-self:stretch;width:100%}
 html body.desktop-v4 #primary-navigation>a{flex-shrink:0}
 html body.desktop-v4 .workspace-bar{top:112px}
 html:has(body.desktop-v4){scroll-padding-top:176px}
}
@media(max-width:1050px) and (min-width:761px){
 html body.desktop-v4 .fund-live-table :is(th,td){padding-inline:7px}
 html body.desktop-v4 .fund-live-table th:nth-child(2){width:26%}
 html body.desktop-v4 .fund-live-table th:nth-child(8){width:20%}
}
@media(max-width:760px){
 html body.desktop-v4{font-size:16px}
 html body.desktop-v4 .refined-header{padding-inline:14px;gap:10px}
 html body.desktop-v4 .refined-header .brand span{font-size:22px}
 html body.desktop-v4 #primary-navigation{gap:0;flex:1;justify-content:flex-end}
 html body.desktop-v4 #primary-navigation>a{display:none!important}
 html body.desktop-v4 #account-area>:is(a,button){font-size:14px;padding:7px 9px;min-height:38px}
 html body.desktop-v4 #account-area .account-watch{font-size:22px;padding:4px 7px}
 html body.desktop-v4 .workspace-tabs{gap:24px;min-height:50px}
 html body.desktop-v4 .workspace-tabs>a{font-size:16px!important;padding-block:12px 10px}
 html body.desktop-v4 .v3-bottom-nav{gap:0;padding:7px 6px calc(7px + env(safe-area-inset-bottom));align-items:start}
 html body.desktop-v4 .v3-bottom-nav a{font-size:12px!important;line-height:1.4;padding:0 3px;min-width:0;overflow-wrap:normal}
 html body.desktop-v4 .v3-bottom-nav a span{font-size:12px!important;line-height:1.4;white-space:normal}
 html body.desktop-v4 .v3-bottom-nav a b{font-size:22px;line-height:1.3}
 html body.desktop-v4 :is(.live-panel-title,.member-card) h2,
 html body.desktop-v4 .fund-overview-two-stage h2,
 html body.desktop-v4 .r12-market-grid .live-panel-title h2{font-size:21px!important}
 html body.desktop-v4 :is(.work-head,.v3-page-title,.fund-overview-heading,.r10-page-heading) h1{font-size:26px!important}
 html body.desktop-v4 .fund-overview-two-stage .fund-leader-columns{gap:18px}
 html body.desktop-v4 #real-fund-directory .fund-live-table tbody td{font-size:16px!important;line-height:1.6}
 html body.desktop-v4 #real-fund-directory .fund-live-table .live-name strong{font-size:17px!important}
 html body.desktop-v4 #real-fund-directory .fund-live-table .live-name small,
 html body.desktop-v4 #real-fund-directory .fund-live-table .fund-quote-date{font-size:14px!important;line-height:1.6}
 html body.desktop-v4 #real-fund-directory .fund-live-table td:nth-child(n+4):nth-child(-n+7):before{font-size:13px}
 html body.desktop-v4 #real-fund-directory .fund-live-table .fund-quote-amount strong{font-size:21px!important}
 html body.desktop-v4 .r12-market-page .live-dashboard>article{grid-template-columns:minmax(0,1fr) auto auto;gap:4px 10px}
 html body.desktop-v4 .r12-market-page .live-dashboard>article>strong{font-size:22px!important}
}
@media(max-width:360px){html body.desktop-v4 .refined-header>.brand span{display:none}html body.desktop-v4 .refined-header{gap:8px}}
html body.desktop-v4 .v4-lp-copy>p{font-size:18px!important;line-height:1.85}
html body.desktop-v4 .v4-lp-section :is(p,li),html body.desktop-v4 .home-brief-list p{font-size:16px!important;line-height:1.8}
html body.desktop-v4 .home-brief-note{font-size:14px!important;line-height:1.7}
html body.desktop-v4.member-workspace .r10-dividend-table th{font-size:15px!important}
html body.desktop-v4.member-workspace .r10-dividend-table tbody td{font-size:16px!important}
html body.desktop-v4.member-workspace .r10-dividend-table td small,
html body.desktop-v4.member-workspace .r10-dividend-table th small{font-size:14px!important}
html body.desktop-v4.member-workspace .r10-dividend-table td:first-child>button{font-size:18px!important}
html body.desktop-v4.member-workspace .r10-dividend-table td>b{font-size:18px}
@media(min-width:761px) and (max-width:1180px){
 html body.desktop-v4 .refined-header{height:112px!important;min-height:112px!important;max-height:none!important;box-sizing:border-box}
 html body.desktop-v4 #primary-navigation{display:flex!important}
 html body.desktop-v4 #primary-navigation>a{display:flex!important}
}
@media(max-width:760px){
 html body.desktop-v4 .v4-lp-copy>p{font-size:17px!important;line-height:1.8}
 html body.desktop-v4 .v3-bottom-nav{height:auto!important;max-height:none!important;min-height:90px;box-sizing:border-box}
 html body.desktop-v4{padding-bottom:100px}
 html body.desktop-v4 .stock-split #live-pages{bottom:calc(100px + env(safe-area-inset-bottom))}
}
@media(max-width:420px){html body.desktop-v4 .refined-header>.brand span{display:none!important}html body.desktop-v4 .refined-header>.brand{flex:0 0 auto}}
/* Older compact table rules used explicit sizes; align all cells to this scale. */
html body.desktop-v4 #real-fund-directory .fund-live-table th{font-size:15px!important;line-height:1.55}
html body.desktop-v4 #real-fund-directory .fund-live-table td{font-size:16px!important;line-height:1.6}
html body.desktop-v4 #real-fund-directory .fund-live-table .live-name strong{font-size:17px!important;line-height:1.55}
html body.desktop-v4 #real-fund-directory .fund-live-table :is(.live-name small,th small,.fund-quote-date){font-size:14px!important;line-height:1.55}
html body.desktop-v4 #real-fund-directory .fund-live-table .fund-quote-amount strong{font-size:21px!important}
html body.desktop-v4 #real-fund-directory :is(.filter-select,.filter-select span,.fund-quick-filters button,.fund-kind-filters button,.fund-advanced-filters summary,.quality-filter){font-size:15px!important;line-height:1.5}
@media(min-width:761px) and (max-width:1180px){html body.desktop-v4 .refined-header{padding-block:0!important}html body.desktop-v4 #primary-navigation{min-height:0;height:48px}}
html body.desktop-v4 #real-fund-directory :is(.filter-options button,.v3-old-toggle,.fund-advanced-filters summary span,#live-reset){font-size:14px!important;line-height:1.6}
html body.desktop-v4 #real-fund-directory .filter-options button{min-height:36px}
html body.desktop-v4 #real-fund-directory .v3-old-toggle{white-space:normal;align-items:start}
@media(max-width:760px){
 html body.desktop-v4 #real-fund-directory .live-search-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
 html body.desktop-v4 #real-fund-directory .live-search-row>.search{width:100%;min-width:0}
 html body.desktop-v4 #real-fund-directory .live-search-row>.filter-select{display:flex;align-items:center;justify-content:space-between;gap:12px}
 html body.desktop-v4 #real-fund-directory .live-search-row select{width:auto;min-width:190px;max-width:75%}
}
html body.desktop-v4 .stock-split .stock-choice{flex:1 0 auto!important;min-height:min-content!important}
html body.desktop-v4 :is(.chart-change-dates,.chart-change-note){font-size:13px!important;line-height:1.6}
html body.desktop-v4 :is(.r2-company-info,.r2-company-profile,.r2-company-facts) :is(dt,dd){font-size:14px!important;line-height:1.65}
html body.desktop-v4 :is(.r2-news-card,.live-news-card) h3{font-size:20px!important;line-height:1.6}
html body.desktop-v4 :is(.r2-news-card,.live-news-card)>p{font-size:16px;line-height:1.75}
html body.desktop-v4 .next-news-meta :is(time,span){font-size:14px!important;line-height:1.6}
html body.desktop-v4 .r2-news-card .next-stock-chip{font-size:14px;line-height:1.5;min-height:36px}
html body.desktop-v4 .stock-split .stock-controls>label{display:flex!important;white-space:nowrap;flex-wrap:nowrap;align-items:center}
html body.desktop-v4 .stock-split #live-filters :is(label,label>span){font-size:14px!important;line-height:1.5}
html body.desktop-v4 .stock-split .results-summary p span{font-size:13px!important}
@media(max-width:420px){html body.desktop-v4 .stock-split .stock-controls{grid-template-columns:minmax(0,1fr)}html body.desktop-v4 .stock-split .stock-controls>label{justify-content:space-between}html body.desktop-v4 .stock-split #stock-shuffle{justify-self:end}}
html body.desktop-v4 .r12-market-page #real-heatmap .live-panel-title h2{font-size:22px!important;line-height:1.5}
html body.desktop-v4 .r12-market-page #real-heatmap .live-panel-title{flex-wrap:wrap;align-items:center;gap:10px 18px}
html body.desktop-v4 .r12-market-page :is(#real-heatmap,#v4-market-chart) .compact-tabs button{font-size:15px!important;line-height:1.5;min-height:40px;padding:8px 12px!important;white-space:nowrap}
html body.desktop-v4 .r12-market-page #real-heatmap .heat-tools{flex-wrap:wrap;gap:10px}
html body.desktop-v4 .r12-market-page #real-heatmap .heat-legend{font-size:13px!important;line-height:1.6;flex-wrap:wrap;gap:6px 10px}
html body.desktop-v4 .r12-market-page #real-heatmap .data-note{font-size:14px!important;line-height:1.65!important}
html body.desktop-v4 .r12-market-page #real-heatmap .r2-sector-filter{gap:10px;flex-wrap:wrap}
html body.desktop-v4 .r12-market-page #real-heatmap .r2-sector-filter :is(label,span){font-size:14px!important;line-height:1.6}
html body.desktop-v4 #v4-market-ticker>a>span{font-size:14px!important;line-height:1.5}
html body.desktop-v4 #v4-market-ticker>a>strong{font-size:23px!important;line-height:1.4}
html body.desktop-v4 #v4-market-ticker>a>b{font-size:14px!important;line-height:1.5}
html body.desktop-v4 #v4-market-ticker>a>small{font-size:13px!important;line-height:1.5;white-space:normal}
html body.desktop-v4 :is(.faq-intro p,.faq-answer p){font-size:17px!important;line-height:1.85}
html body.desktop-v4 .faq-question summary{font-size:18px!important;line-height:1.6}
html body.desktop-v4 .r5-picker-layout :is(p,small){font-size:15px!important;line-height:1.7}
@media(max-width:760px){
 html body.desktop-v4 #v4-market-ticker{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
 html body.desktop-v4 #v4-market-ticker>a{display:grid!important;grid-template-columns:minmax(0,1fr);gap:3px;padding:12px!important;min-height:0;width:auto!important;min-width:0}
 html body.desktop-v4 #v4-market-ticker>a>:is(span,strong,b,small){position:static!important;grid-column:1;grid-row:auto;width:auto;text-align:left}
 html body.desktop-v4 #v4-market-ticker>a>strong{font-size:23px!important}
 html body.desktop-v4 .r12-market-page #real-heatmap .compact-tabs{flex-wrap:wrap}
 html body.desktop-v4 .r12-market-page #real-heatmap .live-panel-title h2{font-size:21px!important}
}
html body.desktop-v4 :is(.live-panel,.member-card,.refined-panel)>p{font-size:16px!important;line-height:1.8!important}
html body.desktop-v4 .actual-article{font-size:18px;line-height:1.9}
html body.desktop-v4 .community-post-title h2{font-size:21px!important;line-height:1.6}
html body.desktop-v4 .community-post-card>p{font-size:16px!important;line-height:1.8}
html body.desktop-v4 :is(.community-post-meta,.community-tabs button,.tool-fields label,.tool-notes,.tool-result-note){font-size:15px!important;line-height:1.7}
@media(max-width:760px){
 html body.desktop-v4 .r12-market-page #real-heatmap .live-panel-title{display:flex!important;flex-wrap:wrap!important;align-items:start!important}
 html body.desktop-v4 .r12-market-page #real-heatmap .live-panel-title h2{flex:0 0 100%}
 html body.desktop-v4 .r12-market-page #real-heatmap .compact-tabs{display:flex!important;flex-wrap:wrap!important;max-width:100%;min-width:0;width:100%;height:auto!important;gap:5px}
 html body.desktop-v4 .r12-market-page #real-heatmap .heat-legend{flex-wrap:wrap!important;width:100%;min-width:0}
 html body.desktop-v4 .r12-market-page #real-heatmap .heat-tools{flex-wrap:wrap!important;max-width:100%}
 html body.desktop-v4 .r12-market-page #v4-market-chart .next-index-switcher{display:flex;flex-wrap:wrap!important;max-width:100%;gap:6px}
 html body.desktop-v4 .r12-market-page #v4-market-chart .next-index-switcher button{font-size:14px!important;line-height:1.5;min-height:38px;padding:7px 10px;white-space:nowrap}
}
.fund-dock-line-break{display:none}
@media(max-width:360px){.fund-dock-line-break{display:block}}
html body.desktop-v4 .fund-flow-workspace #real-dock .r5-dock-actions{align-items:stretch}

/* Keep prices and daily changes distinct at normal and enlarged text sizes. */
@media (min-width:761px){
 html body.desktop-v4 #v4-market-ticker{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px}
 html body.desktop-v4 #v4-market-ticker>a{display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;column-gap:8px;row-gap:2px;min-width:0;align-items:center}
 html body.desktop-v4 #v4-market-ticker>a>:is(span,strong,b,small){position:static!important;min-width:0}
 html body.desktop-v4 #v4-market-ticker>a>span{grid-column:1;grid-row:1;white-space:normal}
 html body.desktop-v4 #v4-market-ticker>a>b{grid-column:2;grid-row:1;text-align:right;white-space:nowrap}
 html body.desktop-v4 #v4-market-ticker>a>strong{grid-column:1 / -1;grid-row:2;white-space:nowrap}
 html body.desktop-v4 #v4-market-ticker>a>small{grid-column:1 / -1;grid-row:3}
}
@media (min-width:1250px){html body.desktop-v4 #v4-market-ticker{grid-template-columns:repeat(7,minmax(0,1fr))!important}}
/* Give the stock list a little more room while retaining space for the chart. */
@media (min-width:1051px){html body.desktop-v4 .stock-split{grid-template-columns:390px minmax(0,1fr)}}
@media (min-width:1280px){html body.desktop-v4 .stock-split{grid-template-columns:410px minmax(0,1fr)}}
html body.desktop-v4 .stock-split .stock-choice{grid-template-columns:minmax(0,1fr) max-content;gap:10px;align-items:center}
html body.desktop-v4 .stock-split .stock-choice-summary{min-width:0}
html body.desktop-v4 .stock-split .stock-choice-summary>strong{font-size:15px;line-height:1.45;overflow-wrap:anywhere}
html body.desktop-v4 .stock-split .stock-choice-price>strong{font-size:17px;line-height:1.45}
html body.desktop-v4 .stock-split .stock-choice-meta{gap:4px 6px}
@media (max-width:760px){
 html body.desktop-v4 .rank-control-row .compact-tabs[aria-label="ランキング指標"]{display:flex;flex-wrap:wrap;max-width:100%;width:100%;height:auto;gap:5px}
}

/* Align the dividend summary and chart without clipping longer amounts. */
@media (min-width:1051px){
 html body.desktop-v4.member-workspace .r10-dividend-top{align-items:stretch}
 html body.desktop-v4.member-workspace .r10-dividend-top>section{min-width:0}
}
html body.desktop-v4.member-workspace .r10-div-month-bars button>b{width:100%;height:auto;min-height:2.5em;line-height:1.25;text-align:center;white-space:normal;overflow-wrap:anywhere}
@media (min-width:1051px) and (max-width:1400px){
 html body.desktop-v4.member-workspace .r10-div-month-bars{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 8px}
 html body.desktop-v4.member-workspace .r10-div-month-bars button>span{height:86px}
 html body.desktop-v4.member-workspace .r10-div-month-bars button i{max-height:80px}
}
@media (max-width:700px){
 html body.desktop-v4.member-workspace .r10-div-month-bars{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}
 html body.desktop-v4.member-workspace .r10-div-month-bars button>span{height:70px}
 html body.desktop-v4.member-workspace .r10-div-month-bars button i{max-height:64px}
}

/* Respond to the chart card itself, including the split summary/chart layout. */
.r10-dividend-chart{container-type:inline-size;container-name:dividend-month-chart}
@container dividend-month-chart (max-width:900px){
 html body.desktop-v4.member-workspace .r10-div-month-bars{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 8px}
 html body.desktop-v4.member-workspace .r10-div-month-bars button>span{height:86px}
 html body.desktop-v4.member-workspace .r10-div-month-bars button i{max-height:80px}
}
@container dividend-month-chart (max-width:500px){
 html body.desktop-v4.member-workspace .r10-div-month-bars{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 8px}
 html body.desktop-v4.member-workspace .r10-div-month-bars button>span{height:70px}
 html body.desktop-v4.member-workspace .r10-div-month-bars button i{max-height:64px}
}

/* Index figures stay readable without filling the whole card. */
html body.desktop-v4 #v4-market-ticker>a>strong{font-size:20px!important;line-height:1.35;font-weight:700;font-variant-numeric:tabular-nums}
html body.desktop-v4 #v4-market-ticker>a>b{font-size:13px!important}
html body.desktop-v4 #v4-market-chart .index-metrics strong{font-size:20px!important}

/* Keep an inset around every stock row, including the selected background. */
html body.desktop-v4 .stock-split .stock-choice{
 padding:12px 14px!important;
 column-gap:16px;
 grid-template-columns:minmax(0,1fr) max-content;
 box-sizing:border-box;
}
html body.desktop-v4 .stock-split .stock-choice-summary{min-width:0;overflow-wrap:anywhere}
html body.desktop-v4 .stock-split .stock-choice-price{padding:0;min-width:0}
@media(max-width:650px){
 html body.desktop-v4 .stock-split .stock-choice{padding:12px 10px!important;column-gap:12px}
}

/* Member community: contain long titles within the mobile grid. */
html body.page-community .member-community{grid-template-columns:minmax(0,1fr)}
html body.page-community .community-feed,html body.page-community .community-post-card,html body.page-community .community-post-title{min-width:0;max-width:100%}
@media(max-width:600px){html body.page-community .community-post-title h2{white-space:normal;overflow-wrap:anywhere;font-size:18px!important;line-height:1.55}html body.page-community .community-post-meta>span{min-width:0;overflow-wrap:anywhere}}
