/* Shared evidence stays readable in desktop rows and narrow mobile cards. */
.fusion-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0}
.fusion-toolbar label{display:flex;align-items:center;gap:8px}
.fusion-toolbar select{max-width:100%;min-height:38px}
.fusion-toolbar #fusion-change-count{font-size:12px;color:var(--muted)}
.fusion-evidence{padding:10px 16px;border-top:1px solid var(--line);font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.fusion-evidence strong{font-size:13px;color:var(--text)}
.fusion-evidence .badge{margin-left:8px}
.fusion-evidence p{margin:4px 0;color:var(--muted)}
.fusion-evidence li small{display:block;color:var(--muted)}
.fusion-evidence .fusion-limits{color:var(--accent)}
body[data-page="overview"] #all-results>summary{font-size:15px}
body[data-page="overview"] #decision-summary{padding:0 4px 12px}
@media(max-width:600px){.fusion-toolbar{gap:8px}.fusion-toolbar label{width:100%}.fusion-toolbar select{flex:1;min-width:0}.fusion-evidence{padding:9px 12px}.fusion-toolbar .button{font-size:12px}}

.sidebar .nav-item:is([data-tab="surge"],[data-tab="tailradar"]){display:none!important}

/* Keep the complete list compact; full reasons are opt-in. */
.fusion-data-notice{padding:9px 12px;margin:6px 0;border:1px solid var(--line);border-radius:7px;background:var(--surface);font-size:12px;line-height:1.6;color:var(--muted)}
.fusion-data-notice[hidden]{display:none}
.fusion-fold{border-top:1px solid var(--line);font-size:12px}
.fusion-fold>summary{display:flex;align-items:center;gap:9px;flex-wrap:wrap;cursor:pointer;padding:7px 16px;min-height:32px;color:var(--muted);list-style:none}
.fusion-fold>summary::before{content:'▸';color:var(--accent)}
.fusion-fold[open]>summary::before{content:'▾'}
.fusion-fold>summary strong{font-size:12px;font-weight:500;color:var(--text)}
.fusion-fold .fusion-more{margin-left:auto;font-size:11px;color:var(--accent)}
.fusion-fold .fusion-evidence{border-top:0;padding-top:0}
.fusion-fold .fusion-evidence ul{padding-left:18px;margin:5px 0}
@media(max-width:600px){.fusion-fold>summary{padding:7px 12px;gap:6px}.fusion-fold>summary span{font-size:11px}}
/* Three research views share one filtered list; guided views do not rank by scores. */
.opportunity-view-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0}
.opportunity-view-tabs button.active{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}
.opportunity-view-tabs p{flex-basis:100%;font-size:12px;color:var(--muted);margin:3px 0;line-height:1.7}
.opportunity-row{padding:15px 17px;border-bottom:1px solid var(--line);background:var(--surface)}
.opportunity-row>header{display:flex;justify-content:space-between;gap:12px;align-items:center}
.opportunity-row>header .reference-stock{min-width:0;text-align:left}
.opportunity-row>header .reference-stock small{display:block;color:var(--muted)}
.opportunity-row>header>.button{font-size:12px;flex-shrink:0;min-height:36px}
.opportunity-columns{display:grid;grid-template-columns:1.3fr 1.1fr 1fr;gap:18px;margin-top:10px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.opportunity-columns small{font-size:11px;color:var(--muted)}
.opportunity-columns p{margin:4px 0}
.opportunity-status.risk{color:var(--red)}
.opportunity-status.confirmed{color:var(--accent)}
.opportunity-reasons{font-size:12px;margin-top:9px}
.opportunity-metrics{margin:12px 0 14px;padding:12px;border:1px solid var(--line,#dce4e8);border-radius:10px;background:var(--surface-soft,rgba(128,150,160,.04))}
.opportunity-return-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.opportunity-return-strip>span{display:flex;flex-direction:column;gap:3px}
.opportunity-return-strip small,.opportunity-strategy small,.opportunity-metric-date{color:var(--muted,#647580);font-size:11px}
.opportunity-return-strip b{font-size:20px;font-variant-numeric:tabular-nums}
.opportunity-rank-strip{display:flex;flex-wrap:wrap;gap:10px 22px;margin:12px 0 8px;padding-top:10px;border-top:1px solid var(--line,#dce4e8)}
.opportunity-strategy{display:flex;flex-direction:column;gap:3px;font-size:11px}.opportunity-strategy b{font-size:13px}
.opportunity-daily{margin-top:7px;font-size:11px}.opportunity-daily summary{cursor:pointer}.opportunity-daily>div{display:flex;flex-wrap:wrap;gap:16px;padding-top:6px}
.intraday-stock{padding:12px;margin-top:10px;border:1px solid var(--line,#dce4e8);border-left:3px solid var(--accent,#168c9b);border-radius:8px}
.intraday-stock-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.intraday-condition{color:var(--muted,#647580)}.intraday-condition.live-improving{color:var(--up,#d74c53)}.intraday-condition.live-weakening{color:var(--down,#188574)}
.intraday-stock-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}.intraday-stock-values>span{display:flex;flex-direction:column;gap:4px}.intraday-stock-values small{font-size:11px;color:var(--muted,#647580)}.intraday-stock-values strong{font-size:18px;font-variant-numeric:tabular-nums}.intraday-stock .hint{font-size:11px;margin:8px 0 0}
.intraday-stock-muted{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted,#647580);padding:10px 0}.intraday-daily-heading{font-size:11px;color:var(--muted,#647580);margin-bottom:8px}
.intraday-sector-panel{margin:12px 0}.intraday-sector-table{min-width:790px}.intraday-sector-table small{display:block;font-size:10px;color:var(--muted,#647580)}.intraday-sector-table td{font-variant-numeric:tabular-nums}.intraday-sector-panel .research-table-wrap{max-width:100%;overflow:auto}
@media(max-width:700px){.intraday-stock{padding:10px}.intraday-stock-values{gap:7px}.intraday-stock-values strong{font-size:16px}.intraday-stock-values small{font-size:10px}.intraday-sector-panel{padding:12px}}
.opportunity-reasons>summary{cursor:pointer;color:var(--accent);padding:4px 0}
.opportunity-reasons .fusion-evidence{padding:7px 0}
body[data-page=overview][data-opportunity-view=changes] .table-heading,body[data-page=overview][data-opportunity-view=tracking] .table-heading{display:none!important}
body[data-page=overview]:is([data-opportunity-view=changes],[data-opportunity-view=tracking]) .stock-table{min-width:0;overflow:hidden}
body[data-page=overview]:is([data-opportunity-view=changes],[data-opportunity-view=tracking]) .list-meta>span+span{display:none}
body[data-page=overview][data-opportunity-view] #decision-summary>.hint{display:none}
@media(max-width:700px){.opportunity-row{padding:12px}.opportunity-columns{grid-template-columns:1fr;gap:9px}.opportunity-columns p{margin:2px 0}.opportunity-row>header strong{font-size:14px}.opportunity-view-tabs>.button{flex:1;min-width:85px;padding:8px}.opportunity-view-tabs p{font-size:11px}}

.intraday-leader-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:10px 0}.intraday-leader{display:grid;grid-template-columns:1fr auto;text-align:left;padding:10px;border:1px solid var(--line,#dce4e8);border-radius:8px;background:var(--surface,#fff);color:inherit;min-width:0}.intraday-leader>span:first-child{display:flex;flex-direction:column;gap:3px}.intraday-leader small{font-size:10px;color:var(--muted,#647580)}.intraday-leader>strong{font-size:18px}.intraday-leader-windows{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;margin-top:7px;font-size:10px}@media(max-width:500px){.intraday-leader-grid{grid-template-columns:1fr}.intraday-leader{padding:9px}.intraday-leader>strong{font-size:16px}}

.day-change-cell{display:inline-flex;flex-direction:column;vertical-align:middle;gap:2px}.day-change-basis{display:block;font-size:10px!important;font-weight:400;line-height:1.35;color:var(--muted,#7f8b9c);white-space:normal}.day-change-cell b{font-variant-numeric:tabular-nums}

.banner-stats .day-change-cell>b{font-size:28px}.detail-kpis .day-change-cell{display:flex;margin-bottom:6px}.detail-kpis .day-change-cell>b{font-size:20px}

.stock-day-change{display:flex;align-items:center;gap:12px;padding:8px 12px;font-size:12px;border-top:1px solid rgba(127,139,156,.12)}.stock-day-change .day-change-cell{flex-direction:row;align-items:center;gap:10px}

/* Daily quote metadata owns a full row; historical metrics keep three columns. */
.sector-compact .sector-day-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px 12px;margin:12px 0 10px;text-align:left;color:var(--muted);font-size:11px;min-width:0}
.sector-compact .sector-day-label{line-height:1.5;white-space:nowrap}
.sector-compact .sector-day-row .day-change-cell{display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:4px 12px;min-width:0;white-space:normal}
.sector-compact .sector-day-row .day-change-cell>b{font-size:14px;line-height:1.4;white-space:nowrap}
.sector-compact .sector-day-row .day-change-basis{min-width:0;margin:0;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-align:right}
.sector-compact .sector-mini-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0}
.sector-compact .sector-mini-metrics>span{min-width:0;white-space:normal}
.sector-compact .sector-mini-foot{flex-wrap:wrap;row-gap:6px}
.sector-compact .sector-pullback{overflow-wrap:anywhere}
@media(max-width:600px){.sector-compact .sector-day-row .day-change-cell{grid-template-columns:minmax(0,1fr)}.sector-compact .sector-day-row .day-change-basis{text-align:left}.sector-compact .sector-day-row{gap:6px}.sector-compact .sector-mini-metrics{gap:4px}}

/* Only the sector relative-performance region switches from cards to a table. */
#sectors.sector-grid{display:block;min-width:0}
.sector-performance-scroll{max-width:100%;max-height:660px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:var(--surface);overscroll-behavior:contain}
.sector-performance-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;font-size:12px;text-align:left;font-variant-numeric:tabular-nums}
.sector-performance-table th,.sector-performance-table td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.6}
.sector-performance-table thead th{position:sticky;top:0;z-index:2;background:var(--surface);color:var(--muted);white-space:nowrap;font-size:11px;font-weight:600;box-shadow:0 1px 0 var(--line)}
.sector-performance-table tbody tr{cursor:pointer;background:var(--surface)}
.sector-performance-table tbody tr:hover,.sector-performance-table tbody tr.selected{background:var(--surface-alt,var(--bg))}
.sector-performance-table tbody tr.selected>th{box-shadow:inset 3px 0 var(--accent)}
.sector-performance-table tr>:first-child{position:sticky;left:0;z-index:1;background:inherit;min-width:176px;max-width:200px}
.sector-performance-table thead tr>:first-child{z-index:3;background:var(--surface)}
.sector-performance-table tbody tr:last-child>*{border-bottom:0}
.sector-table-name{display:flex;align-items:flex-start;gap:8px;padding:0;border:0;background:transparent;color:var(--text);font-weight:600;text-align:left;line-height:1.6}
.sector-table-name .sector-number{flex-shrink:0;width:24px;height:24px;font-size:11px}
.sector-table-score{color:var(--accent);font-weight:700}
.sector-performance-table .day-change-cell{display:flex;min-width:158px;gap:3px}
.sector-performance-table .day-change-basis{max-width:180px;white-space:normal;overflow-wrap:anywhere}
.sector-table-context{min-width:230px;max-width:300px;color:var(--muted);overflow-wrap:anywhere}
.sector-table-context small,.sector-table-status small{display:block;margin-top:4px;color:var(--muted);font-size:11px}
.sector-table-context b{color:var(--text)}
.sector-table-status{min-width:150px}
.sector-table-hint{margin-top:8px;font-size:11px;color:var(--muted)}
@media(max-width:750px){.sector-performance-table th,.sector-performance-table td{padding:10px}.sector-performance-table tr>:first-child{min-width:148px;max-width:168px}.sector-performance-scroll{max-height:70vh}}

/* A stock's day change belongs with its identity, inside one bounded card. */
#stocks .compact-stock.rank-stock-card{margin:10px 0;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden;min-width:0}
#stocks .rank-stock-card>.stock-row{margin:0;border:0!important;border-radius:0;background:transparent;width:100%}
#stocks .stock-identity-change{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap;margin-top:9px;padding:7px 9px;border-radius:7px;background:var(--surface2,var(--bg));font-size:11px;color:var(--muted);text-align:left;min-width:0}
#stocks .stock-identity-change>.day-change-cell{display:flex;flex-direction:column;min-width:0;gap:2px}
#stocks .stock-identity-change .day-change-cell>b{font-size:14px;line-height:1.4}
#stocks .stock-identity-change .day-change-basis{font-size:10px!important;white-space:normal;overflow-wrap:anywhere}
#stocks .rank-stock-observation{padding:10px 14px;border-top:1px dashed var(--line);background:var(--surface2,var(--bg))}
#stocks .rank-stock-owner{display:block;font-size:11px;font-weight:600;color:var(--muted);margin-bottom:3px}
#stocks .rank-stock-observation .intraday-stock-muted{padding:0;font-size:11px;line-height:1.6}
#stocks .rank-stock-observation .intraday-stock-muted>b{display:none}
#stocks .rank-stock-observation .intraday-stock{margin:0}
@media(max-width:600px){#stocks .rank-stock-observation{padding:9px 12px}#stocks .stock-identity-change{margin-top:1px}}

/* Compact ranking: one daily-change line; observation rows exist only with live data. */
#stocks .stock-identity-change{display:inline-flex;align-items:baseline;margin-top:5px;padding:0;background:transparent;gap:8px;line-height:1.5}
#stocks .stock-identity-change>.day-change-cell{display:inline-flex;flex-direction:row;align-items:baseline;gap:5px}
#stocks .stock-identity-change .day-change-basis{display:none}
#stocks .stock-identity-change .day-change-cell>b{font-size:13px}
#stocks .stock-identity-change b[data-day-note]:after{content:attr(data-day-note);font-size:10px;font-weight:400;color:var(--muted);margin-left:5px}
#stocks .stock-identity-change b[data-day-note=""]:after{display:none}
#stocks .rank-stock-observation:has(>[data-intraday-stock]:empty){display:none}
#stocks .rank-stock-observation{padding:7px 14px}
#stocks .intraday-stock-brief{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 16px;color:var(--muted);font-size:11px;line-height:1.5}
#stocks .compact-stock.rank-stock-card{margin:7px 0}
#stocks .rank-stock-card>.stock-row{padding-top:12px;padding-bottom:12px;min-height:0}

/* Static disclosures surround dynamic content, so quote/chart refreshes never reopen them. */
#pane-sectors .sector-fold-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 14px;margin:8px 0;color:var(--muted);font-size:12px}
#pane-sectors .sector-fold-tools>span{margin-right:auto}
#pane-sectors>.sector-section-fold{margin:12px 0;padding:14px 16px;min-width:0}
#pane-sectors>.sector-section-fold>summary{font-size:15px;color:var(--text);min-height:30px;line-height:1.5;list-style:none}
#pane-sectors>.sector-section-fold>summary::-webkit-details-marker{display:none}
#pane-sectors>.sector-section-fold>summary:after{content:'展开';margin-left:auto;color:var(--accent);font-size:11px;font-weight:400}
#pane-sectors>.sector-section-fold[open]>summary:after{content:'收起'}
#pane-sectors .sector-section-fold>section>.panel{border:0;box-shadow:none;padding:4px 0 0;margin:0;background:transparent}
#sector-live-fold h2,#sector-chart-fold .panel-title h2,#sector-pullback-fold .panel-title h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){#pane-sectors>.sector-section-fold{padding:11px 12px}#pane-sectors>.sector-section-fold>summary{font-size:13px}#pane-sectors .sector-fold-tools{gap:6px 10px;font-size:11px}}

/* Research conclusions replace the parallel change/tracking recommendation views. */
body[data-page=overview][data-attention-view=focus] #research-controls,body[data-page=overview][data-attention-view=focus] #all-results,body[data-page=overview][data-attention-view=focus] #intraday-home{display:none!important}
.attention-workspace{min-width:0}.attention-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.attention-nav .active{background:var(--accent);color:var(--surface);border-color:var(--accent)}
.attention-heading{display:flex;align-items:baseline;gap:8px 18px;flex-wrap:wrap}.attention-heading h2{font-size:22px}.attention-heading>span,.attention-note{color:var(--muted);font-size:12px}.attention-note{margin:8px 0 20px;line-height:1.7}
.attention-section{margin:20px 0}.attention-section>h3{font-size:16px;margin-bottom:10px}.attention-sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.attention-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.attention-card{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:14px;min-width:0}.attention-card>header{display:flex;gap:8px;align-items:start;justify-content:space-between;flex-wrap:wrap}.attention-name{padding:0;font-size:15px;font-weight:650;text-align:left;color:var(--text)}.attention-name small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}
.attention-evidence{font-size:12px;font-weight:600;line-height:1.9;margin-top:10px}.attention-record{font-size:11px;color:var(--accent);margin:6px 0 10px}.attention-watch,.attention-limit{font-size:11px;line-height:1.8;color:var(--muted)}.attention-watch b,.attention-limit b{font-weight:500;color:var(--text);margin-right:5px}.attention-card>[data-attention-favorite]{font-size:11px;margin-top:8px}
.attention-empty{grid-column:1/-1;padding:18px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:12px}.attention-method{padding:12px 0;color:var(--muted);font-size:11px}.attention-method>summary{cursor:pointer;color:var(--accent);font-size:12px}.attention-method p{margin:8px 0;line-height:1.8}.attention-live h3 small{font-size:11px;font-weight:400;color:var(--muted)}.attention-live p{font-size:12px;margin-top:10px}.attention-live p>span{color:var(--muted);margin:0 8px}
@media(max-width:1100px){.attention-sector-grid{grid-template-columns:1fr}.attention-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.attention-stock-grid{grid-template-columns:1fr}.attention-heading h2{font-size:19px}.attention-card{padding:12px}.attention-nav .button{font-size:12px}}

.minute-event svg{display:block;width:100%;height:58px;margin:10px 0}.minute-event header{flex-wrap:wrap;gap:8px}.minute-event small{overflow-wrap:anywhere}.minute-event .badge{white-space:normal}.attention-live{margin-bottom:24px}

.minute-filter-panel{border:1px solid var(--line);border-radius:10px;padding:12px;margin:12px 0}.minute-filter-panel .attention-nav{margin-bottom:10px}.minute-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.minute-filter-grid label,.minute-filter-panel .attention-method>label{display:flex;flex-direction:column;gap:5px;font-size:12px;min-width:0}.minute-filter-grid select,.minute-filter-grid input,.minute-filter-panel .attention-method select{min-width:0;width:100%;box-sizing:border-box;padding:7px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);font-size:12px}.minute-filter-checks{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin-top:10px}.minute-filter-checks label{display:flex;align-items:center;gap:5px;font-size:12px}.minute-filter-panel .attention-note{margin:8px 0 0}.minute-filter-panel .attention-method{padding:8px 0}.minute-filter-panel .attention-method select{max-width:280px}@media(max-width:850px){.minute-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:400px){.minute-filter-grid{grid-template-columns:1fr}}
.minute-filter-checks label{white-space:nowrap;flex:none;width:auto;max-width:none}.minute-filter-checks input[type=checkbox]{width:16px;min-width:16px;max-width:16px;height:16px;flex:0 0 16px;margin:0}

.minute-event svg.minute-day-chart{height:auto;min-height:74px;max-height:120px}.minute-event .minute-daily{font-size:15px;margin:10px 0 6px}.minute-daily b{font-size:20px;margin:0 8px}.minute-daily span{font-size:11px}.minute-giants{font-size:12px}.minute-giants small{display:block;margin:4px 0;color:var(--muted)}

.minute-plan-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:10px;margin:12px 0}.minute-plan-toolbar>label{display:flex;flex-direction:column;gap:5px;font-size:12px}.minute-plan-toolbar select,.minute-plan-toolbar input:not([type=checkbox]){box-sizing:border-box;min-width:0;width:100%;padding:8px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:6px}.minute-plan-toolbar>small,.minute-plan-toolbar>details,.minute-plan-toolbar>p{grid-column:1/-1}.minute-plan-toolbar input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:5px}.minute-filter-drawer>summary{cursor:pointer;padding:10px 0;color:var(--accent);font-size:13px}.minute-filter-drawer .minute-filter-panel{margin-top:0}.minute-history-scroll{overflow:auto}.minute-history table{width:100%;font-size:11px;border-collapse:collapse}.minute-history th,.minute-history td{padding:5px;border-bottom:1px solid var(--line);white-space:nowrap;text-align:left}.minute-watch-history{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.minute-watch-history>article{padding:10px;border:1px solid var(--line);border-radius:8px;min-width:0}@media(max-width:700px){.minute-plan-toolbar{padding:10px}.minute-watch-history{grid-template-columns:1fr}.attention-live>p.attention-note{font-size:10px;line-height:1.5;max-height:3em;overflow:auto}.attention-live>.attention-nav .button{padding:7px;font-size:11px}.minute-plan-toolbar .attention-nav .button{font-size:11px}.minute-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Financial facts wrap within each stock instead of adding wide table columns. */
.financial-brief{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline;margin:8px 0;font-size:12px;line-height:1.6;color:var(--muted,#64748b);font-weight:400;white-space:normal;overflow-wrap:anywhere}
.financial-brief span{display:inline-block;max-width:100%;white-space:normal}
.financial-brief b{font-size:inherit;font-weight:600}
.financial-period,.financial-state{font-weight:600}
.financial-stale{color:#986618}
.quote-name .financial-brief{max-width:290px;min-width:170px;text-align:left}
.quote-financial-toggle{display:flex;align-items:center;gap:5px;font-size:13px;white-space:nowrap}
@media(max-width:750px){.financial-brief{gap:3px 8px;font-size:12px}.quote-name .financial-brief{max-width:200px;min-width:140px}}

.favorite-table-container{display:block;min-width:0}
.favorite-sort-note{font-size:12px;line-height:1.7;color:var(--muted);margin:12px 0}
.favorite-table-scroll{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:12px;background:var(--surface);isolation:isolate}
.favorite-table{width:100%;border-collapse:separate;border-spacing:0;min-width:820px;font-size:13px;text-align:left}
.favorite-table th,.favorite-table td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top;white-space:nowrap}
.favorite-table thead th{background:var(--surface2);color:var(--muted);font-weight:600}
.favorite-table th button{border:0;background:none;color:inherit;font:inherit;cursor:pointer;padding:6px 0;text-align:left;min-height:32px}
.favorite-table th[aria-sort=ascending],.favorite-table th[aria-sort=descending]{color:var(--accent)}
.favorite-table .favorite-name{position:sticky;left:0;z-index:2;background:var(--surface);min-width:128px;max-width:170px;white-space:normal;box-shadow:1px 0 0 var(--line)}
.favorite-table thead .favorite-name{background:var(--surface2);z-index:3}
.favorite-table .favorite-name button{padding:0;display:block;text-align:left}
.favorite-table small{display:block;color:var(--muted);font-size:11px;margin-top:4px;white-space:normal}
.favorite-table .favorite-more{white-space:normal;min-width:190px;max-width:300px;font-size:12px;line-height:1.7}
.favorite-more>.text-button{display:block;margin-top:8px;font-size:11px}
.favorite-table details{white-space:normal;max-width:300px;margin-top:5px;font-size:12px;line-height:1.7}
.favorite-table summary{cursor:pointer;color:var(--accent);white-space:normal}
.favorite-table details p{white-space:normal;margin:6px 0}
.favorite-table .compare-metrics{grid-template-columns:repeat(2,minmax(0,1fr));min-width:210px}
.favorite-period-group th{background:var(--surface2);color:var(--muted);font-size:12px;font-weight:600}
@media(max-width:750px){.favorite-table{font-size:12px;min-width:760px}.favorite-table th,.favorite-table td{padding:10px}.favorite-table .favorite-name{min-width:104px;max-width:125px}.favorite-table .favorite-name b{font-size:13px}.favorite-sort-note{font-size:11px}.favorite-table th button{min-height:40px}}

.favorite-table .day-change-basis{display:none}
.favorite-table .day-change-cell b[data-day-note]:after{content:attr(data-day-note);display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:3px}
.favorite-table .day-change-cell b[data-day-note=""]:after{display:none}

/* All dynamically rendered data tables share accessible header controls. */
th>.table-sort-button{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:inherit;white-space:inherit;padding:4px 0;min-height:30px;cursor:pointer;border-radius:3px}
th>.table-sort-button:hover,th[aria-sort=ascending]>.table-sort-button,th[aria-sort=descending]>.table-sort-button{color:var(--accent)}
th>.table-sort-button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.table-sort-arrow{font-size:11px;opacity:.75;white-space:nowrap}
@media(max-width:750px){th>.table-sort-button{min-height:38px}}

/* Compact watch list: override the former minute-column density rules. */
#quote-board .quote-table-scroll .quote-table{min-width:900px;table-layout:auto;width:100%}
#quote-board .quote-table-scroll .quote-table th,#quote-board .quote-table-scroll .quote-table td{display:table-cell!important;width:auto;min-width:85px;padding:10px 12px;white-space:nowrap;overflow-wrap:normal;vertical-align:middle}
#quote-board .quote-table-scroll .quote-table .quote-name{width:140px;min-width:140px;max-width:180px;padding-right:32px;position:sticky;left:0;background:var(--surface);z-index:2}
#quote-board .quote-table-scroll .quote-table th.quote-name{background:var(--surface2);z-index:3}
#quote-board .quote-stock-button{max-width:125px}
#quote-board .quote-stock-button b{white-space:normal;font-size:13px}
#quote-board .quote-table td small{margin-top:3px;font-size:10px}
#quote-board .quote-table .quote-name .financial-brief{min-width:0;max-width:160px}
#quote-board .quote-summary{display:none}
#quote-board .quote-heading p{margin-bottom:6px}
#quote-board .quote-sort-status,#quote-board .quote-notice{font-size:11px;line-height:1.6;margin:7px 0}
#quote-board .quote-table-scroll:not(.compact) .quote-table td{padding-top:15px;padding-bottom:15px}
@media(max-width:750px){#quote-board .quote-table-scroll .quote-table .quote-name{min-width:108px;width:108px;max-width:125px}#quote-board .quote-table-scroll .quote-table th,#quote-board .quote-table-scroll .quote-table td{padding:9px 8px;min-width:76px;font-size:12px}#quote-board .quote-table-scroll .quote-table{min-width:790px}#quote-board .quote-stock-button{max-width:85px}}

/* Unified reading rhythm; theme choices and semantic red/green remain intact. */
body.layout-polished{font-variant-numeric:tabular-nums;--layout-radius:14px;--layer-page:40;--layer-shade:190;--layer-detail:200}
body[data-theme=warm].layout-polished{--bg:#f5f5f1;--surface:#fffefa;--surface2:#f3f3ed;--line:#e6e7df;--muted:#6b7165;--text:#252b24}
body.layout-polished .topbar{position:sticky;top:0;z-index:var(--layer-page);display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;margin-bottom:14px;background:var(--bg);border-bottom:1px solid var(--line)}
body.layout-polished .topbar>div:first-child{min-width:0}
body.layout-polished .topbar>.top-actions{margin:0;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.layout-polished .topbar .eyebrow{display:none}
body.layout-polished #page-title{font-size:25px;line-height:1.35;letter-spacing:-.5px;margin:0}
body.layout-polished .topbar .meta-row{display:flex;gap:5px 12px;flex-wrap:wrap;font-size:11px;line-height:1.6;margin:5px 0 0;color:var(--muted)}
body.layout-polished .topbar #mode{display:none}
body.layout-polished .connection{padding:4px 8px;border:1px solid var(--line);border-radius:30px;font-size:11px;white-space:nowrap}
body.layout-polished .panel,body.layout-polished .attention-card,body.layout-polished .context-fold,body.layout-polished .all-results{border-radius:var(--layout-radius);box-shadow:none}
body.layout-polished .panel{padding:18px}
body.layout-polished .panel-title h2,body.layout-polished .attention-heading h2{font-size:18px;line-height:1.5}
body.layout-polished .button{border-radius:9px;box-shadow:none;font-weight:550}
body.layout-polished .button.primary{box-shadow:0 2px 5px #00000009}
body.layout-polished input:not([type=checkbox]):not([type=range]),body.layout-polished select{border-radius:8px;min-height:36px}
body.layout-polished .sidebar{border-right:1px solid var(--line);box-shadow:none}
body.layout-polished .nav-item{border-radius:10px;margin-bottom:5px}
body.layout-polished .nav-item.active{box-shadow:inset 3px 0 var(--accent)}
body.layout-polished .sidebar-note{opacity:.8;font-size:10px}
body.layout-polished table{font-variant-numeric:tabular-nums}
body.layout-polished table thead th{font-size:12px;line-height:1.5;font-weight:600;background:var(--surface2);color:var(--muted)}
body.layout-polished table td{font-size:12px;line-height:1.6;border-bottom-color:var(--line)}
body.layout-polished table .layout-number{text-align:right}
body.layout-polished table .layout-sorted-cell{background:color-mix(in srgb,var(--accent) 4%,transparent)}
body.layout-polished table tbody tr:hover>td,body.layout-polished table tbody tr:hover>th{background:color-mix(in srgb,var(--accent) 7%,var(--surface))}
body.layout-polished table tbody tr.selected>td,body.layout-polished table tbody tr.selected>th{background:color-mix(in srgb,var(--accent) 10%,var(--surface))}
body.layout-polished .layout-sticky-head{position:relative;z-index:6;will-change:transform;background:var(--surface2);box-shadow:0 1px var(--line)}
body.layout-polished .table-scroll,body.layout-polished .research-table-wrap,body.layout-polished .quote-table-scroll,body.layout-polished .reference-scroll,body.layout-polished .us-table-scroll,body.layout-polished .fund-table-wrap,body.layout-polished .sector-performance-scroll,body.layout-polished .minute-history-scroll{max-height:none!important;overflow-x:auto}
body.layout-polished table small{font-size:10px;line-height:1.5}
body.layout-polished .favorite-table .favorite-name b,body.layout-polished .quote-stock-button b{font-size:13px}
body.layout-polished .quote-reference{opacity:1}
body.layout-polished .favorite-view-tabs,body.layout-polished .attention-nav{gap:6px;margin:12px 0}
body.layout-polished .favorite-view-tabs .button,body.layout-polished .attention-nav .button{min-height:34px;padding:7px 12px}
body.layout-polished .compare-note,body.layout-polished .favorite-sort-note,body.layout-polished .attention-note,body.layout-polished .hint{color:var(--muted);font-size:11px;line-height:1.7}
body.layout-polished .attention-live>p.attention-note{max-height:none;overflow:visible}
body.layout-polished .attention-live{padding:18px}
body.layout-polished .attention-stock-grid{gap:14px;align-items:start}
body.layout-polished .minute-event{padding:16px;border:1px solid var(--line);background:var(--surface);overflow:hidden}
body.layout-polished .minute-event>header{gap:10px;align-items:flex-start;margin-bottom:10px}
body.layout-polished .minute-event .attention-name{font-size:16px;font-weight:650}
body.layout-polished .minute-event>header .badge{font-size:10px;line-height:1.6;max-width:47%;white-space:normal;text-align:right;padding:4px 7px}
body.layout-polished .minute-event>p{font-size:11px;line-height:1.7;margin:7px 0}
body.layout-polished .minute-event details{border-top:1px solid var(--line);padding-top:8px;margin-top:10px;font-size:11px}
body.layout-polished .minute-event details summary{padding:3px 0;color:var(--muted);cursor:pointer}
body.layout-polished .minute-plan-toolbar{padding:12px 14px;background:var(--surface2);border:1px solid var(--line);border-radius:10px;gap:8px 14px}
body.layout-polished .minute-plan-toolbar>small{font-size:10px}
body.layout-polished .minute-plan-toolbar>details{margin-top:0}
body.layout-polished .minute-plan-toolbar summary{font-size:11px;cursor:pointer}
body.layout-polished .layout-filter-drawer{border:0;padding:0;margin:10px 0}
body.layout-polished .layout-filter-drawer>summary{display:none}
body.layout-polished .layout-drawer-done{display:none}
body.layout-polished .layout-sector-nav{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
body.layout-polished .layout-sector-nav button{font:inherit;font-size:12px;padding:8px 14px;color:var(--accent);background:var(--surface);border:1px solid var(--line);border-radius:20px;cursor:pointer}
body.layout-polished .layout-sector-nav button:hover{background:var(--accent-soft)}
body.layout-polished .sector-fold-tools{font-size:11px;margin-bottom:12px}
body.layout-polished .sector-section-fold{scroll-margin-top:100px;margin-bottom:14px}
body.layout-polished .sector-section-fold>summary{padding:14px 16px;font-size:14px}
body.layout-polished footer{font-size:10px;color:var(--muted);padding:18px 0;line-height:1.7}
@media(prefers-reduced-motion:no-preference){body.layout-polished button{transition:background-color .15s,color .15s,border-color .15s}}
@media(max-width:750px){
 body.layout-polished main{min-width:0}
 body.layout-polished .topbar{gap:8px;padding:9px 0;margin-bottom:12px;align-items:flex-start}
 body.layout-polished #page-title{font-size:21px}
 body.layout-polished .topbar>.top-actions{gap:5px;max-width:53%}
 body.layout-polished .topbar .connection{display:none}
 body.layout-polished .topbar .meta-row{font-size:10px;gap:2px}
 body.layout-polished .topbar #scan-date{max-width:100%;line-height:1.5}
 body.layout-polished .topbar #data-date{display:block;width:100%}
 body.layout-polished .topbar .button{padding:8px 10px;font-size:11px;min-height:34px}
 body.layout-polished .topbar select{font-size:11px;max-width:100%;min-height:32px}
 body.layout-polished .panel{padding:13px}
 body.layout-polished .layout-sector-nav{position:sticky;top:100px;z-index:8;flex-wrap:nowrap;overflow-x:auto;padding:5px 0;background:var(--bg);margin-bottom:10px}
 body.layout-polished .layout-sector-nav button{white-space:nowrap;flex:1;padding:8px 10px;font-size:11px}
 body.layout-polished .sector-section-fold{scroll-margin-top:160px}
 body.layout-polished .layout-filter-drawer>summary,body.layout-polished .minute-filter-drawer>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--accent);font-size:12px;cursor:pointer;list-style:none}
 body.layout-polished .layout-filter-drawer>summary::-webkit-details-marker,body.layout-polished .minute-filter-drawer>summary::-webkit-details-marker{display:none}
 body.layout-polished .layout-filter-state,body.layout-polished .layout-filter-summary small{font-size:10px;font-weight:400;color:var(--muted)}
 body.layout-polished .layout-filter-drawer[open],body.layout-polished .minute-filter-drawer[open]{position:fixed!important;inset:10px 8px max(8px,env(safe-area-inset-bottom));z-index:160!important;overflow:auto;overscroll-behavior:contain;background:var(--surface);padding:0 14px 16px;margin:0!important;border:1px solid var(--line);border-radius:16px;box-shadow:0 0 0 100vmax #11182770}
 body.layout-polished .layout-filter-drawer[open]>summary,body.layout-polished .minute-filter-drawer[open]>summary{position:sticky;top:0;z-index:3;min-height:50px;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:12px 0;background:var(--surface);font-size:15px;font-weight:600}
 body.layout-polished .layout-filter-drawer[open]>summary:after,body.layout-polished .minute-filter-drawer[open]>summary:after{content:'收起 ✕';font-size:12px;font-weight:400;color:var(--muted);white-space:nowrap}
 body.layout-polished .layout-filter-drawer[open]>.layout-drawer-done,body.layout-polished .minute-filter-drawer[open]>.layout-drawer-done{display:block;position:sticky;bottom:0;width:100%;margin:16px 0 0;min-height:42px;z-index:3}
 body.layout-polished.layout-drawer-open{overflow:hidden}
 body.layout-polished .layout-filter-drawer .quote-controls{display:flex;flex-wrap:wrap;gap:10px;padding:14px 0}
 body.layout-polished .layout-filter-drawer .quote-controls>input{width:100%}
 body.layout-polished .layout-filter-drawer .quote-controls>select{flex:1 1 55%;width:auto}
 body.layout-polished .layout-filter-drawer .quote-controls>label{width:100%;display:flex;align-items:center;gap:8px;font-size:12px}
 body.layout-polished #research-controls>.research-scope-label{display:none}
 body.layout-polished #research-controls[open]{display:block}
 body.layout-polished #research-controls[open]>select,body.layout-polished #research-controls[open]>input{margin-top:12px;width:100%;display:block}
 body.layout-polished #research-controls[open]>[hidden]{display:none!important}
 body.layout-polished .minute-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.layout-polished .minute-filter-grid label{font-size:11px}
 body.layout-polished .minute-filter-panel{padding:12px 0;border:0}
 body.layout-polished .minute-plan-toolbar{grid-template-columns:minmax(0,1fr) auto;padding:10px}
 body.layout-polished .minute-plan-toolbar>label{font-size:11px}
 body.layout-polished .attention-live{padding:12px}
 body.layout-polished .attention-stock-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 body.layout-polished .minute-event{padding:13px}
 body.layout-polished .minute-event .attention-name{font-size:15px}
 body.layout-polished .attention-nav .button{padding:7px 9px;font-size:11px}
 body.layout-polished .attention-heading{align-items:flex-start;gap:8px;flex-wrap:wrap}
 body.layout-polished .attention-heading h2{font-size:17px}
 body.layout-polished .attention-heading>span{font-size:10px}
 body.layout-polished .favorite-tools{gap:7px}
 body.layout-polished .favorite-tools .button{min-height:36px;font-size:12px}
 body.layout-polished table td{font-size:12px}
 body.layout-polished .layout-sticky-head{z-index:6}
 body.layout-polished .quote-heading h2{font-size:17px}
}

@media(max-width:750px){
 body.layout-polished .layout-filter-drawer .quote-controls>input{flex:1 0 100%!important;min-width:0;width:100%;box-sizing:border-box}
 body.layout-polished .layout-filter-drawer .quote-controls>label{justify-content:flex-start;flex:1 0 100%;gap:8px}
 body.layout-polished .layout-filter-drawer .quote-controls input[type=checkbox]{flex:0 0 16px!important;width:16px;height:16px;margin:0}
 body.layout-polished .layout-filter-drawer .quote-controls select{min-width:0}
}

body.layout-polished table th.layout-number{text-align:right}
body.layout-polished table th.layout-number>.table-sort-button{justify-content:flex-end;width:100%}

/* A details element has an anonymous content slot: grid belongs on its inner wrapper. */
body.layout-polished #research-controls{display:block!important;padding:12px;margin:12px 0}
body.layout-polished #research-controls[hidden]{display:none!important}
body.layout-polished #research-controls .research-filter-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto auto;gap:10px;align-items:center;min-width:0}
body.layout-polished #research-controls .research-filter-fields>.research-scope-label{display:none}
body.layout-polished #research-controls .research-filter-fields :is(#research-sector,#research-board,#research-search,#signal-filter,#research-toggle,#research-clear,#research-status,#research-quality){grid-column:auto!important;grid-row:auto!important;min-width:0;max-width:100%;margin:0;box-sizing:border-box}
body.layout-polished #research-controls .research-filter-fields :is(select,input:not([type=checkbox])){width:100%;min-height:38px}
body.layout-polished #research-controls .research-filter-fields>.research-favorite{display:flex;align-items:center;justify-content:flex-start;gap:7px;white-space:nowrap;margin:0;grid-area:auto!important;font-size:12px}
body.layout-polished #research-controls .research-favorite input{width:16px!important;min-width:16px!important;height:16px;min-height:16px;flex:0 0 16px;margin:0}
body.layout-polished #research-controls .research-filter-fields>[hidden]{display:none!important}
body.layout-polished #research-controls :is(#research-active,#research-counts){grid-column:1/-1!important;margin:0;min-width:0}
body.layout-polished[data-page=overview][data-attention-view=focus] #research-controls{display:none!important}
body.layout-polished[data-page=overview] #research-controls #research-toggle{display:none!important}
body.layout-polished[data-page=overview] #research-controls .research-filter-fields :is(#research-search,#research-clear){display:block!important}
@media(min-width:751px) and (max-width:1100px){body.layout-polished #research-controls .research-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr)) auto auto}}
@media(max-width:750px){
 body.layout-polished #research-controls{padding:0;border:0}
 body.layout-polished #research-controls[open]{padding:0 14px 16px}
 body.layout-polished #research-controls .research-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 0}
 body.layout-polished #research-controls .research-filter-fields :is(#signal-filter,#research-search){grid-column:1/-1!important}
 body.layout-polished #research-controls .research-filter-fields #research-clear{width:auto;justify-self:end;padding:8px;min-height:38px}
}

body.layout-polished[data-page=overview] #research-controls .research-filter-fields #signal-filter:not([hidden]){display:block!important}

/* Detail overlays must sit above sticky page chrome, including dock themes. */
body.layout-polished #drawer-backdrop{z-index:var(--layer-shade)}
body.layout-polished #drawer.drawer{z-index:var(--layer-detail);isolation:isolate}
body.layout-polished #drawer .drawer-close{z-index:12}

/* Detail hierarchy and geometry: one scoped rule set for all themes. */
body.layout-polished #drawer .detail-heading{margin-bottom:14px}
body.layout-polished #drawer .detail-heading h2{font-size:24px;line-height:1.4}
body.layout-polished #drawer .detail-heading>p{font-size:11px;line-height:1.7;margin:5px 0 10px;color:var(--muted)}
body.layout-polished #drawer .detail-heading #favorite-toggle{font-size:11px;min-height:32px;padding:6px 10px}
body.layout-polished #drawer .detail-snapshot{padding:14px;margin-top:0}
body.layout-polished #drawer .detail-snapshot h3{font-size:13px;margin-bottom:10px}
body.layout-polished #drawer .detail-snapshot-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.layout-polished #drawer .detail-snapshot-metrics>div{min-width:0}
body.layout-polished #drawer .detail-snapshot-metrics small{display:block;font-size:10px;color:var(--muted);line-height:1.6}
body.layout-polished #drawer .detail-snapshot-metrics strong,body.layout-polished #drawer .detail-snapshot-metrics .day-change-cell b{font-size:21px;line-height:1.5}
body.layout-polished #drawer .detail-snapshot .day-change-basis{display:none}
body.layout-polished #drawer .detail-snapshot details{border-top:1px solid var(--line);padding-top:8px;margin-top:10px}
body.layout-polished #drawer .detail-snapshot details summary,body.layout-polished #drawer .detail-verdict details summary{font-size:11px;color:var(--muted);cursor:pointer;line-height:1.7}
body.layout-polished #drawer .detail-verdict{padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--surface);margin:12px 0}
body.layout-polished #drawer .detail-verdict-label{display:block;color:var(--muted);font-size:10px;margin-bottom:3px}
body.layout-polished #drawer .detail-verdict>strong{font-size:16px;line-height:1.5}
body.layout-polished #drawer .detail-verdict p,body.layout-polished #drawer .detail-verdict li{font-size:12px;line-height:1.8}
body.layout-polished #drawer .detail-priorities{margin:9px 0}
body.layout-polished #drawer .detail-priorities>b{font-size:11px;color:var(--muted)}
body.layout-polished #drawer .detail-priorities ul{margin:4px 0;padding-left:18px}
body.layout-polished #drawer .detail-verdict>details{border-top:1px solid var(--line);margin-top:10px;padding-top:8px}
body.layout-polished #drawer .detail-verdict>details>p{margin-top:8px}
body.layout-polished #drawer .detail-secondary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:10px 0}
body.layout-polished #drawer .detail-secondary-metrics strong{font-size:17px}
body.layout-polished #drawer .detail-block>h3{font-size:14px;line-height:1.6}
body.layout-polished #drawer summary{overflow-wrap:anywhere}
@media(max-width:750px){body.layout-polished #drawer .detail-heading h2{font-size:22px}body.layout-polished #drawer .detail-snapshot-metrics{gap:8px}body.layout-polished #drawer .detail-snapshot-metrics strong,body.layout-polished #drawer .detail-snapshot-metrics .day-change-cell b{font-size:19px}body.layout-polished #drawer .detail-snapshot,body.layout-polished #drawer .detail-verdict{padding:12px}}

body.layout-polished #drawer .detail-secondary-metrics>div:first-child{grid-column:auto!important}

/* Mobile page chrome scrolls away; controls remain the original working nodes. */
body.layout-polished .mobile-heading-date{display:none}
body.layout-polished .mobile-header-warning{font-size:11px;line-height:1.6;color:var(--danger,#c43d50);padding:9px 12px;border:1px solid var(--line);border-radius:8px;margin:0 0 10px;background:var(--surface)}
@media(max-width:750px){
 body.layout-polished .topbar{position:static!important;display:flex!important;align-items:center;gap:8px;padding:10px 0;margin-bottom:12px}
 body.layout-polished .topbar>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 9px;min-width:0;flex:1}
 body.layout-polished .topbar #page-title{font-size:20px;line-height:1.5;margin:0;white-space:normal}
 body.layout-polished .mobile-heading-date{display:inline;font-size:11px;color:var(--muted);white-space:nowrap}
 body.layout-polished .topbar>.top-actions{flex:0 0 auto;max-width:none;gap:0}
 body.layout-polished #update-menu>summary{min-width:64px;min-height:34px;justify-content:center}
 body.layout-polished #update-menu .update-menu-items{width:260px;max-width:calc(100vw - 24px);max-height:70vh;overflow:auto;padding:10px}
 body.layout-polished #update-menu .market-mode-bar{display:block;width:100%;margin:7px 0;padding:7px 0;border-bottom:1px solid var(--line)}
 body.layout-polished #update-menu .market-mode-bar label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}
 body.layout-polished #update-menu .market-mode-bar select{min-width:128px;max-width:75%;font-size:12px}
 body.layout-polished #update-menu #download{width:100%;justify-content:center;margin-bottom:5px;min-height:38px}
 body.layout-polished #update-menu .mobile-topbar-meta{display:flex;flex-direction:column;gap:4px;margin:8px 0!important;padding:8px 0;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted);max-width:100%}
 body.layout-polished #update-menu .mobile-topbar-meta #scan-date{white-space:normal;overflow:visible;max-width:100%}
 body.layout-polished #update-menu .mobile-topbar-meta #mode{display:none}
 body.layout-polished .layout-sector-nav{top:0}
 body.layout-polished .sector-section-fold{scroll-margin-top:60px}
}
/* Compact market pulse: same live controls, one linked workspace in every theme. */
#market-pulse-content.pulse-layout-compact{margin-top:0;--pulse-space:14px}
#market-pulse-content.pulse-layout-compact .pulse-workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 10px;color:var(--muted);font-size:12px}
#market-pulse-content.pulse-layout-compact .pulse-page-tools{position:relative;z-index:5}
#market-pulse-content.pulse-layout-compact .pulse-page-tools>summary{cursor:pointer;padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface);font-size:12px}
#market-pulse-content.pulse-layout-compact .pulse-page-tools .pulse-research-tools{position:absolute;right:0;top:100%;display:grid;gap:2px;margin:5px 0 0;padding:8px;min-width:210px;background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:0 8px 22px #0002}
#market-pulse-content.pulse-layout-compact .pulse-page-tools button{text-align:left;min-height:38px;padding:8px;font-size:12px;white-space:nowrap}
#market-pulse-content.pulse-layout-compact .aurora-pulse-workspace{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);align-items:start;gap:16px;margin:0}
#market-pulse-content.pulse-layout-compact #pulse-stock-detail{position:static;border:0;padding:0;margin:0;min-width:0}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker.has-nq{grid-template-columns:repeat(4,minmax(0,1fr))}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker>button{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:12px 16px;min-height:80px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;text-align:left;color:var(--text)}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker>button:last-child{border-right:0}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker>button[aria-pressed=true]{background:var(--accent-soft)}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker>button>span{display:flex;align-items:center;gap:10px;grid-column:1/-1}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker b{font-size:14px}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker strong{font-size:21px;font-variant-numeric:tabular-nums;font-weight:650;letter-spacing:0}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker em{font-style:normal;font-size:15px;text-align:right;align-self:center;grid-column:2}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker small{font-size:11px;color:var(--muted);line-height:1.4}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker>button>small{grid-column:1/-1;white-space:normal}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px 12px;margin:8px 0 12px;color:var(--muted);font-size:11px}
#market-pulse-content.pulse-layout-compact .aurora-pulse-ticker-tools button{border:0;background:none;color:var(--accent);font-size:12px;padding:5px}
#market-pulse-content.pulse-layout-compact .pulse-heat-panel{border:1px solid var(--line);border-radius:11px;background:var(--surface);box-shadow:none;padding:var(--pulse-space);margin:0}
#market-pulse-content.pulse-layout-compact .pulse-heat-heading{display:flex;align-items:center;gap:8px;margin:0 0 10px}
#market-pulse-content.pulse-layout-compact .pulse-heat-heading h2{font-size:16px;margin:0;letter-spacing:0}
#market-pulse-content.pulse-layout-compact .pulse-universe-badge{display:none}
#market-pulse-content.pulse-layout-compact .pulse-heat-heading>.intraday-segment{margin-left:auto;display:flex;background:var(--surface2);border-radius:7px;padding:3px;gap:2px}
#market-pulse-content.pulse-layout-compact .pulse-heat-heading .intraday-segment button{min-height:30px;padding:5px 8px;font-size:12px;white-space:nowrap;border-radius:5px}
#market-pulse-content.pulse-layout-compact .heat-count{font-size:11px;color:var(--muted);margin:0;white-space:nowrap}
#market-pulse-content.pulse-layout-compact .pulse-universe-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 10px}
#market-pulse-content.pulse-layout-compact .pulse-universe-tabs button{border:0;background:transparent;padding:6px 9px;border-radius:6px;min-height:32px;color:var(--muted);font-size:12px}
#market-pulse-content.pulse-layout-compact .pulse-universe-tabs button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);font-weight:650}
#market-pulse-content.pulse-layout-compact .pulse-universe-tabs small{font-size:11px;margin-left:3px}
#market-pulse-content.pulse-layout-compact .pulse-breadth{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin:0;padding:10px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
#market-pulse-content.pulse-layout-compact .pulse-breadth>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 6px}
#market-pulse-content.pulse-layout-compact .pulse-breadth small{font-size:11px}
#market-pulse-content.pulse-layout-compact .pulse-breadth b{font-size:14px;font-weight:600}
#market-pulse-content.pulse-layout-compact .pulse-breadth em{font-size:11px;font-style:normal}
#market-pulse-content.pulse-layout-compact .pulse-filter-fold{padding:9px 0;color:var(--muted);font-size:12px}
#market-pulse-content.pulse-layout-compact .pulse-filter-fold>summary{cursor:pointer;padding:3px 0}
#market-pulse-content.pulse-layout-compact .pulse-filter-fold>summary span{float:right;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
#market-pulse-content.pulse-layout-compact .heat-toolbar{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px;margin:9px 0 0;padding:0}
#market-pulse-content.pulse-layout-compact .heat-toolbar :is(input,select){width:100%;min-width:0;max-width:none;min-height:38px;font-size:13px;padding:8px 10px}
#market-pulse-content.pulse-layout-compact .heat-treemap{display:block;height:clamp(310px,32vw,465px);border-radius:7px}
#market-pulse-content.pulse-layout-compact .heat-fallback-list{display:none}
#market-pulse-content.pulse-layout-compact .heat-main.show-list .heat-fallback-list{display:block}
#market-pulse-content.pulse-layout-compact .heat-tile{border-radius:2px}
#market-pulse-content.pulse-layout-compact .heat-legend{margin:8px 0;font-size:11px;gap:5px;flex-wrap:wrap}
#market-pulse-content.pulse-layout-compact .heat-legend small{font-size:11px;margin-left:auto}
#market-pulse-content.pulse-layout-compact .heat-footer{display:flex;flex-wrap:wrap;gap:4px 12px;padding:8px 0;margin:0;border-top:1px solid var(--line);font-size:11px}
#market-pulse-content.pulse-layout-compact :is(.heat-method,.heat-diagnostics){font-size:12px;margin:5px 0 0;padding:5px 0;border:0;background:transparent;border-radius:0}
#market-pulse-content.pulse-layout-compact :is(.heat-method,.heat-diagnostics)>summary{cursor:pointer;padding:4px 0;color:var(--muted)}
#market-pulse-content.pulse-layout-compact .pulse-source-warning>summary{color:var(--amber)}
#market-pulse-content.pulse-layout-compact :is(.heat-method,.heat-diagnostics) :is(p,small){font-size:11px;line-height:1.7}
#market-pulse-content.pulse-layout-compact :is(.pulse-data-warning,.pulse-progress){font-size:12px;margin:7px 0;padding:8px 10px;line-height:1.6}
#market-pulse-content.pulse-layout-compact .heat-list-header,#market-pulse-content.pulse-layout-compact .heat-list-row{grid-template-columns:1.15fr .8fr .75fr 1fr;gap:8px;font-size:12px;padding:10px 4px}
#market-pulse-content.pulse-layout-compact .heat-list-header button{border:0;padding:0;text-align:left;background:transparent;font-size:12px;color:var(--muted)}
#market-pulse-content.pulse-layout-compact .heat-list-row small{font-size:11px;line-height:1.4}
#market-pulse-content.pulse-layout-compact .pulse-detail-panel{border:1px solid var(--line);border-radius:11px;background:var(--surface);padding:0;max-width:none;margin:0;overflow:clip}
#market-pulse-content.pulse-layout-compact .pulse-detail-heading{display:flex!important;align-items:center;padding:13px 14px 0;margin:0;gap:8px}
#market-pulse-content.pulse-layout-compact .pulse-detail-heading .simple-kicker{font-size:11px}
#market-pulse-content.pulse-layout-compact .pulse-detail-heading h2{font-size:16px;margin:3px 0}
#market-pulse-content.pulse-layout-compact .aurora-focus-controls{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 14px 0}
#market-pulse-content.pulse-layout-compact .aurora-focus-controls button{font-size:12px;padding:6px 9px;min-height:32px}
#market-pulse-content.pulse-layout-compact .aurora-focus-controls>select{font-size:12px;min-height:34px;min-width:0;max-width:130px;padding:5px;background:var(--surface2);color:var(--text);border:1px solid var(--line);border-radius:7px}
#market-pulse-content.pulse-layout-compact .pulse-chart-settings{font-size:12px;margin-left:auto;position:relative}
#market-pulse-content.pulse-layout-compact .pulse-chart-settings>summary{cursor:pointer;padding:6px 8px;white-space:nowrap}
#market-pulse-content.pulse-layout-compact .pulse-chart-settings>div{position:absolute;right:0;top:100%;z-index:4;min-width:215px;padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 20px #0002}
#market-pulse-content.pulse-layout-compact .pulse-chart-settings label{display:flex;align-items:center;gap:8px;min-height:36px}
#market-pulse-content.pulse-layout-compact .pulse-chart-settings p{font-size:11px;line-height:1.6}
#market-pulse-content.pulse-layout-compact .intraday-card{padding:14px!important;background:transparent;border:0!important;border-radius:0;box-shadow:none;max-width:none}
#market-pulse-content.pulse-layout-compact .intraday-monogram{display:none}
#market-pulse-content.pulse-layout-compact .intraday-identity b{font-size:21px}
#market-pulse-content.pulse-layout-compact .intraday-identity>div>span{font-size:11px;max-width:200px}
#market-pulse-content.pulse-layout-compact .intraday-state{font-size:11px}
#market-pulse-content.pulse-layout-compact .intraday-numbers{gap:12px;margin:12px 0 8px}
#market-pulse-content.pulse-layout-compact .intraday-numbers>strong{font-size:29px!important;letter-spacing:-.5px;line-height:1.2}
#market-pulse-content.pulse-layout-compact .intraday-change b{font-size:16px}
#market-pulse-content.pulse-layout-compact .intraday-change span{font-size:11px}
#market-pulse-content.pulse-layout-compact :is(.intraday-context,.intraday-card-footer,.intraday-source,.intraday-note,.aurora-quote-details){font-size:11px;line-height:1.6}
#market-pulse-content.pulse-layout-compact .intraday-plot{margin:10px 0;min-height:0}
#market-pulse-content.pulse-layout-compact .intraday-plot svg{width:100%;height:auto;display:block}
#market-pulse-content.pulse-layout-compact .aurora-quote-details{margin-top:9px}
#market-pulse-content.pulse-layout-compact .aurora-quote-details>summary{font-size:12px;padding:5px 0;cursor:pointer}
#market-pulse-content.pulse-layout-compact .pulse-detail-panel>.intraday-note{padding:0 14px 12px;margin:0}
@media(max-width:1050px) and (min-width:751px){
 #market-pulse-content.pulse-layout-compact .aurora-pulse-workspace{grid-template-columns:minmax(0,1.15fr) minmax(285px,1fr);gap:12px}
 #market-pulse-content.pulse-layout-compact .aurora-pulse-ticker>button{padding:10px}
 #market-pulse-content.pulse-layout-compact .pulse-heat-heading{flex-wrap:wrap}
 #market-pulse-content.pulse-layout-compact .heat-count{display:none}
}
@media(max-width:750px){
 #market-pulse-content.pulse-layout-compact .pulse-workspace-heading{font-size:11px;margin-bottom:8px}
 #market-pulse-content.pulse-layout-compact .pulse-page-tools>summary{min-height:36px;display:flex;align-items:center}
 #market-pulse-content.pulse-layout-compact .aurora-pulse-workspace{display:block}
 #market-pulse-content.pulse-layout-compact .aurora-pulse-ticker{gap:0;margin:0 0 10px}
 #market-pulse-content.pulse-layout-compact .aurora-pulse-ticker>button{display:flex;align-items:center;justify-content:center;min-height:66px;padding:9px 4px;gap:3px;text-align:center}
 #market-pulse-content.pulse-layout-compact .aurora-pulse-ticker b{font-size:14px}
 #market-pulse-content.pulse-layout-compact .aurora-pulse-ticker em{font-size:14px;align-self:center}
 #market-pulse-content.pulse-layout-compact .aurora-pulse-ticker small{font-size:11px}
 #market-pulse-content.pulse-layout-compact .pulse-mobile-bar{padding:0;border:0;margin:0 0 12px}
 #market-pulse-content.pulse-layout-compact .pulse-mobile-tabs{display:flex;gap:3px;background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:3px}
 #market-pulse-content.pulse-layout-compact .pulse-mobile-tabs button{flex:1!important;border:0;border-radius:6px;background:transparent;min-height:42px;padding:8px;font-size:13px}
 #market-pulse-content.pulse-layout-compact .pulse-mobile-tabs button[aria-selected=true]{background:var(--accent-soft);color:var(--accent)}
 #market-pulse-content.pulse-layout-compact .pulse-universe-tabs{display:flex;gap:3px;margin:0 0 8px}
 #market-pulse-content.pulse-layout-compact .pulse-universe-tabs button{padding:7px 6px;min-height:40px;font-size:12px}
 #market-pulse-content.pulse-layout-compact .pulse-universe-tabs small{display:none}
 #market-pulse-content.pulse-layout-compact .pulse-heat-heading .intraday-segment button{min-height:40px}
 #market-pulse-content.pulse-layout-compact .heat-count{display:none}
 #market-pulse-content.pulse-layout-compact .pulse-breadth{gap:5px 12px;padding:9px 0}
 #market-pulse-content.pulse-layout-compact .pulse-breadth>div:first-child{flex-basis:100%}
 #market-pulse-content.pulse-layout-compact .pulse-breadth>div:nth-child(3){display:none}
 #market-pulse-content.pulse-layout-compact .pulse-filter-fold>summary{min-height:40px;padding:10px 0}
 #market-pulse-content.pulse-layout-compact .heat-toolbar{grid-template-columns:110px minmax(0,1fr)}
 #market-pulse-content.pulse-layout-compact .heat-toolbar :is(input,select){min-height:44px;font-size:16px}
 #market-pulse-content.pulse-layout-compact .heat-treemap{display:block;height:365px;min-height:0}
 #market-pulse-content.pulse-layout-compact .heat-sector-title{font-size:11px}
 #market-pulse-content.pulse-layout-compact .heat-tile b{font-size:12px}
 #market-pulse-content.pulse-layout-compact .heat-tile span{font-size:11px}
 #market-pulse-content.pulse-layout-compact .heat-small b{font-size:10px}
 #market-pulse-content.pulse-layout-compact .heat-small span,#market-pulse-content.pulse-layout-compact .heat-micro b{display:none}
 #market-pulse-content.pulse-layout-compact .heat-legend small{margin-left:0;flex-basis:100%}
 #market-pulse-content.pulse-layout-compact .heat-list-row{grid-template-columns:1fr .75fr .75fr 1.1fr;gap:5px}
 #market-pulse-content.pulse-layout-compact .heat-list-row>span:first-child small:last-child{display:none}
 #market-pulse-content.pulse-layout-compact .heat-list-header{grid-template-columns:1fr .75fr .75fr 1.1fr;gap:5px}
 #market-pulse-content.pulse-layout-compact .heat-list-header button{font-size:11px;min-height:40px}
 #market-pulse-content.pulse-layout-compact .pulse-detail-heading{padding-top:12px}
 #market-pulse-content.pulse-layout-compact .pulse-detail-panel[data-focus=etf]>.pulse-detail-heading{display:none!important}
 #market-pulse-content.pulse-layout-compact .intraday-numbers>strong{font-size:30px!important}
 #market-pulse-content.pulse-layout-compact .pulse-chart-settings[open]{flex-basis:100%;margin-left:0}
 #market-pulse-content.pulse-layout-compact .pulse-chart-settings>div{position:static;min-width:0;margin-top:6px;box-shadow:none}
 #market-pulse-content.pulse-layout-compact .pulse-mobile-card-controls button{min-height:44px}
}
/* An error remains visible; its long transport detail opens on demand. */
#market-pulse-content.pulse-layout-compact .pulse-warning-fold{color:var(--amber);font-size:12px;margin:6px 0;padding:7px 9px;background:var(--surface2);border-radius:6px}
#market-pulse-content.pulse-layout-compact .pulse-warning-fold>summary{cursor:pointer}
#market-pulse-content.pulse-layout-compact .pulse-warning-fold .pulse-data-warning{padding:5px 0;margin:4px 0 0;background:none}
#market-pulse-content.pulse-layout-compact .intraday-card>.aurora-focus-controls{margin:10px 0 8px}
#market-pulse-content.pulse-layout-compact .pulse-breadth>div>small{display:inline;width:auto}

#market-pulse-content.pulse-layout-compact input[type=checkbox]{width:16px!important;min-width:16px;max-width:16px;flex:0 0 16px!important;margin:0}

#market-pulse-content.pulse-layout-compact .pulse-breadth>div{flex-direction:row}

#market-pulse-content.pulse-layout-compact .pulse-workspace-heading{position:relative;z-index:30}
