.record-overview {
  --record-ink: #25272b;
  --record-secondary: #555a62;
  --record-muted: #636873;
  --record-line: #d9dce1;
  --record-divider: #e7e8eb;
  --record-tint: #f5f6f7;
  --record-selected: #eceef1;
  --record-accent: #454a54;
  color: var(--record-ink);
  font-variant-numeric: tabular-nums;
}
.record-overview [hidden] {display:none!important;}
:where(.record-overview) .record-heading {display:flex;align-items:end;justify-content:space-between;margin:0 0 22px;}
:where(.record-overview) .record-heading h2 {font-size:28px;letter-spacing:-.05em;line-height:1.3;margin:14px 0 6px;}
:where(.record-overview) .record-heading p,:where(.record-overview) .record-identity,:where(.record-overview) .record-window,:where(.record-overview) .record-metadata,:where(.record-overview) .record-id {margin:0;color:var(--record-muted);font-size:13px;}
:where(.record-overview) .record-back {border:0;background:transparent;padding:2px 0;color:var(--record-secondary);font:inherit;cursor:pointer;}
:where(.record-overview) .record-columns {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;align-items:start;}
:where(.record-overview) .record-list-panel,:where(.record-overview) .record-evidence {min-width:0;background:#fff;border:1px solid var(--record-line);border-radius:8px;overflow:hidden;box-shadow:0 1px 2px #161a2008;}
:where(.record-overview) .record-panel-title {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--record-divider);}
:where(.record-overview) .record-panel-title h3 {font-size:17px;line-height:1.35;letter-spacing:-.02em;margin:0;}
:where(.record-overview) .record-panel-title>span {font-size:12px;color:var(--record-muted);}
.record-overview .source-records {width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;}
:where(.record-overview) .source-records th,:where(.record-overview) .source-records td {padding:11px 10px;text-align:left;vertical-align:middle;}
:where(.record-overview) .source-records th {background:var(--record-tint);color:var(--record-secondary);font-weight:500;}
:where(.record-overview) .source-records th:first-child,:where(.record-overview) .source-records td:first-child {padding-left:16px;}
:where(.record-overview) .source-records th:nth-child(2){width:36%;}
:where(.record-overview) .source-records th:last-child,:where(.record-overview) .source-records td:last-child {text-align:right;padding-right:16px;}
:where(.record-overview) .source-records td {border-top:1px solid var(--record-divider);line-height:1.45;}
:where(.record-overview) .source-records td span {display:block;color:var(--record-muted);font-size:12px;}
:where(.record-overview) .source-records td strong {font-size:14px;font-weight:600;overflow-wrap:anywhere;}
:where(.record-overview) .source-records tbody tr:not(.chosen):hover td {background:var(--record-tint);}
:where(.record-overview) .source-records tr.chosen td {background:var(--record-selected);}
:where(.record-overview) .source-records tr.chosen td:first-child {box-shadow:inset 3px 0 var(--record-accent);}
:where(.record-overview) .source-records tbody tr {cursor:pointer;}
:where(.record-overview) .record-pick {background:transparent;border:0;padding:3px 0;text-align:left;color:var(--record-ink);font:inherit;cursor:pointer;}
:where(.record-overview) .record-id {font-size:11px;overflow-wrap:anywhere;margin:4px 0;}
:where(.record-overview) .detail-leg-picker,:where(.record-overview) .record-evidence .station-picker {display:grid;gap:6px;font-size:12px;font-weight:600;color:var(--record-secondary);margin-top:16px;}
:where(.record-overview) .record-empty-list {padding:18px;color:var(--record-muted);font-size:13px;}
:where(.record-overview) .source-records td small {display:block;overflow-wrap:anywhere;font-size:10px;color:var(--record-muted);}
.record-overview .detail-explanation p {font-size:12px;color:var(--record-muted);line-height:1.6;}
.record-overview .record-download {border:1px solid var(--record-line);border-radius:4px;background:white;color:var(--record-secondary);padding:6px 9px;font:inherit;font-size:12px;cursor:pointer;}
.record-overview .aux-station {padding:12px 0;border-top:1px solid var(--record-divider);}
.record-overview .aux-visit table {width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums;}
.record-overview .aux-visit thead {background:var(--record-tint);}
.record-overview .aux-visit th,.record-overview .aux-visit td {padding:6px 4px;text-align:left;border-bottom:1px solid var(--record-divider);}

