/**
 * MyParkingLots — Design System
 * Hand-ported from the authoritative mockup (sample/myparkinglots-mockups.html):
 * indigo primary, slate neutrals, self-hosted Inter, mockup component helpers.
 * Self-hosted, zero dependencies, light-only tokens (matches the mockup).
 *
 * SINGLE SOURCE OF TRUTH: every color / spacing / type / radius / shadow
 * lives in the :root token block below. Components consume tokens only —
 * no raw hex values outside the :root token block (light only, like the
 * mockup). URL is stable: /assets/app.css.
 *
 * ===========================================================================
 * COMPONENT CLASS VOCABULARY
 * ===========================================================================
 * Layout shell (_layout.php renders these):
 *   .page-wrapper            flex column body, full viewport height
 *   .skip-link               a11y "skip to main content" jump link
 *   .nav-top / .nav-brand / .nav-links / .nav-link
 *                            owner CMS site topbar (cms/render-site.php)
 *   .page-container (-wide|-narrow)            centered content column
 *   .page-header / .page-title / .page-description
 *   .footer / .footer-links / .footer-link     standard support·terms·privacy
 *   .auth-main / .auth-card / .auth-header / .auth-title / .auth-subtitle /
 *   .auth-links                                centered sign-in shell
 * Buttons:
 *   .btn + .btn-primary | .btn-secondary | .btn-danger | .btn-success |
 *          .btn-ghost     (sizes: .btn-sm .btn-lg; .btn-block full width)
 * Forms:
 *   .form-group .form-label(.form-label-required) .form-input .form-select
 *   .form-textarea .form-help .form-error .has-error .honeypot
 *   .form-row (flex wrap group row) .form-actions (button row)
 *   .filter-bar (GET filter bar on list consoles)
 * Tables:
 *   .table-container > .table (+ .table-striped .table-compact; thead.sticky)
 * Cards & stats:
 *   .card (+ .card-header .card-body .card-footer .card-compact)
 *   .stat-card > .stat-label + .stat-value (accent border via .sev-1..5)
 * Badges:
 *   .badge + .badge-default | .badge-primary | .badge-success |
 *            .badge-warning | .badge-danger | .badge-info
 * Alerts:
 *   .alert + .alert-success | .alert-warning | .alert-error/.alert-danger |
 *            .alert-info
 * Grid & utilities:
 *   .grid .grid-cols-1..4 .grid-auto .gap-sm/md/lg .gap-2/3/4
 *   .flex .flex-col .items-center .justify-between
 *   .mt-2 .mt-4 .mt-6 .mt-8 .mb-2 .mb-4 .mb-6 .mb-8
 *   .text-muted .text-sm .text-xs .text-right .text-center
 * States:
 *   .empty-state(-icon/-title/-description) .loading-state
 *   .err-code (error pages)
 * Customer surfaces (/pay, /pay/t/, /receipt):
 *   .cust .cust-main .cust-head .kv .consent .timer-hero .due-panel ...
 *   (full list in the CUSTOMER SURFACES section)
 * Severity:
 *   .sev-indicator .sev-1..sev-5 (border accent, Sev1=danger … Sev5=success)
 * A11y:
 *   .sr-only, :focus-visible outlines, .skip-link
 * ===========================================================================
 */

/* =============================================================================
   SELF-HOSTED FONTS — Inter (latin variable font), zero external hosts
   One file covers every weight via the wght axis.
   ============================================================================= */

