/* ==========================================================================
   INTELLISHIFT · LUMINA — LIGHT EDITION
   Liquid-glass design system on IntelliShift's brand DNA.
   Light-first. Aurora-tinted white. Pill controls. Refractive surfaces.
   ========================================================================== */

:root {
  /* ---- BRAND (from IntelliShift) ---- */
  --lu-navy:   #00284c;
  --lu-blue:   #0086ff;
  --lu-teal:   #00b894;
  --lu-orange: #f95e10;
  --lu-violet: #6b46ff;
  --lu-pink:   #ff58a8;

  --lu-blue-300: #66b6ff;
  --lu-blue-500: #0086ff;
  --lu-blue-600: #006fd6;
  --lu-blue-700: #005bb8;
  --lu-teal-300: #4dd4b4;
  --lu-teal-500: #00b894;
  --lu-teal-700: #008a6e;

  /* ---- LIGHT AURORA BACKGROUND ----
     Bright, slightly cool base; teal/blue/violet blobs at low opacity. */
  --lu-bg-base:  #f4f8fd;
  --lu-bg-deep:  #eaf1f9;
  --lu-bg-rise:  #ffffff;
  --lu-bg-canvas:#fafcff;

  /* ---- FOREGROUND ---- */
  --lu-fg:       #0c1830;             /* near-navy black */
  --lu-fg-2:     #2b3a55;
  --lu-fg-3:     #5b6a83;
  --lu-fg-4:     #8696ad;
  --lu-fg-5:     #b2bdcd;

  /* ---- GLASS MATERIALS — light tints, heavy blur + saturation ---- */
  --lu-mat-ultrathin-bg: rgba(255, 255, 255, 0.44);
  --lu-mat-thin-bg:      rgba(255, 255, 255, 0.55);
  --lu-mat-regular-bg:   rgba(255, 255, 255, 0.65);
  --lu-mat-thick-bg:     rgba(255, 255, 255, 0.78);
  --lu-mat-chrome-bg:    rgba(255, 255, 255, 0.84);

  --lu-mat-blur-thin:    20px;
  --lu-mat-blur-reg:     28px;
  --lu-mat-blur-thick:   36px;
  --lu-mat-blur-chrome:  44px;

  --lu-mat-sat:          180%;

  /* ---- EDGES ----
     Two effective borders per surface: a soft outer + an inset top-light.
     The inset gives that wet-glass meniscus feel. */
  --lu-edge:        rgba(13, 30, 60, 0.08);
  --lu-edge-strong: rgba(13, 30, 60, 0.14);
  --lu-edge-soft:   rgba(13, 30, 60, 0.05);
  --lu-edge-blue:   rgba(0, 134, 255, 0.55);
  --lu-edge-teal:   rgba(0, 184, 148, 0.55);

  /* Top inner highlight that gives glass its "specular" lift on light bg */
  --lu-inner-light:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4); /* @kind shadow */

  /* ---- SHADOWS (navy-tinted, soft) ---- */
  --lu-shadow-soft:   0 1px 0 rgba(13, 30, 60, 0.02), 0 6px 18px rgba(13, 30, 60, 0.06);
  --lu-shadow-rise:   0 1px 0 rgba(13, 30, 60, 0.02), 0 12px 36px rgba(13, 30, 60, 0.10);
  --lu-shadow-pop:    0 1px 0 rgba(13, 30, 60, 0.02), 0 24px 60px rgba(13, 30, 60, 0.16);

  --lu-glow-blue:     0 8px 28px rgba(0, 134, 255, 0.30);
  --lu-glow-teal:     0 8px 28px rgba(0, 184, 148, 0.30);

  /* ---- RADII ---- */
  --lu-r-xs:   6px;
  --lu-r-sm:   10px;
  --lu-r-md:   14px;
  --lu-r-lg:   20px;
  --lu-r-xl:   28px;
  --lu-r-2xl:  36px;
  --lu-r-pill: 999px;

  /* ---- SPACE ---- */
  --lu-s-1: 4px;  --lu-s-2: 8px;  --lu-s-3: 12px; --lu-s-4: 16px;
  --lu-s-5: 20px; --lu-s-6: 24px; --lu-s-7: 32px; --lu-s-8: 40px;
  --lu-s-9: 56px; --lu-s-10: 72px;

  /* ---- MOTION ---- */
  --lu-ease:   cubic-bezier(0.2, 0, 0, 1); /* @kind other */
  --lu-ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --lu-dur:    220ms; /* @kind other */
  --lu-dur-fast: 120ms; /* @kind other */

  /* ---- TYPE ----
     Pairing: Geist (UI, clean modern grotesque) + Bricolage Grotesque (display, variable width).
     Both sans. The display face uses a wider 'wdth' axis at large sizes to feel architectural
     and elegant without ever switching to a serif. Geist Mono for VINs / IDs / tabular numbers. */
  --lu-sans:    'Geist', 'Inter', system-ui, -apple-system, sans-serif; /* @kind font */
  --lu-display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif; /* @kind font */
  --lu-mono:    'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace; /* @kind font */

  /* ---- BRAND GRADIENTS ---- */
  --lu-grad-brand:    linear-gradient(135deg, #0086ff 0%, #00e0b5 100%); /* @kind color */
  --lu-grad-aurora:   linear-gradient(135deg, #00e0b5 0%, #0086ff 100%); /* @kind color */
  --lu-grad-violet:   linear-gradient(135deg, #6b46ff 0%, #ff58a8 100%); /* @kind color */
  --lu-grad-ember:    linear-gradient(135deg, #f95e10 0%, #ff58a8 100%); /* @kind color */

  /* Semantic */
  --lu-success: #00b894;
  --lu-warning: #f0a300;
  --lu-danger:  #e8364f;
  --lu-info:    #0086ff;
}

/* ==========================================================================
   GLOBAL — body + aurora background
   ========================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--lu-sans);
  font-weight: 450;
  font-size: 14px;
  color: var(--lu-fg);
  background: var(--lu-bg-base);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01' on, 'ss03' on, 'cv11' on;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* ============================================================
   BACKGROUND — interchangeable variants on .lu-aurora
   Add a class to switch: lu-bg-graphite (default), lu-bg-tinted,
   lu-bg-calm, lu-bg-paper, lu-bg-mesh, lu-bg-aurora (opt-in).
   Graphite is the chosen default for IntelliShift Unity.
   All variants run on the same .lu-aurora wrapper.
   ============================================================ */
.lu-aurora {
  position: fixed; inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #f6fafd 0%, #eef3f9 100%);
}

/* ---- GRAPHITE (default): cool, quiet diagonal. ---- */
.lu-aurora.lu-bg-graphite,
.lu-aurora:not([class*="lu-bg-"]) {
  background: linear-gradient(135deg, #eef2f7 0%, #f5f7fb 45%, #e7ecf3 100%);
}

/* ---- TINTED: the design's "calm" colour splash, for warmer screens. ---- */
.lu-aurora.lu-bg-tinted {
  background:
    radial-gradient(1200px 800px at 94% -6%, rgba(0, 134, 255, 0.13) 0%, transparent 64%),
    radial-gradient(700px 560px at 102% 54%, rgb(234 69 31 / 14%) 0%, transparent 62%),
    radial-gradient(1100px 740px at 70% 106%, rgba(0, 184, 148, 0.34) 0%, transparent 66%),
    radial-gradient(900px 660px at 4% 104%, rgb(0 142 255 / 18%) 0%, transparent 62%),
    linear-gradient(135deg, #eef2f7 0%, #f5f7fb 45%, #e7ecf3 100%);
}

/* ---- CALM: two whisper-soft brand tints, no animation ----
   ~70% less color than the original. Reads almost flat at a glance,
   but adds the faintest tint behind glass so refraction still works. */
.lu-aurora.lu-bg-calm {
  background:
    radial-gradient(900px 600px at 12% 12%, rgba(0, 184, 148, 0.08) 0%, transparent 60%),
    radial-gradient(820px 540px at 90% 6%,  rgba(0, 134, 255, 0.09) 0%, transparent 60%),
    linear-gradient(180deg, #f7fafd 0%, #eef3f9 100%);
}

/* ---- MESH: gradient mesh, soft, no blobs ----
   Conic + multi-stop linear, very low chroma. Sophisticated and quiet. */
.lu-aurora.lu-bg-mesh {
  background:
    conic-gradient(from 220deg at 80% 20%, rgba(0,184,148,0.10), rgba(0,134,255,0.10) 25%, rgba(107,70,255,0.08) 50%, transparent 70%),
    linear-gradient(160deg, #f9fbfd 0%, #eef3f9 55%, #e7eef6 100%);
}

/* ---- PAPER: near-flat warm white with a single cool blue accent ----
   The most restrained option — almost printed feel. Best for dense data. */
.lu-aurora.lu-bg-paper {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(0, 134, 255, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #f3f5f9 100%);
}

/* ---- AURORA: original, fully animated, vivid (opt-in) ---- */
.lu-aurora.lu-bg-aurora {
  background:
    radial-gradient(900px 600px at 12% 18%, rgba(0, 184, 148, 0.30) 0%, transparent 60%),
    radial-gradient(820px 540px at 88% 8%,  rgba(0, 134, 255, 0.28) 0%, transparent 55%),
    radial-gradient(700px 520px at 78% 78%, rgba(107, 70, 255, 0.22) 0%, transparent 60%),
    radial-gradient(540px 420px at 18% 92%, rgba(255, 88, 168, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #f6fbff 0%, #eaf1f9 100%);
}
.lu-aurora.lu-bg-aurora::before,
.lu-aurora.lu-bg-aurora::after {
  content: ""; position: absolute;
  width: 720px; height: 720px;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.lu-aurora.lu-bg-aurora::before {
  background: radial-gradient(circle, rgba(0, 184, 148, 0.45) 0%, transparent 60%);
  top: -200px; left: -100px;
  animation: lu-drift-a 28s ease-in-out infinite alternate;
}
.lu-aurora.lu-bg-aurora::after {
  background: radial-gradient(circle, rgba(0, 134, 255, 0.38) 0%, transparent 60%);
  bottom: -200px; right: -120px;
  animation: lu-drift-b 32s ease-in-out infinite alternate;
}
@keyframes lu-drift-a { to { transform: translate(180px, 120px); } }
@keyframes lu-drift-b { to { transform: translate(-220px, -100px); } }

/* ============================================================
   DIAGONAL GRADIENTS — directional, soft, no animation
   Each is a 135° linear gradient between two brand-adjacent
   pastel tints, anchored to white/mist endpoints. Crisp and
   directional — works well when you want a sense of motion.
   ============================================================ */
.lu-aurora.lu-bg-ocean {
  background: linear-gradient(135deg, #e7f4ff 0%, #f4faff 45%, #eef6f3 100%);
}
.lu-aurora.lu-bg-orchid {
  background: linear-gradient(135deg, #f1ecff 0%, #f9f6ff 45%, #fcf0f7 100%);
}
.lu-aurora.lu-bg-meadow {
  background: linear-gradient(135deg, #ebf8f1 0%, #f5fbf7 45%, #eaf3fa 100%);
}
.lu-aurora.lu-bg-dawn {
  background: linear-gradient(135deg, #fff4ea 0%, #fff9f3 45%, #f8eef5 100%);
}
.lu-aurora.lu-bg-sunset {
  background: linear-gradient(135deg, #fff0e8 0%, #fff7f1 35%, #fbeef3 70%, #f3eafa 100%);
}

/* ============================================================
   SOLIDS — flat, no gradient. Use when ops data needs to feel
   neutral. Glass refraction still works because of the tinted
   light, just much more subtle than the aurora variants.
   ============================================================ */
.lu-aurora.lu-bg-white  { background: #ffffff; }
.lu-aurora.lu-bg-slate  { background: #f1f4f9; }
.lu-aurora.lu-bg-sand   { background: #f8f4ef; }
.lu-aurora.lu-bg-fog    { background: #ecf1f7; }

/* Grain — quieter by default */
.lu-aurora-grain {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.035;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Dotted grid — quieter, smaller, masks tighter */
.lu-aurora-grid {
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.10;
  background-image:
    linear-gradient(rgba(13, 30, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 30, 60, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 50% at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at center, black 0%, transparent 75%);
}
/* Hide the grid entirely on paper — keeps it printed-clean */
.lu-aurora.lu-bg-paper ~ .lu-aurora-grid { display: none; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
.lu-display-1 {
  font-family: var(--lu-display);
  font-size: clamp(72px, 9vw, 120px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--lu-fg);
  font-variation-settings: 'wdth' 115;
}
.lu-display-1 em, .lu-display-2 em { font-style: normal; font-weight: 600; }
.lu-display-2 {
  font-family: var(--lu-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--lu-fg);
  font-variation-settings: 'wdth' 110;
}
.lu-h1 {
  font-size: 40px; font-weight: 600;
  letter-spacing: -0.035em; line-height: 1.05;
  color: var(--lu-fg);
}
.lu-h2 {
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.12;
  color: var(--lu-fg);
}
.lu-h3 {
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.022em; line-height: 1.25;
  color: var(--lu-fg);
}
.lu-body {
  font-size: 14px; font-weight: 450; line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--lu-fg-2);
}
.lu-body-lg {
  font-size: 17px; font-weight: 450; line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--lu-fg-2);
}
.lu-caption {
  font-size: 12px; font-weight: 500; line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--lu-fg-3);
}
.lu-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lu-fg-3);
}
.lu-mono {
  font-family: var(--lu-mono);
  font-feature-settings: 'tnum' on, 'zero' on;
  letter-spacing: -0.01em;
}
.lu-serif { font-family: var(--lu-display); font-weight: 500; letter-spacing: -0.025em; font-variation-settings: 'wdth' 110; }

.lu-gradient-text {
  background: var(--lu-grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   GLASS — the workhorse class
   ========================================================================== */

.lu-glass {
  background: var(--lu-mat-regular-bg);
  backdrop-filter: blur(var(--lu-mat-blur-reg)) saturate(var(--lu-mat-sat));
  -webkit-backdrop-filter: blur(var(--lu-mat-blur-reg)) saturate(var(--lu-mat-sat));
  border: 1px solid var(--lu-edge);
  border-radius: var(--lu-r-lg);
  box-shadow: var(--lu-inner-light), var(--lu-shadow-soft);
  position: relative;
}
.lu-glass.lu-mat-thin {
  background: var(--lu-mat-thin-bg);
  backdrop-filter: blur(var(--lu-mat-blur-thin)) saturate(var(--lu-mat-sat));
  -webkit-backdrop-filter: blur(var(--lu-mat-blur-thin)) saturate(var(--lu-mat-sat));
}
.lu-glass.lu-mat-thick {
  background: var(--lu-mat-thick-bg);
  backdrop-filter: blur(var(--lu-mat-blur-thick)) saturate(var(--lu-mat-sat));
  -webkit-backdrop-filter: blur(var(--lu-mat-blur-thick)) saturate(var(--lu-mat-sat));
}
.lu-glass.lu-mat-chrome {
  background: var(--lu-mat-chrome-bg);
  backdrop-filter: blur(var(--lu-mat-blur-chrome)) saturate(var(--lu-mat-sat));
  -webkit-backdrop-filter: blur(var(--lu-mat-blur-chrome)) saturate(var(--lu-mat-sat));
}

/* Specular top streak (looks like a refractive edge) */
.lu-glass.lu-spec::before {
  content: "";
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,1), transparent);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.9;
}

/* Hover lift */
.lu-glass.lu-hover {
  transition:
    transform var(--lu-dur) var(--lu-ease),
    border-color var(--lu-dur) var(--lu-ease),
    background var(--lu-dur) var(--lu-ease),
    box-shadow var(--lu-dur) var(--lu-ease);
}
.lu-glass.lu-hover:hover {
  transform: translateY(-1px);
  border-color: var(--lu-edge-strong);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--lu-inner-light), var(--lu-shadow-rise);
}

/* ==========================================================================
   APP SHELL — sidebar + topbar + canvas
   ========================================================================== */

.lu-app {
  display: grid;
  grid-template-columns: 232px 1fr;
  min-height: 100vh;
  gap: 16px;
  padding: 16px;
}

.lu-rail {
  position: sticky; top: 16px;
  align-self: start;
  height: calc(100vh - 32px);
  background: var(--lu-mat-chrome-bg);
  backdrop-filter: blur(var(--lu-mat-blur-chrome)) saturate(var(--lu-mat-sat));
  -webkit-backdrop-filter: blur(var(--lu-mat-blur-chrome)) saturate(var(--lu-mat-sat));
  border: 1px solid var(--lu-edge);
  border-radius: var(--lu-r-xl);
  box-shadow: var(--lu-inner-light), var(--lu-shadow-rise);
  padding: 18px 14px 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.lu-rail-logo {
  display: flex; align-items: center; gap: 10px;
  padding: 4px 8px 18px;
}
.lu-rail-logo .lu-mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--lu-grad-aurora);
  position: relative;
  box-shadow: var(--lu-glow-teal);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px;
}
.lu-rail-logo .lu-mark i {
  display: block; width: 18px; height: 2px;
  background: rgba(255,255,255,0.96);
  border-radius: 2px;
}
.lu-rail-logo .lu-mark i:nth-child(2) { width: 14px; opacity: 0.92; }
.lu-rail-logo .lu-mark i:nth-child(3) { width: 10px; opacity: 0.78; }
.lu-rail-logo .lu-name {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--lu-fg);
}

.lu-tenant {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: var(--lu-r-md);
  background: rgba(13, 30, 60, 0.04);
  border: 1px solid var(--lu-edge-soft);
  margin-bottom: 14px;
  cursor: pointer;
  transition: background var(--lu-dur) var(--lu-ease);
}
.lu-tenant:hover { background: rgba(13, 30, 60, 0.07); }
.lu-tenant .av {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--lu-grad-aurora);
  color: #fff;
  font-weight: 600; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lu-tenant .nm {
  font-size: 13.5px; font-weight: 600;
  color: var(--lu-fg);
}
.lu-tenant .sub {
  font-size: 11px;
  color: var(--lu-fg-3);
  margin-top: 1px;
}

.lu-section-lbl {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--lu-fg-4);
  padding: 14px 12px 6px;
}

.lu-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  border-radius: var(--lu-r-md);
  font-size: 13.5px; font-weight: 600;
  color: var(--lu-fg-2);
  cursor: pointer;
  border: 0; background: transparent;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition: background var(--lu-dur-fast) var(--lu-ease), color var(--lu-dur-fast) var(--lu-ease);
  margin: 1px 0;
}
.lu-nav-item svg {
  width: 18px; height: 18px;
  color: var(--lu-fg-3);
  flex-shrink: 0;
  transition: color var(--lu-dur-fast) var(--lu-ease);
}
.lu-nav-item:hover {
  background: rgba(13, 30, 60, 0.05);
  color: var(--lu-fg);
}
.lu-nav-item:hover svg { color: var(--lu-fg); }
.lu-nav-item.active {
  background: linear-gradient(135deg, rgba(0,184,148,0.16) 0%, rgba(0,134,255,0.16) 100%);
  color: var(--lu-navy);
  box-shadow:
    inset 0 0 0 1px rgba(0,184,148,0.30),
    0 8px 22px rgba(0, 134, 255, 0.12);
}
.lu-nav-item.active svg { color: var(--lu-teal-700); }
.lu-nav-item .count {
  margin-left: auto;
  font-size: 11px; font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(13, 30, 60, 0.06);
  color: var(--lu-fg-2);
}
.lu-nav-item.active .count {
  background: rgba(0, 184, 148, 0.22);
  color: var(--lu-teal-700);
}

.lu-rail-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--lu-edge-soft);
  display: flex; align-items: center; gap: 10px;
}
.lu-rail-foot .av {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff58a8, #6b46ff);
  color: #fff; font-weight: 600; font-size: 11px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lu-rail-foot .nm  { font-size: 13px; font-weight: 600; color: var(--lu-fg); }
.lu-rail-foot .sub { font-size: 11px; color: var(--lu-fg-3); }

/* ---- canvas / topbar ---- */
.lu-canvas {
  display: flex; flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.lu-topbar {
  display: flex; align-items: center; gap: 10px;
  height: 60px;
  padding: 8px 14px 8px 8px;
  background: var(--lu-mat-thick-bg);
  backdrop-filter: blur(var(--lu-mat-blur-thick)) saturate(var(--lu-mat-sat));
  -webkit-backdrop-filter: blur(var(--lu-mat-blur-thick)) saturate(var(--lu-mat-sat));
  border: 1px solid var(--lu-edge);
  border-radius: var(--lu-r-pill);
  box-shadow: var(--lu-inner-light), var(--lu-shadow-soft);
  position: sticky; top: 16px;
  z-index: 30;
}
.lu-topbar .lu-search {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px;
  height: 44px;
  background: rgba(13, 30, 60, 0.04);
  border: 1px solid var(--lu-edge-soft);
  border-radius: var(--lu-r-pill);
  color: var(--lu-fg-2);
  font-size: 13.5px;
  transition: border-color var(--lu-dur) var(--lu-ease), background var(--lu-dur) var(--lu-ease), box-shadow var(--lu-dur) var(--lu-ease);
}
.lu-topbar .lu-search:focus-within {
  border-color: var(--lu-edge-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 134, 255, 0.12);
}
.lu-topbar .lu-search input {
  flex: 1;
  background: transparent;
  border: 0; outline: 0;
  color: var(--lu-fg);
  font: inherit;
  letter-spacing: -0.005em;
}
.lu-topbar .lu-search input::placeholder { color: var(--lu-fg-4); }
.lu-topbar .lu-search svg { color: var(--lu-fg-3); }
.lu-topbar .lu-search .kbd {
  background: rgba(13, 30, 60, 0.06);
  border: 1px solid var(--lu-edge-soft);
  font-family: var(--lu-mono);
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--lu-fg-3);
}

.lu-icon-btn {
  width: 44px; height: 44px;
  border-radius: var(--lu-r-pill);
  background: rgba(13, 30, 60, 0.04);
  border: 1px solid var(--lu-edge-soft);
  color: var(--lu-fg-2);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background var(--lu-dur) var(--lu-ease), color var(--lu-dur) var(--lu-ease), border-color var(--lu-dur) var(--lu-ease);
}
.lu-icon-btn:hover { background: rgba(13, 30, 60, 0.08); color: var(--lu-fg); border-color: var(--lu-edge); }
.lu-icon-btn .pill-dot {
  position: absolute; top: 9px; right: 11px;
  width: 8px; height: 8px;
  background: var(--lu-orange);
  border-radius: 999px;
  box-shadow: 0 0 0 2px #fff;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.lu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--lu-r-pill);
  font-family: inherit;
  font-size: 13.5px; font-weight: 500;
  color: var(--lu-fg);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: transform var(--lu-dur-fast) var(--lu-ease),
              background var(--lu-dur) var(--lu-ease),
              border-color var(--lu-dur) var(--lu-ease),
              color var(--lu-dur) var(--lu-ease),
              box-shadow var(--lu-dur) var(--lu-ease);
  white-space: nowrap;
  position: relative;
}
.lu-btn:active { transform: scale(0.97); }
.lu-btn svg { width: 15px; height: 15px; }

.lu-btn.lu-primary {
  background: var(--lu-grad-brand);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.30),
    0 8px 22px rgba(0, 134, 255, 0.35);
}
.lu-btn.lu-primary:hover { filter: brightness(1.05) saturate(1.05); }

.lu-btn.lu-secondary {
  background: rgba(255,255,255,0.65);
  border-color: var(--lu-edge);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--lu-fg);
  box-shadow: var(--lu-inner-light), var(--lu-shadow-soft);
}
.lu-btn.lu-secondary:hover {
  background: rgba(255,255,255,0.92);
  border-color: var(--lu-edge-strong);
}

.lu-btn.lu-ghost { color: var(--lu-fg-2); }
.lu-btn.lu-ghost:hover { background: rgba(13, 30, 60, 0.06); color: var(--lu-fg); }

.lu-btn.lu-danger {
  background: rgba(232, 54, 79, 0.10);
  border-color: rgba(232, 54, 79, 0.35);
  color: var(--lu-danger);
}
.lu-btn.lu-danger:hover {
  background: rgba(232, 54, 79, 0.16);
  border-color: rgba(232, 54, 79, 0.55);
}

.lu-btn.lu-sm { height: 30px; font-size: 12.5px; padding: 0 12px; }
.lu-btn.lu-lg { height: 46px; font-size: 15px; padding: 0 24px; }
.lu-btn.lu-icon { width: 38px; padding: 0; }

/* ==========================================================================
   CHIPS / PILLS / BADGES
   ========================================================================== */
.lu-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--lu-r-pill);
  font-size: 12px; font-weight: 500;
  color: var(--lu-fg-2);
  background: rgba(255, 255, 255, 0.60);
  border: 1px solid var(--lu-edge-soft);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  cursor: pointer;
  transition: background var(--lu-dur) var(--lu-ease), color var(--lu-dur) var(--lu-ease), border-color var(--lu-dur) var(--lu-ease);
  white-space: nowrap;
}
.lu-chip:hover {
  background: rgba(255,255,255,0.92);
  color: var(--lu-fg);
  border-color: var(--lu-edge);
}
.lu-chip.lu-on {
  background: rgba(0, 134, 255, 0.10);
  border-color: var(--lu-edge-blue);
  color: var(--lu-blue-700);
  box-shadow: 0 0 16px rgba(0,134,255,0.12);
}
.lu-chip .n {
  font-size: 10.5px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(13, 30, 60, 0.06);
  color: var(--lu-fg-3);
}
.lu-chip.lu-on .n { background: rgba(0,134,255,0.20); color: var(--lu-blue-700); }

/* Status — text takes the semantic color; dot is hidden by default */
.lu-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600;
  color: var(--lu-fg-2);
  letter-spacing: -0.005em;
}
.lu-status .dot { display: none; }
.lu-status.lu-ok    { color: var(--lu-teal-700); }
.lu-status.lu-warn  { color: #9c6800; }
.lu-status.lu-err   { color: var(--lu-danger); }
.lu-status.lu-info  { color: var(--lu-blue-700); }
.lu-status.lu-idle  { color: var(--lu-fg-3); }

/* Opt-in: bring the dot back when you specifically need a live ping (e.g. topbar, KPI tiles).
   Add class lu-status-dot to show the animated dot. */
.lu-status.lu-status-dot .dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 999px;
  position: relative;
}
.lu-status.lu-status-dot.lu-ok   .dot { background: var(--lu-teal); box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.18); }
.lu-status.lu-status-dot.lu-warn .dot { background: var(--lu-warning); box-shadow: 0 0 0 3px rgba(240, 163, 0, 0.18); }
.lu-status.lu-status-dot.lu-err  .dot { background: var(--lu-danger); box-shadow: 0 0 0 3px rgba(232, 54, 79, 0.18); }
.lu-status.lu-status-dot.lu-info .dot { background: var(--lu-info);   box-shadow: 0 0 0 3px rgba(0, 134, 255, 0.18); }
.lu-status.lu-status-dot.lu-idle .dot { background: var(--lu-fg-4); }
.lu-status.lu-status-dot .dot::after {
  content: ""; position: absolute; inset: -2px;
  border-radius: 999px;
  border: 1px solid currentColor;
  opacity: 0.4;
  animation: lu-ping 2.4s ease-in-out infinite;
}
.lu-status.lu-status-dot.lu-idle .dot::after { display: none; }
@keyframes lu-ping {
  0%   { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Solid mini badges */
.lu-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--lu-edge-soft);
  background: rgba(255, 255, 255, 0.6);
  color: var(--lu-fg-2);
}
.lu-badge.lu-good  { color: var(--lu-teal-700); border-color: rgba(0,184,148,0.30); background: rgba(0,184,148,0.10); }
.lu-badge.lu-warn  { color: #9c6800; border-color: rgba(240,163,0,0.30); background: rgba(240,163,0,0.12); }
.lu-badge.lu-err   { color: #b22232; border-color: rgba(232,54,79,0.30); background: rgba(232,54,79,0.10); }
.lu-badge.lu-blue  { color: var(--lu-blue-700); border-color: rgba(0,134,255,0.30); background: rgba(0,134,255,0.10); }
.lu-badge.lu-violet{ color: #4f2bcc; border-color: rgba(107,70,255,0.30); background: rgba(107,70,255,0.10); }

/* ==========================================================================
   TABS / SEGMENTED
   ========================================================================== */
.lu-segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--lu-r-pill);
  background: rgba(13, 30, 60, 0.05);
  border: 1px solid var(--lu-edge-soft);
  gap: 2px;
}
.lu-segmented button {
  background: transparent;
  border: 0;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--lu-r-pill);
  font-family: inherit;
  font-size: 12.5px; font-weight: 500;
  color: var(--lu-fg-3);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--lu-dur) var(--lu-ease), color var(--lu-dur) var(--lu-ease);
}
.lu-segmented button:hover { color: var(--lu-fg); }
.lu-segmented button.active {
  background: #fff;
  color: var(--lu-fg);
  box-shadow: var(--lu-inner-light), 0 2px 8px rgba(13, 30, 60, 0.06);
}

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.lu-input {
  display: flex; align-items: center; gap: 10px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--lu-r-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--lu-edge);
  color: var(--lu-fg);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color var(--lu-dur) var(--lu-ease), background var(--lu-dur) var(--lu-ease), box-shadow var(--lu-dur) var(--lu-ease);
  width: 100%;
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
}
.lu-input::placeholder { color: var(--lu-fg-4); }
.lu-input:focus {
  outline: 0;
  border-color: var(--lu-edge-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,134,255,0.14);
}

.lu-switch {
  width: 44px; height: 26px;
  background: rgba(13, 30, 60, 0.10);
  border: 1px solid var(--lu-edge-soft);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background var(--lu-dur) var(--lu-ease);
}
.lu-switch::before {
  content: "";
  position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(13, 30, 60, 0.20);
  transition: transform var(--lu-dur) var(--lu-ease);
}
.lu-switch.on { background: var(--lu-grad-brand); border-color: transparent; }
.lu-switch.on::before { transform: translateX(18px); }

/* ==========================================================================
   CARDS / TILES
   ========================================================================== */
.lu-card { padding: 22px; }
.lu-card h3 { margin: 0 0 6px; }

/* Stat card */
.lu-stat {
  padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.lu-stat .lu-stat-label {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--lu-fg-3);
  display: flex; align-items: center; gap: 8px;
}
.lu-stat .lu-stat-value {
  font-size: 40px; font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--lu-fg);
  font-feature-settings: 'tnum' on;
}
.lu-stat .lu-stat-value sup {
  font-size: 18px; font-weight: 400;
  color: var(--lu-fg-3);
  vertical-align: top;
  margin-left: 4px;
}
.lu-stat .lu-stat-delta {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600;
}
.lu-stat .lu-stat-delta.up   { color: var(--lu-teal-700); }
.lu-stat .lu-stat-delta.down { color: var(--lu-danger); }
.lu-stat .lu-stat-sparkline { margin-top: 6px; }

/* ==========================================================================
   TABLE
   ========================================================================== */
.lu-table-wrap {
  overflow: auto;
  border-radius: var(--lu-r-lg);
}
.lu-table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.lu-table-wrap::-webkit-scrollbar-thumb { background: rgba(13, 30, 60, 0.12); border-radius: 999px; }
.lu-table-wrap::-webkit-scrollbar-thumb:hover { background: rgba(13, 30, 60, 0.20); }

.lu-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.lu-table thead th {
  position: sticky; top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--lu-fg-3);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--lu-edge);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
  transition: color var(--lu-dur) var(--lu-ease), background var(--lu-dur) var(--lu-ease);
}
.lu-table thead th:hover { color: var(--lu-fg); background: rgba(13, 30, 60, 0.04); }
.lu-table thead th.sorted { color: var(--lu-blue-700); }
.lu-table thead th .lu-sort-arrow {
  display: inline-block; margin-left: 6px;
  transition: transform var(--lu-dur) var(--lu-ease), opacity var(--lu-dur) var(--lu-ease);
  opacity: 0.4;
}
.lu-table thead th.sorted .lu-sort-arrow { opacity: 1; }
.lu-table thead th.sorted.desc .lu-sort-arrow { transform: rotate(180deg); }

.lu-table tbody td {
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--lu-fg);
  border-bottom: 1px solid rgba(13, 30, 60, 0.05);
  vertical-align: middle;
}
.lu-table tbody tr {
  transition: background var(--lu-dur-fast) var(--lu-ease);
}
.lu-table tbody tr:hover { background: rgba(13, 30, 60, 0.04); }
.lu-table tbody tr.selected { background: rgba(0, 134, 255, 0.07); }