.record-overview :is(button, select, summary, input):focus-visible {outline:2px solid var(--record-accent);outline-offset:2px;}
.record-overview .record-back:hover {text-decoration:underline;text-underline-offset:3px;}
.record-overview .record-download:hover {background:var(--record-tint);}

.interval-evidence {
  color:var(--record-ink);
  padding:18px;
  min-width:0;
  background:#fff;
  border-radius:inherit;
}
.interval-header,.interval-top,.interval-total {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:8px 12px;
}
.interval-header {align-items:flex-start;}
.interval-header h3 {margin:0;font-size:17px;line-height:1.4;}
.interval-header p,.interval-window {margin:4px 0 0;color:var(--record-secondary);font-size:13px;}
.interval-evidence .record-download {flex:none;}
.interval-window {margin-top:12px;font-variant-numeric:tabular-nums;}
.interval-total {margin:12px 0 16px;border-top:1px solid var(--record-divider);padding-top:10px;font-size:13px;}
.interval-total strong {font-size:24px;line-height:1.35;letter-spacing:-.025em;}
.interval-note {margin:-10px 0 16px;font-size:12px;color:var(--record-secondary);}
.interval-total small {font-size:12px;font-weight:500;color:var(--record-secondary);letter-spacing:0;}
.interval-order {
  display:inline-flex;
  gap:2px;
  border:1px solid var(--record-line);
  background:var(--record-tint);
  border-radius:6px;
  padding:2px;
  margin-bottom:12px;
}
.interval-order button {background:transparent;border:1px solid transparent;border-radius:4px;font:inherit;font-size:12px;color:var(--record-secondary);padding:3px 9px;}
.interval-order button[aria-pressed=true] {background:white;color:var(--record-ink);border-color:var(--record-line);box-shadow:0 1px 2px #161a200a;}
.interval-list {list-style:none;padding:0;margin:0;}
.interval-row {padding:10px 10px;border-top:1px solid var(--record-divider);}
.interval-top {font-size:12px;line-height:1.5;flex-wrap:wrap;gap:2px 8px;}
.interval-clock,.interval-reason {color:var(--record-muted);}
.interval-status {font-weight:600;}
.interval-place {overflow-wrap:anywhere;margin-top:3px;font-size:14px;font-weight:500;}
.interval-arrow {color:var(--record-muted);font-weight:400;}
.interval-category {font-size:12px;margin-left:4px;padding:1px 5px;border:1px solid var(--record-line);border-radius:4px;color:var(--record-secondary);font-weight:400;white-space:nowrap;}
.interval-duration {font-size:12px;margin-top:2px;color:var(--record-secondary);font-variant-numeric:tabular-nums;}
.interval-reason {font-size:12px;margin-top:3px;overflow-wrap:anywhere;}
.interval-row.interval-empty {background:#fff5e4;border-left:3px solid #c1842c;border-top-color:#ebdcc3;padding-left:7px;}
.interval-empty .interval-status {color:#81500e;}
.interval-review .interval-status {color:#694d51;}
.interval-foot {margin-top:14px;padding-top:10px;border-top:1px solid var(--record-line);}
.interval-foot .detail-explanation {margin:0;font-size:13px;}
.interval-foot summary {cursor:pointer;color:var(--record-secondary);padding:4px 0;}
.interval-foot .record-id {margin-top:8px;}

.interval-tag {
  display: inline-block;
  margin-inline-start: 4px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.interval-tag-partner { background: var(--report-selection); color: var(--report-action); }
.interval-tag-boundary { background: var(--report-review-bg); color: var(--report-review); }
.interval-address {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--report-muted);
  overflow-wrap: anywhere;
}
.interval-endpoints {
  display: grid;
  grid-template-columns: minmax(0, auto) auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.daily-original-km {font-weight:500;font-variant-numeric:tabular-nums}
.daily-ledger .daily-gps-note {color:var(--report-error,#a12e3e);white-space:normal;overflow-wrap:anywhere}
.interval-gps-summary {margin:0 0 14px;padding:8px 10px;border-radius:8px;background:var(--report-review-bg,#ebf1f8);font-size:12px}
.interval-gps-summary:has(.interval-gps-jump) {background:var(--report-error-bg,#fbecef);color:var(--report-error,#a12e3e)}
.interval-gps-summary p {margin:3px 0}
.interval-gps-jump {border:1px solid currentColor;border-radius:5px;background:white;color:inherit;font:inherit;margin:3px 0 0;padding:4px 7px;cursor:pointer}
.interval-list .interval-row.interval-gps-anomaly {margin:4px 0;padding:10px;border-inline-start:3px solid var(--report-error,#a12e3e);border-radius:8px;background:var(--report-error-bg,#fbecef)}
.interval-row.interval-gps-anomaly:focus {outline:2px solid var(--report-error,#a12e3e);outline-offset:-2px}
.interval-gps-badge {border-radius:4px;border:1px solid currentColor;color:var(--report-error,#a12e3e);padding:0 5px;font-size:12px}
.interval-gps-detail,.interval-gps-repair {margin:5px 0;font-size:12px;color:var(--report-error,#a12e3e)}
.interval-gps-repair {color:var(--report-success,#286247)}
.interval-gps-repair strong {display:inline-block;border-radius:4px;background:var(--report-success-bg,#e8f3ed);padding:0 5px}

.interval-row[data-trajectory-leg] {cursor:pointer}
.interval-row[data-trajectory-leg]:is(:hover,.is-trajectory-leg-selected) {outline:2px solid var(--report-control-edge,#6b8dbd);outline-offset:-2px;border-radius:8px}
.interval-track-jump {padding:0;border:0;border-radius:3px;background:transparent;color:#2458a6;font:inherit;cursor:pointer;text-decoration:underline dotted;text-underline-offset:3px}
.interval-track-jump[aria-pressed=true] {font-weight:700}
.interval-place-jump {cursor:pointer;font:inherit;border:0;background:transparent;color:#2458a6;padding:0;border-radius:3px;text-decoration:underline dotted;text-underline-offset:3px;text-align:left;overflow-wrap:anywhere}
.interval-tag.interval-place-jump {border:0;padding:1px 4px}
.interval-place-jump[aria-pressed=true] {font-weight:700;background:#eaf2fc}

.journey {margin:0 0 16px;min-width:0}
.journey-heading {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px}
.journey-heading h4 {margin:0;color:var(--report-ink,#1d2b3f);font-size:16px;line-height:24px;font-weight:600}
.journey-heading small,.journey figcaption,.journey-empty {font-size:12px;line-height:18px;color:var(--report-muted,#3e506b)}
.journey figure {margin:0}
.journey-map {display:block;width:100%;height:auto;max-height:224px;border-radius:10px;background-color:#f1f6fc;background-image:radial-gradient(#c9daec 1px,transparent 1px);background-size:16px 16px}
.journey-route {fill:none;stroke:var(--report-action,#2458a6);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.journey-pin circle {fill:#fff;stroke:var(--report-action,#2458a6);stroke-width:2}
.journey-pin text,.journey-north {fill:#2458a6;font-size:12px;font-weight:700}
.journey figcaption {margin:6px 0 0}
.journey-stops {display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;padding:0;margin:8px 0 0;font-size:12px}
.journey-stops li {display:flex;align-items:center;gap:6px;min-width:0}
.journey-point-name {overflow-wrap:anywhere}
.journey-point-name small {font-size:inherit;color:#3e506b}
.journey-chip {display:grid;place-items:center;flex:0 0 auto;min-width:19px;height:19px;padding:0 2px;box-sizing:border-box;border-radius:99px;background:#e7f1ff;color:#2458a6;font-weight:700}
.journey-empty {margin:0;padding:14px;background:#f1f6fc;border-radius:8px}
.journey-sr {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}

.driver-periods {margin:8px 0;font-size:13px;color:var(--record-ink)}
.driver-periods summary {cursor:pointer;color:var(--record-secondary)}
.driver-periods ol {list-style:none;padding:0;margin:6px 0}
.driver-periods li {display:flex;flex-wrap:wrap;gap:2px 12px;padding:4px 0}
.driver-periods li span {font-variant-numeric:tabular-nums;color:var(--record-secondary)}

.daily-ledger .daily-identity.daily-handover :is(.daily-pick,small) {white-space:normal;overflow-wrap:anywhere}