@font-face{font-family: 'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url('/assets/fonts/inter-var.woff2') format('woff2');}


/* =============================================================================
   DESIGN TOKENS — Custom Properties
   ============================================================================= */

:root {
  /* Color Palette — Primary & Accent */
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-primary-active: #3730a3;
  --color-primary-light: #eef2ff;
  --color-primary-200: #c7d2fe;      /* indigo-200 — link underline decoration */
  
  /* Semantic Colors — mockup tone pairs (spec §6.1: emerald/amber/rose/indigo) */
  --color-success: #10b981;          /* emerald-500 solid */
  --color-success-bg: #ecfdf5;       /* emerald-50 */
  --color-success-border: #a7f3d0;   /* emerald-200 */
  
  --color-warning: #f59e0b;          /* amber-500 solid */
  --color-warning-bg: #fffbeb;       /* amber-50 */
  --color-warning-border: #fde68a;   /* amber-200 */
  
  --color-danger: #e11d48;           /* rose-600 solid (mockup .btn-danger) */
  --color-danger-bg: #fff1f2;        /* rose-50 */
  --color-danger-border: #fecdd3;    /* rose-200 */
  
  --color-info: #4f46e5;             /* indigo-600 solid */
  --color-info-bg: #eef2ff;          /* indigo-50 */
  --color-info-border: #c7d2fe;      /* indigo-200 */
  
  /* Neutral Scale (slate) */
  --color-gray-50: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e2e8f0;
  --color-gray-300: #cbd5e1;
  --color-gray-400: #94a3b8;
  --color-gray-500: #64748b;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1e293b;
  --color-gray-900: #0f172a;
  
  /* Semantic UI Colors */
  --color-background: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-hover: var(--color-gray-50);
  --color-text: #0f172a;
  --color-text-secondary: #64748b;
  --color-text-tertiary: #94a3b8;
  --color-text-strong: #475569;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* Semantic surfaces (unified: thead/striped rows/card footers/hovers) —
     every former raw gray-50/gray-100 component value routes through these
     so dark mode flips them in one place. */
  --color-bg-subtle: var(--color-gray-50);    /* thead, stripes, card-footer */
  --color-bg-muted: var(--color-gray-100);    /* code chips, ghost hover    */
  --color-border-strong: var(--color-gray-300);
  --color-border-hover: var(--color-gray-400);
  --color-text-on-primary: #ffffff;

  /* Alert/badge foregrounds (readable on the semantic -bg tints) */
  --color-success-text: #047857;     /* emerald-700 */
  --color-warning-text: #b45309;     /* amber-700 */
  --color-danger-text: #be123c;      /* rose-700 */
  --color-info-text: #3730a3;        /* indigo-800 */

  /* Button state colors */
  --color-danger-hover: #be123c;     /* rose-700 */
  --color-success-hover: #059669;    /* emerald-600 */
  --color-success-active: #047857;   /* emerald-700 */
  
  /* Spacing Scale (rem units) */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  
  /* Typography Scale */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Courier New', monospace;
  
  --text-2xs: 0.6875rem;  /* 11px */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  
  --line-height-tight: 1.25;
  --line-height-base: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Border Radius */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.375rem;  /* 6px */
  --radius-lg: 0.5rem;    /* 8px */
  --radius-xl: 0.75rem;   /* 12px */
  --radius-2xl: 1rem;     /* 16px */
  --radius-full: 9999px;

  /* Mockup-named aliases (consumed by later re-skin tasks) */
  --radius-card: var(--radius-2xl);     /* mockup rounded-2xl */
  --radius-control: var(--radius-xl);   /* mockup rounded-xl */
  --shadow-card: 0 1px 2px 0 rgb(15 23 42 / 0.05);  /* mockup shadow-sm */
  /* Console contrast (2026-10-30 review): the owner/platform shells sit on a
     slate-100 canvas with a slightly deeper card shadow so white cards lift. */
  --shadow-card-console: 0 1px 2px 0 rgb(15 23 42 / 0.06), 0 1px 3px 0 rgb(15 23 42 / 0.08);
  /* Platform console sidebar: soft blue (blue-100/200/700/800/900). */
  --color-sidebar-blue: #dbeafe;
  --color-sidebar-blue-border: #bfdbfe;
  --color-sidebar-blue-muted: #1d4ed8;
  --color-sidebar-blue-text: #1e40af;
  --color-sidebar-blue-strong: #1e3a8a;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  
  /* Focus Ring */
  --focus-ring: 0 0 0 3px var(--color-primary-light);
  --focus-ring-danger: 0 0 0 3px rgba(225, 29, 72, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light only: the mockup has no dark theme, so nothing here follows the OS
   dark setting. color-scheme keeps native controls light too. */
:root { color-scheme: light; }

/* =============================================================================
   PREFLIGHT RESET — Tailwind-Preflight parity for the mockup's untouched markup
   Placed after the token blocks and before component rules so components win.
   ============================================================================= */

/* Box-sizing and margin/padding zeroing live in RESET & BASE below; these
   are only the Preflight rules that reset adds nothing for. */

button, input, optgroup, select, textarea {
  font: inherit;
  color: inherit;
}

button, [type=button], [type=submit] {
  background: none;
  border: 0;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

svg {
  vertical-align: middle;
}

table {
  border-collapse: collapse;
}

/* =============================================================================
   RESET & BASE STYLES
   ============================================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-background);
}

/* The hidden attribute always wins (pay-flow step cards toggle via [hidden]). */
[hidden] {
  display: none !important;
}

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 { font-size: var(--text-3xl); margin-bottom: var(--space-4); }
h2 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
h4 { font-size: var(--text-lg); margin-bottom: var(--space-2); }

p {
  margin-bottom: var(--space-4);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--color-bg-muted);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) 0.875rem;          /* mockup .btn-p: py-2 px-3.5 */
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.25rem;
  border-radius: var(--radius-control);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  text-decoration: none;
}

.btn-primary:active {
  background: var(--color-primary-active);
  border-color: var(--color-primary-active);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-subtle);
  border-color: var(--color-border-strong);
  text-decoration: none;
}

.btn-secondary:active {
  background: var(--color-bg-muted);
}

.btn-secondary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-danger {
  background: var(--color-danger);
  color: var(--color-text-on-primary);
  border-color: var(--color-danger);
}

.btn-danger:hover {
  background: var(--color-danger-hover);
  border-color: var(--color-danger-hover);
  text-decoration: none;
}

.btn-danger:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-danger);
}

.btn-success {
  background: var(--color-success);
  color: var(--color-text-on-primary);
  border-color: var(--color-success);
}

.btn-success:hover {
  background: var(--color-success-hover);
  border-color: var(--color-success-hover);
  text-decoration: none;
}

.btn-success:active {
  background: var(--color-success-active);
  border-color: var(--color-success-active);
}

.btn-success:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-strong);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--color-bg-muted);
  color: var(--color-text);
  text-decoration: none;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-3) var(--space-5);   /* mockup hero CTA: py-3 px-5 text-base */
  font-size: var(--text-base);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* =============================================================================
   FORMS
   ============================================================================= */

.form-group {
  margin-bottom: var(--space-4);
}

.form-label {
  display: block;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-1);
}

.form-label-required::after {
  content: " *";
  color: var(--color-danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-2) var(--space-3);   /* mockup .input: py-2 px-3 */
  font-size: var(--text-sm);
  font-family: inherit;
  line-height: 1.25rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  transition: all var(--transition-fast);
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: var(--color-border-hover);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
  background: var(--color-bg-subtle);
  color: var(--color-text-tertiary);
  cursor: not-allowed;
}

.form-textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-help {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

.form-error {
  color: var(--color-danger);
  font-size: var(--text-xs);
  margin-top: var(--space-1);
}

.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
  border-color: var(--color-danger);
}

