/* =========================================================================
   AdminCN Design System v2 · marca Bullicio — CSS para PHP / HTML vainilla
   Base: shadcnstudio/shadcn-nextjs-admincn-admin-template-free@dd1afd2 (MIT)
   Marca: guía Bullicio v1.0 (28-nov-2026): violeta, lavanda, coral; Manrope, Figtree, JetBrains Mono.
   Uso: <link rel="stylesheet" href="assets/css/admincn.css">
   Tema oscuro: agrega la clase "dark" a <html>  (ver assets/js/admincn.js)
   ========================================================================= */
/* Fuentes de marca autoalojadas (assets/fonts, OFL, subconjunto latin), sin CDN */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/figtree-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2"); }

/* ---------- 1. Tokens: colores (tema claro) ---------- */
/* Violeta #534AB7 = acción principal. Tinta #1C1A33 = texto. Papel #FAFAFD = fondo.
   Coral (--spark) solo como detalle: un punto o aviso por pantalla. */
:root {
  --background: #FAFAFD;
  --foreground: #1C1A33;
  --card: #FFFFFF;
  --card-foreground: #1C1A33;
  --popover: #FFFFFF;
  --popover-foreground: #1C1A33;
  --primary: #534AB7;
  --primary-foreground: #FFFFFF;
  --secondary: #EEEDFE;
  --secondary-foreground: #534AB7;
  --muted: #F2F1F8;
  --muted-foreground: #5B5872;
  --accent: #EEEDFE;
  --accent-foreground: #1C1A33;
  --destructive: #B42318;
  --border: #E4E2EE;
  --input: #D9D6E6;
  --ring: #7F77DD;
  --chart-1: #534AB7;
  --chart-2: #7F77DD;
  --chart-3: #D85A30;
  --chart-4: #CECBF6;
  --chart-5: #5B5872;
  --sidebar: #FFFFFF;
  --sidebar-foreground: #1C1A33;
  --sidebar-primary: #EEEDFE;
  --sidebar-primary-foreground: #534AB7;
  --sidebar-accent: #F2F1F8;
  --sidebar-accent-foreground: #1C1A33;
  --sidebar-border: #E4E2EE;
  --sidebar-ring: #7F77DD;
  --green: #1F7A4D;
  --amber: #A15C07;
  --sky: #2563A8;
  --spark: #D85A30;
  --spark-text: #B4471F;
}

/* ---------- 2. Tokens: colores (tema oscuro) ---------- */
.dark {
  --background: #13112A;
  --foreground: #F1F0FA;
  --card: #1C1A33;
  --card-foreground: #F1F0FA;
  --popover: #1C1A33;
  --popover-foreground: #F1F0FA;
  --primary: #9D97EC;
  --primary-foreground: #1C1A33;
  --secondary: #2A2748;
  --secondary-foreground: #F1F0FA;
  --muted: #2A2748;
  --muted-foreground: #ABA8C6;
  --accent: #2A2748;
  --accent-foreground: #F1F0FA;
  --destructive: oklch(0.704 0.191 22.216);
  --border: rgb(255 255 255 / 10%);
  --input: rgb(255 255 255 / 15%);
  --ring: #7F77DD;
  --chart-1: #9D97EC;
  --chart-2: #CECBF6;
  --chart-3: #F0997B;
  --chart-4: #7F77DD;
  --chart-5: #ABA8C6;
  --sidebar: #18162E;
  --sidebar-foreground: #F1F0FA;
  --sidebar-primary: #2E2A57;
  --sidebar-primary-foreground: #CECBF6;
  --sidebar-accent: #24213F;
  --sidebar-accent-foreground: #F1F0FA;
  --sidebar-border: rgb(255 255 255 / 8%);
  --sidebar-ring: #7F77DD;
  --green: oklch(0.792 0.209 151.711);
  --amber: oklch(0.828 0.189 84.429);
  --sky: oklch(0.746 0.16 232.661);
  --spark: #F0997B;
  --spark-text: #F0997B;
  color-scheme: dark;
}

