:root{color-scheme:dark;--bg:#080b0e;--panel:#0f1419;--line:#26313b;--muted:#82909e;--text:#d7dfe7;--amber:#ffad38;--green:#55d5a0;--red:#f47777;--blue:#69b8e7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:12px 'SFMono-Regular',Consolas,'Liberation Mono',monospace}header{height:65px;padding:0 25px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{font-size:27px;font-weight:900;letter-spacing:3px;color:var(--amber)}.brand span{font-size:10px;letter-spacing:2px;color:var(--muted);margin-left:20px}.connection{font-size:10px;color:var(--green)}.connection span{color:var(--muted);margin-left:18px}i{display:inline-block;width:6px;height:6px;background:var(--green);margin-right:8px}time{color:var(--muted)}nav{display:flex;background:#12181e;border-bottom:1px solid var(--line);overflow:auto}button{font:inherit;cursor:pointer;background:#1a242d;color:var(--text);border:1px solid #344350;padding:10px 14px}button:hover{background:#2a3844}button:disabled{opacity:.45;cursor:wait}nav button{white-space:nowrap;background:none;border:0;border-right:1px solid var(--line);padding:15px 18px;font-size:10px;letter-spacing:.5px}nav button.active{color:var(--amber);box-shadow:inset 0 -2px var(--amber);background:#1c1a15}kbd{font-size:10px;background:#27313b;color:var(--muted);padding:2px 4px;margin-right:7px}.command{display:flex;gap:14px;padding:14px 25px;color:var(--muted);border-bottom:1px solid var(--line);font-size:10px;letter-spacing:1px}.command strong{color:var(--text)}.right{margin-left:auto}main{padding:20px 24px 65px;max-width:1900px;margin:auto}.metrics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);margin-bottom:20px}.metric{padding:15px 20px;border-right:1px solid var(--line);background:var(--panel)}.metric:last-child{border:0}.label{color:var(--muted);font-size:10px;letter-spacing:1px;text-transform:uppercase}.value{font-size:27px;line-height:1.6;color:var(--blue)}.sub{color:var(--muted);font-size:10px}.grid{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:18px}.panel{background:var(--panel);border:1px solid var(--line);margin-bottom:18px;min-width:0}.panel h2{font-size:11px;font-weight:500;letter-spacing:1px;color:var(--amber);border-bottom:1px solid var(--line);margin:0;padding:13px 15px;display:flex;justify-content:space-between}.panel h2 span{color:var(--muted);font-size:10px}.body{padding:17px}label{display:block;color:var(--muted);font-size:10px;letter-spacing:.4px;margin-bottom:13px}input,select,textarea{display:block;margin-top:6px;width:100%;padding:9px;background:#080d12;border:1px solid #34414d;color:var(--text);font:12px inherit;font-family:inherit;border-radius:0}input:focus,select:focus,textarea:focus{outline:1px solid var(--amber)}input[type=checkbox]{display:inline;width:auto;margin:0 6px 0 0}input[type=file]{font-size:10px}textarea{min-height:120px;resize:vertical}.formrow{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary{background:var(--amber);color:#16110a;border-color:var(--amber);font-weight:bold}.primary:hover{background:#ffc36a}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.hint{font-size:11px;line-height:1.8;color:var(--muted)}.warning{padding:12px 16px;border-left:2px solid var(--amber);background:#201c14;color:#d7bb89;line-height:1.7;margin:14px 0}.tablewrap{overflow:auto;max-height:470px}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:right}th{position:sticky;top:0;background:#192129;color:var(--muted);font-size:10px;font-weight:normal;padding:11px 13px;z-index:1}td{padding:11px 13px;border-bottom:1px solid #1c252e;font-size:11px}td:first-child,th:first-child{text-align:left}tr:hover td{background:#18222b}.positive{color:var(--green)}.negative{color:var(--red)}.symbol{color:var(--blue);font-weight:bold}a{color:var(--blue)}.empty{padding:55px 25px;text-align:center;color:var(--muted);line-height:2}.empty strong{display:block;font-size:17px;color:var(--text);font-weight:normal;margin-bottom:8px}.tag{font-size:10px;padding:3px 6px;color:var(--green);background:#173329}#notice:not(:empty){padding:12px 16px;margin-bottom:16px;background:#202519;border:1px solid #535931;line-height:1.7}#notice.error{color:var(--red);border-color:#733b3b;background:#27191c}canvas{width:100%;height:245px;display:block}.chart-label{padding:13px 16px 0;color:var(--muted);font-size:10px}.resultmetrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line)}.resultmetrics .metric{border:0}.resultmetrics .value{font-size:20px}details{padding:12px;color:var(--muted)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:350px;overflow:auto}footer{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:11px 24px;background:#131a21;border-top:1px solid var(--line);font-size:9px;color:var(--muted);z-index:3}footer b{color:var(--amber)}@media(max-width:1000px){.grid{grid-template-columns:1fr}.brand span,.connection,.command .right,footer span:nth-child(2){display:none}.metrics{grid-template-columns:1fr 1fr}.value{font-size:22px}main{padding:14px 12px 60px}nav button{padding:13px 12px}.resultmetrics{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}
.choices{max-height:190px;overflow:auto;border:1px solid var(--line);padding:12px;margin:8px 0 18px}.choices label{line-height:1.7;letter-spacing:0}.report-text{max-height:none;line-height:1.85;font-size:12px;color:var(--text)}
#brief-local-inputs{border:0;padding:0;margin:0}[hidden]{display:none!important}
#jobstatus{white-space:pre-wrap;line-height:1.7;max-height:400px;overflow:auto}nav{flex-wrap:wrap}nav button{flex-shrink:0}
/* Source-labelled derivatives workspaces */
.uw-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.uw-usage{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.uw-usage p,.uw-usage details{flex-basis:100%}.uw-usage pre{white-space:pre-wrap}.surface-canvas{width:100%;height:520px;display:block;touch-action:pan-y}.heat-canvas{width:100%;height:320px;display:block}.uw-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.uw-controls label input[type=checkbox]{width:auto}.actions input[type=range]{min-width:120px}#uwresults>.panel{margin-top:12px}#uwjob pre{max-height:200px;overflow:auto}@media(max-width:1000px){.uw-controls{grid-template-columns:1fr}.uw-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.uw-filters{grid-template-columns:1fr}}
.uw-settings{border:1px solid #273642;background:#0d151c;margin:10px 0;padding:10px 14px}.uw-settings>summary{cursor:pointer;color:#eab35c;font-size:11px;letter-spacing:.07em}.uw-settings>.panel{margin-top:10px}.uw-settings .uw-controls{margin-bottom:0}

.login-shell{max-width:520px;margin:12vh auto;padding:20px}.login-button{display:inline-block;padding:12px 18px;background:#f5b43f;color:#10151a;text-decoration:none;font-weight:bold;margin:18px 0}#authlogout[hidden]{display:none}
/* Six desks, with only the active desk's tools visible. */
#desk-nav{display:flex;gap:4px;padding:8px 24px;background:#080e14;border-bottom:1px solid var(--line);overflow-x:auto}#desk-nav button{white-space:nowrap;padding:12px 20px;font-size:13px}#desk-nav .active,.instrument-strip .active{color:var(--amber);border-color:var(--amber);background:#252116}#desk-nav kbd{margin-right:10px;color:var(--muted)}nav{padding-top:0;padding-bottom:0;background:#101923}nav button{font-size:10px;padding:10px 14px}nav kbd{display:none}.desk-intro{margin:8px 0 24px}.desk-intro h1{font-size:26px;font-weight:500}.desk-intro p{color:var(--muted)}.desk-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0 24px}.desk-card{text-align:left;padding:22px;min-height:115px;background:#101c26;border:1px solid var(--line);white-space:normal}.desk-card strong{display:block;color:var(--amber);font-size:15px;margin-bottom:12px}.desk-card span{display:block;color:var(--muted);line-height:1.7;font-size:12px}.instrument-strip{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.instrument-strip button{padding:10px 16px}.body p{line-height:1.7}#level-form,#ratio-form{max-width:900px}#desk-job{padding:12px 0}#desk-results h1{font-size:20px;color:var(--amber)}@media(max-width:800px){.desk-cards{grid-template-columns:1fr 1fr}#desk-nav{padding:8px}#desk-nav button{padding:10px 12px}}@media(max-width:480px){.desk-cards{grid-template-columns:1fr}}
/* Default market dashboard: measurements first, controls second. */
.dashboard-heading{display:flex;justify-content:space-between;gap:24px;margin:6px 0 22px}.eyebrow{font-size:10px;color:var(--amber);letter-spacing:.16em}.dashboard-heading h1{font-size:27px;font-weight:500;margin:10px 0}.dashboard-heading p{color:var(--muted);font-size:11px}.dashboard-status{display:flex;flex-direction:column;gap:9px;text-align:right;align-items:flex-end;font-size:11px}.dashboard-status small{color:var(--muted)}.regime-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.regime-card{border:1px solid var(--line);border-top:2px solid #547084;background:linear-gradient(145deg,#172530,#0f171e);padding:17px;display:flex;flex-direction:column;gap:12px}.regime-card strong{font-size:15px;font-weight:500}.regime-card small{color:var(--muted);font-size:10px}.dashboard-section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 12px}.dashboard-section-title h2{margin:0;font-size:12px;color:var(--amber)}.dashboard-section-title span{font-size:10px;color:var(--muted)}.futures-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:24px}.future-card{padding:14px;text-align:left;white-space:normal;background:#101921}.future-card>div{display:flex;justify-content:space-between;gap:8px}.future-card>div strong{color:var(--blue)}.future-card>b{display:block;font-size:23px;font-weight:500;margin:9px 0}.future-card svg{width:100%;height:38px;display:block;margin-bottom:10px}.future-card small{font-size:9px;color:var(--muted)}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px}.dashboard-main,.dashboard-aside{min-width:0}.dashboard-main .panel,.dashboard-aside .panel{margin-bottom:16px}.compact{padding:10px 15px}.relationship-link{border:0;background:transparent;padding:4px 0;text-align:left;white-space:normal}.relationship-link strong{color:var(--blue);font-size:12px;display:block}.relationship-link small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.dashboard-main td{font-size:11px;padding:10px}.relationship-stats{display:flex;flex-wrap:wrap;gap:25px}.relationship-stats span{display:flex;flex-direction:column;gap:8px}.relationship-stats small{color:var(--muted)}.relationship-stats b{font-size:20px;font-weight:500}.relationship-form-grid{display:grid;grid-template-columns:1fr 1fr 1.5fr auto;gap:12px;align-items:center}.relationship-form-grid label{margin:0}.regime-timeline{padding:4px 16px}.regime-timeline button{display:block;background:transparent;border:0;border-bottom:1px solid var(--line);width:100%;text-align:left;padding:14px 0;white-space:normal}.regime-timeline small,.regime-timeline strong,.regime-timeline span{display:block;line-height:1.8}.regime-timeline small{color:var(--muted);font-size:9px}.regime-timeline strong{font-weight:500;font-size:11px}.regime-timeline span{color:var(--amber);font-size:9px}.task-status{display:flex;flex-direction:column;gap:6px;margin:14px 0;font-size:10px}.dashboard-shortcuts{display:flex;flex-direction:column;padding:12px;gap:8px}.dashboard-shortcuts button{text-align:left}.breadth-bars>div{margin:15px 0;font-size:10px}.breadth-bars strong{float:right;color:var(--amber)}.breadth-bars progress{display:block;width:100%;height:7px;margin:8px 0;accent-color:#70b7a1}.dashboard-disclaimer{color:var(--muted);line-height:1.7;font-size:10px}.dashboard-aside .body small{color:var(--muted)}#relationship-roc-chart{height:150px}@media(min-width:1750px){.futures-grid{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(max-width:1100px){.dashboard-columns{grid-template-columns:minmax(0,1fr)}.dashboard-aside{display:grid;grid-template-columns:1fr 1fr;gap:12px}.regime-grid{grid-template-columns:1fr 1fr}.relationship-form-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.futures-grid{grid-template-columns:1fr 1fr}.dashboard-heading{flex-direction:column}.dashboard-status{align-items:flex-start;text-align:left}.dashboard-aside{display:block}.dashboard-section-title{align-items:flex-start;flex-direction:column;gap:6px}.regime-card{padding:12px}.regime-card strong{font-size:12px}.dashboard-heading h1{font-size:23px}}

.configuration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.configuration-card{border:1px solid #30414c;padding:16px;display:grid;gap:10px;min-width:0;background:#101921}.configuration-card svg{width:100%;height:70px}.configuration-card code{font-size:12px;white-space:normal}.configuration-card small{color:#8b9ba7}.configuration-card.selected{border:2px solid #eab35c;background:#282314}.configuration-card.provisional{border:2px dashed #eab35c}.level-status-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.level-status{padding:8px;border:1px solid #667985;text-transform:uppercase}.level-status.confirmed{color:#48d4a0;border-color:#48d4a0}.level-status.developing{color:#eab35c}.level-status.unavailable{color:#ef847d}.level-status-heading h1{overflow-wrap:anywhere}@media(max-width:1000px){.configuration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.configuration-grid{grid-template-columns:1fr}.level-status-heading{display:block}.level-status{display:inline-block;margin:8px 0}}

[hidden]{display:none!important}

.brief-prose{white-space:pre-wrap;line-height:1.7;max-height:360px;overflow:auto}

.gex-chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:14px;align-items:start}.gex-chart-layout>*,#uw-level-rail{min-width:0}.gex-rail-level{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding:10px 0;border-bottom:1px solid var(--line)}.gex-rail-level small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.gex-rail-level .gex-method{flex-basis:100%;line-height:1.5}#uw-level-rail p{line-height:1.7;font-size:11px}#uw-level-rail h3{font-size:11px}@media(max-width:1100px){.gex-chart-layout{grid-template-columns:minmax(0,1fr)}#uw-level-rail{display:grid;grid-template-columns:1fr 1fr;gap:12px}}@media(max-width:600px){#uw-level-rail{display:block}}

.pair-hover-point:hover{opacity:1}#pair-charts>details>.panel{padding:10px}#pair-charts button.active{border-color:var(--amber);color:var(--amber)}
.macro-chart{display:block;width:100%;min-height:180px}.macro-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;margin-bottom:10px}.macro-color-0{color:#ffb44c}.macro-color-1{color:#64c9ed}.macro-color-2{color:#cb98f0}.macro-color-3{color:#7cd7a0}
.sector-return-row{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(100px,1fr) 80px 150px;align-items:center;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid #27343e;padding:9px}.sector-return-row svg{width:100%;height:24px}@media(max-width:650px){.sector-return-row{grid-template-columns:1fr 90px}.sector-return-row svg{grid-column:1}.sector-return-row>span:last-child{font-size:10px}}

.macro-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.macro-grid .panel{min-width:0}@media(max-width:950px){.macro-grid{grid-template-columns:minmax(0,1fr)}}

.option-chart-scroll{overflow-x:auto;max-width:100%}.option-chart-scroll svg{display:block;width:100%;min-width:560px}

#matrix-grid button.matrix-positive-strong{background:#235e48}#matrix-grid button.matrix-positive-medium{background:#194635}#matrix-grid button.matrix-positive-weak{background:#172e27}#matrix-grid button.matrix-negative-strong{background:#773b47}#matrix-grid button.matrix-negative-medium{background:#572e35}#matrix-grid button.matrix-negative-weak{background:#32232c}.valuation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.valuation-grid label{min-width:0}@media(max-width:950px){.valuation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.valuation-grid{grid-template-columns:minmax(0,1fr)}}

.recovery-scroll{max-width:100%;overflow-x:auto}.recovery-chart{display:block;width:100%;min-width:660px;height:auto}.recovery-scroll svg text{font-family:monospace}#pair-recovered .body,#treasury-recovered .body{min-width:0}

.pair-plot{width:100%;display:block;background:#0b1219}

.recovery-color-0{color:#64c9ed}.recovery-color-1{color:#ffb44c}.recovery-color-2{color:#b69bed}.recovery-color-3{color:#70d5a0}

/* Today prioritizes readable event names and instrument state over dense clipping. */
#today-events td:nth-child(2),#today-execution td {white-space:normal;overflow:visible;text-overflow:clip;max-width:none}
#today-overview details>summary {padding:12px 8px;cursor:pointer}
#today-execution .grid>.body {min-width:0}
#today-symbol {max-width:180px}

#today-overview > .panel > .tablewrap,#today-execution .tablewrap {max-height:none}

.exposure-scroll{overflow:auto;padding:12px;max-height:650px}.exposure-scroll svg{display:block;max-width:none}.exposure-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#exposure-workspace{min-width:0}#exposure-workspace .panel{margin:12px 0}@media(max-width:700px){.exposure-controls{grid-template-columns:1fr 1fr}}

.candle-chart{width:100%;min-width:640px;height:auto;display:block}.candle-frame{min-width:0;overflow-x:auto}.ohlc-candle:hover{filter:brightness(1.5)}

/* The trading map leads; calculations and history follow it. */
.gex-chart-layout{grid-template-columns:minmax(0,1fr) 270px;gap:12px}.gex-chart-layout .surface-canvas{height:clamp(620px,78vh,900px)}#uwresults>.gex-chart-layout{margin-top:0}#gex-refresh-status{padding:6px 12px;margin:0}#exposure-workspace .exposure-scroll{max-height:none}#exposure-workspace .exposure-controls{grid-template-columns:repeat(6,minmax(0,1fr))}@media(max-width:1100px){.gex-chart-layout{grid-template-columns:minmax(0,1fr)}}@media(max-width:850px){#exposure-workspace .exposure-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}

.gex-canvas-scroll{overflow-x:auto;max-width:100%}.gex-canvas-scroll .surface-canvas{min-width:300px}

#gex-price-plan{grid-column:1/-1;min-width:0}#gex-price-plan .panel{margin:0}.gex-plan-cases{display:grid;grid-template-columns:1fr 1fr;gap:24px}.gex-plan-cases h3{margin-top:0}@media(max-width:650px){.gex-plan-cases{grid-template-columns:1fr;gap:8px}}

.today-positioning{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:18px;padding:16px}.today-positioning>div{min-width:0}.today-positioning small{overflow-wrap:anywhere}@media(max-width:1000px){.today-positioning{grid-template-columns:1fr}}

.today-trend-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.today-trend-strip>div{padding:12px;border:1px solid #293945}.today-trend-strip strong{display:block;margin-top:8px}@media(max-width:650px){.today-trend-strip{grid-template-columns:1fr}}

@media(max-width:650px){.gex-chart-layout .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gex-chart-layout .actions>*{min-width:0}.gex-chart-layout .actions select,.gex-chart-layout .actions input{width:100%;min-width:0}#exposure-workspace .exposure-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.gex-label-key{font-size:11px}.gex-chart-layout .body{padding:10px}}

/* Readable saved AI reports; the Markdown source remains unchanged. */
.briefing-layout{grid-template-columns:minmax(260px,320px) minmax(0,1fr);align-items:start}.briefing-layout>div{min-width:0}.brief-prose{white-space:normal;max-height:none;overflow:visible;max-width:100%;font-family:system-ui,sans-serif;font-size:14px;line-height:1.7;overflow-wrap:anywhere;padding:12px 0;color:#cbd6df}.brief-prose h2,.brief-prose h3,.brief-prose h4,.brief-prose h5,.brief-prose h6{display:block;background:none;border:0;font-family:monospace;color:#efb657;margin:1.6em 0 .65em;padding:0;line-height:1.4;text-transform:none}.brief-prose h2{font-size:20px;border-bottom:1px solid #2c3b47;padding-bottom:8px}.brief-prose h3{font-size:17px}.brief-prose h4{font-size:15px}.brief-prose p{margin:.6em 0 1em}.brief-prose strong{color:#f1f5f8}.brief-prose ul,.brief-prose ol{padding-left:24px;margin:.65em 0 1.2em}.brief-prose li{padding-left:4px;margin:.4em 0}.brief-prose li>p{margin:.25em 0}.brief-prose blockquote{border-left:3px solid #ab8d50;margin:16px 0;padding:10px 16px;background:#151b21;color:#c5ced5}.brief-prose code{background:#17222c;padding:2px 5px;border-radius:3px;font-size:.9em}.brief-prose pre{max-height:none;padding:14px;overflow:auto;white-space:pre;background:#101820}.brief-prose pre code{padding:0;background:none}.brief-prose th,.brief-prose td{text-align:left;white-space:normal;min-width:110px;padding:10px 12px;font-size:13px;vertical-align:top}.brief-prose th{color:#efb657}.brief-prose hr{border:0;border-top:1px solid #2c3b47;margin:24px 0}.brief-prose a{text-decoration:underline;text-underline-offset:3px}@media(max-width:900px){.briefing-layout{grid-template-columns:1fr}.briefing-layout>div{grid-row:auto}.brief-prose{font-size:14px}.brief-prose h2{font-size:18px}}
#calendar-filter-dialog{background:#101820;color:#ccd7df;border:1px solid #435260;width:min(560px,calc(100vw - 32px));max-height:85vh;padding:0;overflow:auto}#calendar-filter-dialog::backdrop{background:rgba(0,0,0,.7)}.calendar-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.calendar-filter-grid>*{min-width:0}.calendar-filter-grid select,.calendar-filter-grid input{width:100%}@media(max-width:550px){.calendar-filter-grid{grid-template-columns:1fr}}

.ticker-name{cursor:help;border-bottom:1px dotted #6c8598}.panel h2 .ticker-name{float:none;font-size:inherit;color:inherit;letter-spacing:inherit}.ticker-name:focus-visible{outline:1px solid #e6ae52;outline-offset:3px}

/* Subject research keeps historical exploration separate from live validation. */
.research-subject-nav button[aria-pressed="true"]{border-color:#d9ae65;color:#efc47c;background:#26313b}
.research-study-dialog{background:#101820;color:#dce5ee;border:1px solid #526777;width:min(1150px,94vw);max-width:94vw;max-height:90vh;overflow:auto;padding:20px}
.research-study-dialog::backdrop{background:rgba(0,0,0,.75)}
.research-study-dialog .actions{justify-content:space-between;position:sticky;top:-20px;background:#101820;z-index:1;padding:10px 0}
.research-diagnostics{padding:16px;border:1px solid #334451;margin-top:20px}
#research-comparison-table{max-height:560px;overflow:auto}
#research-comparison-table th{position:sticky;top:0;background:#17232d;z-index:1}
.research-study-dialog h2{font-size:18px}
@media(max-width:600px){.research-study-dialog{padding:12px;width:96vw;max-width:96vw}.research-subject-nav{flex-wrap:wrap}.research-study-dialog .actions{top:-12px}}
.instrument-link{padding:2px 5px;border:0;border-bottom:1px dotted #9bafbf;background:transparent;color:#b8d8f2;cursor:pointer}
.instrument-inspector{width:min(1200px,95vw);max-width:95vw;max-height:94vh;overflow:auto;background:#101820;color:#dce5ee;border:1px solid #526777;padding:18px}
.instrument-inspector::backdrop{background:rgba(0,0,0,.75)}
.inspector-header{position:sticky;top:-18px;z-index:3;display:flex;justify-content:space-between;height:auto;padding:10px 0;background:#101820}
.inspector-header h2{font-size:18px;white-space:normal}.instrument-inspector select{max-width:440px;width:100%}.instrument-inspector label{min-width:100px}.inspector-pan{flex:1}
#inspector-status{padding:8px 0;color:#a6bac9}#inspector-context{border-top:1px solid #354451;padding-top:12px}
@media(max-width:600px){.instrument-inspector{padding:10px}.instrument-inspector .actions{display:flex;flex-wrap:wrap}.instrument-inspector label{max-width:100%;flex:1 1 140px}.inspector-header{top:-10px}.inspector-header h2{font-size:15px}}
#inspector-pan{direction:rtl}#inspector-lookup input{max-width:180px}

.uw-prep-map-frame{max-height:480px;overflow:auto}.uw-prep-map-frame svg{width:100%;min-width:450px}

/* Historical exposure explorer: independent of live chart refresh. */
.eh-shell{margin:20px 0;border:1px solid #314151;background:#0a1017}.eh-shell>summary{padding:15px;color:#c3d8e9;cursor:pointer}.eh-body{padding:16px;min-width:0}.eh-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:15px}.eh-controls label{display:flex;flex-direction:column;font-size:11px;gap:5px}.eh-controls select{max-width:250px}.eh-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.eh-metrics small{display:block;color:#8fa6ba}.eh-metrics strong{display:block;font-size:24px;margin-top:5px}.eh-chart-wrap{position:relative;min-width:0}.eh-chart{width:100%;height:440px;display:block;touch-action:pan-y}.eh-chart[data-view="landscape"]{height:660px}.eh-tooltip{display:block;min-height:38px;font:12px monospace;padding:8px;color:#d5e8f7}.eh-status,.eh-caption{font-size:12px;color:#9bb1c4;line-height:1.6}.eh-body[aria-busy=true]{opacity:.75}@media(max-width:650px){.eh-body{padding:8px}.eh-metrics{grid-template-columns:repeat(2,1fr)}.eh-controls{gap:8px}.eh-controls select{max-width:180px}.eh-metrics strong{font-size:20px}}

.uw-session-nav{display:flex;align-items:center;gap:6px;margin:0 0 12px;max-width:100%}.uw-session-nav select{width:110px;min-width:0}.uw-session-nav input{width:160px;min-width:0}.uw-session-nav button{padding:10px 12px}.uw-prep-map-frame{max-height:680px}#uw-preparation .resultmetrics{margin:12px 0}#uw-preparation .actions{flex-wrap:wrap}@media(max-width:450px){.uw-session-nav{gap:4px}.uw-session-nav select{width:84px}.uw-session-nav input{width:145px}.uw-session-nav button{padding:10px}}
.uw-session-nav>*{height:40px;margin:0}#uw-preparation .resultmetrics{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:650px){#uw-preparation .resultmetrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.uw-prep-map-frame{max-height:880px}.uw-tail-toggle{display:flex;align-items:center;gap:8px;margin:8px 0}.uw-tail-toggle input{width:auto;margin:0}@media(max-width:650px){.uw-prep-map-frame{max-height:70vh}}
.uw-prep-map-frame svg{max-width:900px;display:block;margin:0 auto}
.dynamics-readout{display:block;min-height:64px;color:var(--text);line-height:1.7;border-top:1px solid var(--line)}.dynamics-timeseries svg{touch-action:pan-y}
.gex-chart-layout{display:flex;flex-direction:column}.gex-chart-layout>.panel,.gex-chart-layout>#uw-level-rail,.gex-chart-layout>#gex-price-plan{width:100%}#uw-level-rail{display:block}#uw-level-rail .body{display:flex;flex-wrap:wrap;gap:10px}#uw-level-rail .body>p{flex-basis:100%;margin:0}.gex-rail-level{flex:1 1 125px;border:1px solid var(--line);padding:10px;gap:10px}.gex-lwc-shell{display:grid;grid-template-columns:125px minmax(0,1fr);height:660px;width:100%}.gex-lwc-price{position:relative;min-width:0;height:100%}.gex-lwc-chart{position:absolute;inset:0}.gex-lwc-overlay{position:absolute;inset:0;pointer-events:none;z-index:2;width:100%;height:100%}.gex-lwc-exposure{width:100%;height:100%}.gex-chart-credit{margin:10px 0}.gex-chart-credit a{color:var(--amber)}@media(max-width:650px){.gex-lwc-shell{grid-template-columns:65px minmax(0,1fr);height:540px}.gex-rail-level{flex-basis:110px}}

.gex-label-list{list-style:none;padding:0;margin:12px 0;display:flex;flex-direction:column;gap:7px}

.greek-metric-help{position:relative}.greek-metric-help button{cursor:help;background:none;border:0;padding:0;color:inherit;font:inherit;text-align:left;text-decoration:underline dotted;text-underline-offset:4px}.greek-help-text{display:none;position:absolute;bottom:calc(100% + 6px);left:0;width:min(310px,75vw);padding:14px;background:#17232d;color:#e0e8ed;border:1px solid var(--line);box-shadow:0 6px 24px #0008;z-index:10;font-size:12px;line-height:1.6;font-weight:normal}.greek-help-text p{margin:0 0 10px}.greek-help-text a{color:var(--amber)}.greek-metric-help:hover>.greek-help-text,.greek-metric-help:focus-within>.greek-help-text,.greek-metric-help[open]>.greek-help-text{display:block}#uw-prep-summary .metric:last-child .greek-help-text{left:auto;right:0}@media(max-width:650px){#uw-prep-summary .metric:nth-child(even) .greek-help-text{left:auto;right:0}}

#view:has(#relationship-engine)[aria-busy="true"]::after,#relationship-detail[aria-busy="true"]::after{content:"Updating saved analysis…";position:fixed;right:18px;bottom:18px;z-index:30;padding:10px 14px;background:#17232d;color:#e0e8ed;border:1px solid var(--line);pointer-events:none}

.expiry-map-scroll,#exposure-workspace .expiry-map-scroll.exposure-scroll{max-height:calc(100vh - 28px);min-height:min(86vh,1400px);overflow:auto;margin:0 12px 12px}.expiry-map{border-collapse:separate;border-spacing:2px;width:100%;font-size:12px}.expiry-map th,.expiry-map td{padding:0;text-align:center;white-space:nowrap}.expiry-map thead th{position:sticky;top:0;z-index:3;background:#17232d;padding:10px 8px}.expiry-map th:first-child{position:sticky;left:0;z-index:2;background:#17232d;min-width:85px;padding:5px 8px}.expiry-map thead th:first-child{z-index:4}.expiry-map small{display:block;color:#9db0c0;font-size:10px;margin-top:4px}.expiry-map td button{display:block;width:100%;min-width:88px;padding:8px 6px;border:0;background:transparent;color:#edf3f8;font:inherit}.expiry-map td button:focus-visible{outline:2px solid #e5c37d;outline-offset:-2px}.expiry-spot-row td{box-shadow:inset 0 1px #e5c37d,inset 0 -1px #e5c37d}.expiry-map-readout{min-height:55px;overflow-wrap:anywhere}@media(max-width:650px){.expiry-map-scroll,#exposure-workspace .expiry-map-scroll.exposure-scroll{max-height:88vh;min-height:70vh}.expiry-map{font-size:11px}}

.expiry-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:12px;align-items:start}.expiry-map-layout>*{min-width:0}.expiry-level-callouts{padding:0 12px 12px;max-height:calc(100vh - 28px);overflow:auto}.expiry-level-callouts h3{font-size:12px}.expiry-level-callouts article{border:1px solid var(--line);border-left:3px solid;margin:10px 0;padding:12px;font-size:12px;line-height:1.6}.expiry-level-callouts small{display:block;color:var(--muted);margin-top:6px}.expiry-level-callouts article p{margin:8px 0}.expiry-level-row td{outline:1px solid #9aacbc;outline-offset:-1px}.exposure-map-nav a{color:var(--amber);padding:10px;border:1px solid var(--line);text-decoration:none}#expiry-heatmap,#intraday-heatmap{scroll-margin-top:18px}@media(max-width:1000px){.expiry-map-layout{grid-template-columns:minmax(0,1fr)}.expiry-level-callouts{max-height:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.expiry-level-callouts>h3,.expiry-level-callouts>p{grid-column:1/-1}}@media(max-width:550px){.expiry-level-callouts{grid-template-columns:minmax(0,1fr)}}

.expiry-map td.expiry-asynchronous{outline:1px dotted #d9c594;outline-offset:-2px}

.expiry-color-key{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:11px}.expiry-color-ramp{display:block;width:180px;height:14px;background:linear-gradient(90deg,#be1e30,#581e30,#19252d,#0f4831,#0fac31);border:1px solid #43505a}.expiry-color-key small{color:var(--muted)}

.expiry-map td button{background:inherit;color:#f2f7fa}.expiry-map td.expiry-missing{background:#28313b}.expiry-map td.expiry-zero{background:#19252d}
.expiry-map td.expiry-positive-0{background:rgb(15,72,49)}.expiry-map td.expiry-negative-0{background:rgb(88,30,48)}
.expiry-map td.expiry-positive-1{background:rgb(15,83,49)}.expiry-map td.expiry-negative-1{background:rgb(99,30,48)}
.expiry-map td.expiry-positive-2{background:rgb(15,94,49)}.expiry-map td.expiry-negative-2{background:rgb(111,30,48)}
.expiry-map td.expiry-positive-3{background:rgb(15,105,49)}.expiry-map td.expiry-negative-3{background:rgb(122,30,48)}
.expiry-map td.expiry-positive-4{background:rgb(15,116,49)}.expiry-map td.expiry-negative-4{background:rgb(133,30,48)}
.expiry-map td.expiry-positive-5{background:rgb(15,128,49)}.expiry-map td.expiry-negative-5{background:rgb(145,30,48)}
.expiry-map td.expiry-positive-6{background:rgb(15,139,49)}.expiry-map td.expiry-negative-6{background:rgb(156,30,48)}
.expiry-map td.expiry-positive-7{background:rgb(15,150,49)}.expiry-map td.expiry-negative-7{background:rgb(167,30,48)}
.expiry-map td.expiry-positive-8{background:rgb(15,161,49)}.expiry-map td.expiry-negative-8{background:rgb(179,30,48)}
.expiry-map td.expiry-positive-9{background:rgb(15,172,49)}.expiry-map td.expiry-negative-9{background:rgb(190,30,48)}
.exposure-code-CW{--exposure-level-color:#f5bb55}.expiry-map small.exposure-code-CW,.gex-label-list .exposure-code-CW{color:#f5bb55}
.exposure-code-PW{--exposure-level-color:#60aef0}.expiry-map small.exposure-code-PW,.gex-label-list .exposure-code-PW{color:#60aef0}
.exposure-code-GF{--exposure-level-color:#b18afa}.expiry-map small.exposure-code-GF,.gex-label-list .exposure-code-GF{color:#b18afa}
.exposure-code-GM{--exposure-level-color:#e0e8ed}.expiry-map small.exposure-code-GM,.gex-label-list .exposure-code-GM{color:#e0e8ed}
.exposure-code-GC-positive{--exposure-level-color:#72d8ad}.expiry-map small.exposure-code-GC-positive,.gex-label-list .exposure-code-GC-positive{color:#72d8ad}
.exposure-code-GC-negative{--exposure-level-color:#ed9ba7}.expiry-map small.exposure-code-GC-negative,.gex-label-list .exposure-code-GC-negative{color:#ed9ba7}
.exposure-code-CC{--exposure-level-color:#f5bb55}.expiry-map small.exposure-code-CC,.gex-label-list .exposure-code-CC{color:#f5bb55}
.exposure-code-PC{--exposure-level-color:#60aef0}.expiry-map small.exposure-code-PC,.gex-label-list .exposure-code-PC{color:#60aef0}
.exposure-code-PIN{--exposure-level-color:#e0e8ed}.expiry-map small.exposure-code-PIN,.gex-label-list .exposure-code-PIN{color:#e0e8ed}
.expiry-level-callouts article{border-left-color:var(--exposure-level-color)}.expiry-level-callouts article strong{color:var(--exposure-level-color)}

.expiry-map-layout{position:relative;column-gap:36px}.expiry-connectors{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:5}.expiry-range-controls{margin-bottom:0}.expiry-range-controls button[aria-pressed="true"]{color:var(--amber);border-color:var(--amber)}@media(max-width:1000px){.expiry-connectors{display:none}}

/* Upcoming-session inventory belongs in the main GEX chart, independent of candles. */
.gex-chart-layout [hidden]{display:none!important}.gex-chart-layout.gex-awaiting-session>.gex-plot{grid-column:1/-1;grid-row:1}.gex-retained-session{padding:12px;color:var(--text)}.gex-retained-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.gex-retained-heading h3{color:var(--amber);font-size:14px}.gex-retained-session p{font-size:12px;color:var(--muted-2);line-height:1.6}.gex-retained-heading select{min-width:145px}.gex-retained-scroll{overflow-x:auto}.gex-retained-scroll svg{display:block;width:100%;min-width:640px;min-height:320px;background:#080a0d}.gex-retained-scroll svg text{fill:#b4bcc4;font:11px monospace}.gex-retained-bar:focus,.gex-retained-bar:hover{stroke:#fff;stroke-width:1}.gex-mag7-tickers{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:8px 14px;border-bottom:1px solid var(--line);align-items:center}.gex-mag7-tickers>span{font-size:10px;color:var(--muted-2);margin-right:8px}.gex-mag7-tickers button{padding:5px 10px}.gex-mag7-tickers button.active{color:var(--amber);border-color:var(--amber)}@media(max-width:650px){.gex-retained-heading{flex-direction:column}.gex-retained-session{padding:6px}.gex-mag7-tickers{padding:8px;gap:4px}.gex-mag7-tickers button{padding:5px 7px}}
