/* ===== from /css/guest.css ===== */
:root {--bs-blue:#186dde;--bs-indigo:#745af2;--bs-pink:#e83e8c;--bs-red:#ef5350;--bs-yellow:#ffb22b;--bs-green:#0acc95;--bs-teal:#20c997;--bs-white:#fff;--bs-gray:#545b62;--bs-gray-dark:#263238;--bs-primary:#398bf7;--bs-secondary:#545b62;--bs-success:#0acc95;--bs-info:#186dde;--bs-warning:#ffb22b;--bs-danger:#ef5350;--bs-light:#e9edf2;--bs-dark:#263238;--bs-cyan:#26c6da;--bs-orange:#fb8c00;--bs-purple:#7460ee;--bs-inverse:#2f3d4a;--bs-megna:#01c0c8;--bs-extra-light:#f8f9fa;--bs-light-danger:#f3ced6;--bs-light-success:#b7f1e0;--bs-light-warning:#fbecd3;--bs-light-primary:#e1dcff;--bs-light-secondary:#dde1e4;--bs-light-info:#cbe2ff;--bs-light-inverse:#f6f6f6;--bs-light-megna:#e0f2f4;--bs-dark-danger:#e6294b;--bs-dark-success:#1eacbe;--bs-dark-warning:#e9ab2e;--bs-dark-primary:#6352ce;--bs-dark-info:#028ee1;--bs-font-sans-serif:"Montserrat",sans-serif;--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,0))}
*,:after,:before {box-sizing:border-box}
@media (prefers-reduced-motion:no-preference) {
:root {scroll-behavior:smooth}
}
body {-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:#f4f6f9;font-family:var(--bs-font-sans-serif);font-size:.9375rem;font-weight:300;line-height:1.5}
.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6 {color:#455a64;font-weight:500;line-height:1.2;margin-bottom:.5rem;margin-top:0}
.h1,h1 {font-size:calc(1.35rem + 1.2vw)}
@media (min-width:1200px) {
.h1,h1 {font-size:2.25rem}
}
.h2,h2 {font-size:calc(1.275rem + .3vw)}
@media (min-width:1200px) {
.h2,h2 {font-size:1.5rem}
}
p {margin-bottom:1rem;margin-top:0}
.small,small {font-size:.75rem}
a {text-decoration:underline}
a:hover {color:#1357b2}
a:not([href]):not([class]),a:not([href]):not([class]):hover {color:inherit;text-decoration:none}
img,svg {vertical-align:middle}
label {display:inline-block}
button {border-radius:0}
button:focus:not(:focus-visible) {outline:0}
button,input,optgroup,select,textarea {font-family:inherit;font-size:inherit;line-height:inherit;margin:0}
button,select {text-transform:none}
[type=button],[type=reset],[type=submit],button {-webkit-appearance:button}
[type=button]:not(:disabled),[type=reset]:not(:disabled),[type=submit]:not(:disabled),button:not(:disabled) {cursor:pointer}
::-moz-focus-inner {border-style:none;padding:0}
::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field {padding:0}
::-webkit-inner-spin-button {height:auto}
::-webkit-search-decoration {-webkit-appearance:none}
::-webkit-color-swatch-wrapper {padding:0}
::file-selector-button {font:inherit}
::-webkit-file-upload-button {-webkit-appearance:button;font:inherit}
.table>:not(caption)>*>* {background-color:var(--bs-table-bg);border-bottom-width:1px;box-shadow:inset 0 0 0 9999px var(--bs-table-accent-bg);padding:.75rem}
.table>:not(:last-child)>:last-child>* {border-bottom-color:transparent}
.table-sm>:not(caption)>*>* {padding:.25rem}
.table-bordered>:not(caption)>* {border-width:1px 0}
.table-bordered>:not(caption)>*>* {border-width:0 1px}
.table-borderless>:not(caption)>*>* {border-bottom-width:0}
.btn-group>.btn-group:not(:first-child)>.btn,.btn-group>.btn:nth-child(n+3),.btn-group>:not(.btn-check)+.btn {border-bottom-left-radius:0;border-top-left-radius:0}
* {outline:none}
body {background:#f4f6f9;color:#67757c;margin:0;overflow-x:hidden}
body,html {position:relative}
html {min-height:100%}
a,a:focus,a:hover {color:#186dde;text-decoration:none}
form label {font-size:15px;font-weight:500;margin-bottom:5px}

/* ===== from /css/modern-slate-theme.css ===== */
:root {
  --bg-canvas: #090d16;
  --bg-slate: #0f172a;
  --bg-slate-darker: #06090f;
  --surface-card: rgba(15, 23, 42, 0.78);
  --surface-card-hover: rgba(22, 33, 56, 0.88);
  --surface-card-solid: #0f172a;
  --surface-header: rgba(9, 13, 22, 0.95);
  --surface-input: rgba(15, 23, 42, 0.9);
  
  --border-slate: #334155;
  --border-slate-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(139, 92, 246, 0.45);
  
  --sidebar-collapsed-width: 70px;
  --sidebar-expanded-width: 260px;
  --header-height: 65px;
  
  --accent-primary: #8b5cf6;
  --accent-primary-hover: #7c3aed;
  --accent-primary-glow: rgba(139, 92, 246, 0.35);
  --accent-indigo: #6366f1;
  --accent-cyan: #06b6d4;
  --accent-cyan-hover: #0891b2;
  --accent-magenta: #d946ef;
  
  --semantic-emerald: #10b981;
  --semantic-emerald-bg: rgba(16, 185, 129, 0.15);
  --semantic-coral: #f43f5e;
  --semantic-coral-bg: rgba(244, 63, 94, 0.15);
  --semantic-amber: #f59e0b;
  --semantic-amber-bg: rgba(245, 158, 11, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
}
body, html {
  background-color: var(--bg-canvas) !important;
  color: var(--text-primary) !important;
  font-family: "Fredoka", -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.form-label, label {
  color: var(--text-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 6px !important;
}
.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="date"],
input[type="number"],
select,
textarea {
  background-color: var(--surface-input) !important;
  border: 1px solid var(--border-slate) !important;
  border-radius: var(--radius-md) !important;
  color: #fff !important;
  font-size: 0.86rem !important;
  padding: 8px 14px !important;
  transition: all 0.2s ease !important;
}
.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 0 3px var(--accent-primary-glow) !important;
  outline: none !important;
  color: #fff !important;
}
.form-control::placeholder,
input::placeholder {
  color: var(--text-dim) !important;
}

/* ===== from /css/genie-theme.css ===== */
html[data-ha-theme="dark"] {
  --g-shell: #07070a;
  --g-shell-hover: #15151d;
  --g-shell-text: #8a89a0;
  --g-panel: #111117;
  --g-panel-bg:
    radial-gradient(760px 520px at 96% 0%, rgba(139, 92, 246, 0.12), transparent 62%),
    radial-gradient(520px 420px at 40% 110%, rgba(124, 58, 237, 0.08), transparent 60%),
    #111117;
  --g-surface: rgba(26, 26, 36, 0.72);
  --g-surface-2: rgba(36, 36, 50, 0.7);
  --g-surface-solid: #17171f;
  --g-glass-border: rgba(255, 255, 255, 0.07);
  --g-glass-blur: blur(16px);
  --g-ink: #241a42;
  --g-ink-2: #3b2a72;
  --g-ink-muted: #cfc4f3;
  --g-accent: #a78bfa;
  --g-accent-2: #d8b4fe;
  --g-accent-soft: rgba(167, 139, 250, 0.14);
  --g-grad-a: #c084fc;
  --g-grad-b: #7c3aed;
  --g-glow: rgba(124, 58, 237, 0.42);
  --g-up: #4ade80;
  --g-down: #fb7185;
  --g-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 32px rgba(0, 0, 0, 0.35);
  --g-art-bg:
    radial-gradient(600px 400px at 85% 10%, rgba(192, 132, 252, 0.35), transparent 60%),
    radial-gradient(520px 420px at 10% 95%, rgba(124, 58, 237, 0.5), transparent 60%),
    #100d19;

  /* slate tokens */
  --bg-canvas: #07070a;
  --surface-card: var(--g-surface);
  --surface-card-hover: rgba(34, 34, 48, 0.86);
  --surface-card-solid: #17171f;
  --surface-header: #111117;
  --surface-input: #1b1b25;
  --border-slate: #2b2b39;
  --border-slate-subtle: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(167, 139, 250, 0.45);
  --accent-primary: #8b5cf6;
  --accent-primary-hover: #7c3aed;
  --accent-primary-glow: rgba(139, 92, 246, 0.32);
  --text-primary: #f2f1f8;
  --text-secondary: #cac9d8;
  --text-muted: #9695ad;
  --text-dim: #6f6e86;
  color-scheme: dark;
}
html:not([data-ha-theme="dark"]) {
  --g-shell: #13060a;
  --g-shell-hover: #2a1017;
  --g-shell-text: #b8949e;
  --g-panel: #fff4f5;
  --g-panel-bg:
    radial-gradient(720px 480px at 94% 2%, rgba(251, 113, 133, 0.30), transparent 62%),
    radial-gradient(580px 440px at 52% 104%, rgba(225, 29, 72, 0.15), transparent 60%),
    radial-gradient(440px 340px at 22% 26%, rgba(254, 205, 211, 0.55), transparent 70%),
    #fff4f5;
  --g-surface: rgba(255, 255, 255, 0.58);
  --g-surface-2: rgba(255, 255, 255, 0.76);
  --g-surface-solid: #fffafb;
  --g-glass-border: rgba(255, 255, 255, 0.9);
  --g-glass-blur: blur(18px) saturate(160%);
  --g-ink: #9f1239;
  --g-ink-2: #f43f5e;
  --g-ink-muted: #ffe4e8;
  --g-accent: #e11d48;
  --g-accent-2: #fb7185;
  --g-accent-soft: rgba(225, 29, 72, 0.11);
  --g-grad-a: #fb7185;
  --g-grad-b: #be123c;
  --g-glow: rgba(225, 29, 72, 0.34);
  --g-up: #15803d;
  --g-down: #be123c;
  --g-shadow: 0 1px 1px rgba(159, 18, 57, 0.04), 0 14px 34px rgba(159, 18, 57, 0.09);
  --g-art-bg:
    radial-gradient(600px 400px at 85% 10%, rgba(251, 113, 133, 0.6), transparent 60%),
    radial-gradient(520px 420px at 10% 95%, rgba(225, 29, 72, 0.65), transparent 60%),
    #1c070d;

  /* slate tokens */
  --bg-canvas: #13060a;
  --surface-card: var(--g-surface);
  --surface-card-hover: rgba(255, 255, 255, 0.8);
  --surface-card-solid: #fffafb;
  --surface-header: #fff4f5;
  --surface-input: rgba(255, 255, 255, 0.82);
  --border-slate: rgba(225, 29, 72, 0.2);
  --border-slate-subtle: rgba(225, 29, 72, 0.11);
  --border-accent: rgba(225, 29, 72, 0.4);
  --accent-primary: #e11d48;
  --accent-primary-hover: #be123c;
  --accent-primary-glow: rgba(225, 29, 72, 0.25);
  --accent-indigo: #f43f5e;
  --accent-magenta: #fb7185;
  --text-primary: #2a0e15;
  --text-secondary: #5a3540;
  --text-muted: #7d5562;
  --text-dim: #b4949d;
  --shadow-sm: 0 2px 8px rgba(159, 18, 57, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(159, 18, 57, 0.12);
  --shadow-lg: 0 16px 36px -6px rgba(159, 18, 57, 0.18);
  --shadow-glow: 0 0 25px rgba(225, 29, 72, 0.2);
  color-scheme: light;
}
:root {
  --g-header-h: 74px;
  --g-gap: 14px;
  --g-side-mini: 76px;
  --g-side-full: 260px;
  /* keep the slate layout maths in step with ours */
  --header-height: var(--g-header-h);
  --sidebar-collapsed-width: var(--g-side-mini);
  --sidebar-expanded-width: var(--g-side-full);
}
body,
html,
#main-wrapper#main-wrapper {
  background: var(--g-shell) !important;
}
.g-mode-toggle {
  position: relative;
  width: 64px;
  height: 34px;
  flex: 0 0 64px;
  border-radius: 999px;
  border: 1px solid var(--border-slate-subtle);
  background: var(--g-surface-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  color: var(--text-muted);
}
.g-mode-toggle::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--g-grad-a), var(--g-grad-b));
  box-shadow: 0 3px 10px var(--g-glow);
  transition: transform 0.28s cubic-bezier(0.4, 1.4, 0.6, 1);
}
.g-mode-toggle svg { position: relative; z-index: 1; display: block; transition: color 0.2s ease; }
.g-mode-toggle .g-sun { color: #fff; }
html[data-ha-theme="dark"] .g-mode-toggle::before { transform: translateX(30px); }
html[data-ha-theme="dark"] .g-mode-toggle .g-sun { color: var(--text-muted); }
html[data-ha-theme="dark"] .g-mode-toggle .g-moon { color: #fff; }
.g-mode-toggle:focus-visible { outline: 2px solid var(--g-accent); outline-offset: 2px; }
body.auth-body { background: var(--g-shell) !important; }
.g-auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--g-gap);
  padding: var(--g-gap);
  background: var(--g-shell);
  font-family: var(--g-font);
}
.g-auth-art {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--g-art-bg);
  color: #fff;
}
.g-auth-brand { display: flex; align-items: center; gap: 12px; }
.g-auth-art h1 {
  font-size: clamp(30px, 3.3vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: #fff !important;
}
.g-auth-art h1 span {
  background: linear-gradient(90deg, #ffffff, var(--g-accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.g-auth-art p { color: rgba(255, 255, 255, 0.72); max-width: 420px; margin: 0; font-size: 14px; line-height: 1.7; }
.g-auth-preview { position: relative; height: 250px; margin: 24px 0; }
.g-float {
  position: absolute;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 14px 16px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  animation: g-float 6s ease-in-out infinite;
}
.g-float-label { font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.g-float-value { font-size: 22px; font-weight: 800; }
.g-float-trend { font-size: 11px; color: #4ade80; font-weight: 700; }
.g-float svg { display: block; margin-top: 6px; }
.g-float.a { top: 0; left: 0; width: 230px; }
.g-float.b { top: 44px; right: 6%; width: 170px; animation-delay: -2s; }
.g-float.c { bottom: 0; left: 26%; width: 210px; animation-delay: -4s; }
@keyframes g-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.g-auth-panel {
  border-radius: 28px;
  background: var(--g-panel-bg);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  padding: 26px 36px;
}
.g-auth-top { display: flex; justify-content: flex-end; }
.g-auth-form { width: 100%; max-width: 400px; margin: auto; }
.g-auth-form h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: var(--text-primary); margin: 0 0 6px; }
.g-field { margin-bottom: 16px; }
.g-auth .g-field label {
  display: block;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--text-primary) !important;
  margin-bottom: 7px !important;
}
.g-input-wrap { position: relative; }
.g-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.g-auth .g-field input {
  width: 100%;
  height: 50px;
  border-radius: 14px !important;
  border: 1px solid var(--border-slate) !important;
  background: var(--surface-input) !important;
  color: var(--text-primary) !important;
  padding: 0 48px 0 44px !important;
  font-size: 14px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.g-auth .g-field input:focus {
  border-color: var(--g-accent) !important;
  box-shadow: 0 0 0 4px var(--g-accent-soft) !important;
}
.g-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.g-eye:hover { background: var(--g-accent-soft); color: var(--text-primary); }
.g-eye .g-eye-closed { display: none; }
.g-auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0 24px;
  font-size: 13px;
}
.g-auth .g-auth-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted) !important;
  cursor: pointer;
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.g-auth-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--g-accent); }
.g-auth-row a { color: var(--g-accent); font-weight: 700; text-decoration: none; }
.g-submit {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--g-grad-a), var(--g-grad-b));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 12px 26px var(--g-glow);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.g-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 32px var(--g-glow); }
.g-auth-foot { text-align: center; font-size: 12px; color: var(--text-muted); }
@media (max-width: 991.98px) {
.g-auth { grid-template-columns: minmax(0, 1fr); padding: 10px; }
.g-auth-art { padding: 24px; }
.g-auth-preview { display: none; }
.g-auth-panel { padding: 20px 18px; }
}
@media (prefers-reduced-motion: reduce) {
.g-float { animation: none; }
}
.g-logo {
  display: block;
  flex: 0 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px var(--g-glow);
  transition: transform 0.2s ease;
}
.g-brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.g-brand-name { color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; }
.g-brand-sub { color: rgba(255, 255, 255, 0.5); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
html:not([data-ha-theme="dark"]) {
  --g-fly-bg: rgba(255, 255, 255, 0.86);
  --g-fly-border: color-mix(in srgb, var(--g-accent) 14%, transparent);
  --g-fly-shadow: 0 24px 50px -12px color-mix(in srgb, var(--g-ink) 28%, transparent), 0 4px 14px color-mix(in srgb, var(--g-ink) 8%, transparent);
}
html[data-ha-theme="dark"] {
  --g-fly-bg: rgba(24, 24, 33, 0.9);
  --g-fly-border: rgba(255, 255, 255, 0.09);
  --g-fly-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.7), 0 4px 14px rgba(0, 0, 0, 0.35);
}
html:not([data-ha-theme="dark"]) #main-wrapper#main-wrapper .table > :not(caption) > * > * {
  --bs-table-accent-bg: transparent;
  box-shadow: none !important;
}
:root { --g-font: "Fredoka", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
html,
body,
#main-wrapper,
.g-auth,
.g-flyout,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.dropdown-menu,
.modal-content,
.tooltip,
.popover,
.select2-container,
.apexcharts-canvas,
.apexcharts-tooltip,
#toast-container {
  font-family: var(--g-font) !important;
}
.g-kpi-value,
.g-page-head h1,
.g-auth-form h2,
.g-auth-art h1,
.g-top-name,
.g-top-value,
.g-stat-value,
.g-brand-name { font-weight: 700 !important; }
@media (min-width: 768px) {
#main-wrapper#main-wrapper .left-sidebar #sidebarnav > .sidebar-item > .sidebar-link.is-lit,
  #main-wrapper#main-wrapper .left-sidebar #sidebarnav > .sidebar-item > .sidebar-link.is-lit .sidebar-icon-wrap,
  #main-wrapper#main-wrapper .left-sidebar #sidebarnav > .sidebar-item > .sidebar-link.is-lit .sidebar-icon-wrap i,
  #main-wrapper#main-wrapper .left-sidebar .g-side-logout.is-lit,
  #main-wrapper#main-wrapper .left-sidebar .g-side-logout.is-lit i {
    color: var(--text-primary) !important;
    background: transparent !important;
    box-shadow: none !important;
  }
#main-wrapper#main-wrapper .left-sidebar #sidebarnav > .sidebar-item > .sidebar-link.is-lit .sidebar-icon-wrap i,
  #main-wrapper#main-wrapper .left-sidebar .g-side-logout.is-lit i { transform: scale(1.12); }
}
html:not([data-ha-theme="dark"]) {
  --g-dock-bg: rgba(255, 255, 255, 0.72);
  --g-dock-border: color-mix(in srgb, var(--g-accent) 13%, transparent);
  --g-dock-shadow: 0 10px 26px -10px color-mix(in srgb, var(--g-ink) 28%, transparent);
}
html[data-ha-theme="dark"] {
  --g-dock-bg: rgba(255, 255, 255, 0.045);
  --g-dock-border: rgba(255, 255, 255, 0.09);
  --g-dock-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.7);
}
#main-wrapper#main-wrapper .topbar li.g-dock .g-mode-toggle { border-color: transparent; }
@media (max-width: 767.98px) {
:root { --g-m-header: 64px; }
}
html:not([data-ha-theme="dark"]) { --g-headbar-bg: linear-gradient(90deg, color-mix(in srgb, var(--g-accent) 10%, transparent), color-mix(in srgb, var(--g-accent) 6%, transparent)); --g-headbar-border: color-mix(in srgb, var(--g-accent) 14%, transparent); }
html[data-ha-theme="dark"] { --g-headbar-bg: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035)); --g-headbar-border: rgba(255, 255, 255, 0.08); }
@media (min-width: 768px) {
#main-wrapper#main-wrapper .topbar li.g-dock .g-mode-toggle { height: 30px; width: 58px; flex-basis: 58px; }
#main-wrapper#main-wrapper .topbar li.g-dock .g-mode-toggle::before { width: 22px; height: 22px; }
html[data-ha-theme="dark"] #main-wrapper#main-wrapper .topbar li.g-dock .g-mode-toggle::before { transform: translateX(28px); }
}
html:not([data-ha-theme="dark"]) { --g-headbar-bg: linear-gradient(90deg, color-mix(in srgb, var(--g-accent) 17%, transparent), color-mix(in srgb, var(--g-accent) 11%, transparent)); --g-headbar-border: color-mix(in srgb, var(--g-accent) 20%, transparent); }
html[data-ha-theme="dark"] { --g-headbar-bg: linear-gradient(90deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.055)); --g-headbar-border: rgba(255, 255, 255, 0.11); }
.g-mascot { position: relative; }
.g-mascot-d { display: none; }
html[data-ha-theme="dark"] .g-mascot-l { display: none; }
html[data-ha-theme="dark"] .g-mascot-d { display: block; }
.g-mascot-l, .g-mascot-d { width: 100%; height: 100%; }
.g-mascot-bubble {
  position: absolute;
  top: 2%;
  left: -6px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 14px 14px 14px 4px;
  background: linear-gradient(135deg, var(--g-grad-a), var(--g-grad-b));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 18px var(--g-glow);
  transform-origin: bottom left;
  animation: g-char-bubble 2.8s ease-in-out infinite;
}
@keyframes g-char-bubble {
  0%, 4%    { opacity: 0; transform: scale(0.6) translateY(6px); }
  10%, 52%  { opacity: 1; transform: scale(1) translateY(0); }
  62%, 100% { opacity: 0; transform: scale(0.85) translateY(4px); }
}
.g-hero .g-mascot { width: 200px; height: 260px; margin-top: -92px; justify-self: end; }
.g-auth-form .g-mascot { width: 128px; height: 166px; margin: 0 auto 6px; }
.g-auth-form .g-mascot .g-mascot-bubble { left: auto; right: -64px; top: 6%; border-radius: 14px 14px 14px 4px; }
@media (max-width: 767.98px) {
.g-hero .g-mascot { width: 118px; height: 154px; margin-top: -54px; }
.g-hero .g-mascot-bubble { font-size: 11px; padding: 4px 9px; left: -30px; }
.g-auth-form .g-mascot { width: 110px; height: 143px; }
}
@media (prefers-reduced-motion: reduce) {
.g-mascot-bubble { animation: none; opacity: 1; }
}
.g-auth-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.g-auth-form .g-auth-head h2 { margin: 0 0 6px; }
.g-auth-form .g-auth-head p { margin: 0; }
.g-peek {
  position: relative;
  flex: 0 0 116px;
  width: 116px;
  height: 104px;
  overflow: hidden;
  /* the ledge she hides behind */
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--g-accent-2), transparent) 1;
}
.g-peek .g-mascot {
  position: absolute !important;
  left: 6px;
  bottom: 0;
  width: 104px !important;
  height: 135px !important;
  margin: 0 !important;
  animation: g-peek 6s cubic-bezier(0.34, 1.3, 0.5, 1) infinite;
}
.g-peek .g-char-shadow { display: none; }
@keyframes g-peek {
  0%, 6%    { transform: translateY(100%); }
  16%, 70%  { transform: translateY(18%); }
  80%, 100% { transform: translateY(100%); }
}
.g-peek .g-mascot-bubble {
  left: auto;
  right: 72%;
  top: 6%;
  padding: 3px 9px;
  font-size: 11.5px;
  border-radius: 12px 12px 4px 12px;
  animation: g-peek-bubble 6s ease-in-out infinite;
}
.g-peek { overflow: visible; clip-path: inset(-40px -10px 0 -60px); }
@keyframes g-peek-bubble {
  0%, 18%   { opacity: 0; transform: scale(0.6); }
  24%, 64%  { opacity: 1; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(0.7); }
}
@media (max-width: 400px) {
.g-peek { flex-basis: 92px; width: 92px; height: 84px; }
.g-peek .g-mascot { width: 84px !important; height: 109px !important; }
}
@media (prefers-reduced-motion: reduce) {
.g-peek .g-mascot { animation: none; transform: translateY(18%); }
.g-peek .g-mascot-bubble { animation: none; opacity: 1; }
}
.g-brand-text { gap: 2px; }
.g-brand-name { font-size: 18px !important; font-weight: 700; letter-spacing: 0.01em; color: #fff; line-height: 1; }
.g-brand-sub {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(90deg, #ffd1d8, var(--g-accent-2) 45%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}
html[data-ha-theme="dark"] .g-brand-sub { background-image: linear-gradient(90deg, #e9d5ff, var(--g-accent-2) 45%, #ffffff); }
.g-auth-brand .g-brand-name { font-size: 20px !important; }
.g-auth-brand .g-brand-sub { font-size: 11px !important; }
.g-peek { height: 96px; }
.g-peek .g-mascot { width: 116px !important; height: 151px !important; left: 0; }
@keyframes g-peek {
  0%, 6%    { transform: translateY(100%); }
  16%, 70%  { transform: translateY(36%); }
  80%, 100% { transform: translateY(100%); }
}
.g-peek .g-mascot-bubble { right: 78%; top: 2%; }
@media (prefers-reduced-motion: reduce) {
.g-peek .g-mascot { transform: translateY(36%); }
}
.g-auth-form .g-peek .g-mascot .g-mascot-bubble { left: auto; right: 84%; top: 2%; }
.g-mascot-anim {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 18px rgba(30, 10, 20, 0.2));
}
@media (min-width: 768px) {
.g-hero .g-mascot { width: 110px; height: 172px; margin-top: -46px; }
}
@media (max-width: 767.98px) {
.g-hero .g-mascot { width: 82px; height: 128px; margin-top: -34px; }
}
.g-hero .g-mascot-bubble { left: auto; right: 78%; top: 4%; font-size: 11.5px; padding: 4px 10px; border-radius: 12px 12px 4px 12px; }
.g-peek { flex-basis: 92px; width: 92px; height: 78px; }
.g-peek .g-mascot { width: 92px !important; height: 128px !important; }
.g-auth-head { margin-bottom: 22px; }
.g-auth .g-input-icon { overflow: visible; transition: color 0.2s ease; }
.g-auth .g-input-icon * { transform-box: fill-box; }
.g-auth .g-field:focus-within .g-input-icon,
.g-auth .g-field.has-value .g-input-icon { color: var(--g-accent); }
.g-ico-mail .g-mail { transform-origin: center; }
.g-ico-mail .g-mail-flap { transform-origin: 50% 0%; }
.g-ico-mail .g-mail-dot { transform-origin: center; transform: scale(0); fill: var(--g-down); }
.g-ico-mail.is-play .g-mail { animation: g-mail-drop 0.6s cubic-bezier(0.34, 1.6, 0.5, 1); }
.g-ico-mail.is-play .g-mail-flap { animation: g-mail-flap 0.6s ease; }
.g-field:focus-within .g-ico-mail .g-mail-dot,
.g-field.has-value .g-ico-mail .g-mail-dot { animation: g-mail-dot 0.45s 0.35s cubic-bezier(0.34, 1.8, 0.5, 1) both; }
.g-ico-mail.is-type .g-mail { animation: g-mail-nudge 0.28s ease; }
@keyframes g-mail-drop {
  0%   { transform: translateY(-9px) scale(0.75) rotate(-12deg); opacity: 0; }
  55%  { transform: translateY(1.5px) scale(1.06) rotate(4deg); opacity: 1; }
  100% { transform: none; }
}
@keyframes g-mail-flap {
  0%, 35% { transform: scaleY(-1); }
  100% { transform: scaleY(1); }
}
@keyframes g-mail-dot { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes g-mail-nudge { 0%, 100% { transform: none; } 50% { transform: translateY(-1.5px) rotate(-6deg); } }
.g-ico-lock .g-lock-shackle { transform: translateY(-3.5px); transition: transform 0.35s cubic-bezier(0.34, 1.8, 0.5, 1); }
.g-ico-lock .g-lock-body { transform-origin: 50% 0%; }
.g-field:focus-within .g-ico-lock .g-lock-shackle,
.g-field.has-value .g-ico-lock .g-lock-shackle { transform: none; }
.g-ico-lock.is-play .g-lock-body { animation: g-lock-shake 0.45s 0.18s ease; }
.g-ico-lock.is-type .g-lock-body { animation: g-lock-tick 0.25s ease; }
@keyframes g-lock-shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(-4deg); }
}
@keyframes g-lock-tick { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
.g-ico-mail .g-mail, .g-ico-mail .g-mail-flap, .g-ico-mail .g-mail-dot,
  .g-ico-lock .g-lock-body { animation: none !important; }
.g-ico-lock .g-lock-shackle { transition: none; }
}
.g-auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--g-accent-soft);
  color: var(--g-accent);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.g-auth-eyebrow i { font-size: 11px; }
.g-grad-text {
  background: linear-gradient(90deg, var(--g-grad-a), var(--g-grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.g-auth-form .g-auth-head p { font-size: 14px; white-space: nowrap; }
.g-rotator {
  display: inline-grid;
  vertical-align: bottom;
  overflow: hidden;
  height: 1.45em;
  font-weight: 700;
}
.g-rotator > span {
  grid-area: 1 / 1;
  background: linear-gradient(90deg, var(--g-grad-a), var(--g-grad-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(100%);
  animation: g-rotate-word 7.5s cubic-bezier(0.34, 1.3, 0.5, 1) infinite;
}
.g-rotator > span:nth-child(2) { animation-delay: 2.5s; }
.g-rotator > span:nth-child(3) { animation-delay: 5s; }
@keyframes g-rotate-word {
  0%       { opacity: 0; transform: translateY(100%); }
  5%, 28%  { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-100%); }
}
@media (max-width: 400px) {
.g-auth-form .g-auth-head p { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
.g-rotator > span { animation: none; }
.g-rotator > span:first-child { opacity: 1; transform: none; }
}
@media (min-width: 992px) {
.g-auth { grid-template-columns: 1.45fr minmax(440px, 1fr); }
.g-auth-panel { padding: 22px 28px; }
}
.g-auth-form { max-width: 440px; }
.g-rotator { display: inline-block; position: relative; width: 4.6em; }
.g-rotator > span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.g-auth-form .g-auth-head p { line-height: 1.5; }
.g-rotator { vertical-align: top; height: 1.5em; line-height: 1.5; font-size: inherit; }
.g-rotator > span { line-height: inherit; font-size: inherit; }
@media (min-width: 992px) {
.g-auth { grid-template-columns: 1.1fr 1fr; }
.g-auth-panel { padding: 26px 40px; }
}
.g-auth-form { max-width: 470px; }
.g-auth .g-field input:-webkit-autofill,
.g-auth .g-field input:-webkit-autofill:hover,
.g-auth .g-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-primary) !important;
  caret-color: var(--text-primary);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-card-solid) inset !important;
  box-shadow: 0 0 0 1000px var(--surface-card-solid) inset !important;
  transition: background-color 9999s ease-out 0s;
}
.g-auth-top { align-items: center; justify-content: space-between; }
.g-auth-mini-brand { display: none; align-items: center; gap: 10px; }
.g-auth-mini-brand .g-brand-name { color: var(--text-primary); font-size: 17px !important; }
html:not([data-ha-theme="dark"]) .g-auth-mini-brand .g-brand-sub { background-image: linear-gradient(90deg, var(--g-grad-b), var(--g-grad-a)); }
@media (max-width: 991.98px) {
.g-auth-art { display: none !important; }
.g-auth { grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
.g-auth-panel { min-height: calc(100vh - 20px); }
.g-auth-mini-brand { display: inline-flex; }
}
@media (min-width: 992px) {
.g-auth-top { justify-content: flex-end; }
}
@media (max-width: 400px) {
.g-peek { flex-basis: 76px; width: 76px; height: 66px; }
.g-peek .g-mascot { width: 76px !important; height: 106px !important; }
.g-auth-form .g-auth-head p { font-size: 13px; white-space: nowrap; }
.g-auth-form .g-auth-head h2 { font-size: 26px; }
.g-rotator { width: 4.4em; }
}
#main-wrapper#main-wrapper .dataTables_wrapper table.table > :not(caption) > * > * {
  border: 0 !important;
  box-shadow: none !important;
}
html ::placeholder { color: var(--text-dim); opacity: 1; }
html:not([data-ha-theme="dark"]) ::placeholder { color: color-mix(in srgb, var(--text-muted) 70%, white); }
html input[type="checkbox"], html input[type="radio"] { accent-color: var(--g-accent); }






.g-mode-toggle.g-mode-3 { width: 92px; flex-basis: 92px; padding: 0 8px; }
.g-mode-toggle.g-mode-3 svg { width: 14px; height: 14px; }
.g-mode-toggle.g-mode-3 .g-leaf { color: var(--text-muted); }

html[data-ha-theme="dark"] .g-mode-toggle.g-mode-3::before { transform: translateX(58px); }


html[data-ha-theme="dark"] .g-mode-toggle.g-mode-3 .g-leaf { color: var(--text-muted); }
html body #main-wrapper#main-wrapper .topbar li.g-dock .g-mode-toggle.g-mode-3 { width: 86px; flex-basis: 86px; }

html[data-ha-theme="dark"] body #main-wrapper#main-wrapper .topbar li.g-dock .g-mode-toggle.g-mode-3::before { transform: translateX(56px); }
/* =========================================================================
   OUR THEME, NOT THE KIT'S (same mapping as genie-dashboard.css): light / html[data-ha-theme="dark"]
   from localStorage ha-theme, accent from the admin's Appearance palette (localStorage pk-palette).
   The login page does not load parking-admin.css, so the palette table is repeated here.
   ========================================================================= */
:root { --pk-g1: #7c3aed; --pk-g2: #4f46e5; --pk-g3: #0ea5e9; --pk-d1: #5b21b6; --pk-d2: #4338ca; --pk-glow: rgba(99, 102, 241, .6); }
html[data-pk-palette="ocean"] { --pk-g1: #0ea5e9; --pk-g2: #2563eb; --pk-g3: #06b6d4; --pk-d1: #075985; --pk-d2: #1d4ed8; --pk-glow: rgba(37, 99, 235, .55); }
html[data-pk-palette="emerald"] { --pk-g1: #10b981; --pk-g2: #0d9488; --pk-g3: #84cc16; --pk-d1: #065f46; --pk-d2: #0f766e; --pk-glow: rgba(13, 148, 136, .55); }
html[data-pk-palette="sunset"] { --pk-g1: #f97316; --pk-g2: #e11d48; --pk-g3: #f59e0b; --pk-d1: #9a3412; --pk-d2: #be123c; --pk-glow: rgba(225, 29, 72, .5); }
html[data-pk-palette="rose"] { --pk-g1: #ec4899; --pk-g2: #be185d; --pk-g3: #f472b6; --pk-d1: #9d174d; --pk-d2: #be185d; --pk-glow: rgba(190, 24, 93, .5); }
html[data-pk-palette="gold"] { --pk-g1: #f59e0b; --pk-g2: #b45309; --pk-g3: #eab308; --pk-d1: #92400e; --pk-d2: #a16207; --pk-glow: rgba(180, 83, 9, .5); }
html[data-pk-palette="graphite"] { --pk-g1: #4b5563; --pk-g2: #111827; --pk-g3: #6b7280; --pk-d1: #1f2937; --pk-d2: #111827; --pk-glow: rgba(17, 24, 39, .45); }
html:not([data-ha-theme="dark"]) {
  --g-shell: color-mix(in srgb, var(--pk-d1) 16%, #0a0a10);
  --g-shell-hover: color-mix(in srgb, var(--pk-d1) 34%, #14141c);
  --g-shell-text: color-mix(in srgb, var(--pk-g1) 22%, #a3a3b5);
  --g-panel: color-mix(in srgb, var(--pk-g1) 5%, #f8fafc);
  --g-panel-bg:
    radial-gradient(720px 480px at 94% 2%, color-mix(in srgb, var(--pk-g1) 24%, transparent), transparent 62%),
    radial-gradient(580px 440px at 52% 104%, color-mix(in srgb, var(--pk-g2) 13%, transparent), transparent 60%),
    radial-gradient(440px 340px at 22% 26%, color-mix(in srgb, var(--pk-g3) 14%, transparent), transparent 70%),
    color-mix(in srgb, var(--pk-g1) 5%, #f8fafc);
  --g-surface-solid: #ffffff;
  --g-ink: var(--pk-d1);
  --g-ink-2: var(--pk-g1);
  --g-ink-muted: color-mix(in srgb, var(--pk-g1) 14%, #ffffff);
  --g-accent: var(--pk-g2);
  --g-accent-2: var(--pk-g1);
  --g-accent-soft: color-mix(in srgb, var(--pk-g1) 11%, transparent);
  --g-grad-a: var(--pk-g1);
  --g-grad-b: var(--pk-g2);
  --g-glow: var(--pk-glow);
  --g-up: #059669;
  --g-down: #dc2626;
  --g-shadow: 0 1px 1px rgba(15, 23, 42, 0.04), 0 14px 34px color-mix(in srgb, var(--pk-d1) 10%, transparent);
  --g-art-bg:
    radial-gradient(600px 400px at 85% 10%, color-mix(in srgb, var(--pk-g1) 60%, transparent), transparent 60%),
    radial-gradient(520px 420px at 10% 95%, color-mix(in srgb, var(--pk-g2) 65%, transparent), transparent 60%),
    color-mix(in srgb, var(--pk-d1) 25%, #08080d);
  --bg-canvas: var(--g-shell);
  --surface-header: color-mix(in srgb, var(--pk-g1) 5%, #f8fafc);
  --border-slate: color-mix(in srgb, var(--pk-g1) 20%, transparent);
  --border-slate-subtle: color-mix(in srgb, var(--pk-g1) 11%, transparent);
  --border-accent: color-mix(in srgb, var(--pk-g1) 40%, transparent);
  --accent-primary: var(--pk-g1);
  --accent-primary-hover: var(--pk-g2);
  --accent-primary-glow: color-mix(in srgb, var(--pk-g1) 25%, transparent);
  --accent-indigo: var(--pk-g2);
  --accent-magenta: var(--pk-g1);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.18);
  --shadow-glow: 0 0 25px color-mix(in srgb, var(--pk-g1) 20%, transparent);
}
html[data-ha-theme="dark"] {
  --g-shell: #05070f;
  --g-shell-hover: #121936;
  --g-shell-text: #8f9bc4;
  --g-panel: #090e22;
  --g-panel-bg:
    radial-gradient(760px 520px at 96% 0%, color-mix(in srgb, var(--pk-g1) 14%, transparent), transparent 62%),
    radial-gradient(520px 420px at 40% 110%, color-mix(in srgb, var(--pk-g2) 9%, transparent), transparent 60%),
    #090e22;
  --g-surface: rgba(18, 25, 54, 0.72);
  --g-surface-2: rgba(29, 39, 72, 0.7);
  --g-surface-solid: #121936;
  --g-ink: var(--pk-d1);
  --g-ink-2: var(--pk-d2);
  --g-ink-muted: #cfd6f3;
  --g-accent: color-mix(in srgb, var(--pk-g1) 65%, #ffffff);
  --g-accent-2: color-mix(in srgb, var(--pk-g1) 35%, #ffffff);
  --g-accent-soft: color-mix(in srgb, var(--pk-g1) 14%, transparent);
  --g-grad-a: var(--pk-g1);
  --g-grad-b: var(--pk-g2);
  --g-glow: var(--pk-glow);
  --g-art-bg:
    radial-gradient(600px 400px at 85% 10%, color-mix(in srgb, var(--pk-g1) 40%, transparent), transparent 60%),
    radial-gradient(520px 420px at 10% 95%, color-mix(in srgb, var(--pk-g2) 50%, transparent), transparent 60%),
    #070a18;
  --bg-canvas: #05070f;
  --surface-header: #151d3d;
  --surface-input: #0e1530;
  --border-slate: #29345f;
  --border-slate-subtle: #1d2748;
  --border-accent: color-mix(in srgb, var(--pk-g1) 45%, transparent);
  --accent-primary: var(--pk-g1);
  --accent-primary-hover: var(--pk-g2);
  --accent-primary-glow: color-mix(in srgb, var(--pk-g1) 32%, transparent);
  --text-primary: #eef1fb;
  --text-secondary: #c4ccea;
  --text-muted: #8f9bc4;
  --text-dim: #6a769f;
}
html[data-ha-theme="dark"] .g-brand-sub { background-image: linear-gradient(90deg, #ffffff, var(--g-accent-2) 45%, #ffffff); }
/* login: inline errors / status */
.g-auth-alert { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; font-size: .84rem; line-height: 1.4; border: 1px solid; }
.g-auth-alert.is-bad { color: #b91c1c; background: rgba(220, 38, 38, .08); border-color: rgba(220, 38, 38, .25); }
.g-auth-alert.is-ok { color: #047857; background: rgba(5, 150, 105, .08); border-color: rgba(5, 150, 105, .25); }
html[data-ha-theme="dark"] .g-auth-alert.is-bad { color: #fda4af; background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .3); }
html[data-ha-theme="dark"] .g-auth-alert.is-ok { color: #6ee7b7; background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .3); }
.g-auth-alert ul { margin: 0; padding-left: 1.1rem; }
