/* ============================================================================
   Cyrah · sistema de diseño único para todas las superficies
   ----------------------------------------------------------------------------
   Se carga al final del <head> de la SPA, LibreChat, Bolt y el panel de
   administración. Define los mismos tokens, tipografía, superficies, controles
   y estados de foco en las cuatro aplicaciones para que se perciban como un
   solo producto. No cambia la estructura ni el layout de cada motor: ajusta
   color, ritmo, radios, elevación y accesibilidad.
   ========================================================================== */

:root {
  /* Marca */
  --cyrah-brand: #6d28d9;
  --cyrah-accent: #6d28d9;
  --cyrah-accent-hover: #5b21b6;
  --cyrah-accent-press: #4c1d95;
  --cyrah-accent-soft: #f3efff;
  --cyrah-accent-ring: rgba(109, 40, 217, 0.24);

  /* Superficies claras */
  --cyrah-canvas: #f6f7f9;
  --cyrah-surface: #ffffff;
  --cyrah-surface-2: #f2f4f7;
  --cyrah-surface-3: #e9edf3;
  --cyrah-ink: #12151c;
  --cyrah-ink-2: #3d4452;
  --cyrah-muted: #68707f;
  --cyrah-line: #e2e6ec;
  --cyrah-line-strong: #cdd4de;
  --cyrah-success: #16875d;
  --cyrah-warning: #b45309;
  --cyrah-danger: #c0394b;

  /* Tipografía y ritmo */
  --cyrah-font-sans: "Inter var", "Inter", "SF Pro Text", -apple-system,
    BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --cyrah-font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", ui-monospace,
    SFMono-Regular, Menlo, Consolas, monospace;
  --cyrah-radius-xs: 7px;
  --cyrah-radius-sm: 10px;
  --cyrah-radius-md: 14px;
  --cyrah-radius-lg: 20px;
  --cyrah-radius-pill: 999px;
  --cyrah-shadow-1: 0 1px 2px rgba(16, 18, 22, 0.05), 0 1px 3px rgba(16, 18, 22, 0.04);
  --cyrah-shadow-2: 0 6px 18px rgba(16, 18, 22, 0.07), 0 1px 3px rgba(16, 18, 22, 0.04);
  --cyrah-shadow-3: 0 24px 60px rgba(16, 18, 22, 0.14), 0 3px 10px rgba(16, 18, 22, 0.06);
  --cyrah-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-theme="dark"],
html.dark,
html[data-cyrah-theme="dark"] {
  --cyrah-canvas: #0b0e14;
  --cyrah-surface: #11151d;
  --cyrah-surface-2: #161b25;
  --cyrah-surface-3: #1d2431;
  --cyrah-ink: #e8ecf3;
  --cyrah-ink-2: #c3cad6;
  --cyrah-muted: #8d97a8;
  --cyrah-line: #242c39;
  --cyrah-line-strong: #333d4d;
  --cyrah-accent: #a78bfa;
  --cyrah-accent-hover: #c4b5fd;
  --cyrah-accent-press: #8b5cf6;
  --cyrah-accent-soft: rgba(139, 92, 246, 0.16);
  --cyrah-accent-ring: rgba(167, 139, 250, 0.3);
  --cyrah-success: #4ade9b;
  --cyrah-warning: #f0b35b;
  --cyrah-danger: #f2778a;
  --cyrah-shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --cyrah-shadow-2: 0 8px 24px rgba(0, 0, 0, 0.35);
  --cyrah-shadow-3: 0 28px 70px rgba(0, 0, 0, 0.55);
}

/* ── Base común ───────────────────────────────────────────────────────────── */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: light;
}
html[data-theme="dark"], html.dark { color-scheme: dark; }

body,
button,
input,
textarea,
select {
  font-family: var(--cyrah-font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

code, pre, kbd, samp, textarea[class*="mono"] {
  font-family: var(--cyrah-font-mono);
  font-variant-ligatures: none;
}

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.018em; text-wrap: balance; }
p, li, blockquote, dd { text-wrap: pretty; }

:where(a, button, [role="button"], input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyrah-accent);
  outline-offset: 2px;
  border-radius: var(--cyrah-radius-xs);
}

::selection { background: var(--cyrah-accent-ring); }

