/* Dashivo Pro Dispatch Console: a full-height map with the black/white/yellow HUD of the admin fleet map. */
.dispatch-console-shell, .dispatch-console-shell .shell { background: #0b0b0d; }
.dispatch-console-shell .shell { height: 100dvh; min-height: 0; }
.dispatch-console-shell .main { display: flex; flex-direction: column; flex: 1 1 auto; width: 100%; max-width: none; min-height: 0; padding: 0; overflow: hidden; }
/* A trial / read-only plan banner sits above the console, full width (it was a column beside it: hands-on QA, Oct 24 2026) */
.dispatch-console-shell .main > .plan-banner { flex: none; margin: 10px 14px 0; }
.dispatch-console-shell .page-head, .dispatch-console-shell .foot { display: none; }
.dc { --dc-y: #ffff06; --dc-ink: #080809; --dc-panel: rgba(12,12,13,.93); --dc-line: rgba(255,255,255,.13); --dc-mut: #9d9d99;
  position: relative; flex: 1 1 auto; min-width: 0; min-height: 0; height: 100%; overflow: hidden; isolation: isolate; background: #0b0b0d; color: #f5f5f2; font-family: var(--font); }
.dc [hidden] { display: none !important; }
.dc-map { position: absolute; inset: 0; background: #050506; }
/* Before the basemap's first tiles: "Loading map" and a thin yellow bar sweeping under the top bar (pro-dispatch-console.js
   sets .is-loading until the map's "load"). Black, no grey screen (UI audit M17). */
.dc-map.is-loading::before { content: ""; position: absolute; top: 0; left: 0; z-index: 3; width: 30%; height: 2px; background: #ffff06;
  animation: dc-map-load 1.2s ease-in-out infinite; pointer-events: none; }
.dc-map.is-loading::after { content: "Loading map\2026"; position: absolute; top: 50%; left: 50%; z-index: 3; transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, .64); font: 600 13px/1 var(--font); letter-spacing: .02em; pointer-events: none; }
@keyframes dc-map-load { from { left: -30%; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .dc-map.is-loading::before { left: 0; width: 100%; animation: none; opacity: .6; } }
.dc-map .maplibregl-ctrl-bottom-left, .dc-map .maplibregl-ctrl-top-left, .dc-map .maplibregl-ctrl-top-right { display: none; }
.dc-map .maplibregl-ctrl-bottom-right { right: 76px; bottom: 70px; }
.dc-map .maplibregl-ctrl-attrib { border: 1px solid var(--dc-line); border-radius: 7px; background: rgba(12,12,13,.92); color: #c8c8c4; font: 9px/1.4 var(--font); }
.dc-map .maplibregl-ctrl-attrib a { color: #e4e4df; }
.dc-map .maplibregl-canvas { outline: 0; }
.dc-map .maplibregl-popup-content { border: 1px solid #161618; border-radius: 10px; background: #101012; color: #f1f1ee; box-shadow: 0 8px 26px rgba(0,0,0,.4); font: 11px/1.4 var(--font); padding: 8px 11px; }
.dc-map .maplibregl-popup-tip { border-top-color: #101012; border-bottom-color: #101012; }
.dc-tip b, .dc-tip span { display: block; }
.dc-tip b { font-size: 12px; margin-bottom: 2px; }
.dc-tip span { color: #aaa; }

.dc-hud { position: absolute; z-index: 4; border: 1px solid var(--dc-line); border-radius: 13px; background: var(--dc-panel); color: #f5f5f2; box-shadow: 0 8px 28px rgba(0,0,0,.28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.dc-top { top: 14px; right: 14px; left: 14px; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 12px; }
.dc-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.dc-brand div { display: grid; gap: 2px; }
.dc-brand b { font-size: 14px; letter-spacing: -.01em; }
.dc-brand span:not(.dc-mark) { color: var(--dc-mut); font-size: 11px; }
.dc-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--dc-ink); border-radius: 11px; background: var(--dc-y); color: var(--dc-ink); }
.dc-mark .ic { width: 20px; height: 20px; }
.dc-kpis { display: flex; flex: 1 1 auto; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.dc-kpis li { display: grid; gap: 3px; min-width: 84px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.035); }
.dc-kpis span { color: var(--dc-mut); font: 700 8.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.dc-kpis b { font-size: 18px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.dc-kpis .is-hot b { color: #fff; }
.dc-links { display: flex; gap: 4px; flex: none; }
.dc-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px; border-radius: 8px; color: #d8d8d4; font-size: 11px; font-weight: 600; text-decoration: none; }
.dc-links a:hover, .dc-links a:focus-visible { background: rgba(255,255,255,.1); color: var(--dc-y); }
.dc-links .ic { width: 15px; height: 15px; }

.dc { --dc-list-w: 372px; --dc-pane-w: 420px; }
.dc-list { top: 88px; bottom: 70px; left: 14px; display: flex; flex-direction: column; width: var(--dc-list-w, 372px); overflow: hidden; container: dc-list / inline-size; }
.dc-list.is-collapsed { bottom: auto; width: 190px; }
.dc-list.is-collapsed .dc-list-body { display: none; }
.dc-list.is-collapsed #dc-list-toggle .ic { transform: rotate(-90deg); }
.dc-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px 9px; border-bottom: 1px solid var(--dc-line); }
.dc-list-head b { font-size: 13px; }
.dc-list-head small { margin-left: 6px; color: var(--dc-mut); font-size: 10.5px; font-weight: 500; }
.dc-icon-btn { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--dc-line); border-radius: 8px; background: #1c1c1f; color: #eee; cursor: pointer; }
.dc-icon-btn .ic { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .18s; }
.dc-list-body { display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.dc-tabs { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px 2px; padding: 8px 8px 0; }
.dc-tab { display: inline-flex; align-items: center; gap: 4px; flex: none; min-height: 28px; padding: 0 7px; white-space: nowrap; border: 1px solid transparent; border-radius: 999px; background: transparent; color: #ffffff; font: 600 10.5px/1 var(--font); cursor: pointer; }
.dc-tab i { color: rgba(255,255,255,.75); font-style: normal; font-size: 9.5px; }
.dc-tab:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.dc-tab.is-active { background: var(--dc-y); color: var(--dc-ink); }
.dc-tab.is-active i { color: #3a3a10; }
.dc-filters { display: grid; grid-template-columns: 1fr 104px; gap: 6px; padding: 8px; }
.dc-filters input, .dc-filters select { width: 100%; min-height: 32px; border: 1px solid var(--dc-line); border-radius: 8px; background: #0c0c0e; color: #eee; font: 11px/1.2 var(--font); padding: 0 8px; }
.dc-search { position: relative; display: block; }
.dc-search .ic { position: absolute; top: 9px; left: 8px; width: 14px; height: 14px; color: var(--dc-mut); }
.dc-search input { padding-left: 28px; }
.dc-drivers { flex: 1 1 auto; min-height: 0; margin: 0; padding: 2px 8px 8px; overflow-y: auto; list-style: none; scrollbar-color: #414143 transparent; }
.dc-empty { padding: 20px 8px; color: var(--dc-mut); font-size: 11px; text-align: center; line-height: 1.5; }
/* Driver cards (pro-dispatch-console.js driverCard): a calm collapsed row, details behind the chevron. */
.dc-card-li { content-visibility: auto; contain-intrinsic-size: auto 86px; }
.dc-driver { position: relative; margin: 0 0 6px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: #050506; color: #fff; transition: border-color .15s; }
.dc-driver:hover, .dc-driver:focus-within { border-color: rgba(255,255,255,.24); }
.dc-card-hit { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 7px 11px; width: 100%; padding: 11px 44px 11px 11px; border: 0; border-radius: 13px; background: transparent; color: inherit; font: inherit; line-height: 1.35; text-align: left; cursor: pointer; }
.dc-card-hit:focus-visible, .dc-card-chev:focus-visible { outline: 2px solid var(--dc-y); outline-offset: -2px; }
.dc-card-hit > .dc-avatar { grid-row: 1 / span 2; }
.dc-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.dc-card-name { min-width: 0; color: #fff; font-size: 12.5px; font-weight: 650; letter-spacing: -.005em; overflow-wrap: anywhere; }
.dc-card-marks { display: inline-flex; flex: none; align-items: center; gap: 7px; }
.dc-card-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 12px; min-width: 0; color: #d8d8d4; font-size: 11px; font-variant-numeric: tabular-nums; }
.dc-card-meta small { color: var(--dc-mut); font-size: 10.5px; }
.dc-card-mi { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.dc-card-mi .ic { width: 13px; height: 13px; flex: none; color: var(--dc-mut); }
.dc-card-mi.is-stops { color: #fff; font-weight: 600; }
.dc-card-mi.is-eta { color: var(--dc-y); font-weight: 650; }
.dc-card-mi.is-eta .ic { color: var(--dc-y); }
.dc-card-mi.is-done, .dc-card-mi.is-done .ic { color: #8fa8ff; font-weight: 650; }
.dc-card-mi.is-self { color: #fff; font-weight: 600; }
.dc-card-hit > .dc-progress { grid-column: 2; margin-top: 1px; }
.dc-card-chev { position: absolute; top: 9px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #bdbdb8; cursor: pointer; }
.dc-card-chev:hover { background: rgba(255,255,255,.08); color: #fff; }
.dc-card-chev .ic { width: 15px; height: 15px; transition: transform .22s ease; }
.dc-driver.is-open .dc-card-chev .ic { transform: rotate(180deg); }
.dc-card-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .24s ease; }
.dc-driver.is-open .dc-card-wrap { grid-template-rows: 1fr; }
.dc-card-inner { min-height: 0; overflow: hidden; }
.dc-card-more { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: start; gap: 8px 10px; margin: 0 12px 12px 60px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); font-size: 11px; line-height: 1.45; }
.dc-card-more dt { color: var(--dc-mut); font: 700 8.5px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dc-card-more dd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; min-width: 0; color: #f0f0ec; overflow-wrap: anywhere; }
.dc-card-more dd small { display: block; width: 100%; color: var(--dc-mut); font-size: 10px; }
.dc-card-more dd > span:only-child { min-width: 0; }
.dc-card-score { display: inline-flex; align-items: center; gap: 8px; margin: -4px 0; }
.dc-card-score .dc-dial-xs { width: 24px; height: 24px; }
.dc-card-more .pro-presence { display: inline-block; padding: 1px 7px; border-radius: 9px; font-size: 9.5px; font-weight: 700; background: #2a2a2e; color: #e8e8e4; }
.dc-card-more .pro-presence.is-active { background: var(--dc-y); color: var(--dc-ink); }
.dc-avatar { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #242427; color: #f0f0ec; font-size: 11.5px; font-weight: 750; }
.dc-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dc-avatar.has-photo > span { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .dc-driver, .dc-card-wrap, .dc-card-chev .ic { transition: none; } }
.dc-driver[aria-current="true"] { border-color: var(--dc-y); box-shadow: inset 3px 0 0 var(--dc-y); }
.dc-driver.is-sample { border-style: dashed; }
.dc-avatar::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border: 2px solid #111; border-radius: 50%; background: #56565a; }
/* Unread messages: a small speech bubble on the avatar's top-left, tail toward the avatar; 2 px ring in the card colour. */
.dc-msgbadge { position: absolute; z-index: 2; top: -7px; left: -8px; display: grid; place-items: center; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--dc-y); color: #050506; box-shadow: 0 0 0 2px #050506; cursor: pointer; }
.dc-msgbadge::after { content: ""; position: absolute; right: 2px; bottom: -3px; width: 7px; height: 7px; background: inherit; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.dc-msgbadge b { position: relative; z-index: 1; font-size: 10px; font-weight: 850; line-height: 1; font-style: normal; }
.dc-msgbadge.is-wide { padding: 0 6px; }
.dc-msgbadge.is-urgent { background: var(--red-badge, #e02400); color: #ffffff; }
.dc-msgbadge:hover { filter: brightness(1.08); }
.dc-avatar.s-en_route::after { background: var(--dc-y); }
.dc-avatar.s-idle::after { background: #22c55e; }
.dc-avatar.s-stale::after { background: #ff2800; }
.dc-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid var(--dc-line); border-radius: 999px; color: #cfcfcb; font: 700 8.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.dc-chip.s-en_route, .dc-driver .dc-chip.s-en_route { border-color: var(--dc-y); background: var(--dc-y); color: var(--dc-ink); }
.dc-chip.s-idle, .dc-driver .dc-chip.s-idle { border-color: #22c55e; background: transparent; color: #4ade80; }
.dc-chip.s-offline, .dc-driver .dc-chip.s-offline { border-color: #ffffff; background: transparent; color: #ffffff; }
.dc-chip.s-stale, .dc-driver .dc-chip.s-stale { border-color: #ff2800; background: rgba(255,40,0,.16); color: #ff6a4d; }
/* Sample drivers: dashed outline, never a filled chip, so yellow text is never on a yellow background. */
.dc-chip.is-sample, .dc-driver .dc-chip.is-sample, .dc-chip.s-en_route.is-sample { border-style: dashed; border-color: var(--dc-y); background: transparent; color: var(--dc-y); }
.dc-score { display: inline-grid; place-items: center; min-width: 26px; height: 20px; padding: 0 5px; border-radius: 6px; background: #232326; color: #eee; font-size: 10px; font-weight: 750; font-variant-numeric: tabular-nums; }
.dc-score.g-good { background: #1f2a1f; color: #9be3a9; }
.dc-score.g-fair { background: #2c2a18; color: #f3e27a; }
.dc-score.g-poor { background: #2e1c1c; color: #ff9c9c; }
.dc-unread { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--dc-y); color: var(--dc-ink); font-size: 9.5px; font-weight: 800; font-style: normal; }
.dc-progress { display: block; height: 4px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.1); }
.dc-progress span { display: block; height: 100%; border-radius: 3px; background: var(--dc-y); }
.dc-progress .w0{width:0}.dc-progress .w1{width:10%}.dc-progress .w2{width:20%}.dc-progress .w3{width:30%}.dc-progress .w4{width:40%}.dc-progress .w5{width:50%}.dc-progress .w6{width:60%}.dc-progress .w7{width:70%}.dc-progress .w8{width:80%}.dc-progress .w9{width:90%}.dc-progress .w10{width:100%}
.dc-list-note { margin: 0; padding: 9px 12px 11px; border-top: 1px solid var(--dc-line); color: #8d8d89; font-size: 9.5px; line-height: 1.45; }

.dc-tools { top: 88px; right: 14px; display: flex; gap: 2px; padding: 5px; }
.dc-pane-open .dc-tools { right: calc(var(--dc-pane-w, 420px) + 26px); }
.dc-tool { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 9px; border: 0; border-radius: 8px; background: transparent; color: #d8d8d4; font: 600 10.5px/1 var(--font); cursor: pointer; }
.dc-tool .ic { width: 15px; height: 15px; }
.dc-tool:hover, .dc-tool:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.dc-tool[aria-pressed="true"] { background: var(--dc-y); color: var(--dc-ink); font-weight: 700; }  /* selected layer = solid yellow pill, like Hide samples */
.dc-demo-toggle[aria-pressed="true"] { background: var(--dc-y); color: var(--dc-ink); }

.dc-legend { right: 14px; bottom: 14px; left: calc(var(--dc-list-w, 372px) + 28px); display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; min-height: 44px; padding: 8px 13px; }
.dc-list.is-collapsed ~ .dc-legend { left: 14px; }
.dc-key { display: inline-flex; align-items: center; gap: 7px; color: #c8c8c4; font-size: 10.5px; }
.dc-dot { width: 11px; height: 11px; border: 2px solid #050506; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.dc-dot.is-route { background: var(--dc-y); }
.dc-dot.is-idle { background: #22c55e; }
.dc-dot.is-stale { background: #ff2800; }
.dc-dot.is-offline { background: #ffffff; }
.dc-line { width: 22px; height: 4px; border-radius: 2px; }
.dc-line.is-done { background: #0d1d50; box-shadow: 0 0 0 1px #2e4bb8; }
.dc-line.is-left { background: var(--dc-y); }
.dc-line.is-next { height: 0; border-top: 3px dashed #ff2800; border-radius: 0; }
.dc-live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: var(--dc-mut); font-size: 10.5px; }
.dc-live i { width: 8px; height: 8px; border-radius: 50%; background: #56565a; }
.dc-live.is-on i { background: var(--dc-y); box-shadow: 0 0 0 4px rgba(255,255,6,.12); }
.dc-live.is-err i { background: #ff7070; }
.dc-live b { font-weight: 600; }

.dc-zoom { right: 14px; bottom: 70px; display: grid; padding: 4px; }
.dc-pane-open .dc-zoom { right: calc(var(--dc-pane-w, 420px) + 26px); }
.dc-zoom button { display: grid; place-items: center; width: 34px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #f4f4f0; font: 500 19px/1 var(--font); cursor: pointer; }
.dc-zoom button:hover { background: rgba(255,255,255,.12); }

.dc-banner { position: absolute; z-index: 5; top: 138px; left: 50%; display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: min(460px, calc(100% - 40px)); padding: 8px 14px; transform: translateX(-50%); border: 1px dashed var(--dc-y); border-radius: 11px; background: rgba(20,20,6,.92); color: var(--dc-y); text-align: center; }
.dc-banner b { font-size: 11.5px; letter-spacing: .02em; }
.dc-banner span { color: #e8e6b8; font-size: 10.5px; }
.dc-alert { position: absolute; z-index: 6; top: 50%; left: 50%; width: min(430px, calc(100% - 36px)); padding: 16px; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(14,14,16,.95); }
.dc-alert b { display: block; font-size: 13px; }
.dc-alert p { margin: 6px 0 0; color: #b8b8b4; font-size: 11.5px; line-height: 1.5; }
.dc-alert .dc-btn { margin-top: 12px; }

.dc-pane { position: absolute; z-index: 8; top: 88px; right: 14px; bottom: 14px; display: flex; flex-direction: column; width: min(412px, calc(100% - 28px)); overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(15,15,17,.97); box-shadow: 0 18px 56px rgba(0,0,0,.46); animation: dc-slide .22s ease-out; }
@keyframes dc-slide { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.dc-pane-head { display: flex; align-items: center; gap: 12px; padding: 15px 15px 12px; border-bottom: 1px solid var(--dc-line); }
.dc-pane-head .dc-avatar { width: 42px; height: 42px; font-size: 13px; }
.dc-pane-head div { flex: 1 1 auto; min-width: 0; }
.dc-kicker { color: #92928e; font: 700 9px/1 var(--mono); letter-spacing: .12em; }
.dc-pane-head h2 { margin: 5px 0 2px; overflow: hidden; font-size: 17px; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.dc-pane-head p { margin: 0; color: #b6b6b2; font-size: 11px; }
.dc-close { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; background: #202023; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.dc-close:hover { background: #353538; }
.dc-sample-banner { margin: 10px 14px 0; padding: 8px 10px; border: 1px dashed var(--dc-y); border-radius: 9px; background: rgba(255,255,6,.07); color: var(--dc-y); font-size: 10.5px; line-height: 1.45; }
.dc-pane-tabs { display: flex; gap: 2px; padding: 8px 10px 0; overflow-x: auto; border-bottom: 1px solid var(--dc-line); scrollbar-width: none; }
.dc-pane-tabs button { position: relative; display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 8px 9px 10px; border: 0; background: transparent; color: #a9a9a5; font: 650 11px/1 var(--font); cursor: pointer; }
.dc-pane-tabs button:hover { color: #fff; }
.dc-pane-tabs button.is-active { color: var(--dc-y); }
.dc-pane-tabs button.is-active::after { content: ""; position: absolute; right: 6px; bottom: -1px; left: 6px; height: 2px; border-radius: 2px; background: var(--dc-y); }
.dc-pane-tabs i { display: inline-grid; place-items: center; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px; background: var(--dc-y); color: var(--dc-ink); font-size: 9px; font-style: normal; font-weight: 800; }
.dc-pane-body { flex: 1 1 auto; overflow-y: auto; padding: 12px 14px 16px; scrollbar-color: #414143 transparent; }
.dc-feedback { margin: 0; padding: 0 14px; color: var(--dc-y); font-size: 11px; }
.dc-feedback:not(:empty) { padding: 9px 14px; border-top: 1px solid var(--dc-line); }
.dc-feedback.is-error { color: #ff9090; }

.dc-card { margin: 0 0 10px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.035); }
.dc-card h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 9px; font-size: 11px; font-weight: 750; letter-spacing: .015em; }
.dc-card h3 small { color: var(--dc-mut); font-weight: 500; }
.dc-grid { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; margin: 0; font-size: 11px; }
.dc-grid dt { color: #999995; }
.dc-grid dd { margin: 0; color: #e8e8e4; text-align: right; }
.dc-muted { margin: 0; color: #a5a5a1; font-size: 10.5px; line-height: 1.5; }
.dc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dc-stat { padding: 9px; border-radius: 10px; background: rgba(255,255,255,.05); }
.dc-stat span { display: block; color: var(--dc-mut); font: 700 8.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dc-stat b { display: block; margin-top: 5px; font-size: 16px; font-variant-numeric: tabular-nums; }
.dc-stat.is-hot b { color: var(--dc-y); }
.dc-bar { display: block; height: 6px; margin-top: 8px; overflow: hidden; border-radius: 4px; background: rgba(255,255,255,.1); }
.dc-bar span { display: block; height: 100%; background: var(--dc-y); }
.dc-bar .w0{width:0}.dc-bar .w1{width:10%}.dc-bar .w2{width:20%}.dc-bar .w3{width:30%}.dc-bar .w4{width:40%}.dc-bar .w5{width:50%}.dc-bar .w6{width:60%}.dc-bar .w7{width:70%}.dc-bar .w8{width:80%}.dc-bar .w9{width:90%}.dc-bar .w10{width:100%}

.dc-stops { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.dc-stop { position: relative; display: grid; grid-template-columns: 26px minmax(0,1fr) auto; align-items: start; gap: 9px; padding: 0 0 12px; font-size: 11.5px; }
.dc-stop::before { content: ""; position: absolute; top: 24px; bottom: 0; left: 12px; width: 2px; background: rgba(255,255,255,.12); }
.dc-stop:last-child::before { display: none; }
.dc-stop.st-completed::before, .dc-stop.st-skipped::before { background: #6f6f73; }
.dc-stop-n { z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid rgba(255,255,255,.3); border-radius: 50%; background: #111; font-size: 10px; font-weight: 800; }
.st-completed .dc-stop-n { border-color: #7a7a7e; background: #7a7a7e; color: #111; }
.st-skipped .dc-stop-n { border-color: #7a7a7e; border-style: dashed; color: #9a9a9e; }
.st-arrived .dc-stop-n, .st-next .dc-stop-n { border-color: var(--dc-y); background: var(--dc-y); color: var(--dc-ink); }
.st-remaining .dc-stop-n { border-color: var(--dc-y); color: var(--dc-y); }
.dc-stop-text { display: grid; gap: 2px; min-width: 0; padding-top: 3px; }
.dc-stop-text b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.st-skipped .dc-stop-text b { color: #8a8a8e; text-decoration: line-through; }
.st-completed .dc-stop-text b { color: #b3b3b0; }
.dc-stop-text small { color: var(--dc-mut); font-size: 10px; text-transform: capitalize; }
.dc-stop .dc-chip { margin-top: 3px; }
.dc-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.dc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 1px solid var(--dc-ink); border-radius: 8px; background: var(--dc-y); color: var(--dc-ink); font: 750 11px/1 var(--font); text-decoration: none; cursor: pointer; }
.dc-btn .ic { width: 14px; height: 14px; }
.dc-btn:hover { filter: brightness(.94); }
.dc-btn.ghost { border-color: rgba(255,255,255,.2); background: transparent; color: #eee; }
.dc-btn.ghost:hover { border-color: rgba(255,255,255,.4); filter: none; }
.dc-btn.danger { border-color: rgba(255,120,120,.5); background: transparent; color: #ff9c9c; }
.dc-btn:disabled { border-color: rgba(255,255,255,.13); background: #2a2a2c; color: #888; cursor: not-allowed; filter: none; }
.dc-form { display: grid; gap: 8px; margin-top: 10px; }
.dc-form label { display: grid; gap: 4px; color: #a8a8a3; font-size: 10px; }
.dc-form select, .dc-compose textarea { width: 100%; border: 1px solid rgba(255,255,255,.17); border-radius: 8px; background: #0c0c0e; color: #eee; padding: 8px; font: 11px/1.4 var(--font); }
.dc-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.dc-timeline li { position: relative; display: grid; grid-template-columns: 14px minmax(0,1fr); gap: 3px 10px; padding: 0 0 11px; font-size: 11px; }
.dc-timeline li::before { content: ""; grid-row: 1 / span 2; width: 9px; height: 9px; margin-top: 3px; border: 2px solid var(--dc-y); border-radius: 50%; }
.dc-timeline li::after { content: ""; position: absolute; top: 15px; bottom: 0; left: 5.5px; width: 2px; background: rgba(255,255,255,.1); }
.dc-timeline li:last-child::after { display: none; }
.dc-timeline li.k-message::before { border-color: #fff; }
.dc-timeline li.k-declined::before, .dc-timeline li.k-cancelled::before { border-color: #ff8a8a; }
.dc-timeline li.k-dispatch::before { background: var(--dc-y); }
.dc-timeline b { font-weight: 650; }
.dc-timeline small { grid-column: 2; color: var(--dc-mut); font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }

.dc-thread { display: grid; gap: 7px; margin: 0 0 10px; padding: 0; list-style: none; }
.dc-msg { max-width: 86%; padding: 8px 10px; border-radius: 12px 12px 12px 4px; background: #232326; font-size: 11.5px; line-height: 1.45; overflow-wrap: anywhere; }
.dc-msg.is-me { justify-self: end; border-radius: 12px 12px 4px 12px; background: var(--dc-y); color: var(--dc-ink); }
.dc-msg.is-urgent { box-shadow: 0 0 0 2px #ff6b6b; }
.dc-msg.is-system { justify-self: center; max-width: 100%; border-radius: 8px; background: transparent; border: 1px dashed rgba(255,255,255,.2); color: #c8c8c4; font-size: 10.5px; }
.dc-msg small { display: block; margin-top: 3px; opacity: .7; font-size: 9.5px; }
.dc-msg audio { display: block; width: 220px; max-width: 100%; height: 34px; }
.dc-compose { display: grid; gap: 7px; }
.dc-compose-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.dc-urgent { display: inline-flex; align-items: center; gap: 5px; color: #ff9c9c; font-size: 10.5px; }
.dc-urgent input { accent-color: #ff6b6b; }
.dc-quick { display: flex; flex: 1 1 auto; gap: 4px; flex-wrap: wrap; }
.dc-quick button { padding: 5px 8px; border: 1px solid var(--dc-line); border-radius: 999px; background: transparent; color: #cfcfcb; font: 600 9.5px/1 var(--font); cursor: pointer; }
.dc-quick button:hover { border-color: var(--dc-y); color: var(--dc-y); }
.dc-compose .dc-btn { margin-left: auto; }
.dc-more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--dc-y); font-size: 11px; font-weight: 650; text-decoration: none; }
.dc-more-link .ic { width: 13px; height: 13px; }
.dc-lock { position: relative; display: grid; min-height: 110px; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: repeating-linear-gradient(135deg,#232326,#232326 12px,#1c1c1e 12px,#1c1c1e 24px); }
.dc-lock::before { content: ""; position: absolute; inset: 0; background: rgba(7,7,8,.5); }
.dc-lock .ic { z-index: 1; width: 26px; height: 26px; color: var(--dc-y); }
.dc-spark { display: block; width: 100%; height: 60px; margin-top: 8px; }
.dc-spark polyline { fill: none; stroke: var(--dc-y); stroke-width: 2; }
.dc-spark line { stroke: rgba(255,255,255,.12); }
.dc-trip { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 10.5px; }
.dc-trip:first-of-type { border-top: 0; }
.dc-trip span { color: var(--dc-mut); }
.dc-pin { display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid #050506; border-radius: 50%; background: var(--dc-y); color: var(--dc-ink); font: 800 10px/1 var(--font); box-shadow: 0 2px 8px rgba(0,0,0,.4); cursor: pointer; }
.dc-pin.st-completed, .dc-pin.st-skipped { background: #7a7a7e; color: #111; }
.dc-pin.st-skipped { border-style: dashed; }
.dc-pin.st-remaining { background: #111; color: var(--dc-y); border-color: var(--dc-y); }

@media (max-width: 1180px) {
  .dc-links span { display: none; }
  .dc-tools span { display: none; }
}
@media (max-width: 899px) {
  .dispatch-console-shell .main, .dispatch-console-shell .shell { height: calc(100dvh - 72px - env(safe-area-inset-bottom)); }
  /* cloud.css pads .l-app .shell by the bottom rail's height on phones; this shell's height already excludes the rail, so the padding would leave a strip of the light page showing above the rail. */
  .dispatch-console-shell .shell { padding-bottom: 0; }
  .dc-top { top: 8px; right: 8px; left: 8px; flex-wrap: wrap; gap: 8px; }
  .dc-brand span:not(.dc-mark) { display: none; }
  .dc-kpis { order: 3; flex-basis: 100%; }
  .dc-kpis li { min-width: 74px; }
  .dc-links { margin-left: auto; }
  .dc-list { top: auto; right: 8px; bottom: 60px; left: 8px; width: auto; max-height: 42%; }
  .dc-list.is-collapsed { width: auto; }
  .dc-tools { top: 150px; right: 8px; left: 8px; justify-content: center; flex-wrap: wrap; }
  .dc-pane-open .dc-tools { right: 8px; }
  .dc-legend { right: 8px; bottom: 8px; left: 8px; gap: 4px 10px; min-height: 0; }
  .dc-list.is-collapsed ~ .dc-legend { left: 8px; }
  .dc-legend .dc-key:nth-child(n+4) { display: none; }
  .dc-zoom { display: none; }
  .dc-pane { top: 8px; right: 8px; bottom: 8px; width: calc(100% - 16px); }
  .dc-banner { top: 200px; }
}
@media (prefers-reduced-motion: reduce) { .dc-pane { animation: none; } .dc-icon-btn .ic { transition: none; } }

/* alerts */
.dc-alerts-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 36px; padding: 0 11px; border: 1px solid var(--dc-line); border-radius: 9px; background: #151517; color: #eee; font: 650 11px/1 var(--font); cursor: pointer; }
.dc-alerts-btn .ic { width: 15px; height: 15px; color: var(--dc-y); }
.dc-alerts-btn i { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--dc-y); color: var(--dc-ink); font-size: 10px; font-style: normal; font-weight: 800; }
.dc-alerts-btn.is-critical { border-color: #ff5a5a; }
.dc-alerts-btn.is-critical i { background: #ff4d4d; color: #fff; }
.dc-alerts-btn[aria-expanded="true"] { border-color: var(--dc-y); }
.dc-alerts { z-index: 7; top: 88px; bottom: 70px; left: calc(var(--dc-list-w, 372px) + 28px); display: flex; flex-direction: column; width: 340px; overflow: hidden; }
.dc-list.is-collapsed ~ .dc-alerts { left: 214px; }
.dc-alerts .dc-close { width: 28px; height: 28px; font-size: 18px; }
.dc-alerts-list { flex: 1 1 auto; margin: 0; padding: 8px; overflow-y: auto; list-style: none; }
.dc-alert-item { display: grid; gap: 5px; margin: 0 0 6px; padding: 10px; border: 1px solid rgba(255,255,255,.09); border-left: 3px solid #fff; border-radius: 10px; background: rgba(255,255,255,.035); font-size: 11px; line-height: 1.45; }
.dc-alert-item > span { color: #c4c4c0; overflow-wrap: anywhere; }
.dc-alert-item.sev-warning { border-left-color: var(--dc-y); }
.dc-alert-item.sev-critical { border-color: #ff5a5a; border-left-color: #ff4d4d; background: rgba(255,60,60,.12); }
.dc-alert-item.sev-critical b { color: #ff8a8a; }
.dc-alert-item.is-acked { opacity: .55; }
.dc-alert-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.dc-alert-head small { color: var(--dc-mut); font-size: 9.5px; white-space: nowrap; }
.dc-alert-actions { display: flex; align-items: center; gap: 6px; }
.dc-alert-actions .dc-btn { min-height: 28px; padding: 0 9px; font-size: 10px; }
.dc-alert-sep { margin: 10px 2px 6px; color: var(--dc-mut); font: 700 9px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-factor { display: grid; gap: 3px; margin-bottom: 9px; font-size: 11px; }
.dc-factor .dc-bar { margin-top: 2px; }
.dc-stop.st-missed .dc-stop-n { border-color: #ff8585; border-style: dashed; color: #ff8585; }
.dc-stop.st-missed .dc-stop-text b { color: #8a8a8e; text-decoration: line-through; }
@media (max-width: 899px) { .dc-alerts { top: 150px; right: 8px; bottom: 60px; left: 8px; width: auto; } .dc-alerts-btn span { display: none; } }

/* Alerts pill when an alert comes in: Ferrari red with a glow, bold label, blinking warning icon. */
.dc-alerts-btn.has-alerts { border-color: var(--red-badge, #e02400); background: var(--red-badge, #e02400); color: #fff; font-weight: 700; animation: dc-alert-glow 1.6s ease-in-out infinite; }
.dc-alerts-btn.has-alerts span { font-weight: 800; }
.dc-alerts-btn.has-alerts .ic { color: #fff; animation: dc-alert-blink 1s steps(2, jump-none) infinite; }
.dc-alerts-btn.has-alerts #dc-alerts-count { background: #fff; color: var(--red-badge, #e02400); }
.dc-alerts-btn.has-alerts:hover, .dc-alerts-btn.has-alerts:focus-visible { background: #c71f00; }
@keyframes dc-alert-glow {
  0%, 100% { box-shadow: 0 0 6px 1px rgba(255, 40, 0, .55), 0 0 0 0 rgba(255, 40, 0, .35); }
  50% { box-shadow: 0 0 18px 5px rgba(255, 40, 0, .85), 0 0 34px 10px rgba(255, 40, 0, .28); }
}
@keyframes dc-alert-blink { 0% { opacity: 1; } 100% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) {
  .dc-alerts-btn.has-alerts { animation: none; box-shadow: 0 0 14px 4px rgba(255, 40, 0, .7); }
  .dc-alerts-btn.has-alerts .ic { animation: none; }
}

/* Footage tab: clip cards, inline player, map-synced scrubbing (docs "Clip GPS track"). */
.dc-clips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dc-clip { display: grid; gap: 6px; width: 100%; padding: 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.03); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dc-clip:hover, .dc-clip:focus-visible { border-color: rgba(255,255,6,.6); }
.dc-clip.is-active { border-color: var(--dc-y); box-shadow: inset 0 0 0 1px var(--dc-y); }
.dc-clip.is-sample { border-style: dashed; }
.dc-clip:disabled { cursor: default; opacity: .5; }
.dc-clip-thumb { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; background: #050506; color: #6f6f73; }
.dc-clip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dc-clip-thumb .ic { width: 22px; height: 22px; }
.dc-clip-thumb.is-empty { color: #ffff06; box-shadow: inset 0 0 0 1px rgba(255,255,6,.28); }
.dc-clip-thumb.is-empty .ic { opacity: .75; }
.dc-clip-phone .ic { width: 11px; height: 11px; margin-right: 3px; vertical-align: -1px; }
.dc-clip-dur { position: absolute; right: 5px; bottom: 5px; padding: 2px 5px; border-radius: 5px; background: rgba(0,0,0,.75); color: #fff; font: 700 9px/1 var(--mono); font-style: normal; }
.dc-clip-meta { display: grid; gap: 3px; min-width: 0; }
.dc-clip-meta b { font-size: 10.5px; }
.dc-clip-meta small { overflow: hidden; color: var(--dc-mut); font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.dc-chip.dc-synced { justify-self: start; border-color: var(--dc-y); color: var(--dc-y); }
.dc-player { overflow: hidden; border-radius: 9px; background: #000; }
.dc-player video { display: block; width: 100%; max-height: 240px; background: #000; }
.dc-player-empty { display: grid; place-items: center; gap: 4px; aspect-ratio: 16 / 9; padding: 12px; border: 1px dashed rgba(255,255,6,.55); border-radius: 9px; background: repeating-linear-gradient(135deg, #0b0b0d 0 10px, #111114 10px 20px); color: var(--dc-y); text-align: center; }
.dc-player-empty .ic { width: 26px; height: 26px; }
.dc-player-empty small { color: #b9b9b5; font-size: 10px; }
.dc-scrub-row { display: flex; align-items: center; gap: 8px; margin-top: 9px; }
.dc-scrub-row .dc-btn { min-height: 28px; padding: 0 10px; }
.dc-scrub { flex: 1 1 auto; min-width: 0; accent-color: var(--dc-y); cursor: pointer; }
.dc-readout { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 8px 0; font-variant-numeric: tabular-nums; }
.dc-readout b { color: var(--dc-y); font-size: 15px; }
.dc-readout span { color: #d8d8d4; font: 700 11px/1 var(--mono); }
.dc-clip-dot { width: 26px; height: 26px; border: 4px solid #050506; border-radius: 50%; background: var(--dc-y); box-shadow: 0 0 0 3px rgba(255,255,6,.35), 0 4px 14px rgba(0,0,0,.55); cursor: grab; touch-action: none; }
.dc-clip-dot.is-dragging { cursor: grabbing; box-shadow: 0 0 0 7px rgba(255,255,6,.3), 0 4px 14px rgba(0,0,0,.55); }
.dc-clip-dot.is-hidden { display: none; }
.dc-line.is-clip { background: linear-gradient(90deg, #3b63e6 0 45%, #e8e8e4 45% 100%); }

/* Journey event markers (docs "Journey event markers"). */
.dc-ev { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 2px solid #050506; border-radius: 50%; background: #f4f4f0; font: 700 15px/1 var(--font); cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,.45); }
.dc-ev.ev-red { background: #ff4d4d; }
.dc-ev.ev-amber { background: #ffb020; color: #050506; }
.dc-ev.ev-police { background: #dfe7ff; }
.dc-ev.ev-pin { background: #ffffff; }
.dc-ev.ev-sos { width: 34px; height: 34px; color: #fff; font-size: 10px; letter-spacing: .02em; animation: dc-ev-pulse 1.4s ease-out infinite; }
.dc-ev.is-clip { border-color: var(--dc-y); }
@keyframes dc-ev-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,77,77,.7); } 100% { box-shadow: 0 0 0 16px rgba(255,77,77,0); } }
.dc-ev-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.dc-ev-actions .dc-btn { min-height: 26px; padding: 0 8px; font-size: 10px; }
.dc-ev-card span { overflow-wrap: anywhere; }

/* Alerts: acknowledging fades the row out; the row body selects the driver. */
.dc-alert-item { cursor: pointer; transition: opacity .2s ease, transform .2s ease; }
.dc-alert-item:focus-visible { outline: 2px solid var(--dc-y); outline-offset: 1px; }
.dc-alert-item.is-leaving { opacity: 0; transform: translateX(10px); }
.dc-alert-item.is-sample { border-style: dashed; }
.dc-ackall { min-height: 28px; margin-left: auto; padding: 0 9px; font-size: 10px; }
@media (prefers-reduced-motion: reduce) { .dc-ev.ev-sos { animation: none; } .dc-alert-item { transition: none; } }
.dc-timeline li > .dc-ev-actions, .dc-timeline li > small.dc-muted { grid-column: 2; }

/* Message status + phone reachability (pro-receipts.js) */
.dc-msg .pro-rcpt { opacity: .8; font-size: 9.5px; }
.dc-msg.is-me .pro-rcpt.is-read .pro-rcpt-ticks { color: var(--dc-ink); text-shadow: 0 0 1px var(--dc-ink); }
.pro-rcpt.is-read .pro-rcpt-ticks { color: var(--dc-y); }
#dc-pane-reach, #dc-thread-reach { display: inline-block; margin-top: 2px; padding: 1px 7px; border-radius: 9px; font-size: 9.5px; font-weight: 700; background: #2a2a2e; color: #e8e8e4; }
#dc-pane-reach.is-active, #dc-thread-reach.is-active { background: var(--dc-y); color: var(--dc-ink); }
.dc-card-more .pro-presence.is-offline, .dc-card-more .pro-presence.is-notifications_off,
#dc-pane-reach.is-offline, #dc-pane-reach.is-notifications_off, #dc-thread-reach.is-offline, #dc-thread-reach.is-notifications_off { background: transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
#dc-thread-reach { margin: 0 0 8px; }

/* Alerts triage inbox (module alerts_triage): one row of compact filters, a quiet bar that turns into bulk actions
   once alerts are picked, and cards with the title left, time right and small actions underneath. */
.dc-triage { display: grid; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.dc-triage-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dc-triage-sel { width: 100%; min-width: 0; height: 30px; padding: 0 22px 0 9px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; background: #111114; color: #e8e8e4; font: 600 10.5px/1 var(--font); text-overflow: ellipsis; cursor: pointer; }
.dc-triage .dc-triage-sel { min-height: 0; appearance: none; -webkit-appearance: none; background-color: #111114; background-image: linear-gradient(45deg, transparent 50%, #ffff06 50%), linear-gradient(135deg, #ffff06 50%, transparent 50%); background-position: calc(100% - 13px) 50%, calc(100% - 9px) 50%; background-size: 4px 4px; background-repeat: no-repeat; }
.dc-triage-sel:focus-visible { outline: 2px solid var(--dc-y); outline-offset: 1px; }
.dc-triage-bar { display: flex; align-items: center; gap: 6px; min-height: 28px; }
.dc-triage-bar .dc-link { margin-left: auto; }
.dc-triage-bar.has-sel { padding: 4px 4px 4px 10px; border-radius: 9px; background: rgba(255, 255, 6, .1); }
.dc-triage-count { margin-right: 4px; color: var(--dc-y); font-size: 10.5px; }
.dc-chip-toggle { height: 26px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: transparent; color: #cfcfca; font: 650 10px/1 var(--font); cursor: pointer; }
.dc-chip-toggle[aria-pressed="true"] { border-color: var(--dc-y); background: var(--dc-y); color: var(--dc-ink); font-weight: 700; }
.dc-link { padding: 0 4px; border: 0; background: none; color: #cfcfca; font: 600 10px/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.dc-link:hover { color: #fff; }
.dc-btn.small { min-height: 26px; padding: 0 10px; font-size: 10px; }
.dc-triage-pick { flex: none; width: 14px; height: 14px; margin: 1px 0 0; accent-color: #ffff06; }
.dc-alerts .dc-alert-item { gap: 8px; padding: 10px 11px; }
.dc-alerts .dc-alert-head { align-items: flex-start; justify-content: flex-start; gap: 9px; }
.dc-alert-text { display: grid; flex: 1; gap: 3px; min-width: 0; text-align: left; }
.dc-alert-text b { display: flex; align-items: center; gap: 6px; font-size: 11.5px; }
.dc-alert-text span { color: #b9b9b4; font-size: 10.5px; overflow-wrap: anywhere; }
.dc-alerts .dc-alert-head small { margin-left: auto; padding-top: 1px; }
.dc-sample-tag { padding: 2px 5px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 5px; color: #bdbdb8; font: 700 8px/1 var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.dc-alerts .dc-alert-actions { padding-left: 23px; }
.dc-alerts .dc-alert-item.sev-critical .dc-alert-text b { color: #ff8a8a; }
.dc-alert-item.is-focus { outline: 2px solid #ffff06; outline-offset: -2px; }
.dc-pod { margin-left: 6px; text-decoration: none; background: #ffff06; color: #050506; }

/* Demo mode (top bar, left of Alerts): an outlined pill, solid yellow while the demo fleet is showing. */
.dc-demo-btn { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 36px; padding: 0 12px; border: 1px solid var(--dc-line); border-radius: 9px; background: #151517; color: #eee; font: 650 11px/1 var(--font); cursor: pointer; }
.dc-demo-btn .ic { width: 15px; height: 15px; color: var(--dc-y); }
.dc-demo-btn:hover { border-color: var(--dc-y); }
.dc-demo-btn[aria-pressed="true"] { border-color: var(--dc-y); background: var(--dc-y); color: var(--dc-ink); font-weight: 800; }
.dc-demo-btn[aria-pressed="true"] .ic { color: var(--dc-ink); }
.dc-demo-btn:focus-visible { outline: 2px solid var(--dc-y); outline-offset: 2px; }
@media (max-width: 899px) { .dc-demo-btn span { display: none; } }

/* Driver cards: vehicle / driver ID and the route ETA. */

/* Phone HUD in the driver pane: black glass, monospace numbers, like the driver's own screen. */
.dc-phud { display: grid; gap: 10px; margin: 0 0 12px; padding: 12px 13px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #050506; font-family: var(--mono); }
.dc-phud-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10.5px; color: #e8e8e4; }
.dc-phud-net, .dc-phud-batt { display: inline-flex; align-items: center; gap: 5px; }
.dc-phud-net .ic { width: 13px; height: 13px; color: var(--dc-y); }
.dc-phud-net b.is-off { color: #ff2800; }
.dc-phud-carrier { flex: 1; overflow: hidden; color: #a8a8a4; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.dc-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.dc-bars i { width: 3px; background: #3a3a3e; border-radius: 1px; }
.dc-bars i:nth-child(1) { height: 30%; } .dc-bars i:nth-child(2) { height: 55%; } .dc-bars i:nth-child(3) { height: 78%; } .dc-bars i:nth-child(4) { height: 100%; }
.dc-bars i.on { background: var(--dc-y); }
.dc-batt { position: relative; display: inline-block; width: 22px; height: 11px; border: 1.5px solid #e8e8e4; border-radius: 3px; }
.dc-batt::after { content: ""; position: absolute; top: 2px; right: -4px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: #e8e8e4; }
.dc-batt i { position: absolute; top: 1px; bottom: 1px; left: 1px; border-radius: 1px; background: var(--dc-y); }
.dc-batt i.p0 { width: calc(0% - 2px); }
.dc-batt i.p1 { width: calc(10% - 2px); }
.dc-batt i.p2 { width: calc(20% - 2px); }
.dc-batt i.p3 { width: calc(30% - 2px); }
.dc-batt i.p4 { width: calc(40% - 2px); }
.dc-batt i.p5 { width: calc(50% - 2px); }
.dc-batt i.p6 { width: calc(60% - 2px); }
.dc-batt i.p7 { width: calc(70% - 2px); }
.dc-batt i.p8 { width: calc(80% - 2px); }
.dc-batt i.p9 { width: calc(90% - 2px); }
.dc-batt i.p10 { width: calc(100% - 2px); }
.dc-phud-batt.is-low .dc-batt { border-color: #ff2800; } .dc-phud-batt.is-low .dc-batt i { background: #ff2800; } .dc-phud-batt.is-low b { color: #ff2800; }
.dc-phud-mid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.dc-phud-speed { display: flex; align-items: baseline; gap: 5px; }
.dc-phud-speed b { color: var(--dc-y); font-size: 34px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.dc-phud-speed small { color: #a8a8a4; font-size: 10px; }
.dc-phud-dir { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 12px; }
.dc-phud-arrow { width: 0; height: 0; border-right: 6px solid transparent; border-bottom: 13px solid var(--dc-y); border-left: 6px solid transparent; transform-origin: 50% 60%; }
.dc-phud-arrow.rx { border-bottom-color: #3a3a3e; }
.dc-phud-arrow.r0 { transform: rotate(0deg); }
.dc-phud-arrow.r1 { transform: rotate(15deg); }
.dc-phud-arrow.r2 { transform: rotate(30deg); }
.dc-phud-arrow.r3 { transform: rotate(45deg); }
.dc-phud-arrow.r4 { transform: rotate(60deg); }
.dc-phud-arrow.r5 { transform: rotate(75deg); }
.dc-phud-arrow.r6 { transform: rotate(90deg); }
.dc-phud-arrow.r7 { transform: rotate(105deg); }
.dc-phud-arrow.r8 { transform: rotate(120deg); }
.dc-phud-arrow.r9 { transform: rotate(135deg); }
.dc-phud-arrow.r10 { transform: rotate(150deg); }
.dc-phud-arrow.r11 { transform: rotate(165deg); }
.dc-phud-arrow.r12 { transform: rotate(180deg); }
.dc-phud-arrow.r13 { transform: rotate(195deg); }
.dc-phud-arrow.r14 { transform: rotate(210deg); }
.dc-phud-arrow.r15 { transform: rotate(225deg); }
.dc-phud-arrow.r16 { transform: rotate(240deg); }
.dc-phud-arrow.r17 { transform: rotate(255deg); }
.dc-phud-arrow.r18 { transform: rotate(270deg); }
.dc-phud-arrow.r19 { transform: rotate(285deg); }
.dc-phud-arrow.r20 { transform: rotate(300deg); }
.dc-phud-arrow.r21 { transform: rotate(315deg); }
.dc-phud-arrow.r22 { transform: rotate(330deg); }
.dc-phud-arrow.r23 { transform: rotate(345deg); }
.dc-phud-rec { padding: 4px 8px; border: 1px solid #3a3a3e; border-radius: 6px; color: #8d8d89; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; }
.dc-phud-rec.is-on { border-color: #ff2800; color: #fff; background: rgba(255,40,0,.18); }
.dc-phud-rec.is-on::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #ff2800; vertical-align: 0; animation: dc-rec-blink 1s steps(2, jump-none) infinite; }
@keyframes dc-rec-blink { 0% { opacity: 1; } 100% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .dc-phud-rec.is-on::before { animation: none; } }
.dc-phud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dc-phud-grid div { display: grid; gap: 3px; padding: 7px 8px; border-radius: 9px; background: #111114; }
.dc-phud-grid small { color: #8d8d89; font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; }
.dc-phud-grid b { color: #fff; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.dc-phud-dev { color: #a8a8a4; font-size: 9.5px; }

/* Advanced map views (driver coverage hexagons, density glow): tucked in one menu, off by default. */
.dc-adv { position: relative; }
.dc-adv > summary { list-style: none; cursor: pointer; }
.dc-adv > summary::-webkit-details-marker { display: none; }
.dc-adv-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 8; display: grid; gap: 6px; width: 260px; padding: 10px; border: 1px solid var(--dc-line); border-radius: 12px; background: var(--dc-panel); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.dc-adv-note { margin: 0 2px 2px; color: var(--dc-mut); font-size: 10px; line-height: 1.4; }
.dc-adv-opt { display: grid; gap: 3px; padding: 9px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: #111114; color: #f2f2ee; text-align: left; font: inherit; cursor: pointer; }
.dc-adv-opt b { font-size: 11.5px; }
.dc-adv-opt small { color: #a8a8a4; font-size: 10px; line-height: 1.4; }
.dc-adv-opt:hover { border-color: rgba(255,255,255,.25); }
.dc-adv-opt[aria-pressed="true"] { border-color: var(--dc-y); background: var(--dc-y); color: var(--dc-ink); }
.dc-adv-opt[aria-pressed="true"] small { color: #2a2a18; }
.dc-hexsw { display: inline-block; width: 12px; height: 12px; background: var(--dc-y); clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%); }

/* Driver card bottom line: stops (left) and ETA (right), yellow; spans the card under the avatar/name/status. */
.dc-progress.is-done > span { background: #3b63e6; }
.dc-line.is-trail { background: repeating-linear-gradient(135deg, #0d1d50 0 3px, #ffffff 3px 5px); box-shadow: 0 0 0 1px #050506; }
.dc-line.is-kept { height: 3px; background: #2e4bb8; box-shadow: 0 0 0 1px #050506; }
.dc-line.is-kept-dash { height: 2px; background: repeating-linear-gradient(90deg, #fff 0 5px, transparent 5px 9px); }
/* Off shift and recording (migration 152): a red "recording" edge, the label in white */
.dc-chip.s-off_shift_recording, .dc-driver .dc-chip.s-off_shift_recording { border-color: #ff2800; background: rgba(255,40,0,.16); color: #ffffff; }
.dc-avatar.s-off_shift_recording::after { background: #ffffff; box-shadow: 0 0 0 2px #ff2800; }
.dc-leg-last { display: inline-block; flex: none; width: 10px; height: 10px; border: 2.5px solid #fff; border-radius: 50%; background: radial-gradient(circle, #fff 0 2px, #050506 2.5px); }
/* Local time and date at the far right of the console header (same clock as the portal top bar). */
.dc .dc-clock { order: 0; flex: none; margin-left: 4px; box-shadow: inset 0 0 0 1px var(--dc-line); }
@media (max-width: 1280px) { .dc .dc-clock { display: none; } }
/* Route tab: Today | History switch (dark console variant of pro-route-history.css). */
.dc .rh-tabs { display: inline-flex; gap: 3px; padding: 3px; margin: 0 0 10px; border-radius: 999px; background: #1a1a1d; }
.dc .rh-tabs button { min-height: 28px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: #bcbcb8; font: 650 11px/1 var(--font); cursor: pointer; }
.dc .rh-tabs button[aria-selected="true"] { background: var(--dc-y); color: var(--dc-ink); }
.dc .rh-list { display: grid; gap: 6px; }
.dc .rh-list a.dc-stop { display: block; padding: 8px 10px; border: 1px solid var(--dc-line); border-radius: 9px; color: #e8e8e4; font-size: 11px; text-decoration: none; }
.dc .rh-list a.dc-stop:hover { border-color: var(--dc-y); }
/* Map style: three side-by-side choices; the selected one is a solid yellow pill. */
.dc-styles { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.06); }
.dc-styles button { min-height: 28px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #cfcfca; font: 650 11px/1 var(--font); cursor: pointer; }
.dc-styles button:hover { color: #fff; }
.dc-styles button[aria-pressed="true"] { background: var(--dc-y); color: var(--dc-ink); font-weight: 700; }
/* Open police / accident alert: the event marker flashes until the alert is acknowledged or dismissed. */
@keyframes dc-flash-police { 0.000%, 3.115% { background: #ff0a1e; box-shadow: 0 0 0 5px rgba(255,10,30,.5), 0 0 20px 7px rgba(255,10,30,.7); } 3.125%, 6.240% { background: #ff0a1e; box-shadow: 0 0 0 5px rgba(255,10,30,.5), 0 0 20px 7px rgba(255,10,30,.7); } 6.250%, 9.365% { background: #ff0a1e; box-shadow: 0 0 0 5px rgba(255,10,30,.5), 0 0 20px 7px rgba(255,10,30,.7); } 9.375%, 12.490% { background: #1a1a1d; box-shadow: none; } 12.500%, 15.615% { background: #1a1a1d; box-shadow: none; } 15.625%, 18.740% { background: #ff0a1e; box-shadow: 0 0 0 5px rgba(255,10,30,.5), 0 0 20px 7px rgba(255,10,30,.7); } 18.750%, 21.865% { background: #ff0a1e; box-shadow: 0 0 0 5px rgba(255,10,30,.5), 0 0 20px 7px rgba(255,10,30,.7); } 21.875%, 24.990% { background: #ff0a1e; box-shadow: 0 0 0 5px rgba(255,10,30,.5), 0 0 20px 7px rgba(255,10,30,.7); } 25.000%, 28.115% { background: #1a1a1d; box-shadow: none; } 28.125%, 31.240% { background: #1a1a1d; box-shadow: none; } 31.250%, 34.365% { background: #1a1a1d; box-shadow: none; } 34.375%, 37.490% { background: #1a1a1d; box-shadow: none; } 37.500%, 40.615% { background: #1a1a1d; box-shadow: none; } 40.625%, 43.740% { background: #1a1a1d; box-shadow: none; } 43.750%, 46.865% { background: #1a1a1d; box-shadow: none; } 46.875%, 49.990% { background: #1a1a1d; box-shadow: none; } 50.000%, 53.115% { background: #0a4bff; box-shadow: 0 0 0 5px rgba(10,75,255,.5), 0 0 20px 7px rgba(10,75,255,.7); } 53.125%, 56.240% { background: #0a4bff; box-shadow: 0 0 0 5px rgba(10,75,255,.5), 0 0 20px 7px rgba(10,75,255,.7); } 56.250%, 59.365% { background: #0a4bff; box-shadow: 0 0 0 5px rgba(10,75,255,.5), 0 0 20px 7px rgba(10,75,255,.7); } 59.375%, 62.490% { background: #1a1a1d; box-shadow: none; } 62.500%, 65.615% { background: #1a1a1d; box-shadow: none; } 65.625%, 68.740% { background: #0a4bff; box-shadow: 0 0 0 5px rgba(10,75,255,.5), 0 0 20px 7px rgba(10,75,255,.7); } 68.750%, 71.865% { background: #0a4bff; box-shadow: 0 0 0 5px rgba(10,75,255,.5), 0 0 20px 7px rgba(10,75,255,.7); } 71.875%, 74.990% { background: #0a4bff; box-shadow: 0 0 0 5px rgba(10,75,255,.5), 0 0 20px 7px rgba(10,75,255,.7); } 75.000%, 78.115% { background: #1a1a1d; box-shadow: none; } 78.125%, 81.240% { background: #1a1a1d; box-shadow: none; } 81.250%, 84.365% { background: #1a1a1d; box-shadow: none; } 84.375%, 87.490% { background: #1a1a1d; box-shadow: none; } 87.500%, 90.615% { background: #1a1a1d; box-shadow: none; } 90.625%, 93.740% { background: #1a1a1d; box-shadow: none; } 93.750%, 96.865% { background: #1a1a1d; box-shadow: none; } 96.875%, 99.990% { background: #1a1a1d; box-shadow: none; } }
@keyframes dc-flash-accident { 0%, 49% { background: #ff2800; box-shadow: 0 0 0 5px rgba(255,40,0,.45), 0 0 18px 6px rgba(255,40,0,.6); } 50%, 100% { background: #ffff06; box-shadow: 0 0 0 5px rgba(255,255,6,.5), 0 0 18px 6px rgba(255,255,6,.6); } }
.dc-ev.is-alarm-police { border-color: #fff; animation: dc-flash-police 1.6s step-end infinite; }
.dc-ev.is-alarm-accident { border-color: #050506; animation: dc-flash-accident .32s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .dc-ev.is-alarm-police { animation: none; background: #ff0a1e; box-shadow: 0 0 0 5px rgba(10,75,255,.6); }
  .dc-ev.is-alarm-accident { animation: none; background: #ff2800; box-shadow: 0 0 0 5px rgba(255,255,6,.7); }
}
.dc-focus-pin { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--dc-y); border: 3px solid #050506; box-shadow: 0 0 0 5px rgba(255,255,6,.3); }
.dc-avatar.s-offline::after { background: #ffffff; }

/* [activity-log] Activity tab timeline (pro-dispatch-console.js renderActivity; pro_activity.py). */
.dc-act-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.dc-act-filters { display: flex; flex-wrap: wrap; gap: 5px; }
.dc-act-filters .dc-chip { cursor: pointer; border: 1px solid rgba(255,255,255,.16); background: transparent; color: inherit; font: inherit; font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.dc-act-filters .dc-chip.is-active { background: var(--dc-y); border-color: var(--dc-y); color: #050506; font-weight: 700; }
.dc-act-csv { font-size: 11px; }
.dc-act-bar { display: flex; height: 12px; overflow: hidden; margin: 2px 0 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.06); }
.dc-act-seg { display: block; height: 100%; }
.dc-act-seg.p1 { width: 5%; }
.dc-act-seg.p2 { width: 10%; }
.dc-act-seg.p3 { width: 15%; }
.dc-act-seg.p4 { width: 20%; }
.dc-act-seg.p5 { width: 25%; }
.dc-act-seg.p6 { width: 30%; }
.dc-act-seg.p7 { width: 35%; }
.dc-act-seg.p8 { width: 40%; }
.dc-act-seg.p9 { width: 45%; }
.dc-act-seg.p10 { width: 50%; }
.dc-act-seg.p11 { width: 55%; }
.dc-act-seg.p12 { width: 60%; }
.dc-act-seg.p13 { width: 65%; }
.dc-act-seg.p14 { width: 70%; }
.dc-act-seg.p15 { width: 75%; }
.dc-act-seg.p16 { width: 80%; }
.dc-act-seg.p17 { width: 85%; }
.dc-act-seg.p18 { width: 90%; }
.dc-act-seg.p19 { width: 95%; }
.dc-act-seg.p20 { width: 100%; }
.dc-act-seg.s-driving, .dc-act-legend .s-driving i { background: var(--dc-y); }
.dc-act-seg.s-fuel, .dc-act-legend .s-fuel i { background: #ff8a00; }
.dc-act-seg.s-ev_charging, .dc-act-legend .s-ev_charging i { background: #34d399; }
.dc-act-seg.s-food, .dc-act-legend .s-food i { background: #fca5a5; }
.dc-act-seg.s-job_site, .dc-act-legend .s-job_site i { background: #60a5fa; }
.dc-act-seg.s-maintenance, .dc-act-legend .s-maintenance i { background: #a78bfa; }
.dc-act-seg.s-restroom, .dc-act-legend .s-restroom i { background: #94a3b8; }
.dc-act-seg.s-other, .dc-act-legend .s-other i { background: #e4e4e7; }
.dc-act-seg.s-stopped, .dc-act-legend .s-stopped i { background: #6b6b70; }
.dc-act-seg.s-off_route, .dc-act-legend .s-off_route i { background: #ff2800; }
.dc-act-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 10px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 11px; }
.dc-act-legend li { display: flex; align-items: center; gap: 6px; }
.dc-act-legend i { flex: none; width: 9px; height: 9px; border-radius: 2px; }
.dc-act-legend span { flex: 1; min-width: 0; }
.dc-act-legend b { font-weight: 650; }
.dc-act-list li.dc-act-row { grid-template-columns: 22px minmax(0,1fr) auto; }
.dc-act-list li.dc-act-row::before { display: none; }
.dc-act-list li.dc-act-row::after { left: 10px; top: 22px; }
.dc-act-ic { display: grid; place-items: center; width: 20px; height: 20px; border: 2px solid #050506; border-radius: 50%; background: #fff; color: #050506; font-size: 11px; line-height: 1; }
.dc-act-ic.is-q { color: #ff2800; font-weight: 900; }
.dc-act-row.is-hot .dc-act-ic { box-shadow: 0 0 0 2px #ff8a8a; }
.dc-act-row.is-critical .dc-act-ic { background: #ff3b30; color: #fff; box-shadow: 0 0 0 2px #ff3b30; } /* [device-state] GPS off, location Never */
.dc-act-row.is-ongoing .dc-act-ic { box-shadow: 0 0 0 2px var(--dc-y); }
.dc-act-body { min-width: 0; display: grid; gap: 2px; }
.dc-act-top { display: flex; justify-content: space-between; gap: 8px; }
.dc-act-top time { flex: none; color: var(--dc-mut); font-variant-numeric: tabular-nums; }
.dc-act-body small { color: var(--dc-mut); overflow-wrap: anywhere; }
.dc-act-dur { align-self: start; padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.dc-act-row.is-ongoing .dc-act-dur { background: var(--dc-y); color: #050506; }
.dc-act-note { margin-top: 4px; font-size: 10.5px; }
/* Score dials (driver list and Score tab). */
.dc-dial { display: inline-block; flex: none; vertical-align: middle; overflow: visible; color: #f4f4f0; }
.dc-dial-md { width: 112px; height: 112px; margin: 0 0 12px; } .dc-dial-sm { width: 40px; height: 40px; } .dc-dial-xs { width: 32px; height: 32px; }
.dc-dial-track { stroke: #26262a; }
.dc-dial-num { fill: currentColor; font-weight: 800; font-size: 36px; font-variant-numeric: tabular-nums; }
.dc-dial-sm .dc-dial-num, .dc-dial-xs .dc-dial-num { font-size: 46px; }
.dc-dial-grade { fill: currentColor; opacity: .7; font-size: 12px; font-weight: 650; }
.dc-dial.is-empty .dc-dial-num { opacity: .6; }

/* ⟳ Refresh (between Scores and the clock): regular white like the links; spins bold white in a circle while refreshing. */
.dc .dc-refresh { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255,255,255,.82); cursor: pointer; transition: color .15s, background .15s, box-shadow .15s; }
.dc .dc-refresh svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.dc .dc-refresh svg .h { fill: currentColor; stroke: none; }
.dc .dc-refresh:hover, .dc .dc-refresh:focus-visible { color: #fff; outline: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.dc .dc-refresh.is-busy { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 2px #fff; }
.dc .dc-refresh.is-busy svg { stroke-width: 3; animation: dc-refresh-spin .7s linear infinite; }
@keyframes dc-refresh-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .dc .dc-refresh.is-busy svg { animation-duration: 2s; } }

/* KPI strip: plain white numbers; the 30-day average pairs its number with a small ring right beside it. */
.dc-kpis b { color: #fff; }

/* Header fits any width (browser zoom, 1080p, laptops, tablets): KPI tiles share the space and shrink instead of
   being cut off; as the header itself gets narrower (container queries, so zoom is handled too) labels step down
   to icons before anything collides. */
.dc-top { container-type: inline-size; container-name: dctop; }
.dc-kpis { min-width: 0; overflow: hidden; }
.dc-kpis li { flex: 1 1 0; min-width: 58px; }
.dc-kpis span { overflow: hidden; text-overflow: ellipsis; }
.dc-top > * { min-width: 0; }
.dc-top > .dc-brand, .dc-top > .dc-links, .dc-top > .dc-refresh, .dc-top > .dc-clock, .dc-top > .dc-demo-btn, .dc-top > .dc-alerts-btn { flex: none; }
@container dctop (max-width: 1720px) { .dc-links span { display: none; } .dc-links a { padding: 0 8px; } }
@container dctop (max-width: 1480px) { .dc-brand div { display: none; } .dc-demo-btn span { display: none; } .dc-kpis li { padding: 6px 8px; } }
@container dctop (max-width: 1260px) { .dc-alerts-btn span { display: none; } .dc-kpis span { font-size: 7.5px; letter-spacing: .05em; } .dc-kpis b { font-size: 16px; } }
@container dctop (max-width: 1060px) { .dc-kpis li:nth-child(n+5) { display: none; } }

/* Large screens: 1440p / 4K / 5K / 8K at low OS scaling give very wide CSS viewports, so the overlays (not the map
   canvas, which keeps pointer maths exact) grow in steps to stay readable. 1080p and below keep the base size. */
@media (min-width: 2200px) { .dc .dc-hud, .dc .dc-pane, .dc .pin-panel, .dc .pin-menu { zoom: 1.2; } }
@media (min-width: 2900px) { .dc .dc-hud, .dc .dc-pane, .dc .pin-panel, .dc .pin-menu { zoom: 1.45; } }
@media (min-width: 3800px) { .dc .dc-hud, .dc .dc-pane, .dc .pin-panel, .dc .pin-menu { zoom: 1.85; } }
@media (min-width: 5600px) { .dc .dc-hud, .dc .dc-pane, .dc .pin-panel, .dc .pin-menu { zoom: 2.6; } }
/* Tablet / phone: the brand collapses to its mark and the refresh button stays reachable. */
@media (max-width: 899px) { .dc .dc-brand b { display: none; } .dc .dc-refresh { width: 36px; height: 36px; } }

/* "Exit driver view" pill: centered over the map while a driver is selected; Esc does the same. */
.dc-exit-view { position: absolute; z-index: 9; bottom: 72px; left: 50%; transform: translateX(-50%); padding: 10px 18px; border: 2px solid #050506; border-radius: 999px; background: #ffff06; color: #050506; font: 800 13px/1 var(--font, inherit); letter-spacing: .01em; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: transform .14s ease, box-shadow .14s ease; }
.dc-exit-view:hover, .dc-exit-view:focus-visible { transform: translateX(-50%) translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.55); outline: none; }
.dc-exit-view[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .dc-exit-view { transition: none; } }


/* KPI tiles: compact, centered, clickable (filter the list or open the page behind the number). */
.dc-kpis { justify-content: flex-start; }
.dc-kpis li { flex: 0 0 auto; min-width: 0; padding: 0; display: block; }
.dc-kpi { display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 76px; height: 100%; padding: 6px 12px; border: 0; border-radius: 10px; background: none; color: #fff; font: inherit; text-align: center; text-decoration: none; cursor: pointer; transition: background .14s, box-shadow .14s; }
.dc-kpi:hover, .dc-kpi:focus-visible { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px #ffff06; outline: none; }
.dc-kpi.is-active { box-shadow: inset 0 0 0 2px #ffff06; }
.dc-kpis .dc-kpi span { text-align: center; }
.dc-kpis .k-score .dc-kpi { min-width: 56px; }
.dc-kpi-dial { display: block; line-height: 0; }
.dc-kpi-dial .dc-dial { display: block; width: 36px; height: 36px; }
.dc-kpi-dial .dc-dial-num { font-size: 50px; font-weight: 800; }

.dc-tip .dc-tip-status { color: #ffff06; font-weight: 700; }

/* Idle > 15 min: on shift, not driving for 15 minutes (blue). */
.dc-dot.is-idle-long { background: #ffb020; }
.dc-avatar.s-idle_long::after { background: #ffb020; }
.dc-chip.s-idle_long, .dc-driver .dc-chip.s-idle_long { border-color: #ffb020; background: rgba(255,176,32,.14); color: #ffc75a; }

/* Legend at 125% (owner): text, dots, line samples and the live status. */
.dc-legend { gap: 8px 20px; min-height: 55px; padding: 10px 16px; }
.dc-legend .dc-key { gap: 9px; font-size: 13px; color: #e6e6e2; }
.dc-legend .dc-dot { width: 14px; height: 14px; }
.dc-legend .dc-line { width: 28px; height: 5px; }
.dc-legend .dc-line.is-next { height: 0; border-top-width: 4px; }
.dc-legend .dc-live { gap: 9px; font-size: 13px; }
.dc-legend .dc-live i { width: 10px; height: 10px; }
.dc-exit-view { bottom: 84px; }

/* Driver list runs down to the legend's bottom edge (the legend sits to its right). */
@media (min-width: 900px) { .dc-list:not(.is-collapsed) { bottom: 14px; } }

/* Live status shown inside the ⓘ attribution panel instead of the legend. */
.maplibregl-ctrl-attrib-inner .dc-attrib-live { margin-bottom: 4px; color: #ffff06; font-weight: 700; }
.maplibregl-ctrl-attrib-inner .dc-attrib-live[hidden] { display: none; }

/* Legend layout: one centered row. Driver statuses, a thin divider, then route lines. */
.dc-legend { justify-content: center; flex-wrap: wrap; column-gap: 22px; row-gap: 6px; }
.dc-legend .dc-key:not(:has(.dc-line)) + .dc-key:has(.dc-line) { margin-left: 4px; padding-left: 26px; border-left: 1px solid rgba(255,255,255,.18); }
.dc-legend .dc-key { white-space: nowrap; }

/* Live status: a small pill on the map, immediately left of the ⓘ. */
.maplibregl-ctrl-bottom-right .dc-live { float: right; clear: none; display: inline-flex; align-items: center; gap: 8px; height: 26px; margin: 0 8px 10px 0; padding: 0 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(10,10,12,.92); color: #e6e6e2; font-size: 12px; pointer-events: none; }
.maplibregl-ctrl-bottom-right .dc-live[hidden] { display: none; }
.maplibregl-ctrl-bottom-right .dc-live i { width: 9px; height: 9px; }

.dc-live { display: none !important; }


.dc-legend .dc-key[hidden] { display: none; }

/* Advanced map views removed from the dashboard for now (owner); Traffic returns as its own button when a provider is set up. */
.dc-adv[hidden] { display: none !important; }

/* Driver pane tabs: never squashed by the pane's column layout; full-height labels; tabs share the width. */
.dc-pane-tabs { flex: none; min-height: 44px; align-items: stretch; padding: 6px 8px 0; }
.dc-pane-tabs button { flex: 1 0 auto; justify-content: center; min-height: 38px; padding: 10px 8px 12px; color: #fff; font-size: 12px; line-height: 1.2; }
.dc-pane-tabs button.is-active { color: var(--dc-y); }

/* KPI strip v2 (owner): no cards. One bar, thin dividers, big number over a small label, status dot on driver stats. */
.dc-kpis { gap: 0; padding: 0 4px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.025); align-items: stretch; }
.dc-kpis li { border: 0 !important; border-radius: 0; background: none !important; }
.dc-kpis li + li { box-shadow: inset 1px 0 0 rgba(255,255,255,.09); }
.dc-kpi { grid-auto-flow: row; gap: 4px; min-width: 84px; padding: 8px 16px 9px; border-radius: 0; }
.dc-kpi b { order: 1; font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1; }
.dc-kpi span { order: 2; display: inline-flex; align-items: center; gap: 6px; color: #a9a9a5 !important; font: 700 9px/1 var(--mono) !important; letter-spacing: .1em; }
.dc-kpis .k-shift .dc-kpi span::before, .dc-kpis .k-route .dc-kpi span::before, .dc-kpis .k-idle .dc-kpi span::before, .dc-kpis .k-live .dc-kpi span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.dc-kpis .k-shift .dc-kpi span::before { background: #22c55e; }
.dc-kpis .k-route .dc-kpi span::before { background: #ffff06; }
.dc-kpis .k-idle .dc-kpi span::before { background: #ffffff; }
.dc-kpis .k-live .dc-kpi span::before { background: #ffff06; box-shadow: 0 0 0 2px rgba(255,255,6,.25); }
.dc-kpi:hover, .dc-kpi:focus-visible { background: rgba(255,255,255,.04); box-shadow: inset 0 -2px 0 #ffff06; }
.dc-kpi.is-active { background: rgba(255,255,6,.06); box-shadow: inset 0 -3px 0 #ffff06; }
.dc-kpi.is-active span { color: #fff !important; }
.dc-kpis .k-score { margin-left: 4px; }
.dc-kpis .k-score .dc-kpi { min-width: 0; padding: 4px 12px; }
.dc-kpis li:first-child .dc-kpi { border-radius: 11px 0 0 11px; }
.dc-kpis li:last-child .dc-kpi { border-radius: 0 11px 11px 0; }

/* Clock and Alerts (owner): no card look, to match the stat strip. */
.dc .dc-clock { background: none !important; box-shadow: inset 1px 0 0 rgba(255,255,255,.12) !important; border-radius: 0 !important; min-width: 0; height: auto; padding: 2px 4px 2px 16px; justify-items: end; }
.dc .dc-clock b { font-size: 15px; letter-spacing: 0; }
.dc .dc-clock small { color: #a9a9a5; font-size: 10px; }
.dc-alerts-btn, .dc-alerts-btn.has-alerts { border: 0; border-radius: 999px; background: transparent; color: #fff; font: 700 12px/1 var(--font); padding: 0 12px; min-height: 36px; animation: none; box-shadow: none; }
.dc-alerts-btn .ic, .dc-alerts-btn.has-alerts .ic { color: #ff2800; animation: none; }
.dc-alerts-btn:hover, .dc-alerts-btn:focus-visible, .dc-alerts-btn[aria-expanded="true"] { background: rgba(255,255,255,.07); outline: none; }
.dc-alerts-btn i, .dc-alerts-btn.has-alerts #dc-alerts-count { background: rgba(255,255,255,.14); color: #fff; }
.dc-alerts-btn.has-alerts #dc-alerts-count { background: var(--red-badge, #e02400); color: #fff; }
.dc-alerts-btn.is-critical { background: var(--red-badge, #e02400); color: #fff; animation: dc-alert-soft 2.4s ease-in-out infinite; }
.dc-alerts-btn.is-critical .ic { color: #fff; }
.dc-alerts-btn.is-critical #dc-alerts-count { background: #fff; color: var(--red-badge, #e02400); }
@keyframes dc-alert-soft { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,40,0,.45); } 50% { box-shadow: 0 0 0 6px rgba(255,40,0,0); } }
@media (prefers-reduced-motion: reduce) { .dc-alerts-btn.is-critical { animation: none; } }

/* ==================================================================================================================
   Header alerts (owner): Critical (red, pulses gently while open) · Warnings (amber) · "All clear" when both are 0,
   and Info behind a quiet bell. All open the alerts panel filtered to that group (pro-dispatch-console.js alertGroup).
   ================================================================================================================== */
.dc-top > .dc-alertset { flex: none; }
.dc-alertset { display: inline-flex; align-items: center; gap: 4px; }
.dc-ab-warn .ic, .dc-ab-warn.has-alerts .ic { color: #ff9f0a; }
.dc-ab-warn i, .dc-ab-warn.has-warnings #dc-warn-count { background: #ff9f0a; color: #050506; }
.dc-ab-crit:not(.is-critical) .ic { color: #ff2800; }
.dc-allclear { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid rgba(34,197,94,.35); border-radius: 999px; background: rgba(34,197,94,.08); color: #d7f5e1; font: 650 12px/1 var(--font); cursor: pointer; }
.dc-allclear .ic { width: 14px; height: 14px; color: #22c55e; }
.dc-allclear:hover, .dc-allclear:focus-visible, .dc-allclear[aria-expanded="true"] { border-color: #22c55e; outline: none; }
.dc-bell { position: relative; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: rgba(255,255,255,.72); cursor: pointer; }
.dc-bell .ic { width: 18px; height: 18px; }
.dc-bell:hover, .dc-bell:focus-visible, .dc-bell[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.07); outline: none; }
/* Mute notification sounds (beside the bell): speaker / speaker with a cross; pressed = muted. */
.dc-mute .dc-mute-off, .dc-mute[aria-pressed="true"] .dc-mute-on { display: none; }
.dc-mute[aria-pressed="true"] .dc-mute-off { display: block; }
.dc-bell i { position: absolute; top: 3px; right: 2px; display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #e8e8e4; color: #050506; font: 800 9px/1 var(--font); font-style: normal; }
@container dctop (max-width: 1260px) { .dc-allclear span { display: none; } .dc-allclear { padding: 0 9px; } }
.dc-alert-head .dc-alert-ic { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.07); font-size: 15px; line-height: 1; }
.dc-alert-ic.g-critical { background: rgba(255,40,0,.18); box-shadow: inset 0 0 0 1px rgba(255,40,0,.55); }
.dc-alert-ic.g-warning { background: rgba(255,159,10,.14); box-shadow: inset 0 0 0 1px rgba(255,159,10,.45); }

/* ==================================================================================================================
   Driver pane v2 (owner: "much more beautiful"): hero header, quick actions, segmented tabs, cards on an 8 px scale.
   Status colours: en route yellow, on shift green, idle > 15 min blue, lost signal Ferrari red, offline white.
   ================================================================================================================== */
.dc-pane { --pp-card: #0d0d0f; --pp-line: rgba(255,255,255,.08); --pp-line2: rgba(255,255,255,.15); --pp-mut: #a6a6a2; --sc: #ffffff;
  container: dcpane / inline-size; width: min(var(--dc-pane-w, 420px), calc(100% - 28px)); border-color: rgba(255,255,255,.12); border-radius: 18px;
  background: linear-gradient(180deg, #111114 0, #050506 260px), #050506; box-shadow: 0 24px 64px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); }
.dc-pane-open .dc-tools, .dc-pane-open .dc-zoom { right: calc(var(--dc-pane-w, 420px) + 26px); }
.dc-pane .s-en_route { --sc: #ffff06; } .dc-pane .s-idle { --sc: #22c55e; } .dc-pane .s-idle_long { --sc: #ffb020; }
.dc-pane .s-stale { --sc: #ff2800; } .dc-pane .s-offline { --sc: #ffffff; }
/* Hero */
.dc-pane .dc-pane-head { display: grid; gap: 12px; padding: 16px 16px 12px; border-bottom: 0; }
.dc-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.dc-hero-av { position: relative; display: grid; place-items: center; width: 60px; height: 60px; overflow: hidden; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2b2b30, #141417); color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 0 0 3px #0b0b0d, 0 0 0 6px var(--sc), 0 6px 22px rgba(0,0,0,.5); margin: 6px; }
.dc-hero-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dc-hero-av.has-photo > span { visibility: hidden; }
.dc-hero-av.s-en_route { box-shadow: 0 0 0 3px #0b0b0d, 0 0 0 6px var(--sc), 0 0 22px rgba(255,255,6,.28); }
.dc-hero-id { display: grid; gap: 8px; min-width: 0; }
.dc-hero-name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.dc-pane .dc-hero-name h2 { margin: 0; overflow: visible; color: #fff; font-size: 21px; font-weight: 780; line-height: 1.15; letter-spacing: -.02em; white-space: normal; overflow-wrap: anywhere; }
.dc-sample-chip { padding: 3px 8px; border: 1px dashed var(--dc-y); border-radius: 999px; color: var(--dc-y); font: 700 9.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-hero-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-hchip { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 8px; border: 1px solid var(--pp-line2); border-radius: 999px; background: rgba(255,255,255,.03); color: #e4e4e0; font-size: 11px; line-height: 1.2; overflow-wrap: anywhere; }
.dc-hchip .ic { flex: none; width: 12px; height: 12px; color: #bdbdb9; }
.dc-hero-chips #dc-pane-reach { margin: 0; padding: 4px 8px; border-radius: 999px; font-size: 11px; }
.dc-pane-x { display: grid; flex: none; align-self: start; place-items: center; gap: 2px; width: 46px; height: 46px; padding: 4px 0; border: 1px solid var(--pp-line2); border-radius: 14px; background: #17171a; color: #fff; cursor: pointer; transition: background .15s, border-color .15s; }
.dc-pane-x span { font-size: 22px; line-height: .8; }
.dc-pane-x kbd { color: #b5b5b1; font: 700 8.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dc-pane-x:hover, .dc-pane-x:focus-visible { border-color: #fff; background: #222226; outline: none; }
.dc-hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--sc) 38%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--sc) 9%, #0b0b0d); color: var(--sc); }
.dc-hero-status i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sc) 22%, transparent); }
.dc-hero-status b { font-size: 14.5px; font-weight: 750; line-height: 1.3; }
.dc-hero-status small { margin-left: auto; color: #deded9; font-size: 12px; font-variant-numeric: tabular-nums; }
.dc-hero-status.s-en_route i { animation: dc-live-dot 2s ease-in-out infinite; }
@keyframes dc-live-dot { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--sc) 0%, transparent); } }
/* Quick actions */
.dc-qa { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px; }
.dc-qa-btn { display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 58px; padding: 8px 4px; border: 1px solid var(--pp-line2); border-radius: 14px; background: linear-gradient(180deg, #19191c, #111113); color: #fff; font: 650 12px/1.15 var(--font); text-align: center; cursor: pointer; transition: border-color .15s, background .15s, transform .12s; }
.dc-qa-btn .ic { width: 20px; height: 20px; color: var(--dc-y); }
.dc-qa-btn:hover:not(:disabled), .dc-qa-btn:focus-visible { border-color: var(--dc-y); background: #1d1d20; outline: none; }
.dc-qa-btn:active:not(:disabled) { transform: translateY(1px); }
.dc-qa-btn:disabled { cursor: not-allowed; opacity: .42; }
#dc-qa-call:not(:disabled) { border-color: var(--dc-y); background: var(--dc-y); color: #050506; }
#dc-qa-call:not(:disabled) .ic { color: #050506; }
#dc-qa-call[aria-expanded="true"] { box-shadow: 0 0 0 3px rgba(255,255,6,.3); }
.dc-call-tray { padding: 8px; border: 1px solid var(--pp-line2); border-radius: 14px; background: #0f0f11; }
.dc-call-tray .dc-pane-call { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-call-tray .pc-slot-msg { display: none; }
.dc-call-tray .pc-slot-btn { min-height: 40px; padding: 0 14px; border: 1px solid var(--pp-line2); border-radius: 10px; background: #18181b; color: #fff; font: 650 12px/1 var(--font); cursor: pointer; }
.dc-call-tray .pc-slot-btn:hover:not(:disabled) { border-color: var(--dc-y); }
.dc-call-tray .pc-slot-hint { flex-basis: 100%; color: var(--pp-mut); font-size: 11px; }
/* Segmented tabs */
.dc-pane .dc-pane-tabs { display: grid; flex: none; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 2px; min-height: 0; margin: 0 16px 4px; padding: 4px; overflow: visible; border: 1px solid var(--pp-line); border-radius: 14px; background: #0d0d0f; }
.dc-pane .dc-pane-tabs button { position: relative; display: grid; flex: none; justify-items: center; align-content: center; gap: 4px; min-width: 0; min-height: 54px; padding: 8px 2px; border-radius: 10px; color: #c4c4c0; font: 650 11px/1.15 var(--font); white-space: normal; text-align: center; transition: background .16s, color .16s; }
.dc-pane .dc-pane-tabs button .ic { width: 18px; height: 18px; }
.dc-pane .dc-pane-tabs button:hover { background: rgba(255,255,255,.05); color: #fff; }
.dc-pane .dc-pane-tabs button.is-active { background: var(--dc-y); color: #050506; box-shadow: 0 4px 14px rgba(255,255,6,.18); }
.dc-pane .dc-pane-tabs button.is-active::after { display: none; }
.dc-pane .dc-pane-tabs button:focus-visible { outline: 2px solid var(--dc-y); outline-offset: 1px; }
.dc-pane .dc-pane-tabs i { position: absolute; top: 4px; right: 6px; min-width: 17px; height: 17px; padding: 0 4px; border: 2px solid #0d0d0f; border-radius: 999px; background: var(--dc-y); color: #050506; font: 800 9px/1 var(--font); font-style: normal; }
.dc-pane .dc-pane-tabs button.is-active i { border-color: var(--dc-y); background: #050506; color: var(--dc-y); }
.dc-pane .dc-pane-tabs #dc-pane-events { background: var(--red-badge, #e02400); color: #fff; }
/* Body, panels, cards */
.dc-pane .dc-pane-body { padding: 12px 16px 16px; scroll-behavior: smooth; }
.dc-pane-body > [data-panel] { display: grid; align-content: start; gap: 12px; animation: dc-panel-in .2s ease-out; }
@keyframes dc-panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dc-pane .dc-card { margin: 0; padding: 14px; border: 1px solid var(--pp-line); border-radius: 14px; background: linear-gradient(180deg, #121215, var(--pp-card)); box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.dc-pane .dc-card > h3, .dc-live-head h3 { margin: 0 0 12px; color: #c9c9c5; font: 750 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.dc-pane .dc-card > h3 small { color: var(--pp-mut); font: 500 11px/1.3 var(--font); letter-spacing: 0; text-transform: none; text-align: right; }
.dc-pane .dc-muted { color: var(--pp-mut); font-size: 12px; line-height: 1.5; }
.dc-pill { display: inline-flex; align-items: center; padding: 4px 8px; border: 1px solid var(--pp-line2); border-radius: 999px; color: #dcdcd8; font: 700 10px/1.1 var(--font); letter-spacing: .02em; white-space: nowrap; }
.dc-pill.p-in_progress, .dc-pill.p-next { border-color: var(--dc-y); background: var(--dc-y); color: #050506; }
.dc-pill.p-completed { border-color: #3b63e6; background: #0d1d50; color: #dbe4ff; }
.dc-pill.p-pending, .dc-pill.p-accepted { border-color: #fff; color: #fff; }
.dc-pill.p-declined, .dc-pill.p-cancelled, .dc-pill.p-ended_early, .dc-pill.p-skip { border-color: #ff2800; color: #ff7a5c; }
.dc-pill.p-late { border-color: #ff2800; color: #ff7a5c; } /* a stop whose live ETA passes its window */
.dc-pill.p-station { border-color: #ff9f0a; color: #ffc46b; }
.dc-pill.p-window { border-color: rgba(255,255,255,.3); color: #fff; font-variant-numeric: tabular-nums; }
.dc-empty-card { display: grid; justify-items: center; gap: 8px; padding: 24px 16px; text-align: center; }
.dc-empty-card > .ic { width: 28px; height: 28px; color: #8d8d89; }
.dc-empty-card b { font-size: 14px; }
.dc-empty-card .dc-muted { max-width: 30ch; margin: 0; }
.dc-fine { margin: 0; font-size: 11px; }
/* Live card */
.dc-livecard { padding: 12px 14px; }
.dc-live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.dc-live-head h3 { margin: 0 !important; }
.dc-rec { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid var(--pp-line2); border-radius: 999px; color: #c9c9c5; font: 700 10px/1 var(--mono); letter-spacing: .08em; }
.dc-rec.is-on { border-color: #ff2800; background: rgba(255,40,0,.12); color: #fff; }
.dc-rec.is-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff2800; animation: dc-rec-blink 1s steps(2, jump-none) infinite; }
.dc-live-upd { margin-left: auto; color: var(--pp-mut); font-size: 11px; font-variant-numeric: tabular-nums; }
.dc-live-main { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; }
.dc-gauge { width: 112px; height: 112px; }
.dc-gauge-track { stroke: #232327; stroke-width: 10; }
.dc-gauge-fill { stroke: var(--dc-y); stroke-width: 10; filter: drop-shadow(0 0 4px rgba(255,255,6,.35)); }
.dc-gauge-num { fill: #fff; font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dc-gauge-unit { fill: #a6a6a2; font: 700 9px var(--mono); letter-spacing: .14em; }
.dc-gauge-dir { fill: var(--dc-y); font: 700 10px var(--mono); }
.dc-live-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.dc-live-stats li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.04); }
.dc-live-stats li > span:last-child { display: grid; gap: 2px; min-width: 0; }
.dc-live-stats small { color: var(--pp-mut); font: 700 8.5px/1.1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-live-stats b { color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dc-live-stats .ic { flex: none; width: 16px; height: 16px; color: var(--dc-y); }
.dc-live-stats .dc-bars { flex: none; }
.dc-live-stats li.is-bad b { color: #ff6a4d; }
.dc-live-stats .dc-batt { flex: none; position: relative; width: 20px; height: 11px; border: 1.5px solid #d8d8d4; border-radius: 3px; }
.dc-live-stats .dc-batt::after { content: ""; position: absolute; top: 2px; right: -4px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: #d8d8d4; }
.dc-live-stats .dc-batt i { position: absolute; top: 1px; bottom: 1px; left: 1px; max-width: calc(100% - 2px); border-radius: 1px; background: #22c55e; }
.dc-live-stats li.is-bad .dc-batt { border-color: #ff2800; } .dc-live-stats li.is-bad .dc-batt i { background: #ff2800; }
.dc-live-dev { margin: 8px 0 0; color: #8f8f8b; font-size: 10.5px; line-height: 1.4; }
.dc-live-none { margin: 0; }
/* Route progress (Overview and Route) */
.dc-rprog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dc-pane .dc-rprog-head h3 { margin: 0; color: #fff; font: 750 14px/1.3 var(--font); letter-spacing: -.01em; text-transform: none; overflow-wrap: anywhere; }
.dc-prog { padding: 4px 0; }
.dc-prog-track { position: relative; height: 10px; margin: 0 7px; border-radius: 999px; background: #232327; }
.dc-prog-fill { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; background: linear-gradient(90deg, #2e4bb8, var(--dc-y)); transition: width .4s ease; }
.dc-prog-dots { position: absolute; inset: 0; }
.dc-prog-dots i { position: absolute; top: 50%; width: 8px; height: 8px; border: 2px solid #050506; border-radius: 50%; background: #55555a; transform: translate(-50%, -50%); }
.dc-prog-dots i.is-done { background: #dbe4ff; }
.dc-prog-dots i.is-skip { background: #ff2800; }
.dc-prog-dots i.is-next { width: 16px; height: 16px; border-width: 3px; background: var(--dc-y); box-shadow: 0 0 0 4px rgba(255,255,6,.25); }
.dc-rprog-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 8px; margin-top: 12px; }
.dc-rprog-facts > div { display: grid; gap: 4px; }
.dc-rprog-facts small { color: var(--pp-mut); font: 700 8.5px/1.1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-rprog-facts b { color: #fff; font-size: 15px; font-weight: 750; line-height: 1.2; font-variant-numeric: tabular-nums; }
.dc-rprog-facts .is-ontime b, b.is-ontime { color: #22c55e; }
.dc-rprog-facts .is-late b, b.is-late { color: #ff6a4d; }
.dc-nextstop { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,6,.35); border-radius: 12px; background: rgba(255,255,6,.06); color: #fff; font: inherit; text-align: left; cursor: pointer; }
.dc-nextstop:hover, .dc-nextstop:focus-visible { border-color: var(--dc-y); outline: none; }
.dc-nextstop-n { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--dc-y); color: #050506; font-size: 12px; font-weight: 800; }
.dc-nextstop > span:last-child { display: grid; gap: 2px; min-width: 0; }
.dc-nextstop small { color: var(--dc-y); font: 700 9px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-nextstop b { font-size: 12.5px; font-weight: 650; line-height: 1.35; overflow-wrap: anywhere; }
.dc-rprog.is-empty h3 { margin-bottom: 8px; }
.dc-rprog.is-empty .dc-muted { margin: 0; }
/* Doing now, score mini, today */
.dc-rline { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.dc-rline-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; flex: 1; min-width: 0; }
.dc-rline-t b { color: #fff; font-size: 14px; font-weight: 750; overflow-wrap: anywhere; }
.dc-rline-t small { flex-basis: 100%; color: var(--pp-mut); font-size: 12px; font-variant-numeric: tabular-nums; }
.dc-rline-t small.is-late { color: #ff6a4d; } .dc-rline-t small.is-ontime { color: #22c55e; }
.dc-rline > .dc-tlink { flex: none; }
.dc-doing { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.dc-doing-ic { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 22px; line-height: 1; }
.dc-doing-ic.is-q { color: #ff2800; font-weight: 900; }
.dc-doing > div, .dc-scoremini > div { display: grid; gap: 2px; min-width: 0; }
.dc-doing small, .dc-scoremini small { color: var(--pp-mut); font: 700 8.5px/1.1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-doing b, .dc-scoremini b { color: #fff; font-size: 14px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.dc-doing span { color: #c9c9c5; font-size: 11.5px; }
.dc-scoremini { display: flex; align-items: center; gap: 10px; padding: 12px 14px; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dc-scoremini:hover, .dc-scoremini:focus-visible { border-color: var(--dc-y); outline: none; }
.dc-scoremini .dc-dial-sm { width: 44px; height: 44px; }
.dc-todaycard { padding: 12px 14px; }
.dc-pane .dc-todaycard > h3 { margin-bottom: 8px; }
.dc-today { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.dc-tile { display: grid; gap: 4px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.04); }
.dc-tile b { color: #fff; font-size: 15px; font-weight: 780; line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dc-tile small { color: var(--pp-mut); font-size: 10.5px; line-height: 1.2; }
/* Route tab */
.dc-rsum-title { display: grid; gap: 4px; min-width: 0; }
.dc-rsum-title small { color: var(--pp-mut); font: 700 9px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-pane .dc-rsum .dc-rprog-head h3 { font-size: 16px; }
.dc-rsum-note { margin: 12px 0 0 !important; font-size: 11.5px !important; }
.dc-rs-list { display: grid; gap: 8px; }
.dc-rs-ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.dc-rs { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; }
.dc-rs::before { content: ""; position: absolute; top: 30px; bottom: -2px; left: 21px; width: 2px; background: #26262a; }
.dc-rs:last-child::before { display: none; }
.dc-rs.st-completed::before { background: #2e4bb8; }
.dc-rs-main { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 12px; width: 100%; padding: 8px 8px 10px 6px; border: 1px solid transparent; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background .15s, border-color .15s; }
.dc-rs-main:hover, .dc-rs-main:focus-visible { background: rgba(255,255,255,.04); outline: none; }
.dc-rs.is-focus .dc-rs-main { border-color: rgba(255,255,255,.25); }
.dc-rs-n { z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #3a3a3f; border-radius: 50%; background: #0d0d0f; color: #fff; font-size: 11.5px; font-weight: 800; }
.dc-rs.st-completed .dc-rs-n { border-color: #2e4bb8; background: #0d1d50; color: #dbe4ff; }
.dc-rs.st-skipped .dc-rs-n { border-color: #ff2800; border-style: dashed; color: #ff7a5c; }
.dc-rs.st-remaining .dc-rs-n { border-color: rgba(255,255,6,.6); color: var(--dc-y); }
.dc-rs.st-next .dc-rs-n, .dc-rs.st-arrived .dc-rs-n { border-color: var(--dc-y); background: var(--dc-y); color: #050506; box-shadow: 0 0 0 4px rgba(255,255,6,.2); }
.dc-rs.st-next .dc-rs-main { border-color: rgba(255,255,6,.45); background: rgba(255,255,6,.06); }
.dc-rs-body { display: grid; gap: 6px; min-width: 0; padding-top: 4px; }
.dc-rs-body b { color: #f2f2ee; font-size: 12.5px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.dc-rs.st-completed .dc-rs-body b { color: #c3c3bf; }
.dc-rs.st-skipped .dc-rs-body b { color: #9a9a96; text-decoration: line-through; }
.dc-rs-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.dc-rs-time { display: grid; justify-items: end; gap: 2px; padding-top: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dc-rs-time b { color: #fff; font-size: 12.5px; font-weight: 750; }
.dc-rs-time b.is-eta { color: var(--dc-y); }
.dc-rs-time b.is-eta.is-late { color: #ff6a4d; }
.dc-rs-time small { color: var(--pp-mut); font-size: 10.5px; }
.dc-rs .dc-pod { position: absolute; right: 8px; bottom: -2px; }
/* customer tracking link per stop (pro_tracking_links.py): a small toggle under the stop, its panel below */
.dc-tl { grid-column: 1 / -1; display: grid; gap: 8px; padding: 0 8px 10px 48px; }
.dc-tl-toggle { justify-self: start; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: transparent; color: #cfcfca; font: 650 10px/1 var(--font); cursor: pointer; }
.dc-tl-toggle .ic { width: 12px; height: 12px; }
.dc-tl-toggle.is-on { border-color: var(--dc-y); color: var(--dc-y); }
.dc-tl-toggle:hover, .dc-tl-toggle:focus-visible { border-color: rgba(255,255,255,.4); outline: none; }
.dc-tl-panel { display: grid; gap: 8px; }
.dc-tl-panel .dc-muted { margin: 0; font-size: 11px; line-height: 1.45; }
.dc-tl-url, .dc-tl-mail input { width: 100%; min-width: 0; border: 1px solid rgba(255,255,255,.17); border-radius: 8px; background: #0c0c0e; color: #eee; padding: 7px 8px; font: 11px/1.4 var(--mono); }
.dc-tl-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.dc-tl-acts .dc-btn .ic { width: 12px; height: 12px; }
.dc-tl-mail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.dc-tl-mail input { font-family: var(--font); }
.dc-tl-meta { color: #8f8f8a; }
.dc-rs-done { border: 1px solid var(--pp-line); border-radius: 12px; background: rgba(46,75,184,.08); }
.dc-rs-done summary { display: flex; align-items: center; gap: 12px; padding: 10px 12px; list-style: none; cursor: pointer; }
.dc-rs-done summary::-webkit-details-marker { display: none; }
.dc-rs-done summary b { flex: 1; color: #dbe4ff; font-size: 12.5px; }
.dc-rs-done summary small { color: var(--pp-mut); font-size: 11px; }
.dc-rs-done[open] summary small { font-size: 0; } .dc-rs-done[open] summary small::after { content: "Hide"; font-size: 11px; }
.dc-rs-done-ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #0d1d50; box-shadow: inset 0 0 0 2px #2e4bb8; color: #dbe4ff; font-size: 11px; font-weight: 800; }
.dc-rs-done .dc-rs-ol { padding: 0 4px 8px; }
.dc-rlog { padding: 0; }
.dc-rlog summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; list-style: none; cursor: pointer; }
.dc-rlog summary::-webkit-details-marker { display: none; }
.dc-rlog summary b { color: #c9c9c5; font: 750 10.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.dc-rlog summary small { color: var(--pp-mut); font-size: 11px; }
.dc-rlog .dc-timeline { padding: 0 14px 12px; }
.dc .rh-tabs { justify-self: start; margin: 0; }
.dc .rh-list .rh-row { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--pp-line); border-radius: 12px; background: var(--pp-card); font-size: 12px; }
.dc .rh-list .rh-row::before { display: none; }
.dc .rh-list .rh-row small { color: var(--pp-mut); font-size: 11px; }
/* Messages */
.dc-pane [data-panel="messages"] { gap: 8px; }
.dc-pane .dc-thread { gap: 8px; margin: 0; }
.dc-pane .dc-msg { max-width: 84%; padding: 10px 12px; border-radius: 16px 16px 16px 6px; background: #1c1c20; color: #f2f2ee; font-size: 12.5px; line-height: 1.45; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.dc-pane .dc-msg.is-me { border-radius: 16px 16px 6px 16px; background: var(--dc-y); color: #050506; box-shadow: none; }
.dc-pane .dc-msg.is-system { max-width: 100%; padding: 6px 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,.05); color: #c9c9c5; font-size: 11px; text-align: center; }
.dc-pane .dc-msg.is-urgent { box-shadow: 0 0 0 2px #ff2800; }
.dc-pane .dc-msg small { margin-top: 4px; font-size: 10px; opacity: .75; }
.dc-msg-day { justify-self: center; margin: 4px 0; color: var(--pp-mut); font: 700 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.dc-thread-empty { display: grid; justify-items: center; gap: 8px; padding: 32px 16px; color: var(--pp-mut); font-size: 12px; text-align: center; }
.dc-thread-empty .ic { width: 28px; height: 28px; }
.dc-thread-empty b { color: #fff; font-size: 14px; }
.dc-pane .dc-compose { position: sticky; bottom: -16px; z-index: 2; gap: 8px; margin: 4px -16px -16px; padding: 12px 16px 16px; border-top: 1px solid var(--pp-line); background: linear-gradient(180deg, rgba(5,5,6,.92), #050506); backdrop-filter: blur(8px); }
.dc-pane .dc-compose textarea { min-height: 44px; padding: 10px 12px; border-radius: 12px; background: #111114; font-size: 12.5px; }
.dc-pane .dc-compose textarea:focus { border-color: var(--dc-y); outline: none; }
.dc-compose.is-demo textarea, .dc-compose.is-demo .dc-compose-row { opacity: .5; }
.dc-compose.is-demo button, .dc-compose.is-demo label { cursor: not-allowed; }
.dc-compose-demo { margin: 0; padding: 6px 10px; border: 1px dashed rgba(255,255,6,.5); border-radius: 10px; color: var(--dc-y); font-size: 11.5px; }
/* Score */
.dc-score-top { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; }
.dc-pane .dc-score-hero .dc-dial-md { width: 108px; height: 108px; margin: 0; }
.dc-score-tx { display: grid; gap: 4px; min-width: 0; }
.dc-score-tx small { color: var(--pp-mut); font: 700 9px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-score-grade { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.dc-score-tx > span { color: #c9c9c5; font-size: 12px; }
.dc-delta { justify-self: start; margin-top: 4px; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 11px !important; font-weight: 700; }
.dc-delta.is-up { background: rgba(34,197,94,.14); color: #6ee79a !important; }
.dc-delta.is-down { background: rgba(255,40,0,.14); color: #ff8a70 !important; }
.dc-pane .dc-spark { height: 56px; margin-top: 12px; }
.dc-pane .dc-spark polyline { fill: none; stroke: var(--dc-y); stroke-width: 2; stroke-linejoin: round; }
.dc-spark-area { fill: rgba(255,255,6,.09); }
.dc-spark-dot { fill: var(--dc-y); stroke: #050506; stroke-width: 2; }
.dc-spark-axis { display: flex; justify-content: space-between; margin-top: 4px; color: var(--pp-mut); font-size: 10px; }
.dc-factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0; padding: 0; list-style: none; }
.dc-factor2 { display: grid; gap: 6px; min-width: 0; }
.dc-factor2 > div { display: flex; justify-content: space-between; gap: 8px; }
.dc-factor2 b { color: #f2f2ee; font-size: 12px; font-weight: 650; }
.dc-factor2 > div span { font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.dc-factor2 small { color: var(--pp-mut); font-size: 10.5px; line-height: 1.35; }
.dc-fbar { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: #232327; }
.dc-fbar i { display: block; height: 100%; border-radius: 999px; background: var(--dc-y); }
.dc-fbar i.g-poor { background: #ff2800; } .dc-fbar i.g-fair { background: #ff9f0a; }
.dc-pane .g-good { color: #6ee79a; } .dc-pane .g-fair { color: #ffc46b; } .dc-pane .g-poor { color: #ff8a70; }
.dc-pane .dc-score-grade.g-good, .dc-pane .dc-score-grade.g-fair, .dc-pane .dc-score-grade.g-poor { color: #fff; }
.dc-fbar i.g-good { background: var(--dc-y); }
.dc-trips { display: grid; margin: 0 0 8px; padding: 0; list-style: none; }
.dc-trip2 { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--pp-line); }
.dc-trip2:first-child { border-top: 0; }
.dc-trip2 > span:first-child { display: grid; gap: 2px; }
.dc-trip2 b { font-size: 12px; font-weight: 650; }
.dc-trip2 small { color: var(--pp-mut); font-size: 11px; }
.dc-trip-score { display: grid; place-items: center; min-width: 36px; height: 26px; padding: 0 8px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: 12px; font-weight: 800; }
.dc-pane .dc-more-link { display: inline-flex; align-items: center; gap: 6px; color: var(--dc-y); font-size: 12px; font-weight: 700; text-decoration: none; }
.dc-pane .dc-more-link:hover { text-decoration: underline; }
.dc-pane .dc-more-link .ic { width: 14px; height: 14px; }
/* Footage */
.dc-pane .dc-clips { gap: 12px; }
.dc-pane .dc-clip { gap: 8px; padding: 0 0 10px; overflow: hidden; border-radius: 14px; background: #0f0f11; transition: border-color .15s, transform .15s; }
.dc-pane .dc-clip:hover:not(:disabled) { transform: translateY(-1px); }
.dc-pane .dc-clip.is-sample { border-style: solid; }
.dc-pane .dc-clip-thumb { border-radius: 0; }
.dc-pane .dc-clip-thumb img { transition: transform .3s ease; }
.dc-pane .dc-clip:hover .dc-clip-thumb img { transform: scale(1.04); }
.dc-clip-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(5,5,6,.72); box-shadow: 0 0 0 2px rgba(255,255,255,.85); transform: translate(-50%, -50%); }
.dc-clip-play .ic { width: 16px; height: 16px; margin-left: 2px; color: #fff; }
.dc-clip:hover .dc-clip-play { background: var(--dc-y); box-shadow: 0 0 0 2px var(--dc-y); } .dc-clip:hover .dc-clip-play .ic { color: #050506; }
.dc-clip-badge { position: absolute; top: 6px; left: 6px; max-width: calc(100% - 12px); padding: 3px 7px; border-radius: 999px; background: rgba(5,5,6,.82); color: #fff; font: 700 10px/1.2 var(--font); white-space: normal; }
.dc-clip-badge.ev-red { background: #ff2800; } .dc-clip-badge.ev-amber { background: #ff9f0a; color: #050506; } .dc-clip-badge.ev-police { background: #0d1d50; box-shadow: inset 0 0 0 1px #2f7bff; }
.dc-pane .dc-clip-meta { gap: 4px; padding: 0 10px; }
.dc-pane .dc-clip-meta b { font-size: 12px; }
.dc-pane .dc-clip-meta small { overflow: visible; color: #c3c3bf; font-size: 11px; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
.dc-clip-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.dc-pane .dc-clip-chips .dc-chip { font-size: 9px; }
/* Activity (restyled to match) */
.dc-pane .dc-act-tools { margin: 0; }
.dc-pane .dc-act-filters .dc-chip { min-height: 30px; padding: 0 12px; border-color: var(--pp-line2); font: 650 11.5px/1 var(--font); letter-spacing: 0; text-transform: none; }
.dc-pane .dc-act-bar { height: 14px; }
.dc-pane .dc-act-list { gap: 4px; }
.dc-pane .dc-act-list li.dc-act-row { gap: 4px 12px; padding: 4px 0 12px; font-size: 12px; }
.dc-pane .dc-act-ic { width: 24px; height: 24px; font-size: 12px; }
.dc-pane .dc-act-list li.dc-act-row::after { left: 11px; top: 30px; background: #26262a; }
.dc-pane .dc-act-body b { font-weight: 650; }
.dc-pane .dc-act-body small { font-size: 11px; line-height: 1.45; }
/* Narrow panes and large zoom: stack instead of squeezing. */
@container dcpane (max-width: 380px) {
  .dc-live-main { grid-template-columns: 1fr; justify-items: center; }
  .dc-live-stats { width: 100%; }
  .dc-today { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-factors { grid-template-columns: 1fr; }
  .dc-ov-row { grid-template-columns: 1fr; }
  .dc-pane .dc-pane-tabs button .ic { display: none; }
  .dc-qa-btn { min-height: 52px; font-size: 11px; }
}
@media (max-height: 820px) and (min-width: 900px) {
  .dc-pane .dc-pane-head { gap: 8px; padding-top: 12px; }
  .dc-hero-av { width: 52px; height: 52px; font-size: 18px; }
  .dc-qa-btn { min-height: 50px; gap: 4px; }
  .dc-pane .dc-pane-tabs button { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-pane-body > [data-panel], .dc-hero-status.s-en_route i, .dc-rec.is-on::before { animation: none; }
  .dc-prog-fill, .dc-pane .dc-clip, .dc-pane .dc-clip-thumb img, .dc-qa-btn { transition: none; }
  .dc-pane .dc-pane-body { scroll-behavior: auto; }
}
/* Driver pane v2: compact rhythm so Overview fits a 1600×900 screen without scrolling. */
.dc-pane .dc-pane-head { gap: 8px; padding: 14px 16px 8px; }
.dc-hero { gap: 12px; }
.dc-hero-av { width: 52px; height: 52px; margin: 6px 4px 6px 6px; font-size: 18px; }
.dc-hero-id { gap: 6px; }
.dc-hero-status { padding: 8px 12px; }
.dc-qa-btn { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 6px 8px; border-radius: 12px; }
.dc-qa-btn .ic { width: 18px; height: 18px; }
.dc-pane .dc-pane-tabs { margin-bottom: 0; }
.dc-pane .dc-pane-tabs button { min-height: 48px; padding: 6px 2px; }
.dc-pane .dc-pane-tabs button .ic { width: 17px; height: 17px; }
.dc-pane .dc-card { padding: 12px 14px; }
.dc-pane-body > [data-panel] { gap: 8px; }
.dc-pane .dc-card > h3 { margin-bottom: 8px; }
.dc-live-head { margin-bottom: 6px; }
.dc-live-main { grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
.dc-gauge { width: 92px; height: 92px; }
.dc-live-stats { gap: 6px; }
.dc-live-stats li { padding: 6px 8px; }
.dc-live-dev { margin-top: 6px; }
.dc-rprog-head { margin-bottom: 8px; }
.dc-rprog-facts { margin-top: 8px; }
.dc-nextstop { margin-top: 8px; padding: 8px 10px; }
.dc-ov-row { gap: 8px; }
.dc-doing, .dc-scoremini { padding: 10px 12px; }
.dc-doing-ic { width: 40px; height: 40px; font-size: 20px; }
.dc-tile { padding: 6px 8px; }
@container dcpane (max-width: 380px) { .dc-qa-btn { flex-direction: column; gap: 4px; min-height: 50px; } }
@media (max-height: 820px) and (min-width: 900px) {
  .dc-hero-av { width: 46px; height: 46px; font-size: 16px; }
  .dc-qa-btn { min-height: 40px; }
  .dc-pane .dc-pane-tabs button { min-height: 44px; gap: 2px; }
  .dc-hero-status b { font-size: 13.5px; }
}
.dc-hchip { padding: 3px 7px; font-size: 10.5px; }
.dc-pane-x { width: 42px; height: 42px; border-radius: 12px; }
.dc-pane .dc-pane-tabs button { min-height: 46px; }
.dc-pane .dc-pane-body { padding-top: 8px; }
.dc-empty-card > h3 { justify-self: stretch; }
.dc-pane .dc-act-body small, .dc-pane .dc-act-body .dc-ev-actions { grid-column: auto; }

/* Zones (geofences): toolbar toggle, legend sample (a small dashed circle). */
.dc-legend .dc-line.is-zone { width: 14px; height: 14px; border: 2px dashed #e4e4e7; border-radius: 50%; background: transparent; box-shadow: none; }
/* "Set this view as my default": the toolbar's context menu (right-click / long-press) and its toast. */
.dc-ctx { position: absolute; z-index: 20; display: grid; gap: 4px; width: 280px; padding: 6px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: #0d0d0f; box-shadow: 0 18px 44px rgba(0,0,0,.6); animation: dc-panel-in .14s ease-out; }
.dc-ctx-item { display: grid; gap: 3px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.dc-ctx-item b { font-size: 12.5px; font-weight: 700; }
.dc-ctx-item small { color: #a6a6a2; font-size: 11px; line-height: 1.35; }
.dc-ctx-item:hover, .dc-ctx-item:focus-visible { background: rgba(255,255,6,.1); outline: none; box-shadow: inset 0 0 0 1px rgba(255,255,6,.5); }
.dc-ctx-item:first-child b { color: var(--dc-y); }
.dc-toast { position: absolute; z-index: 21; left: 50%; bottom: 140px; padding: 10px 16px; border: 1px solid var(--dc-y); border-radius: 999px; background: #050506; color: #fff; font: 700 13px/1.2 var(--font); box-shadow: 0 10px 30px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s; }
.dc-toast::before { content: "✓ "; color: var(--dc-y); }
.dc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .dc-ctx { animation: none; } .dc-toast { transition: none; } }

/* Phone battery (pro_battery.py): card badge and pane colours. Yellow at the warning level, red at critical, bolt while charging. */
.dc-battbadge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #e8e8e4; white-space: nowrap; }
.dc-battcell { position: relative; display: inline-block; width: 16px; height: 8px; border: 1.5px solid currentColor; border-radius: 2px; }
.dc-battcell::after { content: ""; position: absolute; top: 1px; right: -3.5px; width: 1.5px; height: 3px; background: currentColor; }
.dc-battcell i { position: absolute; top: 1px; bottom: 1px; left: 1px; max-width: calc(100% - 2px); border-radius: 1px; background: currentColor; }
.dc-battbadge.is-low { color: var(--dc-y); }
.dc-battbadge.is-crit { color: #ff2800; }
/* Signal bars beside the battery chip: white, yellow at 1 bar, red at 0 / none, crossed out when the fix is stale. */
.dc-sigbadge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: #ffffff; white-space: nowrap; }
.dc-sigbars { position: relative; display: inline-flex; align-items: flex-end; gap: 1.5px; height: 10px; }
.dc-sigbars i { display: block; width: 2.5px; border-radius: 1px; background: currentColor; opacity: .28; }
.dc-sigbars i.on { opacity: 1; }
.dc-sigbars i.b1 { height: 3px; } .dc-sigbars i.b2 { height: 5px; } .dc-sigbars i.b3 { height: 7.5px; } .dc-sigbars i.b4 { height: 10px; }
.dc-sigbadge.is-low { color: var(--dc-y); }
.dc-sigbadge.is-crit { color: #ff2800; }
.dc-sigbadge.is-stale .dc-sigbars::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(-35deg); }
.dc-battbolt { color: var(--dc-y); font-size: 10px; line-height: 1; }
.dc-live-stats li.is-warn b { color: var(--dc-y); }
.dc-live-stats li.is-warn .dc-batt { border-color: var(--dc-y); }

/* Driver count beside "Drivers": a yellow rounded-square tile with a black number, like the nav icon tiles. */
.dc-count-badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 7px; background: #ffff06; color: #050506; font: 800 12px/1 var(--font); vertical-align: 2px; }
.dc-list-head small.dc-count-badge { color: #050506; font-size: 12.5px; font-weight: 800; }

/* Critical / Warnings pills: rounded rectangles like the count tile. Idle = black with yellow; a warning flips to
   yellow with black, a critical to red with white; each new one flips the pill like the left nav icon tiles. */
#dc-alertset .dc-alerts-btn { border: 1px solid rgba(255,255,6,.45); border-radius: 10px; background: #050506; color: #ffff06; animation: none; box-shadow: none;
  transition: background-color 0s .24s, color 0s .24s, border-color 0s .24s; }
#dc-alertset .dc-alerts-btn .ic { color: #ffff06; animation: none; }
#dc-alertset .dc-alerts-btn i { border-radius: 6px; background: #ffff06; color: #050506; font-weight: 800; }
#dc-alertset .dc-alerts-btn:hover, #dc-alertset .dc-alerts-btn:focus-visible, #dc-alertset .dc-alerts-btn[aria-expanded="true"] { border-color: #ffff06; outline: none; }
#dc-alertset .dc-ab-warn.has-warnings { border-color: #ffff06; background: #ffff06; color: #050506; }
#dc-alertset .dc-ab-warn.has-warnings .ic { color: #050506; }
#dc-alertset .dc-ab-warn.has-warnings i { background: #050506; color: #ffff06; }
#dc-alertset .dc-ab-crit.is-critical { border-color: var(--red-badge, #e02400); background: var(--red-badge, #e02400); color: #fff; }
#dc-alertset .dc-ab-crit.is-critical .ic { color: #fff; }
#dc-alertset .dc-ab-crit.is-critical i { background: #fff; color: var(--red-badge, #e02400); }
#dc-alertset .dc-ab-warn.has-warnings:hover, #dc-alertset .dc-ab-warn.has-warnings:focus-visible { border-color: #050506; }
#dc-alertset .dc-ab-crit.is-critical:hover, #dc-alertset .dc-ab-crit.is-critical:focus-visible { border-color: #fff; }
@keyframes dc-pill-flip { 0% { transform: perspective(400px) rotateY(0); } 50% { transform: perspective(400px) rotateY(90deg); } 100% { transform: perspective(400px) rotateY(0); } }
#dc-alertset .dc-alerts-btn.is-flip { animation: dc-pill-flip .48s cubic-bezier(.2,.75,.25,1); }
@media (prefers-reduced-motion: reduce) { #dc-alertset .dc-alerts-btn.is-flip { animation: none; } #dc-alertset .dc-alerts-btn { transition: none; } }

/* Driver-planned trips (pro-nav-trips.js): the "Driver's own route" chip, brand yellow on dark. */
.dc-own-route, .dc-hchip.dc-own-route { border-color: #ffff06; color: #ffff06; }
.dc-tip .dc-own-route { align-self: flex-start; margin-top: 4px; }

/* Message toasts on the map (pro-dispatch-console.js "message toasts"): dark glass, white text, yellow accents. A deck in
   the top-right corner under the layer tools, left of the driver pane when it is open. Geometry comes from JS as
   custom properties (--mt-y / --mt-s / --mt-z / --mt-h), never inline style attributes. */
.dc-mtoasts { position: absolute; z-index: 7; top: 142px; right: 14px; width: 344px; max-height: calc(100% - 302px); overflow: visible; outline: 0; }
.dc-pane-open .dc-mtoasts { right: calc(var(--dc-pane-w, 420px) + 26px); }
.dc-mtoasts.is-fanned { overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.dc-mt-deck { position: relative; transition: height .26s cubic-bezier(.2,.8,.2,1); }
.dc-mt { position: absolute; top: 0; right: 0; left: 0; z-index: var(--mt-z, 1); display: grid; gap: 9px; padding: 12px 12px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px;
  background: color-mix(in srgb, var(--chrome, #0a0a0b) 90%, transparent); color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.5); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  transform: translateY(var(--mt-y, 0)) scale(var(--mt-s, 1)); transform-origin: 50% 100%; transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s; animation: dc-mt-in .32s cubic-bezier(.2,.8,.2,1); }
.dc-mt.is-behind { height: var(--mt-h, auto); overflow: hidden; border-color: rgba(255,255,255,.3); background: #26262a; box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.dc-mt.is-behind.is-urgent { border-color: var(--dc-y); }
.dc-mt.is-behind > * { visibility: hidden; }
.dc-mt.is-urgent { border-color: var(--dc-y); box-shadow: inset 3px 0 0 var(--dc-y), 0 0 0 1px rgba(255,255,6,.18), 0 16px 40px rgba(0,0,0,.5); }
@keyframes dc-mt-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.dc-mt-head { display: grid; grid-template-columns: 34px minmax(0, 1fr) 26px; align-items: center; gap: 10px; }
.dc-mt-av { width: 34px; height: 34px; font-size: 11px; }
.dc-mt-who { display: grid; gap: 2px; min-width: 0; }
.dc-mt-who b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; font-size: 12.5px; font-weight: 700; overflow-wrap: anywhere; }
.dc-mt-who small { color: var(--dc-mut); font-size: 10.5px; overflow-wrap: anywhere; }
.dc-mt-flag { padding: 2px 6px; border-radius: 999px; background: var(--dc-y); color: #050506; font: 800 8.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dc-mt-x { display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #bdbdb8; cursor: pointer; }
.dc-mt-x:hover { background: rgba(255,255,255,.1); color: #fff; }
.dc-mt-x .ic { width: 14px; height: 14px; }
.dc-mt-body { margin: 0 0 0 44px; color: #f2f2ee; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.dc-mt-reply { display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 6px; margin-left: 44px; }
.dc-mt-reply input { min-width: 0; height: 32px; padding: 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; background: #050506; color: #fff; font: 12px/1.2 var(--font); }
.dc-mt-reply input::placeholder { color: #8d8d89; }
.dc-mt-reply input:focus { border-color: var(--dc-y); outline: 0; }
.dc-mt-send { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 9px; background: var(--dc-y); color: #050506; cursor: pointer; }
.dc-mt-send .ic { width: 15px; height: 15px; transform: scaleX(-1); }
.dc-mt-send:disabled { opacity: .5; cursor: default; }
.dc-mt-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-left: 44px; }
.dc-mt-act { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: transparent; color: #f0f0ec; font: 650 10.5px/1 var(--font); cursor: pointer; }
.dc-mt-act .ic { width: 13px; height: 13px; }
.dc-mt-act:hover { border-color: var(--dc-y); color: var(--dc-y); }
.dc-mt-x:focus-visible, .dc-mt-send:focus-visible, .dc-mt-act:focus-visible, .dc-mt-more:focus-visible, .dc-mt-clear:focus-visible { outline: 2px solid var(--dc-y); outline-offset: 2px; }
.dc-mt-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-left: 2px; }
.dc-mt-more, .dc-mt-count { display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px; border: 1px solid var(--dc-y); border-radius: 999px; background: #050506; color: var(--dc-y); font: 700 10.5px/1 var(--font); }
.dc-mt-more { cursor: pointer; }
.dc-mt-more:hover { background: var(--dc-y); color: #050506; }
.dc-mt-count { border-color: rgba(255,255,255,.16); color: #d8d8d4; }
.dc-mt-clear { min-height: 26px; padding: 0 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: color-mix(in srgb, var(--chrome, #0a0a0b) 80%, transparent); color: #cfcfca; font: 650 10.5px/1 var(--font); cursor: pointer; }
.dc-mt-clear:hover { color: #fff; }
@media (max-width: 899px) { .dc-mtoasts { top: 76px; right: 8px; left: 8px; width: auto; } .dc-pane-open .dc-mtoasts { display: none; } }
@media (prefers-reduced-motion: reduce) { .dc-mt, .dc-mt-deck { animation: none; transition: none; } }
/* Google Maps / Waze hand-off (pro_nav_handoff.py): "Navigating in Google Maps" on the card and the pane */
.dc-chip.dc-handoff { border-color: #cfcfcb; background: transparent; color: #f4f4f0; margin-inline-start: 4px; }

/* Fleet traffic + rerouted live paths (pro_fleet_traffic.py, pro_nav_live.py) */
.dc-line.is-slow { background: #ff8a00; box-shadow: 0 0 0 1px #050506; width: 11px; border-radius: 2px 0 0 2px; }
.dc-line.is-jam { background: #ff1f1f; box-shadow: 0 0 0 1px #050506; width: 11px; border-radius: 0 2px 2px 0; margin-inline-end: 4px; }
.dc-chip.dc-rerouted, .dc-hchip.dc-rerouted { border-color: #ffff06; color: #ffff06; }
.dc-tip .dc-rerouted { align-self: flex-start; margin-top: 4px; }

/* Resizable driver list / driver pane and the collapsible legend (pro-dispatch-console.js "panel layout").
   Widths come from --dc-list-w / --dc-pane-w (set by JS with style.setProperty, clamped); under 900 px they are ignored. */
.dc-resize { position: absolute; z-index: 9; top: 12px; bottom: 12px; width: 10px; padding: 0; border: 0; background: transparent; cursor: col-resize; touch-action: none; }
.dc-resize::after { content: ""; position: absolute; top: 50%; left: 4px; width: 2px; height: 46px; max-height: 60%; transform: translateY(-50%); border-radius: 2px; background: rgba(255,255,255,.22); opacity: 0; transition: opacity .15s, background-color .15s, height .15s; }
.dc-list:hover > .dc-resize::after, .dc-pane:hover > .dc-resize::after { opacity: 1; }
.dc-resize:hover::after, .dc-resize:focus-visible::after, .dc-resize.is-dragging::after { opacity: 1; height: 100%; max-height: 100%; background: var(--dc-y); }
.dc-resize:focus-visible { outline: none; }
.dc-resize-list { right: 0; }
.dc-resize-pane { left: 0; }
.dc-list.is-collapsed > .dc-resize, .dc-list.is-collapsed .dc-width-reset { display: none; }
.dc.is-resizing, .dc.is-resizing * { cursor: col-resize !important; user-select: none; -webkit-user-select: none; }
.dc.is-resizing .dc-pane { animation: none; }
.dc-width-reset { min-height: 22px; padding: 0 8px; border: 1px solid var(--dc-line); border-radius: 999px; background: transparent; color: var(--dc-mut); font: 700 8.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.dc-width-reset:hover, .dc-width-reset:focus-visible { border-color: var(--dc-y); color: var(--dc-y); outline: none; }
.dc-pane > .dc-width-reset { position: absolute; z-index: 9; bottom: 10px; left: 14px; background: #050506; }
/* Wider list: the expanded details lay out two (then three) per row and the meta line stays on one line. */
@container dc-list (min-width: 470px) {
  .dc-card-more { grid-template-columns: 82px minmax(0, 1fr) 82px minmax(0, 1fr); }
  .dc-card-meta { flex-wrap: nowrap; justify-content: flex-start; gap: 3px 18px; }
  .dc-card-name { font-size: 13px; }
}
@container dc-list (min-width: 620px) { .dc-card-more { grid-template-columns: repeat(3, 76px minmax(0, 1fr)); } }
/* Legend: open by default; collapses to a small key button at the bottom right, below the zoom buttons. */
.dc-legend-hide { display: grid; place-items: center; width: 24px; height: 24px; flex: none; margin-left: -4px; padding: 0; border: 1px solid var(--dc-line); border-radius: 7px; background: #1c1c1f; color: #ddd; font: 600 13px/1 var(--font); cursor: pointer; }
.dc-legend-hide:hover, .dc-legend-hide:focus-visible, .dc-legend-btn:hover, .dc-legend-btn:focus-visible { border-color: var(--dc-y); color: var(--dc-y); outline: none; }
.dc-legend-btn { right: 14px; bottom: 14px; border: 1px solid var(--dc-line); display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: #f4f4f0; cursor: pointer; }
.dc-legend-btn[hidden] { display: none; }
.dc-legend-glyph { display: grid; grid-template-columns: 7px 12px; gap: 3px 4px; align-items: center; }
.dc-legend-glyph i { display: block; width: 12px; height: 3px; border-radius: 2px; background: currentColor; }
.dc-legend-glyph i:nth-child(odd) { width: 7px; height: 7px; border-radius: 50%; }
.dc-legend-glyph i:first-child { background: var(--dc-y); }
.dc-pane-open .dc-legend-btn { right: calc(var(--dc-pane-w, 420px) + 26px); }
.dc.legend-collapsed .dc-legend { display: none; }
/* Left-pane pills: Alerts / Messages beside the Drivers pill (collapsed list). The open one shows as pressed. */
.dc-pills { position: absolute; z-index: 5; top: 88px; left: 212px; display: flex; gap: 8px; }
/* With the list open the pills sit beside it, under the layer tools (which fill the top row at 1366 px). */
.dc[data-left="drivers"] .dc-pills { top: 142px; left: calc(var(--dc-list-w, 372px) + 22px); }
.dc-pill { position: static; border: 1px solid var(--dc-line); display: inline-flex; align-items: center; gap: 7px; height: 46px; padding: 0 11px 0 10px; color: #f5f5f2; font: 700 13px/1 var(--font); cursor: pointer; }
.dc-pill .ic { width: 15px; height: 15px; color: var(--dc-y); }
.dc-pill i { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 7px; background: #2a2a2d; color: #f5f5f2; font: 800 12px/1 var(--font); font-style: normal; }
.dc-pill i[hidden] { display: none; }
.dc-pill:hover, .dc-pill:focus-visible { border-color: rgba(255,255,255,.3); outline: none; }
.dc-pill:focus-visible { box-shadow: 0 0 0 2px var(--dc-y); }
.dc-pill[aria-expanded="true"] { border-color: var(--dc-y); }
#dc-pill-msgs i { background: var(--dc-y); color: var(--dc-ink); }
.dc-pill.is-warning i { background: #ff9f0a; color: #050506; }
.dc-pill.is-warning .ic { color: #ff9f0a; }
.dc-pill.is-critical i, #dc-pill-msgs.is-critical i { background: var(--red-badge, #e02400); color: #fff; }
.dc-pill.is-critical .ic { color: #ff2800; }
.dc-pill.is-critical { border-color: rgba(255,40,0,.6); }
/* Alerts and Messages as left panes, under the pill row. */
.dc[data-left] .dc-alerts, .dc[data-left] .dc-list.is-collapsed ~ .dc-alerts { top: 142px; left: 14px; width: var(--dc-alerts-w, 440px); }
.dc[data-left="alerts"] .dc-legend, .dc[data-left="alerts"] .dc-list.is-collapsed ~ .dc-legend { left: calc(var(--dc-alerts-w, 440px) + 28px); }
.dc[data-left="messages"] .dc-legend, .dc[data-left="messages"] .dc-list.is-collapsed ~ .dc-legend { left: calc(var(--dc-msgs-w, 372px) + 28px); }
.dc-msgs { z-index: 7; top: 142px; bottom: 70px; left: 14px; display: flex; flex-direction: column; width: var(--dc-msgs-w, 372px); overflow: hidden; }
.dc-msgs[hidden] { display: none; }
.dc-msgs-head { gap: 8px; }
.dc-msgs-head .dc-msgs-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-msgs-back .ic { transform: rotate(90deg); }
.dc-msgs-full { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid var(--dc-line); border-radius: 8px; color: #e8e8e4; font-size: 10.5px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.dc-msgs-full .ic { width: 13px; height: 13px; color: var(--dc-y); }
.dc-msgs-full:hover, .dc-msgs-full:focus-visible { border-color: var(--dc-y); color: var(--dc-y); outline: none; }
.dc-msgs .dc-close { width: 28px; height: 28px; font-size: 18px; }
@container dc-msgs (max-width: 420px) { .dc-msgs-full span { display: none; } }
.dc-msgs { container: dc-msgs / inline-size; }
.dc-msgs-listview { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-color: #414143 transparent; }
.dc-msgs-listview[hidden], .dc-msgs-threadview[hidden] { display: none; }
.dc-conv-list { margin: 0; padding: 6px 8px 8px; list-style: none; }
.dc-conv { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 11px; width: 100%; margin: 0 0 6px; padding: 10px 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 13px; background: #050506; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.dc-conv:hover, .dc-conv:focus-visible { border-color: rgba(255,255,255,.24); outline: none; }
.dc-conv:focus-visible { box-shadow: inset 0 0 0 2px var(--dc-y); }
.dc-conv[aria-current="true"] { border-color: var(--dc-y); }
.dc-conv.is-urgent { box-shadow: inset 3px 0 0 #ff2800; }
.dc-conv-main { display: grid; gap: 4px; min-width: 0; }
.dc-conv-top, .dc-conv-sub { display: flex; align-items: center; gap: 7px; min-width: 0; }
.dc-conv-top b { min-width: 0; overflow: hidden; color: #fff; font-size: 12.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.dc-conv.is-unread .dc-conv-top b { font-weight: 800; }
.dc-conv-tag { flex: none; padding: 2px 6px; border: 1px solid var(--dc-line); border-radius: 999px; color: #cfcfcb; font: 700 8px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.dc-conv-time { flex: none; margin-left: auto; color: var(--dc-mut); font-size: 10.5px; font-variant-numeric: tabular-nums; }
.dc-conv.is-unread .dc-conv-time { color: var(--dc-y); }
.dc-conv-sub small { flex: 1 1 auto; min-width: 0; overflow: hidden; color: #b8b8b4; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.dc-conv.is-unread .dc-conv-sub small { color: #ececE8; }
.dc-unread.is-urgent { background: var(--red-badge, #e02400); color: #fff; }
.dc-conv-group { background: #1c1c1f; color: var(--dc-y); }
.dc-msgs-threadview { position: relative; display: flex; flex: 1 1 auto; flex-direction: column; min-height: 0; }
.dc-msgs-call { padding: 8px 12px 0; }
.dc-msgs-call[hidden] { display: none; }
.dc-msgs-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 12px; scrollbar-color: #414143 transparent; }
.dc-mthread { gap: 8px; margin: 0; }
.dc-mthread .dc-msg { max-width: 84%; padding: 9px 12px; border-radius: 16px 16px 16px 6px; background: #232326; color: #f2f2ee; font-size: 12px; }
.dc-mthread .dc-msg.is-me { border-radius: 16px 16px 6px 16px; background: var(--dc-y); color: var(--dc-ink); }
.dc-mthread .dc-msg.is-urgent { box-shadow: 0 0 0 2px #ff2800; }
.dc-mthread .dc-msg-day { color: var(--dc-mut); }
.dc-mcompose { padding: 10px 12px 12px; border-top: 1px solid var(--dc-line); }
.dc-mcompose textarea { width: 100%; min-height: 44px; resize: vertical; border: 1px solid var(--dc-line); border-radius: 10px; background: #0c0c0e; color: #f2f2ee; font: 12px/1.4 var(--font); padding: 8px 10px; }
.dc-mcompose textarea:focus-visible { outline: 2px solid var(--dc-y); outline-offset: -1px; }
.dc-mcompose .dc-attach[hidden], .dc-compose-demo[hidden] { display: none; }
.dc-jump { position: absolute; z-index: 2; right: 50%; bottom: 128px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; transform: translateX(50%); border: 1px solid var(--dc-ink); border-radius: 999px; background: var(--dc-y); color: var(--dc-ink); font: 700 11px/1 var(--font); box-shadow: 0 6px 18px rgba(0,0,0,.4); cursor: pointer; }
.dc-jump .ic { width: 13px; height: 13px; }
.dc-jump[hidden] { display: none; }
.dc-jump:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* A wider driver pane leaves less room for the layer tools: icons only, so they never run over the list. */
@media (max-width: 1700px) { .dc-pane-open .dc-tools > .dc-tool span, .dc-pane-open .dc-tools summary span { display: none; } }
@media (min-width: 900px) { .dc-pane-open .dc-tools { max-width: calc(100% - var(--dc-pane-w, 420px) - var(--dc-list-w, 372px) - 54px); flex-wrap: wrap; justify-content: flex-end; } }
@media (max-width: 899px) {
  .dc-resize, .dc-width-reset { display: none; }
  .dc-legend-btn, .dc-pane-open .dc-legend-btn { right: 8px; bottom: 8px; }
  .dc .dc-pane { width: calc(100% - 16px); }
  .dc .dc-alerts { left: 8px; }
}
@media (max-width: 899px) {
  /* Phones: the pills sit on the bottom row beside the Drivers pill; Alerts and Messages open as full-width sheets. */
  .dc-pills, .dc[data-left] .dc-pills, .dc[data-left="drivers"] .dc-pills { top: auto; right: 8px; bottom: 78px; left: auto; }
  .dc[data-left="drivers"] .dc-pills { bottom: calc(42% + 86px); }
  .dc-pill { height: 40px; padding: 0 10px; font-size: 12px; }
  .dc[data-left] .dc-legend, .dc[data-left] .dc-list.is-collapsed ~ .dc-legend { left: 8px; }
  .dc .dc-list.is-collapsed { top: auto; right: auto; bottom: 78px; width: 150px; }
  .dc[data-left] .dc-alerts, .dc[data-left] .dc-list.is-collapsed ~ .dc-alerts, .dc-msgs { top: 150px; right: 8px; bottom: 128px; left: 8px; width: auto; }
  .dc-jump { bottom: 120px; }
}
@media (prefers-reduced-motion: reduce) { .dc-resize::after { transition: none; } .dc-pill, .dc-conv { transition: none; } }

/* Panels open OVER the top map toolbar instead of pushing it: the layer tools stay where they are (owner, Oct 1). */
@media (min-width: 900px) {
  .dc-pane-open .dc-tools { right: 14px; max-width: none; flex-wrap: nowrap; justify-content: flex-start; }
  .dc-pane-open .dc-tools > .dc-tool span, .dc-pane-open .dc-tools summary span { display: inline; }
  .dc-list, .dc-alerts, .dc-msgs, .dc-msgpane { z-index: 6; }
  .dc-pane { z-index: 8; }
}

/* End-to-end encrypted messages decrypted in this browser (pro-e2e.js / pro-e2e-panels.js renderSealed). */
.dc-e2e-body { display: grid; gap: 6px; min-width: 0; }
.dc-e2e-body .pro-msg-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.dc-e2e-body .pro-msg-e2e { color: #d8d8d2; font-style: italic; }
.dc-e2e-body .pro-msg-e2e.is-error { color: #ff8a7a; font-style: normal; }
.dc-e2e-body .pro-msg-e2e.is-wait { color: #bdbdb6; }
/* on our own yellow bubbles: dark, upright text (white italic on yellow could not be read) */
.dc-msg.is-me .pro-msg-e2e, .dc-msg.is-me .dc-e2e-body .pro-msg-e2e { color: rgba(5,5,6,.72); font-style: normal; }
.dc-e2e-body .pro-e2e-play { justify-self: start; color: #f2f2ee; border-color: rgba(255,255,255,.28); background: transparent; }
.dc-e2e-body .pro-e2e-play:hover, .dc-e2e-body .pro-e2e-play:focus-visible { border-color: var(--dc-y); color: var(--dc-y); }
.dc-e2e-body audio, .dc-e2e-body video { display: block; width: 240px; max-width: 100%; }
.dc-e2e-body .pro-att-thumb img { display: block; max-width: 100%; height: auto; border-radius: 10px; }
.dc-compose-demo.is-lock, .dc-mt-lock { border: 0; border-left: 3px solid var(--dc-y); border-radius: 8px; background: #17171a; color: #f2f2ee; }
.dc-mt-lock { margin: 6px 0 0; padding: 6px 10px; font-size: 11.5px; line-height: 1.4; }
.dc-e2e-approvals { display: grid; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--dc-line); background: #050506; color: #f2f2ee; }
.dc-e2e-approvals[hidden] { display: none; }
.dc-e2e-approval { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dc-e2e-approval p { flex: 1 1 180px; margin: 0; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.dc-e2e-approval b { color: var(--dc-y); }
.dc-e2e-approval-acts { display: flex; gap: 6px; }
.dc-e2e-approval .dc-btn.is-ghost { border-color: rgba(255,255,255,.6); background: transparent; color: #f2f2ee; }

/* End-to-end encryption marker on top of a console thread (driver pane and Messages pane). */
.dc-thread-e2e { position: sticky; top: -12px; z-index: 2; display: flex; justify-content: center; margin: -12px 0 4px; padding: 12px 0 6px; list-style: none; background: #050506; }
.dc-msgs .dc-thread-e2e { top: -10px; margin-top: -10px; padding-top: 10px; background: var(--dc-panel); }
.dc-thread-e2e-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border: 1px solid rgba(255,255,6,.55); border-radius: 999px; background: #050506; color: #ffff06; font: 700 10.5px/1.2 var(--font); }
.dc-thread-e2e-chip .ic { width: 12px; height: 12px; flex: none; }

/* ---- Drivers list (rows, not cards): a status bar and word in the status colour, the name, what they're doing,
   and the phone's icons (speed, signal, battery). Tabs are a single underlined row. A person sharing from two or more
   phones is a group: the name once, one row per phone, joined by a yellow bracket. */
.dc-row { --st: rgba(255,255,255,.4); }
.dc-row.s-en_route, .dc-dev-ic.s-en_route { --st: var(--dc-y); }
.dc-row.s-idle, .dc-dev-ic.s-idle { --st: #22c55e; }
.dc-row.s-idle_long, .dc-dev-ic.s-idle_long { --st: #ffb020; }
.dc-row.s-stale, .dc-dev-ic.s-stale { --st: #ff2800; }
.dc-row.s-offline, .dc-dev-ic.s-offline { --st: #e8e8e4; }
.dc-dev-ic.s-online { --st: var(--dc-y); }
.dc-tabs { flex: none; flex-wrap: nowrap; gap: 0; padding: 4px 4px 0; overflow-x: auto; border-bottom: 1px solid var(--dc-line); scrollbar-width: none; }
.dc-tabs::-webkit-scrollbar { display: none; }
.dc-tab { min-height: 32px; padding: 0 7px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: #cfcfca; font-size: 11px; }
.dc-tab:hover { border-color: transparent; border-bottom-color: rgba(255,255,255,.35); color: #fff; }
.dc-tab.is-active { border-bottom-color: var(--dc-y); background: none; color: #fff; }
.dc-tab i { color: var(--dc-mut); font: 700 9.5px/1 var(--mono); }
.dc-tab.is-active i { color: var(--dc-y); }
.dc-tab:focus-visible { outline: 2px solid var(--dc-y); outline-offset: -2px; }
.dc-drivers { padding: 0 4px 6px; }
.dc-card-li { contain-intrinsic-size: auto 56px; }
.dc-driver.dc-row { margin: 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; background: transparent; }
.dc-driver.dc-row::before { content: ""; position: absolute; top: 9px; bottom: 9px; left: 2px; width: 3px; border-radius: 2px; background: var(--st); }
.dc-driver.dc-row:hover, .dc-driver.dc-row:focus-within { border-color: rgba(255,255,255,.07); background: rgba(255,255,255,.035); }
.dc-driver.dc-row[aria-current="true"] { border-color: rgba(255,255,255,.07); background: rgba(255,255,6,.07); box-shadow: inset 0 0 0 1px rgba(255,255,6,.4); }
.dc-driver.dc-row.is-sample { border-style: solid; }
.dc-row .dc-card-hit { grid-template-columns: 30px minmax(0, 1fr); gap: 2px 10px; padding: 8px 34px 8px 12px; }
.dc-row .dc-avatar { width: 30px; height: 30px; font-size: 10.5px; }
.dc-row .dc-avatar::after { width: 9px; height: 9px; }
.dc-row-main { display: grid; gap: 3px; min-width: 0; }
.dc-row-l1 { display: flex; align-items: center; gap: 6px; min-width: 0; }
.dc-row-l1 .dc-card-name { flex: 0 1 auto; min-width: 0; overflow: hidden; color: #fff; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.dc-row-sub { flex: none; color: var(--dc-mut); font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.dc-row-crit { display: inline-flex; flex: none; color: #ff2800; }
.dc-row-crit .ic { width: 13px; height: 13px; }
.dc-row-icons { display: inline-flex; flex: none; align-items: center; gap: 9px; margin-left: auto; }
.dc-row-icons .dc-sigbadge, .dc-row-icons .dc-battbadge { font-size: 10px; }
.dc-row-speed { color: #fff; font: 700 10.5px/1 var(--mono); white-space: nowrap; }
.dc-row-speed small { margin-left: 2px; color: var(--dc-mut); font-size: 8.5px; font-weight: 600; }
.dc-row-l2 { display: block; min-width: 0; overflow: hidden; color: #cfcfca; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.dc-row-st { color: var(--st); font-weight: 700; }
.dc-row-act::before { content: " · "; color: var(--dc-mut); }
.dc-row .dc-card-hit > .dc-progress { height: 3px; margin-top: 4px; }
.dc-row .dc-card-chev { top: 10px; right: 4px; width: 26px; height: 26px; }
.dc-row .dc-card-more { margin: 0 10px 10px 52px; }
.dc-group { position: relative; border-bottom: 1px solid rgba(255,255,255,.07); }
.dc-group .dc-driver.dc-row { border-bottom: 0; }
.dc-group .dc-driver.dc-row::before { display: none; }
.dc-group.is-linked { background: rgba(255,255,6,.04); }
/* The bracket "[": square 2px lines, no rounding. The header draws the top tick and the line down; each phone row
   carries the line with a tick at its middle, and the last one ends it with the bottom tick. */
.dc-group-head::after, .dc-group .dc-dev::after { content: ""; position: absolute; z-index: 1; left: 4px; width: 9px; pointer-events: none; }
.dc-group-head::after { top: 50%; bottom: 0; border-top: 2px solid var(--dc-y); border-left: 2px solid var(--dc-y); }
.dc-group .dc-dev::after { top: 0; bottom: 0; border-left: 2px solid var(--dc-y); background: linear-gradient(var(--dc-y), var(--dc-y)) no-repeat 0 calc(50% - 1px) / 100% 2px; }
.dc-devs > li:last-child .dc-dev::after { bottom: auto; height: calc(50% + 1px); border-bottom: 2px solid var(--dc-y); background: none; }
.dc-group.is-closed .dc-group-head::after { top: 12px; bottom: 12px; border-bottom: 2px solid var(--dc-y); }
.dc-group-head .dc-card-hit { padding-left: 16px; }
.dc-group-tog .ic { transition: transform .22s ease; }
.dc-group:not(.is-closed) .dc-group-tog .ic { transform: rotate(180deg); }
.dc-group-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .24s ease; }
.dc-group.is-closed .dc-group-wrap { grid-template-rows: 0fr; }
.dc-group-inner { min-height: 0; overflow: hidden; }
.dc-devs { margin: 0; padding: 0 0 4px; list-style: none; }
.dc-dev .dc-card-hit { grid-template-columns: 22px minmax(0, 1fr); padding: 6px 12px 6px 30px; }
.dc-dev .dc-card-name { font-size: 12px; font-weight: 600; }
.dc-dev-ic { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--st); }
.dc-dev-ic .ic { width: 14px; height: 14px; }
.dc-pane-dev .ic { color: var(--dc-y); }
@media (prefers-reduced-motion: reduce) { .dc-group-wrap, .dc-group-tog .ic { transition: none; } }
@media (max-width: 899px) { .dc-row .dc-card-hit { padding-top: 7px; padding-bottom: 7px; } .dc-row-icons { gap: 7px; } }

/* Driver pane LIVE card: the phone line, "Updated …" and the tile labels at a readable size and brightness. */
.dc-pane { --pp-mut: #bdbdb8; }
.dc-pane .dc-live-dev { margin-top: 10px; color: #f4f4f1; font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.dc-pane .dc-live-upd { color: #d6d6d2; font-size: 12px; }
.dc-pane .dc-live-stats small { color: #c9c9c5; font-size: 9.5px; }

/* ---- Map layout manager (pro-dispatch-console.js "map layout manager"): slotted floating items are placed with a
   translate3d offset in the free map area; one transform / opacity transition, none on the first layout or with
   reduced motion. */
.dc-lm .lm-slot { top: 0 !important; right: auto !important; bottom: auto !important; left: 0 !important; margin: 0 !important; max-width: var(--lmw, none);
  transform: translate3d(var(--lx, 0), var(--ly, 0), 0) !important; transition: transform .22s cubic-bezier(.2,.75,.25,1), opacity .22s cubic-bezier(.2,.75,.25,1), visibility 0s linear 0s; will-change: transform; }
.dc-lm .lm-slot.lm-off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s ease, visibility 0s linear .16s; }
.dc-lm.lm-init .lm-slot { transition: none !important; }
.dc-lm .dc-mtoasts.lm-slot { max-height: var(--lmh, none); overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
.dc-lm .dc-tools.lm-slot { flex-wrap: wrap; justify-content: flex-end; }
.dc-lm .dc-legend.lm-slot { width: max-content; }
.dc-lm .dc-exit-view.lm-slot:hover, .dc-lm .dc-exit-view.lm-slot:focus-visible { transform: translate3d(var(--lx, 0), calc(var(--ly, 0) - 2px), 0) !important; }
.dc-lm.lm-legend-fold .dc-legend .dc-legend-hide { display: none; }
.dc-tools-more { display: none; }
.dc-tools.lm-fold > :not(.dc-tools-more) { display: none; }
.dc-tools.lm-fold > .dc-tools-more { display: inline-flex; }
.dc-tools.lm-fold.is-open { flex-direction: column; align-items: stretch; }
.dc-tools.lm-fold.is-open > :not(.dc-tools-more):not([hidden]) { display: flex; }
.dc-tools.lm-fold.is-open > .dc-styles { justify-content: space-between; }
.dc-tools-more[aria-expanded="true"] { background: var(--dc-y); color: var(--dc-ink); }
@media (prefers-reduced-motion: reduce) { .dc-lm .lm-slot, .dc-lm .lm-slot.lm-off { transition: none !important; } }
.dc-lm .dc-pills.lm-stack { flex-direction: column; align-items: flex-start; }
@media (max-width: 899px) { .dc.dc-lm .dc-alerts, .dc.dc-lm[data-left] .dc-alerts, .dc.dc-lm[data-left] .dc-list.is-collapsed ~ .dc-alerts, .dc.dc-lm .dc-msgs { top: var(--lm-top, 150px); } }
.dc-qa-btn[hidden] { display: none; }

/* ---- Toolbar (pro-dispatch-console.js "toolbar"): one 48 px bar under the status strip; panes start below it. */
.dc.has-tbar .dc-list.is-collapsed, .dc.has-tbar #dc-list-toggle { display: none !important; }
.dc-tbar { position: absolute; z-index: 6; top: var(--dc-tbar-t, 96px); right: 14px; left: 14px; display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px; white-space: nowrap; }
.dc-tbar > * { flex: none; }
.dc-tbar .dc-tb-grow { flex: 1 1 0; min-width: 0; }
.dc-tbar .ic { width: 16px; height: 16px; flex: none; }
.dc-panetabs, .dc-tbar .dc-styles { display: flex; align-items: center; gap: 2px; height: 36px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.06); }
.dc-ptab, .dc-tbar .dc-styles button { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border: 0; border-radius: 7px; background: none; color: #e8e8e4; font: 650 12px/1 var(--font); cursor: pointer; }
.dc-ptab:hover, .dc-tbar .dc-styles button:hover { background: rgba(255,255,255,.08); color: #fff; }
.dc-ptab[aria-expanded="true"], .dc-tbar .dc-styles button[aria-pressed="true"] { background: var(--dc-y); color: var(--dc-ink); }
.dc-ptab i { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: rgba(255,255,255,.14); color: #fff; font: 700 10px/1 var(--mono); font-style: normal; }
.dc-ptab i[hidden] { display: none; }
.dc-ptab[aria-expanded="true"] i { background: var(--dc-ink); color: var(--dc-y); }
.dc-ptab.is-critical i { background: var(--red-badge, #e02400); color: #fff; }
.dc-ptab.is-warning i { background: var(--dc-y); color: var(--dc-ink); }
.dc-ptab[aria-expanded="true"].is-warning i { background: var(--dc-ink); color: var(--dc-y); }
.dc-tbbtn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 11px; border: 1px solid var(--dc-line); border-radius: 10px; background: transparent; color: #e8e8e4; font: 650 12px/1 var(--font); cursor: pointer; }
.dc-tbbtn:hover { border-color: rgba(255,255,255,.35); color: #fff; }
.dc-tbbtn[aria-expanded="true"] { border-color: var(--dc-y); color: var(--dc-y); }
.dc-tbbtn[hidden] { display: none; }
.dc-dd-chev { width: 12px !important; height: 12px !important; opacity: .8; transition: transform .18s ease; }
.dc-tbbtn[aria-expanded="true"] .dc-dd-chev { transform: rotate(180deg); }
.dc-exitv { border-color: var(--dc-y); background: var(--dc-y); color: var(--dc-ink); font-weight: 750; }
.dc-exitv:hover { border-color: #fff; color: var(--dc-ink); }
.dc-ptab:focus-visible, .dc-tbbtn:focus-visible, .dc-tbar .dc-styles button:focus-visible, .dc-layer-row:focus-visible { outline: 2px solid var(--dc-y); outline-offset: 2px; }
.dc-dd { position: relative; }
.dc-ddmenu, .dc-tbar[data-tier]:not([data-tier="0"]) .dc-view-body { position: absolute; z-index: 12; top: calc(100% + 10px); right: 0; min-width: 260px; padding: 6px; border: 1px solid var(--dc-line); border-radius: 12px; background: #0f0f11; box-shadow: 0 18px 40px rgba(0,0,0,.5); white-space: normal; }
.dc-ddmenu[hidden] { display: none; }
.dc-dd-h { margin: 6px 10px; color: #bdbdb8; font: 700 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.dc-layers-menu .dc-layer-row { display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: #f4f4f1; font: 600 12.5px/1 var(--font); text-align: left; cursor: pointer; }
.dc-layers-menu .dc-layer-row[hidden] { display: none; }
/* Geofences toggle + "Edit geofences" (owners and admins) on one row; alone ("Add geofences") it lines up with the toggles' text. */
.dc-layers-menu .dc-layer-pair { display: flex; align-items: center; }
.dc-layers-menu .dc-layer-pair .dc-layer-row { flex: 1; min-width: 0; }
.dc-layers-menu .dc-layer-edit { display: flex; flex: none; align-items: center; height: 38px; padding: 0 10px; border-radius: 8px; color: var(--dc-y); font: 600 12px/1 var(--font); text-decoration: none; white-space: nowrap; }
.dc-layers-menu .dc-layer-edit:hover, .dc-layers-menu .dc-layer-edit:focus-visible { background: rgba(255,255,255,.06); text-decoration: underline; outline: none; }
.dc-layers-menu .dc-layer-edit[hidden] { display: none; }
.dc-layers-menu .dc-layer-row[hidden] + .dc-layer-edit { flex: 1; }
.dc-layers-menu .dc-layer-row:hover { background: rgba(255,255,255,.06); }
.dc-layers-menu .dc-layer-soon, .dc-layers-menu .dc-layer-soon:hover { color: #8d8d88; background: none; cursor: default; }
.dc-layers-menu .dc-layer-soon::before { visibility: hidden; }
.dc-layers-menu .dc-layer-soon .ic { color: #8d8d88; }
.dc-layers-menu .dc-layer-row::before { content: ""; display: grid; flex: none; place-items: center; width: 16px; height: 16px; border: 1.5px solid #cfcfca; border-radius: 4px; color: #050506; font: 900 11px/1 var(--font); }
.dc-layers-menu .dc-layer-row[aria-pressed="true"]::before { content: "✓"; border-color: var(--dc-y); background: var(--dc-y); }
.dc-layers-menu .dc-layer-row .ic { color: var(--dc-y); }
.dc-layers-menu .dc-adv { margin-top: 4px; border-top: 1px solid var(--dc-line); }
.dc-layers-menu .dc-adv summary { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border: 0; background: none; color: #bdbdb8; font: 700 9.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; list-style: none; cursor: pointer; }
.dc-layers-menu .dc-adv summary::-webkit-details-marker { display: none; }
.dc-layers-menu .dc-adv-menu { position: static; width: auto; padding: 0 4px 4px; border: 0; box-shadow: none; background: none; }
/* The map's day (pro_console_day.py): Today / Yesterday / Last 7 days / a picked day. Another day than today lights
   the button yellow and shows "Back to today" beside it. */
.dc-day-menu { left: 0; right: auto; min-width: 270px; }
.dc-tbar:has(.dc-tbbtn[aria-expanded="true"]) { z-index: 8; }   /* an open toolbar menu sits over the message toasts */
.dc-day-menu .dc-day-opt { display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: #f4f4f1; font: 600 12.5px/1 var(--font); text-align: left; cursor: pointer; }
.dc-day-menu .dc-day-opt:hover { background: rgba(255,255,255,.06); }
.dc-day-menu .dc-day-opt::before { content: ""; flex: none; width: 14px; height: 14px; border: 1.5px solid #cfcfca; border-radius: 50%; box-sizing: border-box; }
.dc-day-menu .dc-day-opt[aria-checked="true"]::before { border: 4px solid var(--dc-y); background: var(--dc-ink); }
.dc-day-menu .dc-day-opt small { margin-left: auto; color: #bdbdb8; font: 600 11px/1 var(--font); }
.dc-day-menu .dc-day-opt:focus-visible { outline: 2px solid var(--dc-y); outline-offset: -2px; }
.dc-day-pick { display: flex; align-items: center; gap: 10px; min-height: 40px; margin-top: 4px; padding: 6px 10px 2px; border-top: 1px solid var(--dc-line); color: #f4f4f1; font: 600 12.5px/1 var(--font); }
.dc-day-pick span { flex: 1; white-space: nowrap; }
.dc-alerts-day { padding: 8px 12px; color: #e8e8e4; font: 600 12px/1.4 var(--font); list-style: none; }
.dc-alerts-day button { padding: 0; border: 0; background: none; color: var(--dc-y); font: 650 12px/1.4 var(--font); cursor: pointer; }
.dc-alerts-day button:hover, .dc-alerts-day button:focus-visible { text-decoration: underline; outline: none; }
.dc-day-pick input { height: 30px; padding: 0 8px; border: 1px solid var(--dc-line); border-radius: 8px; background: var(--dc-ink); color: #fff; font: 600 12px/1 var(--font); color-scheme: dark; }
.dc-day-pick input:focus-visible { outline: 2px solid var(--dc-y); outline-offset: 1px; }
.dc-day-note { margin: 4px 10px 6px; color: #bdbdb8; font: 500 11.5px/1.4 var(--font); }
.dc-day-note:empty { display: none; }
.dc-day-note.is-err { color: #ff6b5a; }
.dc-day-btn.is-past { border-color: var(--dc-y); background: var(--dc-y); color: var(--dc-ink); font-weight: 750; }
.dc-day-btn.is-past:hover { border-color: #fff; color: var(--dc-ink); }
.dc-day-btn.is-past[aria-expanded="true"] { color: var(--dc-ink); }
.dc-day-back { border-color: var(--dc-y); color: var(--dc-y); }
.dc-day-back:hover { border-color: #fff; color: #fff; }
.dc-tbar[data-tier="3"] #dc-day-label, .dc-tbar[data-tier="4"] #dc-day-label { display: inline; }
.dc-tbar[data-tier="0"] .dc-view-body { display: contents; }
.dc-tbar[data-tier]:not([data-tier="0"]) .dc-view-body { display: none; min-width: 0; }
.dc-tbar[data-tier]:not([data-tier="0"]) .dc-view.is-open .dc-view-body { display: grid; gap: 8px; }
.dc-tbar .dc-view-body .dc-styles { width: max-content; }
.dc-tbar[data-tier="3"] .tb-txt, .dc-tbar[data-tier="4"] .tb-txt { display: none; }
.dc-tbar[data-tier="4"] .dc-view-body #dc-fit .tb-txt { display: inline; }
.dc-tbar[data-tier="3"] .dc-ptab, .dc-tbar[data-tier="3"] .dc-tbbtn, .dc-tbar[data-tier="4"] .dc-ptab, .dc-tbar[data-tier="4"] .dc-tbbtn { padding: 0 9px; }
@media (min-width: 900px) {
  .dc.has-tbar .dc-list:not(.is-collapsed), .dc.has-tbar .dc-alerts, .dc.has-tbar[data-left] .dc-alerts, .dc.has-tbar .dc-msgs, .dc.has-tbar .dc-pane { top: var(--dc-tbar-b, 152px) !important; }
}
@media (max-width: 899px) { .dc-tbar { right: 8px; left: 8px; } .dc.has-tbar .dc-exitv { display: none; } }
/* Legend: a "Legend" button in the bottom-right column; the key opens as a two-column popover above it. */
.dc.has-tbar .dc-legend-btn { width: auto; height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; font: 650 12px/1 var(--font); }
.dc.has-tbar .dc-legend-btn[aria-expanded="true"] { border-color: var(--dc-y); color: var(--dc-y); }
.dc.has-tbar .dc-legend.lm-slot { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); align-items: start; gap: 0 28px; width: max-content; max-height: var(--lmh, none); padding: 12px 34px 12px 16px; overflow-y: auto; }
.dc.has-tbar .dc-legend .dc-leg-sec { display: grid; gap: 7px; padding: 10px 0; border-top: 1px solid var(--dc-line); }
.dc.has-tbar .dc-legend .dc-leg-sec:nth-of-type(-n+2) { border-top: 0; padding-top: 2px; }
.dc.has-tbar .dc-legend .dc-leg-sec h4 { margin: 0 0 2px; color: #bdbdb8; font: 700 10px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc.has-tbar .dc-legend .dc-key { display: flex; align-items: center; gap: 10px; color: #f4f4f1; font-size: 12.5px; white-space: nowrap; }
.dc.has-tbar .dc-legend .dc-key[hidden] { display: none; }
.dc-legend .dc-leg-badges { display: grid; gap: 7px; }
.dc-legend .dc-leg-badge { flex: none; width: 24px; height: 24px; }
.dc-legend .dc-leg-stack { display: inline-grid; flex: none; place-items: center; width: 18px; height: 18px; border: 2px solid #050506; border-radius: 50%; background: #ffff06; color: #050506; font: 800 11px/1 var(--font); font-style: normal; }
.dc-legend .dc-line.is-tie { background: repeating-linear-gradient(90deg, #ffff06 0 4px, transparent 4px 8px); opacity: .8; }
.dc-legend .dc-leg-ring { flex: none; width: 20px; height: 20px; border-radius: 50%; }
.dc-legend .dc-leg-ring.is-police { box-shadow: inset 0 0 0 3px #ff2800, 0 0 0 2px #2f7bff; }
.dc-legend .dc-leg-ring.is-accident { box-shadow: inset 0 0 0 3px #ff2800; background: rgba(255,40,0,.25); }
@media (max-width: 599px) { .dc.has-tbar .dc-legend.lm-slot { grid-template-columns: minmax(0, 1fr); } .dc.has-tbar .dc-legend .dc-leg-sec:nth-of-type(2) { border-top: 1px solid var(--dc-line); padding-top: 10px; } }
.dc.has-tbar .dc-legend .dc-legend-hide { position: absolute; top: 6px; right: 6px; }

/* ==== Driver pane, flat (owner, Oct 2026): no cards or tiles. A compact header, an icon toolbar with a ⋯ menu,
   underline tabs, hairline-divided sections, key–value rows, compact tables, inline status text. One type scale:
   13px body, 11px caps labels, 16px icons, tabular numbers, 8px rhythm. ==== */
.dc .dc-pane.pp2 { --pp-card: transparent; --pp-line: rgba(255,255,255,.09); --pp-mut: #bdbdb8; background: #0b0b0d; font-size: 13px; }
.dc .dc-pane.pp2 .dc-pane-head { padding: 14px 16px 0; border-bottom: 1px solid var(--pp-line); background: none; }
.dc .dc-pane.pp2 .dc-hero { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 0; padding: 0; }
.dc .dc-pane.pp2 .dc-hero-av { width: 40px; height: 40px; font-size: 13px; box-shadow: none; border-width: 2px; }
.dc .dc-pane.pp2 .dc-hero-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.dc .dc-pane.pp2 .dc-hero-name h2 { margin: 0; overflow: hidden; font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-overflow: ellipsis; white-space: nowrap; }
.dc .dc-pane.pp2 .dc-sample-chip { padding: 0; border: 0; background: none; color: var(--dc-y); font: 700 10px/1 var(--mono); letter-spacing: .1em; }
.dc .dc-pane.pp2 .dc-hero-chips { display: block; margin-top: 3px; overflow: visible; color: #cfcfca; font-size: 12px; line-height: 1.4; white-space: normal; }  /* wraps between parts, never cut */
.dc .dc-pane.pp2 .dc-hero-chips > .dc-local { white-space: nowrap; }
.dc .dc-pane.pp2 .dc-hero-chips > * { display: inline; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.dc .dc-pane.pp2 .dc-hero-chips > * + *::before { content: " · "; color: var(--pp-mut); }
.dc .dc-pane.pp2 .dc-hero-chips .ic, .dc .dc-pane.pp2 .dc-hero-chips svg { display: none; }
.dc .dc-pane.pp2 .dc-pane-x { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; }
.dc .dc-pane.pp2 .dc-pane-x:hover { background: rgba(255,255,255,.08); }
.dc .dc-pane.pp2 .dc-pane-x kbd { display: none; }
.dc .dc-pane.pp2 .dc-hero-status { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 0; padding: 0; border: 0; background: none; font-size: 13px; }
.dc .dc-pane.pp2 .dc-hero-status i { flex: none; align-self: center; width: 8px; height: 8px; }
.dc .dc-pane.pp2 .dc-hero-status b { min-width: 0; overflow: hidden; color: #fff; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.dc .dc-pane.pp2 .dc-hero-status small { flex: none; margin: 0 0 0 auto; color: var(--pp-mut); font-size: 12px; }
/* Monitor line */
.dc-pane.pp2 .dc-monitor { margin: 10px 0 0; }
.dc-pane.pp2 .dc-mon-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 12px; padding: 10px 0; border-top: 1px solid var(--pp-line); }
.dc-pane.pp2 .dc-mon-i { display: grid; gap: 2px; min-width: 0; }
.dc-pane.pp2 .dc-mon-i small { color: var(--pp-mut); font: 700 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dc-pane.pp2 .dc-mon-i b, .dc-pane.pp2 .dc-mon-i .dc-sigbadge, .dc-pane.pp2 .dc-mon-i .dc-battbadge { overflow: hidden; color: #f4f4f1; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.dc-pane.pp2 .dc-mon-i.is-rec b { color: #ff6a4d; }
.dc-pane.pp2 .dc-mon-alerts { margin: 0; padding: 0; list-style: none; }
.dc-pane.pp2 .dc-mon-alerts li { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--pp-line); font-size: 12.5px; }
.dc-pane.pp2 .dc-mon-alerts li > i { width: 8px; height: 8px; border-radius: 50%; background: var(--dc-y); }
.dc-pane.pp2 .dc-mon-alerts li.sev-critical > i { background: #ff2800; }
.dc-pane.pp2 .dc-mon-alerts li b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dc-pane.pp2 .dc-mon-alerts li small { color: var(--pp-mut); font-variant-numeric: tabular-nums; }
.dc-pane.pp2 .dc-mon-alerts .dc-mon-more { display: block; }
.dc-pane .dc-tlink { padding: 2px 0; border: 0; background: none; color: var(--dc-y); font: 650 12px/1.2 var(--font); cursor: pointer; }
.dc-pane .dc-tlink:hover { text-decoration: underline; }
/* Actions: an icon toolbar + ⋯ */
.dc .dc-pane.pp2 .dc-qa { display: flex; gap: 2px; margin: 4px -6px 0; padding: 6px 0; border-top: 1px solid var(--pp-line); }
.dc .dc-pane.pp2 .dc-qa-btn { flex: 0 0 auto; display: inline-flex; flex-direction: row; align-items: center; gap: 6px; min-height: 32px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: none; color: #e8e8e4; font: 600 12px/1 var(--font); box-shadow: none; }
.dc .dc-pane.pp2 .dc-qa-btn:hover:not(:disabled) { background: rgba(255,255,255,.08); color: #fff; }
.dc .dc-pane.pp2 .dc-qa-btn:disabled { opacity: .45; }
.dc .dc-pane.pp2 .dc-qa-btn .ic { width: 16px; height: 16px; color: var(--dc-y); }
.dc .dc-pane.pp2 .dc-qa-btn[aria-expanded="true"] { background: rgba(255,255,6,.12); color: var(--dc-y); }
.dc .dc-pane.pp2 .dc-qa-more { margin-left: auto; }
.dc .dc-pane.pp2 .dc-qa-more .ic { color: #e8e8e4; }
@container dcpane (max-width: 520px) { .dc .dc-pane.pp2 .dc-qa-btn span { display: none; } .dc .dc-pane.pp2 .dc-qa-btn { width: 36px; justify-content: center; padding: 0; } }
.dc-pane.pp2 { position: absolute; }
.dc-pane.pp2 .dc-qa-menu { position: absolute; z-index: 20; right: 12px; width: 230px; margin-top: -2px; padding: 6px; border: 1px solid var(--dc-line); border-radius: 10px; background: #111114; box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.dc-pane.pp2 .dc-qa-menu[hidden] { display: none; }
.dc-pane.pp2 .dc-qa-mh { margin: 6px 8px 4px; color: var(--pp-mut); font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc-pane.pp2 .dc-qa-mi { display: block; width: 100%; padding: 8px; border: 0; border-radius: 6px; background: none; color: #f4f4f1; font: 550 13px/1.2 var(--font); text-align: left; text-decoration: none; cursor: pointer; }
.dc-pane.pp2 .dc-qa-mi:hover:not(:disabled), .dc-pane.pp2 .dc-qa-mi:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.dc-pane.pp2 .dc-qa-mi:disabled { color: #77777a; cursor: default; }
.dc-pane.pp2 .dc-qa-mi.is-danger { color: #ff6a4d; }
/* Tabs: underline, small numerals */
.dc .dc-pane.pp2 .dc-pane-tabs { display: flex; gap: 0; min-height: 0; margin: 0; padding: 0 8px; overflow-x: auto; border: 0; border-bottom: 1px solid var(--pp-line); border-radius: 0; background: none; scrollbar-width: none; }
.dc .dc-pane.pp2 .dc-pane-tabs::-webkit-scrollbar { display: none; }
.dc .dc-pane.pp2 .dc-pane-tabs button { flex: none; display: inline-flex; flex-direction: row; align-items: center; gap: 4px; height: 38px; min-height: 0; padding: 0 8px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: #cfcfca; font: 600 12.5px/1 var(--font); }
.dc .dc-pane.pp2 .dc-pane-tabs button .ic { display: none; }
.dc .dc-pane.pp2 .dc-pane-tabs button:hover { color: #fff; }
.dc .dc-pane.pp2 .dc-pane-tabs button.is-active, .dc .dc-pane.pp2 .dc-pane-tabs button[aria-selected="true"] { border-bottom-color: var(--dc-y); background: none; color: #fff; }
.dc .dc-pane.pp2 .dc-pane-tabs button i { position: static; display: inline; min-width: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: none !important; color: var(--dc-y); font: 700 10.5px/1 var(--mono); box-shadow: none; }
.dc .dc-pane.pp2 .dc-pane-tabs button i[hidden] { display: none; }
/* Body: sections, not cards */
.dc .dc-pane.pp2 .dc-pane-body { padding: 0 16px 24px; }
.dc .dc-pane.pp2 .dc-pane-body > [data-panel] { display: block; gap: 0; animation: pp2-in .18s ease-out; }
@keyframes pp2-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dc .dc-pane.pp2 .dc-pane-body > [data-panel] { animation: none; } }
.dc .dc-pane.pp2 .dc-card, .dc .dc-pane.pp2 .dc-sec { margin: 0; padding: 14px 0; border: 0; border-top: 1px solid var(--pp-line); border-radius: 0; background: none; box-shadow: none; }
.dc .dc-pane.pp2 [data-panel] > .dc-card:first-child, .dc .dc-pane.pp2 [data-panel] > .dc-sec:first-child, .dc .dc-pane.pp2 [data-panel] > :first-child { border-top: 0; }
.dc .dc-pane.pp2 .dc-card > h3, .dc .dc-pane.pp2 .dc-sec-h, .dc .dc-pane.pp2 .dc-live-head h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; color: var(--pp-mut); font: 700 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dc .dc-pane.pp2 .dc-card > h3 small { margin-left: auto; color: #9d9d99; font: 500 11px/1.2 var(--font); letter-spacing: 0; text-transform: none; }
.dc .dc-pane.pp2 .dc-muted { color: var(--pp-mut); font-size: 12px; }
.dc .dc-pane.pp2 .dc-tile, .dc .dc-pane.pp2 .dc-stat, .dc .dc-pane.pp2 .dc-live-stats li, .dc .dc-pane.pp2 .dc-todaycard { border: 0; border-radius: 0; background: none; box-shadow: none; }
/* Pills become inline status text */
.dc .dc-pane.pp2 .dc-pill, .dc .dc-pane.pp2 .dc-chip, .dc .dc-pane.pp2 .dc-rec { min-height: 0; height: auto; padding: 0; border: 0; border-radius: 0; background: none !important; color: #cfcfca; font: 650 11.5px/1.2 var(--font); letter-spacing: 0; text-transform: none; box-shadow: none; }
.dc .dc-pane.pp2 .dc-pill.p-in_progress, .dc .dc-pane.pp2 .dc-pill.p-next, .dc .dc-pane.pp2 .dc-pill.p-accepted { color: var(--dc-y); }
.dc .dc-pane.pp2 .dc-pill.p-late, .dc .dc-pane.pp2 .dc-pill.p-skip { color: #ff6a4d; }
.dc .dc-pane.pp2 .dc-pill + .dc-pill::before, .dc .dc-pane.pp2 .dc-rs-chips > * + *::before { content: "· "; color: var(--pp-mut); }
/* LIVE (Overview): key–value rows */
.dc .dc-pane.pp2 .dc-livecard .dc-live-head { margin: 0 0 6px; }
.dc .dc-pane.pp2 .dc-livecard .dc-live-upd { font-size: 12px; }
.dc .dc-pane.pp2 .dc-rec.is-on { color: #ff6a4d; }
.dc .dc-pane.pp2 .dc-live-main { display: block; }
.dc .dc-pane.pp2 .dc-live-main > .dc-gauge, .dc .dc-pane.pp2 .dc-live-main > svg:first-child { display: none; }
.dc .dc-pane.pp2 .dc-live-stats { display: block; width: 100%; }
.dc .dc-pane.pp2 .dc-live-stats li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--pp-line); }
.dc .dc-pane.pp2 .dc-live-stats li:first-child { border-top: 0; }
.dc .dc-pane.pp2 .dc-live-stats li > span:last-child { display: flex; flex: 1; justify-content: space-between; gap: 12px; }
.dc .dc-pane.pp2 .dc-live-stats small { color: #cfcfca; font: 500 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.dc .dc-pane.pp2 .dc-live-stats b { font-size: 13px; text-align: right; }
.dc .dc-pane.pp2 .dc-live-dev { margin: 8px 0 0; font-size: 12.5px; }
/* Overview: route progress / today / doing now / score as rows */
.dc .dc-pane.pp2 .dc-rprog-head, .dc .dc-pane.pp2 .dc-rsum .dc-rprog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.dc .dc-pane.pp2 .dc-rprog-head h3, .dc .dc-pane.pp2 .dc-rsum-title h3 { margin: 0; color: #fff; font: 650 14px/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.dc .dc-pane.pp2 .dc-rsum-title small { display: block; color: var(--pp-mut); font: 500 11.5px/1.3 var(--font); }
.dc .dc-pane.pp2 .dc-prog-track { height: 4px; }
.dc .dc-pane.pp2 .dc-prog-dots { display: none; }
.dc .dc-pane.pp2 .dc-rprog-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.dc .dc-pane.pp2 .dc-rprog-facts > div { padding: 0; border: 0; background: none; }
.dc .dc-pane.pp2 .dc-rprog-facts small { display: block; color: var(--pp-mut); font: 700 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.dc .dc-pane.pp2 .dc-rprog-facts b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.dc .dc-pane.pp2 .dc-nextstop { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; margin-top: 12px; padding: 4px 0 4px 10px; border: 0; border-left: 2px solid var(--dc-y); border-radius: 0; background: none; }
.dc .dc-pane.pp2 .dc-nextstop-n { width: auto; height: auto; padding: 0; border: 0; background: none; color: var(--dc-y); font: 700 13px/1.3 var(--mono); }
.dc .dc-pane.pp2 .dc-ov-row { display: block; }
.dc .dc-pane.pp2 .dc-ov-row > * { padding: 10px 0; border: 0; border-top: 1px solid var(--pp-line); border-radius: 0; background: none; }
.dc .dc-pane.pp2 .dc-doing, .dc .dc-pane.pp2 .dc-scoremini { display: flex; align-items: center; gap: 10px; }
.dc .dc-pane.pp2 .dc-doing-ic { width: 24px; height: 24px; background: none; border: 0; }
.dc .dc-pane.pp2 .dc-scoremini .dc-dial { width: 28px; height: 28px; }
.dc .dc-pane.pp2 .dc-today, .dc .dc-pane.pp2 .dc-stats { display: grid; grid-template-columns: 1fr; gap: 0; }
.dc .dc-pane.pp2 .dc-today > *, .dc .dc-pane.pp2 .dc-stats > * { display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--pp-line); }
.dc .dc-pane.pp2 .dc-today > *:first-child, .dc .dc-pane.pp2 .dc-stats > *:first-child { border-top: 0; }
.dc .dc-pane.pp2 .dc-today b, .dc .dc-pane.pp2 .dc-stats b { font-size: 13px; font-variant-numeric: tabular-nums; }
.dc .dc-pane.pp2 .dc-today small, .dc .dc-pane.pp2 .dc-stats small { color: #cfcfca; font: 500 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; }
/* Route: stops as a table */
.dc .dc-pane.pp2 .rh-tabs { display: flex; gap: 16px; margin: 12px 0 0; padding: 0; border: 0; background: none; }
.dc .dc-pane.pp2 .rh-tabs button { height: 28px; padding: 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none !important; color: #cfcfca; font: 600 12.5px/1 var(--font); }
.dc .dc-pane.pp2 .rh-tabs button[aria-selected="true"] { border-bottom-color: var(--dc-y); color: #fff; }
.dc .dc-pane.pp2 .dc-rs-list, .dc .dc-pane.pp2 .dc-rs-ol { margin: 0; padding: 0; }
.dc .dc-pane.pp2 .dc-rs-done summary { display: flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; border-radius: 0; background: none; color: #cfcfca; font-size: 12.5px; }
.dc .dc-pane.pp2 .dc-rs-done-ic { width: auto; height: auto; border: 0; background: none; color: #22c55e; }
.dc .dc-pane.pp2 .dc-rs { margin: 0; padding: 0; border: 0; border-top: 1px solid var(--pp-line); border-radius: 0; background: none; box-shadow: none; }
.dc .dc-pane.pp2 .dc-rs.st-next { border-left: 2px solid var(--dc-y); background: rgba(255,255,6,.04); }
.dc .dc-pane.pp2 .dc-rs-main { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: start; gap: 2px 10px; width: 100%; padding: 8px 6px; border: 0; background: none; text-align: left; }
.dc .dc-pane.pp2 .dc-rs-n { width: auto; height: auto; padding: 0; border: 0; background: none !important; color: #cfcfca; font: 700 12px/1.4 var(--mono); }
.dc .dc-pane.pp2 .st-next .dc-rs-n { color: var(--dc-y); }
.dc .dc-pane.pp2 .dc-rs-body { min-width: 0; }
.dc .dc-pane.pp2 .dc-rs-body b, .dc .dc-pane.pp2 .dc-rs-body > :first-child { display: block; overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dc .dc-pane.pp2 .dc-rs-chips { display: block; margin-top: 2px; }
.dc .dc-pane.pp2 .dc-rs-time { text-align: right; font-variant-numeric: tabular-nums; font-size: 12.5px; }
.dc .dc-pane.pp2 .dc-rs-time b { color: #fff; font-weight: 650; }
.dc .dc-pane.pp2 .dc-rs-time small { display: block; color: var(--pp-mut); font-size: 11px; }
/* Score */
.dc .dc-pane.pp2 .dc-score-hero, .dc .dc-pane.pp2 .dc-score-top { display: flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; }
.dc .dc-pane.pp2 .dc-score-hero .dc-dial { width: 56px; height: 56px; }
.dc .dc-pane.pp2 .dc-spark { height: 40px; margin-top: 10px; }
.dc .dc-pane.pp2 .dc-factors { display: block; }
.dc .dc-pane.pp2 .dc-factor2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 8px 0; border: 0; border-top: 1px solid var(--pp-line); border-radius: 0; background: none; }
.dc .dc-pane.pp2 .dc-factor2 .dc-fbar { grid-column: 1 / -1; height: 3px; }
.dc .dc-pane.pp2 .dc-factor2 small, .dc .dc-pane.pp2 .dc-fine { grid-column: 1 / -1; color: var(--pp-mut); font-size: 11.5px; }
.dc .dc-pane.pp2 .dc-trips, .dc .dc-pane.pp2 .dc-trip2 { border: 0; border-radius: 0; background: none; }
.dc .dc-pane.pp2 .dc-trip2 { padding: 7px 0; border-top: 1px solid var(--pp-line); }
/* Footage: a list with small thumbs */
.dc .dc-pane.pp2 .dc-clips { display: block; }
.dc .dc-pane.pp2 .dc-clip { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 4px 12px; align-items: start; margin: 0; padding: 10px 0; border: 0; border-top: 1px solid var(--pp-line); border-radius: 0; background: none; box-shadow: none; }
.dc .dc-pane.pp2 .dc-clip-thumb { grid-row: 1 / span 3; width: 96px; height: 54px; border-radius: 6px; overflow: hidden; }
.dc .dc-pane.pp2 .dc-clip-badge { font-size: 9.5px; padding: 1px 5px; }
.dc .dc-pane.pp2 .dc-clip-play { width: 26px; height: 26px; }
.dc .dc-pane.pp2 .dc-clip-meta, .dc .dc-pane.pp2 .dc-clip-chips { min-width: 0; font-size: 12.5px; }
.dc .dc-pane.pp2 .dc-empty-card { padding: 14px 0; border: 0; background: none; text-align: left; }
/* Activity */
.dc .dc-pane.pp2 .dc-act-filters { display: flex; gap: 14px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.dc .dc-pane.pp2 .dc-act-filters .dc-chip { height: 28px; padding: 0; border: 0; border-bottom: 2px solid transparent; color: #cfcfca; font: 600 12.5px/1 var(--font); }
.dc .dc-pane.pp2 .dc-act-filters .dc-chip.is-active { border-bottom-color: var(--dc-y); background: none; color: #fff; }
.dc .dc-pane.pp2 .dc-act-row { padding: 8px 0; border: 0; border-top: 1px solid var(--pp-line); border-radius: 0; background: none; }
.dc .dc-pane.pp2 .dc-act-bar { height: 4px; }
/* Messages */
.dc .dc-pane.pp2 .dc-thread { padding: 12px 0; }
.dc .dc-pane.pp2 .dc-msg { max-width: 86%; padding: 8px 10px; border-radius: 10px; font-size: 13px; }
.dc .dc-pane.pp2 .dc-compose { padding: 12px 0 0; border: 0; border-top: 1px solid var(--pp-line); background: none; }
.dc .dc-pane.pp2 .dc-quick { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.dc .dc-pane.pp2 .dc-quick button { height: auto; padding: 2px 0; border: 0; border-radius: 0; background: none; color: var(--dc-y); font: 600 12px/1.3 var(--font); }
/* Tables (Trips, …) */
.dc-pane .dc-tbl { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.dc-pane .dc-tbl th { padding: 6px 0; border-bottom: 1px solid var(--pp-line); color: var(--pp-mut); font: 700 10px/1.2 var(--mono); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.dc-pane .dc-tbl td { padding: 8px 0; border-bottom: 1px solid var(--pp-line); color: #f4f4f1; }
.dc-pane .dc-tbl .num { text-align: right; }
.dc-pane .dc-sec-note { margin-top: 10px; }
/* fixes */
.dc .dc-pane.pp2 .dc-pane-tabs button { padding: 0 6px; font-size: 12px; }
.dc .dc-pane.pp2 .dc-rprog-facts small { overflow: hidden; text-overflow: ellipsis; }
.dc .dc-pane.pp2 .dc-score-hero { display: block; }
.dc .dc-pane.pp2 .dc-score-top { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 14px; }
.dc .dc-pane.pp2 .dc-score-top > svg { width: 52px; height: 52px; }
.dc .dc-pane.pp2 .dc-score-tx { display: grid; gap: 2px; min-width: 0; }
.dc .dc-pane.pp2 .dc-score-tx small { color: var(--pp-mut); font: 700 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dc .dc-pane.pp2 .dc-score-tx b { font-size: 16px; }
.dc .dc-pane.pp2 .dc-score-tx span { color: #cfcfca; font-size: 12.5px; }
.dc .dc-pane.pp2 .dc-score-hero > svg { display: block; width: 100%; height: 44px; margin-top: 12px; }
.dc .dc-pane.pp2 .dc-spark-axis { display: flex; justify-content: space-between; color: var(--pp-mut); font-size: 11px; }
.dc .dc-pane.pp2 .dc-factor2 > div { display: flex; justify-content: space-between; gap: 12px; grid-column: 1 / -1; }
.dc .dc-pane.pp2 .dc-factor2 > div b { font-weight: 600; }
.dc .dc-pane.pp2 .dc-factor2 > div span { font-weight: 700; font-variant-numeric: tabular-nums; }
.dc .dc-pane.pp2 .dc-stats > *, .dc .dc-pane.pp2 .dc-today > * { flex-direction: row; }
.dc .dc-pane.pp2 .dc-stat span, .dc .dc-pane.pp2 .dc-today small { color: #cfcfca; font: 500 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; }
.dc .dc-pane.pp2 .dc-stat { display: flex; justify-content: space-between; }
.dc .dc-pane.pp2 .dc-delta { display: inline; padding: 0; border: 0; border-radius: 0; background: none !important; font-size: 12.5px; font-weight: 600; }
.dc .dc-pane.pp2 .dc-rs-done summary { border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
.dc .dc-pane.pp2 .dc-rs-n, .dc .dc-pane.pp2 .st-next .dc-rs-n { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; }
.dc .dc-pane.pp2 .dc-rs.st-next { background: rgba(255,255,6,.04) !important; }
.dc .dc-pane.pp2 .dc-qa { position: relative; }
.dc-pane.pp2 .dc-qa-menu { top: calc(100% + 2px); right: 0; margin-top: 0; }
.dc .dc-pane.pp2 .dc-rs-done { border: 0; border-top: 1px solid var(--pp-line); border-radius: 0; background: none; }
.dc .dc-pane.pp2 .dc-rs-done summary { padding: 8px 0; }
.dc .dc-pane.pp2 .dc-rs-done summary b { color: #cfcfca; font-weight: 600; }
.dc .dc-pane.pp2 .dc-rs-done-ic { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; color: #22c55e; }
.dc .dc-pane.pp2 .dc-rs-done .dc-rs-ol { padding: 0; }

/* "One quick step to message from this computer" (pro-dispatch-console.js e2eGate): plain words, one button */
.dc-e2e-gate { display: grid; gap: 6px; justify-items: start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); color: #fff; text-align: left; }
.dc-e2e-gate b { font-size: 13px; }
.dc-e2e-gate p { margin: 0; font-size: 13px; color: rgba(255,255,255,.78); }
.dc-e2e-gate small { font-size: 12px; color: rgba(255,255,255,.6); }
.dc-e2e-gate .btn { margin: 4px 0; }
.dc-e2e-gate-row { list-style: none; }
.dc-feedback .dc-e2e-gate { border: 0; padding: 6px 0 0; }
/* Messages: the driver pane's tab and the Messages pane share one composer row (field, attach, urgent, Send), the
   thread's status as plain muted text and errors inline under the composer. No quick-reply links, no pills. */
.dc-thread-head { position: sticky; top: -12px; z-index: 3; display: flex; align-items: center; gap: 8px; min-height: 36px; margin-top: -4px; background: #0b0b0d; border-bottom: 1px solid var(--pp-line, var(--dc-line)); }
.dc-thread-status { flex: 1 1 auto; min-width: 0; margin: 0; overflow: hidden; color: var(--pp-mut, var(--dc-mut)); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dc-thread-own { margin: 10px 0; color: var(--pp-mut, var(--dc-mut)); font-size: 13px; }
.dc-thread-own[hidden], .dc-thread[hidden], .dc-compose-msg[hidden] { display: none; }
.dc-ibtn { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: none; color: #d6d6d1; cursor: pointer; text-decoration: none; }
.dc-ibtn:hover, .dc-ibtn:focus-visible { border-color: var(--dc-line); color: #fff; outline: none; }
.dc-ibtn .ic { width: 18px; height: 18px; }
.dc-compose .dc-compose-one { flex-wrap: nowrap; align-items: flex-end; gap: 4px; }
.dc-compose .dc-compose-one textarea { flex: 1 1 auto; width: auto; min-width: 0; min-height: 36px; max-height: 120px; padding: 8px 10px; resize: none; }
.dc-compose .dc-compose-one .dc-send { flex: none; min-height: 34px; margin-left: 2px; }
.dc-urgent-tg:has(input:checked) { border-color: rgba(255,107,107,.7); background: rgba(255,107,107,.14); color: #ff9a9a; }
.dc-urgent-tg:has(input:focus-visible) { border-color: var(--dc-y); }
.dc-compose-msg { margin: 0; color: var(--pp-mut, var(--dc-mut)); font-size: 12px; line-height: 1.4; }
.dc-compose-msg.is-error { color: #ffb4a8; }
.dc-conv-off { flex: none; color: var(--dc-mut); font-size: 10.5px; font-weight: 600; }
/* Recording mode: the monitor's camera line (full width, icon + text), the clip's mode, the footage mode filter. */
.dc-pane.pp2 .dc-mon-i.is-wide { grid-column: 1 / -1; }
.dc-pane.pp2 .dc-mon-i.is-wide b { display: inline-flex; align-items: center; gap: 6px; }
.dc-pane.pp2 .dc-mon-i b .ic { width: 16px; height: 16px; color: var(--dc-y); }
.dc-pane.pp2 .dc-mon-i.is-rec b { color: #ff6a4d; }
.dc .dc-pane .dc-recmode { display: inline-flex; align-items: center; gap: 4px; color: #f4f4f1; }
.dc .dc-pane .dc-recmode .ic { width: 13px; height: 13px; color: var(--dc-y); }
.dc .dc-pane .dc-clip-modes { margin: 0 0 6px; }
.dc-legend .dc-leg-sec .dc-line { flex: none; width: 22px; }
.dc.has-tbar .dc-legend .dc-leg-sec { gap: 5px; padding: 8px 0; }
.dc-legend .dc-leg-badges { gap: 5px; }
.dc.has-tbar .dc-legend.lm-slot { padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 599px) { .dc.has-tbar .dc-legend.lm-slot { z-index: 12; width: var(--lmw, auto); } }

/* Monitor line (Oct 2 2026): speed over the posted limit, heat level, storage loop, GPS coordinates, REC. */
.dc-pane.pp2 .dc-mon-i.is-over b { color: #ff2800; }
.dc-pane.pp2 .dc-mon-i.is-heat-cool b { color: #34d17a; }
.dc-pane.pp2 .dc-mon-i.is-heat-warm b { color: var(--dc-y); }
.dc-pane.pp2 .dc-mon-i.is-heat-hot b { color: #ff2800; }
.dc-pane.pp2 .dc-mon-i b .ic.dc-loop-ic { width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; animation: dc-loop-spin 2.4s linear infinite; }
@keyframes dc-loop-spin { to { transform: rotate(360deg); } }
.dc-pane.pp2 .dc-mon-i b .dc-mon-acc { margin-left: 8px; color: var(--pp-mut); font-size: 11px; font-weight: 600; }
.dc-pane.pp2 .dc-mon-i b .dc-rec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff2800; animation: dc-rec-blink 1s steps(2, jump-none) infinite; }
@media (prefers-reduced-motion: reduce) { .dc-pane.pp2 .dc-mon-i b .ic.dc-loop-ic, .dc-pane.pp2 .dc-mon-i b .dc-rec-dot { animation: none; } }

/* Legend tabs (Oct 2 2026): one category at a time, no scrolling; Activity and Map signs in two columns. */
.dc.has-tbar .dc-legend.lm-slot { display: block; width: min(460px, calc(100vw - 24px)); max-height: none; overflow: visible; padding: 10px 14px 12px; }
.dc-legend .dc-leg-tabs { display: flex; gap: 2px; margin: 0 30px 8px 0; border-bottom: 1px solid var(--dc-line); }
.dc-legend .dc-leg-tab { position: relative; min-height: 32px; padding: 0 10px; white-space: nowrap; border: 0; background: none; color: #a1a1aa; font: 650 12.5px/1 var(--font); cursor: pointer; }
.dc-legend .dc-leg-tab.is-on { color: #f4f4f1; }
.dc-legend .dc-leg-tab.is-on::after { content: ""; position: absolute; right: 8px; bottom: -1px; left: 8px; height: 2px; border-radius: 2px; background: var(--dc-y); }
.dc-legend .dc-leg-tab:hover, .dc-legend .dc-leg-tab:focus-visible { color: var(--dc-y); outline: none; }
.dc.has-tbar .dc-legend .dc-leg-sec, .dc.has-tbar .dc-legend .dc-leg-sec:nth-of-type(-n+2) { padding: 6px 0; border-top: 0; }
.dc.has-tbar .dc-legend .dc-leg-sec + .dc-leg-sec:not([hidden]) { border-top: 1px solid var(--dc-line); }
.dc-legend .dc-leg-sec[hidden] { display: none !important; }
.dc-legend .dc-leg-sec h4 small { margin-left: 6px; color: #71717a; font: 500 10px/1.2 var(--font); letter-spacing: 0; text-transform: none; }
.dc-legend #dc-leg-activity, .dc-legend #dc-leg-signs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.dc-legend #dc-leg-activity .dc-key, .dc-legend #dc-leg-signs .dc-key { white-space: normal; line-height: 1.25; }
.dc.has-tbar .dc-legend.lm-slot .dc-key { white-space: normal; }
.dc-legend .dc-leg-sign { display: inline-grid; flex: none; place-items: center; min-width: 20px; background-image: url("/account/static/map-assets/sprites/dashivo@2x.png");
  background-repeat: no-repeat; color: #111; font: 800 10px/1 var(--font); font-style: normal;
  width: var(--sg-w, 20px); height: var(--sg-h, 20px); background-size: var(--sg-bs, auto) auto; background-position: var(--sg-bp, 0 0); }
.dc-legend .dc-leg-sign.has-text { width: auto !important; min-width: 30px; padding: 0 4px; border: 1.5px solid #111; border-radius: 3px; background: #fff !important; }
.dc-legend .dc-key:has(.dc-leg-sign.has-text):nth-child(9) .dc-leg-sign { background: #ffd400 !important; }
@media (max-width: 599px) { .dc-legend #dc-leg-activity, .dc-legend #dc-leg-signs { grid-template-columns: minmax(0, 1fr); } }

/* Alert cards (owner, Oct 2 2026): the message on the left as clear white subtext with the time under it, the buttons
   stacked on the right; an acknowledged card's note runs under the text. */
.dc-alert-item { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 8px; align-items: start; }
.dc-alert-item .dc-alert-head { grid-column: 1; grid-row: 1; min-width: 0; }
.dc-alert-item .dc-alert-actions { grid-column: 2; grid-row: 1; display: flex !important; flex-direction: column; align-items: stretch; gap: 6px; margin: 0 !important; }
.dc-alert-item .dc-alert-actions .dc-btn { justify-content: center; min-width: 116px; white-space: nowrap; }
.dc-alert-item.is-acked .dc-alert-actions, .dc-alert-item .dc-alert-actions:not(:has(.dc-btn)) { grid-column: 1 / -1; grid-row: 2; }
.dc-alert-text { display: grid; gap: 3px; min-width: 0; }
.dc-alert-text b { color: #fff; font-size: 14px; line-height: 1.3; }
.dc-alert-text .dc-alert-msg { color: #ececea; font-size: 13px; line-height: 1.45; }
.dc-alert-text .dc-alert-when { color: #a1a1aa; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.dc-alert-item.is-acked .dc-alert-text b, .dc-alert-item.is-acked .dc-alert-msg { color: #b8b8b4; }
.dc-alerts .dc-alert-text .dc-alert-when, .dc-alert-text .dc-alert-when { margin-left: 0; padding-top: 0; white-space: normal; font-size: 11.5px; }
.dc-alert-item .dc-alert-actions .dc-btn { min-width: 0; padding: 0 10px; font-size: 12px; }
.dc-alert-text b .dc-sample-tag { display: table; margin: 4px 0 0; }

/* Monitor box (Oct 2 2026, owner): every reading with its yellow icon, Network and Miles · shift included, the phone
   line under it; two columns, GPS and Camera full width, no grey boxes. */
.dc-pane.pp2 .dc-mon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 12px 0 10px; }
.dc-pane.pp2 .dc-mon-i { display: flex; align-items: center; gap: 9px; }
.dc-pane.pp2 .dc-mon-i > .ic { flex: none; width: 18px; height: 18px; color: var(--dc-y); }
.dc-pane.pp2 .dc-mon-tx { display: grid; gap: 1px; min-width: 0; }
.dc-pane.pp2 .dc-mon-i.is-bad b { color: #ff6a4d; }
.dc-pane.pp2 .dc-mon-dev { grid-column: 1 / -1; margin: 2px 0 0; padding-top: 8px; border-top: 1px solid var(--pp-line); color: var(--pp-mut); font-size: 11.5px; line-height: 1.35; overflow-wrap: anywhere; }
@media (min-width: 1500px) { .dc-pane.pp2 .dc-mon-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Top bar (owner, Oct 3 2026): the stats box hugs its items (no empty stretch after the score), and the fleet score
   is a yellow badge in our icon style: black ring and number on a yellow tile */
.dc-top > .dc-kpis { flex: 0 1 auto; margin-right: auto; }
/* the score's own box is the black tile (owner, Oct 3 2026): the dial's black fills it, no tile inside a tile */
.dc-kpis .k-score .dc-kpi { padding: 2px 5px; background: #050506; }
.dc-kpis .k-score .dc-kpi:hover { background: #050506; box-shadow: inset 0 0 0 2px rgba(255,255,6,.35); }
/* score badge: black tile, yellow arc, the number in white like the other top-bar figures (owner, Oct 3 2026); the
   dial fills the tile and a thinner arc leaves room for "100" inside it */
.dc-kpi-dial { display: grid; place-items: center; width: 46px; height: 46px; background: none; }
.dc-kpi-dial .dc-dial { width: 46px; height: 46px; color: #fff; }
.dc-kpi-dial .dc-dial circle { stroke-width: 9px; }
.dc-kpi-dial .dc-dial-track { stroke: rgba(255,255,255,.16); }
.dc-kpi-dial .dc-dial-num { fill: #fff; font-style: normal; font-weight: 800; font-size: 50px; letter-spacing: -.03em; }
.dc-kpi-dial .dc-dial.is-3 .dc-dial-num { font-size: 40px; }

/* Driver pane (owner, Oct 3 2026): the quick actions (call, message, locate, route, note, more) sit up beside the
   driver's name instead of in their own row; a long name wraps instead of being cut off */
.dc-pane-head { position: relative; }
#dc-pane-actions.dc-qa { position: absolute; top: 12px; right: 44px; margin: 0; padding: 0; border: 0; gap: 2px; background: none; }
#dc-pane-actions .dc-qa-btn { width: 29px; height: 29px; min-width: 29px; padding: 0; }
.dc-pane-head .dc-hero-name { padding-right: 186px; min-height: 32px; }
#dc-pane-name { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.15; }

/* Driver pane: Phone details fold (owner, Oct 3 2026) */
.dc-mon-tog { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; margin: 4px 0 0; padding: 6px 0; border: 0; border-top: 1px solid var(--pp-line, rgba(255,255,255,.08)); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dc-mon-tog-t { font: 700 10.5px/1 var(--mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--pp-mut, #a1a1a6); }
.dc-mon-tog-s { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; color: #ffff06; opacity: 0; transition: opacity .2s; }
.dc-monitor.is-folded .dc-mon-tog-s { opacity: 1; }
.dc-mon-tog-c { width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid #ffff06; border-bottom: 2px solid #ffff06; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.dc-monitor.is-folded .dc-mon-tog-c { transform: rotate(-45deg); }
.dc-mon-tog:focus-visible { outline: 2px solid #ffff06; outline-offset: 2px; border-radius: 6px; }
.dc-monitor.is-folded .dc-mon-row, .dc-monitor.is-folded .dc-mon-dev { display: none; }
.dc-pane.pp2 .dc-monitor .dc-mon-tog + .dc-mon-row { border-top: 0; padding-top: 4px; }

/* Driver list hover (owner, Oct 3 2026): a thin yellow border on the row under the pointer (its route shows on the map) */
@media (hover: hover) and (pointer: fine) { .dc-driver:hover { box-shadow: inset 0 0 0 1px #ffff06; border-radius: 12px; } }
@media (hover: hover) and (pointer: fine) { .dc-alert-item:hover, .dc-conv:hover { outline: 1px solid #ffff06; outline-offset: -1px; } }

/* The alerts panel's link to the 30-day Alerts page (/account/alerts, pro_alert_log.py). */
.dc-alerts-log { margin-left: auto; white-space: nowrap; text-decoration: underline; }
/* "Wi-Fi only" (pro_footage_network, migration 138): the phone's footage and photos wait for Wi-Fi */
.dc-chip.dc-wifionly, .dc-pane .dc-chip.dc-wifionly, .dc-pane.pp2 .dc-mon-dev .dc-chip.dc-wifionly { margin-left: 6px; padding: 3px 8px; border: 1px solid rgba(255, 255, 6, .5); background: transparent; border-color: rgba(255, 255, 6, .5); color: #ffff06; text-transform: none; letter-spacing: 0; font: 700 11px/1 var(--font, inherit); vertical-align: middle; }
.dc-chip.dc-wifionly .ic, .dc-pane .dc-chip.dc-wifionly .ic { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.dc-stop .dc-chip.dc-wifionly { margin-top: 3px; }
/* This month's cellular data on the phone (pro_data_usage, migration 145): beside the "Wi-Fi only" chip */
.dc-chip.dc-datachip, .dc-pane .dc-chip.dc-datachip, .dc-pane.pp2 .dc-mon-dev .dc-chip.dc-datachip { margin-left: 6px; padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; text-transform: none; letter-spacing: 0; font: 700 11px/1 var(--font, inherit); vertical-align: middle; font-variant-numeric: tabular-nums; }
.dc-chip.dc-datachip .ic, .dc-pane .dc-chip.dc-datachip .ic { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; flex: none; }
.dc-chip.dc-datachip.is-near, .dc-pane .dc-chip.dc-datachip.is-near, .dc-pane.pp2 .dc-mon-dev .dc-chip.dc-datachip.is-near { border-color: #ffb020; color: #ffb020; }
.dc-chip.dc-datachip.is-over, .dc-pane .dc-chip.dc-datachip.is-over, .dc-pane.pp2 .dc-mon-dev .dc-chip.dc-datachip.is-over { border-color: #ff5a52; color: #ff5a52; }

/* Not reporting (owner, Oct 3 2026): the phone's last known readings keep their value with a muted age; the pane's
   phone chip says which phone and whether it reports, and switches to the next phone on click. */
.dc-mon-age { color: #9a9a95; font-weight: 500; }
.dc-battbadge.is-stale { opacity: .7; }
.dc-hchip.dc-pane-dev { cursor: pointer; }
.dc-hchip.dc-pane-dev.is-stale { color: #ffb000; }
.dc-hchip.dc-pane-dev:focus-visible { outline: 2px solid #ffff06; outline-offset: 2px; }

/* call lines ("📞 Missed call" from the server): our phone icon instead of the emoji (owner, Oct 3 2026) */
.dc-msg-call { display: inline-flex; align-items: center; gap: 6px; }
.dc-msg-call .ic { flex: none; width: 15px; height: 15px; }
.dc-act-ic.is-svg .ic { width: 12px; height: 12px; }

/* Sprite icons in place of the old emoji (owner, Oct 3 2026): map event markers, clip badges, alerts, the battery's
   charging bolt, the Route timeline's stop marks and the map tooltip's status line. Stroke from cloud.css (.ic). */
.dc-ev { color: #050506; }
.dc-ev .ic { width: 17px; height: 17px; stroke-width: 2.2; }
.dc-ev.ev-red { color: #fff; }
.dc-clip-badge { display: inline-flex; align-items: center; gap: 4px; }
.dc-clip-badge .ic { width: 12px; height: 12px; stroke-width: 2.2; }
.dc-alert-head .dc-alert-ic .ic { width: 16px; height: 16px; }
.dc-alert-ic.g-critical .ic { color: #ff2800; }
.dc-alert-ic.g-warning .ic { color: #ff9f0a; }
.dc-battbolt { display: inline-flex; }
.dc-battbolt .ic { width: 10px; height: 10px; stroke-width: 2.4; }
.dc-rs-n .ic, .dc-rs-done-ic .ic { width: 15px; height: 15px; stroke-width: 2.2; }
.dc-st-q { font-weight: 800; color: #ff2800; }
.dc-tip .dc-tip-status { display: flex; align-items: center; gap: 5px; }
.dc-tip .dc-tip-status .ic { width: 14px; height: 14px; stroke-width: 2; }

/* The map tools group (dispatch_console.html .dc-tb-tools): no box of its own above phone width. */
.dc-tb-tools { display: contents; }
/* Nothing inside the console may scroll it sideways (focusing a control near the edge shifted the whole header on
   phones; UI audit Oct 3 2026, H1): clip instead of hidden, so the browser can't scroll it programmatically. */
.dc { overflow: clip; }

/* ---- Phones (UI audit Oct 3 2026, H1 / H2 / M10): the header in two clean rows, the toolbar in two rows, the driver
   pane's name on its own line, every control at least 44 px. */
@media (max-width: 560px) {
  /* Header: alert buttons and refresh on one row; the page links are in the bottom bar's Fleet sheet on phones. */
  .dc-top { gap: 8px; padding: 8px; }
  .dc-top > .dc-brand, .dc-top > .dc-links { display: none; }
  .dc-top > .dc-alertset { flex: 1 1 auto; gap: 6px; }
  #dc-alertset .dc-alerts-btn, .dc-alertset .dc-allclear, .dc-alertset .dc-bell { min-width: 44px; min-height: 44px; }
  .dc .dc-refresh { width: 44px; height: 44px; margin-left: auto; }
  /* KPI strip: every number, in a strip that scrolls sideways with snap, fading out at the right edge. */
  .dc-top .dc-kpis { flex: 1 1 100%; order: 3; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .dc-top .dc-kpis li, .dc-top .dc-kpis li:nth-child(n+5) { display: block; flex: 0 0 auto; scroll-snap-align: start; }
  .dc-top .dc-kpis li:last-child { padding-right: 24px; }
  .dc-top .dc-kpi { min-width: 78px; min-height: 52px; padding: 8px 10px; }
  .dc-top .dc-kpis span { font-size: 8px; overflow: visible; }
  /* Toolbar: the pane tabs on the first row (labels always shown), the map tools on the second. */
  .dc-tbar { flex-wrap: wrap; height: auto; row-gap: 6px; padding: 6px; }
  .dc-tbar .dc-tb-grow { display: none; }
  .dc-panetabs { flex: 1 1 100%; height: auto; }
  .dc-panetabs .dc-ptab { flex: 1 1 0; justify-content: center; height: 44px; padding: 0 8px; }
  .dc-tbar[data-tier] .dc-panetabs .tb-txt { display: inline; }
  .dc-tb-tools { display: flex; flex: 1 1 100%; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
  .dc-tb-tools .dc-tbbtn, .dc-tbar .dc-styles button { min-height: 44px; }
  .dc-tbar .dc-styles { height: auto; }
  /* Driver pane: the name gets the full width and wraps between words; the quick actions are a row of 44 px buttons
     under the status line; the section tabs wrap onto a second row instead of running off the edge. */
  .dc-pane-head .dc-hero-name { padding-right: 0; }
  #dc-pane-name { overflow-wrap: normal; word-break: normal; hyphens: manual; }
  #dc-pane-actions.dc-qa { position: static; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; }
  #dc-pane-actions .dc-qa-btn { width: 44px; height: 44px; min-width: 44px; }
  .dc .dc-pane-x { width: 44px; height: 44px; }
  .dc .dc-pane.pp2 .dc-pane-tabs { flex-wrap: wrap; overflow: visible; padding: 0 4px; }
  .dc .dc-pane.pp2 .dc-pane-tabs button { height: 44px; padding: 0 9px; }
  /* Driver list: 44 px status tabs in a sideways strip that fades at the right edge (there is more to scroll). */
  .dc-list .dc-tabs { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
  .dc-list .dc-tab { min-height: 44px; }
  .dc-list .dc-tab:last-child { margin-right: 24px; }
  /* Message toasts: a full-width card under the toolbar, never over the driver sheet, reply box at full width. */
  .dc-mtoasts { right: 8px; left: 8px; width: auto; }
  .dc-lm .dc-mtoasts.lm-slot { width: var(--lmw, calc(100% - 16px)); }
  /* the quick actions right under the name, above the status line */
  .dc .dc-pane .dc-pane-head > .dc-hero { order: -2; }
  .dc .dc-pane .dc-pane-head > #dc-pane-actions { order: -1; margin: 0; }
  .dc-mt-body, .dc-mt-reply, .dc-mt-acts { margin-left: 0; }
  .dc-mt-reply { grid-template-columns: minmax(0, 1fr) 44px; }
  .dc-mt-reply input, .dc-mt-send { height: 44px; }
  .dc-mt-act { min-height: 44px; }
  .dc-mt-x { width: 44px; height: 44px; }
  .dc-mt-head { grid-template-columns: 34px minmax(0, 1fr) 44px; }
}
/* Conversation previews wrap to two lines instead of ending in "…" (UI audit Oct 3 2026, M7). */
.dc-conv-sub small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; white-space: normal; text-overflow: clip; overflow-wrap: anywhere; }

/* Driver pane header (owner, Oct 5 2026: "the first thing a person reads when they click on a driver"): an identity
   line with icons, the work status as a coloured headline, then the status grid (App · Camera / Phone · Uploads),
   each part an icon in its colour beside a value and a muted note. Every fact once; no pills. Status colours: green
   good, amber idle or stale, red offline or recording, grey off shift, yellow the upload network. */
.dc .dc-pane.pp2 .dc-hero-chips { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-top: 5px; color: #d6d6d1; font-size: 12px; line-height: 1.35; }
.dc .dc-pane.pp2 .dc-hero-chips > * { display: inline-flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
.dc .dc-pane.pp2 .dc-hero-chips > * + *::before { content: none; }
.dc .dc-pane.pp2 .dc-hero-chips .ic { display: block; flex: none; width: 13px; height: 13px; color: #8d8d89; }
.dc .dc-pane.pp2 .dc-hero-chips > * > span { overflow: hidden; text-overflow: ellipsis; }
/* Headline */
.dc .dc-pane.pp2 .dc-hero-status { align-items: center; gap: 10px; margin: 14px 0 0; }
.dc .dc-pane.pp2 .dc-hero-status i { width: 10px; height: 10px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--sc) 20%, transparent); }
.dc .dc-pane.pp2 .dc-hero-status b { flex: 1 1 auto; font-size: 14px; }
.dc .dc-pane.pp2 .dc-hs-word { color: var(--sc); font-size: 15px; font-weight: 750; }
.dc .dc-pane.pp2 .dc-hs-rest { color: #f4f4f1; font-weight: 600; }
.dc .dc-pane.pp2 .dc-hs-rest::before { content: "·"; margin: 0 6px; color: var(--pp-mut); }
/* Status row: App · Camera · Phone */
.dc-pane .dc-vitals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 0; margin: 12px 0 0; padding: 12px 0 2px; border-top: 1px solid var(--pp-line); }
.dc-pane .dc-vitals[hidden] { display: none; }
.dc-pane .dc-vital { --vc: #a6a6a2; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; margin: 0; padding: 2px 8px 2px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
.dc-pane .dc-vital:nth-child(even) { padding: 2px 0 2px 12px; border-left: 1px solid var(--pp-line); }
.dc-pane .dc-vital.is-good { --vc: #22c55e; } .dc-pane .dc-vital.is-warn { --vc: #ffb020; }
.dc-pane .dc-vital.is-bad, .dc-pane .dc-vital.is-rec { --vc: #ff2800; } .dc-pane .dc-vital.is-off, .dc-pane .dc-vital.is-idle { --vc: #a6a6a2; }
.dc-pane .dc-vital.is-net { --vc: #ffff06; }
.dc-pane .dc-vital-ic { display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0; border-radius: 15px; background: color-mix(in srgb, var(--vc) 16%, transparent); color: var(--vc); }
.dc-pane .dc-vital-ic .ic { width: 15px; height: 15px; }
.dc-pane .dc-vital-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--vc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vc) 30%, transparent); animation: dc-rec-pulse 1.6s ease-in-out infinite; }
@keyframes dc-rec-pulse { 50% { opacity: .45; box-shadow: 0 0 0 5px color-mix(in srgb, var(--vc) 0%, transparent); } }
.dc-pane .dc-vital-tx { display: grid; gap: 1px; min-width: 0; }
.dc-pane .dc-vital-tx b { overflow: hidden; color: #f4f4f1; font-size: 12.5px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.dc-pane .dc-vital.is-bad b, .dc-pane .dc-vital.is-rec b { color: #ff6a4d; }
.dc-pane .dc-vital.is-warn b { color: #ffb020; }
.dc-pane .dc-vital-tx small { display: -webkit-box; overflow: hidden; color: var(--pp-mut); font-size: 11px; line-height: 1.3; font-variant-numeric: tabular-nums; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
/* the phone switcher (several phones): the whole part is the button, a › at its end */
.dc-pane button.dc-vital { grid-template-columns: auto minmax(0, 1fr) 12px; border-radius: 0; cursor: pointer; }
.dc-pane button.dc-vital > .ic { width: 12px; height: 12px; color: var(--dc-y); transform: rotate(-90deg); }
.dc-pane button.dc-vital:hover .dc-vital-tx b { color: var(--dc-y); }
.dc-pane button.dc-vital:focus-visible { outline: 2px solid #ffff06; outline-offset: 2px; }
/* route notes (rerouted, the driver's own trip) */
.dc-pane .dc-hero-notes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0 0; }
.dc-pane .dc-hero-notes[hidden] { display: none; }
.dc-pane .dc-hero-notes .dc-trip-line { padding: 0; border: 0; background: none; color: #d6d6d1; }
.dc-pane.pp2 .dc-vitals + .dc-hero-notes + .dc-monitor, .dc-pane.pp2 .dc-vitals + .dc-hero-notes[hidden] + .dc-monitor { margin-top: 10px; }
/* the network icons: Wi-Fi alone, or cellular bars + Wi-Fi (a wider badge) */
.dc-net-ics { display: inline-flex; align-items: center; gap: 3px; }
.dc-net-ics .ic { width: 14px; height: 14px; }
.dc-pane .dc-vital-ic .dc-net-ics.is-both { padding: 0 7px; }
@container dcpane (max-width: 330px) { .dc-pane .dc-vitals { grid-template-columns: minmax(0, 1fr); } .dc-pane .dc-vital:nth-child(even) { padding-left: 0; border-left: 0; } }
/* the empty Footage tab: an icon, one short line, and the network the phone uploads on */
.dc-pane .dc-fempty { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 6px 0 2px; }
.dc-pane .dc-fempty-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,6,.1); color: #ffff06; }
.dc-pane .dc-fempty-ic .ic { width: 19px; height: 19px; }
.dc-pane .dc-fempty-tx { display: grid; gap: 4px; min-width: 0; }
.dc-pane .dc-fempty-tx b { color: #f4f4f1; font-size: 13.5px; font-weight: 650; }
.dc-pane .dc-fempty-net { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--pp-mut); font-size: 12px; }
.dc-pane .dc-fempty-net .dc-net-ics { color: #ffff06; }
.dc-pane .dc-fempty-net > span:last-child { color: #f4f4f1; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .dc-pane .dc-vital-dot { animation: none; } }

/* Each phone has its own pane (owner, Oct 5 2026): the phone beside the driver's name, and the pane's phone menu
   (All phones · each phone) under the status row's phone button. */
.dc-pane .dc-pane-head { position: relative; }
.dc-pane .dc-hchip.dc-pane-devname { color: var(--dc-y); font-weight: 650; }
.dc-pane .dc-hchip.dc-pane-devname .ic { color: var(--dc-y); }
.dc-pane .dc-vital.is-all { --vc: #ffff06; }
.dc-pane .dc-dev-menu { position: absolute; z-index: 30; right: 16px; left: 16px; display: grid; gap: 2px; max-width: 340px; margin-left: auto; padding: 6px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #111114; box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.dc-pane .dc-dev-menu[hidden] { display: none; }
.dc-pane .dc-dev-mi { --vc: #a6a6a2; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 6px; background: none; color: #f4f4f1; font: inherit; text-align: left; cursor: pointer; }
.dc-pane .dc-dev-mi.is-good { --vc: #22c55e; } .dc-pane .dc-dev-mi.is-warn { --vc: #ffb020; } .dc-pane .dc-dev-mi.is-all { --vc: #ffff06; }
.dc-pane .dc-dev-mi:hover, .dc-pane .dc-dev-mi:focus-visible { background: rgba(255,255,255,.07); outline: none; }
.dc-pane .dc-dev-mi.is-on { box-shadow: inset 3px 0 0 #ffff06; background: rgba(255,255,6,.07); }
.dc-pane .dc-dev-mi-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 14px; background: color-mix(in srgb, var(--vc) 16%, transparent); color: var(--vc); }
.dc-pane .dc-dev-mi-ic .ic { width: 14px; height: 14px; }
.dc-pane .dc-dev-mi-tx { display: grid; gap: 1px; min-width: 0; }
.dc-pane .dc-dev-mi-tx b { overflow: hidden; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.dc-pane .dc-dev-mi-tx small { overflow: hidden; color: var(--pp-mut); font-size: 11.5px; text-overflow: ellipsis; white-space: nowrap; }
/* All phones: the person row is the selected one; one phone: its row only */
.dc-group-head.dc-driver.dc-row[aria-current="true"] + .dc-group-wrap .dc-dev { background: rgba(255,255,6,.03); }

/* Player mode (owner, Oct 6 2026: an opened clip's timeline sat below the fold at 1440×900; pro-dispatch-console.js
   playerMode): while a clip is open on Footage (with the compact header below, is-footage) the player (video,
   timeline, controls, Close clip) shows whole without scrolling the pane, and the other clips scroll in their own area
   under it. The video keeps 16:9 by the pane's width and gets lower only in short windows (object-fit contain, never
   under 96 px); the player card itself scrolls only as a last resort. Close clip returns to the clip list. */
/* Compact header on Footage (owner, Oct 6 2026: before a clip was opened the list had about 120 px at 1440×900 and
   about 20 px on phones): whenever Footage is the active tab (is-footage, set by playerMode) the same rows go, and the
   pane body stops scrolling; the clip list (with encrypted clips and evidence) scrolls in the footage panel instead.
   Open alerts with Acknowledge stay in the Alerts pill and the Activity tab. Another tab or closing the pane restores
   the full header. */
.dc .dc-pane.is-footage .dc-hero-status, .dc .dc-pane.is-footage .dc-vitals, .dc .dc-pane.is-footage .dc-hero-notes,
.dc .dc-pane.is-footage .dc-monitor, .dc .dc-pane.is-footage .dc-dev-menu { display: none; }
.dc .dc-pane.is-footage .dc-pane-body { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 12px; }
.dc .dc-pane.is-footage:not(.is-playing) #dc-p-footage:not([hidden]) { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #414143 transparent; }
.dc .dc-pane.is-playing #dc-p-footage:not([hidden]) { container: dcfoot / size; display: flex; flex: 1 1 auto; flex-direction: column; gap: 10px; min-height: 0; }
.dc .dc-pane.is-playing #dc-p-footage > .dc-card:first-child { display: flex; flex: 0 1 auto; flex-direction: column; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #414143 transparent; }
.dc .dc-pane.is-playing #dc-p-footage > .dc-card:first-child > * { flex: none; }
.dc .dc-pane.is-playing .fp-inline:not(.fp-expanded) .fp-stage, .dc .dc-pane.is-playing .dc-player-empty { max-height: max(96px, calc(100cqh - 290px)); }
.dc .dc-pane.is-playing .dc-fmore { display: grid; flex: 1 1 0; align-content: start; gap: 12px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #414143 transparent; }
.dc .dc-pane.is-playing .dc-fmore:empty { display: none; }
/* too short for a useful list under the player (1280×800, phones): the player alone (the drive's clips are on its timeline, Close clip shows the list) */
@container dcfoot (max-height: 580px) { .dc .dc-pane.is-playing .dc-fmore { display: none; } }
/* very short windows: the drag hint goes too, so the video keeps more height */
@container dcfoot (max-height: 470px) { .dc .dc-pane.is-playing #dc-p-footage > .dc-card:first-child > p.dc-muted { display: none; } }

/* Driver pane: the Vehicle block, the vehicle's own engine reading (migration 300), under the phone's readings */
.dc-pane.pp2 .dc-veh-row { border-top: 1px solid var(--pp-line); }
.dc-veh-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; }
.dc-veh-head .ic { flex: none; width: 16px; height: 16px; color: var(--dc-y, #ffff06); }
.dc-veh-head b { font: 700 10.5px/1 var(--mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: var(--pp-mut, #a1a1a6); white-space: nowrap; }
.dc-veh-note { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pp-mut, #a1a1a6); font-size: 12px; }
.dc-pane.pp2 .dc-veh-mil.is-on > .ic, .dc-pane.pp2 .dc-veh-mil.is-on b { color: #ffb020; }
.dc-pane.pp2 .dc-veh-mil b { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; white-space: normal; }
.dc-veh-dtc { padding: 1px 6px; border: 1px solid #ffb020; border-radius: 999px; color: #ffc75a; font: 700 11px/1.4 var(--mono, ui-monospace, monospace); }
.dc-veh-dtc-t { color: var(--pp-mut, #a1a1a6); font-size: 11.5px; font-weight: 500; }
.dc-veh-row.is-flash { animation: dc-veh-flash 1.6s ease-out; }
@keyframes dc-veh-flash { 0%, 30% { background: rgba(255,255,6,.10); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .dc-veh-row.is-flash { animation: none; outline: 1px solid #ffff06; } }
.dc-hchip.dc-veh-chip { cursor: pointer; }
.dc-hchip.dc-veh-chip:hover, .dc-hchip.dc-veh-chip:focus-visible { border-color: #ffff06; color: #ffff06; outline: none; }
.dc-hchip.dc-veh-chip.is-mil { border-color: #ffb020; color: #ffc75a; }
.dc-card-mil { color: #ffc75a; }

/* Top stat strip (owner, Oct 24 2026): every cell takes the score cell's fill (#050506), and the separators run unbroken.
   The score cell used to sit 4px off with the strip's lighter wash showing in the gap, so UNREAD's right edge and the
   score's separator didn't line up. The console bar is the same near-black in the light and dark themes. */
.dc-kpis { padding: 0; background: #050506; }
.dc-kpis .k-score { margin-left: 0; }
.dc-kpi { background: #050506; }
/* on a ~1440px screen the strip was squeezed and clipped the score cell: tighter cells so all seven fit */
@container dctop (max-width: 1400px) { .dc-kpi { min-width: 72px; padding: 8px 10px 9px; } }
/* Header: the live view hours warning (OWNER / ADMIN, 80% of the month's pool; pro_live_view.py) */
.dc-live-usage { margin: 0 8px; padding: 4px 10px; border: 1px solid #ffb020; border-radius: 999px; color: #ffc75a; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 360px; }
.dc-live-usage.is-reached { border-color: #ff2800; color: #ff6a4d; }
