.employee-shell{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:2rem 1.5rem;
  position:relative;
  overflow:hidden;
}

.employee-shell::before{
  content:"";
  position:absolute;
  inset:5vh auto auto -14vw;
  width:36vw;
  min-width:280px;
  aspect-ratio:1;
  border-radius:999px;
  background:radial-gradient(circle, color-mix(in srgb,var(--color-primary) 22%, transparent), transparent 68%);
  pointer-events:none;
}

.employee-shell::after{
  content:"";
  position:absolute;
  inset:auto -12vw 3vh auto;
  width:42vw;
  min-width:300px;
  aspect-ratio:1;
  border-radius:999px;
  background:radial-gradient(circle, color-mix(in srgb,var(--color-accent) 20%, transparent), transparent 70%);
  pointer-events:none;
}

.employee-shell__inner{
  width:min(100%, 960px);
  display:grid;
  gap:1.05rem;
  position:relative;
  z-index:1;
}

.employee-hero{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:end;
  gap:1.25rem;
  padding:1.05rem 1.2rem 1.25rem;
  border:1px solid rgba(255,255,255,.78);
  border-radius:24px;
  background:
    linear-gradient(135deg,rgba(255,255,255,.94),rgba(255,255,255,.72)),
    linear-gradient(135deg, color-mix(in srgb,var(--color-primary) 18%, #ffffff), color-mix(in srgb,var(--color-accent) 10%, #ffffff) 72%);
  box-shadow:0 24px 54px rgba(13,44,77,.11);
  backdrop-filter:blur(14px);
  position:relative;
  overflow:hidden;
}

.employee-hero::after{
  content:"";
  position:absolute;
  inset:auto -52px -78px auto;
  width:220px;
  height:220px;
  border-radius:999px;
  background:
    linear-gradient(135deg,rgba(11,99,188,.12),rgba(47,154,71,.15));
  pointer-events:none;
}

.employee-hero > *{
  position:relative;
  z-index:1;
}

.employee-hero__brand{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  min-width:0;
  padding:0 0 .95rem;
  border-bottom:1px solid color-mix(in srgb,var(--color-primary) 14%, var(--color-border));
}

.employee-hero__logos{
  display:flex;
  align-items:center;
  gap:.65rem;
  flex:0 0 auto;
  min-width:0;
  padding:.48rem .62rem;
  border-radius:999px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(244,248,251,.92));
  border:1px solid rgba(255,255,255,.86);
  box-shadow:0 14px 30px rgba(13,44,77,.11);
}

.employee-hero__logo{
  width:72px;
  height:58px;
  object-fit:contain;
  padding:.28rem .38rem;
  border-radius:0;
  background:transparent;
  border:0;
  box-shadow:none;
}

.employee-hero__logo--client{
  width:128px;
}

.employee-hero__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.42rem .72rem;
  border-radius:999px;
  background:var(--color-primary-soft);
  border:1px solid color-mix(in srgb,var(--color-primary) 18%, var(--color-border));
  color:var(--color-primary-600);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  white-space:nowrap;
}

.employee-card{
  background:
    linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.88)),
    var(--color-surface);
  border:1px solid rgba(255,255,255,.76);
  border-radius:24px;
  box-shadow:0 22px 48px rgba(13,44,77,.1);
  backdrop-filter:blur(12px);
}

.employee-card__heading{
  display:flex;
  align-items:flex-start;
  gap:.9rem;
}

.employee-card__heading h2{
  margin:.05rem 0 .25rem;
  letter-spacing:-.02em;
}

.employee-card__icon{
  width:46px;
  height:46px;
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:16px;
  color:#fff;
  font-weight:800;
  background:linear-gradient(135deg,var(--color-primary),var(--color-accent));
  box-shadow:0 14px 26px rgba(11,99,188,.18);
}

.employee-card__kicker{
  margin:0;
  color:var(--color-primary-600);
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.employee-form{
  display:grid;
  gap:.9rem;
  margin-top:1.05rem;
}

.employee-form__actions{
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
  align-items:center;
}

.employee-form .input{
  max-width:none;
  width:100%;
  min-height:46px;
  background:rgba(255,255,255,.92);
  border-color:color-mix(in srgb,var(--color-primary) 12%, var(--color-border));
}

.employee-help-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin-top:1.1rem;
  padding:.8rem .95rem;
  border-radius:18px;
  background:
    linear-gradient(135deg,var(--color-primary-soft),rgba(255,255,255,.66));
  border:1px solid color-mix(in srgb,var(--color-primary) 16%, var(--color-border));
  color:var(--color-muted);
  font-size:.88rem;
}

