.supervisor-body{
  min-height:100vh;
  min-height:100dvh;
  background:var(--color-bg);
  color:var(--color-fg)
}
.supervisor-body::before,
.supervisor-body::after{display:none}
.supervisor-root{min-height:100vh;min-height:100dvh}
.supervisor-app{
  min-height:100vh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  background:var(--color-bg)
}
.supervisor-topbar{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:calc(.72rem + env(safe-area-inset-top)) .9rem .72rem;
  background:var(--color-surface);
  border-bottom:1px solid var(--color-border);
  box-shadow:none
}
.supervisor-brand{display:flex;align-items:center;gap:.65rem;min-width:0}

.supervisor-brand__copy{display:grid;gap:.05rem;min-width:0}
.supervisor-brand__eyebrow{
  font-size:.68rem;
  line-height:1;
  color:var(--color-muted);
  text-transform:uppercase;
  letter-spacing:.08em
}
.supervisor-brand__name{
  font-size:1rem;
  line-height:1.15;
  font-weight:800;
  color:var(--color-fg);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.supervisor-brand__zone{
  display:block;
  max-width:54vw;
  color:var(--color-muted);
  font-size:.68rem;
  line-height:1.15;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.supervisor-topbar__actions{
  display:flex;
  align-items:center;
  gap:.45rem;
  flex:0 0 auto
}
.supervisor-profile-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:.4rem .62rem;
  border-radius:8px;
  border:1px solid var(--color-border-strong);
  background:var(--color-surface-alt);
  color:var(--color-fg);
  font-size:.78rem;
  font-weight:800;
  line-height:1.1;
  box-shadow:none
}
.supervisor-profile-btn.is-active{
  background:var(--color-primary-soft);
  color:var(--color-primary-600);
  border-color:var(--color-primary)
}
.supervisor-main{
  flex:1;
  width:100%;
  max-width:760px;
  margin:0 auto;
  padding:.85rem .85rem calc(5.2rem + env(safe-area-inset-bottom))
}
.supervisor-panel{display:none}
.supervisor-panel.is-active{display:grid;gap:.85rem}
.supervisor-hero{
  display:grid;
  gap:.5rem;
  padding:1rem;
  border-radius:8px;
  background:var(--color-surface);
  border:1px solid var(--color-border);
  box-shadow:none
}
.supervisor-hero__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.65rem;
  min-width:0
}
/* Date and contract side by side; the date alone keeps its natural width. */
.supervisor-hero__controls{display:grid;grid-template-columns:minmax(0,190px);gap:.5rem}
.supervisor-hero__controls.has-contract{grid-template-columns:minmax(0,9.5rem) minmax(0,22rem)}
.supervisor-contract{min-width:0}
.supervisor-contract .select{width:100%;max-width:none;min-height:42px;border-radius:8px;background:var(--color-surface);font-size:.92rem}
.supervisor-other-contracts{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .6rem;margin:0;color:#b7791f;font-size:.82rem;font-weight:600;line-height:1.3}
.supervisor-link-btn,html[data-ui] .supervisor-link-btn{padding:.2rem 0;min-height:0;border:0;background:none;color:var(--color-primary-600);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.supervisor-sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.supervisor-title{margin:0;font-size:1.32rem;line-height:1.12;color:var(--color-fg)}
.supervisor-subtitle{margin:0;color:var(--color-muted);font-size:.9rem;line-height:1.35}
.supervisor-subtitle--ok{color:#187a46;font-weight:700}
.supervisor-subtitle--warn{color:#b7791f;font-weight:700}
.supervisor-subtitle--danger{color:#c43d34;font-weight:700}
.supervisor-subtitle--neutral{color:var(--color-muted)}
.supervisor-date{
  display:grid;
  min-width:0
}
.supervisor-date label{font-size:.74rem;color:var(--color-muted)}
.supervisor-date input{
  width:100%;
  min-height:42px;
  max-width:none;
  border-radius:8px;
  font-size:.95rem
}
.supervisor-sync{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  color:var(--color-muted);
  font-size:.78rem;
  white-space:nowrap
}
/* The live day: a green dot while the channel is live, amber while it reloads every minute. */
.supervisor-sync>span{display:inline-flex;align-items:center;gap:.4rem}
.supervisor-sync>span::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:var(--color-border-strong)}
.supervisor-sync--live>span::before{background:#187a46}
.supervisor-sync--polling>span::before{background:#b7791f}
/* One row of four small figures at every width. */
.supervisor-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.4rem
}
.supervisor-kpi{
  display:grid;
  gap:.2rem;
  min-width:0;
  padding:.5rem .55rem;
  border-radius:8px;
  border:1px solid var(--color-border);
  background:var(--color-surface);
  box-shadow:none
}
.supervisor-kpi__label{font-size:.72rem;line-height:1.15;color:var(--color-muted);hyphens:auto}
.supervisor-kpi__value{font-size:1.4rem;line-height:1;font-weight:800;color:var(--color-fg)}
.supervisor-kpi--ok .supervisor-kpi__value{color:#187a46}
.supervisor-kpi--warn .supervisor-kpi__value{color:#b7791f}
.supervisor-kpi--danger .supervisor-kpi__value{color:#c43d34}
.supervisor-kpi--info .supervisor-kpi__value{color:var(--color-primary-600)}
/* In Pendientes the figures are the list's filters: the pressed one is framed in the primary color. */
.supervisor-kpi--filter,html[data-ui] .supervisor-kpi--filter{width:100%;margin:0;font:inherit;text-align:left;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.supervisor-kpi--filter:hover{border-color:var(--color-border-strong)}
.supervisor-kpi--filter.is-active,html[data-ui] .supervisor-kpi--filter.is-active{border-color:var(--color-primary-600);background:var(--color-primary-soft);box-shadow:inset 0 0 0 1px var(--color-primary-600)}
.supervisor-kpi--filter:focus-visible{outline:2px solid var(--color-primary-600);outline-offset:2px}
/* The list's head: the search takes the room left by the order buttons. */
.supervisor-section-head.supervisor-list-head{flex-wrap:nowrap}
.supervisor-list-head .supervisor-list-search{flex:1 1 auto;min-width:0;max-width:none;min-height:42px;border-radius:8px;background:var(--color-surface)}
.supervisor-toolbar{
  display:grid;
  grid-template-columns:1fr;
  gap:.55rem;
  padding:.75rem;
  border-radius:8px;
  background:var(--color-surface);
  border:1px solid var(--color-border)
}
.supervisor-toolbar .input,
.supervisor-toolbar .select{
  max-width:none;
  min-height:44px;
  border-radius:8px;
  background:var(--color-surface)
}
.supervisor-filter-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.55rem
}
/* Above the theme button rules: it shows the novedades left to manage. */
.supervisor-toolbar .supervisor-pending-filter,html[data-ui] .supervisor-toolbar .supervisor-pending-filter{grid-column:1/-1;min-height:44px;font-weight:600;color:#c43d34;border-color:#c43d34;background:var(--color-surface)}
.supervisor-toolbar .supervisor-pending-filter.is-active,html[data-ui] .supervisor-toolbar .supervisor-pending-filter.is-active{background:#c43d34;color:#fff}
/* Order of the list: by name or by sede, in the list's head. */
.supervisor-sort{display:flex;align-items:center;flex:0 0 auto;min-width:0}
.supervisor-sort__group{display:inline-flex;padding:3px;gap:3px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-surface-alt)}
.supervisor-sort__btn,html[data-ui] .supervisor-sort__btn{flex:1 1 0;min-height:36px;padding:0 .8rem;border:0;border-radius:7px;background:transparent;color:var(--color-muted);font:inherit;font-size:.88rem;font-weight:700;cursor:pointer}
.supervisor-sort__btn.is-active,html[data-ui] .supervisor-sort__btn.is-active{background:var(--color-primary-600);color:#fff}
.supervisor-sort__btn:focus-visible{outline:2px solid var(--color-primary-600);outline-offset:2px}
.supervisor-group-head{margin:.45rem 0 0;font-size:.86rem;font-weight:800;color:var(--color-muted);letter-spacing:.01em}
.supervisor-group-head:first-child{margin-top:0}
.supervisor-section-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:.45rem .65rem
}
.supervisor-section-head__title{display:flex;align-items:baseline;gap:.5rem;min-width:0}
.supervisor-section-head h2{
  margin:0;
  font-size:1.02rem;
  line-height:1.15
}
.supervisor-count{font-size:.82rem;color:var(--color-muted)}
.supervisor-list{display:grid;gap:.62rem}
.supervisor-card{
  display:grid;
  gap:.5rem;
  padding:.82rem;
  border-radius:8px;
  border:1px solid var(--color-border);
  background:var(--color-surface);
  box-shadow:none
}
.supervisor-card__main{
  display:grid;
  grid-template-columns:1fr auto;
  gap:.65rem;
  align-items:start
}
.supervisor-card__name{
  margin:0;
  font-size:1rem;
  line-height:1.22;
  color:var(--color-fg)
}
.supervisor-card__meta{
  margin:.22rem 0 0;
  color:var(--color-muted);
  font-size:.84rem;
  line-height:1.35
}
.supervisor-status{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:.28rem .52rem;
  border-radius:999px;
  font-size:.76rem;
  font-weight:700;
  white-space:nowrap;
  border:1px solid transparent
}
.supervisor-status--presente{color:#187a46;background:#187a4612;border-color:#187a4630}
.supervisor-status--pendiente{color:#946200;background:#f59e0b14;border-color:#f59e0b36}
.supervisor-status--novedad{color:#8a3d00;background:#f9731614;border-color:#f9731636}
.supervisor-status--ausente{color:#c43d34;background:#c43d3412;border-color:#c43d3430}
.supervisor-status--neutral{color:var(--color-muted);background:var(--color-surface-alt);border-color:var(--color-border)}
.supervisor-status--libre{color:#187a46;background:#187a4612;border-color:#187a4630}
.supervisor-status--ocupado{color:#8a3d00;background:#f9731614;border-color:#f9731636}
.supervisor-status--sin-salida{color:#9a3412;background:#ea580c14;border-color:#ea580c40}
.supervisor-card__details{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.45rem
}
/* A single detail (the entry before there is an exit) takes the row. */
.supervisor-card__details>:only-child{grid-column:1/-1}
.supervisor-detail{
  padding:.48rem .55rem;
  border-radius:8px;
  background:var(--color-surface-alt);
  border:1px solid var(--color-border);
  min-width:0
}
.supervisor-detail span{
  display:block;
  color:var(--color-muted);
  font-size:.7rem;
  line-height:1.1
}
.supervisor-detail strong{
  display:block;
  margin-top:.15rem;
  color:var(--color-fg);
  font-size:.84rem;
  line-height:1.2;
  overflow-wrap:anywhere
}
.supervisor-detail--ok{
  background:#187a4612;
  border-color:#187a4630
}
.supervisor-detail--ok span,
.supervisor-detail--ok strong{color:#187a46}
.supervisor-detail--danger{
  background:#c43d3412;
  border-color:#c43d3430
}
.supervisor-detail--danger span,
.supervisor-detail--danger strong{color:#c43d34}
.supervisor-detail--warn{
  background:#f9731614;
  border-color:#f9731636
}
.supervisor-detail--warn span,
.supervisor-detail--warn strong{color:#9a3412}
.supervisor-detail__note{
  display:block;
  margin-top:.2rem;
  color:var(--color-muted);
  font-size:.72rem;
  line-height:1.25;
  overflow-wrap:anywhere
}
/* Informative alerts of a marking: another phone, a suspicious location. */
.supervisor-detail__note--alert{
  display:flex;
  align-items:flex-start;
  gap:.3rem;
  color:#c43d34;
  font-weight:600
}
.supervisor-detail__note--alert .app-inline-icon{flex:0 0 auto;width:.85rem;height:.85rem}
html[data-ui="professional"][data-theme="dark"] .supervisor-body .supervisor-detail__note--alert{color:#ff9d96}
.supervisor-turno{
  display:grid;
  gap:.35rem
}
.supervisor-turno__title{
  margin:0;
  color:var(--color-fg);
  font-size:.78rem;
  font-weight:600;
  overflow-wrap:anywhere
}
.supervisor-card__actions{
  display:flex;
  gap:.45rem;
  flex-wrap:wrap
}
/* Call and WhatsApp: one small row, at the end of the card. */
.supervisor-card__actions--contact{justify-content:flex-end}
.supervisor-action.supervisor-action--contact{flex:0 1 auto;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:40px;padding:.35rem .8rem;font-size:.84rem}
.supervisor-action--contact .app-inline-icon__fallback{display:none}
.supervisor-replacement{
  display:grid;
  gap:.38rem;
  padding:.55rem;
  border-radius:8px;
  border:1px solid var(--color-border);
  background:var(--color-surface-alt)
}
.supervisor-replacement label{
  color:var(--color-muted);
  font-size:.74rem;
  font-weight:700
}
.supervisor-replacement__row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:.45rem
}
.supervisor-replacement-select{
  min-height:44px;
  max-width:none;
  border-radius:8px;
  background:var(--color-surface)
}
.supervisor-replacement-save{
  min-height:44px;
  border-radius:8px;
  box-shadow:none
}
.supervisor-replacement-msg{
  margin:0;
  font-size:.78rem;
  line-height:1.3;
  color:var(--color-muted)
}
.supervisor-replacement-msg.is-ok{color:#187a46}
.supervisor-replacement-msg.is-error{color:#c43d34}
.supervisor-action{
  flex:1 1 112px;
  min-height:44px;
  padding:.52rem .62rem;
  border-radius:8px;
  box-shadow:none;
  font-size:.86rem
}
.supervisor-pagination{
  display:grid;
  gap:.55rem;
  padding:.72rem;
  border-radius:8px;
  border:1px solid var(--color-border);
  background:var(--color-surface)
}
.supervisor-pagination__summary{
  color:var(--color-muted);
  font-size:.82rem
}
/* One row at every width: the page label gives way first, then the page-size select narrows down to what its widest
   option (100) needs. */
.supervisor-pagination__controls{
  display:flex;
  align-items:center;
  gap:.45rem;
  flex-wrap:nowrap;
  min-width:0
}
/* select + the parent: above the professional theme's .select (min-width:0), so it never gets narrower than 100. */
.supervisor-pagination select.supervisor-pagination__size{
  flex:0 1 88px;
  width:88px;
  min-width:calc(3ch + 2.2rem);
  min-height:40px;
  padding-inline:.6rem .4rem;
  border-radius:8px
}
.supervisor-page-btn{
  flex:none;
  width:34px;
  height:34px;
  min-height:34px;
  padding:0;
  border-radius:8px;
  box-shadow:none
}
.supervisor-pagination__page{
  flex:0 1 auto;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:var(--color-muted);
  font-size:.82rem;
  text-align:center
}
.supervisor-empty{
  padding:1rem;
  border-radius:8px;
  border:1px dashed var(--color-border-strong);
  background:var(--color-surface);
  color:var(--color-muted);
  line-height:1.45
}
.supervisor-bottom-nav{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:20;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:.25rem;
  padding:.45rem .55rem calc(.45rem + env(safe-area-inset-bottom));
  background:var(--color-surface);
  border-top:1px solid var(--color-border);
  box-shadow:none
}
.supervisor-nav-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--color-muted);
  font:inherit;
  font-size:.78rem;
  font-weight:700;
  cursor:pointer
}
.supervisor-nav-btn__label{
  display:block;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.supervisor-nav-badge{
  position:absolute;
  top:.22rem;
  right:.34rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:1.22rem;
  height:1.22rem;
  padding:0 .34rem;
  border-radius:999px;
  color:var(--color-surface);
  font-size:.62rem;
  font-weight:900;
  line-height:1;
  box-shadow:none
}
.supervisor-nav-badge--warn{background:#f59e0b}
.supervisor-nav-badge--danger{background:#dc2626}
.supervisor-nav-badge--ok{background:#16a34a}
.supervisor-nav-badge--neutral{background:var(--color-muted)}
.supervisor-nav-badge--orange{background:#ea580c}
/* Pendientes carries two bubbles (red entries, orange exits) side by side in its corner. */
.supervisor-nav-badges{position:absolute;top:.22rem;right:.34rem;display:inline-flex;gap:.18rem}
.supervisor-nav-badges .supervisor-nav-badge{position:static}
.supervisor-submenu .supervisor-submenu__link{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.supervisor-submenu__link .supervisor-nav-badge{position:static;flex:0 0 auto}
.supervisor-nav-btn.is-active{
  background:var(--color-primary-soft);
  color:var(--color-primary-600)
}
.supervisor-login{
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  align-items:center;
  padding:1rem;
  background:var(--color-bg)
}
.supervisor-login__inner{
  width:min(100%,430px);
  margin:0 auto;
  display:grid;
  gap:.9rem
}

.supervisor-nav-group{position:relative;min-width:0}
.supervisor-nav-group>.supervisor-nav-btn{width:100%;gap:.35rem}
.supervisor-nav-chevron{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex:0 0 22px;border-radius:50%;background:var(--color-surface-alt);color:currentColor}
.supervisor-nav-chevron svg{display:block;width:20px;height:20px;transition:transform .2s ease}
.supervisor-nav-btn[aria-expanded="true"] .supervisor-nav-chevron{background:var(--color-primary-soft);color:var(--color-primary-600)}
.supervisor-nav-btn[aria-expanded="true"] .supervisor-nav-chevron svg{transform:rotate(180deg)}
@media (prefers-reduced-motion:reduce){.supervisor-nav-chevron svg{transition:none}}
/* On a phone the label and its two bubbles need the room: the submenu still opens on tap. */
@media (max-width:480px){.supervisor-nav-chevron{display:none}}
@media (max-width:340px){.supervisor-bottom-nav .supervisor-nav-btn{padding-left:3px;padding-right:3px}}
.supervisor-submenu{position:absolute;bottom:calc(100% + 14px);left:0;width:min(280px,72vw);padding:.5rem;border:1px solid var(--color-border);border-radius:12px;background:var(--color-surface);box-shadow:0 8px 28px #0002}
#supervisor-submenu-sites{left:auto;right:0}
.supervisor-submenu[hidden]{display:none}
.supervisor-submenu__link{display:block;width:100%;padding:.85rem .75rem;min-height:48px;border:0;border-radius:6px;background:transparent;color:var(--color-fg);font:inherit;font-size:.9rem;text-align:left;cursor:pointer}
.supervisor-submenu__link:hover,.supervisor-submenu__link.is-active{background:var(--color-primary-soft);color:var(--color-primary-600)}
.supervisor-submenu__link:focus-visible,.supervisor-nav-btn:focus-visible{outline:2px solid var(--color-primary-600);outline-offset:2px}

#supervisor-sites-mount{min-width:0}
#supervisor-sites-mount .sede-location-page{margin:0;width:100%;min-width:0}
#supervisor-sites-mount .sede-location-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:.75rem}
#supervisor-sites-mount .sede-location-toolbar>div{min-width:0}
#supervisor-sites-mount :is(.input,.select){width:100%}

.supervisor-login .main-card{
  border-radius:8px;
  box-shadow:none
}
.supervisor-login .btn,
.supervisor-login .input{
  min-height:46px;
  border-radius:8px
}
.supervisor-denied{
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:1rem
}
.supervisor-denied__card{
  width:min(100%,430px);
  display:grid;
  gap:.75rem;
  padding:1rem;
  border-radius:8px;
  border:1px solid var(--color-border);
  background:var(--color-surface)
}
.supervisor-denied__card h1{margin:0;font-size:1.2rem}
.supervisor-denied__card p{margin:0;color:var(--color-muted);line-height:1.45}
@media (min-width:680px){
  .supervisor-main{padding-top:1rem}
  .supervisor-toolbar{grid-template-columns:1.2fr 1fr}
  .supervisor-filter-row{grid-template-columns:1fr 1fr}
  .supervisor-kpi__value{font-size:1.8rem}
}
@media (max-width:420px){
  .supervisor-brand__zone{max-width:48vw}
  .supervisor-replacement__row{grid-template-columns:1fr}
}
@media (max-width:340px){
  .supervisor-card__details{grid-template-columns:1fr}
  .supervisor-hero__controls.has-contract{grid-template-columns:1fr}
  .supervisor-kpi__label{font-size:.63rem}
  .supervisor-section-head.supervisor-list-head{flex-wrap:wrap}
  html[data-ui="professional"] .supervisor-kpis .supervisor-kpi{padding:7px 6px}
}

/* Shared professional portal layout. Keep room for the fixed operational navigation. */
html[data-ui="professional"] .supervisor-body {display:flex;flex-direction:column;min-height:100dvh;color:var(--color-fg)}
html[data-ui="professional"] .supervisor-company-header {width:min(calc(100% - 32px),1120px);margin:0 auto}
html[data-ui="professional"] .supervisor-root {flex:1;min-height:0}
html[data-ui="professional"] :is(.supervisor-app,.supervisor-login,.supervisor-denied) {min-height:0;background:var(--color-bg)}
html[data-ui="professional"] .supervisor-login {padding:24px 16px 40px;align-items:start}
html[data-ui="professional"] .supervisor-login__inner {width:min(100%,480px)}
html[data-ui="professional"] .supervisor-login .login-card {margin:8px auto 0;width:100%;padding:28px}
html[data-ui="professional"] .supervisor-topbar {position:static;width:min(calc(100% - 32px),1120px);margin:0 auto;padding:20px 0;background:transparent;box-shadow:none}
html[data-ui="professional"] .supervisor-main {max-width:1152px;padding:24px 16px}
html[data-ui="professional"] .supervisor-brand__name {font-size:18px;font-weight:600;white-space:normal;overflow-wrap:anywhere}
html[data-ui="professional"] .supervisor-brand__eyebrow {font-size:12px;text-transform:none;letter-spacing:0}
html[data-ui="professional"] .supervisor-brand__zone {font-size:12px}
html[data-ui="professional"] :is(.supervisor-hero,.supervisor-card,.supervisor-kpi,.supervisor-toolbar) {padding:20px;box-shadow:none}
html[data-ui="professional"] .supervisor-panel.is-active {gap:20px}
html[data-ui="professional"] .supervisor-title {font-weight:600;font-size:22px}
html[data-ui="professional"] .supervisor-kpi__value {font-weight:600;font-variant-numeric:tabular-nums}
html[data-ui="professional"] .supervisor-status {border-radius:4px}
html[data-ui="professional"] .supervisor-body .btn {min-height:44px}
html[data-ui="professional"] .supervisor-bottom-nav {background:var(--color-surface);border-color:var(--color-border);box-shadow:none}
html[data-ui="professional"] .supervisor-nav-btn {color:var(--color-muted);font-weight:500}
html[data-ui="professional"] .supervisor-nav-btn.is-active {background:var(--color-primary-soft);color:var(--color-primary-600)}
html[data-ui="professional"][data-theme="dark"] .supervisor-body :is(.supervisor-status--presente,.supervisor-status--libre,.supervisor-subtitle--ok,.supervisor-kpi--ok .supervisor-kpi__value,.supervisor-detail--ok span,.supervisor-detail--ok strong) {color:var(--color-accent)}
html[data-ui="professional"][data-theme="dark"] .supervisor-body .supervisor-status--sin-salida{color:#fdba74}
html[data-ui="professional"][data-theme="dark"] .supervisor-body :is(.supervisor-status--pendiente,.supervisor-status--novedad,.supervisor-status--ocupado,.supervisor-subtitle--warn,.supervisor-kpi--warn .supervisor-kpi__value,.supervisor-other-contracts) {color:#f5c76b}
html[data-ui="professional"][data-theme="dark"] .supervisor-body :is(.supervisor-status--ausente,.supervisor-subtitle--danger,.supervisor-kpi--danger .supervisor-kpi__value,.supervisor-detail--danger span,.supervisor-detail--danger strong) {color:#ff9d96}
html[data-ui="professional"][data-theme="dark"] .supervisor-body :is(.supervisor-detail--warn span,.supervisor-detail--warn strong) {color:#fdba74}
html[data-ui="professional"] .supervisor-kpi {padding:10px 12px}
html[data-ui="professional"] .supervisor-body .btn.supervisor-action--contact {min-height:40px}
@media (max-width:420px) {
  /* A phone: less frame around the lists, so the first people show on the first screen. */
  html[data-ui="professional"] :is(.supervisor-hero,.supervisor-card,.supervisor-toolbar) {padding:14px}
  html[data-ui="professional"] .supervisor-kpi {padding:8px 9px}
  html[data-ui="professional"] .supervisor-topbar {padding:10px 0}
  html[data-ui="professional"] .supervisor-main {padding:12px 12px}
  html[data-ui="professional"] .supervisor-panel.is-active {gap:12px}
  html[data-ui="professional"] .supervisor-title {font-size:19px}
  /* The state stays on the right of the name: the name takes the room left and wraps. */
  html[data-ui="professional"] .supervisor-card__main {grid-template-columns:minmax(0,1fr) auto}
  html[data-ui="professional"] .supervisor-status {justify-self:end;white-space:nowrap}
}
