/* BMW Australia-inspired visual direction; independent SentriIQ branding.
   Scoped presentation only: never alter visibility of functional controls. */
html:root {
  color-scheme: light;
  --background: 0 0% 97%; --foreground: 0 0% 15%;
  --card: 0 0% 100%; --card-foreground: 0 0% 15%; --card-border: 0 0% 84%;
  --popover: 0 0% 100%; --popover-foreground: 0 0% 15%; --popover-border: 0 0% 78%;
  --primary: 215 77% 43%; --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 93%; --secondary-foreground: 0 0% 15%;
  --muted: 0 0% 94%; --muted-foreground: 0 0% 36%;
  --accent: 215 80% 95%; --accent-foreground: 215 77% 34%;
  --border: 0 0% 82%; --input: 0 0% 73%; --ring: 215 77% 43%;
  --destructive: 0 75% 40%; --destructive-foreground: 0 0% 100%;
  --sidebar: 0 0% 100%; --sidebar-foreground: 0 0% 18%;
  --sidebar-border: 0 0% 84%; --sidebar-primary: 215 77% 43%;
  --sidebar-primary-foreground: 0 0% 100%; --sidebar-accent: 0 0% 94%;
  --sidebar-accent-foreground: 0 0% 15%; --sidebar-ring: 215 77% 43%;
  --radius: .25rem; --led: 215 77% 43%;
  --font-sans: Arial, Helvetica, ui-sans-serif, sans-serif;
  --font-heading: Arial, Helvetica, ui-sans-serif, sans-serif;
  --elevate-1: rgb(0 0 0 / .03); --elevate-2: rgb(0 0 0 / .06);
  --button-outline: rgb(0 0 0 / .15); --badge-outline: rgb(0 0 0 / .15);
}
html:root body {
  font-family: Arial, Helvetica, sans-serif; line-height: 1.5;
  background: hsl(var(--background)); color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
}
html:root :is(h1,h2,h3,h4,h5,h6) {
  font-family: Arial, Helvetica, sans-serif; text-shadow: none;
  letter-spacing: -.02em; line-height: 1.25; text-wrap: balance;
}
html:root h1 { font-weight: 400; }
html:root :is(p,label,th,td,button,input,select,textarea) {
  line-height: 1.5;
}
html:root :is(button,input,select,textarea) { font-family: inherit; }
html:root :is(pre,code,kbd,.font-mono) { font-family: Consolas, ui-monospace, monospace; }
html:root :is(button,a,input,select,textarea):focus-visible {
  outline: 2px solid #1655ad; outline-offset: 3px;
}
html:root .app-topbar {
  min-height: 72px; height: auto !important; padding-block: 12px;
  padding-inline: clamp(16px,2.4vw,32px); background: #fff !important;
}
html:root .app-content { padding: clamp(16px,2.4vw,32px); }
html:root .page-banner {
  background: #fff !important; border: 0 !important; border-bottom: 1px solid #ccc !important;
  border-radius: 0; margin-bottom: 28px; box-shadow: none;
}
/* These are decorative illustration/gradient layers, not actions or status. */
html:root .page-banner > :is(.hidden,.absolute) { display: none; }
html:root .page-banner > .relative { padding: 28px 0; align-items: flex-start; }
html:root .page-banner h1 { font-size: clamp(24px,2.5vw,36px); font-weight: 400; }
html:root .page-banner p { display: block; font-size: 14px !important; max-width: 72ch; margin-top: 10px; }
html:root .page-banner span[style] { color: #4d4d4d !important; }
html:root nav :is(a,button) { text-align: start; line-height: 1.4; }
html:root nav a { border-radius: 2px; }
html:root footer > div {
  padding: 16px clamp(16px,2.4vw,32px); gap: 12px; flex-wrap: wrap;
  color: #525252; font-size: 12px; line-height: 1.5;
}
html:root table { font-size: 13px; font-variant-numeric: tabular-nums; }
html:root th { font-weight: 600; letter-spacing: .02em; }
html:root table :is(th,td) { font-size: 13px; }
html:root table :is(th,td) .font-mono,
html:root main :is(button,input,select,label) {
  font-family: Arial, Helvetica, sans-serif; font-size: 13px;
}
html:root main p { line-height: 1.6; }
html:root :is(th,td) { vertical-align: top; }
/* Preserve semantic status distinctions, but use accessible shades on white. */
html:root [class*="text-amber-"] { color: #805400; }
html:root [class*="text-emerald-"] { color: #15743c; }
html:root [class*="text-red-"] { color: #b42318; }
html:root [class*="text-sky-"] { color: #1555a0; }
html:root [class*="text-violet-"] { color: #6941a5; }
html:root [class*="text-sidebar-foreground/"] { color: #525252; }
@media (max-width: 640px) {
  html:root .page-banner > .relative { padding-block: 18px; }
  html:root .app-topbar { min-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  html:root *, html:root *::before,
  html:root *::after { animation: none !important; scroll-behavior: auto !important; }
}

/* Existing production shell and independently rendered RDS workspace. */
html:root { --blue:#1c69d4; --blue-dark:#1655ad; --line:#d2d2d2; --muted:#525252; }
html:root body { background:#f7f7f7!important; color:#262626!important; }
html:root .app-nav { background:#fff; border-color:#d2d2d2; box-shadow:none; }
html:root .command-bar { background:#fff; color:#262626; border-bottom:1px solid #ccc; box-shadow:none; }
html:root .breadcrumb { color:#525252; }
html:root .quick-filter { background:#f4f4f4; border-color:#ccc; box-shadow:none; }
html:root :is(.page-intro,.panel,.card-premium) { background:#fff; color:#262626; border-color:#d2d2d2; box-shadow:none; border-radius:3px; }
html:root .page-intro h2 { color:#262626; font-weight:400; }
html:root .nav-item.active { background:#1c69d4; color:white; box-shadow:none; }
html:root .nav-item { border-radius:2px; }
html:root :is(.command-bar,.page-intro) p { line-height:1.5; }
html:root .page-header-title { text-shadow:none; }
html:root [class*="page-backdrop"] { background:none; }
