:root {
  --brand-green: #275C2E;
  --brand-green-active: #3A7A42;
  --brand-black: #000000;

  --status-success: #275C2E;
  --status-attention: #F59E0B;
  --status-urgent: #DC2626;
  --status-info: #2563EB;

  --surface-page: #F8F9FA;
  --surface-card: #FFFFFF;
  --surface-card-elevated: #FFFFFF;
  --border-subtle: #E5E7EB;
  --border-strong: #D1D5DB;

  --text-page-title: 24px;
  --text-section-title: 18px;
  --text-card-title: 14px;
  --text-metric-value: 32px;
  --text-body: 14px;
  --text-supporting: 12px;

  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;

  --card-radius: 12px;
  --card-padding: var(--space-4);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.08);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.10);

  --btn-radius: 8px;
  --btn-primary-bg: var(--brand-green);
  --btn-primary-text: #FFFFFF;
  --btn-secondary-border: var(--brand-green);
  --btn-danger-bg: var(--status-urgent);
}

/*
 * ALANTEH Control Center shared private UI layer.
 * CC6C: uniform dark command-center styling for first-party staff pages.
 *
 * This stylesheet intentionally contains presentation only. It does not alter
 * routes, permissions, forms, APIs, WebSockets, payment logic, GPS logic, or
 * any operational data flow.
 */

body.cc-control-center-shell {
    --cc-canvas: #060906;
    --cc-canvas-raised: #090d09;
    --cc-panel: #0d130e;
    --cc-panel-raised: #111912;
    --cc-panel-strong: #142018;
    --cc-panel-hover: #16221a;
    --cc-line: #253229;
    --cc-line-strong: #3a4a3f;
    --cc-green: #2fbf7d;
    --cc-green-strong: #1f8f5e;
    --cc-green-deep: #123c29;
    --cc-green-soft: rgba(47, 191, 125, 0.12);
    --cc-green-faint: rgba(47, 191, 125, 0.06);
    --cc-amber: #d9a441;
    --cc-amber-soft: rgba(217, 164, 65, 0.12);
    --cc-red: #ef7368;
    --cc-red-soft: rgba(229, 84, 74, 0.12);
    --cc-blue: #73a9ef;
    --cc-blue-soft: rgba(115, 169, 239, 0.12);
    --cc-text: #e9ede4;
    --cc-text-strong: #ffffff;
    --cc-text-dim: #9aa79e;
    --cc-text-faint: #69766d;
    --cc-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --cc-shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.18);

    /* Remap the accepted shared tokens so legacy templates become dark too. */
    --sidebar: #050805;
    --sidebar-deep: #000000;
    --sidebar-line: rgba(255, 255, 255, 0.13);
    --sidebar-muted: #9fb4a5;
    --green: var(--cc-green);
    --green-soft: var(--cc-green-deep);
    --green-ink: var(--cc-text-strong);
    --emerald: var(--cc-green);
    --emerald-soft: var(--cc-green-soft);
    --solar: var(--cc-amber);
    --solar-soft: var(--cc-amber-soft);
    --cream: var(--cc-canvas);
    --surface: var(--cc-panel);
    --surface-soft: var(--cc-panel-raised);
    --surface-strong: var(--cc-panel-strong);
    --filter-surface: var(--cc-panel-raised);
    --table-head: var(--cc-panel-raised);
    --row-hover: var(--cc-panel-hover);
    --action-soft: var(--cc-green-soft);
    --ink: var(--cc-text);
    --muted: var(--cc-text-dim);
    --line: var(--cc-line);
    --line-strong: var(--cc-line-strong);
    --danger-soft: var(--cc-red-soft);
    --danger-line: var(--cc-red);
    --shadow: var(--cc-shadow);
    --shadow-light: var(--cc-shadow-soft);
}

body.cc-control-center-shell:not(.cc-login-page) {
    color-scheme: dark;
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 72% -10%, rgba(47, 191, 125, 0.09), transparent 32rem),
        var(--cc-canvas);
    color: var(--cc-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.cc-control-center-shell:not(.cc-login-page) *,
body.cc-control-center-shell:not(.cc-login-page) *::before,
body.cc-control-center-shell:not(.cc-login-page) *::after {
    box-sizing: border-box;
    border-radius: 0 !important;
}

body.cc-control-center-shell ::selection {
    background: var(--cc-green);
    color: #041008;
}

body.cc-control-center-shell a {
    color: var(--cc-green);
    text-underline-offset: 3px;
}

body.cc-control-center-shell a:hover,
body.cc-control-center-shell a:focus-visible {
    color: #73dca9;
}

body.cc-control-center-shell:not(.cc-login-page) :focus-visible {
    outline: 2px solid var(--cc-green);
    outline-offset: 3px;
}

/* Platform shell */
body.cc-control-center-shell .layout {
    min-height: 100vh;
    background: transparent;
}

body.cc-control-center-shell .sidebar {
    background:
        linear-gradient(180deg, #000000 0%, #09130c 36%, #0d1d12 64%, #000000 100%);
    border-right: 1px solid var(--cc-line);
    box-shadow: 18px 0 42px rgba(0, 0, 0, 0.18);
}

body.cc-control-center-shell .brand {
    border-bottom-color: var(--sidebar-line);
    background: #ffffff;
    padding: 14px;
}

body.cc-control-center-shell .brand::after {
    color: var(--sidebar-muted);
}

body.cc-control-center-shell .nav-section-title {
    color: #77c99a;
}

body.cc-control-center-shell .sidebar nav a {
    color: #c8dbce;
    border-left-color: transparent;
}

body.cc-control-center-shell .sidebar nav a:hover,
body.cc-control-center-shell .sidebar nav a:focus-visible {
    background: var(--cc-green-faint);
    color: var(--cc-text-strong);
    border-left-color: var(--cc-green);
}

body.cc-control-center-shell .sidebar nav a.is-active {
    background: linear-gradient(90deg, rgba(47, 191, 125, 0.22), rgba(47, 191, 125, 0.06));
    color: var(--cc-text-strong);
    border-left-color: var(--cc-green);
    box-shadow: inset 0 0 0 1px rgba(47, 191, 125, 0.18);
}

body.cc-control-center-shell:not(.cc-login-page) main {
    min-width: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 18rem),
        transparent;
}

body.cc-control-center-shell .topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(9, 13, 9, 0.96);
    border-bottom-color: var(--cc-line);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

body.cc-control-center-shell .topbar-heading strong {
    color: var(--cc-green);
}

body.cc-control-center-shell .topbar-heading span {
    color: var(--cc-text-dim);
}

body.cc-control-center-shell .staff-account-menu summary,
body.cc-control-center-shell .staff-account-dropdown {
    background: var(--cc-panel);
    border-color: var(--cc-line);
    color: var(--cc-text);
    box-shadow: var(--cc-shadow-soft);
}

body.cc-control-center-shell .staff-account-menu summary:hover,
body.cc-control-center-shell .staff-account-menu summary:focus-visible,
body.cc-control-center-shell .staff-account-dropdown a:hover,
body.cc-control-center-shell .staff-account-dropdown button:hover {
    background: var(--cc-panel-hover);
    border-color: var(--cc-line-strong);
}

body.cc-control-center-shell .staff-account-name,
body.cc-control-center-shell .staff-account-dropdown-name,
body.cc-control-center-shell .staff-account-dropdown a,
body.cc-control-center-shell .staff-account-dropdown button {
    color: var(--cc-text-strong);
}

body.cc-control-center-shell .staff-account-indicator,
body.cc-control-center-shell .staff-account-dropdown-email {
    color: var(--cc-green);
}

body.cc-control-center-shell .content {
    width: min(1580px, 100%);
    padding: 34px clamp(20px, 3vw, 42px) 64px;
}

/* Shared page headers */
body.cc-control-center-shell:not(.cc-login-page) .hero,
body.cc-control-center-shell .page-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    padding: clamp(24px, 3vw, 34px);
    background:
        radial-gradient(circle at 86% 16%, rgba(47, 191, 125, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(18, 60, 41, 0.96), #0d1a13 72%, #081009);
    border: 1px solid var(--cc-green-strong);
    border-left: 1px solid var(--cc-green-strong);
    color: var(--cc-text);
    box-shadow: var(--cc-shadow-soft);
}

body.cc-control-center-shell:not(.cc-login-page) .hero::after,
body.cc-control-center-shell .page-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: 38%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cc-green));
    pointer-events: none;
}

body.cc-control-center-shell:not(.cc-login-page) .hero h1,
body.cc-control-center-shell .page-header h1 {
    position: relative;
    margin: 0 0 10px;
    color: var(--cc-text-strong);
    font-size: var(--text-page-title);
    line-height: 1.04;
    letter-spacing: -0.035em;
}

body.cc-control-center-shell .page-header h1::after {
    width: 62px;
    height: 2px;
    margin-top: 13px;
    background: var(--cc-green);
}

body.cc-control-center-shell:not(.cc-login-page) .hero p,
body.cc-control-center-shell .page-header p {
    position: relative;
    max-width: 900px;
    margin: 0;
    color: #a9b8ae;
    font-size: 15px;
    line-height: 1.65;
}

