/* ================================================================
   RICHIFUS / MIS COMISIONES · NAVIDAD CORPORATIVA 2026 · EDICIÓN 2
   CSS VISUAL ÚNICAMENTE: no altera cálculos, datos, texto ni navegación.
   Los gráficos se dibujan sobre los márgenes; jamás como nuevas filas.
   ================================================================ */
.christmas-ep-message,.christmas-login-greeting{display:none}
body.christmas-season{--xmas-green:#165746;--xmas-red:#92283c;--xmas-gold:#d5ae67;--xmas-ink:#143e43;}
/* Elimina la antigua guirnalda (era un bloque de 106 px que deformaba el layout). */
body.christmas-season .app main::before{content:none!important;display:none!important;min-height:0!important;margin:0!important;background:none!important}
body.christmas-season .app main{position:relative;background-image: url('assets/navidad-copos.svg'),radial-gradient(ellipse at 88% 15%,rgba(233,245,247,.70),transparent 36%),linear-gradient(180deg,rgba(250,253,255,.75),rgba(247,252,253,.9));background-size:440px 440px,100% 100%,100% 100%;}
/* Decoración fina en barra superior, no desplaza ni oculta los controles. */
body.christmas-season .topbar{position:relative;isolation:isolate;border-bottom:2px solid #caa66d;background:linear-gradient(105deg,#e9f7fa,#e8f7ff 52%,#e9f4f2);}
body.christmas-season .topbar::before{content:"";position:absolute;z-index:-1;inset:0;background:url('assets/navidad-copos.svg') center/400px auto;opacity:.35;pointer-events:none;}
body.christmas-season .topbar::after{content:"";position:absolute;left:0;right:0;bottom:-21px;height:25px;z-index:2;pointer-events:none;background:url('assets/navidad-guirnalda.svg') center top / 100% 50px no-repeat;opacity:.98}
/* Barra lateral: conserva ancho, iconos y navegación. */
body.christmas-season .sidebar{background:linear-gradient(174deg,#e8f7fc,#d0ebee 42%,#c9e7e5 100%);border-right:1px solid #b8d9d3;}
body.christmas-season .sidebar::before{content:"";position:absolute;inset:auto 0 0 0;height:95px;background:url('assets/navidad-invierno.svg') bottom/100% 100% no-repeat;opacity:.68;pointer-events:none;z-index:0}
body.christmas-season .side-brand{position:relative;border-bottom:1px solid rgba(34,102,83,.22);padding-top:8px;}
body.christmas-season .side-brand::after{content:"";position:absolute;right:-7px;top:-10px;width:70px;height:58px;background:url('assets/navidad-esquina.svg') top right/contain no-repeat;opacity:.9;pointer-events:none}
body.christmas-season .nav button.active{border-color:#9bcac0;box-shadow:inset 3px 0 #226e55,0 6px 18px rgba(19,79,66,.1)}
body.christmas-season .nav button:hover{background:#f3fbf6}
body.christmas-season .nav .ico{background:#f4fff9;color:#246b55}
body.christmas-season .role-card{background:rgba(255,255,255,.56);border-color:#add9d1}
/* Saludo corporativo único visible en TODAS las pestañas. */
body.christmas-season .christmas-ep-message{position:relative;display:flex;align-items:center;justify-content:center;max-width:100%;min-height:76px;margin:7px 0 24px;padding:18px clamp(46px,8vw,128px);border:1px solid #d5b678;border-radius:16px;text-align:center;font-size:clamp(13px,1.23vw,18px);font-weight:830;line-height:1.5;letter-spacing:.005em;color:#fff8e9;background:radial-gradient(circle at 50% -130%,#356b5b,transparent 65%),linear-gradient(100deg,#82293b,#632b36 32%,#144b41 74%,#103c36);box-shadow:0 10px 28px rgba(46,73,77,.15),inset 0 1px rgba(255,255,255,.23);overflow:hidden;isolation:isolate}
body.christmas-season .christmas-ep-message::before,body.christmas-season .christmas-ep-message::after{content:"";position:absolute;top:0;bottom:0;width:126px;pointer-events:none;background:url('assets/navidad-esquina.svg') top left/120px auto no-repeat;opacity:.95}
body.christmas-season .christmas-ep-message::before{left:0}
body.christmas-season .christmas-ep-message::after{right:0;transform:scaleX(-1)}
/* Encabezados y tarjetas de TODAS las pestañas. */
body.christmas-season .page .section-head{position:relative;padding:9px 48px 9px 15px;border-left:4px solid var(--xmas-green);border-radius:0 12px 12px 0;background:linear-gradient(90deg,rgba(255,255,255,.88),rgba(255,255,255,.38));box-shadow:0 2px 10px rgba(28,96,83,.025);}
body.christmas-season .page .section-head::after{content:"";position:absolute;right:7px;top:5px;width:46px;height:46px;background:url('assets/navidad-esquina.svg') center/contain no-repeat;opacity:.86;pointer-events:none}
body.christmas-season .page .eyebrow{color:#39775d}
body.christmas-season .page .section-head h1{text-shadow:none}
body.christmas-season .page-card,body.christmas-season .page .card,body.christmas-season .yomar-sales-card{border-color:#c9ded8;box-shadow:0 11px 30px rgba(43,91,82,.095)}
/* Sólo tarjetas sin overlays existentes: esquina fuera del área de datos. */
body.christmas-season .page .page-card{position:relative;}
body.christmas-season .page .page-card::after{content:"";position:absolute;right:7px;top:5px;width:61px;height:57px;background:url('assets/navidad-esquina.svg') center/contain no-repeat;opacity:.68;pointer-events:none}
body.christmas-season .page .card{position:relative;}
body.christmas-season .page .card-head{border-bottom-color:rgba(55,113,92,.12)}
body.christmas-season .kpi{border-color:#d2e4df;background:linear-gradient(155deg,#fff,#fbfdfd 65%,#f2f9f6);box-shadow:0 8px 20px rgba(42,104,91,.07)}
body.christmas-season .kpi::before{content:"✧";position:absolute;right:12px;top:8px;font-size:17px;color:#c9a35c;opacity:.75;pointer-events:none}
body.christmas-season .commission-month-tabs button[data-commission-month="2026-12"]{border-color:#d5b475!important;background:linear-gradient(150deg,#fffdfa,#f1f9f6)!important;box-shadow:0 0 0 1px rgba(207,169,104,.14)}
body.christmas-season .commission-month-tabs button[data-commission-month="2026-12"]::after{content:"❄";position:absolute;right:8px;bottom:5px;font-size:14px;color:#ba9960;opacity:.55;pointer-events:none}
body.christmas-season #uploadZone{position:relative;isolation:isolate;overflow:hidden;border-color:#9fcac2;background:linear-gradient(160deg,#fbfefe,#f4faf9);padding:28px clamp(18px,8vw,110px)}
body.christmas-season #uploadZone::before,body.christmas-season #uploadZone::after{content:"";position:absolute;pointer-events:none;z-index:-1;left:0;top:0;width:min(122px,24%);height:120px;background:url('assets/navidad-esquina.svg') top left/contain no-repeat;opacity:.86}
body.christmas-season #uploadZone::after{left:auto;right:0;transform:scaleX(-1)}
body.christmas-season .table th,body.christmas-season .users-table th,body.christmas-season .cut-history th,body.christmas-season .rank-table th,body.christmas-season .mini-table th{background:#ecf5f1;color:#275d52;border-bottom:1px solid #c9dfd7}
body.christmas-season .badge.active{border-color:#b7d9c4}
/* Delicadas líneas festivas en formularios e informes sin tocar medidas o métricas */
body.christmas-season .btn.primary,body.christmas-season .primary-btn{box-shadow:0 6px 17px rgba(36,116,104,.14)}
body.christmas-season :is(input,select,textarea):focus-visible{outline:2px solid #72bfa0;outline-offset:2px}
body.christmas-season .toast{border:1px solid #c4aa70}
/* LOGIN: experiencia navideña completa, conservando el mismo formulario y texto. */
body.christmas-season .login-screen{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(circle at 10% 15%,rgba(118,174,159,.23),transparent 32%),radial-gradient(circle at 92% 90%,rgba(185,77,83,.19),transparent 28%),linear-gradient(135deg,#eef8f8,#eaf3f3 48%,#e9f1f8)}
body.christmas-season .login-screen::before{content:"";position:absolute;inset:0 0 auto;height:90px;background:url('assets/navidad-guirnalda.svg') top center/100% 90px no-repeat;pointer-events:none;z-index:-1}
body.christmas-season .login-screen::after{content:"";position:absolute;left:0;right:0;bottom:0;height:165px;background:url('assets/navidad-invierno.svg') bottom center/100% 100% no-repeat;pointer-events:none;z-index:-1}
body.christmas-season .login-card{position:relative;width:min(485px,100%);padding:37px 35px 28px;border:1px solid #e1cba2;border-top:4px solid var(--xmas-green);border-radius:24px;background:linear-gradient(155deg,rgba(255,255,255,.97),rgba(254,255,254,.98));box-shadow:0 24px 64px rgba(17,70,65,.17),0 0 0 6px rgba(255,255,255,.35)}
body.christmas-season .login-card::before{content:"";position:absolute;right:6px;top:3px;width:90px;height:75px;background:url('assets/navidad-esquina.svg') top right/contain no-repeat;opacity:.9;pointer-events:none}
body.christmas-season .login-brand b{color:#1d5345}
body.christmas-season .login-card h1{color:#224d48}
body.christmas-season .login-card input{border-color:#c5dfd7;background:#fbfefd}
body.christmas-season .login-card .primary-btn{background:linear-gradient(110deg,#24715b,#165842);color:white;box-shadow:0 8px 20px rgba(26,93,72,.2)}
body.christmas-season .login-note{background:#f4faf8;border-color:#d3e6dd}
body.christmas-season .christmas-login-greeting{display:block;position:relative;margin-top:15px;padding:13px 24px;border:1px solid #e5cb96;border-radius:12px;color:#715025;background:linear-gradient(110deg,#fffbf2,#f3faf7);font-size:12px;line-height:1.5;font-weight:750;text-align:center;}
body.christmas-season .christmas-login-greeting::before{content:"✦";color:#b58640;margin-right:9px}
body.christmas-season .christmas-login-greeting::after{content:"✦";color:#b58640;margin-left:9px}
/* Escalado responsivo para evitar adornos estirados o textos recortados. */
@media(max-width:1080px){
 body.christmas-season .topbar::after{background-size:1100px 49px}
 body.christmas-season .christmas-ep-message{margin-top:6px;padding:15px 74px}
}
@media(max-width:700px){
 body.christmas-season .topbar::after{height:18px;bottom:-14px;background-size:960px 42px}
 body.christmas-season .christmas-ep-message{min-height:76px;padding:14px 41px;font-size:12px;line-height:1.48;margin:8px 0 20px;border-radius:13px}
 body.christmas-season .christmas-ep-message::before,body.christmas-season .christmas-ep-message::after{width:52px;background-size:74px auto;opacity:.55}
 body.christmas-season .page .section-head{padding-right:25px}
 body.christmas-season .page .section-head::after{width:29px;height:30px;right:0;top:0;opacity:.55}
 body.christmas-season .page .page-card::after{width:42px;height:40px;opacity:.5}
 body.christmas-season #uploadZone{padding:25px 14px}
 body.christmas-season #uploadZone::before,body.christmas-season #uploadZone::after{width:64px;height:65px;opacity:.45}
 body.christmas-season .login-screen{padding:24px 18px}
 body.christmas-season .login-screen::before{background-size:1080px 75px}
 body.christmas-season .login-card{padding:32px 23px 25px}
 body.christmas-season .login-card::before{width:60px;height:60px}
}
@media(prefers-reduced-motion:reduce){body.christmas-season *,body.christmas-season *::before,body.christmas-season *::after{animation:none!important;transition:none!important}}


/* ============================================================
  EDICIÓN 3 — MAYOR PRESENCIA NAVIDEÑA + ESTABILIDAD EN MÓVIL
  Sin tocar métricas, reglas, cuotas, navegación ni formularios.
============================================================ */
html{min-width:0;background-color:#edf7fa}
body{min-width:0;overflow-x:hidden;background-color:#edf7fa}
body.christmas-season .app{min-width:0}
body.christmas-season .page,body.christmas-season .page-card,body.christmas-season .card,body.christmas-season .layout{min-width:0}
/* Luz cálida sobre el encabezado, siempre fuera del flujo. */
body.christmas-season .topbar{box-shadow:inset 0 -2px 0 rgba(209,163,75,.34),0 3px 15px rgba(57,109,91,.13)}
body.christmas-season .topbar::after{background-position: center top;background-size:1600px 64px;height:27px;bottom:-23px}
body.christmas-season .sidebar{background-image:url('assets/navidad-copos.svg'),linear-gradient(160deg,#eaf8fc,#d8eeeb 47%,#cde9e4);background-size:400px auto,100% 100%}
body.christmas-season .side-brand::before{content:"";position:absolute;left:5px;top:-5px;width:72px;height:45px;background:url('assets/navidad-campanas.svg') top left/contain no-repeat;opacity:.98;pointer-events:none;z-index:1}
body.christmas-season .christmas-ep-message{
 min-height:94px;padding-top:23px;padding-bottom:23px;
 background-image:url('assets/navidad-detalles.svg'),radial-gradient(circle at 55% -160%,rgba(247,218,158,.38),transparent 78%),linear-gradient(106deg,#8c2a3b,#713040 42%,#145d4a 83%,#115344);
 background-repeat:no-repeat,no-repeat,no-repeat;
 background-size:auto 125px,cover,cover;background-position:center bottom,center,center;
 border:1.5px solid #d5a452;
 box-shadow:0 10px 25px rgba(42,79,68,.16),inset 0 1px 0 rgba(255,255,255,.22);
 text-shadow:0 1px 2px rgba(2,28,23,.34)
}
body.christmas-season .page .section-head{border-left:4px solid #207456;border-bottom:1px solid #c9dfd2}
body.christmas-season .page .section-head::before{content:"";position:absolute;inset:auto 48px 0 18px;height:2px;background:linear-gradient(90deg,#b78d4e,transparent);pointer-events:none}
body.christmas-season .page .page-card{border-top:2px solid rgba(203,161,82,.6)}
body.christmas-season .page .card{border-top:2px solid rgba(37,109,79,.25)}
body.christmas-season .page .card-head h3{color:#265849}
body.christmas-season .kpi{position:relative;overflow:hidden}
body.christmas-season .kpi::after{content:"";position:absolute;right:-15px;bottom:-20px;width:77px;height:80px;background:url('assets/navidad-esquina.svg') center/contain no-repeat;transform:rotate(180deg);opacity:.27;pointer-events:none}
body.christmas-season .commission-month-tabs button{position:relative;isolation:isolate}
body.christmas-season #uploadZone{box-shadow:inset 0 0 0 1px rgba(218,185,116,.28)}
body.christmas-season .login-screen{min-height:100vh;min-height:100dvh;background-image:url('assets/navidad-copos.svg'),radial-gradient(circle at 10% 15%,rgba(118,174,159,.23),transparent 32%),radial-gradient(circle at 92% 90%,rgba(185,77,83,.19),transparent 28%),linear-gradient(135deg,#eaf5f1,#e9f5f4 48%,#eaf1f8);background-size:400px 400px,100% 100%,100% 100%,100% 100%}
body.christmas-season .login-screen::before{z-index:0;opacity:.98}
body.christmas-season .login-screen::after{z-index:0;opacity:.92}
body.christmas-season .login-card{z-index:1;max-width:100%;}
body.christmas-season .login-card::before{background:url('assets/navidad-campanas.svg') center/contain no-repeat;width:84px;height:62px;right:5px;top:4px;opacity:.92}
body.christmas-season .christmas-login-greeting{font-size:12px;font-weight:850;border:1px solid #dfc282;box-shadow:inset 0 0 0 1px #fff3d6;background:linear-gradient(100deg,#fff9ea,#f5faf4,#fff8e9)}
/* Aviso de recuperación sólo cuando una falla real oculta login y tablero. */
.mobile-rescue{position:fixed;z-index:9999;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:#eaf5f3;color:#173d40;font-family:system-ui,sans-serif}
.mobile-rescue[hidden]{display:none!important}
.mobile-rescue-inner{max-width:390px;background:#fff;border:1px solid #d6e7dc;border-top:5px solid #1d6a51;border-radius:20px;padding:26px 20px;box-shadow:0 18px 50px #153e3c23;text-align:center}
.mobile-rescue-inner h2{font-size:19px;margin:8px 0}.mobile-rescue-inner p{line-height:1.5;font-size:14px}.mobile-rescue-inner button{padding:12px 18px;border:0;border-radius:11px;background:#216c56;color:#fff;font-size:14px;font-weight:800}
@media(max-width:700px){
 html,body{width:100%;max-width:100%;overflow-x:hidden}
 body.christmas-season .topbar{min-height:64px}
 body.christmas-season .topbar::after{height:19px;bottom:-16px;background-size:1050px 45px}
 body.christmas-season .login-screen{min-height:100vh;min-height:100dvh;padding:44px 15px 28px;overflow-y:auto;align-items:center}
 body.christmas-season .login-screen::before{height:70px;background-size:1060px 70px}
 body.christmas-season .login-card{padding:27px 21px 21px;border-radius:20px;box-shadow:0 14px 35px #173d3c26}
 body.christmas-season .login-card::before{width:51px;height:40px;right:7px;top:5px;opacity:.72}
 body.christmas-season .christmas-ep-message{margin:10px 0 19px;min-height:100px;padding:13px 25px 26px;font-size:12px;line-height:1.5;background-size: auto 52px,cover,cover;background-position:center bottom,center,center;border-radius:14px;overflow:hidden}
 body.christmas-season .christmas-ep-message::before,body.christmas-season .christmas-ep-message::after{width:50px;background-size:60px auto;opacity:.55}
 body.christmas-season .sidebar{max-width:min(310px,88vw)}
 body.christmas-season .sidebar::before{height:85px}
 body.christmas-season .page .section-head{margin-bottom:15px;padding:13px 30px 14px 12px}
 body.christmas-season .page .section-head::after{width:36px;height:36px;top:6px;right:2px}
 body.christmas-season #uploadZone{padding:26px 15px}
 body.christmas-season .kpi::after{width:52px;height:55px;opacity:.17}
 body.christmas-season .login-card .login-brand{gap:10px}
 body.christmas-season .login-card .login-brand small{overflow-wrap:anywhere}
 body.christmas-season .login-card .christmas-login-greeting{font-size:11px;line-height:1.45;padding:12px 14px}
}
@media(max-width:390px){body.christmas-season .christmas-ep-message{padding-right:18px;padding-left:18px;font-size:11.5px}}


/* ===============================================================
   NAVIDAD CORPORATIVA PREMIUM · VISTO BUENO APROBADO DIC 2026
   Exclusivamente apariencia. Cifras, botones, textos y autenticación
   siguen proviniendo de los mismos componentes de la aplicación.
   =============================================================== */
body.christmas-season{
 --xmas-forest:#15523d;--xmas-holly:#a51f34;--xmas-champagne:#e7bc68;
}
/* Cabecera ornamentada: tamaño controlado para NO recortar números. */
body.christmas-season .topbar{z-index:3;isolation:initial;background:linear-gradient(105deg,#eaf7f6,#f1f8fd 70%,#e3f3ec)!important;border-bottom:1px solid #d9ba75;}
body.christmas-season .topbar::before{z-index:0}
body.christmas-season .topbar::after{
 background-image:url('assets/navidad-guirnalda-vb.svg');
 background-size:100% 100%;background-repeat:no-repeat;
 width:100%;height:76px;bottom:-66px;opacity:1;z-index:2;
 filter:drop-shadow(0 4px 5px rgba(51,86,62,.16));
}
body.christmas-season .topbar > *{position:relative;z-index:1}
body.christmas-season .app main{padding-top:70px;position:relative;
 background-image:url('assets/navidad-copos.svg'),radial-gradient(ellipse at 89% 7%,#e0f5f2 0%,transparent 43%),linear-gradient(#f4fafd,#eff8fa);
 background-size:480px 480px,100% 100%,100% 100%;
}
/* Nacimiento y árboles en el área lateral de los meses (sin tapar tarjetas). */
body.christmas-season .commission-month-tabs{width:calc(100% - 42% - 22px);max-width:none;min-width:0;}
body.christmas-season .commission-month-tabs button{background:linear-gradient(150deg,#fffefa,#fff 55%,#f1faf8);border-color:#d5e7df;box-shadow:0 8px 21px rgba(48,87,74,.10),inset 0 -2px rgba(213,168,87,.24);}
body.christmas-season .commission-month-tabs button[data-commission-month="2026-12"]{border:1.5px solid #d5b576!important;background:linear-gradient(145deg,#fffdf3,#f4fbf8)!important;}
body.christmas-season .christmas-nativity-scene{display:block;position:absolute;pointer-events:none;
 top:65px;right:8px;width:41%;height:244px;
 background:url('assets/navidad-nacimiento-vb.svg') center bottom/contain no-repeat;
 filter:drop-shadow(0 5px 6px rgba(76,90,77,.08));z-index:1;
}
/* Saludo de empresa en franja cálida y ramo decorativo inferior. */
body.christmas-season .christmas-ep-message{position:relative;z-index:2;
 padding:20px clamp(32px,8vw,145px) 37px;min-height:104px;margin:4px 0 23px;
 font-size:clamp(12px,1.2vw,18px);font-weight:850;
 color:#fff4d7;
 background-image:url('assets/navidad-franja-vb.svg'),radial-gradient(circle at 55% -120%,rgba(255,226,153,.19),transparent 67%),linear-gradient(105deg,#81293a,#9c2637 34%,#205a42 84%,#0c513c);
 background-size:100% 56px,cover,cover;background-position:center bottom,center,center;background-repeat:no-repeat;
 box-shadow:0 12px 28px rgba(76,61,44,.14),0 1px 0 #fff6db inset;border-color:#d4b16b;}
body.christmas-season .christmas-ep-message::before,body.christmas-season .christmas-ep-message::after{width:95px;opacity:.9}
/* Títulos, paneles y tablas siguen con las dimensiones originales. */
body.christmas-season .page .section-head{border-left-color:#a02b38;border-bottom:1px solid #dec7a5;
 background:linear-gradient(100deg,#fffaf2 0%,rgba(253,255,252,.72) 69%,rgba(223,246,237,.85));}
body.christmas-season .page .section-head::after{background-image:url('assets/navidad-corona-vb.svg');width:54px;height:54px;right:7px;top:1px;opacity:.92}
body.christmas-season .page .page-card{border:1px solid #d5e4da;border-top:3px solid #d5b77b;}
body.christmas-season .page .page-card::after{background-image:url('assets/navidad-corona-vb.svg');width:44px;height:44px;opacity:.5;}
body.christmas-season .page .card{border-top:2px solid rgba(202,158,78,.48)}
body.christmas-season .kpi{box-shadow:0 8px 21px rgba(47,103,80,.075),inset 0 2px rgba(224,191,127,.40);}
body.christmas-season .kpi::before{content:"✦";font-size:17px;color:#c99543;opacity:.7}
body.christmas-season .kpi::after{background-image:url('assets/navidad-corona-vb.svg');width:67px;height:67px;bottom:-22px;right:-17px;transform:none;opacity:.16}
body.christmas-season .daily-objectives,body.christmas-season .yomar-sales-card{border-top:2px solid #dbb775;}
/* Guirnaldas finas para el menú lateral, sin cubrir el nombre de usuario */
body.christmas-season .sidebar{background-image:url('assets/navidad-copos.svg'),linear-gradient(165deg,#e7f5fc,#d6ecf1 48%,#d5ede7);}
body.christmas-season .side-brand{padding-top:12px;}
body.christmas-season .side-brand::after{background-image:url('assets/navidad-campanas.svg');width:62px;height:55px;right:0;top:0;opacity:.8}
body.christmas-season .sidebar::before{height:118px;background-image:url('assets/navidad-nacimiento-vb.svg'),url('assets/navidad-invierno.svg');background-position:center bottom,center bottom;background-size:100% 118px,100% 100%;background-repeat:no-repeat;opacity:.25;}
body.christmas-season .nav button.active{border-left:3px solid #b22f3f;background:#ffffffdd;}
/* Login más cálido, con nacimiento discreto colocado fuera del formulario */
body.christmas-season .login-screen{overflow:hidden;
 background-image:url('assets/navidad-copos.svg'),radial-gradient(circle at 78% 8%,rgba(212,165,78,.14),transparent 35%),linear-gradient(140deg,#e9f6f5,#f4f8f0 48%,#e5f3f8);}
body.christmas-season .login-screen::before{z-index:0;height:115px;background-image:url('assets/navidad-guirnalda-vb.svg');background-size:100% 115px;}
body.christmas-season .login-screen::after{z-index:0;height:160px;background-image:url('assets/navidad-invierno.svg');}
body.christmas-season .login-card{position:relative;z-index:3;border-top:4px solid #c3a167;
 box-shadow:0 25px 65px rgba(29,86,65,.17),inset 0 0 0 1px rgba(251,229,181,.22);}
body.christmas-season .login-card::before{background-image:url('assets/navidad-corona-vb.svg');width:81px;height:81px;right:4px;top:6px;opacity:.73;}
body.christmas-season .christmas-login-nativity{display:block;position:absolute;bottom:2%;right:2%;z-index:1;pointer-events:none;width:min(35vw,500px);height:200px;background:url('assets/navidad-nacimiento-vb.svg') center bottom/contain no-repeat;opacity:.9;}
body.christmas-season .christmas-login-greeting{background-image:url('assets/navidad-franja-vb.svg'),linear-gradient(110deg,#fff8e8,#f2faf5);
 background-size:100% 44px,100% 100%;background-position:center bottom,center;background-repeat:no-repeat;
 padding-bottom:24px;border-color:#d7b675;color:#6b4b2a;}
body.christmas-season #uploadZone{background-image:radial-gradient(circle at 80% 70%,rgba(232,245,230,.5),transparent 32%),linear-gradient(160deg,#fffdf8,#f3fcfa);border-color:#ccdbcc;}
/* En formularios y pestañas, adornos sólo en las esquinas, sin interceptar clics. */
body.christmas-season :is(.page-card,.login-card,.christmas-ep-message)::before{pointer-events:none}
@media(max-width:1260px){
 body.christmas-season .commission-month-tabs{width:calc(100% - 35% - 10px)}
 body.christmas-season .christmas-nativity-scene{width:35%;height:218px}
}
@media(max-width:1020px){
 body.christmas-season .commission-month-tabs{width:100%;}
 body.christmas-season .christmas-nativity-scene{position:relative;top:auto;right:auto;width:100%;height:151px;margin:-14px auto 8px;background-size:auto 100%;}
 body.christmas-season .topbar::after{height:56px;bottom:-47px;background-size:1150px 56px}
 body.christmas-season .app main{padding-top:54px}
 body.christmas-season .christmas-login-nativity{width:32vw;height:150px;opacity:.54}
}
@media(max-width:700px){
 body.christmas-season .topbar::after{height:40px;bottom:-33px;background-size:950px 40px}
 body.christmas-season .app main{padding-top:40px}
 body.christmas-season .commission-month-tabs{width:100%;gap:10px;margin-bottom:10px}
 body.christmas-season .commission-month-tabs button{padding:11px 9px}
 body.christmas-season .christmas-nativity-scene{height:130px;margin:2px auto 8px;background-size:auto 128px}
 body.christmas-season .christmas-ep-message{min-height:85px;font-size:12px;line-height:1.42;margin:6px 0 18px;padding:15px 20px 37px;
 background-size:100% 39px,cover,cover;}
 body.christmas-season .page .section-head::after{width:31px;height:31px;right:2px;top:0;opacity:.7}
 body.christmas-season .login-screen{overflow-x:hidden;overflow-y:auto;min-height:100dvh;padding:70px 15px 35px;}
 body.christmas-season .login-screen::before{background-size:1120px 80px;height:80px}
 body.christmas-season .christmas-login-nativity{position:relative;right:auto;bottom:auto;width:100%;height:88px;min-height:0;z-index:0;margin:8px auto -12px;opacity:.8;order:2;background-size:auto 100%;}
 body.christmas-season .login-card{z-index:2}
 body.christmas-season .christmas-login-greeting{padding:12px 12px 24px;background-size:100% 31px,100% 100%}
 body.christmas-season .sidebar::before{opacity:.16}
 body.christmas-season .page .page-card::after{opacity:.22;width:34px;height:34px}
}
@media(max-width:390px){
 body.christmas-season .christmas-nativity-scene{height:108px;background-size:auto 105px}
 body.christmas-season .christmas-ep-message{font-size:11px;padding-left:14px;padding-right:14px}
}
@media(prefers-reduced-motion:reduce){body.christmas-season .topbar::after{animation:none!important}}
/* Ajustes de legibilidad tras revisión visual en 390 px */
body.christmas-season .sidebar::before{display:none!important}
@media(max-width:700px){
 body.christmas-season .christmas-ep-message{
  padding:17px 34px 38px;
  font-size:11.2px;line-height:1.52;
  background-size:100% 28px,cover,cover;
 }
 body.christmas-season .christmas-ep-message::before,
 body.christmas-season .christmas-ep-message::after{
  width:31px;background-size:52px auto;opacity:.29;
 }
 body.christmas-season .christmas-login-greeting{
  padding:12px 14px 35px;
  background-size:100% 25px,100% 100%;
 }
}
@media(max-width:390px){
 body.christmas-season .christmas-ep-message{
  font-size:10.5px;padding-right:35px;padding-left:35px;
 }
}


/* ================================================================
   CORRECCIÓN VISUAL · Basada directamente en la captura aprobada.
   Decoraciones recortadas de la imagen de referencia que proporcionó
   el usuario. Sin alterar clases de datos, JS, ingresos ni comisiones.
   ================================================================ */
body.christmas-season {
  --xmas-photo-bg:#e8f4ff;
}
body.christmas-season .topbar {background:linear-gradient(90deg,#e5f6ff,#d5eeff 59%,#bce6fb)!important;border-bottom:0!important;}
body.christmas-season .topbar::after {
  background:url('assets/navidad-referencia-guirnalda.webp') center top / 100% 100% no-repeat!important;
  height:112px!important;bottom:-80px!important;opacity:1!important;
  filter:none!important;z-index:3!important;pointer-events:none;
}
body.christmas-season .app main {
  position:relative!important;
  padding-top:80px!important;
  background-image:url('assets/navidad-copos.svg'),linear-gradient(180deg,#e5f4ff 0,#eff8fe 56%,#f5fbff 100%)!important;
  background-size:540px 540px,100% 100%!important;
}
body.christmas-season .commission-month-tabs {
  width:calc(100% - 45% - 18px)!important;
  max-width:none!important;
  min-width:0!important;
  position:relative!important;
  z-index:2!important;
  gap:12px!important;
}
body.christmas-season .commission-month-tabs button {
  border-radius:14px!important;
  background:linear-gradient(105deg,#fff,#f8fcff)!important;
  border:1px solid #c5e2f4!important;
  box-shadow:0 6px 14px rgba(52,118,159,.09)!important;
  min-height:77px!important;
}
body.christmas-season .commission-month-tabs button[data-commission-month='2026-12'] {
  border:1px solid #d3a83d!important;
  box-shadow:0 2px 0 #3ab2d9,0 8px 15px rgba(58,145,179,.09)!important;
  background:linear-gradient(105deg,#fff,#fffdf0)!important;
}
body.christmas-season .christmas-nativity-scene {
  display:block!important;
  position:absolute!important;
  top:55px!important;
  right:2px!important;
  width:45%!important;
  height:185px!important;
  background:url('assets/navidad-referencia-nacimiento.webp') center bottom / contain no-repeat!important;
  filter:none!important;
  pointer-events:none!important;
  z-index:1!important;
}
body.christmas-season .christmas-ep-message {
  width:100%!important;
  max-width:none!important;
  height:78px!important;
  min-height:78px!important;
  margin:16px 0 23px!important;
  padding:0 30px!important;
  border:0!important;
  border-radius:13px!important;
  overflow:hidden!important;
  background:linear-gradient(100deg,#8b2435,#952d3a 40%,#22583e)!important;
  background-image:url('assets/navidad-referencia-franja.webp')!important;
  background-position:center!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  box-shadow:0 5px 20px rgba(45,75,62,.15)!important;
  color:transparent!important;
  text-shadow:none!important;
  font-size:1px!important;
  user-select:none;
  z-index:2!important;
}
body.christmas-season .christmas-ep-message::before,
body.christmas-season .christmas-ep-message::after {display:none!important;}
body.christmas-season .page .section-head {
  background:transparent!important;
  border:none!important;
  border-radius:0!important;
  padding:0!important;
  box-shadow:none!important;
}
body.christmas-season .page .section-head::after {display:none!important;}
body.christmas-season .page .eyebrow{color:#238acc!important;}
body.christmas-season .kpi {background:linear-gradient(155deg,#fff,#f7fbff)!important;border:1px solid #cbe6fa!important;border-radius:13px!important;box-shadow:0 7px 13px rgba(65,132,184,.06)!important;}
body.christmas-season .kpi::before {display:none!important;}
body.christmas-season .kpi::after {background:var(--soft,#d7eefb)!important;opacity:.56!important;}
body.christmas-season .sidebar {background:linear-gradient(180deg,#d8f0ff,#c5e9fc)!important;border-right:1px solid #bbdfef!important;}
body.christmas-season .sidebar .nav button.active {background:#f2faff!important;border:1px solid #75b9f7!important;box-shadow:0 3px 8px rgba(61,131,184,.06)!important;}
body.christmas-season .sidebar .side-brand::after {background-image:url('assets/navidad-campanas.svg')!important;opacity:1!important;}
body.christmas-season .sidebar::after {
 content:"";position:fixed;left:0;bottom:0;width:210px;height:80px;
 background:url('assets/navidad-referencia-regalos-izq.webp') left bottom / contain no-repeat;
 opacity:.22;pointer-events:none;z-index:0;
}
/* Franja de regalos y lazo inmediatamente después de las métricas iniciales. */
body.christmas-season #dashboard #kpiGrid {position:relative!important;margin-bottom:105px!important;}
body.christmas-season #dashboard #kpiGrid::after {
 content:"";display:block;position:absolute;left:0;right:0;top:calc(100% + 8px);
 height:89px;pointer-events:none;
 background:url('assets/navidad-referencia-regalos.webp') center bottom / 100% 100% no-repeat;
 z-index:0;opacity:.95;
}
/* En todas las pestañas mantenemos el tema, el nacimiento en el encabezado,
   y decoraciones pequeñas sin tapar datos. */
body.christmas-season .page .page-card::after {opacity:.25!important;}
body.christmas-season .page .card{border-color:#cfe5f5!important;border-top:2px solid #e4b868!important;}
body.christmas-season .page .table th{background:#f0f7f8!important;}
/* El login recibe la misma guirnalda de fotografía y la escena aprobada. */
body.christmas-season .login-screen::before {
 background-image:url('assets/navidad-referencia-guirnalda.webp')!important;
 height:120px!important;background-size:100% 115px!important;z-index:0!important;
}
body.christmas-season .christmas-login-nativity {
 background-image:url('assets/navidad-referencia-nacimiento.webp')!important;
 opacity:1!important;filter:none!important;
}
/* MOBILE: decoración rica sin robar espacio al login ni las tablas. */
@media(max-width:1100px){
 body.christmas-season .topbar::after {height:83px!important;bottom:-78px!important;background-size:auto 83px!important;}
 body.christmas-season .app main{padding-top:88px!important;}
 body.christmas-season .commission-month-tabs{width:100%!important;}
 body.christmas-season .christmas-nativity-scene{position:relative!important;top:auto!important;right:auto!important;width:100%!important;height:160px!important;margin:3px auto 10px!important;background-size:auto 100%!important;}
 body.christmas-season .christmas-ep-message {height:75px!important;min-height:75px!important;}
}
@media(max-width:700px){
 body.christmas-season .topbar::after{height:60px!important;bottom:-55px!important;background-size:auto 60px!important;}
 body.christmas-season .app main{padding-top:65px!important;}
 body.christmas-season .commission-month-tabs {gap:9px!important;}
 body.christmas-season .commission-month-tabs button {min-height:76px!important;}
 body.christmas-season .christmas-nativity-scene{height:125px!important;background-size:auto 125px!important;}
 body.christmas-season .christmas-ep-message {
  height:auto!important;min-height:80px!important;padding:14px 17px!important;
  margin:10px 0 16px!important;
  background-image:linear-gradient(100deg,#842a38,#a02e3f 42%,#166248)!important;
  color:#fff8e7!important;font-size:11.5px!important;line-height:1.5!important;
  font-weight:850!important;user-select:auto!important;
 }
 body.christmas-season .christmas-ep-message::before,body.christmas-season .christmas-ep-message::after{display:block!important;width:29px!important;opacity:.85!important;}
 body.christmas-season #dashboard #kpiGrid{margin-bottom:80px!important;}
 body.christmas-season #dashboard #kpiGrid::after{top:calc(100% + 8px);height:70px;background-size:100% 100%;}
 body.christmas-season .login-screen::before{height:76px!important;background-size:auto 76px!important;}
 body.christmas-season .christmas-login-nativity{height:120px!important;background-size:auto 120px!important;}
 body.christmas-season .sidebar::after{display:none!important;}
}
@media(max-width:400px){
 body.christmas-season .christmas-nativity-scene{height:108px!important;background-size:auto 106px!important;}
 body.christmas-season .christmas-ep-message{padding:14px 12px!important;font-size:11px!important;}
 body.christmas-season #dashboard #kpiGrid::after{height:62px;}
}

/* Afinación definitiva contra la captura: guirnalda DESPUÉS de barra superior. */
body.christmas-season .topbar::after{top:100%!important;bottom:auto!important;height:clamp(78px,6.5vw,110px)!important;}
body.christmas-season .app main{padding-top:clamp(82px,6.5vw,110px)!important;}
body.christmas-season .commission-month-tabs{margin-bottom:10px!important;}
@media(min-width:1500px){
 body.christmas-season #dashboard #kpiGrid{grid-template-columns:repeat(9,minmax(0,1fr))!important;gap:10px!important;}
 body.christmas-season #dashboard #kpiGrid .kpi{min-width:0;padding:12px 10px!important;}
 body.christmas-season #dashboard #kpiGrid .kpi strong{font-size:clamp(14px,1.1vw,21px)!important;letter-spacing:-.5px;overflow-wrap:anywhere;}
 body.christmas-season #dashboard #kpiGrid .kpi-icon{width:39px;height:39px;margin-bottom:8px;}
 body.christmas-season #dashboard #kpiGrid .kpi-label{font-size:9px!important;}
}
@media(max-width:1100px){
 body.christmas-season .topbar::after{top:100%!important;bottom:auto!important;height:72px!important;}
 body.christmas-season .app main{padding-top:79px!important;}
}
@media(max-width:700px){
 body.christmas-season .topbar::after{height:60px!important;top:100%!important;bottom:auto!important;}
 body.christmas-season .app main{padding-top:66px!important;}
 body.christmas-season .commission-month-tabs button{padding:11px 9px!important;gap:7px!important;min-width:0!important;}
 body.christmas-season .commission-month-tabs .month-icon{flex:0 0 26px!important;width:26px!important;height:28px!important;}
 body.christmas-season .commission-month-tabs .month-icon svg{width:17px!important;height:17px!important;}
 body.christmas-season .commission-month-tabs .month-copy{min-width:0!important;flex:1 1 70px!important;}
 body.christmas-season .commission-month-tabs .month-copy b{font-size:11.5px!important;letter-spacing:0!important;}
 body.christmas-season .commission-month-tabs .month-copy small{font-size:8.5px!important;line-height:1.28!important;overflow-wrap:anywhere;}
 body.christmas-season .commission-month-tabs .month-state{font-size:7px!important;padding:4px 5px!important;margin:0 0 0 auto!important;}
}
@media(max-width:360px){
 body.christmas-season .commission-month-tabs .month-copy b{font-size:10px!important;}
 body.christmas-season .commission-month-tabs button{padding:9px 6px!important;gap:4px!important;}
 body.christmas-season .commission-month-tabs .month-state{display:none!important;}
}


/* ==============================================================
   NAVIDAD EN TODO EL RECORRIDO · EDICIÓN 7
   Corrección solicitada: al desplazarse, las tarjetas e informes
   mantienen adornos visibles. No altera tablas, cálculos ni clics.
   ============================================================== */
body.christmas-season .app .page-wrap > main{
  background-image:url('assets/navidad-patron-continuo.svg'),
     url('assets/navidad-copos.svg'),linear-gradient(180deg,#f4fafd,#eff8fa) !important;
  background-repeat:repeat-y,repeat,repeat;
  background-size:100% 580px,480px 480px,100% 100%;
  background-position:center top,center top,center;
}
/* Cada tarjeta tiene su propio remate navideño, aun lejos del encabezado. */
body.christmas-season .page .card,
body.christmas-season .page .page-card,
body.christmas-season .yomar-sales-card,
body.christmas-season .projection-card,
body.christmas-season .bonus-alert-card,
body.christmas-season #dashboard .card{
  position:relative;
  border-color:#d6dfd5;
  box-shadow:0 9px 23px rgba(27,88,63,.08),inset 0 2px rgba(216,173,96,.32);
}
body.christmas-season .page .card::before,
body.christmas-season .page .page-card::before,
body.christmas-season .yomar-sales-card::before,
body.christmas-season .projection-card::before,
body.christmas-season #dashboard .card::before{
  content:"";display:block;position:absolute;z-index:2;inset:0 0 auto 0;
  height:23px;background:url('assets/navidad-friso-tarjetas.svg') top center/100% 23px no-repeat;
  pointer-events:none;opacity:.96;
}
body.christmas-season .page .card::after,
body.christmas-season .page .page-card::after,
body.christmas-season #dashboard .card::after{
  content:"";position:absolute;z-index:0;right:3px;bottom:3px;top:auto;left:auto;
  width:72px;height:70px;background:url('assets/navidad-motivo-tarjetas.svg') bottom right/contain no-repeat;
  pointer-events:none;opacity:.34;transform:none;
}
/* Un detalle en cada título y cada sección, no en una sola cabecera. */
body.christmas-season .page .section-head{
  border-top:1px solid rgba(203,168,104,.38);
  border-bottom:2px solid rgba(38,105,77,.2);
  background-image:url('assets/navidad-friso-tarjetas.svg'),linear-gradient(110deg,#fffaf2,rgba(250,255,251,.91),#f2faf6);
  background-size:100% 22px,cover;background-position:top center,center;
  background-repeat:no-repeat,no-repeat;
}
body.christmas-season .page .section-head::after{
  background-image:url('assets/navidad-corona-vb.svg');opacity:.85;
}
body.christmas-season #dashboard .provider-title{
  background-image:url('assets/navidad-friso-tarjetas.svg'),linear-gradient(90deg,#f9fcf7,#fff);
  background-repeat:no-repeat,no-repeat;background-position:top center,center;
  background-size:100% 18px,100% 100%;padding-top:24px;
  border-bottom:1px solid #e6d9bd;
}
body.christmas-season .page .card-head{
  background-image:url('assets/navidad-friso-tarjetas.svg');
  background-position:center top;background-repeat:no-repeat;background-size:100% 15px;
  padding-top:max(17px,1.1rem);
}
body.christmas-season .page .kpi{
  border-top:3px solid rgba(202,163,83,.68);
}
body.christmas-season .page .kpi::before{content:"✦";color:#b98b3d;opacity:.8}
body.christmas-season #dashboard .christmas-dashboard-divider{
  display:block;height:33px;margin:7px 0 14px;border:0;
  background:url('assets/navidad-friso-tarjetas.svg') center center/100% 29px no-repeat;
  pointer-events:none;
}
body.christmas-season #dashboard .christmas-dashboard-divider-bottom{margin:12px 0 2px;}
/* Un cierre festivo al final de cualquier pestaña activa, después de las tablas. */
.christmas-continuous-footer{display:none}
body.christmas-season .christmas-continuous-footer{
  display:flex;min-height:122px;margin:23px 0 2px;padding:26px clamp(45px,9%,150px) 24px;
  position:relative;isolation:isolate;align-items:center;justify-content:center;text-align:center;
  border:1px solid #d7b678;border-radius:19px;
  color:#fff8e7;background:linear-gradient(110deg,#76283b 3%,#972f40 39%,#266047 76%,#10543d);
  background-image:url('assets/navidad-referencia-franja.webp'),linear-gradient(105deg,#76283b,#9d3040 46%,#165b43);
  background-position:center bottom,center;background-size:100% 100%,cover;
  background-repeat:no-repeat;
  box-shadow:0 12px 30px rgba(33,77,66,.15);
  pointer-events:none;overflow:hidden;
}
body.christmas-season .christmas-continuous-footer::before,
body.christmas-season .christmas-continuous-footer::after{
  content:"";position:absolute;top:2px;bottom:2px;left:6px;width:99px;
  background:url('assets/navidad-referencia-regalos-izq.webp') left bottom/contain no-repeat;pointer-events:none;
}
body.christmas-season .christmas-continuous-footer::after{
  left:auto;right:6px;transform:scaleX(-1);
}
body.christmas-season .christmas-continuous-footer-copy{
  position:relative;z-index:1;max-width:690px;color:#fff5df;
  font-size:clamp(12px,1.05vw,16px);font-weight:750;line-height:1.55;
  text-shadow:0 1px 3px rgba(35,28,24,.40);
}
body.christmas-season .christmas-continuous-footer-copy strong{
  font-size:clamp(14px,1.35vw,22px);color:#ffe7aa;
}
/* Para informes con muchos registros también se decoran los encabezados
   que permanecen visibles mientras se navegan las tablas. */
body.christmas-season .page .scroll,
body.christmas-season .page :is(.card,.page-card) > .scroll{
  border-bottom:1px solid rgba(211,176,113,.28);
}
body.christmas-season :is(.table,.rank-table,.mini-table,.users-table,.cut-history) th{
  box-shadow:inset 0 2px rgba(207,165,94,.25);
}
/* Zona de nieve y estrellas laterales a lo largo de la pantalla. No se
   bloquea ningún control ni se agregan capas encima de las cifras. */
body.christmas-season .app .page-wrap{background:#f1f8fa}
@media(max-width:950px){
 body.christmas-season .app .page-wrap > main{background-size:100% 500px,400px 400px,100% 100%}
 body.christmas-season .christmas-continuous-footer{min-height:105px;padding:24px 92px}
 body.christmas-season .christmas-continuous-footer::before,
 body.christmas-season .christmas-continuous-footer::after{width:74px}
}
@media(max-width:700px){
 body.christmas-season .app .page-wrap > main{background-size:100% 390px,310px 310px,100% 100%}
 body.christmas-season #dashboard .christmas-dashboard-divider{height:22px;margin:5px 0 11px;background-size:100% 20px}
 body.christmas-season .page .card::before,
 body.christmas-season .page .page-card::before{height:16px;background-size:100% 16px}
 body.christmas-season .page .card::after,
 body.christmas-season .page .page-card::after{width:48px;height:45px;opacity:.23}
 body.christmas-season .christmas-continuous-footer{margin:18px 0 3px;min-height:114px;padding:22px 45px;border-radius:14px}
 body.christmas-season .christmas-continuous-footer::before,
 body.christmas-season .christmas-continuous-footer::after{width:40px;opacity:.72}
 body.christmas-season .christmas-continuous-footer-copy{font-size:11px}
 body.christmas-season .christmas-continuous-footer-copy strong{font-size:14px}
 body.christmas-season .page .section-head{background-size:100% 16px,cover;}
}
@media(max-width:360px){
 body.christmas-season .christmas-continuous-footer{padding:17px 39px;}
 body.christmas-season .christmas-continuous-footer-copy{font-size:10px}
 body.christmas-season .christmas-continuous-footer-copy strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
 body.christmas-season .christmas-dashboard-divider,
 body.christmas-season .christmas-continuous-footer{animation:none!important}
}

/* Refuerzo visual: la misma guirnalda fotográfica aprobada se repite
   en las tarjetas que aparecen después de deslizar. Espacios reservados
   para no cubrir botones, tablas, métricas ni texto. */
body.christmas-season .page .card,
body.christmas-season .page .page-card,
body.christmas-season .yomar-sales-card{
  padding-top:34px;
  padding-bottom:27px;
  overflow:hidden;
}
body.christmas-season .page .card::before,
body.christmas-season #dashboard .card::before,
body.christmas-season .page .page-card::before,
body.christmas-season .yomar-sales-card::before{
  inset:0 0 auto 0;left:0;right:0;top:0;
  height:42px;opacity:1;z-index:2;
  background-image:url('assets/navidad-referencia-guirnalda.webp');
  background-size:100% 42px;background-position:center top;background-repeat:no-repeat;
}
body.christmas-season .page .card::after,
body.christmas-season #dashboard .card::after,
body.christmas-season .page .page-card::after,
body.christmas-season .yomar-sales-card::after{
  content:"";position:absolute;left:0;right:0;top:auto;bottom:0;z-index:2;
  width:100%;height:28px;opacity:.9;transform:none;
  background-image:url('assets/navidad-franja-vb.svg');
  background-size:100% 28px;background-position:center bottom;background-repeat:no-repeat;
  pointer-events:none;
}
/* Cabeceras internas no se recortan por la ornamentación superior. */
body.christmas-season .page .card-head{background-image:none;padding-top:16px}
body.christmas-season .page .page-card>h3:first-child{margin-top:0}
body.christmas-season .page .card .seller-head{border-radius:0}
/* En pantallas pequeñas, frisos compactos y misma distribución de datos. */
@media(max-width:700px){
  body.christmas-season .page .card,
  body.christmas-season .page .page-card,
  body.christmas-season .yomar-sales-card{padding-top:28px;padding-bottom:23px}
  body.christmas-season .page .card::before,
  body.christmas-season #dashboard .card::before,
  body.christmas-season .page .page-card::before,
  body.christmas-season .yomar-sales-card::before{
    height:33px;background-size:100% 33px
  }
  body.christmas-season .page .card::after,
  body.christmas-season #dashboard .card::after,
  body.christmas-season .page .page-card::after,
  body.christmas-season .yomar-sales-card::after{height:22px;background-size:100% 22px}
}

/* ==============================================================
   CORRECCIÓN DE DISTORSIÓN · DIC 2026
   Ajuste final para evitar adornos estirados en desktop y móvil.
   ============================================================= */
/* Fondo continuo más sutil para que no parezca una franja deformada al bajar */
body.christmas-season .app .page-wrap > main{
  background-image:url('assets/navidad-copos.svg'),linear-gradient(180deg,#f4fafd,#eff8fa) !important;
  background-repeat:repeat,repeat !important;
  background-size:420px 420px,100% 100% !important;
  background-position:center top,center !important;
}
/* Separador después de KPIs: una sola banda, centrada y sin estirarse */
body.christmas-season #dashboard #kpiGrid{
  position:relative!important;
  margin-bottom:72px!important;
}
body.christmas-season #dashboard #kpiGrid::after{
  content:""!important;
  position:absolute!important;
  left:12px!important;
  right:12px!important;
  top:calc(100% + 10px)!important;
  height:56px!important;
  background:url('assets/navidad-referencia-regalos.webp') center bottom / contain no-repeat!important;
  opacity:.98!important;
  pointer-events:none!important;
  z-index:0!important;
}
/* Tarjetas y tablas: adornos elegantes, no bandas gigantes deformadas */
body.christmas-season .page .card,
body.christmas-season .page .page-card,
body.christmas-season .yomar-sales-card,
body.christmas-season .projection-card,
body.christmas-season .bonus-alert-card,
body.christmas-season #dashboard .card{
  padding-top:20px!important;
  padding-bottom:16px!important;
  overflow:hidden!important;
}
body.christmas-season .page .card::before,
body.christmas-season #dashboard .card::before,
body.christmas-season .page .page-card::before,
body.christmas-season .yomar-sales-card::before,
body.christmas-season .projection-card::before{
  inset:0 0 auto 0!important;
  height:18px!important;
  background-image:url('assets/navidad-friso-tarjetas.svg')!important;
  background-size:100% 18px!important;
  background-position:center top!important;
  background-repeat:no-repeat!important;
  opacity:.92!important;
  z-index:2!important;
}
body.christmas-season .page .card::after,
body.christmas-season #dashboard .card::after,
body.christmas-season .page .page-card::after,
body.christmas-season .yomar-sales-card::after,
body.christmas-season .projection-card::after{
  content:""!important;
  left:auto!important;
  right:8px!important;
  bottom:6px!important;
  top:auto!important;
  width:72px!important;
  height:48px!important;
  background:url('assets/navidad-motivo-tarjetas.svg') bottom right / contain no-repeat!important;
  opacity:.24!important;
  pointer-events:none!important;
  z-index:1!important;
  transform:none!important;
}
body.christmas-season .page .card-head,
body.christmas-season .page .provider-title{
  background-image:none!important;
  padding-top:0!important;
}
/* Footer navideño de cierre: más alto y con texto centrado, sin compactarse */
body.christmas-season .christmas-continuous-footer{
  min-height:104px!important;
  margin:18px 0 8px!important;
  padding:20px 110px!important;
  border-radius:16px!important;
  background-image:url('assets/navidad-referencia-franja.webp'),linear-gradient(105deg,#76283b,#9d3040 46%,#165b43)!important;
  background-position:center center,center!important;
  background-size:100% 100%,cover!important;
  background-repeat:no-repeat!important;
}
body.christmas-season .christmas-continuous-footer::before,
body.christmas-season .christmas-continuous-footer::after{
  width:78px!important;
  top:8px!important;
  bottom:8px!important;
  opacity:.9!important;
}
body.christmas-season .christmas-continuous-footer-copy{
  max-width:760px!important;
  font-size:14px!important;
  line-height:1.45!important;
  color:#fff7e8!important;
}
body.christmas-season .christmas-continuous-footer-copy strong{
  display:block!important;
  margin-top:4px!important;
  font-size:20px!important;
  line-height:1.2!important;
  color:#ffe7aa!important;
}
/* Evitar decoración duplicada entre bloques */
body.christmas-season #dashboard .christmas-dashboard-divider,
body.christmas-season .page .scroll + .christmas-dashboard-divider-bottom{
  display:none!important;
}
/* Móvil y pantallas medianas */
@media(max-width:900px){
  body.christmas-season #dashboard #kpiGrid{margin-bottom:60px!important;}
  body.christmas-season #dashboard #kpiGrid::after{
    left:8px!important;right:8px!important;height:46px!important;background-size:contain!important;
  }
  body.christmas-season .christmas-continuous-footer{
    padding:18px 70px!important;min-height:96px!important;
  }
  body.christmas-season .christmas-continuous-footer::before,
  body.christmas-season .christmas-continuous-footer::after{width:56px!important;}
  body.christmas-season .christmas-continuous-footer-copy{font-size:12px!important;}
  body.christmas-season .christmas-continuous-footer-copy strong{font-size:16px!important;}
}
@media(max-width:700px){
  body.christmas-season .app .page-wrap > main{
    background-size:280px 280px,100% 100%!important;
  }
  body.christmas-season #dashboard #kpiGrid{margin-bottom:48px!important;}
  body.christmas-season #dashboard #kpiGrid::after{
    top:calc(100% + 6px)!important;height:34px!important;left:6px!important;right:6px!important;background-size:contain!important;
  }
  body.christmas-season .page .card,
  body.christmas-season .page .page-card,
  body.christmas-season .yomar-sales-card,
  body.christmas-season .projection-card{padding-top:16px!important;padding-bottom:14px!important;}
  body.christmas-season .page .card::before,
  body.christmas-season #dashboard .card::before,
  body.christmas-season .page .page-card::before,
  body.christmas-season .yomar-sales-card::before,
  body.christmas-season .projection-card::before{height:14px!important;background-size:100% 14px!important;}
  body.christmas-season .page .card::after,
  body.christmas-season #dashboard .card::after,
  body.christmas-season .page .page-card::after,
  body.christmas-season .yomar-sales-card::after,
  body.christmas-season .projection-card::after{width:46px!important;height:30px!important;right:5px!important;bottom:4px!important;opacity:.2!important;}
  body.christmas-season .christmas-continuous-footer{
    min-height:88px!important;
    padding:14px 44px!important;
    border-radius:14px!important;
    margin:16px 0 6px!important;
  }
  body.christmas-season .christmas-continuous-footer::before,
  body.christmas-season .christmas-continuous-footer::after{width:32px!important;opacity:.75!important;}
  body.christmas-season .christmas-continuous-footer-copy{font-size:11px!important;line-height:1.35!important;}
  body.christmas-season .christmas-continuous-footer-copy strong{font-size:13px!important;}
}
@media(max-width:390px){
  body.christmas-season #dashboard #kpiGrid::after{height:28px!important;}
  body.christmas-season .christmas-continuous-footer{padding:12px 34px!important;}
  body.christmas-season .christmas-continuous-footer-copy{font-size:10px!important;}
  body.christmas-season .christmas-continuous-footer-copy strong{font-size:12px!important;}
}
/* ================================================================
   AJUSTE DEL SALUDO INFERIOR - 02 DIC 2026
   La franja original ya contiene el saludo impreso. En escritorio,
   mostramos SOLO la imagen original con su proporción intacta.
   En móvil usamos texto HTML legible sobre fondo de gradiente.
   No modifica cálculos, rutas, tablas, usuarios ni cuotas.
   ================================================================ */
@media (min-width:701px) {
  body.christmas-season .christmas-continuous-footer {
    display:block!important;
    width:100%!important;
    height:clamp(66px,6.2vw,86px)!important;
    min-height:0!important;
    padding:0!important;
    margin:22px 0 12px!important;
    overflow:hidden!important;
    border-radius:13px!important;
    border:1px solid #d4af6d!important;
    background-color:#842d3b!important;
    background-image:url('assets/navidad-referencia-franja.webp')!important;
    background-position:center center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    box-shadow:0 6px 18px rgba(32,67,54,.14)!important;
  }
  body.christmas-season .christmas-continuous-footer::before,
  body.christmas-season .christmas-continuous-footer::after,
  body.christmas-season .christmas-continuous-footer-ornament {
    display:none!important;
  }
  /* El texto existe para lectores de pantalla, sin duplicarse visualmente. */
  body.christmas-season .christmas-continuous-footer-copy {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    border:0!important;
    overflow:hidden!important;
    white-space:nowrap!important;
    clip-path:inset(50%)!important;
    font-size:1px!important;
  }
}
@media (max-width:700px) {
  body.christmas-season .christmas-continuous-footer {
    display:flex!important;
    width:100%!important;
    height:auto!important;
    min-height:96px!important;
    padding:15px 43px!important;
    margin:17px 0 11px!important;
    border:1px solid #c99e62!important;
    border-radius:13px!important;
    background:#802c3b!important;
    background-image:linear-gradient(115deg,#7f283b 0%,#9a303e 42%,#18513d 100%)!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    box-shadow:0 5px 14px rgba(31,80,65,.13)!important;
    overflow:hidden!important;
  }
  body.christmas-season .christmas-continuous-footer-ornament {display:none!important;}
  body.christmas-season .christmas-continuous-footer-copy {
    position:relative!important;
    clip-path:none!important;
    width:auto!important;
    height:auto!important;
    margin:0 auto!important;
    padding:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    font-size:clamp(11px,3vw,13px)!important;
    line-height:1.35!important;
    color:#fff8ed!important;
    text-align:center!important;
  }
  body.christmas-season .christmas-continuous-footer-copy strong {
    display:block!important;
    margin-top:4px!important;
    font-size:clamp(13px,3.4vw,16px)!important;
    line-height:1.25!important;
    color:#ffdf95!important;
  }
  body.christmas-season .christmas-continuous-footer::before,
  body.christmas-season .christmas-continuous-footer::after {
    display:block!important;
    width:38px!important;
    top:7px!important;
    bottom:7px!important;
    opacity:.88!important;
    background-size:contain!important;
  }
}
@media(max-width:360px){
  body.christmas-season .christmas-continuous-footer {padding:15px 30px!important;min-height:95px!important;}
  body.christmas-season .christmas-continuous-footer::before,
  body.christmas-season .christmas-continuous-footer::after {width:25px!important;opacity:.55!important;}
}
