/* The Console view (console.js): the revised MARINE VOICE console's channel cards, counters, map column,
   review row and event log (dcs-dsci-vhf-processing services/modern-ui: index.html, channel_strip.html,
   type_bar.html, event_log.html, base.html breakpoints). Colours are shell.css's --mv-* tokens. */
#consoleview { font-family: var(--mv-sans); color: var(--mv-body); font-size: 12px; }
#cv { display: flex; flex-direction: column; gap: 10px; padding: 0 36px;
      --cv-h: max(420px, calc(var(--vh100) - 88px - 38px - 26px)); }   /* top row = screen - header - footer (audio bar now inside the channels column, 2026-10-14) */
.cv-panel { background: var(--mv-panel); border: 1px solid var(--mv-line); border-radius: 6px; }
.cv-h2 { display: flex; align-items: center; gap: 12px; height: 20px; }
.cv-h2 h2 { margin: 0; font-family: var(--mv-disp); font-size: 15px; font-weight: 600; letter-spacing: .14em; color: var(--mv-label);
            white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cv-h2 i { flex: 1; height: 1px; background: var(--mv-line); }

/* ---- top row: channels + counters | map (index.html #console-row) ---- */
#console-row { display: flex; flex-wrap: wrap; gap: 10px 0; align-items: stretch; }
#console-left { flex: 52 1 0; align-self: flex-start; display: flex; align-items: stretch; }
#channels-col { flex: 1 1 0; min-width: 860px; height: var(--cv-h); display: flex; flex-direction: column; gap: 10px; }
#channels-col[hidden] { display: none; }
#counts-col { flex: none; width: 196px; min-width: 160px; margin-left: 16px; height: var(--cv-h); padding: 12px;
              display: flex; flex-direction: column; gap: 10px; container: cv-counts / size; }
#split-handle { flex: none; width: 12px; margin: 0 2px; align-self: stretch; cursor: col-resize;
                                   display: flex; align-items: center; justify-content: center; touch-action: none; }
#split-handle span { width: 3px; height: 56px; border-radius: 2px; background: var(--mv-line3); display: block; }
#split-handle.drag span { background: var(--mv-info); }
#ais-map-col { flex: 48 1 0; min-width: 560px; height: var(--cv-h); display: flex; align-items: stretch; }

/* ---- channel cards (channel_strip.html) ---- */
#channel-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; flex: 1; min-height: 0; align-items: stretch; }
/* 2026-10-20 structural fit (Mo: sizes kept breaking): on the Traffic Console the strip and each card size themselves
   from their OWN box (container queries, "Fit to the box" below), never from the screen width, so the nav rail, the map
   split, the page zoom (shFit) and Windows display scaling cannot squeeze them again. Columns follow the strip's width
   and the last row stretches (no empty slot, any number of channels). The RADIO LOG pages move this strip into #pv-live
   and keep their own grid rules (monitor.html), so everything here is scoped to #channels-col. */
#channels-col #channel-strip { container: cv-strip / size; display: flex; flex-wrap: wrap; align-content: stretch; --cc-cols: 5; }
#channels-col .channel-card { container: cv-card / size; height: auto;
                              flex: 1 1 calc((100% - (var(--cc-cols) - 1) * 12px) / var(--cc-cols) - 1px); }
.channel-card { min-width: 0; min-height: 0; overflow: hidden; background: var(--mv-panel); border: 1px solid var(--mv-line); border-radius: 6px;
                padding: 12px; display: flex; flex-direction: column; gap: 11px; height: 100%; cursor: pointer;
                transition: background .2s, border-color .2s, box-shadow .2s; }
