/* Inicio · alcance exclusivo del panel principal */
.home{--home-surface:#fff;--home-soft:#f3f7fc;--home-ink:#162b46;--home-muted:#6b7f94;--home-line:#e3eaf2;--home-accent:#1264c1;--home-green:#168763;--home-amber:#a66c12;--home-red:#ce4255;--home-blue:#3679d5}
.home button{font:inherit}.home button:focus-visible,.home select:focus-visible{outline:3px solid #3b9de6;outline-offset:3px}.home button{touch-action:manipulation}
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px 36px;border-radius:22px;background:linear-gradient(112deg,#082e62,#0a5192 70%,#116d9a);color:#fff;position:relative;overflow:hidden;min-height:195px}
.home-welcome::after{content:"";position:absolute;right:-120px;top:-190px;width:420px;height:420px;border:1px solid #ffffff24;border-radius:50%;box-shadow:0 0 0 55px #ffffff05,0 0 0 110px #ffffff04;pointer-events:none}
.home-eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--home-accent);margin-bottom:8px}.home-welcome .home-eyebrow{color:#8dd5f3}.home-welcome h2{font-size:clamp(24px,2.5vw,34px);line-height:1.2;margin:0 0 12px;letter-spacing:-.035em;color:white!important}.home-welcome p{font-size:13px;line-height:1.6;max-width:510px;margin:0;color:#d0e3f6!important}.home-welcome-meta{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:23px;font-size:11px;color:#d1e7fb}.home-welcome-meta>span:first-child{text-transform:capitalize}.home-live{display:flex;align-items:center;gap:7px}.home-live i{width:6px;height:6px;border-radius:50%;background:#74dfb7;box-shadow:0 0 0 4px #74dfb719}.home-mark{position:relative;z-index:1;width:175px;flex-shrink:0;display:grid;justify-items:center;color:#9adff7}.home-mark svg{width:160px;filter:drop-shadow(0 0 12px #60c2e460)}.home-mark span{font-size:9px;letter-spacing:.24em;font-weight:800}
.home-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 0}.home-area-control{display:flex;align-items:center;gap:12px}.home-area-control label{font-size:12px;font-weight:700;color:var(--home-muted)}.home-area-control select{width:170px;background:var(--home-surface);color:var(--home-ink);border-color:var(--home-line);font-size:12px;padding:9px 12px}.home-area-control select:disabled{opacity:.75}.home-sync{display:flex;align-items:center;gap:12px}.home-sync>span{font-size:10px;color:var(--home-muted)}.home-sync button{font-size:11px;background:var(--home-surface);border-color:var(--home-line);color:var(--home-ink)}
.home-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}.home-kpi{position:relative;text-align:left;min-width:0;padding:19px;border:1px solid var(--home-line);border-radius:15px;background:var(--home-surface);color:var(--home-ink);transition:transform .2s,border-color .2s,box-shadow .2s}.home-kpi::before{content:"";position:absolute;left:19px;top:0;height:3px;width:30px;border-radius:0 0 3px 3px;background:var(--home-accent)}.home-kpi.present::before{background:var(--home-green)}.home-kpi.missing::before{background:var(--home-amber)}.home-kpi-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;font-weight:700}.home-kpi-top>span{color:var(--home-muted);font-size:16px}.home-kpi strong{font-size:35px;letter-spacing:-.05em;display:block;margin:13px 0 6px;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--home-ink)}.home-kpi small{display:block;font-size:10px;line-height:1.5;color:var(--home-muted)}.home-kpi:hover,.home-shortcut:hover{transform:translateY(-3px);border-color:var(--home-accent);box-shadow:0 8px 25px #063d8c0d}
.home-section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.home-section-title h3{font-size:17px;letter-spacing:-.02em;line-height:1.3;margin:0;color:var(--home-ink)}.home-section-title p{font-size:11px;color:var(--home-muted);margin:6px 0 0}.home-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;margin-bottom:27px}.home-shortcut{display:flex;align-items:center;gap:11px;border:1px solid var(--home-line);border-radius:13px;background:var(--home-surface);text-align:left;padding:16px 13px;color:var(--home-ink);transition:transform .2s,border-color .2s,box-shadow .2s}.home-shortcut-number{font-size:10px;font-weight:800;display:grid;place-items:center;background:var(--home-soft);color:var(--home-accent);width:29px;height:34px;border-radius:8px;flex-shrink:0}.home-shortcut b{font-size:12px;display:block;color:var(--home-ink)}.home-shortcut small{display:block;font-size:10px;line-height:1.45;margin-top:4px;color:var(--home-muted)}.home-arrow{margin-left:auto;color:var(--home-muted);font-size:16px}
.home-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:start;gap:18px;margin-bottom:18px}.home .card{background:var(--home-surface);border-color:var(--home-line);box-shadow:0 3px 16px #0e305304;padding:23px}.home-side{display:grid;gap:18px;min-width:0}.home-week-nav{display:flex;gap:4px;flex-shrink:0}.home-week-nav button{border:1px solid var(--home-line);background:var(--home-surface);color:var(--home-ink);border-radius:7px;min-width:30px;height:30px;padding:0 7px;font-size:11px}.home-week-nav button:first-child,.home-week-nav button:last-child{font-size:20px}.home-week-nav button:hover{background:var(--home-soft)}
.home-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;border-bottom:1px solid var(--home-line);padding-bottom:19px}.home-days button{display:flex;flex-direction:column;align-items:center;gap:7px;border:1px solid transparent;border-radius:10px;padding:11px 2px;color:var(--home-muted);background:var(--home-soft);min-width:0}.home-days small{font-size:9px}.home-days b{font-size:17px;color:var(--home-ink)}.home-days span{font-size:8px;white-space:nowrap}.home-days .is-today{border-color:var(--home-accent)}.home-days .selected{background:var(--home-accent);color:#fff}.home-days .selected b,.home-days .selected small{color:#fff!important}.home-agenda-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:19px 0 4px}.home-agenda-heading h4{font-size:12px;margin:0;text-transform:capitalize;color:var(--home-ink)}.home-agenda-heading .badge{font-size:9px;white-space:nowrap}
.home-shift{padding:17px 0;border-bottom:1px solid var(--home-line)}.home-shift-label{display:flex;align-items:center;gap:7px;margin-bottom:13px}.home-shift-label b{font-size:11px;color:var(--home-ink)}.home-shift-label small{margin-left:auto;font-size:10px;color:var(--home-muted)}.home-shift-dot{width:6px;height:6px;background:var(--home-amber);border-radius:50%}.home-shift-dot.dot-1{background:var(--home-blue)}.home-shift-dot.dot-2{background:#8e79bf}.home-people{display:grid;gap:12px}.home-person{display:flex;align-items:center;gap:9px;min-width:0}.home-avatar{display:grid;place-items:center;width:29px;height:29px;background:var(--home-soft);border-radius:50%;color:var(--home-accent);font-size:9px;font-weight:800;flex-shrink:0}.home-person>span:nth-child(2){font-size:11px;line-height:1.4;overflow-wrap:anywhere;color:var(--home-ink)}.home-person small{display:block;font-size:9px;color:var(--home-muted);margin-top:2px}.home-person .badge{margin-left:auto;font-size:8px;flex-shrink:0}.home-text-link{display:inline-flex;align-items:center;gap:10px;color:var(--home-accent);font-size:11px!important;font-weight:750!important;background:none;border:0;padding:0;text-align:left;line-height:1.6}.home-agenda>.home-text-link{margin-top:18px}.home-text-link:hover{text-decoration:underline}.home-empty{text-align:center;padding:30px 10px}.home-empty>span{display:block;font-size:35px;color:var(--home-accent);margin-bottom:12px}.home-empty b{font-size:12px;color:var(--home-ink)}.home-empty p{font-size:11px;line-height:1.7;max-width:260px;margin:8px auto 15px;color:var(--home-muted)}.home-empty button{font-size:11px}
.home-alert-icon{display:grid;place-items:center;background:var(--home-soft);color:var(--home-amber);border-radius:50%;height:27px;width:27px;font-weight:800;font-size:13px}.home-alert{display:flex;align-items:center;gap:10px;padding:14px 0;width:100%;text-align:left;border:0;border-bottom:1px solid var(--home-line);background:transparent;color:var(--home-ink)}.home-alert:last-child{border:0;padding-bottom:0}.home-alert:first-child{padding-top:0}.home-alert-count{display:grid;place-items:center;border:1px solid var(--home-line);border-radius:9px;min-width:34px;height:36px;color:var(--home-amber);font-weight:800;font-size:14px}.home-alert.suspended .home-alert-count{color:var(--home-red)}.home-alert.pending .home-alert-count{color:var(--home-blue)}.home-alert b{font-size:11px;display:block;color:var(--home-ink)}.home-alert small{font-size:10px;line-height:1.5;display:block;margin-top:5px;color:var(--home-muted)}.home-alert>span:last-child{margin-left:auto;color:var(--home-muted)}.home-alert:hover b{color:var(--home-accent)}.home-all-clear{padding:15px;border:1px solid var(--home-line);border-radius:10px;background:var(--home-soft)}.home-all-clear b{font-size:12px;color:var(--home-green)}.home-all-clear p{font-size:11px;line-height:1.7;color:var(--home-muted);margin-bottom:0}
.home-month h3{text-transform:capitalize}.home-rate{display:flex;align-items:center;gap:16px;margin-bottom:20px}.home-rate strong{font-size:39px;font-weight:750;letter-spacing:-.05em;color:var(--home-ink)}.home-rate>span{font-size:10px;line-height:1.6;color:var(--home-muted)}.home-attendance-bar{display:flex;gap:3px;height:9px;background:var(--home-soft);border-radius:6px;overflow:hidden}.home-attendance-bar span{height:100%;flex-shrink:1}.home .present{--attendance-color:var(--home-green)}.home .absent{--attendance-color:var(--home-red)}.home .excused{--attendance-color:var(--home-amber)}.home-attendance-bar span,.home-attendance-legend i{background:var(--attendance-color)}.home-attendance-legend{display:grid;gap:10px;margin-top:17px}.home-attendance-legend>span{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--home-muted)}.home-attendance-legend i{height:6px;width:6px;border-radius:2px}.home-attendance-legend b{margin-left:auto;color:var(--home-ink);font-size:11px}.home-footnote{font-size:10px!important;line-height:1.7;color:var(--home-muted);border-top:1px solid var(--home-line);margin:16px 0 0;padding-top:12px}
.home-population{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.home-population button{display:flex;align-items:center;gap:8px;border:1px solid var(--home-line);border-radius:10px;padding:14px;background:var(--home-surface);color:var(--home-muted);text-align:left;min-width:0;font-size:11px}.home-population strong{margin-left:auto;font-size:18px;color:var(--home-ink)}.home-population button:hover{background:var(--home-soft);border-color:var(--home-accent)}.home-state-dot{width:6px;height:6px;border-radius:50%;background:var(--home-green);flex-shrink:0}.home-state-dot.paused{background:var(--home-amber)}.home-state-dot.suspended{background:var(--home-red)}.home-state-dot.exmember{background:var(--home-muted)}
html[data-theme="dark"] .home{--home-surface:#0d1c2f;--home-soft:#14273e;--home-ink:#e1edfa;--home-muted:#9ab0c9;--home-line:#233a52;--home-accent:#76b9ef;--home-green:#56c4a3;--home-amber:#dbb15e;--home-red:#f08092;--home-blue:#7caee9}html[data-theme="dark"] .home-days .selected{background:#185e9b}html[data-theme="dark"] .home-welcome{background:linear-gradient(112deg,#102d50,#134576 70%,#145773)}
@media(min-width:1500px){.home-main-grid{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.home-welcome{padding:38px 42px}.home-welcome h2{font-size:36px}}
@media(max-width:1150px){.home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.home-main-grid{grid-template-columns:1fr}.home-side{grid-template-columns:1fr 1fr;align-items:start}.home-population{grid-template-columns:repeat(2,minmax(0,1fr))}.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-mark{width:130px}.home-mark svg{width:130px}}
@media(max-width:650px){.home-welcome{padding:25px 21px;min-height:180px}.home-mark{display:none}.home-welcome-meta{gap:12px;font-size:10px}.home-toolbar{align-items:flex-start}.home-area-control{display:block}.home-area-control label{display:block;margin-bottom:6px;font-size:10px}.home-area-control select{width:148px}.home-sync{flex-direction:column-reverse;align-items:flex-end;gap:7px}.home-sync>span{font-size:9px}.home-kpis{gap:9px;margin-bottom:23px}.home-kpi{padding:15px 12px}.home-kpi-top{font-size:10px}.home-kpi strong{font-size:29px}.home-kpi small{font-size:9px}.home-shortcuts{gap:9px}.home-shortcut{padding:13px 10px;gap:8px}.home-shortcut-number{display:none}.home-shortcut small{font-size:9px}.home-shortcut b{font-size:11px}.home .card{padding:18px 14px}.home-section-title h3{font-size:15px}.home-section-title .home-eyebrow{font-size:8px}.home-side{grid-template-columns:1fr}.home-days{gap:4px}.home-days button{padding:10px 1px}.home-days small{font-size:8px}.home-days b{font-size:15px}.home-days span{font-size:7px}.home-population{gap:8px}.home-population button{padding:12px 9px;font-size:10px;gap:6px}.home-population strong{font-size:16px}.home-team>.home-section-title{align-items:flex-start}.home-team>.home-section-title>button{font-size:10px!important;white-space:nowrap}.home-agenda-heading h4{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.home-welcome-copy{animation:homeReveal .4s ease-out}.home-kpi{animation:homeReveal .35s ease-out both}.home-kpi:nth-child(2){animation-delay:.04s}.home-kpi:nth-child(3){animation-delay:.08s}.home-kpi:nth-child(4){animation-delay:.12s}@keyframes homeReveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}