.employee-help-strip strong{
  color:var(--color-fg);
  font-weight:700;
}

.employee-message{
  min-height:1.4rem;
  margin:0;
}

.employee-message[data-state="error"]{
  color:#b91c1c;
}

.employee-message[data-state="ok"]{
  color:#047857;
}

.employee-dashboard-overview{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(280px, 360px);
  gap:1rem;
  align-items:center;
}

.employee-dashboard-stack{
  display:grid;
  gap:1rem;
}

.employee-session-copy{
  min-width:0;
}

.employee-session-titlebar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:.85rem;
}

.employee-session-titlebar h2{
  margin:.08rem 0 0;
  line-height:1.15;
  letter-spacing:-.02em;
}

.employee-session-titlebar .btn{
  flex:0 0 auto;
}

.employee-session-copy > .text-muted{
  margin:.38rem 0 0;
  max-width:680px;
}

.employee-session-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:.78rem;
}

.employee-session-meta__item{
  display:inline-flex;
  align-items:center;
  gap:.42rem;
  min-height:34px;
  padding:.42rem .64rem;
  border-radius:999px;
  background:color-mix(in srgb,var(--color-primary) 7%, rgba(255,255,255,.82));
  border:1px solid color-mix(in srgb,var(--color-primary) 12%, var(--color-border));
  max-width:100%;
}

.employee-session-meta__label{
  color:var(--color-muted);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
}

.employee-session-meta__value{
  color:var(--color-fg);
  font-size:.88rem;
  overflow-wrap:anywhere;
}

.employee-cert-actions{
  display:grid;
  gap:.55rem;
  align-content:center;
  padding-left:1rem;
  border-left:1px solid color-mix(in srgb,var(--color-primary) 14%, var(--color-border));
}

.employee-cert-actions h3{
  margin:0;
  font-size:1rem;
  line-height:1.2;
  color:var(--color-fg);
}

.employee-cert-actions p{
  margin:0;
  line-height:1.35;
}

.employee-cert-actions .employee-form__actions{
  gap:.45rem;
}

.employee-cert-actions .btn{
  padding:.55rem .78rem;
  white-space:nowrap;
}

.employee-cert-actions .employee-message{
  min-height:1.15rem;
  font-size:.84rem;
}

.employee-incapacity-card{
  display:grid;
  gap:1rem;
}

.employee-incapacity-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}

.employee-incapacity-header h2{
  margin:.08rem 0 .35rem;
  letter-spacing:-.02em;
}

.employee-incapacity-header .text-muted{
  margin:0;
  line-height:1.45;
}

.employee-incapacity-title{
  font-size:1.12rem;
  line-height:1.2;
}

.employee-incapacity-filters{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 180px)) auto;
  gap:.65rem;
  align-items:end;
  padding-top:.9rem;
  border-top:1px solid color-mix(in srgb,var(--color-primary) 10%, var(--color-border));
}

.employee-incapacity-filters .input{
  max-width:none;
  width:100%;
}

.employee-incapacity-message{
  min-height:1.35rem;
  margin:0;
}

.employee-incapacity-message[data-state="error"]{
  color:#b91c1c;
}

.employee-incapacity-message[data-state="ok"]{
  color:#047857;
}

.employee-incapacity-list{
  display:grid;
  gap:.72rem;
}

.employee-incapacity-empty{
  padding:.95rem;
  border:1px dashed color-mix(in srgb,var(--color-muted) 28%,var(--color-border));
  border-radius:8px;
  background:color-mix(in srgb,var(--color-surface-alt) 72%,#fff);
  color:var(--color-muted);
}

.employee-incapacity-item{
  --support-accent:var(--color-primary);
  --support-bg:rgba(248,251,253,.92);
  --support-detail-bg:color-mix(in srgb,var(--color-primary) 5%, rgba(255,255,255,.8));
  --support-detail-border:color-mix(in srgb,var(--color-primary) 10%, var(--color-border));
  display:grid;
  gap:.72rem;
  padding:.9rem;
  border:1px solid color-mix(in srgb,var(--support-accent) 24%, var(--color-border));
  border-left:6px solid var(--support-accent);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(255,255,255,.96),var(--support-bg));
}