.lu-table .lu-mono { font-size: 12.5px; color: var(--lu-fg-2); }
.lu-table .lu-muted { color: var(--lu-fg-3); }

/* Avatar / vehicle pip */
.lu-pip {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(13, 30, 60, 0.05);
  border: 1px solid var(--lu-edge-soft);
  font-size: 11px; font-weight: 600;
  color: var(--lu-fg);
  flex-shrink: 0;
}
.lu-pip.lu-blue  { background: rgba(0,134,255,0.12); color: var(--lu-blue-700); border-color: rgba(0,134,255,0.22); }
.lu-pip.lu-teal  { background: rgba(0,184,148,0.12); color: var(--lu-teal-700); border-color: rgba(0,184,148,0.22); }
.lu-pip.lu-violet{ background: rgba(107,70,255,0.10); color: #4f2bcc; border-color: rgba(107,70,255,0.22); }
.lu-pip.lu-orange{ background: rgba(249,94,16,0.10); color: #a83b00; border-color: rgba(249,94,16,0.22); }
.lu-pip.lu-pink  { background: rgba(255,88,168,0.10); color: #b32774; border-color: rgba(255,88,168,0.22); }

/* Health bar */
.lu-health {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 90px;
}
.lu-health .bar {
  flex: 1;
  height: 6px;
  background: rgba(13, 30, 60, 0.08);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.lu-health .bar::before {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0;
  width: var(--v, 50%);
  background: var(--lu-grad-brand);
  border-radius: 999px;
}
.lu-health.lu-warn .bar::before { background: linear-gradient(90deg, var(--lu-warning), var(--lu-orange)); }
.lu-health.lu-err .bar::before  { background: linear-gradient(90deg, var(--lu-danger), #ff58a8); }
.lu-health .v {
  font-size: 12px;
  font-weight: 500;
  color: var(--lu-fg-2);
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: right;
}

/* Two-line cell */
.lu-twoline { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lu-twoline .l1 { font-weight: 500; color: var(--lu-fg); }
.lu-twoline .l2 { font-size: 11.5px; color: var(--lu-fg-3); font-weight: 400; }

.lu-cell-with-pip {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}

/* ==========================================================================
   PAGE HEADER
   ========================================================================== */
.lu-page-head {
  display: flex; align-items: flex-end; gap: 24px;
  padding: 6px 4px;
}
.lu-page-head h1 {
  margin: 4px 0 6px;
  font-family: var(--lu-display);
  font-size: 52px; font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.0;
  font-variation-settings: 'wdth' 115;

  /* Gradient text — same as the hero, applied to every page title */
  background: var(--lu-grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* Tiny tweaks for readability inside transparent text */
  -webkit-text-fill-color: transparent;
}
.lu-page-head .sub { font-size: 13px; color: var(--lu-fg-3); }
.lu-page-head .actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
}

/* ==========================================================================
   CHART HELPERS — Inline SVG styles
   ========================================================================== */
.lu-axis-text { fill: var(--lu-fg-4); font-size: 11px; font-family: var(--lu-sans); font-weight: 500; letter-spacing: -0.005em; }
.lu-grid-line { stroke: rgba(13, 30, 60, 0.06); }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.lu-row    { display: flex; align-items: center; }
.lu-col    { display: flex; flex-direction: column; }
.lu-grow   { flex: 1; min-width: 0; }
.lu-gap-1  { gap: 4px; } .lu-gap-2 { gap: 8px; } .lu-gap-3 { gap: 12px; }
.lu-gap-4  { gap: 16px; } .lu-gap-5 { gap: 20px; } .lu-gap-6 { gap: 24px; }
.lu-mt-1   { margin-top: 4px; } .lu-mt-2 { margin-top: 8px; } .lu-mt-3 { margin-top: 12px; }
.lu-mt-4   { margin-top: 16px; } .lu-mt-6 { margin-top: 24px; } .lu-mt-8 { margin-top: 40px; }
.lu-truncate {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}

.lu-sparkline {
  display: block;
  width: 100%; height: 32px;
}
.lu-sparkline path.line {
  fill: none;
  stroke: var(--lu-teal-700);
  stroke-width: 1.6;
  stroke-linejoin: round; stroke-linecap: round;
}
.lu-sparkline path.area {
  fill: url(#lu-spark-grad);
  opacity: 0.45;
}

/* Loading dots */
.lu-dots { display: inline-flex; gap: 4px; }
.lu-dots span {
  width: 5px; height: 5px;
  background: var(--lu-fg-4);
  border-radius: 999px;
  animation: lu-dot 1.2s ease-in-out infinite;
}
.lu-dots span:nth-child(2) { animation-delay: 0.15s; }
.lu-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes lu-dot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); background: var(--lu-teal-700); }
}

/* ============================================================
   DROPDOWN / SELECT — pill trigger + glass popover
   ============================================================ */
.lu-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 14px 0 16px;
  border-radius: var(--lu-r-pill);
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--lu-edge);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--lu-fg);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background var(--lu-dur) var(--lu-ease), border-color var(--lu-dur) var(--lu-ease), box-shadow var(--lu-dur) var(--lu-ease);
  min-width: 140px;
}
.lu-select:hover { background: rgba(255,255,255,0.85); border-color: var(--lu-edge-strong); }
.lu-select.open  { border-color: var(--lu-edge-blue); box-shadow: 0 0 0 4px rgba(0,134,255,0.12); }
.lu-select .lu-select-label { color: var(--lu-fg-3); margin-right: -4px; font-size: 12.5px; }
.lu-select .lu-select-value { flex: 1; color: var(--lu-fg); }
.lu-select .lu-select-chev {
  color: var(--lu-fg-4);
  transition: transform var(--lu-dur) var(--lu-ease);
}
.lu-select.open .lu-select-chev { transform: rotate(180deg); }

/* Generic glass popover */
.lu-popover {
  position: absolute;
  z-index: 80;
  min-width: 220px;
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--lu-edge);
  border-radius: var(--lu-r-lg);
  box-shadow: var(--lu-inner-light), var(--lu-shadow-pop);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  padding: 6px;
  transform-origin: top left;
  animation: lu-pop 200ms var(--lu-ease-out) forwards;
}
@keyframes lu-pop {
  from { opacity: 0; transform: scale(0.97) translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.lu-popover.right { transform-origin: top right; }
.lu-pop-search {
  margin: 2px 2px 4px;
  padding: 8px 10px;
  display: flex; align-items: center; gap: 8px;
  border-radius: var(--lu-r-md);
  background: rgba(13, 30, 60, 0.04);
  border: 1px solid var(--lu-edge-soft);
}
.lu-pop-search input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  font: inherit;
  font-size: 13px;
  color: var(--lu-fg);
}
.lu-pop-search input::placeholder { color: var(--lu-fg-4); }
.lu-pop-search svg { color: var(--lu-fg-3); }

.lu-pop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: var(--lu-r-md);
  font-size: 13.5px;
  color: var(--lu-fg);
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: background var(--lu-dur-fast) var(--lu-ease);
}
.lu-pop-item:hover { background: rgba(0, 134, 255, 0.08); }
.lu-pop-item .check { color: var(--lu-blue); opacity: 0; flex-shrink: 0; }
.lu-pop-item.on .check { opacity: 1; }
.lu-pop-item.on { color: var(--lu-fg); font-weight: 500; }
.lu-pop-item .ic {
  width: 18px; height: 18px;
  color: var(--lu-fg-3);
  flex-shrink: 0;
}
.lu-pop-item .sub {
  font-size: 11.5px;
  color: var(--lu-fg-3);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.lu-pop-item.danger { color: var(--lu-danger); }
.lu-pop-item.danger:hover { background: rgba(232, 54, 79, 0.08); }
.lu-pop-divider {
  margin: 4px 6px;
  height: 1px;
  background: var(--lu-edge-soft);
}
.lu-pop-group-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--lu-fg-4);
  padding: 8px 12px 4px;
}

