
.sh-changes{border:1px solid var(--border-mid);border-radius:6px;padding:10px 12px;margin:8px 0 12px;font-family:var(--fb);display:grid;gap:8px}
.sh-change-heading{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.sh-changes span,.sh-changes small{color:var(--text-muted);font-size:12px}.sh-change-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sh-change-values>div{display:grid;gap:4px}.sh-change-values strong{font:500 15px var(--fm)}.sh-change-values small{overflow-wrap:anywhere}
.gex-tour-launch{font:500 11px var(--fm);color:var(--accent);background:transparent;border:1px solid var(--border-mid);padding:7px 10px;cursor:pointer;white-space:nowrap}
.gex-tour{position:fixed;z-index:11000;bottom:18px;right:18px;width:min(360px,calc(100vw - 32px));box-sizing:border-box;padding:16px;background:var(--bg-panel);border:1px solid var(--accent);border-radius:8px;box-shadow:0 8px 35px #0008;font:14px/1.5 var(--fb)}.gex-tour[hidden]{display:none}.gex-tour h2{font:600 18px var(--fb);margin:8px 0}.gex-tour p{margin:8px 0 14px;color:var(--text-muted)}.gex-tour-head,.gex-tour-actions{display:flex;justify-content:space-between;gap:10px;align-items:center}.gex-tour button,.gex-tour a{font:500 12px var(--fb);padding:8px 10px;border:1px solid var(--border-mid);background:var(--bg-elevated);color:var(--text);cursor:pointer}.gex-tour-target{outline:2px solid var(--accent);outline-offset:4px}.gex-tour-head span{font:11px var(--fm);color:var(--accent)}
@media(max-width:600px){.sh-change-values{gap:8px}.sh-change-values strong{font-size:13px}.sh-change-values small{font-size:10px}.sh-change-heading span{font-size:11px}.gex-tour-launch{padding:6px}.gex-tour{bottom:10px;right:16px}}
.gex-tour-target{scroll-margin-top:140px}
.gex-tour{width:min(390px,calc(100vw - 32px));max-height:calc(100dvh - 32px);display:flex;flex-direction:column}.gex-tour-copy{overflow-y:auto;min-height:0}.gex-tour-action strong{color:var(--text);display:block}.gex-tour details{margin:8px 0 12px}.gex-tour summary{cursor:pointer;color:var(--accent)}.gex-tour-actions{margin-top:10px;flex-shrink:0}.gex-tour-actions>div{display:flex;gap:8px}.gex-tour button:disabled{opacity:.4;cursor:default}.gex-tour a.gex-tour-guide{border:0;background:transparent;padding:8px 0 0;color:var(--accent);align-self:flex-start}.gex-tour button:focus-visible,.gex-tour a:focus-visible,.gex-tour summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gex-tour-head,.gex-tour h2{flex-shrink:0}
@media(max-width:600px){.gex-tour{max-height:55dvh;padding:12px;font-size:13px;line-height:1.45}.gex-tour h2{font-size:16px;margin:6px 0}.gex-tour p{margin:6px 0 10px}.gex-tour button{min-height:36px}.gex-tour .gex-tour-actions{margin-top:6px}}
.gex-tour-choices{display:grid;gap:8px}.gex-tour-choices button{text-align:left;padding:12px}.gex-tour-choices button[data-quick],.gex-tour button[data-try]{border-color:var(--accent);color:var(--accent)}.gex-tour-choices strong,.gex-tour-choices span{display:block}.gex-tour-choices span{margin-top:4px;color:var(--text-muted)}.gex-tour-resume{display:block;color:var(--text-muted);font-size:11px;margin:6px 0}.gex-tour-topics>div{display:grid;gap:4px;margin-top:8px}.gex-tour-topics button{text-align:left}.gex-tour-topics summary{padding:6px 0}
/* Keep the reset beside the view controls without adding a separate row. */
.gex-view-preferences{align-self:flex-end;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.gex-view-preferences button{font:inherit;font-size:12px;color:var(--text-muted);background:transparent;border:1px solid var(--border-mid);border-radius:4px;padding:7px 9px;min-height:36px;cursor:pointer}
.gex-view-preferences button:hover,.gex-view-preferences button:focus-visible{color:var(--text);border-color:var(--accent)}
.gex-view-status{font-size:11px;color:var(--text-muted)}
@media(max-width:600px){.context-toolbar .hr-left:has(.gex-view-preferences){gap:6px}.gex-view-preferences button{min-height:40px;padding:6px;font-size:11px}.gex-view-preferences{margin-left:auto}.gex-view-status:not(:empty){position:absolute;right:10px;background:var(--bg-panel);padding:2px 4px;transform:translateY(-32px)}}
@media(max-width:400px){body.stage5 .context-toolbar .tabs .tab,body.stage5 .context-toolbar .workspace-scope .tn{padding-left:7px;padding-right:7px}}
/* Keep scope and metric visible without squeezing the session date on phones. */
@media (max-width:640px) {
  .session-history .sh-toolbar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; }
  .session-history .sh-toolbar .sh-metric-toggle { grid-column:auto; }
  .session-history .sh-toolbar label { grid-column:1; }
  .session-history .sh-toolbar [data-history-refresh] { grid-column:2; }
}

/* Selected time follows the thumb, clamped inside the track at either end. */
.session-history .sh-slider-track { padding-top:24px; }
.session-history .sh-slider-track .sh-selected-time { position:absolute; top:3px; width:108px; text-align:center; left:clamp(0px, calc(var(--capture-position) - 54px), calc(100% - 108px)); }
.session-history .sh-coverage { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.session-history .sh-coverage [data-history-latest] { margin-left:auto; border:1px solid var(--border-strong); background:var(--bg); color:var(--text); padding:5px 8px; font:.7rem var(--fm); border-radius:2px; cursor:pointer; min-height:32px; }
.session-history .sh-coverage a { margin-left:4px; }
@media(max-width:640px) { .session-history .sh-coverage [data-history-latest] { min-height:40px; } }

/* Scoped to the preview workspace; the public dashboard keeps its shipped assets. */
.ex-visual{min-width:0}
.ex-composition-key{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font:12px/1.5 var(--fb);color:var(--text)}
.ex-composition-key>span{display:inline-flex;align-items:center;gap:6px}
.ex-composition-key i{display:inline-block;width:9px;height:14px;opacity:.85;background:var(--bullish)}
.ex-composition-key i.put{background:var(--bearish)}
.ex-composition-key i.net{width:18px;height:2px;background:var(--text);opacity:1}
.ex-series-legend p{margin:4px 0;font:12px/1.5 var(--fb)}
.ex-series-legend .ex-line-key{font-size:11px;color:var(--text-muted)}
.ex-inspect-metric .ex-net-reading{margin-top:4px;line-height:1.5;overflow-wrap:anywhere}
.ex-chart-readout,.ex-chart-key{display:none}
.ex-chart-readout:empty{display:none!important}
.ex-chart-readout{padding:.5rem .6rem;background:var(--bg-elevated);border-left:2px solid var(--border-strong);font:.75rem/1.5 var(--fb);font-variant-numeric:tabular-nums}
.ex-chart-readout-main{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.25rem .75rem}
.ex-chart-readout-main>strong{font:500 .8rem var(--fm)}
.ex-chart-readout-main>span{color:var(--text-muted)}
.ex-chart-readout b{color:var(--text);font:500 .75rem var(--fm);white-space:nowrap}
.ex-chart-readout-parts{display:flex;flex-wrap:wrap;gap:.2rem .9rem;margin-top:.25rem}
.ex-chart-readout-parts>span{display:inline-flex;gap:.3rem;align-items:baseline;white-space:nowrap}
.ex-chart-readout-parts i{height:.65rem;width:.4rem;display:inline-block;background:var(--bullish);opacity:.85}
.ex-chart-readout-parts i.put{background:var(--bearish)}
.ex-chart-readout small{display:block;font:.65rem/1.45 var(--fb);color:var(--text-muted);margin-top:.2rem}
.ex-chart-readout [data-component-status="mismatch"]{color:var(--bearish)}
.hm-components{margin-top:8px;padding-top:8px;border-top:1px solid var(--border)}
.hm-components svg{width:100%;height:125px;display:block}
.hm-components svg text{fill:var(--text-muted);font:11px var(--fm)}
.hm-component-bar{opacity:.85}.hm-component-bar.call{fill:var(--bullish)}.hm-component-bar.put{fill:var(--bearish)}
.hm-component-zero{stroke:var(--border-strong);stroke-dasharray:3 4}
.hm-component-values{display:flex;gap:8px 16px;flex-wrap:wrap;font:12px/1.5 var(--fb)}
.hm-component-values b{font-family:var(--fm);white-space:nowrap}
.hm-components p{font:11px/1.5 var(--fb);color:var(--text-muted);margin:4px 0}
.ex-workspace{grid-column:1/-1;background:var(--bg-panel);border:1px solid var(--border);padding:20px;min-width:0;color:var(--text)}
.ex-heading,.ex-controls,.ex-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ex-heading h2{font:600 22px var(--fd);margin:5px 0}.ex-eyebrow{font:11px var(--fm);letter-spacing:.12em;color:var(--text-muted)}
.ex-context,.ex-coverage,.ex-help p,.ex-bottom>span{font:12px/1.6 var(--fb);color:var(--text-muted);margin:8px 0}
.ex-controls{justify-content:flex-start;padding:12px 0;border-block:1px solid var(--border);margin-bottom:12px}
.ex-workspace button,.ex-workspace select{font:12px var(--fm);padding:9px 12px;border:1px solid var(--border-strong);background:var(--bg);color:var(--text);min-height:40px;border-radius:3px}
.ex-workspace button{cursor:pointer}.ex-workspace button[aria-pressed=true]{border-color:var(--accent);color:var(--accent);background:var(--accent-soft)}
.ex-workspace label{display:flex;align-items:center;gap:8px;font:12px var(--fb);color:var(--text-muted)}
.ex-segments{display:flex;gap:3px}.ex-plots{display:grid;grid-template-columns:1fr;gap:16px}.ex-plots.compare{grid-template-columns:1fr 1fr}
.ex-chart{min-width:0}.ex-chart-label{display:flex;justify-content:space-between;gap:8px;font:13px var(--fm);margin:12px 0 0}.ex-chart-label span{color:var(--text-muted);font:11px var(--fb)}
.ex-chart svg{width:100%;display:block;height:295px}.ex-chart svg text{font:12px var(--fm);fill:var(--text-muted)}
.ex-grid{stroke:var(--border-strong);stroke-dasharray:3 4}.ex-spot{stroke:var(--text-muted);stroke-dasharray:5 5}.ex-crosshair{stroke:var(--accent);stroke-dasharray:2 4;pointer-events:none}
.ex-bar{cursor:crosshair;opacity:.85}.ex-bar.positive{fill:var(--bullish)}.ex-bar.negative{fill:var(--bearish)}.ex-bar.selected{stroke:var(--text);stroke-width:1.5;opacity:1}
.ex-inspect{display:flex;align-items:center;gap:26px;min-height:38px;padding:7px 10px;background:var(--bg-elevated);font:13px var(--fm);flex-wrap:wrap}.ex-inspect small{display:block;font:11px/1.8 var(--fb);color:var(--text-muted)}
.ex-bottom{border-top:1px solid var(--border);padding-top:8px}.ex-help,.ex-ladder{font:12px/1.6 var(--fb);border-top:1px solid var(--border);padding-top:8px;margin-top:8px}.ex-help summary,.ex-ladder summary{cursor:pointer;color:var(--text-muted)}
.ex-expanded{position:fixed;inset:12px;z-index:2000;overflow:auto;background:var(--bg-panel)}
.ex-workspace :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.ex-related{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.ex-related>*{min-width:0}.ex-related .session-history{margin-top:0}
@media(max-width:1100px){.ex-related{grid-template-columns:1fr}}
@media(max-width:700px){.ex-workspace{padding:12px}.ex-heading h2{font-size:19px}.ex-controls{gap:10px}.ex-controls label{flex:1;min-width:130px;flex-direction:column;align-items:stretch}.ex-segments{width:100%}.ex-segments button{flex:1}.ex-plots.compare{grid-template-columns:1fr}.ex-chart svg{height:auto;max-height:240px}.ex-chart svg text{font-size:19px}.ex-inspect{gap:8px 16px;font-size:12px}.ex-inspect>strong{width:100%}.ex-chart-label{font-size:12px}.ex-bottom>span{font-size:11px}.ex-expanded{inset:4px}}

.ex-snapshot{font:12px/1.5 var(--fm);color:var(--text);margin:4px 0 10px}.ex-context{margin-bottom:2px}.ex-expanded .ex-chart svg{height:auto;max-height:65vh}
/* Complete compact workspace layout, scoped to GEX2. */
.ex-workspace{padding:14px}
.ex-heading{gap:8px}.ex-heading h2{font-size:18px;margin:0}.ex-heading button{min-height:32px;padding:5px 9px}
.ex-meta{display:flex;justify-content:space-between;gap:4px 16px;flex-wrap:wrap;margin:6px 0 10px}
.ex-meta .ex-context,.ex-meta .ex-snapshot{font:11px/1.5 var(--fm);margin:0}
.ex-controls{padding:8px 0;margin-bottom:8px;gap:8px}
.ex-controls label{gap:5px;font-size:11px}.ex-workspace select,.ex-controls button{padding:6px 8px;min-height:36px;font-size:11px}
.ex-inspect{gap:8px 18px;min-height:32px;font-size:12px;padding:6px 8px}.ex-inspect small{font-size:10px;line-height:1.5}
.ex-chart-label{margin-top:9px}.ex-chart svg{height:280px}.ex-chart svg text{font-size:11px}
.ex-bottom{padding-top:6px;gap:6px}.ex-bottom>span,.ex-coverage{font-size:10px}.ex-coverage{margin:5px 0}.ex-help,.ex-ladder{margin-top:5px;padding-top:5px;font-size:11px}
body.stage5 .workspace-charts.ex-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:16px;align-items:start}
.ex-layout>.ex-workspace{grid-column:auto}.ex-layout>.ex-history{min-width:0;grid-column:auto}.ex-layout>.ex-history .session-history{margin-top:0}
.ex-layout>.ex-profile{grid-column:1/-1;min-width:0}
.ex-layout.ex-comparing>.ex-workspace{grid-column:1/-1}.ex-layout.ex-comparing>.ex-profile{grid-column:auto}
.ex-empty{min-height:210px;display:flex;align-items:center;justify-content:center;color:var(--text-muted);font:13px var(--fb)}
@media(max-width:1100px){body.stage5 .workspace-charts.ex-layout{grid-template-columns:1fr}.ex-layout.ex-comparing>.ex-profile{grid-column:1/-1}}
@media(max-width:700px){.ex-workspace{padding:10px}.ex-heading h2{font-size:17px}.ex-meta{gap:3px}.ex-meta .ex-snapshot{width:100%}.ex-controls label{flex:1;min-width:0}.ex-controls select{max-width:100%;width:100%}.ex-controls button,.ex-controls select{min-height:40px}.ex-inspect>strong{width:auto}.ex-inspect{gap:6px 12px}.ex-chart svg{height:260px;max-height:none}.ex-chart svg text{font-size:11px}.ex-bottom>span{display:none}.ex-plots{gap:6px}}
.ex-layout.ex-comparing>.ex-profile,.ex-layout.ex-comparing>.ex-history{grid-column:1/-1}
.ex-purpose{font:12px/1.5 var(--fb);color:var(--text);margin:4px 0 8px;max-width:85ch}
.ex-reading{font:11px/1.55 var(--fb);color:var(--text-muted);margin:7px 0;max-width:115ch}
.ex-reading p{margin:0}.ex-reading strong{color:var(--text);font-weight:500}
.ex-inspect-metric{min-width:0}.ex-inspect-metric b{white-space:nowrap}
.ex-inspect-metric small b{font:500 11px var(--fm);color:var(--text)}
.ex-inspect-metric .ex-component-values{display:flex;flex-wrap:wrap;gap:0 12px}.ex-component-values>span{white-space:nowrap}
.ex-reconciliation{color:var(--text-muted)}
.ex-reconciliation[data-reconciliation="mismatch"]{color:var(--bearish)}
@media(max-width:760px){.ex-purpose{font-size:12px;line-height:1.5}.ex-reading{font-size:11px;line-height:1.5}.ex-inspect-metric{flex:1 1 100%}.ex-inspect-metric small b{font-size:11px}.ex-inspect-metric .ex-reconciliation{font-size:10px}}

/* Local workspace chrome. Native chart values, axes and models are preserved. */
.net-flow-testing-notice{box-sizing:border-box;margin:0;padding:10px 20px;border-bottom:1px solid #59443a;background:#251e19;color:#eee2d4;text-align:center;font:.875rem/1.5 var(--fb)}
@media(max-width:600px){.net-flow-testing-notice{padding:10px 16px;text-align:left}}
.workspace-navigation-status{grid-column:1/-1;grid-row:3;margin:0;padding:8px 10px;border:1px solid var(--accent);color:var(--text);font:13px/1.5 var(--fb)}
.workspace-navigation-status[hidden]{display:none}
.complete-map-purpose{font:12px/1.5 var(--fb);color:var(--text);max-width:90ch;margin:6px 0 10px}
.workspace-level-inspect{border:1px solid var(--border-mid);background:var(--bg);color:var(--text);border-radius:3px;cursor:pointer;padding:5px 9px;min-height:32px;font:12px var(--fb);margin:6px 0}
.workspace-level-context{font:11px/1.5 var(--fb);color:var(--text-muted);margin:5px 0}
.kl-row[data-workspace-selected]{outline:1px solid var(--accent);outline-offset:2px}
.hm tr[data-workspace-selected]>.sc{box-shadow:inset 3px 0 var(--accent)}
body.complete-workspace .kl-row-tip{display:none!important}
@media(max-width:760px){.workspace-level-inspect{min-height:40px}.complete-map-purpose{font-size:12px;line-height:1.5}.workspace-navigation-status{order:4}}
/* The appended capability pass below owns responsive layout overrides. */
body.complete-workspace{--bg:#0a0e11;--bg-panel:#10161b;--bg-elevated:#171e24;--text:#e8e6e1;--text-muted:#a0a8ae;--border:#28313a;--border-mid:#36414b;--border-strong:#53606c;color-scheme:dark}
body.complete-workspace .local-preview-note{text-align:center;padding:5px 12px;font:10px/1.4 var(--fm);color:var(--accent);background:#15120d}
body.complete-workspace .topbar{position:relative;min-height:48px;padding:9px 20px;gap:14px;box-sizing:border-box}
body.complete-workspace .brand{font-size:16px}
body.complete-workspace .tutorial-btn{margin-left:auto;font-size:11px;padding:6px 10px}
body.complete-workspace .workspace-intro{max-width:1840px;margin:auto;padding:10px 22px 0;box-sizing:border-box;display:flex;align-items:baseline;justify-content:space-between;gap:8px 18px;flex-wrap:wrap}
body.complete-workspace .workspace-intro h1{margin:0;color:var(--text);font:500 1rem/1.4 var(--fd)}
body.complete-workspace .workspace-intro p{margin:0;color:var(--text-muted);font:.75rem/1.5 var(--fb)}
body.complete-workspace .workspace-intro a{margin-left:12px;color:var(--text-muted);text-decoration:underline;text-underline-offset:3px}
body.complete-workspace .page{display:grid!important;grid-template-columns:132px minmax(0,1fr);gap:12px 18px;max-width:1840px;width:100%;padding:16px 22px;box-sizing:border-box;margin:auto}
body.complete-workspace .context-toolbar{grid-column:1/-1;grid-row:1;margin:0!important;padding:0!important;min-width:0;gap:10px!important}
body.complete-workspace .complete-snapshot-header{grid-column:1/-1;grid-row:2;display:flex;flex-direction:column;gap:5px;min-width:0}
body.complete-workspace .complete-snapshot-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;order:-2;min-height:17px}
body.complete-workspace .complete-snapshot-heading h2{font:500 11px/1.5 var(--fb);margin:0;color:var(--text-muted)}
body.complete-workspace .complete-snapshot-scope{font-weight:400}
body.complete-workspace .complete-current-regime{display:none;font:500 10px/1.5 var(--fm);color:var(--text)}
body.complete-workspace #wsThesis{grid-column:1/-1;grid-row:2;margin:0!important;gap:0;border:1px solid var(--border);border-radius:4px;overflow:visible}
body.complete-workspace #refreshStatus{grid-column:1/-1;grid-row:3}
body.complete-workspace #refreshStatus[hidden]{display:none}
body.complete-workspace #content{grid-column:2;grid-row:4;min-width:0}
body.complete-workspace #workspaceReplayHost,body.complete-workspace #workspacePriceHost{grid-column:2;grid-row:4;min-width:0;width:100%;box-sizing:border-box}
body.complete-workspace #workspaceReplayHost[hidden],body.complete-workspace #workspacePriceHost[hidden]{display:none!important}
body.complete-workspace:is([data-workspace-view="replay"],[data-workspace-view="price"]) #content{display:none!important}
/* The labelled current snapshot stays in the same shell position in every view.
   Historical panels retain their own selected date, scope and capture clock. */
body.complete-workspace .complete-nav{grid-column:1;grid-row:4;display:flex;flex-direction:column;gap:3px;position:sticky;top:14px;align-self:start}
body.complete-workspace .complete-nav button{display:flex;flex-direction:column;gap:4px;align-items:flex-start;text-align:left;padding:10px 9px;background:none;border:1px solid transparent;border-left:2px solid transparent;border-radius:3px;color:var(--text-muted);cursor:pointer;font:500 12px/1.25 var(--fb)}
body.complete-workspace .complete-nav button small{font:10px/1.3 var(--fb);opacity:.8}
body.complete-workspace .complete-nav button[aria-pressed=true]{background:var(--bg-elevated);color:var(--text);border-color:var(--border);border-left-color:var(--accent)}
body.complete-workspace .complete-nav button:not([aria-pressed=true]):hover{background:var(--bg-panel);color:var(--text)}
body.complete-workspace .complete-context-status{margin-left:auto;display:flex;align-items:center;gap:12px}
body.complete-workspace #dataAge{font:10px/1.5 var(--fm);max-width:590px;color:var(--text-muted);text-align:right}
body.complete-workspace .complete-context-status button{border:1px solid var(--border-mid);border-radius:3px;background:var(--bg);color:var(--text);font:11px var(--fb);min-height:32px;padding:6px 9px;white-space:nowrap}
body.complete-workspace #wsThesis .ws-card{border:0!important;border-right:1px solid var(--border)!important;border-radius:0!important;padding:11px 14px!important;background:var(--bg-panel)!important;min-height:0!important}
body.complete-workspace #wsThesis .ws-card:last-child{border-right:0!important}
body.complete-workspace .ws-card-value{font-size:21px!important;line-height:1.35!important}
body.complete-workspace .ws-card-label{font-size:10px!important}
body.complete-workspace .ws-card-sub{font-size:11px!important}
body.complete-workspace .ws-main{display:grid!important;grid-template-columns:minmax(0,1fr) 286px!important;gap:12px!important;align-items:start}
body.complete-workspace .ws-main-left,body.complete-workspace .ws-main-right{min-width:0}
body.complete-workspace .ws-main-right{display:flex!important;flex-direction:column;gap:12px!important}
body.complete-workspace .panel,body.complete-workspace .ws-rail-section{padding:12px!important;border-radius:4px!important;margin:0!important}
body.complete-workspace .panel-title,body.complete-workspace .ws-rail-section>h3{font:600 13px/1.4 var(--fb)!important;letter-spacing:0!important;margin:0 0 5px!important}
body.complete-workspace .panel-h{margin-bottom:10px!important;gap:7px}
body.complete-workspace .panel-subtitle{font:11px/1.4 var(--fb)!important}
body.complete-workspace .hm-controls-grid{padding:0!important;margin:0 0 7px!important}
body.complete-workspace .workspace-options-body{gap:8px 14px!important}
body.complete-workspace .hm-controls-label{font-size:9px!important;letter-spacing:.05em!important}
body.complete-workspace .hm-segmented-btn,body.complete-workspace .hm-btn,body.complete-workspace .hm-density-btn{font-size:10px!important;min-height:30px!important;padding:5px 8px!important}
body.complete-workspace .hm-chips-row{padding:6px 0!important;gap:6px!important;margin:0!important}
body.complete-workspace .hm-chips{display:none}
body.complete-workspace .hm-detail-actions{gap:8px}
body.complete-workspace .hm-matrix-label .hm-touch-hint{display:none}
body.complete-workspace .complete-scope-note{font:10px/1.5 var(--fb);color:var(--text-muted);margin:4px 0}
body.complete-workspace .hm-reading-tools{font-size:10px!important;margin:4px 0!important}
body.complete-workspace .hm-wrap{max-height:none!important;overflow-x:auto!important;overflow-y:visible!important}
body.complete-workspace .hm{width:100%;font-size:11px!important}
body.complete-workspace table.hm td{height:28px;padding-top:5px!important;padding-bottom:5px!important;font-size:11px!important}
body.complete-workspace table.hm th{font-size:10px!important;line-height:1.35!important;white-space:nowrap}
body.complete-workspace table.hm tr.jump td{height:16px!important;padding:1px 8px!important;font-size:9px!important;line-height:14px!important;letter-spacing:0!important;font-style:normal!important;text-align:left!important;color:var(--text-muted)}
body.complete-workspace table.hm tr.jump td::before,body.complete-workspace table.hm tr.jump td::after{display:none!important}
body.complete-workspace table.hm .hm-struct{line-height:1.25!important}
@media(max-width:760px){body.complete-workspace table.hm .complete-mobile-level{font-size:9px!important;line-height:1.2!important;letter-spacing:0!important;margin-top:2px!important}body.complete-workspace table.hm td.sc{padding-top:4px!important;padding-bottom:4px!important}body.complete-workspace table.hm tr.jump td{height:15px!important;line-height:13px!important}}
body.complete-workspace .complete-inline-head small,body.complete-workspace .complete-inline-head span{white-space:nowrap}
body.complete-workspace .complete-inline-head .hm-scope-tag,body.complete-workspace .complete-inline-head .hm-today-tag{display:inline!important;font:inherit!important;letter-spacing:0!important;margin:0!important}
body.complete-workspace .hm-net{min-width:112px!important}
body.complete-workspace .hm-struct{min-width:150px!important}
body.complete-workspace .complete-map-expanded .ws-main{grid-template-columns:1fr!important}
body.complete-workspace.complete-map-expanded .ws-main{grid-template-columns:1fr!important}
body.complete-workspace.complete-map-expanded .ws-main-right{display:grid!important;grid-template-columns:1fr 1fr}
body.complete-workspace .ws-card-num{font-size:23px!important;line-height:1.3!important}
body.complete-workspace .ex-reference-strip{display:flex;flex-wrap:wrap;gap:6px 16px;font:11px/1.5 var(--fm);padding:6px 0}
body.complete-workspace .ex-reference-strip span{color:var(--text-muted)}
body.complete-workspace .ex-reference-strip b{color:var(--text);font-weight:500}
body.complete-workspace .ex-reference-line{stroke-width:1;stroke-dasharray:3 5;opacity:.65;pointer-events:none}
body.complete-workspace .ex-reference-line.call{stroke:var(--bullish)}
body.complete-workspace .ex-reference-line.put{stroke:var(--bearish)}
body.complete-workspace .ex-reference-line.flip{stroke:var(--accent)}
body.complete-workspace .hm-help,body.complete-workspace .workspace-matrix-legend{font-size:10px!important;margin-top:8px!important}
body.complete-workspace .workspace-matrix-legend{display:flex;gap:6px;flex-wrap:wrap}
body.complete-workspace .ws-main-right .ws-card{padding:6px 0!important;border:0!important;background:transparent!important}
body.complete-workspace .kl-row--stacked{padding:5px 0!important}
body.complete-workspace .complete-one-day .complete-today-copy{display:none!important}
body.complete-workspace .complete-one-day th.hm-net{white-space:nowrap}
body.complete-workspace .complete-level-scale{font:10px/1.4 var(--fb);color:var(--text-muted);margin:3px 0 7px}
body.complete-workspace .ws-rail-section[data-rail="key-levels"] .workspace-dex-detail>summary{display:grid;grid-template-columns:7px minmax(0,1fr);gap:3px 5px;min-height:40px}
body.complete-workspace .workspace-dex-detail>summary::before{grid-row:1}
body.complete-workspace .workspace-dex-detail>summary .kl-row-label{grid-column:2;grid-row:1}
body.complete-workspace .complete-level-exposure{grid-column:2;display:grid;grid-template-columns:minmax(40px,1fr) 84px;align-items:center;gap:8px;min-width:0}
body.complete-workspace .complete-level-track{height:8px;position:relative;background:rgba(255,255,255,.025)}
body.complete-workspace .complete-level-track::after{content:'';position:absolute;left:50%;top:-2px;bottom:-2px;border-left:1px solid var(--border-mid)}
body.complete-workspace .complete-level-track i{position:absolute;height:100%;background:var(--bullish)}
body.complete-workspace .complete-level-exposure[data-metric="dex"] i{background:var(--dex-cyan)}
body.complete-workspace .complete-level-exposure[data-sign="negative"] i{background:var(--bearish)}
body.complete-workspace .complete-level-amount{font:11px/1.4 var(--fm);color:var(--text);text-align:right;white-space:nowrap}
body.complete-workspace .complete-expiry-note,body.complete-workspace .complete-scenario-note{font:11px/1.5 var(--fb);color:var(--text-muted);margin:6px 0 10px}
body.complete-workspace .complete-expiry-button{border:0;background:none;padding:3px 0;min-height:28px;color:var(--text);font:inherit;cursor:pointer;text-align:left}
body.complete-workspace .complete-expiry-button:hover{text-decoration:underline;color:var(--accent)}
body.complete-workspace .workspace-notes,body.complete-workspace .ws-below-fold,body.complete-workspace .gex-section-nav{display:none!important}
/* A restrained reference footer; detailed help is an explicit reading action. */
body.complete-workspace .workspace-reference{grid-column:2;grid-row:6;min-width:0;margin:0;border-top:1px solid var(--border);font:.75rem/1.5 var(--fb);color:var(--text-muted)}
body.complete-workspace .chart-reference>summary{cursor:pointer;min-height:40px;display:flex;align-items:center;gap:10px;color:var(--text)}
body.complete-workspace .chart-reference>summary::before{content:'+';font:1rem var(--fm);color:var(--text-muted)}
body.complete-workspace .chart-reference[open]>summary::before{content:'−'}
body.complete-workspace .chart-reference>summary::-webkit-details-marker{display:none}
body.complete-workspace .chart-reference>summary span{font-size:.6875rem;color:var(--text-muted)}
body.complete-workspace .reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px;padding:10px 0}
body.complete-workspace .reference-grid h2{font:500 .8125rem var(--fb);margin:0 0 5px;color:var(--text)}
body.complete-workspace .reference-grid p{margin:0;max-width:75ch}
body.complete-workspace .reference-source{border-top:1px solid var(--border);padding-top:10px;margin:6px 0;font-size:.6875rem}
body.complete-workspace .workspace-reference a{color:var(--text-muted);text-decoration:underline;text-underline-offset:3px}
body.complete-workspace .workspace-reference a:hover{color:var(--text)}
body.complete-workspace .reference-example{display:inline-block;margin:4px 0 10px}
body.complete-workspace .reference-links{display:flex;flex-wrap:wrap;gap:0 16px;margin:0;padding-bottom:3px;font-size:.6875rem}
body.complete-workspace .reference-links a{display:inline-flex;align-items:center;min-height:32px}
@media(max-width:760px){body.complete-workspace .workspace-intro{padding:9px 10px 0;gap:3px}body.complete-workspace .workspace-intro h1{font-size:.9375rem}body.complete-workspace .workspace-intro p{font-size:.6875rem}body.complete-workspace .workspace-reference{order:8;width:100%;box-sizing:border-box}body.complete-workspace .reference-grid{grid-template-columns:1fr;gap:14px}.chart-reference>summary{min-height:44px}body.complete-workspace .reference-links a{min-height:40px}}
body.complete-workspace[data-workspace-view="methods"] .ws-below-fold,body.complete-workspace[data-workspace-view="methods"] .workspace-notes{display:block!important;max-width:1000px}
body.complete-workspace[data-workspace-view="methods"] .workspace-notes{margin-bottom:12px}
body.complete-workspace .workspace-charts{display:block!important;width:100%!important;max-width:none!important;margin:0!important}
body.complete-workspace .workspace-charts>*{max-width:none!important}
body.complete-workspace .ex-workspace{width:100%;box-sizing:border-box;margin:0;padding:14px;grid-column:auto}
body.complete-workspace .ex-heading h2{font-size:16px}
body.complete-workspace .ex-controls{margin:8px 0;padding:8px 0}
body.complete-workspace .ex-chart svg{height:295px;max-height:none}
body.complete-workspace .ex-coverage{font-size:11px}
body.complete-workspace .ex-plots{min-width:0}
body.complete-workspace #sessionHistorySlot .session-history{margin:0;padding:14px;border-radius:4px}
body.complete-workspace .sh-chart{max-height:135px}
body.complete-workspace [data-panel="profile-curve"]{max-width:none!important}
body.complete-workspace .chart-scroll--profile{overflow:auto!important}
body.complete-workspace .chart-scroll--profile>svg{width:100%!important;min-width:690px;max-width:none!important;height:auto;max-height:460px}
body.complete-workspace .rail-expand-dialog{width:min(1200px,96vw);max-width:96vw}
body.complete-workspace .gex-tour{box-shadow:none}
/* One focused workspace, with useful context on overview. No empty companion panels. */
body.complete-workspace[data-workspace-view="overview"] .workspace-charts,
body.complete-workspace[data-workspace-view="overview"] #sessionHistorySlot{display:none!important}
body.complete-workspace:not([data-workspace-view="overview"]) .ws-main-left{display:none}
body.complete-workspace:not([data-workspace-view="overview"]):not([data-workspace-view="expiry"]) .ws-main{display:none!important}
body.complete-workspace[data-workspace-view="expiry"] .ws-main{display:block!important;max-width:1000px}
body.complete-workspace[data-workspace-view="expiry"] .ws-main-right{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px!important}
body.complete-workspace[data-workspace-view="expiry"] [data-rail="expiry-ranked"]{grid-column:1;grid-row:1}
body.complete-workspace[data-workspace-view="expiry"] [data-rail="key-levels"]{grid-column:2;grid-row:1}
body.complete-workspace:not([data-workspace-view="history"]) #sessionHistorySlot{display:none!important}
body.complete-workspace:not([data-workspace-view="strike"]):not([data-workspace-view="profile"]) .workspace-charts{display:none!important}
body.complete-workspace[data-workspace-view="strike"] .workspace-charts>[data-panel="profile-curve"]{display:none!important}
body.complete-workspace[data-workspace-view="profile"] .workspace-charts>.ex-workspace{display:none!important}
body.complete-workspace[data-workspace-view="strike"] #content,
body.complete-workspace[data-workspace-view="profile"] #content,
body.complete-workspace[data-workspace-view="history"] #content{max-width:1300px}
body.complete-workspace select,body.complete-workspace option{background:var(--bg-panel);color:var(--text)}
body.complete-workspace :focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(min-width:1800px){body.complete-workspace .ws-main{grid-template-columns:minmax(0,1fr) 320px!important}body.complete-workspace .hm{font-size:12px!important}body.complete-workspace table.hm td{font-size:12px!important}}
@media(max-width:1250px){body.complete-workspace .page{padding:14px;grid-template-columns:115px minmax(0,1fr);column-gap:12px}body.complete-workspace .ws-main{grid-template-columns:minmax(0,1fr)!important}body.complete-workspace .ws-main-right{display:grid!important;grid-template-columns:1fr 1fr!important}body.complete-workspace #dataAge{max-width:400px}}
@media(max-width:760px){
 body.complete-workspace .local-preview-note{font-size:9px;padding:4px 8px}
 body.complete-workspace .topbar{padding:9px 12px;min-height:45px;gap:8px}
 body.complete-workspace .brand{font-size:14px}body.complete-workspace .crumb{display:none}
 body.complete-workspace .tutorial-btn{font-size:10px}
 body.complete-workspace .page{display:flex!important;flex-direction:column;gap:10px;padding:10px;width:100%;max-width:100%}
 body.complete-workspace .context-toolbar{order:0;flex-wrap:wrap!important}
 body.complete-workspace .complete-snapshot-header{order:1;gap:3px}
 body.complete-workspace .complete-current-regime{display:block}
 body.complete-workspace .complete-snapshot-heading h2{font-size:10px}
 body.complete-workspace .context-toolbar .hr-left{width:100%;gap:8px!important;justify-content:space-between}
 body.complete-workspace .context-toolbar .tab,body.complete-workspace .context-toolbar .tn{min-height:38px;font-size:11px;padding:7px 9px}
 body.complete-workspace .complete-context-status{margin:0;width:100%;justify-content:space-between;gap:6px}
 body.complete-workspace #dataAge{text-align:left;font-size:9px;max-width:270px}
 body.complete-workspace .complete-context-status button{font-size:10px;min-height:36px;max-width:78px;white-space:normal}
 body.complete-workspace #wsThesis{order:1;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.complete-workspace #wsThesis>[data-card="regime"]{grid-column:1/-1!important}
 body.complete-workspace #wsThesis>.ws-card:not([data-card="regime"]){grid-column:auto!important}
 body.complete-workspace .ws-card-num{font-size:19px!important}
 body.complete-workspace #wsThesis .ws-card-head{font-size:9px!important;min-height:0}
 body.complete-workspace #wsThesis .ws-card-head h3{font-size:9px!important}
 body.complete-workspace #wsThesis .ws-card-teach,body.complete-workspace #wsThesis .ws-card-facts{font-size:10px!important}
 body.complete-workspace #wsThesis [data-card="flip"] .ws-chip{display:none}
 body.complete-workspace .complete-map-expand{display:none}
 body.complete-workspace #wsThesis .ws-card{padding:8px!important;border-bottom:1px solid var(--border)!important}
 body.complete-workspace .ws-card-value{font-size:16px!important}
 body.complete-workspace .ws-card-label{font-size:9px!important}
 body.complete-workspace .ws-card-sub{font-size:10px!important}
 body.complete-workspace .complete-nav{order:2;position:static;display:flex;flex-direction:row;overflow-x:auto;gap:3px;max-width:100%;width:100%;padding-bottom:3px}
 body.complete-workspace .complete-nav button{flex:0 0 auto;min-height:42px;padding:7px 10px;border-left:1px solid transparent;border-bottom:2px solid transparent;align-items:center;font-size:11px}
 body.complete-workspace .complete-nav button small{display:none}
 body.complete-workspace .complete-nav button[aria-pressed=true]{border-color:var(--border);border-bottom-color:var(--accent)}
 body.complete-workspace #content{order:4;width:100%}body.complete-workspace #refreshStatus{order:3}
 body.complete-workspace #workspaceReplayHost,body.complete-workspace #workspacePriceHost{order:5;width:100%;max-width:100%;min-width:0}
 body.complete-workspace .panel,body.complete-workspace .ws-rail-section{padding:10px!important}
 body.complete-workspace .hm-segmented-btn,body.complete-workspace .hm-btn,body.complete-workspace .hm-density-btn{min-height:36px!important;font-size:10px!important}
 body.complete-workspace .workspace-options-body{flex-wrap:wrap!important}
 body.complete-workspace .hm-chips-row{justify-content:flex-start}
 body.complete-workspace .hm-wrap{max-height:none!important}
 body.complete-workspace table.hm td{height:30px;font-size:11px!important}
 body.complete-workspace .complete-scope-note{font-size:10px}
 body.complete-workspace .ws-main-right,body.complete-workspace[data-workspace-view="expiry"] .ws-main-right{display:flex!important;flex-direction:column}
 body.complete-workspace .ex-controls{gap:7px}.ex-controls .ex-segments{width:100%}
 body.complete-workspace .ex-workspace{padding:10px}
 body.complete-workspace .ex-chart svg{height:auto;min-height:260px}
 body.complete-workspace .ex-plots.compare{grid-template-columns:1fr}
 body.complete-workspace .ex-inspect{font-size:11px}
 body.complete-workspace .sh-chart{max-height:none}
 body.complete-workspace #sessionHistorySlot .session-history{padding:10px}
 body.complete-workspace .chart-scroll--profile>svg{min-width:680px;max-height:none}
 body.complete-workspace .rail-expand-dialog{padding:10px}
}
/* The four-column OI ladder fits the desktop/tablet chart column. Phone keeps
   its native horizontal scroll; data values and magnitude scales are untouched. */
@media(min-width:761px){
 body.complete-workspace .hm-wrap table.hm.hm--alloi{width:100%;min-width:0}
 body.complete-workspace .hm-wrap table.hm.hm--alloi th.cb-strike{width:56px}
 body.complete-workspace .hm-wrap table.hm.hm--alloi th.cb-level{width:26%}
 body.complete-workspace .hm-wrap table.hm.hm--alloi th.oi-call,
 body.complete-workspace .hm-wrap table.hm.hm--alloi th.oi-put{width:calc((74% - 56px)/2)}
 body.complete-workspace .hm-wrap table.hm.hm--alloi tr.cb-you-are-here td{position:relative;height:28px;text-align:left}
 body.complete-workspace .hm-wrap table.hm.hm--alloi .oi-yah-center{position:absolute;left:calc(63% + 28px);top:50%;margin-left:0;transform:translate(-50%,-50%);white-space:nowrap}
}

/* Coordinated charts and phone layout. Native model and heatmap remain intact. */
.complete-mobile-summary,.complete-mobile-nav{display:none}
.complete-mobile-level,.complete-mobile-date{display:none}
/* The native panel aligns flex children at the bottom. This adapter owns the
   complete toolbar geometry, so disclosure blocks cannot stretch that layout. */
body.complete-workspace .ws-main-left>.panel{display:block}
.complete-map-toolbar{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 14px;margin:8px 0}
.complete-map-primary{display:flex;align-items:flex-end;gap:12px;margin:0}
.complete-map-primary .hm-control-segment{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.complete-map-options{margin:0;min-width:0;flex:1}
.complete-map-options-body{display:flex;align-items:flex-end;gap:8px 14px;flex-wrap:wrap}
body.complete-workspace .complete-map-options-body .hm-controls-grid,
body.complete-workspace .complete-map-options-body .hm-chips-row{padding:0!important;margin:0!important;width:auto;order:initial}
body.complete-workspace .complete-map-options-body .hm-actions{margin:0;flex-wrap:wrap}
.complete-map-notes{display:flex;flex-wrap:wrap;gap:3px 14px;margin:5px 0 9px}
body.complete-workspace .complete-map-notes .hm-reading-tools{width:auto}
body.complete-workspace .complete-map-notes .complete-scope-note{margin:0}
.complete-map-options>summary{font:12px/1.5 var(--fb);cursor:pointer;color:var(--text-muted);padding:5px 0}
@media(min-width:761px){
 .complete-map-options>summary,.ex-filter-options>summary{display:none}
 .ex-filter-options[open] .ex-filter-body{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
}
body.complete-workspace .page{max-width:1920px;grid-template-columns:122px minmax(0,1fr);gap:10px 14px}
body.complete-workspace .panel-title,body.complete-workspace .ws-rail-section>h3{font-size:15px!important}
body.complete-workspace .panel-subtitle,body.complete-workspace .complete-scope-note,body.complete-workspace .hm-reading-tools,body.complete-workspace .hm-help,body.complete-workspace .workspace-matrix-legend{font-size:12px!important;line-height:1.5!important}
body.complete-workspace .hm-controls-label{font-size:10px!important}
body.complete-workspace .complete-nav button small{font-size:11px;opacity:1}
body.complete-workspace table.hm th{font-size:11px!important}
body.complete-workspace table.hm td{font-size:12px!important}
body.complete-workspace .hm-segmented-btn,body.complete-workspace .hm-btn,body.complete-workspace .hm-density-btn{font-size:11px!important;min-height:32px!important}
body.complete-workspace .ex-heading h2{font-size:17px}
body.complete-workspace .ex-chart svg{height:260px}
body.complete-workspace .ex-meta{font-size:11px;margin:4px 0}
body.complete-workspace .ex-inspect{font-size:12px;gap:10px 20px}
body.complete-workspace .ex-inspect small{font-size:11px}
.ex-net-marker{stroke:var(--text);stroke-width:2;pointer-events:none}
.ex-bar.call{fill:var(--bullish)}.ex-bar.put{fill:var(--bearish)}
.ex-series-legend{font:11px/1.5 var(--fb);color:var(--text-muted);margin:4px 0}
.ex-series-legend[hidden]{display:none}
.ex-filter-options>summary{font:12px var(--fb);padding:7px 0;cursor:pointer}
.ex-zoom{display:flex;gap:3px}
.ex-controls .ex-filter-options{flex:1}
.analysis-expiry-panel{border:1px solid var(--border);background:var(--bg-panel);padding:12px;border-radius:4px;min-width:0;box-sizing:border-box;align-self:start}
.analysis-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.analysis-heading h2{font:600 17px/1.4 var(--fb);margin:0}
/* Keep chart controls and the selected-expiration action in the chart column. */
body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-panel>.analysis-heading{grid-column:1;display:flex;flex-wrap:wrap;flex-direction:row;justify-content:flex-start;align-items:center;gap:.5rem .9rem}
.analysis-selection-actions{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.4rem .8rem;padding:.45rem 0;border-top:1px solid var(--border);font:.6875rem/1.5 var(--fb);color:var(--text-muted)}
.analysis-selection-actions:empty{display:none}
.analysis-selection-actions strong{margin-left:.35rem;font:500 .75rem/1.5 var(--fm);color:var(--text);white-space:nowrap}
.analysis-selection-actions small{display:block;font:inherit}
.analysis-selection-actions button{flex:none}
.analysis-expiry-panel button{color:var(--text);background:var(--bg);border:1px solid var(--border-mid);border-radius:3px;cursor:pointer;font:11px/1.4 var(--fb);padding:6px 8px}
.analysis-expiry-panel button:disabled{opacity:.45;cursor:default}
.analysis-scope,.analysis-note,.analysis-selection,.analysis-scale{font:11px/1.5 var(--fb);color:var(--text-muted);margin:7px 0}
.analysis-selection{color:var(--text)}
.analysis-metrics{display:flex;flex-wrap:wrap;gap:3px;padding-bottom:6px}
.analysis-metrics button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}
.analysis-expiry-chart h3{font:600 13px/1.4 var(--fb);margin:8px 0}
.analysis-expiry-chart h3 small{display:block;font:11px/1.4 var(--fb);color:var(--text-muted);font-weight:400}
.analysis-axis{display:flex;justify-content:space-between;margin:4px 80px 4px 56px;font:10px var(--fm);color:var(--text-muted)}
.analysis-expiry-panel .analysis-expiry-row{display:grid;grid-template-columns:50px minmax(30px,1fr) 80px;align-items:center;gap:6px;background:transparent;border:0;border-bottom:1px solid var(--border);border-radius:0;width:100%;min-height:36px;padding:5px 0;text-align:left;font:11px var(--fm)}
.analysis-expiry-row>span:first-child small{display:block;color:var(--accent);font:9px/1.2 var(--fb)}
.analysis-expiry-row[data-zero-dte=true]>span:first-child{color:var(--accent)}
.analysis-expiry-row b{text-align:right;font-weight:500}
.analysis-expiry-row[aria-pressed=true]{outline:1px solid var(--accent);outline-offset:1px;background:var(--bg-elevated)!important}
.analysis-expiry-row:hover{background:var(--bg-elevated)!important}
.analysis-track{display:block;height:20px;position:relative}
.analysis-track:before{content:'';position:absolute;left:50%;top:0;bottom:0;border-left:1px solid var(--border-strong)}
.analysis-track i{position:absolute;top:3px;height:14px;min-width:0}
.analysis-track .positive{background:var(--bullish)}.analysis-track .negative{background:var(--bearish)}
.analysis-component-legend{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;font:11px/1.5 var(--fb);color:var(--text-muted)}
.analysis-component-legend>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.analysis-component-legend i{display:inline-block;width:8px;height:8px;flex:none}
.analysis-component-legend i.call,.analysis-track .analysis-component.call{background:var(--bullish)}
.analysis-component-legend i.call.dex,.analysis-chart-key i.positive.dex,
.analysis-expiry-chart[data-exposure-metric="dex"] .analysis-track .positive,
.analysis-expiry-chart[data-exposure-metric="dex"] .analysis-track .analysis-component.call{background:var(--dex-cyan)}
.analysis-component-legend i.put,.analysis-track .analysis-component.put{background:var(--bearish)}
.analysis-component-legend i.net{width:2px;height:12px;background:var(--text)}
.analysis-component-legend small{font:inherit}
.analysis-component-legend p{flex-basis:100%;margin:0;font-size:11px}
.analysis-expiry-panel .analysis-components-row{min-height:42px}
.analysis-components-row .analysis-components-track{height:30px}
.analysis-components-track .analysis-component{height:9px;top:3px}
.analysis-components-track .analysis-component.put{top:18px}
.analysis-components-track .analysis-component.is-zero{width:1px!important}
.analysis-components-track .analysis-net-marker{position:absolute;top:0;height:30px;width:2px;transform:translateX(-1px);background:var(--text);pointer-events:none}
.analysis-component-missing{position:absolute;left:50%;top:0;transform:translateX(-50%);font:12px/14px var(--fm);color:var(--text-muted)}
.analysis-component-missing.put{top:15px}
.analysis-reconciliation span{display:block;margin-top:4px}
body.complete-workspace:not([data-workspace-view="expiry"]) .analysis-expiry-panel{display:none}
body.complete-workspace[data-workspace-view="expiry"] #content{display:block;max-width:none}
body.complete-workspace[data-workspace-view="expiry"] .ws-main{display:none!important}
body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-panel{width:100%;max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 284px;column-gap:22px}
.analysis-expiry-panel>.analysis-heading,.analysis-expiry-panel>.analysis-purpose,.analysis-expiry-panel>.analysis-scope,.analysis-expiry-panel>.analysis-share,.analysis-expiry-panel>.analysis-selection,.analysis-expiry-panel>.analysis-explanation{grid-column:1/-1}
.analysis-expiry-panel>.analysis-expiry-charts,.analysis-expiry-panel>.analysis-concentration{grid-column:1;grid-row:6;min-width:0}
.analysis-expiry-panel>.analysis-selected-inspector{grid-column:2;grid-row:6;min-width:0;align-self:start;border-left:1px solid var(--border);padding-left:16px}
.analysis-purpose{font:12px/1.5 var(--fb);margin:5px 0;color:var(--text)}
.analysis-denominator{margin-top:6px;font:10px/1.5 var(--fb);color:var(--text-muted)}
.analysis-denominator summary,.analysis-inspector-breakdown summary{cursor:pointer;min-height:26px}
.analysis-inspector-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;font:11px/1.5 var(--fb);color:var(--text-muted)}
.analysis-inspector-totals b{display:block;font:500 15px/1.5 var(--fm);color:var(--text)}
.analysis-inspector-breakdown{font:12px/1.5 var(--fb);color:var(--text-muted)}
.analysis-concentration [data-card="peak"]{display:none!important}
.analysis-concentration [data-expiry-select][aria-pressed="true"]{color:var(--accent);outline:1px solid var(--accent);outline-offset:2px}
body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;max-width:none}
body.complete-workspace[data-workspace-view="expiry"] .analysis-metrics{display:flex;gap:4px;margin:0;padding:0}
.analysis-expiry-panel[data-metric="concentration"]>.analysis-expiry-charts,.analysis-expiry-panel:not([data-metric="concentration"])>.analysis-concentration{display:none!important}
.analysis-expiry-panel .analysis-concentration{max-width:none}
.analysis-share{padding:10px 12px;margin:6px 0;background:var(--bg-elevated);border:1px solid var(--border);border-radius:3px;min-width:0}
.analysis-share-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font:500 12px/1.4 var(--fb)}
.analysis-share-title strong{color:var(--accent)}
.analysis-share-title small{font-size:11px;font-weight:400;color:var(--text-muted)}
.analysis-share-track{height:6px;background:var(--border-mid);margin:7px 0}
.analysis-share-track i{display:block;height:100%;background:var(--accent)}
.analysis-share-values{display:flex;justify-content:space-between;gap:8px;font:11px/1.4 var(--fb);color:var(--text-muted)}
.analysis-share-values b{font:500 11px var(--fm);color:var(--text);margin-left:5px}
.analysis-share p{font:10px/1.45 var(--fb);color:var(--text-muted);margin:6px 0 0}
.analysis-inspector-heading{display:flex;flex-direction:column;gap:10px;margin:8px 0}
.analysis-inspector-heading h3{font:600 16px/1.4 var(--fb);margin:0}
.analysis-inspector-heading small{display:block;font:11px/1.5 var(--fb);color:var(--text-muted);font-weight:400}
.analysis-selected-inspector table{width:100%;border-collapse:collapse;font:11px/1.4 var(--fm)}
.analysis-selected-inspector th,.analysis-selected-inspector td{padding:8px 3px;border-bottom:1px solid var(--border);text-align:right;white-space:nowrap}
.analysis-selected-inspector th{font-weight:500}
.analysis-selected-inspector th:first-child{text-align:left;font-family:var(--fb)}
.analysis-selected-inspector th small{display:block;font:9px/1.5 var(--fb);color:var(--text-muted);white-space:normal}
.analysis-selected-inspector tr:last-child td{font-weight:600}
.analysis-selected-inspector p{font:11px/1.5 var(--fb);color:var(--text-muted);margin:10px 0}
.analysis-expiry-panel .analysis-explanation{margin-top:8px}
.analysis-scope strong{display:block;color:var(--text);font-weight:500}
.analysis-scope>span{display:block}
.analysis-chart-key{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .8rem;font:.6875rem/1.5 var(--fb);color:var(--text-muted)}
.analysis-chart-key>span{display:inline-flex;align-items:center;gap:.3rem;white-space:nowrap}
.analysis-chart-key i{width:.5rem;height:.5rem;background:var(--bullish)}
.analysis-chart-key i.negative{background:var(--bearish)}
.analysis-chart-key small{font:inherit;flex-basis:100%}
.analysis-concentration-key{margin:0 0 .7rem}
.analysis-concentration-key h3{font:600 .8125rem/1.4 var(--fb);margin:.4rem 0}
.analysis-concentration-key p{font:.75rem/1.5 var(--fb);margin:.25rem 0;color:var(--text)}
.analysis-concentration-key small{display:block;font:.6875rem/1.5 var(--fb);color:var(--text-muted)}
.analysis-concentration .ws-rr-row{grid-template-columns:4.5rem minmax(0,1fr) 6rem!important}
.analysis-concentration .ws-rr-pct{display:flex;flex-direction:column;gap:.15rem;align-items:flex-end}
.analysis-concentration .ws-rr-pct strong{font:500 .75rem/1.3 var(--fm);color:var(--text)}
.analysis-concentration .ws-rr-pct small{font:.625rem/1.3 var(--fm);color:var(--text-muted)}
.analysis-concentration [hidden]{display:none!important}
.analysis-reference{grid-column:1/-1;font:.6875rem/1.5 var(--fb);color:var(--text-muted);margin:.5rem 0 0}
.analysis-reference a{color:var(--text-muted);text-underline-offset:.2em}
.analysis-mobile-selection{display:none}
body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-panel>.analysis-reference{grid-row:7}
@media(max-width:1150px){
 body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-panel{display:flex;flex-direction:column}
 .analysis-expiry-panel>.analysis-heading{order:0}
 .analysis-expiry-panel>.analysis-scope{order:1}
 .analysis-expiry-panel>.analysis-expiry-charts,.analysis-expiry-panel>.analysis-concentration{order:2}
 .analysis-expiry-panel>.analysis-selected-inspector{order:3}
 .analysis-expiry-panel>.analysis-share{order:4}
 .analysis-expiry-panel>.analysis-selection{order:5}
 .analysis-expiry-panel>.analysis-purpose{order:6}
 .analysis-expiry-panel>.analysis-reference{order:7}
 .analysis-expiry-panel>.analysis-selected-inspector{align-self:stretch;border-left:0;border-top:1px solid var(--border);padding:10px 0 0;margin-top:10px}
 .analysis-inspector-heading{flex-direction:row;justify-content:space-between;align-items:center}
}
@media(max-width:760px){
 body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-panel.has-mobile-selection{padding-bottom:5.5rem!important}
 body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-panel.has-mobile-selection>.analysis-mobile-selection{position:fixed;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.35rem .65rem;bottom:0;left:0;right:0;z-index:35;padding:.55rem .7rem calc(.55rem + env(safe-area-inset-bottom));border-top:1px solid var(--border-strong);background:var(--bg-panel)}
 .analysis-mobile-selection strong{display:block;font:500 .8125rem/1.5 var(--fb)}
 .analysis-mobile-selection small{display:block;font:.625rem/1.5 var(--fm);color:var(--text-muted)}
 .analysis-mobile-selection button{min-height:44px!important;font:.75rem/1.4 var(--fb)!important;max-width:6.25rem}
 .analysis-expiry-panel>.analysis-reference{order:8}
 body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-panel{display:flex;flex-direction:column;gap:2px}
 .analysis-expiry-panel>.analysis-heading{order:0}.analysis-expiry-panel>.analysis-purpose{order:1}
 .analysis-expiry-panel>.analysis-scope{order:2}.analysis-expiry-panel>.analysis-share{order:3}
 .analysis-expiry-panel>.analysis-selection{order:4}.analysis-expiry-panel>.analysis-selected-inspector{order:5}
 .analysis-expiry-panel>.analysis-expiry-charts,.analysis-expiry-panel>.analysis-concentration{order:6}
 .analysis-expiry-panel>.analysis-explanation{order:7}
 .analysis-expiry-panel>.analysis-selected-inspector{padding:6px 0;margin:0 0 7px;border-bottom:1px solid var(--border)}
 .analysis-inspector-heading{display:grid!important;grid-template-columns:1fr 1fr;gap:5px 10px!important;align-items:center!important}
 .analysis-inspector-heading h3{font-size:14px}.analysis-inspector-heading h3 small{font-size:10px}
 .analysis-inspector-heading>button,.analysis-inspector-heading>small{grid-column:1/-1}
 .analysis-inspector-totals{gap:5px;font-size:10px}.analysis-inspector-totals b{font-size:12px}
 .analysis-inspector-breakdown summary{padding:5px 0;min-height:30px;box-sizing:border-box}
 .analysis-purpose{font-size:11px}
 body.complete-workspace .hm-wrap:not(.hm-mobile-expanded) .complete-one-day .complete-today-copy{display:none!important}
 body.complete-workspace .hm-wrap:not(.hm-mobile-expanded) .complete-mobile-level{display:block;font:10px/1.25 var(--fb);white-space:normal;text-align:left;color:var(--text-muted);max-width:88px;margin-top:3px;letter-spacing:0}
 body.complete-workspace .hm-wrap:not(.hm-mobile-expanded) .complete-mobile-date{display:block;font:10px/1.25 var(--fb)!important;color:var(--text-muted);margin-top:2px}
 body.complete-workspace .hm-wrap:not(.hm-mobile-expanded) .hm .sc{min-width:90px!important;max-width:100px;padding-right:8px!important}
 body.complete-workspace .hm-net{min-width:104px!important}
 body.complete-workspace .local-preview-note{font-size:10px;line-height:1.3;padding:3px 6px}
 body.complete-workspace .topbar{min-height:40px;padding:6px 10px}
 body.complete-workspace .page{gap:7px;padding:8px}
 body.complete-workspace .context-toolbar .hr-left{justify-content:flex-start;flex-wrap:nowrap;gap:8px!important}
 body.complete-workspace .context-toolbar .hm-controls-label,body.complete-workspace #tenorCap{display:none}
 body.complete-workspace .context-toolbar .tab,body.complete-workspace .context-toolbar .tn{font-size:12px;padding:6px;min-height:40px}
 body.complete-workspace .complete-context-status{gap:8px}
 body.complete-workspace #dataAge{font-size:10px;line-height:1.4;max-width:none;flex:1}
 body.complete-workspace .complete-context-status button{font-size:11px;padding:5px;max-width:65px;min-height:40px}
 body.complete-workspace #wsThesis{display:none!important}
 body.complete-workspace.complete-summary-open #wsThesis{display:grid!important;order:2}
 .complete-mobile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;order:1;border:1px solid var(--border);background:var(--bg-panel);padding:8px 8px 0;border-radius:4px}
 .complete-mobile-summary small{display:block;color:var(--text-muted);font:10px/1.5 var(--fb);white-space:nowrap}
 .complete-mobile-summary strong{display:block;font:500 15px/1.5 var(--fm);white-space:nowrap}
 .complete-mobile-summary button{grid-column:1/-1;border:0;border-top:1px solid var(--border);background:none;color:var(--text-muted);font:11px/1.4 var(--fb);min-height:32px;text-align:left}
 body.complete-workspace .complete-nav{display:none}
 .complete-mobile-nav{display:flex;align-items:center;gap:10px;order:3;font:12px var(--fb);color:var(--text-muted)}
 .complete-mobile-nav select{flex:1;min-width:0;min-height:40px;padding:6px 9px;border:1px solid var(--border-mid);border-radius:3px;font:13px var(--fb)}
 body.complete-workspace #content{order:5}body.complete-workspace #refreshStatus{order:4}
 body.complete-workspace .panel,body.complete-workspace .ex-workspace{padding:9px!important}
 body.complete-workspace .panel-h{margin-bottom:5px!important}
 body.complete-workspace .panel-title{font-size:15px!important}
 body.complete-workspace .panel-subtitle{font-size:11px!important;line-height:1.4!important}
 .complete-map-toolbar{display:block;margin:4px 0}
 .complete-map-primary{margin:4px 0;justify-content:space-between}
 .complete-map-primary .hm-controls-label{display:none}
 body.complete-workspace .hm-segmented-btn,body.complete-workspace .hm-density-btn,body.complete-workspace .hm-btn{min-height:40px!important;font-size:12px!important}
 .complete-map-options{margin:3px 0}
 .complete-map-options-body{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:5px 0}
 body.complete-workspace .complete-map-options-body .hm-actions{justify-content:flex-start}
 .complete-map-toolbar:has(.complete-map-options:not([open]))+.complete-map-notes{display:none}
 .complete-map-options>summary{font-size:12px;min-height:32px;box-sizing:border-box;padding:6px 0}
 body.complete-workspace .workspace-matrix-legend{font-size:11px!important}
 body.complete-workspace table.hm td{font-size:12px!important}
 body.complete-workspace .ex-heading h2{font-size:16px}
 body.complete-workspace .ex-heading button{font-size:11px;min-height:36px}
 body.complete-workspace .ex-meta{display:block;margin:3px 0}
 body.complete-workspace .ex-meta .ex-snapshot{display:none}
 body.complete-workspace .ex-meta .ex-context{font-size:11px}
 body.complete-workspace .ex-controls{margin:5px 0;padding:5px 0;gap:2px;display:block}
 body.complete-workspace .ex-segments{width:100%}
 body.complete-workspace .ex-controls button{font-size:12px;min-height:40px}
 .ex-filter-options>summary{min-height:34px;box-sizing:border-box}
 .ex-filter-options[open] label{display:flex;flex-direction:row;align-items:center;margin:7px 0}
 .ex-filter-options[open] select{flex:1;font-size:12px}
 body.complete-workspace .ex-inspect{display:grid;grid-template-columns:minmax(0,1fr);font-size:12px;padding:6px;gap:6px}
 body.complete-workspace .ex-inspect>strong{grid-column:1/-1;font-size:11px}
 body.complete-workspace .ex-inspect small{font-size:10px}
 body.complete-workspace .ex-zoom{margin-top:7px}
 body.complete-workspace .ex-reference-strip{gap:3px 12px;font-size:10px;padding:4px 0}
 body.complete-workspace .ex-reference-strip span:first-child,body.complete-workspace .ex-reference-strip span:last-child{display:none}
 body.complete-workspace .ex-chart-label{font-size:12px;margin-top:4px}
 body.complete-workspace .ex-chart-label span{font-size:10px}
 body.complete-workspace .ex-chart svg{height:240px;min-height:0}
 body.complete-workspace .ex-bottom{margin-top:3px}
 body.complete-workspace .ex-bottom select{font-size:12px;min-height:40px}
 body.complete-workspace .ex-coverage,.analysis-note{font-size:11px}
 body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-charts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
 body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-chart+ .analysis-expiry-chart{margin-top:0}
 .analysis-expiry-panel button{min-height:40px;font-size:12px}
 body.complete-workspace .analysis-expiry-panel .analysis-metrics button{min-height:40px}
 .analysis-expiry-panel .analysis-expiry-row{font-size:11px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:22px 16px;gap:2px 0;min-height:49px;padding:3px 0}
 .analysis-expiry-row>span:first-child{grid-column:1;grid-row:1}
 .analysis-expiry-row b{grid-column:2;grid-row:1;font-size:10px;letter-spacing:-.3px}
 .analysis-expiry-row .analysis-track{grid-column:1/-1;grid-row:2;height:16px}
 .analysis-expiry-row .analysis-track i{top:2px;height:12px}
 .analysis-expiry-panel .analysis-components-row{grid-template-rows:22px 30px;min-height:64px}
 .analysis-components-row .analysis-components-track{height:30px}
 .analysis-components-row .analysis-components-track .analysis-component{top:3px;height:9px}
 .analysis-components-row .analysis-components-track .analysis-component.put{top:18px}
 .analysis-component-legend{gap:4px 10px}
 .analysis-axis{margin:6px 0;font-size:9px}
 .analysis-heading{align-items:flex-start;flex-direction:column}
 .analysis-heading h2{font-size:16px}
 .analysis-share{padding:8px}
 .analysis-share-title{align-items:flex-start;flex-direction:column;gap:3px}
 .analysis-share-values{font-size:10px;gap:4px}
 .analysis-share-values span{flex:1}
 .analysis-share-values b{display:block;margin:2px 0 0;font-size:11px}
 .analysis-share p{font-size:10px}
 .analysis-expiry-chart h3 small{font-size:10px;min-height:28px}
 .analysis-scale{font-size:10px}
 .analysis-inspector-heading{align-items:stretch;flex-direction:column}
 .analysis-selected-inspector th,.analysis-selected-inspector td{font-size:11px}
 .analysis-scope{font-size:11px}
 body.complete-workspace .chart-scroll--profile>svg{min-width:520px}
}

/* Exact shared strike selection: presentation only, scoped to the local exposure desk. */
.ex-brush{margin:.35rem 0 .55rem;border-block:1px solid var(--border);font-family:var(--fb);min-width:0;width:100%}
.ex-brush>summary{display:flex;align-items:center;gap:.75rem;cursor:pointer;min-height:2.75rem;font-size:.8rem;color:var(--text-muted);list-style:none}
.ex-brush>summary::-webkit-details-marker{display:none}
.ex-brush-summary{font:500 .8rem var(--fm);color:var(--text);font-variant-numeric:tabular-nums}
.ex-brush-action{margin-left:auto;border:1px solid var(--border-strong);border-radius:3px;padding:.35rem .6rem;color:var(--text);white-space:nowrap}
.ex-brush[open] .ex-brush-action:after{content:' −'}
.ex-brush:not([open]) .ex-brush-action:after{content:' +'}
.ex-brush-body{display:grid;grid-template-columns:250px minmax(0,1fr) minmax(0,1fr);align-items:start;gap:.35rem 1.25rem;padding:.3rem 0 .65rem}
.ex-window-tools{display:flex;flex-direction:column;align-items:stretch;gap:.3rem;min-width:0;margin:0}
.ex-window-tools>label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.6rem;font:.8rem var(--fb);min-width:0}
.ex-window-tools .ex-zoom{display:flex;justify-content:flex-end;gap:.35rem}
body.complete-workspace .ex-window-tools button,body.complete-workspace .ex-window-tools select{font:.8rem var(--fm);min-height:2.5rem;padding:.35rem .55rem;white-space:nowrap;min-width:0}
body.complete-workspace .ex-window-tools button[data-zoom="in"],body.complete-workspace .ex-window-tools button[data-zoom="out"]{min-width:2.5rem}
body.complete-workspace .ex-window-tools .ex-zoom button{min-height:2.25rem}
.ex-window-tools button:disabled{opacity:.5;cursor:default}
.ex-brush-row{display:grid;grid-template-columns:2.25rem minmax(0,1fr);align-items:center;gap:.3rem .65rem;margin:0;min-width:0}
body.complete-workspace .ex-brush-row label{font:.8rem var(--fb)}
body.complete-workspace .ex-brush-row select{min-height:2.5rem;font:.8rem var(--fm);width:100%;min-width:0;padding:.35rem .6rem;font-variant-numeric:tabular-nums}
.ex-brush-row input[type=range]{grid-column:1/-1;width:100%;min-width:0;height:2.25rem;margin:0;accent-color:var(--accent);cursor:ew-resize}
.ex-brush-row input:disabled{cursor:default;opacity:.5}
.ex-brush-footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.3rem}
.ex-brush-hint{grid-column:1/-1;margin:0;font:.75rem/1.5 var(--fb);color:var(--text-muted)}
body.complete-workspace .ex-brush-footer button{font:.75rem var(--fb);min-height:2.5rem;white-space:nowrap;padding:.35rem .6rem}
.ex-hit{fill:transparent;cursor:crosshair;outline:none}
.ex-hit:focus-visible{stroke:var(--text);stroke-width:1;fill:rgba(255,255,255,.04)}
.ex-missing{pointer-events:none}
body.complete-workspace .ex-inspect small{font-size:.75rem;line-height:1.6}
/* Range editing spans the chart workspace. Keeping it in the 250px inspector
   column makes its row taller than the charts' footer and creates a blank well. */