.employee-incapacity-item.has-support{
  --support-accent:#15803d;
  --support-bg:#f0fdf4;
  --support-detail-bg:rgba(240,253,244,.82);
  --support-detail-border:rgba(21,128,61,.18);
}

.employee-incapacity-item.missing-support{
  --support-accent:#b91c1c;
  --support-bg:#fef2f2;
  --support-detail-bg:rgba(254,242,242,.82);
  --support-detail-border:rgba(185,28,28,.18);
}

.employee-incapacity-item__main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:.75rem;
}

.employee-incapacity-item__main h3{
  margin:.12rem 0 0;
  font-size:1.02rem;
  line-height:1.2;
}

.employee-incapacity-item__type{
  margin:0;
  color:var(--support-accent);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.employee-incapacity-details{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:.55rem;
  margin:0;
}

.employee-incapacity-details div{
  min-width:0;
  padding:.55rem .65rem;
  border-radius:8px;
  background:var(--support-detail-bg);
  border:1px solid var(--support-detail-border);
}

.employee-incapacity-details dt{
  margin:0 0 .14rem;
  color:var(--color-muted);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.employee-incapacity-details dd{
  margin:0;
  color:var(--color-fg);
  overflow-wrap:anywhere;
}

.employee-incapacity-actions{
  display:flex;
  justify-content:flex-end;
  gap:.5rem;
  flex-wrap:wrap;
}

@media (max-width:720px){
  .employee-shell{
    padding:1rem;
    place-items:start center;
  }

  .employee-hero{
    grid-template-columns:1fr;
    padding:1.1rem;
  }

  .employee-hero__brand{
    align-items:flex-start;
    flex-direction:column;
  }

  .employee-hero__logo{
    width:58px;
    height:48px;
  }

  .employee-hero__logo--client{
    width:96px;
  }

  

  .employee-dashboard-overview{
    grid-template-columns:1fr;
    gap:.95rem;
  }

  .employee-session-titlebar{
    align-items:stretch;
    flex-direction:column;
    gap:.7rem;
  }

  .employee-session-titlebar .btn{
    align-self:flex-start;
  }

  .employee-cert-actions{
    padding:1rem 0 0;
    border-left:0;
    border-top:1px solid color-mix(in srgb,var(--color-primary) 14%, var(--color-border));
  }

  .employee-help-strip{
    align-items:flex-start;
    flex-direction:column;
  }

  .employee-incapacity-header{
    flex-direction:column;
    align-items:stretch;
  }

  .employee-incapacity-header .btn{
    align-self:flex-start;
  }

  .employee-incapacity-filters{
    grid-template-columns:1fr;
  }

  .employee-incapacity-filters .btn{
    width:100%;
  }

  .employee-incapacity-item__main{
    flex-direction:column;
  }

  .employee-incapacity-details{
    grid-template-columns:1fr;
  }

  .employee-incapacity-actions{
    justify-content:stretch;
  }

  .employee-incapacity-actions .btn{
    flex:1 1 160px;
  }
}

/* Employee layout on the shared administrative theme. */
html[data-ui="professional"] .employee-shell {
  display:block;
  padding:0 24px 40px;
  overflow:visible;
}
html[data-ui="professional"] .employee-shell__inner {width:min(100%,1120px);margin:0 auto;gap:24px}
html[data-ui="professional"] .employee-shell::before,
html[data-ui="professional"] .employee-shell::after,
html[data-ui="professional"] .employee-hero::after {display:none}
html[data-ui="professional"] .employee-hero {
  display:block;padding:0 0 24px;border:0;border-bottom:1px solid var(--color-border);
  border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;
}
html[data-ui="professional"] .employee-hero__brand {padding:16px 0;margin-bottom:28px;border-color:var(--color-border)}
html[data-ui="professional"] .employee-hero__logos {padding:0;gap:16px;background:transparent;border:0;border-radius:0;box-shadow:none}
html[data-ui="professional"] .employee-hero__logo {width:60px;height:48px;padding:0}
html[data-ui="professional"] .employee-hero__logo--client {width:110px;border-left:1px solid var(--color-border);padding-left:16px}
html[data-ui="professional"] .employee-hero__tag {
  padding:8px 12px;border-radius:6px;background:var(--color-surface);
  border-color:var(--color-border-strong);color:var(--color-fg);font-size:13px;font-weight:500;text-transform:none;
}
html[data-ui="professional"] .employee-hero__tag:hover {background:var(--color-surface-alt);border-color:var(--color-primary)}

html[data-ui="professional"] .employee-card {
  padding:24px;background:var(--color-surface);border:1px solid var(--color-border);
  border-radius:8px;box-shadow:none;backdrop-filter:none;min-width:0;
}
html[data-ui="professional"] .employee-login-card {width:min(100%,480px);margin:8px auto 0;padding:28px}
html[data-ui="professional"] .employee-card__heading {gap:14px}
html[data-ui="professional"] .employee-card__heading > div {min-width:0}
html[data-ui="professional"] .employee-card__heading .text-muted {margin:8px 0 0}
html[data-ui="professional"] .employee-card__icon {
  width:40px;height:40px;border-radius:6px;background:var(--color-primary-soft);color:var(--color-primary-600);box-shadow:none;
}
html[data-ui="professional"] .employee-card__kicker {font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--color-muted)}
html[data-ui="professional"] .employee-form {gap:18px;margin-top:24px}
html[data-ui="professional"] .employee-form .label {display:block;margin-bottom:6px}
html[data-ui="professional"] .employee-form .input {min-height:44px;background:var(--color-surface);border-color:var(--color-border-strong)}
html[data-ui="professional"] .employee-shell .btn {min-height:44px}
html[data-ui="professional"] .employee-shell .btn--icon {min-width:44px}
html[data-ui="professional"] .employee-shell :is(.app-inline-icon,.app-inline-icon__fallback) {width:auto;min-width:18px}
html[data-ui="professional"] .employee-login-card .employee-form__actions .btn {width:100%}
html[data-ui="professional"] .employee-help-strip {
  display:grid;gap:4px;margin-top:8px;padding:14px;border-radius:6px;
  background:var(--color-surface-alt);border-color:var(--color-border);font-size:13px;
}
html[data-ui="professional"] .employee-help-strip strong {font-weight:500}
html[data-ui="professional"] .employee-dashboard-stack {gap:24px}
html[data-ui="professional"] .employee-dashboard-overview {grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:24px;align-items:start}
html[data-ui="professional"] .employee-session-titlebar {flex-wrap:wrap}
html[data-ui="professional"] .employee-session-titlebar > div {min-width:0}
html[data-ui="professional"] .employee-session-meta__item {border-radius:6px;background:var(--color-surface-alt);border-color:var(--color-border);flex-wrap:wrap}
html[data-ui="professional"] .employee-session-meta__label {font-weight:500;letter-spacing:0;text-transform:none}
html[data-ui="professional"] .employee-session-meta__value {font-size:13px;font-weight:600}
html[data-ui="professional"] .employee-cert-actions {padding-left:24px;border-color:var(--color-border);gap:10px;min-width:0}
html[data-ui="professional"] .employee-cert-actions .btn {white-space:normal;text-align:center}
html[data-ui="professional"] .employee-incapacity-title {font-size:18px;font-weight:600;color:var(--color-fg)}
html[data-ui="professional"] .employee-incapacity-filters {border-color:var(--color-border);padding-top:16px}
html[data-ui="professional"] .employee-incapacity-filters .label {display:block;margin-bottom:6px}
html[data-ui="professional"] .employee-incapacity-item {background:var(--color-surface);border-color:var(--color-border);border-left:3px solid var(--support-accent);padding:16px}
html[data-ui="professional"] .employee-incapacity-details div {background:var(--color-surface-alt);border-color:var(--color-border);border-radius:6px}
html[data-ui="professional"] .employee-incapacity-details dt {font-weight:500;letter-spacing:0;text-transform:none}
html[data-ui="professional"] .employee-incapacity-item__type {font-weight:600;letter-spacing:0;text-transform:none}
html[data-ui="professional"] .employee-incapacity-empty {background:var(--color-surface-alt);border-color:var(--color-border-strong)}
html[data-ui="professional"] :is(.employee-message,.employee-incapacity-message) {overflow-wrap:anywhere}
@media (max-width:720px) {
  html[data-ui="professional"] .employee-shell {padding:0 16px 24px}
  html[data-ui="professional"] .employee-shell__inner {gap:20px}
  html[data-ui="professional"] .employee-hero__brand {flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px}
  html[data-ui="professional"] .employee-hero__logos {gap:10px}
  html[data-ui="professional"] .employee-hero__logo {width:48px;height:40px}
  html[data-ui="professional"] .employee-hero__logo--client {width:86px;padding-left:10px}
  html[data-ui="professional"] .employee-hero__tag {font-size:12px;padding:8px}
  html[data-ui="professional"] .employee-card {padding:20px}
  html[data-ui="professional"] .employee-login-card {margin-top:0}
  html[data-ui="professional"] .employee-dashboard-overview {grid-template-columns:1fr;gap:20px}
  html[data-ui="professional"] .employee-cert-actions {padding:20px 0 0;border-left:0}
  html[data-ui="professional"] .employee-cert-actions .employee-form__actions {display:grid;grid-template-columns:1fr}
  html[data-ui="professional"] .employee-dashboard-stack {gap:20px}
}

html[data-ui="professional"] .employee-page {display:flex;flex-direction:column;min-height:100vh}
html[data-ui="professional"] .employee-page .employee-shell {flex:1;min-height:0}
html[data-ui="professional"] .employee-hero {padding:0;border-bottom:0}
html[data-ui="professional"] .employee-hero__brand {margin-bottom:0}
html[data-ui="professional"] .employee-hero__logo--client {width:64px}
html[data-ui="professional"] .employee-company-copy {display:grid;gap:2px;min-width:0}
html[data-ui="professional"] .employee-company-name {font-size:14px;font-weight:600}
html[data-ui="professional"] .employee-company-nit {font-size:11px;color:var(--color-muted)}
html[data-ui="professional"] .employee-info-dialog {width:min(760px,calc(100% - 32px));max-height:85vh;padding:24px;border:1px solid var(--color-border);border-radius:8px;background:var(--color-surface);color:var(--color-fg)}
.employee-info-dialog::backdrop {background:rgba(0,0,0,.45)}
.employee-info-dialog__actions {display:flex;justify-content:flex-end;margin-bottom:12px}
@media (max-width:720px) {
  html[data-ui="professional"] .employee-hero__brand {margin-bottom:0}
  html[data-ui="professional"] .employee-hero__logo--client {width:50px}
  html[data-ui="professional"] .employee-company-name {font-size:13px}
  html[data-ui="professional"] .employee-info-dialog {padding:16px}
}
.employee-info-dialog .contact-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.employee-info-dialog :is(.contact-card,.contact-card__row,.information-details dd) {min-width:0;overflow-wrap:anywhere}

/* Shift calendar (Mis turnos). */
.employee-shifts-card {display:grid;gap:16px;
  --shift-programado:var(--color-primary);--shift-cumplido:var(--color-accent);--shift-novedad:#b45309;
  --shift-ausente:#b91c1c;--shift-descanso:var(--color-border-strong)}
html[data-theme="dark"] .employee-shifts-card {--shift-novedad:#f0b357;--shift-ausente:#f08a8a}
.employee-shifts-card .text-muted {margin:4px 0 0}
.employee-shifts-toggle {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0;border:0;
  background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.employee-shifts-toggle > span:first-child {display:grid}
.employee-shifts-toggle:focus-visible {outline:2px solid var(--color-primary);outline-offset:4px;border-radius:4px}
.employee-shifts-chevron {flex:none;font-size:24px;line-height:1;color:var(--color-muted);transition:transform .2s}
.employee-shifts-toggle[aria-expanded="true"] .employee-shifts-chevron {transform:rotate(90deg)}
.employee-shifts-body {display:grid;gap:16px}
.employee-shifts-body[hidden] {display:none}
html[data-ui="professional"] .employee-shifts-title {font-size:18px;font-weight:600;color:var(--color-fg)}
.employee-shifts-message {margin:0}
.employee-shifts-message[data-state="error"] {color:var(--shift-ausente)}
.employee-shifts-nav {display:flex;align-items:center;justify-content:space-between;gap:12px}
.employee-shifts-month {margin:0;font-size:16px;font-weight:600}
.employee-shifts-nav .btn--icon {font-size:20px;line-height:1}
.employee-shifts-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.employee-shifts-weekday {padding:4px 0;text-align:center;font-size:12px;font-weight:500;color:var(--color-muted)}
.employee-shifts-day {display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:0;min-height:76px;padding:6px;
  border:1px solid var(--color-border);border-radius:6px;background:var(--color-surface);color:var(--color-fg);font:inherit;text-align:left;cursor:pointer}
.employee-shifts-day:hover {border-color:var(--color-border-strong)}
.employee-shifts-day:focus-visible {outline:2px solid var(--color-primary);outline-offset:1px}
.employee-shifts-day.is-blank {border:0;background:transparent;cursor:default}
.employee-shifts-day.is-sin-programar,.employee-shifts-day.is-vacio {background:var(--color-surface-alt)}
.employee-shifts-day.is-today .employee-shifts-day__number {background:var(--color-primary);color:var(--color-surface)}
.employee-shifts-day.is-selected {border-color:var(--color-primary);box-shadow:inset 0 0 0 1px var(--color-primary)}
.employee-shifts-day__number {align-self:flex-start;min-width:22px;padding:1px 5px;border-radius:999px;font-size:12px;font-weight:600;text-align:center}
.employee-shifts-day__note {font-size:11px;color:var(--color-muted)}
.employee-shifts-chip {overflow:hidden;padding:2px 4px;border-radius:4px;font-size:11px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;
  background:color-mix(in srgb,var(--shift) 14%,var(--color-surface));color:var(--color-fg);border-left:3px solid var(--shift)}
.employee-shifts-legend {display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;list-style:none;font-size:12px;color:var(--color-muted)}
.employee-shifts-legend li {display:flex;align-items:center;gap:6px}
.employee-shifts-dot {width:10px;height:10px;border-radius:999px;background:var(--shift)}
.employee-shifts-detail {display:grid;gap:10px;padding-top:16px;border-top:1px solid var(--color-border)}
.employee-shifts-detail h4 {margin:0;font-size:15px}
.employee-shifts-detail > .text-muted {margin:0}
.employee-shifts-item {display:grid;gap:10px;padding:12px 16px;border:1px solid var(--color-border);border-left:3px solid var(--shift);border-radius:8px}
.employee-shifts-item__next {margin:0;font-size:12px;font-weight:600;color:var(--shift-programado)}
.employee-shifts-item__head {display:flex;align-items:center;justify-content:space-between;gap:8px}
.employee-shifts-badge {padding:2px 8px;border-radius:999px;font-size:12px;font-weight:500;background:color-mix(in srgb,var(--shift) 14%,var(--color-surface));color:var(--color-fg)}
.employee-shifts-item dl {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:8px;margin:0}
.employee-shifts-item dt {font-size:12px;color:var(--color-muted)}
.employee-shifts-item dd {margin:2px 0 0;overflow-wrap:anywhere}
.employee-shifts-card .is-programado {--shift:var(--shift-programado)}
.employee-shifts-card .is-cumplido {--shift:var(--shift-cumplido)}
.employee-shifts-card .is-novedad {--shift:var(--shift-novedad)}
.employee-shifts-card .is-ausente {--shift:var(--shift-ausente)}
.employee-shifts-card .is-descanso {--shift:var(--shift-descanso)}
@media (max-width:720px) {
  .employee-shifts-grid {gap:2px}
  .employee-shifts-day {align-items:center;min-height:52px;padding:4px 2px;gap:4px}
  .employee-shifts-day__number {align-self:center}
  .employee-shifts-day__note {display:none}
  .employee-shifts-chip {width:8px;height:8px;padding:0;border:0;border-radius:999px;background:var(--shift);font-size:0}
  .employee-shifts-day.is-descanso::after {content:"";width:8px;height:8px;border:1px solid var(--shift-descanso);border-radius:999px}
}
