/* ==========================================================================
   ANNASTACIA BEAUTY GROUP — Capa Visual "Atelier Spatial 2027" (V3)
   Alcance: exclusivamente interfaz administrativa/operativa (`body.app-shell`)
   y acceso (`body.login-body`). Las páginas públicas y pases Wallet no usan
   estas clases de `<body>` y permanecen aislados.
   100 % CSS · Cero cambios de rutas, funciones, lógica o colores de estatus.
   ========================================================================== */

body.app-shell,
body.login-body {
  --abg-canvas: #f2eaf1;
  --abg-surface: #ffffff;
  --abg-surface-soft: #faf6fa;
  --abg-surface-strong: #f0e6ee;
  --abg-ink: #160e20;
  --abg-ink-soft: #5b4d66;
  --abg-accent: #a6144c;
  --abg-accent-hover: #7d0d38;
  --abg-accent-soft: #fadbe8;
  --abg-accent-wash: #fff0f6;
  --abg-border: #e8dce5;
  --abg-border-strong: #937d8e;
  --abg-focus: #681038;
  --abg-radius-sm: 14px;
  --abg-radius-md: 20px;
  --abg-radius-lg: 28px;
  --abg-shadow: 0 4px 12px rgba(28, 8, 22, 0.04), 0 20px 48px -12px rgba(42, 10, 30, 0.09);
  --abg-shadow-menu: 0 24px 56px rgba(22, 6, 18, 0.24);
  -webkit-font-smoothing: antialiased;
}

html:has(> body.app-shell),
body.app-shell,
body.app-shell:has(.servicios-catalogo),
body.app-shell:has(.empleados-directorio),
body.app-shell:has(.ventas-directorio),
body.app-shell:has(.graficas-pagina) {
  background:
    radial-gradient(ellipse 68% 34rem at 14% -6rem, rgba(232, 152, 190, 0.36), transparent),
    radial-gradient(ellipse 62% 30rem at 88% -4rem, rgba(196, 158, 218, 0.26), transparent),
    radial-gradient(circle at 50% 48%, rgba(255, 245, 250, 0.72), transparent 46rem),
    linear-gradient(180deg, #f4ecf2 0%, #ece5ef 100%);
  color: var(--abg-ink);
}

body.app-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0;
  box-sizing: border-box;
}

body.app-shell:has(> .topbar) {
  padding: 8px 0 10px;
}

/* ==========================================================================
   1. ACCESO (/login) — ATELIER SPATIAL
   ========================================================================== */