/* ============================================================
   COMBOBOX — input with filterable popover
   ============================================================ */
.lu-combo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--lu-r-pill);
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--lu-edge);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  min-width: 260px;
  transition: border-color var(--lu-dur) var(--lu-ease), background var(--lu-dur) var(--lu-ease), box-shadow var(--lu-dur) var(--lu-ease);
}
.lu-combo:focus-within {
  border-color: var(--lu-edge-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,134,255,0.14);
}
.lu-combo svg { color: var(--lu-fg-3); flex-shrink: 0; }
.lu-combo input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  font: inherit; font-size: 13.5px;
  color: var(--lu-fg);
  letter-spacing: -0.005em;
}
.lu-combo input::placeholder { color: var(--lu-fg-4); }
.lu-combo .lu-combo-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 500;
  padding: 2px 8px 2px 10px;
  border-radius: 999px;
  background: rgba(0,134,255,0.10);
  color: var(--lu-blue-700);
  letter-spacing: -0.005em;
}
.lu-combo .lu-combo-pill button {
  background: transparent; border: 0;
  color: var(--lu-blue-700);
  cursor: pointer;
  padding: 0; width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
}
.lu-combo .lu-combo-pill button:hover { background: rgba(0,134,255,0.20); }

/* ============================================================
   DATE PICKER
   ============================================================ */
