:root {
    --app-bg: #f8fafc;
    --app-surface: #ffffff;
    --app-surface-muted: #f1f5f9;
    --app-text: #0f172a;
    --app-text-muted: #526174;
    --app-border: #dce4ed;
    --app-placeholder: #526174;
    --app-sidebar-bg: #172033;
    --app-primary: #334155;
    --app-primary-strong: #1e293b;
    --app-accent: #047857;
    --app-accent-strong: #065f46;
    --app-info: #2563eb;
    --app-warning: #a16207;
    --app-danger: #dc2626;
    --app-focus: #2563eb;
    --app-radius-sm: 8px;
    --app-radius: 12px;
    --app-radius-lg: 16px;
    --app-shadow: 0 8px 24px rgba(15, 23, 42, .07);
    --app-content-width: 1440px;
    --app-sidebar-width: 260px;
    --app-topbar-height: 72px;
    --app-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { color-scheme: light; }

body { font-family: var(--app-font); }

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

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--app-focus) 38%, transparent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
}

/* Keep accessible table headings inside their horizontal scroll container. */
.table-responsive, .showroom-table-wrap { position: relative; }