.form-input.has-error:focus,
.form-select.has-error:focus,
.form-textarea.has-error:focus {
  box-shadow: var(--focus-ring-danger);
}

/* Inline forms (row actions inside tables) */
.form-inline {
  display: inline;
}

/* Horizontal group of form fields (filter bars, multi-field editors) */
.form-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: var(--space-4);
}

.form-row .form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  /* Fields share the row evenly and wrap on narrow screens — replaces the
     per-page inline min-width styles (Users re-theme, Phase 10 W2). */
  flex: 1 1 12rem;
  min-width: 0;
}

/* Row-action forms (e.g. table cells with Publish / Make home buttons):
   buttons sit side by side instead of stacking. */
.inline-form {
  display: inline-block;
  margin: 0;
}

/* Inputs placed straight into a flex row (GET filter rows) size to their
   content instead of taking the full line. */
.flex > .form-input,
.flex > .form-select {
  width: auto;
}

/* A field that grows to share a .form-row / .filter-bar line. */
.field-grow {
  flex: 1;
  min-width: 200px;
}

.field-grow-lg {
  flex: 1;
  min-width: 260px;
}

/* Compact inputs inside table rows (settings team table, fines). */
.input-xs { max-width: 8rem; }
.input-sm { max-width: 9rem; }
.form-narrow { max-width: 26rem; }
.form-min { min-width: 16rem; }

/* Inline action forms in table cells: sit side by side with a small gap. */
.cell-form {
  display: inline-block;
  margin: 0 0.25rem 0.25rem 0;
}

/* Native colour picker (QR generator). */
.color-input {
  width: 60px;
  height: 40px;
  padding: 2px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

/* Colour chip; the colour itself is the element's inline background. */
.color-swatch {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  vertical-align: middle;
}

/* Button row under a form */
.form-actions {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  margin-top: var(--space-4);
}

/* GET filter bar on list consoles */
.filter-bar {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: flex-end;
}

.filter-bar .form-group {
  margin-bottom: 0;
}

/* Honeypot (accessibility-hidden spam trap) */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* =============================================================================
   BADGES & PILLS
   ============================================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  line-height: 1;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.badge-default {
  background: var(--color-bg-muted);
  color: var(--color-text-strong);
}

.badge-primary {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success-text);
}

.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
}

.badge-danger {
  background: var(--color-danger-bg);
  color: var(--color-danger-text);
}

.badge-info {
  background: var(--color-info-bg);
  color: var(--color-info-text);
}

/* =============================================================================
   ALERTS
   ============================================================================= */

.alert {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid;
  margin-bottom: var(--space-4);
}

.alert-success {
  background: var(--color-success-bg);
  border-color: var(--color-success-border);
  color: var(--color-success-text);
}

.alert-warning {
  background: var(--color-warning-bg);
  border-color: var(--color-warning-border);
  color: var(--color-warning-text);
}

.alert-error,
.alert-danger {
  background: var(--color-danger-bg);
  border-color: var(--color-danger-border);
  color: var(--color-danger-text);
}

.alert-info {
  background: var(--color-info-bg);
  border-color: var(--color-info-border);
  color: var(--color-info-text);
}

/* =============================================================================
   CARDS
   ============================================================================= */

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-body {
  padding: var(--space-6);
}

.card-header {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.card-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-subtle);
}

.card-compact .card-body {
  padding: var(--space-4);
}

/* Stat Cards */
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-fast);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.stat-label {
  display: block;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: var(--space-2);
}

.stat-value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-black);
  color: var(--color-text);
  line-height: 1;
}

/* Description list (labelled facts, e.g. Connect onboarding state) */
.desc-list {
  margin-top: var(--space-4);
}

.desc-list dt {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-3);
}

.desc-list dd {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-left: 0;
}

/* =============================================================================
   TABLES
   ============================================================================= */

.table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.table thead {
  background: var(--color-bg-subtle);
}

.table thead.sticky {
  position: sticky;
  top: 0;
  z-index: 10;
}

.table th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.table td {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--color-border-light);
  vertical-align: middle;
}

/* Row headers inside tbody (receipt-style label/value tables) */
.table tbody th[scope="row"] {
  width: 1%;
  white-space: nowrap;
  font-weight: var(--font-weight-medium);
}

.table tbody tr:hover {
  background: var(--color-bg-subtle);
}

.table-striped tbody tr:nth-child(even) {
  background: var(--color-bg-subtle);
}

.table-striped tbody tr:nth-child(even):hover {
  background: var(--color-bg-muted);
}

.table-compact th,
.table-compact td {
  padding: var(--space-2) var(--space-3);
}

/* =============================================================================
   NAVIGATION
   ============================================================================= */

.nav-top {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  box-shadow: var(--shadow-xs);
}

.nav-brand {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-brand:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.nav-link {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-text);
  text-decoration: none;
}

.nav-link.active {
  color: var(--color-primary);
}

/* =============================================================================
   OWNER SITE TEMPLATE (cms/render-site.php, Sub-project 5h)
   Every block renders through these classes — the owner supplies text, never
   layout. Kept deliberately small: a hero, a section rhythm, a logo chip.
   ============================================================================= */

