/* =====================================================================
   sidebar-glass.css — the floating glass sidebar only (colour-chip tiles on desktop,
   floating tab bar on phones). Pulled out of the old ios-glass.css WITHOUT its
   page-wide card / modal / input / table restyling, which is what made the site lag.
   To go back to the plain sidebar, delete this file's <link> in index.html.
   ===================================================================== */

html {
  --ig-blur: 22px;
  --ig-sat: 170%;
  --ig-r-xl: 34px;
  --ig-r-lg: 26px;
  --ig-r-md: 18px;
  --ig-fill: 22,26,64;
  --ig-fill-a: .38;
  --ig-fill-a2: .2;
  --ig-in: 255,255,255;
  --ig-line: rgba(255,255,255,.22);
  --ig-line-soft: rgba(255,255,255,.08);
  --ig-spec: rgba(255,255,255,.55);
  --ig-ink: #f4f6ff;
  --ig-ink-2: rgba(235,238,255,.68);
  --ig-accent: #7b8cff;
  --ig-accent-2: #a78bfa;
  --ig-shadow: 0 30px 60px -28px rgba(0,0,0,.75), 0 10px 24px -14px rgba(0,0,0,.5);
  --ig-ease: cubic-bezier(.22,1,.36,1);
  --ig-spring: cubic-bezier(.34,1.56,.64,1);
}
html.light-theme {
  --ig-in: 255,255,255;
  --ig-fill: 255,255,255;
  --ig-fill-a: .42;
  --ig-fill-a2: .22;
  --ig-line: rgba(255,255,255,.95);
  --ig-line-soft: rgba(120,110,255,.14);
  --ig-spec: rgba(255,255,255,1);
  --ig-ink: #1a1740;
  --ig-ink-2: rgba(40,36,95,.62);
  --ig-accent: #5b4df5;
  --ig-accent-2: #8b5cf6;
  --ig-shadow: 0 30px 60px -30px rgba(70,60,200,.42), 0 10px 22px -14px rgba(30,27,75,.22);
}

/* ---------- the wallpaper: vivid, so the glass has something to bend ---------- */
html body:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  background-attachment: fixed !important;
}
html body:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign)::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38vmax 38vmax at 18% 22%, rgba(80,120,255,.40), transparent 60%),
    radial-gradient(34vmax 34vmax at 82% 12%, rgba(255,90,180,.34), transparent 60%),
    radial-gradient(40vmax 40vmax at 70% 85%, rgba(40,220,255,.32), transparent 60%),
    radial-gradient(30vmax 30vmax at 12% 88%, rgba(255,150,70,.28), transparent 60%);
}
html.light-theme body:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign)::after { opacity: .75; }
@keyframes igDrift { to { transform: translate3d(2.5%, -2%, 0) scale(1.08) rotate(2deg); } }

/* ---------- floating glass SIDEBAR ---------- */
html body .glass-sidebar:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  border-radius: 38px !important;
  border: 0 !important;
  background-color: rgba(var(--ig-fill), calc(var(--ig-fill-a) * .9)) !important;
  background-image:
    radial-gradient(120% 40% at 20% -6%, rgba(255,255,255,.34), transparent 60%),
    linear-gradient(170deg, rgba(255,255,255,.14), rgba(255,255,255,0) 40%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  box-shadow: inset 0 1.5px 0 var(--ig-spec), inset 0 0 0 1px var(--ig-line), inset 0 -2px 8px rgba(255,255,255,.1), var(--ig-shadow) !important;
}
html body .glass-sidebar > div:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { border-color: var(--ig-line-soft) !important; }
html body .glass-sidebar h3:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { color: var(--ig-ink) !important; font-size: 16px !important; font-weight: 700 !important; }