.channel-card.on { background: #111d2b; }
.channel-card.carrier { background: #24151a !important; border-color: var(--mv-crit) !important;
                        box-shadow: inset 0 0 0 1px var(--mv-crit), 0 0 16px rgba(255,56,60,.38) !important; }
.cc-head { display: flex; align-items: flex-start; gap: 8px; }
.cc-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cc-num { font-family: var(--mv-disp); font-size: 38px; font-weight: 600; line-height: .9; }
.cc-sector { font-family: var(--mv-mono); font-size: 11px; color: var(--mv-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-live { flex: none; font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: #fff;
           background: var(--mv-crit); border-radius: 3px; padding: 2px 7px; }
.cc-freq { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-freq b { font-family: var(--mv-disp); font-size: 13px; font-weight: 600; color: var(--mv-body); white-space: nowrap; }
.cc-sq { font-family: var(--mv-mono); font-size: 9.5px; color: #5c6c7e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carrier .cc-sq { color: #ff6b6e; }
.cc-eq { width: 100%; height: 46px; display: block; }
.cc-cap { background: var(--mv-inset); border: 1px solid var(--mv-line); border-radius: 5px; padding: 9px 10px;
          display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; }
.cc-cap-h { display: flex; align-items: center; gap: 7px; }
.cc-cap-h b { font-family: var(--mv-mono); font-weight: 400; font-size: 12.5px; letter-spacing: .06em; color: var(--mv-text); white-space: nowrap; }
.cc-cap-h i { width: 6px; height: 6px; border-radius: 50%; background: var(--mv-ok); }
.cc-cap-h span { font-family: var(--mv-mono); font-size: 10.5px; color: #7f8fa1; }
.cc-text { margin: 0; flex: 1; min-height: 0; overflow: hidden; font-size: 14px; line-height: 1.45; color: #e6eef7; }
.cc-tags { flex: none; height: 43px; overflow: hidden; display: flex; gap: 5px; flex-wrap: wrap; align-content: flex-start; }
.cc-tags span { font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; padding: 2px 6px; border-radius: 3px; }
.cc-tags .t2 { background: rgba(59,157,255,.14); color: var(--mv-info); }
.cc-spec { display: flex; flex-direction: column; gap: 7px; flex: 2 1 0; min-height: 0; }
.cc-spec > span { font-family: var(--mv-mono); font-size: 10.5px; letter-spacing: .1em; color: var(--mv-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-spec svg { width: 100%; height: 66px; flex: 0 1 66px; min-height: 24px; display: block; background: #080e16; border: 1px solid var(--mv-line); border-radius: 3px; }
.cc-spec canvas { width: 100%; height: 92px; flex: 1 1 0; min-height: 0; display: block; border: 1px solid var(--mv-line); border-radius: 3px; background: #05090f; image-rendering: pixelated; }
.cc-axis, .cc-foot { display: flex; justify-content: space-between; font-family: var(--mv-mono); font-size: 9.5px; color: var(--mv-faint); }
.cc-foot { font-size: 11px; color: #5c6c7e; gap: 6px; white-space: nowrap; }
.cc-foot span { overflow: hidden; text-overflow: ellipsis; }
.cc-foot .rf.on { color: var(--mv-crit); }
.cc-foot .mon { color: var(--mv-ok); }
.cc-foot .mon.off { color: var(--mv-faint); }

/* ---- counters (type_bar.html) ---- */
.cv-counts-h { display: flex; align-items: center; gap: 6px; }
.cv-counts-h span { flex: 1; font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: #5c6c7e; white-space: nowrap; }
#cv-hide { flex: none; width: 24px; height: 22px; padding: 0; border-radius: 4px; border: 1px solid var(--mv-line3); background: var(--mv-field);
           color: var(--mv-label); font-size: 12px; line-height: 1; cursor: pointer; }
#cv-total { font-family: var(--mv-disp); font-size: 42px; font-weight: 600; line-height: 1; color: var(--mv-hi); font-variant-numeric: tabular-nums; }
#type-bar { flex: 0 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 7px; overflow-y: auto; border-top: 1px solid #1b2634; padding-top: 7px; }
.nv-typechip { flex: none; display: flex; align-items: center; gap: 9px; width: 100%; height: 28px; padding: 0 8px; cursor: pointer;
               border: 0; border-radius: 4px; background: transparent; font-family: var(--mv-disp); }
.nv-typechip i { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.nv-typechip b { flex: 1; min-width: 0; text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .055em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-typechip span { flex: none; font-family: var(--mv-mono); font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--mv-text); }
.nv-typechip.alarm { background: var(--mv-crit) !important; }
.nv-typechip.alarm i { background: #fff !important; }
.nv-typechip.alarm b, .nv-typechip.alarm span { color: #fff !important; }

/* ---- review row: the table (console-table.js) ---- */
#review-row { display: flex; align-items: stretch; padding-bottom: 22px; }
#review-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }

/* ---- filter bar (filters.html) ---- */
#tb-filters { position: relative; z-index: 900; display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
#tb-fields { display: contents; }
.tb-search { display: flex; align-items: center; gap: 9px; width: 264px; height: 44px; background: var(--mv-panel); border: 1px solid var(--mv-line2);
             border-radius: 5px; padding: 0 12px; }
.tb-search span { font-size: 12px; color: var(--mv-faint); }
.tb-search input { flex: 1; background: transparent; border: 0; outline: none; color: var(--mv-text); font-size: 12.5px; font-family: var(--mv-sans); }
.tb-search input::placeholder { color: var(--mv-faint); }
.nv-select, .nv-date { position: relative; }
.nv-summary { height: 44px; background: var(--mv-panel); border: 1px solid var(--mv-line2); border-radius: 5px; padding: 5px 12px; display: flex;
              flex-direction: column; justify-content: center; gap: 1px; cursor: pointer; list-style: none; }
.nv-summary::-webkit-details-marker { display: none; }
details[open] > .nv-summary { border-color: #2f4459; }
.nv-lab { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: #5c6c7e; }
.nv-line { display: flex; align-items: center; gap: 10px; width: 100%; }
.nv-select-value { font-family: var(--mv-mono); font-size: 11px; color: var(--mv-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.nv-caret { font-size: 10px; color: var(--mv-faint); }
details[open] .nv-caret { transform: rotate(180deg); }
.nv-menu { position: absolute; top: 48px; left: 0; z-index: 1100; min-width: 100%; width: max-content; max-height: 360px; overflow-y: auto;
           background: var(--mv-panel); border: 1px solid var(--mv-line3); border-radius: 5px; padding: 5px; display: flex; flex-direction: column;
           gap: 2px; box-shadow: 0 16px 36px rgba(0,0,0,.6); }
.nv-option { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border: 0; border-radius: 4px; cursor: pointer; text-align: left;
             white-space: nowrap; font-family: var(--mv-mono); font-size: 11px; background: transparent; color: var(--mv-label); }
.nv-option:hover { color: var(--mv-text); }
.nv-option.on { background: rgba(59,157,255,.14); color: var(--mv-text); }
.nv-option i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.nv-datemenu { min-width: 196px; padding: 7px; gap: 6px; }
.nv-datemenu input { background: var(--mv-inset); border: 1px solid var(--mv-line3); border-radius: 4px; padding: 8px 10px; color: var(--mv-text);
                     font-family: var(--mv-mono); font-size: 11px; outline: none; color-scheme: dark; }
.nv-btns { display: flex; gap: 6px; }
.nv-btns button { flex: 1; padding: 7px 10px; border-radius: 4px; cursor: pointer; font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.nv-now { border: 1px solid var(--mv-line3); background: var(--mv-inset); color: var(--mv-label); }
.nv-apply { border: 1px solid rgba(59,157,255,.45); background: rgba(59,157,255,.14); color: var(--mv-info); }
#tb-group { flex: none; height: 30px; margin-bottom: 7px; padding: 0 10px; border: 0; border-radius: 4px; cursor: pointer;
            font-family: var(--mv-disp); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
#tb-clear { flex: none; width: 34px; height: 34px; margin-bottom: 5px; display: flex; align-items: center; justify-content: center; padding: 0;
            border: 1px solid var(--mv-line2); border-radius: 5px; background: var(--mv-panel); color: var(--mv-label); cursor: pointer; }

/* ---- the table (table_body.html) ---- */
#tb-wrap { display: flex; flex-direction: column; min-height: 220px; overflow: hidden; }
#tb-inner { overflow-x: auto; }
#tb-head, .tx-row { display: grid; grid-template-columns: 104px 106px 72px 130px 140px 84px 128px 112px 176px 120px minmax(220px, 1fr); min-width: 1386px; }
#tb-head { background: #0b1929; border-bottom: 1px solid var(--mv-line); }
.tb-th { display: flex; align-items: center; gap: 5px; padding: 11px 12px; border: 0; border-right: 1px solid #101c2b; background: transparent;
         text-align: left; font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--mv-dim); white-space: nowrap; }
button.tb-th { cursor: pointer; }
.tb-th i { font-style: normal; font-size: 9px; color: #31414f; }
.tb-th.on { background: #101f31; color: var(--mv-text); }
.tb-th.on i { color: var(--mv-info); }
#tb-body { min-width: 1386px; }
.tx-group { border-bottom: 1px solid #101c2b; }
.tx-row { align-items: center; cursor: pointer; min-height: 54px; padding: 4px 0; }
.tx-row:hover { background: rgba(255,255,255,.015); }
.tx-row.open { background: rgba(59,157,255,.07); box-shadow: inset 3px 0 0 var(--acc); }
.tb-td { padding: 0 12px; min-width: 0; overflow: hidden; }
.tb-td.mono, .tb-td .mono { font-family: var(--mv-mono); font-size: 11px; color: var(--mv-sub); }
.tb-td.strong { font-size: 12.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; color: var(--mv-hi); }
.tb-td.strong.heard { font-style: italic; color: var(--mv-text); }
.tb-td.dim { font-size: 12px; color: var(--mv-sub); white-space: nowrap; text-overflow: ellipsis; }
.tb-td .chip { font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; padding: 3px 7px; border-radius: 3px; background: rgba(59,157,255,.14); }
.tb-td.play { padding: 0 8px; display: flex; align-items: center; gap: 7px; }
.turns { flex: none; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: rgba(90,169,255,.18); color: #9fd0ff;
         font-family: var(--mv-mono); font-size: 11.5px; display: flex; align-items: center; justify-content: center; }
.pbtn { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 0; background: #17222f; color: var(--mv-label); font-size: 10px; cursor: pointer; padding: 0; }
.pbtn.on { background: rgba(59,157,255,.25); color: var(--mv-info-hi); }
.pbtn.small { width: 20px; height: 20px; font-size: 8px; }
.tb-td .tag { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle;
              font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 2px 6px; border-radius: 3px; }
.tb-td .tag.ev { background: rgba(61,220,132,.16); color: var(--mv-ok); }
.tb-td .tag.none { color: var(--mv-faint); }
.tb-td.conf { display: flex; align-items: center; gap: 8px; }
.tb-td.conf .bar { flex: 1; height: 4px; border-radius: 2px; background: var(--mv-rule); overflow: hidden; }
.tb-td.conf .bar i { display: block; height: 4px; }
.tb-td.tx { padding: 7px 12px; font-size: 12px; line-height: 1.45; color: var(--mv-sub); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.tb-td.tx b { color: var(--mv-info); font-weight: 700; }
.tb-empty { padding: 28px 16px; color: var(--mv-dim); font-size: 12.5px; }
#tb-foot { display: flex; align-items: center; padding: 14px 16px; gap: 18px; border-top: 1px solid #101c2b; }
.tb-showing { white-space: nowrap; font-size: 12px; color: var(--mv-dim); }
.tb-pager { display: flex; gap: 6px; flex-wrap: wrap; }
.tb-pager button { min-width: 30px; height: 30px; border-radius: 4px; border: 1px solid var(--mv-line2); background: var(--mv-inset); color: var(--mv-label);
                   font-family: var(--mv-mono); font-size: 11px; cursor: pointer; }
.tb-pager button.on { border-color: var(--mv-info); background: var(--mv-info); color: #08131f; }
.tb-pager button.next { min-width: 54px; }

/* ---- the expanded record (row_detail.html) ---- */
.tb-detail { background: #081320; border-top: 1px solid var(--mv-line2); padding: 12px 16px 18px; display: flex;
             flex-direction: column; gap: 12px; min-width: 0; box-shadow: inset 3px 0 0 var(--acc); }
.td-head, .td-conv-h { display: flex; align-items: center; gap: 10px; }
.td-head > i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.td-head > b { font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; color: var(--acc); }
.td-head .mono, .td-conv-h .mono { font-family: var(--mv-mono); font-size: 11.5px; color: #5c6c7e; }
.tb-detail .rule { flex: 1; height: 1px; background: var(--mv-line); }
.tb-detail .link { background: none; border: 0; font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--mv-dim); cursor: pointer; }
.td-ident { display: flex; align-items: flex-start; gap: 34px; flex-wrap: wrap; background: var(--mv-panel); border: 1px solid var(--mv-rule);
            border-radius: 5px; padding: 12px 14px; }
.td-ident > span { display: flex; flex-direction: column; gap: 2px; }
.td-ident b { font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .16em; color: #5c6c7e; }
.td-ident span span { font-family: var(--mv-mono); font-size: 11.5px; color: var(--mv-body); }
.td-ident span span.empty { color: #4d5c6d; }
.td-conv, .td-reason { background: var(--mv-panel); border: 1px solid var(--mv-rule); border-radius: 5px; padding: 12px 14px; display: flex;
                       flex-direction: column; gap: 9px; min-width: 0; }
.td-conv-h > b { font-family: var(--mv-mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; color: var(--mv-label); }
.td-conv-h .badge { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .12em; padding: 2px 8px; border-radius: 3px;
                    background: rgba(90,169,255,.16); color: #9fd0ff; }
.td-conv-h .ro { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .12em; padding: 2px 7px; border-radius: 3px;
                 background: rgba(160,108,245,.14); color: #a06cf5; }
.dl { flex: none; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--mv-line3);
      border-radius: 4px; background: var(--mv-field); color: var(--mv-label); cursor: pointer; }
.dl svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.td-rail { display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 11px; min-width: 0; }
.td-dot { position: relative; display: flex; justify-content: center; }
.td-dot i { position: absolute; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); z-index: 1; }
.td-dot span { position: absolute; top: 14px; bottom: 0; width: 0; border-left: 1px solid var(--acc); opacity: .45; }
.td-dot span.gap { border-left: 1px dashed #3a4a5c; opacity: 1; }
.td-turn { min-width: 0; padding-bottom: 9px; }
.td-turn .mono { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--mv-mono); font-size: 11.5px; line-height: 1.4; color: #5c6c7e; }
.td-turn .mono .n { color: #4d5c6d; }
.td-turn p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--mv-text); overflow-wrap: anywhere; }
.td-turn .sil { display: block; margin-top: 3px; font-family: var(--mv-mono); font-size: 10.5px; font-style: italic; color: #4d5c6d; }
.td-reason-body { max-height: 140px; overflow-y: auto; background: var(--mv-inset); border: 1px solid var(--mv-line2); border-radius: 4px; padding: 11px 13px;
                  font-size: 12px; line-height: 1.6; color: #9fb2c6; display: flex; flex-direction: column; gap: 6px; }
.td-ev b { font-family: var(--mv-disp); font-weight: 600; letter-spacing: .06em; color: #c3b2f5; }
.td-ev q { display: block; margin-left: 12px; font-style: italic; color: #7f8fa1; }
.td-ev .mono { font-family: var(--mv-mono); font-size: 11px; color: #5c6c7e; }
.td-reason .foot { font-family: var(--mv-mono); font-size: 11px; color: #5c6c7e; }
/* ---- live-audio bar (top of the console, 2026-10-13: moved out of the removed event log) ---- */
.cv-audio { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 3px 10px; margin-top: 6px; }
#cv-source { display: flex; align-items: center; gap: 6px; font-family: var(--mv-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--mv-dim); }
#cv-source i { width: 7px; height: 7px; border-radius: 50%; background: var(--mv-crit); }
#cv-source i.on { background: var(--mv-ok); }
#cv-split-l { display: flex; align-items: center; gap: 5px; font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
              color: var(--mv-label); cursor: pointer; }
#cv-lr-rules { flex: none; padding: 3px 10px; border-radius: 4px; border: 1px solid #2a3a4c; background: transparent; color: var(--mv-info);
               font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; cursor: pointer; }
#cv-lrhelp { width: min(760px, calc(100vw - 32px)); max-height: calc(var(--vh100) - 32px); overflow: auto; box-sizing: border-box; padding: 16px 18px; border: 1px solid var(--mv-line3); border-radius: 7px; background: var(--mv-panel);
             color: var(--mv-body); font-family: var(--mv-sans); font-size: 12.5px; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
#cv-lrhelp h3 { margin: 0 0 8px; font-family: var(--mv-disp); font-size: 14px; letter-spacing: .1em; color: var(--mv-hi); }
#cv-lrhelp .prio span { color: var(--mv-dim); } #cv-lrhelp .prio b { color: var(--mv-info); margin-left: 6px; }
#cv-lrhelp table { width: 100%; border-collapse: collapse; margin: 8px 0; }
#cv-lrhelp th, #cv-lrhelp td { text-align: left; padding: 5px 8px; border-bottom: 1px solid var(--mv-line); white-space: normal; }   /* wraps: no side scroll (Mo 2026-10-19) */
#cv-lrhelp th { font-family: var(--mv-disp); font-size: 11px; letter-spacing: .12em; color: var(--mv-dim); }
#cv-lrhelp td.both { text-align: center; color: var(--mv-ok); }
#cv-lrhelp .note { color: var(--mv-sub); line-height: 1.5; }
#cv-lrhelp button { padding: 6px 12px; border-radius: 4px; border: 1px solid #2a3a4c; background: var(--mv-inset); color: var(--mv-body); cursor: pointer; }
/* the Tagger's top-10 counters (under the group counters) and the tag chip of the table */
#tag-bar { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 5px; overflow-y: auto; border-top: 1px solid #1b2634; padding-top: 7px; }
#tag-bar .nv-typechip { height: 24px; }
#tag-bar .cv-none { font-family: var(--mv-mono); font-size: 10.5px; color: var(--mv-faint); }
#tb-tag { flex: none; height: 30px; margin-bottom: 7px; padding: 0 10px; border: 0; border-radius: 4px; cursor: pointer;
          font-family: var(--mv-disp); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.tb-td .tag.guess { outline: 1px dashed currentColor; outline-offset: -1px; }
.td-tags { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--mv-body); }
.td-review { display: flex; flex-direction: column; gap: 5px; max-height: 260px; overflow-y: auto; }
.td-rv { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 12.5px; color: var(--mv-body); padding: 3px 0; border-bottom: 1px solid var(--mv-rule); }
.td-rv .mono { font-family: var(--mv-mono); font-size: 11px; color: #7f8fa1; }
.td-rv .tag { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 2px 6px; border-radius: 3px; }
.td-rv .fb { min-width: 34px; height: 24px; padding: 0 8px; border-radius: 12px; border: 1px solid var(--mv-line3); background: var(--mv-inset);
             color: var(--mv-label); font-size: 12px; cursor: pointer; }
.td-rv .fb.ok[aria-pressed=true] { background: var(--mv-ok); border-color: var(--mv-ok); color: #08131f; }
.td-rv .fb.wrong[aria-pressed=true] { background: var(--mv-warn); border-color: var(--mv-warn); color: #08131f; }
.td-tagline .tag { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 2px 6px; border-radius: 3px; }
#audio-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mv-faint); }
#audio-dot.on { background: var(--mv-ok); }
#audio-label { font-size: 11px; color: var(--mv-sub); }
#stream-label { font-family: var(--mv-mono); font-size: 12px; color: var(--mv-info); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#audio-toggle { flex: none; padding: 3px 12px; border-radius: 4px; border: 1px solid #2a3a4c; background: var(--mv-inset); color: var(--mv-body);
                font-family: var(--mv-disp); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; cursor: pointer; }

/* ---- responsive (base.html) ---- */
@media (max-width: 1899px) {
  :where(:root:not(.mvz), :root.mvz-lt1900) #split-handle { display: none !important; }
  /* 2026-10-13: still one row, so all of it fits the screen, the map beside the cards at full height.
     2026-10-20 (Mo's Mac at default size, 1728 px: cards went 3 + 2 and only 75 % zoom put them in one row): the
     channels + counters get at least 860 px (5 cards of 120 px) and the map gives way, down to its 380 px; only when
     even that can't fit do the cards go 3 + 2. The min is capped at "row - map", so the map never wraps below. */
  :where(:root:not(.mvz), :root.mvz-lt1900) #console-left { flex: 55 1 0; min-width: min(860px, calc(100% - 396px)); }
  :where(:root:not(.mvz), :root.mvz-lt1900) #console-left:has(#channels-col[hidden]) { min-width: auto; }   /* map + counters, as on wide screens */
  :where(:root:not(.mvz), :root.mvz-lt1900) #channels-col { min-width: 0; }
  :where(:root:not(.mvz), :root.mvz-lt1900) #ais-map-col { flex: 45 1 0; min-width: 380px; }
}
/* ---- Fit to the box (2026-10-20): what used to be screen-size rules (max-width 1899 cards 3+2, max-height 760 short
   cards and tight counters) now follows the box each part really gets ---- */
/* columns: 5 in a row while each card gets 118+ px (at 75 % zoom on a Mac they were ~121 real px and looked right),
   then 3 + 2 (the 2 stretch), then 2 per row */
@container cv-strip (max-width: 639px) { .channel-card { --cc-cols: 3; } }
@container cv-strip (max-width: 479px) { .channel-card { --cc-cols: 2; } }
/* a short card drops its extras in this order, so the caption text never gets squeezed out */
@container cv-card (max-height: 480px) { .cc-spec canvas, .cc-axis { display: none; } .cc-spec { flex: 0 1 auto; } }
@container cv-card (max-height: 400px) { .cc-eq, .cc-spec > span { display: none; } }
@container cv-card (max-height: 300px) { .cc-spec svg { display: none; } }
@container cv-card (max-height: 260px) { .cc-tags { display: none; } }
@container cv-card (max-height: 200px) { .cc-spec { display: none; } }
/* the live caption is the card's point: in a card with room, header + ~3 lines + tags always fit */
@container cv-card (min-height: 301px) { .cc-cap { min-height: 150px; } }
@container cv-card (max-width: 150px) { .cc-num { font-size: 30px; } .cc-cap-h span { display: none; } }
/* the narrowest one-row cards (118-142 px, e.g. a Mac at its default size): slimmer padding and labels */
@container cv-strip (min-width: 640px) and (max-width: 760px) { .channel-card { padding: 10px 8px; } }
@container cv-card (max-width: 140px) {
  .cc-num { font-size: 26px; } .cc-live { padding: 2px 4px; letter-spacing: .06em; }
  .cc-cap { padding: 8px 6px; } .cc-cap-h { gap: 5px; }
  .cc-cap-h b { font-size: 10px; letter-spacing: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .cc-spec > span { font-size: 9.5px; letter-spacing: 0; }
  .cc-foot .rf { display: none; }   /* RF state still shows as the red card + LIVE badge */
}
/* counters: tighter as the column gets shorter; below that both lists scroll */
@container cv-counts (max-height: 740px) {
  #cv-total { font-size: 30px; }
  #type-bar { gap: 3px; padding-top: 5px; } #type-bar .nv-typechip { height: 22px; }
  #tag-bar { gap: 2px; padding-top: 5px; } #tag-bar .nv-typechip { height: 19px; }
}
@container cv-counts (max-height: 560px) {
  #cv-total { font-size: 22px; }
  #type-bar .nv-typechip { height: 20px; }
  #tag-bar { gap: 1px; } #tag-bar .nv-typechip { height: 16px; }
}
@media (max-width: 1440px) { :where(:root:not(.mvz), :root.mvz-lt1441) #cv { padding: 0 20px; } }
@media (max-width: 1320px) {
  :where(:root:not(.mvz)) #channels-col { min-width: 0 !important; }
}
@media (max-width: 1100px) {
  :where(:root:not(.mvz)) #console-left { flex-direction: column !important; align-self: stretch !important; }
  :where(:root:not(.mvz)) #channels-col { height: auto !important; min-height: 520px; }
  :where(:root:not(.mvz)) #counts-col { width: auto !important; margin-left: 0 !important; margin-top: 12px; height: auto !important; container-type: inline-size; }
  :where(:root:not(.mvz)) #channels-col #channel-strip { container-type: inline-size; }
  :where(:root:not(.mvz)) #channels-col .channel-card { min-height: 300px; }
  :where(:root:not(.mvz)) #type-bar, :where(:root:not(.mvz)) #tag-bar { flex: none !important; flex-direction: row !important; flex-wrap: wrap !important; }
  :where(:root:not(.mvz)) .nv-typechip { width: auto; }
}
@media (max-width: 900px) {
  :where(:root:not(.mvz)) #review-row { flex-direction: column !important; }
}
@media (max-width: 700px) { #ais-map-col { min-width: 0 !important; } #cv { padding: 0 12px; } }

/* ---- vessel map (ais_map.html, base.html leaflet overrides) ---- */
#cm { flex: 1; min-width: 0; position: relative; z-index: 0; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
#ais-map-box { position: relative; flex: 1; min-height: 160px; }
#ais-map { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; background: #0b1a26; }
.cm-row { display: flex; align-items: center; gap: 16px; }
#ais-status { flex: 1; min-width: 0; font-family: var(--mv-mono); font-size: 11px; color: var(--mv-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-range-wrap { flex: none; position: relative; }
#map-range { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--mv-line2); border-radius: 6px; background: var(--mv-inset); }
#map-range button { min-width: 36px; height: 22px; padding: 0 8px; border: 0; border-radius: 4px; background: transparent; color: var(--mv-dim);
                    font-family: var(--mv-mono); font-size: 11px; letter-spacing: .04em; cursor: pointer; }
#map-range #map-range-custom { min-width: 24px; width: 24px; padding: 0; display: flex; align-items: center; justify-content: center; }
#map-range button.on { background: rgba(59,157,255,.16); color: var(--mv-info-hi); }
#map-range .sep { flex: none; width: 1px; height: 14px; margin: 0 3px; background: var(--mv-line2); }
#map-range-panel { position: absolute; right: 0; bottom: 30px; z-index: 1200; width: 270px; display: flex; flex-direction: column; gap: 11px; padding: 14px;
                   border: 1px solid var(--mv-line3); border-radius: 7px; background: var(--mv-panel); box-shadow: 0 18px 40px rgba(0,0,0,.6); }
#map-range-panel[hidden] { display: none; }
#map-range-panel label { display: flex; flex-direction: column; gap: 4px; }
.cm-when { display: flex; align-items: center; gap: 6px; }
.nv-when { width: 100%; height: 28px; padding: 0 8px; border-radius: 5px; border: 1px solid var(--mv-line3); background: var(--mv-field); color: var(--mv-text);
           font-family: var(--mv-mono); font-size: 11px; color-scheme: dark; }
.nv-now-btn { flex: none; height: 28px; padding: 0 9px; border-radius: 5px; border: 1px solid var(--mv-line3); background: var(--mv-field); color: var(--mv-label);
              font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .12em; cursor: pointer; }
#map-range-error { font-size: 11px; line-height: 1.4; color: var(--mv-warn); }
#ais-legend { flex: 1; min-width: 0; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
#ais-legend .lg { display: flex; align-items: center; gap: 7px; }
#ais-legend .lg i { width: 9px; height: 9px; border-radius: 50%; }
#ais-legend .lg span { font-size: 12px; color: var(--mv-sub); }
#ais-legend .lg b { font-family: var(--mv-mono); font-weight: 400; font-size: 11.5px; color: var(--mv-hi); }
#map-colour-by { flex: none; display: flex; border: 1px solid var(--mv-line3); border-radius: 5px; overflow: hidden; }
#map-colour-by button { height: 26px; padding: 0 11px; border: 0; background: transparent; cursor: pointer; font-family: var(--mv-disp); font-size: 11px;
                        font-weight: 600; letter-spacing: .12em; color: var(--mv-dim); }
#map-colour-by button.on { background: rgba(59,157,255,.16); color: var(--mv-info-hi); }
#map-source { flex: none; display: flex; border: 1px solid var(--mv-line3); border-radius: 5px; overflow: hidden; margin-right: 8px; }
#map-source button { height: 26px; padding: 0 10px; border: 0; background: transparent; cursor: pointer; font-family: var(--mv-disp); font-size: 11px;
                     font-weight: 600; letter-spacing: .12em; color: var(--mv-dim); }
#map-source button.on { background: rgba(46,230,197,.14); color: #2ee6c5; }
.cm-ct { background: none; border: 0; cursor: pointer; }
.cm-ct svg { display: block; filter: drop-shadow(0 0 2px rgba(0,0,0,.8)); }
#cm .leaflet-tooltip.cm-ct-time { display: none; padding: 0 3px; border: 0; border-radius: 2px; background: rgba(10,16,24,.78); color: #9fb2c6;
                                  font-family: var(--mv-mono); font-size: 9px; line-height: 13px; box-shadow: none; }
#cm .leaflet-tooltip.cm-ct-time::before { display: none; }
#ais-map.cm-near .leaflet-tooltip.cm-ct-time { display: block; }
#cm .leaflet-popup-content-wrapper, #cm .leaflet-popup-tip { background: var(--mv-panel); color: var(--mv-text); border: 1px solid var(--mv-line3);
                                                              box-shadow: 0 18px 40px rgba(0,0,0,.55); }
#cm .leaflet-popup-content { margin: 12px 14px; }
#cm .leaflet-container a.leaflet-popup-close-button { color: var(--mv-dim); }
#cm .leaflet-control-attribution { background: rgba(10,16,24,.7); color: #5c6c7e; font-size: 9px; }
#cm .leaflet-control-attribution a { color: #6c8aa8; }
#cm .leaflet-bar a { background: var(--mv-panel); color: var(--mv-label); border-color: var(--mv-line3); }
.cm-pop { font-family: var(--mv-sans); min-width: 280px; display: flex; flex-direction: column; gap: 8px; }
.cm-pop-h { display: flex; align-items: center; gap: 8px; }
.cm-pop-h i { width: 8px; height: 8px; border-radius: 50%; }
.cm-pop-h b { font-weight: 600; font-size: 13.5px; color: var(--mv-hi); }
.cm-pop .mono { font-family: var(--mv-mono); font-size: 11.5px; color: #7f8fa1; }
.cm-pop .dim { font-size: 11px; color: #5c6c7e; }
.cm-pop-tags { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 11.5px; color: var(--mv-sub); }
.cm-pop-tags .chip { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 2px 7px; border-radius: 3px; background: rgba(59,157,255,.14); }
.cm-pop-tagbox { display: flex; flex-direction: column; gap: 4px; max-height: 120px; overflow-y: auto; font-size: 11.5px; color: var(--mv-sub); }
.cm-pop-tagbox .chip { font-family: var(--mv-disp); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; padding: 1px 6px; border-radius: 3px; }
.cm-pop-q { font-size: 12px; color: var(--mv-body); line-height: 1.45; max-height: 96px; overflow-y: auto; }
.cm-eq { width: 100%; height: 40px; display: block; }
.cm-play { height: 30px; border-radius: 5px; border: 1px solid #2f6da8; background: rgba(59,157,255,.14); color: var(--mv-info-hi); cursor: pointer;
           font-family: var(--mv-disp); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.cm-pop audio { width: 100%; height: 34px; color-scheme: dark; }

/* ---- the table's filters in the shared filter lane (shell.css .mv-lane, Mo 2026-10-14): one row of 28 px fields,
   label and value on one line ---- */
#tb-filters.mv-lane { align-items: center; margin: 0; }
#tb-filters.mv-lane .tb-search { height: 28px; width: 240px; padding: 0 10px; border-color: var(--mv-line3); background: var(--mv-field); }
#tb-filters.mv-lane .nv-summary { height: 28px; width: auto !important; min-width: 0 !important; flex-direction: row; align-items: center; gap: 8px;
                                  padding: 0 10px; border-color: var(--mv-line3); background: var(--mv-field); }
#tb-filters.mv-lane .nv-line { width: auto; gap: 6px; }
#tb-filters.mv-lane .nv-select-value { max-width: 150px; }
#tb-filters.mv-lane .nv-menu { top: 32px; }
#tb-filters.mv-lane #tb-group, #tb-filters.mv-lane #tb-tag { height: 28px; margin: 0; }
#tb-filters.mv-lane #tb-clear { width: 28px; height: 28px; margin: 0 0 0 auto; padding: 0; text-transform: none; }

/* ---- the live-audio (L/R) bar, Mo 2026-10-14: one thin line above the live channel cards, in the shared filter style
   (labels in small caps, segmented groups, chosen = blue) ---- */
#cv-audiobar.cv-audio { contain: inline-size; width: 100%; min-width: 0; flex: none; flex-wrap: nowrap; gap: 8px; height: 34px; padding: 0 8px; margin: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
#cv-audiobar > * { flex: none; }
#cv-audiobar #audio-label { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mv-label); white-space: nowrap; }
#cv-audiobar .cvl-lab { font-family: var(--mv-disp); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: #5c6c7e; }
#cv-audiobar .cvl-sep { width: 1px; height: 18px; background: var(--mv-line3); }
#cv-audiobar #audio-toggle, #cv-audiobar #cv-lr-rules { height: 24px; padding: 0 10px; border-radius: 4px; font-size: 11px; line-height: 1; white-space: nowrap; }
#cv-audiobar #audio-toggle { border: 1px solid #2f6da8; background: rgba(59,157,255,.16); color: var(--mv-info-hi); }
#cv-audiobar #cv-lr-rules { border: 1px solid #2a3a4c; background: var(--mv-inset); color: var(--mv-label); }
#cv-listen button { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mv-mono); letter-spacing: 0; }
#cv-listen .cvl-dot { width: 7px; height: 7px; border-radius: 50%; }
#cv-listen button[aria-pressed=false] .cvl-dot { opacity: .35; }
#cv-listen .cvl-ear { font-family: var(--mv-mono); font-size: 9px; padding: 0 3px; border-radius: 3px; background: rgba(124,192,255,.18); color: var(--mv-info-hi); }
#cv-audiobar #cv-source { display: flex; align-items: center; gap: 0; font-size: 0; }   /* the stream dot only; its title says the rest */
#channels-col > #cv-audiobar { margin-bottom: 0; }

/* ---- map controls (console-map.js cmFilt*, Mo 2026-10-14 redesign): one line of controls; the filters open in a
   panel above it; the filters in use show as removable chips; the legend floats on the map ---- */
#map-filters.cm-ctl { position: relative; display: flex; align-items: center; gap: 6px; flex: none; min-width: 0;
                      flex-wrap: wrap; }   /* a narrow map (cards get width first, 2026-10-20): wrap, never run off the page */
.cm-seg { flex: none; display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--mv-line3); border-radius: 5px; background: var(--mv-field); }
.cm-seg button { height: 22px; padding: 0 7px; border: 1px solid transparent; border-radius: 4px; background: transparent; cursor: pointer;
                 font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--mv-dim); white-space: nowrap; }
.cm-seg button:hover { color: var(--mv-text); }
.cm-seg button.on, .cm-seg button[aria-pressed=true] { border-color: #2f6da8; background: rgba(59,157,255,.16); color: var(--mv-info-hi); }
#map-source.cm-seg, #map-colour-by.cm-seg { margin: 0; overflow: visible; border: 1px solid var(--mv-line3); }
#map-source.cm-seg button, #map-colour-by.cm-seg button { height: 22px; border: 1px solid transparent; }
#map-source.cm-seg button.on { border-color: #1f8f7c; background: rgba(46,230,197,.12); color: #2ee6c5; }
.cm-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 5px; border: 1px solid #2a3a4c;
          background: var(--mv-inset); color: var(--mv-label); cursor: pointer; font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.cm-btn:hover:not(:disabled) { border-color: #2f6da8; color: var(--mv-text); }
#mf-open[aria-expanded=true] { border-color: #2f6da8; background: rgba(59,157,255,.16); color: var(--mv-info-hi); }
#mf-n { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--mv-info); color: #08131f; font-family: var(--mv-mono);
        font-size: 10px; line-height: 16px; text-align: center; }
#mf-n:empty { display: none; }
.cm-find { flex: 0 1 190px; min-width: 96px; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 5px;
           border: 1px solid var(--mv-line3); background: var(--mv-field); }
.cm-find span { font-size: 12px; color: var(--mv-faint); }
.cm-find input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--mv-text); font-family: var(--mv-mono); font-size: 11px; }
#mf-active { position: absolute; top: 8px; left: 8px; right: 50px; z-index: 450; display: flex; flex-wrap: wrap; gap: 4px; pointer-events: none; }
#mf-active .mf-on { pointer-events: auto; background: rgba(10,22,36,.88); }
.mf-on { flex: none; height: 22px; padding: 0 8px; border-radius: 11px; border: 1px solid #2f6da8; background: rgba(59,157,255,.12); color: var(--mv-info-hi);
         cursor: pointer; font-family: var(--mv-disp); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; white-space: nowrap; }
.mf-on:hover { border-color: var(--mv-warn); color: var(--mv-warn); }
.cm-clear { margin-left: auto; color: var(--mv-warn); border-color: #4a3a20; }
.cm-clear:disabled { opacity: .4; cursor: default; }
#mf-panel { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 1300; display: flex; flex-direction: column; gap: 12px; padding: 14px;
            border: 1px solid var(--mv-line3); border-radius: 7px; background: var(--mv-panel); box-shadow: 0 18px 40px rgba(0,0,0,.6); }
#mf-panel[hidden] { display: none; }
.mf-group { display: flex; flex-direction: column; gap: 6px; }
.mf-h { font-family: var(--mv-disp); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: #5c6c7e; }
.mf-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mf-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 9px; border-radius: 13px; border: 1px solid var(--mv-line3);
           background: var(--mv-field); color: var(--mv-label); cursor: pointer; font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .05em; }
.mf-chip b { font-family: var(--mv-mono); font-weight: 400; font-size: 10.5px; color: var(--mv-dim); }
.mf-chip[aria-pressed=true] { border-color: #2f6da8; background: rgba(59,157,255,.16); color: var(--mv-info-hi); }
.mf-chip[aria-pressed=true] b { color: var(--mv-info-hi); }
.mf-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mf-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--mv-line); padding-top: 10px; }
.mf-hint { flex: 1; font-size: 11px; color: var(--mv-dim); }
/* the legend on the map (bottom left): colours of the current COLOUR BY, with counts */
#ais-legend.cm-legend { position: absolute; left: 8px; bottom: 8px; z-index: 450; max-width: calc(100% - 70px); display: flex; flex-wrap: wrap; gap: 4px 12px;
                        padding: 5px 9px; border-radius: 5px; background: rgba(10,16,24,.78); border: 1px solid var(--mv-line2); pointer-events: none; }
#ais-legend.cm-legend:empty { display: none; }
#ais-legend.cm-legend .lg span { font-size: 11px; }

/* ---- the chosen vessel's voice log (72 h): over the map on the right, 70 % see-through ---- */
#cm-vlog { position: absolute; top: 8px; right: 8px; bottom: 8px; z-index: 600; width: min(380px, 62%); display: flex; flex-direction: column;
           gap: 8px; padding: 10px 12px; border: 1px solid rgba(124,192,255,.28); border-radius: 6px;
           background: rgba(10,18,28,.30); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
           box-shadow: 0 12px 30px rgba(0,0,0,.35); color: var(--mv-text); text-shadow: 0 1px 3px rgba(0,0,0,.9); }
#cm-vlog[hidden] { display: none; }
#cm-vlog .vl-head { display: flex; align-items: flex-start; gap: 8px; }
#cm-vlog .vl-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#cm-vlog .vl-title b { font-family: var(--mv-disp); font-size: 16px; font-weight: 600; letter-spacing: .06em; color: var(--mv-hi);
                       white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#cm-vlog .mono { font-family: var(--mv-mono); font-size: 11px; color: #b4c3d3; }
#cm-vlog .vl-x { flex: none; width: 24px; height: 24px; padding: 0; border-radius: 4px; border: 1px solid var(--mv-line3);
                 background: rgba(11,18,29,.6); color: var(--mv-label); cursor: pointer; }
#cm-vlog .vl-sub { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--mv-info-hi); }
#cm-vlog .vl-list { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding-right: 2px; }
#cm-vlog .vl-none { font-size: 12px; color: var(--mv-sub); }
#cm-vlog .vl-card { display: flex; flex-direction: column; gap: 5px; padding: 7px 9px; border-radius: 5px; border: 1px solid rgba(124,192,255,.16);
                    background: rgba(11,18,29,.35); }
#cm-vlog .vl-card-h { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
#cm-vlog .chip { font-family: var(--mv-disp); font-size: 11px; font-weight: 600; letter-spacing: .08em; padding: 1px 6px; border-radius: 3px;
                 background: rgba(11,18,29,.6); }
#cm-vlog .vl-kind { font-family: var(--mv-disp); font-size: 10.5px; font-weight: 600; letter-spacing: .06em; color: var(--mv-ok); }
#cm-vlog .vl-text { font-size: 12px; line-height: 1.45; color: #e6eef7; max-height: 70px; overflow-y: auto; overflow-wrap: anywhere; }
#cm-vlog .vl-play { height: 24px; font-size: 11px; align-self: flex-start; padding: 0 12px; }
#cm-vlog audio { width: 100%; height: 30px; color-scheme: dark; }
