/* The current book is a primary workspace, with readable, real depth. */
.workspace{grid-template-columns:minmax(0,1.25fr) minmax(620px,1fr);gap:16px}
.workspace .price-panel{height:312px}
.workspace .charts-panel{display:flex;flex-direction:column}
.workspace .charts-panel .price-panel{height:auto;flex:1;min-height:312px}
.book-panel{padding:20px;align-self:stretch;--bid:#83d6b5;--ask:#f68c99}
.book-panel-heading,.book-toolbar,.book-market,.book-market>div,.outcome-heading,.book-caption{display:flex;align-items:center;justify-content:space-between;gap:12px}
.book-panel-heading{padding-bottom:15px;border-bottom:1px solid var(--border)}
.book-panel-heading h2{font-size:23px;letter-spacing:.02em;font-weight:650}
.book-eyebrow{font-size:11px;letter-spacing:.16em;color:var(--muted)}
.book-tabs button{min-height:40px;min-width:72px;font-size:14px}
.book-toolbar{margin:14px 0 19px;font-size:12px;color:var(--muted)}
.book-toolbar label{flex-direction:row;align-items:center;gap:9px;font-size:12px}
.book-toolbar select{height:36px;font-size:13px;padding:3px 8px}
.book-market{margin-bottom:18px}
.book-market>div{justify-content:flex-start}
.book-market h2{font-size:23px;color:var(--asset-color,var(--btc));letter-spacing:0}
.book-market h2 span{color:var(--muted);font-size:15px;font-weight:400;margin-left:7px}
.book-market p{margin-top:3px;color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums}
.book-connection{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);white-space:nowrap}
.book-connection i{width:7px;height:7px;border-radius:50%;background:#68788c}
.book-connection.live{color:var(--bid)}
.book-connection.live i{background:var(--bid);box-shadow:0 0 12px #83d6b530}
.outcome-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.outcome-book{border:1px solid #2d3c4d;border-radius:7px;background:#0a131c;overflow:hidden;min-width:0}
.outcome-heading{padding:13px 12px;border-bottom:1px solid #263443;background:#111c28}
.outcome-heading h3{display:flex;align-items:center;gap:7px;font-size:17px;font-weight:650;color:var(--text)}
.outcome-heading h3 small{font-size:12px;color:var(--muted);font-weight:400;margin-left:1px}
.outcome-dot{height:6px;width:6px;transform:rotate(45deg);background:var(--bid)}
.outcome-dot.down{background:var(--ask)}
.book-state{font-size:10px;color:var(--muted)}
.book-state.live{color:var(--bid)}
.book-top{display:grid;grid-template-columns:1fr 1fr .65fr;gap:5px;padding:13px 12px 15px}
.book-top div{display:flex;flex-direction:column;gap:4px}
.book-top span{font-size:11px;color:var(--muted)}
.book-top strong{font-size:25px;line-height:1.2;font-weight:600;letter-spacing:-.04em}
.book-top b{font-size:17px;font-weight:500;margin-top:4px;white-space:nowrap}
.bid-value,.book-price.bids{color:var(--bid)}
.ask-value,.book-price.asks{color:var(--ask)}
.book-side-head{display:grid;grid-template-columns:1fr 1fr;padding:8px 9px;border-block:1px solid #263443;font-size:12px;font-weight:500;background:#101b25}
.book-side-head>span:first-child{color:var(--bid)}
.book-side-head>span:last-child{color:var(--ask);padding-left:8px}
.book-side-head small{font-size:10px;opacity:.7;margin-left:3px;letter-spacing:.06em}
.depth-table{width:100%;table-layout:fixed;border-collapse:collapse;font-family:"DejaVu Sans Mono","SFMono-Regular",Consolas,monospace;font-size:12px}
.depth-table caption{font-family:inherit}
.depth-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#3a536b #0a131c}
.depth-table th{font-family:Inter,"Noto Sans CJK SC",system-ui,sans-serif;font-size:10px;color:#9eafc3;padding:8px 5px;text-align:right;font-weight:400;border-bottom:1px solid #263443}
.depth-table th:first-child,.depth-table th:nth-child(4){width:18%}
.depth-table td{height:29px;padding:4px 5px;text-align:right;white-space:nowrap;border:0;border-bottom:1px solid #1b2a3780;overflow:hidden;font-variant-numeric:tabular-nums}
.depth-table th:nth-child(4),.depth-table td:nth-child(4){border-left:1px solid #293949}
.depth-table tr:hover td{background-color:#ffffff05}
.depth-table .book-price{font-weight:500;font-size:12px}
.depth-table .book-cumulative{position:relative;background:linear-gradient(to left,#83d6b511 var(--depth),transparent var(--depth));color:#adc0d2;font-size:11px}
.depth-table .book-cumulative:last-child{background:linear-gradient(to left,#f68c9910 var(--depth),transparent var(--depth))}
.depth-table .book-empty{height:348px;font:13px/1.7 Inter,"Noto Sans CJK SC",system-ui,sans-serif;text-align:center;color:var(--muted);white-space:normal;padding:30px}
.book-times{padding:11px 10px 12px;background:#101b25;border-top:1px solid #2a3a49;display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--muted)}
.book-times>div{display:flex;justify-content:space-between;gap:6px}
.book-times time,.book-times b{font-weight:400;color:#c8d6e6;font-variant-numeric:tabular-nums}
.book-caption{margin:13px 0 9px;font-size:11px;color:var(--muted);flex-wrap:wrap;gap:4px}
.book-provenance{font-size:11px;border-top:1px solid #243441;padding-top:9px;color:var(--muted)}
.book-provenance summary{cursor:pointer;min-height:25px;padding:2px 0}
.book-provenance dl{display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 10px;margin:10px 0;color:var(--muted)}
.book-provenance dd{margin:0;overflow-wrap:anywhere;color:#bdcce0}
.book-time-note{margin-top:10px;font-size:11px;line-height:1.7;color:#96abc0}
.book-alert{padding:9px 11px;margin:0 0 12px;border:1px solid #765634;border-radius:5px;background:#261f16;color:#e8bd80;font-size:12px}
.book-muted .depth-table{opacity:.7}
.book-updated{animation:book-update .45s ease-out}
@keyframes book-update{from{background-color:#d1e7ff24}to{background-color:transparent}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.forecast-strip{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px 16px;min-height:0;margin-bottom:16px;padding:14px 18px}
.forecast-strip>.panel-heading{grid-column:1/-1;margin:0;min-height:34px}
.forecast-strip>.panel-heading .asset-tabs,.forecast-strip>.operation-caption{display:none}
.forecast-strip .prediction-card{min-height:120px;border:0;padding:8px 0}
.forecast-strip .prediction-card.eth{border-left:1px solid var(--border);padding-left:16px}
.forecast-strip .prediction-header{margin-bottom:7px}
.forecast-strip .prediction-body{grid-template-columns:1fr}
.forecast-strip .comparison{display:none}
.forecast-strip .probability-box{padding:0;border:0}
.forecast-strip .probability-box small,.forecast-strip .prediction-timing{font-size:11px}
.forecast-strip .prediction-timing{margin-top:9px}
.forecast-strip .probability-bar{height:8px;max-width:280px;margin-top:8px}
.forecast-strip .order-callout{margin:0;padding:12px;align-self:center}
.forecast-strip .callout-heading strong{font-size:16px}
.forecast-strip .callout-heading p{font-size:11px}
.forecast-strip .callout-actions{position:static;margin:0}
.forecast-strip .callout-actions button{min-height:38px}
.forecast-strip .portfolio-mini{font-size:11px}
@media(min-width:1800px){
  .workspace{grid-template-columns:minmax(0,1.3fr) minmax(760px,1fr)}
  .workspace .price-panel{height:365px}
  .book-panel{padding:24px}
  .book-panel-heading h2,.book-market h2{font-size:26px}
  .outcome-heading{padding:15px 18px}
  .book-top{padding:16px 18px}
  .book-top strong{font-size:32px}
  .depth-table,.depth-table .book-price{font-size:15px}
  .depth-table th{font-size:12px;padding:10px}
  .depth-table td{height:34px;padding:5px 10px}
  .depth-table .book-cumulative{font-size:13px}
  .book-times{font-size:12px;padding:14px 18px}
  .book-toolbar,.book-caption,.book-time-note{font-size:13px}
  .depth-table .book-empty{height:408px}
}
@media(max-width:1279px){
  .workspace{grid-template-columns:minmax(0,1fr)}
  .book-panel{order:-1}
  .book-top strong{font-size:32px}
  .depth-table,.depth-table .book-price{font-size:14px}
  .depth-table .book-cumulative{font-size:13px}
  .depth-table td{height:30px}
  .forecast-strip{grid-template-columns:1fr 1fr}
  .forecast-strip .order-callout{grid-column:1/-1}
}
@media(max-width:767px){
  .book-panel{padding:16px 12px}
  .book-panel-heading h2{font-size:21px}
  .book-tabs button{min-width:58px;min-height:44px;padding:8px}
  .book-toolbar{align-items:center;font-size:11px;gap:6px;margin-bottom:15px}
  .book-toolbar>span{max-width:67%;line-height:1.6}
  .book-toolbar label>span{display:none}
  .book-toolbar select{height:44px}
  .book-market{gap:8px}
  .book-market h2{font-size:22px}
  .book-market p{font-size:11px}
  .book-market h2 span{font-size:12px}
  .book-connection{font-size:10px}
  .outcome-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  .outcome-heading{padding:12px 14px}
  .book-state{font-size:11px}
  .book-top{padding:13px 14px}
  .book-top strong{font-size:29px}
  .depth-table,.depth-table .book-price{font-size:13px}
  .depth-table{min-width:430px}
  .depth-table th{font-size:11px;padding:8px}
  .depth-table td{height:31px;padding:5px 8px}
  .depth-table .book-cumulative{font-size:12px}
  .book-times{font-size:11px;padding:12px 14px}
  .book-caption{align-items:flex-start;flex-direction:column}
  .book-provenance{font-size:12px}
  .book-provenance summary{min-height:44px;padding:10px 0}
  .book-time-note{font-size:11px}
  .forecast-strip{display:flex;flex-direction:column;padding:14px;gap:7px}
  .forecast-strip .prediction-card.eth{border-left:0;border-top:1px solid var(--border);padding:12px 0}
  .forecast-strip .order-callout{width:100%;margin-top:6px}
}
@media(prefers-reduced-motion:reduce){.book-updated{animation:none}}
