.book-figure { margin: 1.35rem 0; padding: clamp(.65rem, 2.5vw, 1rem); background: #eaf1f6; color: #17324a; border: 1px solid #becdd9; border-radius: .9rem; }
.book-figure h3 { margin: 0 0 .55rem; font-size: 1.05rem; }
.book-figure figcaption, .book-figure .book-stamp { color: #39566c; font-size: .92rem; }
.book-figure figcaption { margin-block-start: .75rem; }
.book-figure .book-stamp { margin: .3rem 0 .65rem; }
.book-figure time { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.book-range { unicode-bidi: isolate; }
.book-figure small { display: block; margin-block-start: .14rem; font-weight: 500; color: #39566c; }
.book-metrics, .book-ladder, .book-depth { display: grid; gap: .55rem; margin: 0 0 .65rem; }
.book-ladder, .book-metrics, .book-depth { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.book-metrics > div, .book-depth > div { padding: .6rem .7rem; background: #fff; border-radius: .55rem; min-width: 0; }
.book-metrics dt, .book-depth dt { color: #36526b; font-size: .87rem; font-weight: 650; }
.book-metrics dd, .book-depth dd { margin: .18rem 0 0; font-size: .96rem; font-weight: 750; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.book-table { min-width: 0; border-radius: .55rem; overflow: hidden; background: #fff; }
.book-table table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.book-table caption { text-align: start; font-weight: 800; padding: .55rem .55rem; background: #14304a; color: #f6faff; }
.book-table[data-book-table="bids"] caption { background: #1b6963; }
.book-table[data-book-table="asks"] caption { background: #874429; }
.book-table[data-book-table="fills"] caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.book-table th, .book-table td { text-align: start; padding: .37rem .43rem; border-block-end: 1px solid #d8e2ea; vertical-align: top; overflow-wrap: anywhere; }
.book-table thead th { background: #dce7ef; }
.book-table tbody th { font-weight: 650; }
.book-depth-track { height: .5rem; background: #d4e2eb; overflow: hidden; border-radius: .4rem; }
.book-depth-track span { display: block; inline-size: var(--depth); height: 100%; background: #237a72; border-radius: inherit; }
.book-depth [data-depth-side="asks"] .book-depth-track span { background: #a65736; }
.book-executed { border-inline-start: .22rem solid #61799d; padding-inline-start: .4rem; }
.book-executed > div:last-child { grid-column: 1 / -1; }
.book-fill-results { margin-block: .6rem 0; }
.book-alt-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.book-alt-card { min-width: 0; padding: .68rem; background: #f5f8fb; border: 1px solid #c8d5e1; border-radius: .64rem; }
.book-alt-card h4 { margin: 0 0 .12rem; font-size: 1rem; }
.book-alt-metrics > div:last-child { grid-column: 1 / -1; }
.book-table[data-book-table="compare"] caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.book-table[data-book-table="compare"] th, .book-table[data-book-table="compare"] td { padding: .34rem .3rem; }
.book-alt-card .book-unit { white-space: nowrap; }
.book-alt-card .book-stamp { font-size: .82rem; }
.book-alt-card .book-alt-label { margin: .65rem 0 .3rem; font-size: .86rem; font-weight: 750; }
.book-alt-bars { display: grid; gap: .46rem; margin: 0; }
.book-alt-bar { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: .35rem; align-items: baseline; font-size: .81rem; }
.book-alt-bar dt, .book-alt-bar dd { margin: 0; overflow-wrap: anywhere; }
.book-alt-bar dd { font-weight: 700; }
.book-alt-bar .book-depth-track { grid-column: 1 / -1; margin-block-start: .12rem; }
.book-alt-bar[data-band="0.001"] .book-depth-track span { background: #315b86; }
.book-figure .book-alt-reading { margin: .75rem 0 0; padding: .62rem .73rem; background: #f9fbfd; border-inline-start: .2rem solid #478079; font-size: .91rem; }
@media (max-width: 570px) {
  .book-ladder, .book-depth, .book-band, .book-executed, .book-alt-grid { grid-template-columns: 1fr; }
  .book-metrics > div, .book-depth > div { padding: .45rem .52rem; }
  .book-table table { font-size: .78rem; line-height: 1.45; }
  .book-table th, .book-table td { padding: .34rem .27rem; }
  .book-table .book-unit { display: block; }
}
@media (max-width: 360px) {
  .book-alt-metrics { grid-template-columns: 1fr; }
  .book-table[data-book-table="compare"] th:first-child { width: 27%; }
  .book-table[data-book-table="compare"] tbody td bdi { white-space: nowrap; }
}