.lu-datepicker {
  width: 280px;
  padding: 14px;
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--lu-edge);
  border-radius: var(--lu-r-lg);
  box-shadow: var(--lu-inner-light), var(--lu-shadow-rise);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}
.lu-dp-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.lu-dp-month {
  font-family: var(--lu-display);
  font-size: 16px; font-weight: 500;
  color: var(--lu-fg);
  letter-spacing: -0.025em;
  font-variation-settings: 'wdth' 110;
  flex: 1;
}
.lu-dp-nav {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--lu-fg-2);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--lu-dur) var(--lu-ease);
}
.lu-dp-nav:hover { background: rgba(13, 30, 60, 0.05); color: var(--lu-fg); }

.lu-dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.lu-dp-day-lbl {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--lu-fg-4);
  text-align: center;
  padding: 6px 0;
}
.lu-dp-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font-family: var(--lu-mono);
  font-size: 12.5px;
  color: var(--lu-fg);
  cursor: pointer;
  position: relative;
  border: 0;
  background: transparent;
  transition: background var(--lu-dur-fast) var(--lu-ease), color var(--lu-dur-fast) var(--lu-ease);
}
.lu-dp-day:hover { background: rgba(13, 30, 60, 0.06); }
.lu-dp-day.muted { color: var(--lu-fg-5); }
.lu-dp-day.today {
  font-weight: 500;
  color: var(--lu-blue-700);
  background: rgba(0, 134, 255, 0.08);
}
.lu-dp-day.in-range {
  background: rgba(0, 134, 255, 0.10);
  border-radius: 0;
  color: var(--lu-fg);
}
.lu-dp-day.in-range:first-of-type,
.lu-dp-day.range-start { border-radius: 999px 0 0 999px; }
.lu-dp-day.range-end   { border-radius: 0 999px 999px 0; }
.lu-dp-day.selected,
.lu-dp-day.range-start,
.lu-dp-day.range-end {
  background: var(--lu-grad-brand);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 134, 255, 0.28);
}
.lu-dp-day.range-start { border-radius: 999px 0 0 999px; }
.lu-dp-day.range-end   { border-radius: 0 999px 999px 0; }
.lu-dp-day.range-start.range-end { border-radius: 999px; }