@media(min-width:1100px){
 body.complete-workspace .ex-workspace>.ex-brush{grid-column:1/-1;grid-row:5;margin:8px 0 4px}
 body.complete-workspace .ex-workspace>.ex-bottom{grid-column:1;grid-row:6}
 body.complete-workspace .ex-workspace>.ex-purpose{grid-column:2;grid-row:6}
 body.complete-workspace .ex-workspace>.ex-reference-strip{grid-column:1/-1;grid-row:7}
 body.complete-workspace .ex-workspace>.ex-reading{grid-row:8}
}
@media(min-width:761px) and (max-width:1099px){
 .ex-brush-body{grid-template-columns:220px minmax(0,1fr) minmax(0,1fr);column-gap:.75rem}
}
@media(max-width:760px){
 .ex-brush>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 .4rem;padding:.35rem 0}
 .ex-brush-summary{grid-column:1;font-size:.75rem;line-height:1.6}
 .ex-brush-action{grid-column:2;grid-row:1/3;display:flex;align-items:center;min-height:44px;padding:.3rem .5rem}
 .ex-brush-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.5rem .75rem;padding-top:.5rem}
 .ex-window-tools{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:.75rem}
 .ex-window-tools>label{grid-template-columns:minmax(0,1fr);gap:.3rem}
 .ex-window-tools>label select{width:100%}
 body.complete-workspace .ex-window-tools button,body.complete-workspace .ex-window-tools select,body.complete-workspace .ex-window-tools .ex-zoom button{min-height:44px}
 body.complete-workspace .ex-window-tools button[data-zoom="in"],body.complete-workspace .ex-window-tools button[data-zoom="out"]{min-width:44px}
 .ex-window-tools .ex-zoom{gap:.25rem}
 .ex-brush-row{grid-template-columns:2rem minmax(0,1fr);gap:.25rem .35rem}
 .ex-brush-row input[type=range],body.complete-workspace .ex-brush-row select{height:44px;min-height:44px}
 .ex-brush-footer{align-items:flex-start;flex-direction:column;gap:.35rem}
 body.complete-workspace .ex-brush-footer button{min-height:2.75rem}
 body.complete-workspace .ex-inspect .ex-component-values{display:flex;flex-wrap:wrap;gap:0 12px}
 body.complete-workspace .ex-inspect .ex-reconciliation{display:block}
 body.complete-workspace .ex-reference-strip{font-size:.75rem}
}

