/* ============================================================
   Modo oscuro para las pantallas con estilos propios
   (superadmin y vistas antiguas con Bootstrap / CSS en linea).
   Generado a partir de los colores claros que usan esas vistas.
   ============================================================ */
html[data-theme="dark"] { color-scheme: dark; }

/* --- Base y textos --- */
html[data-theme="dark"] body { background: #0b1220 !important; color: #cbd5e1 !important; }
html[data-theme="dark"] .main-container, html[data-theme="dark"] .container, html[data-theme="dark"] .container-fluid { background: transparent; }
html[data-theme="dark"] .text-muted, html[data-theme="dark"] .text-secondary, html[data-theme="dark"] .text-body-secondary, html[data-theme="dark"] .form-text, html[data-theme="dark"] .muted, html[data-theme="dark"] small, html[data-theme="dark"] .small { color: #9fb0c6 !important; }
html[data-theme="dark"] .text-dark, html[data-theme="dark"] .text-body, html[data-theme="dark"] .text-black { color: #dbe4f0 !important; }
html[data-theme="dark"] p, html[data-theme="dark"] label, html[data-theme="dark"] li, html[data-theme="dark"] dt, html[data-theme="dark"] dd { color: inherit; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 { color: #e8eefb; }
html[data-theme="dark"] a { color: #8ab7ff; }

/* --- Bootstrap 5 --- */
html[data-theme="dark"] .card, html[data-theme="dark"] .modal-content, html[data-theme="dark"] .dropdown-menu, html[data-theme="dark"] .offcanvas, html[data-theme="dark"] .popover, html[data-theme="dark"] .list-group-item, html[data-theme="dark"] .accordion-item { background: #111a2e !important; border-color: #243149 !important; color: #cbd5e1 !important; }
html[data-theme="dark"] .card-header, html[data-theme="dark"] .card-footer, html[data-theme="dark"] .modal-header, html[data-theme="dark"] .modal-footer, html[data-theme="dark"] .accordion-button { background: #0f1a2e !important; border-color: #243149 !important; color: #dbe4f0 !important; }
html[data-theme="dark"] .table { --bs-table-color: #cbd5e1; --bs-table-bg: transparent; --bs-table-border-color: #223049; --bs-table-striped-bg: #16223a; --bs-table-hover-bg: #16223a; color: #cbd5e1 !important; border-color: #223049 !important; }
html[data-theme="dark"] .table > :not(caption) > * > * { background-color: transparent !important; color: #cbd5e1 !important; border-color: #223049 !important; }
html[data-theme="dark"] .table thead th { background: #0f1a2e !important; color: #9fb0c6 !important; }
html[data-theme="dark"] .form-control, html[data-theme="dark"] .form-select, html[data-theme="dark"] .input-group-text, html[data-theme="dark"] .form-check-input { background-color: #0f1a2e !important; border-color: #243149 !important; color: #dbe4f0 !important; }
html[data-theme="dark"] .form-control::placeholder { color: #64748b !important; }
html[data-theme="dark"] .btn-light, html[data-theme="dark"] .btn-outline-secondary { background: #16223a !important; border-color: #2c3b58 !important; color: #dbe4f0 !important; }
html[data-theme="dark"] .btn-close { filter: invert(1) grayscale(1); }
html[data-theme="dark"] .badge.bg-light, html[data-theme="dark"] .bg-light { background: #1e2b45 !important; color: #dbe4f0 !important; }
html[data-theme="dark"] .bg-white { background: #111a2e !important; }
html[data-theme="dark"] .border, html[data-theme="dark"] .border-top, html[data-theme="dark"] .border-bottom, html[data-theme="dark"] .border-start, html[data-theme="dark"] .border-end { border-color: #223049 !important; }
html[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before { color: #64748b; }
html[data-theme="dark"] .nav-tabs .nav-link.active { background: #111a2e !important; border-color: #243149 #243149 #111a2e !important; color: #dbe4f0 !important; }
html[data-theme="dark"] .page-link { background: #111a2e; border-color: #243149; color: #8ab7ff; }
html[data-theme="dark"] .progress { background: #1e2b45; }
html[data-theme="dark"] .alert-danger { background: #2a1218 !important; border-color: #5b1f2c !important; color: #fda4af !important; }
html[data-theme="dark"] .alert-warning { background: #2a2110 !important; border-color: #5c4413 !important; color: #fcd34d !important; }
html[data-theme="dark"] .alert-success { background: #0c2a20 !important; border-color: #14503a !important; color: #6ee7b7 !important; }
html[data-theme="dark"] .alert-info { background: #0d2436 !important; border-color: #17415c !important; color: #7dd3fc !important; }

html[data-theme="dark"] #modalPago .b-abono { background-color: #111a2e !important; }
html[data-theme="dark"] #modalPago .b-cerrar, html[data-theme="dark"] #modalNuevo .b-cerrar { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] #modalPago .caja, html[data-theme="dark"] #modalNuevo .caja { background-color: #111a2e !important; }
html[data-theme="dark"] #modalPago .sub, html[data-theme="dark"] #modalNuevo .sub { color: #cfd9e6 !important; }
html[data-theme="dark"] #modalPago label, html[data-theme="dark"] #modalNuevo label { color: #cfd9e6 !important; }
html[data-theme="dark"] #modalResumen .rv-atajos button { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] #modalResumen .rv-btns { background-color: #111a2e !important; }
html[data-theme="dark"] #modalResumen .rv-caja { background-color: #111a2e !important; }
html[data-theme="dark"] #modalResumen .rv-cancelar { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] #modalResumen .rv-cliente { color: #cfd9e6 !important; }
html[data-theme="dark"] #modalResumen .rv-fecha input[type=date] { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] #modalResumen .rv-fecha label { color: #cfd9e6 !important; }
html[data-theme="dark"] #modalResumen .rv-fila { color: #cfd9e6 !important; }
html[data-theme="dark"] #modalResumen .rv-pago label { color: #cfd9e6 !important; }
html[data-theme="dark"] #modalResumen .rv-sub { color: #cfd9e6 !important; }
html[data-theme="dark"] #modalVenta .caja { background-color: #111a2e !important; }
html[data-theme="dark"] #modalVenta label { color: #cfd9e6 !important; }
html[data-theme="dark"] #printArea { background-color: #111a2e !important; }
html[data-theme="dark"] #printArea .pie { color: #cfd9e6 !important; }
html[data-theme="dark"] #printArea .sub { color: #cfd9e6 !important; }
html[data-theme="dark"] .alerta { background-color: #111a2e !important; }
html[data-theme="dark"] .alerta.ambar { background-color: #111a2e !important; }
html[data-theme="dark"] .alerta.err { background-color: #111a2e !important; }
html[data-theme="dark"] .alerta.warn { background-color: #111a2e !important; }
html[data-theme="dark"] .att-check.off { background-color: #111a2e !important; }
html[data-theme="dark"] .att-chip { background-color: #111a2e !important; }
html[data-theme="dark"] .att-mini .b { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .att-nota-sel { background-color: #111a2e !important; }
html[data-theme="dark"] .att-savebar { background-color: #111a2e !important; }
html[data-theme="dark"] .att-state { color: #cfd9e6 !important; }
html[data-theme="dark"] .aviso { background-color: #111a2e !important; }
html[data-theme="dark"] .aviso.bad { background-color: #111a2e !important; }
html[data-theme="dark"] .aviso-iva { background-color: #111a2e !important; }
html[data-theme="dark"] .aviso-navegador { background-color: #111a2e !important; }
html[data-theme="dark"] .aviso-seguridad { background-color: #111a2e !important; }
html[data-theme="dark"] .badge-method.transfer { background-color: #111a2e !important; }
html[data-theme="dark"] .badge-off { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .badge-plan.espera { background-color: #111a2e !important; }
html[data-theme="dark"] .badge-ro { background-color: #111a2e !important; }
html[data-theme="dark"] .badge-status.card { background-color: #111a2e !important; }
html[data-theme="dark"] .badge-type.quick_sale { background-color: #111a2e !important; }
html[data-theme="dark"] .barra { background-color: #111a2e !important; }
html[data-theme="dark"] .barra-guardar { background-color: #111a2e !important; }
html[data-theme="dark"] .barra-guardar .no { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .bar-track { background-color: #111a2e !important; }
html[data-theme="dark"] .blkrow .nm { color: #cfd9e6 !important; }
html[data-theme="dark"] .bloque .d { color: #cfd9e6 !important; }
html[data-theme="dark"] .bloque .t { color: #cfd9e6 !important; }
html[data-theme="dark"] .bottom-nav { background-color: #111a2e !important; }
html[data-theme="dark"] .bottom-nav .nav-list a { color: #cfd9e6 !important; }
html[data-theme="dark"] .b-pending { background-color: #111a2e !important; }
html[data-theme="dark"] .btn.ghost { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn.gris { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn.limpiar { background-color: #111a2e !important; }
html[data-theme="dark"] .btn.no { background-color: #111a2e !important; }
html[data-theme="dark"] .btn-act { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-add { background-color: #111a2e !important; }
html[data-theme="dark"] .btn-cancelar { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-danger { background-color: #111a2e !important; }
html[data-theme="dark"] .btn-ghost { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-google { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-gris { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-llamar { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-mini { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-pendiente { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-rojo { background-color: #111a2e !important; }
html[data-theme="dark"] .btn-s { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .btn-transf { background-color: #111a2e !important; }
html[data-theme="dark"] .btn-volver { background-color: #111a2e !important; }
html[data-theme="dark"] .cab .fechas { color: #cfd9e6 !important; }
html[data-theme="dark"] .cab a { color: #cfd9e6 !important; }
html[data-theme="dark"] .caja { background-color: #111a2e !important; }
html[data-theme="dark"] .caja .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .caja .s { color: #cfd9e6 !important; }
html[data-theme="dark"] .caja .v { color: #cfd9e6 !important; }
html[data-theme="dark"] .cajas .c { background-color: #111a2e !important; }
html[data-theme="dark"] .cajas .c .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .calculo b { color: #cfd9e6 !important; }
html[data-theme="dark"] .cambio .et { color: #cfd9e6 !important; }
html[data-theme="dark"] .campo .pista { color: #cfd9e6 !important; }
html[data-theme="dark"] .campo label { color: #cfd9e6 !important; }
html[data-theme="dark"] .card { background-color: #111a2e !important; }
html[data-theme="dark"] .card-box { background-color: #111a2e !important; }
html[data-theme="dark"] .card-box h2 { color: #cfd9e6 !important; }
html[data-theme="dark"] .card-box h5 { color: #cfd9e6 !important; }
html[data-theme="dark"] .carnet { background-color: #111a2e !important; }
html[data-theme="dark"] .carnet .code .cv { color: #cfd9e6 !important; }
html[data-theme="dark"] .carnet .code .cv b { color: #cfd9e6 !important; }
html[data-theme="dark"] .carnet .datos .d b { color: #cfd9e6 !important; }
html[data-theme="dark"] .carnet .fila { color: #cfd9e6 !important; }
html[data-theme="dark"] .carnet .fila b { color: #cfd9e6 !important; }
html[data-theme="dark"] .cart-actions { background-color: #111a2e !important; }
html[data-theme="dark"] .cart-item .desc-caja input:disabled { background-color: #111a2e !important; }
html[data-theme="dark"] .cart-item .desc-caja select { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .cart-item .info .name { color: #cfd9e6 !important; }
html[data-theme="dark"] .cart-item .info .qty-price { color: #cfd9e6 !important; }
html[data-theme="dark"] .cart-item .item-tax .tax-tag { color: #cfd9e6 !important; }
html[data-theme="dark"] .cart-total .desc-venta select { background-color: #111a2e !important; }
html[data-theme="dark"] .cart-total .tax-row { color: #cfd9e6 !important; }
html[data-theme="dark"] .category-list-item .cat-desc { color: #cfd9e6 !important; }
html[data-theme="dark"] .category-list-item .cat-name { color: #cfd9e6 !important; }
html[data-theme="dark"] .chart-title { color: #cfd9e6 !important; }
html[data-theme="dark"] .chip { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .chip .t { color: #cfd9e6 !important; }
html[data-theme="dark"] .chip.activo { background-color: #111a2e !important; }
html[data-theme="dark"] .chip.no { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .clave-input { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .client-table td { color: #cfd9e6 !important; }
html[data-theme="dark"] .client-table th { color: #cfd9e6 !important; }
html[data-theme="dark"] .company-table td { color: #cfd9e6 !important; }
html[data-theme="dark"] .company-table th { color: #cfd9e6 !important; }
html[data-theme="dark"] .datos .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .doc { background-color: #111a2e !important; }
html[data-theme="dark"] .dup td { background-color: #111a2e !important; }
html[data-theme="dark"] .dz-chk { color: #cfd9e6 !important; }
html[data-theme="dark"] .dz-col .c { color: #cfd9e6 !important; }
html[data-theme="dark"] .dz-col input[type=color] { background-color: #111a2e !important; }
html[data-theme="dark"] .dz-f input[type=text], html[data-theme="dark"] .dz-f select, html[data-theme="dark"] .dz-f textarea { background-color: #111a2e !important; }
html[data-theme="dark"] .dz-f label { color: #cfd9e6 !important; }
html[data-theme="dark"] .edu-doc-list li { background-color: #111a2e !important; }
html[data-theme="dark"] .edu-field input, html[data-theme="dark"] .edu-field select, html[data-theme="dark"] .edu-field textarea { background-color: #111a2e !important; }
html[data-theme="dark"] .edu-field label { color: #cfd9e6 !important; }
html[data-theme="dark"] .e-lectura { background-color: #111a2e !important; }
html[data-theme="dark"] .empty-state { color: #cfd9e6 !important; }
html[data-theme="dark"] .encabezado h1 { color: #cfd9e6 !important; }
html[data-theme="dark"] .enlace { background-color: #111a2e !important; }
html[data-theme="dark"] .enlace code { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .etiqueta.cancelado { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .etiqueta.suave { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .expense-table td { color: #cfd9e6 !important; }
html[data-theme="dark"] .expense-table th { color: #cfd9e6 !important; }
html[data-theme="dark"] .fila .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .fila .meta { color: #cfd9e6 !important; }
html[data-theme="dark"] .fila .nom b { color: #cfd9e6 !important; }
html[data-theme="dark"] .fila .nom small { color: #cfd9e6 !important; }
html[data-theme="dark"] .fila .quien { color: #cfd9e6 !important; }
html[data-theme="dark"] .filtros a { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .filtros label { color: #cfd9e6 !important; }
html[data-theme="dark"] .filtros label, html[data-theme="dark"] .form-label { color: #cfd9e6 !important; }
html[data-theme="dark"] .firma { color: #cfd9e6 !important; }
html[data-theme="dark"] .firma-caja { background-color: #111a2e !important; }
html[data-theme="dark"] .form-card { background-color: #111a2e !important; }
html[data-theme="dark"] .form-card .form-label { color: #cfd9e6 !important; }
html[data-theme="dark"] .form-card .section-title { color: #cfd9e6 !important; }
html[data-theme="dark"] .form-label { color: #cfd9e6 !important; }
html[data-theme="dark"] .gr-avgbar .b { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .gr-avgbar .b strong { color: #cfd9e6 !important; }
html[data-theme="dark"] .gr-progress { background-color: #111a2e !important; }
html[data-theme="dark"] .gr-savebar { background-color: #111a2e !important; }
html[data-theme="dark"] .gr-state { color: #cfd9e6 !important; }
html[data-theme="dark"] .head h1 { color: #cfd9e6 !important; }
html[data-theme="dark"] .head p { color: #cfd9e6 !important; }
html[data-theme="dark"] .help strong { color: #cfd9e6 !important; }
html[data-theme="dark"] .hint { color: #cfd9e6 !important; }
html[data-theme="dark"] .hoja { background-color: #111a2e !important; }
html[data-theme="dark"] .info-item .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .item .desc { color: #cfd9e6 !important; }
html[data-theme="dark"] .item .fecha { color: #cfd9e6 !important; }
html[data-theme="dark"] .item .info small { color: #cfd9e6 !important; }
html[data-theme="dark"] .item .meta { color: #cfd9e6 !important; }
html[data-theme="dark"] .item .saldo { color: #cfd9e6 !important; }
html[data-theme="dark"] .item .titulo { color: #cfd9e6 !important; }
html[data-theme="dark"] .items .pv-hint { color: #cfd9e6 !important; }
html[data-theme="dark"] .iva-cero { color: #cfd9e6 !important; }
html[data-theme="dark"] .iva-no { color: #cfd9e6 !important; }
html[data-theme="dark"] .kpi { background-color: #111a2e !important; }
html[data-theme="dark"] .kpi .l { color: #cfd9e6 !important; }
html[data-theme="dark"] .kpi .n { color: #cfd9e6 !important; }
html[data-theme="dark"] .kpi .t { color: #cfd9e6 !important; }
html[data-theme="dark"] .kv .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .legal .cookies a { color: #cfd9e6 !important; }
html[data-theme="dark"] .legal .links a { color: #cfd9e6 !important; }
html[data-theme="dark"] .legal .session { color: #cfd9e6 !important; }
html[data-theme="dark"] .legal-pie { color: #cfd9e6 !important; }
html[data-theme="dark"] .legend { color: #cfd9e6 !important; }
html[data-theme="dark"] .linea .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .linea .k small { color: #cfd9e6 !important; }
html[data-theme="dark"] .linea .margen { color: #cfd9e6 !important; }
html[data-theme="dark"] .linea .mini { color: #cfd9e6 !important; }
html[data-theme="dark"] .linea .sub { color: #cfd9e6 !important; }
html[data-theme="dark"] .linea.neta.neg { background-color: #111a2e !important; }
html[data-theme="dark"] .linea.suma { background-color: #111a2e !important; }
html[data-theme="dark"] .linea-total { color: #cfd9e6 !important; }
html[data-theme="dark"] .man-h3 { color: #cfd9e6 !important; }
html[data-theme="dark"] .man-list { color: #cfd9e6 !important; }
html[data-theme="dark"] .man-p { color: #cfd9e6 !important; }
html[data-theme="dark"] .meta { color: #cfd9e6 !important; }
html[data-theme="dark"] .meta b { color: #cfd9e6 !important; }
html[data-theme="dark"] .mini { color: #cfd9e6 !important; }
html[data-theme="dark"] .mini-tbl th { color: #cfd9e6 !important; }
html[data-theme="dark"] .mod { background-color: #111a2e !important; }
html[data-theme="dark"] .mod .nm { color: #cfd9e6 !important; }
html[data-theme="dark"] .mod .tg { color: #cfd9e6 !important; }
html[data-theme="dark"] .mod.lock { background-color: #111a2e !important; }
html[data-theme="dark"] .mod.off .mi { color: #cfd9e6 !important; }
html[data-theme="dark"] .modal-header .modal-title { color: #cfd9e6 !important; }
html[data-theme="dark"] .mod-card { background-color: #111a2e !important; }
html[data-theme="dark"] .mod-card small { color: #cfd9e6 !important; }
html[data-theme="dark"] .module-item .ds { color: #cfd9e6 !important; }
html[data-theme="dark"] .module-item .nm { color: #cfd9e6 !important; }
html[data-theme="dark"] .modulo { background-color: #111a2e !important; }
html[data-theme="dark"] .modulo .q { color: #cfd9e6 !important; }
html[data-theme="dark"] .modulo h3 { color: #cfd9e6 !important; }
html[data-theme="dark"] .mono { color: #cfd9e6 !important; }
html[data-theme="dark"] .msg .who { color: #cfd9e6 !important; }
html[data-theme="dark"] .msg.admin { background-color: #111a2e !important; }
html[data-theme="dark"] .msg.me { background-color: #111a2e !important; }
html[data-theme="dark"] .nota { color: #cfd9e6 !important; }
html[data-theme="dark"] .nota b { color: #cfd9e6 !important; }
html[data-theme="dark"] .nota-fuerte { background-color: #111a2e !important; }
html[data-theme="dark"] .nota-iva { color: #cfd9e6 !important; }
html[data-theme="dark"] .notas { color: #cfd9e6 !important; }
html[data-theme="dark"] .notas .caja { background-color: #111a2e !important; }
html[data-theme="dark"] .noTengo { background-color: #111a2e !important; }
html[data-theme="dark"] .noTengo .d { color: #cfd9e6 !important; }
html[data-theme="dark"] .noTengo .t { color: #cfd9e6 !important; }
html[data-theme="dark"] .opciones label { color: #cfd9e6 !important; }
html[data-theme="dark"] .opt { background-color: #111a2e !important; }
html[data-theme="dark"] .opt h3 { color: #cfd9e6 !important; }
html[data-theme="dark"] .opt p { color: #cfd9e6 !important; }
html[data-theme="dark"] .opt ul li { color: #cfd9e6 !important; }
html[data-theme="dark"] .page-head h1 { color: #cfd9e6 !important; }
html[data-theme="dark"] .page-head p { color: #cfd9e6 !important; }
html[data-theme="dark"] .page-header h1 { color: #cfd9e6 !important; }
html[data-theme="dark"] .page-header p { color: #cfd9e6 !important; }
html[data-theme="dark"] .page-title { color: #cfd9e6 !important; }
html[data-theme="dark"] .pago .quien { color: #cfd9e6 !important; }
html[data-theme="dark"] .payment-btn.active { background-color: #111a2e !important; }
html[data-theme="dark"] .payment-method .btn-method.active { background-color: #111a2e !important; }
html[data-theme="dark"] .pedido { background-color: #111a2e !important; }
html[data-theme="dark"] .pedido .meta { color: #cfd9e6 !important; }
html[data-theme="dark"] .pedido .quien { color: #cfd9e6 !important; }
html[data-theme="dark"] .perm label { color: #cfd9e6 !important; }
html[data-theme="dark"] .pie { color: #cfd9e6 !important; }
html[data-theme="dark"] .pie-pag { color: #cfd9e6 !important; }
html[data-theme="dark"] .pill-cero { background-color: #111a2e !important; }
html[data-theme="dark"] .pill-dup { background-color: #111a2e !important; }
html[data-theme="dark"] .pill-none { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .pill-off { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .pista { color: #cfd9e6 !important; }
html[data-theme="dark"] .pl .linea .c { color: #cfd9e6 !important; }
html[data-theme="dark"] .pl .sec { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan { background-color: #111a2e !important; }
html[data-theme="dark"] .plan .desc { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan .nom { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan .pre small { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan-card .plan-days { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan-card .plan-name { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan-fecha { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan-selector .card .price { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan-selector .card .price small { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan-table td { color: #cfd9e6 !important; }
html[data-theme="dark"] .plan-table th { color: #cfd9e6 !important; }
html[data-theme="dark"] .plata .caja { background-color: #111a2e !important; }
html[data-theme="dark"] .plata .caja .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .plata .caja.total .v { color: #cfd9e6 !important; }
html[data-theme="dark"] .pre-card { background-color: #111a2e !important; }
html[data-theme="dark"] .pre-field input, html[data-theme="dark"] .pre-field select, html[data-theme="dark"] .pre-field textarea { background-color: #111a2e !important; }
html[data-theme="dark"] .pre-field label { color: #cfd9e6 !important; }
html[data-theme="dark"] .pre-font { color: #cfd9e6 !important; }
html[data-theme="dark"] .pre-name { color: #cfd9e6 !important; }
html[data-theme="dark"] .price-total { color: #cfd9e6 !important; }
html[data-theme="dark"] .prod { background-color: #111a2e !important; }
html[data-theme="dark"] .prod .cat { color: #cfd9e6 !important; }
html[data-theme="dark"] .prod .desc { color: #cfd9e6 !important; }
html[data-theme="dark"] .prod .precio { color: #cfd9e6 !important; }
html[data-theme="dark"] .product-item .name { color: #cfd9e6 !important; }
html[data-theme="dark"] .product-item .stock { color: #cfd9e6 !important; }
html[data-theme="dark"] .product-name { color: #cfd9e6 !important; }
html[data-theme="dark"] .product-sku { color: #cfd9e6 !important; }
html[data-theme="dark"] .product-table td { color: #cfd9e6 !important; }
html[data-theme="dark"] .product-table th { color: #cfd9e6 !important; }
html[data-theme="dark"] .product-tag { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .prop-titulo { color: #cfd9e6 !important; }
html[data-theme="dark"] .propuesta { background-color: #111a2e !important; }
html[data-theme="dark"] .pv { background-color: #111a2e !important; }
html[data-theme="dark"] .pvbox { background-color: #111a2e !important; }
html[data-theme="dark"] .qr { background-color: #111a2e !important; }
html[data-theme="dark"] .quick-link span { color: #cfd9e6 !important; }
html[data-theme="dark"] .quitar { background-color: #111a2e !important; }
html[data-theme="dark"] .rango .atajo { background-color: #111a2e !important; }
html[data-theme="dark"] .rango a.atajo { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .recibo { background-color: #111a2e !important; }
html[data-theme="dark"] .resultados { background-color: #111a2e !important; }
html[data-theme="dark"] .resumen .tarjeta .t { color: #cfd9e6 !important; }
html[data-theme="dark"] .sa-check.off { background-color: #111a2e !important; }
html[data-theme="dark"] .sa-chip { background-color: #111a2e !important; }
html[data-theme="dark"] .sales-table td { color: #cfd9e6 !important; }
html[data-theme="dark"] .sales-table th { color: #cfd9e6 !important; }
html[data-theme="dark"] .seccion { color: #cfd9e6 !important; }
html[data-theme="dark"] .secret { background-color: #111a2e !important; }
html[data-theme="dark"] .seguro { color: #cfd9e6 !important; }
html[data-theme="dark"] .sesion { background-color: #111a2e !important; }
html[data-theme="dark"] .sin-mods { color: #cfd9e6 !important; }
html[data-theme="dark"] .slug-caja .pre { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .split-sobra { background-color: #111a2e !important; }
html[data-theme="dark"] .stat { background-color: #111a2e !important; }
html[data-theme="dark"] .stat .lbl { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat .sub { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat .val { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-card { background-color: #111a2e !important; }
html[data-theme="dark"] .stat-card .label { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-card .n { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-card .stat-label { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-card .stat-value { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-card .sub { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-card .t { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-card .value { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-card.destacada .t, html[data-theme="dark"] .stat-card.destacada .n { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-label { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-sub { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-sub strong { color: #cfd9e6 !important; }
html[data-theme="dark"] .stat-value { color: #cfd9e6 !important; }
html[data-theme="dark"] .sub { color: #cfd9e6 !important; }
html[data-theme="dark"] .switch-iva { background-color: #111a2e !important; }
html[data-theme="dark"] .tabla th { color: #cfd9e6 !important; }
html[data-theme="dark"] .tabla-pagos thead th { color: #cfd9e6 !important; }
html[data-theme="dark"] .table-card { background-color: #111a2e !important; }
html[data-theme="dark"] .table-card .table-header h3 { color: #cfd9e6 !important; }
html[data-theme="dark"] .table-custom td { color: #cfd9e6 !important; }
html[data-theme="dark"] .table-custom th { color: #cfd9e6 !important; }
html[data-theme="dark"] .table-header h3 { color: #cfd9e6 !important; }
html[data-theme="dark"] .table-header h4 { color: #cfd9e6 !important; }
html[data-theme="dark"] .tarea .t-cmd { color: #cfd9e6 !important; }
html[data-theme="dark"] .tarea .t-desc { color: #cfd9e6 !important; }
html[data-theme="dark"] .tarea .t-nombre { color: #cfd9e6 !important; }
html[data-theme="dark"] .tarjeta { background-color: #111a2e !important; }
html[data-theme="dark"] .tbl th { color: #cfd9e6 !important; }
html[data-theme="dark"] .tipo-info { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .tipos label { color: #cfd9e6 !important; }
html[data-theme="dark"] .tk .pie { color: #cfd9e6 !important; }
html[data-theme="dark"] .tkt .m { color: #cfd9e6 !important; }
html[data-theme="dark"] .today-amount small { color: #cfd9e6 !important; }
html[data-theme="dark"] .today-header h4 { color: #cfd9e6 !important; }
html[data-theme="dark"] .today-label { color: #cfd9e6 !important; }
html[data-theme="dark"] .today-number { color: #cfd9e6 !important; }
html[data-theme="dark"] .toolbar { background-color: #111a2e !important; }
html[data-theme="dark"] .toolbar .ghost { background-color: #111a2e !important; color: #cfd9e6 !important; }
html[data-theme="dark"] .toolbar .hint { color: #cfd9e6 !important; }
html[data-theme="dark"] .total .lbl { color: #cfd9e6 !important; }
html[data-theme="dark"] .total-box .big .lbl { color: #cfd9e6 !important; }
html[data-theme="dark"] .totales .fila { color: #cfd9e6 !important; }
html[data-theme="dark"] .totales .fila.grande { color: #cfd9e6 !important; }
html[data-theme="dark"] .totales .k { color: #cfd9e6 !important; }
html[data-theme="dark"] .transaction-item .info .text .sub { color: #cfd9e6 !important; }
html[data-theme="dark"] .user-badge .name { color: #cfd9e6 !important; }
html[data-theme="dark"] .user-badge .role { color: #cfd9e6 !important; }
html[data-theme="dark"] .vacio { background-color: #111a2e !important; }
html[data-theme="dark"] .vacio i { color: #cfd9e6 !important; }
html[data-theme="dark"] .voucher-footer { color: #cfd9e6 !important; }
html[data-theme="dark"] .voucher-header .company { color: #cfd9e6 !important; }
html[data-theme="dark"] .voucher-header .sale-id { color: #cfd9e6 !important; }
html[data-theme="dark"] .voucher-header .sub { color: #cfd9e6 !important; }
html[data-theme="dark"] .voucher-table th { color: #cfd9e6 !important; }
html[data-theme="dark"] .voucher-total .amount { color: #cfd9e6 !important; }
html[data-theme="dark"] .voucher-total .label { color: #cfd9e6 !important; }
html[data-theme="dark"] .worker-table td { color: #cfd9e6 !important; }
html[data-theme="dark"] .worker-table th { color: #cfd9e6 !important; }
html[data-theme="dark"] /* ====== Mismos estilos del comprobante de la venta (#printArea) ====== */ #printArea { background-color: #111a2e !important; }
html[data-theme="dark"] /* Alertas */ .alert { background-color: #111a2e !important; }
html[data-theme="dark"] /* Aviso de "sin guardar" + barra de guardar pegada abajo */ .aviso-guardar { background-color: #111a2e !important; }
html[data-theme="dark"] /* Aviso de que las notificaciones están apagadas en este teléfono */ .aviso-push { background-color: #111a2e !important; }
html[data-theme="dark"] /* Módulos incluidos en cada plan */ .mods-tit { color: #cfd9e6 !important; }
html[data-theme="dark"] /* Plan actual */ .plan-card { background-color: #111a2e !important; }
html[data-theme="dark"] /* Plan asignado */ .plan-nombre { color: #cfd9e6 !important; }
html[data-theme="dark"] /* Selector de tamaño de impresión */ .print-size-ctrl { background-color: #111a2e !important; }
html[data-theme="dark"] body { background-color: #111a2e !important; }
html[data-theme="dark"] body.imprimiendo-prueba #ticketPrueba { background-color: #111a2e !important; }
html[data-theme="dark"] code { background-color: #111a2e !important; }
html[data-theme="dark"] details summary { color: #cfd9e6 !important; }
html[data-theme="dark"] h2 { color: #cfd9e6 !important; }
html[data-theme="dark"] h2.seccion { color: #cfd9e6 !important; }
html[data-theme="dark"] html, html[data-theme="dark"] body { background-color: #111a2e !important; }
html[data-theme="dark"] label { color: #cfd9e6 !important; }
html[data-theme="dark"] solo sale al imprimir. Se deja fuera de la vista para poder medir su ancho real. */ #ticketPrueba { background-color: #111a2e !important; }
html[data-theme="dark"] table.items th { color: #cfd9e6 !important; }
html[data-theme="dark"] table.t td { color: #cfd9e6 !important; }
html[data-theme="dark"] table.t th { color: #cfd9e6 !important; }
html[data-theme="dark"] table.tabla td { color: #cfd9e6 !important; }
html[data-theme="dark"] table.tabla th { color: #cfd9e6 !important; }
html[data-theme="dark"] th { color: #cfd9e6 !important; }
