/* GGbowz theme for Kener's admin (/manage, /account). Kener only loads its customCSS on the public pages,
   so NPM (CT101, host status.ggbowz.com) injects this file into every page as /gg/gg-manage.css.
   Same palette as kener/theme.css: OLED black, Glance greys, Unraid orange. Source: Self Hosting\kener\npm\assets\ */
html:root, html:root.dark, html.dark {
  --background: #000 !important;
  --foreground: hsl(0 0% 85%) !important;
  --card: hsl(0 0% 4.5%) !important;
  --card-foreground: hsl(0 0% 85%) !important;
  --popover: hsl(0 0% 6%) !important;
  --popover-foreground: hsl(0 0% 88%) !important;
  --primary: hsl(24 97% 58%) !important;
  --primary-foreground: #000 !important;
  --secondary: hsl(0 0% 9%) !important;
  --secondary-foreground: hsl(0 0% 88%) !important;
  --muted: hsl(0 0% 9%) !important;
  --muted-foreground: hsl(0 0% 52%) !important;
  --accent: hsl(24 60% 12%) !important;
  --accent-foreground: hsl(24 97% 66%) !important;
  --destructive: hsl(0 75% 58%) !important;
  --border: hsl(0 0% 12%) !important;
  --input: hsl(0 0% 14%) !important;
  --ring: hsl(24 97% 58%) !important;
  --radius: 5px !important;
  --sidebar: hsl(0 0% 3%) !important;
  --sidebar-foreground: hsl(0 0% 80%) !important;
  --sidebar-primary: hsl(24 97% 58%) !important;
  --sidebar-primary-foreground: #000 !important;
  --sidebar-accent: hsl(24 60% 12%) !important;
  --sidebar-accent-foreground: hsl(24 97% 66%) !important;
  --sidebar-border: hsl(0 0% 12%) !important;
  --sidebar-ring: hsl(24 97% 58%) !important;
  --chart-1: hsl(24 97% 58%) !important;
  --chart-2: hsl(140 65% 48%) !important;
  --chart-3: hsl(43 90% 55%) !important;
  --chart-4: hsl(0 75% 58%) !important;
  --chart-5: hsl(210 80% 60%) !important;
  color-scheme: dark;
}
/* Kener's admin reads its own --accent from the site colours (#171717 = invisible on black) */
html .kener-manage { --accent: hsl(24 60% 12%) !important; --accent-foreground: hsl(24 97% 66%) !important; }

html:has(.kener-manage), html:has(.kener-manage) body, .kener-manage, [data-slot="sidebar-inset"] { background: #000 !important; }
html:has(.kener-manage) body, html:has(.kener-manage) button, html:has(.kener-manage) input,
html:has(.kener-manage) textarea, html:has(.kener-manage) select {
  font-family: 'JetBrains Mono', ui-monospace, monospace !important;
}
/* Unraid-style red to orange bar along the very top, as on the public page */
html:has(.kener-manage) body::before {
  content: ""; position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, #e22828 0%, #ff8c2f 100%);
}
/* Square corners like Glance */
.kener-manage .rounded-xl, .kener-manage .rounded-lg, .kener-manage .rounded-2xl, .kener-manage .rounded-3xl,
[data-slot="sidebar"] .rounded-lg, [data-slot="sidebar"] .rounded-md { border-radius: var(--radius) !important; }
/* Cards as Glance widgets */
.kener-manage [data-slot="card"] { background: hsl(0 0% 4.5%) !important; border-color: hsl(0 0% 12%) !important; box-shadow: none !important; }
/* Active sidebar entry: orange */
[data-slot="sidebar"] [data-active="true"] { color: hsl(24 97% 66%) !important; background: hsl(24 60% 12%) !important; }
[data-slot="sidebar"] a:hover, [data-slot="sidebar"] button:hover { color: hsl(24 97% 66%); }
::selection { background: hsl(24 97% 58% / .35); }