/* ---------- 3. Tokens: espaciado, radios, sombras, fuentes ---------- */
:root {
  --space-0\.5: 2px;
  --space-1: 4px;
  --space-1\.5: 6px;
  --space-2: 8px;
  --space-2\.5: 10px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.625rem;
  --radius-xl: 0.875rem;
  --radius-2xl: 1.125rem;
  --radius-3xl: 1.375rem;
  --radius-4xl: 1.625rem;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 0.625rem;
  --font-heading: Manrope, "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-sans: Figtree, "Avenir Next", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}

/* ---------- 4. Estilos de texto ---------- */
.text-stat { font-family: var(--font-heading); font-size: 24px; line-height: 32px; font-weight: 800; letter-spacing: -0.02em; }
.text-title-xl { font-family: var(--font-heading); font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -0.01em; }
.text-wordmark { font-family: var(--font-heading); font-size: 20px; line-height: 28px; font-weight: 800; }
.text-title-lg { font-family: var(--font-heading); font-size: 18px; line-height: 28px; font-weight: 700; }
.text-card-title { font-family: var(--font-heading); font-size: 16px; line-height: 24px; font-weight: 700; }
.text-body { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.text-body-medium { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; }
.text-label { font-family: var(--font-sans); font-size: 14px; line-height: 1; font-weight: 500; }
.text-caption { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 500; }
.text-mono { font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 400; }

/* ---------- 5. Base y componentes ---------- */
body { font-family: var(--font-sans); background: var(--background); color: var(--foreground); margin: 0; -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
[hidden] { display: none !important; }

/* Button */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; height: 36px; padding: 0 12px;
  border-radius: var(--radius-md); border: 1px solid transparent; background-clip: padding-box; font: 500 14px/20px var(--font-sans);
  white-space: nowrap; cursor: pointer; transition: all .15s; outline: none; user-select: none; color: inherit; background-color: transparent; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:focus-visible { border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn-default { background-color: var(--primary); color: var(--primary-foreground); }
.btn-default:hover { background-color: color-mix(in oklab, var(--primary) 80%, transparent); }
.btn-outline { border-color: var(--border); background-color: var(--background); box-shadow: var(--shadow-xs); }
.btn-outline:hover { background-color: var(--muted); color: var(--foreground); }
.dark .btn-outline { border-color: var(--input); background-color: color-mix(in oklab, var(--input) 30%, transparent); }
.dark .btn-outline:hover { background-color: color-mix(in oklab, var(--input) 50%, transparent); }
.btn-secondary { background-color: var(--secondary); color: var(--secondary-foreground); }
.btn-secondary:hover { background-color: color-mix(in oklch, var(--secondary), var(--foreground) 5%); }
.btn-ghost:hover { background-color: var(--muted); color: var(--foreground); }
.dark .btn-ghost:hover { background-color: color-mix(in oklab, var(--muted) 50%, transparent); }
.btn-destructive { background-color: color-mix(in oklab, var(--destructive) 10%, transparent); color: var(--destructive); }
.btn-destructive:hover { background-color: color-mix(in oklab, var(--destructive) 20%, transparent); }
.dark .btn-destructive { background-color: color-mix(in oklab, var(--destructive) 20%, transparent); }
.btn-link { color: var(--primary); text-underline-offset: 4px; }
.btn-link:hover { text-decoration: underline; }
.btn-xs { height: 24px; gap: 4px; padding: 0 8px; font-size: 12px; border-radius: min(var(--radius-md), 8px); }
.btn-xs svg { width: 12px; height: 12px; }
.btn-sm { height: 32px; gap: 4px; padding: 0 10px; border-radius: min(var(--radius-md), 10px); }
.btn-lg { height: 40px; padding: 0 16px; }
.btn-icon { width: 36px; padding: 0; }

/* Badge */
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 20px; width: fit-content; padding: 2px 8px;
  border-radius: var(--radius-4xl); border: 1px solid transparent; font: 500 12px/16px var(--font-sans); white-space: nowrap; overflow: hidden; }
.badge svg { width: 12px; height: 12px; }
.badge-default { background: var(--primary); color: var(--primary-foreground); }
.badge-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.badge-destructive { background: color-mix(in oklab, var(--destructive) 10%, transparent); color: var(--destructive); }
.dark .badge-destructive { background: color-mix(in oklab, var(--destructive) 20%, transparent); }
.badge-outline { border-color: var(--border); color: var(--foreground); }
.badge-success { background: color-mix(in oklab, var(--green) 10%, transparent); color: var(--green); }
.badge-warning { background: color-mix(in oklab, var(--amber) 10%, transparent); color: var(--amber); }
.badge-info { background: color-mix(in oklab, var(--sky) 10%, transparent); color: var(--sky); }

/* Card */
.card { --card-spacing: 24px; display: flex; flex-direction: column; gap: var(--card-spacing); padding: var(--card-spacing) 0; overflow: hidden;
  background: var(--card); color: var(--card-foreground); border-radius: var(--radius-xl); font-size: 14px; line-height: 20px;
  box-shadow: var(--shadow-xs), 0 0 0 1px color-mix(in oklab, var(--foreground) 10%, transparent); }
.card[data-size="sm"] { --card-spacing: 16px; }
.card-header { display: grid; gap: 4px; padding: 0 var(--card-spacing); }
.card-header:has(.card-action) { grid-template-columns: 1fr auto; }
.card-title { font: 700 16px/1.5 var(--font-heading); }
.card-description { color: var(--muted-foreground); font-size: 14px; }
.card-action { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
.card-content { padding: 0 var(--card-spacing); }
.card-footer { display: flex; align-items: center; padding: 0 var(--card-spacing); }
.card-footer.border-t { border-top: 1px solid var(--border); padding-top: var(--card-spacing); }

/* Label, Input, Textarea */
.label { display: flex; align-items: center; gap: 8px; font: 500 14px/1 var(--font-sans); user-select: none; }
.input, .textarea { width: 100%; min-width: 0; border: 1px solid var(--input); border-radius: var(--radius-md); background: transparent; color: var(--foreground);
  padding: 4px 10px; font: 400 14px/20px var(--font-sans); box-shadow: var(--shadow-xs); outline: none; transition: color .15s, box-shadow .15s; }
.input { height: 36px; }
.textarea { min-height: 64px; padding: 8px 10px; }
.input::placeholder, .textarea::placeholder { color: var(--muted-foreground); }
.input:focus-visible, .input.is-focus, .textarea:focus-visible { border-color: var(--ring); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent); }
.input[aria-invalid="true"] { border-color: var(--destructive); box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 20%, transparent); }
.input:disabled { opacity: .5; cursor: not-allowed; }
.dark .input, .dark .textarea { background: color-mix(in oklab, var(--input) 30%, transparent); }
.dark .input[aria-invalid="true"] { border-color: color-mix(in oklab, var(--destructive) 50%, transparent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--destructive) 40%, transparent); }

/* Alert */
.alert { position: relative; display: grid; gap: 2px; width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  font-size: 14px; line-height: 20px; background: var(--card); color: var(--card-foreground); }
.alert:has(> svg) { grid-template-columns: auto 1fr; column-gap: 10px; }
.alert > svg { width: 16px; height: 16px; grid-row: span 2; transform: translateY(2px); color: currentColor; }
.alert-title { font-weight: 500; grid-column: 2; }
.alert:not(:has(> svg)) .alert-title, .alert:not(:has(> svg)) .alert-description { grid-column: 1; }
.alert-description { color: var(--muted-foreground); grid-column: 2; }
.alert-destructive { color: var(--destructive); }
.alert-destructive .alert-description { color: color-mix(in oklab, var(--destructive) 90%, transparent); }

/* Tabs */
.tabs-list { display: inline-flex; width: fit-content; align-items: center; height: 36px; padding: 3px; border-radius: var(--radius-lg); background: var(--muted); color: var(--muted-foreground); }
.tabs-list.line { background: transparent; gap: 4px; border-radius: 0; }
.tab { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: calc(100% - 1px); padding: 4px 8px;
  border-radius: var(--radius-md); border: 1px solid transparent; font: 500 14px/20px var(--font-sans); white-space: nowrap; background: none; cursor: pointer;
  color: color-mix(in oklab, var(--foreground) 60%, transparent); }
.dark .tab { color: var(--muted-foreground); }
.tab:hover { color: var(--foreground); }
.tab[data-active] { background: var(--background); color: var(--foreground); box-shadow: var(--shadow-sm); }
.dark .tab[data-active] { border-color: var(--input); background: color-mix(in oklab, var(--input) 30%, transparent); }
.tabs-list.line .tab[data-active] { background: transparent; box-shadow: none; border-color: transparent; }
.tabs-list.line .tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--foreground); opacity: 0; }
.tabs-list.line .tab[data-active]::after { opacity: 1; }