/* Each repeated measure has one home. Values and native financial charts stay intact. */
body.complete-workspace .ws-main [data-rail="expiry-ranked"]{display:none!important}
body.complete-workspace[data-workspace-view="strike"] #content{display:block;max-width:none}
body.complete-workspace:not([data-workspace-view="expiry"]) .analysis-expiry-panel{display:none!important}
body.complete-workspace[data-workspace-view="expiry"] #content{display:block;max-width:none}
body.complete-workspace[data-workspace-view="expiry"] .ws-main{display:none!important}
body.complete-workspace[data-workspace-view="expiry"] .analysis-expiry-panel{max-width:none}
body.complete-workspace .analysis-concentration [data-rail="expiry-ranked"]{border:0!important;padding:4px 0!important;background:none}
.analysis-concentration [data-rail="expiry-ranked"]>h3{display:none}
.analysis-explanation{border-top:1px solid var(--border);margin-top:10px;padding-top:10px;font:12px/1.5 var(--fb);color:var(--text-muted)}
.analysis-explanation summary,.context-books summary{cursor:pointer;color:var(--text);min-height:28px}
.analysis-selection{font-size:12px;line-height:1.5}
.context-books{min-width:0}
.context-mobile-overview{display:none}
.context-mobile-details{width:100%;min-width:0;box-sizing:border-box}
.context-rail-panels>.ws-rail-section{width:100%;box-sizing:border-box;margin-bottom:10px}
.context-mobile-details>summary{display:none}
.context-book-question,.context-book-note{font:11px/1.5 var(--fb);color:var(--text-muted);margin:5px 0 10px}
.context-books table{width:100%;border-collapse:collapse;font:11px/1.4 var(--fm)}
.context-books th,.context-books td{padding:8px 4px;border-bottom:1px solid var(--border);text-align:right;font-weight:400;white-space:nowrap}
.context-books th:first-child{text-align:left;font:11px var(--fb)}
.context-books thead th{color:var(--text-muted)}
.context-books thead th[aria-current]{color:var(--text);font-weight:600}
.context-books th small{display:block;font:10px/1.5 var(--fb);font-weight:400}
.context-book-read{font:500 12px/1.5 var(--fb);margin:12px 0 6px}
.context-books details{font:12px/1.5 var(--fb);color:var(--text-muted);border-top:1px solid var(--border);padding-top:9px}
.context-books a,.workspace-data-notes a{color:var(--accent)}
.context-notes-open{margin-left:auto;border:1px solid var(--border-mid);background:none;color:var(--text-muted);font:11px var(--fb);padding:6px 10px;min-height:32px;cursor:pointer}
body.complete-workspace .tutorial-btn{margin-left:0}
.workspace-data-notes{color:var(--text);background:var(--bg-panel);border:1px solid var(--border-mid);width:min(700px,calc(100vw - 32px));max-height:85vh;box-sizing:border-box;padding:20px;font:14px/1.6 var(--fb);position:fixed;inset:0;margin:auto;overflow:auto}
.workspace-data-notes::backdrop{background:rgba(0,0,0,.7)}
.context-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.context-dialog-heading h2{font-size:18px;margin:0}
.context-dialog-heading button{background:var(--bg);color:var(--text);border:1px solid var(--border-mid);min-height:40px;padding:6px 12px;cursor:pointer}
.context-guide{margin:18px 0}
.context-guide dt{font-weight:600;color:var(--text);margin-top:14px}
.context-guide dd{margin:4px 0 0;color:var(--text-muted)}
.workspace-data-notes details{border-top:1px solid var(--border);padding:12px 0}
.workspace-data-notes summary{cursor:pointer}
.context-source-flags:empty{display:none}
body.complete-workspace .context-tip-dismissed .ws-card-tip,
body.complete-workspace .context-tip-dismissed .kl-row-tip{display:none!important}
/* Keep controls, values and working charts in a compact, consistent frame. */
body.complete-workspace .context-toolbar{display:flex!important;flex-wrap:wrap;align-items:center}
body.complete-workspace .context-toolbar .hr-left{flex:0 1 auto;align-items:center;gap:8px 16px}
body.complete-workspace .complete-context-status{flex:1 1 260px;justify-content:flex-end;min-width:0}
body.complete-workspace #dataAge{white-space:normal;overflow-wrap:break-word;min-width:0}
body.complete-workspace #dataAge .snapshot-clock,body.complete-workspace #dataAge .snapshot-source{display:block}
body.complete-workspace #dataAge .snapshot-clock{color:var(--text)}
body.complete-workspace .topbar{min-height:44px;padding-top:6px;padding-bottom:6px}
body.complete-workspace .page{row-gap:10px;padding-top:12px}
body.complete-workspace #wsThesis .ws-card{padding:8px 12px!important;min-width:0}
body.complete-workspace #wsThesis .ws-card-num{font-size:22px!important;line-height:1.25!important}
body.complete-workspace #wsThesis .ws-card-head{min-height:22px;margin-bottom:2px;flex-wrap:nowrap}
body.complete-workspace #wsThesis .ws-card-head h3{border-bottom:0;min-width:0}
body.complete-workspace #wsThesis .ws-card-tip{display:none!important}
body.complete-workspace #wsThesis .ws-card{cursor:default}
.context-card-help{margin-left:auto;flex:0 0 22px;width:22px;min-height:22px;padding:0;border:1px solid var(--border-mid);background:none;color:var(--text-muted);font:11px var(--fb);cursor:pointer}
.context-card-help:hover{color:var(--text);border-color:var(--border-strong)}
.context-card-copy{margin-top:16px;font:14px/1.7 var(--fb);color:var(--text-muted)}
.context-card-copy p{margin-top:12px}
/* Chart-first investigation: secondary explanations stay available after the
   visual on phones; figures, map rows and financial calculations are intact. */
