/* Bloomberg-style taker tape shared by desktop History and Pro Terminal */

.mh-bb-head{margin:0 0 10px}
.mh-bb-kicker{
  font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:1.2px;text-transform:uppercase;color:#f59e0b;margin-bottom:3px
}
.mh-bb-title{font-size:15px;font-weight:800;color:var(--tx,var(--text,#e8edf5))}
.mh-bb-flow-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
.mh-bb-flow-pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:5px 11px;border-radius:999px;border:1px solid #2a3545;background:#0d1520;
  font:700 12px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace
}
.mh-bb-flow-win{
  font-size:9px;letter-spacing:.7px;text-transform:uppercase;color:#8b9bb4
}
.mh-bb-flow-lean{font-weight:800;font-variant-numeric:tabular-nums;color:#e8edf5}
.mh-bb-flow-pill.yes{border-color:rgba(61,214,140,.5);background:rgba(61,214,140,.1)}
.mh-bb-flow-pill.yes .mh-bb-flow-lean{color:#3dd68c}
.mh-bb-flow-pill.no{border-color:rgba(255,107,107,.5);background:rgba(255,107,107,.1)}
.mh-bb-flow-pill.no .mh-bb-flow-lean{color:#ff6b6b}
.mh-bb-stats{
  display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,2.4fr);gap:1px;
  margin:0 0 12px;background:#1a2330;border:1px solid #2a3545
}
.mh-bb-stat{padding:8px 10px;background:#0d1520}
.mh-bb-stat-net{min-width:0}
.mh-bb-net{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.mh-bb-k{
  font:700 9px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.8px;text-transform:uppercase;color:#8b9bb4;margin-bottom:4px
}
.mh-bb-v{
  font:800 16px/1.15 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  color:#e8edf5
}
.mh-bb-v.yes{color:#3dd68c}
.mh-bb-v.no{color:#ff6b6b}
.mh-bb-s{font:500 10px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#8b9bb4;margin-top:3px}
.mh-bb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.mh-bb-size-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.mh-bb-size-label{
  font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.6px;text-transform:uppercase;color:#8b9bb4
}
.mh-bb-size-custom{display:inline-flex;align-items:center;gap:6px;color:#8b9bb4;font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.mh-bb-size-input{
  width:96px;padding:4px 6px;border:1px solid #2a3545;border-radius:4px;background:#0d1520;color:#e8edf5;
  font:700 11px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace
}
.mh-bb-size-input:focus{outline:none;border-color:#f59e0b}
.mh-bb-size-hidden{font:500 10px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#8b9bb4}
.mh-bb-chips{display:flex;gap:4px;flex-wrap:wrap}
.mh-bb-chip{
  padding:3px 8px;border:1px solid #2a3545;background:#0d1520;color:#8b9bb4;
  font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  letter-spacing:.4px;text-transform:uppercase;cursor:pointer
}
.mh-bb-chip:hover{color:#e8edf5;border-color:#4b5c73}
.mh-bb-chip.on{color:#0d1520;background:#f59e0b;border-color:#f59e0b}
.mh-bb-note,.mh-bb-foot,.mh-bb-empty{
  font:500 10px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#8b9bb4
}
.mh-bb-note{margin:0 0 8px}
.mh-bb-foot{margin-top:10px;padding-top:8px;border-top:1px solid #2a3545}
.mh-bb-empty{text-align:center;padding:28px 10px}
.mh-bb-table{width:100%;border-collapse:collapse;font:12px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.mh-bb-table thead th{
  position:sticky;top:0;z-index:1;
  background:#121a26;color:#f59e0b;font-weight:700;letter-spacing:.5px;
  text-transform:uppercase;font-size:10px;text-align:left;
  padding:7px 8px;border-bottom:1px solid #f59e0b;white-space:nowrap
}
.mh-bb-table td{
  padding:5px 8px;border-bottom:1px solid #1c2736;white-space:nowrap;color:#d5deea
}
.mh-bb-table tbody tr.mh-bb-row.alt td{background:rgba(255,255,255,.02)}
.mh-bb-table tbody tr.mh-bb-row.mh-bb-open{cursor:pointer}
.mh-bb-table tbody tr.mh-bb-row:hover td{background:rgba(245,158,11,.08)}
.mh-bb-table tbody tr.mh-bb-fill td{
  background:#0a1018;color:#8b9bb4;padding:4px 8px 4px 8px;font-size:11px;border-bottom:1px solid #151e2b
}
.mh-bb-table tbody tr.mh-bb-fill:hover td{background:#111a26}
.mh-bb-fill-label{padding-left:22px !important;font-weight:600;letter-spacing:.3px;text-transform:uppercase;font-size:9px}
.mh-bb-caret{display:inline-block;width:10px;color:#8b9bb4;font-size:10px}
.mh-bb-table tbody tr.history-row{cursor:pointer}
.mh-bb-table tbody tr.history-row:hover td{background:rgba(245,158,11,.08)}
.mh-bb-table tbody tr.history-fill td{
  background:#0a1018;color:#8b9bb4;padding:4px 8px;font-size:11px;border-bottom:1px solid #151e2b
}
.mh-bb-table tbody tr.history-fill td:first-child{padding-left:22px}
.mh-bb-table .num{text-align:right;font-variant-numeric:tabular-nums}
.mh-bb-table .yes{color:#3dd68c;font-weight:800}
.mh-bb-table .no{color:#ff6b6b;font-weight:800}
.mh-bb-time{color:#8b9bb4}
.mh-bb-sort{border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;padding:0;cursor:pointer}
.mh-bb-sort.on{color:#fff}
.mh-bb-tag{
  display:inline-block;margin-left:6px;padding:0 4px;
  border:1px solid #2a3545;color:#8b9bb4;font-size:9px;font-weight:700;letter-spacing:.3px
}
.market-history-modal .mh-bb-table thead th,
.history-modal .mh-bb-table thead th{background:#121a26}
.market-history-modal,.history-modal{width:min(1100px,96vw)}

@media (max-width:720px){
  .mh-bb-stats{grid-template-columns:1fr}
  .mh-bb-net{grid-template-columns:1fr;gap:8px}
}