/* Switch */
.switch { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; width: 32px; height: 18.4px; border-radius: 9999px;
  border: 1px solid transparent; box-shadow: var(--shadow-xs); background: var(--input); cursor: pointer; padding: 0; }
.dark .switch { background: color-mix(in oklab, var(--input) 80%, transparent); }
.switch[data-checked] { background: var(--primary); }
.switch-thumb { display: block; width: 16px; height: 16px; border-radius: 9999px; background: var(--background); transition: transform .15s; }
.dark .switch-thumb { background: var(--foreground); }
.switch[data-checked] .switch-thumb { transform: translateX(calc(100% - 2px)); }
.dark .switch[data-checked] .switch-thumb { background: var(--primary-foreground); }
.switch[data-size="sm"] { width: 24px; height: 14px; }
.switch[data-size="sm"] .switch-thumb { width: 12px; height: 12px; }

/* Checkbox */
.checkbox { position: relative; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 16px; height: 16px; padding: 0;
  border: 1px solid var(--input); border-radius: 4px; background: transparent; box-shadow: var(--shadow-xs); color: var(--primary-foreground); cursor: pointer; }
.dark .checkbox { background: color-mix(in oklab, var(--input) 30%, transparent); }
.checkbox svg { width: 14px; height: 14px; display: none; }
.checkbox[data-checked] { border-color: var(--primary); background: var(--primary); }
.checkbox[data-checked] svg { display: block; }

