/* Live data uses the accepted visual direction without freezing the layout. */
.live-search input { width: 230px; max-width: 100%; background: #112035; border: 1px solid #94b7e226; border-radius: 5px; padding: 9px 12px; color: #dce9f8; font: inherit; font-size: 11px; }
.live-search input:focus-visible, input:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.demo-label { color: #95b3c6; }
.demo-label.connected { color: var(--mint); }
.demo-label.warning { color: var(--amber); }
.funds-chart { height: 38px; display: flex; align-items: center; color: #849eb6; font-size: 10px; line-height: 1.6; }
.funds-number { font-size: 34px; }
.funds-number.is-retained { color: #c1ac8e; }
.funds-equity span { white-space: nowrap; }
.option-value-line { display: block; margin-top: 5px; color: #81b8ac; font-size: 9px; white-space: nowrap; }
.contract-margin { color: #b9c8a7; font: 10px var(--number); }
.funds-bottom { margin-top: 0; }
.priority-state { max-width: 100%; }
.priority-copy { overflow: hidden; }
.priority-reason { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.priority-switcher { overflow: hidden; }
.instrument-status { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.instrument-code { max-width: 114px; overflow: hidden; text-overflow: ellipsis; }
.now { transition: left 100ms linear; }
.now .point-label { display: flex; align-items: baseline; gap: 5px; }
.now-caption { font-size: 10px; font-weight: 500; color: #81c5c1; }
.range-caption { position: absolute; top: 0; left: 0; font-size: 9px; color: #627d97; }
.range-low .point-label, .range-high .point-label { top: 10px; color: #627d97; }
.range-low .point-shape, .range-high .point-shape { width: 1px; height: 5px; background: #627d97; }
.quote-reference .now .point-label strong { color: #d4e1f2; }
.reference-quote { position: absolute; top: 5px; right: 0; display: flex; align-items: baseline; gap: 9px; }
.reference-quote small { font-size: 10px; color: #829eb8; }
.reference-quote strong { font: 500 23px var(--number); color: #b9cadb; }
.price-heading { flex-wrap: wrap; gap: 8px; }
.price-controls { flex-wrap: wrap; }
@media (max-width: 620px) { .price-heading .price-controls { width: 100%; justify-content: space-between; gap: 8px; } .price-tabs { gap: 10px; } .reference-quote strong { font-size: 21px; } }
.unplanned-line { display: flex; height: 84px; align-items: center; justify-content: space-between; gap: 18px; }
.unplanned-track { flex: 1; height: 1px; background: linear-gradient(90deg, #7e9bbc22, #7e9bbc55); position: relative; }
.unplanned-track span { position: absolute; top: -18px; left: 0; color: #627d97; font-size: 10px; white-space: nowrap; }
.unplanned-price { text-align: right; min-width: 105px; }
.unplanned-price strong { display: block; font: 600 24px var(--number); color: #d4e1f2; }
.unplanned-price small { display: block; font-size: 9px; color: #6f8aab; margin-top: 5px; }
.price-up { color: var(--mint) !important; }
.price-down { color: #eb94a5 !important; }
.stage-note { overflow: hidden; text-overflow: ellipsis; }
.rail-context { grid-column: 2 / 4; }
.row-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.row-approval { min-height: 22px; padding: 3px 8px; color: #a7ead6; background: #275d58; border: 1px solid #6ed8bf5c; border-radius: 5px; font: 600 9px var(--number); cursor: pointer; white-space: nowrap; }
.row-approval:hover, .row-approval[aria-expanded=true] { color: #06231f; background: #8fe8d1; border-color: #8fe8d1; }
.row-approval:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.row-approval[hidden] { display: none; }
.show-more { display: block; margin: 6px auto 12px; padding: 8px 20px; }
.show-more[hidden] { display: none; }
.decision-body h3 { font-size: 18px; }
.decision-excerpt { color: #91a8bf; line-height: 1.8; font-size: 11px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.period-strip { display: block; color: #748fa9; line-height: 1.6; font-size: 10px; }
.source-row time { font-family: var(--number); }
.updates-track { gap: 20px; }
.update-item { text-align: left; background: none; color: inherit; border: none; min-width: 0; }
.update-item strong { display: block; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.login-dialog { width: min(400px, calc(100% - 32px)); padding: 32px; border: 1px solid #83a8ff40; border-radius: 14px; color: #dce9f8; background: #111f31; box-shadow: 0 20px 100px #0009; }
.login-dialog::backdrop { background: #040c19d9; backdrop-filter: blur(9px); }
.login-kicker { font: 10px var(--number); letter-spacing: 2px; color: var(--mint); }
.login-dialog h2 { font-size: 27px; margin-bottom: 8px; }
.login-dialog p { color: #849eb6; font-size: 12px; line-height: 1.6; }
.login-dialog label { display: grid; gap: 8px; font-size: 11px; color: #a1b9d1; margin-top: 18px; }
.login-dialog input { min-width: 0; border-radius: 6px; border: 1px solid #83a8ff30; background: #091626; padding: 12px; color: white; font: 14px var(--number); }
.login-submit { width: 100%; border: none; border-radius: 6px; background: var(--mint); color: #08221e; padding: 12px; font: inherit; margin: 15px 0; cursor: pointer; }
.login-submit:disabled { opacity: .5; }
#login-error { color: var(--amber); min-height: 18px; }
#login-close { display: block; margin: auto; }
.live-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.live-detail-list > div { border: 1px solid #83a8ff18; padding: 14px; border-radius: 6px; min-width: 0; }
.live-detail-list span { display: block; font-size: 10px; color: #819bb6; margin-bottom: 8px; }
.live-detail-list strong { font: 15px var(--number); overflow-wrap: anywhere; }
.live-detail-note { color: #94acc4; line-height: 1.8; font-size: 12px; }
.live-detail-note time { color: #c5d7ea; }
.live-fact-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid #83a8ff18; font-size: 11px; color: #9db5cd; }
.live-fact-row strong { color: #d2e2f2; }
.detail-footer { overflow-wrap: anywhere; }
.live-chart { width: 100%; height: 190px; display: block; border: 1px solid #83a8ff18; background: #081321; border-radius: 6px; }
.chart-empty { min-height: 120px; display: grid; place-items: center; color: #7893ae; font-size: 12px; }
.market-breadth > div:last-child { white-space: nowrap; }
.sector-row { grid-template-columns: 52px minmax(0, 1fr) 68px; }
.scan-result { display: flex; align-items: center; gap: 16px; padding: 6px 0; }
.scan-result > strong { font: 500 40px var(--number); color: #d8e7f5; }
.scan-result > span { color: #b0c4d8; font-size: 12px; }
.scan-result small { display: block; color: #6f8da9; font-size: 10px; margin-top: 5px; }
.attention-filter:has([hidden]) { display: none; }
.attention-filter { padding: 0 20px; }
#exit-filter { color: var(--amber); border: 1px solid #e8bd7a44; padding: 6px 10px; border-radius: 4px; margin-bottom: 10px; }
#exit-filter[aria-pressed=true] { background: #e8bd7a18; }
.instrument-row.needs-attention { border-color: #e8bd7a65; box-shadow: inset 3px 0 #d9ad70; background: linear-gradient(110deg, #b67c2010, transparent 70%); }
.needs-attention .instrument-status { color: var(--amber); }
.priority-panel[data-tone=warning] { border-top-color: #d9ad70; }
.update-item small { display: block; margin-top: 5px; color: #819bb6; font-size: 9px; }
.execution-verdict { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 0 7px; }
.execution-verdict span { font-size: 12px; color: #a2bbd2; }
.execution-verdict strong { display: block; font: 500 48px var(--number); color: #dce9f8; margin-top: 6px; }
.execution-verdict strong small { font: 11px var(--number); margin-left: 10px; color: #88a2bc; }
.execution-verdict time { text-align: right; font: 11px var(--number); color: #a3bbd3; }
.execution-verdict time small { display: block; margin-top: 7px; font-size: 10px; color: #748fa9; }
.execution-verdict.is-warning span { color: var(--amber); }
.source-disclosure { border-top: 1px solid #83a8ff20; padding: 16px 0; margin-top: 20px; color: #849eb6; font-size: 11px; line-height: 1.8; }
.source-disclosure summary { color: #a4bdd4; cursor: pointer; }
.source-disclosure p { overflow-wrap: anywhere; }
.chart-toolbar { display: flex; align-items: center; gap: 12px; margin: 24px 0 8px; font-size: 11px; color: #91abc4; }
.chart-periods { display: flex; margin-left: auto; gap: 3px; }
.chart-periods button { border: 1px solid transparent; border-radius: 4px; padding: 7px 10px; background: none; color: #7e9ab5; font: inherit; cursor: pointer; }
.chart-periods button[aria-pressed=true] { border-color: #76dac035; background: #76dac00a; color: #79dfc7; }
.chart-periods button:disabled { opacity: .35; cursor: default; }
.chart-periods button:focus-visible, .live-chart:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.live-chart { height: auto; aspect-ratio: 680 / 282; border-radius: 5px; }
.chart-inspect { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; min-height: 30px; font-size: 10px; color: #718da8; }
.chart-inspect time { color: #a7bed5; }
.chart-inspect b { margin-left: 5px; font: 500 10px var(--number); color: #c7d9eb; }
.chart-caption { color: #728da6; font-size: 10px; line-height: 1.7; }
.chart-source { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: #93adc5; font-size: 10px; }
.chart-source #live-chart-contract { color: #5ddabc; font-family: var(--number); }
@media (max-width: 620px) { .chart-toolbar { gap: 6px; } .chart-periods { gap: 0; } .chart-periods button { padding: 7px 8px; } .chart-inspect { gap: 9px; padding: 6px 0; } .live-fact-row { grid-template-columns: 1fr; gap: 6px; } }
@media (min-width: 951px) { .context-column { grid-template-rows: auto auto; align-content: start; position: sticky; top: 12px; } .main-grid { align-items: start; } .source-panel { min-height: 200px; } .decision-panel { min-height: 225px; } }
@media (max-width: 620px) { .page-heading { align-items: stretch; gap: 12px; flex-direction: column; } .live-search input { width: 100%; } .top-actions { gap: 8px; } .top-actions .snapshot { display: none; } .topbar .wordmark small { display: none; } .instrument-code { max-width: 100%; } .unplanned-line { height: 74px; } .unplanned-price strong { font-size: 25px; } .rail-context { grid-column: 1 / -1; } .row-evidence { flex-shrink: 0; } .live-detail-list { gap: 8px; } .funds-number { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .now { transition: none; } }

/* Market scope above; instrument context beside the rails. */
.cockpit-v5 { --bg: #080f19; --panel: #101c2a; background: radial-gradient(ellipse at 30% 0, #254a6426, transparent 52%), var(--bg); }
.cockpit-v5 main { padding: 22px 24px 0; }
.cockpit-v5 .page-heading { margin-bottom: 20px; }
.cockpit-v5 .panel { background: linear-gradient(125deg, #122131, #0e1927); border-color: #9bbade18; border-radius: 12px; box-shadow: none; }
.cockpit-v5 .overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 30%); gap: 16px; }
.cockpit-v5 .overview-grid > .panel { height: auto; min-height: 198px; }
.cockpit-v5 .panel-heading { padding: 18px 22px 0; }
.cockpit-v5 .panel-heading h2 { font-size: 13px; color: #bfcede; letter-spacing: .3px; }
.cockpit-v5 .session-tag { border-color: #a4bcdc26; font-size: 10px; }
.cockpit-v5 .session-tag.has-active { color: #85e7cd; border-color: #69d4b92b; background: #55d8b907; }
.cockpit-v5 .market-panel { position: relative; overflow: hidden; background: radial-gradient(ellipse at 0 50%, #288e8030, transparent 70%), #101e2b; }
.cockpit-v5 .market-panel::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#9fdcc904 1px, transparent 1px), linear-gradient(90deg, #9fdcc904 1px, transparent 1px); background-size: 26px 26px; pointer-events: none; }
.market-scope { color: #859eaf; font: 10px var(--number); }
.market-pulse { display: flex; align-items: center; gap: 32px; margin: 8px 22px 0; }
.pulse-lead { border: 0; background: none; text-align: left; display: flex; align-items: center; gap: 18px; padding: 0; flex: 1; min-width: 160px; }
.pulse-number { font: 500 58px/1.2 var(--number); letter-spacing: -3px; color: #b9cbd8; }
.has-active .pulse-number { color: #a8f7df; text-shadow: 0 0 30px #5de2c41a; }
.pulse-lead > span:last-child { font-size: 13px; color: #c1ddd8; }
.pulse-lead small { display: block; font-size: 10px; color: #7c9da6; margin-top: 6px; }
.pulse-stats { flex: 1.7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pulse-stat { padding: 0 0 0 24px; text-align: left; border: 0; border-left: 1px solid #b8e3da17; background: none; }
.pulse-stat strong { display: block; font: 500 30px var(--number); color: #92aabc; }
.pulse-stat.has-value strong { color: #d7e8f3; }
.pulse-stat span { display: block; font-size: 10px; color: #8aabbb; margin-top: 4px; }
.pulse-stat:hover strong, .pulse-lead:hover .pulse-number { color: #d4ffed; }
.cockpit-v5 .market-breadth { margin: 18px 22px 16px; }
.cockpit-v5 .breadth-bars { display: flex; gap: 3px; height: 8px; }
.breadth-tick { min-width: 0; flex: 1; border: 0; padding: 0; border-radius: 1px; background: #354d5d; position: relative; opacity: .5; }
.breadth-tick.up { background: #74dac3; }
.breadth-tick.down { background: #d590a1; }
.breadth-tick.is-live { opacity: 1; box-shadow: 0 0 7px #72e4c830; }
.breadth-tick::after { content: ''; position: absolute; inset: -7px 0; }
.breadth-tick:hover { opacity: 1; transform: scaleY(1.5); }
.cockpit-v5 #breadth-caption { font-size: 9px; color: #718e9e; margin-top: 10px; }
#breadth-caption b { font: 500 11px var(--number); margin-left: 10px; }
#breadth-caption b:first-child { margin-left: 0; }
.cockpit-v5 .funds-panel { padding-bottom: 14px; }
.cockpit-v5 .funds-top { margin: 8px 22px 0; }
.cockpit-v5 .funds-number { font-size: clamp(26px, 2vw, 36px); color: #d4e0ed; letter-spacing: -.8px; }
.cockpit-v5 .funds-number.is-retained { color: #baa98e; }
.cockpit-v5 .funds-gauge { width: 64px; height: 64px; flex-basis: 64px; }
.cockpit-v5 .funds-gauge strong { font-size: 15px; }
.cockpit-v5 .funds-chart { height: auto; min-height: 20px; margin: 6px 22px 0; font-size: 9px; }
.cockpit-v5 .funds-bottom { margin: 6px 22px 0; padding-top: 7px; }
.cockpit-v5 .funds-bottom strong { font-size: 14px; }
.cockpit-v5 .main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-top: 16px; align-items: start; }
.cockpit-v5 .price-panel { background: #101c2a; }
.cockpit-v5 .price-heading { padding: 19px 20px 16px; gap: 12px; min-height: 60px; }
.cockpit-v5 .price-title { flex-wrap: wrap; gap: 10px; }
.rail-subtitle { color: #668497; font-size: 10px; }
.cockpit-v5 .price-tabs { gap: 16px; }
.cockpit-v5 .price-tabs button { padding: 4px 0; font-size: 11px; }
.cockpit-v5 .price-tabs button[aria-pressed=true] { color: #b2f3df; }
.cockpit-v5 .price-tabs button[data-filter=attention] { color: #d6e7f4; }
.cockpit-v5 .price-tabs button[data-filter=attention][aria-pressed=true] { color: #b2f3df; text-shadow: 0 0 14px #5de2c430; }
.cockpit-v5 .price-tabs b { color: #748ba2; font: 10px var(--number); margin-left: 3px; }
.rail-toolbar { display: flex; align-items: center; margin: 0 20px 10px; gap: 10px; }
.sector-chips { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; }
.sector-chips button { border: 1px solid transparent; border-radius: 4px; background: #7fa5c408; color: #859eb5; padding: 4px 9px; font-size: 10px; }
.sector-chips button[aria-pressed=true] { border-color: #5de2c448; color: #b1f0df; }
.cockpit-v5 .rail-list { padding: 0 12px; gap: 8px; }
.cockpit-v5 .instrument-row { grid-template-columns: 130px minmax(0, 1fr) 108px; grid-template-rows: 109px 22px; padding: 10px 18px 9px; gap: 0 22px; min-height: 150px; background: #0b1623; border-color: transparent; }
.cockpit-v5 .instrument-row.is-selected { border-color: #7fc6d148; background: linear-gradient(100deg, #2f607b17, #0c1926); }
.cockpit-v5 .instrument-row.is-triggered { background: linear-gradient(100deg, #45e5b51b, #0b1927); border-color: #69e9c94d; }
.cockpit-v5 .instrument-row.needs-attention { border-color: #e8bd7a65; background: linear-gradient(100deg, #b67c2015, #0b1927); }
.cockpit-v5 .instrument-name { font-size: 22px; }
.cockpit-v5 .instrument-code { max-width: 100%; font-size: 10px; color: #7e98ae; }
.cockpit-v5 .instrument-meta { font-size: 10px; margin-top: 8px; }
.cockpit-v5 .direction:empty { display: none; }
.cockpit-v5 .is-live .instrument-status { color: #83cfb9; }
.cockpit-v5 .price-line { height: 109px; --y: 71px; }
.cockpit-v5 .now .point-label { bottom: 26px; }
.cockpit-v5 .now .point-label strong { font-size: 30px; color: #dbeaf5; }
.cockpit-v5 .is-live .now .point-shape { background: #a8f8df; box-shadow: 0 0 0 4px #5de2c411, 0 0 15px #5de2c447; }
.cockpit-v5 .is-live .now::before { background: linear-gradient(#9dfadd60, #9dfadd10); }
.cockpit-v5 .is-closed .now .point-label strong, .cockpit-v5 .quote-stale .now .point-label strong { color: #859caf; }
.cockpit-v5 .point-label { font-size: 10px; }
.cockpit-v5 .point-label strong { font-size: 11px; }
.cockpit-v5 .range-caption { top: 5px; font-size: 10px; }
.cockpit-v5 .row-measure { align-self: center; min-width: 0; border-left-color: #88afd010; }
.cockpit-v5 .row-measure > span { color: #7a97ad; font-size: 10px; }
.cockpit-v5 .row-measure > strong { color: inherit; font-size: 23px; line-height: 1.6; }
.cockpit-v5 .row-measure > strong small { font-size: 10px; color: inherit; }
.cockpit-v5 .row-measure > small { font-size: 9px; }
.cockpit-v5 .rail-context { grid-column: 2 / -1; grid-row: 2; }
.cockpit-v5 .row-evidence { margin-left: auto; color: #7995ab; font-size: 10px; }
.cockpit-v5 .stage-note { font-size: 10px; }
.cockpit-v5 .instrument-row.has-stop-rules { grid-template-rows: 109px auto 22px; }
.cockpit-v5 .has-stop-rules .rail-context { grid-row: 3; }
.cockpit-v5 .structure-condition { grid-row: 2; padding: 6px 0 8px; }
.cockpit-v5 .rail-legend { padding: 10px 20px 17px; font-size: 9px; opacity: .8; }
.cockpit-v5 .show-more { margin: 8px auto; padding: 10px 20px; font-size: 10px; }
.cockpit-v5 .context-column { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; }
.cockpit-v5 .priority-panel { padding-bottom: 20px; background: radial-gradient(ellipse at 0 0, #386c9220, transparent 80%), #101d2c; }
.cockpit-v5 .priority-panel[data-tone=warning] { border-color: #e8bd7a4a; }
.focus-status { margin: 16px 22px 0; display: flex; align-items: center; justify-content: space-between; }
.focus-actions { display: flex; align-items: center; gap: 8px; }
.focus-actions button[aria-pressed=true] { color: #b2f3df; border-color: #76dac04a; background: #76dac00d; }
.cockpit-v5 .priority-main { margin: 18px 22px 0; }
.cockpit-v5 .priority-main h3 { font-size: 27px; font-weight: 500; letter-spacing: .5px; }
.cockpit-v5 .priority-main .focus-contract { font: 10px var(--number); color: #7c97ad; margin-top: 7px; }
.cockpit-v5 .symbol-select { max-width: 134px; min-width: 0; font-size: 10px; }
.focus-measure { margin: 20px 22px 0; }
.focus-measure > span { display: block; color: #a8becc; font-size: 11px; }
.focus-measure > strong { display: block; font: 500 38px/1.35 var(--number); color: #d1f1e8; letter-spacing: -1px; }
.focus-measure > strong small { font-size: 18px; margin-left: 5px; }
.focus-measure > small { display: block; font-size: 10px; color: #829eb2; margin-top: 4px; }
.focus-measure small > span { color: #7b92a9; margin-left: 5px; }
.focus-measure.is-warning > strong { color: var(--amber); }
.focus-conclusion { margin: 20px 22px 0; padding-top: 14px; border-top: 1px solid #91b4d31c; }
.focus-conclusion > span { font: 9px var(--number); color: #7291a5; }
.focus-conclusion p { margin: 6px 0 0; color: #b3c6d8; font-size: 12px; line-height: 1.7; }
.cockpit-v5 .phase-track { margin: 16px 22px 0; }
.cockpit-v5 #open-evidence { margin: 18px 22px 0; font-size: 11px; color: #b4d9f0; }
.cockpit-v5 .source-panel { background: #0d1825; }
.cockpit-v5 .source-panel .panel-heading { padding: 16px 18px 0; }
.cockpit-v5 .source-panel h2 { font-size: 11px; }
.cockpit-v5 .source-status { font-size: 9px; }
.cockpit-v5 .source-list { padding: 12px 18px 0; }
.cockpit-v5 .source-row { display: grid; grid-template-columns: 1fr auto; min-height: 42px; gap: 2px 12px; font-size: 10px; }
.cockpit-v5 .source-row::before { display: none; }
.cockpit-v5 .source-row > span { grid-row: 1 / 3; }
.cockpit-v5 .source-row time { font-size: 10px; color: #a5b8c8; text-align: right; }
.cockpit-v5 .source-row strong { font-size: 9px; font-weight: 400; text-align: right; color: #6f8a9b; }
.cockpit-v5 #source-foot { font-size: 9px; margin: 10px 18px 13px; width: calc(100% - 36px); color: #839fae; }
.cockpit-v5 .page-footer { padding: 16px 0; }
@media (min-width: 1800px) {
  .cockpit-v5 main { padding: 24px 28px 0; }
  .cockpit-v5 .main-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .cockpit-v5 .instrument-row { grid-template-columns: 152px minmax(0, 1fr) 120px; }
  .cockpit-v5 .overview-grid > .panel { min-height: 208px; }
  .market-pulse { margin-top: 12px; }
  .pulse-number { font-size: 66px; }
  .pulse-stat strong { font-size: 34px; }
}
@media (max-width: 1150px) and (min-width: 621px) {
  .cockpit-v5 main { padding: 16px 16px 0; }
  .cockpit-v5 .overview-grid { grid-template-columns: minmax(0, 1fr) 310px; }
  .market-pulse { gap: 15px; }
  .pulse-lead { min-width: 120px; gap: 12px; }
  .pulse-number { font-size: 46px; }
  .pulse-stats { gap: 10px; }
  .pulse-stat { padding-left: 12px; }
  .pulse-stat strong { font-size: 26px; }
  .cockpit-v5 .main-grid { grid-template-columns: minmax(0, 1fr); }
  .cockpit-v5 .context-column { grid-template-columns: 1fr 1fr; }
  .cockpit-v5 .priority-panel { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 16px; }
  .cockpit-v5 .priority-panel > .panel-heading, .focus-status, #priority-body { grid-column: 1 / -1; }
  .cockpit-v5 .priority-main { margin-top: 12px; }
  .cockpit-v5 .focus-measure { margin-top: 12px; }
  .cockpit-v5 .focus-conclusion { margin-top: 12px; }
}
@media (max-width: 620px) {
  .cockpit-v5 main { display: flex; gap: 12px; padding: 16px 12px 0; }
  .cockpit-v5 .page-heading { gap: 12px; margin: 0 0 3px; }
  .cockpit-v5 h1 { font-size: 20px; }
  .cockpit-v5 .page-title { gap: 9px; flex-wrap: wrap; }
  .cockpit-v5 .session-tag { font-size: 9px; }
  .cockpit-v5 .live-search { width: 100%; }
  .cockpit-v5 .live-search input { width: 100%; padding: 9px 11px; background: #0e1b2a; }
  .cockpit-v5 .overview-grid, .cockpit-v5 .main-grid, .cockpit-v5 .context-column { display: contents; }
  .cockpit-v5 .market-panel { order: 1; }
  .cockpit-v5 .price-panel { order: 2; }
  .cockpit-v5 .priority-panel { order: 3; }
  .cockpit-v5 .overview-grid > .funds-panel { order: 4; padding-bottom: 15px; }
  .cockpit-v5 .source-panel { order: 5; }
  .cockpit-v5 .updates-panel { order: 6; }
  .cockpit-v5 .page-footer { order: 7; }
  .cockpit-v5 .overview-grid > .panel { min-height: 0; height: auto; }
  .cockpit-v5 .panel-heading { padding: 15px 16px 0; }
  .cockpit-v5 .panel-heading h2 { font-size: 12px; }
  .market-scope { font-size: 9px; }
  .market-pulse { margin: 8px 16px 0; flex-wrap: wrap; gap: 12px; }
  .pulse-lead { min-width: 100%; gap: 14px; }
  .pulse-number { font-size: 44px; }
  .pulse-lead > span:last-child { display: flex; align-items: center; gap: 12px; font-size: 12px; }
  .pulse-lead small { margin: 0; font-size: 9px; }
  .pulse-stats { min-width: 100%; gap: 12px; }
  .pulse-stat { display: flex; align-items: center; gap: 9px; padding: 0; border: 0; }
  .pulse-stat strong { font-size: 23px; }
  .pulse-stat span { font-size: 9px; margin: 0; }
  .pulse-stat:last-child span { max-width: 54px; }
  .cockpit-v5 .market-breadth { margin: 16px 16px 14px; }
  .cockpit-v5 .breadth-bars { gap: 2px; height: 6px; }
  .cockpit-v5 #breadth-caption { font-size: 8px; gap: 8px; }
  #breadth-caption b { font-size: 9px; margin-left: 6px; }
  .cockpit-v5 .price-heading { padding: 15px 12px 9px; gap: 9px; }
  .rail-subtitle { font-size: 9px; }
  .cockpit-v5 .price-controls { gap: 7px; }
  .cockpit-v5 .price-tabs { gap: 12px; }
  .cockpit-v5 .price-tabs button { font-size: 10px; }
  .cockpit-v5 .price-tabs b { font-size: 9px; margin-left: 1px; }
  .cockpit-v5 #refresh-now { font-size: 9px; }
  .rail-toolbar { margin: 0 12px 8px; }
  .sector-chips { gap: 4px; }
  .sector-chips button { font-size: 9px; padding: 4px 7px; }
  .cockpit-v5 .rail-list { padding: 0 6px; gap: 6px; }
  .cockpit-v5 .instrument-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 108px 22px; min-height: 188px; padding: 12px 14px 8px; gap: 0; }
  .cockpit-v5 .instrument-identity { grid-row: 1; grid-column: 1; }
  .cockpit-v5 .instrument-name { font-size: 18px; }
  .cockpit-v5 .instrument-meta { font-size: 9px; margin-top: 3px; }
  .cockpit-v5 .instrument-code { font-size: 9px; }
  .cockpit-v5 .row-measure { grid-column: 2; grid-row: 1; display: block; }
  .cockpit-v5 .row-measure > span { font-size: 9px; }
  .cockpit-v5 .row-measure > strong { font-size: 19px; line-height: 1.4; }
  .cockpit-v5 .price-line { grid-column: 1 / -1; grid-row: 2; height: 108px; --y: 74px; margin: 0 8px; }
  .cockpit-v5 .now .point-label strong { font-size: 25px; }
  .cockpit-v5 .point-label { font-size: 8px; }
  .cockpit-v5 .point-label strong { font-size: 9px; }
  .cockpit-v5 .range-caption { font-size: 9px; top: 7px; }
  .cockpit-v5 .rail-context { grid-column: 1 / -1; grid-row: 3; }
  .cockpit-v5 .row-evidence, .cockpit-v5 .stage-note { font-size: 9px; }
  .cockpit-v5 .instrument-row.has-stop-rules { grid-template-rows: auto 108px auto 22px; }
  .cockpit-v5 .has-stop-rules .rail-context { grid-row: 4; }
  .cockpit-v5 .structure-condition { grid-row: 3; grid-column: 1 / -1; gap: 6px; font-size: 9px; }
  .cockpit-v5 .rail-legend { font-size: 8px; gap: 10px; padding: 10px 15px; }
  .cockpit-v5 .funds-top, .cockpit-v5 .funds-bottom { margin-left: 16px; margin-right: 16px; }
  .cockpit-v5 .funds-number { font-size: 32px; }
  .cockpit-v5 .funds-chart { margin-left: 16px; margin-right: 16px; }
  .cockpit-v5 .source-list { padding: 12px 16px 0; }
}
@media (max-width: 370px) {
  .cockpit-v5 main { padding-left: 8px; padding-right: 8px; }
  .cockpit-v5 .price-tabs { gap: 8px; }
  .cockpit-v5 .price-tabs b { margin: 0; }
  .cockpit-v5 .instrument-row { padding-left: 10px; padding-right: 10px; }
  .cockpit-v5 .point-label strong { font-size: 8px; margin-left: 2px; }
  .pulse-stat { gap: 6px; }
  .pulse-stat span { font-size: 8px; }
  #breadth-caption > span:last-child { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { .breadth-tick:hover { transform: none; } }
.cockpit-v5 .focus-status { margin-top: 12px; }
.cockpit-v5 .priority-main { margin-top: 14px; }
.cockpit-v5 .focus-measure { margin-top: 16px; }
.cockpit-v5 .focus-measure > strong { font-size: 34px; line-height: 1.3; }
.cockpit-v5 .focus-conclusion { margin-top: 14px; padding-top: 10px; }
.cockpit-v5 .phase-track { margin-top: 12px; }
.cockpit-v5 #open-evidence { margin-top: 14px; }
.rail-band { position: absolute; top: calc(var(--y) - 2px); height: 5px; border-radius: 1px; }
.risk-band { background: linear-gradient(90deg, #d483923c, #d4839210); }
.target-band { background: #83a8ff19; border-top: 1px dashed #93b9ee50; top: var(--y); height: 3px; }
.day-band { background: #7894aa18; border-top: 1px dotted #7894aa65; top: calc(var(--y) + 4px); height: 1px; }
.range-fill { position: absolute; top: var(--y); height: 2px; background: linear-gradient(90deg, #5e9f9740, #98dfc875); transition: width 100ms linear; }
.is-live .range-fill { background: linear-gradient(90deg, #58d6b821, #99efd8b3); }
.range-fill.move-up, .is-live .range-fill.move-up { background: linear-gradient(90deg, #58d6b850, #9af0d7d9); box-shadow: 0 0 7px #5de2c42b; }
.range-fill.move-down, .is-live .range-fill.move-down { background: linear-gradient(90deg, #d17c8c55, #f0a8adcf); box-shadow: 0 0 7px #dc87952b; }
.range-fill.move-flat { background: #9aaebe91; }
@media (prefers-reduced-motion: reduce) { .range-fill { transition: none; } }
.cockpit-v5 .source-row.is-unknown .source-dot { background: #546577; }

/* Compact market state, one quote per rail, and evidence on demand. */
.cockpit-v6 .overview-grid { display: block; }
.cockpit-v6 .overview-grid > .market-panel { display: grid; grid-template-columns: 175px minmax(320px, 1fr) minmax(260px, .8fr); align-items: center; gap: 28px; min-height: 112px; padding: 18px 22px; }
.cockpit-v6 .market-panel > .panel-heading { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 9px; padding: 0; min-height: 0; }
.cockpit-v6 .market-panel > .market-pulse, .cockpit-v6 .market-idle { grid-column: 2; grid-row: 1; margin: 0; }
.cockpit-v6 .market-panel > .market-breadth { grid-column: 3; grid-row: 1; margin: 0; }
.cockpit-v6 .market-pulse { gap: 24px; }
.cockpit-v6 .pulse-lead { min-width: 135px; flex: .8; gap: 12px; }
.cockpit-v6 .pulse-number { font-size: 42px; letter-spacing: -2px; }
.cockpit-v6 .pulse-lead > span:last-child { font-size: 11px; }
.cockpit-v6 .pulse-lead small { font-size: 9px; }
.cockpit-v6 .pulse-stats { gap: 14px; }
.cockpit-v6 .pulse-stat { padding-left: 18px; }
.cockpit-v6 .pulse-stat strong { font-size: 25px; }
.cockpit-v6 .pulse-stat span { font-size: 9px; }
.cockpit-v6 .market-panel:not([data-mode=active]) { min-height: 90px; background: linear-gradient(115deg, #132230, #0e1926); }
.cockpit-v6 .market-panel:not([data-mode=active]) .market-pulse { display: none; }
.cockpit-v6 .market-panel[data-mode=waiting] { border-color: #e8bd7a45; }
.cockpit-v6 .market-panel[data-mode=waiting] .market-idle strong { color: #e8bd7a; }
.market-idle strong { display: block; font-size: 21px; font-weight: 500; color: #c2d3e0; letter-spacing: .5px; }
.market-idle > span { display: block; margin-top: 7px; color: #7691a5; font: 10px var(--number); }
.cockpit-v6 .market-panel:not([data-mode=active]) .breadth-bars { height: 5px; }
.cockpit-v6 .market-scope { font-size: 9px; white-space: nowrap; }
.cockpit-v6 #breadth-caption { font-size: 9px; }
.cockpit-v6 #breadth-caption > span:last-child { display: none; }
.cockpit-v6 .main-grid { margin-top: 18px; grid-template-columns: minmax(0, 1fr) 320px; }
.cockpit-v6 .context-column { display: flex; flex-direction: column; gap: 14px; }
.cockpit-v6 .funds-panel { padding-bottom: 16px; }
.account-actions { display: flex; align-items: center; gap: 9px; }
.account-open { border: 1px solid #91b8d529; background: none; border-radius: 50%; width: 25px; height: 25px; display: grid; place-items: center; color: #9cb9d0; }
.account-open svg { width: 12px; height: 12px; }
.account-open:hover { color: #c8f3e6; background: #91b8d50a; }
.cockpit-v6 .funds-panel:not(.has-exposure) .funds-gauge, .cockpit-v6 .funds-panel:not(.has-exposure) .funds-equity, .cockpit-v6 .funds-panel:not(.has-exposure) .funds-bottom { display: none; }
.cockpit-v6 .funds-number { font-size: 31px; }
.cockpit-v6 .funds-top { margin-top: 14px; }
.cockpit-v6 .funds-chart { margin-top: 8px; }
.cockpit-v6 .funds-panel.has-exposure .funds-number { font-size: 27px; }
.cockpit-v6 .funds-panel.has-exposure .funds-top { gap: 8px; }
.cockpit-v6 .funds-panel.has-exposure .funds-gauge { width: 55px; height: 55px; flex-basis: 55px; }
.cockpit-v6 .priority-panel { display: block; padding-bottom: 0; }
.cockpit-v6 .priority-main h3 { font-size: 24px; }
.cockpit-v6 .priority-main { margin-top: 16px; }
.cockpit-v6 .focus-conclusion { margin-top: 16px; border: 0; padding: 0; }
.focus-conclusion h4 { margin: 0; font-size: 16px; font-weight: 500; color: #cfdfeb; line-height: 1.5; }
.cockpit-v6 .focus-conclusion p { margin: 8px 0 0; font-size: 12px; line-height: 1.8; color: #a6bacb; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.focus-provenance { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 11px; color: #a6bacb; font-size: 11px; }
.focus-provenance time { font-family: var(--number); }
.cockpit-v6 .focus-measure { padding-top: 14px; border-top: 1px solid #91b4d31c; }
.cockpit-v6 .focus-measure > strong { font-size: 31px; }
.cockpit-v6 #open-evidence { margin-top: 20px; margin-bottom: 14px; min-height: 30px; }
.focus-summary { list-style: none; }
.focus-summary::-webkit-details-marker, .source-panel > summary::-webkit-details-marker, .rail-toolbar > summary::-webkit-details-marker { display: none; }
.focus-summary:focus-visible, .source-panel > summary:focus-visible, .rail-toolbar > summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.cockpit-v6 .focus-summary { display: none; }
.cockpit-v6 .source-panel { background: none; border: 0; border-top: 1px solid #91b4d31c; border-radius: 0; margin: 0 20px; padding: 0; min-height: 0; }
.cockpit-v6 .source-panel > summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; font-size: 10px; list-style: none; color: #91abbe; cursor: pointer; }
.cockpit-v6 .source-panel > summary .source-status { margin-left: auto; }
.cockpit-v6 .source-panel > summary::after { content: '+'; color: #9bb7ca; font: 16px var(--number); }
.cockpit-v6 .source-panel[open] > summary::after { content: '−'; }
.cockpit-v6 .source-list { padding: 0; }
.cockpit-v6 #source-foot { margin: 7px 0 14px; width: 100%; }
.cockpit-v6 .rail-toolbar { display: block; margin: 0 20px 10px; }
.cockpit-v6 .rail-toolbar > summary { display: none; }
.sector-options { display: flex; align-items: center; gap: 10px; }
.cockpit-v6 .instrument-row:not(.has-stop-rules) { grid-template-rows: 97px 22px; min-height: 132px; padding-top: 7px; padding-bottom: 7px; }
.cockpit-v6 .instrument-row:not(.has-stop-rules) .price-line { height: 97px; --y: 62px; }
.cockpit-v6[data-market-mode=closed] .instrument-row.is-closed:not(.has-stop-rules):not(.is-filled) .instrument-meta { display: none; }
.cockpit-v6 .instrument-row.is-triggered .instrument-name { color: #b8f6dd; }
@media (min-width: 1800px) {
  .cockpit-v6 .main-grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .cockpit-v6 .overview-grid > .market-panel { grid-template-columns: 190px minmax(380px, 1fr) minmax(320px, 1fr); gap: 35px; }
  .cockpit-v6 .instrument-row:not(.has-stop-rules) { grid-template-rows: 110px 22px; min-height: 150px; }
  .cockpit-v6 .instrument-row:not(.has-stop-rules) .price-line { height: 110px; --y: 70px; }
}
@media (max-width: 1150px) and (min-width: 621px) {
  .cockpit-v6 .overview-grid > .market-panel { grid-template-columns: 150px 1fr; gap: 16px; }
  .cockpit-v6 .market-panel > .market-breadth { grid-column: 1 / -1; grid-row: 2; }
  .cockpit-v6 .market-panel:not([data-mode=active]) .market-breadth { display: none; }
  .cockpit-v6 .main-grid { grid-template-columns: minmax(0, 1fr); }
  .cockpit-v6 .context-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 620px) {
  .cockpit-v6 main { gap: 10px; }
  .cockpit-v6 .overview-grid, .cockpit-v6 .main-grid, .cockpit-v6 .context-column { display: contents; }
  .cockpit-v6 .overview-grid > .market-panel { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 15px; min-height: 0; }
  .cockpit-v6 .market-panel > .panel-heading { grid-column: 1; grid-row: 1; flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
  .cockpit-v6 .market-panel > .market-pulse, .cockpit-v6 .market-panel > .market-idle { grid-column: 1; grid-row: 2; }
  .cockpit-v6 .market-panel > .market-breadth { grid-column: 1; grid-row: 3; }
  .cockpit-v6 .market-panel:not([data-mode=active]) { min-height: 0; gap: 8px; }
  .cockpit-v6 .market-panel:not([data-mode=active]) .market-breadth, .cockpit-v6 .market-panel:not([data-mode=active]) #market-idle-note { display: none; }
  .cockpit-v6 .market-panel .panel-heading h2 { font-size: 10px; }
  .cockpit-v6 .market-scope { font-size: 8px; }
  .market-idle strong { font-size: 17px; letter-spacing: 0; }
  .cockpit-v6 .market-pulse { flex-wrap: nowrap; gap: 14px; }
  .cockpit-v6 .pulse-lead { min-width: 90px; flex: 0 0 90px; gap: 9px; }
  .cockpit-v6 .pulse-number { font-size: 34px; }
  .cockpit-v6 .pulse-lead > span:last-child { display: block; font-size: 10px; }
  .cockpit-v6 #market-total { display: none; }
  .cockpit-v6 .pulse-stats { min-width: 0; gap: 10px; }
  .cockpit-v6 .pulse-stat { padding: 0; display: block; }
  .cockpit-v6 .pulse-stat strong { font-size: 22px; }
  .cockpit-v6 .pulse-stat span { font-size: 8px; margin-top: 3px; }
  .cockpit-v6 .market-panel .breadth-bars { height: 4px; }
  .cockpit-v6 #breadth-caption { display: none; }
  .cockpit-v6 .funds-panel { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 11px 15px; }
  .cockpit-v6 .funds-panel > .panel-heading { grid-column: 1; grid-row: 1; display: block; padding: 0; min-height: 0; }
  .cockpit-v6 .funds-panel .panel-heading h2 { font-size: 10px; }
  .cockpit-v6 .account-actions { margin-top: 4px; gap: 8px; }
  .cockpit-v6 .account-open { border: 0; border-radius: 0; width: 22px; height: 22px; }
  .cockpit-v6 .funds-top { grid-column: 2; grid-row: 1; margin: 0; align-self: center; }
  .cockpit-v6 .funds-number, .cockpit-v6 .funds-panel.has-exposure .funds-number { font-size: 25px; margin: 0; }
  .cockpit-v6 .funds-caption { display: none; }
  .cockpit-v6 .funds-chart { grid-column: 1 / -1; grid-row: 2; margin: 0; font-size: 8px; min-height: 0; }
  .cockpit-v6 .funds-bottom { display: none; }
  .cockpit-v6 .funds-panel.has-exposure .funds-gauge { width: 43px; height: 43px; flex-basis: 43px; }
  .cockpit-v6 .funds-panel.has-exposure .funds-equity { font-size: 8px; }
  .cockpit-v6 .funds-gauge strong { font-size: 12px; }
  .cockpit-v6 .funds-gauge span { font-size: 7px; }
  .cockpit-v6 .price-panel { order: 3; }
  .cockpit-v6 .price-heading { padding-top: 12px; }
  .cockpit-v6 .rail-toolbar { margin: 0 12px 7px; }
  .cockpit-v6 .rail-toolbar > summary { display: flex; align-items: center; gap: 10px; list-style: none; font-size: 9px; color: #8fa8bf; padding: 4px 0; cursor: pointer; }
  .cockpit-v6 .rail-toolbar > summary span { color: #65c9b0; }
  .cockpit-v6 .rail-toolbar > summary::after { content: '+'; margin-left: auto; font: 14px var(--number); }
  .cockpit-v6 .rail-toolbar[open] > summary::after { content: '−'; }
  .cockpit-v6 .sector-options { padding: 6px 0; }
  .cockpit-v6 .instrument-row:not(.has-stop-rules) { grid-template-rows: auto 85px 19px; min-height: 145px; padding: 10px 12px 5px; }
  .cockpit-v6 .instrument-row:not(.has-stop-rules) .price-line { height: 85px; --y: 56px; }
  .cockpit-v6 .instrument-row:not(.has-stop-rules) .range-caption { top: 3px; }
  .cockpit-v6 .instrument-row:not(.has-stop-rules) .now .point-label { bottom: 21px; }
  .cockpit-v6 .instrument-row:not(.has-stop-rules) .now .point-label strong { font-size: 24px; }
  .cockpit-v6 .focus-details { order: 4; border: 1px solid #9bbade18; border-radius: 10px; background: #101e2c; min-width: 0; }
  .cockpit-v6 .focus-summary { display: grid; grid-template-columns: auto 1fr 12px; gap: 4px 12px; align-items: center; padding: 13px 15px; color: #8fa9bc; font-size: 10px; cursor: pointer; }
  .focus-summary strong { font-weight: 500; font-size: 13px; color: #c6dce9; }
  #mobile-focus-note { grid-column: 2; grid-row: 2; color: #a3c8c9; font-size: 11px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .focus-summary > svg { width: 12px; height: 12px; grid-column: 3; grid-row: 1 / 3; }
  .focus-details[open] > summary > svg { transform: rotate(90deg); }
  .cockpit-v6 .priority-panel { border: 0; border-top: 1px solid #9bbade18; border-radius: 0 0 10px 10px; padding-bottom: 0; }
  .cockpit-v6 .priority-panel > .panel-heading { padding-top: 12px; }
  .cockpit-v6 .priority-main h3 { font-size: 21px; }
  .cockpit-v6 .priority-panel .priority-main, .cockpit-v6 .priority-panel .focus-conclusion { margin-top: 12px; }
  .cockpit-v6 .source-panel { margin-top: 0; }
  .cockpit-v6 .updates-panel { order: 5; }
  .cockpit-v6 .page-footer { order: 6; }
}

/* Keep labels readable; selection and confirmed execution have different emphasis. */
.cockpit-v6 .instrument-code, .cockpit-v6 .focus-contract { color: #a0b6c9; font-size: 11px; }
.cockpit-v6 .instrument-meta { font-size: 11px; gap: 7px; }
.cockpit-v6 .instrument-status { color: #abc1d1; }
.cockpit-v6 .contract-margin { color: #c0d3ad; font-size: 11px; }
.cockpit-v6 .instrument-row[data-attention=holding] .instrument-status,
.cockpit-v6 .instrument-row[data-attention=triggered] .instrument-status,
.cockpit-v6 .instrument-row[data-attention=exit] .instrument-status { display: inline-block; padding: 3px 7px; border-radius: 4px; font-weight: 600; }
.cockpit-v6 .instrument-row[data-attention=holding] .instrument-status { background: #21483d; color: #c1f8de; }
.cockpit-v6 .instrument-row[data-attention=triggered] .instrument-status { background: #253c58; color: #c6e1ff; }
.cockpit-v6 .instrument-row[data-attention=exit] .instrument-status { background: #543d23; color: #ffdfae; }
.cockpit-v6 .instrument-row.is-selected { border-color: #9bbadb5c; background: linear-gradient(100deg, #293c5129, #0c1926); }
.cockpit-v6 .instrument-row[data-attention=holding] { background: linear-gradient(100deg, #45e5b518, #0b1927); border-color: #69e9c957; }
.cockpit-v6 .instrument-row[data-attention=triggered] { background: linear-gradient(100deg, #629ee51c, #0b1927); border-color: #91bdfa67; }
.cockpit-v6 .instrument-row[data-attention=exit] { background: linear-gradient(100deg, #c9974125, #0b1927); border-color: #edc0829e; }
.cockpit-v6 .point-label, .cockpit-v6 .point-label strong { font-size: 12px; }
.cockpit-v6 .range-caption, .cockpit-v6 .range-low .point-label, .cockpit-v6 .range-high .point-label { color: #a0b6c9; font-size: 11px; }
.cockpit-v6 .now-caption { color: #b0d7d4; font-size: 11px; }
.cockpit-v6 .row-evidence, .cockpit-v6 .stage-note { color: #a0b6c9; font-size: 11px; }
.cockpit-v6 .row-evidence { white-space: nowrap; }
.cockpit-v6 .rail-subtitle, .cockpit-v6 .row-measure > span { color: #a0b6c9; font-size: 11px; }
.cockpit-v6 .price-tabs button, .cockpit-v6 #refresh-now { font-size: 12px; color: #a7bed1; }
.cockpit-v6 .price-tabs b { color: #a0b6c9; font-size: 11px; }
.cockpit-v6 .sector-chips button { color: #a7bed1; font-size: 11px; }
.cockpit-v6 .market-scope, .cockpit-v6 #market-idle-note, .cockpit-v6 #breadth-caption { color: #a0b6c9; font-size: 11px; }
.cockpit-v6 .source-panel > summary, .cockpit-v6 .source-status, .cockpit-v6 .source-row, .cockpit-v6 .source-row time, .cockpit-v6 .source-row strong { font-size: 11px; }
.cockpit-v6 .source-row strong, .cockpit-v6 #source-foot, .cockpit-v6 .funds-chart { color: #a0b6c9; font-size: 11px; }
.cockpit-v6 .structure-condition { font-size: 12px; }
.cockpit-v6 .structure-status { color: #a0b6c9; font-size: 11px; }
.cockpit-v6 .rail-legend { color: #a0b6c9; font-size: 11px; opacity: 1; }
.cockpit-v6 .show-more { color: #afc4d5; font-size: 12px; }
.cockpit-v6 .phase-track { color: #a0b6c9; font-size: 11px; }

/* Visual hierarchy pass: the rail carries the decision; market range and
   contract facts stay quiet and readable around it. */
.cockpit-v6 .instrument-identity { min-width: 0; align-self: center; padding: 2px 0; }
.cockpit-v6 .instrument-meta { margin-top: 8px; gap: 8px; min-height: 17px; }
.cockpit-v6 .instrument-facts { display: flex; align-items: center; min-height: 17px; margin-top: 7px; }
.cockpit-v6 .contract-margin { display: inline-flex; align-items: baseline; gap: 6px; padding-top: 4px; border-top: 1px solid #86aa9c22; color: #9db9a8; font: 10px var(--number); white-space: nowrap; }
.cockpit-v6 .contract-margin small { color: #7e9b9c; font: 9px var(--number); letter-spacing: .02em; }
.cockpit-v6 .contract-margin strong { color: #c8dec3; font: 500 11px var(--number); }
.cockpit-v6 .day-range-caption { position: absolute; z-index: 0; top: -2px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #6e879b; font-size: 9px; letter-spacing: .02em; pointer-events: none; }
.cockpit-v6 .day-range-caption span { white-space: nowrap; }
.cockpit-v6 .day-range-caption > span:first-child { color: #587188; text-transform: uppercase; letter-spacing: .08em; }
.cockpit-v6 .day-range-caption b { margin-left: 3px; color: #91a9b6; font: 10px var(--number); font-weight: 400; }
.cockpit-v6 .day-range-low b { color: #88a7b0; }
.cockpit-v6 .day-range-high b { color: #a8bac7; }
.cockpit-v6 .range-low, .cockpit-v6 .range-high { z-index: 0; opacity: .85; }
.cockpit-v6 .range-low .point-shape, .cockpit-v6 .range-high .point-shape { width: 1px; background: #728da0; }
.cockpit-v6 .range-low .point-shape { height: 12px; margin-top: -1px; background: linear-gradient(#728da0 0 30%, transparent 30% 50%, #728da0 50% 58%, transparent 58%); }
.cockpit-v6 .range-high .point-shape { height: 12px; margin-top: -13px; background: linear-gradient(transparent 0 42%, #728da0 42% 50%, transparent 50% 70%, #728da0 70%); }
.cockpit-v6 .point.label-lane-1:not(.now) .point-label { top: 30px; }
.cockpit-v6 .point.label-lane-2:not(.now) .point-label { top: 47px; }
.cockpit-v6 .point.label-lane-3:not(.now) .point-label { top: 64px; }
.cockpit-v6 .point.label-lane-1.now .point-label { bottom: 43px; }
.cockpit-v6 .point.label-lane-2.now .point-label { bottom: 58px; }
.cockpit-v6 .point.label-lane-3.now .point-label { bottom: 73px; }
.cockpit-v6 .option-value-line { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: baseline; gap: 7px; width: fit-content; max-width: 100%; margin-top: 9px; padding-top: 7px; border-top: 1px solid #83a8ff18; color: #86a8af; font-size: 10px; white-space: nowrap; }
.cockpit-v6 .option-value-line[hidden] { display: none; }
.cockpit-v6 .option-value-line > span { color: #718da2; }
.cockpit-v6 .option-value-line > strong { color: #b8dcca; font: 500 12px var(--number); }
.cockpit-v6 .option-value-line > em { overflow: hidden; color: #718e9c; font-size: 9px; font-style: normal; text-overflow: ellipsis; }
@media (max-width: 620px) {
  .cockpit-v6 .instrument-facts { margin-top: 5px; }
  .cockpit-v6 .contract-margin { padding-top: 3px; }
  .cockpit-v6 .day-range-caption { font-size: 8px; }
  .cockpit-v6 .day-range-caption b { font-size: 9px; }
  .cockpit-v6 .point.label-lane-1:not(.now) .point-label { top: 27px; }
  .cockpit-v6 .point.label-lane-2:not(.now) .point-label { top: 43px; }
  .cockpit-v6 .point.label-lane-3:not(.now) .point-label { top: 59px; }
  .cockpit-v6 .option-value-line { gap: 5px; margin-top: 7px; padding-top: 5px; font-size: 9px; }
}

/* The contract name is a nameplate, not another rail label. */
.cockpit-v6 .instrument-name { display: block; width: 100%; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 22px; line-height: 1.12; letter-spacing: .025em; font-weight: 600; }
.cockpit-v6 .instrument-code { margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #8ea9be; font-size: 10px; letter-spacing: .045em; }
.cockpit-v6 .instrument-meta { margin-top: 9px; align-items: baseline; }
.cockpit-v6 .direction { padding: 2px 6px; border: 1px solid #9eb9c31e; border-radius: 3px; background: #8eb9c40a; }
.cockpit-v6 .direction.long { color: #e0b1b9; border-color: #d995a31f; background: #d995a30a; }
.cockpit-v6 .direction.short { color: #9ed2c1; border-color: #80c9b01f; background: #80c9b00a; }
@media (min-width: 1200px) {
  .cockpit-v6 .instrument-row:not(.is-option) { grid-template-columns: 136px minmax(0, 1fr) minmax(82px, max-content); column-gap: 20px; }
}
@media (min-width: 621px) and (max-width: 1199px) {
  .cockpit-v6 .instrument-row:not(.is-option) { grid-template-columns: 108px minmax(0, 1fr) minmax(78px, max-content); column-gap: 15px; }
  .cockpit-v6 .instrument-name { font-size: 20px; }
}
@media (max-width: 620px) {
  .cockpit-v6 .instrument-name { font-size: 22px; letter-spacing: .02em; }
  .cockpit-v6 .instrument-code { margin-top: 5px; }
}

/* Option identity stays compact and separate from the premium price rail. */
.option-meta, .option-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 7px; color: #9db9c9; font-size: 10px; }
.option-meta { margin-top: 6px; line-height: 1.35; }
.option-meta > span:not(.option-badge)::before { content: '·'; margin-right: 7px; color: #5a7c8d; }
.option-badge { display: inline-flex; align-items: center; border: 1px solid #77d8bf66; border-radius: 4px; background: #78d9bb14; padding: 2px 6px; color: #b8f4e0; font-size: 9px; letter-spacing: .08em; }
.option-kind { color: #c1e8df; }
.option-identity { display: grid; grid-template-columns: auto minmax(0, 1fr); margin-top: 10px; padding: 8px 10px; border: 1px solid #76d9c02e; border-radius: 6px; background: #72d9bd0c; gap: 6px 8px; }
.option-identity-text { min-width: 0; color: #c1e8df; font-size: 11px; line-height: 1.5; }
.option-identity small { grid-column: 1 / -1; margin-left: 0; color: #7896a7; font-size: 9px; }
.instrument-row.is-option .instrument-code { color: #b0c8d4; }
.cockpit-v6 .option-meta { font-size: 11px; }
.cockpit-v6 .option-badge { font-size: 10px; }
.cockpit-v6 .option-identity-text { font-size: 12px; }
.option-rail-stack { display: grid; gap: 8px; min-width: 0; }
.option-rail { min-width: 0; }
.option-rail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 2px 4px; color: #9bb4c7; font-size: 10px; }
.option-rail-head span { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.option-rail-head b { color: #c1e8df; font-weight: 550; }
.option-rail-head small { overflow: hidden; color: #7898ab; font: 9px var(--number); text-overflow: ellipsis; white-space: nowrap; }
.option-rail-head em { flex: none; color: #73c9b3; font-size: 9px; font-style: normal; }
.option-strategy-rail { padding: 6px 8px 5px; border: 1px solid #76d9c02b; border-radius: 6px; background: linear-gradient(100deg, #5de2c40c, #0f253026); }
.option-strategy-rail.has-levels { border-color: #8fc8e03b; background: linear-gradient(100deg, #6b9fd817, #0f253026); }
.option-rail-track { position: relative; height: 38px; margin: 0 4px; border-bottom: 1px solid #7ca9af4d; }
.option-strategy-rail.has-levels .option-rail-track { height: 57px; }
.option-price-axis { position: absolute; inset: auto 0 0; height: 12px; }
.option-price-axis i { position: absolute; bottom: 0; width: 1px; height: 5px; background: #7ca9af45; }
.option-rail-now, .option-point { position: absolute; left: var(--x); bottom: 0; transform: translateX(-50%); height: 100%; }
.option-rail-now > i { position: absolute; left: 50%; bottom: 0; width: 2px; height: 24px; transform: translateX(-50%); background: #a4f4dc; box-shadow: 0 0 13px #75e0c055; }
.option-rail-now > span, .option-point > span { position: absolute; bottom: 24px; left: 50%; display: grid; gap: 1px; transform: translateX(-50%); text-align: center; white-space: nowrap; }
.option-rail-now small { color: #9dd6ca; font-size: 9px; }
.option-rail-now strong { color: #ddf5ef; font: 600 15px var(--number); }
.option-point > i { position: absolute; left: 50%; bottom: 0; width: 1px; height: 11px; transform: translateX(-50%); background: #9bb4c7aa; }
.option-point > span { bottom: 13px; color: #91aabd; font-size: 8px; }
.option-point > span strong { font: 500 9px var(--number); color: #b8cfdd; }
.option-underlying-missing { display: grid; place-items: center; height: 38px; color: #849eaf; font-size: 10px; letter-spacing: .02em; }
.option-rail-evidence { display: block; margin-top: 4px; overflow: hidden; color: #6f8e9f; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.option-premium-rail { padding: 6px 8px 0; border: 1px solid #8fc8e02a; border-radius: 6px; background: #0b1927a8; }
.option-premium-track { position: relative; height: 99px; --y: 67px; margin: 0 4px; }
.option-premium-rail .unplanned-line { height: 80px; }
.option-basis-note { display: block; margin: 1px 3px 0; color: #718fa2; font-size: 9px; line-height: 1.45; }
.option-basis-note.is-warning { color: #d0ab77; }
.option-premium-evidence { display: block; margin: 2px 0 5px; color: #7897a8; font: 9px var(--number); text-align: right; }
.product-relation { display: none; color: #d5b37d; }
.instrument-row[data-product-relation=same_product] .product-relation { display: inline; }
.instrument-row[data-product-relation=blocked] .product-relation { display: inline; color: #e8bd7a; }
.instrument-row[data-product-relation=same_contract] .product-relation { display: inline; color: #91cdbb; }
.cockpit-v6 .instrument-row[data-product-relation=blocked] { border-color: #d6ad6a6e; background: linear-gradient(100deg, #b67c2015, #0b1927); }
.cockpit-v6 .instrument-row[data-product-relation=blocked] .instrument-status { color: #f0ca91; }
.group-plan-entry.is-coordination .group-plan-label { color: #e4c28f; }
.group-plan-entry.is-coordination .group-plan-contract { color: #c69f69; }
.cockpit-v6 .option-rail-head { font-size: 11px; }
.cockpit-v6 .option-rail-head small { font-size: 10px; }
.cockpit-v6 .option-rail-head em { font-size: 10px; }
.cockpit-v6 .option-rail-stack { gap: 9px; }
.cockpit-v6 .option-rail-now strong { font-size: 17px; }
.cockpit-v6 .option-premium-rail .price-line { height: 101px; }
@media (max-width: 620px) {
  .cockpit-v6 .instrument-row.is-option { grid-template-rows: auto auto 22px; min-height: 238px; }
  .cockpit-v6 .instrument-row.is-option.has-stop-rules { grid-template-rows: auto auto auto 22px; }
  .cockpit-v6 .instrument-row.is-option .price-line { grid-row: 2; height: auto; margin: 0; }
  .cockpit-v6 .instrument-row.is-option .has-stop-rules .rail-context { grid-row: 4; }
  .cockpit-v6 .option-strategy-rail { padding-top: 5px; padding-bottom: 3px; }
  .cockpit-v6 .option-rail-track { height: 34px; }
  .cockpit-v6 .option-premium-track { height: 81px; --y: 53px; }
  .cockpit-v6 .option-premium-rail .unplanned-line { height: 64px; }
  .cockpit-v6 .option-premium-evidence { margin-bottom: 3px; }
  .option-rail-head { margin-left: 0; margin-right: 0; }
  .option-rail-track { margin-left: 2px; margin-right: 2px; }
}
@media (min-width: 621px) {
  .cockpit-v6 .instrument-row.is-option { grid-template-columns: 170px minmax(0, 1fr) 108px; }
  .cockpit-v6 .instrument-row.is-option { grid-template-rows: auto auto 22px; min-height: 285px; }
  .cockpit-v6 .instrument-row.is-option.has-stop-rules { grid-template-rows: auto auto auto 22px; }
  .cockpit-v6 .instrument-row.is-option .price-line { height: auto; }
  .cockpit-v6 .instrument-row.is-option.has-stop-rules .rail-context { grid-row: 4; }
}
@media (max-width: 620px) {
  .option-identity { margin-top: 8px; padding: 7px 8px; }
  .option-identity-text { max-width: none; }
  .option-meta { gap: 3px 5px; font-size: 10px; }
  .option-meta > span:not(.option-badge)::before { margin-right: 5px; }
}
@media (max-width: 620px) {
  .cockpit-v6 .market-scope, .cockpit-v6 .funds-chart { font-size: 10px; }
  .cockpit-v6 .price-tabs { gap: 9px; flex-wrap: wrap; }
  .cockpit-v6 .price-tabs button, .cockpit-v6 #refresh-now { font-size: 11px; }
  .cockpit-v6 .price-tabs b { font-size: 10px; }
  .cockpit-v6 .point-label, .cockpit-v6 .point-label strong { font-size: 10px; }
  .cockpit-v6 .instrument-meta { display: flex; flex-wrap: wrap; }
  .cockpit-v6 .rail-subtitle { display: none; }
  .cockpit-v6 .rail-toolbar > summary { font-size: 11px; padding: 6px 0; }
  .cockpit-v6 .rail-context { gap: 5px; }
  .cockpit-v6 .stage-note { font-size: 10px; }
  .cockpit-v6 .structure-condition { font-size: 11px; }
  .cockpit-v6 .structure-status { font-size: 10px; }
  .cockpit-v6 .rail-legend { font-size: 10px; }
}
@media (max-width: 370px) {
  .cockpit-v6 .market-pulse { gap: 9px; }
  .cockpit-v6 .pulse-lead { min-width: 80px; flex-basis: 80px; }
  .cockpit-v6 .pulse-stat span { font-size: 7px; }
  .cockpit-v6 .funds-panel { gap: 4px 8px; padding-left: 12px; padding-right: 12px; }
  .cockpit-v6 .funds-panel.has-exposure .funds-number { font-size: 22px; }
  .cockpit-v6 .funds-panel.has-exposure .funds-gauge { width: 37px; height: 37px; flex-basis: 37px; }
}

/* Final type and geometry guardrails. A rail is a numeric surface: labels and
   units stay together while the grid gives the identity and measure columns
   enough room to breathe. */
.cockpit-v6 .instrument-row { grid-template-columns: minmax(124px, 148px) minmax(0, 1fr) minmax(58px, max-content); column-gap: clamp(12px, 1.8vw, 22px); }
.cockpit-v6 .instrument-identity, .cockpit-v6 .price-line, .cockpit-v6 .row-measure, .cockpit-v6 .rail-context { min-width: 0; }
.cockpit-v6 .instrument-name, .cockpit-v6 .instrument-code, .cockpit-v6 .instrument-status, .cockpit-v6 .row-measure > span, .cockpit-v6 .row-measure > strong, .cockpit-v6 .row-measure > small, .cockpit-v6 .row-measure strong small, .cockpit-v6 .point-label, .cockpit-v6 .point-label strong, .cockpit-v6 .point-label small { white-space: nowrap; }
.cockpit-v6 .row-measure { width: max-content; max-width: 100%; overflow: hidden; padding-left: 10px; }
.cockpit-v6 .row-measure > span { display: block; overflow: hidden; text-overflow: ellipsis; }
.cockpit-v6 .row-measure > strong { display: inline-flex; align-items: baseline; gap: 2px; line-height: 1.35; }
.cockpit-v6 .row-measure > strong small { display: inline; margin: 0; }
.cockpit-v6 .point-label { display: inline-flex; align-items: baseline; gap: 3px; }
.cockpit-v6 .price-line { margin-inline: clamp(8px, 1.4vw, 18px) clamp(26px, 3.2vw, 40px); }
.cockpit-v6 .point-label small { font-size: 9px; }
.cockpit-v6 .range-open, .cockpit-v6 .range-low, .cockpit-v6 .range-high { z-index: 2; }
.cockpit-v6 .range-open .point-shape, .cockpit-v6 .range-low .point-shape, .cockpit-v6 .range-high .point-shape { width: 2px; height: 12px; margin-top: -4px; background: #8ba7b6; box-shadow: 0 0 7px #7d9dae35; }
.cockpit-v6 .range-open .point-shape { height: 8px; margin-top: -2px; background: #9bb7c5; }
.cockpit-v6 .range-open .point-label, .cockpit-v6 .range-low .point-label, .cockpit-v6 .range-high .point-label { color: #a7bfca; }
.cockpit-v6 .range-open .point-label strong, .cockpit-v6 .range-low .point-label strong, .cockpit-v6 .range-high .point-label strong { color: #c1d4dc; font-size: 10px; }
.cockpit-v6 .range-open .point-label small, .cockpit-v6 .range-low .point-label small, .cockpit-v6 .range-high .point-label small { color: #7fa0b0; }
.cockpit-v6 .day-range-caption { color: #7796a8; font-size: 9px; }
.cockpit-v6 .day-range-caption span { white-space: nowrap; }
@media (min-width: 621px) and (max-width: 1199px) {
  .cockpit-v6 .instrument-row { grid-template-columns: minmax(112px, 132px) minmax(0, 1fr) minmax(56px, max-content); column-gap: 14px; }
}
@media (max-width: 620px) {
  .cockpit-v6 .instrument-row { grid-template-columns: minmax(0, 1fr) max-content; column-gap: 8px; }
  .cockpit-v6 .price-line { margin-inline: 6px 24px; }
  .cockpit-v6 .row-measure { padding-left: 8px; }
  .cockpit-v6 .row-measure > span { max-width: 72px; }
  .cockpit-v6 .point-label strong { font-size: 10px; }
  .cockpit-v6 .range-open .point-label strong, .cockpit-v6 .range-low .point-label strong, .cockpit-v6 .range-high .point-label strong { font-size: 9px; }
}

/* Triggered plans remain a readable, separate story after scan replacement. */
.heading-tools { display: flex; align-items: center; gap: 12px; }
.archive-open { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #9cccec38; border-radius: 7px; background: #102336; padding: 9px 12px; color: #cee5f6; font: inherit; font-size: 12px; white-space: nowrap; }
.archive-open svg, .archive-plan-link svg, .update-item svg, .archive-item > svg, .activity-item > svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.archive-open > span { color: #82cfce; font-size: 11px; }
.archive-open > span:empty { display: none; }
.archive-open:hover, .archive-plan-link:hover { background: #163149; border-color: #95c8e66b; }
.opportunity-conditions { margin: 14px 0 0; display: grid; gap: 12px; }
.opportunity-conditions > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; font-size: 12px; line-height: 1.65; }
.opportunity-conditions dt { color: #859bb2; }
.opportunity-conditions dd { margin: 0; color: #ccdce9; overflow-wrap: anywhere; }
.archive-plan-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 11px 12px; margin-top: 16px; border: 1px solid #7bb4d22b; border-radius: 6px; background: #12304852; color: #abd5e5; text-align: left; font: inherit; font-size: 12px; }
.cockpit-v6 .updates-panel { display: block; padding: 17px 20px; }
.cockpit-v6 .updates-title { display: flex; align-items: center; gap: 10px; padding: 0 0 14px; border: 0; width: auto; }
.updates-title #updates-note { font-size: 11px; color: #89adbf; }
.updates-title #open-activity { margin-left: auto; }
.cockpit-v6 .updates-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.update-item { cursor: pointer; padding: 0 0 0 12px; border-left: 2px solid #466b8233; }
.update-item.is-unread { border-color: #8bcbd8; }
.cockpit-v6 .update-item strong { font-size: 12px; line-height: 1.8; }
.cockpit-v6 .update-item time, .cockpit-v6 .update-item small { font-size: 11px; color: #8da2b7; }
.update-item small { display: flex; align-items: center; gap: 8px; }
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 6px 0 20px; color: #9eb6c9; font-size: 12px; }
.archive-filters { display: flex; gap: 6px; }
.archive-filters button { padding: 8px 13px; background: transparent; border: 1px solid transparent; color: #96aec3; border-radius: 5px; font: inherit; font-size: 12px; }
.archive-filters button[aria-pressed=true] { background: #193347; color: #d5edf3; border-color: #8ec1d12e; }
.archive-item, .activity-item { display: grid; grid-template-columns: 63px minmax(0, 1fr) auto 15px; align-items: center; gap: 16px; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid #779ab520; background: transparent; color: #d0dfeb; text-align: left; cursor: pointer; font: inherit; }
.archive-item:hover, .activity-item:hover { background: #213d501f; }
.archive-item time, .activity-item time { color: #b3c7d8; font-size: 12px; font-variant-numeric: tabular-nums; }
.archive-item small, .activity-item small { display: block; margin-top: 5px; color: #829caf; font-size: 11px; line-height: 1.5; }
.archive-identity { min-width: 0; }
.archive-identity > strong, .activity-item strong { display: block; font-size: 15px; font-weight: 500; overflow-wrap: anywhere; }
.archive-direction { margin-left: 9px; font-style: normal; font-size: 11px; color: #8ed9be; }
.archive-direction.is-short { color: #d8a597; }
.archive-state { display: inline-block; white-space: nowrap; color: #8aa2b5; border: 1px solid #8094a626; border-radius: 4px; padding: 4px 7px; font-size: 11px; }
.archive-state.is-active { color: #9dcfdd; background: #17466033; border-color: #7dbfda33; }
.archive-warning { color: #debf8e; font-size: 12px; line-height: 1.65; }
.archive-empty { text-align: center; color: #8aa2b5; padding: 50px 12px; font-size: 13px; }
.archive-more { display: block; width: 100%; margin-top: 20px; padding: 12px; border: 1px solid #83abc333; border-radius: 6px; background: #15324533; color: #a7c5d8; cursor: pointer; font: inherit; font-size: 12px; }
.archive-coverage { margin-top: 24px; color: #8195a8; font-size: 11px; line-height: 1.8; }
.archive-back { border: 0; background: none; color: #92b9cc; font: inherit; font-size: 12px; padding: 6px 0; margin-bottom: 18px; }
.archive-verdict h3 { color: #dbe9f2; font-size: 22px; font-weight: 450; margin: 14px 0 10px; }
.archive-verdict p { color: #91a8ba; font-size: 12px; line-height: 1.8; margin: 0 0 26px; }
.archive-original { border: 1px solid #83b4cb2b; border-radius: 8px; padding: 17px; background: #0a182580; }
.archive-original-heading { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: #c4d9e7; }
.archive-original-heading > span { color: #8b9fad; font-size: 11px; }
.cockpit-v6 .archive-rail.has-stop-rules { display: block; min-height: 0; background: none; padding: 0; margin-top: 7px; border: 0; }
.cockpit-v6 .archive-rail .price-line { height: 126px; --y: 80px; margin: 0 12px; }
.archive-rail .instrument-identity, .archive-rail .lots, .archive-rail .structure-condition, .archive-rail .stage-note { display: none; }
.archive-rail .rail-context { display: flex; justify-content: flex-end; margin: 0 0 14px; }
.archive-rail .rail-context button, .archive-rail .instrument-name { pointer-events: none; }
.archive-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 14px; border-top: 1px solid #829ebc20; gap: 14px; }
.archive-levels span { display: block; color: #8ba1b5; font-size: 11px; }
.archive-levels strong { display: block; font-size: 18px; font-weight: 450; margin-top: 6px; color: #d6e4ef; font-variant-numeric: tabular-nums; }
.archive-structure { display: flex; align-items: center; gap: 8px; margin: 17px 0 0; font-size: 12px; color: #b9c5e4; line-height: 1.6; }
.timeline-title { font-size: 14px; font-weight: 500; color: #c3d6e4; margin: 28px 0 18px; }
.timeline-title small { margin-left: 8px; color: #7893a8; }
.plan-timeline { padding: 0 0 0 6px; margin: 0; list-style: none; }
.plan-timeline li { position: relative; display: grid; grid-template-columns: 128px 1fr; gap: 18px; padding: 0 0 25px 22px; border-left: 1px solid #577b903b; }
.plan-timeline li::before { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #759eae; left: -3.5px; top: 4px; box-shadow: 0 0 0 4px #152531; }
.plan-timeline li.is-execution::before { background: #87d7b9; }
.plan-timeline li:last-child { border-color: transparent; padding-bottom: 4px; }
.plan-timeline time { color: #8aa2b5; font-size: 11px; font-variant-numeric: tabular-nums; }
.plan-timeline strong { color: #c8d9e5; display: block; font-size: 13px; font-weight: 500; }
.plan-timeline span { display: block; margin-top: 5px; color: #839bab; font-size: 11px; }
.archive-reference { overflow-wrap: anywhere; }
.activity-item { grid-template-columns: 63px minmax(0, 1fr) 15px; position: relative; padding-left: 10px; }
.activity-item.is-unread::before { content: ''; width: 4px; height: 4px; position: absolute; top: 24px; left: 0; background: #90c8d5; border-radius: 50%; }
.activity-item strong { font-size: 13px; line-height: 1.6; }
@media (max-width: 620px) {
  .heading-tools { flex-wrap: wrap; gap: 9px; }
  .cockpit-v6 .heading-tools .live-search { flex: 1; min-width: 140px; width: auto; }
  .archive-open { padding: 9px; font-size: 11px; }
  .archive-open > span { display: none; }
  .cockpit-v6 .updates-panel { padding: 14px; }
  .cockpit-v6 .updates-track { grid-template-columns: 1fr; gap: 16px; }
  .cockpit-v6 .update-item:not(:first-child) { display: none; }
  .archive-item { gap: 10px; grid-template-columns: 57px minmax(0, 1fr) auto; }
  .archive-item > svg { display: none; }
  .archive-item .archive-state { font-size: 10px; padding: 4px; }
  .archive-identity > strong { font-size: 14px; }
  .archive-verdict h3 { font-size: 19px; }
  .archive-original { padding: 14px 10px; }
  .archive-original-heading { flex-direction: column; gap: 6px; }
  .archive-levels { gap: 8px; }
  .archive-levels strong { font-size: 16px; }
  .cockpit-v6 .archive-rail .price-line { height: 128px; --y: 83px; }
  .plan-timeline li { grid-template-columns: 1fr; gap: 7px; padding-left: 17px; }
  .opportunity-conditions > div { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
}
.evidence-drawer.is-archive { width: min(820px, 100%); }
.cockpit-v6 .update-item { display: block; }
.opportunity-conditions dt { text-align: left; min-width: 0; }

/* One product gets one visible rail; sibling plans stay behind a compact picker. */
.instrument-group { overflow: visible; margin: 0 11px 10px; border: 1px solid #8db4d31c; border-radius: 10px; background: linear-gradient(145deg, #102337c7, #0b1828b3); }
.instrument-group[data-primary-status=execution] { border-color: #d9a66135; }
.instrument-group[data-primary-status=observer] { border-color: #8992b52a; }
.instrument-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 37px; padding: 8px 14px; border-bottom: 1px solid #8db4d31a; }
.group-plan-context { overflow: hidden; color: #8da8bd; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.group-product-key { flex: none; color: #b5d8d6; font: 10px var(--number); letter-spacing: .03em; }
.group-plan-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-left: auto; }
.group-attention, .group-plan-picker > summary { border: 0; border-radius: 4px; background: #7fa5c40c; color: #91b2c4; padding: 5px 7px; font: inherit; font-size: 10px; cursor: pointer; white-space: nowrap; }
.group-attention { color: #e3bf8c; background: #c9974117; }
.group-attention:hover, .group-plan-picker > summary:hover { background: #7fa5c41b; color: #d2ebf0; }
.group-plan-picker { position: relative; }
.group-plan-picker > summary { list-style: none; }
.group-plan-picker > summary::-webkit-details-marker { display: none; }
.group-plan-picker > summary::after { content: '⌄'; margin-left: 5px; color: #6f93a8; }
.group-plan-picker[open] > summary::after { content: '⌃'; }
.group-plan-options { position: absolute; z-index: 4; top: calc(100% + 7px); right: 0; width: min(350px, calc(100vw - 48px)); max-height: 280px; overflow: auto; padding: 5px; border: 1px solid #91b4d33b; border-radius: 7px; background: #101f30; box-shadow: 0 15px 40px #0008; }
.group-plan-option { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; width: 100%; padding: 9px 10px; border: 0; border-radius: 4px; background: transparent; color: #b7cddb; text-align: left; font: inherit; cursor: pointer; }
.group-plan-option:hover, .group-plan-option[aria-pressed=true] { background: #25445a; color: #e5f2f7; }
.group-plan-option[aria-pressed=true] { box-shadow: inset 2px 0 #7de3c5; }
.group-plan-option .group-plan-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.group-plan-option small { flex: none; color: #7d9caf; font: 10px var(--number); }
.group-plan-list { padding: 0 9px; }
.group-plan-entry { padding: 0; }
.group-plan-entry[hidden] { display: none; }
.group-plan-entry > .instrument-row { margin: 0; border: 0; background: transparent; }
.group-plan-entry > .instrument-row::before { top: 12px; bottom: 12px; }
.group-plan-entry > .instrument-row .instrument-name { font-size: 20px; }
.group-plan-entry > .instrument-row .stage-note { max-width: 100%; }
.group-plan-meta { display: none; }
.group-plan-entry.is-execution > .instrument-row { background: linear-gradient(100deg, #c9974112, transparent 70%); }
.group-plan-entry.is-observer > .instrument-row { background: linear-gradient(100deg, #7280ad0d, transparent 70%); }
.group-plan-entry.is-expired > .instrument-row { opacity: .88; }
@media (max-width: 620px) {
  .instrument-group { margin: 0 7px 9px; }
  .instrument-group-heading { min-height: 34px; padding: 6px 9px; }
  .group-plan-context { font-size: 9px; }
  .group-attention, .group-plan-picker > summary { padding: 4px 6px; font-size: 9px; }
  .group-plan-options { width: min(310px, calc(100vw - 32px)); right: -2px; }
  .group-plan-list { padding: 0 3px; }
  .group-plan-entry > .instrument-row .instrument-name { font-size: 18px; }
}

/* Keep the nameplate treatment above the grouped-row defaults. */
.cockpit-v6 .group-plan-entry > .instrument-row .instrument-name { display: block; width: 100%; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 22px; line-height: 1.12; letter-spacing: .025em; font-weight: 600; }
@media (max-width: 620px) {
  .cockpit-v6 .group-plan-entry > .instrument-row .instrument-name { font-size: 20px; letter-spacing: .02em; }
}

/* Unified cockpit system: one surface language, one type scale, and one
   semantic emphasis model across overview, rails, account and evidence. */
.cockpit-v6 {
  --cockpit-surface: #0d1c2b;
  --cockpit-surface-raised: #11263a;
  --cockpit-border: #9bbbd51f;
  --cockpit-border-strong: #9bbbd548;
  --cockpit-text: #d9e8f2;
  --cockpit-muted: #8ca8bc;
  --cockpit-faint: #668299;
  --cockpit-live: #8fe8d1;
  --cockpit-plan: #a8c5f4;
  --cockpit-warning: #e7bd7d;
}
body.cockpit-v6 { background: radial-gradient(ellipse at 48% -15%, #2a526d24, transparent 62%), #07111e; }
.cockpit-v6 .panel { border-color: var(--cockpit-border); border-radius: 12px; background: linear-gradient(145deg, #112337e8, #0b1827eb); box-shadow: 0 16px 42px #02081126; }
.cockpit-v6 .panel-heading { border-bottom: 1px solid #9bbbd512; }
.cockpit-v6 .panel-heading h2 { color: var(--cockpit-text); font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.cockpit-v6 .page-heading { margin-bottom: 16px; }
.cockpit-v6 .page-title h1 { color: #e8f2f7; font-size: 27px; font-weight: 500; letter-spacing: .035em; }
.cockpit-v6 .session-tag { border-color: #84d9c52b; background: #63d9c20b; color: #9dd9cd; }
.cockpit-v6 .overview-grid { gap: 14px; }
.cockpit-v6 .market-panel { background: linear-gradient(110deg, #10283aeb, #0c1c2be8 58%, #0c1a29e8); }
.cockpit-v6 .main-grid { gap: 14px; align-items: start; }
.cockpit-v6 .price-panel { overflow: visible; background: linear-gradient(145deg, #0f2133f2, #0a1725f2); }
.cockpit-v6 .price-heading { padding-left: 20px; padding-right: 20px; }
.cockpit-v6 .price-title h2 { color: #dbeaf2; }
.cockpit-v6 .price-tabs button { transition: color 160ms ease, background 160ms ease; }
.cockpit-v6 .price-tabs button[aria-pressed=true] { color: var(--cockpit-live); }
.cockpit-v6 .rail-list { gap: 10px; margin-left: 10px; margin-right: 10px; }
.cockpit-v6 .instrument-group { margin-bottom: 0; border-color: var(--cockpit-border); border-radius: 12px; background: linear-gradient(145deg, #102438d9, #0a1827d1); box-shadow: inset 0 1px #b1d5ec09; }
.cockpit-v6 .instrument-group-heading { min-height: 39px; padding: 8px 15px; border-bottom-color: #9bbbd518; }
.cockpit-v6 .group-product-key { color: #b6d9d7; letter-spacing: .08em; }
.cockpit-v6 .group-plan-context { color: var(--cockpit-muted); }
.cockpit-v6 .group-plan-list { padding: 5px 8px 8px; }
.cockpit-v6 .group-plan-entry > .instrument-row { border: 1px solid #a0bfd613; border-radius: 8px; background: #08162455; }
.cockpit-v6 .group-plan-entry > .instrument-row.is-selected { border-color: var(--cockpit-border-strong); }
.cockpit-v6 .instrument-row::before { width: 2px; top: 15px; bottom: 15px; }
.cockpit-v6 .instrument-row.is-triggered::before { background: var(--cockpit-live); box-shadow: 0 0 14px #74e2ca52; }
.cockpit-v6 .instrument-row[data-attention=plan]::before { background: #82aaf3; }
.cockpit-v6 .instrument-row[data-attention=holding]::before { background: #80e1c1; }
.cockpit-v6 .instrument-row[data-attention=exit]::before { background: var(--cockpit-warning); }
.cockpit-v6 .instrument-status { color: var(--cockpit-muted); }
.cockpit-v6 .instrument-row[data-attention=plan] .instrument-status { color: var(--cockpit-plan); }
.cockpit-v6 .instrument-row[data-attention=holding] .instrument-status { color: #b9f0dc; }
.cockpit-v6 .instrument-row[data-attention=exit] .instrument-status { color: #f2d09a; }
.cockpit-v6 .instrument-code { color: #829eb4; }
.cockpit-v6 .instrument-facts { border: 0; }
.cockpit-v6 .contract-margin { color: #a8c3ae; }
.cockpit-v6 .contract-margin strong { color: #c4ddc7; }
.cockpit-v6 .price-line { isolation: isolate; }
.cockpit-v6 .price-axis { background: #89a9c22b; }
.cockpit-v6 .day-band { background: #7d9fb00c; border-top-color: #88a8b736; }
.cockpit-v6 .rail-context { border-top: 1px solid #9bbbd510; padding-top: 6px; }
.cockpit-v6 .row-evidence { color: #9ab4c5; }
.cockpit-v6 .row-evidence:hover { color: var(--cockpit-live); }
.cockpit-v6 .row-actions { gap: 7px; }
.cockpit-v6 .row-approval { color: #a7ead6; background: #1b4a49; border-color: #70d7c053; }
.cockpit-v6 .row-approval:hover, .cockpit-v6 .row-approval[aria-expanded=true] { color: #08211e; background: var(--cockpit-live); border-color: var(--cockpit-live); }
.cockpit-v6 .group-plan-entry > #cockpit-execution { margin: 8px 2px 4px; }
.cockpit-v6 #cockpit-execution[hidden] { display: none; }
.cockpit-v6 .lots { border-left-color: #9bbbd51f; }
.cockpit-v6 .rail-legend { margin-top: 2px; border-top: 1px solid #9bbbd512; }
.cockpit-v6 .funds-panel, .cockpit-v6 .priority-panel { background: linear-gradient(145deg, #11263ae8, #0b1929ed); }
.cockpit-v6 .funds-panel .panel-heading, .cockpit-v6 .priority-panel .panel-heading { border-bottom: 0; }
.cockpit-v6 .funds-number { color: #e0edf3; font-weight: 500; letter-spacing: -.03em; }
.cockpit-v6 .funds-caption, .cockpit-v6 .funds-equity, .cockpit-v6 .funds-bottom span { color: var(--cockpit-muted); }
.cockpit-v6 .funds-gauge { opacity: .9; }
.cockpit-v6 .funds-bottom { border-top-color: #9bbbd518; }
.cockpit-v6 .priority-panel { border-color: #9bbbd52b; }
.cockpit-v6 .priority-main h3 { color: #e0edf4; font-weight: 500; letter-spacing: .035em; }
.cockpit-v6 .priority-main p, .cockpit-v6 .priority-reason { color: #a8bfce; }
.cockpit-v6 .priority-tag { color: #b6cdf2; border-color: #8caef12e; background: #86aef10c; }
.cockpit-v6 .source-panel { border-top-color: #9bbbd51d; }
@media (max-width: 620px) {
  .cockpit-v6 .page-title h1 { font-size: 22px; }
  .cockpit-v6 .panel { border-radius: 10px; }
  .cockpit-v6 .price-heading { padding-left: 14px; padding-right: 14px; }
  .cockpit-v6 .rail-list { margin-left: 6px; margin-right: 6px; gap: 8px; }
  .cockpit-v6 .instrument-group { border-radius: 10px; }
  .cockpit-v6 .group-plan-list { padding: 4px 4px 6px; }
  .cockpit-v6 .group-plan-entry > .instrument-row { border-radius: 7px; }
  .cockpit-v6 .rail-context { padding-top: 5px; }
}

/* Quiet mode: keep the rail and the current decision visible, and tuck the
   explanatory copy behind deliberate disclosure controls. */
.cockpit-v6 .focus-reading { margin: 12px 20px 0; border-top: 1px solid #9bbbd51d; }
.cockpit-v6 .focus-reading > summary { display: flex; align-items: center; gap: 8px; padding: 10px 0; color: #a9c0d1; font-size: 10px; cursor: pointer; list-style: none; }
.cockpit-v6 .focus-reading > summary::-webkit-details-marker { display: none; }
.cockpit-v6 .focus-reading > summary small { color: #7894aa; font-size: 9px; }
.cockpit-v6 .focus-reading > summary svg { width: 11px; height: 11px; margin-left: auto; transition: transform 160ms ease; }
.cockpit-v6 .focus-reading[open] > summary svg { transform: rotate(90deg); }
.cockpit-v6 .focus-reading > summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.cockpit-v6 #priority-reading { padding: 2px 0 5px; }
.cockpit-v6 #priority-reading .focus-provenance { margin-bottom: 8px; }
.cockpit-v6 #priority-reading .focus-reading-detail { margin: 0 0 8px; color: #a6bacb; font-size: 11px; line-height: 1.7; }
.cockpit-v6 .rail-toolbar > summary { display: flex; align-items: center; gap: 8px; list-style: none; padding: 6px 0; color: #91aabe; font-size: 10px; cursor: pointer; }
.cockpit-v6 .rail-toolbar > summary::after { content: '+'; margin-left: auto; color: #8ca9bc; font: 14px var(--number); }
.cockpit-v6 .rail-toolbar[open] > summary::after { content: '−'; }
.cockpit-v6 .rail-toolbar > summary span { color: #74cdb8; }
.cockpit-v6 .rail-toolbar .sector-options { padding: 4px 0 7px; }
.cockpit-v6 .market-pulse { gap: 0; }
.cockpit-v6 .market-pulse .pulse-stats { display: none; }
.cockpit-v6 .priority-tag { padding: 2px 6px; }
@media (max-width: 620px) {
  .cockpit-v6 .focus-reading { margin-left: 15px; margin-right: 15px; }
  .cockpit-v6 .rail-toolbar > summary { font-size: 9px; }
}

/* Symbol pass: the rail is read through shape, colour and position first. */
.cockpit-v6 .visual-action { display: grid; width: 28px; height: 28px; padding: 0; place-items: center; }
.cockpit-v6 .visual-action svg { width: 14px; height: 14px; }
.cockpit-v6 .direction { display: inline-grid; width: auto; min-width: 28px; height: 18px; padding: 0 4px; place-items: center; border-radius: 9px; font: 600 11px/1 var(--number); }
.cockpit-v6 .direction.long, .cockpit-v6 .direction.short { border-width: 1px; }
.cockpit-v6 .direction.long { color: #e7b3bd; }
.cockpit-v6 .direction.short { color: #a5dfcb; }
.cockpit-v6 .contract-margin { gap: 3px; }
.cockpit-v6 .contract-margin > i { color: #91b8a5; font: normal 10px var(--number); }
.cockpit-v6 .contract-margin small { color: #789894; }
.cockpit-v6 .instrument-status[data-state=live], .cockpit-v6 .instrument-status[data-state=plan] { display: none; }
.cockpit-v6 .rail-list .measure-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.cockpit-v6 .rail-list .row-measure[data-kind=distance] .measure-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; color: #9cb5c4; }
.cockpit-v6 .rail-list .stage-note { overflow: hidden; text-overflow: ellipsis; }
.cockpit-v6 .rail-list .row-evidence { position: relative; display: inline-flex; align-items: center; justify-content: flex-end; gap: 3px; width: 28px; min-width: 28px; height: 20px; padding: 0; color: #7694a6; font-size: 0; }
.cockpit-v6 .rail-list .row-evidence .quote-glyph { width: 10px; height: 10px; opacity: .8; }
.cockpit-v6 .rail-list .row-evidence > svg:last-child { width: 8px; height: 8px; opacity: .7; }
.cockpit-v6 .rail-list .quote-stamp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.cockpit-v6 .rail-list .quote-dot { width: 5px; height: 5px; border-radius: 50%; background: #71899a; box-shadow: 0 0 0 2px #71899a18; }
.cockpit-v6 .rail-list .row-evidence[data-state=live] .quote-dot { background: var(--cockpit-live); box-shadow: 0 0 0 3px #8fe8d11c, 0 0 8px #8fe8d160; }
.cockpit-v6 .rail-list .row-evidence[data-state=stale] .quote-dot { background: var(--cockpit-warning); box-shadow: 0 0 0 3px #e7bd7d18; }
.cockpit-v6 .rail-list .row-evidence[data-state=missing] .quote-dot { border: 1px solid #7d91a0; background: transparent; }
.cockpit-v6 .rail-list .row-evidence[data-state=reference] .quote-dot { background: #9db8e8; }
.cockpit-v6 .rail-list .row-evidence:hover .quote-dot, .cockpit-v6 .rail-list .row-evidence:focus-visible .quote-dot { transform: scale(1.35); }

/* Keep the selected rail fully annotated. Other rails carry the same facts
   through marker shape, colour and position; their labels appear on hover so
   the list can be scanned without a wall of repeated copy. */
.cockpit-v6 .rail-list .instrument-row:not(.is-selected) .point-caption { opacity: 0; visibility: hidden; transition: opacity 140ms ease, visibility 140ms ease; }
.cockpit-v6 .rail-list .instrument-row:not(.is-selected) .point:hover .point-caption,
.cockpit-v6 .rail-list .instrument-row:not(.is-selected) .point:focus-within .point-caption { opacity: 1; visibility: visible; }
.cockpit-v6 .rail-list .instrument-row:not(.is-selected) .point-caption + strong { margin-left: 0; }
.cockpit-v6 .rail-list .instrument-row:not(.is-selected) .point.stop .point-shape { background: #ef9aa5; box-shadow: 0 0 8px #ef9aa52b; }
.cockpit-v6 .rail-list .instrument-row:not(.is-selected) .point.structure-stop .point-shape { border-left-color: #e7bd7d; }
.cockpit-v6 .rail-list .instrument-row:not(.is-selected) .point.trigger .point-shape { border-color: #8ed5d0; background: #14313b; }
.cockpit-v6 .rail-list .instrument-row:not(.is-selected) .point.target .point-shape { border-left-color: #91b7ff; }
.cockpit-v6 .day-range-caption { display: none; }
.cockpit-v6 .rail-legend { justify-content: flex-end; gap: 8px; }
.cockpit-v6 .rail-legend > span:not(.rail-scale) { width: 6px; overflow: hidden; font-size: 0; }
.cockpit-v6 .rail-legend > span:not(.rail-scale) i { margin: 0; }
.cockpit-v6 .rail-legend .rail-scale { display: none; }
@media (max-width: 620px) {
  .cockpit-v6 .visual-action { width: 24px; height: 24px; }
  .cockpit-v6 .direction { min-width: 27px; height: 17px; font-size: 10px; }
  .cockpit-v6 .rail-legend { display: none; }
}

/* Controls are navigation, not calls to action. Keep them quiet so the
   price rail remains the visual anchor. */
.cockpit-v6 .rail-toolbar { justify-content: flex-end; margin: 0 20px 6px; }
.cockpit-v6 .rail-toolbar > summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid #9bbbd51c;
  border-radius: 999px;
  background: #9bbbd508;
  color: #8ea8b9;
  font-size: 9px;
}
.cockpit-v6 .rail-toolbar > summary svg { width: 11px; height: 11px; }
.cockpit-v6 .rail-toolbar[hidden],
.cockpit-v6 .show-more[hidden] { display: none !important; }
.cockpit-v6 .rail-toolbar > summary::after { content: '⌄'; margin-left: 1px; color: #7895a6; font-size: 12px; }
.cockpit-v6 .rail-toolbar[open] > summary::after { content: '⌃'; }
.cockpit-v6 .rail-toolbar > summary span { display: none; }
.cockpit-v6 .rail-toolbar.has-selection > summary span { display: inline; color: #9acbbf; }
.cockpit-v6 .group-plan-actions { gap: 5px; }
.cockpit-v6 .group-attention,
.cockpit-v6 .group-plan-picker > summary {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  padding: 0 6px;
  place-items: center;
  border: 1px solid #9bbbd51c;
  border-radius: 999px;
  background: #9bbbd508;
  color: #8ea8b9;
  font-size: 9px;
}
.cockpit-v6 .group-plan-picker > summary { display: inline-flex; gap: 3px; font-size: 0; }
.cockpit-v6 .group-plan-picker > summary b { font-size: 9px; }
.cockpit-v6 .group-plan-picker > summary::after { margin-left: 0; font-size: 11px; }
.cockpit-v6 .group-attention { color: #d9b87e; background: #c9974110; border-color: #c9974128; font-size: 0; }
.cockpit-v6 .group-attention::before { content: '!'; font-size: 10px; font-weight: 700; }
.cockpit-v6 .show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 26px;
  margin: 8px auto 12px;
  padding: 4px 10px;
  border: 1px solid #9bbbd51c;
  border-radius: 999px;
  background: transparent;
  color: #91aebe;
  font-size: 10px;
}
.cockpit-v6 .show-more:hover { border-color: #8ed4c34a; color: #b6e8db; background: #8ed4c30a; }
.cockpit-v6 .show-more > span[aria-hidden=true] { font: 500 11px var(--number); color: #a4c4d1; }
.cockpit-v6 .show-more .sr-only { position: absolute; }
.cockpit-v6 .rail-list .row-evidence { width: 18px; min-width: 18px; gap: 0; }
@media (max-width: 620px) {
  .cockpit-v6 .rail-toolbar { margin-left: 14px; margin-right: 14px; }
  .cockpit-v6 .rail-toolbar > summary { min-height: 23px; padding-inline: 7px; }
  .cockpit-v6 .group-attention, .cockpit-v6 .group-plan-picker > summary { min-width: 23px; height: 23px; }
  .cockpit-v6 .show-more { min-height: 24px; margin-bottom: 9px; }
}