* {
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--cyrah-muted) 42%, transparent) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
  background-color: color-mix(in srgb, var(--cyrah-muted) 38%, transparent);
}
::-webkit-scrollbar-thumb:hover {
  background-color: color-mix(in srgb, var(--cyrah-muted) 58%, transparent);
}

[class*="token"], [class*="usage"], [class*="stat"], [class*="metric"], table {
  font-variant-numeric: tabular-nums;
}

/* ── Controles ────────────────────────────────────────────────────────────── */

:where(button, [role="button"], .btn) {
  transition: background-color 140ms var(--cyrah-ease),
    border-color 140ms var(--cyrah-ease), box-shadow 140ms var(--cyrah-ease),
    color 140ms var(--cyrah-ease), transform 100ms var(--cyrah-ease);
}
:where(button, [role="button"]):active:not(:disabled) { transform: translateY(0.5px); }

:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, select) {
  border-radius: var(--cyrah-radius-sm);
  transition: border-color 140ms var(--cyrah-ease), box-shadow 140ms var(--cyrah-ease);
}
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea):focus {
  border-color: var(--cyrah-accent);
  box-shadow: 0 0 0 3px var(--cyrah-accent-ring);
}

table { border-collapse: separate; border-spacing: 0; }

[role="dialog"], [role="alertdialog"], [class*="modal"], [class*="Modal"] {
  border-radius: var(--cyrah-radius-lg);
}
[role="menu"], [role="listbox"] {
  border-radius: var(--cyrah-radius-md);
}

/* ── LibreChat · tokens (tripletas RGB) ──────────────────────────────────── */

html:root {
  --accent-primary: 109 40 217;
  --accent-primary-hover: 91 33 182;
  --surface-primary: 255 255 255;
  --surface-primary-alt: 246 247 249;
  --surface-primary-contrast: 242 244 247;
  --surface-secondary: 246 247 249;
  --surface-secondary-alt: 233 237 243;
  --surface-tertiary: 242 244 247;
  --surface-tertiary-alt: 255 255 255;
  --surface-chat: 255 255 255;
  --surface-canvas: 246 247 249;
  --surface-sidebar: 249 250 252;
  --surface-dialog: 255 255 255;
  --surface-submit: 18 21 28;
  --surface-submit-hover: 45 51 63;
  --surface-card: 246 247 249;
  --surface-card-hover: 242 244 247;
  --surface-nav-hover: 233 237 243;
  --surface-nav-selected: 226 232 240;
  --border-light: 226 230 236;
  --border-medium: 205 212 222;
  --border-heavy: 178 187 200;
  --border-control: 205 212 222;
  --text-primary: 18 21 28;
  --text-secondary: 61 68 82;
  --text-muted: 104 112 127;
  --link: 91 33 182;
  --focus-control: 109 40 217;
}

html.dark:root,
html[data-theme="dark"]:root {
  --accent-primary: 167 139 250;
  --accent-primary-hover: 196 181 253;
  --surface-primary: 17 21 29;
  --surface-primary-alt: 11 14 20;
  --surface-primary-contrast: 22 27 37;
  --surface-secondary: 22 27 37;
  --surface-secondary-alt: 29 36 49;
  --surface-tertiary: 29 36 49;
  --surface-tertiary-alt: 29 36 49;
  --surface-chat: 17 21 29;
  --surface-canvas: 11 14 20;
  --surface-sidebar: 13 17 24;
  --surface-dialog: 22 27 37;
  --surface-submit: 232 236 243;
  --surface-submit-hover: 255 255 255;
  --surface-card: 22 27 37;
  --surface-card-hover: 29 36 49;
  --surface-nav-hover: 29 36 49;
  --surface-nav-selected: 36 44 57;
  --border-light: 36 44 57;
  --border-medium: 51 61 77;
  --border-heavy: 71 84 104;
  --border-control: 51 61 77;
  --text-primary: 232 236 243;
  --text-secondary: 195 202 214;
  --text-muted: 141 151 168;
  --link: 196 181 253;
  --focus-control: 167 139 250;
}

/* LibreChat: el formulario de acceso deja de ser una tira suelta y pasa a ser
   una tarjeta del mismo sistema que la entrada de Cyrah. */