.site-logo {
  height: 32px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

/* Mockup m-ownersite: a full-bleed dark hero with an amber badge and CTA. */
.site-hero {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.site-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.site-hero-body {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.site-hero-title {
  max-width: 42rem;
  margin-top: 1rem;
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #fff;
}

.site-hero-subtitle {
  max-width: 36rem;
  margin-top: 1rem;
  font-size: var(--text-base);
  color: #cbd5e1;
}

.site-section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.site-section:last-child {
  padding-bottom: 3rem;
}

.site-section-title {
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.site-location-name {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.site-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-link-list a {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
}

.cms-body > *:last-child {
  margin-bottom: 0;
}

/* =============================================================================
   LAYOUT
   ============================================================================= */

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  width: 100%;
  flex: 1;
}

.page-container-wide {
  max-width: 1400px;
}

.page-container-narrow {
  max-width: 800px;
}

.page-header {
  margin-bottom: var(--space-8);
}

.page-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.page-description {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.kpi-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-auto-lg {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-cards {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.gap-sm { gap: var(--space-3); }
.gap-md { gap: var(--space-6); }
.gap-lg { gap: var(--space-8); }

/* Flex Utilities */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }

/* Spacing Utilities */
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* Size Utilities */
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }

/* Text Utilities */
.text-muted { color: var(--color-text-secondary); }
.mt-0 { margin-top: 0; }
.m-0 { margin: 0; }
.ml-auto { margin-left: auto; }
.float-right { float: right; }
.font-bold { font-weight: var(--font-weight-bold); }
.list-indent { margin: 0; padding-left: 1.25rem; }
.text-sm { font-size: var(--text-sm); }
.text-xs { font-size: var(--text-xs); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-upper { text-transform: uppercase; }
.font-mono { font-family: var(--font-mono); font-size: var(--text-xs); }

/* "Last updated" meta line on static/content pages */
.updated {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

/* =============================================================================
   AUTH SHELL (centered sign-in / password-reset cards)
   ============================================================================= */

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.auth-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
}

.auth-subtitle {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.auth-links {
  text-align: center;
  margin-top: var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

/* Brand mark above the auth title (mockup o-login). */
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.auth-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  font-size: var(--text-xs);
}

/* Muted helper panel below the auth form (mockup o-login teammate note). */
.auth-note {
  margin: var(--space-4) 0 0;
  padding: var(--space-3);
  border-radius: var(--radius-control);
  background: var(--color-background);
  color: var(--color-text-secondary);
  font-size: var(--text-2xs);
  line-height: var(--line-height-relaxed);
  text-align: center;
}

/* =============================================================================
   CUSTOMER SURFACES (/pay, /pay/t/<token>, /receipt, legal + error pages)
   Mockup c-pay / c-session / c-receipt / c-citation phone layout (Sub-project 2).
   Rendered by layout-static.php (customerHead/customerFooter/...).
     .cust / .cust-main(-wide)        page background + centered phone column
     .cust-head / .cust-mono /
     .cust-head-name / .cust-head-sub lot header (owner monogram, lot, owner)
     .cust-brand                      wordmark header for non-lot pages
     .kv / .kv-row / .kv-total        mockup kv() rows + total line
     .consent                         mockup cons() agreement panel
     .secure-line                     lock icon + "secure checkout" line
     .plate-input / .plate-row /
     .field-help                      plate + state row and its helper text
     .timer-hero(-label|-clock|-sub)  dark live session clock
     .done-check                      success check circle
     .due-panel / .due-label /
     .due-amount                      citation amount-due panel
     .note-panel                      muted info panel
     .err-code                        large status code on error pages
     .footer-sub                      "Powered by" line under footer links
   ============================================================================= */

.cust {
  background: var(--color-surface);   /* mockup phone body is bg-white */
}

.cust-main {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cust-main-wide {
  max-width: 720px;
}

.cust-head,
.cust-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border-light);
}

.cust-brand {
  justify-content: center;
  font-weight: var(--font-weight-black);
}

.cust-brand a {
  color: var(--color-text);
  text-decoration: none;
}

.cust-head-inner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.cust-mono {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--color-gray-900);
  color: #fbbf24;                     /* amber-400 */
  font-size: var(--text-xs);
  font-weight: var(--font-weight-black);
}

.cust-head-name {
  margin: 0;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

.cust-head-sub {
  margin: 0;
  font-size: 10px;
  color: var(--color-text-secondary);
}

.cust-head .badge {
  margin-left: auto;
}

.kv {
  font-size: var(--text-xs);
}

.kv-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--color-border-light);
}

.kv-row:last-child {
  border-bottom: none;
}

.kv-row > :first-child {
  color: var(--color-text-secondary);
}

.kv-row > :last-child {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  text-align: right;
}

.kv-total {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: var(--font-weight-black);
  color: var(--color-text);
}

.consent {
  margin: 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-control);
  background: var(--color-bg-subtle);
  font-size: 10.5px;
  line-height: 1.625;
  color: var(--color-text-strong);
}

.secure-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin: 0;
  font-size: 10px;
  color: var(--color-text-secondary);
}

.secure-line svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--color-success);
}

.plate-row {
  display: grid;
  grid-template-columns: 1fr 5.5rem;
  gap: var(--space-2);
}

.plate-input {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.field-help {
  margin: 0.375rem 0 0;
  font-size: 10px;
  color: var(--color-text-secondary);
}

.timer-hero {
  padding: var(--space-5) var(--space-4) var(--space-6);
  background: var(--color-gray-900);
  color: #ffffff;
  text-align: center;
}

.timer-hero-label {
  margin: 0;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
}

.timer-hero-clock {
  margin-top: var(--space-2);
  font-size: 3rem;
  font-weight: var(--font-weight-black);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.timer-hero-sub {
  margin: var(--space-1) 0 0;
  font-size: var(--text-2xs);
  color: var(--color-gray-300);
}

.done-check {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-success-bg);
  color: var(--color-success);
}

.done-check svg {
  width: 1.5rem;
  height: 1.5rem;
}

.due-panel {
  padding: var(--space-3);
  border: 2px solid var(--color-danger-border);
  border-radius: var(--radius-card);
  background: var(--color-danger-bg);
}

.due-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--color-danger-text);
}