@media(min-width:1100px){
 body.complete-workspace .ws-main-left>.panel{display:flex;flex-direction:column;gap:5px}
 body.complete-workspace .ws-main-left>.panel>*{order:4}
 body.complete-workspace .ws-main-left>.panel>.panel-h{order:0;margin-bottom:3px!important}
 body.complete-workspace .ws-main-left>.panel>.complete-map-toolbar{order:1;margin:3px 0}
 body.complete-workspace .ws-main-left>.panel>.hm-wrap{order:2}
 body.complete-workspace .ws-main-left>.panel>.hm-scroll-caption{order:3}
 body.complete-workspace .ex-workspace{display:grid;grid-template-columns:minmax(0,1fr) 250px;column-gap:16px;align-items:start}
 body.complete-workspace .ex-workspace>*{grid-column:1/-1;min-width:0}
 body.complete-workspace .ex-heading{grid-row:1}
 body.complete-workspace .ex-meta{grid-row:2}
 body.complete-workspace .ex-controls{grid-row:3;margin:5px 0;padding:5px 0}
 body.complete-workspace .ex-visual{grid-row:4;grid-column:1;min-width:0}
 body.complete-workspace .ex-inspect{grid-row:4;grid-column:2;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:12px;margin:0}
 body.complete-workspace .ex-inspect>div{display:flex;flex-wrap:wrap;gap:4px 8px}
 body.complete-workspace .ex-bottom{grid-row:5;grid-column:1;margin:4px 0}
 body.complete-workspace .ex-brush{grid-row:5;grid-column:2;margin:5px 0}
 body.complete-workspace .ex-reference-strip{grid-row:6;grid-column:1}
 body.complete-workspace .ex-purpose{grid-row:6;grid-column:2;font-size:.75rem;line-height:1.45;margin:6px 0}
 body.complete-workspace .ex-reading{grid-row:7;font-size:.75rem;margin:6px 0}
 body.complete-workspace .ex-series-legend{margin:0 0 8px}
 body.complete-workspace .ex-coverage{grid-row:9}
 body.complete-workspace .ex-help{grid-row:10}
 body.complete-workspace .analysis-expiry-panel{grid-template-columns:minmax(0,1fr) 260px;column-gap:16px}
 body.complete-workspace .analysis-expiry-panel>.analysis-heading{grid-row:1}
 body.complete-workspace .analysis-expiry-panel>.analysis-scope{grid-row:2;margin:4px 0}
 body.complete-workspace .analysis-expiry-panel>.analysis-expiry-charts,body.complete-workspace .analysis-expiry-panel>.analysis-concentration{grid-row:3;grid-column:1}
 body.complete-workspace .analysis-expiry-panel>.analysis-selected-inspector{grid-row:3;grid-column:2}
 body.complete-workspace .analysis-expiry-panel>.analysis-share{grid-row:4;grid-column:1/-1;margin-top:10px}
 body.complete-workspace .analysis-expiry-panel>.analysis-selection{grid-row:5;grid-column:1/-1}
 body.complete-workspace .analysis-expiry-panel>.analysis-purpose{grid-row:6;grid-column:1/-1}
 body.complete-workspace .analysis-expiry-panel>.analysis-explanation{grid-row:7;grid-column:1/-1}
}
@media(max-width:760px){
 body.complete-workspace .topbar{padding:3px 8px;min-height:40px;gap:6px}
 body.complete-workspace .page{gap:5px;padding:6px}
 body.complete-workspace .context-toolbar{row-gap:4px!important}
 body.complete-workspace .context-toolbar .hr-left{gap:6px!important}
 body.complete-workspace .context-toolbar .tab,body.complete-workspace .context-toolbar .tn{min-height:36px;padding:5px 6px}
 body.complete-workspace .complete-context-status{gap:6px}
 body.complete-workspace .complete-context-status button{min-height:36px;padding:4px 6px}
 body.complete-workspace #dataAge{font-size:.625rem;line-height:1.3}
 body.complete-workspace .complete-mobile-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 52px;align-items:center;gap:4px;padding:5px 6px}
 body.complete-workspace .complete-mobile-summary small{font-size:.6rem;line-height:1.3}
 body.complete-workspace .complete-mobile-summary strong{font-size:.875rem;line-height:1.5}
 body.complete-workspace .complete-mobile-summary button{grid-column:auto;border-top:0;border-left:1px solid var(--border);min-height:36px;padding:2px 4px;text-align:center;font-size:.625rem;line-height:1.3}
 body.complete-workspace .complete-mobile-nav{gap:7px;font-size:.6875rem}
 body.complete-workspace .complete-mobile-nav select{min-height:36px;padding:4px 8px;font-size:.8125rem}
 body.complete-workspace #refreshStatus{font-size:.625rem;line-height:1.35;padding:4px 6px;margin:0}
 body.complete-workspace .panel,body.complete-workspace .ex-workspace,body.complete-workspace #sessionHistorySlot .session-history{padding:8px!important}
 body.complete-workspace .ws-main{display:flex!important;flex-direction:column;gap:6px!important;align-items:stretch}
 body.complete-workspace .context-mobile-overview{display:contents}
 body.complete-workspace .context-mobile-references{order:0;border:1px solid var(--border);background:var(--bg-panel);border-radius:3px;padding:5px 8px;gap:6px;font-size:.625rem;line-height:1.2}
 body.complete-workspace .context-mobile-references b{font-size:.8125rem;line-height:1.4}
 body.complete-workspace .ws-main-left{order:1}
 body.complete-workspace .context-mobile-books{order:2;margin:0;padding:8px;border:1px solid var(--border);background:var(--bg-panel);border-radius:3px}
 body.complete-workspace .context-mobile-overview>p{order:3;margin:0 8px}
 body.complete-workspace .context-mobile-actions{order:4;margin:0}
 body.complete-workspace .ws-main-right{order:5}
 body.complete-workspace .ws-main-left>.panel{display:flex;flex-direction:column;gap:4px}
 body.complete-workspace .ws-main-left>.panel>*{order:4}
 body.complete-workspace .ws-main-left>.panel>.panel-h{order:0;margin-bottom:0!important}
 body.complete-workspace .ws-main-left>.panel>.complete-map-toolbar{display:flex;flex-direction:column;align-items:stretch;order:1;margin:0}
 body.complete-workspace .complete-map-primary{order:1;margin:0;align-items:center}
 body.complete-workspace .complete-map-options{order:2;margin:0}
 body.complete-workspace .ws-main-left>.panel>.hm-wrap{order:2}
 body.complete-workspace .ws-main-left>.panel>.hm-scroll-caption{order:3}
 body.complete-workspace .complete-map-purpose{order:1!important;font-size:.75rem;margin:4px 0;line-height:1.45}
 body.complete-workspace .hm-segmented-btn,body.complete-workspace .hm-density-btn,body.complete-workspace .hm-btn{min-height:36px!important}
 body.complete-workspace .ex-workspace{display:flex;flex-direction:column}
 body.complete-workspace .ex-workspace>*{order:8}
 body.complete-workspace .ex-heading{order:0}
 body.complete-workspace .ex-meta{order:1;margin:2px 0}
 body.complete-workspace .ex-controls{order:2;display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:4px 0;padding:4px 0}
 body.complete-workspace .ex-controls .ex-segments{width:auto;flex:0 0 auto}
 body.complete-workspace .ex-controls .ex-filter-options{flex:1;min-width:0}
 body.complete-workspace .ex-controls button{min-height:36px;padding:5px 8px}
 body.complete-workspace .ex-filter-options>summary{font-size:.6875rem;min-height:36px;padding:8px 2px}
 body.complete-workspace .ex-filter-options[open]{flex-basis:100%}
 body.complete-workspace .ex-visual{order:3;width:100%;min-width:0}
 body.complete-workspace .ex-bottom{order:4;margin-top:6px}
 body.complete-workspace .ex-inspect{order:5;margin:6px 0}
 body.complete-workspace .ex-brush{order:6;margin:6px 0}
 body.complete-workspace .ex-reference-strip{order:7}
 body.complete-workspace .ex-purpose{font-size:.75rem;line-height:1.45;margin:7px 0}
 body.complete-workspace .ex-reading{order:8;font-size:.6875rem;line-height:1.45}
 body.complete-workspace .ex-help{order:10}
 body.complete-workspace .analysis-expiry-panel{padding:8px}
 body.complete-workspace .analysis-expiry-panel>.analysis-heading{order:0;gap:4px}
 body.complete-workspace .analysis-heading h2{font-size:1rem}
 body.complete-workspace .analysis-metrics{padding-bottom:0}
 body.complete-workspace .analysis-metrics button{min-height:36px}
 body.complete-workspace .analysis-expiry-panel>.analysis-scope{order:1;font-size:.6875rem;line-height:1.4;margin:5px 0}
 body.complete-workspace .analysis-expiry-panel>.analysis-expiry-charts,body.complete-workspace .analysis-expiry-panel>.analysis-concentration{order:2}
 body.complete-workspace .analysis-expiry-panel>.analysis-selected-inspector{order:3;margin:8px 0;padding:8px 0}
 body.complete-workspace .analysis-expiry-panel>.analysis-share{order:4}
 body.complete-workspace .analysis-expiry-panel>.analysis-selection{order:5}
 body.complete-workspace .analysis-expiry-panel>.analysis-purpose{order:6}
 body.complete-workspace .analysis-expiry-panel>.analysis-explanation{order:7}
 body.complete-workspace .sh-heading{gap:4px;margin-bottom:5px}
 body.complete-workspace .sh-heading h2{font-size:1rem}
 body.complete-workspace .sh-summary-context{font-size:.6875rem}
 body.complete-workspace .sh-toolbar{gap:4px;justify-content:flex-start}
 body.complete-workspace .sh-toolbar button,body.complete-workspace .sh-toolbar select{min-height:36px;font-size:.6875rem;padding:4px 7px}
 body.complete-workspace .sh-toolbar label{gap:4px;font-size:.6875rem}
 body.complete-workspace .sh-content{display:flex;flex-direction:column}
 body.complete-workspace .sh-content>*{order:7}
 body.complete-workspace .sh-content>.sh-status{order:0}
 body.complete-workspace .sh-content>.sh-status:empty{display:none}
 body.complete-workspace .sh-content>.sh-readout{order:1;margin:5px 0}
 body.complete-workspace .sh-content>.sh-plots{order:2;margin:0}
 body.complete-workspace .sh-content>.sh-time-control{order:3}
 body.complete-workspace .sh-content>.sh-coverage{order:4}
 body.complete-workspace .sh-content>.sh-context{order:5}
 body.complete-workspace .sh-content>.sh-completeness{order:6}
 body.complete-workspace .sh-content>.sh-purpose{order:7}
 body.complete-workspace .sh-content>.sh-help{order:8}
}
body.complete-workspace .complete-nav button{padding:9px 8px;gap:3px;min-height:52px}
body.complete-workspace .complete-nav button small{line-height:1.4}
body.complete-workspace .ex-meta{font-family:var(--fb)}
body.complete-workspace .ex-controls select,body.complete-workspace .ex-controls button{font-family:var(--fb)}
body.complete-workspace .sh-toolbar button,body.complete-workspace .sh-toolbar select{font-family:var(--fb)}
body.complete-workspace .ws-card-tip,body.complete-workspace .kl-row-tip{box-shadow:none!important}
/* Tablet widths retain the sidebar, but use the existing compact summary and
   chart-first strike order. The full level/regime cards remain available from
   the same disclosure; no financial content or selection behaviour changes. */
