/* SeaPay® online banking — round 0250 (W1): the card around each kit chart (js/8k-charts-web.js). The marks themselves are the kit's
   (js/vendor/spcharts.css, Paymaster's byte for byte); this file only lays out the board's head, legend, sentence, keys and table twin. */
.bw-card { position: relative; min-width: 0; grid-template-columns: minmax(0, 1fr); }
.bw-card > * { min-width: 0; max-width: 100%; }
.bw-charts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.bw-charts > .card + .card, .bd-gc + .bw-charts, .bw-charts + .bd-gc { margin-top: 14px; }
.bw-charts > .card + .card { margin-top: 0; }
.bw-head { min-height: 28px; }
.bw-title { min-width: 0; }
.bw-tools { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bw-tools .seg { margin-left: 0; }
.bw-seg button[aria-pressed='true'] { font-weight: 600; }
.bw-fig { margin: 0; min-width: 0; }
.bw-body { position: relative; min-width: 0; }
.bw-strip { margin-top: 2px; }
.bw-legend .bw-k { display: inline-block; width: 14px; height: 2px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.bw-legend .bw-k.bar, .bw-legend .bw-k.hatch, .bw-legend .bw-k.ghost { width: 10px; height: 10px; border-radius: 3px; }
.bw-legend .bw-k.hatch { background: repeating-linear-gradient(135deg, var(--sp-c-total) 0 2px, transparent 2px 4px) !important; opacity: 0.8; }
.bw-legend .bw-k.ghost { background: var(--sp-c-track) !important; }
.bw-legend .bw-k.tick { width: 2px; height: 10px; background: var(--sp-ink) !important; }
.bw-legend .bw-k.dash, .bw-legend .bw-k.dot { height: 0; background: none !important; border-top: 2px dashed currentColor; }
.bw-legend .bw-k.dot { border-top-style: dotted; }
.bw-say b { color: var(--sp-ink); font-weight: 600; }
.bw-note { margin: 0; }
.bw-keys { font-size: 11px; color: var(--sp-label); }
.bw-twin { min-width: 0; }
.bw-tablewrap { max-height: 360px; max-width: 100%; overflow: auto; }
.bw-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.bw-table th, .bw-table td { padding: 6px 8px; border-bottom: 1px solid var(--sp-line2, var(--sp-line)); text-align: left; font-weight: 400; }
.bw-table thead th { color: var(--sp-label); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.bw-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bw-table tbody th { color: var(--sp-dim); }
.bw-table tfoot th, .bw-table tfoot td { color: var(--sp-ink); font-weight: 600; border-bottom: 0; }
/* Contract 0250 amendment 1 (chart-groups.json cg-2026.11 `tokens` + `bands`): the plan's reference line --sp-ref (Night #9a9a9a as the boards
   draw it; Day #767676, 4.54:1 on white — the kit carries it too since r0250-pm 791aca1) and the use-period bands per kind — crew-only
   and crossings apart (the kit, r0250-pm 791aca1, still draws both with --spc-band-crew #a9adb8 / #5e5e5e). The bank's Night has no data-theme; Day is data-theme light. tests/chart-golden-0250.cjs reads every
   token back from the page under Night, Day and Night on a light-mode computer and compares it with chart-groups.json. */
:root:not([data-theme='light']):not([data-theme='day']) { --sp-ref: #9a9a9a; --spc-band-charter: #c8ccd4; --spc-band-trip: #d98aa8; --spc-band-yard: #f0b45a; --spc-band-laid: #6b6f7a; --spc-band-crew: #6b6f7a; --bw-band-delivery: #c8ccd4; }
:root[data-theme='light'], :root[data-theme='day'] { --sp-ref: #767676; --spc-band-charter: #6b6f7a; --spc-band-trip: #7b2342; --spc-band-yard: #a56b00; --spc-band-laid: #555555; --spc-band-crew: #555555; --bw-band-delivery: #6b6f7a; }
.spc-bandr.delivery { stroke: var(--bw-band-delivery); }
@media (max-width: 600px) { .bw-tools { width: 100%; justify-content: flex-start; margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .bw-card, .bw-card * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .bw-tbtn, .bw-keys { display: none !important; } .bw-twin[hidden] { display: block !important; } }