html:has(> body.login-body),
body.login-body {
  background:
    radial-gradient(ellipse 65% 36rem at 18% 12%, rgba(226, 82, 146, 0.34), transparent),
    radial-gradient(ellipse 60% 34rem at 84% 88%, rgba(138, 24, 78, 0.32), transparent),
    linear-gradient(145deg, #210614 0%, #4b0d2c 48%, #7d1546 100%) !important;
}

body.login-body .login-card {
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 30px !important;
  padding: 2.5rem 2.35rem 2.15rem !important;
  box-shadow:
    0 34px 90px rgba(12, 3, 9, 0.48),
    inset 0 4px 0 #c81d5e !important;
}

body.login-body .login-marca__nombre {
  letter-spacing: 0.14em !important;
  font-weight: 900 !important;
  color: #2b0719 !important;
}

body.login-body .login-form input {
  background: #f8f4f9 !important;
  border: 1px solid #dfd1dc !important;
  border-radius: 14px !important;
  min-height: 46px !important;
}

body.login-body .login-boton {
  border-radius: 999px !important;
  min-height: 48px !important;
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 24px rgba(158, 20, 78, 0.32) !important;
}

/* ==========================================================================
   2. COMMAND DOCK FLOTANTE EN CRISTAL OBSIDIANA-CIRUELA (.topbar)
   ========================================================================== */
body.app-shell .topbar {
  box-sizing: border-box;
  width: calc(100% - 20px);
  margin: 0 10px 8px;
  min-height: 54px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 232, 0.24);
  background:
    radial-gradient(circle at 18% 0%, rgba(214, 52, 118, 0.28), transparent 42%),
    linear-gradient(135deg, rgba(28, 7, 20, 0.96) 0%, rgba(58, 12, 37, 0.95) 52%, rgba(34, 9, 25, 0.97) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 16px 38px -10px rgba(32, 6, 22, 0.42),
    0 2px 8px rgba(20, 4, 14, 0.20),
    inset 0 1px 0 rgba(255, 228, 240, 0.22);
}

@media (min-width: 1081px) {
  body.app-shell .menu {
    gap: 3px;
  }

  body.app-shell .nav-agenda .nav-trigger__label {
    max-width: 195px;
  }

  body.app-shell .nav-link,
  body.app-shell .nav-trigger {
    min-height: 40px;
    border-radius: 999px;
    color: rgba(255, 248, 252, 0.96);
    font-size: 0.79rem;
    font-weight: 700;
    padding: 0.4rem 0.56rem;
    letter-spacing: -0.005em;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  }
}

@media (min-width: 1280px) {
  body.app-shell .nav-link,
  body.app-shell .nav-trigger {
    font-size: 0.84rem;
    padding: 0.42rem 0.72rem;
  }
}

@media (min-width: 1540px) {
  body.app-shell .menu {
    gap: 5px;
  }

  body.app-shell .nav-agenda .nav-trigger__label,
  body.app-shell .nav-account .nav-trigger__label {
    max-width: none;
  }

  body.app-shell .nav-account > .nav-trigger {
    max-width: none;
  }

  body.app-shell .nav-link,
  body.app-shell .nav-trigger {
    font-size: 0.89rem;
    padding: 0.44rem 0.86rem;
  }
}

body.app-shell .nav-link,
body.app-shell .nav-trigger {
  color: rgba(255, 248, 252, 0.96);
  border-radius: 999px;
}

body.app-shell .nav-chevron {
  font-size: 0.85em;
  opacity: 0.92;
}

body.app-shell .nav-link:hover,
body.app-shell .nav-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.app-shell .nav-link:focus-visible,
body.app-shell .nav-trigger:focus-visible,
body.app-shell .nav-menu-toggle:focus-visible {
  outline: 3px solid #ff9ec7;
  outline-offset: 2px;
}

body.app-shell .nav-dropdown.is-current > .nav-trigger,
body.app-shell .nav-link.is-current {
  background: linear-gradient(135deg, #df1f6d 0%, #a5124c 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow:
    0 6px 18px rgba(223, 31, 109, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

body.app-shell .nav-attention:not(.is-current) > .nav-trigger {
  background: rgba(255, 122, 178, 0.16);
  color: #ffc2dc;
  box-shadow: inset 0 0 0 1px rgba(255, 158, 199, 0.36);
}

body.app-shell .nav-badge--lista-espera {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.45);
}

body.app-shell .nav-account > .nav-trigger {
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

body.app-shell .nav-dropdown-menu {
  border-radius: 18px;
  border: 1px solid #eadbe5;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 46px rgba(26, 6, 18, 0.22);
}

body.app-shell .nav-dropdown-menu a,
body.app-shell .nav-dropdown-menu form button {
  border-radius: 12px;
  color: #26162e;
  font-weight: 650;
}

body.app-shell .nav-dropdown-menu a:hover,
body.app-shell .nav-dropdown-menu form button:hover,
body.app-shell .nav-dropdown-menu a[aria-current="page"] {
  background: #fde8f2;
  color: #8c1142;
}

@media (max-width: 1080px) {
  body.app-shell .topbar {
    width: calc(100% - 20px);
    margin: 0 10px 8px;
    border-radius: 24px;
    padding: 0.45rem 0.65rem;
  }

  body.app-shell .topbar[data-nav-enhanced="true"] .nav-menu-toggle {
    background: linear-gradient(135deg, #df1f6d 0%, #a5124c 100%);
    border-color: rgba(255, 220, 236, 0.45);
    color: #ffffff;
  }

  body.app-shell .menu {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
  }

  body.app-shell .nav-dropdown-menu {
    background: rgba(255, 255, 255, 0.96);
  }
}

/* ==========================================================================
   3. PRIMITIVAS COMPARTIDAS Y APROVECHAMIENTO 100 % DE PANTALLA
   ========================================================================== */
body.app-shell > .page-head {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 4px;
  padding: 4px 18px 2px;
  color: #24132e;
}

body.app-shell > .aviso-recordatorios {
  box-sizing: border-box;
  width: calc(100% - 20px);
  max-width: none;
  margin: 0 10px 8px;
}

body.app-shell > main.container,
body.app-shell > main.container.container--ancho,
body.app-shell:has(.empleados-directorio) > .container,
body.app-shell:has(.ventas-directorio) > .container,
body.app-shell:has(.graficas-pagina) > .container,
body.app-shell:has(.servicios-catalogo) > .container,
body.app-shell:has(.checador-panel--prioridad) > .container,
body.app-shell:has(.faltas-panel--revision) > .container,
body.app-shell:has(.faltas-confirmadas) > .container,
body.app-shell:has(.faltas-formulario--guiado) > .container,
body.app-shell:has(.faltas-caso--guiado) > .container,
body.app-shell:has(.reporte-asistencia--prioridad) > .container,
body.app-shell:has(.sat2-reporte) > .container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

body.app-shell .form-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.app-shell > main.container > .card.ancho,
body.app-shell > main.container > .card.form-card:last-child,
body.app-shell > main.container > .card:last-child,
body.app-shell > main.container > .ui.segment:last-child,
body.app-shell > main.container > .table-responsive:last-child {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.app-shell .sucursales-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

body.app-shell .sucursal-card {
  border-radius: 24px;
  border: 1px solid #e7dbe5;
  background: #ffffff;
  padding: 22px 24px;
  box-shadow: 0 14px 34px -12px rgba(36, 10, 26, 0.09);
}

body.app-shell > main.container > .card[style*="max-width"] {
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
}

body.app-shell > main.container > form.card[style*="max-width"]:last-child,
body.app-shell > main.container > section.card[style*="max-width"]:last-child {
  flex: 1 1 auto;
}

body.app-shell > .page-head h1 {
  font-size: 1.55rem;
  font-weight: 850;
  letter-spacing: -0.028em;
  color: #1c1028;
}

body.app-shell .ui.segment:not(.agenda-shell):not(.recuperacion-agenda-aviso) {
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 1.35rem 1.5rem;
  box-shadow:
    0 18px 46px -14px rgba(42, 10, 30, 0.10),
    0 2px 8px rgba(32, 8, 22, 0.04);
}

body.app-shell .card,
body.app-shell .rep-card,
body.app-shell .corte-kpi,
body.app-shell .atencion-hoy__kpi {
  background: #ffffff;
  border: 1px solid #e7dae4;
  border-radius: 22px;
  box-shadow: 0 12px 30px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell .rc__kpi {
  border-radius: 22px;
  box-shadow: 0 12px 30px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell table.grid {
  border-radius: 20px;
  border: 1px solid #e7dbe5;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell table.grid thead th,
body.app-shell table.grid.reporte thead th,
body.app-shell .table-wrap table thead th,
body.app-shell .table-responsive table thead th,
body.app-shell .atencion-hoy__tabla thead th,
body.app-shell .rc__tabla thead th,
body.app-shell .aus-tablero table thead th,
body.app-shell .caja-tabla thead th,
body.app-shell .ventas-tabla thead th,
body.app-shell .cmp-tabla thead th,
body.app-shell .exp360-tabla thead th,
body.app-shell .duplicadas-tabla thead th,
body.app-shell .cliente-expediente table thead th,
body.app-shell .clientas-importar table thead th,
body.app-shell .checador-tabla thead th,
body.app-shell .auditoria-pagina table thead th,
body.app-shell .reporte-asistencia table thead th,
body.app-shell .sat2-reporte table thead th {
  background: #2b0a1c;
  color: #fff8fc;
  border-bottom: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.app-shell table:not(.agenda_citas) thead th a,
body.app-shell table:not(.agenda_citas) thead th button,
body.app-shell table:not(.agenda_citas) thead th small {
  color: #fff8fc;
  font-size: 0.76rem;
}

body.app-shell table.grid td,
body.app-shell table.grid.reporte td {
  font-size: 0.86rem;
  color: #190f24;
  line-height: 1.42;
}

body.app-shell table.grid tbody tr:nth-child(even),
body.app-shell .ventas-fila:nth-child(even),
body.app-shell .clienta-fila:nth-child(even) {
  background: #fcf8fb;
}

body.app-shell table.grid tbody tr:hover,
body.app-shell table.grid.reporte tbody tr:hover,
body.app-shell table.grid.reporte tbody tr:hover > td:first-child,
body.app-shell table.grid.reporte tbody tr:hover td:first-child {
  background: #fdf2f8;
}

/* Contraste WCAG AA garantizado en textos secundarios, importes y placeholders */
body.app-shell .ms-placeholder {
  color: #4a3a56 !important;
  font-weight: 650;
}

body.app-shell .monto {
  color: #0f683e !important;
  font-weight: 800;
}

body.app-shell .muted,
body.app-shell small.muted,
body.app-shell #servicios-fieldset .muted,
body.app-shell .ayuda-sesiones,
body.app-shell .gift-vacio,
body.app-shell .checador-panel small,
body.app-shell .checador-kiosco small,
body.app-shell .caja-tabla small,
body.app-shell .ventas-directorio small,
body.app-shell .cmp-subtexto,
body.app-shell .cmp-tabla small,
body.app-shell .cmp-kpi small,
body.app-shell .cmp-puente-pasos dd small,
body.app-shell .cmp-subtabla td small,
body.app-shell .asistencia-filtros__ayuda,
body.app-shell .auditoria-evento__privacidad,
body.app-shell .growth-empty {
  color: #4a3a56;
  font-size: 0.82rem;
  line-height: 1.45;
}

body.app-shell .periodos__opcion.es-activo,
body.app-shell .periodos__opcion[aria-current] {
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%) !important;
  border-color: #4b0b2b !important;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 999px;
}

body.app-shell .ayuda-sesiones strong,
body.app-shell small.muted strong {
  color: #1c1028;
  font-size: inherit;
}

/* Jerarquía clara de botones: Acción primaria vs. Cancelar / Secundaria */
body.app-shell .btn,
body.app-shell .ui.button:not(.btn-mover-columna):not(.btn-quitar-columna):not(.btn-mostrar-columna) {
  border-radius: 999px;
}

body.app-shell .btn:where(:not(.green):not(.gris):not(.secondary):not(.basic)) {
  background: linear-gradient(135deg, #570d31 0%, #b81959 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(152, 18, 76, 0.24);
}

body.app-shell .btn.green {
  background: linear-gradient(135deg, #0d6839 0%, #15803d 100%);
  color: #ffffff;
  border: 1px solid #0d6839;
  font-weight: 800;
  min-height: 44px;
  padding: 0.65rem 1.45rem;
  box-shadow: 0 8px 18px rgba(15, 104, 57, 0.24);
}

body.app-shell .btn.gris,
body.app-shell .btn.secondary,
body.app-shell .btn.basic,
body.app-shell .btn.green + a.btn,
body.app-shell button.btn + a.btn,
body.app-shell .form-actions a.btn {
  background: #ffffff;
  color: #541234;
  border: 1.5px solid #cbb4c6;
  font-weight: 750;
  min-height: 44px;
  padding: 0.62rem 1.35rem;
  box-shadow: 0 2px 6px rgba(28, 8, 22, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.app-shell .btn.gris:hover,
body.app-shell .btn.secondary:hover,
body.app-shell .btn.basic:hover,
body.app-shell .btn.green + a.btn:hover,
body.app-shell button.btn + a.btn:hover,
body.app-shell .form-actions a.btn:hover {
  background: #fdf2f8;
  border-color: #a6144c;
  color: #6e0e3a;
  filter: none;
}

/* Campos y formularios nítidos, legibles y proporcionados */
body.app-shell label {
  color: #1b1026;
  font-size: 0.9rem;
  font-weight: 750;
}

body.app-shell input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
body.app-shell select,
body.app-shell textarea {
  border-radius: 13px;
  border: 1.5px solid #c6b0c2;
  background-color: #ffffff;
  color: #160e20;
  font-size: 0.94rem;
  min-height: 42px;
}

body.app-shell input::placeholder,
body.app-shell textarea::placeholder {
  color: #6a5975;
  opacity: 1;
}

body.app-shell input:disabled,
body.app-shell select:disabled,
body.app-shell textarea:disabled {
  background-color: #f1ebf2;
  color: #3b2d46;
  border-color: #cfc0cd;
  opacity: 1;
}

body.app-shell input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):focus,
body.app-shell select:focus,
body.app-shell textarea:focus {
  border-color: #a6144c;
  box-shadow: 0 0 0 3px rgba(166, 20, 76, 0.16);
  outline: none;
}

body.app-shell > main.container > form.card input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="hidden"]),
body.app-shell > main.container > form.card select,
body.app-shell > main.container > form.card textarea,
body.app-shell .form-card input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="hidden"]),
body.app-shell .form-card select,
body.app-shell .form-card textarea {
  width: 100%;
  max-width: 680px;
}

body.app-shell .clientas-buscar input,
body.app-shell .servicios-busqueda input,
body.app-shell .empleados-busqueda input {
  border: 0;
  background: transparent;
  box-shadow: none;
  max-width: none;
}

body.app-shell .clientas-buscar:focus-within,
body.app-shell .servicios-busqueda:focus-within,
body.app-shell .empleados-busqueda:focus-within {
  border-color: #a6144c;
  box-shadow: 0 0 0 3px rgba(166, 20, 76, 0.16);
}

/* ==========================================================================
   4. AGENDA PRINCIPAL (/annastacia, /campestre, /centro, /teocaltiche)
   ========================================================================== */
body.app-shell .agenda-shell.ui.segment {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: calc(100dvh - 78px);
  box-sizing: border-box;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.80) 0%, rgba(251, 244, 249, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 14px 16px 16px;
  box-shadow:
    0 28px 70px -16px rgba(42, 10, 30, 0.13),
    0 4px 14px rgba(32, 8, 22, 0.04),
    inset 0 1px 0 #ffffff;
}

body.app-shell .sucursal-activa {
  background:
    radial-gradient(ellipse 46% 90% at 88% 12%, rgba(255, 168, 208, 0.42), transparent),
    radial-gradient(circle at 26% 130%, rgba(226, 48, 124, 0.48), transparent 52%),
    linear-gradient(120deg, #2a0619 0%, #5e0f37 46%, #941955 82%, #751243 100%);
  border: 1px solid rgba(255, 224, 238, 0.28);
  border-radius: 20px;
  padding: 11px 20px;
  margin-bottom: 9px;
  box-shadow:
    0 22px 44px -12px rgba(72, 10, 42, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

body.app-shell .sucursal-activa__etiqueta {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 230, 242, 0.34);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  backdrop-filter: blur(10px);
}

body.app-shell .sucursal-activa__etiqueta::before {
  content: "●  ";
  color: #5eead4;
  text-shadow: 0 0 8px rgba(94, 234, 212, 0.8);
}

body.app-shell .sucursal-activa__nombre {
  font-size: clamp(1.28rem, 1.8vw, 1.62rem);
  letter-spacing: -0.025em;
  font-weight: 850;
  text-shadow: 0 2px 14px rgba(18, 3, 11, 0.32);
}

body.app-shell .sucursal-activa__aviso {
  color: #fff6fb;
  font-size: 0.76rem;
  font-weight: 600;
  max-width: 240px;
  opacity: 0.92;
}

body.app-shell .agenda-shell .agenda-permisos {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0 20px;
  backdrop-filter: blur(12px);
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow:
    0 6px 16px rgba(18, 3, 11, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

body.app-shell .agenda-shell .agenda-permisos:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.50);
}

body.app-shell .agenda-shell .agenda-cabecera__nueva {
  background: linear-gradient(180deg, #ffffff 0%, #fff0f6 100%);
  color: #650e37;
  border: 1px solid #ffffff;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 850;
  letter-spacing: -0.01em;
  box-shadow:
    0 12px 28px rgba(18, 3, 12, 0.34),
    0 0 0 4px rgba(255, 255, 255, 0.16);
}

body.app-shell .agenda-shell .agenda-cabecera__nueva:hover {
  background: linear-gradient(180deg, #ffffff 0%, #fde2ee 100%);
  color: #4f092a;
}

body.app-shell .agenda-shell .agenda-cabecera__nueva::before {
  content: "✦  ";
  color: #c8195c;
  font-weight: 900;
}

/* Islas Bento: Fecha, Calendario, Horario, Estatus y Chips */
body.app-shell .agenda-shell .agenda-fecha-principal {
  gap: 10px;
  margin: 0 0 8px;
}

body.app-shell .agenda-shell .agenda-fecha-principal > button {
  background: #ffffff;
  border: 1px solid rgba(230, 214, 225, 0.95);
  border-radius: 999px;
  color: #271a33;
  padding: 0 20px;
  font-weight: 750;
  box-shadow:
    0 8px 20px -8px rgba(36, 10, 26, 0.10),
    inset 0 1px 0 #ffffff;
}

body.app-shell .agenda-shell .agenda-fecha-principal > button:first-child::before {
  content: "←  ";
  color: #b81755;
}

body.app-shell .agenda-shell .agenda-fecha-principal > button:last-child::after {
  content: "  →";
  color: #b81755;
}

body.app-shell .agenda-shell .agenda-fecha-principal__actual {
  background: #ffffff;
  border: 1px solid rgba(232, 214, 226, 0.95);
  border-radius: 20px;
  padding: 6px 18px;
  box-shadow:
    0 10px 24px -10px rgba(42, 12, 30, 0.09),
    inset 0 3px 0 #c81d5e;
}

body.app-shell .agenda-shell .agenda-fecha-principal__actual span,
body.app-shell .agenda-shell .agenda-fecha-principal__selector > span {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #6d5972;
}

body.app-shell .agenda-shell .agenda-fecha-principal__actual strong {
  color: #22132e;
  font-size: 1.06rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

body.app-shell .agenda-shell .agenda-fecha-principal__selector {
  background: #ffffff;
  border: 1px solid rgba(230, 214, 225, 0.95);
  border-radius: 20px;
  padding: 6px 16px;
  box-shadow: 0 10px 24px -10px rgba(42, 12, 30, 0.09);
}

body.app-shell .agenda-shell .agenda-franja-calendario {
  width: 100%;
  max-width: none;
  margin: 0 0 6px;
}

@media (min-width: 1101px) {
  body.app-shell .agenda-shell .agenda-franja-calendario {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    justify-content: stretch;
  }
}

body.app-shell .agenda-shell .agenda-calendario-secundario {
  width: 100%;
  max-width: none;
}

body.app-shell .agenda-shell .agenda-calendario-secundario,
body.app-shell .agenda-shell .agenda-horario-dia {
  background: #ffffff;
  border: 1px solid rgba(232, 216, 228, 0.95);
  border-radius: 18px;
  padding: 8px 12px;
  box-shadow:
    0 12px 28px -10px rgba(42, 12, 30, 0.08),
    inset 0 1px 0 #ffffff;
}

body.app-shell .meses-anio {
  background: #f4eef5;
  border: 1px solid #eadfe9;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
  grid-template-columns: repeat(12, minmax(64px, 1fr));
}

body.app-shell .mes-tab {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #382942;
  font-size: 0.81rem;
  font-weight: 700;
  padding: 0.38rem 0.24rem;
  min-height: 34px;
}

body.app-shell .mes-tab.select {
  background: linear-gradient(135deg, #5d0f34 0%, #a51753 100%);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(135, 19, 72, 0.28);
}

body.app-shell .mes {
  font-size: 0.98rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #1c1228;
  margin: 3px 0 4px;
}

body.app-shell .dias {
  background: #f4eef5;
  border: 1px solid #eadfe9;
  padding: 4px;
  border-radius: 999px;
  gap: 3px;
}

body.app-shell .dia {
  background: transparent;
  color: #2f213b;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 750;
}

body.app-shell .dia.semana.select {
  background: linear-gradient(135deg, #cb1b60 0%, #871143 100%);
  color: #ffffff;
  box-shadow:
    0 5px 14px rgba(176, 22, 84, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

body.app-shell .dia.busca {
  background: #ffffff;
  border: 1px solid #e4d8e2;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4a3956;
  box-shadow: 0 3px 8px rgba(28, 10, 22, 0.07);
}

@media (hover: none), (pointer: coarse) {
  body.app-shell .mes-tab {
    min-height: 44px;
  }

  body.app-shell .dia {
    min-height: 44px;
  }

  body.app-shell .dia.busca {
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
  }
}

body.app-shell .agenda-shell .agenda-horario-dia__select {
  background: #f8f4f9;
  border: 1px solid #e5d8e3;
  border-radius: 12px;
  font-weight: 700;
}

/* Leyenda de los 7 estatus con puntos joya luminosos */
body.app-shell .agenda-shell .ui.agenda-estados.grid {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 2px 0;
  margin: 6px 0 8px;
  gap: 7px;
}

body.app-shell .agenda-shell .ui.agenda-estados.grid .column {
  background: #ffffff;
  border: 1px solid rgba(224, 206, 220, 0.98);
  border-radius: 999px;
  padding: 6px 13px 6px 11px;
  font-size: 0.81rem;
  font-weight: 750;
  color: #22162e;
  box-shadow: 0 4px 12px -4px rgba(36, 10, 26, 0.07);
}

body.app-shell .agenda-shell .ui.agenda-estados.grid .circle {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
}

body.app-shell .agenda-shell .ui.agenda-estados.grid .circle.sin-confirmar {
  background: #1e293b;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.16);
}
body.app-shell .agenda-shell .ui.agenda-estados.grid .circle.estatus1 {
  background: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}
body.app-shell .agenda-shell .ui.agenda-estados.grid .circle.estatus2 {
  background: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.18);
}
body.app-shell .agenda-shell .ui.agenda-estados.grid .circle.estatus3 {
  background: #db2777;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.18);
}
body.app-shell .agenda-shell .ui.agenda-estados.grid .circle.estatus4 {
  background: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}
body.app-shell .agenda-shell .ui.agenda-estados.grid .circle.estatus5 {
  background: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.18);
}
body.app-shell .agenda-shell .ui.agenda-estados.grid .circle.pagado {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

/* Selector de técnicas compacto en una sola fila */
body.app-shell .agenda-shell .agenda-tecnicas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  background: #ffffff;
  border: 1px solid rgba(232, 216, 228, 0.95);
  border-radius: 18px;
  padding: 8px 14px;
  margin: 0 0 10px;
  box-shadow: 0 10px 24px -10px rgba(42, 12, 30, 0.07);
}

body.app-shell .agenda-shell .agenda-tecnicas__encabezado span,
body.app-shell .agenda-shell .agenda-instruccion {
  display: none;
}

body.app-shell .agenda-shell .agenda-tecnica-chip {
  min-width: 0;
  min-height: 38px;
  border-radius: 999px;
  border: 1px solid #e6dae3;
  background: #faf6fa;
  padding: 4px 7px 4px 13px;
  gap: 9px;
  box-shadow: 0 2px 6px rgba(28, 12, 24, 0.03);
}

@media (hover: none), (pointer: coarse) {
  body.app-shell .agenda-shell .agenda-tecnica-chip {
    min-height: 44px;
  }
}

body.app-shell .agenda-shell .agenda-tecnica-chip > span {
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #eadde7;
  color: #6b113a;
  font-weight: 800;
  font-size: 0.75rem;
}

body.app-shell .agenda-shell .agenda-tecnica-chip.select {
  background: linear-gradient(135deg, #3b0922 0%, #8f144b 58%, #c51b60 100%);
  border-color: #5c0f33;
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(142, 18, 74, 0.34);
}

body.app-shell .agenda-shell .agenda-tecnica-chip.select > span {
  background: #ffffff;
  border-color: #ffffff;
  color: #681039;
}

/* Tablero de citas Studio Timeline */
body.app-shell table.agenda_citas {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px 0;
  background: linear-gradient(180deg, rgba(245, 238, 246, 0.92) 0%, rgba(239, 232, 243, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 10px 8px 12px;
  box-shadow:
    inset 0 2px 6px rgba(42, 12, 30, 0.05),
    0 12px 30px -12px rgba(42, 12, 30, 0.08);
}

@media (max-width: 760px) {
  body.app-shell table.agenda_citas {
    border-spacing: 6px 0;
    padding: 10px 6px 12px;
    border-radius: 20px;
  }
}

body.app-shell table.agenda_citas thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

body.app-shell table.agenda_citas thead th:first-child,
body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) table.agenda_citas thead th:first-child {
  width: 84px;
  background: #f3ecf4;
  border: 0;
  box-shadow: none;
}

body.app-shell table.agenda_citas thead tr:first-child th.th-empleada {
  background: linear-gradient(180deg, #fff9fc 0%, #ffffff 100%);
  border: 1px solid #e7d9e4;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  padding: 13px 10px 4px;
  font-size: 1.04rem;
  font-weight: 850;
  color: #170d22;
  letter-spacing: -0.02em;
  box-shadow: inset 0 4px 0 #c81d5e;
}

body.app-shell table.agenda_citas thead tr:first-child th.th-empleada.tecnica-fuera-dia {
  color: #4d3e57;
}

body.app-shell table.agenda_citas thead tr:nth-child(2) th:not(:first-child) {
  background: #ffffff;
  border: 1px solid #e7d9e4;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  padding: 3px 10px 11px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #543d58;
  box-shadow: 0 8px 18px -8px rgba(36, 10, 26, 0.09);
}

body.app-shell th.th-empleada .btn-mover-columna,
body.app-shell th.th-empleada .btn-quitar-columna,
body.app-shell th.th-empleada .btn-mostrar-columna {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  padding: 0;
  margin-left: 3px;
  border: 1px solid #d5c2d1;
  border-radius: 999px;
  background: #faf5f9;
  color: #3d2c47;
  font-size: 12px;
  line-height: 1;
  vertical-align: middle;
}

@media (hover: hover) and (pointer: fine) {
  body.app-shell th.th-empleada .btn-mover-columna,
  body.app-shell th.th-empleada .btn-quitar-columna {
    opacity: 0.38;
    transition: opacity 0.15s ease, background 0.15s ease;
  }

  body.app-shell th.th-empleada:hover .btn-mover-columna:not(:disabled),
  body.app-shell th.th-empleada:hover .btn-quitar-columna,
  body.app-shell th.th-empleada .btn-mover-columna:focus-visible,
  body.app-shell th.th-empleada .btn-quitar-columna:focus-visible {
    opacity: 1;
  }
}

@media (hover: none), (pointer: coarse) {
  body.app-shell th.th-empleada .btn-mover-columna,
  body.app-shell th.th-empleada .btn-quitar-columna,
  body.app-shell th.th-empleada .btn-mostrar-columna {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}

body.app-shell th.th-empleada .btn-mover-columna:first-of-type {
  margin-left: 7px;
}

body.app-shell th.th-empleada .btn-quitar-columna {
  font-size: 13px;
}

body.app-shell th.th-empleada .btn-mover-columna:disabled {
  opacity: 0.28;
}

body.app-shell table.agenda_citas tbody.citas > tr {
  height: 64px !important;
}

body.app-shell tbody.citas > tr > td.hora,
body.app-shell tbody.citas > tr > td.cita:not([rowspan]),
body.app-shell tbody.citas > tr > td.cita[rowspan="1"] {
  height: 64px;
  box-sizing: border-box;
}

body.app-shell td.hora,
body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) td.hora {
  width: 84px;
  color: #23112e;
  font-size: 0.82rem;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.015em;
  padding-right: 8px;
  padding-top: 5px;
  vertical-align: top;
}

body.app-shell tbody.citas > tr.sinborde:not(:first-child) > td.hora {
  border-top: 1.5px solid #cbb5c9;
}

body.app-shell tbody.citas > tr:not(.sinborde) > td.hora {
  border-bottom: 0;
}

body.app-shell tbody.citas > tr:not(.sinborde) > td.hora::after {
  content: ":30";
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #543d5e;
  letter-spacing: 0.01em;
}

body.app-shell td.cita.diponible {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border-top: 0;
  border-left: 1px solid #ebe0e9;
  border-right: 1px solid #ebe0e9;
  border-bottom: 1.5px solid #cdb8cb;
}

body.app-shell tbody.citas > tr > td.cita.diponible:nth-child(odd) {
  background: rgba(252, 249, 252, 0.96);
}

body.app-shell tr.sinborde > td.cita.diponible {
  border-bottom: 1px dashed #ebe1ea;
}

body.app-shell tbody.citas > tr:hover > td.hora,
body.app-shell tbody.citas > tr:hover > td.hora::after {
  color: #9e1248;
  font-weight: 900;
}

body.app-shell tbody.citas > tr:hover > td.cita.diponible {
  background: #fdf6fa;
}

body.app-shell .agenda-shell td.cita.diponible .agenda-disponible-texto {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 4px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #c8195c;
  color: #7c0f3c;
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(158, 18, 72, 0.18);
  pointer-events: none;
}

body.app-shell td.cita[draggable="true"],
body.app-shell .cita-sub[draggable="true"] {
  cursor: grab;
  -webkit-user-drag: element;
  user-select: none;
  -webkit-user-select: none;
}

body.app-shell td.cita.cita-arrastrando,
body.app-shell .cita-sub.cita-arrastrando {
  opacity: 0.58;
  cursor: grabbing;
}

body.app-shell .agenda-shell td.cita.diponible.drop-ok {
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%) !important;
  outline: 2.5px dashed #0d9488;
  outline-offset: -3px;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.25);
}

body.app-shell .agenda-shell td.cita.dividida.drop-ok,
body.app-shell .agenda-shell td.cita[data-id].drop-ok {
  outline: 2.5px dashed #0d9488;
  outline-offset: -3px;
}

body.app-shell .agenda-shell td.cita.diponible .agenda-disponible-texto::before {
  content: "+";
  font-weight: 900;
  font-size: 0.94rem;
  color: #c8195c;
}

body.app-shell .agenda-shell td.cita.diponible:hover,
body.app-shell .agenda-shell td.cita.diponible:focus-visible {
  background: linear-gradient(180deg, #fff2f8 0%, #fde2ef 100%);
  box-shadow: inset 0 0 0 1.5px #d4558d;
}

body.app-shell .agenda-shell td.cita.diponible:hover .agenda-disponible-texto,
body.app-shell .agenda-shell td.cita.diponible:focus-visible .agenda-disponible-texto {
  display: inline-flex;
}

@media (max-width: 1100px) {
  body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) tr.sinborde td.cita.diponible .agenda-disponible-texto {
    display: inline-flex;
    color: #7c0f3c;
  }
}

body.app-shell tbody.citas > tr:first-child > td.cita.diponible {
  border-top: 1px solid #ebe0e9;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

body.app-shell tbody.citas > tr:last-child > td.cita.diponible {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* Línea en vivo de la hora actual alineada a la escala uniforme */
body.app-shell .linea-ahora,
body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) .linea-ahora {
  left: 104px;
  right: 14px;
  border-top: 2px solid #0284c7;
  z-index: 8;
}

body.app-shell .linea-ahora::before {
  left: -5px;
  top: -6px;
  width: 10px;
  height: 10px;
  background: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.24);
}

body.app-shell .linea-ahora .etiqueta,
body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) .linea-ahora .etiqueta {
  left: -64px;
  top: -11px;
  background: #0369a1;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  padding: 2px 8px;
  border-radius: 999px;
  line-height: 1.25;
  white-space: nowrap;
  box-shadow:
    0 0 0 2px #f2ebf4,
    0 4px 10px rgba(3, 105, 161, 0.28);
}

@media (max-width: 760px) {
  body.app-shell table.agenda_citas tbody.citas > tr {
    height: 58px !important;
  }

  body.app-shell tbody.citas > tr > td.hora,
  body.app-shell tbody.citas > tr > td.cita:not([rowspan]),
  body.app-shell tbody.citas > tr > td.cita[rowspan="1"] {
    height: 58px;
  }

  body.app-shell table.agenda_citas thead th:first-child,
  body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) table.agenda_citas thead th:first-child,
  body.app-shell td.hora,
  body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) td.hora {
    width: 78px;
  }

  body.app-shell .linea-ahora,
  body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) .linea-ahora {
    left: 90px;
    right: 10px;
  }

  body.app-shell .linea-ahora .etiqueta,
  body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) .linea-ahora .etiqueta {
    left: -62px;
    top: -11px;
  }
}

/* Tarjetas de cita Spatial Glass con Ficha Protagonista (Nombre + Celular 100% visible arriba) */
body.app-shell td.cita[data-id],
body.app-shell .cita-sub {
  position: relative;
  vertical-align: top;
  border-radius: 15px;
  padding: 4px 3px;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.2;
  box-sizing: border-box;
}

body.app-shell .cita-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  width: 100%;
  min-width: 0;
}

body.app-shell .cita-cliente-box {
  container-type: inline-size;
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  border-radius: 10px;
  padding: 4px 4px;
  box-shadow:
    0 3px 8px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 #ffffff;
  text-align: center;
  min-width: 0;
}

body.app-shell .cita-cliente-nombre {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #0b1120;
  font-size: clamp(0.80rem, 12.5cqi, 0.95rem);
  font-weight: 850;
  line-height: 1.14;
  letter-spacing: -0.015em;
  text-transform: capitalize;
  overflow-wrap: break-word;
}

body.app-shell .cita-cliente-box .atiende-a {
  display: block;
  margin-top: 2px;
  color: #9d174d;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.15;
}

body.app-shell .cita small,
body.app-shell .cita small.cita-cliente-tel,
body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) .cita small.cita-cliente-tel {
  display: block !important;
  margin: 2px 0 0 !important;
  padding: 2px 2px;
  border-radius: 6px;
  background: #fdf2f7;
  border: 1px solid #f5d0e1;
  color: #6b0d33;
  font-size: clamp(0.68rem, 11.2cqi, 0.90rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
  line-height: 1.18;
  opacity: 1;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.app-shell .cita small.cita-cliente-tel--vacio,
body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) .cita small.cita-cliente-tel--vacio {
  display: none !important;
}

body.app-shell .cita-servicios-lista {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

body.app-shell .cita-meta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

body.app-shell .cita-meta-badges:empty {
  display: none;
}

body.app-shell .cita-meta-badges .marca-tarjeta-cita,
body.app-shell .cita-meta-badges .riesgo-ausencia:not(.cita-etiqueta-riesgo-alto),
body.app-shell .cita-meta-badges .riesgo-tecnico {
  margin: 0;
  flex: 0 0 auto;
}

/* Compactación en citas de 1 h (rowspan="2") y 30 min (rowspan="1"): preserva 128px exactos por hora sin esconder el celular */
body.app-shell td.cita[data-id][rowspan="2"] {
  padding: 4px 3px;
  line-height: 1.15;
}

body.app-shell td.cita[data-id][rowspan="2"] .cita-card {
  gap: 2px;
  max-height: 118px;
  overflow: hidden;
}

body.app-shell td.cita[data-id][rowspan="2"] .cita-cliente-box {
  padding: 3px 4px;
  border-radius: 9px;
}

body.app-shell td.cita[data-id][rowspan="2"] .cita-cliente-tel {
  margin-top: 2px !important;
  padding: 1px 2px;
}

body.app-shell td.cita[data-id][rowspan="2"] .cita-servicios-lista {
  max-height: 19px;
  overflow: hidden;
}

body.app-shell td.cita[data-id][rowspan="2"] .cita-confirmacion-pill,
body.app-shell td.cita[data-id][rowspan="2"] .marca-anticipo,
body.app-shell td.cita[data-id][rowspan="2"] .cita-etiqueta-reagendar,
body.app-shell td.cita[data-id][rowspan="2"] .cita-etiqueta-garantia,
body.app-shell td.cita[data-id][rowspan="2"] .riesgo-ausencia.cita-etiqueta-riesgo-alto {
  margin: 0;
  padding: 1px 6px;
  font-size: 0.68rem;
  line-height: 1.15;
}

body.app-shell td.cita[data-id][rowspan="2"] .servicios {
  margin: 0;
  padding: 1px 6px;
  font-size: 0.70rem;
}

body.app-shell td.cita[data-id][rowspan="1"] {
  padding: 2px 3px;
  font-size: 0.85rem;
  line-height: 1.12;
}

body.app-shell td.cita[data-id][rowspan="1"] .cita-card {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  max-height: 58px;
  overflow: hidden;
}

body.app-shell td.cita[data-id][rowspan="1"] .cita-cliente-box {
  flex: 0 0 100%;
  width: 100%;
  padding: 2px 3px;
  border-radius: 7px;
}

body.app-shell td.cita[data-id][rowspan="1"] .cita-cliente-nombre {
  -webkit-line-clamp: 1;
  font-size: clamp(0.76rem, 11.8cqi, 0.84rem);
  line-height: 1.12;
}

body.app-shell td.cita[data-id][rowspan="1"] .cita-cliente-tel {
  margin-top: 1px !important;
  padding: 1px 2px;
  font-size: clamp(0.66rem, 10.8cqi, 0.80rem);
  line-height: 1.12;
}

body.app-shell td.cita[data-id][rowspan="1"] .cita-servicios-lista,
body.app-shell td.cita[data-id][rowspan="1"] .cita-meta-badges {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  max-height: 16px;
  overflow: hidden;
}

body.app-shell td.cita[data-id][rowspan="1"] .cita-confirmacion-pill,
body.app-shell td.cita[data-id][rowspan="1"] .marca-anticipo,
body.app-shell td.cita[data-id][rowspan="1"] .cita-etiqueta-reagendar,
body.app-shell td.cita[data-id][rowspan="1"] .cita-etiqueta-garantia,
body.app-shell td.cita[data-id][rowspan="1"] .riesgo-ausencia.cita-etiqueta-riesgo-alto {
  margin: 0;
  padding: 1px 5px;
  font-size: 0.65rem;
}

body.app-shell td.cita[data-id][rowspan="1"] .servicios {
  margin: 0;
  padding: 1px 5px;
  font-size: 0.66rem;
}

body.app-shell .cita.estatus1.sin-confirmar,
body.app-shell .cita-sub.estatus1.sin-confirmar {
  background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 65%, #e8eef5 100%);
  border: 1px solid #cbd5e1;
  border-left: 6px solid #1e293b;
  color: #0f172a;
  box-shadow:
    0 12px 24px -8px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 #ffffff;
}

body.app-shell .cita.estatus1:not(.sin-confirmar),
body.app-shell .cita-sub.estatus1:not(.sin-confirmar) {
  background: linear-gradient(165deg, #f8fdff 0%, #e0f2fe 65%, #d2ecfe 100%);
  border: 1px solid #7dd3fc;
  border-left: 6px solid #0284c7;
  color: #0c4a6e;
  box-shadow:
    0 12px 24px -8px rgba(2, 132, 199, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.app-shell .cita.estatus2,
body.app-shell .cita-sub.estatus2 {
  background: linear-gradient(165deg, #fffef7 0%, #fef3c7 65%, #fde9a2 100%);
  border: 1px solid #fcd34d;
  border-left: 6px solid #d97706;
  color: #451a03;
  box-shadow:
    0 12px 24px -8px rgba(217, 119, 6, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.app-shell .cita.estatus3,
body.app-shell .cita-sub.estatus3 {
  background: linear-gradient(165deg, #fff9fc 0%, #fce7f3 65%, #fbcfe8 100%);
  border: 1px solid #f472b6;
  border-left: 6px solid #db2777;
  color: #500724;
  box-shadow:
    0 12px 24px -8px rgba(219, 39, 119, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.app-shell .cita.estatus4,
body.app-shell .cita-sub.estatus4 {
  background: linear-gradient(165deg, #fcfaff 0%, #ede9fe 65%, #e2d9fe 100%);
  border: 1px solid #c4b5fd;
  border-left: 6px solid #7c3aed;
  color: #2e1065;
  box-shadow:
    0 12px 24px -8px rgba(124, 58, 237, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.app-shell .cita.estatus5,
body.app-shell .cita-sub.estatus5 {
  background: linear-gradient(165deg, #f6fffc 0%, #ccfbf1 65%, #b3f7e8 100%);
  border: 1px solid #5eead4;
  border-left: 6px solid #0d9488;
  color: #134e4a;
  box-shadow:
    0 12px 24px -8px rgba(13, 148, 136, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

body.app-shell .cita.pagado,
body.app-shell .cita-sub.pagado {
  background: linear-gradient(165deg, #f8fcf9 0%, #eaf7ee 70%, #e1f2e7 100%);
  border: 1px solid #a7dfb9;
  border-left: 6px solid #16a34a;
  color: #14532d;
  box-shadow:
    0 6px 14px -8px rgba(22, 163, 74, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

/* Semáforo cognitivo en los 7 estatus ubicado bajo la ficha blanca del cliente */
body.app-shell .agenda-shell .agenda[data-vista-tecnica]:not([data-vista-tecnica="all"]) .agenda-cita-estado,
body.app-shell .agenda-cita-estado {
  display: none;
}

body.app-shell .cita[data-id]:is(.estatus2, .estatus3, .estatus4, .estatus5, .pagado) .cita-meta-badges:empty {
  display: flex;
}

body.app-shell .cita[data-id]:is(.estatus2, .estatus3, .estatus4, .estatus5, .pagado) .cita-meta-badges::before,
body.app-shell .cita-sub:is(.estatus2, .estatus3, .estatus4, .estatus5, .pagado) .cita-meta-badges::before {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  line-height: 1.18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.app-shell .cita[data-id].estatus2 .cita-meta-badges::before,
body.app-shell .cita-sub.estatus2 .cita-meta-badges::before {
  content: "● EN ESPERA · RECEPCIÓN";
  background: linear-gradient(135deg, #92400e 0%, #b45309 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.26);
}

body.app-shell .cita[data-id].estatus3 .cita-meta-badges::before,
body.app-shell .cita-sub.estatus3 .cita-meta-badges::before {
  content: "● EN ATENCIÓN";
  background: linear-gradient(135deg, #9d174d 0%, #be185d 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(190, 24, 93, 0.24);
}

body.app-shell .cita[data-id].estatus4 .cita-meta-badges::before,
body.app-shell .cita-sub.estatus4 .cita-meta-badges::before {
  content: "● RESERVADO";
  background: linear-gradient(135deg, #5b21b6 0%, #6d28d9 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.24);
}

body.app-shell .cita[data-id].estatus5 .cita-meta-badges::before,
body.app-shell .cita-sub.estatus5 .cita-meta-badges::before {
  content: "✓ TERMINADO · POR COBRAR";
  background: linear-gradient(135deg, #134e4a 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.26);
}

body.app-shell .cita[data-id].pagado .cita-meta-badges::before,
body.app-shell .cita-sub.pagado .cita-meta-badges::before {
  content: "✓ PAGADO";
  background: #166534;
  color: #ffffff;
  box-shadow: none;
}

body.app-shell td.cita[data-id][rowspan="1"]:is(.estatus2, .estatus3, .estatus4, .estatus5, .pagado) .cita-meta-badges::before {
  padding: 1px 6px;
}

body.app-shell td.cita[data-id][rowspan="2"]:is(.estatus2, .estatus3, .estatus4, .estatus5, .pagado) .cita-meta-badges::before {
  padding: 1px 7px;
  line-height: 1.16;
}

/* Etiquetas operativas compactas (subordinadas a la ficha blanca del cliente) */
body.app-shell .cita-confirmacion-pill,
body.app-shell .marca-anticipo,
body.app-shell .cita-etiqueta-reagendar,
body.app-shell .cita-etiqueta-garantia,
body.app-shell .riesgo-ausencia.cita-etiqueta-riesgo-alto {
  margin: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.025em;
  line-height: 1.18;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.app-shell .cita-confirmacion-pill--pendiente {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.app-shell .cita-confirmacion-pill--confirmada {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(2, 132, 199, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

body.app-shell .marca-anticipo {
  background: linear-gradient(135deg, #9a3412 0%, #b43c0e 52%, #c2410c 100%);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.app-shell .cita-etiqueta-reagendar {
  background: linear-gradient(180deg, #fffbeb 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
  color: #78350f;
  box-shadow: 0 2px 5px rgba(217, 119, 6, 0.14);
}

body.app-shell .cita-etiqueta-garantia {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  border: 0;
  box-shadow: 0 2px 6px rgba(185, 28, 28, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body.app-shell .wa-badge {
  top: auto;
  bottom: 4px;
  right: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 0 0 2px #ffffff;
}

body.app-shell .wa-badge-reagendar,
body.app-shell .wa-badge-cancelar {
  width: 23px;
  height: 23px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.24), 0 0 0 2.5px #ffffff;
}

body.app-shell .cita .servicios {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: none;
  color: #1e293b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Celdas especiales autoexplicativas (Comida, Bloqueos y Permisos) */
body.app-shell td.cita.comida {
  background: repeating-linear-gradient(135deg, #faf3f8 0 10px, #f3e8f1 10px 20px);
  border-left: 1px solid #e4d4e1;
  border-right: 1px solid #e4d4e1;
  border-bottom: 1.5px solid #cdb8cb;
  position: relative;
}

body.app-shell tr.sinborde > td.cita.comida {
  border-bottom: 1px dashed #e7d9e5;
}

body.app-shell tr.sinborde > td.cita.comida::after {
  content: "Descanso de comida";
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #dfd0dd;
  color: #553e59;
  font-size: 0.75rem;
  font-weight: 750;
}

body.app-shell td.cita.bloqueada {
  background: repeating-linear-gradient(135deg, #f5f2f6 0 8px, #ebe4ee 8px 16px);
  border: 1px dashed #bfaabf;
  border-radius: 12px;
  padding: 4px 8px;
}

body.app-shell td.cita.bloqueada::after {
  content: attr(title);
  display: inline-block;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #cbb8cc;
  color: #422e4a;
  font-size: 0.75rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(36, 12, 30, 0.06);
}

body.app-shell .agenda-shell td.indisponible-laboral {
  background: repeating-linear-gradient(135deg, #f6f1f8 0 10px, #efe6f3 10px 20px);
  border: 1px dashed #c8b3ca;
  border-radius: 12px;
  color: #462e50;
  font-size: 0.78rem;
  font-weight: 800;
}

body.app-shell .agenda-shell .agenda-administracion {
  background: #ffffff;
  border: 1px solid rgba(232, 216, 228, 0.95);
  border-radius: 20px;
  padding: 10px 18px;
  margin-top: 14px;
  box-shadow: 0 8px 20px -10px rgba(42, 12, 30, 0.07);
}

body.app-shell .agenda-shell .agenda-administracion__agregar {
  border-radius: 999px;
  background: linear-gradient(135deg, #fdf2f7 0%, #f9e3ee 100%);
  border: 1px solid #ebbfd3;
  color: #7c103f;
  font-weight: 800;
  padding-inline: 18px;
}

/* ==========================================================================
   5. MODALES ATELIER SPATIAL (Detalle de Cita, Alta, Cambio y Cobro)
   ========================================================================== */
body.app-shell .modal-backdrop {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 8, 22, 0.58);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

body.app-shell .ui.modal {
  background: linear-gradient(180deg, #faf6fa 0%, #f3edf5 100%);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  box-shadow:
    0 36px 96px rgba(16, 5, 20, 0.42),
    inset 0 1px 0 #ffffff;
}

body.app-shell .ui.modal.detalle-cita-modal {
  width: min(1680px, calc(100vw - 24px));
  max-width: 1680px;
}

body.app-shell .ui.modal.cobro-cita-modal {
  width: min(1380px, calc(100vw - 24px));
  max-width: 1380px;
}

body.app-shell .ui.modal.cambio-cita-modal {
  width: min(1040px, calc(100vw - 24px));
  max-width: 1040px;
}

body.app-shell .ui.modal:not(.detalle-cita-modal):not(.cambio-cita-modal):not(.cobro-cita-modal) {
  width: min(1160px, calc(100vw - 24px));
  max-width: 1160px;
}

body.app-shell .ui.modal > .header {
  background: linear-gradient(90deg, #2b0719 0%, #650f38 56%, #941954 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px 30px 0 0;
  color: #ffffff;
  font-weight: 850;
  letter-spacing: -0.025em;
}

@media (max-width: 760px) {
  body.app-shell .ui.modal.detalle-cita-modal {
    border-radius: 0;
  }

  body.app-shell .ui.modal.detalle-cita-modal > .header,
  body.app-shell .ui.modal.detalle-cita-modal > .actions {
    border-radius: 0;
  }
}

body.app-shell .detalle-cerrar-cabecera {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  border-radius: 999px;
  font-size: 1.4rem;
}

body.app-shell .detalle-cerrar-cabecera:hover {
  background: rgba(255, 255, 255, 0.28);
}

body.app-shell .cambio-cita-cerrar,
body.app-shell .cobro-cita-cerrar {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: #ffffff;
  border-radius: 999px;
  padding-inline: 18px;
  font-weight: 750;
}

body.app-shell .cambio-cita-cerrar:hover,
body.app-shell .cobro-cita-cerrar:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

body.app-shell .detalle-tarjeta-clienta {
  background:
    radial-gradient(circle at 92% 18%, rgba(45, 212, 191, 0.22), transparent 36%),
    linear-gradient(135deg, #e6fbf9 0%, #f7fffe 55%, #ffffff 100%);
  border: 1px solid #88dce2;
  border-left: 6px solid #0e7c86;
  border-radius: 22px;
  box-shadow:
    0 10px 24px -8px rgba(14, 124, 134, 0.14),
    inset 0 1px 0 #ffffff;
}

body.app-shell .detalle-tarjeta-clienta #cobro-cita-tarjeta {
  width: 100%;
  max-width: 520px;
  border: 1.5px solid #6ac4cc;
  border-radius: 999px;
  padding-inline: 20px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(14, 124, 134, 0.08);
}

@media (min-width: 860px) {
  body.app-shell .detalle-tarjeta-clienta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    padding: 10px 18px;
    margin-bottom: 10px;
  }

  body.app-shell .detalle-tarjeta-clienta > h2 {
    margin: 0;
    font-size: 1.05rem;
    flex: 0 0 auto;
  }

  body.app-shell .detalle-tarjeta-clienta > :not(h2) {
    margin: 0;
    flex: 1 1 360px;
    max-width: 480px;
  }

  body.app-shell .detalle-tarjeta-clienta #cobro-cita-tarjeta {
    width: 100%;
    min-width: 340px;
    max-width: 480px;
  }
}

body.app-shell .detalle-confirmacion-panel--pendiente {
  background: #ffffff;
  border: 1px solid #d5dde7;
  border-left: 6px solid #1e293b;
  border-radius: 20px;
  box-shadow: 0 8px 20px -8px rgba(15, 23, 42, 0.08);
}

body.app-shell .ui.modal .detalle-recordatorio-whatsapp.ui.button,
body.app-shell .ui.modal .detalle-confirmar-recepcion.ui.button,
body.app-shell .ui.modal .detalle-quitar-confirmacion.ui.button {
  border-radius: 999px;
  padding-inline: 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

body.app-shell .detalle-resumen {
  background: #ffffff;
  border: 1px solid #e7dbe5;
  border-radius: 22px;
  box-shadow: 0 10px 26px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell .detalle-resumen__iniciales {
  background: linear-gradient(135deg, #3b0822 0%, #9b1651 100%);
  border: 0;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(135, 19, 72, 0.30);
}

body.app-shell .detalle-resumen .detalle-editar-clienta {
  border-radius: 999px;
  background: #faf3f7;
  border: 1px solid #ead7e3;
  color: #6d103b;
  font-weight: 750;
  font-size: 0.8rem;
  padding: 6px 14px;
  min-height: 36px;
}

body.app-shell .detalle-cita-modal .detalle-servicios__encabezado,
body.app-shell .detalle-cita-modal .detalle-servicios__encabezado > span,
body.app-shell .detalle-cita-modal .detalle-linea-etiqueta,
body.app-shell .detalle-cita-modal .detalle-linea-quitar,
body.app-shell .detalle-cita-modal .detalle-linea-mover,
body.app-shell .detalle-cita-modal .detalle-linea > label > span {
  font-size: 0.78rem;
  color: #3d2c47;
}

body.app-shell .detalle-zona {
  background: #ffffff;
  border: 1px solid #e7dbe5;
  border-radius: 22px;
  box-shadow: 0 12px 28px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell .detalle-zona__cabecera {
  background: linear-gradient(180deg, #fdf9fc 0%, #ffffff 100%);
  border-bottom: 1px solid #f0e6ee;
  border-radius: 22px 22px 0 0;
}

body.app-shell .detalle-zona__numero {
  background: linear-gradient(135deg, #4b0b2b, #bd1a5d);
  box-shadow: 0 4px 10px rgba(158, 20, 78, 0.30);
}

body.app-shell .ui.modal input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.app-shell .ui.modal select,
body.app-shell .ui.modal textarea {
  background: #ffffff;
  border: 1.5px solid #c6b0c2;
  border-radius: 14px;
}

body.app-shell .detalle .totales,
body.app-shell .ui.form > .totales {
  background: linear-gradient(180deg, #fcf8fb 0%, #f7eff6 100%);
  border: 1.5px solid #e3cfe0;
  border-radius: 18px;
  padding: 12px 16px;
  gap: 7px;
  box-shadow: 0 8px 20px -10px rgba(42, 10, 30, 0.08);
}

body.app-shell .detalle .totales .fila.por-pagar {
  background: #ffffff;
  border: 1.5px solid #d79ab8;
  border-radius: 12px;
  padding: 8px 12px;
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 850;
  color: #3f0b25;
}

body.app-shell .detalle .totales .fila.por-pagar b {
  font-size: 1.15rem;
  color: #9e1248;
}

body.app-shell .ui.modal > .actions {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #ebe0e8;
  border-radius: 0 0 30px 30px;
}

body.app-shell .detalle-cita-modal > .actions .ui.button {
  border-radius: 999px;
  padding-inline: 19px;
  font-weight: 800;
}

body.app-shell .ui.modal.detalle-cita-modal .ui.button.detalle-editar,
body.app-shell .ui.modal.detalle-cita-modal .ui.button.detalle-editar:hover,
body.app-shell .ui.modal.detalle-cita-modal .ui.button.detalle-guardar,
body.app-shell .ui.modal.detalle-cita-modal .ui.button.detalle-guardar:hover {
  background: linear-gradient(135deg, #570d31 0%, #b81959 100%);
  border-color: #570d31;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(152, 18, 76, 0.28);
}

body.app-shell .ui.modal .ui.button.detalle-cobrar,
body.app-shell .ui.modal .ui.button.detalle-cobrar:hover {
  background: linear-gradient(135deg, #0d6839 0%, #15803d 100%) !important;
  border: 1px solid #0d6839 !important;
  color: #ffffff !important;
  font-weight: 850;
  padding-inline: 22px;
  box-shadow: 0 8px 18px rgba(15, 104, 57, 0.28);
}

body.app-shell .ui.modal .ui.button.detalle-cambiar,
body.app-shell .ui.modal .ui.button.detalle-cambiar:hover {
  background: #ffffff !important;
  border: 1.5px solid #c6afc1 !important;
  color: #4f1232 !important;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(36, 10, 26, 0.06);
}

body.app-shell .ui.modal .ui.button.detalle-cerrar,
body.app-shell .ui.modal .ui.button.detalle-cerrar:hover {
  background: #f8f4f8 !important;
  border: 1.5px solid #d5c3d2 !important;
  color: #3f2b47 !important;
  font-weight: 800;
}

/* ==========================================================================
   6. ECOSISTEMA COMPLETO DE VISTAS DEL SISTEMA
   ========================================================================== */

/* --- A) Directorio de Clientas y Expediente 360° (/admin/clientes*) --- */
body.app-shell .clientas {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 22px 26px 28px;
  box-shadow:
    0 24px 60px -16px rgba(42, 10, 30, 0.12),
    inset 0 1px 0 #ffffff;
}

body.app-shell .clientas-importar {
  width: 100%;
  max-width: none;
}

body.app-shell .clientas-admin {
  margin-top: auto;
}

body.app-shell .exp360 {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 24px 28px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow:
    0 24px 60px -16px rgba(42, 10, 30, 0.12),
    inset 0 1px 0 #ffffff;
}

body.app-shell .clientas h1 {
  font-size: 2.05rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #1a1026;
}

body.app-shell .clientas-buscar {
  background: #ffffff;
  border: 1px solid #e2d5e0;
  border-radius: 999px;
  padding: 0 18px;
  box-shadow: 0 4px 12px rgba(32, 10, 24, 0.04);
}

body.app-shell .clientas-filtros select,
body.app-shell .clientas-filtros input,
body.app-shell .clientas-orden select {
  background: #ffffff;
  border: 1px solid #e2d5e0;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(32, 10, 24, 0.03);
}

body.app-shell .clientas-alcance {
  background: linear-gradient(90deg, #fff5f9 0%, #ffffff 100%);
  border: 1px solid #efd5e2;
  border-radius: 999px;
  padding: 8px 18px;
}

body.app-shell .clientas-boton {
  border-radius: 999px;
  padding-inline: 22px;
  font-weight: 800;
}

body.app-shell .clientas-boton.principal {
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%);
  border-color: #4b0b2b;
  box-shadow: 0 8px 20px rgba(158, 20, 78, 0.28);
}

body.app-shell .clientas-columnas {
  background: #2b0a1c;
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  color: #fff8fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.app-shell .clientas-columnas span {
  font-size: 0.78rem;
  color: #fff8fc;
}

body.app-shell .clientas-fila {
  background: #ffffff;
  border-radius: 16px;
  margin-top: 6px;
  box-shadow: 0 3px 10px rgba(32, 10, 24, 0.04);
}

body.app-shell .clientas-avatar {
  background: linear-gradient(135deg, #fde8f2 0%, #f7d4e5 100%);
  border: 1px solid #ebbdd3;
  box-shadow: 0 3px 8px rgba(140, 18, 66, 0.10);
}

body.app-shell .clientas-abrir {
  border-radius: 999px;
  background: #fdf0f6;
  border: 1px solid #efc0d5;
  color: #8c1242;
  font-weight: 750;
  padding: 8px 15px;
}

body.app-shell .exp360-hero,
body.app-shell .exp360-kpi,
body.app-shell .exp360-dato,
body.app-shell .exp360-card,
body.app-shell .exp360-panel {
  border-radius: 22px;
  border-color: #e7dbe5;
  box-shadow: 0 12px 28px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell .exp360-btn {
  border-radius: 999px;
}

body.app-shell .exp360-btn--primary {
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%);
  border-color: #4b0b2b;
  color: #ffffff;
}

/* --- B) Lista de Espera (/admin/lista-espera) --- */
body.app-shell .le {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: calc(100dvh - 78px);
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 24px 60px -16px rgba(42, 10, 30, 0.12),
    inset 0 1px 0 #ffffff;
}

body.app-shell .le__workspace {
  flex: 1 1 auto;
}

body.app-shell .le__cabecera {
  background: linear-gradient(180deg, #ffffff 0%, #fbf6fa 100%);
  padding: 24px 28px 18px;
  border-bottom: 1px solid #ebe0e8;
}

body.app-shell .le h1 {
  font-size: 1.95rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}

body.app-shell .le__agregar {
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%);
  border-radius: 999px;
  padding: 0.75rem 1.55rem;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 44px;
  box-shadow: 0 8px 20px rgba(158, 20, 78, 0.28);
}

body.app-shell .le__campo input,
body.app-shell .le__campo select {
  background: #ffffff;
  border: 1px solid #e2d5e0;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(32, 10, 24, 0.03);
}

body.app-shell .le__pasos {
  background: #f5eef4;
  border: 1px solid #e8dce6;
  border-radius: 999px;
  padding: 6px 18px;
  width: fit-content;
}

body.app-shell .le__paso--activo {
  color: #9e1448;
}

body.app-shell .le__paso--activo strong {
  background: linear-gradient(135deg, #4b0b2b, #bd1a5d);
  border-color: #4b0b2b;
}

body.app-shell .le__columnas {
  background: #2b0a1c;
  color: #fff8fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.app-shell .le__columnas span {
  font-size: 0.78rem;
  color: #fff8fc;
}

body.app-shell .le__fila[aria-selected="true"] {
  background: linear-gradient(90deg, #ffeaf3 0%, #ffffff 100%);
}

body.app-shell .le__fila[aria-selected="true"]::before {
  background: #c8195c;
  width: 6px;
}

body.app-shell .le__detalle-panel {
  background: #f6eff5;
  padding: 20px;
}

body.app-shell .le__detalle {
  width: 100%;
  max-width: none;
  background: #ffffff;
  border: 1px solid #e7dbe5;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow:
    0 14px 32px -10px rgba(36, 10, 26, 0.10),
    inset 0 4px 0 #b81755;
}

body.app-shell .le__accion button,
body.app-shell .le__accion .btn,
body.app-shell .le__secundaria {
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  min-height: 44px;
  padding: 0.65rem 1.3rem;
}

/* --- C) Cancelaciones, Valoraciones, Atención y Conversaciones CRM --- */
body.app-shell .canc-modulo,
body.app-shell .valoraciones,
body.app-shell .atencion-hoy,
body.app-shell .crm {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 24px 26px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow:
    0 24px 60px -16px rgba(42, 10, 30, 0.11),
    inset 0 1px 0 #ffffff;
}

body.app-shell .rc,
body.app-shell .aus-tablero {
  flex: 1 1 auto;
  align-content: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 24px 26px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow:
    0 24px 60px -16px rgba(42, 10, 30, 0.11),
    inset 0 1px 0 #ffffff;
}

body.app-shell .rc__detalle,
body.app-shell .atencion-caso-form,
body.app-shell .atencion-rectificar {
  width: 100%;
  max-width: none;
}

body.app-shell .canc-cabecera,
body.app-shell .canc-kpi,
body.app-shell .canc-filtros,
body.app-shell .canc-tabla-wrap,
body.app-shell .valoraciones .valoraciones-alta,
body.app-shell .valoraciones .valoraciones-visita,
body.app-shell .valoraciones .valoraciones-vacio,
body.app-shell .crm-panel,
body.app-shell .crm-tarjeta,
body.app-shell .crm-hilo {
  background: #ffffff;
  border: 1px solid #e7dbe5;
  border-radius: 22px;
  box-shadow: 0 12px 30px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell .canc-modulo table thead th {
  background: #2b0a1c;
  color: #fff8fc;
  font-size: 0.78rem;
}

body.app-shell .atencion-hoy__siguiente,
body.app-shell .atencion-hoy__tipo,
body.app-shell .atencion-hoy__guia-paso strong {
  font-size: 0.78rem;
}

body.app-shell .crm-secciones {
  background: #f3ecf3;
  border: 1px solid #e7dbe5;
  border-radius: 999px;
  padding: 4px;
}

body.app-shell .crm-secciones a,
body.app-shell .crm-secciones button {
  border-radius: 999px;
}

/* --- D) Equipo: Empleadas, Expedientes Laborales, Checador y Faltas --- */
body.app-shell .empleados-directorio,
body.app-shell .el-pagina,
body.app-shell .pv-pagina,
body.app-shell .checador-panel,
body.app-shell .checador-panel--prioridad,
body.app-shell .checador-kiosco,
body.app-shell .faltas-panel--revision,
body.app-shell .faltas-confirmadas,
body.app-shell .faltas-formulario--guiado,
body.app-shell .faltas-caso--guiado {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 26px 28px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow:
    0 24px 60px -16px rgba(42, 10, 30, 0.11),
    inset 0 1px 0 #ffffff;
}

body.app-shell .pv-pagina .btn:not(.pv-primario) {
  background: #ffffff;
  color: #7d1140;
  border: 1px solid #e3cad7;
  box-shadow: none;
}

body.app-shell .checador-kiosco .emp {
  border: 1px solid #e7dbe5;
  border-radius: 20px;
  background: #ffffff;
  color: #1c1028;
  box-shadow: 0 10px 24px -10px rgba(36, 10, 26, 0.09);
}

body.app-shell .checador-kiosco .emp small {
  color: #4a3a56 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}

body.app-shell .checador-kiosco .ck-card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 32px 80px rgba(18, 5, 16, 0.36), inset 0 4px 0 #c81d5e;
}

body.app-shell .checador-kiosco .ck-acciones button:not(.sec):not(.fin) {
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%);
  border-radius: 999px;
}

body.app-shell .fr-flujo--compacto,
body.app-shell .fr-formulario,
body.app-shell .fr-siguiente-paso,
body.app-shell .fr-caso-consultas,
body.app-shell .fr-rectificar,
body.app-shell .fr-seguimiento,
body.app-shell .falta-form {
  width: 100%;
  max-width: none;
}

body.app-shell .empleados-busqueda {
  background: #ffffff;
  border: 1px solid #e2d5e0;
  border-radius: 999px;
  padding: 0 18px;
  box-shadow: 0 4px 12px rgba(32, 10, 24, 0.04);
}

body.app-shell .empleados-boton,
body.app-shell .el-boton {
  border-radius: 999px;
  padding-inline: 20px;
}

body.app-shell .empleados-boton--principal,
body.app-shell .el-principal {
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%);
  border-color: #4b0b2b;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(158, 20, 78, 0.26);
}

body.app-shell .empleados-tabla th,
body.app-shell .el-tabla thead th {
  background: #2b0a1c;
  color: #fff8fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.app-shell .el-resumen > div,
body.app-shell .el-registro,
body.app-shell .el-historia {
  background: #ffffff;
  border-radius: 18px;
  border-color: #e7dbe5;
  box-shadow: 0 8px 22px -10px rgba(36, 10, 26, 0.07);
}

/* --- E) Catálogos: Servicios, Categorías y Gift Cards --- */
body.app-shell .servicios-catalogo {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 14px;
  min-height: calc(100dvh - 78px);
  box-sizing: border-box;
}

body.app-shell .categorias-pagina,
body.app-shell .categorias-pagina.categorias-organizador,
body.app-shell .gift-atencion,
body.app-shell .gift-design {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 26px 28px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow:
    0 24px 60px -16px rgba(42, 10, 30, 0.10),
    inset 0 1px 0 #ffffff;
}

body.app-shell .gift-form,
body.app-shell .gift-diseno,
body.app-shell .gift-tarjeta-nueva,
body.app-shell .gift-visual,
body.app-shell .gc-comprobante-wrap,
body.app-shell .fidelizacion-visita-captura,
body.app-shell .fidelizacion-visita-manual {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.app-shell > main.container > .gift-form,
body.app-shell > main.container > .gift-visual,
body.app-shell > main.container > .gc-comprobante-wrap {
  flex: 1 1 auto;
  border-radius: 28px;
}

body.app-shell .servicios-categorias,
body.app-shell .servicios-principal {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 26px;
  box-shadow: 0 18px 44px -14px rgba(42, 10, 30, 0.10);
}

body.app-shell .servicios-categorias {
  padding: 22px 14px;
}

body.app-shell .servicios-principal {
  padding: 24px 28px;
}

body.app-shell .servicios-categorias nav a {
  border-radius: 999px;
  border-left: 0;
  min-height: 46px;
}

body.app-shell .servicios-categorias nav a[aria-current] {
  background: linear-gradient(135deg, #4b0b2b, #a81956);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(135, 19, 72, 0.24);
}

body.app-shell .servicios-categorias nav a[aria-current] > span:not(.servicios-conteo) {
  color: #ffffff;
}

body.app-shell .servicios-categorias nav a[aria-current] > img {
  filter: brightness(0) invert(1);
}

body.app-shell .servicios-categorias nav a[aria-current] > .servicios-conteo {
  background: #ffffff;
  color: #681039;
  border-radius: 999px;
  font-weight: 850;
}

body.app-shell .servicios-busqueda {
  background: #ffffff;
  border: 1px solid #e2d5e0;
  border-radius: 999px;
  padding: 0 18px;
  box-shadow: 0 4px 12px rgba(32, 10, 24, 0.04);
}

body.app-shell .servicios-boton {
  border-radius: 999px;
  padding-inline: 20px;
  font-weight: 800;
}

body.app-shell .servicios-boton--principal {
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%);
  border-color: #4b0b2b;
  box-shadow: 0 8px 20px rgba(158, 20, 78, 0.28);
}

body.app-shell .servicios-tabla-marco {
  border: 1px solid #e7dbe5;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px -10px rgba(36, 10, 26, 0.07);
}

body.app-shell .servicios-tabla th {
  background: #2b0a1c;
  color: #fff8fc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.app-shell .servicios-estado,
body.app-shell .categorias-estado {
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

body.app-shell .categorias-calidad__actualizacion,
body.app-shell .categorias-calidad__metricas span,
body.app-shell .categorias-pagina span > small,
body.app-shell .categorias-selector > strong,
body.app-shell .categorias-servicios__cabecera,
body.app-shell .categorias-servicios__cabecera small,
body.app-shell .categorias-servicio__actual > span,
body.app-shell .gift-administracion p {
  font-size: 0.8rem;
  color: #463652;
}

body.app-shell .fidelizacion-visita-busqueda {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

body.app-shell .fidelizacion-visita-busqueda > label {
  flex: 1 1 100%;
}

body.app-shell .fidelizacion-visita-busqueda > input {
  flex: 1 1 320px;
  max-width: 560px;
}

body.app-shell .gift-recientes,
body.app-shell .gift-catalogo__regalo,
body.app-shell .gift-resultado {
  border-radius: 22px;
  border-color: #e7dbe5;
  box-shadow: 0 12px 30px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell .gift-recientes__tabla thead th {
  background: #2b0a1c;
  color: #fff8fc;
  font-size: 0.78rem;
}

/* --- F) Reportes, Corte de Caja, Ventas, Gráficas y Fidelización --- */
body.app-shell .caja,
body.app-shell .ventas-directorio,
body.app-shell .cmp,
body.app-shell .graficas-pagina,
body.app-shell .reporte-asistencia--prioridad,
body.app-shell .sat2-reporte,
body.app-shell .growth,
body.app-shell .auditoria-pagina {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 26px 28px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow:
    0 24px 60px -16px rgba(42, 10, 30, 0.12),
    inset 0 1px 0 #ffffff;
}

body.app-shell .caja h1,
body.app-shell .ventas-cabecera h1,
body.app-shell .graficas-cabecera h1 {
  font-size: 2.05rem;
  letter-spacing: -0.03em;
}

body.app-shell .caja-selector > summary,
body.app-shell .ventas-selector > summary,
body.app-shell .cmp-selector > summary {
  background: #ffffff;
  border: 1px solid #e4d7e2;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(32, 10, 24, 0.04);
}

body.app-shell .caja-resumen {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 14px;
  margin-bottom: 22px;
}

body.app-shell .caja-total {
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 146, 194, 0.36), transparent 44%),
    linear-gradient(135deg, #250516 0%, #640f38 55%, #a81956 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 220, 236, 0.28);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 18px 36px -10px rgba(88, 12, 48, 0.34);
}

body.app-shell .caja-total h2,
body.app-shell .caja-total > strong,
body.app-shell .caja-total > span {
  color: #ffffff;
}

body.app-shell .caja-metodos {
  gap: 14px;
}

body.app-shell .caja-metodo {
  background: #ffffff;
  border: 1px solid #e6d9e3;
  border-radius: 22px;
  padding: 18px 22px;
  box-shadow:
    0 10px 24px -10px rgba(36, 10, 26, 0.08),
    inset 0 4px 0 #16a34a;
}

body.app-shell .caja-metodo + .caja-metodo {
  box-shadow:
    0 10px 24px -10px rgba(36, 10, 26, 0.08),
    inset 0 4px 0 #c8195c;
}

body.app-shell .ventas-boton,
body.app-shell .cmp-boton {
  border-radius: 999px;
  padding-inline: 20px;
}

body.app-shell .ventas-boton--principal {
  background: linear-gradient(135deg, #4b0b2b 0%, #bd1a5d 100%);
  border-color: #4b0b2b;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(158, 20, 78, 0.26);
}

body.app-shell .ventas-columnas,
body.app-shell .auditoria-columnas {
  background: #2b0a1c;
  color: #fff8fc;
  border: 0;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.app-shell .ventas-columnas span,
body.app-shell .auditoria-columnas span {
  color: #fff8fc;
  font-size: 0.78rem;
}

body.app-shell .growth-card,
body.app-shell .growth-metric {
  border-radius: 22px;
  border-color: #e7dbe5;
  box-shadow: 0 12px 28px -10px rgba(36, 10, 26, 0.08);
}

body.app-shell .growth__eyebrow {
  font-size: 0.78rem;
  color: #9c1248;
}

body.app-shell .growth small {
  font-size: max(0.79rem, 12.6px);
  color: #4a3a56;
}

body.app-shell .growth-card--wide .growth-form > label > input,
body.app-shell .growth-card--wide .growth-form > label > select {
  max-width: 760px;
}

body.app-shell .cmp-badge {
  font-size: 0.78rem;
}

body.app-shell .asistencia-persona__identidad strong small,
body.app-shell .asistencia-persona__cifras > span,
body.app-shell .asistencia-persona__prioridad > span,
body.app-shell .asistencia-detalle__datos span,
body.app-shell .asistencia-detalle__pie p,
body.app-shell .fr-encabezados,
body.app-shell .fr-persona span,
body.app-shell .fr-prioridad,
body.app-shell .fr-formulario > header > span,
body.app-shell .fr-siguiente-paso > header > span,
body.app-shell .fr-formulario label > small,
body.app-shell .checador-corregir label,
body.app-shell .checador-hora-form label,
body.app-shell .checador-pin-form label {
  font-size: 0.78rem;
}

body.app-shell .auditoria-pagina code {
  font-size: 0.8rem;
  color: #3a122d;
  background: #f8eef4;
  padding: 2px 7px;
  border-radius: 6px;
}

body.app-shell .growth-table th {
  background: #2b0a1c;
  color: #fff8fc;
  font-size: 0.78rem;
}

@media (prefers-reduced-motion: reduce) {
  body.app-shell *,
  body.login-body * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