/* Avatar */
.avatar { position: relative; display: flex; flex-shrink: 0; width: 32px; height: 32px; border-radius: 9999px; user-select: none; }
.avatar::after { content: ""; position: absolute; inset: 0; border-radius: 9999px; border: 1px solid var(--border); mix-blend-mode: darken; }
.dark .avatar::after { mix-blend-mode: lighten; }
.avatar[data-size="lg"] { width: 40px; height: 40px; }
.avatar[data-size="sm"] { width: 24px; height: 24px; }
.avatar-image { width: 100%; height: 100%; border-radius: 9999px; object-fit: cover; }
.avatar-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 9999px;
  background: var(--muted); color: var(--muted-foreground); font-size: 14px; }
.avatar[data-size="sm"] .avatar-fallback { font-size: 12px; }
.avatar-group { display: flex; }
.avatar-group > .avatar { box-shadow: 0 0 0 2px var(--background); }
.avatar-group > * + * { margin-left: -8px; }
.avatar-badge { position: absolute; right: 0; bottom: 0; z-index: 1; width: 10px; height: 10px; border-radius: 9999px; background: var(--primary); box-shadow: 0 0 0 2px var(--background); }

/* Progress */
.progress { display: flex; flex-wrap: wrap; gap: 12px; }
.progress-label { font: 500 14px/20px var(--font-sans); }
.progress-value { margin-left: auto; color: var(--muted-foreground); font-size: 14px; font-variant-numeric: tabular-nums; }
.progress-track { position: relative; display: flex; align-items: center; width: 100%; height: 6px; overflow: hidden; border-radius: 9999px; background: var(--muted); }
.progress-indicator { height: 100%; background: var(--primary); }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.table thead tr, .table tbody tr { border-bottom: 1px solid var(--border); }
.table tbody tr:last-child { border-bottom: 0; }
.table tbody tr:hover { background: color-mix(in oklab, var(--muted) 50%, transparent); }
.table th { height: 40px; padding: 0 8px; text-align: left; vertical-align: middle; font-weight: 500; white-space: nowrap; color: var(--foreground); }
.table td { padding: 8px; vertical-align: middle; white-space: nowrap; }
.table caption { caption-side: bottom; margin-top: 16px; color: var(--muted-foreground); }

