/* Drelam staff admin — dashboard shell (navy sidebar, white cards). */
body.in-app { --sapphire: #163A84; --ice: #E8EFFB; --navy: #0B1D45; --navy-2: #102657; --blue: #1F4FD1; --ink: #0F172A; --sub: #5B6475; --line: #E6EAF0; --page: #F4F6FA;
  background: var(--page); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); }
body.in-app #signBar { display: none; }
body.in-app main { max-width: none; padding: 0; margin: 0; }
.shell { display: grid; grid-template-columns: 88px 236px minmax(0, 1fr); min-height: 100vh; }
.shell.no-sub { grid-template-columns: 88px minmax(0, 1fr); }
.shell.no-sub .side { display: none; }
/* Option A: the blue bar of sections */
.rail { position: sticky; top: 0; height: 100vh; background: var(--sapphire); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 0; overflow-y: auto; scrollbar-width: none; z-index: 31; }
.rail::-webkit-scrollbar { display: none; }
.rail-logo { width: 46px; height: 46px; border-radius: 50%; background: #fff; margin-bottom: 12px; flex: none; }
.rail-btn { all: unset; box-sizing: border-box; position: relative; width: 70px; min-height: 60px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #C9D6F2; font-size: 11px; font-weight: 600; cursor: pointer; flex: none; text-align: center; }
.rail-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn[aria-pressed="true"] { background: #fff; color: var(--sapphire); }
.rail-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.rail-end { margin-top: auto; }
.rail-count { position: absolute; top: 5px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: #DC2626; color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
/* Beside it: the pages of the chosen section */
.side { background: #fff; color: var(--ink); border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 16px 12px 24px; }
.side-brand { display: flex; gap: 12px; align-items: center; padding: 4px 8px 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.sub-title { margin: 6px 10px 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sub); }
.sub-group { display: grid; gap: 2px; }
.sb-logo { border-radius: 50%; flex: none; box-shadow: 0 4px 14px rgba(0,0,0,.35); }
.sb-words { min-width: 0; display: grid; gap: 3px; justify-items: start; }
.sb-dz { height: 28px; width: auto; opacity: .95; }
.sb-name { font-size: 24px; font-weight: 800; letter-spacing: -.4px; line-height: 1; }
.sb-tag { font-size: 11px; line-height: 1.35; color: var(--sub); letter-spacing: .1px; }
.sb-name { color: var(--sapphire); }
.side-nav { display: grid; gap: 2px; }
.side-nav button, .side-link { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; text-decoration: none; }
.side-nav button i, .side-link i { font-style: normal; width: 18px; text-align: center; opacity: .85; }
.side-nav button:hover, .side-link:hover { background: #F3F6FC; }
.side-nav button[aria-selected="true"] { background: var(--ice); color: var(--sapphire); font-weight: 700; }
.side-nav button:focus-visible, .side-link:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 1px; }
.side-nav .count { margin-left: auto; background: #DC2626; color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; padding: 1px 7px; }
.side-nav .count:empty { display: none; }
.side-group { margin: 14px 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: rgba(255,255,255,.45); }
.shell-main { min-width: 0; display: grid; grid-template-rows: auto 1fr; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--line); }
.town { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; height: 42px; }
.town select { border: 0; background: none; font: inherit; font-weight: 600; padding: 0; height: 40px; min-width: 120px; }
.search { position: relative; flex: 1; max-width: 560px; }
.search input { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: #F8FAFC; font: inherit; }
.search-results { position: absolute; top: 48px; left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(15,23,42,.14); padding: 6px; display: grid; }
.search-results button { all: unset; display: grid; grid-template-columns: 70px 1fr; gap: 0 10px; padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.search-results button:hover { background: #F1F5FF; }
.search-results .sr-kind { grid-row: span 2; font-size: 11px; font-weight: 700; color: var(--blue); align-self: center; }
.updated { margin-left: auto; font-size: 13px; color: var(--sub); white-space: nowrap; }
.bell { all: unset; position: relative; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.bell b { position: absolute; top: -3px; right: -3px; background: #DC2626; color: #fff; font-size: 11px; border-radius: 999px; padding: 1px 6px; }
.me { display: flex; align-items: center; gap: 10px; }
.me .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.me strong { display: block; font-size: 14px; } .me div span { display: block; font-size: 12px; color: var(--sub); }
.content { padding: 22px 24px 40px; min-width: 0; }
.content > [data-panel] > .muted:first-child { margin-top: 0; }

/* KPI cards */
.kpi-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.kpi-card { all: unset; box-sizing: border-box; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; display: grid; gap: 6px; align-content: start; transition: box-shadow .15s ease, transform .15s ease; }
.kpi-card:hover { background: #fff; color: inherit; box-shadow: 0 10px 24px rgba(15,23,42,.08); transform: translateY(-1px); } /* no fill: keep the card's own background */
.kpi-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.kc-label { margin: 0; display: flex; gap: 8px; align-items: center; font-size: 13.5px; font-weight: 600; }
.kc-value { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kc-value strong { font-size: 30px; font-weight: 800; letter-spacing: -.6px; }
.kc-badge { font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 7px; }
.kc-badge.ok { background: #E7F7EE; color: #15803D; } .kc-badge.bad { background: #FDECEC; color: #B91C1C; } .kc-badge.warn { background: #FFF4D6; color: #B45309; }
.kc-sub { margin: 0; font-size: 12.5px; color: var(--sub); }
.kc-bar { display: flex; height: 7px; border-radius: 4px; overflow: hidden; background: #EEF1F5; margin-top: 4px; }
.kc-bar i { display: block; height: 100%; }
.split-keys { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 6px; font-size: 11.5px; color: var(--sub); }
.split-keys i, .d-keys i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.ok { background: #16A34A; } .dot.info { background: #1F4FD1; } .dot.warn { background: #F59E0B; } .dot.bad { background: #DC2626; }
.dot.violet { background: #7C3AED; } .dot.orange { background: #EA580C; } .dot.muted { background: #94A3B8; }

/* Dashboard grid */
.dash-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px;
  grid-template-areas: "map map recent alerts" "hour status routes fares"; }
.map-card { grid-area: map; } .a-recent { grid-area: recent; } .a-alerts { grid-area: alerts; }
.a-hour { grid-area: hour; } .a-status { grid-area: status; } .a-routes { grid-area: routes; } .a-fares { grid-area: fares; }
.a-status .donut-wrap { grid-template-columns: 140px 1fr; }
.panel-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; min-width: 0; }
.pc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.pc-head h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.pc-head .row { display: flex; gap: 8px; }
.live { font-size: 12px; font-weight: 700; color: #DC2626; background: #FDECEC; border-radius: 6px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }
button.link { all: unset; color: var(--blue); font-weight: 600; font-size: 14px; text-decoration: underline; cursor: pointer; }
.map-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.map-card .map-wrap { flex: 1; min-height: 380px; }
.map-card .map { height: 100%; min-height: 380px; }
.map-card .pc-head { padding: 14px 16px 0; }
.map-wrap { position: relative; }
.map { height: 380px; width: 100%; }
.map.tall { height: calc(100vh - 190px); min-height: 420px; border-radius: 12px; }
.legend { position: absolute; z-index: 500; top: 12px; left: 12px; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; box-shadow: 0 8px 20px rgba(15,23,42,.10); max-width: 230px; }
.legend p { margin: 3px 0; display: flex; gap: 8px; align-items: center; }
.legend .lg-title { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--sub); margin-top: 8px; }
.legend .lg-title:first-child { margin-top: 0; }
.legend .sq { width: 10px; height: 10px; border: 2px dashed var(--blue); border-radius: 2px; flex: none; }
.legend p span.muted { margin-left: auto; padding-left: 10px; }
.zone-label { background: transparent; border: 0; box-shadow: none; font-weight: 700; color: #102657; }

/* Bookings and alerts */
.rb-list { display: grid; }
.rb-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 6px; border-bottom: 1px solid #F0F2F6; }
.rb-row:last-child { border-bottom: 0; }
.rb-row p { margin: 1px 0; display: flex; align-items: center; gap: 8px; }
.rb-row.alarm { background: #FEF1F1; border-radius: 10px; padding: 10px; }
.rb-right { text-align: right; display: grid; align-content: start; white-space: nowrap; }
.st { font-size: 11.5px; font-weight: 700; border-radius: 6px; padding: 1px 7px; }
.st.ok { background: #E7F7EE; color: #15803D; } .st.info { background: #E8EEFE; color: #1F4FD1; } .st.warn { background: #FFF4D6; color: #B45309; }
.st.bad { background: #FDECEC; color: #B91C1C; } .st.muted { background: #F1F5F9; color: #64748B; }
.bad-text { color: #B91C1C; font-weight: 600; }
.info-text { color: #1F4FD1; font-weight: 600; }
.dispatch-btn { margin-top: 6px; background: #DC2626; color: #fff; border: 0; border-radius: 8px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.dp-list { display: grid; gap: 8px; max-height: 60vh; overflow: auto; }
.dp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #E6EAF0; border-radius: 12px; }
.dp-row.off { opacity: .6; }
.dp-row p { margin: 2px 0 0; }
.alert-list { display: grid; }
.alert-row { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #F0F2F6; }
.alert-row:last-child { border-bottom: 0; }
.alert-row p { margin: 1px 0; }
.danger-btn { background: #DC2626; color: #fff; border: 0; }

/* Charts */
.chart { width: 100%; height: auto; }
.chart .grid { stroke: #EEF1F5; } .chart .axis { font-size: 10px; fill: #94A3B8; }
.chart .line-t { fill: none; stroke: var(--blue); stroke-width: 2.4; } .chart .area { fill: rgba(31,79,209,.12); }
.chart .line-y { fill: none; stroke: #94A3B8; stroke-width: 1.6; stroke-dasharray: 4 4; } .chart .now { stroke: #94A3B8; stroke-dasharray: 2 3; }
.chart-key { display: flex; gap: 16px; font-size: 12.5px; color: var(--sub); margin: 0 0 6px; }
.chart-key .k-t { color: var(--blue); font-weight: 600; }
.donut-wrap { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; }
.donut .d-num { font-size: 30px; font-weight: 800; fill: var(--ink); } .donut .d-sub { font-size: 12px; fill: var(--sub); }
.d-keys { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.d-keys li { display: flex; align-items: center; } .d-keys b { margin-left: auto; }
.route { margin-bottom: 12px; } .route p { margin: 0 0 5px; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.track { height: 7px; background: #EEF1F5; border-radius: 4px; overflow: hidden; } .track i { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.fare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fare-table th { text-align: left; font-size: 13px; color: var(--sub); background: #F8FAFC; padding: 8px; }
.fare-table td { padding: 10px 8px; border-bottom: 1px solid #F0F2F6; }
.fare-eg { background: #EEF3FF; border-radius: 10px; padding: 10px 12px; color: #102657; font-size: 14px; }

/* Existing pages inside the shell */
body.in-app .card, body.in-app .item { border-radius: 14px; border-color: var(--line); }
body.in-app .list { gap: 12px; }

@media (max-width: 1400px) { .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "map map" "recent alerts" "hour status" "routes fares"; } }
/* Narrow laptops and tablets: room for the search box */
@media (max-width: 1280px) {
  .updated { display: none; }
  .me div { display: none; }
  .top { padding: 12px 18px; gap: 10px; }
  .search { min-width: 180px; }
  .content { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .side { position: sticky; top: 0; z-index: 30; height: auto; padding: 10px 10px 8px; }
  .side-brand { padding: 0 4px 8px; margin-bottom: 6px; }
  .sb-logo { width: 40px; height: 40px; }
  .sb-tag { display: none; }
  .side-nav { display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav button, .side-link { flex: none; padding: 8px 12px; font-size: 14px; }
  .side-group { display: none; }
  .top { position: static; flex-wrap: wrap; padding: 10px 14px; gap: 10px; } .updated { display: none; }
  .search { flex: 1 1 100%; order: 3; max-width: none; min-width: 0; }
  .me div { display: none; }
  .town { flex: 1 1 0; min-width: 0; }
  .town select { width: 100%; min-width: 0; }
  .me { gap: 8px; }
  .me .avatar { width: 36px; height: 36px; font-size: 13px; }
  #signOut { padding: 8px 12px; font-size: 14px; white-space: nowrap; }
  .search { min-width: 0; }
  .content { padding: 16px 14px 32px; }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-head { flex-wrap: wrap; }
  .map-card .map-wrap, .map-card .map { min-height: 320px; }
  .dash-grid { grid-template-columns: 1fr; grid-template-areas: "map" "alerts" "recent" "hour" "status" "routes" "fares"; }
  .donut-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .kpi-row { grid-template-columns: 1fr; } .legend { max-width: 180px; font-size: 12px; } }
.ghost-file { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; cursor: pointer; font-size: 14px; }
#bctaCard .fare-table input { width: 100%; max-width: 120px; }
.switch-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.switch-line input { width: 18px; height: 18px; margin: 0; }

/* ── Module pages (Layers 2–4) ───────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 12px; }
.filters input[type="search"] { flex: 1 1 260px; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; background: #F8FAFC; font: inherit; }
.filters select, .filters input[type="date"], .filters input[type="number"] { width: auto; flex: 0 0 auto; margin: 0; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; font: inherit; }
.filters label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--sub); font-weight: 600; }
.qtabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 12px; scrollbar-width: none; }
.qtabs::-webkit-scrollbar { display: none; }
.qtabs button { all: unset; cursor: pointer; padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--sub); border-bottom: 2.5px solid transparent; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.qtabs button.on { color: var(--blue); border-bottom-color: var(--blue); }
.qtabs button b { font-size: 11.5px; background: #EEF1F6; color: var(--sub); border-radius: 999px; padding: 1px 7px; }
.qtabs button.on b { background: #E8EEFE; color: var(--blue); }
.qtabs button:focus-visible { outline: 2px solid var(--blue); border-radius: 6px; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11.5px; letter-spacing: .4px; text-transform: uppercase; color: var(--sub); font-weight: 700; background: #F8FAFC; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid #EEF1F5; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: #F6F9FF; }
.tbl tr.click:focus-visible td { background: #EEF3FF; outline: none; }
.tbl .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .wide { min-width: 220px; }
.tbl td.empty { text-align: center; color: var(--sub); padding: 28px; }
.tbl select { height: 32px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .2px; white-space: nowrap; }
.filters .switch-line input { width: 18px; }
.tbl td .sub2 { display: block; font-size: 12px; color: var(--sub); white-space: nowrap; }
.st { text-transform: capitalize; white-space: nowrap; }
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 10px; }
.flags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.flag { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.flag.bad { background: #FDECEC; color: #B91C1C; } .flag.warn { background: #FFF4D6; color: #B45309; } .flag.info { background: #E8EEFE; color: #1F4FD1; }
.flag.ok { background: #E7F7EE; color: #15803D; } .flag.muted { background: #F1F5F9; color: #64748B; }
.who { display: inline-flex; align-items: center; gap: 10px; }
.av { width: 34px; height: 34px; border-radius: 50%; background: #E8EEFE; color: var(--blue); font-weight: 700; font-size: 12.5px; display: grid; place-items: center; flex: none; position: relative; }
.av.on::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #16A34A; border: 2px solid #fff; }
.btn-link { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; font-size: 14px; }
.btn-link.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.danger-text { color: #B91C1C !important; } .warn-text { color: #B45309; } .bad-text { color: #B91C1C; }

/* Layer 3: the detail drawer */
dialog.drawer { margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(760px, 100vw); border: 0; padding: 0; background: var(--page); box-shadow: -20px 0 50px rgba(15,23,42,.2); animation: drIn .2s ease-out; display: flex; flex-direction: column; }
dialog.drawer:not([open]) { display: none; }
dialog.drawer::backdrop { background: rgba(11,29,69,.35); }
@keyframes drIn { from { transform: translateX(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog.drawer { animation: none; } }
.dr-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 18px 22px 8px; background: #fff; }
.dr-head h2 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dr-x { width: 38px; height: 38px; padding: 0; border-radius: 10px; flex: none; }
.dr-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 6px 22px 12px; background: #fff; }
dialog.drawer > div:nth-child(3) { background: #fff; padding: 0 22px; }
dialog.drawer .qtabs { margin-bottom: 0; }
.dr-body { flex: 1; overflow-y: auto; padding: 16px 22px 30px; display: grid; gap: 14px; align-content: start; }
.dr-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.dr-card h3 { margin: 0 0 10px; font-size: 14px; letter-spacing: .3px; text-transform: uppercase; color: var(--sub); }
.kv { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
.kv dt { color: var(--sub); } .kv dd { margin: 0; font-weight: 600; }
.fare-line { font-size: 16px; font-weight: 700; margin: 0 0 10px; background: #EEF3FF; border-radius: 10px; padding: 10px 12px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.timeline li { position: relative; padding: 0 0 14px 24px; display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #CBD5E1; }
.timeline li::after { content: ''; position: absolute; left: 5px; top: 18px; bottom: 0; width: 2px; background: #E2E8F0; }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: #16A34A; } .timeline li.done.bad::before { background: #DC2626; }
.timeline li.todo strong { color: #94A3B8; font-weight: 600; }
.dr-map { height: 300px; border-radius: 12px; overflow: hidden; margin-bottom: 12px; position: relative; }
.dr-map .map-key { position: absolute; z-index: 500; left: 10px; bottom: 8px; background: rgba(255,255,255,.94); border-radius: 8px; padding: 4px 8px; margin: 0; }
.map-key .k { display: inline-block; width: 18px; height: 4px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.map-key .k.planned { background: #94A3B8; } .map-key .k.driven { background: #1F4FD1; margin-left: 8px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.person { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.person p { margin: 2px 0; }
ul.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
ul.plain p { margin: 2px 0 0; }
.mini-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mini-kpis div { background: #F8FAFC; border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.mini-kpis strong { font-size: 18px; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.doc-tile { border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: grid; gap: 4px; text-decoration: none; color: var(--ink); font-size: 13px; }
.doc-tile .th { height: 96px; border-radius: 8px; background: #F1F5F9; display: grid; place-items: center; overflow: hidden; color: var(--sub); font-weight: 700; }
.doc-tile .th img { width: 100%; height: 100%; object-fit: cover; }
.doc-tile.missing { opacity: .6; }
.rb-row.click { cursor: pointer; }
.rb-row.click:hover { background: #F6F9FF; }
dialog.fit-dialog textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; margin: 8px 0; }

/* Phones: tables become cards */
@media (max-width: 700px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { border-bottom: 1px solid var(--line); padding: 8px 4px; }
  .tbl td { border: 0; padding: 4px 8px; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .tbl td::before { content: attr(data-label); color: var(--sub); font-size: 12px; font-weight: 600; text-align: left; }
  .tbl td.empty::before { content: none; }
  .tbl .num { text-align: right; }
  .people, .mini-kpis { grid-template-columns: 1fr 1fr; }
  .dr-head, .dr-actions, dialog.drawer > div:nth-child(3) { padding-left: 14px; padding-right: 14px; }
  .dr-body { padding: 12px 14px 24px; }
  .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; }
}
.choice-list { display: grid; gap: 8px; margin: 10px 0 14px; }
.choice-list button { text-align: left; height: 44px; }
.convo { display: grid; gap: 10px; }
.bubble { max-width: 86%; border-radius: 14px; padding: 10px 12px; }
.bubble p { margin: 0; white-space: pre-wrap; } .bubble p.small { margin-bottom: 4px; }
.bubble.them { background: #F1F5F9; justify-self: start; }
.bubble.us { background: #E8EEFE; justify-self: end; }
.bubble .photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.bubble .photos img { width: 110px; height: 110px; object-fit: cover; border-radius: 10px; }
.dr-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: inherit; }
.compose { display: grid; gap: 12px; max-width: 760px; }
.compose label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.compose input:not([type="radio"]):not([type="checkbox"]), .compose select, .compose textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 400; background: #fff; }
.compose .row select, .compose .row input { width: auto; }
.compose fieldset.who { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.compose fieldset.who legend { font-weight: 700; font-size: 13px; color: var(--sub); padding: 0 6px; }
.compose fieldset.who label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.compose fieldset.who input { width: auto; margin: 0; }
.pick-list { display: grid; gap: 4px; margin-top: 6px; }
.pick-row { all: unset; cursor: pointer; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); }
.pick-row:hover { background: #F6F9FF; }
.chips-x { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip-x { display: inline-flex; align-items: center; gap: 6px; background: #E8EEFE; color: var(--blue); border-radius: 999px; padding: 4px 6px 4px 10px; font-size: 13px; font-weight: 600; }
.chip-x button { all: unset; cursor: pointer; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.chip-x button:hover { background: #fff; }
.compose label.switch-line { display: inline-flex; align-items: center; gap: 8px; }
.compose label.switch-line input { width: 18px; height: 18px; margin: 0; }

/* Reports */
.rp-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 6px 0 14px; }
.rp-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: grid; gap: 4px; }
.rp-kpi strong { font-size: 22px; letter-spacing: -.3px; }
.rp-prev { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rp-panel .dr-card { margin-bottom: 14px; }
.rp-chart { width: 100%; height: auto; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 6px; font-size: 13px; color: var(--sub); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.print-only { display: none; }
.rp-print-head { align-items: center; gap: 12px; margin-bottom: 12px; }
.rp-print-head p { margin: 2px 0 0; }
@media print {
  body.printing-report .side, body.printing-report .top, body.printing-report .no-print, body.printing-report .content > [data-panel]:not([data-panel="reports"]) { display: none !important; }
  body.printing-report .shell { display: block; }
  body.printing-report .print-only { display: flex !important; }
  body.printing-report .panel-card { border: 0; box-shadow: none; padding: 0; }
  body.printing-report .dr-card, body.printing-report .rp-kpi { break-inside: avoid; }
  body.printing-report .tbl-wrap { overflow: visible; }
}

/* Analytics */
.q-help { all: unset; cursor: help; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid #CBD5E1; color: var(--sub); font-size: 10.5px; font-weight: 700; vertical-align: 1px; }
.q-help:focus-visible { outline: 2px solid var(--blue); }
.an-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.an-two .dr-card { margin-bottom: 14px; }
@media (max-width: 1100px) { .an-two { grid-template-columns: 1fr; } }
.an-map { height: 300px; border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.watch { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15px; }
.funnel { display: grid; gap: 8px; }
.fn-row { display: grid; grid-template-columns: 170px 1fr 70px 180px; gap: 10px; align-items: center; font-size: 14px; }
.fn-bar { height: 22px; background: #F1F5F9; border-radius: 6px; overflow: hidden; }
.fn-bar i { display: block; height: 100%; background: #1F4FD1; border-radius: 6px; }
.fn-row strong { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .fn-row { grid-template-columns: 1fr 60px; } .fn-bar { grid-column: 1 / -1; } .fn-row .small { grid-column: 1 / -1; } }
.heat { overflow-x: auto; }
.heat-grid { display: grid; grid-template-columns: 38px repeat(24, minmax(18px, 1fr)); gap: 2px; min-width: 560px; }
.heat-h, .heat-d { font-size: 11px; color: var(--sub); text-align: center; }
.heat-d { text-align: left; line-height: 22px; }
.heat-c { height: 22px; border-radius: 4px; }
.heat-key { display: flex; align-items: center; gap: 3px; margin-top: 8px; }
.heat-key i { width: 18px; height: 10px; border-radius: 2px; display: inline-block; }

/* Settings */
.st-card { margin-bottom: 14px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 16px; margin-top: 8px; }
.st-field { display: grid; gap: 5px; font-weight: 600; font-size: 14px; }
.st-field input, .st-field select, .st-field textarea { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; font-weight: 400; background: #fff; width: 100%; box-sizing: border-box; }
.st-field input:disabled, .st-field select:disabled, .st-field textarea:disabled { background: #F8FAFC; color: var(--sub); }
.st-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
@media (max-width: 760px) { .st-pair { grid-template-columns: 1fr; } }
.st-docs { display: grid; gap: 8px; margin: 8px 0; }
.st-list { display: grid; gap: 12px; margin: 8px 0; }
.st-item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #FBFCFE; }
.st-item .row { justify-content: space-between; align-items: center; }
.st-h { margin: 18px 0 4px; font-size: 15px; }

/* Settings → SMS gateway health */
.st-sms-health { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 12px; margin: 4px 0 12px; border: 1px solid var(--line, #dfe5f0); border-radius: 10px; background: #f7f9fd; }
.st-sms-health > div { flex-basis: 100%; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.st-dot.ok { background: #0E9F8E; } .st-dot.warn { background: #D97706; } .st-dot.bad { background: #c0392b; }

/* ── Option A: section menu states, Home, Live now, forms ───────────── */
.sub-group[hidden], .rail-btn[hidden], .rail-count[hidden] { display: none !important; }

/* Home: the main column and the "Live now" panel */
.home:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.home-main { min-width: 0; }
.home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 0 0 16px; }
.home-head h1 { margin: 0; font-size: 26px; letter-spacing: -.4px; }
.home-head p { margin: 4px 0 0; font-size: 14px; }
.home-h { font-size: 16px; margin: 20px 0 10px; }
.home .kpi-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "map map" "recent alerts" "hour status" "routes fares"; }
.qa-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.qa { all: unset; box-sizing: border-box; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; cursor: pointer; font-weight: 700; font-size: 14px; transition: box-shadow .15s ease, transform .15s ease; }
.qa:hover { box-shadow: 0 10px 24px rgba(15,23,42,.08); transform: translateY(-1px); }
.qa:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 2px; }
.qa-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.qa-ic svg, .lp-act svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.qa.t1 .qa-ic { background: var(--sapphire); } .qa.t2 .qa-ic { background: #0E9F8E; } .qa.t3 .qa-ic { background: #D97706; }
.qa.t4 .qa-ic { background: #7C3AED; } .qa.t5 .qa-ic { background: #3A64B8; } .qa.t6 .qa-ic { background: #475569; }
.qa-badge { position: absolute; top: 12px; right: 12px; background: #DC2626; color: #fff; border-radius: 999px; font-size: 11px; padding: 2px 8px; }
.live-panel { position: sticky; top: 84px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.lp-head { display: flex; justify-content: space-between; align-items: center; }
.lp-head h2 { margin: 0; font-size: 17px; }
.chip-i { background: var(--ice); color: var(--sapphire); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.lp-trip { border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.lp-trip-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lp-route { display: flex; gap: 10px; }
.lp-dots { display: flex; flex-direction: column; align-items: center; padding-top: 5px; }
.lp-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--sapphire); }
.lp-dots i.e { background: #fff; border: 2px solid var(--sapphire); box-sizing: border-box; }
.lp-dots span { width: 2px; height: 26px; background: var(--line); }
.lp-route p { margin: 0 0 10px; font-weight: 600; }
.lp-route small { display: block; color: var(--sub); font-weight: 500; font-size: 12px; margin-top: 1px; }
.lp-fare { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 10px; color: var(--sub); }
.lp-fare strong { font-size: 22px; color: var(--ink); font-variant-numeric: tabular-nums; }
.lp-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.lp-act { all: unset; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--sub); cursor: pointer; text-decoration: none; text-align: center; }
.lp-act .ic { color: var(--sapphire); display: grid; }
.lp-act:hover { background: #F6F9FF; }
.lp-act:focus-visible { outline: 2px solid var(--sapphire); }
.lp-h { margin: 6px 0 0; font-size: 15px; }
.lp-drivers { display: grid; }
.lp-driver { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #F0F2F6; cursor: pointer; border-radius: 8px; }
.lp-driver:hover { background: #F6F9FF; }
.lp-driver:last-child { border-bottom: 0; }
.lp-driver .st, .lp-trip .st { text-transform: none; }
.lp-dn { flex: 1; min-width: 0; display: grid; }
.lp-dn small { color: var(--sub); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-big { margin: 4px 0 0; width: 100%; height: 50px; border-radius: 14px; background: var(--sapphire); color: #fff; font-weight: 700; font-size: 15px; border: 0; }

/* Data entry: one look on every staff form — label above, 44 px boxes,
   the same border, a blue ring while typing. */
body.in-app .content :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]), select) {
  box-sizing: border-box; height: 44px; padding: 0 14px; border: 1px solid #D9D5CC; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 400; color: var(--ink); margin: 0; }
body.in-app .content textarea { box-sizing: border-box; padding: 10px 14px; border: 1px solid #D9D5CC; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 400; color: var(--ink); line-height: 1.45; }
body.in-app .content :is(input, select, textarea):focus { outline: none; border-color: var(--sapphire); box-shadow: 0 0 0 3px rgba(22,58,132,.14); }
body.in-app .content :is(input, select, textarea):disabled { background: #F6F5F1; color: var(--sub); }
body.in-app .content .tbl select { height: 34px; padding: 0 8px; font-size: 13px; }
body.in-app .content :is(.grid2, .grid3) { gap: 16px 20px; align-items: start; }
body.in-app .content :is(.grid2, .grid3, .compose, .st-grid) > label:not(.switch-line) { display: grid; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; align-content: start; }
body.in-app .content .st-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 20px; align-items: start; }
body.in-app .content .st-field { gap: 6px; font-size: 13px; }
body.in-app .content .st-field .small { font-weight: 400; }
body.in-app .content .card > label:not(.switch-line):not(.button-like) { margin: 14px 0 6px; font-size: 13px; }
body.in-app .content .row > :is(input, select) { width: auto; flex: 1 1 180px; }
body.in-app .content .row > button, body.in-app .content .pc-head button { margin: 0; }
body.in-app .content :is(.row, .pc-head, .filters) > button:not(.link) { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; }
body.in-app .content .filters :is(input, select) { height: 40px; }
@media (max-width: 1400px) { .qa-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .home:not([hidden]) { grid-template-columns: minmax(0, 1fr); } .live-panel { position: static; } }
@media (max-width: 860px) {
  .shell, .shell.no-sub { grid-template-columns: minmax(0, 1fr); }
  .rail { position: sticky; top: 0; height: auto; flex-direction: row; padding: 8px; gap: 4px; overflow-x: auto; justify-content: flex-start; }
  .rail-logo { width: 36px; height: 36px; margin: 0 6px 0 2px; }
  .rail-btn { width: 64px; min-height: 52px; font-size: 10.5px; }
  .rail-end { margin-top: 0; }
  .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 10px; }
  .side-brand, .sub-title { display: none; }
  .sub-group:not([hidden]) { display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .sub-group .side-link, .sub-group button { flex: none; }
  .home .kpi-row, .qa-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .dash-grid { grid-template-columns: 1fr; grid-template-areas: "map" "alerts" "recent" "hour" "status" "routes" "fares"; }
  .home-head h1 { font-size: 22px; }
}
/* Card forms: two aligned columns of label-above fields */
body.in-app .content .card.form2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; align-items: start; }
body.in-app .content .card.form2 > :not(.fld) { grid-column: 1 / -1; margin-top: 0; margin-bottom: 0; }
body.in-app .content .fld { display: grid; gap: 6px; }
body.in-app .content .fld > label { margin: 0; font-size: 13px; }
body.in-app .content .card.form2 > .row.end { border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 760px) { body.in-app .content .card.form2 { grid-template-columns: minmax(0, 1fr); } }
/* Clean finish: line-icon bell, quieter top bar, aligned check-box notes */
.bell svg { width: 20px; height: 20px; fill: none; stroke: var(--sapphire); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bell:hover { background: #F3F6FC; }
.me .avatar { background: var(--sapphire); }
#signOut { height: 40px; padding: 0 14px; margin: 0; }
.switch-line { align-items: center; }
.switch-line > .small, .switch-line > .muted { font-weight: 400; }
/* New booking for a caller */
.cb-dialog { width: min(680px, calc(100vw - 24px)); max-height: 92vh; overflow-y: auto; }
.cb-dialog h3 { margin: 0 0 4px; font-size: 20px; }
.cb-body { display: grid; gap: 14px; margin-top: 12px; }
.cb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.cb-field { display: grid; gap: 6px; margin: 0; font-size: 13px; font-weight: 600; align-content: start; }
.cb-field > * { margin: 0 !important; }
.cb-dialog :is(input:not([type="radio"]), select) { box-sizing: border-box; width: 100%; height: 44px; padding: 0 14px; border: 1px solid #D9D5CC; border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 400; margin: 0; }
.cb-dialog :is(input, select):focus { outline: none; border-color: #163A84; box-shadow: 0 0 0 3px rgba(22,58,132,.14); }
.cb-route { display: grid; gap: 8px; }
.cb-place { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 14px; border: 1px solid #D9D5CC; border-radius: 12px; cursor: pointer; background: #fff; }
.cb-place:hover { background: #F6F9FF; } .cb-place:focus-visible { outline: 2px solid #163A84; }
.cb-place > * { margin: 0; line-height: 1.3; }
.cb-dialog input[type="radio"] { accent-color: #163A84; }
.cb-field .small { font-weight: 400; }
.cb-dot { width: 10px; height: 10px; border-radius: 50%; background: #163A84; flex: none; }
.cb-dot.e { background: #fff; border: 2px solid #163A84; box-sizing: border-box; }
.cb-types { display: grid; gap: 8px; margin-top: 6px; }
.cb-type { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #D9D5CC; border-radius: 12px; cursor: pointer; font-weight: 600; margin: 0; }
.cb-type.on { border-color: #163A84; background: #E8EFFB; }
.cb-type strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.cb-type input { width: 18px; height: 18px; margin: 0; }
.cb-label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.cb-seg { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-seg button { margin: 0; height: 44px; padding: 0 16px; background: #fff; color: #0F172A; border: 1px solid #D9D5CC; font-weight: 600; }
.cb-seg button.on { background: #E8EFFB; color: #163A84; border-color: #163A84; }
.cb-foot { border-top: 1px solid #E6EAF0; padding-top: 14px; }
.cb-foot button, .cb-done button, .cb-body > .row button { margin: 0; height: 44px; }
.cb-done { text-align: center; display: grid; gap: 8px; padding: 10px 0; }
.cb-code { font-size: 46px; font-weight: 800; letter-spacing: 6px; color: #163A84; margin: 6px 0; font-variant-numeric: tabular-nums; }
.ok-text { color: #0B6E63; font-weight: 700; }
.lp-big.ghost { background: #fff; color: var(--sapphire); border: 1px solid var(--line); }
.lp-big.ghost:hover { background: #F3F6FC; }
@media (max-width: 560px) { .cb-grid { grid-template-columns: 1fr; } }
/* No blue tint where the mouse points: things keep their own background and
   the pointer cursor shows they can be clicked. */
body.in-app :is(.side-nav button, .side-link, .search-results button, .rb-row.click, .pick-row, .lp-act, .lp-driver, .bell, .cb-place, .lp-big.ghost, button.ghost):hover { background: inherit; }
body.in-app .side-nav button[aria-selected="true"]:hover { background: var(--ice); }
body.in-app .tbl tr.click:hover td { background: inherit; }
body.in-app :is(button.ghost, .lp-big.ghost, .cb-place, .bell, .lp-act):hover { background: #fff; }
body.in-app :is(.tbl tr.click, .rb-row.click, .lp-driver, .lp-act, .pick-row, .cb-place, .qa, .kpi-card, .side-nav button, .side-link) { cursor: pointer; }
body.in-app .qa:hover { background: #fff; }
body.in-app .lp-driver:hover { background: transparent; }