.due-label .badge {
  text-transform: none;
  letter-spacing: normal;
  background: var(--color-danger-border);
}

.due-amount {
  margin: var(--space-1) 0 0;
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-black);
  color: var(--color-danger-text);
}

.note-panel {
  margin: 0;
  padding: var(--space-3);
  border-radius: var(--radius-control);
  background: var(--color-bg-subtle);
  font-size: var(--text-2xs);
  line-height: 1.625;
  color: var(--color-text-strong);
}

.err-code {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-black);
  color: var(--color-text-tertiary);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.footer-sub {
  margin: var(--space-2) 0 0;
  font-size: 10px;
  color: var(--color-text-tertiary);
}

/* =============================================================================
   OWNER CONTENT (Sub-project 3) — rendered by ui-components.php
     .stat-head / .stat-icon / .stat-sub  kpi() card parts (on .stat-card)
     .bars / .bar-fill / .bar-cap         vertical CSS bar chart
     .hbars / .hbar-*                     bars3() labelled horizontal bars
     .split-2-1                           2/3 + 1/3 content columns
     .alert-row / .leader-row             overview alert + leaderboard lines
   ============================================================================= */

.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.stat-head .stat-label {
  margin-bottom: 0;
}

.stat-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--color-gray-300);
}

.stat-card .stat-value {
  margin-top: var(--space-2);
}

.stat-sub {
  margin: var(--space-1) 0 0;
  font-size: var(--text-2xs);
  line-height: var(--line-height-base);
  color: var(--color-text-tertiary);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 160px;
}

.bars > * {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.bar-fill {
  width: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.bar-cap {
  margin-top: 2px;
  font-size: 10px;
  color: var(--color-text-secondary);
}

.hbars {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hbar-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hbar-label {
  width: 6rem;
  flex-shrink: 0;
  font-size: var(--text-2xs);
  color: var(--color-text-secondary);
}

.hbar-track {
  flex: 1;
  height: 0.625rem;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: var(--color-bg-muted);
}

.hbar-fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-full);
  background: var(--color-primary);
}

.hbar-success { background: var(--color-success); }

.hbar-count {
  width: 4rem;
  flex-shrink: 0;
  text-align: right;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
}

.split-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-6);
}

.alert-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-control);
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  font-size: var(--text-xs);
  line-height: var(--line-height-base);
}

.alert-row + .alert-row {
  margin-top: var(--space-2);
}

.alert-row svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.leader-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-xs);
}

.leader-row:last-child {
  border-bottom: none;
}

.leader-row > :last-child {
  color: var(--color-text-secondary);
}

/* Citation detail (Sub-project 5a): officer photos, history, action forms. */
.citation-photos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.citation-photos img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.citation-history {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-sm);
}

.citation-history li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.citation-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}

.form-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.form-stack .form-input {
  width: 100%;
}

@media (max-width: 1024px) {
  .split-2-1 {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   MARKETING (platform landing, cms/render-platform.php — mockup m-home)
   ============================================================================= */

.mk {
  background: var(--color-surface);
}

.mk-wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.mk-narrow {
  max-width: 48rem;
}

.mk-nav {
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-surface);
}

.mk-nav-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.mk-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
}

.mk-brand:hover {
  text-decoration: none;
  color: var(--color-text);
}

.mk-brand-mark {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  font-size: var(--text-xs);
}

.mk-nav-links {
  display: flex;
  gap: var(--space-5);
  margin-left: auto;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
}

.mk-hero {
  padding: var(--space-16) 0;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-surface) 100%);
}

.mk-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-10);
  align-items: center;
}

.mk-h1 {
  font-size: 2.75rem;
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mk-lead {
  font-size: var(--text-lg);
  color: var(--color-text-strong);
}

.mk-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.mk-ico {
  width: 1rem;
  height: 1rem;
}

.mk-fine {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.mk-preview .bars {
  height: 96px;
  margin-top: var(--space-3);
}

.mk-section {
  padding: var(--space-16) 0;
}

.mk-section-alt {
  background: var(--color-bg-subtle);
}

.mk-h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-black);
  text-align: center;
  margin-bottom: var(--space-8);
}

.mk-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.mk-step-n {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-control);
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-black);
}

.mk-step h3,
.mk-feat h3 {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.mk-feat-ico {
  width: 1.25rem;
  height: 1.25rem;
  margin-bottom: var(--space-3);
  color: var(--color-primary);
}

.mk-faq details {
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-border-light);
}

.mk-faq details:last-child {
  border-bottom: none;
}

.mk-faq summary {
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
}

.mk-faq details p {
  margin: var(--space-2) 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-strong);
}

.mk-page {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
  max-width: 50rem;
}

.mk-foot {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.mk-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

@media (max-width: 768px) {
  .mk-hero-grid,
  .mk-grid-3 {
    grid-template-columns: 1fr;
  }

  .mk-h1 {
    font-size: 2rem;
  }

  .mk-nav-inner {
    flex-wrap: wrap;
  }

  .mk-nav-inner .btn {
    margin-left: auto;
  }

  .mk-nav-links {
    order: 3;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: var(--space-4);
  }
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.footer {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  margin-top: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-text);
  text-decoration: none;
}

/* =============================================================================
   STATES
   ============================================================================= */

.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-6);
  color: var(--color-text-secondary);
  background: var(--color-bg-subtle);
  border-radius: var(--radius-card);
}