/* nav rows: colour chip icon + label, selected = lit glass capsule */
html body .glass-sidebar nav .nav-btn:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  border-radius: 20px !important;
  padding: 7px 10px !important;
  gap: 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ig-ink-2) !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: visible !important;
  transform: none !important;
  transition: transform .3s var(--ig-spring) !important;
}
html body .glass-sidebar nav .nav-btn:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign)::before,
html body .glass-sidebar nav .nav-btn:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign)::after { display: none !important; }
html body .glass-sidebar nav .nav-btn:hover:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  background: rgba(var(--ig-in), .14) !important;
  color: var(--ig-ink) !important;
}
html body .glass-sidebar nav .nav-btn:active:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { transform: scale(.97) !important; }
html body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  color: var(--ig-ink) !important;
  background-color: rgba(var(--ig-in), .26) !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.04)) !important;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,255,255,.35), 0 10px 22px -12px rgba(60,50,200,.55) !important;
}
html.light-theme body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { background-color: rgba(255,255,255,.78) !important; }
html body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) span { color: var(--ig-ink) !important; text-shadow: none !important; font-weight: 800 !important; }
html body .glass-sidebar nav .nav-btn span:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { color: inherit !important; }

html body .glass-sidebar nav .nav-btn > svg:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  width: 34px !important; height: 34px !important; padding: 8px; flex: none;
  border-radius: 11px; stroke: #fff !important; color: #fff !important; opacity: 1 !important;
  background: linear-gradient(160deg, var(--chip-a, #8b8fa8), var(--chip-b, #6b6f88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 4px rgba(0,0,0,.18), 0 6px 12px -6px var(--chip-b, #444);
  filter: none !important;
}
html body .glass-sidebar nav .nav-btn > svg *:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { stroke: #fff !important; }
#nav-dashboard  { --chip-a:#5ab0ff; --chip-b:#2f6bff; }
#nav-account    { --chip-a:#a1a8c4; --chip-b:#6b7394; }
#nav-sessions   { --chip-a:#ff8a7a; --chip-b:#ff3b57; }
#nav-materials  { --chip-a:#6ee89a; --chip-b:#19b35a; }
#nav-videos     { --chip-a:#ffbf5a; --chip-b:#ff8a1f; }
#nav-community  { --chip-a:#5ee3d6; --chip-b:#12a8b8; }
#nav-feed       { --chip-a:#ff8fc2; --chip-b:#ec4899; }
#nav-chat       { --chip-a:#7be68f; --chip-b:#22b34a; }
#nav-support    { --chip-a:#ffd75e; --chip-b:#f5a300; }
#nav-codes      { --chip-a:#ffc95a; --chip-b:#e08a00; }
#nav-admin      { --chip-a:#ff7a7a; --chip-b:#dc2626; }

/* Co Assistant pill + AI box + logout */
html body #nav-co-assistant:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(123,140,255,.30), rgba(167,139,250,.22)) !important;
  border: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1px rgba(255,255,255,.22) !important;
}
html body .glass-sidebar > div.hidden:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign), html body .glass-sidebar > div.md\:flex:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  border-radius: 28px !important;
  background: rgba(var(--ig-in), .08) !important;
  border: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px var(--ig-line-soft) !important;
}
html body .glass-sidebar button[onclick="handleLogout()"]:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
  border-radius: 999px !important; padding: 11px 14px !important; font-size: 13px !important;
  background: rgba(var(--ig-in), .14) !important; border: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1px var(--ig-line-soft) !important;
}

/* =====================================================================
   BENTO sidebar (desktop): the nav becomes a grid of glass tiles
   ===================================================================== */
