/* OPS Black: paleta extraída de JC Black. Classic utiliza los valores originales. */
.ops-game-dialog { box-sizing:border-box; padding:0; margin:auto; width:min(760px,94vw); height:min(830px,94dvh); max-width:94vw; max-height:94dvh; border:1px solid #46566a; border-radius:22px; background:#101b29; color:#edf5f8; box-shadow:0 28px 90px #0009; overflow:hidden; }
.ops-game-dialog[open] { display:flex; flex-direction:column; }
.ops-game-dialog::backdrop { background:rgba(5,10,18,.8); }
.ops-game-heading { display:flex; flex-direction:column; align-items:center; gap:8px; padding:14px 20px 12px; flex-shrink:0; }
.ops-game-heading img { display:block; width:auto; height:62px; object-fit:contain; }
.ops-game-heading button { margin:0; width:auto; padding:7px 16px; border:1px solid #506177; border-radius:8px; background:#1c2c3d; color:#edf5f8; font:600 12px system-ui,sans-serif; cursor:pointer; }
.ops-game-heading button:hover { background:#2c4055; }
.ops-game-heading button:focus-visible { outline:2px solid #bce6c7; outline-offset:3px; }
.ops-game-dialog iframe { display:block; width:100%; flex:1; min-height:0; border:0; }
.ops-game-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.ops-game-actions [hidden], .ops-game-menu[hidden] { display:none; }
.ops-game-menu { flex:1; min-height:0; overflow:auto; padding:32px clamp(18px,5vw,44px); border-top:1px solid #ffffff15; font:14px/1.5 system-ui,sans-serif; text-align:center; background:radial-gradient(ellipse at top,#203b45,#101b29 75%); }
.ops-game-menu h2 { margin:0 0 8px; font-size:28px; color:#edf5f8; }
.ops-game-menu p { color:#bccad9; margin:0 0 28px; }
.ops-game-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ops-game-choices button { display:flex; flex-direction:column; align-items:center; gap:12px; padding:28px 18px; border:1px solid #526477; border-radius:18px; background:#182b3c; color:#edf5f8; font:inherit; cursor:pointer; }
.ops-game-choices button:hover { background:#233d4b; border-color:#bce6c7; }
.ops-game-choices button:focus-visible { outline:3px solid #bce6c7; outline-offset:3px; }
.ops-game-choices span { font-size:44px; }
.ops-game-choices strong { font-size:19px; }
.ops-game-choices small { color:#bccad9; font-size:13px; }
@media (max-width:480px) { .ops-game-choices { grid-template-columns:1fr; } .ops-game-choices button { padding:18px; } }
@media (max-height:600px) { .ops-game-heading { flex-direction:row; justify-content:space-between; padding:8px 16px; } .ops-game-heading img { height:36px; } }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) {
    color-scheme: dark;
    --ops-111827: #202020;
    --ops-334155: #393939;
    --ops-475569: #6f6f6f;
    --ops-0f172a: #161616;
    --ops-1e293b: #262626;
    --ops-64748b: #a8a8a8;
    --ops-94a3b8: #e0e0e0;
    --ops-cbd5e1: #e0e0e0;
    --ops-e2e8f0: #e0e0e0;
    --ops-f8fafc: #ffffff;
    --ops-0f1f3d: #161616;
    --ops-172a4f: #202020;
    --ops-071425: #161616;
    --ops-04172f: #161616;
    --ops-0b2142: #1c1c1c;
    --ops-13263f: #202020;
    --ops-020617: #161616;
    --ops-0b1120: #161616;
    --ops-1f2937: #262626;
    --ops-0b1220: #161616;
    --ops-rgb-15-23-42: 22, 22, 22;
    --ops-rgb-30-41-59: 38, 38, 38;
    --ops-rgb-51-65-85: 57, 57, 57;
    --bg-body: #161616;
    --bg-card: #262626;
    --bg-input: #393939;
    --border-color: #6f6f6f;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --primary: #a6c8ff;
    --primary-hover: #c6dcff;
}
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .app-sidebar { background: #1c1c1c; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .btn-primary { color: #161616; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) :is(.admin-tab.active, .cxp-tab.active, .view-switch button.active, .mobile-menu-btn) { color: #161616; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) button:is([style*="background:var(--primary)"], [style*="background: var(--primary)"]) { color: #161616 !important; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .nav-link:is(:hover, .active) { background: rgba(166,200,255,.13); color: #a6c8ff; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) body:has(.selector-logo)::before { background: #161616; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .form-group input { background: #393939; color: #ffffff; border: 1px solid #6f6f6f; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .btn-submit { background: #a6c8ff; color: #161616; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .btn-submit:hover { background: #c6dcff; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .btn-submit:disabled { background: #393939; color: #a8a8a8; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .form-group input:focus { box-shadow: 0 0 0 3px rgba(166,200,255,.55); }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .legal-text { color: #c6c6c6; }
html:is([data-ops-theme="black"], [data-ops-theme="halloween"], [data-ops-theme="christmas"]) .legal-text a { color: #e0e0e0; }
.ops-theme-gear { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 7px 10px; margin-bottom: 8px; border: 1px solid var(--border-color); border-radius: 8px; background: transparent; color: var(--text-primary); cursor: pointer; font: inherit; }
.ops-gear-icon { font: 24px/1 'Segoe UI Symbol', sans-serif; }
.ops-theme-gear:hover { background: var(--bg-input); }
.ops-theme-gear:focus-visible, .ops-theme-panel button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.ops-theme-panel { position: fixed; z-index: 10000; width: min(290px, calc(100vw - 24px)); padding: 18px; border: 1px solid var(--border-color); border-radius: 14px; background: var(--bg-card); color: var(--text-primary); box-shadow: 0 12px 40px #0008; font: 14px/1.4 'Segoe UI', sans-serif; box-sizing: border-box; }
.ops-theme-panel[hidden] { display: none; }
.ops-theme-panel p { margin: 4px 0 14px; color: var(--text-secondary); font-size: 12px; }
.ops-theme-panel button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; margin-top: 8px; border: 1px solid var(--border-color); border-radius: 10px; background: transparent; color: inherit; text-align: left; cursor: pointer; font: inherit; }
.ops-theme-panel button[aria-pressed="true"] { border-color: var(--primary); background: var(--bg-input); }
.ops-theme-panel small { display: block; color: var(--text-secondary); margin-top: 2px; }
.ops-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #a6c8ff; flex-shrink: 0; }
.ops-swatch-black { background: #161616; }
.ops-swatch-classic { background: #0f172a; border-color: #3b82f6; }
.ops-swatch-christmas { display: grid; place-items: center; background: #18251f; border-color: #ddc48a; font-size: 19px; }
.ops-swatch-halloween { display: grid; place-items: center; background: #161616; border-color: #ffad66; font-size: 19px; }
.ops-theme-panel { max-height: calc(100dvh - 24px); overflow-y: auto; }

/* Halloween comparte la base Black; sólo añade acentos y decoración ligera. */
html[data-ops-theme="halloween"] {
    --primary: #ffad66;
    --primary-hover: #ffc591;
    --border-color: #665044;
}
html[data-ops-theme="halloween"] body {
    isolation: isolate;
    background-color: #161616;
    background-image: radial-gradient(ellipse at top right, #6b31851c, transparent 48%);
}
html[data-ops-theme="halloween"] body:has(.selector-logo)::before {
    background: radial-gradient(ellipse at top right, #713a8626, transparent 50%), radial-gradient(ellipse at bottom left, #f5822014, transparent 45%), #161616;
}
html[data-ops-theme="halloween"] .app-sidebar { background: linear-gradient(180deg, #231c18, #1c1c1c 40%); }
html[data-ops-theme="halloween"] .nav-link:is(:hover, .active) { background: #ffad6620; color: #ffad66; }
html[data-ops-theme="halloween"] .btn-submit { background: var(--primary); color: #161616; }
html[data-ops-theme="halloween"] .btn-submit:hover { background: var(--primary-hover); }
html[data-ops-theme="halloween"] .btn-submit:disabled { background: #393939; color: #a8a8a8; }
html[data-ops-theme="halloween"] .form-group input:focus { box-shadow: 0 0 0 3px #ffad6655; }
html[data-ops-theme="halloween"] .sidebar-toggle-btn { background: #ffad660d; }
html[data-ops-theme="halloween"] .sidebar-toggle-btn:hover { background: #ffad661f; }
.ops-halloween-decor { display: none; pointer-events: none; user-select: none; position: fixed; inset: 0; overflow: hidden; z-index: 900; }
/* Efectos de Halloween en el acceso, conservando el diseño original. */
html[data-ops-theme="halloween"] body.ops-login {
    background: radial-gradient(ellipse at 15% 35%, #f5822017, transparent 48%), radial-gradient(ellipse at 90% 15%, #713a8633, transparent 50%), #161616;
    isolation: isolate;
}
/* Patrón compartido detrás del contenido en todas las pantallas Halloween. */
html[data-ops-theme="halloween"] body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url('../img/halloween-pattern.svg') repeat;
    background-size: 420px 340px;
    opacity: .09;
    mask-image: linear-gradient(90deg, #000, #0008 35%, #0005 65%, #000);
}
html[data-ops-theme="halloween"] .ops-halloween-decor { display: block; }
.ops-web { position: absolute; top: 0; width: 130px; height: 130px; opacity: .19; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23ffc591' stroke-width='1.2'%3E%3Cpath d='M0 0H160M0 0L148 61M0 0L113 113M0 0L61 148M0 0V160M32 0Q26 7 30 12Q22 18 23 23Q15 24 12 30Q6 26 0 32M64 0Q52 14 59 25Q44 36 45 45Q30 48 25 59Q12 52 0 64M96 0Q78 21 89 37Q66 54 68 68Q45 72 37 89Q18 78 0 96M128 0Q104 28 118 49Q88 72 91 91Q60 96 49 118Q24 104 0 128M160 0Q130 35 148 61Q110 90 113 113Q75 120 61 148Q30 130 0 160'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.ops-web-left { left: 0; }
.ops-web-right { right: 0; transform: scaleX(-1); }
.ops-spider { position: absolute; top: -8px; left: calc(50% - 15px); width: 30px; height: 70px; transform: translateY(-80px); animation: ops-spider-visit 14s ease-in-out infinite; }
.ops-spider-swing { position: absolute; inset: 0; transform-origin: 50% 0; animation: ops-spider-swing 3.6s ease-in-out infinite alternate; }
.ops-spider-swing::before { content: ''; position: absolute; top: 0; bottom: 20px; left: 50%; width: 1px; background: #ffc59180; }
.ops-spider-body { position: absolute; bottom: 0; left: 0; width: 30px; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 30'%3E%3Cg fill='none' stroke='%23ffad66' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 12L7 8 5 2M12 15L4 12 1 7M12 18L4 20 1 26M14 21L9 25 8 29M23 12L29 8 31 2M24 15L32 12 35 7M24 18L32 20 35 26M22 21L27 25 28 29'/%3E%3Cellipse cx='18' cy='17' rx='7' ry='9' fill='%23231c18'/%3E%3C/g%3E%3Ccircle cx='16' cy='13' r='1.2' fill='%23ffc591'/%3E%3Ccircle cx='20' cy='13' r='1.2' fill='%23ffc591'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes ops-spider-visit { 0%, 4%, 55%, 100% { transform: translateY(-80px); } 12%, 40% { transform: translateY(0); } }
@keyframes ops-spider-swing { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }
.ops-spider-body { pointer-events: auto; cursor: grab; touch-action: none; }
.ops-spider.ops-spider-interactive { animation: none; transform: translateY(0); }
.ops-spider-interactive .ops-spider-swing { animation: none; }
.ops-spider-dragging .ops-spider-body { cursor: grabbing; }
/* Visitas escalonadas: sólo transform y opacity, sin temporizadores JavaScript. */
.ops-bat, .ops-ghost { position: absolute; opacity: 0; background: center / contain no-repeat; }
.ops-bat { top: 12px; right: -80px; width: 64px; height: 36px; animation: ops-bat-visit 32s linear 8s infinite; }
.ops-bat-wings { display: block; width: 100%; height: 100%; background: url('../img/halloween-bat.svg') center / contain no-repeat; animation: ops-bat-flap .65s ease-in-out infinite alternate; }
.ops-ghost { bottom: 22px; right: 26px; width: 38px; height: 48px; background-image: url('../img/halloween-ghost.svg'); animation: ops-ghost-visit 32s ease-in-out 8s infinite; }
@keyframes ops-bat-visit {
    0% { opacity: 0; transform: translate(0, 0); }
    3% { opacity: .6; }
    10% { transform: translate(-150px, 16px); }
    18% { opacity: .6; transform: translate(-300px, 0); }
    23%, 100% { opacity: 0; transform: translate(-370px, -55px); }
}
@keyframes ops-bat-flap { from { transform: scaleY(.65) rotate(-5deg); } to { transform: scaleY(1) rotate(5deg); } }
@keyframes ops-ghost-visit {
    0%, 28%, 57%, 100% { opacity: 0; transform: translateY(18px); }
    34%, 48% { opacity: .45; transform: translateY(-8px) rotate(-6deg); }
    41% { opacity: .55; transform: translateY(-18px) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
    .ops-bat, .ops-bat-wings, .ops-ghost { display: none; animation: none; }
}
@media (prefers-reduced-motion: reduce) { .ops-spider { animation: none; display: none; } .ops-spider-swing { animation: none; } }
@media (max-width: 768px) { .ops-web { width: 72px; height: 72px; opacity: .13; } .ops-spider { display: none; } }
@media print { .ops-halloween-decor, html[data-ops-theme="halloween"] body::after { display: none !important; } }
.app-sidebar .ops-sidebar-logo { display: block; width: 86px; height: 76px; object-fit: contain; }
.app-sidebar .sidebar-header-mobile { margin-bottom: 12px; padding-bottom: 12px; flex-shrink: 0; }
.app-sidebar .sidebar-user-section { flex-shrink: 0; border-top: 0; }
body.sidebar-collapsed .ops-gear-label { display: none; }
body.sidebar-collapsed .app-sidebar .ops-sidebar-logo { width: 48px; height: 48px; }
@media (max-width: 768px) { body.sidebar-collapsed .ops-gear-label { display: inline; } }
@media print { .ops-theme-gear, .ops-theme-panel { display: none; } }

/* Navidad: misma estructura, recursos SVG locales y decoración sin interceptar clics. */
html[data-ops-theme="christmas"] { --primary: #a8d5b5; --primary-hover: #c6e7cf; --border-color: #4d6256; }
html[data-ops-theme="christmas"] body {
    isolation: isolate;
    background: radial-gradient(ellipse at 12% 25%, #32614324, transparent 50%), radial-gradient(ellipse at 90% 12%, #852c3e20, transparent 48%), #161616;
}
html[data-ops-theme="christmas"] body:has(.selector-logo)::before {
    background: radial-gradient(ellipse at top right, #852c3e20, transparent 50%), radial-gradient(ellipse at bottom left, #32614324, transparent 48%), #161616;
}
html[data-ops-theme="christmas"] body::after {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: url('../img/christmas-pattern.svg') repeat; background-size: 420px 340px; opacity: .09;
    mask-image: linear-gradient(90deg, #000, #0008 35%, #0005 65%, #000);
}
html[data-ops-theme="christmas"] .app-sidebar { background: linear-gradient(180deg, #1c2a22, #1c1c1c 45%); }
html[data-ops-theme="christmas"] .nav-link:is(:hover, .active) { background: #a8d5b520; color: #c6e7cf; }
html[data-ops-theme="christmas"] .btn-submit { background: var(--primary); color: #161616; }
html[data-ops-theme="christmas"] .btn-submit:hover { background: var(--primary-hover); }
html[data-ops-theme="christmas"] .btn-submit:disabled { background: #393939; color: #a8a8a8; }
html[data-ops-theme="christmas"] .form-group input:focus { box-shadow: 0 0 0 3px #a8d5b555; }
html[data-ops-theme="christmas"] .sidebar-toggle-btn { background: #a8d5b50d; }
html[data-ops-theme="christmas"] .sidebar-toggle-btn:hover { background: #a8d5b51f; }
.ops-christmas-decor { display: none; position: fixed; inset: 0; overflow: hidden; pointer-events: none; user-select: none; z-index: 900; }
html[data-ops-theme="christmas"] .ops-christmas-decor { display: block; }
.ops-ornament { position: absolute; top: -8px; left: calc(50% - 18px); width: 36px; height: 78px; animation: ops-ornament-visit 40s linear infinite; opacity: .75; }
.ops-sleigh { position: absolute; top: 12px; right: -150px; width: 112px; height: 51px; background: url('../img/christmas-sleigh.svg') center / contain no-repeat; opacity: 0; animation: ops-sleigh-visit 40s linear infinite; }
.ops-snowflake { position: absolute; top: -24px; color: #e1e9e5; font: 16px/1 'Segoe UI Symbol', sans-serif; opacity: 0; animation: ops-snowfall 19s linear infinite; }
@keyframes ops-ornament-swing { from { transform: rotate(-10deg); } to { transform: rotate(10deg); } }
.ops-ornament-swing { position: absolute; inset: 0; transform-origin: 50% 0; animation: ops-ornament-swing 4s ease-in-out infinite alternate; }
.ops-ornament-swing::before { content: ''; position: absolute; top: 0; bottom: 29px; left: 50%; width: 1px; background: #ddc48a; }
.ops-ornament-body { position: absolute; bottom: 0; left: 2px; width: 32px; height: 32px; border: 1px solid #ddc48a; border-radius: 50%; background: radial-gradient(circle at 32% 25%, #df8a8a80, transparent 40%), repeating-linear-gradient(25deg, #612e39 0 9px, #ddc48a 10px 11px, #612e39 12px 20px); pointer-events: auto; cursor: grab; touch-action: none; box-sizing: border-box; }
.ops-ornament-body::before { content: ''; position: absolute; width: 9px; height: 5px; border: 1px solid #ddc48a; background: #342d20; top: -6px; left: 10px; }
.ops-ornament.ops-ornament-interactive { animation: none; opacity: .9; }
.ops-ornament-interactive .ops-ornament-swing { animation: none; }
.ops-ornament-dragging .ops-ornament-body { cursor: grabbing; }
.ops-christmas-decor:has(.ops-ornament-interactive) .ops-sleigh { visibility: hidden; }
/* Desactivar el área de agarre cuando la esfera está oculta. */
.ops-ornament:not(.ops-ornament-interactive) .ops-ornament-body { animation: ops-ornament-hit 40s step-end infinite; }
@keyframes ops-ornament-hit { 0%, 97% { pointer-events: auto; } 38% { pointer-events: none; } }
.ops-snowflake { pointer-events: auto; cursor: grab; touch-action: none; }
.ops-snowflake.ops-snow-held { animation: none; top: 0; left: 0 !important; opacity: .65; cursor: grabbing; }
@keyframes ops-ornament-visit { 0%, 32% { opacity: .75; } 38%, 97% { opacity: 0; } 100% { opacity: .75; } }
@keyframes ops-sleigh-visit {
    0%, 44% { opacity: 0; transform: translate(0, 0) rotate(-3deg); }
    48% { opacity: .6; transform: translate(calc(-8vw - 15px), 10px) rotate(3deg); }
    57% { opacity: .6; transform: translate(calc(-26vw - 40px), 28px) rotate(-3deg); }
    66% { opacity: .6; transform: translate(calc(-44vw - 65px), 4px) rotate(3deg); }
    75% { opacity: .6; transform: translate(calc(-62vw - 90px), 28px) rotate(-3deg); }
    84% { opacity: .6; transform: translate(calc(-80vw - 120px), 4px) rotate(3deg); }
    93%, 100% { opacity: 0; transform: translate(calc(-100vw - 150px), 20px) rotate(-3deg); }
}
@keyframes ops-snowfall {
    0% { opacity: 0; transform: translate(0, 0) rotate(0); }
    10%, 75% { opacity: .22; }
    100% { opacity: 0; transform: translate(-24px, calc(100dvh + 48px)) rotate(150deg); }
}
@media (max-width: 768px) {
    .ops-ornament, .ops-sleigh, .ops-snowflake:nth-child(n+15) { display: none; animation: none; }
}
@media (prefers-reduced-motion: reduce) { .ops-christmas-decor { display: none !important; } .ops-christmas-decor span { animation: none; } }
@media print { .ops-christmas-decor, html[data-ops-theme="christmas"] body::after { display: none !important; } }

/* Botón del recetario: altura estable, sin compresión por el listado de módulos. */
.app-sidebar .sidebar-toggle-btn {
    flex: 0 0 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    margin: 8px 0 0;
    border-radius: 8px;
    border: 1px solid transparent;
    background: rgba(166, 200, 255, .05);
    color: var(--primary);
    box-shadow: none;
    line-height: 1;
}
.app-sidebar .sidebar-toggle-btn:hover { background: rgba(166, 200, 255, .12); border-color: transparent; }
.app-sidebar .sidebar-toggle-btn:focus:not(:focus-visible) { outline: none; }
.app-sidebar .sidebar-toggle-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
body.sidebar-collapsed .app-sidebar .sidebar-toggle-btn { padding: 0; font-size: 1rem; }
.app-sidebar #sidebar-nav { min-height: 0; }
html body .app-sidebar,
html body .app-sidebar #sidebar-nav { scrollbar-width: none; }
html body .app-sidebar::-webkit-scrollbar,
html body .app-sidebar #sidebar-nav::-webkit-scrollbar { width: 0; height: 0; display: none; }
body.sidebar-collapsed .app-sidebar .sidebar-header-mobile { padding: 0 0 10px; margin: 0 0 10px; }
body.sidebar-collapsed .sidebar-header-mobile .app-logo { padding: 0; margin: 0; }
body.sidebar-collapsed .nav-link:hover::after { content: none; }
.sidebar-module-tooltip {
    position: fixed;
    z-index: 11000;
    max-width: calc(100vw - 16px);
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font: 13px/1.4 'Segoe UI', sans-serif;
    box-shadow: 0 4px 16px #0005;
    pointer-events: none;
}
.sidebar-module-tooltip[hidden] { display: none; }
@media print { .sidebar-module-tooltip { display: none; } }

/* Mantener rueda/touch en los selectores, sin dibujar la barra de desplazamiento. */
html :is(select, .searchable-dropdown, .searchable-select-dropdown, .ss-dropdown, .kardex-search-dropdown, [role="listbox"]) { scrollbar-width: none; }
html :is(select, .searchable-dropdown, .searchable-select-dropdown, .ss-dropdown, .kardex-search-dropdown, [role="listbox"])::-webkit-scrollbar { display: none; width: 0; height: 0; }
