[data-sp-figure] .ib-tiles { margin-block-start: .65rem; }
[data-sp-figure] .ib-inspector dl { grid-template-columns: repeat(3, minmax(0,1fr)); gap: .45rem .35rem; }
[data-sp-field="status"] { grid-column: 1 / -1; }
[data-sp-field="status"] dd bdi { white-space: normal; }
[data-sp-state="empty"] .ib-candle-zone { fill: #394252; }
[data-sp-figure] .ib-metrics > div { grid-template-columns: minmax(0,1fr); gap: .16rem; }
.sp-event, .sp-reference { pointer-events: none; }
.sp-reference { stroke: #ffbd88; stroke-width: 1.4; stroke-dasharray: 6 3; }
.sp-quote-gap { stroke: #c1d9ea; stroke-width: 1.15; }
.sp-legend [data-sp-legend]::before {
  display: inline-block; content: ""; margin-inline-end: .45em;
  width: .55em; height: .55em; background: #6fe4d5; border-radius: 50%;
}
.sp-legend [data-sp-legend="ask"]::before { background: #ffbd88; }
.sp-legend [data-sp-legend="fixed"]::before {
  width: 1.4em; height: 0; border-block-start: 2px dashed #ffbd88;
  border-radius: 0; vertical-align: .2em; background: transparent;
}
.sp-endpoints { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,8rem),1fr)); gap: .52rem; }
.sp-endpoints > div { min-inline-size: 0; background: #10293e; border-radius: .4rem; padding: .5rem; }
.sp-endpoints h5 { margin: 0; color: #f4faff; font-size: .84rem; }
@supports (grid-template-rows: subgrid) {
  [data-sp-figure]:is([data-sp-figure="mid"],[data-sp-figure="spread"],[data-sp-figure="quote"]) .sp-panels .ib-card {
    display: grid; grid-row: span 2; grid-template-rows: subgrid;
  }
}