body.cc-control-center-shell .eyebrow,
body.cc-control-center-shell .hero .eyebrow,
body.cc-control-center-shell .section-heading .eyebrow {
    color: var(--cc-green);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Shared surfaces */
body.cc-control-center-shell .panel,
body.cc-control-center-shell .summary-panel,
body.cc-control-center-shell .filter-panel,
body.cc-control-center-shell .form-panel,
body.cc-control-center-shell .card,
body.cc-control-center-shell .record-card,
body.cc-control-center-shell .readiness-card,
body.cc-control-center-shell .stat-card,
body.cc-control-center-shell .dispatch-card,
body.cc-control-center-shell .page-section {
    background: linear-gradient(180deg, var(--cc-panel-raised), var(--cc-panel));
    border: 1px solid var(--cc-line);
    border-top: 1px solid var(--cc-line-strong);
    color: var(--cc-text);
    box-shadow: var(--cc-shadow-soft);
}

body.cc-control-center-shell .panel,
body.cc-control-center-shell .summary-panel,
body.cc-control-center-shell .filter-panel,
body.cc-control-center-shell .form-panel,
body.cc-control-center-shell .page-section {
    padding: clamp(18px, 2.4vw, 26px);
}

body.cc-control-center-shell .panel:hover,
body.cc-control-center-shell .card:hover,
body.cc-control-center-shell .record-card:hover,
body.cc-control-center-shell .dispatch-card:hover {
    border-color: var(--cc-line-strong);
}

body.cc-control-center-shell .panel h2,
body.cc-control-center-shell .summary-panel h2,
body.cc-control-center-shell .filter-panel h2,
body.cc-control-center-shell .form-panel h2,
body.cc-control-center-shell .section-title,
body.cc-control-center-shell .section-heading h2,
body.cc-control-center-shell .section-heading-row h2 {
    color: var(--cc-text-strong);
    font-size: var(--text-section-title);
}

body.cc-control-center-shell .panel h2::before,
body.cc-control-center-shell .section-title::before {
    background: var(--cc-green);
}

body.cc-control-center-shell .panel p,
body.cc-control-center-shell .summary-panel p,
body.cc-control-center-shell .filter-panel p,
body.cc-control-center-shell .form-panel p,
body.cc-control-center-shell .section-heading p,
body.cc-control-center-shell .muted,
body.cc-control-center-shell .notes,
body.cc-control-center-shell .help-text,
body.cc-control-center-shell .form-help {
    color: var(--cc-text-dim);
}

body.cc-control-center-shell .summary-grid,
body.cc-control-center-shell .detail-grid,
body.cc-control-center-shell .evidence-metrics,
body.cc-control-center-shell .stat-grid {
    gap: 14px;
}

body.cc-control-center-shell .summary-card,
body.cc-control-center-shell .detail-item,
body.cc-control-center-shell .evidence-metric,
body.cc-control-center-shell .mini-metric {
    background: var(--cc-panel);
    border-color: var(--cc-line);
    border-top-color: var(--cc-green-strong);
    color: var(--cc-text);
    box-shadow: none;
}

body.cc-control-center-shell .summary-card span,
body.cc-control-center-shell .detail-item span,
body.cc-control-center-shell .evidence-metric span,
body.cc-control-center-shell .metric-label,
body.cc-control-center-shell .mini-metric span {
    color: var(--cc-text-faint);
}

body.cc-control-center-shell .summary-card strong,
body.cc-control-center-shell .detail-item strong,
body.cc-control-center-shell .evidence-metric strong,
body.cc-control-center-shell .mini-metric strong {
    color: var(--cc-text-strong);
}

body.cc-control-center-shell .quick-scan-strip,
body.cc-control-center-shell .mini-metric-list,
body.cc-control-center-shell .actions-row,
body.cc-control-center-shell .quick-actions,
body.cc-control-center-shell .evidence-links {
    gap: 8px;
}

body.cc-control-center-shell .quick-scan-pill,
body.cc-control-center-shell .mini-metric,
body.cc-control-center-shell .status-chip,
body.cc-control-center-shell .badge,
body.cc-control-center-shell .field-form-pill,
body.cc-control-center-shell .account-badge,
body.cc-control-center-shell .checklist-badge,
body.cc-control-center-shell .issue-badge {
    background: var(--cc-green-soft);
    border-color: rgba(47, 191, 125, 0.34);
    color: #9de0bd;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.cc-control-center-shell .status-chip--attention,
body.cc-control-center-shell .account-badge-admin,
body.cc-control-center-shell .issue-badge {
    background: var(--cc-amber-soft);
    border-color: rgba(217, 164, 65, 0.42);
    color: #f0ca78;
}

/* Links and buttons */
body.cc-control-center-shell .back-link,
body.cc-control-center-shell .badge,
body.cc-control-center-shell .button,
body.cc-control-center-shell .actions-row a,
body.cc-control-center-shell .table-actions a,
body.cc-control-center-shell .quick-actions a,
body.cc-control-center-shell button,
body.cc-control-center-shell:not(.cc-login-page) input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    width: fit-content;
    padding: 9px 13px;
    border: 1px solid var(--cc-line-strong);
    background: var(--cc-panel-raised);
    color: var(--cc-text-strong);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--btn-radius);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    box-shadow: none;
}

body.cc-control-center-shell .back-link,
body.cc-control-center-shell .badge,
body.cc-control-center-shell .actions-row a:not(.back-link),
body.cc-control-center-shell .table-actions a {
    border-bottom: 1px solid var(--cc-line-strong);
}

body.cc-control-center-shell .button:not(.secondary),
body.cc-control-center-shell button[type="submit"],
body.cc-control-center-shell:not(.cc-login-page) input[type="submit"] {
    background: var(--cc-green-strong);
    border-color: var(--cc-green);
    color: #ffffff;
}

body.cc-control-center-shell .back-link:hover,
body.cc-control-center-shell .badge:hover,
body.cc-control-center-shell .button:hover,
body.cc-control-center-shell .actions-row a:hover,
body.cc-control-center-shell .table-actions a:hover,
body.cc-control-center-shell .quick-actions a:hover,
body.cc-control-center-shell button:hover,
body.cc-control-center-shell:not(.cc-login-page) input[type="submit"]:hover {
    background: var(--cc-green-soft);
    border-color: var(--cc-green);
    color: #a7e7c4;
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-1px);
}

body.cc-control-center-shell .back-link:focus-visible,
body.cc-control-center-shell .badge:focus-visible,
body.cc-control-center-shell .button:focus-visible,
body.cc-control-center-shell .actions-row a:focus-visible,
body.cc-control-center-shell .table-actions a:focus-visible,
body.cc-control-center-shell .quick-actions a:focus-visible,
body.cc-control-center-shell button:focus-visible,
body.cc-control-center-shell:not(.cc-login-page) input[type="submit"]:focus-visible {
    outline: 2px solid var(--cc-green);
    outline-offset: 2px;
}

body.cc-control-center-shell .back-link:active,
body.cc-control-center-shell .badge:active,
body.cc-control-center-shell .button:active,
body.cc-control-center-shell .actions-row a:active,
body.cc-control-center-shell .table-actions a:active,
body.cc-control-center-shell .quick-actions a:active,
body.cc-control-center-shell button:active,
body.cc-control-center-shell:not(.cc-login-page) input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Tables */
body.cc-control-center-shell .table-wrap,
body.cc-control-center-shell .table-wrapper {
    border: 1px solid var(--cc-line);
    background: var(--cc-panel);
    box-shadow: none;
}

body.cc-control-center-shell table {
    width: 100%;
    border-color: var(--cc-line);
    background: transparent;
    color: var(--cc-text-dim);
    box-shadow: none;
}

body.cc-control-center-shell thead,
body.cc-control-center-shell th {
    background: var(--cc-panel-raised);
    color: #8d9a91;
}

body.cc-control-center-shell th {
    border-color: var(--cc-line-strong);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.cc-control-center-shell td,
body.cc-control-center-shell tbody tr:nth-child(even) td,
body.cc-control-center-shell tbody tr:hover td {
    background: transparent;
    border-color: var(--cc-line);
    color: var(--cc-text-dim);
}

body.cc-control-center-shell tbody tr:nth-child(even) {
    background: rgba(47, 191, 125, 0.025);
}

body.cc-control-center-shell tbody tr:hover {
    background: rgba(47, 191, 125, 0.055);
}

body.cc-control-center-shell td strong,
body.cc-control-center-shell td a {
    color: var(--cc-text-strong);
}

body.cc-control-center-shell td a {
    border-bottom-color: rgba(47, 191, 125, 0.35);
}

/* Forms */
body.cc-control-center-shell:not(.cc-login-page) label,
body.cc-control-center-shell legend {
    color: var(--cc-text-strong);
    font-weight: 750;
}

body.cc-control-center-shell:not(.cc-login-page) input,
body.cc-control-center-shell select,
body.cc-control-center-shell textarea {
    border: 1px solid var(--cc-line-strong);
    background: #090e0a;
    color: var(--cc-text);
    caret-color: var(--cc-green);
}

body.cc-control-center-shell:not(.cc-login-page) input::placeholder,
body.cc-control-center-shell textarea::placeholder {
    color: var(--cc-text-faint);
}

body.cc-control-center-shell select option {
    background: #090e0a;
    color: var(--cc-text);
}

body.cc-control-center-shell:not(.cc-login-page) input:focus,
body.cc-control-center-shell select:focus,
body.cc-control-center-shell textarea:focus {
    outline: 2px solid rgba(47, 191, 125, 0.35);
    border-color: var(--cc-green);
    box-shadow: 0 0 0 4px rgba(47, 191, 125, 0.08);
}

body.cc-control-center-shell input[type="checkbox"],
body.cc-control-center-shell input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--cc-green);
}

