/* Inline sphere terminal: spatial search, flat and exact price plane. */
html[data-signal-visual="observatory"] #grid.grid .card.sr-sphere-card .chart-wrapper {
  height:294px!important;min-height:294px!important;background:#070f20!important;isolation:isolate;
}
.sr-sphere-canvas {position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;}
.sr-sphere-card .sr-sphere-toolbar {position:absolute;bottom:10px;left:12px;right:12px;z-index:8;display:flex;align-items:center;gap:6px;pointer-events:auto;}
.sr-sphere-toolbar button,.sr-sphere-toolbar select {appearance:none;min-height:32px;border:1px solid #38506d;border-radius:8px;background:#101d32e8;color:#d6ecfa;font:500 11px/1.2 system-ui;padding:6px 10px;box-shadow:inset 0 1px #ffffff09;cursor:pointer;}
.sr-sphere-toolbar button:hover,.sr-sphere-toolbar select:hover {border-color:#61ddf6;background:#162a43;}
.sr-sphere-toolbar :focus-visible {outline:2px solid #61ddf6;outline-offset:2px;}
.sr-sphere-toolbar button:disabled {opacity:.45;cursor:default;}
.sr-sphere-toolbar select {flex:1;min-width:0;max-width:100%;text-overflow:ellipsis;}
.sr-sphere-caption {position:absolute;inset:12px 12px auto;z-index:6;display:flex;flex-direction:column;gap:4px;pointer-events:none;}
.sr-sphere-status {font:600 9px/1.3 system-ui;letter-spacing:.12em;text-transform:uppercase;color:#84b3cc;}
.sr-sphere-caption strong {font:600 13px/1.35 system-ui;color:#dfedf7;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;}
.sr-sphere-caption small {font:400 10px/1.4 system-ui;color:#7694af;}
.sr-sphere-card [hidden] {display:none!important;}
html[data-signal-visual="observatory"] :is(#grid.grid .card,.card.detached).sr-sphere-card[data-sphere-view="sphere"] :is(.chart,.overlay,.chart-radar) {opacity:0!important;pointer-events:none!important;}
html[data-signal-visual="observatory"] :is(#grid.grid .card,.card.detached).sr-sphere-card[data-sphere-view="terminal"] :is(.chart,.overlay,.chart-radar) {opacity:0!important;pointer-events:none!important;}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-toolbar,.sr-sphere-card[data-sphere-view="chart"] .sr-sphere-toolbar {inset:9px 9px auto auto;left:auto;width:auto;}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-caption {right:126px;}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-caption strong {font-size:11px;}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-caption small {display:none;}
.sr-sphere-card[data-sphere-stage="signal"] .sr-sphere-status {color:var(--sphere-direction);letter-spacing:.055em;}
.sr-sphere-card[data-sphere-stage="validating"] .sr-sphere-status {color:#e3c584;}
.sr-sphere-card[data-sphere-stage="candidate"] .sr-sphere-status {color:#bfa4ff;}
html[data-signal-visual="observatory"] #grid.grid .card.sr-sphere-card[data-sphere-view="sphere"] .sr-live-tick-badge {top:auto!important;bottom:49px!important;left:12px!important;right:auto!important;height:auto!important;max-height:22px!important;font-size:9px!important;opacity:.75!important;}
html[data-signal-visual="observatory"] #grid.grid .card.sr-sphere-card[data-sphere-view="terminal"] .sr-live-tick-badge,html[data-signal-visual="observatory"] #grid.grid .card.sr-sphere-card[data-sphere-view="chart"] .sr-live-tick-badge {top:auto!important;bottom:25px!important;left:8px!important;right:auto!important;height:auto!important;max-height:22px!important;font-size:9px!important;}
.sr-sphere-card[data-sphere-view="chart"] .sr-sphere-canvas {visibility:hidden;}
.sr-sphere-card[data-sphere-motion="paused"] .chart {transition:none!important;}
@media(max-width:900px){
 html[data-signal-visual="observatory"] #grid.grid .card.sr-sphere-card .chart-wrapper {height:292px!important;min-height:292px!important;}
 .sr-sphere-toolbar button,.sr-sphere-toolbar select {min-height:36px;}
 .sr-sphere-caption {inset:10px 12px auto;}
}
@media(prefers-reduced-motion:reduce){.sr-sphere-card .chart {transition:none!important;}}

/* Confirmed vector terminal owns the plot; original chart remains available by toggle. */
html[data-signal-visual="observatory"] #grid.grid .card.sr-sphere-card[data-sphere-view="terminal"] .chart-wrapper {height:366px!important;min-height:366px!important;background:radial-gradient(ellipse at 30% 40%,#10233e,#060d1b 72%)!important;}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-canvas {z-index:3;pointer-events:auto;touch-action:pan-y;}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-caption {top:10px;}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-status {text-shadow:0 0 10px var(--sphere-direction);}
html[data-signal-visual="observatory"] #grid.grid .card.sr-sphere-card[data-sphere-view="terminal"] .sr-live-tick-badge {bottom:4px!important;max-width:75%!important;}
@media(max-width:900px){html[data-signal-visual="observatory"] #grid.grid .card.sr-sphere-card[data-sphere-view="terminal"] .chart-wrapper {height:354px!important;min-height:354px!important;}}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-caption {width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
.sr-sphere-card[data-sphere-view="terminal"] .indicator-chip strong {display:inline-block;font-variant-numeric:tabular-nums;}
.sr-sphere-card[data-sphere-view="terminal"] .sr-sphere-canvas:focus-visible {outline:1px solid #6be2ff;outline-offset:-2px;}