@media(min-width:761px) and (max-width:1099px){
 body.complete-workspace .complete-current-regime{display:block}
 body.complete-workspace #wsThesis{display:none!important}
 body.complete-workspace .complete-mobile-summary{display:grid;grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr)) 110px;align-items:center;gap:12px;padding:7px 12px;border:1px solid var(--border);border-radius:4px;background:var(--bg-panel)}
 body.complete-workspace .complete-mobile-summary small{display:block;font:.6875rem/1.4 var(--fb);color:var(--text-muted);white-space:nowrap}
 body.complete-workspace .complete-mobile-summary strong{display:block;font:500 1rem/1.5 var(--fm);white-space:nowrap}
 body.complete-workspace .complete-mobile-summary button{border:0;border-left:1px solid var(--border);background:none;color:var(--text-muted);font:.75rem/1.4 var(--fb);min-height:40px;padding:4px 8px;cursor:pointer}
 body.complete-workspace.complete-summary-open #wsThesis{display:grid!important;order:1;grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.complete-workspace.complete-summary-open #wsThesis>[data-card="regime"]{grid-column:1/-1!important;border-bottom:1px solid var(--border)!important}
 body.complete-workspace.complete-summary-open #wsThesis>.ws-card:not([data-card="regime"]){grid-column:auto!important}
 body.complete-workspace .ex-workspace{display:flex;flex-direction:column}
 body.complete-workspace .ex-workspace>*{order:8;min-width:0}
 body.complete-workspace .ex-heading{order:0}
 body.complete-workspace .ex-meta{order:1;margin:4px 0}
 body.complete-workspace .ex-controls{order:2;margin:4px 0;padding:5px 0}
 body.complete-workspace .ex-visual{order:3}
 body.complete-workspace .ex-bottom{order:4;margin-top:6px}
 body.complete-workspace .ex-inspect{order:5;margin:6px 0}
 body.complete-workspace .ex-brush{order:6;margin:6px 0}
 body.complete-workspace .ex-reference-strip{order:7}
 body.complete-workspace .ex-reading{order:8}
 body.complete-workspace .ex-purpose{order:9}
 body.complete-workspace .ex-help{order:10}
}
/* The disclosure is a phone control, not a half-width tablet grid item. */
@media(min-width:761px) and (max-width:1250px){
 body.complete-workspace .ws-main-right>.context-mobile-details{grid-column:1/-1}
 body.complete-workspace .context-rail-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.complete-workspace .context-rail-panels>.ws-rail-section{align-self:start;margin-bottom:0}
}
@media(min-width:1251px){
 body.complete-workspace .ws-main{grid-template-columns:minmax(0,1fr) 290px!important}
 body.complete-workspace.complete-map-expanded .context-mobile-details{grid-column:1/-1}
 body.complete-workspace.complete-map-expanded .context-rail-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
@media(max-width:760px){
 .context-mobile-overview{display:block;order:-1;width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:4px;padding:8px;background:var(--bg-panel)}
 .context-mobile-references{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;font:10px/1.4 var(--fb);color:var(--text-muted)}
 .context-mobile-references b{display:block;font:500 13px/1.5 var(--fm);color:var(--text);white-space:nowrap}
 .context-mobile-books{display:grid;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--border);padding-top:6px;margin-top:6px;font:10px/1.5 var(--fb);color:var(--text-muted)}
 .context-mobile-books b{font:500 13px/1.5 var(--fm);display:block;color:var(--text)}
 .context-mobile-overview p{font:11px/1.5 var(--fb);margin:5px 0;color:var(--text)}
 .context-mobile-overview p small{display:block;font-size:10px;color:var(--text-muted)}
 .context-mobile-actions{display:flex;gap:6px;margin-top:5px}
 .context-mobile-actions button{min-height:36px;flex:1;padding:5px 7px;font:11px/1.4 var(--fb);color:var(--text);border:1px solid var(--border-mid);border-radius:3px;background:none;cursor:pointer}
 .context-mobile-details{border:1px solid var(--border);border-radius:4px;background:var(--bg-panel)}
 .context-mobile-details>summary{display:block;list-style:revert;cursor:pointer;padding:10px;min-height:40px;box-sizing:border-box;font:12px/1.5 var(--fb);color:var(--text)}
 .context-rail-panels>.ws-rail-section{margin-bottom:0;border-width:1px 0 0!important;border-radius:0!important}
 .context-mobile-details:not([open])>.context-rail-panels{display:none!important}
 body.complete-workspace .ws-main-right{align-items:stretch}
 body.complete-workspace .ws-main-right>.ws-rail-section{width:100%;box-sizing:border-box}
 .context-notes-open{font-size:10px;min-height:36px;padding:5px 7px}
 body.complete-workspace .topbar{gap:6px;flex-wrap:wrap}
 body.complete-workspace .brand{font-size:13px}
 body.complete-workspace .tutorial-btn{font-size:10px;padding:5px 7px;min-height:36px;box-sizing:border-box;display:flex;align-items:center}
 .context-books th,.context-books td{font-size:12px}
 .analysis-expiry-panel button{min-height:40px}
 .workspace-data-notes{padding:14px}
 .context-dialog-heading h2{font-size:16px}
 body.complete-workspace .complete-context-status{flex-basis:100%;justify-content:space-between}
 body.complete-workspace #wsThesis .ws-card-head{min-height:30px}
 .context-card-help{width:30px;flex-basis:30px;min-height:30px}
}
/* Shared reading conventions: metric hue identifies positive exposure;
   negative exposure is red. Component bars retain reported values. */
