/* QUANTUM FLOW – order flow view (heatmap, bubbles, DOM, CVD). Shares the tokens of app.css. */
.flowpage .brand { text-decoration: none; color: inherit; }
.flowpage .symbtn .perp { font: 600 9.5px var(--f-ui); color: var(--ice); letter-spacing: .08em; margin-left: 2px; }
.fl-stage { position: relative; flex: 1; min-height: 0; background: #03050A; }
#fCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: none; }
.fl-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 12px; border-bottom: 1px solid var(--line); background: #04060B; overflow-x: auto; scrollbar-width: none; }
.fl-bar::-webkit-scrollbar { display: none; }
.fl-group, .fl-toggles { display: flex; gap: 3px; align-items: center; flex-shrink: 0; }
.fl-group button, .fl-toggles button { background: transparent; border: 1px solid var(--line); color: var(--steel); font: 600 10.5px var(--f-ui); padding: 5px 8px; cursor: pointer; white-space: nowrap; }
.fl-group button[aria-pressed="true"], .fl-toggles button[aria-pressed="true"] { color: var(--platinum); border-color: var(--line-2); background: rgba(169,210,255,.08); }
.fl-group small { color: var(--dim); font: 600 9.5px var(--f-ui); margin-right: 4px; letter-spacing: .08em; }
.fl-legend { position: absolute; left: 14px; bottom: 150px; display: flex; gap: 14px; align-items: center; font: 600 10px var(--f-ui); color: var(--steel); pointer-events: none; letter-spacing: .04em; }
.fl-legend i { display: inline-block; width: 70px; height: 6px; vertical-align: middle; margin: 0 6px; background: linear-gradient(90deg, #0A1830, #134A86, #4FA3E8, #A9D2FF, #E7C98B, #FFF6E0); }
.fl-legend b { font-weight: 600; color: var(--platinum); }
.fl-legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.fl-tip { position: absolute; pointer-events: none; z-index: 3; padding: 7px 10px; background: rgba(6,9,14,.94); border: 1px solid var(--line-2); font: 500 11px var(--f-ui); color: var(--platinum); white-space: nowrap; }
.fl-tip small { display: block; color: var(--steel); font-size: 10.5px; }
.fl-tip .fl-note { white-space: normal; width: 300px; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.fl-tip .fl-note b { display: block; color: var(--platinum); font-weight: 600; margin-bottom: 3px; }
.fl-tip .fl-note small { line-height: 1.45; }
.fl-msg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.fl-msg > div { text-align: center; color: var(--steel); font-size: 12px; }
.fl-msg strong { display: block; font: 12px var(--f-mark); letter-spacing: .18em; color: var(--platinum); margin-bottom: 6px; }
@media (max-width: 640px) {
  .fl-group small { display: none; }
  .fl-legend { display: none; }
}
.fl-legend { background: rgba(4,6,10,.7); padding: 4px 8px; }
.fl-legend .hint { color: var(--dim); }
/* phones and narrow windows: app.css lets the body grow with content there, but this page is one full-screen canvas */
@media (max-width: 900px) { body.flowpage { height: 100%; height: 100dvh; overflow: hidden; } }
