:root {
    color-scheme: light;
    --tsh-bg: #f2f5f9;
    --tsh-surface: #ffffff;
    --tsh-surface-soft: #f8fafc;
    --tsh-surface-3: #f1f5f9;
    --tsh-border: #dde4ee;
    --tsh-border-strong: #c8d3e0;
    --tsh-text: #0f172a;
    --tsh-muted: #64748b;
    --tsh-muted-2: #94a3b8;
    --tsh-primary: #1a4bae;
    --tsh-primary-2: #133b8a;
    --tsh-primary-soft: rgba(26, 75, 174, 0.10);
    --tsh-primary-ring: rgba(26, 75, 174, 0.20);
    --tsh-success: #15803d;
    --tsh-warning: #b45309;
    --tsh-danger: #b91c1c;
    --tsh-shadow: 0 3px 10px rgba(15,23,42,.07), 0 1px 3px rgba(15,23,42,.04);
    --tsh-shadow-lg: 0 12px 32px rgba(15,23,42,.12), 0 3px 8px rgba(15,23,42,.05);
    --tsh-radius-sm: 5px;
    --tsh-radius-md: 8px;
    --tsh-radius-lg: 12px;
    --tsh-control-h: 30px;
    --tsh-compact-control-h: 30px;
    --tsh-floating-z: 1200;
    --tsh-sidebar-width: 248px;
    --tsh-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --tsh-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    --tsh-sidebar-bg: #0d1629;
    --tsh-sidebar-bg-2: #111e34;
    --tsh-sidebar-text: #d4dcec;
    --tsh-sidebar-muted: #7d8fa6;
}

/* AutoHub compatibility aliases used by copied corporate components. */
:root {
    --ah-bg: var(--tsh-bg);
    --ah-surface: var(--tsh-surface);
    --ah-surface-2: var(--tsh-surface-soft);
    --ah-surface-3: var(--tsh-surface-3);
    --ah-border: var(--tsh-border);
    --ah-border-2: var(--tsh-border-strong);
    --ah-text: var(--tsh-text);
    --ah-muted: var(--tsh-muted);
    --ah-muted-2: var(--tsh-muted-2);
    --ah-blue: var(--tsh-primary);
    --ah-blue-2: var(--tsh-primary-2);
    --ah-blue-weak: var(--tsh-primary-soft);
    --ah-blue-ring: var(--tsh-primary-ring);
    --ah-green: var(--tsh-success);
    --ah-red: var(--tsh-danger);
    --ah-amber: var(--tsh-warning);
    --ah-sidebar: var(--tsh-sidebar-bg);
    --ah-sidebar-2: var(--tsh-sidebar-bg-2);
    --ah-sidebar-text: var(--tsh-sidebar-text);
    --ah-sidebar-muted: var(--tsh-sidebar-muted);
    --ah-radius: var(--tsh-radius-sm);
    --ah-radius-lg: var(--tsh-radius-md);
    --ah-shadow: var(--tsh-shadow);
    --ah-shadow-lg: var(--tsh-shadow-lg);
    --ah-control-h: var(--tsh-control-h);
    --ah-font: var(--tsh-font);
    --ah-mono: var(--tsh-mono);
    --ah-ease: cubic-bezier(.16,1,.3,1);
    --ah-dur: 160ms;
    --ah-dur-fast: 100ms;
}

/* Iteration 7 Hotfix 1 — utility aliases consumed by AutoHub-grade pages. */
:root {
    --surface-1: var(--ah-surface);
    --surface-2: var(--ah-surface-2);
    --surface-3: var(--ah-surface-3);
    --line-1: var(--ah-border);
    --line-2: var(--ah-border-2);
    --text-1: var(--ah-text);
    --text-2: var(--ah-muted);
    --text-3: var(--ah-muted-2);
    --brand: var(--ah-blue);
    --brand-deep: var(--ah-blue-2);
    --brand-weak: var(--ah-blue-weak);
    --brand-line: var(--ah-blue-ring);
    --ok: var(--ah-green);
    --warn: var(--ah-amber);
    --danger: var(--ah-red);
    --r-xs: 3px;
    --r-sm: var(--ah-radius);
    --r-md: var(--ah-radius-lg);
    --r-lg: 10px;
    --shadow-xs: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
    --shadow-sm: var(--ah-shadow);
    --shadow-md: 0 8px 22px rgba(15,23,42,.09), 0 2px 6px rgba(15,23,42,.04);
    --shadow-lg: var(--ah-shadow-lg);
}
