/* iLabor — sitio público (basado en la v6 del diseño) */
@font-face{font-family:'Geist';src:url('fonts/geist-latin.45d47df990.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Geist Mono';src:url('fonts/geist-mono-500-latin.e20017217c.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}

html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;background:#ffffff;color:#0c2234;font-family:'Geist',system-ui,sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3{letter-spacing:-0.035em;text-wrap:balance}
a{color:#1d4b6c;text-underline-offset:3px}a:hover{color:#2e6e9e}
button,input,select{font-family:inherit}
img{max-width:100%}
[hidden]{display:none!important}
::selection{background:#F3DD8F;color:#0c2234}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #0c2234;outline-offset:2px;box-shadow:0 0 0 5px #F3DD8F}

.skip-link{position:absolute;left:16px;top:-80px;z-index:100;background:#F3DD8F;color:#0c2234;font-weight:700;padding:10px 14px;border-radius:10px;text-decoration:none}
.skip-link:focus{top:12px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- Animaciones de la v6 ---------- */
@keyframes il-fill{from{width:0%}to{width:100%}}
@keyframes il-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes il-grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes il-pop{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:none}}
@keyframes il-bar{0%{transform:scaleY(0)}18%,86%{transform:scaleY(1)}100%{transform:scaleY(0)}}
@keyframes il-dot{0%,8%{opacity:0;transform:scale(0)}14%,88%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}
@keyframes il-notif{0%,10%{opacity:0;transform:translateY(-24px)}18%,85%{opacity:1;transform:none}95%,100%{opacity:0;transform:translateY(-24px)}}
@keyframes il-x-free{0%,20%{opacity:1}23%,60%{opacity:0}64%,100%{opacity:1}}
@keyframes il-x-work{0%,20%{opacity:0;transform:translateY(-6px)}23%,60%{opacity:1;transform:none}64%,100%{opacity:0;transform:none}}
@keyframes il-x-ptr{0%,8%{opacity:0;transform:translate(-60px,-40px)}16%{opacity:1;transform:translate(-60px,-40px)}21%{opacity:1;transform:none}26%,100%{opacity:0;transform:none}}
@keyframes il-x-warn{0%,24%{opacity:0;transform:translateY(10px)}28%,58%{opacity:1;transform:none}62%,100%{opacity:0;transform:none}}
@keyframes il-x-ok{0%,64%{opacity:0;transform:translateY(10px)}68%,96%{opacity:1;transform:none}100%{opacity:0}}
.il-in{animation:il-in .5s cubic-bezier(.16,1,.3,1) both}
.il-grow{transform-origin:bottom;animation:il-grow .7s cubic-bezier(.16,1,.3,1) both}
.il-pop{animation:il-pop .45s cubic-bezier(.16,1,.3,1) both}
.il-bar{transform-origin:bottom;animation:il-bar 7s infinite both}
.il-dot{animation:il-dot 8s infinite both}
.il-notif{opacity:0}
.il-notif.go{animation:il-notif 7s 1 both}
.il-x-free{animation:il-x-free 8s infinite both}
.il-x-work{animation:il-x-work 8s infinite both}
.il-x-ptr{animation:il-x-ptr 8s infinite both}
.il-x-warn{animation:il-x-warn 8s infinite both}
.il-x-ok{animation:il-x-ok 8s infinite both}
.il-paused .il-bar,.il-paused .il-dot,.il-paused .il-notif,.il-paused .il-x-free,.il-paused .il-x-work,.il-paused .il-x-ptr,.il-paused .il-x-warn,.il-paused .il-x-ok{animation-play-state:paused}
@media (prefers-reduced-motion: reduce){
  .il-in,.il-grow,.il-pop,.il-bar,.il-dot,.il-notif,.il-x-free,.il-x-work,.il-x-ptr,.il-x-warn,.il-x-ok{animation:none!important;transform:none!important}
  .il-x-work,.il-x-ptr,.il-x-ok{opacity:0!important}.il-x-warn{opacity:1!important}
  .il-notif{opacity:0!important}
}

/* ---------- Encabezado ---------- */
.site-header{position:sticky;top:0;z-index:20;background:rgba(29,75,108,0.97);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid #2a5a7d}
.nav{max-width:1200px;margin:0 auto;padding:12px 24px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 32px;box-sizing:border-box}
.nav-links{display:flex;flex-wrap:wrap;gap:0 24px;flex:1 1 auto;font-size:15px;font-weight:500}
.nav-links a{text-decoration:none;padding:12px 0;color:#dceaf5}
.nav-links a:hover{color:#ffffff;text-decoration:underline}
.nav-cta{display:flex;align-items:center;gap:8px}
.nav-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px;border:1px solid #2E6E9E;background:transparent;color:#ffffff;cursor:pointer;padding:0}
@media (max-width:760px){
  .nav{gap:8px 12px;padding:10px 16px}
  .nav-cta{margin-left:auto}
  .nav-toggle{display:inline-flex}
  .nav-links{display:none;order:3;flex-basis:100%;flex-direction:column;gap:0;padding:4px 0 8px;border-top:1px solid #2a5a7d}
  .nav-links.open{display:flex}
  .nav-links a{padding:12px 2px}
}
@media (max-width:380px){.nav-cta a{padding:10px 12px!important;font-size:14px!important}}

/* ---------- Hero ---------- */
.hw{color:#7a9dba;transition:color .4s}
.hw.on{color:#ffffff}
@media (max-width:640px){
  .hero-pill{display:none}
  .hero-badge{border-radius:18px!important;text-align:left;flex-wrap:wrap}
}
.step-tab{text-align:left;cursor:pointer;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;min-height:44px;font-family:inherit;background:transparent;color:#dceaf5;border:1px solid #2E6E9E;transition:background-color .2s,color .2s}
.step-tab[aria-selected="true"]{background:#ffffff;color:#0c2234;border-color:#ffffff}
.step-fill{display:block;height:100%;width:0;border-radius:3px;background:transparent}
.step-tab[aria-selected="true"] .step-fill{background:#1D4B6C;animation:il-fill 5s linear both}
.il-paused .step-tab[aria-selected="true"] .step-fill{animation:none;width:100%}
@media (prefers-reduced-motion: reduce){.step-tab[aria-selected="true"] .step-fill{animation:none;width:100%}}
.pause-btn{background:transparent;border:1px solid #7f8b95;color:#1D4B6C;font-size:13px;font-weight:600;padding:8px 14px;border-radius:999px;cursor:pointer;min-height:36px}
@media (max-width:640px){
  .step-short,.step-n{display:none}
  .step-tab{padding:12px 8px;align-items:center;text-align:center}
  .step-verb{font-size:16px!important}
  .step-panel{padding:18px!important}
}

/* Grillas semanales: en celular se ven viernes, sábado y domingo */
.wk{display:grid;grid-template-columns:96px repeat(7,minmax(0,1fr));gap:5px;align-items:center}
.wk-scene{grid-template-columns:104px repeat(7,minmax(0,1fr));gap:6px}
.wk-wide{min-width:520px}
.wk-wide-scene{min-width:540px}
.mobile-note{display:none}
@media (max-width:640px){
  .wk,.wk-scene{grid-template-columns:84px repeat(3,minmax(0,1fr))}
  .wk .d-early{display:none!important}
  .wk-wide,.wk-wide-scene{min-width:0}
  .mobile-note{display:block}
}

/* ---------- Portales ---------- */
.portal-tab{border:none;cursor:pointer;border-radius:10px;padding:12px 18px;min-height:44px;font-size:15px;font-weight:600;background:transparent;color:#1D4B6C;transition:background-color .2s,color .2s}
.portal-tab[aria-selected="true"]{background:#1D4B6C;color:#ffffff}

/* ---------- Gerencia ---------- */
.dash-row{display:grid;grid-template-columns:110px minmax(0,1fr) 70px;gap:12px;align-items:center}
@media (max-width:640px){.dash-row{grid-template-columns:84px minmax(0,1fr) 56px;gap:8px}}

/* ---------- Quiénes somos ---------- */
.team{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.team-card{background:#ffffff;border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:14px}
.team-photo{width:104px;height:104px;border-radius:999px;object-fit:cover;background:#E3DED8;display:block;box-shadow:0 0 0 1px #E3DED8}
.team-link{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;margin-top:auto;font-size:15px;font-weight:600;color:#1D4B6C;text-decoration:none;padding:10px 0}
.team-link:hover{text-decoration:underline}

/* ---------- Preguntas ---------- */
.faq-item{border-radius:16px;background:#f4f2ee;transition:background-color .2s}
.faq-item.open{background:#DCEAF5}
.faq-btn{width:100%;background:transparent;border:none;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left;cursor:pointer;color:#0c2234;font-size:17px;font-weight:600;border-radius:16px}
.faq-ico{flex:0 0 auto;width:30px;height:30px;border-radius:99px;background:#ffffff;color:#0c2234;display:flex;align-items:center;justify-content:center;font-size:20px;line-height:1;transition:transform .2s cubic-bezier(.16,1,.3,1),background-color .2s,color .2s}
.faq-item.open .faq-ico{background:#1D4B6C;color:#ffffff;transform:rotate(45deg)}
.faq-a{padding:0 22px 22px;font-size:16px;line-height:1.6;color:#3b4a55}

/* ---------- Formulario ---------- */
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label{font-size:15px;font-weight:600}
.fi{width:100%;box-sizing:border-box;min-height:48px;font-size:16px;color:#0c2234;background:#ffffff;border-radius:10px;padding:12px 14px;border:1.5px solid #7f8b95}
.fi[aria-invalid="true"]{border-color:#A12C1C}
.f-err{font-size:14px;color:#A12C1C}
.f-alert{background:#fbeceb;color:#A12C1C;border-radius:10px;padding:12px 14px;font-size:15px;line-height:1.5}
.f-alert a{color:#A12C1C;font-weight:600}
.btn-submit{background:#1D4B6C;color:#ffffff;border:none;font-weight:700;font-size:17px;padding:16px 24px;border-radius:12px;cursor:pointer;min-height:52px;transition:background-color .15s,transform .15s}
.btn-submit:hover{background:#163d59}
.btn-submit:active{transform:scale(.98)}
.btn-submit[aria-busy="true"]{opacity:.75;cursor:progress}
.hp{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}
.form-note{font-size:13px;line-height:1.5;color:#4b5d6b}
.form-note a{color:#1D4B6C}

/* ---------- Pie ---------- */
.site-footer a{color:#dceaf5}
.site-footer a:hover{color:#ffffff}

/* ---------- Páginas de texto (privacidad, gracias, 404) ---------- */
.doc{max-width:760px;margin:0 auto;padding:88px 24px 112px;box-sizing:border-box}
.doc h1{font-size:clamp(34px,4.6vw,52px);line-height:1.04;font-weight:800;color:#1D4B6C;margin-bottom:12px}
.doc h2{font-size:24px;line-height:1.2;font-weight:700;color:#1D4B6C;margin:36px 0 10px;letter-spacing:-0.02em}
.doc p,.doc li{font-size:17px;line-height:1.65;color:#3b4a55}
.doc p+p{margin-top:12px}
.doc ul{padding-left:22px;margin:10px 0 0}
.doc li+li{margin-top:6px}
.doc .meta{font-size:15px;color:#4b5d6b}
.doc .btn-back{display:inline-flex;margin-top:28px;background:#1D4B6C;color:#ffffff;font-weight:700;font-size:16px;padding:14px 22px;border-radius:12px;text-decoration:none}

/* ---------- Piezas interactivas con los datos del local demo ---------- */
.dw{display:flex;flex-direction:column;gap:10px;min-width:0;color:#0c2234}
.dw-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:2px 12px;font-size:14px}
.dw-sub{font-size:12px;color:#4b5d6b}
.dw-muted{color:#4b5d6b}
.dw-read{font-size:13px;line-height:1.45;color:#0c2234;min-height:2.9em}
.dw-foot{font-size:12px;line-height:1.45;color:#4b5d6b}
.dw-chips{display:flex;gap:4px}
.dw-chip{flex:1 1 0;min-width:0;min-height:44px;border:1px solid #E3DED8;background:#ffffff;color:#0c2234;border-radius:9px;padding:4px 2px;font-size:12px;font-weight:600;line-height:1.1;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;transition:background-color .15s,border-color .15s,color .15s}
.dw-chip small{font-family:'Geist Mono',monospace;font-size:10px;font-weight:500;color:#4b5d6b}
.dw-chip:hover{border-color:#2E6E9E}
.dw-chip[aria-pressed="true"]{background:#1D4B6C;border-color:#1D4B6C;color:#ffffff}
.dw-chip[aria-pressed="true"] small{color:#A9CBE6}
.dw-chart{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px;align-items:end;height:150px;padding-top:8px;border-bottom:1px solid #7f8b95;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#ece8e2 calc(25% - 1px),#ece8e2 25%);cursor:crosshair}
.dw-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-width:0}
.dw-bar{display:block;width:100%;border-radius:4px 4px 1px 1px;background:#2E6E9E;transition:height .45s cubic-bezier(.16,1,.3,1),background-color .15s}
.dw-col.on .dw-bar{background:#F3DD8F;box-shadow:inset 0 0 0 1.5px #1D4B6C}
.dw-axis{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:4px;font-family:'Geist Mono',monospace;font-size:10px;color:#4b5d6b;white-space:nowrap}
.dw-axis span{overflow:visible}
@media (prefers-reduced-motion: reduce){.dw-bar,.dw-dot,.dw-sk-row,.dw-sk-cell{transition:none!important}}

/* Planifica */
.dw-staff-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px;align-items:end}
.dw-chart-sm{height:104px}
.dw-n{font-family:'Geist Mono',monospace;font-size:10px;color:#4b5d6b;margin-bottom:3px}
.dw-col.on .dw-n{color:#0c2234;font-weight:700}
.dw-pos{display:flex;flex-direction:column;gap:9px;padding-bottom:18px}
.dw-prow{display:grid;grid-template-columns:62px minmax(0,1fr) 16px;align-items:center;gap:8px;font-size:13px;font-weight:600}
.dw-dots{display:flex;gap:5px}
.dw-dot{width:16px;height:16px;border-radius:99px;display:block;transition:background-color .2s,box-shadow .2s}
.dw-pn{font-family:'Geist Mono',monospace;font-size:13px;text-align:right}
@media (max-width:640px){.dw-staff-body{grid-template-columns:1fr}.dw-pos{padding-bottom:0}}

/* Escalera de dotación */
.dw-ladder{gap:14px}
.dw-ladder-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:16px;align-items:end}
.dw-ladder-ctl{display:flex;flex-direction:column;gap:6px}
.dw-slabel{font-size:15px;font-weight:600;color:#1D4B6C}
.dw-sval{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;color:#1D4B6C}
.dw-sval output{font-size:56px;font-weight:800;letter-spacing:-0.04em;line-height:1;font-variant-numeric:tabular-nums;min-width:2.1ch}
.dw-sval span{font-size:16px;color:#3b4a55}
.dw-range{width:100%;margin:0;accent-color:#1D4B6C;height:36px;cursor:pointer}
.dw-lcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.dw-lcard{background:#faf8f4;border:1px solid #E3DED8;border-radius:12px;padding:9px 10px;display:flex;flex-direction:column;gap:7px;min-width:0}
.dw-lname{font-size:13px;font-weight:600;white-space:nowrap}
.dw-lrow{display:flex;align-items:center;justify-content:space-between;gap:4px}
.dw-ln{font-family:'Geist Mono',monospace;font-size:15px}
.dw-table-wrap{overflow-x:auto}
.dw-table{width:100%;border-collapse:collapse;font-size:12px;min-width:360px}
.dw-table th,.dw-table td{padding:6px;text-align:center;border-bottom:1px solid #f1eee9}
.dw-table thead th{font-size:11px;font-weight:600;color:#4b5d6b;vertical-align:bottom;line-height:1.25}
.dw-table thead th:first-child,.dw-table tbody th{text-align:left}
.dw-table tbody th{font-family:'Geist Mono',monospace;font-weight:500;white-space:nowrap}
.dw-table td{font-family:'Geist Mono',monospace}
.dw-table tbody tr{cursor:pointer;transition:background-color .15s}
.dw-table tbody tr:hover{background:#f4f2ee}
.dw-table tbody tr.on{background:#F3DD8F}
.dw-table .dw-week{text-align:left;white-space:nowrap;color:#3b4a55}
.dw-hbar{display:inline-block;height:6px;border-radius:3px;background:#A9CBE6;vertical-align:middle;margin-right:6px;max-width:48px;min-width:4px}
.dw-table tr.on .dw-hbar{background:#1D4B6C}
@media (max-width:640px){.dw-ladder-top{grid-template-columns:1fr}.dw-sval output{font-size:44px}.dw-table .dw-week{display:none}.dw-table{min-width:0}.dw-lcard{padding:8px}.dw-lcard .dw-dot{width:13px;height:13px}}

/* Habilidades */
.dw-fchips{display:flex;flex-wrap:wrap;gap:6px}
.dw-fchip{border:1px solid #E3DED8;background:#ffffff;color:#1D4B6C;border-radius:99px;padding:8px 14px;min-height:40px;font-size:14px;font-weight:600;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}
.dw-fchip:hover{border-color:#2E6E9E}
.dw-fchip[aria-pressed="true"]{background:#1D4B6C;border-color:#1D4B6C;color:#ffffff}
.dw-sk-head,.dw-sk-row{display:grid;grid-template-columns:minmax(118px,1.7fr) repeat(4,minmax(0,1fr));gap:6px;align-items:center}
.dw-sk-head{font-family:'Geist Mono',monospace;font-size:10px;letter-spacing:0.02em;color:#4b5d6b;text-align:center;text-transform:uppercase}
.dw-sk-head .dw-sk-name{text-align:left}
.dw-sk-head .sel{color:#0c2234;font-weight:700}
.dw-sk-list{display:flex;flex-direction:column}
.dw-sk-row{padding:5px 0;border-top:1px solid #f1eee9;transition:opacity .2s}
.dw-sk-row.off{opacity:.42}
.dw-sk-name{display:flex;flex-direction:column;gap:1px;min-width:0}
.dw-sk-name b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-sk-name small{font-size:11px;color:#4b5d6b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-sk-cell{display:flex;justify-content:center;align-items:center;height:30px;border-radius:8px;transition:background-color .2s}
.dw-sk-cell.sel{background:#FBF1C9}
.dw-lvl{display:block;width:18px;height:18px;border-radius:99px;flex:0 0 auto}
.dw-lvl.l4{background:#1D4B6C}
.dw-lvl.l3{background:#2E6E9E}
.dw-lvl.l2{background:#DCEAF5;box-shadow:inset 0 0 0 2px #2E6E9E}
.dw-lvl.l1{width:10px;height:2px;border-radius:1px;background:#a9b4bd}
.dw-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12px;color:#4b5d6b;align-items:center;padding-top:6px}
.dw-legend > span{display:inline-flex;align-items:center;gap:6px}
@media (max-width:640px){.dw-sk-name small{display:none}.dw-sk-head,.dw-sk-row{grid-template-columns:minmax(96px,1.5fr) repeat(4,minmax(0,1fr))}}

/* Marcos de las figuras: más aire en escritorio, menos en celular */
.fig-frame{padding:28px}
.fig-frame-top{padding:28px 28px 0}
.fig-pad{padding:22px}
.nm-short{display:none}
@media (max-width:640px){
  .fig-frame{padding:12px}
  .fig-frame-top{padding:12px 12px 0}
  .fig-pad{padding:14px}
  .dw-table th,.dw-table td{padding:6px 3px}
  .dw-table{font-size:11px}
  .nm-full{display:none}
  .nm-short{display:inline}
  .dw-sk-head{font-size:9px;letter-spacing:0}
  .dw-sk-head,.dw-sk-row{grid-template-columns:minmax(84px,1.3fr) repeat(4,minmax(0,1fr));gap:4px}
}

/* Publica: horario del día */
.dw-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#1D4B6C}
.dw-ok-dot{width:8px;height:8px;border-radius:99px;background:#1D4B6C}
.dw-gantt{display:flex;flex-direction:column;gap:6px}
.dw-g-rows{display:flex;flex-direction:column;gap:3px;min-height:150px}
.dw-g-row,.dw-g-axis{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px;align-items:center}
.dw-g-row{cursor:pointer;border-radius:7px;padding:2px 4px 2px 6px;margin:0 -4px 0 -6px;transition:background-color .15s}
.dw-g-row.on{background:#FBF1C9}
.dw-g-name{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dw-g-track{position:relative;height:22px;border-radius:5px;background:#f1eee9}
.dw-g-seg{position:absolute;top:0;bottom:0;border-radius:5px}
.dw-g-col{position:absolute;top:4px;bottom:4px;border-radius:3px;background:repeating-linear-gradient(135deg,rgba(255,255,255,.95) 0,rgba(255,255,255,.95) 2px,rgba(255,255,255,.25) 2px,rgba(255,255,255,.25) 5px)}
.dw-g-label{position:absolute;top:50%;transform:translateY(-50%);margin-left:4px;padding:1px 4px;border-radius:4px;background:rgba(255,255,255,.88);font-family:'Geist Mono',monospace;font-size:10px;color:#0c2234;white-space:nowrap;pointer-events:none}
.dw-g-ticks{position:relative;height:14px;font-family:'Geist Mono',monospace;font-size:10px;color:#4b5d6b}
.dw-g-ticks span{position:absolute;transform:translateX(-50%)}
.dw-g-legend i{display:inline-block;width:12px;height:8px;border-radius:3px}
.dw-g-colkey{background:repeating-linear-gradient(135deg,#1D4B6C 0,#1D4B6C 2px,#DCEAF5 2px,#DCEAF5 5px)}
@media (max-width:640px){.dw-g-row,.dw-g-axis{grid-template-columns:66px minmax(0,1fr);gap:6px}.dw-g-label{display:none}}

/* Trabajador: el celular */
.ph{display:flex;flex-direction:column;gap:6px;flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:thin;padding-bottom:8px}
.ph-top{display:flex;flex-direction:column;gap:2px;margin-top:44px}
.ph-top b{font-size:17px;color:#1D4B6C}
.ph-top span{font-family:'Geist Mono',monospace;font-size:10px;color:#4b5d6b;white-space:nowrap}
.ph-hi{font-size:11px;line-height:1.35;color:#4b5d6b}
.ph-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px}
.ph-day{background:#ffffff;border:1px solid #E3DED8;border-radius:10px;font-size:13px}
.ph-btn{width:100%;display:flex;justify-content:space-between;align-items:center;gap:6px;background:transparent;border:0;padding:6px 8px 6px 10px;font:inherit;color:#0c2234;cursor:pointer;border-radius:10px;min-height:34px;text-align:left}
.ph-btn[aria-expanded="true"]{background:#DCEAF5}
.ph-free{display:flex;justify-content:space-between;align-items:center;padding:6px 8px 6px 10px;min-height:34px;box-sizing:border-box;background:#faf8f4}
.ph-d{font-weight:600}
.ph-pill{font-family:'Geist Mono',monospace;font-size:11px;padding:3px 7px;border-radius:6px;background:#1D4B6C;color:#ffffff;white-space:nowrap}
.ph-libre{background:#F5EFC1;color:#1D4B6C}
.ph-detail{display:flex;flex-direction:column;gap:1px;padding:4px 10px 8px;font-size:11px;line-height:1.4;color:#3b4a55}
.ph-detail span:first-child{font-weight:600;color:#0c2234}
.il-notif{pointer-events:none}

/* Portales: pantallas en miniatura con la paleta iLabor */
.pm{display:grid;grid-template-columns:22% minmax(0,1fr);aspect-ratio:16/9;font-size:10px;line-height:1.3;color:#0c2234;background:#f6f7f9;overflow:hidden;text-align:left}
.pm-side{background:#0C2234;color:#A9CBE6;padding:12px 8px;display:flex;flex-direction:column;gap:2px;min-width:0}
.pm-brand{display:flex;align-items:center;gap:6px;padding:0 4px 10px;color:#ffffff}
.pm-brand span{display:flex;flex-direction:column;min-width:0}
.pm-brand b{font-size:11px;letter-spacing:-0.02em}
.pm-brand small{font-size:8px;color:#A9CBE6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-sec{font-size:7px;letter-spacing:.08em;color:#7fa0be;padding:8px 6px 2px}
.pm-item{display:flex;align-items:center;gap:6px;padding:5px 6px;border-radius:6px;white-space:nowrap;overflow:hidden}
.pm-item i{width:8px;height:8px;border-radius:2px;border:1.2px solid currentColor;flex:0 0 auto;opacity:.8}
.pm-item.on{background:#F3DD8F;color:#0C2234;font-weight:600}
.pm-main{padding:14px 16px;display:flex;flex-direction:column;gap:8px;min-width:0;overflow:hidden}
.pm-eyebrow{font-family:'Geist Mono',monospace;font-size:7px;letter-spacing:.06em;color:#2E6E9E;text-transform:uppercase}
.pm-h{font-size:15px;font-weight:700;letter-spacing:-0.02em;line-height:1.1}
.pm-row{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.pm-card{background:#ffffff;border:1px solid #E3DED8;border-radius:8px;padding:8px 10px;min-width:0}
.pm-btn{background:#1D4B6C;color:#ffffff;border-radius:6px;padding:4px 8px;font-size:9px;font-weight:600;white-space:nowrap}
.pm-btn.light{background:#ffffff;color:#1D4B6C;border:1px solid #E3DED8}
.pm-chip{display:inline-flex;align-items:center;gap:4px;border-radius:99px;padding:2px 7px;font-size:8px;font-weight:600;background:#DCEAF5;color:#1D4B6C;white-space:nowrap}
.pm-chip.ok{background:#1D4B6C;color:#ffffff}
.pm-chip.warn{background:#F3DD8F;color:#0C2234}
.pm-muted{color:#4b5d6b}
.pm-mono{font-family:'Geist Mono',monospace}
.pm-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.pm-kpi{display:flex;flex-direction:column;gap:2px}
.pm-kpi b{font-size:14px;letter-spacing:-0.02em}
.pm-kpi span{font-size:8px;color:#4b5d6b}
.pm-table{width:100%;border-collapse:collapse}
.pm-table th{font-size:7px;letter-spacing:.06em;color:#4b5d6b;text-align:left;font-weight:600;padding:4px 4px;border-bottom:1px solid #E3DED8;text-transform:uppercase}
.pm-table td{padding:5px 4px;border-bottom:1px solid #f1eee9;white-space:nowrap}
.pm-bar{display:block;height:6px;border-radius:3px;background:#1D4B6C}
.pm-bar.need{background:#A9CBE6}
@media (max-width:640px){.pm{grid-template-columns:1fr}.pm-side{display:none}}

/* Regla rota: escena interactiva */
.rr{background:#123650;border:1px solid #1D4B6C;border-radius:20px;padding:24px;display:flex;flex-wrap:wrap;gap:24px}
.rr-board{flex:1 1 560px;min-width:0;background:#ffffff;color:#0c2234;border-radius:12px;padding:20px;overflow-x:auto;display:flex;flex-direction:column;gap:14px}
.rr-head{font-family:'Geist Mono',monospace;font-size:11px;color:#4b5d6b;text-align:center}
.rr-name{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rr-cell{display:block;border-radius:6px;padding:7px 1px;font-size:10px;letter-spacing:-0.02em;font-family:'Geist Mono',monospace;text-align:center;white-space:nowrap;overflow:hidden}
.rr-shift{background:var(--c);color:#ffffff}
.rr-shift[data-pos="SER_ENTREGA"],.rr-shift[data-pos="DT_CAJA"]{color:#0c2234}
.rr-libre{border:1.5px dashed #9fb3c4;color:#4b5d6b;padding:5.5px 2px}
.rr-target{position:relative;padding:0;height:31px}
.rr-target .rr-free,.rr-target .rr-new{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:opacity .25s,transform .25s}
.rr-target .rr-free{border:1.5px dashed #9fb3c4;color:#4b5d6b}
.rr-target .rr-new{background:#F3DD8F;color:#0c2234;font-weight:700;box-shadow:0 0 0 2px #0c2234;opacity:0;transform:translateY(-6px)}
.rr.broken .rr-target .rr-free{opacity:0}
.rr.broken .rr-target .rr-new{opacity:1;transform:none}
.rr-legend i{display:inline-block;width:12px;height:8px;border-radius:3px}
.rr-side{flex:1 1 300px;display:flex;min-height:200px}
.rr-card{flex:1;background:#ffffff;color:#0c2234;border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:12px;justify-content:center}
.rr-ok{background:#DCEAF5}
.rr-warn{box-shadow:inset 4px 0 0 0 #F3DD8F}
.rr-eyebrow{font-size:12px;font-weight:700;letter-spacing:.02em;color:#1D4B6C}
.rr-title{font-size:17px;font-weight:700;line-height:1.3}
.rr-title:focus{outline:none}
.rr-text{font-size:14px;line-height:1.5;color:#3b4a55}
.rr-btn{align-self:flex-start;background:#1D4B6C;color:#ffffff;border:0;font-size:14px;font-weight:600;padding:10px 14px;border-radius:8px;cursor:pointer;min-height:44px;text-align:left}
.rr-btn:hover{background:#163d59}
@media (prefers-reduced-motion: reduce){.rr-target .rr-free,.rr-target .rr-new{transition:none}}
@media (max-width:640px){.rr{padding:12px;gap:12px}.rr-board{padding:12px}.rr-cell{font-size:10px;letter-spacing:-0.03em;padding-left:0;padding-right:0}}

/* Gerencia: tablero */
.dw-dash [role="tab"][aria-selected="true"]{background:#1D4B6C;border-color:#1D4B6C;color:#ffffff}
.dash-panel{display:flex;flex-direction:column;gap:12px}
.pm-week{table-layout:fixed}
.pm-week th:first-child,.pm-week td:first-child{width:46px}
.pm-week th,.pm-week td{padding:3px 2px;font-size:8px;vertical-align:top;overflow:hidden;text-overflow:ellipsis}
.pm-week td:first-child{white-space:nowrap}
.pm-shift{display:block;margin-bottom:2px;border-radius:3px;padding:1px 3px;background:var(--c);color:#ffffff;font-family:'Geist Mono',monospace;font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Gerencia: relleno y horas cortas */
.gx-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.gx-kpi{border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.gx-kpi b{font-size:30px;font-weight:800;letter-spacing:-0.03em;line-height:1.05;color:#0c2234}
.gx-kpi span{font-size:12px;line-height:1.35;color:#3b4a55}
.gx-kpi.rell{background:#DCEAF5}
.gx-kpi.falta{background:#FBF1C9}
.gx-dayline{font-size:13px;color:#0c2234}
.gx-chart{position:relative;height:176px;border-bottom:1px solid #7f8b95;cursor:crosshair}
.gx-chart svg{display:block;width:100%;height:100%;overflow:visible}
.gx-grid line{stroke:#ece8e2;stroke-width:1;vector-effect:non-scaling-stroke}
.gx-hl{fill:rgba(12,34,52,.10)}
.gx-y{position:absolute;left:0;transform:translateY(-100%);padding:0 0 2px 2px;font-family:'Geist Mono',monospace;font-size:10px;line-height:1;color:#4b5d6b;pointer-events:none}
.gx-cubre rect{fill:#2E6E9E}
.gx-rell rect{fill:#A9CBE6}
.gx-falta rect{fill:#F3DD8F;stroke:#a88a24;stroke-width:1;vector-effect:non-scaling-stroke}
.gx-need{fill:none;stroke:#0C2234;stroke-width:2;vector-effect:non-scaling-stroke}
.gx-hit{fill:transparent}
.dw-axis.gx-axis{gap:0}
.gx-k{display:inline-block;width:12px;height:8px;border-radius:3px}
.gx-k.cubre{background:#2E6E9E}
.gx-k.rell{background:#A9CBE6}
.gx-k.falta{background:#F3DD8F;box-shadow:inset 0 0 0 1px #a88a24}
.gx-k.need{height:2px;border-radius:0;background:#0C2234}
.gx-list{display:flex;flex-direction:column;gap:8px}
.gx-row{display:grid;grid-template-columns:64px minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center}
.gx-headrow{font-family:'Geist Mono',monospace;font-size:10px;letter-spacing:.04em;color:#4b5d6b;text-transform:uppercase}
.gx-dia{font-size:14px;font-weight:600}
.gx-bars{display:grid;grid-template-columns:minmax(0,1fr) 4.6em;align-items:center;gap:6px;min-width:0}
.gx-track{display:block;min-width:0}
.gx-b{display:block;height:12px;border-radius:4px;min-width:2px}
.gx-b.rell{background:#A9CBE6}
.gx-b.falta{background:#F3DD8F;box-shadow:inset 0 0 0 1px #a88a24}
.gx-bars b{text-align:right;font-family:'Geist Mono',monospace;font-size:12px;white-space:nowrap}
.pm-bar.rell{background:#A9CBE6;margin-bottom:2px}
.pm-bar.falta{background:#F3DD8F;margin-bottom:2px}
.pm-kpi.rell{background:#DCEAF5}
.pm-kpi.falta{background:#FBF1C9}
@media (max-width:640px){.gx-kpi b{font-size:24px}.gx-row{grid-template-columns:52px minmax(0,1fr) minmax(0,1fr);gap:8px}}