@media (min-width: 768px) {
  html body aside.glass-sidebar:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { width: 312px !important; padding-bottom: 6px; }
  html body .glass-sidebar nav:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important;
    padding: 14px !important; overflow: visible !important;
  }
  html body .glass-sidebar nav > *:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { margin: 0 !important; }
  html body .glass-sidebar nav .nav-btn:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    flex-direction: column !important; align-items: flex-start !important; justify-content: space-between !important;
    gap: 16px !important; min-height: 112px; width: 100% !important; padding: 12px !important;
    border-radius: 28px !important; text-align: start; font-size: 17px !important; font-weight: 800 !important; line-height: 1.2;
    color: var(--ig-ink) !important;
    background-color: rgba(var(--ig-in), .10) !important;
    background-image: radial-gradient(120% 70% at 10% -10%, rgba(255,255,255,.30), transparent 60%) !important;
    box-shadow: inset 0 1.5px 0 var(--ig-spec), inset 0 0 0 1px var(--ig-line), 0 14px 24px -16px rgba(0,0,0,.55) !important;
    transition: transform .35s var(--ig-spring) !important;
  }
  html.light-theme body .glass-sidebar nav .nav-btn:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { background-color: rgba(255,255,255,.36) !important; }
  html body .glass-sidebar nav .nav-btn:hover:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { transform: translateY(-3px) scale(1.02) !important; }
  html body .glass-sidebar nav .nav-btn:first-child:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    grid-column: 1 / -1; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; min-height: 84px; font-size: 20px !important;
  }
  html body .glass-sidebar nav .nav-btn > svg:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    width: 48px !important; height: 48px !important; padding: 12px; border-radius: 16px;
  }
  html body .glass-sidebar nav .nav-btn span:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { color: inherit !important; line-height: 1.25; font-size: inherit !important; font-weight: inherit !important; flex: 0 1 auto; }
  /* selected tile: tinted, glowing glass */
  html body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    background-color: rgba(123,140,255,.34) !important;
    background-image: linear-gradient(160deg, rgba(255,255,255,.5), rgba(255,255,255,.06) 60%) !important;
    box-shadow: inset 0 1.5px 0 #fff, inset 0 0 0 1.5px rgba(255,255,255,.6), 0 0 0 3px rgba(123,140,255,.35), 0 18px 30px -14px rgba(80,70,255,.75) !important;
  }
  html.light-theme body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { background-color: rgba(255,255,255,.85) !important; }
  html body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) span { color: var(--ig-ink) !important; }
  html body .glass-sidebar nav .nav-btn.hidden:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { display: none !important; }
}


/* v3 — layout: Dashboard and Sessions are wide tiles; Community + Support share the next row */
@media (min-width: 768px) {
  /* order: Dashboard, Sessions, Online (wide, only online students + staff), then the small tiles */
  html body .glass-sidebar nav .nav-btn:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { order: 5; }
  html body .glass-sidebar nav #nav-dashboard:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { order: 1; }
  html body .glass-sidebar nav #nav-sessions:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { order: 2; }
  html body .glass-sidebar nav #nav-online:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { order: 3; }
  #nav-online { --chip-a:#c4b5fd; --chip-b:#7c3aed; }
  html body .glass-sidebar nav :is(#nav-sessions, #nav-online):not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    grid-column: 1 / -1; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important;
    min-height: 84px; font-size: 20px !important; gap: 16px !important;
  }
}

