/* Celebraciones Norte: no modifica permisos, rutas ni datos. */
:root{--norte-color:#163c52;--norte-light:#d4b081;--norte-accent:#f7f4eb}
.norte-themed{color-scheme:light}
.norte-themed .app-sidebar,.norte-themed .hub-sidebar{background:var(--norte-color)!important;transition:background .25s ease}
.norte-themed .pagehead,.norte-themed .hero,.norte-themed .hub-hero{background-image:linear-gradient(110deg,var(--norte-color),color-mix(in srgb,var(--norte-color),#ffffff 23%))!important;color:#fff!important;transition:background .25s ease}
.norte-themed .pagehead .eyebrow,.norte-themed .pagehead p,.norte-themed .pagehead h1,.norte-themed .hero *{color:#fff!important}
.norte-themed .brand .mark{background:var(--norte-light)!important;color:var(--norte-color)!important}
.norte-themed .app-nav a[aria-current],.norte-themed .hub-sidebar nav a[aria-current]{background:var(--norte-accent)!important;color:var(--norte-color)!important}
.norte-themed .hub-main .eyebrow,.norte-themed .app-main .eyebrow{letter-spacing:.1em}
.norte-themed .module-card .card-art{border-top:3px solid var(--norte-light)}
.norte-themed .panel h2,.norte-themed .hub-main h2{accent-color:var(--norte-color)}
.norte-decor{pointer-events:none;position:fixed;inset:0;z-index:18;overflow:hidden}
.norte-decor span{position:absolute;top:-8vh;left:var(--x);font-size:clamp(17px,2.7vw,33px);line-height:1;opacity:.45;color:var(--norte-light);filter:drop-shadow(0 1px 1px #2222);animation:norte-float var(--duration) linear var(--delay) infinite}
@keyframes norte-float{from{transform:translate3d(-20px,-10vh,0) rotate(0deg)}to{transform:translate3d(30px,115vh,0) rotate(220deg)}}
.norte-celebration{position:relative;isolation:isolate;margin:12px auto 24px;max-width:1380px;border-radius:18px;overflow:hidden;border:1px solid color-mix(in srgb,var(--norte-light),#ffffff 40%);box-shadow:0 13px 35px #112c3f0b;color:#173c4e;background:linear-gradient(110deg,var(--norte-accent),#fff 65%)}
.norte-celebration:before{content:'✦';position:absolute;right:18px;top:-42px;font-size:150px;color:var(--norte-light);opacity:.11;z-index:-1}
.norte-celebration-inner{padding:16px 22px;display:grid;gap:13px}
.norte-greeting{display:flex;gap:17px;align-items:center}
.norte-greeting-icon{font-size:28px;display:grid;place-items:center;flex:none;width:55px;height:55px;border-radius:16px;background:var(--norte-light);color:var(--norte-color)}
.norte-greeting h2{font-size:clamp(18px,2.2vw,26px);margin:3px 0 5px;line-height:1.2;color:var(--norte-color);font-family:inherit}
.norte-greeting p{font-size:13px;line-height:1.5;margin:0;color:#4e5d61}
.norte-mini-label{display:block;font-size:10px!important;line-height:1.4;letter-spacing:.12em;font-weight:800;color:var(--norte-color)!important;opacity:.72}
.norte-celebration-extras{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.norte-season-label{display:flex;gap:10px;align-items:center;min-width:160px}
.norte-season-label>span{font-size:24px;color:var(--norte-color)}
.norte-season-label strong{display:block;font-size:14px;color:var(--norte-color)}
.norte-personal-medal{display:flex;align-items:center;gap:14px;flex:1;min-width:200px}
.norte-medal{position:relative;flex:none;display:grid;place-items:center;width:58px;height:64px;border-radius:50% 50% 45% 45%;clip-path:polygon(6% 5%,36% 5%,50% 26%,64% 5%,94% 5%,74% 41%,87% 74%,71% 100%,29% 100%,13% 74%,26% 41%);border:0;background:linear-gradient(132deg,#d9d6cb,#85847e,#e8e4db);box-shadow:inset 0 3px 10px #ffffff75}
.norte-medal span{display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,#ffffff72,#00000022);box-shadow:inset 0 0 0 2px #ffffff66;width:39px;height:39px;font-size:23px;transform:translateY(9px);color:#fff}
.norte-medal-bronze{background:linear-gradient(135deg,#e9ae7c,#7c462e 48%,#d69669)}
.norte-medal-silver{background:linear-gradient(135deg,#f5f7fa,#84929d 46%,#dfebf0)}
.norte-medal-silver span{color:#455263}
.norte-medal-gold{background:linear-gradient(135deg,#ffe7a0,#a8771a 50%,#eacb65)}
.norte-medal-platinum{background:linear-gradient(135deg,#e1f5fb,#607785 53%,#d9f3f7)}
.norte-medal-base{background:linear-gradient(135deg,#b2bbc2,#677682 50%,#bec9cf)}
.norte-medal-text strong{display:block;color:#142f40;font-size:15px;margin:2px 0}
.norte-medal-text small{display:block;font-size:11px;color:#586a70}
.norte-medal-text details{font-size:11px;color:#456674;margin-top:5px}
.norte-medal-text summary{cursor:pointer}
.norte-medal-history{display:flex;gap:5px;flex-wrap:wrap;margin:7px 0}
.norte-medal-history-entry{background:#fff;border:1px solid #cfd6d3;padding:4px 7px;border-radius:5px}
.norte-personal-day .norte-celebration{outline:2px solid color-mix(in srgb,var(--norte-light),transparent 35%)}
.norte-celebrations-admin{display:grid;gap:20px}
.norte-celebrations-admin .norte-cards{display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.norte-celebrations-admin .norte-card{border:1px solid #dbe4e6;padding:16px;border-radius:12px;background:#fff}
.norte-celebrations-admin .norte-stack{display:grid;gap:9px}
.norte-celebrations-admin h2{margin:0 0 10px}
.norte-celebrations-admin label{display:grid;gap:4px;font-size:12px}
.norte-celebrations-admin input,.norte-celebrations-admin select{width:100%;min-width:0;padding:10px;border:1px solid #c7d3d9;border-radius:7px;background:#fff;color:#203647}
.norte-celebrations-admin button{background:#1a465c;color:#fff;border:0;border-radius:8px;padding:10px 12px;cursor:pointer;font-weight:650}
.norte-celebrations-admin .norte-button-secondary{background:#ecf1f3;color:#153548}
.norte-celebrations-admin .norte-rule-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border-bottom:1px solid #e8eaeb;padding:12px 0}
.norte-celebrations-admin .norte-rule-row small{display:block;color:#61737c;margin-top:3px}
.norte-celebrations-admin .norte-action-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.norte-celebrations-admin .norte-note{color:#567078;font-size:12px;line-height:1.6}
.norte-celebrations-admin .norte-feedback{font-weight:600;font-size:12px;min-height:20px;color:#215d45}
@media(max-width:720px){.norte-celebration{margin:10px 9px 18px}.norte-celebration-inner{padding:14px}.norte-greeting{align-items:flex-start}.norte-greeting-icon{width:42px;height:42px;border-radius:12px;font-size:20px}.norte-celebration-extras{display:grid;gap:12px}.norte-celebrations-admin .norte-rule-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.norte-decor span{animation:none!important;display:none}}

/* Día personal: globos flotantes y bienvenida accesible. */
.norte-decor .norte-balloon{font-size:0!important;width:19px;height:28px;border-radius:56% 56% 51% 51%;background:radial-gradient(circle at 35% 27%,#ffffffaa,transparent 32%),linear-gradient(125deg,#eb7ba5,#b34985);opacity:.6;box-shadow:inset -4px -3px 7px #0002}
.norte-decor .norte-balloon:after{content:'';position:absolute;height:25px;width:1px;top:28px;left:50%;background:#9a7797aa}
.norte-decor .norte-balloon:nth-child(3n){background:radial-gradient(circle at 30% 25%,#ffffffbb,transparent 32%),linear-gradient(110deg,#ffda89,#d69834)}
.norte-welcome-backdrop{position:fixed;inset:0;z-index:2000;background:#0c253bb9;display:grid;place-items:center;padding:20px;backdrop-filter:blur(5px)}
.norte-welcome-card{width:min(540px,100%);border-radius:23px;background:linear-gradient(145deg,#fff9fc,#fff);border:2px solid #e9bf78;box-shadow:0 24px 100px #0003;text-align:center;padding:32px 24px;color:#22394a}
.norte-welcome-symbol{display:grid;place-items:center;width:76px;height:76px;border-radius:22px;background:linear-gradient(130deg,#ffe9a7,#a9629b);color:#fff;font-size:40px;margin:0 auto 18px}
.norte-welcome-card h2{font-size:clamp(23px,4vw,35px);margin:10px 0;color:#304456}
.norte-welcome-card p{font-size:15px;line-height:1.65;max-width:430px;margin:8px auto 22px}
.norte-welcome-card button{padding:13px 20px;background:#1c4b62;color:white;border:0;border-radius:10px;font-size:14px;font-weight:700;cursor:pointer}

/* Ambientación integral sin cambiar la información ni el comportamiento de los módulos. */
.norte-themed body{background-image:linear-gradient(150deg,var(--norte-accent) 0%,#fbfaf6 58%,#fff 100%);background-attachment:fixed}
.norte-themed .app-top,.norte-themed .hub-top{border-bottom-color:var(--norte-light)!important}
.norte-themed body[data-norte-intensity="3"] .panel,
.norte-themed body[data-norte-intensity="3"] .stat,
.norte-themed body[data-norte-intensity="3"] .module-card,
.norte-themed body[data-norte-intensity="3"] .activity-card{border-top:3px solid var(--norte-light)!important;box-shadow:0 8px 25px #112c3f0a}
.norte-themed body[data-norte-intensity="3"] .app-main button.primary,
.norte-themed body[data-norte-intensity="3"] .app-main .button.primary{background:var(--norte-color)!important;color:#fff!important}
.norte-personal-day body .app-top,.norte-personal-day body .hub-top{box-shadow:inset 0 -3px 0 var(--norte-light)}
.norte-personal-day body .pagehead:after{content:'✦  ✷  ✦  ✷';position:absolute;right:15px;top:15px;font-size:18px;letter-spacing:15px;color:var(--norte-light);opacity:.65;pointer-events:none}
