.quant-shell { padding-block: clamp(25px, 4vw, 48px) 4rem; }
.quant-heading, .quant-section-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.quant-heading { align-items: flex-end; margin-bottom: 1.25rem; }
.quant-heading h1 { font-size: clamp(2.35rem, 5vw, 4.1rem); line-height: 1.07; margin: .3rem 0 .43rem; }
.quant-eyebrow { display: flex; align-items: center; gap: .45rem; color: #8fdfcf; font-size: .78rem; font-weight: 650; letter-spacing: .045em; }
.quant-eyebrow span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--active); }
.quant-clock, .quant-section-head p { color: var(--muted); font-size: .82rem; }
.quant-clock { font-variant-numeric: tabular-nums; }
.quant-refresh { background: #80d8c3; color: #102724; }
.quant-refresh:hover { background: #a2e7d7; }
.quant-secondary { color: #9fe0d2; border-color: #385d61; background: #14262b; min-height: 36px; padding: .25rem .65rem; }
.quant-secondary:hover { background: #1d3a3c; }
.quant-status { margin: -.22rem 0 1rem; padding: .62rem .9rem; background: #1d302f; border: 1px solid #355657; border-radius: 8px; color: #bbded7; font-size: .86rem; }
.quant-metrics { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .64rem; margin-bottom: .85rem; }
.quant-metric { display: grid; gap: .15rem; align-content: center; min-width: 0; padding: .72rem .9rem; background: #15252c; border: 1px solid #29414a; border-radius: 8px; }
.quant-metric span { color: #b4c8ce; font-size: .79rem; }
.quant-metric strong { font-size: clamp(1rem, 1.85vw, 1.6rem); line-height: 1.2; letter-spacing: -.025em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.quant-metric small { color: var(--muted); font-size: .72rem; line-height: 1.5; }
.quant-breadth-track { height: 4px; width: 100%; margin-top: .18rem; }
.quant-breadth-track svg { width: 100%; height: 100%; display: block; }
.quant-fill-base { fill: #3e535d; }
.quant-fill-up { fill: #71d4a5; }
.quant-fill-down { fill: #f08b9b; }
.quant-panels { display: grid; grid-template-columns: minmax(0, 1.61fr) minmax(0, 1fr); gap: .85rem; margin-bottom: .85rem; }
.quant-panel { min-width: 0; background: #121f26; border: 1px solid #293e49; border-radius: 10px; overflow: hidden; }
.quant-section-head { min-height: 66px; border-bottom: 1px solid #293e49; padding: .7rem .9rem; }
.quant-section-head h2 { font-size: 1.06rem; margin-bottom: .17rem; letter-spacing: .015em; }
.quant-badge, .quant-chip { display: inline-block; border-radius: 4px; background: #1d343b; color: #add7d5; padding: .08rem .4rem; font-size: .69rem; white-space: nowrap; }
.quant-map-label { padding: 0 .9rem .6rem; color: #a0bbc6; font-size: .78rem; min-height: 1.8rem; }
.quant-scatter, .quant-history-chart { display: block; width: 100%; height: auto; }
.quant-map-quadrant, .quant-chart-text { fill: #a4bac3; font-size: 11px; }
.quant-map-quadrant { font-size: 11.5px; }
.quant-map-teal { fill: #192f32; }
.quant-map-rose { fill: #2b2630; }
.quant-axis { stroke: #527180; stroke-width: .7; }
.quant-dot { cursor: pointer; stroke: #132229; stroke-width: 1.6; }
.quant-dot-up { fill: #6bd4ac; }
.quant-dot-down { fill: #f297a7; }
.quant-dot.is-selected, .quant-dot:focus { stroke: #f4f7f8; stroke-width: 2; }
.quant-point-label { fill: #eef6f8; font-size: 11px; font-weight: 800; pointer-events: none; paint-order: stroke; stroke: #122027; stroke-width: 3; }
.quant-priority { margin-bottom: 1.25rem; }
.quant-priority-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem 1rem; margin-bottom: .62rem; }
.quant-priority-head h2 { font-size: clamp(1.23rem, 2vw, 1.56rem); letter-spacing: -.02em; }
.quant-priority-head p { color: var(--muted); font-size: .79rem; }
.quant-watch { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; }
.quant-watch-card { min-width: 0; padding: .95rem .95rem 1rem; border: 1px solid #30505a; border-top: 2px solid var(--setup-tone); border-radius: 8px; background: #14252d; }
.quant-watch-continuation { --setup-tone: #84dcc4; }
.quant-watch-compression { --setup-tone: #a9bfef; }
.quant-watch-reversal { --setup-tone: #e6bb83; }
.quant-watch-label { color: var(--setup-tone); font-size: .88rem; letter-spacing: .04em; }
.quant-watch-instrument { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .22rem .4rem; margin: .3rem 0 .65rem; }
.quant-watch-symbol { min-width: 0; color: var(--ink); overflow-wrap: anywhere; background: none; border: 0; padding: 0; text-align: left; font-size: clamp(1.35rem, 3vw, 2.06rem); font-weight: 760; line-height: 1.1; letter-spacing: -.045em; }
.quant-watch-symbol::after { content: " ↗"; color: var(--setup-tone); font-size: .7em; margin-left: .15rem; }
.quant-watch-symbol:hover { color: var(--setup-tone); }
.quant-watch-evidence { display: grid; grid-template-columns: max-content minmax(0,1fr); margin: 0; gap: .48rem .53rem; align-items: baseline; }
.quant-watch-evidence dt { color: var(--setup-tone); font-size: .73rem; }
.quant-watch-evidence dd, .quant-watch-rule { margin: 0; color: #d1e0e4; overflow-wrap: anywhere; font-size: .84rem; line-height: 1.55; }
.quant-watch-empty { margin: .48rem 0 .38rem; color: var(--ink); font-size: .98rem; font-weight: 650; }
.quant-watch-jump { display: none; }
.quant-market-map { margin-bottom: .85rem; }
.quant-market-map .quant-scatter { max-width: 840px; margin-inline: auto; }
.quant-up { color: var(--up); }
.quant-down { color: var(--down); }
.quant-scan { margin-bottom: .85rem; }
.quant-filters { display: flex; flex-wrap: wrap; justify-content: end; gap: .4rem; }
.quant-filters input, .quant-filters select { min-height: 36px; border-radius: 6px; border: 1px solid #415762; background: #0e1a22; color: var(--ink); padding: .3rem .55rem; font-size: .8rem; width: auto; }
.quant-filters input { max-width: 11rem; }
.quant-table-wrap { max-width: 100%; max-height: 385px; overflow: auto; scrollbar-color: #3b5661 #142029; }
.quant-table { border-collapse: separate; border-spacing: 0; width: 100%; text-align: right; min-width: 785px; font-variant-numeric: tabular-nums; }
.quant-table td, .quant-table th { white-space: nowrap; padding: .48rem .62rem; border-bottom: 1px solid #243842; font-size: .78rem; }
.quant-table thead th { position: sticky; top: 0; background: #1c3038; color: #cfdee2; z-index: 2; }
.quant-table thead button { background: transparent; border: 0; color: inherit; padding: 0; font-weight: 650; }
.quant-table th[aria-sort="descending"] button::after { content: " ↓"; color: #88dac6; }
.quant-table th[aria-sort="ascending"] button::after { content: " ↑"; color: #88dac6; }
.quant-table th:first-child { position: sticky; left: 0; text-align: left; background: #162932; z-index: 1; }
.quant-table thead th:first-child { z-index: 3; background: #1c3038; }
.quant-table tbody tr:nth-child(even) { background: #15232b; }
.quant-table tbody tr[data-selected], .quant-table tbody tr:hover { background: #1a343b; }
.quant-table tbody tr[data-selected] th:first-child { background: #20414a; }
.quant-table td:last-child, .quant-table th:last-child { text-align: left; }
.quant-table-tags .quant-chip + .quant-chip { margin-left: .2rem; }
.quant-symbol { background: none; color: #ecf6f7; border: 0; padding: .05rem .1rem; font-weight: 730; }
.quant-symbol:hover, .quant-symbol[aria-pressed="true"] { color: #8fe1c9; }
.quant-star { color: #ffce75; }
#crypto-more { margin: .5rem .8rem; }
.quant-submetrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .35rem; padding: .6rem .7rem 0; }
.quant-submetrics .quant-metric { padding: .4rem .45rem; }
.quant-submetrics .quant-metric strong { font-size: 1rem; }
.quant-submetrics .quant-metric small { font-size: .65rem; }
.quant-series-price, .quant-series-oi { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quant-series-price { stroke: #76dabc; }
.quant-series-oi { stroke: #e5b978; }
.quant-legend { display: flex; gap: .35rem .8rem; flex-wrap: wrap; padding: 0 .8rem .5rem; font-size: .72rem; color: var(--muted); }
.quant-price-legend { color: #76dabc; } .quant-oi-legend { color: #e5b978; }
.quant-model-bar { display: flex; gap: .45rem .7rem; align-items: center; flex-wrap: wrap; border-top: 1px solid #293e49; padding: .65rem .8rem; font-size: .78rem; color: var(--muted); }
.quant-model-bar .quant-refresh { min-height: 35px; padding: .28rem .65rem; font-size: .78rem; }
.quant-note { display: grid; gap: .5rem; margin: 0 .8rem .8rem; padding: .75rem; border: 1px solid #36635f; border-radius: 6px; background: #182d31; font-size: .85rem; }
.quant-note-row { display: grid; grid-template-columns: 5.2rem minmax(0,1fr); gap: .25rem; }
.quant-note-row span { color: #9de0d0; font-size: .78rem; }
.quant-note small { color: var(--muted); }
.quant-news { list-style: none; padding: .2rem .8rem; margin: 0; max-height: 515px; overflow: auto; scrollbar-color: #3b5661 #142029; }
.quant-news li { border-bottom: 1px solid #293e49; padding: .65rem .1rem; }
.quant-news li:last-child { border-bottom: none; }
.quant-news-line { display: flex; justify-content: space-between; gap: .3rem; margin-bottom: .2rem; color: #a9c4ce; font-size: .7rem; }
.quant-news a { font-size: .83rem; text-decoration: none; overflow-wrap: anywhere; }
.quant-news a:hover { text-decoration: underline; color: #a9e5d7; }
.quant-news-tags { display: flex; flex-wrap: wrap; gap: .2rem; margin-top: .27rem; }
.quant-empty { padding: .8rem; color: var(--muted); font-size: .82rem; }
.quant-guide { color: #aec5ce; font-size: .82rem; border-top: 1px solid #2a414a; padding: .65rem .1rem 0; }
.quant-guide summary { color: #b5e3d9; }
.quant-guide p { margin-top: .45rem; }
.quant-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 850px) {
  .quant-panels { grid-template-columns: minmax(0,1fr); }
  .quant-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .quant-watch { grid-template-columns: minmax(0,1fr); gap: .5rem; }
  .quant-watch-jump { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .4rem; margin-bottom: .55rem; }
  .quant-watch-jump-link { min-width: 0; display: grid; gap: .1rem; text-align: left; color: var(--ink); background: #152731; border: 1px solid #37545d; border-radius: 6px; padding: .37rem .48rem; }
  .quant-watch-jump-link span { font-size: .7rem; color: var(--muted); }
  .quant-watch-jump-link strong { overflow-wrap: anywhere; font-size: .93rem; }
  .quant-watch-card { padding: .68rem .78rem .78rem; }
}
@media (max-width: 530px) {
  .quant-heading { align-items: flex-end; gap: .45rem; }
  .quant-heading .quant-refresh { min-height: 36px; padding: .25rem .48rem; font-size: .75rem; }
  .quant-scan .quant-section-head, .quant-wire-head { align-items: flex-start; flex-direction: column; }
  .quant-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quant-metrics > :last-child { grid-column: 1 / -1; }
  .quant-metric { padding-inline: .6rem; }
  .quant-filters { justify-content: start; }
  .quant-submetrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quant-scatter .quant-chart-text, .quant-map-quadrant { font-size: 15px; }
}