body.complete-workspace .ws-card[data-card="regime"] .ws-net-dex[data-sign="negative"],
body.complete-workspace .complete-mobile-summary [data-sign="negative"]{color:var(--bearish)}
body.complete-workspace .ws-card[data-card="regime"] .ws-net-dex[data-sign="neutral"]{color:var(--text-muted)}
body.complete-workspace .complete-mobile-summary [data-metric="gex"][data-sign="positive"]{color:var(--bullish)}
body.complete-workspace .complete-mobile-summary [data-metric="dex"][data-sign="positive"]{color:var(--dex-cyan)}
body.complete-workspace .ex-chart[data-metric="dex"] .ex-bar.positive,
body.complete-workspace .hm-components[data-metric="dex"] .hm-component-bar.call{fill:var(--dex-cyan)}
body.complete-workspace .ex-composition-key [data-metric="dex"] i.call,
body.complete-workspace .ex-chart[data-metric="dex"] i.call,
body.complete-workspace .hm-components[data-metric="dex"] i.call{background:var(--dex-cyan)}
body.complete-workspace .sh-lane[data-exposure-metric="dex"] .sh-line-positive{stroke:var(--dex-cyan)}
body.complete-workspace [data-exposure-metric="dex"] .sh-positive{color:var(--dex-cyan);fill:var(--dex-cyan)}
body.complete-workspace .kl-bar--dex.kl-bar--neg{background-color:var(--bearish)}
/* One compact heading/control scale across the seven workspace views. */
/* Essential reading cues stay with the controls; only detailed methodology
   belongs in a disclosure. Full heatmap rows and their values are unchanged. */
body.complete-workspace .ex-controls>.ex-purpose,
body.complete-workspace .analysis-heading>.analysis-purpose{flex:0 0 100%;font:.75rem/1.45 var(--fb);margin:2px 0;color:var(--text-muted)}
body.complete-workspace .ws-main-left>.panel>.complete-map-purpose{order:1!important;margin:3px 0}
body.complete-workspace .ws-main-left>.panel>.complete-map-notes{order:1!important;display:flex!important;gap:3px 14px;margin:3px 0 6px}
body.complete-workspace .complete-map-notes .workspace-matrix-legend{margin:0!important}
body.complete-workspace .complete-map-notes .complete-scope-note{flex-basis:100%}
body.complete-workspace .sh-replay-link{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;flex-basis:100%;margin-top:2px}
body.complete-workspace .sh-replay-link button{font:500 13px/1.4 var(--fb);min-height:36px;padding:7px 10px;border:1px solid var(--border);background:var(--bg-panel);color:var(--text);cursor:pointer}
body.complete-workspace .sh-replay-link button:disabled{color:var(--text-muted);cursor:default;opacity:.7}
body.complete-workspace .sh-replay-link button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
body.complete-workspace .sh-replay-link small{font:11px/1.4 var(--fb);color:var(--text-muted)}
@media(max-width:760px){body.complete-workspace .sh-replay-link button{min-height:40px;font-size:14px}body.complete-workspace .sh-replay-link small{font-size:12px}}
body.complete-workspace .ex-heading h2,
body.complete-workspace .analysis-heading h2,
body.complete-workspace .sh-heading h2,
body.complete-workspace .workspace-replay h2,
body.complete-workspace .price-heading h2,
body.complete-workspace .ws-main-left .panel-title,
body.complete-workspace [data-panel="profile-curve"]>.panel-h>span{font:600 17px/1.4 var(--fb)!important;letter-spacing:0!important}
body.complete-workspace .ex-controls button,
body.complete-workspace .ex-controls select,
body.complete-workspace .sh-toolbar button,
body.complete-workspace .sh-toolbar select,
body.complete-workspace .analysis-metrics button,
body.complete-workspace .workspace-replay button,
body.complete-workspace .workspace-replay select,
body.complete-workspace .price-controls button,
body.complete-workspace .price-controls select{font:500 13px/1.4 var(--fb);min-height:36px}
body.complete-workspace .investigation-profile-controls button{font:500 13px/1.4 var(--fb);min-height:36px}
body.complete-workspace .workspace-replay button[aria-pressed="true"]{color:var(--accent);border-color:var(--accent);background:rgba(212,147,74,.1)}
body.complete-workspace .hm-segmented-btn,
body.complete-workspace .hm-density-btn,
body.complete-workspace .workspace-scope .tn{font:500 13px/1.4 var(--fb)!important;min-height:36px!important}
@media(max-width:760px){
 body.complete-workspace .ex-heading h2,body.complete-workspace .analysis-heading h2,body.complete-workspace .sh-heading h2,body.complete-workspace .workspace-replay h2,body.complete-workspace .price-heading h2,body.complete-workspace .ws-main-left .panel-title,body.complete-workspace [data-panel="profile-curve"]>.panel-h>span{font-size:16px!important}
 body.complete-workspace .ex-controls button,body.complete-workspace .ex-controls select,body.complete-workspace .sh-toolbar button,body.complete-workspace .sh-toolbar select,body.complete-workspace .analysis-metrics button,body.complete-workspace .workspace-replay button,body.complete-workspace .workspace-replay select,body.complete-workspace .price-controls button,body.complete-workspace .price-controls select{min-height:40px;font-size:14px}
 body.complete-workspace .hm-segmented-btn,body.complete-workspace .hm-density-btn,body.complete-workspace .workspace-scope .tn{font-size:14px!important;min-height:40px!important}
 body.complete-workspace .investigation-profile-controls button{font-size:14px;min-height:40px}
}

/* Desktop views share the same native exposure cards. */

body.complete-workspace .complete-map-options>summary{display:list-item;min-height:40px;padding:8px 0;font-size:.8125rem}
body.complete-workspace .complete-map-options:not([open]) .complete-map-options-body{display:none}

.complete-compact-regime{display:none}

/* Visible choices replace the small-screen dropdown; native view handlers stay intact. */
@media(max-width:760px){
 body.complete-workspace .complete-mobile-nav{display:none!important}
 body.complete-workspace .complete-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));position:static;order:3;gap:6px;overflow:visible;padding:12px 0;width:100%}
 body.complete-workspace .complete-nav::before{content:'Explore the dashboard · 8 views';grid-column:1/-1;font:500 .875rem/1.5 var(--fb);color:var(--text);padding-bottom:2px}
 body.complete-workspace .complete-nav button{min-width:0;min-height:44px;justify-content:center;align-items:flex-start;border:1px solid var(--border-mid);padding:8px 10px;font-size:.875rem}
 body.complete-workspace .complete-nav button small{display:none}
}
.price-timeframes{display:flex;gap:0}.price-timeframes button{border-radius:0}.price-timeframes button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}
.price-aggregation-note{font:.8125rem/1.5 var(--fb);color:var(--text-muted);padding:8px 0;border-bottom:1px solid var(--border)}

/* Align labelled control groups; wrap complete groups before individual indicators. */
body.complete-workspace .price-controls{align-items:flex-end;gap:12px 16px}
body.complete-workspace .price-control-group{display:flex;flex-direction:column;gap:6px;min-width:0}
body.complete-workspace .price-control-label,
body.complete-workspace .private-price-calendar .calendar-label{font:.8125rem/1.4 var(--fb);color:var(--text-muted);margin:0 0 6px}
body.complete-workspace .price-control-label{margin:0}
body.complete-workspace .price-indicators{display:flex;flex-wrap:wrap;gap:8px}
body.complete-workspace .price-controls button{box-sizing:border-box;min-height:40px;line-height:1.4;font-size:.875rem;padding:9px 11px}
body.complete-workspace .price-interval{font:.8125rem/1.5 var(--fb);padding-bottom:10px;margin-left:0}
body.complete-workspace .price-heading p,
body.complete-workspace .price-session-status,
body.complete-workspace .price-aggregation-note{font:.875rem/1.6 var(--fb);max-width:100ch}
body.complete-workspace .price-heading{align-items:center}
@media(max-width:760px){
 body.complete-workspace .price-controls{gap:12px}
 body.complete-workspace .price-controls button{min-height:44px}
 body.complete-workspace .private-price-calendar{min-width:0;flex:1 1 150px}
 body.complete-workspace .price-indicator-group{flex:1 1 100%}
 body.complete-workspace .price-interval{width:100%;padding:0;margin:0}
}

.investigation-profile{margin:10px 14px 6px;border-top:1px solid var(--border);padding-top:10px}
.investigation-purpose{display:flex;flex-direction:column;gap:4px;font:14px/1.45 var(--font-sans,Arial,sans-serif);margin-bottom:10px}
.investigation-purpose span,.investigation-profile-context{color:var(--text-muted);font-size:12px}
.investigation-profile-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.investigation-profile-controls label{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:12px}
.investigation-profile-controls input{width:130px;background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:3px;padding:8px;font:13px var(--mono,monospace)}
.investigation-profile-controls button,.workspace-inspect-strike{min-height:36px;border:1px solid var(--border);background:var(--panel);color:var(--text);padding:7px 10px;cursor:pointer}
.workspace-inspect-strike{display:block;margin-top:12px;color:var(--accent);border-color:var(--accent)}
.investigation-profile-slider{width:100%;accent-color:var(--accent);margin:12px 0;min-height:28px;cursor:ew-resize}
.investigation-profile-readout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 14px;font-size:12px}
.investigation-profile-readout div{display:flex;flex-direction:column;gap:5px}.investigation-profile-readout span{color:var(--text-muted)}
.investigation-profile-readout strong{font:500 17px var(--mono,monospace);font-variant-numeric:tabular-nums}
.investigation-profile-readout p{grid-column:1/-1;color:var(--text-muted);margin:2px 0 0;font-size:11px}
.investigation-profile-marker{pointer-events:none}.investigation-profile-marker line{stroke:var(--accent);stroke-width:1;stroke-dasharray:3 4}.investigation-profile-marker circle{fill:var(--accent);stroke:var(--bg);stroke-width:1}
.complete-workspace .chart-scroll--profile>svg{max-height:340px}
.complete-workspace .pc-mechanism-key{font-size:12px;line-height:1.45}
.complete-workspace .pc-mechanism-key div{gap:4px}.complete-workspace .pc-caption{font-size:12px}
.complete-workspace .complete-scenario-note,.complete-workspace .pc-subtitle{display:none}
.investigation-profile-phone{display:none}
.phone-profile-flip{stroke:var(--accent);stroke-dasharray:5 4;stroke-width:1.2}
.investigation-profile-phone .phone-profile-reference-label{font-size:11px;font-weight:600;fill:var(--text)}
.investigation-profile-phone .phone-profile-reference-label.flip{fill:var(--accent)}
.investigation-profile-phone .phone-profile-reference-note{font-size:10px}
.investigation-profile-why{margin:8px 14px;font-size:12px;border-top:1px solid var(--border)}.investigation-profile-why summary{cursor:pointer;padding:8px 0;color:var(--text-muted)}.investigation-profile-why p{line-height:1.5;max-width:90ch}.investigation-profile-why .pc-mechanism-key{display:grid!important}
.sh-purpose{font:14px/1.5 var(--fb,Arial,sans-serif);margin:8px 0}.sh-completeness{font:12px/1.5 var(--fb,Arial,sans-serif);color:var(--text-muted);margin:8px 0}
/* Each plot carries its selected-strike feedback on narrower screens. The
   desktop inspector remains a single shared summary beside both charts. */