/* ---------- PHONES: floating glass tab bar ---------- */
@media (max-width: 767px) {
  /* tab bar lives at the TOP now: leave room for it above the page, and none at the bottom */
  html body { padding-top: calc(88px + env(safe-area-inset-top)) !important; padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important; }
  html body #portal-section:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { padding: 10px 10px 0 !important; gap: 12px !important; transform: none !important; filter: none !important; will-change: auto !important; contain: none !important; animation: none !important; }

  /* the profile card scrolls away normally; the tab bar above it is the only thing that stays put */
  html body aside.glass-sidebar { position: relative !important; top: auto !important; }

  /* the aside stops being a blur box (a filtered parent would trap the fixed tab bar) */
  html body .glass-sidebar:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    background: transparent !important; box-shadow: none !important; border-radius: 0 !important;
    transform: none !important; filter: none !important; contain: none !important; will-change: auto !important;
    overflow: visible !important;
  }
  html body .glass-sidebar > div:first-child:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    border-radius: 30px !important; padding: 10px 12px !important; border: 0 !important;
    background-color: rgba(var(--ig-fill), var(--ig-fill-a)) !important;
    background-image: linear-gradient(180deg, rgba(255,255,255,.3), rgba(255,255,255,.02)) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important; backdrop-filter: blur(24px) saturate(180%) !important;
    box-shadow: inset 0 1.5px 0 var(--ig-spec), inset 0 0 0 1px var(--ig-line), var(--ig-shadow) !important;
  }
  html body .glass-sidebar > div.p-4:last-child:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { padding: 0 !important; border: 0 !important; }
  html body .glass-sidebar button[onclick="handleLogout()"]:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { padding: 9px 14px !important; }

  html body .glass-sidebar nav:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    position: fixed !important; z-index: 60 !important;
    left: 12px !important; right: 12px !important; top: calc(10px + env(safe-area-inset-top)) !important; bottom: auto !important;
    width: auto !important; height: auto !important; max-height: none !important; align-items: stretch; padding: 7px !important; gap: 2px !important;
    flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important;
    border-radius: 36px !important;
    background-color: rgba(var(--ig-fill), calc(var(--ig-fill-a) * 1.3)) !important;
    background-image: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.04)) !important;
    -webkit-backdrop-filter: blur(26px) saturate(190%) !important; backdrop-filter: blur(26px) saturate(190%) !important;
    box-shadow: inset 0 1.5px 0 var(--ig-spec), inset 0 0 0 1px var(--ig-line), 0 18px 40px -16px rgba(0,0,0,.55) !important;
    scrollbar-width: none; scroll-snap-type: x proximity;
  }
  html body .glass-sidebar nav::-webkit-scrollbar { display: none; }
  html body .glass-sidebar nav .nav-btn:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    flex-direction: column !important; justify-content: center; gap: 3px !important;
    min-width: 66px; flex: 1 0 66px !important; padding: 7px 6px 6px !important;
    border-radius: 28px !important; font-size: 10.5px !important; line-height: 1.15; text-align: center;
    white-space: nowrap; scroll-snap-align: center;
  }
  html body .glass-sidebar nav .nav-btn > svg:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) {
    width: 24px !important; height: 24px !important; padding: 0 !important; border-radius: 0;
    background: none !important; box-shadow: none !important; stroke: currentColor !important; color: inherit !important;
  }
  html body .glass-sidebar nav .nav-btn > svg *:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { stroke: currentColor !important; }
  html body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { color: var(--ig-accent) !important; }
  html body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) span { color: var(--ig-accent) !important; }
}

html:not(.light-theme) body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign), html:not(.light-theme) body .glass-sidebar nav .nav-btn.bg-indigo-600\/15:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) span { color: #fff !important; }

/* sidebar mini AI box: bigger, calmer */
html body #sidebar-quick-prompts-container > *:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { font-size: 13px !important; border-radius: 16px !important; border: 0 !important; background: rgba(var(--ig-in), .09) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.4) !important; }
html body #sidebar-ai-input:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { font-size: 13px !important; padding: 8px 12px !important; }
html body .glass-sidebar button[onclick="switchTab('co-assistant')"]:not(#nav-co-assistant):not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { white-space: nowrap; font-size: 11.5px !important; padding-inline: 12px !important; min-height: 32px !important; }
/* ---------- fallbacks ---------- */
html.blur-off, html.perf-lite { --ig-fill-a: .55; --ig-fill-a2: .4; }
html.light-theme.blur-off, html.light-theme.perf-lite { --ig-fill-a: .85; }
@media (prefers-reduced-transparency: reduce) { html { --ig-fill-a: .7; } html.light-theme { --ig-fill-a: .9; } }
@media (prefers-reduced-motion: reduce) { html body:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign)::after { animation: none; } }

/* the big main panel does not need its own blur: it sits behind everything that scrolls */
html body .glass-main-panel:not(#iga):not(#igb):not(#igc):not(#igd):not(#ige):not(#igf):not(#igg):not(#igh):not(#igi):not(#igj):not(#igk):not(#igl):not(#igm):not(#ign) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
