/*
 * SITE_WIDE_FINANCIAL_VISUAL_SYSTEM
 * MARKET V2-derived production tokens and non-MARKET composition.
 */
:root {
  --content-narrow:920px;--content-detail:1200px;--desktop-header:64px;--type-meta:13px;
  --radius:var(--radius-container);--section-shadow:none;--modal-shadow:0 24px 72px rgba(19,31,47,.22);
  --font-sans:"Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
}
.product-page{min-width:0}
.product-page :where(strong,time,.asset-history-row,.activity-time,.today-sector-data){font-variant-numeric:tabular-nums}
.product-page :where(.market-snapshot strong,.brief-view strong,.today-sector-data strong,.market-summary-metrics strong,.market-intelligence-grid .financial-metric>strong,.industry-detail-hero>strong,.industry-detail-metrics strong,.asset-snapshot strong,.asset-history-row strong,.activity-record,.benchmark-close,.benchmark-return,.industry-return){font-family:var(--font-number);font-variant-numeric:tabular-nums}

/* Shell, brand and controls are owned by new-ui.css; this file owns page composition. */
.product-page:not(.product-market) .positive{color:var(--positive)}
.product-page:not(.product-market) .negative{color:var(--negative)}
.product-page:not(.product-market) .state-label{font-weight:700}
.product-page:not(.product-market) .state-label.diverging{color:var(--warning)}
.product-page:not(.product-market) .state-label.expanding{color:var(--accent)}
.risk-list{list-style:none}
.risk-list li{position:relative;padding:8px 0 8px 14px;border-top:1px solid var(--line)}
.risk-list li:first-child{border-top:0}
.risk-list li::before{position:absolute;top:15px;left:1px;width:4px;height:4px;border-radius:50%;background:var(--risk);content:""}

.product-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 24px}
.product-page-head h1{margin:0;color:var(--ink);font-size:clamp(26px,2.2vw,32px);font-weight:620;line-height:1.2;letter-spacing:-.025em}
.page-date{display:flex;align-items:flex-end;flex-direction:column;gap:3px;color:var(--muted);font-size:var(--type-meta);white-space:nowrap}
.page-date>div{display:flex;align-items:center;gap:9px}
.page-date>small{color:var(--muted);font-size:12px;font-weight:400}
.page-date span{border-left:1px solid var(--line-strong);padding-left:9px}
.financial-section-head{min-height:38px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:0 0 13px}
.financial-section-head h2{display:flex;align-items:center;gap:8px;margin:0;color:var(--ink);font-size:18px;font-weight:620;letter-spacing:-.012em}
.financial-section-head h2::before{display:none}
.financial-section-head p{margin:3px 0 0;color:var(--muted);font-size:var(--type-meta)}
.financial-section-meta{flex:none;color:var(--muted);font-size:var(--type-meta)}
.product-panel,.activity-shell,.workspace-section,.account-section,.asset-research-section,.readiness-panel{min-width:0;border:0;border-radius:var(--radius);background:var(--surface);box-shadow:var(--section-shadow)}
.product-panel,.activity-shell,.workspace-section,.account-section,.asset-research-section{padding:18px 20px}
.section-grouped{border:0;border-radius:var(--radius-container);background:var(--surface-secondary);box-shadow:none}
.product-panel.section-flow,.workspace-settings-link.section-flow{border:0;border-radius:0;padding:18px 0;background:transparent;box-shadow:none}
.workspace-section.section-secondary{border:0;border-top:1px solid var(--line);border-radius:0;padding:18px 0;background:transparent;box-shadow:none}
.financial-list,.activity-list,.signal-list,.asset-history-list,.workspace-list,.account-rows{padding:0}
.section-link,.workspace-more{min-height:45px;display:flex;align-items:center;justify-content:space-between;margin-top:2px;border-top:1px solid var(--line);padding:0 2px;color:var(--accent);font-size:14px;font-weight:580}
.section-link i,.workspace-more i{font-size:18px;font-style:normal}
.compact-empty{margin:0;padding:17px 0 2px;color:var(--muted);font-size:14px}
.data-disclosure{border-top:1px solid var(--line);color:var(--muted);font-size:var(--type-meta)}
.data-disclosure summary{width:max-content;padding:12px 0 0;color:var(--muted);cursor:pointer}
.data-disclosure p{margin:0;padding:8px 0 0}
.data-disclosure>ul,.data-disclosure>ol,.status-disclosure>ul,.status-disclosure>ol,.market-alert>ul,.market-alert>ol,.asset-data-disclosure>ul,.asset-data-disclosure>ol{margin:0;padding-block-start:8px;padding-inline:1.15em 0;list-style-position:outside}

/* TODAY: daily market briefing, not a dashboard. */
.briefing-lead{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.7fr);margin-bottom:24px;overflow:hidden;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface)}
.market-snapshot{min-width:0;display:grid;grid-template-columns:1.2fr repeat(2,minmax(130px,.75fr))}
.market-snapshot>div{min-width:0;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--line);padding:24px}
.market-snapshot span,.market-snapshot small,.brief-view>span{color:var(--muted);font-size:var(--type-meta)}
.market-snapshot strong{margin:4px 0 2px;color:var(--ink);font-size:clamp(29px,2.8vw,36px);font-weight:610;line-height:1.08;letter-spacing:-.025em}
.market-pulse-stack{min-width:0;background:var(--surface)}
.market-pulse-stack .market-snapshot{min-height:0;flex:1}.market-pulse-stack{display:flex;flex-direction:column}
.live-market-boundary{margin:0;border-top:1px solid var(--line);padding:8px 14px;color:var(--muted);font-size:12px;line-height:1.45}
.snapshot-unavailable strong,.snapshot-unavailable small{display:block}.snapshot-unavailable strong{margin:0;color:var(--ink);font-size:16px;line-height:1.35}.snapshot-unavailable small{margin-top:4px}
.market-snapshot .snapshot-state strong{font-size:24px;line-height:1.24}
.market-snapshot .positive{color:var(--positive)}.market-snapshot .negative{color:var(--negative)}
.brief-view{display:flex;flex-direction:column;justify-content:center;border-left:1px solid var(--line);padding:24px;background:#fafbfd}
.brief-view strong{margin:5px 0 4px;color:var(--ink);font-size:24px;font-weight:620;letter-spacing:-.02em}
.brief-view p{margin:0;color:var(--ink-soft);font-size:14px}
.today-dashboard{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.72fr);gap:24px}
.today-primary,.today-research-main,.today-research-rail{min-width:0;display:grid;align-content:start;gap:24px}.today-secondary{min-width:0}
.today-risk .financial-section-head h2::before{display:none}
.risk-layer{padding-top:14px}.risk-list{margin:0;padding-left:19px}.risk-list li+li{margin-top:8px}.risk-clear{margin:0;color:var(--negative)}
.today-sector-row{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid var(--line)}
.today-sector-row:last-child{border-bottom:0}.today-sector-main{min-width:0;display:flex;align-items:center;gap:10px}
.sector-role{min-width:62px;color:var(--muted);font-size:12px}.today-sector-main strong{font-size:16px}
.today-sector-data{flex:none;text-align:right}.today-sector-data strong,.today-sector-data small{display:block}
.today-sector-data strong{font-size:18px;font-weight:620}.today-sector-data small,.state-label{color:var(--muted);font-size:12px}
.evidence-feed-row{display:grid;grid-template-columns:170px minmax(0,1fr);gap:22px;padding:14px 0;border-bottom:1px solid var(--line)}
.evidence-feed-row:last-child{border-bottom:0}.evidence-source strong,.evidence-source time{display:block}
.evidence-source strong{font-size:13px}.evidence-source time{margin-top:2px;color:var(--muted);font-size:12px}
.evidence-headline{min-width:0;color:var(--ink);font-size:15px;font-weight:560}.today-evidence{margin-top:24px}

/* HISTORY: continuous decision activity. */
.product-history{max-width:1180px}.activity-shell{padding-bottom:6px}
.activity-columns,.asset-history-columns{display:grid;align-items:center;color:var(--muted);font-size:12px}
.activity-columns{grid-template-columns:minmax(0,1fr) 130px 92px;gap:16px;min-height:36px;border-bottom:1px solid var(--line)}
.activity-columns span:nth-child(n+2),.asset-history-columns span:nth-child(n+2){text-align:right}
.activity-row{min-height:62px;display:grid;grid-template-columns:minmax(0,1fr) 130px 92px;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:10px 0}
.activity-row:last-child{border-bottom:0}.activity-marker{display:none}.activity-subject,.activity-state{display:block}
.activity-subject{color:var(--ink);font-size:15px;font-weight:600}
.activity-state,.activity-time,.activity-record{color:var(--muted);font-size:var(--type-meta)}
.activity-time,.activity-record{text-align:right}.activity-empty{border-top:1px solid var(--line);padding:14px 0 8px;color:var(--muted);font-size:var(--type-meta)}

