/* Pelucrm · MODO OSCURO
   ARCHIVO GENERADO por herramientas/generar-oscuro.js a partir de css/styles.css.
   No editar arriba de "AJUSTES A MANO": se reescribe cada vez que se corre el script. */

html.oscuro {
  color-scheme: dark;
  --bg: #0F1115;
  --surface: #191C23;
  --ink: #E9EBF0;
  --muted: #9AA0AC;
  --line: #2B303A;
  --accent: #D63A2D;
  --accent-strong: #E8574A;
  --accent-ink: #FF8478;
  --accent-soft: #3A1E1C;
  --plum: #7F9BFF;
  --green: #5FB383;
  --gold: #D9B26A;
  --danger: #C93A2E;
  --blue: #7F9BFF;
  --blue-soft: #1F2742;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -12px rgba(0, 0, 0, .7);
}

html.oscuro .btn-ghost:hover { border-color: #515a6f; background: #222428; }
html.oscuro .btn-soft:hover { background: #492a25; }
html.oscuro .icon-btn.wa:hover { background: #214027; color: #a6debd; }
html.oscuro .icon-btn.danger:hover { background: #3c221f; }
html.oscuro .kpi-warn .kpi-ico { background: #3e3220; color: #d6c8bb; }
html.oscuro .list-row { border-top: 1px solid #262d3c; }
html.oscuro .list-row:hover { background: #232529; }
html.oscuro .avatar { box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.22); }
html.oscuro .pill { background: #29303f; color: #c4c7cf; }
html.oscuro .pill-cumple { background: #3c221f; color: #e59995; }
html.oscuro .pill-ok { background: #25402b; color: #a9dabc; }
html.oscuro .pill-warn { background: #3e3220; color: #e7c39d; }
html.oscuro .pill-info { background: #1e253a; color: #95a5e4; }
html.oscuro .pill-danger { background: #3c221f; color: #e59995; }
html.oscuro .pill-neutral { background: #29303f; color: #c4c7cf; }
html.oscuro .tag { background: #2b2e32; color: #b8bcc7; }
html.oscuro .chip:hover { border-color: #515a6f; }
html.oscuro .chip-on { color: #1d1d1d; }
html.oscuro .caja-metodos > div { background: #27292d; }
html.oscuro .cli-dup { background: #3a321e; }
html.oscuro .tbl td { border-bottom: 1px solid #262d3c; }
html.oscuro .tbl tbody tr:hover td { background: #232529; }
html.oscuro .ct-ico.wa { background: #214027; color: #a6debd; }
html.oscuro .ct-ico.ig { background: #3a211e; color: #e69a93; }
html.oscuro .ct-ico.tel { background: #1e253a; color: #91a3e9; }
html.oscuro .ct-ico.mail { background: #3e3220; color: #d6c8bb; }
html.oscuro .ct-ico.pre { background: #29303f; color: #c4c7cf; }
html.oscuro .dot-off { background: #737a8a; }
html.oscuro .field label { color: #c4c7cd; }
html.oscuro .input, html.oscuro input:not([type]), html.oscuro input[type="text"], html.oscuro input[type="search"], html.oscuro input[type="tel"], html.oscuro input[type="email"], html.oscuro input[type="url"], html.oscuro input[type="password"], html.oscuro input[type="date"], html.oscuro input[type="datetime-local"], html.oscuro input[type="time"], html.oscuro input[type="number"], html.oscuro select, html.oscuro textarea { background: #1d1f21; }
html.oscuro .check { background: #27292d; }
html.oscuro .cliente-nuevo { background: #25282b; border: 1px dashed #735c45; }
html.oscuro .cliente-nuevo p { color: #c4c7cd; }
html.oscuro .radio { background: #222428; }
html.oscuro code { background: #262d3c; }
html.oscuro .rank-row { border-top: 1px solid #262d3c; }
html.oscuro .rank-bar { background: #262d3c; }
html.oscuro .banner { background: linear-gradient(135deg, #331e1a, #1e253a); border: 1px solid #462924; color: #d7beac; }
html.oscuro .muted-banner { background: #252c3b; }
html.oscuro .drawer-backdrop { background: rgba(0, 0, 0, 0.72); }
html.oscuro .drawer { box-shadow: -18px 0 50px -20px rgba(0, 0, 0, 0.72); }
html.oscuro .drawer-head { background: linear-gradient(180deg, #242629, #1d1d1d); }
html.oscuro .drawer-stats > div { background: #232529; }
html.oscuro .drawer-sec { border-top: 1px solid #262d3c; }
html.oscuro .notas { background: #302719; border: 1px solid #2c3447; }
html.oscuro .alert-sec { background: #26282c; border: 1px solid #3d4660; }
html.oscuro .drawer-contacts li { border-top: 1px solid #292b2f; }
html.oscuro .hist-row { border-top: 1px solid #292b2f; }
html.oscuro .txt-warn { color: #e69a93; }
html.oscuro .hist-tabla td { border-bottom: 1px solid #292b2f; }
html.oscuro .turno-abierto { background: #232529; }
html.oscuro .turno-detalle { background: #232529; }
html.oscuro .td-stats > div { background: #1d1d1d; }
html.oscuro .td-venta { border-top: 1px solid #292f40; }
html.oscuro .camp-cli { background: #1d1d1d; }
html.oscuro .camp-cli-pot { border-color: #877251; background: #2f2818; }
html.oscuro .guia-box { background: #232529; }
html.oscuro .guia-ejemplo, html.oscuro .guia-consejo, html.oscuro .guia-reglas { background: #1d1d1d; }
html.oscuro .guia-consejo { background: #2f2818; border-color: #877251; }
html.oscuro .drawer-foot { background: #222428; }
html.oscuro .overlay { background: rgba(0, 0, 0, 0.75); }
html.oscuro .modal { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75); }
html.oscuro .onboard { background: radial-gradient(900px 500px at 85% -10%, #492a25 0%, transparent 60%),
    radial-gradient(700px 500px at -10% 110%, #212940 0%, transparent 55%),
    var(--bg); }
html.oscuro .ob-tag { color: #acb3c2; background: #2a2d31; }
html.oscuro #err-banner { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45); }
html.oscuro .prof-stats { background: #232529; }
html.oscuro .tbl .total-row td { background: #232529; }
html.oscuro .modo-campos { background: #232529; border: 1px dashed #4c5568; }
html.oscuro .btn-wa { background: #9de7c0; color: #1d1d1d; }
html.oscuro .btn-wa:hover { background: #9de7c1; color: #1d1d1d; }
html.oscuro .msg-label { color: #c4c7cd; }
html.oscuro .cola-progreso { background: #262d3c; }
html.oscuro .cola-progreso i { background: #b9d5c5; }
html.oscuro .cal-legend .lg { background: #2f333b; border-left: 3px solid #a3a6af; }
html.oscuro .cal-legend .lg-libre { background: #1d1d1d; }
html.oscuro .cal-legend .lg-pend { outline: 1.5px dashed #a3a6af; }
html.oscuro .cal-legend .lg-fuera { background: repeating-linear-gradient(135deg, #2e3135 0 4px, #393d47 4px 8px); }
html.oscuro .cal-colhead { border-left: 1px solid #262d3c; }
html.oscuro button.cal-colhead:hover { background: #232529; }
html.oscuro .cal-libre { color: #a9dabc; }
html.oscuro .cal-col { border-left: 1px solid #262d3c; }
html.oscuro .cal-col.hoy { background: #2c2317; }
html.oscuro .cal-slot { border-top: 1px dashed #282e40; }
html.oscuro .cal-slot.en-hora { border-top: 1px solid #30374a; }
html.oscuro .cal-slot:hover { background: #25402b; box-shadow: inset 0 0 0 1px #57916b; }
html.oscuro .cal-slot.fuera { background: repeating-linear-gradient(135deg, #27292d 0 6px, #272e3e 6px 12px); }
html.oscuro .cal-slot.fuera.pasado:hover { background: repeating-linear-gradient(135deg, #27292d 0 6px, #272e3e 6px 12px); }
html.oscuro .cal-turno { background: #2a2d31; background: color-mix(in srgb, var(--c) 15%, #1d1d1d); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.14); }
html.oscuro .cal-turno span { color: #c4c7cf; }
html.oscuro .cal-turno:hover { box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.63); }
html.oscuro .cal-legend .lg-aus { background: #393d49; }
html.oscuro .td-aviso { background: #36201c; color: #e79892; }
html.oscuro .camp-progreso { background: #262d3c; }
html.oscuro .camp-ver-ok { color: #a9dabc; }
html.oscuro .camp-ver-warn { color: #d6c8bb; }
html.oscuro .camp-veredicto.camp-ver-ok { background: linear-gradient(135deg, #1f3b26, #25272b); border-color: #2d543a; color: #add7bd; }
html.oscuro .camp-veredicto.camp-ver-warn { background: linear-gradient(135deg, #3a2e1e, #26292c); border-color: #3d4660; color: #e7c19d; }
html.oscuro .camp-veredicto.camp-ver-neutro { background: #252c3b; color: #c4c7cf; }
html.oscuro .camp-bar { background: #30374a; }
html.oscuro .camp-leyenda .lg-total { background: #30374a; }
html.oscuro .idea-en-marcha { border-color: #2d543a; box-shadow: 0 0 0 1px #2d543a, var(--shadow); }
html.oscuro .hace-dias-alerta { color: #d6c8bb; }
html.oscuro .pago-efectivo { background: #25402b; color: #a9dabc; }
html.oscuro .pago-tarjeta { background: #1e253a; color: #91a3e9; }
html.oscuro .pago-transferencia { background: #1e253a; color: #95a5e4; }
html.oscuro .pago-card { background: #232529; }
html.oscuro .pago-ico { background: #29303f; color: #c4c7cf; }
html.oscuro .pago-card-efectivo .pago-ico { background: #25402b; color: #a9dabc; }
html.oscuro .pago-card-tarjeta .pago-ico { background: #1e253a; color: #91a3e9; }
html.oscuro .pago-card-transferencia .pago-ico { background: #1e253a; color: #95a5e4; }
@media (min-width: 521px) {
  html.oscuro.vista-movil { background: #3f485e; }
  html.oscuro.vista-movil body { box-shadow: 0 0 0 1px var(--line), 0 24px 70px -24px rgba(0, 0, 0, 0.75); }
}
html.oscuro .btn-soft { background: #262d3c; }
html.oscuro .btn-soft:hover { background: #343842; }
html.oscuro .btn-ghost { background: #1d1d1d; border-color: #393e48; }
html.oscuro .btn-ghost:hover { background: #232528; border-color: #4e586d; }
html.oscuro .icon-btn:hover { background: #262d3c; }
html.oscuro a:hover { color: #90a3e9; }
html.oscuro .card, html.oscuro .kpi { border-color: #2d3545; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), 0 10px 24px -18px rgba(0, 0, 0, 0.50); }
html.oscuro .kpi-ico { background: #282a2e; }
html.oscuro .date-badge { background: #282a2e; }
html.oscuro .pill-info { color: #90a3e9; }
html.oscuro .bar { background: linear-gradient(180deg, #3557D6, #a5afdf) !important; }
html.oscuro .pago-card-transferencia .pago-ico { background: #282a2e; }
html.oscuro .auth-card input[type="password"], html.oscuro .auth-clave input[type="text"] { background: #1d1f21; }
html.oscuro .auth-msg.error { background: #3a211e; color: #d4b9b7; }
html.oscuro .auth-msg.ok { background: #214027; color: #a6debd; }
html.oscuro .guia-card { background: var(--surface, #1d1d1d); box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(0, 0, 0, 0.11); }
html.oscuro .guia-texto { color: #cacdd4; }
html.oscuro .guia-puntos i { background: #29303f; }
html.oscuro .guia-puntos i.ya { background: #69443f; }
html.oscuro .cli-aviso { background: #3e3220; color: #e7c59d; }

/* ===== AJUSTES A MANO ===== */
/* Contadores y chips que usan el color del texto como fondo: en oscuro, texto oscuro. */
html.oscuro .h-count, html.oscuro .chip-on { color: #15171D; }
/* El campo del buscador va sin recuadro propio (el recuadro lo pone .search-box). */
html.oscuro .search-box input { background: transparent; border: 0; box-shadow: none; }