main > .w-authPageWidth {
  padding: 34px !important;
  border: 1px solid var(--cyrah-line);
  border-radius: var(--cyrah-radius-lg);
  background: var(--cyrah-surface);
  box-shadow: var(--cyrah-shadow-2);
}
main > .w-authPageWidth :where(input:not([type="checkbox"])) {
  min-height: 48px;
  border-radius: var(--cyrah-radius-sm);
  border-color: var(--cyrah-line-strong);
  background: var(--cyrah-surface);
}
main > .w-authPageWidth :where(input:not([type="checkbox"])):focus {
  border-color: var(--cyrah-accent);
  box-shadow: 0 0 0 3px var(--cyrah-accent-ring);
}
main > .w-authPageWidth :where(button[type="submit"], .btn-primary) {
  min-height: 48px;
  border-radius: var(--cyrah-radius-sm);
  background: var(--cyrah-ink);
  color: var(--cyrah-surface);
  font-weight: 600;
}
main > .w-authPageWidth :where(button[type="submit"], .btn-primary):hover {
  background: var(--cyrah-ink-2);
}

/* LibreChat: la marca de acceso es la de Cyrah, no la del motor. */
body:has(.w-authPageWidth) div:has(> img[alt="LibreChat Logo"]) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
body:has(.w-authPageWidth) div:has(> img[alt="LibreChat Logo"]) > img { display: none; }
body:has(.w-authPageWidth) div:has(> img[alt="LibreChat Logo"])::before {
  content: "C";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--cyrah-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
body:has(.w-authPageWidth) div:has(> img[alt="LibreChat Logo"])::after {
  content: "Cyrah";
  color: var(--cyrah-ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* LibreChat: cabecera, sidebar, composer y burbujas con el mismo ritmo. */
[class*="bg-surface-primary"] { transition: background-color 160ms var(--cyrah-ease); }
[class*="text-text-primary"], [class*="text-text-secondary"] { letter-spacing: -0.005em; }
textarea { line-height: 1.65; }
[class*="markdown"] { line-height: 1.68; }
[class*="markdown"] > * + * { margin-top: 0.72em; }

/* ── Bolt · tokens ────────────────────────────────────────────────────────── */

:root[data-theme="light"], :root:not([data-theme]) {
  --bolt-elements-borderColor: rgba(18, 21, 28, 0.1);
  --bolt-elements-borderColorActive: #6d28d9;
  --bolt-elements-bg-depth-1: #ffffff;
  --bolt-elements-bg-depth-2: #f6f7f9;
  --bolt-elements-bg-depth-3: #e9edf3;
  --bolt-elements-bg-depth-4: rgba(18, 21, 28, 0.04);
  --bolt-elements-textPrimary: #12151c;
  --bolt-elements-textSecondary: #3d4452;
  --bolt-elements-textTertiary: #68707f;
  --bolt-elements-code-background: #f2f4f7;
  --bolt-elements-code-text: #12151c;
  --bolt-elements-button-primary-background: rgba(109, 40, 217, 0.1);
  --bolt-elements-button-primary-backgroundHover: rgba(109, 40, 217, 0.18);
  --bolt-elements-button-primary-text: #5b21b6;
  --bolt-elements-button-secondary-background: rgba(18, 21, 28, 0.05);
  --bolt-elements-button-secondary-backgroundHover: rgba(18, 21, 28, 0.1);
  --bolt-elements-button-secondary-text: #12151c;
  --bolt-elements-item-contentDefault: rgba(18, 21, 28, 0.55);
  --bolt-elements-item-contentActive: #12151c;
  --bolt-elements-item-contentAccent: #5b21b6;
  --bolt-elements-item-backgroundActive: rgba(18, 21, 28, 0.06);
  --bolt-elements-item-backgroundAccent: rgba(109, 40, 217, 0.1);
  --bolt-elements-dividerColor: #e2e6ec;
  --bolt-elements-messages-background: #f2f4f7;
  --bolt-elements-messages-linkColor: #5b21b6;
  --bolt-elements-prompt-background: rgba(255, 255, 255, 0.85);
  --bolt-elements-sidebar-dropdownShadow: rgba(18, 21, 28, 0.08);
  --bolt-elements-sidebar-buttonBackgroundDefault: rgba(109, 40, 217, 0.1);
  --bolt-elements-sidebar-buttonBackgroundHover: rgba(109, 40, 217, 0.18);
  --bolt-elements-sidebar-buttonText: #5b21b6;
  --bolt-elements-cta-background: #f2f4f7;
  --bolt-elements-cta-text: #12151c;
}

:root[data-theme="dark"] {
  --bolt-elements-borderColor: rgba(232, 236, 243, 0.12);
  --bolt-elements-borderColorActive: #a78bfa;
  --bolt-elements-bg-depth-1: #0d1117;
  --bolt-elements-bg-depth-2: #11151d;
  --bolt-elements-bg-depth-3: #1d2431;
  --bolt-elements-bg-depth-4: rgba(232, 236, 243, 0.06);
  --bolt-elements-textPrimary: #e8ecf3;
  --bolt-elements-textSecondary: #c3cad6;
  --bolt-elements-textTertiary: #8d97a8;
  --bolt-elements-code-background: #161b25;
  --bolt-elements-code-text: #e8ecf3;
  --bolt-elements-button-primary-background: rgba(167, 139, 250, 0.16);
  --bolt-elements-button-primary-backgroundHover: rgba(167, 139, 250, 0.26);
  --bolt-elements-button-primary-text: #c4b5fd;
  --bolt-elements-button-secondary-background: rgba(232, 236, 243, 0.08);
  --bolt-elements-button-secondary-backgroundHover: rgba(232, 236, 243, 0.14);
  --bolt-elements-button-secondary-text: #e8ecf3;
  --bolt-elements-item-contentDefault: rgba(232, 236, 243, 0.6);
  --bolt-elements-item-contentActive: #e8ecf3;
  --bolt-elements-item-contentAccent: #c4b5fd;
  --bolt-elements-item-backgroundActive: rgba(232, 236, 243, 0.08);
  --bolt-elements-item-backgroundAccent: rgba(167, 139, 250, 0.16);
  --bolt-elements-dividerColor: #242c39;
  --bolt-elements-messages-background: #161b25;
  --bolt-elements-messages-linkColor: #c4b5fd;
  --bolt-elements-prompt-background: rgba(17, 21, 29, 0.85);
  --bolt-elements-sidebar-dropdownShadow: rgba(0, 0, 0, 0.4);
  --bolt-elements-sidebar-buttonBackgroundDefault: rgba(167, 139, 250, 0.16);
  --bolt-elements-sidebar-buttonBackgroundHover: rgba(167, 139, 250, 0.26);
  --bolt-elements-sidebar-buttonText: #c4b5fd;
  --bolt-elements-cta-background: #161b25;
  --bolt-elements-cta-text: #e8ecf3;
}

/* Bolt: el onboarding usa la misma tarjeta, radios y acento que Cyrah. */
[class*="bg-bolt-elements-background-depth-1"] { background-color: var(--bolt-elements-bg-depth-1); }
:where([class*="rounded-"], [role="dialog"]) { border-color: var(--bolt-elements-borderColor); }

/* ── SPA Cyrah · entrada ─────────────────────────────────────────────────── */

/* La SPA define su pantalla de acceso en src/styles/cyrah-workspace.css.
   Este archivo no duplica esos tokens ni reglas para que no compitan con el
   diseño propio de la entrada (fondo, tarjeta, controles y estados). */

/* ── Panel de administración ─────────────────────────────────────────────── */

/* El acceso del panel usa la misma tarjeta, marca y controles que la SPA. */
.auth-card {
  padding: 32px !important;
  border: 1px solid var(--cyrah-line) !important;
  border-radius: var(--cyrah-radius-lg) !important;
  background: var(--cyrah-surface) !important;
  box-shadow: var(--cyrah-shadow-3) !important;
}
.auth-card h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2px;
  font-size: 0 !important;
}
.auth-card h1::before {
  content: "C";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cyrah-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.auth-card h1::after {
  content: "Cyrah Admin";
  color: var(--cyrah-ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.auth-card [data-testid="container"] { gap: 16px !important; }
.auth-card [class*="input__"] {
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--cyrah-line-strong);
  border-radius: var(--cyrah-radius-sm);
  background: var(--cyrah-surface);
  color: var(--cyrah-ink);
  font-size: 14px;
}
.auth-card [class*="input__"]:focus {
  border-color: var(--cyrah-accent);
  box-shadow: 0 0 0 3px var(--cyrah-accent-ring);
  outline: none;
}
.auth-card label[class*="label__"] {
  color: var(--cyrah-muted);
  font-size: 12.5px;
  font-weight: 600;
}
.auth-card [class*="button_primary__"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--cyrah-accent);
  border-radius: var(--cyrah-radius-sm);
  background: var(--cyrah-accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(16, 18, 22, 0.08);
}
.auth-card [class*="button_primary__"]:hover { background: var(--cyrah-accent-hover); }
.auth-card [class*="button_secondary__"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--cyrah-line-strong);
  border-radius: var(--cyrah-radius-sm);
  background: var(--cyrah-surface);
  color: var(--cyrah-ink);
  font-weight: 600;
}
.auth-card [class*="button_secondary__"]:hover { background: var(--cyrah-surface-2); }

body { background-color: var(--cyrah-canvas); }
[class*="bg-white"] { background-color: var(--cyrah-surface); }
[class*="bg-gray-50"] { background-color: var(--cyrah-surface-2); }
[class*="border-gray-200"] { border-color: var(--cyrah-line); }
[class*="text-gray-900"] { color: var(--cyrah-ink); }
[class*="text-gray-500"], [class*="text-gray-600"] { color: var(--cyrah-muted); }
[class*="rounded-lg"] { border-radius: var(--cyrah-radius-sm); }
[class*="rounded-xl"] { border-radius: var(--cyrah-radius-md); }
table { font-size: 13px; }
thead th {
  background: var(--cyrah-surface-2);
  color: var(--cyrah-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
tbody tr { border-bottom: 1px solid var(--cyrah-line); }
tbody tr:hover { background: var(--cyrah-surface-2); }

/* ── Navegación entre superficies ────────────────────────────────────────── */

#cyrah-surface-nav {
  position: fixed;
  inset-block-end: calc(16px + env(safe-area-inset-bottom, 0px));
  inset-inline-start: 16px;
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border: 1px solid color-mix(in srgb, var(--cyrah-line) 82%, transparent);
  border-radius: var(--cyrah-radius-pill);
  background: color-mix(in srgb, var(--cyrah-surface) 88%, transparent);
  color: var(--cyrah-ink);
  box-shadow: var(--cyrah-shadow-2);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  font: 600 12.5px/1 var(--cyrah-font-sans);
  opacity: 0.72;
  transition: opacity 160ms var(--cyrah-ease), box-shadow 160ms var(--cyrah-ease);
}
#cyrah-surface-nav:hover,
#cyrah-surface-nav:focus-within { opacity: 1; box-shadow: var(--cyrah-shadow-3); }
#cyrah-surface-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: var(--cyrah-radius-pill);
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.82;
  transition: background-color 140ms var(--cyrah-ease), opacity 140ms var(--cyrah-ease);
}
#cyrah-surface-nav a:hover { background: var(--cyrah-surface-3); opacity: 1; }
#cyrah-surface-nav a:focus-visible { outline: 2px solid var(--cyrah-accent); outline-offset: 1px; opacity: 1; }
#cyrah-surface-nav a[data-active="true"] {
  background: var(--cyrah-accent);
  color: #fff;
  opacity: 1;
  box-shadow: 0 1px 2px rgba(16, 18, 22, 0.18);
}
#cyrah-surface-nav a[data-active="true"] svg { opacity: 1; }
#cyrah-surface-nav svg { width: 15px; height: 15px; opacity: 0.75; }
#cyrah-surface-nav .cyrah-nav-brand[data-active="true"] {
  background: transparent;
  color: inherit;
  box-shadow: none;
}
#cyrah-surface-nav .cyrah-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: var(--cyrah-radius-pill);
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.72;
  transition: background-color 140ms var(--cyrah-ease), opacity 140ms var(--cyrah-ease);
}
#cyrah-surface-nav .cyrah-nav-toggle:hover { background: var(--cyrah-surface-3); opacity: 1; }
#cyrah-surface-nav .cyrah-nav-toggle svg { opacity: 1; }
#cyrah-surface-nav .cyrah-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px 0 7px;
  color: inherit;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
#cyrah-surface-nav .cyrah-nav-brand::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--cyrah-brand);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
@media (max-width: 560px) {
  #cyrah-surface-nav { inset-inline-start: 10px; inset-block-end: calc(10px + env(safe-area-inset-bottom, 0px)); }
  #cyrah-surface-nav a { padding: 0 8px; font-size: 12px; }
  #cyrah-surface-nav .cyrah-nav-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #cyrah-surface-nav, #cyrah-surface-nav a { transition: none; }
}

/* ── Accesibilidad ───────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