.lu-dp-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--lu-edge-soft);
  display: flex; align-items: center; gap: 8px;
}
.lu-dp-foot .lu-dp-presets {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.lu-dp-preset {
  background: transparent;
  border: 1px solid transparent;
  font: inherit;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--lu-fg-2);
  padding: 4px 9px;
  border-radius: 999px;
  cursor: pointer;
}
.lu-dp-preset:hover { background: rgba(13, 30, 60, 0.05); color: var(--lu-fg); }
.lu-dp-preset.on {
  background: rgba(0, 134, 255, 0.10);
  color: var(--lu-blue-700);
  border-color: rgba(0, 134, 255, 0.20);
}

/* Trigger for the date picker (looks like select) */
.lu-date-trigger {
  display: inline-flex; align-items: center; gap: 10px;
  height: 38px;
  padding: 0 14px 0 16px;
  border-radius: var(--lu-r-pill);
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--lu-edge);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  font: inherit;
  font-size: 13.5px;
  color: var(--lu-fg);
  cursor: pointer;
}
.lu-date-trigger:hover { background: rgba(255,255,255,0.85); }
.lu-date-trigger .lu-mono { color: var(--lu-fg); font-size: 12.5px; }
.lu-date-trigger svg { color: var(--lu-fg-3); }
.lu-date-trigger .arrow { color: var(--lu-fg-4); margin: 0 -2px; }