body.cc-control-center-shell fieldset {
    border: 1px solid var(--cc-line);
    background: var(--cc-panel);
}

body.cc-control-center-shell .panel[aria-labelledby$="filters-heading"],
body.cc-control-center-shell .filter-panel,
body.cc-control-center-shell .form-panel {
    background: linear-gradient(180deg, var(--cc-panel-raised), var(--cc-panel));
}

body.cc-control-center-shell .panel[aria-labelledby$="filters-heading"] form[method="get"],
body.cc-control-center-shell .filter-panel form,
body.cc-control-center-shell .filter-form {
    background: #090e0a;
    border-color: var(--cc-line);
}

body.cc-control-center-shell .errorlist,
body.cc-control-center-shell .field-error,
body.cc-control-center-shell [role="alert"] {
    color: #ffaaa2;
}

/* Empty, note, success, warning and error states */
body.cc-control-center-shell .empty-state,
body.cc-control-center-shell details.empty-state,
body.cc-control-center-shell .account-note,
body.cc-control-center-shell .automation-retirement-notice,
body.cc-control-center-shell .field-command-note,
body.cc-control-center-shell .proof-gaps {
    background: var(--cc-panel-raised);
    border: 1px solid var(--cc-line);
    border-left: 4px solid var(--cc-green-strong);
    color: var(--cc-text-dim);
    box-shadow: none;
}

body.cc-control-center-shell .empty-state[role="alert"],
body.cc-control-center-shell .field-error,
body.cc-control-center-shell .form-errors,
body.cc-control-center-shell .errornote {
    background: var(--cc-red-soft);
    border-color: rgba(239, 115, 104, 0.42);
    border-left-color: var(--cc-red);
    color: #ffc0ba;
}

body.cc-control-center-shell details.empty-state summary,
body.cc-control-center-shell .empty-state strong,
body.cc-control-center-shell .account-note strong {
    color: var(--cc-text-strong);
}

body.cc-control-center-shell details.empty-state[open] summary {
    margin-bottom: 10px;
}

/* Existing specialized first-party pages that previously kept light islands. */
body.cc-control-center-shell .account-summary-card,
body.cc-control-center-shell .account-detail-rows,
body.cc-control-center-shell .account-detail-row,
body.cc-control-center-shell .driver-checklist-card,
body.cc-control-center-shell .driver-checklist-form-section,
body.cc-control-center-shell .issue-report-card,
body.cc-control-center-shell .issue-report-form-section,
body.cc-control-center-shell .station-checklist-card,
body.cc-control-center-shell .station-checklist-form-section,
body.cc-control-center-shell .field-command-card,
body.cc-control-center-shell .command-icon,
body.cc-control-center-shell .field-section-icon {
    background: var(--cc-panel) !important;
    border-color: var(--cc-line) !important;
    color: var(--cc-text) !important;
    box-shadow: none !important;
}

body.cc-control-center-shell .account-summary-card,
body.cc-control-center-shell .field-command-card--primary {
    border-color: var(--cc-green-strong) !important;
}

