/* Member-first screens: compact records, visible actions, shared orange identity. */
:root{--next-ink:#182234;--next-muted:#59677d;--next-line:#dfe5ee;--next-orange:#ff6b1a;--next-soft:#fff0e5}
.member-workspace [hidden],.next-average [hidden]{display:none!important}
.next-home-top{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}.next-wealth-hero,.next-budget-hero{padding:24px;border-radius:20px;background:linear-gradient(120deg,#ff8a22,#ffb260);color:var(--next-ink)}.next-wealth-hero a{color:inherit}.next-total-link{display:flex;flex-direction:column;text-decoration:none}.next-total-link>strong{font-size:46px;line-height:1.2;margin:10px 0}.next-home-return{display:flex;gap:16px;flex-wrap:wrap;font-size:13px}.next-wealth-spark{width:100%;height:115px;margin:12px 0;color:#202b42}.next-home-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}.next-home-tiles>a{background:white;border:1px solid var(--next-line);border-radius:17px;padding:20px;display:flex;flex-direction:column;justify-content:center;text-decoration:none;color:var(--next-ink)}.next-home-tiles strong{font-size:25px;line-height:1.4;margin:8px 0}.next-home-tiles small{color:var(--next-muted)}.next-home-actions{display:flex;gap:10px;margin:16px 0;flex-wrap:wrap}.next-member-home{padding-top:22px}.next-breadcrumb{font-size:13px;margin:8px 0 14px;color:var(--next-muted)}.next-other{max-width:1000px;margin:auto}.next-other-links{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.next-other-links>a{display:flex;justify-content:space-between;padding:13px 4px;border-bottom:1px solid var(--next-line);color:var(--next-ink);text-decoration:none}.next-holdings{font-size:13px!important;width:100%}.next-holdings td,.next-holdings th{padding:12px 10px!important}.next-holdings td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.next-holdings td:first-child{min-width:180px;max-width:270px}.next-holdings td:first-child button{font-weight:750;line-height:1.5;text-align:left}.next-holdings td small{display:block;font-size:11px;margin-top:3px}.next-row-actions{display:flex;flex-direction:column;gap:2px}.next-row-actions button{font-size:12px;padding:3px}.next-average{max-width:980px}.next-average-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:18px 0}.next-average-input{display:grid;grid-template-columns:1fr 1fr;gap:12px}.next-average-input .member-field{margin:0;font-size:13px}.next-average-input input,.next-average-input select{font-size:16px;padding:10px;min-height:44px}.next-average-result{background:linear-gradient(115deg,#ff8a22,#ffb260);padding:24px;border-radius:16px;color:#182234}.next-average-result>strong{font-size:38px;display:block;margin:8px 0 24px;line-height:1.25}.next-stat-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.next-stat-pair>div{font-size:13px}.next-stat-pair b{display:block;font-size:21px}.next-average details{font-size:12px;margin:12px 0}.next-household{padding:0 0 30px}.next-section-tabs,.next-detail-tabs{display:flex;gap:6px}.next-section-tabs{border-bottom:1px solid var(--next-line);margin-bottom:14px}.next-section-tabs button{background:none;border:0;padding:14px 24px;font-weight:750;color:var(--next-muted);cursor:pointer}.next-section-tabs button[aria-pressed=true]{color:#b6440b;border-bottom:3px solid var(--next-orange)}.next-month{display:flex;align-items:center;gap:8px;margin:14px 0;justify-content:center}.next-month>button:not(.btn){border:0;background:transparent;color:#a63e0b;font-size:28px;padding:0 16px;cursor:pointer}.next-month>button:disabled{opacity:.35;cursor:default}.next-month label{display:flex;align-items:center;gap:8px;font-weight:750}.next-month label>span:not(.jp-month-control){display:none}.next-month .jp-month-control select{max-width:110px;width:auto;font-size:15px;padding:8px 12px;height:40px}.next-add-expense{margin-left:auto}.next-household-top{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px}.next-budget-hero>strong{font-size:42px;line-height:1.3;display:block;margin:6px 0 14px}.next-budget-hero p{font-size:13px;margin:8px 0 18px}.next-budget-line{height:9px;border-radius:10px;background:#ffffff85;position:relative}.next-budget-line>i{height:100%;display:block;background:#25354d;border-radius:inherit}.next-budget-line>b{position:absolute;top:-4px;height:17px;width:3px;background:#5a2b0c}.next-budget-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:20px 0;border-bottom:1px solid #632b0828;padding-bottom:18px;gap:12px}.next-budget-stats>div{font-size:12px;line-height:1.5}.next-budget-stats b{display:block;font-size:23px;font-variant-numeric:tabular-nums}.next-budget-hero>.text-button{color:#642b11;font-size:13px;font-weight:700}.next-budget-insight{margin:0!important;padding:22px!important}.next-budget-insight h3{font-size:17px}.next-budget-insight>p{margin:10px 0;font-size:14px}.next-budget-observation{background:var(--mm-soft);border-radius:12px;padding:13px;margin:12px 0}.next-budget-observation p{font-size:13px;margin:6px 0}.next-budget-insight details{font-size:11px;color:var(--next-muted);margin-top:12px}.next-budget-insight .actions{font-size:12px;gap:12px}.next-cost-up{color:#bc203c}.next-cost-down{color:#215cd2}.next-detail-tabs{background:var(--mm-soft);border-radius:30px;padding:4px;margin:20px 0 14px}.next-detail-tabs button{border:0;border-radius:25px;flex:1;padding:10px;cursor:pointer;font-weight:750;background:transparent;color:var(--mm-muted)}.next-detail-tabs button[aria-selected=true]{background:white;color:var(--mm-ink);box-shadow:0 1px 4px #2638540a}.next-category-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.next-category-chips button{background:white;border:1px solid var(--next-line);border-radius:24px;padding:8px 14px;font-size:12px;cursor:pointer}.next-category-chips button[aria-pressed=true]{background:#ff6b1a;border-color:#ff6b1a;color:white}.next-expense-days{max-width:1100px;margin:auto}.next-expense-day h3{display:flex;justify-content:space-between;font-size:13px;color:var(--mm-muted);margin:18px 8px 8px}.next-expense-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto 32px;align-items:center;gap:12px;background:white;border-bottom:1px solid #edf0f5;padding:10px 14px;min-height:60px;max-height:64px}.next-expense-row:first-of-type{border-radius:12px 12px 0 0}.next-expense-row:last-child{border-radius:0 0 12px 12px}.next-category-icon{display:grid;place-items:center;background:#fff0e6;color:#c4480c;border-radius:11px;width:36px;height:36px;font-size:20px}.next-expense-row strong{display:block;font-size:14px;line-height:1.3}.next-expense-row small{display:block;font-size:11px;color:var(--mm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.next-expense-row>b{font-size:17px;font-variant-numeric:tabular-nums}.next-expense-more{position:relative}.next-expense-more summary{list-style:none;color:var(--mm-muted);cursor:pointer;padding:6px}.next-expense-more>div{position:absolute;right:0;z-index:6;display:grid;background:white;box-shadow:0 4px 24px #172b4530;border:1px solid #dce3ec;min-width:100px;padding:6px;border-radius:10px}.next-expense-more button{border:0;background:white;padding:8px;cursor:pointer;font-size:13px}.next-household-analysis{display:grid;grid-template-columns:1fr 1fr;gap:18px}.next-category-donut{display:flex;gap:22px;align-items:center;min-height:210px}.next-category-donut>div{width:170px;height:170px;flex-shrink:0;border-radius:50%;display:grid;place-items:center}.next-category-donut>div>span{background:white;border-radius:50%;width:116px;height:116px;display:grid;place-items:center;font-size:19px;font-weight:800}.next-category-donut ul{list-style:none;margin:0;padding:0;width:100%}.next-category-donut li{display:grid;grid-template-columns:9px 1fr auto;gap:8px;margin:12px 0;font-size:12px}.next-category-donut li i{width:8px;height:8px;border-radius:50%;margin-top:5px}.next-category-donut li small{grid-column:2/-1;color:#6c7a91}.next-spend-bars{height:220px;display:flex;align-items:flex-end;gap:10px;margin:10px 0 18px}.next-spend-bars button{border:0;background:none;display:flex;flex:1;flex-direction:column;justify-content:end;align-items:center;height:100%;min-width:0;cursor:pointer;gap:8px}.next-spend-bars b{font-size:11px;white-space:nowrap}.next-spend-bars i{width:60%;background:#ff9b56;border-radius:5px 5px 0 0}.next-spend-bars small{font-size:12px}.next-spend-bars button:last-child i{background:#fa6514}.next-expense-fab{display:none}.next-budget-insight .jp-label{font-size:10px!important}.next-member-home .live-panel{margin-bottom:16px}.next-asset-fold>summary{cursor:pointer;font-size:14px;font-weight:750;padding:16px}.next-asset-fold{background:var(--mm-surface);border:1px solid var(--next-line);border-radius:14px;margin-top:18px}.next-asset-fold>.live-panel,.next-asset-fold>.r2-detail-grid{margin:12px}.next-asset-hero-chart .member-chart{height:230px}.next-asset-hero-chart .member-card{border:0!important;box-shadow:none!important;padding:0!important;background:transparent!important}.next-asset-hero-chart .member-card h2,.next-asset-hero-chart .r2-history-summary{display:none}.next-chart-controls{display:flex;gap:5px;margin:14px 0 0;flex-wrap:wrap}.next-chart-controls button{border:1px solid #75451b22;background:#ffffff75;border-radius:15px;padding:6px 12px;font-size:12px;cursor:pointer}.next-chart-controls button[aria-pressed=true]{background:#18243c;color:white}.next-asset-related{margin-top:18px}.next-asset-related>article{padding:12px 0;border-bottom:1px solid var(--next-line)}.next-asset-related h3{font-size:15px;margin:4px 0}.next-asset-related small{font-size:11px;color:var(--mm-muted)}.member-workspace .member-heading{padding-top:0;padding-bottom:0}.member-workspace .my-layout{display:block}.member-workspace .v4-member-subnav{display:none}.member-workspace .workspace-tabs{display:flex;justify-content:flex-start}.member-workspace .workspace-tabs>a{flex:0 0 auto;min-width:80px;text-align:center;padding:12px 22px}.member-workspace .r2-my-top{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}.member-workspace .r2-composition{align-self:start}.next-div-net{display:flex;gap:18px;padding-top:15px}.next-div-net strong{font-size:26px!important}.next-div-native{font-size:13px!important;margin-top:8px!important}.r2-dividend-heading{margin-bottom:14px!important}.r2-dividend-heading h2{font-size:24px!important}.r2-dividend-heading+.r2-detail-grid{align-items:start}.r2-dividend-heading+.r2-detail-grid>.r2-asset-hero{min-height:0!important;padding:24px!important}.r2-dividend-heading+.r2-detail-grid>.r2-asset-hero>strong{font-size:40px!important}.r2-dividend-heading+.r2-detail-grid .live-panel{padding:20px!important}.r2-div-month-bars{min-height:155px!important;height:170px!important}.next-dividend-table{font-size:13px;width:100%;border-collapse:collapse}.next-dividend-table th,.next-dividend-table td{padding:12px;text-align:right;border-bottom:1px solid #e5eaf1}.next-dividend-table th:first-child,.next-dividend-table td:first-child{text-align:left}.next-dividend-table small{display:block;color:var(--mm-muted);font-size:11px}.next-dividend-table .actions{justify-content:flex-end;gap:8px}.next-dividend-table button{font-size:12px}
@media(max-width:900px){.next-home-top,.next-household-top,.next-household-analysis,.member-workspace .r2-my-top{grid-template-columns:1fr}.next-home-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.next-home-tiles>a{padding:16px}.next-home-tiles strong{font-size:20px}}
@media(max-width:650px){.next-member-home{padding-top:12px}.next-home-tiles{grid-template-columns:1fr 1fr}.next-wealth-hero,.next-budget-hero{padding:20px;border-radius:18px}.next-total-link>strong{font-size:38px}.next-home-return{font-size:11px;gap:8px}.next-home-actions .btn{font-size:12px;padding:9px 12px}.next-home-tiles strong{font-size:21px}.next-home-tiles>a{padding:15px}.next-home-tiles small{font-size:10px}.next-home-tiles span{font-size:12px}.next-average-layout{grid-template-columns:1fr}.next-average-result>strong{font-size:32px}.next-average-input{gap:10px}.next-average-input .member-field{font-size:11px}.next-average-input input,.next-average-input select{width:100%;min-width:0}.next-month{justify-content:center;gap:0}.next-add-expense{display:none!important}.next-month .jp-month-control select{max-width:100px;padding:7px 10px}.next-household-top{gap:12px}.next-budget-hero>strong{font-size:36px}.next-budget-stats{gap:8px;margin:15px 0}.next-budget-stats>div{font-size:10px}.next-budget-stats b{font-size:20px}.next-budget-insight{padding:16px!important}.next-budget-observation{padding:10px;margin:8px 0}.next-budget-insight .live-panel-title{margin-bottom:4px}.next-budget-insight>p{font-size:13px;margin:6px 0}.next-section-tabs button{flex:1;padding:10px;font-size:13px}.next-expense-fab{display:grid;place-items:center;position:fixed;bottom:22px;right:20px;width:56px;height:56px;border:0;border-radius:50%;background:#ff6b1a;color:white;font-size:34px;z-index:35;box-shadow:0 4px 20px #9b3e1540;cursor:pointer}.next-category-donut{flex-direction:column}.next-category-donut>div{width:150px;height:150px}.next-other-links{grid-template-columns:1fr}.next-expense-row{padding:10px;grid-template-columns:32px minmax(0,1fr) auto 26px;gap:8px}.next-category-icon{width:32px;height:32px}.next-expense-row>b{font-size:15px}.next-expense-row strong{font-size:13px}.next-category-chips button{font-size:11px;padding:7px 10px}.next-spend-bars b{font-size:9px}.member-workspace .workspace-tabs>a{flex:1;min-width:0;padding:12px 5px;font-size:12px;white-space:nowrap}.member-table-scroll:has(.next-holdings){overflow:visible}.next-holdings thead{display:none}.next-holdings tbody{display:block}.next-holdings tr{display:grid;grid-template-columns:1fr 1fr;padding:10px 0;border-bottom:1px solid #e0e5ee;gap:4px}.next-holdings td{display:block;border:0!important;padding:6px!important;min-width:0!important;max-width:none!important;white-space:normal!important;text-align:left!important}.next-holdings td:first-child,.next-holdings td:last-child{grid-column:1/-1}.next-holdings td:nth-child(2):before{content:'数量';display:block;font-size:10px;color:var(--mm-muted)}.next-holdings td:nth-child(3):before{content:'平均取得単価';display:block;font-size:10px;color:var(--mm-muted)}.next-holdings td:nth-child(4):before{content:'現在価格';display:block;font-size:10px;color:var(--mm-muted)}.next-holdings td:nth-child(5):before{content:'評価額';display:block;font-size:10px;color:var(--mm-muted)}.next-holdings td:nth-child(6):before{content:'損益（元本比）';display:block;font-size:10px;color:var(--mm-muted)}.next-row-actions{flex-direction:row;gap:12px;flex-wrap:wrap}.next-row-actions button{font-size:12px}.next-dividend-table th,.next-dividend-table td{padding:10px 5px;font-size:11px}.next-dividend-table .actions{flex-direction:column;gap:2px}.next-div-net{gap:14px}.r2-dividend-heading h2{font-size:21px!important}.next-chart-controls button{padding:5px 10px}}
/* Compact asset workbench and intentional reading density. */
.next-assets-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;position:sticky;top:145px;z-index:12;padding:12px 0;background:#f4f7fa}.next-assets-toolbar h1{font-size:23px;margin:0}.next-assets-toolbar nav{display:flex;align-items:center;gap:16px;font-size:13px}.next-assets-toolbar .btn{padding:10px 16px;font-size:13px}.next-asset-chart{margin-top:16px}.next-asset-chart-tools{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.next-asset-chart-tools .compact-tabs{background:#ffffff55}.next-asset-chart-tools button{font-size:11px;padding:6px 11px}.next-history-svg svg{width:100%;height:230px;overflow:visible}.next-history-svg svg line{stroke:#4e341c28;stroke-width:1}.next-history-svg svg path{fill:none;stroke:#26364e;stroke-width:2.8}.next-history-svg svg .next-principal-line{stroke:#6d4e3b;stroke-width:1.5;stroke-dasharray:4 4}.next-history-svg svg text{fill:#47280e;font-size:10px;font-variant-numeric:tabular-nums}.next-chart-legend{display:flex;justify-content:center;gap:20px;font-size:11px}.next-asset-chart details{font-size:10px;margin-top:8px}.next-assets-analysis{border:1px solid #dfe5ee;border-radius:14px;background:white;margin:20px 0}.next-assets-analysis>summary{padding:16px;font-weight:700;font-size:14px;cursor:pointer}.next-assets-analysis>section,.next-assets-analysis>.r2-detail-grid{margin:12px}.next-asset-news>div:last-child>article{padding:12px 0;border-bottom:1px solid #e2e7ef}.next-asset-news article>small{display:block;font-size:11px;color:var(--mm-muted);margin-top:4px}.next-asset-news strong{font-size:14px}.r2-composition>a.btn{display:block;text-align:center;font-size:13px;margin-top:16px}#next-asset-dividends{border-top:1px solid #e3e8ef;margin-top:14px;padding-top:14px;font-size:12px}#next-asset-dividends>a{display:flex;justify-content:space-between}#next-asset-dividends b{font-size:20px}#next-asset-dividends small{color:var(--mm-muted)}.next-home-ai-line{font-size:14px;line-height:1.6;margin:10px 0}.next-share{display:flex;align-items:center;gap:10px;margin:14px 0;flex-wrap:wrap}.next-share a,.next-share button{display:inline-block;border:1px solid #d9e0eb;background:var(--mm-surface);border-radius:8px;padding:7px 12px;font-size:12px;text-decoration:none;color:var(--mm-ink);cursor:pointer}.next-share [role=status]{font-size:11px;color:var(--mm-muted)}.next-article-navigation{display:flex;justify-content:space-between;border-top:1px solid #e2e7ef;gap:20px;margin-top:22px;padding-top:18px}.next-article-navigation button{border:0;background:var(--mm-soft);color:var(--mm-ink);max-width:48%;padding:12px;font-size:12px;line-height:1.5;text-align:left;border-radius:10px;cursor:pointer}.next-allocation-compare{font-size:12px;width:100%;border-collapse:collapse}.next-allocation-compare th,.next-allocation-compare td{padding:6px;border-bottom:1px solid #e3e8ef;text-align:right}.next-allocation-compare td:first-child,.next-allocation-compare th:first-child{text-align:left}.next-allocation-compare td:last-child{font-weight:750;color:#b8470d}.v4-allocation-donut:has(#next-holding-comparison:not(:empty)){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.v4-allocation-donut #v4-allocation-legend{grid-column:1/-1}.next-nisa-cell{font-size:11px!important;max-width:100px;white-space:normal!important}.fund-live-table{table-layout:auto!important;font-size:12px!important}.fund-live-table th{white-space:normal!important;font-size:11px!important;line-height:1.4;min-width:65px}.fund-live-table th:nth-child(2){min-width:200px}.fund-live-table td{padding:12px 9px!important}.fund-live-table td:nth-child(3){font-size:11px!important}.fund-live-table td small{font-size:10px!important}.fund-live-table .live-number{font-size:13px!important;white-space:nowrap}.fund-live-table .fund-quote-amount strong{font-size:15px!important}.next-fund-metric-note{font-size:11px;margin-top:12px}.next-dock-allocation{font-size:12px;white-space:nowrap}.next-compare-page h1{font-size:24px}.next-index-stale{opacity:.58;background:var(--mm-soft)!important}.next-index-stale b{color:var(--mm-muted)!important}.next-index-dialog{width:min(900px,85vw)}.next-index-dialog>.live-panel{border:0;box-shadow:none;padding:12px}.next-index-switcher{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.next-index-switcher button{border:1px solid #dce3ec;padding:7px 10px;border-radius:8px;background:var(--mm-soft);font-size:12px;cursor:pointer}.next-index-dialog #v4-index-chart{min-height:320px}.r3-heat-tile small{word-break:keep-all!important;overflow-wrap:normal!important;line-break:strict!important}.r3-heat-values .r3-heat-tile small{font-size:10px!important;line-height:1.35!important;max-height:2.7em;min-height:2.7em}.r3-heat-values .r3-heat-tile{padding:9px!important;min-height:99px!important}.r3-heat-values .r3-heat-tile b{margin-top:4px!important}.r3-heat-tile[aria-label*="未確認"]{opacity:.7}
/* Each news section is one surface, with compact separated rows. */
.r2-news-heading h1{font-size:24px!important}.r2-news-page{max-width:1280px!important}.r2-news-section{background:white;border:1px solid #dfe5ee;border-radius:16px;padding:18px;margin:0!important;align-self:start}.r2-news-section>.live-panel-title{margin-bottom:10px}.r2-news-section h2{font-size:18px!important}.r2-news-section .live-panel-title>span{font-size:11px}.r2-news-section .r2-news-card{border:0!important;border-bottom:1px solid #e4e9f0!important;border-radius:0!important;box-shadow:none!important;padding:14px 0!important;margin:0!important;min-height:0!important;background:transparent!important}.r2-news-section .r2-news-card:last-child{border-bottom:0!important}.r2-news-card .v5-news-badges:empty{display:none}.r2-news-card h3{font-size:16px!important;line-height:1.55!important;margin:0!important;font-weight:750}.r2-news-card>small{display:block;font-size:11px!important;line-height:1.4;margin-top:6px}.r2-news-card>p{font-size:12px!important;line-height:1.6!important;margin:6px 0!important;max-width:800px}.r2-news-card .r2-stock-chips{margin:7px 0 0}.r2-news-card .r2-stock-chips button{font-size:10px;padding:4px 7px}.r2-news-title{display:block;width:100%;text-align:left;padding:0}.r2-featured-grid{display:block!important}#r2-news-sections{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start;margin-top:18px}.next-news-top{grid-column:1}.r2-personal-section{grid-column:2;grid-row:1/3;position:sticky;top:160px}.next-news-fresh{grid-column:1}.next-news-pages{display:flex;justify-content:center;gap:18px;align-items:center;font-size:12px;margin-top:14px}.next-news-pages button{border:1px solid #dae2eb;border-radius:8px;background:var(--mm-surface);padding:7px 14px;cursor:pointer}.next-news-pages button:disabled{opacity:.4}.r2-news-page:has(.r2-personal-section) .r2-personal-section h2{font-size:16px!important}.r2-news-page:not(:has(.r2-personal-section)) #r2-news-sections{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.r2-news-page:not(:has(.r2-personal-section)) .next-news-fresh{grid-column:2;grid-row:1}
/* App badges, compact footer, readable text. */
.v4-store>a,.v4-store>.v5-android{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:44px!important;padding:7px 13px!important;border-radius:10px!important;background:#101a2c!important;color:white!important;line-height:1.15;font-size:14px!important;text-decoration:none}.v4-store svg{width:24px;height:26px;flex-shrink:0}.v4-store a>span,.v4-store .v5-android>span{display:flex;flex-direction:column;text-align:left}.v4-store small{display:block;font-size:9px!important;margin-top:3px;color:#e1e5ec!important}.v4-store>.v5-android{opacity:.8}.v4-store>span:last-child:not(.v5-android){font-size:10px!important}footer{padding:22px max(24px,calc((100vw - 1300px)/2)) 16px!important;background:var(--mm-soft)!important;color:#4d2e1e!important;margin-top:30px!important}footer .v5-footer-top{padding:0!important;margin:0 0 18px!important;min-height:0!important}footer .brand img{width:32px;height:32px}footer .brand{font-size:20px!important}footer .brand i{font-size:10px!important;margin-top:3px}footer .v5-footer-grid{gap:16px!important;margin:0!important;padding:0!important}footer .v5-footer-grid section{display:flex;flex-wrap:wrap;align-content:flex-start;gap:4px 12px}footer .v5-footer-grid h3{width:100%;font-size:12px!important;margin:0 0 4px!important;color:#6a351b!important}footer .v5-footer-grid a,footer .v5-footer-grid span{font-size:11px!important;line-height:1.6!important;color:#5b3d2c!important;margin:0!important}footer .v5-footer-grid small{font-size:9px!important}footer .v5-footer-legal{padding-top:14px!important;margin-top:14px!important;gap:12px!important}footer .v5-footer-legal a{font-size:10px!important;color:#69462f!important}footer .fine{margin:12px 0 8px!important;font-size:10px!important;line-height:1.6!important;color:#6a4b37!important;max-width:none!important}footer .copyright{margin:0!important;padding-top:8px!important;font-size:10px!important;color:#6a4b37!important}.next-theme-toggle{width:34px;height:34px;flex-shrink:0;border:1px solid #dce3ed;border-radius:9px;background:white;color:var(--mm-ink);font-size:20px;cursor:pointer}.v4-product-table{overflow-x:auto}.v4-product-table table{font-size:12px!important;min-width:900px}.v4-product-table td{padding:13px 10px!important;max-width:180px;line-height:1.55}.v4-product-table td small{font-size:10px!important}.v4-product-table th{font-size:11px!important;white-space:nowrap}.v4-product-table .btn{font-size:11px!important;padding:8px 10px!important}
:root[data-theme=dark]{color-scheme:dark;--next-ink:#eef3fc;--next-muted:#b5c1d4;--next-line:#354258;--next-soft:#3c2b22;--ink:#eef3fc;--muted:#b5c1d4;--line:#354258;--paper:#172237}
html[data-theme=dark] body,html[data-theme=dark] main,html[data-theme=dark] .next-assets-toolbar{background:#0e1727!important;color:#e6edf8!important}html[data-theme=dark] header,html[data-theme=dark] .workspace-tabs,html[data-theme=dark] .workspace-tabs>a,html[data-theme=dark] .live-panel,html[data-theme=dark] .member-card,html[data-theme=dark] .next-home-tiles>a,html[data-theme=dark] .r2-news-section,html[data-theme=dark] .community-post-card,html[data-theme=dark] .community-guide,html[data-theme=dark] #modal,html[data-theme=dark] .next-assets-analysis,html[data-theme=dark] .next-expense-row,html[data-theme=dark] .v4-feature,html[data-theme=dark] .v4-trust>div,html[data-theme=dark] .v4-steps>article,html[data-theme=dark] .v4-login-form,html[data-theme=dark] .v4-reader-aside>section{background:#172237!important;color:#e6edf8!important;border-color:#354258!important}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] .live-name strong,html[data-theme=dark] .brand,html[data-theme=dark] .next-home-tiles strong,html[data-theme=dark] .member-field{color:#f1f5fc!important}html[data-theme=dark] p,html[data-theme=dark] small,html[data-theme=dark] .data-note,html[data-theme=dark] .member-note,html[data-theme=dark] .muted{color:#bac6d9}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea,html[data-theme=dark] .search,html[data-theme=dark] .nav-finder,html[data-theme=dark] .compact-tabs,html[data-theme=dark] .next-detail-tabs,html[data-theme=dark] .next-category-chips button,html[data-theme=dark] .next-share a,html[data-theme=dark] .next-share button,html[data-theme=dark] .next-index-switcher button{background:#223149!important;color:#eef3fc!important;border-color:#40516b!important}html[data-theme=dark] table th,html[data-theme=dark] table td,html[data-theme=dark] .live-table tr:nth-child(even),html[data-theme=dark] .member-records>article,html[data-theme=dark] .v4-ticker>a{background:#172237!important;color:#e6edf8;border-color:#354258!important}html[data-theme=dark] .live-table tr.is-selected,html[data-theme=dark] .next-budget-observation{background:#3c2c21!important}html[data-theme=dark] a,html[data-theme=dark] .text-button{color:#ffad76}html[data-theme=dark] .btn{color:white!important}html[data-theme=dark] .btn.light{background:#26364d!important;color:#eff4ff!important}html[data-theme=dark] .next-category-donut>div>span,html[data-theme=dark] .r2-donut>span{background:#172237!important;color:#f1f5fc!important}html[data-theme=dark] .next-theme-toggle{background:#26364d;color:#fff;border-color:#40516b}html[data-theme=dark] footer{background:#291e18!important;color:#ead4bf!important}html[data-theme=dark] footer a,html[data-theme=dark] footer p,html[data-theme=dark] footer span,html[data-theme=dark] footer .copyright,html[data-theme=dark] footer .brand i{color:#e4c7b2!important}html[data-theme=dark] footer h3{color:#ffb47e!important}
/* Orange panels retain dark ink in both themes. */
html[data-theme] .next-wealth-hero,html[data-theme] .next-budget-hero,html[data-theme] .next-average-result,html[data-theme] .r2-asset-hero{color:#182234!important}html[data-theme] .next-wealth-hero *,html[data-theme] .next-budget-hero *,html[data-theme] .next-average-result *,html[data-theme] .r2-asset-hero h2,html[data-theme] .r2-asset-hero p,html[data-theme] .r2-asset-hero small{color:inherit}html[data-theme] .next-wealth-hero .down,html[data-theme] .r2-asset-hero .down{color:#134dc3!important}html[data-theme] .next-wealth-hero .up,html[data-theme] .r2-asset-hero .up{color:#a51528!important}
@media(max-width:1000px){#r2-news-sections{grid-template-columns:minmax(0,1fr) 280px}.next-assets-toolbar{top:133px}.next-asset-chart-tools{gap:5px}.fund-live-table{min-width:1100px!important}.next-dock-allocation{display:none}.v5-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.next-assets-toolbar{top:117px;padding:10px 0}.next-assets-toolbar h1{font-size:19px}.next-assets-toolbar nav{gap:10px;font-size:11px}.next-assets-toolbar .btn{font-size:11px;padding:8px 10px}.next-history-svg svg{height:165px}.next-asset-chart-tools button{font-size:10px;padding:6px 8px}.next-asset-chart-tools .compact-tabs{gap:0}.next-assets-analysis>summary{font-size:12px}.r2-news-heading h1{font-size:20px!important}.r2-news-heading .search{width:100%!important;max-width:none!important}.r2-news-heading{gap:14px}#r2-news-sections,.r2-news-page:not(:has(.r2-personal-section)) #r2-news-sections{display:flex;flex-direction:column;gap:12px}.r2-news-section{width:100%;padding:14px}.r2-personal-section{position:static;order:0}.next-news-top{order:1}.next-news-fresh{order:2}.r2-news-card h3{font-size:14px!important}.r2-news-card>small{font-size:10px!important}.r2-news-card>p{font-size:11px!important}.r2-news-section .r2-news-card{padding:12px 0!important}.r2-news-section .live-panel-title{flex-wrap:wrap;gap:5px}.next-index-dialog{width:calc(100vw - 42px)}.next-index-dialog>.live-panel{padding:0}.next-index-switcher button{font-size:10px;padding:6px 7px}.next-index-dialog #v4-index-chart{min-height:280px}.next-index-dialog .live-panel-title{flex-wrap:wrap}.next-share{gap:6px}.next-share a,.next-share button{font-size:10px;padding:6px 8px}.v4-allocation-donut:has(#next-holding-comparison:not(:empty)){grid-template-columns:1fr}.next-theme-toggle{width:30px;height:30px;font-size:18px}.next-member-home .v4-ticker{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.next-member-home .v4-ticker>a{min-width:0}footer{padding:18px 20px 14px!important;margin-top:24px!important}.v5-footer-grid{gap:16px!important}footer .v5-footer-top{margin-bottom:16px!important}.next-average-result .next-stat-pair b{font-size:19px}}
/* Keep the first holdings row and its actions near the asset summary. */
.next-assets-toolbar{height:62px;min-height:0;align-items:center}.next-assets-toolbar h1{line-height:1.3;flex:1}.next-assets-toolbar nav{height:auto!important;min-height:0!important;max-width:none!important;flex:none!important;margin:0!important;padding:0!important}.r2-my-top>.r2-asset-hero{padding:22px!important}.r2-my-top>.r2-asset-hero>p{font-size:12px!important;line-height:1.5!important;margin:4px 0 12px!important}.r2-my-top>.r2-asset-hero>p b{font-size:21px!important;line-height:1.5!important}.next-asset-chart{margin-top:12px}.next-asset-chart-tools{align-items:center;min-height:34px}.next-asset-chart-tools .compact-tabs{height:34px!important;min-height:0!important;align-items:center;padding:3px!important;margin:0!important}.next-asset-chart-tools .compact-tabs button{height:28px!important;min-height:0!important;line-height:16px!important;padding:5px 10px!important}.next-history-svg svg{height:180px}.next-asset-chart details>summary{line-height:1.5}.next-chart-legend{line-height:1.5}.next-valuation-note{font-size:11px;margin:16px 0}
@media(max-width:650px){.next-assets-toolbar{height:50px}.next-assets-toolbar nav{gap:8px}.next-assets-toolbar nav>a:first-child{display:none}.next-history-svg svg{height:155px}.next-asset-chart-tools .compact-tabs button{padding:5px 7px!important;font-size:10px}.r2-my-top>.r2-asset-hero{padding:18px!important}.r2-composition .r2-donut-layout{display:flex!important;align-items:center;gap:16px}.r2-composition .r2-donut{width:100px!important;height:100px!important;flex-shrink:0}.r2-composition .r2-donut>span{width:66px!important;height:66px!important;font-size:25px!important}.r2-composition .r2-donut>span small{font-size:9px!important}.r2-composition .r2-donut-layout>div:last-child{min-width:0;flex:1}.r2-composition .r2-donut-layout p{display:flex!important;gap:5px;font-size:10px!important;flex-wrap:wrap}.r2-composition{padding:16px!important}.r2-composition>a.btn{margin-top:12px;font-size:11px}.next-total-link>strong{font-size:36px}.next-wealth-spark{height:85px}.next-home-tiles>a{padding:13px}.next-home-tiles strong{font-size:20px;margin:6px 0}}
html[data-theme=dark] .r2-stock-dialog,html[data-theme=dark] .r2-stock-dialog-body,html[data-theme=dark] .fund-inline-detail,html[data-theme=dark] .next-article-navigation button,html[data-theme=dark] .next-expense-more>div,html[data-theme=dark] .next-expense-more button{background:#172237!important;color:#e6edf8!important;border-color:#354258!important}
/* Legacy mobile header rules must not position content navigation over cards. */
.app-v3 main nav{position:static!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;min-height:0!important;height:auto!important;padding:0!important}
@media(max-width:650px){.member-workspace .workspace-tabs{gap:0!important;width:calc(100% - 24px)!important}.member-workspace .workspace-tabs>a{flex:1 1 0!important;min-width:0!important;padding:12px 4px!important;font-size:12px!important}.next-expense-fab{bottom:84px}.next-detail-tabs{scroll-margin-top:112px}}
html[data-theme=dark]{--bg:#0e1727;--navy:#e8effa;--text:#e8effa;--muted:#b8c6da}
html[data-theme=dark] .workspace-bar{background:#0e1727!important}html[data-theme=dark] #primary-navigation>a{color:#cbd6e7!important}html[data-theme=dark] #primary-navigation>a.active{color:#ffad76!important}html[data-theme=dark] .r2-donut-layout p,html[data-theme=dark] .r2-donut-layout p span,html[data-theme=dark] .r2-donut-layout p b,html[data-theme=dark] .next-holdings td,html[data-theme=dark] .next-holdings small,html[data-theme=dark] .member-note,html[data-theme=dark] #next-asset-dividends small{color:#d4deed!important}html[data-theme=dark] .up,html[data-theme=dark] td.up{color:#ff9699!important}html[data-theme=dark] .down,html[data-theme=dark] td.down{color:#98baff!important}html[data-theme=dark] .r2-asset-hero .compact-tabs button,html[data-theme=dark] .next-wealth-hero .compact-tabs button{color:#e4edf9!important}html[data-theme=dark] .next-total-link strong,html[data-theme=dark] .next-wealth-hero .next-home-return,html[data-theme=dark] .r2-asset-hero>strong{color:#182234!important}html[data-theme=dark] .r2-asset-hero .down,html[data-theme=dark] .next-wealth-hero .down{color:#134dc3!important}html[data-theme=dark] .r2-asset-hero .up,html[data-theme=dark] .next-wealth-hero .up{color:#a51528!important}
.next-history-svg svg text{font-size:14px}
@media(max-width:650px){.next-holdings{min-width:0!important;max-width:100%!important;table-layout:auto!important}.next-holdings tbody,.next-holdings tr{width:100%;min-width:0!important}.next-budget-insight{padding:12px 16px!important}.next-budget-insight .live-panel-title,.next-budget-insight .next-budget-observation,.next-budget-insight .actions,.next-budget-insight>p:not(:first-of-type):not(.r2-warning){display:none}.next-budget-insight>p:first-of-type{margin:0;font-size:12px}.next-budget-insight details{margin-top:7px}.next-budget-insight .r2-warning{font-size:12px!important}.next-history-svg svg{height:180px}}
.next-average>.live-panel-title{padding-right:32px}.next-average>.live-panel-title>span{white-space:nowrap;font-size:12px}

.next-dividend-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:6px}.next-dividend-pair a{display:flex;flex-direction:column;gap:5px;color:inherit}.next-dividend-pair b{font-variant-numeric:tabular-nums}.next-portfolio-mix{padding:16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.next-portfolio-mix h3{font-size:14px;margin:0 0 14px}.next-portfolio-mix>p{grid-column:1/-1;margin:0;font-size:11px}.next-mix-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;font-size:12px;margin-bottom:14px}.next-mix-row>span{line-height:1.5}.next-mix-row b{text-align:right;font-variant-numeric:tabular-nums}.next-mix-row>i{grid-column:1/-1;background:linear-gradient(to right,var(--mix-color) var(--mix-width),var(--mm-soft) var(--mix-width));height:7px;border-radius:4px}@media(max-width:650px){.next-portfolio-mix{grid-template-columns:1fr}.next-dividend-pair b{font-size:18px!important}}
/* Keep secondary controls and legacy form text readable in the dark theme. */
html[data-theme=dark] main :is(p,small,label),html[data-theme=dark] #modal :is(p,small,label){color:#ccd8e9!important}
html[data-theme=dark] :is(.compact-tabs,.next-detail-tabs,.next-month) button,html[data-theme=dark] .r3-watch-name,html[data-theme=dark] #r2-div-month-bars button,html[data-theme=dark] .next-recurring,html[data-theme=dark] .next-budget-recurring{color:#eef3fc!important}
html[data-theme=dark] .r3-watch-name :is(strong,small),html[data-theme=dark] .r3-watch-price strong{color:#eef3fc!important}
html[data-theme=dark] .next-average-result,html[data-theme=dark] .r2-status,html[data-theme=dark] .member-summary,html[data-theme=dark] .member-records>article,html[data-theme=dark] .next-stat-pair>div{background:#223149!important;color:#eef3fc!important;border-color:#40516b!important}
html[data-theme=dark] .r2-status.attention,html[data-theme=dark] .r2-warning{background:#3a2c20!important;color:#ffe0ad!important}
html[data-theme=dark] .r2-status.danger{background:#46262f!important;color:#ffd3d9!important}
html[data-theme=dark] .r2-status strong,html[data-theme=dark] .next-average-result :is(strong,b),html[data-theme=dark] .next-other-links>a{color:#f0f5fd!important}
html[data-theme=dark] .btn:not(.dark):not(.light){color:#1b2536!important}
html[data-theme=dark] :is(.r2-asset-hero,.next-wealth-hero,.next-budget-hero) :is(p,small,label,strong,b,span,a,summary){color:#382311!important}
html[data-theme=dark] :is(.r2-asset-hero,.next-wealth-hero,.next-budget-hero) .down{color:#134dc3!important}
html[data-theme=dark] :is(.r2-asset-hero,.next-wealth-hero,.next-budget-hero) .up{color:#a51528!important}
html[data-theme=dark] .r3-heat-tile :is(small,b,strong,span){color:var(--tile-ink)!important}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#a8b8cf!important;opacity:1}
html[data-theme=dark] :where(main,#modal) summary{color:#ccd8e9!important}
html[data-theme=dark] .next-detail-tabs button[aria-selected=true]{background:#111a2b!important;color:#fff!important;box-shadow:inset 0 -2px #ff8425}
html[data-theme=dark] .next-category-chips button[aria-pressed=true]{background:#58341e!important;color:#ffdcc1!important}
html[data-theme=dark] :is(.r2-asset-hero,.next-wealth-hero,.next-budget-hero) summary{color:#382311!important}
/* Give the holdings comparison real table width instead of splitting a 240px donut card. */
.v4-allocation-results:has(#next-holding-comparison:not(:empty)){grid-template-columns:minmax(0,1fr)}
.v4-allocation-donut:has(#next-holding-comparison:not(:empty)){grid-template-columns:minmax(280px,1fr) 160px minmax(150px,.7fr);align-items:center;gap:20px}
.v4-allocation-donut #next-holding-comparison:not(:empty){grid-column:1;width:100%;min-width:0;justify-self:stretch}
.v4-allocation-donut:has(#next-holding-comparison:not(:empty)) #v4-allocation-ring{grid-column:2}
.v4-allocation-donut:has(#next-holding-comparison:not(:empty)) #v4-allocation-legend{grid-column:3}
.next-allocation-compare th,.next-allocation-compare td{white-space:nowrap}
html[data-theme=dark] :is(.v4-allocation-input,.v4-allocation-donut,.v4-allocation-results>.live-panel,.v4-allocation-metrics>div){background:#172237!important;color:#e6edf8!important;border-color:#354258!important}
html[data-theme=dark] .v4-css-donut:after{background:#172237!important}
html[data-theme=dark] .v4-allocation-input label>span,html[data-theme=dark] .v4-allocation-legend{color:#e6edf8!important}
@media(max-width:1150px){.v4-allocation-donut:has(#next-holding-comparison:not(:empty)){grid-template-columns:minmax(0,1fr) 160px}.v4-allocation-donut:has(#next-holding-comparison:not(:empty)) #v4-allocation-legend{grid-column:1/-1}}
@media(max-width:760px){.v4-allocation-donut:has(#next-holding-comparison:not(:empty)){grid-template-columns:minmax(0,1fr)}.v4-allocation-donut:has(#next-holding-comparison:not(:empty)) #v4-allocation-ring,.v4-allocation-donut:has(#next-holding-comparison:not(:empty)) #v4-allocation-legend{grid-column:1}}
html[data-theme=dark] .next-allocation-compare td:last-child{color:#ffb281!important}
html[data-theme=dark] .v4-allocation-legend i{box-shadow:0 0 0 1px #9aaac0}
/* Index charts fit the viewport; the selected index stays visible in both locations. */
#modal:has(.next-index-dialog){width:min(960px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;height:min(580px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:44px 24px 20px!important;overflow:hidden}
#modal:has(.next-index-dialog)>.close{top:8px;right:10px;width:32px;height:32px;padding:0;line-height:1}
#modal:has(.next-index-dialog)>#modal-content,.next-index-dialog{width:100%;height:100%;min-width:0;min-height:0}
.next-index-dialog>#v4-market-chart{display:flex;flex-direction:column;gap:8px;width:100%;height:100%;min-width:0;min-height:0;padding:0;margin:0;grid-row:auto}
.next-index-dialog .next-index-switcher{flex:0 0 auto;margin:0 0 4px;padding:0 10px 0 0;gap:6px}
.next-index-dialog .live-panel-title{flex:0 0 auto;gap:12px;margin:0!important;min-width:0;flex-wrap:wrap}
.next-index-dialog .live-panel-title h2{font-size:20px;line-height:1.3}
.next-index-dialog .compact-tabs{margin:0;gap:4px}
.next-index-dialog .compact-tabs button{font-size:12px;padding:6px 11px}
.next-index-dialog #v4-index-value{flex:0 0 auto;font-size:30px;line-height:1.2;margin:0}
.next-index-dialog #v4-index-date{flex:0 0 auto;font-size:11px;line-height:1.5;margin:0!important}
.next-index-dialog #v4-index-chart{flex:1 1 0;width:100%;height:auto!important;min-height:0!important;min-width:0;overflow:hidden}
.next-index-switcher button[aria-pressed=true],#v4-market-ticker>[data-v4-index][aria-current=true]{background:var(--mm-soft)!important;border-color:#f47724!important;color:#8d350b!important;box-shadow:inset 0 0 0 1px #f47724;font-weight:800}
.next-index-switcher button[aria-pressed=true]{background:#ff7a24!important;color:#27180e!important}
html[data-theme=dark] .next-index-switcher button[aria-pressed=true],html[data-theme=dark] #v4-market-ticker>[data-v4-index][aria-current=true]{background:#ff943f!important;color:#21170e!important;border-color:#ffb67e!important}
@media(max-width:600px){
 #modal:has(.next-index-dialog){width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;height:min(600px,calc(100dvh - 24px));max-height:calc(100dvh - 24px)!important;padding:40px 14px 14px!important;border-radius:16px}
 .next-index-dialog .next-index-switcher{gap:5px;margin-bottom:2px;padding-right:0}
 .next-index-dialog .next-index-switcher button{font-size:11px;padding:6px 8px;line-height:1.4}
 .next-index-dialog #v4-index-value{font-size:27px}
}
@media(max-height:500px){
 #modal:has(.next-index-dialog){padding:34px 18px 10px!important;height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)!important}
 .next-index-dialog>#v4-market-chart{gap:4px}
 .next-index-dialog .next-index-switcher{margin:0}
 .next-index-dialog .next-index-switcher button{padding:3px 7px}
 .next-index-dialog #v4-index-value{font-size:23px}
}
/* News uses full-width sections so a short column cannot leave an empty wall. */
.r2-news-page{--news-surface:#fff;--news-card:#f7f9fc;--news-ink:#172337;--news-muted:#536278;--news-line:#dce3ee;--news-accent:#9b3d0b}
html[data-theme=dark] .r2-news-page{--news-surface:#172237;--news-card:#1d2b42;--news-ink:#f1f5fd;--news-muted:#bfcee3;--news-line:#394b66;--news-accent:#ffb77e}
.r2-news-page .r2-news-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}
.r2-news-page .r2-news-heading h1{font-size:26px!important;line-height:1.4;margin:0;color:var(--news-ink)!important}
.r2-news-page .next-news-lead{font-size:13px!important;line-height:1.6!important;margin:4px 0 0;color:var(--news-muted)!important}
.r2-news-page .search{width:320px;max-width:100%;padding:0;background:var(--news-surface)!important;border:1px solid var(--news-line)!important;border-radius:10px}
.r2-news-page .search input{width:100%!important;padding:11px 14px;border:0!important;border-radius:inherit;background:transparent!important;color:var(--news-ink)!important;font-size:14px}
.r2-news-page .search input::placeholder{color:var(--news-muted)!important;opacity:1}
.r2-news-page #r2-news-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0!important;padding:0!important;background:transparent!important;border:0}
.r2-news-page #r2-news-filters button{min-height:35px;padding:6px 13px;border:1px solid var(--news-line);border-radius:8px;background:var(--news-surface);color:var(--news-muted)!important;font-size:13px;font-weight:650}
.r2-news-page #r2-news-filters button[aria-pressed=true]{background:var(--mm-soft)!important;border-color:#ec873f!important;color:#8e3508!important;box-shadow:inset 0 0 0 1px #ec873f}
html[data-theme=dark] .r2-news-page #r2-news-filters button[aria-pressed=true]{background:#ff9b4c!important;color:#281b0c!important;border-color:#ffbd88!important}
.r2-news-page #r2-news-sections{display:flex!important;flex-direction:column;gap:18px;margin:18px 0 0;grid-template-columns:none!important}
.r2-news-page #r2-news-sections>.r2-news-section{width:100%;min-width:0;position:static;grid-column:auto;grid-row:auto;order:initial;margin:0!important;padding:18px;background:var(--news-surface)!important;border:1px solid var(--news-line)!important;border-radius:14px}
.r2-news-page .r2-news-section>.live-panel-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.r2-news-page .r2-news-section h2{font-size:18px!important;line-height:1.5;color:var(--news-ink)!important}
.r2-news-page .r2-news-section .live-panel-title>span{font-size:12px;line-height:1.5;max-width:none;color:var(--news-muted)!important}
.r2-news-page .r2-featured-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.r2-news-page .r2-news-section .r2-featured-grid>.r2-news-card{padding:14px!important;border:1px solid var(--news-line)!important;border-top:3px solid #f77b29!important;border-radius:10px!important;background:var(--news-card)!important;margin:0!important}
.r2-news-page .next-news-fresh-list,.r2-news-page .next-news-related-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:26px;min-width:0}
.r2-news-page .r2-news-section .r2-news-card{min-width:0;padding:12px 0!important;border-bottom-color:var(--news-line)!important}
.r2-news-page .r2-news-title,.r2-news-page .r2-news-title h3{color:var(--news-ink)!important}
.r2-news-page .r2-news-title h3{font-size:16px!important;line-height:1.6!important;letter-spacing:0;font-weight:750;overflow-wrap:anywhere}
.r2-news-page .r2-news-title:hover h3,.r2-news-page .r2-news-title:focus-visible h3{color:var(--news-accent)!important;text-decoration:underline;text-underline-offset:3px}
.r2-news-page .r2-news-card>p{font-size:13px!important;line-height:1.7!important;margin:8px 0!important;color:var(--news-muted)!important}
.r2-news-page .r2-news-featured>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.r2-news-page .next-news-meta{display:flex;flex-wrap:wrap;gap:3px 10px;margin-top:7px;font-size:12px;line-height:1.6;color:var(--news-muted)!important;overflow-wrap:anywhere}
.r2-news-page .next-news-meta>time{white-space:nowrap}
.r2-news-page .next-news-meta>span:not(.next-news-region){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r2-news-page .next-news-region{font-weight:650}
.r2-news-page .r2-news-card .r2-stock-chips{gap:5px;margin:8px 0 0}
.r2-news-page .r2-news-card .r2-stock-chips button{font-size:11px;padding:4px 7px}
.r2-news-page .r2-personal-section{border-left:4px solid #f77b29!important}
.r2-news-page .r2-personal-section>.data-note{margin:0 0 4px;color:var(--news-muted)!important}
.r2-news-page .next-news-pages{margin:16px 0 0;gap:16px;flex-wrap:wrap;scroll-margin-top:150px;color:var(--news-muted)!important}
.r2-news-page .next-news-pages button{background:var(--news-card)!important;color:var(--news-ink)!important;border-color:var(--news-line)!important;font-size:13px;padding:8px 15px}
.r2-news-page .next-news-empty{grid-column:1/-1;color:var(--news-muted)!important;padding:16px 0}
.r2-news-page .next-news-fresh{scroll-margin-top:140px}
html[data-theme=dark] :is(.r2-news-page,.v4-reader) .r2-stock-chips :is(button,a){background:#243650!important;border-color:#506581!important;color:#edf4ff!important}
html[data-theme=dark] :is(.r2-news-page,.v4-reader) .r2-stock-chips :is(span,small){color:#d3def0!important}
html[data-theme=dark] :is(.r2-news-page,.v4-reader) .r2-stock-chips :is(b,strong){color:#ffbc87!important}
html[data-theme=dark] #modal:has(.v4-reader){color:#edf3ff!important}
html[data-theme=dark] #modal:has(.v4-reader)>.close{color:#edf3ff!important}
html[data-theme=dark] #modal .v4-reader :is(h2,h3,h4,strong,b){color:#f1f5fd!important}
html[data-theme=dark] #modal .v4-reader :is(p,small,time,li,td,blockquote,.jp-label,.data-note){color:#c9d6e9!important}
html[data-theme=dark] #modal .v4-reader a:not(.btn){color:#ffbd89!important}
html[data-theme=dark] #modal .v4-reader :is(.insight-callout,.insight-assets article,code){background:#243650!important;color:#edf3ff!important;border-color:#536a88!important}
html[data-theme=dark] #modal .v4-reader .r2-stock-chips :is(b,strong){color:#ffbc87!important}
@media(max-width:900px){.r2-news-page .r2-featured-grid{grid-template-columns:1fr}.r2-news-page .r2-news-section .r2-featured-grid>.r2-news-card{padding:12px!important}.r2-news-page .next-news-fresh-list,.r2-news-page .next-news-related-list{grid-template-columns:1fr}}
@media(max-width:600px){
 .r2-news-page .r2-news-heading{display:block;margin-bottom:12px}
 .r2-news-page .r2-news-heading h1{font-size:23px!important}
 .r2-news-page .search{margin-top:12px;width:100%}
 .r2-news-page #r2-news-sections{gap:14px;margin-top:14px}
 .r2-news-page #r2-news-sections>.r2-news-section{padding:13px}
 .r2-news-page .r2-news-title h3{font-size:15px!important}
 .r2-news-page .next-news-meta{font-size:11px;gap:2px 8px}
}
/* Shared navigation controls must keep their own dark surface as well as light text. */
html[data-theme=dark] header :is(.account-watch,.account-login,.account-my,.next-theme-toggle){background:#223149!important;color:#f0f5ff!important;border-color:#4a5d79!important}
html[data-theme=dark] .v3-bottom-nav{background:#172237!important;border-color:#394b66!important}
html[data-theme=dark] .v3-bottom-nav a,html[data-theme=dark] .v3-bottom-nav a>span{color:#bfcee3!important}
html[data-theme=dark] .v3-bottom-nav a[aria-current],html[data-theme=dark] .v3-bottom-nav a[aria-current]>span{color:#ffb77e!important}