/* ASSET DETAIL: instrument identity, quote, evidence and history. */
html[data-route="asset"],body[data-route="asset"]{background:#fff}
body[data-route="asset"] #app{background:#fff}
.product-asset{width:100%;max-width:var(--content-detail);--asset-meta:#667482;--asset-divider:#dfe4e8;--asset-secondary:#fbfcfd}
.asset-back-link{margin:0 0 18px;border:0;padding:0;background:none;color:var(--accent);font-size:14px;font-weight:560}
.asset-back-link:focus-visible{outline:1px solid rgba(78,89,105,.72);outline-offset:3px}
.asset-hero{min-height:128px;display:flex;align-items:flex-end;justify-content:space-between;gap:32px;border-bottom:1px solid var(--asset-divider);padding:0 0 22px}
.asset-identity{min-width:0;flex:1}.asset-identity-title{min-width:0;display:flex;align-items:flex-start;gap:9px}
.asset-type-token{flex:none;margin-top:8px;border:1px solid transparent;border-radius:3px;padding:2px 6px;color:#52606d;font-size:11px;font-weight:650;line-height:1.25;letter-spacing:.02em}
.asset-type-stock{border-color:#dce5eb;background:#eef3f6;color:#486477}.asset-type-etf{border-color:#e2dee8;background:#f2f0f5;color:#635a72}.asset-type-fund{border-color:#e8e1d5;background:#f5f2eb;color:#706145}.asset-type-other{border-color:var(--line);background:var(--surface-soft);color:var(--muted)}
 .asset-identity-title h1{min-width:0;margin:0;overflow-wrap:anywhere;color:var(--ink);font-size:clamp(31px,3vw,39px);font-weight:620;line-height:1.14;letter-spacing:-.03em;text-wrap:balance}
.asset-identity-meta{margin:7px 0 0;color:var(--asset-meta);font-size:var(--type-meta);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.asset-code-copy{-webkit-appearance:none;appearance:none;display:inline;margin:0;border:0;border-radius:0;padding:0;background:transparent;color:inherit;font:inherit;font-variant-numeric:inherit;line-height:inherit;text-align:inherit;text-decoration-color:transparent;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer;box-shadow:none}
.asset-code-copy:hover{color:#4e6272}
@media (hover:hover) and (pointer:fine){.asset-code-copy:hover{text-decoration-line:underline;text-decoration-color:currentColor}}
.asset-code-copy:active{color:#344c5d}
.asset-code-copy:focus{outline:0}
.asset-code-copy:focus-visible{border-radius:1px;outline:1px solid rgba(78,89,105,.72);outline-offset:3px}
.asset-code-copy[data-pointer-focus="true"]{outline:0}
.asset-code-copy-fallback{position:fixed;inset:auto auto 0 -9999px;width:1px;height:1px;overflow:hidden;border:0;padding:0;opacity:0;pointer-events:none}
.asset-header-actions{flex:none;display:flex;align-items:center}
.asset-view{flex:none;min-width:180px;border-left:1px solid var(--asset-divider);padding-left:24px}
.asset-view span,.asset-view strong{display:block}.asset-view span{color:var(--asset-meta);font-size:12px}
.asset-view strong{margin-top:4px;color:var(--ink);font-size:25px;font-weight:620}
.asset-view-date{display:block;margin-top:4px;color:var(--asset-meta);font-size:12px;font-weight:400}
.asset-snapshot{display:grid;grid-template-columns:1.35fr repeat(2,1fr);margin:24px 0;overflow:hidden;border:1px solid var(--asset-divider);border-radius:4px;background:#fff;box-shadow:none}
.asset-snapshot>div{min-height:108px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid var(--asset-divider);padding:17px 20px}
.asset-snapshot>div:last-child{border-right:0}.asset-snapshot span,.asset-snapshot small{color:var(--muted);font-size:12px}
.asset-snapshot strong{margin-top:4px;color:var(--ink);font-size:22px;font-weight:610}
.asset-snapshot-primary strong{font-size:36px;line-height:1.06;letter-spacing:-.025em}
.asset-snapshot .positive{color:var(--positive)}.asset-snapshot .negative{color:var(--negative)}
.asset-research-body{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(320px,.62fr);gap:30px}
.asset-research-primary{min-width:0;display:grid;gap:24px}
.asset-research-section{border:0;border-top:1px solid var(--asset-divider);border-radius:0;padding:22px 0;background:transparent;box-shadow:none}
.asset-research-primary .asset-research-section:first-child{border-top:0;padding-top:0}
.asset-research-section h2,.asset-history-head{min-height:38px;display:flex;align-items:flex-start;justify-content:space-between;margin:0;border-bottom:1px solid var(--asset-divider);padding:0 0 12px;color:var(--ink);font-size:18px;font-weight:620}
.asset-history-head h2{min-height:0;border:0;padding:0;font-size:18px}.asset-history-head span{color:var(--muted);font-size:12px;font-weight:400}
.signal-row{padding:13px 0;border-bottom:1px solid var(--line);color:var(--ink-soft)}.product-asset .signal-row{border-bottom-color:var(--asset-divider);color:#3f4d5a}.signal-row:last-child{border-bottom:0}
.asset-context-row{display:grid;grid-template-columns:88px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}
.asset-context-row:last-child{border-bottom:0}.asset-context-row span{color:var(--muted);font-size:13px}.asset-context-row p{margin:0;color:var(--ink-soft);overflow-wrap:anywhere}
.asset-context-boundary{margin:12px 0 0;border-top:1px solid var(--line);padding-top:12px;color:var(--muted);font-size:13px}.asset-context-boundary strong{margin-right:8px;color:var(--ink-soft);font-weight:600}
.risk-signals .signal-row{color:var(--risk)}.asset-history{grid-column:2;grid-row:1;align-self:start}
.asset-history-columns{grid-template-columns:1fr auto 70px;gap:12px;min-height:34px;border-bottom:1px solid var(--line)}
.asset-history-row{min-height:46px;display:grid;grid-template-columns:1fr auto 70px;align-items:center;gap:12px;border-bottom:1px solid var(--line);font-size:14px}
.asset-history-row:last-child{border-bottom:0}.asset-history-row time{color:var(--muted)}
.asset-history-row strong,.asset-history-row span{text-align:right}
.asset-disclosure{grid-column:1/-1;padding:0;background:transparent;box-shadow:none}
.asset-detail-loading,.asset-detail-empty{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0}
.asset-detail-loading p,.asset-detail-empty p{margin:5px 0 0;color:var(--muted)}
.asset-detail-empty h2{margin:0;font-size:18px}.asset-detail-empty button{margin-top:14px;border:0;padding:0;background:transparent;color:var(--accent);font-weight:600}
.readiness-panel{max-width:760px;margin-top:24px;border-radius:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;background:transparent;box-shadow:none}.readiness-panel>span{color:var(--accent);font-size:12px;font-weight:650}
.asset-preparing .readiness-panel{max-width:820px;border:1px solid #e7ebef;border-left:3px solid #d5e0e8;border-radius:4px;padding:22px 22px 20px;background:var(--asset-secondary);box-shadow:none}.asset-preparing .readiness-panel>span{color:#3f657d}
.readiness-panel h2{margin:5px 0 8px;font-size:24px;font-weight:620}.readiness-panel p{margin:0;color:var(--ink-soft)}
.readiness-facts{margin:20px 0 0;border-top:1px solid var(--line)}
.readiness-facts>div{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}
.readiness-facts dt{color:var(--asset-meta)}.readiness-facts dd{margin:0;color:var(--ink);text-align:right}

/* MY: personal investment workspace with honest gated capability. */
.personal-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.68fr);grid-template-areas:"intro intro" "research watchlist" "research gated" "research settings";align-items:start;gap:18px 30px}
.workspace-intro{grid-area:intro;padding:0}
.workspace-intro span{color:var(--accent);font-size:12px;font-weight:650}
.workspace-research{grid-area:research}.workspace-watchlist{grid-area:watchlist}.workspace-gated{grid-area:gated}
.workspace-row{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}
.workspace-row:last-child{border-bottom:0}.workspace-row strong,.workspace-row span{display:block}.workspace-row strong{font-weight:600}
.workspace-row span,.workspace-row time{color:var(--muted);font-size:12px}
.workspace-empty{min-height:96px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.workspace-empty strong{font-size:15px;font-weight:600}.workspace-empty span{margin-top:3px;color:var(--muted);font-size:13px}
.workspace-empty button{margin-top:10px;border:0;padding:0;background:none;color:var(--accent);font-weight:580}
.capability-gate{padding-block:6px}.capability-gate p{margin:4px 0 0;color:var(--muted)}
.workspace-settings-link{grid-area:settings;min-height:50px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.workspace-settings-link>span{font-weight:600}.workspace-settings-link strong{color:var(--muted);font-size:13px;font-weight:500}
.workspace-settings-link i{font-size:18px;font-style:normal}

/* ACCOUNT: secondary utility ledger. */
.product-account{max-width:var(--content-narrow)}.account-center{max-width:820px}
.account-back{display:inline-block;margin-bottom:18px;color:var(--accent);font-size:14px}
.account-identity{display:flex;align-items:center;gap:13px;margin-bottom:24px}
.account-avatar{width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--line-strong);border-radius:50%;color:var(--ink-soft)}
.account-avatar svg{width:20px;height:20px}.account-identity strong,.account-identity span{display:block}
.account-identity span{color:var(--muted);font-size:13px}.account-section{margin-bottom:16px}
.account-section h2{min-height:39px;display:flex;align-items:flex-start;gap:8px;margin:0;border-bottom:1px solid var(--line);padding:0 0 12px;font-size:17px;font-weight:620}
.account-section h2::before{display:none}
.account-row{width:100%;min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:0;border-bottom:1px solid var(--line);padding:0;background:none;color:var(--ink);text-align:left}
.account-row:last-child{border-bottom:0}.account-row>span{color:var(--ink-soft)}
.account-row strong,.account-row small{text-align:right}.account-row small{max-width:420px;color:var(--muted);font-size:12px}
.account-action{padding:0}.account-action strong{color:var(--accent);font-size:14px}.account-action i{font-size:18px;font-style:normal}
.account-logout{border:0;padding:8px 0;background:none;color:var(--risk);font-size:14px}

/* Authentication and settings dialogs. */
.access-page{min-height:calc(100vh - 160px);display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);align-items:center;gap:72px}
.access-copy h1{max-width:680px;margin:0;font-size:clamp(38px,5.5vw,68px);line-height:1.08;letter-spacing:-.045em}
.access-copy>p:last-child{max-width:560px;margin:22px 0 0;color:var(--muted);font-size:16px}
.access-panel{border:0;border-radius:var(--radius);padding:28px;background:var(--surface);box-shadow:var(--section-shadow)}
.access-panel h2{margin:0;font-size:21px}.access-panel p{margin:8px 0 20px;color:var(--muted)}
.access-facts{margin:22px 0 0;padding:0;list-style:none}.access-facts li{padding:10px 0;border-top:1px solid var(--line);color:var(--ink-soft)}
.dialog:not(.search-dialog) .dialog-card{border:0;border-radius:var(--radius-modal);box-shadow:var(--modal-shadow)}

/* V1 product closure: evidence, market intelligence, industry and watchlist. */
.event-research-card{grid-template-columns:150px minmax(0,1fr);align-items:start;gap:20px}
.event-research-card .evidence-source{grid-row:auto;align-self:start}.event-research-main{min-width:0}
.event-research-card h3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:0;color:var(--ink);font-size:16px;font-weight:620;line-height:1.48;overflow-wrap:anywhere}
.event-status-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;margin:7px 0 0;color:var(--ink-soft);font-size:14px;line-height:1.5}
.event-status-summary strong{color:var(--ink);font-size:13px;font-weight:620;white-space:nowrap}.event-status-summary span{color:var(--muted-strong)}
.event-analysis{margin-top:5px}
.event-analysis>summary{width:fit-content;display:flex;align-items:center;gap:6px;padding:5px 0 1px;color:var(--accent);font-size:13px;font-weight:600;cursor:pointer;list-style:none}
.event-analysis>summary::-webkit-details-marker{display:none}.event-analysis>summary::marker{content:""}
.event-analysis>summary::after{font-size:15px;font-weight:400;line-height:1;content:"›";transform:rotate(90deg);transition:transform .16s ease}
.event-analysis[open]>summary::after{transform:rotate(-90deg)}
.event-analysis>summary:focus-visible{border-radius:2px;outline:2px solid var(--accent);outline-offset:3px}
.event-analysis .analysis-close-label{display:none}.event-analysis[open] .analysis-open-label{display:none}.event-analysis[open] .analysis-close-label{display:inline}
.event-analysis:not([open])>.event-analysis-body{display:none}
.event-analysis-body{margin-top:7px;border-top:1px solid var(--line);padding:12px 0 4px}
.event-research-facts{display:grid;grid-template-columns:1fr 1fr;gap:11px 20px;margin:0}
.event-research-facts div{min-width:0}.event-research-facts dt,.event-evidence-meta dt,.event-official-title span{color:var(--muted);font-size:12px}
.event-research-facts dd{margin:2px 0 0;color:var(--ink-soft);font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.event-official-title{margin:0 0 12px}.event-official-title p{margin:3px 0 0;color:var(--ink-soft);font-size:14px;line-height:1.55;overflow-wrap:anywhere}
.event-evidence-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 18px;margin:13px 0 0;border-top:1px solid var(--line);padding-top:11px}
.event-evidence-meta div{min-width:0}.event-evidence-meta dd{margin:2px 0 0;color:var(--muted-strong);font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.event-source-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:11px;color:var(--muted);font-size:12px}.event-source-footer span{min-width:0;overflow-wrap:anywhere}.event-source-footer .evidence-source-link{flex:none;margin:0}
.evidence-source-link{display:inline-flex;align-items:center;gap:4px;margin-top:11px;color:var(--accent);font-size:13px;font-weight:560}.evidence-source-link i{font-style:normal}
.event-empty{margin:0;padding:12px 0;color:var(--muted);font-size:14px}
/* market intelligence presentation is owned by the Batch 1 Market block below. */
.market-interpretation{margin:16px 0 0;color:var(--ink-soft);font-size:15px;line-height:1.65}
.market-evidence-balance{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:16px;border-top:1px solid var(--line);padding-top:16px}
.market-evidence-balance section{min-width:0}.market-evidence-balance h3{margin:0 0 8px;font-size:14px;font-weight:620}.market-evidence-balance ul{margin:0;padding-inline-start:1.15em;color:var(--ink-soft)}
.market-evidence-balance li,.market-evidence-balance p{margin:0 0 6px;font-size:14px;line-height:1.55}.market-evidence-balance p{color:var(--muted)}.market-evidence-balance .market-risk-reasons{margin-top:8px;color:var(--muted)}
.market-intelligence-disclosure{margin-top:12px}.market-intelligence-disclosure ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}
.market-intelligence-disclosure li strong,.market-intelligence-disclosure li span{display:block}.market-intelligence-disclosure li span{color:var(--muted);font-size:13px}
.sector-row,.industry-name a{color:inherit}.industry-name a{font-weight:600}.industry-name a:hover{color:var(--accent)}
.product-industry{width:100%;min-width:0;max-width:var(--content-detail)}.industry-detail-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:28px;border-bottom:1px solid var(--line);padding:8px 0 22px}
.industry-detail-hero>div{min-width:0}.industry-detail-hero>div>span{color:var(--accent);font-size:12px;font-weight:650}.industry-detail-hero h1{max-width:100%;margin:5px 0 6px;font-size:clamp(30px,3vw,40px);font-weight:620;line-height:1.16;letter-spacing:-.03em;overflow-wrap:anywhere}.industry-detail-hero p{max-width:760px;margin:0;color:var(--ink-soft);overflow-wrap:anywhere}
.industry-detail-hero>strong{max-width:100%;font-size:36px;font-weight:620;font-variant-numeric:tabular-nums;white-space:nowrap}.industry-detail-metrics{width:100%;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));border-bottom:1px solid var(--line)}
.industry-detail-metrics .financial-metric{min-width:0;min-height:98px;border-right:1px solid var(--line);padding:18px}.industry-detail-metrics .financial-metric:last-child{border-right:0}
.industry-detail-metrics span,.industry-detail-metrics small{display:block;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.industry-detail-metrics strong{display:block;max-width:100%;margin:5px 0 3px;font-size:22px;line-height:1.25;overflow-wrap:anywhere}
.industry-detail-research{width:100%;min-width:0;max-width:820px;padding:24px 0}.industry-detail-research h2{margin:0 0 9px;font-size:20px}.industry-detail-research h3{margin:22px 0 7px;font-size:16px}.industry-detail-research p{max-width:100%;margin:0;color:var(--ink-soft);line-height:1.7;overflow-wrap:anywhere}
.industry-detail-research dl{margin:20px 0 0;border-top:1px solid var(--line)}.industry-detail-research dl div{min-width:0;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:11px 0}.industry-detail-research dt{flex:none;color:var(--muted)}.industry-detail-research dd{min-width:0;max-width:72%;margin:0;text-align:right;overflow-wrap:anywhere}
.activity-row{color:inherit}.activity-row:hover .activity-subject{color:var(--accent)}.activity-validation,.activity-scope{display:block;margin-top:2px;color:var(--muted);font-size:12px;font-weight:400}.activity-scope{color:var(--ink-soft)}
.asset-favorite-button{position:relative;min-width:94px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d8dde2;border-radius:var(--radius-button);padding:0 11px;background:#fff;box-shadow:none;color:var(--accent);font-size:13px;font-weight:580;line-height:1;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,transform .08s ease}
.asset-favorite-button::before{flex:none;font-size:14px;font-weight:500;line-height:1;content:"+"}.asset-favorite-button:hover:not(:disabled){border-color:var(--accent);background:#f7fafc;color:var(--accent)}.asset-favorite-button:active:not(:disabled){background:#eef4f8;transform:translateY(1px)}
.asset-favorite-button[aria-pressed="true"]{border-color:#d8dde2;background:#eef1f4;color:var(--ink-soft);font-weight:550}
.asset-favorite-button[aria-pressed="true"]::before{color:var(--ink-soft);font-size:12px;content:"✓"}.asset-favorite-button[aria-pressed="true"]:hover:not(:disabled),.asset-favorite-button[aria-pressed="true"]:focus-visible{border-color:#d5c7c3;background:#f7f3f2;color:var(--risk)}
.asset-favorite-button[aria-pressed="true"]:is(:hover,:focus-visible):not([data-pending="true"])::before{content:""}.asset-favorite-button[aria-pressed="true"]:is(:hover,:focus-visible):not([data-pending="true"]) .asset-favorite-label{visibility:hidden}.asset-favorite-button[aria-pressed="true"]:is(:hover,:focus-visible):not([data-pending="true"])::after{position:absolute;inset:0;display:grid;place-items:center;content:"取消关注"}
.asset-favorite-button:focus-visible{outline:0;border-color:var(--focus-outline);box-shadow:0 0 0 3px rgba(0,108,246,.12)}
.asset-favorite-button[data-pending="true"]{border-color:var(--line);background:#f3f5f6;color:var(--ink-soft);cursor:wait}.asset-favorite-button[data-pending="true"]::before{width:12px;height:12px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;font-size:0;content:"";animation:favorite-spin .72s linear infinite}.asset-favorite-button:disabled{border-color:var(--line);background:#f3f5f6;box-shadow:none;color:var(--muted);cursor:not-allowed}
@keyframes favorite-spin{to{transform:rotate(360deg)}}
.asset-view .asset-favorite-button{margin-top:10px}.readiness-panel .readiness-boundary{margin-top:14px;color:var(--muted);font-size:13px}
.workspace-watch-row{min-width:0;min-height:72px;gap:8px}
.workspace-watch-row>.watchlist-asset-link{min-width:0;min-height:71px;display:grid;grid-template-columns:minmax(0,1fr) 16px;align-items:center;gap:10px;flex:1;border-radius:var(--radius-button);padding:10px 6px;color:inherit;transition:background .16s ease,color .16s ease}
.watchlist-asset-link:hover{background:var(--surface-soft)}.watchlist-asset-link:hover strong{color:var(--accent)}
.watchlist-asset-link:focus-visible{outline:2px solid rgba(22,75,122,.34);outline-offset:-2px;background:var(--surface-soft)}
.watchlist-asset-static{grid-template-columns:minmax(0,1fr)}
.watchlist-identity,.watchlist-primary-line,.watchlist-meta{min-width:0;display:block}
.watchlist-primary-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px}
.watchlist-primary-line strong{min-width:0;color:var(--ink);font-size:15px;font-weight:610;line-height:1.35;overflow-wrap:anywhere}
.workspace-watch-row .watchlist-research-status{color:var(--ink-soft);font-size:12px;white-space:nowrap}
.workspace-watch-row .watchlist-meta{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.watchlist-chevron{color:var(--muted);font-size:19px;font-style:normal;line-height:1;text-align:center}
.watchlist-remove-action{position:relative;min-width:68px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid transparent;border-radius:var(--radius-button);padding:0 7px;background:transparent;color:var(--muted);font-size:12px;line-height:1;transition:border-color .16s ease,background .16s ease,color .16s ease}
.watchlist-remove-action:hover:not(:disabled){border-color:#e4d6d2;background:#f8f4f3;color:var(--risk)}
.watchlist-remove-action:active:not(:disabled){background:#f3eae8}
.watchlist-remove-action:focus-visible{outline:0;border-color:#d8c5c0;background:#f8f4f3;box-shadow:0 0 0 2px rgba(146,60,50,.08);color:var(--risk)}
.watchlist-remove-action[data-pending="true"],.watchlist-remove-action:disabled{border-color:transparent;background:var(--surface-soft);color:var(--muted);cursor:wait}
.workspace-watchlist-empty{min-height:112px}.workspace-watchlist-empty button{min-height:34px;border-bottom:1px solid currentColor;padding:0 1px}

/* Desktop research desk: one semantic source, purpose-built wide-screen composition. */
@media(min-width:1024px){
  .product-today>.today-dashboard{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(300px,.62fr);gap:28px}
  .product-today .today-evidence{margin-top:0}
  .product-today .today-changes,.product-today .today-risk{align-self:start;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;padding:18px 0;background:transparent;box-shadow:none}
  .product-my{max-width:1320px}
  .activity-columns,.activity-row{grid-template-columns:minmax(0,1fr) 150px 110px}
}
@media(min-width:1280px){
  .asset-research-primary{grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);grid-template-areas:"signals risk" "context risk";align-content:start;column-gap:30px}
  .asset-signal-section{grid-area:signals}.asset-context-section{grid-area:context}.asset-risk-section{grid-area:risk;border-top:0;padding-top:0}
}
@media(min-width:1440px){#app{padding-top:38px}}
@media(max-width:1023px){
  #app{width:min(calc(100% - 36px),var(--content));padding-top:28px}
  .briefing-lead,.today-dashboard,.personal-workspace,.asset-research-body,.access-page{grid-template-columns:1fr}
  .personal-workspace{grid-template-areas:"intro" "watchlist" "research" "gated" "settings"}
  .workspace-research{grid-row:auto}.asset-history{grid-column:1;grid-row:auto}
  .brief-view{border-top:1px solid var(--line);border-left:0}
}
@media(max-width:900px){
  :root{--mobile-header-bar-height:54px;--header:calc(var(--mobile-header-bar-height) + var(--safe-top))}
  .topbar{height:var(--header)}.topbar-inner{width:100%;gap:6px;padding-inline:calc(14px + env(safe-area-inset-left)) calc(10px + env(safe-area-inset-right))}
  #app{width:calc(100% - 32px);min-height:calc(100vh - var(--header));padding:22px 0 54px}
}
@media(max-width:768px){
  .product-page-head{align-items:flex-start;margin-bottom:18px}.product-page-head h1{font-size:28px}.page-date{margin-top:7px;font-size:12px}
  .briefing-lead{margin:0 -16px 18px;border-radius:0;box-shadow:none}
  .market-snapshot{grid-template-columns:1.12fr 1fr 1fr}.market-snapshot>div{min-height:68px;padding:10px 12px}
  .market-snapshot .snapshot-state{grid-column:auto;min-height:68px;border-right:1px solid var(--line);border-bottom:0}
  .market-snapshot .snapshot-number:last-child{border-right:0}.market-snapshot strong{font-size:21px}.market-snapshot .snapshot-state strong{font-size:18px}
  .brief-view{min-height:58px;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;padding:10px 12px}.brief-view strong{margin:0;font-size:17px}.brief-view p{font-size:12px;text-align:right}
  .product-panel,.activity-shell,.workspace-section,.account-section{padding:16px 14px}.product-panel.section-flow,.workspace-settings-link.section-flow,.workspace-section.section-secondary,.asset-research-section{padding-right:0;padding-left:0}
  .financial-section-head{min-height:36px;padding-bottom:11px}
  .financial-section-head h2,.asset-research-section h2,.asset-history-head h2{font-size:17px}.financial-section-head p{display:none}
  .workspace-watch-row{gap:4px}
  .workspace-watch-row>.watchlist-asset-link{padding-right:5px;padding-left:5px}
  .watchlist-primary-line{display:block}.watchlist-research-status{margin-top:3px;white-space:normal}
  .watchlist-remove-action{min-width:64px;padding-inline:5px}
  .asset-context-row{grid-template-columns:76px minmax(0,1fr);gap:10px}
  .sector-role{display:none}.today-sector-main{display:grid;grid-template-columns:auto auto;gap:1px 8px}
  .product-today{display:flex;flex-direction:column}.product-today>.product-page-head{order:1}.product-today>.briefing-lead{order:2}.product-today>.today-dashboard{width:100%;display:flex;flex-direction:column;order:3;gap:18px}.product-today .today-research-main,.product-today .today-research-rail{display:flex;flex-direction:column;gap:18px}
  .evidence-feed-row,.event-research-card{grid-template-columns:1fr;gap:4px;padding:11px 0}.event-research-card .evidence-source{grid-row:auto}.evidence-source{display:flex;align-items:center;gap:8px}.evidence-source time{margin:0}
  .event-status-summary{grid-template-columns:auto minmax(0,1fr);gap:7px;margin-top:5px}.event-analysis{margin-top:3px}.event-analysis-body{padding-top:10px}
  .event-research-facts,.event-evidence-meta,.market-evidence-balance{grid-template-columns:1fr;gap:9px}.event-evidence-meta{gap:7px}.market-intelligence-grid,.industry-detail-metrics{grid-template-columns:1fr 1fr}.market-intelligence-grid .financial-metric:last-child,.industry-detail-metrics .financial-metric:last-child:nth-child(odd){grid-column:1/-1;border-top:1px solid var(--line)}
  .market-intelligence-grid .financial-metric:nth-child(2),.industry-detail-metrics .financial-metric:nth-child(2){border-right:0}.market-intelligence-disclosure ul{grid-template-columns:1fr}
  .product-industry{padding-inline:14px}.industry-detail-hero{grid-template-columns:1fr;align-items:start;gap:12px}.industry-detail-hero>strong{font-size:29px}.industry-detail-hero h1{font-size:28px}
  .industry-detail-research dl div{align-items:flex-start;flex-direction:column;gap:3px}.industry-detail-research dd{max-width:100%;text-align:left}
  .activity-columns{display:none}.activity-row{grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:12px 0}
  .activity-time{grid-column:1;text-align:left}.activity-record{grid-column:2;grid-row:1/span 2}
  .asset-back-link{margin-bottom:12px}.asset-hero{min-height:0;align-items:flex-start;padding-bottom:14px}.asset-identity-title h1{font-size:clamp(23px,6.6vw,28px);line-height:1.22;letter-spacing:-.02em}.asset-type-token{margin-top:5px}
  .asset-view{min-width:104px;padding-left:16px}.asset-view strong{font-size:20px}
  .asset-snapshot{grid-template-columns:1fr 1fr}.asset-snapshot-primary{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--line)}
  .asset-snapshot{margin:18px 0}.asset-snapshot>div{min-height:74px;padding:11px 13px}.asset-snapshot-primary strong{font-size:31px}
  .asset-research-body,.asset-research-primary{gap:0}.asset-history-columns{display:none}
  .account-row{align-items:flex-start;flex-direction:column;justify-content:center;gap:2px;padding-block:10px}
  .account-row strong,.account-row small{max-width:none;text-align:left}.account-action{align-items:center;flex-direction:row;justify-content:space-between}
}
@media(max-width:430px){
  #app{width:calc(100% - 28px);padding-top:18px}.brand-mark{width:28px;height:28px}.product-page-head{display:block}.page-date{align-items:flex-start}
  .briefing-lead{margin-right:-14px;margin-left:-14px}.today-sector-main{grid-template-columns:1fr}.asset-hero{display:block}.asset-header-actions{margin-top:10px}.asset-preparing .readiness-panel{border-right:0;border-left:0;border-radius:4px;padding:18px 0}
  .market-intelligence-grid .financial-metric,.industry-detail-metrics .financial-metric{min-height:82px;padding:12px}
  .asset-view{margin-top:10px;border-top:1px solid var(--line);border-left:0;padding:9px 0 0}.asset-view span,.asset-view strong{display:inline}.asset-view strong{margin-left:8px}
  .readiness-panel{padding:18px 0}.readiness-facts>div{align-items:flex-start;flex-direction:column;gap:2px;padding:10px 0}.readiness-facts dd{text-align:left}
}

/* RED_GREEN_LIGHT_SITE_WIDE_UI_V1_BATCH1
   MiTrade-informed functional financial web composition.
   TODAY and MARKET keep their existing server-owned data contracts; this block
   is the single presentation owner for the first production UI batch. */
.prototype-today,
.prototype-market { min-width: 0; color: var(--ink); }
.prototype-today h1,
.prototype-today h2,
.prototype-today h3,
.prototype-market h1,
.prototype-market h2,
.prototype-market h3 { color: var(--text-primary); letter-spacing: -.02em; }
.prototype-today .today-intro h1,
.prototype-market .market-intro h1 { color: #fff; }
.prototype-today .page-kicker,
.prototype-market .page-kicker { margin: 0; color: #93baff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.prototype-today .intro-copy,
.prototype-market .intro-copy { max-width: 60ch; margin: 12px 0 0; color: #b9cae1; font-size: 15px; line-height: 1.65; }
.prototype-today .today-intro,
.prototype-market .market-intro {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: end;
  gap: 30px;
  padding: 30px 34px 28px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-navy);
  color: #fff;
}
.prototype-today .today-intro h1,
.prototype-market .market-intro h1 { max-width: 23ch; margin: 8px 0 0; font-size: clamp(30px, 3.1vw, 42px); font-weight: 710; line-height: 1.18; }
.prototype-today .date-block,
.prototype-market .date-block { display: grid; gap: 4px; align-items: end; min-width: 156px; color: #c7d3e2; font-size: 13px; text-align: right; }
.prototype-today .date-block strong,
.prototype-market .date-block strong { color: #fff; font-family: var(--font-number); font-size: 15px; font-weight: 650; }
.prototype-today .date-block span,
.prototype-market .date-block span { display: inline-flex; justify-content: flex-end; align-items: center; gap: 7px; }
.prototype-today .date-block .status-dot,
.prototype-market .date-block .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prototype-today .quality-note,
.prototype-market .quality-note { color: var(--muted); font-size: 12px; }

/* TODAY: one strong market anchor followed by evidence and observation. */
.prototype-today .state-band {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr);
  gap: 0;
  margin-top: 18px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: var(--surface-blue);
}
.prototype-today .state-main,
.prototype-today .state-visual { min-width: 0; }
.prototype-today .state-main { padding: 27px 30px; }
.prototype-today .state-visual { border-left: 1px solid #cbdcf5; padding: 27px 28px; background: #e2eeff; }
.prototype-today .state-band h2 { margin: 4px 0 0; font-size: clamp(24px, 2.35vw, 32px); line-height: 1.24; }
.prototype-today .state-main > p { max-width: 66ch; margin: 11px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.prototype-today .state-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 18px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.prototype-today .state-chip { display: inline-flex; min-height: 28px; align-items: center; padding: 0 9px; border: 1px solid #bcd1e5; border-radius: 4px; color: var(--brand); background: #fff; font-size: 12px; font-weight: 650; }
.prototype-today .today-benchmark-strip { display: inline-flex; flex-wrap: wrap; gap: 7px 16px; min-width: 0; }
.prototype-today .today-benchmark-strip > span { white-space: nowrap; }
.prototype-today .today-benchmark-strip b,
.prototype-today .today-benchmark-strip em { font-family: var(--font-number); font-style: normal; }
.prototype-today .today-benchmark-strip b { margin-left: 4px; color: var(--text-primary); font-weight: 650; }
.prototype-today .today-benchmark-strip em { margin-left: 3px; }
.prototype-today .state-visual { border-left: 1px solid var(--line-strong); padding-left: 30px; }
.prototype-today .visual-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.prototype-today .visual-head strong { color: var(--text-primary); font-family: var(--font-number); font-size: 27px; font-weight: 650; }
.prototype-today .breadth-meter { display: flex; height: 12px; margin: 21px 0 11px; overflow: hidden; border-radius: 2px; background: var(--line); }
.prototype-today .breadth-meter span { height: 100%; }
.prototype-today .breadth-up { background: var(--positive); }
.prototype-today .breadth-rest { background: #cbd6e0; }
.prototype-today .breadth-labels { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.prototype-today .breadth-labels .market-up { color: var(--positive); font-weight: 650; }
.prototype-today .state-visual small { display: block; margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.prototype-today .change-band,
.prototype-today .event-band,
.prototype-today .market-discovery-band,
.prototype-today .research-band,
.prototype-today .watch-band { min-width: 0; border-top: 1px solid var(--line); border-bottom: 0; border-radius: 0; padding: 25px 0 0; background: transparent; }
.prototype-today .change-band { margin-top: 24px; }
.prototype-today .brief-grid { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(280px,.72fr); gap: 30px; margin-top: 28px; align-items: start; }
.prototype-today .section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.prototype-today .change-band h2,
.prototype-today .research-band h2,
.prototype-today .watch-band h2,
.prototype-today .why-band h2,
.prototype-today .uncertainty-band h2,
.prototype-today .continue-band h2 { margin: 0; font-size: 22px; line-height: 1.3; }
.prototype-today .signal-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.prototype-today .signal-list li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 14px; align-items: start; min-height: 72px; border-top: 1px solid var(--line); padding: 17px 0; }
.prototype-today .signal-list li:first-child { border-top: 0; padding-top: 1px; }
.prototype-today .signal-index { color: var(--brand); font-family: var(--font-mono); font-size: 12px; }
.prototype-today .signal-list strong { color: var(--text-primary); font-size: 15px; font-weight: 650; }
.prototype-today .signal-list p { margin: 4px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.prototype-today .research-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 25px 0 24px; background: transparent; }
.prototype-today .research-lead { max-width: 65ch; margin: 0; color: var(--text-primary); font-size: 17px; line-height: 1.7; }
.prototype-today .decision-chip { display: inline-flex; align-items: center; min-height: 27px; padding: 0 9px; border: 1px solid #bcd1e5; border-radius: 4px; color: var(--brand); background: #fff; font-size: 12px; font-weight: 650; white-space: nowrap; }
.prototype-today .research-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 21px; border-top: 1px solid #cddceb; padding-top: 16px; }
.prototype-today .research-facts div { min-width: 0; display: grid; gap: 2px; }
.prototype-today .research-facts span,
.prototype-today .research-facts small { color: var(--muted); font-size: 12px; }
.prototype-today .research-facts strong { color: var(--text-primary); font-family: var(--font-number); font-size: 19px; }
.prototype-today .evidence-disclosure { margin-top: 18px; border-top: 1px solid #cddceb; padding-top: 8px; }
.prototype-today .evidence-disclosure summary { display: inline-flex; min-height: 40px; align-items: center; color: var(--brand); cursor: pointer; font-size: 14px; }
.prototype-today .evidence-row { display: grid; grid-template-columns: 82px minmax(0,1fr) auto; gap: 10px; align-items: start; border-top: 1px solid #d3e0eb; padding: 10px 0; font-size: 13px; }
.prototype-today .evidence-row strong { color: var(--text-primary); }
.prototype-today .evidence-row span { color: var(--ink-soft); }
.prototype-today .evidence-row em { color: var(--warn); font-style: normal; font-size: 12px; }
.prototype-today .watch-band { border-top: 0; padding: 25px 0 0; }
.prototype-today .watch-count { color: var(--muted); font-size: 13px; }
.prototype-today .watch-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.prototype-today .watch-list li { border-top: 1px solid var(--line); }
.prototype-today .watch-list button { width: 100%; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 0; padding: 12px 0; background: transparent; color: var(--text-primary); text-align: left; font-size: 14px; }
.prototype-today .watch-list button:hover { color: var(--brand); }
.prototype-today .watch-list button span { flex: none; color: var(--muted); font-size: 12px; }
.prototype-today .event-band,
.prototype-today .market-discovery-band { margin-top: 28px; }
.prototype-today .why-band { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 30px; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 25px 0; }
.prototype-today .why-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.prototype-today .why-columns > div { min-width: 0; }
.prototype-today .why-mark { width: 22px; height: 22px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 50%; background: var(--surface-secondary); color: var(--brand); font-family: var(--font-number); font-weight: 800; }
.prototype-today .why-mark.warn { color: var(--warn); background: var(--surface-warning); }
.prototype-today .why-mark.neutral { color: var(--muted); }
.prototype-today .why-columns h3 { margin: 0; color: var(--text-primary); font-size: 15px; }
.prototype-today .why-columns p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.prototype-today .uncertainty-band,
.prototype-today .continue-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.prototype-today .uncertainty-band { border-top-color: #e3cfa6; border-bottom-color: #e3cfa6; background: var(--surface-warning); padding-inline: 20px; }
.prototype-today .continue-band { background: var(--surface-selected); padding-inline: 20px; }
.prototype-today .uncertainty-band p,
.prototype-today .continue-band p { max-width: 66ch; margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.prototype-today .continue-actions { display: flex; flex: none; gap: 8px; }

/* MARKET: quote-page rhythm, index anchors, breadth and ranking scan. */
.prototype-market .market-intro { padding-bottom: 24px; }
.prototype-market .overview-band { margin-top: 18px; border-top: 2px solid var(--brand); border-bottom: 0; border-radius: 8px; padding: 25px 0 23px; background: var(--surface-blue); }
.prototype-market .section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.prototype-market .section-label { display: block; margin-bottom: 4px; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.prototype-market .overview-band h2 { margin: 0; font-size: 25px; line-height: 1.25; }
.prototype-market .market-state { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; white-space: nowrap; }
.prototype-market .market-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.prototype-market .overview-grid { display: grid; grid-template-columns: minmax(0,1.34fr) minmax(300px,.66fr); gap: 32px; margin-top: 21px; }
.prototype-market .index-list { min-width: 0; display: grid; gap: 0; }
.prototype-market .index-row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 17px; min-height: 66px; border-top: 1px solid var(--line); padding: 12px 0; }
.prototype-market .index-row:first-child { border-top: 0; padding-top: 0; }
.prototype-market .index-row > div { min-width: 0; }
.prototype-market .index-row strong { display: block; overflow-wrap: anywhere; color: var(--text-primary); font-size: 16px; font-weight: 650; }
.prototype-market .index-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.prototype-market .index-row b { color: var(--text-primary); font-family: var(--font-number); font-size: 17px; font-weight: 650; }
.prototype-market .index-row span { min-width: 64px; text-align: right; font-family: var(--font-number); font-size: 14px; font-weight: 650; }
.prototype-market .breadth-block,
.prototype-market .activity-block { min-width: 0; border-left: 1px solid var(--line); padding-left: 28px; }
.prototype-market .activity-block { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 19px; }
.prototype-market .metric-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.prototype-market .metric-head strong { color: var(--text-primary); font-family: var(--font-number); font-size: 26px; font-weight: 650; }
.prototype-market .breadth-meter { display: flex; height: 11px; margin-top: 15px; overflow: hidden; border-radius: 2px; background: var(--line); }
.prototype-market .breadth-meter span:first-child { background: var(--positive); }
.prototype-market .breadth-meter span:last-child { background: #cbd6e0; }
.prototype-market .breadth-legend { display: flex; justify-content: space-between; gap: 10px; margin-top: 9px; color: var(--muted); font-size: 12px; }
.prototype-market .breadth-legend span:first-child { color: var(--positive); font-weight: 650; }
.prototype-market .activity-block p { margin: 7px 0 0; color: var(--ink-soft); font-size: 14px; }
.prototype-market .activity-block small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.prototype-market .market-grid { display: grid; grid-template-columns: minmax(0,1.34fr) minmax(300px,.66fr); gap: 30px; margin-top: 30px; align-items: start; }
.prototype-market .structure-band,
.prototype-market .scan-band { min-width: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0 0; background: transparent; }
.prototype-market .scan-band { border-top: 2px solid var(--brand); padding: 22px 20px 20px; background: var(--surface-blue); }
.prototype-market .structure-band .financial-section-head { margin-bottom: 0; }
.prototype-market .scan-tabs { display: flex; gap: 18px; margin: 16px 0 5px; border-bottom: 1px solid #cdd9e4; }
.prototype-market .scan-tabs span { min-height: 35px; display: inline-flex; align-items: center; color: var(--muted); font-size: 13px; }
.prototype-market .scan-tabs .is-selected { border-bottom: 2px solid var(--brand); color: var(--brand); font-weight: 650; }
.prototype-market .scan-list { display: grid; gap: 0; }
.prototype-market .scan-row { min-width: 0; display: grid; grid-template-columns: 28px minmax(0,1fr) auto 18px; gap: 10px; align-items: center; min-height: 60px; border-top: 1px solid #d6e0e9; color: var(--text-primary); }
.prototype-market .scan-row .rank { color: var(--brand); font-family: var(--font-mono); font-size: 12px; }
.prototype-market .scan-asset { min-width: 0; }
.prototype-market .scan-asset strong { display: block; overflow-wrap: anywhere; font-size: 15px; font-weight: 650; }
.prototype-market .scan-asset small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.prototype-market .scan-value { font-family: var(--font-number); font-size: 15px; font-weight: 650; white-space: nowrap; }
.prototype-market .scan-arrow { color: var(--brand); font-size: 18px; }
.prototype-market .wide-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; margin-top: 9px; color: var(--brand); font-size: 14px; font-weight: 650; }
.prototype-market .market-intelligence-section { margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 0 0; background: transparent; }
.prototype-market .market-intelligence-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 17px; }
.prototype-market .market-intelligence-grid .financial-metric { min-width: 0; border-top: 1px solid var(--line); padding: 14px 0 17px; }
.prototype-market .market-intelligence-grid .financial-metric span,
.prototype-market .market-intelligence-grid .financial-metric small { color: var(--muted); font-size: 13px; }
.prototype-market .market-intelligence-grid .financial-metric strong { display: block; margin: 5px 0 3px; color: var(--text-primary); font-family: var(--font-number); font-size: 23px; font-weight: 650; }
.prototype-market .market-interpretation { max-width: 72ch; margin: 17px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.prototype-market .next-band { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin-top: 30px; border: 0; border-radius: 8px; padding: 22px 24px; background: var(--surface-navy); color: #fff; }
.prototype-market .next-band h2 { margin: 0; color: #fff; font-size: 21px; }
.prototype-market .next-band p { margin: 6px 0 0; color: #b9cae1; font-size: 14px; }
.prototype-market .next-actions { display: flex; flex: none; gap: 8px; }

@media (min-width: 1280px) {
  .prototype-today .today-intro h1,
  .prototype-market .market-intro h1 { font-size: 42px; }
  .prototype-today .state-band { padding-right: 28px; padding-left: 28px; }
  .prototype-market .overview-band { padding-right: 28px; padding-left: 28px; }
}
@media (max-width: 1023px) {
  .prototype-today .state-band,
  .prototype-today .brief-grid,
  .prototype-market .overview-grid,
  .prototype-market .market-grid { grid-template-columns: minmax(0,1fr); }
  .prototype-today .state-visual,
  .prototype-market .breadth-block { border-top: 1px solid var(--line-strong); border-left: 0; padding: 19px 0 0; }
  .prototype-market .activity-block { border-left: 0; }
}
@media (max-width: 767px) {
  .prototype-today .today-intro,
  .prototype-market .market-intro { display: block; padding-bottom: 19px; }
  .prototype-today .today-intro h1,
  .prototype-market .market-intro h1 { max-width: 20ch; font-size: 28px; }
  .prototype-today .date-block,
  .prototype-market .date-block { min-width: 0; align-items: start; margin-top: 14px; text-align: left; }
  .prototype-today .date-block span,
  .prototype-market .date-block span { justify-content: flex-start; }
  .prototype-today .state-band,
  .prototype-market .overview-band { margin-top: 18px; padding: 20px 0 18px; }
  .prototype-today .state-band h2,
  .prototype-market .overview-band h2 { font-size: 22px; }
  .prototype-today .state-main > p,
  .prototype-today .research-lead { font-size: 15px; }
  .prototype-today .today-benchmark-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 12px; width: 100%; }
  .prototype-today .today-benchmark-strip > span { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
  .prototype-today .research-facts,
  .prototype-market .market-intelligence-grid { gap: 10px; }
  .prototype-today .research-facts strong { font-size: 17px; }
  .prototype-today .why-band { display: block; padding: 21px 0; }
  .prototype-today .why-columns { grid-template-columns: 1fr; gap: 17px; margin-top: 17px; }
  .prototype-today .uncertainty-band,
  .prototype-today .continue-band,
  .prototype-market .next-band { display: block; }
  .prototype-today .continue-actions,
  .prototype-market .next-actions { display: grid; margin-top: 15px; }
  .prototype-today .continue-actions .button,
  .prototype-market .next-actions .button { width: 100%; }
  .prototype-market .overview-grid { gap: 19px; }
  .prototype-market .index-row { grid-template-columns: minmax(0,1fr) auto auto; gap: 10px; min-height: 60px; }
  .prototype-market .index-row strong { font-size: 15px; }
  .prototype-market .index-row b { font-size: 15px; }
  .prototype-market .index-row span { min-width: 57px; font-size: 13px; }
  .prototype-market .scan-band { padding-inline: 16px; }
  .prototype-market .scan-row { grid-template-columns: 23px minmax(0,1fr) auto 14px; gap: 8px; }
  .prototype-market .market-intelligence-grid { grid-template-columns: 1fr; }
  .prototype-market .market-intelligence-grid .financial-metric { padding: 11px 0; }
}
@media (max-width: 430px) {
  .prototype-today .today-intro h1,
  .prototype-market .market-intro h1 { font-size: 26px; }
  .prototype-today .state-band,
  .prototype-market .overview-band { padding-top: 18px; }
  .prototype-today .state-visual { padding-top: 16px; }
  .prototype-today .change-band,
  .prototype-today .event-band,
  .prototype-today .market-discovery-band,
  .prototype-today .research-band,
  .prototype-today .watch-band,
  .prototype-market .structure-band { padding-top: 21px; }
}

.prototype-my .page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 4px 0 23px;
}
.prototype-my .page-intro h1 { max-width: 24ch; margin: 7px 0 0; font-size: clamp(27px,3vw,35px); line-height: 1.25; }
.prototype-my .status-summary { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.prototype-my .status-summary .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--negative); }
.prototype-my .view-tabs {
  display: flex;
  gap: 22px;
  min-height: 43px;
  border-bottom: 1px solid var(--line);
}
.prototype-my .view-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.prototype-my .view-tabs a.is-active { color: var(--brand); font-weight: 700; }
.prototype-my .view-tabs a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--brand);
  content: "";
}
.prototype-my .my-layout {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(290px,.7fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}
.prototype-my .personal-band {
  min-width: 0;
  padding: 26px 30px;
}
.prototype-my .workspace-watchlist { background: var(--surface-personal); }
.prototype-my .workspace-research { background: var(--surface-research); }
.prototype-my .workspace-gated { background: var(--surface-secondary); }
.prototype-my .workspace-settings-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column: 1 / -1;
  min-height: 50px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.prototype-my .workspace-settings-link strong { color: var(--brand); font-size: 13px; }
.prototype-my .capability-gate { padding-top: 10px; }
.prototype-my .capability-gate strong { color: var(--text-primary); font-size: 16px; }
.prototype-my .capability-gate p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.prototype-my .workspace-more { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; margin-top: 12px; color: var(--brand); font-size: 13px; }
.prototype-asset .asset-research-header {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(150px,.34fr) auto;
  align-items: end;
  gap: 22px;
  min-width: 0;
  padding: 4px 0 24px;
  border-bottom: 1px solid var(--line);
}
.prototype-asset .asset-identity { min-width: 0; }
.prototype-asset .asset-view { min-width: 0; padding-bottom: 2px; }
.prototype-asset .asset-view > span { color: var(--muted); font-size: 12px; }
.prototype-asset .asset-view strong { display: block; margin-top: 4px; color: var(--text-primary); font-size: 17px; }
.prototype-asset .asset-view-date { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-mono); font-size: 11px; }
.prototype-asset .asset-header-actions { display: flex; justify-content: flex-end; align-items: center; }
.prototype-asset .content-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr);
  grid-template-areas:
    "visual chart"
    "research research"
    "evidence evidence"
    "risk risk"
    "history history"
    "personal personal";
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}
.prototype-asset .content-grid > .market-visual { grid-area: visual; }
.prototype-asset .content-grid > .chart-shell { grid-area: chart; }
.prototype-asset .content-grid > .asset-research-primary { grid-area: research; }
.prototype-asset .content-grid > .evidence-band { grid-area: evidence; }
.prototype-asset .content-grid > .risk-band { grid-area: risk; }
.prototype-asset .content-grid > .history-band { grid-area: history; }
.prototype-asset .content-grid > .personal-band { grid-area: personal; }
.prototype-asset .market-visual,
.prototype-asset .chart-shell,
.prototype-asset .research-band,
.prototype-asset .evidence-band,
.prototype-asset .risk-band,
.prototype-asset .history-band,
.prototype-asset .personal-band,
.prototype-asset .readiness-panel {
  min-width: 0;
  padding: 26px 30px;
  background: var(--surface-primary);
}
.prototype-asset .market-visual { background: var(--surface-secondary); }
.prototype-asset .chart-shell { background: var(--surface-research); }
.prototype-asset .research-band { background: var(--surface-research); }
.prototype-asset .evidence-band { background: var(--surface-primary); }
.prototype-asset .risk-band { background: var(--surface-warning); }
.prototype-asset .personal-band { background: var(--surface-personal); }
.prototype-asset .readiness-panel { background: var(--surface-secondary); }
.prototype-asset .chart-placeholder {
  display: grid;
  min-height: 210px;
  place-items: center;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: rgba(255,255,255,.45);
  text-align: center;
}
.prototype-asset .chart-placeholder strong { color: var(--text-primary); font-size: 15px; }
.prototype-asset .chart-placeholder p { max-width: 34ch; margin: 6px auto 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.prototype-asset .chart-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}
.prototype-asset .evidence-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  color: var(--muted);
  font-size: 12px;
}
.prototype-asset .evidence-list {
  display: grid;
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.prototype-asset .evidence-list > div {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.prototype-asset .evidence-list span { color: var(--muted); }
.prototype-asset .evidence-list em { color: var(--warn); font-style: normal; font-size: 11px; }
.prototype-asset .risk-copy { display: flex; gap: 11px; align-items: flex-start; }
.prototype-asset .risk-icon {
  width: 26px; height: 26px; flex: 0 0 auto;
  display: grid; place-items: center; border-radius: 50%;
  color: var(--warn); background: rgba(138,82,0,.13);
  font-family: var(--font-number); font-weight: 800;
}
.prototype-asset .risk-copy p { max-width: 70ch; margin: 5px 0 0; color: #694410; font-size: 13px; line-height: 1.65; }
.prototype-asset .history-band { background: var(--surface-primary); }
.prototype-asset .personal-band { padding-top: 22px; padding-bottom: 22px; }
.prototype-asset .privacy-note { color: var(--personal, #33746e); font-size: 11px; }
.prototype-asset .asset-disclosure {
  grid-column: 1 / -1;
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.prototype-asset .asset-disclosure summary { min-height: 44px; display: inline-flex; align-items: center; color: var(--brand); cursor: pointer; }
.prototype-asset .readiness-panel h2 { margin: 7px 0 0; font-size: 22px; }
.prototype-asset .readiness-panel > p { max-width: 60ch; color: var(--muted); font-size: 14px; line-height: 1.7; }
.prototype-asset .readiness-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin: 20px 0 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.prototype-asset .readiness-facts div { min-width: 0; }
.prototype-asset .readiness-facts dt { color: var(--muted); font-size: 11px; }
.prototype-asset .readiness-facts dd { margin: 4px 0 0; color: var(--text-primary); font-size: 13px; line-height: 1.5; }
.prototype-asset .readiness-boundary { margin-bottom: 0; font-size: 12px !important; }
/* Legacy closure responsive overrides removed: Batch 1 owns TODAY/MARKET responsive composition. */
/*
 * RED_GREEN_LIGHT_SITE_WIDE_UI_CLOSURE_V1
 *
 * Batch B–D share the same editorial financial grammar as TODAY/MARKET:
 * readable type, one bounded canvas, hairline section rules and a small
 * number of intentional secondary surfaces. This is the final presentation
 * owner for Research, My, Asset, Industry, Review and access surfaces; data
 * contracts and route responsibilities remain in new-ui.js.
 */
:root {
  --closure-canvas: #f7f9fc;
  --closure-paper: #ffffff;
  --closure-soft: #f4f7fa;
  --closure-rule: #dce4ec;
  --closure-rule-strong: #c2cfdb;
  --closure-ink: #102e4f;
  --closure-copy: #29415b;
  --closure-muted: #617387;
  --closure-brand: #0a5cad;
  --closure-research: #f1f6fb;
  --closure-personal: #f2f8f7;
  --closure-warning: #fff8e8;
  --closure-radius: 6px;
}

/* Shared page rhythm: page-level surfaces never become a card wall. */
.product-page {
  color: var(--closure-copy);
  isolation: isolate;
}
.product-page :where(p, li, dd) { overflow-wrap: anywhere; }
.product-page :where(.surface, .surface-band, .table-surface, .personal-surface) {
  box-shadow: none;
}
.product-page :where(.surface-head, .section-head) { min-width: 0; }
.product-page :where(.section-label, .page-kicker) { color: var(--closure-brand); }
.product-page :where(h1, h2, h3, strong) { color: var(--closure-ink); }
.product-page :where(a, button) { touch-action: manipulation; }
.product-page :where(ul, ol) {
  padding-inline-start: 1.25em;
  margin-inline: 0;
  list-style-position: outside;
}
.product-page :where(.data-disclosure, .status-disclosure, .market-alert, .asset-data-disclosure) > :where(ul, ol) {
  padding-inline-start: 1.25em;
}

/* Shared structural baseline for the closure surfaces. */
.prototype-research .research-page-head,
.prototype-review .review-page-head,
.prototype-my .my-final-head,
.prototype-account .account-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.prototype-research .research-feed { display: grid; }
.prototype-research .insight-unit { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); }
.prototype-research .research-surface,
.prototype-research .evidence-surface,
.prototype-review .timeline-surface,
.prototype-my .my-final-grid > .surface,
.prototype-account .account-surface,
.prototype-access .access-auth-surface {
  min-width: 0;
  border: 1px solid var(--closure-rule);
  border-radius: var(--closure-radius);
  background: var(--closure-paper);
}
.prototype-research .research-surface,
.prototype-research .evidence-surface { padding: 24px; }
.prototype-research .surface-head,
.prototype-review .surface-head,
.prototype-my .surface-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.prototype-research .surface-head h2,
.prototype-review .surface-head h2,
.prototype-my .surface-head h2 { margin: 5px 0 0; font-size: clamp(19px, 2vw, 25px); line-height: 1.3; }
.prototype-research .confidence,
.prototype-research .evidence-state,
.prototype-review .state-chip,
.prototype-my .state-chip { color: var(--closure-muted); font-size: 12px; line-height: 1.4; white-space: nowrap; }
.prototype-research .judgement-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; }
.prototype-research .action-row { display: flex; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.prototype-research .evidence-stack { display: grid; gap: 14px; margin-top: 20px; }
.prototype-research .evidence-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding-top: 12px; border-top: 1px solid var(--closure-rule); }
.prototype-research .evidence-details { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--closure-rule); }
.prototype-research .insight-lower { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 24px; margin-top: 24px; }
.prototype-my .my-final-grid .workspace-gated { grid-column: 1 / -1; }
.prototype-my .my-final-grid .financial-section-head { margin-bottom: 15px; }
.prototype-review .review-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.prototype-review .timeline-surface { padding: 25px; }
.prototype-account .account-surface,
.prototype-access .access-auth-surface { padding: 28px; }
.prototype-account .auth-surface,
.prototype-access .auth-surface { display: grid; grid-template-columns: minmax(220px, .82fr) minmax(0, 1.18fr); gap: 30px; }
.prototype-account .auth-copy,
.prototype-access .auth-copy,
.prototype-account .auth-fields,
.prototype-access .auth-fields { min-width: 0; }

/* B — Research / Evidence. */
.prototype-research,
.prototype-review,
.prototype-my,
.prototype-account,
.prototype-access {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}
.prototype-research .research-page-head,
.prototype-review .review-page-head,
.prototype-my .my-final-head,
.prototype-account .account-page-head {
  margin-top: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--closure-rule);
}
.prototype-research .research-page-head h1,
.prototype-review .review-page-head h1,
.prototype-my .my-final-head h1,
.prototype-account .account-page-head h1 {
  max-width: 24ch;
  color: var(--closure-ink);
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 680;
  letter-spacing: -.028em;
}
.prototype-research .research-page-head p,
.prototype-review .review-page-head p,
.prototype-my .my-final-head p,
.prototype-account .account-page-head p {
  max-width: 62ch;
  color: var(--closure-muted);
  font-size: 15px;
  line-height: 1.65;
}
.prototype-research .research-feed { gap: 24px; }
.prototype-research .insight-unit { gap: 24px; }
.prototype-research .insight-unit .surface {
  border: 1px solid var(--closure-rule);
  border-radius: var(--closure-radius);
  background: var(--closure-paper);
}
.prototype-research .insight-unit .evidence-surface {
  border-color: #d5e1ed;
  background: var(--closure-research);
}
.prototype-research .research-surface .lead {
  max-width: 58ch;
  color: var(--closure-ink);
  font-size: 18px;
  line-height: 1.7;
}
.prototype-research .judgement-meta div { border-top-color: var(--closure-rule); }
.prototype-research .judgement-meta dd,
.prototype-research .evidence-row p,
.prototype-research .evidence-details p { color: var(--closure-copy); }
.prototype-research .action-row { gap: 16px; }
.prototype-research .action-row .button-quiet,
.prototype-research .inline-analysis summary,
.prototype-research .evidence-details summary { font-weight: 620; }
.prototype-research .insight-lower > .surface {
  border: 1px solid var(--closure-rule);
  border-radius: var(--closure-radius);
  background: var(--closure-paper);
}
.prototype-research .insight-lower > .state-surface { background: var(--closure-warning); }
.prototype-research .risk-list > div { border-top-color: var(--closure-rule); }

/* B — My as a personal investment workspace, with the gated portfolio kept
 * visible but deliberately quiet. */
.prototype-my .my-final-head { gap: 28px; }
.prototype-my .my-final-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 24px;
  margin-top: 24px;
}
.prototype-my .my-final-grid > .surface {
  min-width: 0;
  border: 1px solid var(--closure-rule);
  border-radius: var(--closure-radius);
  background: var(--closure-paper);
  padding: 24px 26px;
}
.prototype-my .my-final-grid > .workspace-watchlist { border-top: 2px solid #477b81; background: var(--closure-personal); }
.prototype-my .my-final-grid > .workspace-research { border-top: 2px solid var(--closure-brand); }
.prototype-my .my-final-grid > .workspace-gated { border-top: 2px solid var(--closure-rule-strong); background: var(--closure-soft); }
.prototype-my .workspace-row { min-height: 64px; }
.prototype-my .workspace-row strong { font-size: 15px; }
.prototype-my .workspace-row span,
.prototype-my .workspace-row time { font-size: 13px; }
.prototype-my .workspace-empty { min-height: 110px; }
.prototype-my .workspace-empty strong { font-size: 16px; }
.prototype-my .workspace-empty span { font-size: 14px; }
.prototype-my .workspace-more { min-height: 46px; margin-top: 13px; border-top-color: var(--closure-rule); }
.prototype-my .context-switch { justify-content: flex-end; }
.prototype-my .context-switch button {
  border-color: var(--closure-rule);
  border-radius: 4px;
  background: transparent;
}
.prototype-my .context-switch button[aria-pressed="true"] {
  border-color: #b7cad8;
  background: #eef5fb;
}

/* C — asset and industry detail share a white research canvas while their
 * research models remain separate. */
.prototype-asset,
.product-industry { max-width: var(--content-detail, 1200px); }
.prototype-asset .asset-hero {
  min-height: 132px;
  gap: 28px;
  border-bottom-color: var(--closure-rule-strong);
}
.prototype-asset .asset-identity-title h1,
.product-industry .industry-detail-hero h1 { color: var(--closure-ink); }
.prototype-asset .asset-snapshot {
  border-color: var(--closure-rule);
  border-radius: var(--closure-radius);
}
.prototype-asset .content-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(290px, .62fr);
  gap: 26px;
  margin-top: 26px;
}
.prototype-asset .content-grid > :where(.market-visual, .chart-shell, .research-band, .evidence-band, .risk-band, .history-band, .personal-band, .readiness-panel) {
  border: 0;
  border-top: 1px solid var(--closure-rule);
  border-radius: 0;
  background: var(--closure-paper);
  padding: 25px 0;
}
.prototype-asset .content-grid > .market-visual { border-top: 2px solid #d1dce6; }
.prototype-asset .content-grid > .chart-shell { background: var(--closure-research); padding-inline: 22px; }
.prototype-asset .content-grid > .risk-band { border-top-color: #e7d8b5; background: var(--closure-warning); padding-inline: 22px; }
.prototype-asset .content-grid > .personal-band { background: var(--closure-personal); padding-inline: 22px; }
.prototype-asset .content-grid > .readiness-panel {
  border: 1px solid var(--closure-rule);
  border-left: 3px solid #b9cad6;
  border-radius: var(--closure-radius);
  background: var(--closure-soft);
}
.prototype-asset .asset-research-section { border-top-color: var(--closure-rule); }
.prototype-asset .asset-context-row,
.prototype-asset .asset-history-row { border-bottom-color: var(--closure-rule); }
.prototype-asset .asset-code-copy { color: var(--closure-muted); }
.prototype-asset .asset-code-copy:hover { color: var(--closure-brand); }
.product-industry .industry-detail-hero {
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
  gap: 24px;
  border-bottom-color: var(--closure-rule-strong);
}
.product-industry .industry-detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--closure-rule);
  border-bottom: 1px solid var(--closure-rule);
}
.product-industry .industry-detail-metrics > div {
  min-width: 0;
  padding: 17px 20px;
  border-right: 1px solid var(--closure-rule);
}
.product-industry .industry-detail-metrics > div:last-child { border-right: 0; }
.product-industry .industry-detail-metrics strong { font-size: 24px; }
.product-industry .industry-detail-research {
  margin-top: 24px;
  border-top: 1px solid var(--closure-rule);
  padding-top: 24px;
}
.product-industry .industry-detail-research > * { min-width: 0; }

/* D — access, account and review surfaces. */
.prototype-account .account-page-head,
.prototype-access .access-page-head { margin-bottom: 24px; }
.prototype-account .account-surface,
.prototype-access .access-auth-surface {
  border: 1px solid var(--closure-rule);
  border-radius: var(--closure-radius);
  background: var(--closure-paper);
}
.prototype-account .account-surface { padding: 28px; }
.prototype-account .account-section + .account-section { border-top-color: var(--closure-rule); }
.prototype-account .account-row { min-height: 58px; }
.prototype-account .account-logout { margin-top: 3px; color: var(--risk); }
.prototype-review .review-summary .surface,
.prototype-review .timeline-surface {
  border: 1px solid var(--closure-rule);
  border-radius: var(--closure-radius);
  background: var(--closure-paper);
}
.prototype-review .review-summary .surface { padding: 18px 20px; }
.prototype-review .review-summary strong { font-size: 18px; }
.prototype-review .timeline-surface { padding: 25px; }
.prototype-review .activity-row { min-height: 66px; }

/* Keep status surfaces readable rather than greying the entire page. */
.asset-preparing .readiness-panel,
.insight-empty { color: var(--closure-copy); opacity: 1; }
.asset-preparing .readiness-panel p,
.insight-empty p { color: var(--closure-muted); }

@media (max-width: 900px) {
  .prototype-asset .content-grid { grid-template-columns: 1fr; gap: 0; }
  .prototype-asset .content-grid > :where(.market-visual, .chart-shell, .research-band, .evidence-band, .risk-band, .history-band, .personal-band, .readiness-panel) {
    padding: 21px 0;
  }
  .prototype-asset .content-grid > .chart-shell,
  .prototype-asset .content-grid > .risk-band,
  .prototype-asset .content-grid > .personal-band { padding-inline: 16px; }
  .product-industry .industry-detail-hero { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 760px) {
  .prototype-research .research-page-head h1,
  .prototype-review .review-page-head h1,
  .prototype-my .my-final-head h1,
  .prototype-account .account-page-head h1 { font-size: 28px; }
  .prototype-research .insight-unit { grid-template-columns: 1fr; gap: 14px; }
  .prototype-research .judgement-meta { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .prototype-research .insight-unit .surface,
  .prototype-my .my-final-grid > .surface,
  .prototype-review .timeline-surface,
  .prototype-account .account-surface,
  .prototype-access .access-auth-surface { padding: 18px 16px; }
  .prototype-account .auth-surface,
  .prototype-access .auth-surface { grid-template-columns: 1fr; gap: 22px; }
  .prototype-my .my-final-grid { gap: 14px; margin-top: 18px; }
  .prototype-my .context-switch { justify-content: flex-start; }
  .prototype-asset .asset-hero { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 15px; min-height: 0; padding-bottom: 18px; }
  .prototype-asset .asset-identity-title { gap: 7px; }
  .prototype-asset .asset-identity-title h1 { font-size: clamp(25px, 7.2vw, 33px); }
  .prototype-asset .asset-type-token { margin-top: 4px; }
  .prototype-asset .asset-view { min-width: 0; border-left: 0; border-top: 1px solid var(--closure-rule); padding: 13px 0 0; }
  .prototype-asset .asset-header-actions { justify-content: flex-start; }
  .prototype-asset .asset-header-actions { min-height: 44px; align-items: center; }
  .prototype-asset .asset-favorite-button { min-height: 40px; }
  .prototype-my .watchlist-primary-line { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .prototype-my .workspace-watch-row .watchlist-research-status { white-space: normal; }

  .prototype-asset .asset-snapshot { grid-template-columns: 1fr 1fr; margin: 18px 0; }
  .prototype-asset .asset-snapshot > div { min-height: 82px; padding: 13px 14px; }
  .prototype-asset .asset-snapshot-primary { grid-column: 1 / -1; border-right: 0 !important; border-bottom: 1px solid var(--closure-rule); }
  .prototype-asset .asset-snapshot-primary strong { font-size: 30px; }
  .product-industry .industry-detail-metrics { grid-template-columns: 1fr 1fr; }
  .product-industry .industry-detail-metrics > div { padding: 14px; }
  .product-industry .industry-detail-metrics > div:nth-child(2) { border-right: 0; }
  .product-industry .industry-detail-metrics > div:nth-child(n+3) { border-top: 1px solid var(--closure-rule); }
  .prototype-review .review-summary { gap: 8px; }
}

@media (max-width: 430px) {
  .prototype-research .research-page-head,
  .prototype-review .review-page-head,
  .prototype-my .my-final-head,
  .prototype-account .account-page-head { margin-bottom: 18px; }
  .prototype-research .research-surface .lead { font-size: 16px; }
  .prototype-research .judgement-meta dd,
  .prototype-research .evidence-row p { font-size: 14px; }
  .prototype-research .event-evidence-meta { grid-template-columns: 1fr; }
  .prototype-asset .asset-context-row { grid-template-columns: 76px minmax(0,1fr); gap: 10px; }
  .prototype-asset .asset-identity-meta { font-size: 13px; }
  .product-industry .industry-detail-hero h1 { font-size: 27px; }
  .product-industry .industry-detail-hero p { font-size: 14px; line-height: 1.6; }
}


/* Remaining-site research/review guardrails: keep long evidence and timeline
 * content readable at tablet and narrow mobile widths without changing the
 * frozen TODAY/MARKET composition. */
.prototype-research .surface-head > div,
.prototype-review .surface-head > div { min-width: 0; }
.prototype-research .surface-head h2,
.prototype-review .surface-head h2 { overflow-wrap: anywhere; }
.prototype-research .confidence,
.prototype-research .evidence-state,
.prototype-review .state-chip { flex: 0 1 auto; max-width: 45%; text-align: right; overflow-wrap: anywhere; }
.prototype-research .evidence-details a,
.prototype-research .evidence-details p { overflow-wrap: anywhere; }
.prototype-review .activity-row { color: inherit; }
.prototype-review .activity-row:focus-visible { outline: 2px solid color-mix(in srgb, var(--closure-brand) 42%, transparent); outline-offset: 3px; }

@media (max-width: 1020px) {
  .prototype-research .insight-unit,
  .prototype-research .insight-lower { grid-template-columns: 1fr; }
  .prototype-research .insight-unit { gap: 16px; }
}

@media (max-width: 760px) {
  .prototype-research .research-page-head,
  .prototype-review .review-page-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .prototype-research .research-page-head,
  .prototype-review .review-page-head { padding-bottom: 16px; }
  .prototype-research .surface-head,
  .prototype-review .surface-head { gap: 10px; }
  .prototype-research .confidence,
  .prototype-research .evidence-state,
  .prototype-review .state-chip { max-width: 42%; }
  .prototype-review .review-summary { grid-template-columns: 1fr 1fr; }
  .prototype-review .review-summary .surface:last-child { grid-column: 1 / -1; }
  .prototype-review .activity-row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 4px 12px; }
  .prototype-review .activity-record { max-width: 34vw; overflow-wrap: anywhere; }
}

@media (max-width:430px) {
  .prototype-research .research-surface,
  .prototype-research .evidence-surface,
  .prototype-review .timeline-surface { padding-inline: 14px; }
  .prototype-research .confidence,
  .prototype-research .evidence-state,
  .prototype-review .state-chip { max-width: 38%; font-size: 11px; }
  .prototype-review .review-summary strong { font-size: 17px; }
}

/* Red-Green-Light composition anchors: wrappers are the single semantic grouping for each lead. */
.today-lead-stack,.market-lead-stack { display: grid; gap: 0; }
.prototype-today .today-lead-stack > .today-intro,
.prototype-market .market-lead-stack > .market-intro { margin-bottom: 0; }
.prototype-today .today-lead-stack > .change-band { margin-top: 24px; }
.prototype-market .market-lead-stack > .market-section + .overview-band { margin-top: 18px; }

@media (max-width: 767px) {
  .prototype-today .today-intro,.prototype-market .market-intro { display: block; padding: 23px 20px 22px; border-radius: 6px; }
  .prototype-today .today-intro h1,.prototype-market .market-intro h1 { max-width: 17ch; font-size: 29px; }
  .prototype-today .date-block,.prototype-market .date-block { min-width: 0; align-items: flex-start; margin-top: 16px; color: #c7d3e2; text-align: left; }
  .prototype-today .date-block span,.prototype-market .date-block span { justify-content: flex-start; }
  .prototype-today .state-main { padding: 21px 20px; }
  .prototype-today .state-visual { padding: 17px 20px 20px; }
}
@media (max-width:430px) {
  .prototype-today .today-intro,.prototype-market .market-intro { padding-inline: 17px; }
  .prototype-today .today-intro h1,.prototype-market .market-intro h1 { font-size: 27px; }
}
