/* GENERADO por tools/gen_oscuro_neutro.py: no editar a mano.
   Modo oscuro en grises neutros y bordes apagados; las pestañas, intactas. */

/* ── de static/css/vidrio-mate.css ── */
html.theme-glass{--bg-0:#020202 !important;--bg-1:#040404 !important;--bg-2:#080808 !important;--surface-ink:#1b1b1b !important;--accent-ink:#202020 !important;--on-dark:#eaeaea !important;--on-dark-muted:#afafaf !important;--line:rgba(255,255,255,0.04) !important;--glass-bg:linear-gradient(180deg,rgba(16,16,16,0.86),rgba(4,4,4,0.90)) !important;--glass-border:1px solid rgba(255,255,255,0.07) !important;--glass-shadow:0 14px 44px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,0.05) !important}
html.theme-glass .bg-white{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass input[class*="bg-white"]:not([type="checkbox"]):not([type="radio"]),html.theme-glass select[class*="bg-white"],html.theme-glass textarea[class*="bg-white"],html.theme-glass #modal-root input:not([class*="bg-transparent"]):not([type="checkbox"]):not([type="radio"]),html.theme-glass #modal-root select:not([class*="bg-transparent"]),html.theme-glass #modal-root textarea:not([class*="bg-transparent"]){border-color:rgba(255,255,255,0.07) !important}
html.theme-glass .bg-forest-900{background:#060606 !important}
html.theme-glass header.sticky{background:rgba(5,5,5,.86) !important;border-bottom-color:rgba(255,255,255,0.04) !important}
html.theme-glass tbody tr,html.theme-glass [class*="divide-"]>*+*{border-color:rgba(255,255,255,0.055) !important}
html.theme-glass .border-slate-200,html.theme-glass .border-slate-100,html.theme-glass [class*="border-slate"]{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass table.w-full thead tr{background:rgba(7,7,7,.05) !important}
html.theme-glass table.w-full tbody tr:hover{background:rgba(7,7,7,.04) !important}
html.theme-glass .border-slate-200,html.theme-glass .border-slate-100,html.theme-glass [class*="border-slate-200"],html.theme-glass [class*="border-slate-100"]{border-color:rgba(27,27,27,.08) !important}
html.theme-glass .shadow-sm{box-shadow:0 8px 24px rgba(15,15,15,.10) !important}
html.theme-glass .shadow-md,html.theme-glass .shadow-xl{box-shadow:0 16px 40px rgba(12,12,12,.22) !important}
html.theme-glass .shadow-2xl{box-shadow:0 30px 80px rgba(7,7,7,.55) !important}
html.theme-glass input[class*="bg-white"]:not([type="checkbox"]):not([type="radio"]),html.theme-glass select[class*="bg-white"],html.theme-glass textarea[class*="bg-white"],html.theme-glass #modal-root input:not([class*="bg-transparent"]):not([type="checkbox"]):not([type="radio"]),html.theme-glass #modal-root select,html.theme-glass #modal-root textarea{background:rgba(27,27,27,.05) !important;border-color:rgba(27,27,27,.12) !important}
html.theme-glass .dd-pop,html.theme-glass .bp-pop{box-shadow:0 14px 34px rgba(15,15,15,.14) !important}
html.theme-glass .dd-pop button:hover,html.theme-glass .bp-pop>div:hover,html.theme-glass .bp-pop [role="button"]:hover,html.theme-glass .dd-pop [data-idx]:hover,html.theme-glass .dd-pop li:hover,html.theme-glass .dd-pop >div:hover{background:rgba(27,27,27,.06) !important}
html.theme-glass .absolute.bg-white,html.theme-glass .fixed.bg-white,html.theme-glass .bg-white.shadow-xl,html.theme-glass .bg-white.shadow-2xl,html.theme-glass #modal-root > div > div,html.theme-glass #confirm-root > div > div{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass .dd-pop *,html.theme-glass .bp-pop *{border-color:rgba(255,255,255,0.05) !important}
html.theme-glass #notif-pop [class*="border-zinc"],html.theme-glass #notif-pop [class*="border-slate"]{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass .es-bar,html.theme-glass .es-open{background:rgba(27,27,27,.05) !important}
html.theme-glass header.sticky{border:1px solid rgba(255,255,255,0.055) !important}
html.theme-glass header.sticky{border-top-color:rgba(255,255,255,0.07) !important}
html.theme-glass header.sticky button[class*="border-slate"]{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass #modal-root .fixed.inset-0{background:rgba(7,7,7,.6) !important}
html.theme-glass .ficha{border:1px solid rgba(255,255,255,0.05) !important}
html.theme-glass .ficha-cuerpo{border-top:1px solid rgba(255,255,255,0.04) !important}
html.theme-glass .ficha-lin{border-bottom:1px solid rgba(255,255,255,0.035) !important}
html.theme-glass .ficha-pie{border-top:1px solid rgba(255,255,255,0.04) !important}
html.theme-glass .ficha-btn{border:1px solid rgba(255,255,255,0.07) !important}
html.theme-glass .bit{border:1px solid rgba(255,255,255,0.05) !important}
html.theme-glass .bit-caja{border-top:1px solid rgba(255,255,255,0.04) !important}
html.theme-glass .bit-caja textarea{border:1px solid rgba(255,255,255,0.07) !important}
@media (max-width:820px){html.theme-glass table tr{border:1px solid rgba(255,255,255,0.07) !important}}
@media (max-width:820px){html.theme-glass tbody[data-modelo="B"]{border:1px solid rgba(255,255,255,0.07) !important}}
@media (max-width:820px){html.theme-glass .deuda-card{border:1px solid rgba(255,255,255,0.07) !important}}
@media (max-width:820px){html.theme-glass .npill .nlado{color:#a2a2a2 !important}}
html.theme-glass .kb-clon{box-shadow:0 22px 40px -16px rgba(14,14,14,.75) !important}
html.theme-glass #tut-capa .tut-hueco{box-shadow:0 0 0 9999px rgba(7,7,7,.76),
                 0 0 0 2px rgba(167,139,250,.75),
                 0 0 30px 4px rgba(167,139,250,.4) !important}
html.theme-glass #tut-capa .tut-globo{background:#191919 !important;color:#f0f0f0 !important;border:1px solid rgba(255,255,255,0.06) !important}
html.theme-glass #tut-capa .tut-globo[data-lado="abajo"]::before{border-left-color:rgba(255,255,255,0.06) !important;border-top-color:rgba(255,255,255,0.06) !important}
html.theme-glass #tut-capa .tut-globo[data-lado="arriba"]::before{border-right-color:rgba(255,255,255,0.06) !important;border-bottom-color:rgba(255,255,255,0.06) !important}
html.theme-glass .alta-fondo{background:radial-gradient(760px 460px at 22% 4%, rgba(139,92,246,.34), transparent 62%),
        radial-gradient(620px 420px at 86% 92%, rgba(219,39,119,.20), transparent 62%),
        linear-gradient(158deg, #161616 0%, #070707 72%) !important}
html.theme-glass .alta-inp{border:1px solid rgba(255,255,255,0.065) !important}
html.theme-glass .alta-logo button{border:2px dashed rgba(255,255,255,0.07) !important}
html.theme-glass .alta-logo button.puesto{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass .alta-grupo{border:1px solid rgba(255,255,255,0.045) !important}
html.theme-glass .alta-add{border:1.5px dashed rgba(255,255,255,0.07) !important}
html.theme-glass .alta-suc{border:1px solid rgba(255,255,255,0.055) !important}
html.theme-glass .alta-suc .gente{border:1px solid rgba(255,255,255,0.065) !important}
html.theme-glass .alta-mas{border:2px dashed rgba(255,255,255,0.07) !important}
html.theme-glass .alta-caja{color:#f0f0f0 !important;background:rgba(22,22,22,.68) !important;border:1px solid rgba(255,255,255,0.065) !important;border-top-color:rgba(255,255,255,0.07) !important;box-shadow:0 26px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,0.05) !important}
html.theme-glass .alta-riel{border-right:1px solid rgba(255,255,255,0.045) !important}
html.theme-glass .alta-it .n{border:1px solid rgba(255,255,255,0.07) !important}
@media (max-width:820px){html.theme-glass .alta-cima{color:#f0f0f0 !important}}
@media (max-width:820px){html.theme-glass .alta-hoja{background:rgba(22,22,22,.72) !important;color:#f0f0f0 !important;border:1px solid rgba(255,255,255,0.065) !important;border-top-color:rgba(255,255,255,0.07) !important}}
html.theme-glass .sel-fondo{background:radial-gradient(760px 460px at 22% 4%, rgba(139,92,246,.34), transparent 62%),
        radial-gradient(620px 420px at 86% 92%, rgba(219,39,119,.20), transparent 62%),
        linear-gradient(158deg, #161616 0%, #070707 72%) !important}
html.theme-glass .sel-caja{background:rgba(22,22,22,.62) !important;border:1px solid rgba(255,255,255,0.065) !important;border-top-color:rgba(255,255,255,0.07) !important;box-shadow:0 26px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,0.05) !important;color:#f0f0f0 !important}
html.theme-glass .sel-grupo{border:1px solid rgba(255,255,255,0.045) !important}
html.theme-glass .sel-ini{box-shadow:inset 0 1px 0 rgba(255,255,255,0.07) !important}
html.theme-glass .sel-gear{color:#f0f0f0 !important;border:1px solid rgba(255,255,255,0.07) !important}
@media (max-width:820px){html.theme-glass .sel-cima{color:#f0f0f0 !important}}
@media (max-width:820px){html.theme-glass .sel-hoja{background:rgba(22,22,22,.62) !important;border:1px solid rgba(255,255,255,0.065) !important;border-top-color:rgba(255,255,255,0.07) !important;color:#f0f0f0 !important}}
@media (max-width: 820px){html.theme-glass #modal-root .fixed.inset-0:has(.hp) .hp-nav{background:#131313 !important;box-shadow:20px 0 0 #131313, -20px 0 0 #131313, 0 20px 0 20px #131313 !important}}
@media (max-width: 820px){html.theme-glass #modal-root .fixed.inset-0:has(.hp){background:rgba(7,7,7,.74) !important}}
@media (max-width: 820px){html.theme-glass #modal-root .fixed.inset-0:has(.hp) > div{background:#131313 !important}}
@media (max-width: 820px){html.theme-glass :is(#modal-root, #confirm-root, #adm-root) > .fixed.inset-0:not(:has(.dockmas-panel)),html.theme-glass #modal-stock{background:rgba(7,7,7,.74) !important}}
@media (max-width: 820px){html.theme-glass :is(#modal-root, #confirm-root, #adm-root) > .fixed.inset-0:not(:has(.dockmas-panel)) > div,html.theme-glass #modal-stock > div{background:#131313 !important}}
html.theme-glass.dark .pjt,html.theme-glass .pjt{background:#131313 !important;border-color:rgba(255,255,255,0.06) !important}
html.theme-glass .pjt:hover{box-shadow:0 14px 22px -14px rgba(14,14,14,.55) !important}
html.theme-glass.dark .pjt-nom,html.theme-glass .pjt-nom{color:#f4f4f4 !important}
html.theme-glass.dark .pjt-meta,html.theme-glass .pjt-meta{color:#a2a2a2 !important}
html.theme-glass .pjt-acc button{color:#a2a2a2 !important}
html.theme-glass.dark .pjt-acc button,html.theme-glass .pjt-acc button{color:#a2a2a2 !important}
html.theme-glass.dark .pjt-acc button:hover,html.theme-glass .pjt-acc button:hover{color:#e7e7e7 !important}
html.theme-glass .pjf-etiqueta{text-shadow:0 1px 3px rgba(14,14,14,.55) !important}
html.theme-glass .pjf-acc button{background:rgba(14,14,14,.34) !important}
html.theme-glass .pjf-acc button:hover{background:rgba(14,14,14,.55) !important}
html.theme-glass .dvb-sub,html.theme-glass .dvb .dvb-meta,html.theme-glass .dvb-nota,html.theme-glass .dvb .dvb-vacio,html.theme-glass .dvb-bs,html.theme-glass .dvb .dvb-ayuda,html.theme-glass .dvb-opc,html.theme-glass .dvb-previa-txt small,html.theme-glass .dvb-navres span{color:#afafaf !important}
html.theme-glass .dvb-nom,html.theme-glass .dvb-plato-cab h4,html.theme-glass .dvb-v-lbl,html.theme-glass .dvb-v-num b,html.theme-glass .dvb-barras b,html.theme-glass .dvb-monto,html.theme-glass .dvb-navres b{color:#eaeaea !important}
html.theme-glass .dvb-barras,html.theme-glass .dvb-previa-txt,html.theme-glass .dvb-previas > summary{color:#d2d2d2 !important}
html.theme-glass .dvb-plato,html.theme-glass .dvb-cambio{border-color:rgba(255,255,255,0.06) !important}
html.theme-glass .dvb-fila,html.theme-glass .dvb-previa{border-top-color:rgba(255,255,255,0.045) !important}
html.theme-glass .dvb-veredicto{border-top-color:rgba(255,255,255,0.06) !important}
html.theme-glass .dvb-agregado,html.theme-glass .dvb-resumen{border-color:rgba(255,255,255,0.06) !important}
html.theme-glass .dvb-resumen > div + div{border-top-color:rgba(255,255,255,0.045) !important}
html.theme-glass .dvb-agregado-txt b,html.theme-glass .dvb-agregado-monto b,html.theme-glass .dvb-resumen b{color:#eaeaea !important}
html.theme-glass .dvb-agregado-txt small,html.theme-glass .dvb-agregado-monto small,html.theme-glass .dvb-resumen span,html.theme-glass .dvb .dvb-equiv,html.theme-glass .dvb-moneda{color:#afafaf !important}
html.theme-glass .dvb-eje{border-color:rgba(255,255,255,0.07) !important;color:#afafaf !important}
html.theme-glass .dvb-previas{border-color:rgba(255,255,255,0.06) !important}
html.theme-glass .dvb-mini{border-color:rgba(255,255,255,0.07) !important;color:#d2d2d2 !important}
html.theme-glass .dvb-mini:hover{color:#dbdbdb !important}
html.theme-glass .dvb .npill .nlado{color:#afafaf !important}
html.theme-glass .dvb .npill .nlado:hover{color:#dbdbdb !important}
@media (max-width: 820px){html.theme-glass .dvb-tabs button{color:#afafaf !important}}
html.nat-cubierta.theme-glass{background:#000000 !important}
html.theme-glass .tv{box-shadow:inset 0 0 14px rgba(255,255,255,0.07),inset 0 1px 0 #fff,0 12px 30px rgba(33,33,33,.18),0 1px 4px rgba(33,33,33,.08) !important}
html.theme-glass .tv{background:rgba(29,29,29,.45) !important;box-shadow:inset 0 0 14px rgba(255,255,255,0.03),inset 0 1px 0 rgba(255,255,255,0.07),0 12px 30px rgba(0,0,0,.45) !important}
@media (prefers-reduced-transparency: reduce){html.theme-glass .tv{background:rgba(29,29,29,.97) !important}}
html.theme-glass .nh-velo{background:rgba(10,10,10,.18) !important}
html.theme-glass .nh-hoja{box-shadow:inset 0 1px 0 rgba(255,255,255,0.07),0 -10px 30px rgba(0,0,0,.14) !important}
html.theme-glass .nh-hoja{background:rgba(31,31,31,.72) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,0.07),0 -10px 30px rgba(0,0,0,.45) !important}
html.theme-glass .nh-pop{box-shadow:inset 0 1px 0 #fff,0 20px 50px rgba(27,27,27,.22),0 2px 8px rgba(27,27,27,.08) !important}
html.theme-glass .nh-pop{background:rgba(31,31,31,.82) !important;box-shadow:inset 0 1px 0 rgba(255,255,255,0.07),0 20px 50px rgba(0,0,0,.55) !important}
html.theme-glass .nh-n{box-shadow:inset 0 .5px 0 rgba(255,255,255,0.06) !important}
@media (prefers-reduced-transparency: reduce){html.theme-glass .nh-hoja,html.theme-glass .nh-pop{background:rgba(31,31,31,.98) !important}}
@media (min-width: 821px){html.theme-glass #sidebar{border-right:1px solid rgba(255,255,255,0.03) !important}}
@media (min-width: 821px){html.theme-glass #sidebar{background:linear-gradient(180deg,rgba(11,11,11,.91),rgba(4,4,4,.96)) !important}}
/* ── de static/css/personal-theme.css ── */
html.theme-glass .num-ctrls button{color:#a2a2a2 !important}
html.theme-glass.dark .sw{background:#404040 !important}
html.theme-glass input[type="checkbox"]{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass{--bg-0:#020202 !important;--bg-1:#040404 !important;--bg-2:#080808 !important;--surface-ink:#1b1b1b !important;--accent-ink:#202020 !important;--on-dark:#eaeaea !important;--on-dark-muted:#afafaf !important;--line:rgba(255,255,255,0.04) !important;--glass-bg:linear-gradient(180deg,rgba(16,16,16,0.86),rgba(4,4,4,0.90)) !important;--glass-border:1px solid rgba(255,255,255,0.07) !important;--glass-shadow:0 14px 44px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,0.05) !important}
html.theme-glass .bg-white{border-color:rgba(255,255,255,0.055) !important}
html.theme-glass input[class*="bg-white"]:not([type="checkbox"]):not([type="radio"]),html.theme-glass select[class*="bg-white"],html.theme-glass textarea[class*="bg-white"],html.theme-glass #modal-root input:not([class*="bg-transparent"]):not([type="checkbox"]):not([type="radio"]),html.theme-glass #modal-root select:not([class*="bg-transparent"]),html.theme-glass #modal-root textarea:not([class*="bg-transparent"]){border-color:rgba(255,255,255,0.07) !important}
html.theme-glass .bg-forest-900{background:#060606 !important}
html.theme-glass header.sticky{background:rgba(5,5,5,.86) !important;border-bottom-color:rgba(255,255,255,0.04) !important}
html.theme-glass .hm-sheet-c{background:#141414 !important;border-top:1px solid rgba(255,255,255,0.04) !important}
html.theme-glass table.w-full thead tr{background:rgba(7,7,7,.05) !important}
html.theme-glass table.w-full tbody tr:hover{background:rgba(7,7,7,.04) !important}
html.theme-glass tbody tr,html.theme-glass [class*="divide-"]>*+*{border-color:rgba(255,255,255,0.055) !important}
html.theme-glass .border-slate-200,html.theme-glass .border-slate-100,html.theme-glass [class*="border-slate"]{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass .border-slate-200,html.theme-glass .border-slate-100,html.theme-glass [class*="border-slate-200"],html.theme-glass [class*="border-slate-100"]{border-color:rgba(27,27,27,.08) !important}
html.theme-glass .shadow-sm{box-shadow:0 8px 24px rgba(15,15,15,.10) !important}
html.theme-glass .shadow-md,html.theme-glass .shadow-xl{box-shadow:0 16px 40px rgba(12,12,12,.22) !important}
html.theme-glass .shadow-2xl{box-shadow:0 30px 80px rgba(7,7,7,.55) !important}
html.theme-glass input[class*="bg-white"]:not([type="checkbox"]):not([type="radio"]),html.theme-glass select[class*="bg-white"],html.theme-glass textarea[class*="bg-white"],html.theme-glass #modal-root input:not([class*="bg-transparent"]):not([type="checkbox"]):not([type="radio"]),html.theme-glass #modal-root select,html.theme-glass #modal-root textarea{background:rgba(27,27,27,.05) !important;border-color:rgba(27,27,27,.12) !important}
html.theme-glass .dd-pop,html.theme-glass .bp-pop{box-shadow:0 14px 34px rgba(15,15,15,.14) !important}
html.theme-glass .dd-pop button:hover,html.theme-glass .bp-pop>div:hover,html.theme-glass .bp-pop [role="button"]:hover,html.theme-glass .dd-pop [data-idx]:hover,html.theme-glass .dd-pop li:hover,html.theme-glass .dd-pop >div:hover{background:rgba(27,27,27,.06) !important}
html.theme-glass .absolute.bg-white,html.theme-glass .fixed.bg-white,html.theme-glass .bg-white.shadow-xl,html.theme-glass .bg-white.shadow-2xl,html.theme-glass #modal-root > div > div,html.theme-glass #confirm-root > div > div{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass .dd-pop *,html.theme-glass .bp-pop *{border-color:rgba(255,255,255,0.05) !important}
html.theme-glass #notif-pop [class*="border-zinc"],html.theme-glass #notif-pop [class*="border-slate"]{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass .es-bar,html.theme-glass .es-open{background:rgba(27,27,27,.05) !important}
html.theme-glass header.sticky{background:rgba(10,10,10,.80) !important;border-bottom:1px solid rgba(255,255,255,0.04) !important}
html.theme-glass header.sticky button[class*="border-slate"]{border-color:rgba(255,255,255,0.07) !important}
html.theme-glass #modal-root .fixed.inset-0{background:rgba(7,7,7,.6) !important}
html.theme-glass .dp-wd span{color:#949494 !important}
html.theme-glass .dp-time{border-top:1px solid rgba(255,255,255,0.04) !important}
html.theme-glass .dp-time-lbl{color:#949494 !important}
@media (max-width:820px){html.theme-glass table tr{border:1px solid rgba(255,255,255,0.07) !important}}
html.theme-glass .apr-hero{background:linear-gradient(180deg,#1f1f1f,#181818) !important;border:1px solid rgba(255,255,255,0.04) !important}
html.theme-glass .apr-hero.dorm{background:linear-gradient(180deg,#212121,#1a1a1a) !important}
html.theme-glass .apr-streak-label{color:#e7e7e7 !important}
html.theme-glass .apr-hero-sub{color:#c1c1c1 !important}
html.theme-glass .apr-day-l{color:#949494 !important}
html.theme-glass .apr-day-dot{border:1.5px solid rgba(255,255,255,0.06) !important}
html.theme-glass .apr-chip{border:1px solid rgba(255,255,255,0.04) !important}
html.theme-glass .apr-chip small{color:#949494 !important}
html.theme-glass .apr-node.locked .apr-node-face{background:#393939 !important;color:#888888 !important;box-shadow:0 6px 0 #252525 !important}
html.theme-glass .apr-step-desc{color:#949494 !important}
html.theme-glass .apr-quiz{background:var(--bg,#131313) !important}
html.theme-glass .apr-quiz-x{color:#949494 !important}
html.theme-glass .apr-q-count{color:#949494 !important}
html.theme-glass .apr-opt{border:2px solid rgba(255,255,255,0.06) !important}
html.theme-glass .apr-opt-k{border:1.5px solid rgba(255,255,255,0.07) !important}
html.theme-glass .apr-res-score{color:#949494 !important}
html.theme-glass .apr-res-chip{border:1px solid rgba(255,255,255,0.05) !important}
html.theme-glass .apr-res-chip small{color:#949494 !important}
html.theme-glass .apr-res-sub{color:#949494 !important}
html.theme-glass.dark input:-webkit-autofill,html.theme-glass input:-webkit-autofill,html.theme-glass.dark input:-webkit-autofill:hover,html.theme-glass input:-webkit-autofill:hover,html.theme-glass.dark input:-webkit-autofill:focus,html.theme-glass input:-webkit-autofill:focus,html.theme-glass.dark textarea:-webkit-autofill,html.theme-glass textarea:-webkit-autofill,html.theme-glass.dark select:-webkit-autofill,html.theme-glass select:-webkit-autofill{-webkit-text-fill-color:#e7e7e7 !important;-webkit-box-shadow:0 0 0 1000px #121212 inset !important;box-shadow:0 0 0 1000px #121212 inset !important;caret-color:#e7e7e7 !important}
@media (max-width: 820px){html.theme-glass #modal-root .fixed.inset-0:has(.hp) .hp-nav{background:#131313 !important;box-shadow:20px 0 0 #131313, -20px 0 0 #131313, 0 20px 0 20px #131313 !important}}
@media (max-width: 820px){html.theme-glass #modal-root .fixed.inset-0:has(.hp){background:rgba(7,7,7,.74) !important}}
@media (max-width: 820px){html.theme-glass #modal-root .fixed.inset-0:has(.hp) > div{background:#131313 !important}}
html.theme-glass.dark .ahorro .ah-txt{color:#9b9b9b !important}
html.theme-glass .alta-chip{border:1px solid rgba(255,255,255,0.065) !important}
html.theme-glass .alta-cta{border:1px solid rgba(255,255,255,0.055) !important}
html.theme-glass .pfa-tec button{border:1px solid rgba(255,255,255,0.06) !important}
html.theme-glass .pfa-otra{border:2px dashed rgba(255,255,255,0.07) !important}
@media (min-width: 821px){html.theme-glass #sidebar{border-right:1px solid rgba(255,255,255,0.03) !important}}
@media (min-width: 821px){html.theme-glass #sidebar{background:linear-gradient(180deg,rgba(11,11,11,.91),rgba(4,4,4,.96)) !important}}
/* ── de static/js/app.js ── */
html.theme-glass .a-social.ios .a-apple,html.theme-glass .a-social.ios .a-apple:hover{color:#000000 !important}
/* ── de static/js/personal.js ── */
html.theme-glass .ah-panel{background:#1c1c1c !important;color:var(--on-dark,#eaeaea) !important}
html.theme-glass .ah-panel .ah-tenue{color:var(--on-dark-muted,#afafaf) !important}
/* ── de static/js/academia.js ── */
/* ── de static/js/usermenu.js ── */
/* ── a mano ── */
html.theme-glass body:not(#_) input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]):not([class*=bg-transparent]):not(#auth-screen *),html.theme-glass body:not(#_) textarea:not([class*=bg-transparent]):not(#auth-screen *),html.theme-glass body:not(#_) select:not([class*=bg-transparent]):not(#auth-screen *),html.theme-glass body:not(#_) .dd-btn:not(#auth-screen *){background-color:#1d1d1d !important;border:1px solid rgba(255,255,255,.22) !important;color:#f0f0f0 !important}
html.theme-glass body:not(#_) input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]):not([class*=bg-transparent]):not(#auth-screen *)::placeholder,html.theme-glass body:not(#_) textarea:not([class*=bg-transparent]):not(#auth-screen *)::placeholder{color:#8c8c8c !important;opacity:1 !important}
html.theme-glass body:not(#_) input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]):not([class*=bg-transparent]):not(#auth-screen *):focus,html.theme-glass body:not(#_) textarea:not([class*=bg-transparent]):not(#auth-screen *):focus,html.theme-glass body:not(#_) select:not([class*=bg-transparent]):not(#auth-screen *):focus{border-color:#a78bfa !important;box-shadow:0 0 0 3px rgba(167,139,250,.22) !important;outline:none !important}
@media (max-width: 820px){html.theme-glass #sidebar{background:#141414 !important;-webkit-backdrop-filter:none !important;backdrop-filter:none !important;box-shadow:none !important;border:1px solid rgba(255,255,255,.06) !important}html.theme-glass #sidebar::before,html.theme-glass #sidebar::after{display:none !important}html.theme-glass #sidebar .nav-link.bg-leaf-500\/15,html.theme-glass #sidebar .nav-link.bg-leaf-500\/15:hover{background:#2a2a2a !important;box-shadow:none !important}html.theme-glass #sidebar .nav-link:active{transform:none !important}}
@media (min-width: 821px){html.theme-glass .nav-link.bg-leaf-500\/15,html.theme-glass .nav-link.bg-leaf-500\/15:hover{background:rgba(255,255,255,.10) !important;color:#fff !important}}
@media (min-width: 821px){html.theme-glass .nav-link.bg-leaf-500\/15 svg{color:#fff !important}}
/* ── utilidades dark: de Tailwind ── */
html.theme-glass .dark\:bg-night-700{background-color:#1c1c1c !important}
html.theme-glass .dark\:bg-night-800{background-color:#121212 !important}
html.theme-glass .dark\:bg-night-800\/90{background-color:rgba(18,18,18,0.9) !important}
html.theme-glass .dark\:bg-night-900{background-color:#090909 !important}
html.theme-glass .dark\:bg-night-900\/30{background-color:rgba(9,9,9,0.3) !important}
html.theme-glass .dark\:bg-night-900\/90{background-color:rgba(9,9,9,0.9) !important}
html.theme-glass .dark\:bg-night-950{background-color:#050505 !important}
html.theme-glass .dark\:bg-night-border{background-color:rgba(255,255,255,0.055) !important}
html.theme-glass .dark\:bg-slate-600{background-color:#545454 !important}
html.theme-glass .dark\:border-night-border{border-color:rgba(255,255,255,0.055) !important}
html.theme-glass .dark\:border-night-border\/60{border-color:rgba(255,255,255,0.055) !important}
html.theme-glass .dark\:divide-night-border>:not([hidden])~:not([hidden]){border-color:rgba(255,255,255,0.055) !important}
html.theme-glass .dark\:ring-night-900{--tw-ring-color:#090909 !important}
html.theme-glass .dark\:text-night-border{color:rgba(255,255,255,0.055) !important}
html.theme-glass .dark\:text-slate-100{color:#f4f4f4 !important}
html.theme-glass .dark\:text-slate-200{color:#e7e7e7 !important}
html.theme-glass .dark\:text-slate-300{color:#d4d4d4 !important}
html.theme-glass .dark\:text-slate-400{color:#a2a2a2 !important}
html.theme-glass .dark\:text-slate-500{color:#737373 !important}
html.theme-glass .dark\:text-slate-600{color:#545454 !important}
html.theme-glass .dark\:hover\:bg-night-700:hover{background-color:#1c1c1c !important}
html.theme-glass .dark\:hover\:bg-night-800:hover{background-color:#121212 !important}
html.theme-glass .dark\:hover\:text-slate-200:hover{color:#e7e7e7 !important}
html.theme-glass .dark\:hover\:text-slate-300:hover{color:#d4d4d4 !important}
html.theme-glass .dark\:placeholder\:text-slate-600::placeholder{color:#545454 !important}

/* ─── Ventanas flotantes SÓLIDAS (pedido del dueño, 2026-10-08) ───────────────────────────
   En claro, todo lo que flota (modal, hoja, confirmación, desplegable, menú, notificaciones,
   avisos, el panel «Más», el selector de sucursal) es blanco y de un solo color. En oscuro era
   vidrio: un degradado al 86–90 % con desenfoque, y se veía el tablero por detrás. Ahora es de
   un solo color, sin degradado, sin desenfoque y sin brillo interior. Dos tonos, como en claro
   la sombra separa un desplegable del modal en que se abre:
     #131313  las ventanas (el mismo que ya tenía el teléfono)
     #1b1b1b  lo que se abre encima de ellas: desplegables, menús, notificaciones y avisos.
   Va al final y sin @media: las reglas de arriba que ya lo hacían solo valían en el teléfono. */
html.theme-glass :is(#modal-root, #confirm-root, #adm-root) > .fixed.inset-0:not(:has(.dockmas-panel)) > div,
html.theme-glass #modal-stock > div,
html.theme-glass #modal-root .dockmas-panel,
html.theme-glass .nh-hoja,
html.theme-glass :is(.sel-caja, .sel-hoja, .alta-caja, .alta-hoja){
  background:#131313 !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
  border-color:rgba(255,255,255,.08) !important;
  box-shadow:0 24px 60px rgba(0,0,0,.55) !important;
}
/* El velo detrás del panel «Más» heredaba el vidrio de los modales: el mismo velo que los demás. */
html.theme-glass #modal-root .fixed.inset-0:has(> .dockmas-panel) > .absolute.inset-0{
  background:rgba(7,7,7,.6) !important;
}
html.theme-glass :is(.dd-pop, .bp-pop, .nh-pop, #notif-pop, .tv){
  background:#1b1b1b !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:0 16px 40px rgba(0,0,0,.6) !important;
}