.empty-state-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  opacity: 0.5;
}

.empty-state-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.empty-state-description {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  color: var(--color-text-secondary);
}

/* =============================================================================
   SEVERITY INDICATORS
   ============================================================================= */

.sev-indicator {
  border-left: 4px solid;
  padding-left: var(--space-3);
}

.sev-1 { border-color: var(--color-danger); }
.sev-2 { border-color: var(--color-warning); }
.sev-3 { border-color: var(--color-info); }
.sev-4 { border-color: var(--color-gray-400); }
.sev-5 { border-color: var(--color-success); }

/* =============================================================================
   MOCKUP HELPER CLASSES (spec §6.3) — verbatim mockup vocabulary
   ============================================================================= */

.k {
  font-size: 11px;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--color-text-secondary);
}

.link {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-primary-200);
  text-underline-offset: 2px;
}

.navi {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-control);
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.navi:hover {
  background: var(--color-bg-subtle);
  color: var(--color-text);
  text-decoration: none;
}

.navi-on,
.navi-on:hover {
  background: var(--color-primary-light);
  color: var(--color-primary-active);
}

.side-h {
  padding: 1rem 0.75rem 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-tertiary);
}

.ph-h {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-4) var(--space-6);
}

.tab {
  cursor: pointer;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0.625rem;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.tab-on {
  border-bottom-color: var(--color-primary);
  color: var(--color-primary-active);
}

.sr {
  scrollbar-width: thin;
  scrollbar-color: var(--color-border-strong) transparent;
}

.sr::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.sr::-webkit-scrollbar-thumb {
  background: var(--color-border-strong);
  border-radius: 9px;
}

/* =============================================================================
   APPLICATION SHELL (spec §6.4) — owner console chrome
   ============================================================================= */

.app-shell {
  background: var(--color-background);
  color: var(--color-text);
}

.shell {
  display: flex;
  min-height: 100vh;
  background: var(--color-background);
}

.side {
  width: 14rem;
  flex-shrink: 0;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-border-light);
  padding: 0.875rem var(--space-4);
}

.side-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0 0.5rem 0.75rem;
}

.side-user {
  border-top: 1px solid var(--color-border-light);
  padding: 0.75rem;
}

.shell-main {
  min-width: 0;
  flex: 1;
}

.shell-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.625rem 1.25rem;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  color: var(--color-text-tertiary);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.shell-menu-toggle,
.shell-menu-close {
  display: none;
}

@media (max-width: 767px) {
  .side {
    display: none;
  }

  .shell-menu-toggle,
  .shell-menu-close {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
  }

  .shell-menu-close {
    align-self: flex-end;
    margin: var(--space-2) var(--space-2) 0;
  }

  /* Mobile nav overlay: .shell-menu-toggle links to #shell-side (see layoutAppShellClose). */
  .side:target {
    display: flex;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
  }
}

/* Lot demand heatmap: weekday rows x hour columns; each cell's opacity is
   its inline background (data-driven). */
.heatmap {
  border-collapse: separate;
  border-spacing: 2px;
  font-size: 11px;
}

.heatmap th {
  font-weight: var(--font-weight-normal);
}

.heatmap tbody th {
  text-align: left;
  padding-right: 4px;
}

.heatmap td {
  width: 14px;
  height: 14px;
  border-radius: 2px;
}

.detail-title {
  font-size: var(--text-xl);
}

/* Mockup shell() details: brand tile + stacked name/subtitle, avatar user
   card, bordered search pill. */
.brand-tile {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-black);
}

.brand-text {
  min-width: 0;
  font-size: 12.5px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
}

.brand-text small,
.side-user-text small {
  display: block;
  font-size: 10px;
  font-weight: var(--font-weight-normal);
  color: var(--color-text-tertiary);
}

.side-user {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.side-user-text {
  flex: 1;
  min-width: 0;
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-700);
}

.avatar {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: var(--color-gray-200);
  color: var(--color-text-secondary);
  font-size: var(--text-2xs);
  font-weight: var(--font-weight-semibold);
}

.avatar-sm {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 10px;
}

.topbar-actions {
  color: var(--color-text-tertiary);
}

.search-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.375rem 0.625rem;
  font-size: 11px;
}

@media (max-width: 639px) {
  .search-pill {
    display: none;
  }
}

/* Page header inside the shell renders as the mockup's ph-h(): a full-bleed
   white bar under the topbar, title block left, actions right. The content
   area fills the shell like the mockup's flex-1 column. */
.app-shell .page-container {
  max-width: none;
}

.app-shell .page-container > .page-header:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: calc(-1 * var(--space-8)) calc(-1 * var(--space-6)) var(--space-6);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: var(--space-4) var(--space-6);
}

.app-shell .page-container > .page-header:first-child .page-title {
  margin-bottom: 0;
}

/* Headers whose title and description are direct children (no wrapping
   title block) stack them instead of splitting them across the bar. */
.app-shell .page-container > .page-header:first-child:has(> .page-title) {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
}

/* kpi() value row: big value with an optional period-delta badge. */
.stat-row {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.stat-card .stat-row .stat-value {
  margin-top: 0;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
  .nav-top {
    gap: var(--space-4);
    padding: var(--space-3) var(--space-4);
  }
}

@media (max-width: 768px) {
  :root {
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
  }
  
  .nav-top {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    width: 100%;
  }
  
  .page-container {
    padding: var(--space-6) var(--space-4);
  }

  .app-shell .page-container > .page-header:first-child {
    margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-4)) var(--space-4);
    padding: var(--space-4);
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .table-container {
    border-radius: 0;
    margin: 0 calc(-1 * var(--space-4));
  }
}

