.order-flow-panel{margin-top:18px;padding:18px;border:1px solid var(--border-color,#343b45);border-radius:14px;background:var(--card-bg,#0b0d10);color:var(--text-color,#e5e9ee);font-size:13px;contain:layout}
.of-head,.of-pressure,.of-split{display:flex;align-items:center;justify-content:space-between;gap:12px}.of-head h3{margin:5px 0;font-size:18px}.of-head h3 span{font-size:13px;font-weight:500}.of-eyebrow{font-size:10px;letter-spacing:.15em;color:#78a7e7}.of-status{font-size:11px;padding:5px 8px;border:1px solid #6d7684;border-radius:20px;white-space:nowrap}.order-flow-panel[data-state=LIVE] .of-status{color:#27c990;border-color:#18845d}.of-notice{height:38px;margin:10px 0;overflow:auto;line-height:18px;opacity:.8}.of-pressure{height:25px}.of-pressure strong{font-size:15px}.of-meter{display:flex;height:9px;border-radius:8px;overflow:hidden;margin:10px 0}.of-meter span{height:100%;transition:width .18s linear}.of-meter #ofBidBar{background:#18aa76;width:50%}.of-meter #ofAskBar{background:#dc526e;width:50%}.of-muted{opacity:.18}.of-split{font-size:11px;opacity:.8}.of-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.of-metrics>div{padding:10px;border:1px solid #37414d;border-radius:8px;min-width:0}.of-metrics span{display:block;font-size:10px;opacity:.75;min-height:24px}.of-metrics strong{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.of-depth-wrap{overflow-x:auto}.of-depth{border-collapse:collapse;width:100%;min-width:480px;text-align:right;font-variant-numeric:tabular-nums}.of-depth th{font-size:10px;opacity:.75;padding:8px 6px;border-bottom:1px solid #39424e}.of-depth td{height:30px;padding:4px 6px;min-width:65px;border-bottom:1px solid #252d38}.of-depth .of-bid{color:#24c18b;background:rgba(17,160,109,.055)}.of-depth .of-ask{color:#ed6b85;background:rgba(211,60,92,.055)}.of-total,.of-times{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:14px;font-size:11px}.of-total b,.of-times b{font-weight:500;font-variant-numeric:tabular-nums}.of-times{min-height:32px;opacity:.75}.of-foot{margin-bottom:0;font-size:11px;line-height:1.6;opacity:.65}.order-flow-panel[data-state=DELAYED] .of-status,.order-flow-panel[data-state=RECONNECTING] .of-status{color:#ecc271}
html[data-theme=light] .order-flow-panel,body[data-theme=light] .order-flow-panel{background:#fff;color:#111827;border-color:#cbd3df}html[data-theme=light] .of-depth td{border-color:#e2e8f0}html[data-theme=light] .of-depth .of-bid{color:#08754e}html[data-theme=light] .of-depth .of-ask{color:#b32649}
@media(max-width:600px){.order-flow-panel{padding:12px}.of-head h3{font-size:16px}.of-head h3 span{display:block}.of-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.of-pressure strong{font-size:13px}.of-notice{height:54px}.of-times{min-height:65px}}
@media(prefers-reduced-motion:reduce){.of-meter span{transition:none}}

.of-head{min-height:52px}.of-head>div{min-width:0;flex:1}.of-status{max-width:145px;overflow:hidden;text-overflow:ellipsis}.of-total{height:36px;overflow:auto;align-content:start}.of-times{height:42px;overflow:auto;align-content:start}.of-metrics strong{display:block;overflow:hidden;text-overflow:ellipsis}@media(max-width:600px){.of-total{height:84px}.of-times{height:105px}.of-head{min-height:62px}.of-status{max-width:112px}}

.of-scroll-hint{display:none}.order-flow-panel[data-state="NO BOOK"] .of-pressure,.order-flow-panel[data-state="NO BOOK"] .of-meter,.order-flow-panel[data-state="NO BOOK"] .of-split,.order-flow-panel[data-state="NO BOOK"] .of-metrics,.order-flow-panel[data-state="NO BOOK"] .of-depth-wrap,.order-flow-panel[data-state="NO BOOK"] .of-total,.order-flow-panel[data-state="NO BOOK"] .of-times,.order-flow-panel[data-state="NO BOOK"] .of-foot,.order-flow-panel[data-state="NO BOOK"] .of-scroll-hint{display:none}@media(max-width:600px){.of-total{height:60px}.of-times{height:66px}.of-scroll-hint{display:block;font-size:10px;opacity:.65;margin:5px 0}}

.of-futures{margin:12px 0;padding:12px;border:1px solid #3c4859;border-radius:9px}.of-futures[hidden],.of-contract[hidden]{display:none}.of-futures label{display:block;font-size:12px;margin-bottom:8px}.of-futures-actions{display:flex;gap:8px;flex-wrap:wrap}.of-futures select,.of-futures button{font:inherit;background:#10151b;color:inherit;border:1px solid #526478;border-radius:7px;padding:9px 10px;min-height:40px}.of-futures select{min-width:0;max-width:100%}.of-futures button{cursor:pointer}.of-futures button:disabled{opacity:.5;cursor:default}.of-futures p{margin:8px 0 0;font-size:11px;line-height:1.5}.of-contract{font-size:12px;line-height:1.6;color:#80baff;min-height:20px}html[data-theme=light] .of-futures select,html[data-theme=light] .of-futures button{background:#f5f8fc;color:#101820}html[data-theme=light] .of-contract{color:#235b9c}@media(max-width:600px){.of-futures-actions select{width:100%}}
