/* Shared visual layer for the six read-only dashboard views. */
:root {
    color-scheme: dark;
    --bg: #101512; --sidebar: #121814; --surface: #19201b; --raised: #202920;
    --ink: #edf2e9; --muted: #a0aea2; --subtle: #7e9182; --line: #2c372e;
    --accent: #c0dfa1; --accent-ink: #1b301c; --up: #f29083; --down: #8ac5ad; --amber: #dfc58b;
    --radius-xl: 20px; --radius-lg: 16px; --radius-md: 11px;
    --shadow: 0 8px 28px #050a0724; --sand: #edf2e9; --moss-950: #101512; --moss-900: #19201b;
    --sage: #c0dfa1; --sage-soft: #a0aea2; --terracotta: #f29083; --leaf: #8ac5ad; --ochre: #dfc58b; --clay: #7e9182;
    --paper-line: #2c372e;
}
body { background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; border: 1px solid var(--line); background: var(--raised); border-radius: 8px; padding: 9px 13px; }
button { cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
button:hover:not(:disabled) { background: #263129; border-color: #53684f; }
button:disabled { opacity: .4; cursor: not-allowed; }
input, select { min-height: 40px; } a { color: var(--accent); }
svg { width: 18px; height: 18px; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: #c0dfa140; }
::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-thumb { background: #465748; border-radius: 4px; }
.app-shell { padding-left: 224px; }
.topbar { position: fixed; inset: 0 auto 0 0; width: 224px; z-index: 30; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 32px 18px 22px; background: var(--sidebar); border-right: 1px solid var(--line); border-bottom: 0; backdrop-filter: none; }
.brand { gap: 10px; padding: 0 8px; }.brand-mark { width: 36px; height: 38px; background: transparent; color: var(--accent); border-radius: 0; }.brand-mark svg { width: 34px; height: 34px; }
.brand strong { font-size: 19px; font-weight: 600; letter-spacing: -.8px; }.brand small { font-size: 10px; letter-spacing: 1px; margin-top: 1px; }
.main-nav { flex-direction: column; gap: 7px; margin-top: 48px; }.nav-label { padding: 0 16px; margin-bottom: 8px; font-size: 10px; letter-spacing: 2px; color: var(--subtle); }
.nav-btn { position: relative; gap: 12px; padding: 13px 15px; background: transparent; border: 1px solid transparent; color: var(--muted); text-align: left; font-size: 13px; border-radius: 9px; transform: none !important; }
.nav-btn svg { width: 18px; height: 18px; stroke-width: 1.6; }.nav-btn.active { background: #c0dfa10f; color: var(--accent); border-color: #c0dfa115; }.nav-btn.active:after { content: ''; position: absolute; right: 12px; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }
.topbar-status { margin-top: auto; padding: 20px 10px 16px; border-top: 1px solid var(--line); gap: 9px; align-items: flex-start; }.topbar-status>div { min-width: 0; }.topbar-status strong { font-size: 11px; font-weight: 500; line-height: 1.8; }.topbar-status small { font-size: 10px; line-height: 1.8; color: var(--muted); }
.state-dot { width: 6px; height: 6px; margin-top: 7px; flex: 0 0 auto; box-shadow: 0 0 0 4px #c0dfa10b; }.state-dot.degraded, .state-dot.unavailable { background: var(--amber); box-shadow: none; }.state-dot.danger { background: var(--up); box-shadow: none; }
.sidebar-note { display: flex; gap: 10px; padding: 13px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; }.sidebar-note>svg { width: 16px; color: var(--accent); margin-top: 2px; }.sidebar-note strong { font-size: 10px; font-weight: 500; }.sidebar-note p { font-size: 10px; color: var(--subtle); margin: 5px 0 0; line-height: 1.8; }
.page-wrap { width: min(1360px, 100%); margin: 0 auto; padding: 0 38px 42px; }
.workspace-bar { display: flex; justify-content: space-between; align-items: center; min-height: 76px; border-bottom: 1px solid var(--line); gap: 16px; margin-bottom: 30px; }
.workspace-location, .workspace-tools { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--muted); }.workspace-location strong { color: var(--ink); font-weight: 500; }.workspace-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }.workspace-divider { color: var(--subtle); }.workspace-tools { gap: 16px; }
.icon-button { display: grid; place-items: center; width: 33px; height: 33px; padding: 0; background: transparent; }.icon-button svg { width: 14px; }.icon-button[aria-busy=true] svg { animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.read-only-badge { display: flex; align-items: center; gap: 5px; padding-left: 16px; border-left: 1px solid var(--line); color: var(--subtle); }.read-only-badge svg { width: 13px; }
.overview-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 0 0 28px; }.overview-date { font-size: 10px; letter-spacing: 1.2px; color: var(--subtle); margin: 0 0 9px; }.overview-heading h1 { font-size: 32px; font-weight: 600; letter-spacing: -1.3px; line-height: 1.3; margin: 0; }.heading-dot { color: var(--accent); padding-left: 3px; }.overview-heading>div>p:last-child { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.market-badge { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 11px; color: var(--muted); }.market-badge svg { width: 15px; color: var(--accent); }
.metric-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 18px 0; }.account-summary { margin: 0 0 20px; }
.metric-card, .metric-card:nth-child(even) { position: relative; min-width: 0; min-height: 150px; padding: 22px 22px 19px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.metric-label { display: flex; justify-content: space-between; align-items: center; gap: 8px; }.metric-label>svg { width: 17px; stroke-width: 1.6; color: var(--subtle); }.metric-label>span>small { display: inline; font-size: 9px; margin-left: 4px; opacity: .7; }
.metric-card>span, .metric-label>span { color: var(--muted); font-size: 11px; }.metric-card>strong { font-size: clamp(24px,2.3vw,34px); font-weight: 500; letter-spacing: -1.3px; line-height: 1.3; margin: 19px 0 12px; white-space: nowrap; }.metric-card>small { font-size: 10px; color: var(--muted); }
.metric-card.balance-card { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }.balance-card .metric-label>span, .balance-card .metric-label>svg, .balance-card>small { color: #3d5533; }.balance-card>strong { font-weight: 600; }.balance-caption { display: none; }
.cash-track { position: absolute; bottom: 25px; right: 22px; width: 40px; height: 3px; border-radius: 8px; overflow: hidden; background: var(--line); }.cash-track span { display: block; width: 0; height: 100%; background: var(--accent); }
.card { padding: 24px; background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); min-width: 0; }
.overview-grid { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(300px,1fr); gap: 18px; align-items: stretch; margin: 18px 0; }.overview-grid>.card { margin-top: 0; }
.section-heading, .page-heading { gap: 20px; }.section-heading h2 { font-size: 16px; font-weight: 500; letter-spacing: -.4px; margin: 0; }.eyebrow { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 400; letter-spacing: 1px; color: var(--subtle); }.section-heading>p, .page-heading>p { font-size: 11px; line-height: 1.8; color: var(--muted); max-width: 470px; }.section-icon { color: var(--subtle); stroke-width: 1.5; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0; background: transparent!important; border: 0!important; font-size: 10px; color: var(--muted); }.text-button:hover { color: var(--accent); }.text-button svg { width: 14px; }
.chart-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; color: var(--muted); font-size: 10px; }.chart-legend { display: flex; align-items: center; gap: 7px; }.chart-legend>i { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }.chart-legend>span { color: var(--subtle); font-size: 9px; margin-left: 3px; }.period-label { border: 1px solid var(--line); border-radius: 5px; padding: 3px 7px; }
.chart-status { color: var(--muted); font-size: 11px; margin: 16px 0 0; min-height: 18px; }.performance-card .chart-container { height: 206px; min-height: 206px; }.chart-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 10px; }
.trader-brief { display: flex; flex-direction: column; gap: 0; padding: 24px; border: 1px solid #354837; background: linear-gradient(140deg,#243226,#19251e); border-radius: var(--radius-lg); min-width: 0; box-shadow: none; }.trader-brief:after { display: none; }
.brief-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }.brief-title .eyebrow { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11px; letter-spacing: .5px; color: var(--accent); }.brief-title svg { width: 14px; }.brief-live-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.brief-meta { gap: 8px; color: #9eaf9e; font-size: 9px; }.state-pill { padding: 3px 7px; border-radius: 4px; background: #c0dfa115; color: var(--accent); font-size: 10px; font-weight: 400; }.state-pill.attention,.state-pill.paused { color: var(--up); background: #f2908312; }.state-pill.signal_pending { color: var(--amber); background: #dfc58b12; }
.brief-live-dot.needs-attention { background: var(--up); }
.brief-copy h2 { font-size: 20px; font-weight: 500; line-height: 1.6; letter-spacing: -.7px; margin: 13px 0 9px; overflow-wrap: anywhere; }.brief-copy p { margin: 0 0 18px; font-size: 11px; line-height: 1.85; color: #a8b8a9; }
.next-action { display: block; margin-top: auto; border: 0; border-top: 1px solid #b5d09e20; padding: 15px 0 0; border-radius: 0; background: transparent; }.next-action>span { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 400; color: var(--accent); }.next-action svg { width: 13px; }.next-action strong { display: block; margin: 8px 0 16px; font-size: 11px; font-weight: 400; line-height: 1.85; color: #d0dbcd; }.next-action small { color: #91a393; font-size: 9px; }
.market-card #market-evidence-status { font-size: 10px; color: var(--muted); margin: 20px 0 0; }.research-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 16px 0 8px; }.research-metric { padding: 15px 14px 15px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }.research-metric span { font-size: 10px; color: var(--muted); }.research-metric strong { margin-top: 9px; font-size: 22px; font-weight: 500; letter-spacing: -.7px; line-height: 1.3; }
.research-note,#research-scope { color: var(--subtle); font-size: 11px; line-height: 1.9; }.market-card .research-note { font-size: 9px; margin-top: 14px; }.research-group { background: #c0dfa105; border-color: #718b66; border-radius: 0 8px 8px 0; }.research-group p,.research-candidate p { color: var(--muted); font-size: 12px; }.research-candidate details { border-color: var(--line); }.research-candidate summary { font-size: 11px; color: var(--accent); }.research-filters input,.research-filters select { border-color: var(--line); background: var(--raised); }
.allocation-overview { display: flex; align-items: center; gap: 22px; margin: 26px 0 16px; }.allocation-ring { width: 126px; height: 126px; flex: 0 0 126px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent) var(--invested,0%),#39463a 0); position: relative; }.allocation-ring:before { content: ''; position: absolute; inset: 8px; background: var(--surface); border-radius: 50%; }.allocation-ring>div { position: relative; text-align: center; }.allocation-ring strong { display: block; font-size: 24px; font-weight: 500; letter-spacing: -1px; }.allocation-ring span { font-size: 9px; color: var(--muted); }
.allocation-legend { display: grid; gap: 18px; flex: 1; min-width: 0; }.allocation-legend>div { display: grid; grid-template-columns: 5px 1fr; align-items: center; gap: 4px 7px; font-size: 10px; color: var(--muted); }.allocation-legend i { width: 5px; height: 5px; background: #596c56; border-radius: 50%; }.allocation-legend>div:nth-child(2) i { background: var(--accent); }.allocation-legend strong { grid-column: 2; font-size: 12px; font-weight: 500; color: var(--ink); }
.positions-list>.empty-state { border-top: 1px solid var(--line); padding: 16px 0 0; font-size: 10px; text-align: left; }.position-card { padding: 15px; background: #ffffff03; border: 1px solid var(--line); border-radius: 10px; }.position-head strong { font-size: 12px; }.position-head small { font-size: 10px; }.position-numbers { grid-template-columns: repeat(2,minmax(0,1fr)); }.position-numbers span,.position-numbers b,.position-numbers small,.decision-confidence { font-size: 10px; }.position-risk { border-color: var(--line); }.position-risk>div span,.position-risk>div b { font-size: 10px; }.position-risk .near b { color: var(--amber); }.position-risk .breached b { color: var(--up); }
.capability-rail { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 0; margin: 24px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.capability-chip { padding: 0 14px; background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; }.capability-chip:first-child { padding-left: 0; }.capability-chip:last-child { padding-right: 0; border: 0; }.capability-chip header { gap: 6px; }.capability-state { width: 5px; height: 5px; flex-shrink: 0; }.capability-chip strong { font-size: 10px; font-weight: 500; }.capability-chip p { margin-top: 7px; font-size: 9px; line-height: 1.7; color: var(--subtle); }
.journey-funnel { height: 260px; }.journey-funnel.is-empty { display: none; }.journey-values { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 0; margin: 24px 0; }.journey-values li { flex-direction: column; gap: 12px; padding: 0 14px; border: 0; border-right: 1px solid var(--line); border-radius: 0; color: var(--muted); font-size: 10px; }.journey-values li:first-child { padding-left: 0; }.journey-values li:last-child { border: 0; }.journey-values strong,.journey-values b { font-size: 23px; font-weight: 500; color: var(--ink); line-height: 1; }.journey-links { gap: 12px; }.journey-links button { display: flex; align-items: center; gap: 14px; border-color: var(--line); border-radius: 8px; background: transparent; font-size: 10px; padding: 8px 11px; }.journey-links svg { width: 13px; }.journey-foot { background: none; border-radius: 0; padding: 0; margin-top: 18px; color: var(--subtle); font-size: 10px; }
.execution-totals div { padding: 12px; background: #ffffff03; border: 1px solid var(--line); border-radius: 8px; }.execution-totals span { font-size: 10px; }.execution-totals strong { font-weight: 500; margin-top: 5px; }.fact-badge { background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 10px; padding: 3px 7px; border-radius: 4px; }.fact-badge.failed { background: #f2908312; color: var(--up); }.fact-item strong { font-weight: 500; }.fact-item p { font-size: 11px; line-height: 1.8; }
.strategy-mini,.strategy-mini.pending { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff03; min-width: 0; }.strategy-mini.pending { border-style: dashed; }.strategy-mini span { font-size: 10px; color: var(--subtle); }.strategy-mini strong { font-size: 12px; font-weight: 500; }.strategy-mini small { font-size: 10px; overflow-wrap: anywhere; }.strategy-diff { padding: 10px 12px; background: #ffffff04; border-radius: 7px; font-size: 11px; }.strategy-diff b { color: var(--accent); font-weight: 500; }
table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }th,td { font-size: 11px; border-color: var(--line); }th { background: #ffffff02; color: var(--muted); font-size: 10px; font-weight: 400; }td small { color: var(--subtle); font-size: 10px; }tbody tr:hover { background: #ffffff02; }.red-text { color: var(--up)!important; }.green-text { color: var(--down)!important; }
.page-heading { margin-bottom: 22px; padding: 8px 0 16px; }.page-heading h2 { font-size: 28px; font-weight: 500; letter-spacing: -1px; }.filter-bar { align-items: center; }.filter-bar label { font-size: 11px; color: var(--muted); }.filter-bar input,.filter-bar select { margin-left: 6px; }.filter-bar button { font-size: 11px; }.filter-btn { background: transparent; border-radius: 8px; }.filter-btn.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.decision-item { background: var(--surface); }.decision-item.signal { border-left: 3px solid var(--accent); }.decision-item.observation { border-left: 3px solid #607360; }.decision-title strong { font-weight: 500; }.decision-title small { font-size: 10px; }.decision-kind { font-size: 10px; padding: 5px 9px; background: #dfc58b10; color: var(--amber); border-radius: 5px; }.decision-item.signal .decision-kind { background: #c0dfa110; color: var(--accent); }.decision-reason { font-size: 12px; line-height: 1.9; }.decision-detail-btn { background: transparent!important; border: 0; color: var(--accent); font-size: 11px; }
.strategy-card { border-color: #425a3d; background: linear-gradient(135deg,#243125,#19221b); }.strategy-card.pending { border-color: var(--line); background: var(--surface); }.strategy-card h2 { font-size: 26px; font-weight: 500; }.strategy-card dl div { background: #ffffff05; border: 1px solid var(--line); border-radius: 8px; }.strategy-card dt { font-size: 10px; }.strategy-card dd { font-size: 17px; font-weight: 500; }.strategy-copy p { line-height: 1.85; }.evaluation-verdict { background: #dfc58b10; color: var(--amber); border-radius: 5px; font-weight: 400; font-size: 11px; }.evaluation-verdict.supported { background: #c0dfa110; color: var(--accent); }.evaluation-verdict.refuted { background: #f2908312; color: var(--up); }
.shadow-head,.shadow-row { grid-template-columns: 180px 1.4fr 100px 90px 1fr; }.shadow-head { font-size: 10px; }.shadow-row { background: #ffffff02; border-color: var(--line); border-radius: 10px; }.shadow-row.baseline { background: #c0dfa105; border-color: #c0dfa130; }.shadow-id strong,.shadow-cell strong,.shadow-return strong { font-size: 11px; }.shadow-id small,.shadow-cell span { font-size: 10px; }.shadow-bar-track { background: var(--line); height: 5px; }.shadow-badge,.shadow-badge.mature,.shadow-badge.candidate { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 5px; font-size: 9px; }.shadow-badge.mature,.shadow-badge.candidate { color: var(--accent); }
.lesson-item { background: var(--surface); border: 1px solid var(--line); }.lesson-item p { font-size: 12px; line-height: 1.85; }.lesson-head { font-size: 11px; }
.health-card { background: var(--surface); min-height: 160px; }.health-card.degraded { background: #2a201c; border-color: #f2908355; }.health-card header span { width: 6px; height: 6px; }.health-card.degraded header span { background: var(--up); }.health-card.degraded p { color: var(--muted); }.health-card h2 { font-size: 17px; font-weight: 500; margin-top: 20px; }.timeline-item time { color: var(--subtle); font-size: 10px; }.timeline-item p { font-size: 11px; line-height: 1.8; }
.empty-state { padding: 30px 18px; font-size: 11px; line-height: 1.8; }.footer { margin: 0 38px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 9px; color: var(--subtle); background: transparent; }
.data-notice,.no-script { padding: 12px 16px; color: var(--amber); background: #dfc58b0a; border: 1px solid #dfc58b30; border-radius: 9px; font-size: 12px; margin: 0 0 20px; }.alert-banner { background: #f2908309; border: 1px solid #f2908340; box-shadow: none; }.alert-banner>svg { color: var(--up); }.alert-banner strong { font-size: 12px; }.alert-banner span { color: var(--muted); font-size: 11px; line-height: 1.8; }
.modal { background: #030705c9; backdrop-filter: blur(6px); }.modal-panel { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 90px #0008; }.modal-close { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; }.modal-panel h2 { font-size: 24px; font-weight: 500; }.reasoning-text { font-size: 13px; line-height: 1.9; }
#tab-returns>.card>h2,#tab-research>.card>h2 { font-size: 16px; font-weight: 500; }#tab-returns>.card>p,#returns-status,#returns-chart-state { color: var(--muted); font-size: 11px; }#returns-assets { font-size: 21px; white-space: normal; line-height: 1.6; }
#tab-returns>.metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.chart-container.is-empty { min-height: 130px; height: 130px; border: 1px dashed var(--line); border-radius: 8px; margin: 16px 0; }
.lessons-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; color: var(--subtle); font-size: 10px; }.lessons-pagination button { display: flex; align-items: center; gap: 8px; font-size: 11px; }.lessons-pagination svg { width: 13px; }
@media(min-width:1600px){.page-wrap{padding-left:48px;padding-right:48px}.metric-card>strong{font-size:36px}.allocation-overview{gap:30px}}
@media(max-width:1200px){.app-shell{padding-left:190px}.topbar{width:190px;padding-left:12px;padding-right:12px}.page-wrap{padding-left:25px;padding-right:25px}.metric-card{padding:18px 16px}.metric-card>strong{font-size:25px}.overview-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}.card,.trader-brief{padding:20px}.capability-chip{padding:0 9px}.shadow-head,.shadow-row{grid-template-columns:145px 1.2fr 80px 80px 1fr}.allocation-overview{gap:14px}.allocation-ring{width:108px;height:108px;flex-basis:108px}.allocation-ring strong{font-size:22px}.journey-values li{padding:0 9px}}
@media(max-width:980px){.app-shell{padding-left:76px}.topbar{width:76px;padding:24px 10px}.brand{padding:0;justify-content:center}.brand>span:last-child,.nav-label,.nav-btn span,.topbar-status,.sidebar-note{display:none}.main-nav{margin-top:40px;gap:13px}.nav-btn{justify-content:center;padding:13px}.nav-btn.active:after{display:none}.metric-card>strong{font-size:26px}.overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}.section-heading>p{max-width:310px}}
@media(max-width:760px){.app-shell{padding-left:0}.topbar{position:sticky;top:0;width:100%;height:auto;inset:auto;flex-direction:row;align-items:center;justify-content:space-between;padding:12px 18px;border-right:0;border-bottom:1px solid var(--line);background:#121814f5;backdrop-filter:blur(12px)}.brand>span:last-child{display:block}.brand strong{font-size:17px}.brand small{display:none}.brand-mark{width:28px;height:30px}.brand-mark svg{width:28px}.main-nav{flex-direction:row;margin:0;gap:3px;overflow:visible}.nav-btn{padding:9px;flex:none}.nav-btn svg{width:17px}.page-wrap{width:100%;padding:0 20px 30px}.workspace-bar{min-height:62px;margin-bottom:24px}.workspace-tools{gap:10px}#workspace-sync{display:none}.read-only-badge{padding-left:10px}.overview-heading{margin-bottom:22px}.overview-heading h1{font-size:28px}.overview-heading>div>p:last-child{font-size:11px}.market-badge{font-size:10px;padding:7px 9px;white-space:nowrap}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.metric-card{padding:19px;min-height:143px}.metric-card>strong{font-size:28px;margin:16px 0 10px}.overview-grid{grid-template-columns:1fr;gap:14px}.performance-card .chart-container{height:225px;min-height:225px}.trader-brief{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.brief-title{grid-column:1/-1;margin-bottom:14px}.brief-copy h2{font-size:18px}.next-action{margin:0;border-top:0;border-left:1px solid var(--line);padding:0 0 0 18px}.next-action strong{margin-bottom:12px}.allocation-overview{margin:22px 0 12px;justify-content:center;gap:40px}.allocation-legend{flex:0 1 220px;gap:16px}.allocation-ring{width:118px;height:118px;flex-basis:118px}.capability-rail{grid-template-columns:repeat(3,1fr);gap:20px 0}.capability-chip:nth-child(4){padding-left:0}.capability-chip:nth-child(3){border:0}.capability-chip strong{font-size:11px}.capability-chip p{font-size:10px}.journey-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 0}.journey-values li:nth-child(4){border:0}.journey-values li:nth-child(5){padding-left:0}.two-column{grid-template-columns:1fr;gap:0}.section-heading,.page-heading{align-items:flex-start;gap:12px}.section-heading.compact{flex-direction:row;align-items:center}.section-heading:not(.compact){flex-direction:column}.section-heading>p{max-width:none}.page-heading{flex-direction:column}.page-heading h2{font-size:26px}.shadow-head{display:none}.shadow-row{grid-template-columns:1fr 1fr}.shadow-id,.shadow-return{grid-column:1/-1}.footer{margin:0 20px;flex-direction:column;gap:6px}.health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar label{display:flex;flex-wrap:wrap;gap:4px}.filter-bar input,.filter-bar select{margin-left:0}.strategy-full-grid{gap:14px}.strategy-handoff{grid-template-columns:1fr auto 1fr}.strategy-handoff>svg{transform:none}.research-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:440px){.topbar{padding:11px 14px}.main-nav{gap:0}.nav-btn{padding:8px}.nav-btn svg{width:16px}.brand strong{font-size:15px}.brand{gap:6px}.brand-mark,.brand-mark svg{width:24px}.page-wrap{padding-left:16px;padding-right:16px}.workspace-location{gap:7px;font-size:10px}.read-only-badge{display:none}.overview-heading{align-items:flex-end;gap:8px}.overview-heading h1{font-size:26px}.overview-heading>div>p:last-child{max-width:195px;line-height:1.9}.market-badge{padding:6px 7px;gap:4px;margin-bottom:3px}.market-badge svg{width:12px}.metric-card{padding:17px 14px}.metric-card>strong{font-size:25px}.cash-track{right:14px;width:28px}.trader-brief{display:flex}.next-action{border-left:0;border-top:1px solid var(--line);padding:13px 0 0}.brief-copy p{margin-bottom:16px}.brief-copy h2{font-size:20px}.card,.trader-brief{padding:20px}.journey-values li{padding:0 8px;font-size:9px}.journey-values strong{font-size:22px}.health-grid{grid-template-columns:1fr}.modal-panel{padding:24px}.strategy-card dl{gap:6px}.strategy-card dl div{padding:10px 8px}.strategy-handoff{gap:8px}.strategy-mini{padding:10px}.research-metric{padding-right:7px}.research-metric strong{font-size:21px}.research-metric span{font-size:9px}.research-filters{gap:12px}.research-filters label{flex:1 1 120px}.research-filters input,.research-filters select{width:100%;font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){#tab-returns>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lessons-pagination{flex-wrap:wrap}}
@media(max-width:360px){.brand>span:last-child{display:none}.overview-heading>div>p:last-child{max-width:160px}.metric-card>strong{font-size:21px}.market-badge{font-size:9px}}