@media(max-width:1099px){
 body.complete-workspace .ex-workspace>.ex-inspect{display:none}
 body.complete-workspace .ex-chart-readout{display:block;margin:0 0 .5rem}
 body.complete-workspace .ex-chart-key{display:flex;gap:.2rem .65rem;font-size:.6875rem;line-height:1.5;margin:.25rem 0 0}
 body.complete-workspace .ex-chart-reference-key{color:var(--text-muted)}
 body.complete-workspace .ex-series-legend{display:none}
 body.complete-workspace .ex-chart-label{margin-top:.5rem}
 body.complete-workspace .ex-chart svg{margin-top:0}
 body.complete-workspace .ex-plots{gap:.5rem}
}
@media(max-width:760px){
 body.complete-workspace .ex-controls .ex-series{order:2;flex:1 0 100%;display:grid;grid-template-columns:1fr 1fr;width:100%;gap:0}
 body.complete-workspace .ex-controls .ex-series button{min-height:44px;font-size:14px;border-radius:0}
 body.complete-workspace .ex-controls .ex-series button:first-child{border-radius:3px 0 0 3px}
 body.complete-workspace .ex-controls .ex-series button:last-child{border-radius:0 3px 3px 0;border-left:0}
 body.complete-workspace .ex-controls .ex-filter-options{order:1;flex:1 1 auto}
 body.complete-workspace .ex-controls .ex-filter-options[open]{flex-basis:100%}
 body.complete-workspace .ex-chart-readout-main{gap:.15rem .5rem}
 body.complete-workspace .ex-chart-readout-main>span{flex-basis:100%}
 body.complete-workspace .ex-chart-readout-main>span b{float:right}
 body.complete-workspace .ex-chart-readout-parts{display:grid;grid-template-columns:1fr 1fr;gap:.25rem .6rem}
 body.complete-workspace .ex-chart-readout-parts>span{flex-wrap:wrap;gap:.2rem .3rem}
 body.complete-workspace .ex-chart-readout-parts b{flex-basis:100%}
}
@media(min-width:1251px){
 body.complete-workspace [data-panel="profile-curve"]{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:8px 16px;align-items:start}
 body.complete-workspace [data-panel="profile-curve"]>.panel-h{grid-column:1/-1;grid-row:1;margin-bottom:0!important}
 body.complete-workspace [data-panel="profile-curve"]>.ch-legend{grid-column:1/-1;grid-row:2;margin:0}
 body.complete-workspace [data-panel="profile-curve"]>.chart-scroll--profile{grid-column:1;grid-row:3;min-width:0}
 body.complete-workspace [data-panel="profile-curve"]>.investigation-profile{grid-column:2;grid-row:3;margin:0;padding:10px;border:1px solid var(--border);border-radius:3px}
 body.complete-workspace .investigation-purpose{font-size:.8125rem;line-height:1.45}
 body.complete-workspace .investigation-profile-controls{align-items:stretch;gap:8px}
 body.complete-workspace .investigation-profile-controls label{width:100%;justify-content:space-between}
 body.complete-workspace .investigation-profile-controls input{width:112px}
 body.complete-workspace .investigation-profile-controls button{width:100%}
 body.complete-workspace .investigation-profile-readout{grid-template-columns:1fr;gap:8px}
 body.complete-workspace .investigation-profile-readout div{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
 body.complete-workspace .investigation-profile-readout strong{font-size:1rem;white-space:nowrap}
 body.complete-workspace .investigation-profile-context{font-size:.6875rem;line-height:1.5}
 body.complete-workspace [data-panel="profile-curve"]>.pc-caption{grid-column:1;grid-row:4;margin:0}
 body.complete-workspace [data-panel="profile-curve"]>.investigation-profile-why{grid-column:1/-1;grid-row:5;margin:4px 0}
 body.complete-workspace [data-panel="profile-curve"]>.chart-explanation{grid-column:1/-1;grid-row:6;margin:0}
}
@media(max-width:640px){
 body.complete-workspace [data-panel="profile-curve"]{display:flex;flex-direction:column;gap:4px}
 body.complete-workspace [data-panel="profile-curve"]>*{order:5}
 body.complete-workspace [data-panel="profile-curve"]>.panel-h{order:0}
 body.complete-workspace [data-panel="profile-curve"]>.ch-legend{order:1;margin:0 2px;gap:4px 10px;font-size:.625rem;line-height:1.4}
 body.complete-workspace [data-panel="profile-curve"]>.investigation-profile-phone{order:2;width:100%;margin:4px 0}
 body.complete-workspace [data-panel="profile-curve"]>.pc-caption{order:3;margin:0;font-size:.6875rem;line-height:1.4}
 body.complete-workspace [data-panel="profile-curve"]>.investigation-profile{order:4;margin:6px 0;padding-top:8px}
 body.complete-workspace .investigation-profile-why{margin:4px 0}
}
@media(max-width:640px){.investigation-profile{margin:10px}.investigation-profile-controls{gap:8px}.investigation-profile-controls button{min-height:44px}.investigation-profile-controls input{width:120px;min-height:44px}.investigation-profile-context{flex-basis:100%}.investigation-profile-readout{grid-template-columns:1fr 1fr}.investigation-profile-readout>div:last-of-type{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}.investigation-profile-readout strong{font-size:15px}.investigation-profile-slider{min-height:40px}.complete-workspace .chart-scroll--profile{display:none!important}.complete-workspace .investigation-profile-phone{display:block;width:calc(100% - 20px);height:auto;margin:8px 10px;touch-action:pan-y}.investigation-profile-phone text{font:11px var(--fm,monospace);fill:var(--text-muted)}.phone-profile-grid{stroke:var(--border);stroke-dasharray:2 3;stroke-width:1}.phone-profile-curve{stroke:var(--accent);stroke-width:1.7;fill:none}.phone-profile-spot{stroke:var(--text-muted);stroke-dasharray:3 4;stroke-width:1}.phone-profile-cursor{stroke:var(--accent);stroke-dasharray:3 4;stroke-width:1}.phone-profile-point{fill:var(--accent);stroke:var(--bg);stroke-width:1}.investigation-profile-why{margin:8px 10px}.sh-purpose{font-size:13px}.sh-completeness{font-size:12px}}

.workspace-replay{min-width:0;color:var(--text);font-family:var(--fb);padding:1rem;background:var(--bg-panel);border:1px solid var(--border)}
.workspace-replay[data-replay-preview=true] .replay-transport,.workspace-replay[data-replay-preview=true] .replay-comparison,.workspace-replay[data-replay-preview=true] .replay-controls>label,.workspace-replay[data-replay-preview=true] [data-replay-example]{display:none}
.workspace-replay [hidden]{display:none!important}.workspace-replay button,.workspace-replay select{font:inherit;color:var(--text);background:var(--bg-panel);border:1px solid var(--border-strong);min-height:2.5rem;padding:.4rem .65rem;border-radius:0}.workspace-replay button{cursor:pointer}.workspace-replay button:disabled,.workspace-replay select:disabled{opacity:.5;cursor:default}.workspace-replay button[aria-pressed=true]{background:var(--bg-elevated);border-color:var(--text-muted)}.workspace-replay :focus-visible{outline:2px solid var(--text);outline-offset:2px}.workspace-replay h2{margin:0;font-size:1.15rem}.workspace-replay p{margin:.4rem 0;font-size:.85rem;line-height:1.45}.replay-heading{display:flex;align-items:start;justify-content:space-between;gap:1rem}.replay-heading p{color:var(--text-muted);max-width:46rem}.replay-controls,.replay-chart-tools{display:flex;align-items:end;flex-wrap:wrap;gap:.6rem;margin:.8rem 0}.replay-controls label,.replay-chart-tools label{display:grid;gap:.2rem;font-size:.76rem;color:var(--text-muted)}.workspace-replay fieldset{border:0;margin:0;padding:0;display:flex;gap:0}.workspace-replay legend{font-size:.76rem;color:var(--text-muted);margin-bottom:.2rem}.replay-status{padding:.4rem 0;border-bottom:1px solid var(--border);color:var(--text-muted)}.replay-body{min-width:0}.replay-transport{display:flex;gap:.35rem;align-items:center;flex-wrap:wrap;margin:.6rem 0}.replay-transport input{flex:1;min-width:90px;accent-color:var(--accent)}.replay-transport output{font: .76rem var(--fm);color:var(--text-muted)}.replay-frame-context{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.3rem .8rem;font:.76rem var(--fm);padding:.45rem 0}.replay-frame-context span{color:var(--text-muted)}.replay-levels{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--border);margin:.4rem 0}.replay-levels span{display:grid;gap:.2rem;padding:.5rem;font-size:.76rem;color:var(--text-muted)}.replay-levels b{font:1rem var(--fm);color:var(--text)}.replay-chart{min-width:0}.replay-chart h3{display:flex;justify-content:space-between;gap:.5rem;margin:.5rem 0;font: .85rem var(--fm)}.replay-chart h3 small{font-size:.7rem;color:var(--text-muted)}.replay-chart svg{display:block;width:100%;height:auto;max-height:320px;overflow:visible}.replay-grid{stroke:var(--border-strong);stroke-dasharray:3 4}.replay-axis{font:11px var(--fm);fill:var(--text-muted)}.replay-bar.positive{fill:var(--bullish);opacity:.85}.replay-bar.negative{fill:var(--bearish);opacity:.85}.replay-hit{fill:transparent;cursor:crosshair}.replay-hit[aria-pressed=true]{stroke:var(--text-muted);stroke-width:1}.replay-hit:focus{outline:none;stroke:var(--text);stroke-width:2}.replay-spot-line{stroke:var(--text-muted);stroke-dasharray:5 4;pointer-events:none}.replay-selected-line{stroke:var(--accent);stroke-dasharray:2 4;pointer-events:none}.replay-plot-foot{font-size:.72rem!important;color:var(--text-muted)}.replay-inspector{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1.1rem;border-block:1px solid var(--border);padding:.6rem 0}.replay-inspector>strong{font:.85rem var(--fm)}.replay-inspector span{display:grid;gap:.15rem;font-size:.72rem;color:var(--text-muted)}.replay-inspector b{font:.88rem var(--fm);color:var(--text)}.replay-comparison{display:flex;align-items:center;gap:.7rem;margin:.65rem 0}.replay-comparison p{font-size:.76rem;color:var(--text-muted)}.replay-matrix-details,.replay-explanation{border-top:1px solid var(--border);padding:.65rem 0}.workspace-replay summary{cursor:pointer;font-size:.83rem}.replay-matrix{overflow:auto;max-width:100%}.replay-matrix table{border-collapse:collapse;font:.72rem var(--fm);width:max-content;min-width:15rem}.replay-matrix td,.replay-matrix th{padding:0;border:1px solid var(--border);text-align:right;white-space:nowrap}.replay-matrix th{padding:.45rem .5rem;background:var(--bg-panel)}.replay-matrix th:first-child{position:sticky;left:0;z-index:1}.replay-matrix button{width:100%;min-width:6rem;min-height:2.2rem;padding:.3rem .5rem;border:0;font:.72rem var(--fm);font-feature-settings:'tnum'}.replay-matrix button[aria-pressed=true]{outline:1px solid var(--text);outline-offset:-1px}.replay-explanation p{color:var(--text-muted);font-size:.76rem;max-width:72rem}.replay-provenance{overflow-wrap:anywhere}
@media(max-width:760px){.workspace-replay{padding:.65rem}.replay-heading{display:block}.replay-heading>button{font-size:.73rem;min-height:2rem;margin:.35rem 0}.replay-heading p{font-size:.78rem}.replay-controls{gap:.4rem}.replay-controls label{flex:1;min-width:40%}.replay-controls select{width:100%}.workspace-replay button,.workspace-replay select{font-size:.76rem}.replay-controls fieldset{flex:1}.replay-controls fieldset button{flex:1}.replay-controls label,.workspace-replay legend{font-size:.7rem}.replay-levels span{padding:.35rem .15rem;font-size:.65rem}.replay-levels b{font-size:.8rem}.replay-frame-context{font-size:.65rem}.replay-chart-tools{gap:.35rem}.replay-chart-tools label{flex:1;min-width:30%;font-size:.65rem}.replay-chart-tools select{width:100%;padding:.25rem;font-size:.7rem}.replay-transport{gap:.25rem}.replay-transport button{padding:.3rem;min-height:2.3rem;font-size:.67rem}.replay-transport input{order:2;flex-basis:70%}.replay-transport output{order:3;font-size:.65rem}.replay-status{font-size:.73rem!important}.replay-inspector{gap:.5rem;display:grid;grid-template-columns:repeat(3,1fr)}.replay-inspector>strong{grid-column:1/-1}.replay-inspector b{font-size:.78rem}.replay-comparison{display:block}.replay-chart h3{font-size:.75rem}.replay-chart h3 small{font-size:.63rem}.replay-chart svg{max-height:none}.replay-plot-foot{font-size:.64rem!important}}
@media(max-width:760px){.replay-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.35rem}.replay-heading>div{min-width:0}.workspace-replay h2{font-size:1rem}.replay-heading>button{margin:0;max-width:7.5rem;min-height:2.5rem;padding:.3rem .45rem;line-height:1.2}.replay-heading p{margin:.25rem 0 0;font-size:.73rem}.replay-heading>[data-replay-example]{grid-column:1/-1;max-width:none;justify-self:start}.replay-controls{margin:.5rem 0;gap:.35rem .5rem}.replay-status{margin:.25rem 0!important;padding:.3rem 0}.replay-frame-context{padding:.3rem 0;gap:.2rem}.replay-chart h3{margin:.35rem 0}.replay-chart-tools{margin:.6rem 0}.replay-levels{margin:.3rem 0 .6rem}}
.replay-modes{display:flex;gap:0;margin:.3rem 0}.replay-modes button{min-height:2rem;padding:.3rem .8rem;font-size:.78rem}.replay-readiness{color:var(--text-muted);max-width:66rem}.workspace-replay[data-replay-mode=change] .replay-comparison{display:block}.replay-analysis-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.5rem;margin:.5rem 0}.replay-analysis-controls label{display:grid;gap:.2rem;min-width:7rem;font-size:.73rem;color:var(--text-muted)}.replay-analysis-controls select{font: .76rem var(--fm);min-height:2.3rem}.replay-question{color:var(--text);font-size:.85rem!important}.replay-b-clock,.replay-change-clocks{font:.72rem var(--fm);color:var(--text-muted)}.replay-b-clock{align-self:center}.replay-change-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;min-width:0}.replay-change-charts>div{min-width:0}.replay-change-charts h3{display:flex;flex-direction:column;gap:.2rem;font:.78rem var(--fm);margin:.6rem 0}.replay-change-charts h3 small{font:.68rem var(--fm);color:var(--text-muted)}.replay-change-charts svg{display:block;width:100%;height:auto;overflow:visible}.replay-change-bar.baseline{fill:none;stroke:var(--text-muted);stroke-width:1.1}.replay-change-bar.positive{fill:var(--bullish);opacity:.85}.replay-change-bar.negative{fill:var(--bearish);opacity:.85}.replay-change-readout{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;align-items:center;border-block:1px solid var(--border);padding:.5rem 0}.replay-change-readout>strong{font:.82rem var(--fm)}.replay-change-readout span{display:grid;gap:.15rem;font-size:.7rem;color:var(--text-muted)}.replay-change-readout b{font:.82rem var(--fm);color:var(--text)}.replay-change-note,.replay-time-note,.replay-time-status,.replay-time-legend{font-size:.73rem!important;color:var(--text-muted)}.replay-time-chart{overflow:auto;max-width:100%;max-height:510px;border:1px solid var(--border)}.replay-time-chart:empty{border:0}.replay-time-chart svg{display:block;width:auto;max-width:none;height:auto}.replay-time-cell{stroke:var(--border);stroke-width:1;cursor:crosshair}.replay-time-cell[aria-pressed=true]{stroke:var(--text);stroke-width:2}.replay-time-cell:focus{outline:none;stroke:var(--text);stroke-width:2.5}.replay-time-gap{fill:var(--bg-elevated);stroke:var(--text-muted);stroke-dasharray:2 3;stroke-width:1}.replay-time-readout{display:grid;gap:.2rem;font:.76rem var(--fm);padding:.45rem 0}.replay-time-readout span{font-size:.68rem;color:var(--text-muted)}.replay-time-legend{padding:.4rem}.workspace-replay [data-replay-open-capture]{margin:.4rem 0;min-height:2.3rem;font-size:.76rem}
@media(max-width:800px){.replay-change-charts{grid-template-columns:minmax(0,1fr);gap:.3rem}.replay-analysis-controls{gap:.35rem}.replay-analysis-controls label{flex:1;min-width:40%}.replay-analysis-controls select{width:100%;min-width:0}.replay-analysis-controls [data-replay-project]{flex:1}.replay-change-readout{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.replay-change-readout>strong{grid-column:1/-1}.replay-change-readout b{font-size:.76rem}.replay-change-clocks{font-size:.65rem}.replay-modes{margin:.25rem 0}.replay-modes button{flex:1;min-height:2rem;padding:.3rem;font-size:.73rem}.replay-time-chart{max-height:450px}}

/* Empty replay is content-sized; a navigation rail must not stretch the panel. */
.workspace-replay{align-self:start;box-sizing:border-box}.workspace-replay[data-replay-empty=true]{min-height:0}.replay-heading-actions{display:flex;align-items:start;gap:.4rem;flex-wrap:wrap}.replay-heading-actions button{font-size:.76rem}.workspace-replay[data-replay-preview=true] .replay-modes{display:none}.workspace-replay .replay-readiness{font-size:.73rem}
@media(max-width:760px){.replay-heading-actions{justify-content:flex-end;max-width:9rem}.replay-heading-actions button{font-size:.7rem;min-height:2.1rem;padding:.3rem .45rem;line-height:1.2}.workspace-replay[data-replay-empty=true] .replay-heading{grid-template-columns:1fr}.workspace-replay[data-replay-empty=true] .replay-heading-actions{justify-content:start;max-width:none}.workspace-replay .replay-readiness{font-size:.68rem;line-height:1.35}.workspace-replay[data-replay-mode=change] .replay-chart-tools,.workspace-replay[data-replay-mode=time] .replay-chart-tools{margin:.35rem 0}}

.replay-analysis-options{border:0;padding:0;margin:0}.replay-analysis-options>summary{font-size:.73rem;color:var(--text-muted);padding:.35rem 0}.workspace-replay[data-replay-mode=capture] .replay-analysis-options>summary{display:none}.workspace-replay:not([data-replay-mode=capture]) .replay-body{display:flex;flex-direction:column}.workspace-replay:not([data-replay-mode=capture]) .replay-modes{order:0}.workspace-replay:not([data-replay-mode=capture]) .replay-frame-context{display:none}.workspace-replay[data-replay-mode=change] .replay-comparison{order:1;margin:.2rem 0}.workspace-replay[data-replay-mode=change] .replay-analysis-options{order:2}.workspace-replay[data-replay-mode=time] .replay-analysis-options{order:1}.workspace-replay[data-replay-mode=time] .replay-time{order:2}.workspace-replay:not([data-replay-mode=capture]) .replay-explanation{order:3}.workspace-replay:not([data-replay-mode=capture]) .replay-question{display:none}.workspace-replay[data-replay-mode=time] [data-replay-range]{display:none}.workspace-replay[data-replay-mode=time] .replay-chart-tools label:has([data-replay-range]){display:none}.replay-analysis-controls{margin:.3rem 0}.replay-change-clocks{line-height:1.35}.replay-time-chart{max-height:510px}
@media(max-width:760px){.workspace-replay:not([data-replay-mode=capture]) .replay-status{font-size:.68rem!important;line-height:1.25}.workspace-replay:not([data-replay-mode=capture]) .replay-readiness{font-size:.65rem;line-height:1.3}.replay-change-clocks{font-size:.62rem}.replay-change-readout{padding:.35rem 0;gap:.3rem}.replay-change-readout>strong{font-size:.73rem}.replay-change-readout b{font-size:.72rem}.replay-time-status{font-size:.65rem!important;line-height:1.3}.replay-time-readout{font-size:.7rem;padding:.3rem 0}.replay-time-readout span{font-size:.62rem}.replay-analysis-controls label{font-size:.65rem;min-width:38%}.replay-analysis-controls select{min-height:2.1rem}.replay-time-chart{max-height:480px}}

.replay-context-options{border:0;padding:0;margin:0}.replay-context-options>summary{display:none}.workspace-replay[data-replay-mode=time] .replay-time{order:1}.workspace-replay[data-replay-mode=time] .replay-analysis-options{order:2}
@media(max-width:760px){.workspace-replay:is([data-replay-mode=change],[data-replay-mode=time]){display:flex;flex-direction:column}.workspace-replay:not([data-replay-mode=capture]) .replay-heading{order:0}.workspace-replay:not([data-replay-mode=capture]) .replay-heading p{display:none}.workspace-replay:not([data-replay-mode=capture]) .replay-context-options{order:1;margin:.35rem 0}.workspace-replay:not([data-replay-mode=capture]) .replay-context-options>summary{display:block;font:.68rem/1.4 var(--fm);padding:.45rem .3rem;border:1px solid var(--border-strong);color:var(--text)}.workspace-replay:not([data-replay-mode=capture]) .replay-body{order:2}.workspace-replay:not([data-replay-mode=capture]) .replay-status{order:3}.workspace-replay:not([data-replay-mode=capture]) .replay-readiness{order:4}.workspace-replay:not([data-replay-mode=capture]) .replay-question{display:block;order:5;font-size:.73rem!important;color:var(--text-muted)}.replay-change,.replay-time{display:flex;flex-direction:column}.replay-change>.replay-question,.replay-time>.replay-question{order:5}.replay-change-note,.replay-time-note{order:4}.replay-analysis-controls{margin:.2rem 0}.replay-time-status{margin:.25rem 0!important}.replay-change-clocks{margin:.25rem 0!important}.replay-change-charts h3{margin:.35rem 0}.replay-time-readout{padding:.2rem 0}.replay-heading-actions{max-width:7.5rem}}

.replay-context-options>summary::before{content:"▸ ";color:var(--accent)}.replay-context-options[open]>summary::before{content:"▾ "}

/* Snapshot components use saved side values; colour identifies the side, not its sign. */
.replay-snapshot-head{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.replay-snapshot-head h3{flex:1;min-width:0;flex-direction:column;gap:.15rem}.replay-series{display:flex;flex-shrink:0}.workspace-replay .replay-series button{min-height:2.2rem;padding:.3rem .55rem;font-size:.74rem}.replay-series-legend{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem 1rem;margin:.2rem 0;font-size:.74rem}.replay-series-legend>span{display:inline-flex;align-items:center;gap:.35rem}.replay-series-legend i{display:inline-block;width:.8rem;height:.65rem;opacity:.85}.replay-series-legend i.call{background:var(--bullish)}.replay-series-legend i.put{background:var(--bearish)}.replay-series-legend i.net{height:0;border-top:2px solid var(--text);opacity:1}.replay-series-legend small{color:var(--text-muted);font-size:.68rem}.replay-component.call{fill:var(--bullish);opacity:.85}.replay-component.put{fill:var(--bearish);opacity:.85}.replay-component-zero{stroke-width:2;opacity:.85}.replay-component-zero.call{stroke:var(--bullish)}.replay-component-zero.put{stroke:var(--bearish)}.replay-net-marker{stroke:var(--text);stroke-width:2;pointer-events:none}.replay-missing{font:11px var(--fm);fill:var(--text-muted)}.workspace-replay .replay-reconciliation{flex-basis:100%;grid-column:1/-1;font-size:.73rem;color:var(--text-muted);margin:0;line-height:1.45}.replay-reconciliation[data-replay-reconciliation=mismatch]{color:var(--bearish)}
@media(max-width:760px){.replay-snapshot-head{gap:.3rem}.workspace-replay .replay-series button{min-height:2.5rem;padding:.3rem .45rem;font-size:.7rem}.replay-series-legend{gap:.25rem .65rem;font-size:.7rem}.replay-series-legend small{font-size:.63rem}.workspace-replay .replay-reconciliation{font-size:.68rem}}
.replay-status:empty{display:none}
.replay-selection-context{display:flex;align-items:center;flex-wrap:wrap;gap:.3rem 1rem;order:0;border-block:1px solid var(--border);padding:.45rem 0;margin:.2rem 0 .4rem;font:.72rem/1.4 var(--fm);color:var(--text-muted)}
.replay-selection-context strong,.replay-selection-context b{color:var(--text);font-weight:500}
.workspace-replay .replay-frame-context{display:none}
@media(max-width:760px){.replay-selection-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem .5rem;font-size:.65rem;padding:.4rem 0}.replay-selection-context span:last-child{grid-column:1/-1}.workspace-replay .replay-series button{min-height:2.65rem}.replay-series-legend{line-height:1.4}}
.replay-empty[hidden]{display:none}
.replay-empty{border-top:1px solid var(--border);padding-top:1rem;margin-top:.75rem}
.replay-empty h3{font:500 1rem var(--fd);margin:0;color:var(--text)}
.workspace-replay .replay-empty-summary{font:.8125rem/1.5 var(--fb);color:var(--text-muted);margin:.5rem 0 0}
.workspace-replay[data-replay-empty=true] .replay-controls>label,.workspace-replay[data-replay-empty=true] .replay-controls>fieldset:last-child{display:none}
.workspace-replay[data-replay-empty=true] .replay-context-options>summary{display:none}
.workspace-replay[data-replay-empty=true] .replay-heading p{display:block}
@media(max-width:760px){.replay-empty h3{font-size:.9375rem}.replay-empty{padding-top:.75rem}}

/* A stable minute-resolution scrubber keeps the accepted chart visible while loading. */
.replay-scrubber{flex:1;min-width:15rem;display:grid;gap:.15rem;margin-left:.7rem}
.replay-scrubber-heading,.replay-time-bounds{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font:.75rem/1.4 var(--fm);color:var(--text-muted)}
.replay-scrubber-heading output{color:var(--text);font:500 .8125rem var(--fm);white-space:nowrap}
.replay-scrubber input{display:block;width:100%;min-width:0;margin:.35rem 0;cursor:pointer}
.replay-time-bounds{font-size:.6875rem}.workspace-replay[data-replay-mode=change] .replay-transport{order:0}
.workspace-replay .replay-controls button,.workspace-replay .replay-controls select,.workspace-replay .replay-transport button{font-size:.8125rem}
.workspace-replay[data-exposure-metric=dex] .replay-bar.positive,.workspace-replay[data-exposure-metric=dex] .replay-change-bar.positive,.workspace-replay[data-exposure-metric=dex] .replay-component.call{fill:var(--dex-cyan,#6ea0b4)}
.workspace-replay[data-exposure-metric=dex] .replay-component-zero.call{stroke:var(--dex-cyan,#6ea0b4)}
.workspace-replay[data-exposure-metric=dex] .replay-series-legend i.call{background:var(--dex-cyan,#6ea0b4)}
@media(max-width:760px){.replay-scrubber{flex-basis:100%;min-width:0;margin:.3rem 0 0}.replay-scrubber input{order:initial;flex-basis:auto}.replay-scrubber-heading output{order:initial;font-size:.8125rem}.replay-transport{gap:.35rem}.replay-transport>button{flex:1}.workspace-replay .replay-controls button,.workspace-replay .replay-controls select,.workspace-replay .replay-transport button{font-size:.875rem}.replay-controls>label{flex-basis:100%}.replay-time-bounds{font-size:.6875rem}}

/* Historical analysis: stable navigation, one time control, visible chart keys. */
body.complete-workspace .workspace-replay .replay-body{display:flex;flex-direction:column}
body.complete-workspace .workspace-replay .replay-body>.replay-modes{order:-4;margin:.4rem 0}
body.complete-workspace .workspace-replay .replay-body>.replay-selection-context{order:-3}
body.complete-workspace .workspace-replay .replay-body>.replay-transport{order:-2;align-items:center}
body.complete-workspace .workspace-replay .replay-body>.replay-analysis-options{order:2}
body.complete-workspace .workspace-replay .replay-body>.replay-matrix-details{order:3}
body.complete-workspace .workspace-replay .replay-body>.replay-explanation{order:4}
body.complete-workspace .workspace-replay .replay-context-options>summary{display:none}
body.complete-workspace .workspace-replay .replay-analysis-options>summary{display:list-item}
body.complete-workspace .workspace-replay .replay-heading p{display:block}
body.complete-workspace .workspace-replay .replay-question,body.complete-workspace .workspace-replay .replay-b-clock{display:none}
body.complete-workspace .workspace-replay .replay-transport .replay-analysis-controls{margin:0 .6rem 0 0;flex-shrink:0}
.replay-scrubber{position:relative;padding-top:1.45rem;gap:0}
.replay-scrubber-heading{position:absolute;top:0;left:0}
.replay-scrubber-heading>[data-replay-time-label]{font:.7rem var(--fm);color:var(--text-muted)}
.replay-scrubber-heading [data-replay-position]{position:absolute}
body.complete-workspace .workspace-replay [data-replay-position],body.complete-workspace .workspace-replay [data-replay-hover-time]{position:absolute;transform:translateX(-50%);padding:.2rem .4rem;border:1px solid var(--border-strong);background:var(--bg-panel);color:var(--text);font:500 .75rem/1.1 var(--fm);white-space:nowrap;pointer-events:none;z-index:2}
body.complete-workspace .workspace-replay [data-replay-hover-time]{border-color:var(--accent);color:var(--accent)}
.replay-scrubber input{height:1.1rem;margin:.4rem 0 .2rem}
.replay-scrubber-heading{position:static;display:contents}
.replay-scrubber-heading>[data-replay-time-label]{position:absolute;top:0;left:0;transform:translateY(-.8rem)}
body.complete-workspace .workspace-replay .replay-time{order:1;display:block}
body.complete-workspace .workspace-replay .replay-time-note{max-width:65rem;margin:.5rem 0;font-size:.75rem}
body.complete-workspace .workspace-replay .replay-time-status{color:var(--text);font:.75rem/1.4 var(--fm)}
body.complete-workspace .workspace-replay .replay-time-readout{padding:.5rem 0;gap:.2rem;font-size:.8rem}
body.complete-workspace .workspace-replay .replay-time-readout span{font-size:.72rem}
body.complete-workspace .workspace-replay .replay-time-legend{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap;padding:.35rem 0 .65rem;font:.72rem/1.5 var(--fm)}
.replay-time-legend:empty{display:none}
.replay-time-legend small{display:block;font:.7rem/1.4 var(--fb);color:var(--text-muted)}
.replay-color-key{width:16rem;max-width:100%}
.replay-color-values{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.2rem}
.replay-color-ramp{height:7px;background:linear-gradient(90deg,rgba(248,113,113,.55),var(--bg-panel) 50%,rgba(74,222,128,.55));border:1px solid var(--border)}
[data-exposure-metric=dex] .replay-color-ramp{background:linear-gradient(90deg,rgba(248,113,113,.55),var(--bg-panel) 50%,rgba(110,160,180,.55))}
body.complete-workspace .workspace-replay .replay-time-chart{max-height:560px;isolation:isolate;scrollbar-gutter:stable}
.replay-time-canvas{position:relative}
.replay-time-axis{position:sticky;top:0;z-index:4;background:var(--bg-panel);height:30px;border-bottom:1px solid var(--border)}
.replay-time-axis>span{position:sticky;left:0;top:0;display:block;width:70px;height:30px;box-sizing:border-box;padding:.55rem .3rem;background:var(--bg-panel);font:.65rem var(--fm);color:var(--text-muted);z-index:5}
.replay-time-axis>svg{position:absolute;left:0;top:0}
.replay-time-plot{position:relative}
body.complete-workspace .workspace-replay .replay-strike-axis{position:sticky;left:0;z-index:3;background:var(--bg-panel)}
body.complete-workspace .workspace-replay .replay-time-values{position:absolute;left:0;top:0;z-index:1}
body.complete-workspace .workspace-replay .replay-time .replay-analysis-controls{gap:.5rem .75rem}
body.complete-workspace .workspace-replay .replay-time [data-replay-project]{align-self:end}
@media(max-width:760px){
 body.complete-workspace .workspace-replay .replay-controls{gap:.4rem .65rem}
 body.complete-workspace .workspace-replay .replay-controls>label{flex:1;min-width:100%}
 body.complete-workspace .workspace-replay .replay-heading{grid-template-columns:minmax(0,1fr) auto}
 body.complete-workspace .workspace-replay .replay-transport .replay-analysis-controls{flex-basis:100%;margin:0 0 .5rem}
 body.complete-workspace .workspace-replay .replay-transport .replay-analysis-controls label{flex:1}
 .replay-scrubber{margin:1rem 0 .35rem;padding-top:1.45rem}
 body.complete-workspace .workspace-replay .replay-time-legend{gap:.3rem;padding:.3rem 0 .6rem}
 .replay-color-key{width:100%}
 body.complete-workspace .workspace-replay .replay-time .replay-analysis-controls label{min-width:40%;flex:1}
 body.complete-workspace .workspace-replay .replay-time [data-replay-project]{flex-basis:100%}
 body.complete-workspace .workspace-replay .replay-time-chart{max-height:480px}
 body.complete-workspace .workspace-replay .replay-selection-context{display:flex;font-size:.7rem}
 body.complete-workspace .workspace-replay .replay-change-readout span{font-size:.7rem}
}


/* Intraday values: stronger signed intensity and explicit observation spacing. */
.replay-time-display{display:flex;align-items:center;justify-content:space-between;gap:.6rem 1rem;flex-wrap:wrap}.replay-time-display>label{display:flex;align-items:center;gap:.5rem;font:.72rem var(--fb);color:var(--text-muted)}.workspace-replay .replay-time-display select{min-height:2.2rem;font-size:.8rem}.replay-time-display .replay-time-legend{flex:1;min-width:16rem}.replay-time-cell{stroke:var(--bg-panel);stroke-width:.6}.replay-time-cell:hover{stroke:var(--text);stroke-width:1.5}.replay-time-cell[aria-pressed=true]{stroke:var(--text);stroke-width:2.2}.replay-time-gap{fill:var(--bg-elevated);stroke:var(--accent);stroke-dasharray:3 3}.replay-color-ramp{height:9px}@media(max-width:760px){.replay-time-display{display:block}.replay-time-display>label{justify-content:space-between;margin-bottom:.5rem}.replay-time-display .replay-time-legend{min-width:0}}

.price-workspace{min-width:0;border:1px solid var(--border,#29333d);background:var(--surface,#0f161c);padding:18px;align-self:start}
.price-settings[hidden]{display:none}.price-settings{border-bottom:1px solid var(--border,#29333d);padding:12px 0}.price-settings-fields{display:grid;grid-template-columns:repeat(5,minmax(90px,130px));gap:10px}.price-settings-fields label{display:grid;gap:6px;font-size:.75rem;color:var(--muted,#9aa5af)}.price-settings-fields input{box-sizing:border-box;min-width:0;width:100%;background:#0c1217;color:#dce1e5;border:1px solid #35414a;border-radius:3px;padding:8px 10px;font: .8rem var(--font-mono,'JetBrains Mono',monospace)}.price-settings-fields input[aria-invalid=true]{border-color:var(--bearish,#c47a6e)}.price-settings-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}.price-settings-actions span{font-size:.72rem;color:var(--muted,#9aa5af)}.price-settings [role=alert]{font-size:.75rem;color:var(--bearish,#c47a6e);margin:8px 0 0}.price-indicator-context{font-size:.75rem;line-height:1.55;color:var(--muted,#9aa5af);margin:0 0 8px;max-width:105ch}.price-indicator-context strong{font-weight:500;color:var(--text,#e8ecef)}.price-ema-key{display:inline-block;width:12px;height:2px;background:#b5a7d6;margin:0 5px 3px 0}.price-workspace button:disabled{opacity:.45;cursor:not-allowed}.price-workspace input:focus-visible,.price-workspace button:focus-visible{outline:2px solid var(--accent,#d4934a);outline-offset:2px}
@media(max-width:700px){.price-settings-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.price-settings-actions span{flex-basis:100%}.price-settings-fields input{min-height:40px}.price-settings-actions button{min-height:40px}}
.price-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.price-heading h2{margin:0 0 6px;font-size:20px}.price-heading p,.price-levels p{margin:0;color:var(--muted,#9aa5af);font-size:12px;line-height:1.55}.price-workspace button,.price-workspace select{background:#0c1217;color:#dce1e5;border:1px solid #35414a;border-radius:3px;padding:9px 11px;font:inherit;font-size:12px}.price-workspace button[aria-pressed=true]{border-color:#d4934a;color:#d4934a}.price-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 0;border-bottom:1px solid #29333d}.price-controls label{font-size:12px;color:#9aa5af;display:flex;gap:8px;align-items:center}.price-interval{margin-left:auto;color:#9aa5af;font-size:11px}.price-inspector{display:flex;gap:12px;flex-wrap:wrap;padding:12px 0;font:11px var(--font-mono,'JetBrains Mono',monospace);color:#9aa5af;min-height:40px;box-sizing:border-box}.price-inspector strong,.price-inspector b{color:#e8ecef;font-weight:500}.price-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:20px;align-items:start}.price-charts{min-width:0}.price-candles svg,.price-macd svg{display:block;width:100%;height:auto;overflow:visible}.price-workspace svg text{font:10px var(--font-mono,'JetBrains Mono',monospace);fill:#9aa5af}.price-grid{stroke:#2b3740;stroke-dasharray:3 4}.price-levels{border-left:1px solid #29333d;padding-left:16px}.price-levels h3,.price-macd h3{font-size:13px;margin:0 0 4px}.price-level{display:grid;grid-template-columns:1fr auto;gap:7px;padding:12px 0;border-bottom:1px solid #29333d;font-size:12px}.price-level b{font-family:var(--font-mono,monospace)}.price-level small{grid-column:1/-1;color:#9aa5af;font-size:11px}.price-level-context{padding:12px 0}.price-levels button{width:100%;font-size:11px}.price-scrub{display:flex;gap:10px;align-items:center;font-size:11px;color:#9aa5af}.price-scrub input{min-width:0;flex:1;accent-color:#d4934a}.price-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:#9aa5af;padding:13px 0}.price-legend i{display:inline-block;width:8px;height:8px;margin-right:4px}.price-up{background:#7fb289}.price-down{background:#c47a6e}.price-reference{border-top:1px solid #29333d;padding-top:10px;color:#9aa5af;font-size:12px;line-height:1.65}.price-reference summary{cursor:pointer}.price-reference p{max-width:95ch}.price-macd{border-top:1px solid #29333d;margin-top:10px;padding-top:12px}.price-macd h3 span{font-size:11px;font-weight:400;color:#9aa5af;margin-left:8px}.price-macd p{font-size:10px;color:#9aa5af;margin:0 0 12px}.price-state{padding:24px 0;color:#9aa5af}.price-gap{color:#d4934a;font-size:12px}
@media(max-width:1050px){.price-layout{grid-template-columns:minmax(0,1fr)}.price-levels{border-left:0;border-top:1px solid #29333d;padding:12px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.price-levels h3,.price-levels>p,.price-levels>button{grid-column:1/-1}.price-level{display:flex;flex-direction:column;gap:5px;padding:5px 0 10px}.price-levels>button{justify-self:start;width:auto}}
@media(max-width:600px){.price-workspace{padding:12px}.price-heading h2{font-size:17px}.price-heading p{font-size:11px}.price-heading button{white-space:nowrap;padding:8px}.price-controls{gap:7px}.price-controls label{width:100%;justify-content:space-between}.price-interval{width:100%;margin:2px 0 0}.price-inspector{gap:8px;font-size:10px}.price-inspector strong{width:100%}.price-legend{gap:9px}.price-scrub>span{white-space:nowrap}.price-level b{font-size:14px}}