/* =============================================================================
   ACCESSIBILITY
   ============================================================================= */

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  padding: var(--space-3) var(--space-5);
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for all interactive elements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Respect reduced-motion preferences (transitions are cosmetic only) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* Onboarding checklist (Sub-project 5m) */
.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.progress { height: 8px; border-radius: 999px; background: var(--color-border); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--color-primary); border-radius: inherit; }
.onboarding-step { display: flex; align-items: center; gap: var(--space-3); list-style: none; }
.onboarding-mark { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 999px; background: var(--color-bg-muted); color: var(--color-text-secondary); font-weight: 700; font-size: var(--text-sm); }
.onboarding-step.is-done .onboarding-mark { background: var(--color-success-bg); color: var(--color-success); }
.onboarding-copy { flex: 1; min-width: 0; }
.onboarding-copy p { margin: 2px 0 0; }
/* Partners (sub-project 7) */
.partner-code { font-family: var(--font-mono, ui-monospace, monospace); font-size: var(--text-lg); letter-spacing: 0.08em; }
.form-input-inline { display: inline-block; width: 6rem; margin: 0 var(--space-2); }
/* Wizard (mockup m-onboard): a step rail beside the current step's card. */
.onboarding-wizard { display: grid; gap: var(--space-6); }
.onboarding-rail ol { display: flex; flex-direction: column; gap: var(--space-1); margin: 0; padding: 0; list-style: none; }
.onboarding-rail-step { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-lg); color: var(--color-text-secondary); font-size: var(--text-sm); font-weight: 600; text-decoration: none; }
.onboarding-rail-step:hover { background: var(--color-bg-muted); }
.onboarding-rail-step.is-done .onboarding-mark { background: var(--color-success-bg); color: var(--color-success); }
.onboarding-rail-step.is-current { background: var(--color-info-bg); color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); }
.onboarding-rail-step.is-current .onboarding-mark { background: var(--color-primary); color: #fff; }
.onboarding-rail-note { margin-top: var(--space-4); }
.onboarding-step-title { margin: var(--space-3) 0 var(--space-2); font-size: var(--text-2xl, 1.5rem); font-weight: 800; letter-spacing: -0.01em; }
@media (min-width: 1024px) {
  .onboarding-wizard { grid-template-columns: 250px 1fr; align-items: start; }
}

/* =============================================================================
   AUTH SPLIT (mockups o-login, m-signup): the form on the left, a product panel
   on the right from 1024px; one column below that.
   ============================================================================= */

.auth-split {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
  background: var(--color-surface);
}

.auth-split-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-4);
}

.auth-split-inner {
  width: 100%;
  max-width: 440px;
}

.auth-split-inner-wide {
  max-width: 560px;
}

.auth-split-aside {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-6);
  padding: var(--space-12) var(--space-10);
  background: var(--color-gray-900);
  color: var(--color-gray-100);
}

.auth-split-aside h2 {
  color: var(--color-text-on-primary);
  font-size: var(--text-2xl);
  margin: 0;
}

.auth-aside-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
}

.auth-aside-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.auth-aside-list svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--color-primary-200);
}