/* ============================================================
   FILTER BAR — chip with chevron, opens facet popover
   ============================================================ */
.lu-filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.lu-filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--lu-r-pill);
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--lu-edge);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--lu-fg);
  cursor: pointer;
  letter-spacing: -0.005em;
  transition: background var(--lu-dur) var(--lu-ease), border-color var(--lu-dur) var(--lu-ease);
}
.lu-filter-chip:hover { background: rgba(255,255,255,0.92); border-color: var(--lu-edge-strong); }
.lu-filter-chip .lbl { color: var(--lu-fg-3); }
.lu-filter-chip .op { color: var(--lu-fg-4); font-weight: 400; }
.lu-filter-chip .val { color: var(--lu-fg); font-weight: 500; }
.lu-filter-chip .more {
  font-size: 10.5px; font-weight: 500;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0,134,255,0.10);
  color: var(--lu-blue-700);
  letter-spacing: -0.005em;
}
.lu-filter-chip.active {
  border-color: var(--lu-edge-blue);
  background: rgba(0, 134, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(0,134,255,0.10);
}
.lu-filter-chip .x {
  width: 16px; height: 16px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--lu-fg-3);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  margin-right: -4px;
}
.lu-filter-chip .x:hover { background: rgba(13, 30, 60, 0.10); color: var(--lu-fg); }
.lu-filter-add {
  display: inline-flex; align-items: center; gap: 5px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--lu-r-pill);
  background: transparent;
  border: 1px dashed var(--lu-edge-strong);
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--lu-fg-3);
  cursor: pointer;
  letter-spacing: -0.005em;
}
.lu-filter-add:hover { color: var(--lu-fg); border-color: var(--lu-fg-3); background: rgba(255,255,255,0.4); }

/* ============================================================
   SMALL POPUP / CONFIRMATION DIALOG
   ============================================================ */
.lu-popup {
  width: 340px;
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--lu-edge);
  border-radius: var(--lu-r-xl);
  box-shadow: var(--lu-inner-light), var(--lu-shadow-pop);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  padding: 20px;
}
.lu-popup .ic {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.lu-popup .ic.info  { background: rgba(0,134,255,0.10); color: var(--lu-blue-700); }
.lu-popup .ic.warn  { background: rgba(240,163,0,0.14); color: #9c6800; }
.lu-popup .ic.err   { background: rgba(232,54,79,0.10); color: var(--lu-danger); }
.lu-popup h4 {
  margin: 0 0 6px;
  font-family: var(--lu-display);
  font-size: 19px; font-weight: 500;
  color: var(--lu-fg);
  letter-spacing: -0.03em;
  font-variation-settings: 'wdth' 110;
}
.lu-popup p {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--lu-fg-2);
  letter-spacing: -0.005em;
}
.lu-popup .actions {
  display: flex; gap: 8px;
  justify-content: flex-end;
}