/* Utilities used by previews */
.muted { color: var(--muted-foreground); }
.mono { font-family: var(--font-mono); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.separator { height: 1px; width: 100%; background: var(--border); border: 0; margin: 0; }
.textarea { display: block; resize: vertical; }
.skeleton { background: var(--muted); border-radius: var(--radius-md); animation: admincn-pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes admincn-pulse { 50% { opacity: .5; } }
.field-error { font-size: 12px; line-height: 16px; color: var(--destructive); }
.field-hint { font-size: 12px; line-height: 16px; color: var(--muted-foreground); }
.text-success { color: var(--green); } .text-warning { color: var(--amber); } .text-info { color: var(--sky); } .text-destructive { color: var(--destructive); }

/* ---------- 6. Layout de panel (sidebar + header + contenido) ---------- */
.app { display: flex; min-height: 100vh; }
.app-sidebar { width: 256px; flex-shrink: 0; background: var(--sidebar); color: var(--sidebar-foreground); border-right: 1px solid var(--sidebar-border); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; font: 800 20px/28px var(--font-heading); color: inherit; text-decoration: none; }
.app-brand img { height: 22px; width: auto; }
.app-brand-product { padding-left: 10px; border-left: 1px solid var(--sidebar-border); font: 700 14px/20px var(--font-heading); color: var(--muted-foreground); white-space: nowrap; }
.app-brand .logo-dark { display: none; }
.dark .app-brand .logo-light { display: none; }
.dark .app-brand .logo-dark { display: block; }
.nav-label { padding: 12px 8px 4px; font: 500 12px/16px var(--font-sans); color: var(--muted-foreground); }
.nav-item { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px; border-radius: var(--radius-md); font: 500 14px/20px var(--font-sans); color: var(--sidebar-foreground); text-decoration: none; }
.nav-item svg { width: 16px; height: 16px; }
.nav-item:hover { background: var(--sidebar-accent); color: var(--sidebar-accent-foreground); }
.nav-item[aria-current="page"] { background: var(--sidebar-primary); color: var(--sidebar-primary-foreground); }
.app-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-header { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 24px; border-bottom: 1px solid var(--border); background: var(--background); position: sticky; top: 0; z-index: 10; }
.app-header .spacer { flex: 1; }
.app-main { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.page-title { font: 800 22px/30px var(--font-heading); letter-spacing: -0.02em; margin: 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .app-sidebar { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .app-main { padding: 16px; }
  .input, .textarea { font-size: 16px; } /* evita el zoom en iOS, como el original */
}

/* ---------- Extensiones del panel (v1.1) ---------- */
/* Pantallas sin sidebar: login, recuperar contraseña, errores. Un solo bloque centrado. */
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: var(--space-4); background: var(--background); }
.auth-shell > * { width: 100%; max-width: 400px; }
.auth-shell .card { gap: var(--space-4); }
/* Contenido de una columna angosta dentro de .app-main (ajustes, salud, formularios cortos). */
.page-narrow { width: 100%; max-width: 640px; margin-inline: auto; }
/* Estado vacío: tablas o listas sin registros. */
.empty { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); padding: var(--space-8) var(--space-4); text-align: center; color: var(--muted-foreground); border: 1px dashed var(--border); border-radius: var(--radius-xl); }
.empty-title { font: 700 16px/24px var(--font-heading); color: var(--foreground); }
.empty-description { font: 400 14px/20px var(--font-sans); }
/* Tabla con scroll horizontal en móvil. */
.table-wrap { overflow-x: auto; }
/* Etiqueta de un campo con error. */
.label-error { color: var(--destructive); }

/* ---------- Extensiones de marca Bullicio (v2) ---------- */
/* Punto coral: el único acento de la marca. Uno por pantalla (aviso nuevo, sin leer, en vivo). */
.dot { display: inline-block; flex-shrink: 0; width: 8px; height: 8px; border-radius: 9999px; background: var(--spark); }
.text-spark { color: var(--spark-text); }
/* Contador a la derecha de un .nav-item (ej. conversaciones sin leer). */
.nav-count { margin-left: auto; font: 500 12px/16px var(--font-mono); color: var(--muted-foreground); }
.nav-item[aria-current="page"] .nav-count { color: inherit; }
/* Cifras con ancho fijo (montos, folios) sin cambiar de familia. */
.tabular { font-variant-numeric: tabular-nums; }
/* Logo sobre pantallas sin sidebar (login, errores): logo horizontal + nombre del producto. */
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: var(--space-6); color: inherit; text-decoration: none; }
.auth-brand img { height: 26px; width: auto; }
.auth-brand .logo-dark, .dark .auth-brand .logo-light { display: none; }
.dark .auth-brand .logo-dark { display: block; }
.auth-brand .app-brand-product { border-left-color: var(--border); font-size: 15px; }