body.cc-control-center-shell .account-summary-main h2,
body.cc-control-center-shell .account-detail-row dd,
body.cc-control-center-shell .command-title,
body.cc-control-center-shell .field-section-heading h2,
body.cc-control-center-shell .driver-checklist-card h3,
body.cc-control-center-shell .issue-report-card h3,
body.cc-control-center-shell .station-checklist-card h3 {
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell .account-summary-main p,
body.cc-control-center-shell .account-detail-row dt,
body.cc-control-center-shell .command-subtitle,
body.cc-control-center-shell .driver-checklist-meta,
body.cc-control-center-shell .issue-report-meta,
body.cc-control-center-shell .station-checklist-meta,
body.cc-control-center-shell .field-help {
    color: var(--cc-text-dim) !important;
}

body.cc-control-center-shell .account-avatar {
    background: var(--cc-green-deep) !important;
    border-color: var(--cc-green) !important;
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell .driver-checklist-form-field input,
body.cc-control-center-shell .driver-checklist-form-field select,
body.cc-control-center-shell .driver-checklist-form-field textarea,
body.cc-control-center-shell .issue-report-form-field input,
body.cc-control-center-shell .issue-report-form-field select,
body.cc-control-center-shell .issue-report-form-field textarea,
body.cc-control-center-shell .station-checklist-form-field input,
body.cc-control-center-shell .station-checklist-form-field select,
body.cc-control-center-shell .station-checklist-form-field textarea {
    background: #090e0a !important;
    border-color: var(--cc-line-strong) !important;
    color: var(--cc-text) !important;
}

/* Keep accepted dark specialist consoles visually connected to the shell. */
body.cc-control-center-shell [class*="cc2n-shell"],
body.cc-control-center-shell [class*="cc2o-home-shell"],
body.cc-control-center-shell [class*="cc2s-list-page"],
body.cc-control-center-shell [class*="cc2s-detail-page"] {
    border-color: var(--cc-line) !important;
    box-shadow: var(--cc-shadow-soft) !important;
}

/* Staff ride-request alert surfaces */
body.cc-control-center-shell .ride-alert-overview-panel {
    background: var(--cc-panel-raised);
    border-color: var(--cc-line);
    color: var(--cc-text);
}

body.cc-control-center-shell .ride-alert-overview-panel.needs-attention {
    border-color: var(--cc-amber);
    background: linear-gradient(180deg, rgba(217, 164, 65, 0.12), var(--cc-panel));
}

body.cc-control-center-shell .ride-alert-overview-panel h2,
body.cc-control-center-shell .ride-alert-overview-panel strong {
    color: var(--cc-text-strong);
}

body.cc-control-center-shell .ride-alert-overview-panel p {
    color: var(--cc-text-dim);
}

/* Responsive shell */
@media (max-width: 920px) {
    body.cc-control-center-shell .topbar {
        position: static;
    }

    body.cc-control-center-shell .content {
        padding: 24px 16px 44px;
    }

    body.cc-control-center-shell .mobile-navigation > summary {
        background: #070b08;
        border-color: var(--cc-line);
        color: var(--cc-text-strong);
    }

    body.cc-control-center-shell details.mobile-navigation[open] > nav {
        background: #070b08;
        border-color: var(--cc-line);
    }
}

@media (max-width: 720px) {
    body.cc-control-center-shell:not(.cc-login-page) .hero,
    body.cc-control-center-shell .page-header,
    body.cc-control-center-shell .panel,
    body.cc-control-center-shell .summary-panel,
    body.cc-control-center-shell .filter-panel,
    body.cc-control-center-shell .form-panel {
        padding: 18px 16px;
    }

    body.cc-control-center-shell:not(.cc-login-page) .hero h1,
    body.cc-control-center-shell .page-header h1 {
        font-size: clamp(27px, 9vw, 36px);
    }

    body.cc-control-center-shell .actions-row,
    body.cc-control-center-shell .quick-actions,
    body.cc-control-center-shell .table-actions {
        align-items: stretch;
    }

    body.cc-control-center-shell .actions-row a,
    body.cc-control-center-shell .quick-actions a,
    body.cc-control-center-shell .table-actions a,
    body.cc-control-center-shell .button,
    body.cc-control-center-shell button[type="submit"],
    body.cc-control-center-shell:not(.cc-login-page) input[type="submit"] {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.cc-control-center-shell *,
    body.cc-control-center-shell *::before,
    body.cc-control-center-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* CC6D page governance, navigation, and final styling cleanup. */
body.cc-control-center-shell .sidebar nav {
    align-content: start;
}

body.cc-control-center-shell .nav-group {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(159, 180, 165, 0.14);
}

body.cc-control-center-shell .nav-group:first-child {
    padding-top: 0;
    border-top: 0;
}

body.cc-control-center-shell .nav-section-title {
    margin: 0 10px 4px;
    color: #7fce9f;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

body.cc-control-center-shell .sidebar nav a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.35;
}

body.cc-control-center-shell template[data-cc6d-deferred-route-registry] {
    display: none !important;
}

body.cc-control-center-shell .cc2o-home-shell,
body.cc-control-center-shell .cc2s-list-page,
body.cc-control-center-shell .cc2s-detail-page,
body.cc-control-center-shell .cc2s-receipt-page,
body.cc-control-center-shell .gps-live-page,
body.cc-control-center-shell .cc2l-page,
body.cc-control-center-shell .cc2n-shell,
body.cc-control-center-shell .field-operations-workspace,
body.cc-control-center-shell .account-workspace {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

body.cc-control-center-shell .field-operations-workspace,
body.cc-control-center-shell .account-workspace {
    gap: 20px !important;
}

body.cc-control-center-shell .cc2o-home-shell,
body.cc-control-center-shell .cc2s-list-page,
body.cc-control-center-shell .cc2s-detail-page,
body.cc-control-center-shell .cc2s-receipt-page,
body.cc-control-center-shell .cc2l-page,
body.cc-control-center-shell .cc2n-shell {
    background: var(--cc-canvas) !important;
    border-color: var(--cc-line) !important;
    color: var(--cc-text) !important;
    box-shadow: var(--cc-shadow-soft) !important;
}

body.cc-control-center-shell .cc2o-hero,
body.cc-control-center-shell .cc2s-list-page .page-header,
body.cc-control-center-shell .cc2s-detail-page .page-header,
body.cc-control-center-shell .cc2s-receipt-page .page-header,
body.cc-control-center-shell .gps-live-page > .page-header,
body.cc-control-center-shell .cc2l-head,
body.cc-control-center-shell .cc2n-head {
    background:
        radial-gradient(circle at 86% 16%, rgba(47, 191, 125, 0.13), transparent 30%),
        linear-gradient(180deg, rgba(18, 60, 41, 0.96), #0d1a13 72%, #081009) !important;
    border-color: var(--cc-green-strong) !important;
    color: var(--cc-text) !important;
    box-shadow: var(--cc-shadow-soft) !important;
}

body.cc-control-center-shell .cc2o-hero h1,
body.cc-control-center-shell .cc2s-list-page .page-header h1,
body.cc-control-center-shell .cc2s-detail-page .page-header h1,
body.cc-control-center-shell .cc2s-receipt-page .page-header h1,
body.cc-control-center-shell .gps-live-page > .page-header h1,
body.cc-control-center-shell .cc2l-head h1,
body.cc-control-center-shell .cc2n-head h1 {
    color: var(--cc-text-strong) !important;
    font-size: clamp(28px, 4vw, 44px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.035em !important;
}

body.cc-control-center-shell .cc2s-list-page .panel,
body.cc-control-center-shell .cc2s-detail-page .panel,
body.cc-control-center-shell .cc2s-receipt-page .panel,
body.cc-control-center-shell .gps-live-page .panel,
body.cc-control-center-shell .cc2l-panel,
body.cc-control-center-shell .cc2n-section,
body.cc-control-center-shell .account-detail-card,
body.cc-control-center-shell .account-security-card,
body.cc-control-center-shell .field-command-card {
    background: var(--cc-panel) !important;
    border-color: var(--cc-line) !important;
    color: var(--cc-text) !important;
    box-shadow: none !important;
}

body.cc-control-center-shell .cc2s-list-page table,
body.cc-control-center-shell .cc2s-detail-page table,
body.cc-control-center-shell .cc2s-receipt-page table,
body.cc-control-center-shell .gps-live-page table,
body.cc-control-center-shell .cc2l-page table,
body.cc-control-center-shell .cc2n-shell table {
    width: 100%;
    background: var(--cc-panel) !important;
    color: var(--cc-text) !important;
}

body.cc-control-center-shell .cc2s-list-page th,
body.cc-control-center-shell .cc2s-detail-page th,
body.cc-control-center-shell .cc2s-receipt-page th,
body.cc-control-center-shell .gps-live-page th,
body.cc-control-center-shell .cc2l-page th,
body.cc-control-center-shell .cc2n-shell th {
    background: var(--cc-panel-raised) !important;
    border-color: var(--cc-line) !important;
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell .cc2s-list-page td,
body.cc-control-center-shell .cc2s-detail-page td,
body.cc-control-center-shell .cc2s-receipt-page td,
body.cc-control-center-shell .gps-live-page td,
body.cc-control-center-shell .cc2l-page td,
body.cc-control-center-shell .cc2n-shell td {
    border-color: var(--cc-line) !important;
    color: var(--cc-text) !important;
}

body.cc-control-center-shell .cc2s-list-page input,
body.cc-control-center-shell .cc2s-list-page select,
body.cc-control-center-shell .cc2s-detail-page input,
body.cc-control-center-shell .cc2s-detail-page select,
body.cc-control-center-shell .cc2s-detail-page textarea,
body.cc-control-center-shell .cc2s-receipt-page input,
body.cc-control-center-shell .cc2s-receipt-page select,
body.cc-control-center-shell .cc2l-page input,
body.cc-control-center-shell .cc2l-page select,
body.cc-control-center-shell .cc2l-page textarea,
body.cc-control-center-shell .cc2n-shell input,
body.cc-control-center-shell .cc2n-shell select,
body.cc-control-center-shell .cc2n-shell textarea {
    background: #080d09 !important;
    border-color: var(--cc-line-strong) !important;
    color: var(--cc-text) !important;
}

body.cc-control-center-shell .account-note,
body.cc-control-center-shell .account-security-note {
    background: var(--cc-panel-raised) !important;
    border-color: var(--cc-line-strong) !important;
    color: var(--cc-text) !important;
}

body.cc-control-center-shell .table-wrapper,
body.cc-control-center-shell .table-wrap,
body.cc-control-center-shell .cc2n-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

@media (max-width: 920px) {
    body.cc-control-center-shell .nav-group {
        padding-top: 10px;
    }

    body.cc-control-center-shell .cc2o-home-shell,
    body.cc-control-center-shell .cc2s-list-page,
    body.cc-control-center-shell .cc2s-detail-page,
    body.cc-control-center-shell .cc2s-receipt-page,
    body.cc-control-center-shell .cc2l-page,
    body.cc-control-center-shell .cc2n-shell {
        box-shadow: none !important;
    }
}

@media (max-width: 720px) {
    body.cc-control-center-shell .cc2o-hero,
    body.cc-control-center-shell .cc2s-list-page .page-header,
    body.cc-control-center-shell .cc2s-detail-page .page-header,
    body.cc-control-center-shell .cc2s-receipt-page .page-header,
    body.cc-control-center-shell .gps-live-page > .page-header,
    body.cc-control-center-shell .cc2l-head,
    body.cc-control-center-shell .cc2n-head {
        padding: 18px 16px !important;
    }
}

/* CC6D Field Operations dark action normalization. */
body.cc-control-center-shell
.field-command-card .command-action {
    background: rgba(47, 191, 125, 0.12) !important;
    border: 1px solid rgba(47, 191, 125, 0.46) !important;
    color: #9be3bd !important;
    box-shadow: none !important;
}

body.cc-control-center-shell
.field-command-card .command-copy,
body.cc-control-center-shell
.field-command-card .command-title,
body.cc-control-center-shell
.field-command-card .command-subtitle {
    background: transparent !important;
}

body.cc-control-center-shell
.field-command-card .command-title {
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell
.field-command-card .command-subtitle {
    color: var(--cc-text-dim) !important;
}

body.cc-control-center-shell
.field-command-card:hover,
body.cc-control-center-shell
.field-command-card:focus-visible {
    background: var(--cc-panel-hover) !important;
    border-color: var(--cc-line-strong) !important;
    border-left-color: var(--cc-green) !important;
    color: var(--cc-text-strong) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

body.cc-control-center-shell
.field-command-card:hover .command-action,
body.cc-control-center-shell
.field-command-card:focus-visible .command-action {
    background: rgba(47, 191, 125, 0.20) !important;
    border-color: var(--cc-green) !important;
    color: #c7f4db !important;
}

/* CC6D Ride Requests records table containment. */
body.cc-control-center-shell
.cc2s-list-page
.panel[aria-labelledby="trip-ride-records-heading"] {
    min-width: 0;
}

body.cc-control-center-shell
.cc2s-list-page
.panel[aria-labelledby="trip-ride-records-heading"]
.table-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto !important;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable both-edges;
}

@media (min-width: 721px) {
    body.cc-control-center-shell
    .cc2s-list-page
    .panel[aria-labelledby="trip-ride-records-heading"]
    table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed;
    }

    body.cc-control-center-shell
    .cc2s-list-page
    .panel[aria-labelledby="trip-ride-records-heading"]
    th,
    body.cc-control-center-shell
    .cc2s-list-page
    .panel[aria-labelledby="trip-ride-records-heading"]
    td {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

@media (max-width: 720px) {
    body.cc-control-center-shell
    .cc2s-list-page
    .panel[aria-labelledby="trip-ride-records-heading"]
    table {
        min-width: 980px !important;
    }
}

/* Ride Requests / Trips shared table has no per-column width control
   (unlike the Trips-only .cc-trips-records-table, which sizes columns
   explicitly via .cc-trips-col-*). Without that, table-layout:fixed can
   allocate a column narrower than a status chip's content. The td/th
   above already allow wrapping, but .status-chip's own white-space:nowrap
   (needed everywhere else it's used) overrides that for the chip itself,
   so the chip overflows its cell instead of wrapping or shrinking. */
body.cc-control-center-shell
.panel[aria-labelledby="trip-ride-records-heading"]
table:not(.cc-trips-records-table)
.status-chip {
    white-space: normal;
    text-align: left;
}

/* CC6D Trips records table containment. */
body.cc-control-center-shell
.content
> .panel[aria-labelledby="trip-ride-records-heading"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden !important;
}

body.cc-control-center-shell
.content
> .panel[aria-labelledby="trip-ride-records-heading"]
.table-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto !important;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable both-edges;
}

@media (min-width: 721px) {
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th,
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:last-child,
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:last-child {
        width: 8%;
    }
}

@media (max-width: 720px) {
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    table {
        min-width: 1180px !important;
    }
}

/* CC6D Trips records table readable columns. */
@media (min-width: 721px) {
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th,
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td {
        padding: 11px 9px !important;
        overflow-wrap: break-word;
        word-break: normal;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    .status-chip {
        display: inline-flex;
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: break-word;
        word-break: normal;
        line-height: 1.25;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(1),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(1) {
        width: 10%;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(2),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(2) {
        width: 11%;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(3),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(3) {
        width: 11%;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(4),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(4) {
        width: 15%;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(5),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(5),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(6),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(6) {
        width: 8%;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(7),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(7),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(8),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(8) {
        width: 9%;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(9),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(9) {
        width: 11%;
    }

    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    th:nth-child(10),
    body.cc-control-center-shell
    .content
    > .panel[aria-labelledby="trip-ride-records-heading"]
    td:nth-child(10) {
        width: 8%;
    }
}

/* CC6D Maintenance filter alignment. */
body.cc-control-center-shell
.panel[aria-labelledby="maintenance-filters-title"]
form[method="get"] {
    display: grid;
    gap: 16px;
    min-width: 0;
    padding: 18px;
    background: #090e0a;
    border: 1px solid var(--cc-line);
}

body.cc-control-center-shell
.panel[aria-labelledby="maintenance-filters-title"]
form[method="get"]
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 16px;
    align-items: end;
    min-width: 0;
}

body.cc-control-center-shell
.panel[aria-labelledby="maintenance-filters-title"]
form[method="get"]
label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--cc-text-strong);
    font-weight: 800;
}

body.cc-control-center-shell
.panel[aria-labelledby="maintenance-filters-title"]
form[method="get"]
select {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

body.cc-control-center-shell
.panel[aria-labelledby="maintenance-filters-title"]
form[method="get"]
> p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

@media (max-width: 720px) {
    body.cc-control-center-shell
    .panel[aria-labelledby="maintenance-filters-title"]
    form[method="get"]
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* CC6D Revenue Reports filter alignment. */
body.cc-control-center-shell
.page-section
> form.filter-panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px 16px;
    align-items: end;
    min-width: 0;
    padding: 18px;
    background: #090e0a;
    border: 1px solid var(--cc-line);
}

body.cc-control-center-shell
.page-section
> form.filter-panel
> label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: var(--cc-text-strong);
    font-weight: 800;
}

body.cc-control-center-shell
.page-section
> form.filter-panel
> label
> input,
body.cc-control-center-shell
.page-section
> form.filter-panel
> label
> select {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
}

body.cc-control-center-shell
.page-section
> form.filter-panel
> button[type="submit"] {
    align-self: end;
    justify-self: start;
    min-height: 42px;
}

@media (max-width: 720px) {
    body.cc-control-center-shell
    .page-section
    > form.filter-panel {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* CC6D Operating Evidence dark surface normalization. */
body.cc-control-center-shell .evidence-brief,
body.cc-control-center-shell .evidence-section {
    background: var(--cc-panel) !important;
    border-color: var(--cc-line) !important;
    border-top-color: var(--cc-green-strong) !important;
    color: var(--cc-text) !important;
    box-shadow: none !important;
}

body.cc-control-center-shell .evidence-brief h2,
body.cc-control-center-shell .evidence-brief h3,
body.cc-control-center-shell .evidence-brief strong,
body.cc-control-center-shell .evidence-section h2,
body.cc-control-center-shell .evidence-section h3,
body.cc-control-center-shell .evidence-section strong {
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell .evidence-brief p,
body.cc-control-center-shell .evidence-brief summary,
body.cc-control-center-shell .evidence-section p,
body.cc-control-center-shell .evidence-section small,
body.cc-control-center-shell .evidence-section-header p:not(.eyebrow) {
    color: var(--cc-text-dim) !important;
}

body.cc-control-center-shell .evidence-section-header,
body.cc-control-center-shell .evidence-links {
    border-color: var(--cc-line) !important;
}

body.cc-control-center-shell .evidence-links > a,
body.cc-control-center-shell .evidence-links > span,
body.cc-control-center-shell .pilot-markers > span {
    background: var(--cc-panel-raised) !important;
    border-color: var(--cc-line-strong) !important;
    color: var(--cc-text) !important;
    box-shadow: none !important;
}

body.cc-control-center-shell .evidence-links > a:hover {
    background: var(--cc-green-soft) !important;
    border-color: var(--cc-green) !important;
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell .evidence-section.attention-metric,
body.cc-control-center-shell .evidence-metric.attention-metric {
    background: var(--cc-amber-soft) !important;
    border-left-color: var(--cc-amber) !important;
}

body.cc-control-center-shell .evidence-section.attention-metric {
    border-top-color: var(--cc-amber) !important;
}

body.cc-control-center-shell .evidence-section.attention-metric strong,
body.cc-control-center-shell .evidence-metric.attention-metric strong {
    color: #f4cf78 !important;
}

/* CC6D Public Enquiries summary grid normalization. */
body.cc-control-center-shell
.panel[aria-labelledby="enquiry-summary-heading"]
> .kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    min-width: 0;
    margin: 18px 0;
}

body.cc-control-center-shell
.panel[aria-labelledby="enquiry-summary-heading"]
> .kpi-grid
> .card {
    min-width: 0;
    min-height: 108px;
    padding: 16px;
    justify-content: space-between;
}

body.cc-control-center-shell
.panel[aria-labelledby="enquiry-summary-heading"]
> .kpi-grid
> .card
> .metric-label {
    min-height: 34px;
    line-height: 1.4;
}

body.cc-control-center-shell
.panel[aria-labelledby="enquiry-summary-heading"]
> .kpi-grid
> .card
> strong {
    margin-top: 10px;
    color: var(--cc-text-strong);
    font-size: 28px;
    line-height: 1;
}

@media (max-width: 720px) {
    body.cc-control-center-shell
    .panel[aria-labelledby="enquiry-summary-heading"]
    > .kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* CC-TRIPS-PAGE-READABILITY-REWORK */
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page {
    --cc-trips-panel: #0d1510;
    --cc-trips-panel-raised: #111c15;
    --cc-trips-line: rgba(99, 151, 117, 0.34);
    --cc-trips-line-strong: rgba(47, 191, 125, 0.58);
    --cc-trips-text: #edf5ef;
    --cc-trips-muted: #aebdb3;
    --cc-trips-green: #2fbf7d;
    width: 100%;
    max-width: none;
    min-width: 0;
    overflow: visible;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-filter-form {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.4fr)
        minmax(200px, 1fr)
        minmax(210px, 1fr)
        max-content;
    align-items: end;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--cc-trips-line);
    background: rgba(5, 11, 7, 0.62);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-filter-field {
    display: grid;
    min-width: 0;
    gap: 7px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-filter-field label {
    margin: 0;
    color: var(--cc-trips-text);
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco,
        Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.065em;
    line-height: 1.2;
    text-transform: uppercase;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-filter-field select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding-right: 38px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-filter-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    align-self: end;
    gap: 9px;
    min-width: max-content;
    margin: 0;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-filter-actions button,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-filter-actions .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 0;
    padding: 10px 15px;
    white-space: nowrap;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-records-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-table-guidance {
    margin: -2px 0 13px;
    color: var(--cc-trips-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-table-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid var(--cc-trips-line);
    background: var(--cc-trips-panel);
    overscroll-behavior-inline: contain;
    scrollbar-color:
        var(--cc-trips-green)
        rgba(255, 255, 255, 0.06);
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-table-wrapper::-webkit-scrollbar {
    height: 12px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-table-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-table-wrapper::-webkit-scrollbar-thumb {
    border: 3px solid var(--cc-trips-panel);
    background: rgba(47, 191, 125, 0.72);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-table-wrapper:focus-visible {
    outline: 2px solid rgba(47, 191, 125, 0.82);
    outline-offset: 3px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table {
    width: 100% !important;
    min-width: 1780px !important;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed !important;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-reference {
    width: 185px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-status {
    width: 190px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-source {
    width: 225px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-assignment {
    width: 285px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-driver {
    width: 155px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-vehicle {
    width: 150px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-pickup,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-destination {
    width: 195px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-fare-payment {
    width: 160px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-col-action {
    width: 85px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table th,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table td {
    min-width: 0 !important;
    padding: 14px 13px !important;
    border-right: 1px solid rgba(99, 151, 117, 0.16);
    border-bottom: 1px solid rgba(99, 151, 117, 0.22);
    color: var(--cc-trips-text);
    line-height: 1.48;
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #101c15;
    color: #c9d8ce;
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    line-height: 1.25;
    text-transform: uppercase;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table tbody td {
    background: var(--cc-trips-panel);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table tbody tr:nth-child(even) td {
    background: var(--cc-trips-panel-raised);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table tbody tr:hover td {
    background: #14231a;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-heading-reference,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-cell-reference {
    position: sticky;
    left: 0;
    z-index: 4;
    border-right-color: var(--cc-trips-line-strong);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-heading-reference {
    z-index: 6;
    background: #101c15;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-cell-reference {
    background: var(--cc-trips-panel);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
tbody tr:nth-child(even)
.cc-trips-cell-reference {
    background: var(--cc-trips-panel-raised);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
tbody tr:hover
.cc-trips-cell-reference {
    background: #14231a;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-heading-action,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-cell-action {
    position: sticky;
    right: 0;
    z-index: 4;
    border-left: 1px solid var(--cc-trips-line-strong);
    border-right: 0;
    text-align: center;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-heading-action {
    z-index: 6;
    background: #101c15;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.cc-trips-cell-action {
    background: var(--cc-trips-panel);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
tbody tr:nth-child(even)
.cc-trips-cell-action {
    background: var(--cc-trips-panel-raised);
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
tbody tr:hover
.cc-trips-cell-action {
    background: #14231a;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-reference,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-source-reference,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-driver,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-vehicle {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-action a {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-reference {
    display: inline-block;
    color: #ffffff;
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco,
        Consolas, monospace;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.01em;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-source-label {
    display: block;
    margin-bottom: 4px;
    color: var(--cc-trips-muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-source-reference {
    display: inline-block;
    font-family:
        ui-monospace, SFMono-Regular, Menlo, Monaco,
        Consolas, monospace;
    font-size: 0.78rem;
    font-weight: 800;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-source .muted,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-status .muted,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-assignment .muted,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-driver .muted,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-vehicle .muted {
    display: block;
    margin-top: 5px;
    color: var(--cc-trips-muted);
    line-height: 1.42;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-pickup,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-destination {
    line-height: 1.55;
    hyphens: auto;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-fare-value {
    color: #ffffff;
    font-weight: 800;
    line-height: 1.35;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-payment-state {
    margin-top: 8px;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
table.cc-trips-records-table
.status-chip {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(47, 191, 125, 0.48);
    background: rgba(47, 191, 125, 0.09);
    color: #f4fff8;
    font-weight: 900;
    text-decoration: none;
}

body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-action a:hover,
body.cc-control-center-shell
.cc2s-list-page.cc-trips-page
.cc-trips-cell-action a:focus-visible {
    border-color: var(--cc-trips-green);
    background: rgba(47, 191, 125, 0.18);
}

@media (max-width: 1180px) {
    body.cc-control-center-shell
    .cc2s-list-page.cc-trips-page
    .cc-trips-filter-form {
        grid-template-columns:
            repeat(2, minmax(210px, 1fr));
    }

    body.cc-control-center-shell
    .cc2s-list-page.cc-trips-page
    .cc-trips-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    body.cc-control-center-shell
    .cc2s-list-page.cc-trips-page
    .cc-trips-filter-form {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    body.cc-control-center-shell
    .cc2s-list-page.cc-trips-page
    .cc-trips-filter-actions {
        display: grid;
        grid-column: auto;
        grid-template-columns: 1fr;
        min-width: 0;
    }

    body.cc-control-center-shell
    .cc2s-list-page.cc-trips-page
    .cc-trips-filter-actions button,
    body.cc-control-center-shell
    .cc2s-list-page.cc-trips-page
    .cc-trips-filter-actions .badge {
        width: 100%;
    }

    body.cc-control-center-shell
    .cc2s-list-page.cc-trips-page
    .cc-trips-table-guidance {
        font-size: 0.78rem;
    }
}

/* CC-UX-NAV-GPS-READABILITY-POLISH: sidebar organization start */
body.cc-control-center-shell .desktop-navigation,
body.cc-control-center-shell
details.mobile-navigation[open]
> nav {
    gap: 10px;
}

body.cc-control-center-shell .nav-group {
    padding-bottom: 10px;
}

body.cc-control-center-shell .nav-group-administration {
    display: block;
    margin-top: 2px;
    padding: 12px 0 0;
    border-top: 1px solid rgba(159, 180, 165, 0.2);
    border-bottom: 0;
}

body.cc-control-center-shell
.nav-group-administration
> summary {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid rgba(127, 206, 159, 0.25);
    background: rgba(47, 191, 125, 0.06);
    color: #8ed9ad;
    cursor: pointer;
    user-select: none;
}

body.cc-control-center-shell
.nav-group-administration
> summary:hover,
body.cc-control-center-shell
.nav-group-administration
> summary:focus-visible {
    border-color: rgba(47, 191, 125, 0.58);
    background: rgba(47, 191, 125, 0.12);
    color: #b5ebca;
}

body.cc-control-center-shell
.nav-group-administration
> summary::after {
    flex: 0 0 auto;
    float: none;
    margin-left: auto;
}

body.cc-control-center-shell
.nav-group-administration[open]
> summary {
    border-color: rgba(47, 191, 125, 0.48);
    background: rgba(47, 191, 125, 0.12);
}

body.cc-control-center-shell
.nav-administration-links {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

body.cc-control-center-shell
.nav-group-administration:not([open])
.nav-administration-links {
    display: none;
}

body.cc-control-center-shell
.nav-administration-group {
    display: grid;
    min-width: 0;
    gap: 2px;
    margin: 0;
    padding: 9px 7px 8px;
    border-left: 1px solid rgba(127, 206, 159, 0.22);
    background: rgba(255, 255, 255, 0.018);
}

body.cc-control-center-shell
.nav-administration-group
+ .nav-administration-group {
    border-top: 1px solid rgba(159, 180, 165, 0.12);
}

body.cc-control-center-shell .nav-subsection-title {
    margin: 0 4px 5px;
    color: #8ba697;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1.35;
    text-transform: uppercase;
}

body.cc-control-center-shell
.nav-administration-group
a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 12.25px;
    font-weight: 700;
}

body.cc-control-center-shell
.nav-group-reports-support {
    padding-bottom: 12px;
}

@media (max-width: 920px) {
    body.cc-control-center-shell
    .nav-administration-links {
        gap: 8px;
    }

    body.cc-control-center-shell
    .nav-administration-group {
        padding: 9px;
    }

    body.cc-control-center-shell
    .nav-administration-group
    a {
        min-height: 38px;
        font-size: 12.75px;
    }
}
/* CC-UX-NAV-GPS-READABILITY-POLISH: tablet shell row fix */
@media (max-width: 920px) {
    body.cc-control-center-shell .layout {
        align-content: start;
    }

    body.cc-control-center-shell .sidebar {
        align-self: start;
    }
}
/* CC-UX-NAV-GPS-READABILITY-POLISH: tablet shell row fix end */

/* CC-UX-NAV-GPS-READABILITY-POLISH: sidebar organization end */

/* CC-UX-NAV-GPS-READABILITY-POLISH: GPS page readability start */
body.cc-control-center-shell .cc2n-shell.cc-gps-page {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: clamp(20px, 2.5vw, 34px) !important;
    overflow: visible !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-header {
    grid-template-columns: minmax(0, 1fr) minmax(280px, auto) !important;
    gap: 24px !important;
    margin-bottom: 20px !important;
    padding: clamp(22px, 2.8vw, 32px) !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-header p {
    max-width: 760px !important;
    margin: 0 !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-header-actions {
    max-width: 420px;
    justify-self: end;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-stale-warning {
    margin: 0 0 20px !important;
    padding: 15px 17px !important;
    border-color: var(--cc-amber) !important;
    border-left-width: 4px !important;
    background: var(--cc-amber-soft) !important;
    color: #f4dba3 !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-stale-warning strong {
    color: #fff2ce !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-summary,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-panel,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-registry,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-boundary-disclosure {
    width: 100%;
    min-width: 0;
    margin: 0 0 22px;
    border: 1px solid var(--cc-line);
    background: var(--cc-panel);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-summary,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-panel,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-registry {
    padding: clamp(17px, 2vw, 24px);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-section-heading {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-section-heading > div {
    min-width: 0;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-section-heading .cc2n-kicker {
    margin: 0 0 5px !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-section-heading h2 {
    margin: 0 !important;
    color: var(--cc-text-strong) !important;
    font-size: clamp(18px, 2vw, 23px) !important;
    line-height: 1.2 !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-section-heading > p {
    max-width: 420px;
    margin: 0;
    color: var(--cc-text-dim);
    font-size: 12.5px;
    line-height: 1.55;
    text-align: right;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px;
    min-width: 0;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-summary-card {
    display: grid;
    min-width: 0;
    min-height: 112px;
    align-content: start;
    padding: 15px;
    border: 1px solid var(--cc-line);
    border-top: 3px solid var(--cc-green);
    background: var(--cc-panel-raised);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-summary-card.needs-attention {
    border-top-color: var(--cc-amber);
    background: var(--cc-amber-soft);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-summary-card span,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-metric span {
    color: var(--cc-text-faint);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-summary-card strong {
    margin: 8px 0 6px;
    color: #79d9a6;
    font-size: 27px;
    line-height: 1;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-summary-card small,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-metric small {
    color: var(--cc-text-faint);
    font-size: 11px;
    line-height: 1.45;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-metrics {
    margin-top: 14px;
    border: 1px solid var(--cc-line);
    background: rgba(255, 255, 255, 0.015);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-metrics > summary,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-boundary-disclosure > summary {
    padding: 13px 15px;
    color: #a9c5b4;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-metrics[open] > summary,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-boundary-disclosure[open] > summary {
    border-bottom: 1px solid var(--cc-line);
    color: var(--cc-text-strong);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 1px;
    background: var(--cc-line);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-metric {
    display: grid;
    min-width: 0;
    min-height: 82px;
    align-content: start;
    padding: 13px;
    background: var(--cc-panel-raised);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-metric strong {
    margin-top: 7px;
    color: var(--cc-text-strong);
    font-size: 18px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-form {
    display: grid !important;
    grid-template-columns:
        minmax(220px, 2fr)
        minmax(150px, 1fr)
        minmax(180px, 1fr)
        auto !important;
    gap: 11px !important;
    align-items: end !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-form label {
    display: grid;
    min-width: 0;
    gap: 6px;
    color: var(--cc-text-faint);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-form input,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-form select {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-actions button,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-filter-actions a {
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 14px;
    white-space: nowrap;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-selected-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-selected-filters span {
    padding: 6px 9px;
    border: 1px solid var(--cc-line);
    background: var(--cc-panel-raised);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 1px solid var(--cc-line-strong) !important;
    background: #080c09 !important;
    overscroll-behavior-inline: contain;
    scrollbar-gutter: stable;
    scrollbar-color:
        rgba(47, 191, 125, 0.75)
        rgba(255, 255, 255, 0.05);
    -webkit-overflow-scrolling: touch;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-table-wrap:focus-visible {
    outline: 2px solid rgba(47, 191, 125, 0.82);
    outline-offset: 3px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-table-wrap::-webkit-scrollbar {
    height: 12px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-table-wrap::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-table-wrap::-webkit-scrollbar-thumb {
    border: 3px solid #080c09;
    background: rgba(47, 191, 125, 0.75);
}

body.cc-control-center-shell
.cc-gps-page
table.cc-gps-table {
    width: 100% !important;
    min-width: 1180px !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-col-device {
    width: 190px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-col-vehicle {
    width: 150px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-col-status {
    width: 155px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-col-ping {
    width: 205px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-col-location {
    width: 175px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-col-alert {
    width: 175px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-col-actions {
    width: 130px;
}

body.cc-control-center-shell
.cc-gps-page
table.cc-gps-table th,
body.cc-control-center-shell
.cc-gps-page
table.cc-gps-table td {
    min-width: 0 !important;
    padding: 13px 12px !important;
    border-right: 1px solid rgba(99, 151, 117, 0.16) !important;
    border-bottom: 1px solid rgba(99, 151, 117, 0.22) !important;
    vertical-align: top !important;
}

body.cc-control-center-shell
.cc-gps-page
table.cc-gps-table th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #101c15 !important;
    color: #c8d9ce !important;
    font-size: 9.5px !important;
    letter-spacing: 0.08em !important;
    white-space: nowrap !important;
}

body.cc-control-center-shell
.cc-gps-page
table.cc-gps-table tbody td {
    background: var(--cc-panel) !important;
    color: var(--cc-text) !important;
    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

body.cc-control-center-shell
.cc-gps-page
table.cc-gps-table tbody tr:nth-child(even) td {
    background: var(--cc-panel-raised) !important;
}

body.cc-control-center-shell
.cc-gps-page
table.cc-gps-table tbody tr:hover td {
    background: #14231a !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-primary-value,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-identifier,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-ping-value {
    display: block;
    max-width: 100%;
    color: var(--cc-text-strong);
    font-weight: 800;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-identifier,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-device-cell .cc-gps-primary-value,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-vehicle-cell .cc-gps-primary-value,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-status-chip,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-alert-chip {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-identifier {
    margin-top: 5px;
    color: #8ed9ad;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10.5px;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-secondary-line,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-warning {
    display: block;
    margin-top: 6px;
    color: var(--cc-text-faint);
    font-size: 10.5px;
    line-height: 1.45;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-warning {
    padding: 6px 7px;
    border-left: 3px solid var(--cc-amber);
    background: var(--cc-amber-soft);
    color: #f0ca78;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-ping-value {
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-status-chip,
body.cc-control-center-shell
.cc-gps-page
.cc-gps-alert-chip {
    display: inline-flex !important;
    max-width: none !important;
    align-items: center;
    line-height: 1.25;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-details {
    margin-top: 8px;
    border-top: 1px solid rgba(159, 180, 165, 0.14);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-details > summary {
    padding-top: 7px;
    color: #83c9a0;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-details dl {
    display: grid;
    gap: 6px;
    margin: 8px 0 0;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-details dl > div {
    min-width: 0;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-details dt {
    color: var(--cc-text-faint);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-details dd {
    margin: 2px 0 0;
    color: var(--cc-text);
    font-size: 10.5px;
    overflow-wrap: anywhere;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    align-items: stretch !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-row-actions a {
    width: auto !important;
    min-height: 30px !important;
    justify-content: center;
    padding: 6px 8px !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    font-size: 10px !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-boundary-disclosure {
    background: rgba(255, 255, 255, 0.012);
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-boundary-disclosure
.cc2n-ops-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin: 0 !important;
    border: 0 !important;
}

body.cc-control-center-shell
.cc-gps-page
.cc-gps-boundary-disclosure
.cc2n-ops-strip span {
    border-top: 1px solid var(--cc-line) !important;
}

@media (max-width: 1180px) {
    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-header {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-header-actions {
        max-width: none;
        justify-self: stretch;
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-summary-grid {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    body.cc-control-center-shell .cc2n-shell.cc-gps-page {
        padding: 16px !important;
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-section-heading {
        display: grid;
        gap: 7px;
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-section-heading > p {
        max-width: none;
        text-align: left;
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-summary-grid,
    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-filter-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-filter-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-filter-actions button,
    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-filter-actions a {
        width: 100% !important;
    }

    body.cc-control-center-shell
    .cc-gps-page
    table.cc-gps-table {
        min-width: 1120px !important;
    }

    body.cc-control-center-shell
    .cc-gps-page
    .cc-gps-boundary-disclosure
    .cc2n-ops-strip {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
/* CC-UX-NAV-GPS-READABILITY-POLISH: GPS page readability end */

/* GPS freshness truth indicators start */
.gps-freshness {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.55rem;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.gps-freshness::before {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: currentColor;
    content: "";
    flex: 0 0 auto;
}

.gps-freshness--online,
.gps-freshness--fresh {
    color: #15803d;
    background: #f0fdf4;
}

.gps-freshness--stale {
    color: #b45309;
    background: #fffbeb;
}

.gps-freshness--disconnected {
    color: #b91c1c;
    background: #fef2f2;
}

.gps-freshness--never-seen {
    color: #64748b;
    background: #f8fafc;
}

.gps-freshness-detail {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted, #64748b);
    font-size: 0.86rem;
    line-height: 1.35;
}

.gps-registry-status {
    display: block;
    margin-top: 0.3rem;
    color: var(--muted, #64748b);
    font-size: 0.82rem;
}
/* GPS freshness truth indicators end */


/* Final CC2O dark theme contrast correction */
body.cc-control-center-shell .cc2o-health-item strong {
    color: var(--cc-text-strong);
}

/* Final CC2O dark theme reconciliation */
body.cc-control-center-shell .cc2o-home-shell .cc2o-card,
body.cc-control-center-shell .cc2o-home-shell .top-kpi-card,
body.cc-control-center-shell .cc2o-home-shell .readiness-card,
body.cc-control-center-shell .cc2o-home-shell .cc2o-readiness-cell {
    background: var(--cc-panel) !important;
    color: var(--cc-text) !important;
    border-color: var(--cc-line) !important;
}

body.cc-control-center-shell .cc2o-home-shell h3,
body.cc-control-center-shell .cc2o-home-shell strong,
body.cc-control-center-shell .cc2o-home-shell .cc2o-kpi-value {
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell .cc2o-home-shell p,
body.cc-control-center-shell .cc2o-home-shell span {
    color: var(--cc-text-dim);
}

body.cc-control-center-shell .cc2o-home-shell button,
body.cc-control-center-shell .cc2o-home-shell a.button {
    background: var(--cc-green-soft);
    color: var(--cc-green);
    border-color: var(--cc-line);
}

/* Final CC2O white surface elimination */
body.cc-control-center-shell .cc2o-home-shell table,
body.cc-control-center-shell .cc2o-home-shell tbody,
body.cc-control-center-shell .cc2o-home-shell tr,
body.cc-control-center-shell .cc2o-home-shell td,
body.cc-control-center-shell .cc2o-home-shell th {
    background: var(--cc-panel) !important;
    color: var(--cc-text) !important;
    border-color: rgba(99, 151, 117, 0.16) !important;
}

/* Final CC2O action row dark surface fix */
body.cc-control-center-shell .cc2o-home-shell .cc2o-action-row,
body.cc-control-center-shell .cc2o-home-shell .cc2o-record-row {
    background: var(--cc-panel) !important;
    color: var(--cc-text) !important;
    border-color: var(--cc-line) !important;
    border-bottom-color: rgba(99, 151, 117, 0.22) !important;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-action-row strong,
body.cc-control-center-shell .cc2o-home-shell .cc2o-record-row strong {
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-action-row span,
body.cc-control-center-shell .cc2o-home-shell .cc2o-record-row span {
    color: var(--cc-text-dim);
}


/* CC-DASHBOARD recent records readability fix */
body.cc-control-center-shell .cc2o-home-shell .cc2o-record-row {
    grid-template-columns: minmax(260px, 1fr) minmax(90px, auto) minmax(120px, auto);
    gap: 20px;
    align-items: center;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-record-row > span:first-child {
    min-width: 0;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-record-row > span:first-child small {
    display: block;
    overflow-wrap: anywhere;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-record-row .cc2o-count {
    font-size: 14px;
    font-weight: 800;
    min-width: 90px;
    text-align: center;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-record-row .badge {
    min-width: 120px;
    justify-content: center;
}

/* CC2O final polish */
body.cc-control-center-shell .cc2o-home-shell h2,
body.cc-control-center-shell .cc2o-home-shell h3 {
    color: var(--cc-text-strong);
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-kpi-note {
    color: var(--cc-text-dim);
}

body.cc-control-center-shell .cc2o-readiness-grid {
    border-color: var(--cc-line);
    background: var(--cc-panel);
}

body.cc-control-center-shell .cc2o-readiness-cell {
    background: var(--cc-panel);
    border-color: var(--cc-line);
    color: var(--cc-text);
}

body.cc-control-center-shell .cc2o-readiness-cell strong {
    color: var(--cc-text-strong);
}

body.cc-control-center-shell .cc2o-readiness-cell span {
    color: var(--cc-text-dim);
}

body.cc-control-center-shell .cc2o-home-shell .quick-actions a,
body.cc-control-center-shell .cc2o-home-shell .quick-actions button {
    color: var(--cc-green);
    border-color: var(--cc-line);
    background: var(--cc-panel);
}

body.cc-control-center-shell .cc2o-readiness-cell dt {
    color: var(--cc-text-dim) !important;
}

body.cc-control-center-shell .cc2o-readiness-cell dd {
    color: var(--cc-text-strong) !important;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-readiness-cell dt {
    color: var(--cc-text-dim) !important;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-readiness-cell dd {
    color: var(--cc-text-strong) !important;
    font-weight: 900;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-readiness-grid {
    border-color: var(--cc-line) !important;
    background: var(--cc-panel) !important;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-card {
    background: var(--cc-panel) !important;
    border-color: var(--cc-line) !important;
}


/* CC2O FINAL MICRO POLISH */

body.cc-control-center-shell .cc2o-home-shell .cc2o-route-strip a {
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-health-item {
    min-height: 62px;
    padding: 12px 18px;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-hero p {
    max-width: 850px;
}

body.cc-control-center-shell .cc2o-home-shell .cc2o-health-strip,
body.cc-control-center-shell .cc2o-home-shell .cc2o-stat-grid,
body.cc-control-center-shell .cc2o-home-shell .cc2o-route-strip {
    border-color: rgba(229, 231, 235, 0.45) !important;
}



/* CC-DASHBOARD-BATCH-3-POLISH */

/* Button interaction polish - existing tokens only */
body.cc-control-center-shell .button,
body.cc-control-center-shell button,
body.cc-control-center-shell:not(.cc-login-page) input[type="submit"],
body.cc-control-center-shell a.button {
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

body.cc-control-center-shell .button:hover,
body.cc-control-center-shell button:hover,
body.cc-control-center-shell:not(.cc-login-page) input[type="submit"]:hover,
body.cc-control-center-shell a.button:hover {
    border-color: var(--brand-green);
}

body.cc-control-center-shell .button:focus-visible,
body.cc-control-center-shell button:focus-visible,
body.cc-control-center-shell:not(.cc-login-page) input[type="submit"]:focus-visible,
body.cc-control-center-shell a.button:focus-visible {
    outline: 2px solid var(--brand-green);
    outline-offset: 2px;
}

/* Typography token alignment */
body.cc-control-center-shell .empty-state strong {
    font-size: var(--text-card-title);
}

body.cc-control-center-shell .empty-state p,
body.cc-control-center-shell .empty-state {
    font-size: var(--text-body);
}

body.cc-control-center-shell .empty-state small {
    font-size: var(--text-supporting);
}

/* Empty state hierarchy refinement */
body.cc-control-center-shell .empty-state {
    padding: var(--space-4);
}

/* CC-DRIVER-PROFILE-CARD: compact identity card replacing stacked identity panels */
body.cc-control-center-shell .driver-profile-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: var(--space-4);
    align-items: start;
}

body.cc-control-center-shell .driver-profile-main {
    display: grid;
    gap: var(--space-3);
    min-width: 0;
}

body.cc-control-center-shell .driver-profile-card {
    background: linear-gradient(180deg, var(--cc-panel-raised), var(--cc-panel));
    border: 1px solid var(--cc-line);
    border-top: 3px solid var(--cc-green-strong);
    padding: var(--space-4) var(--space-3);
    text-align: center;
}

body.cc-control-center-shell .driver-profile-avatar {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-2);
    display: grid;
    place-items: center;
    background: var(--cc-green-deep);
    border: 1px solid var(--cc-green);
    color: var(--cc-text-strong);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

body.cc-control-center-shell .driver-profile-name {
    margin: 0 0 2px;
    color: var(--cc-text-strong);
    font-size: 15px;
    font-weight: 800;
}

body.cc-control-center-shell .driver-profile-code {
    margin: 0;
    color: var(--cc-text-dim);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
}

body.cc-control-center-shell .driver-profile-status {
    margin-top: var(--space-2);
}

body.cc-control-center-shell .driver-profile-contact {
    margin: var(--space-3) 0 0;
    padding-top: var(--space-3);
    border-top: 1px solid var(--cc-line);
    display: grid;
    gap: var(--space-2);
    text-align: left;
}

body.cc-control-center-shell .driver-profile-contact dt {
    margin: 0;
    color: var(--cc-text-faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

body.cc-control-center-shell .driver-profile-contact dd {
    margin: 2px 0 0;
    color: var(--cc-text);
    font-size: 12.5px;
    overflow-wrap: anywhere;
}

body.cc-control-center-shell .driver-training-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

@media (max-width: 720px) {
    body.cc-control-center-shell .driver-profile-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* CC-SAFETY-READONLY-BANNER: persistent read-only review indicator */
body.cc-control-center-shell .readonly-review-banner {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    padding: var(--space-2) var(--space-3);
    border: 1px solid rgba(115, 169, 239, 0.4);
    background: var(--cc-blue-soft);
    color: #bcd8f7;
}

body.cc-control-center-shell .readonly-review-badge {
    flex: 0 0 auto;
    padding: 4px 8px;
    border: 1px solid rgba(115, 169, 239, 0.5);
    color: var(--cc-blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.cc-control-center-shell .readonly-review-banner p {
    margin: 0;
    color: #bcd8f7;
    font-size: 12.5px;
    line-height: 1.4;
}

@media (max-width: 720px) {
    body.cc-control-center-shell .readonly-review-banner {
        flex-wrap: wrap;
    }
}

/* CC-STATUS-ICONS: shape-coded icons paired with status chips, so urgency
   reads by shape as well as color (also helps colorblind users). */
body.cc-control-center-shell .cc-status-icon {
    flex: 0 0 auto;
    margin-right: 5px;
    vertical-align: -2px;
}

/* CC-COLLAPSIBLE: collapses an inert readiness panel (nothing to
   act on right now) behind a one-line state summary; stays open when the
   panel has a live form or an error to show. Native <details>, no JS. */
body.cc-control-center-shell .cc-collapsible {
    margin-top: 14px;
    border: 1px solid var(--cc-line);
    background: var(--cc-panel-raised);
}

body.cc-control-center-shell .cc-collapsible > summary {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: var(--cc-text-dim);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    cursor: pointer;
    list-style: none;
}

body.cc-control-center-shell .cc-collapsible > summary::-webkit-details-marker {
    display: none;
}

body.cc-control-center-shell .cc-collapsible > summary::after {
    content: "\25BE";
    margin-left: auto;
    color: var(--cc-text-faint);
    transition: transform 150ms ease;
}

body.cc-control-center-shell .cc-collapsible:not([open]) > summary::after {
    transform: rotate(-90deg);
}

body.cc-control-center-shell .cc-collapsible[open] > summary {
    border-bottom: 1px solid var(--cc-line);
    color: var(--cc-text-strong);
}

body.cc-control-center-shell .cc-collapsible > summary ~ * {
    margin: 14px 14px 0;
}

body.cc-control-center-shell .cc-collapsible > summary ~ *:last-child {
    margin-bottom: 14px;
}

/* Elements with their own explicit "display" (e.g. .detail-grid's
   display:grid) are author-origin rules and win over the browser's
   built-in details-closed hiding, which is only a user-agent-origin
   default. Restate it explicitly so closed panels truly hide. */
body.cc-control-center-shell .cc-collapsible:not([open]) > summary ~ * {
    display: none !important;
}

/* Shared live local-time display, originally built for GPS Control's
   command-room topbar. Promoted here (rather than copied per-page) so
   any page can show the same clock via the same markup:
   <div class="cc2k-clock" aria-label="..."><span>Local time</span>
   <strong id="cc2k-live-clock">--:--:--</strong></div>
   plus the small ticking script - see gps_live_monitoring.html or
   home.html for the reference script. */
body.cc-control-center-shell .cc2k-clock {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 18px;
    border-left: 1px solid #263229;
    background: rgba(4, 9, 5, .86);
    min-width: 0;
}

body.cc-control-center-shell .cc2k-clock span {
    color: #8fe6b4;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.cc-control-center-shell .cc2k-clock strong {
    color: #f5fff8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 28px;
    letter-spacing: .08em;
    line-height: 1.05;
    margin-top: 6px;
}

@media (max-width: 1100px) {
    body.cc-control-center-shell .cc2k-clock {
        align-items: flex-start;
        border-left: 0;
    }
}

body.cc-control-center-shell #cc2k-live-clock {
    display: inline-block;
    min-width: 8ch;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    font-size: clamp(1.9rem, 2.35vw, 2.7rem);
    line-height: 1;
    letter-spacing: 0.03em;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

body.cc-control-center-shell #cc2k-live-clock br {
    display: none;
}