@media (min-width: 1024px) {
  .auth-split {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .auth-split-aside {
    display: flex;
  }
}

/* Signup: plan cards (radio), the web-address field and its live check. */
fieldset.form-group { border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.plan-choices {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-choice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  cursor: pointer;
}

.plan-choice:has(input:checked) {
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
}

.plan-choice input {
  margin-top: 0.2rem;
}

.plan-choice-price {
  font-weight: var(--font-weight-bold);
}

.slug-field {
  display: flex;
  align-items: stretch;
}

.slug-field .form-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.slug-suffix {
  display: flex;
  align-items: center;
  padding: 0 var(--space-3);
  border: 1px solid var(--color-border);
  border-left: 0;
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  background: var(--color-background);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.slug-status {
  min-height: 1.25rem;
  font-size: var(--text-xs);
}

.slug-status[data-status="available"] {
  color: var(--color-success-text);
}

.slug-status[data-status="taken"],
.slug-status[data-status="held"],
.slug-status[data-status="invalid"] {
  color: var(--color-danger-text);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =============================================================================
   OWNER / PLATFORM CONSOLE CONTENT — mockup card() density
   Inside the app shell, cards read like the mockup's `card p-4`: a bold
   text-sm title with no divider, 1rem body padding, tables inset in a
   bordered box, and 1.25rem between stacked blocks.
   ============================================================================= */
.app-shell .card-header {
  border-bottom: 0;
  padding: var(--space-4) var(--space-4) 0;
  font-size: var(--text-sm);
}

.app-shell .card-body {
  padding: var(--space-3) var(--space-4) var(--space-4);
}

.app-shell .card > .table-container {
  width: auto;
  margin: var(--space-3) var(--space-4) var(--space-4);
}

.app-shell .card > .table-container:first-child {
  margin: 0;
  border: 0;
}

.app-shell .page-container .mb-8 {
  margin-bottom: 1.25rem;
}

/* Lot demand heatmap at mockup scale: cells fill the card width. */
.app-shell .heatmap {
  width: 100%;
  table-layout: fixed;
  border-spacing: 3px;
}

.app-shell .heatmap thead th:first-child {
  width: 2.25rem;
}

.app-shell .heatmap td {
  width: auto;
  height: 1.375rem;
  border-radius: 4px;
}

.app-shell .lot-head .detail-title {
  margin-bottom: 0;
}
/* Console card titles: the mockup's text-sm bold card heading, whatever
   heading tag or legacy inline size a page used. */
.app-shell .card h2{font-size:var(--text-sm) !important;font-weight:700;line-height:1.4;margin-bottom:var(--space-2)}

/* =============================================================================
   CONSOLE CONTRAST (owner + platform shells, 2026-10-30 design review)
   Every surface used to sit within 1.05-1.1:1 of white, so cards, rows and
   tables ran together. Scoped to .app-shell so public pages are unchanged.
   Deviations from the mockup: banded table headers, zebra rows, indigo row
   hover, card-title dividers, KPI icon chips, active-nav bar, dark platform
   sidebar. Pill + semibold badges restore mockup parity.
   ============================================================================= */
.app-shell {
  --color-background: var(--color-gray-100);       /* was slate-50 (1.05:1 vs white) */
  --shadow-card: var(--shadow-card-console);
  --color-text-tertiary: var(--color-gray-500);    /* was slate-400, 2.56:1 fails AA */
}

/* Tables: header band, visible dividers, zebra rows, indigo hover. */
.app-shell .table thead {
  background: var(--color-gray-100);
}

.app-shell .table th {
  color: var(--color-gray-600);
  border-bottom: 1px solid var(--color-border);
}

.app-shell .table td {
  border-top-color: var(--color-border);
  font-variant-numeric: tabular-nums;
}

.app-shell .table td:first-child {
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.app-shell .table tbody tr:nth-child(even) {
  background: var(--color-gray-50);
}

.app-shell .table tbody tr:hover,
.app-shell .table tbody tr:nth-child(even):hover {
  background: var(--color-primary-light);
}

/* Badges: mockup pill + semibold, plus a tone border and a status dot. */
.app-shell .badge {
  gap: 0.375rem;
  padding: var(--space-1) var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
}

.app-shell .badge::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: var(--radius-full);
  background: currentColor;
  opacity: 0.85;
}

.app-shell .badge-success { border-color: var(--color-success-border); }
.app-shell .badge-warning { border-color: var(--color-warning-border); }
.app-shell .badge-danger { border-color: var(--color-danger-border); }
.app-shell .badge-info,
.app-shell .badge-primary { border-color: var(--color-info-border); }
.app-shell .badge-default { border-color: var(--color-border-strong); }

/* Cards: a divider under the title separates it from the body or table. */
.app-shell .card-header {
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-3) var(--space-4);
}

.app-shell .card > .card-header + .card-body {
  padding-top: var(--space-4);
}

.app-shell .card > .table-container {
  margin-top: var(--space-4);
}

/* KPI tiles: icon in an indigo chip, tabular figures. */
.app-shell .stat-icon {
  box-sizing: content-box;
  padding: 0.4rem;
  border-radius: var(--radius-lg);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.app-shell .stat-value {
  font-variant-numeric: tabular-nums;
}

/* Page header bar gets a firmer edge against the grey canvas. */
.app-shell .page-container > .page-header:first-child {
  border-bottom-color: var(--color-border-strong);
}

/* Sidebar: active item carries an indigo bar; group labels pass AA. */
.app-shell .navi-on,
.app-shell .navi-on:hover {
  box-shadow: inset 3px 0 0 var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.app-shell .side-h {
  color: var(--color-gray-500);
}

/* Footer sits on the canvas; its links use slate-600 (slate-500 is 4.34:1 on slate-100). */
.app-shell .footer {
  background: transparent;
}

.app-shell .footer-link {
  color: var(--color-text-strong);
}

/* Console sidebars (2026-10-31): the owner console is dark slate; the
   platform console is soft blue, so admins always know which one they are in. */
.app-shell .side {
  background: var(--color-gray-900);
  border-right-color: var(--color-gray-800);
}

.app-shell .side .side-brand,
.app-shell .side .side-user {
  border-color: var(--color-gray-800);
}

.app-shell .side .brand-text,
.app-shell .side .side-user-text {
  color: var(--color-text-on-primary);
}

.app-shell .side .brand-text small,
.app-shell .side .side-user-text small,
.app-shell .side .side-h {
  color: var(--color-gray-400);
}

.app-shell .side .navi,
.app-shell .side .side-user .btn {
  color: var(--color-gray-300);
}

.app-shell .side .navi:hover,
.app-shell .side .side-user .btn:hover {
  background: var(--color-gray-800);
  color: var(--color-text-on-primary);
}

.app-shell .side .navi-on,
.app-shell .side .navi-on:hover {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  box-shadow: none;
}

.app-shell--platform .side {
  background: var(--color-sidebar-blue);
  border-right-color: var(--color-sidebar-blue-border);
}

.app-shell--platform .side .side-brand,
.app-shell--platform .side .side-user {
  border-color: var(--color-sidebar-blue-border);
}

.app-shell--platform .side .brand-text,
.app-shell--platform .side .side-user-text {
  color: var(--color-sidebar-blue-strong);
}

.app-shell--platform .side .brand-text small,
.app-shell--platform .side .side-user-text small,
.app-shell--platform .side .side-h {
  color: var(--color-sidebar-blue-muted);
}

.app-shell--platform .side .navi,
.app-shell--platform .side .side-user .btn {
  color: var(--color-sidebar-blue-text);
}

.app-shell--platform .side .navi:hover,
.app-shell--platform .side .side-user .btn:hover {
  background: var(--color-sidebar-blue-border);
  color: var(--color-sidebar-blue-strong);
}

.app-shell--platform .side .navi-on,
.app-shell--platform .side .navi-on:hover {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
}
