/* Page modele plein ecran (sans header/footer theme) */
html.lmbr-staff-portal-html,
body.lmbr-staff-portal-page {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  background: #fafaf9;
}

/* Carnet connecte : une seule zone defilante (grille jour / semaine), pas la page entiere. */
html.lmbr-staff-portal-html:has(.lmbr-staff-app.lmbr-staff-app--open),
body.lmbr-staff-portal-page:has(.lmbr-staff-app.lmbr-staff-app--open) {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

body.lmbr-staff-portal-page #wpadminbar {
  display: none !important;
}

/* Un seul ecran a la fois : le theme ne doit pas ecraser [hidden] avec display:flex */
.lmbr-staff-pin-setup {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.lmbr-staff-pin-setup.lmbr-staff-login--hidden,
.lmbr-staff-pin-setup[hidden] {
  display: none !important;
}

.lmbr-staff-input--pin {
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.lmbr-staff-login--hidden,
.lmbr-staff-login[hidden] {
  display: none !important;
}

.lmbr-staff-session-boot[hidden] {
  display: none !important;
}

.lmbr-staff-app {
  display: none !important;
}

/* Verification de session au chargement (evite le flash du formulaire de connexion) */
.lmbr-staff-session-boot {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--lmbr-sp-stone-50);
}

.lmbr-staff-session-boot__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.lmbr-staff-session-boot__mark {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1c1917;
  background: #fff;
  border: 1px solid #fcd34d;
  animation: lmbr-staff-boot-pulse 1.2s ease-in-out infinite;
}

.lmbr-staff-session-boot__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #57534e;
}

@keyframes lmbr-staff-boot-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.88;
  }
}

/* Espace coiffeuse — modele stone / slate (independant WP) */
.lmbr-staff {
  --lmbr-sp-stone-50: #fafaf9;
  --lmbr-sp-stone-100: #f5f5f4;
  --lmbr-sp-stone-200: #e7e5e4;
  --lmbr-sp-stone-400: #a8a29e;
  --lmbr-sp-stone-600: #57534e;
  --lmbr-sp-stone-800: #292524;
  --lmbr-sp-stone-900: #1c1917;
  --lmbr-sp-amber: #fcd34d;
  --lmbr-sp-green: #22c55e;
  --lmbr-sp-red: #ef4444;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--lmbr-sp-stone-800);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}

/* Quand l'app est ouverte, la racine remplit la fenetre pour enchainer flex + min-height: 0 jusqu'au scroll interne. */
.lmbr-staff:has(.lmbr-staff-app.lmbr-staff-app--open) {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.lmbr-staff *,
.lmbr-staff *::before,
.lmbr-staff *::after {
  box-sizing: inherit;
}

/* Login (plein ecran quand seul) */
.lmbr-staff-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--lmbr-sp-stone-50);
}

.lmbr-staff-login__card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--lmbr-sp-stone-200);
  box-shadow: 0 20px 50px rgba(28, 25, 23, 0.08);
}

.lmbr-staff-login__brand {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.lmbr-staff-login__mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  background: #fff;
  color: var(--lmbr-sp-stone-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--lmbr-sp-stone-200);
}

.lmbr-staff-login__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-login__subtitle {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-login__hint {
  font-size: 0.8rem;
  color: var(--lmbr-sp-stone-600);
  margin: 0 0 1.25rem;
}

.lmbr-staff-field {
  display: block;
  margin-bottom: 1rem;
}

.lmbr-staff-field__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lmbr-sp-stone-400);
  margin-bottom: 0.35rem;
}

.lmbr-staff-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--lmbr-sp-stone-200);
  border-radius: 0.75rem;
  background: var(--lmbr-sp-stone-50);
  font-size: 1rem;
}

.lmbr-staff-input:focus {
  outline: 2px solid var(--lmbr-sp-stone-900);
  outline-offset: 1px;
}

.lmbr-staff-msg {
  font-size: 0.85rem;
  color: var(--lmbr-sp-red);
  margin: 0 0 0.75rem;
}

.lmbr-staff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.lmbr-staff-btn:active {
  transform: scale(0.98);
}

.lmbr-staff-btn--primary {
  width: 100%;
  background: var(--lmbr-sp-stone-900);
  color: #fff;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.2);
}

.lmbr-staff-btn--primary:hover {
  box-shadow: 0 12px 28px rgba(28, 25, 23, 0.28);
}

.lmbr-staff-btn--ghost {
  background: transparent;
  color: var(--lmbr-sp-stone-400);
  border: 1px solid #44403c;
}

.lmbr-staff-btn--inline {
  width: auto;
  align-self: flex-start;
}

.lmbr-staff-btn--small {
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
}

/* App layout (visible uniquement avec .lmbr-staff-app--open) */
.lmbr-staff-app.lmbr-staff-app--open {
  display: flex !important;
  flex: 1;
  min-height: 0;
  width: 100%;
  background: var(--lmbr-sp-stone-50);
  border-radius: 0;
  overflow: hidden;
  border: none;
  flex-direction: row;
}

@media (min-width: 900px) {
  .lmbr-staff-app.lmbr-staff-app--open {
    border-radius: 0;
    margin: 0;
  }
}

.lmbr-staff-sidebar {
  width: 100%;
  max-width: 18rem;
  flex-shrink: 0;
  background: var(--lmbr-sp-stone-900);
  color: #fff;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: visible;
}

/* Barre laterale empilee : reserve au telephone (voir staff-portal-tablet.css). */

.lmbr-staff-sidebar__brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2rem;
}

.lmbr-staff-sidebar__mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: #fff;
  color: var(--lmbr-sp-stone-900);
  font-family: Georgia, serif;
  font-weight: 700;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  flex-shrink: 0;
}

.lmbr-staff-sidebar__title {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
}

.lmbr-staff-sidebar__tag {
  margin: 0.2rem 0 0;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--lmbr-sp-stone-400);
  font-weight: 700;
}

.lmbr-staff-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

.lmbr-staff-nav__btn {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: none;
  background: transparent;
  color: var(--lmbr-sp-stone-400);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lmbr-staff-nav__btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lmbr-staff-nav__btn.is-active {
  background: #292524;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.lmbr-staff-sidebar__foot {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #44403c;
  min-width: 0;
}

.lmbr-staff-sidebar__collapse {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--lmbr-sp-stone-400);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.lmbr-staff-sidebar__collapse:hover,
.lmbr-staff-sidebar__collapse:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.lmbr-staff-sidebar__collapse-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lmbr-staff-sidebar__collapse-ico svg {
  display: block;
}

.lmbr-staff-sidebar--collapsed {
  max-width: 5.25rem;
  width: 5.25rem;
  padding: 1.25rem 0.55rem;
  align-items: stretch;
}

.lmbr-staff-sidebar--collapsed .lmbr-staff-sidebar__brand {
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.lmbr-staff-sidebar--collapsed .lmbr-staff-sidebar__brand > div,
.lmbr-staff-sidebar--collapsed .lmbr-staff-sidebar__ver,
.lmbr-staff-sidebar--collapsed .lmbr-staff-nav__label--full,
.lmbr-staff-sidebar--collapsed .lmbr-staff-nav__label--short,
.lmbr-staff-sidebar--collapsed .lmbr-staff-sidebar__collapse-label,
.lmbr-staff-sidebar--collapsed .lmbr-staff-btn--logout__label {
  display: none;
}

.lmbr-staff-sidebar--collapsed .lmbr-staff-nav__ico,
.lmbr-staff-sidebar--collapsed .lmbr-staff-btn--logout__ico {
  display: flex;
  color: #fff;
}

.lmbr-staff-sidebar--collapsed .lmbr-staff-nav {
  gap: 0.35rem;
}

.lmbr-staff-sidebar--collapsed .lmbr-staff-nav__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.2rem;
  min-height: 3.2rem;
  text-align: center;
}

.lmbr-staff-nav__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 0;
}

.lmbr-staff-nav__ico svg,
.lmbr-staff-btn--logout__ico svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.lmbr-staff-sidebar--collapsed .lmbr-staff-sidebar__collapse {
  justify-content: center;
  padding: 0.55rem 0.2rem;
  margin-bottom: 0.65rem;
}

.lmbr-staff-sidebar--collapsed .lmbr-staff-sidebar__collapse-ico {
  transform: rotate(180deg);
}

.lmbr-staff-sidebar--collapsed .lmbr-staff-btn--logout {
  width: 100%;
  justify-content: center;
  padding: 0.65rem 0.25rem;
}

.lmbr-staff-sidebar__ver {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lmbr-sp-stone-400);
  margin: 0 0 0.75rem;
}

.lmbr-staff-main {
  flex: 1;
  min-height: 0;
  padding: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Panneaux : ne pas ecraser [hidden] avec display:flex (sinon tout s'affiche en meme temps). */
.lmbr-staff-main > [data-lmbr-panel][hidden] {
  display: none !important;
}

.lmbr-staff-main > [data-lmbr-panel]:not([hidden]) {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.lmbr-staff-main > [data-lmbr-panel="agenda"]:not([hidden]) {
  overflow: hidden;
}

/* Un peu moins de marge verticale quand le carnet est affiche : + de place pour la grille. */
.lmbr-staff-main:has([data-lmbr-panel="agenda"]:not([hidden])) {
  padding-top: 1.15rem;
  padding-bottom: 1.25rem;
}

/* Panneau Carnet : barre d'outils fixe, seul le carnet (jour / semaine) defile. */
.lmbr-staff-agenda-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lmbr-staff-agenda-panel .lmbr-staff-toolbar {
  flex-shrink: 0;
}

/* Barre carnet : une ligne dense pour laisser la hauteur au calendrier. */
.lmbr-staff-toolbar.lmbr-staff-toolbar--agenda-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  margin-bottom: 0.55rem;
  row-gap: 0.4rem;
}

.lmbr-staff-agenda-panel__title.lmbr-staff-h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}

.lmbr-staff-agenda-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem 0.55rem;
  flex: 1 1 12rem;
  min-width: 0;
}

.lmbr-staff-daynav {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.lmbr-staff-daynav[hidden] {
  display: none !important;
}

.lmbr-staff-daynav--compact {
  flex-shrink: 0;
}

.lmbr-staff-daynav__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  padding: 0;
  border-radius: 0.65rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  color: #44403c;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.05);
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}

.lmbr-staff-daynav__btn:hover {
  border-color: #a8a29e;
  background: #fafaf9;
  color: #1c1917;
}

.lmbr-staff-daynav__btn:active {
  transform: scale(0.97);
}

.lmbr-staff-daynav__btn:focus-visible {
  outline: 2px solid #1c1917;
  outline-offset: 2px;
}

.lmbr-staff-daynav--compact .lmbr-staff-datebar--compact {
  margin-bottom: 0;
}

.lmbr-staff-datebar.lmbr-staff-datebar--compact {
  margin-bottom: 0;
  padding: 0.2rem 0.52rem 0.2rem 0.45rem;
  font-size: 0.8125rem;
  border-radius: 0.65rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  box-shadow: none;
}

.lmbr-staff-datebar--compact .lmbr-staff-datebar__icon {
  font-size: 0.82rem;
  line-height: 1;
}

.lmbr-staff-seg.lmbr-staff-seg--compact {
  padding: 2px;
}

.lmbr-staff-seg--compact .lmbr-staff-seg__btn {
  padding: 0.32rem 0.72rem;
  font-size: 0.74rem;
}

.lmbr-staff-weeknav.lmbr-staff-weeknav--compact {
  gap: 0.32rem;
  flex: 0 1 auto;
}

.lmbr-staff-weeknav--compact .lmbr-staff-weeknav__btn {
  width: 2.05rem;
  height: 1.92rem;
  border-radius: 0.72rem;
}

.lmbr-staff-weeknav--compact .lmbr-staff-weeknav__range {
  min-height: 1.92rem;
  padding: 0 0.48rem;
  font-size: 0.66rem;
  border-radius: 0.72rem;
}

.lmbr-staff-agenda-actions {
  display: inline-flex;
  align-items: stretch;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.lmbr-staff-btn--agenda-slots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem 0.55rem 0.75rem !important;
  border-radius: 0.65rem !important;
  border: 1px solid #1c1917 !important;
  background: #fff !important;
  color: #1c1917 !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.08) !important;
}

.lmbr-staff-btn--agenda-slots__icon {
  font-size: 1rem;
  line-height: 1;
}

.lmbr-staff-btn--agenda-slots:hover,
.lmbr-staff-btn--agenda-slots:focus {
  background: #fafaf9 !important;
  border-color: #292524 !important;
  color: #1c1917 !important;
}

.lmbr-staff-btn--agenda-block {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem !important;
  border-radius: 0.65rem !important;
  border: 1px dashed #57534e !important;
  background: #f5f5f4 !important;
  color: #1c1917 !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

.lmbr-staff-btn--agenda-block:hover,
.lmbr-staff-btn--agenda-block:focus {
  background: #e7e5e4 !important;
  border-color: #1c1917 !important;
  color: #1c1917 !important;
}

.lmbr-staff-btn--agenda-new {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0;
  padding: 0.55rem 1rem 0.55rem 0.7rem !important;
  border-radius: 0.65rem !important;
  border: 1px solid #1c1917 !important;
  background: #1c1917 !important;
  color: #fff !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.18) !important;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.12s ease;
}

.lmbr-staff-btn--agenda-new__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.lmbr-staff-btn--agenda-new:hover,
.lmbr-staff-btn--agenda-new:focus {
  background: #292524 !important;
  border-color: #292524 !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(28, 25, 23, 0.22) !important;
}

.lmbr-staff-btn--agenda-new:active {
  transform: scale(0.98);
}

.lmbr-staff-btn--agenda-new:focus-visible {
  outline: 2px solid #1c1917;
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  .lmbr-staff-toolbar--agenda-compact .lmbr-staff-agenda-actions {
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
    order: 10;
  }

  .lmbr-staff-toolbar--agenda-compact .lmbr-staff-btn--agenda-slots,
  .lmbr-staff-toolbar--agenda-compact .lmbr-staff-btn--agenda-block,
  .lmbr-staff-toolbar--agenda-compact .lmbr-staff-btn--agenda-new {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    justify-content: center;
  }
}

@media (min-width: 1200px) {
  .lmbr-staff-btn--agenda-slots {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .lmbr-staff-agenda-controls {
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
    width: 100%;
  }

  .lmbr-staff-toolbar--agenda-compact .lmbr-staff-daynav--compact {
    width: 100%;
    justify-content: center;
  }

  .lmbr-staff-toolbar--agenda-compact .lmbr-staff-datebar--compact {
    flex: 1;
    justify-content: center;
  }

  .lmbr-staff-toolbar--agenda-compact .lmbr-staff-seg--compact {
    justify-content: center;
    width: 100%;
  }

  .lmbr-staff-toolbar--agenda-compact .lmbr-staff-seg--compact .lmbr-staff-seg__btn {
    flex: 1;
    text-align: center;
  }

  .lmbr-staff-weeknav--compact {
    justify-content: center;
    width: 100%;
  }

  .lmbr-staff-weeknav--compact .lmbr-staff-weeknav__range {
    flex: 1;
    min-width: 0;
  }
}

@media (min-width: 900px) {
  .lmbr-staff-main {
    padding: 2.5rem 3rem;
  }

  .lmbr-staff-main:has([data-lmbr-panel="agenda"]:not([hidden])) {
    padding: 1.35rem 3rem 1.5rem;
  }
}

.lmbr-staff-h1 {
  margin: 0 0 0.5rem;
  font-family: Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-datebar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem 0.4rem 0.75rem;
  background: linear-gradient(180deg, #fffefb 0%, #fff 100%);
  border: 1px solid rgba(231, 229, 228, 0.95);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--lmbr-sp-stone-700);
  margin-bottom: 1.5rem;
  box-shadow:
    inset 0 1px 0 rgba(252, 211, 77, 0.15),
    0 4px 14px rgba(28, 25, 23, 0.05);
}

.lmbr-staff-datebar__icon {
  display: inline-flex;
  opacity: 0.9;
}

.lmbr-staff-datebar__input[type="date"] {
  width: auto !important;
  min-width: 8.5rem;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  font-weight: 600 !important;
  color: var(--lmbr-sp-stone-900) !important;
  cursor: pointer;
}

.lmbr-staff-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.lmbr-staff-agenda-intro {
  flex: 1;
  min-width: min(100%, 22rem);
}

.lmbr-staff-agenda-intro__tagline {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #78716c;
}

.lmbr-staff-agenda-chrome {
  background: #fff;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 1.35rem;
  padding: 0.85rem 1rem;
  box-shadow:
    0 1px 0 rgba(255, 250, 240, 0.8) inset,
    0 12px 32px rgba(28, 25, 23, 0.06);
}

.lmbr-staff-agenda-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.lmbr-staff-agenda-toolbar-row .lmbr-staff-datebar {
  margin-bottom: 0;
}

/*
 * Segmentation Jour / Semaine — style « segmented control » soigné
 */
.lmbr-staff-seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f7f7f6 0%, #efeeed 100%);
  border: 1px solid #e7e5e4;
  box-shadow: inset 0 1px 2px rgba(28, 25, 23, 0.04);
}

.lmbr-staff-seg__btn {
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  padding: 0.52rem 1.15rem;
  border-radius: 999px;
  color: #78716c;
  background: transparent;
  transition:
    background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s,
    box-shadow 0.2s,
    transform 0.18s ease;
}

.lmbr-staff-seg__btn:hover {
  color: var(--lmbr-sp-stone-900);
  background: rgba(255, 255, 255, 0.55);
}

.lmbr-staff-seg__btn.is-active {
  background: linear-gradient(180deg, #292524 0%, #1c1917 100%);
  color: #fdfcfa;
  box-shadow:
    0 10px 24px rgba(28, 25, 23, 0.2),
    0 1px 0 rgba(252, 211, 77, 0.12) inset;
}

.lmbr-staff-seg__btn:active {
  transform: scale(0.98);
}

.lmbr-staff-seg__btn:focus-visible {
  outline: 2px solid var(--lmbr-sp-amber);
  outline-offset: 2px;
}

/* Navigation semaine */
.lmbr-staff-weeknav {
  display: inline-flex;
  align-items: stretch;
  gap: 0.45rem;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-start;
}

.lmbr-staff-weeknav[hidden] {
  display: none !important;
}

.lmbr-staff-weeknav__range {
  display: inline-flex;
  align-items: center;
  padding: 0 0.75rem;
  min-height: 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  color: #57534e;
  text-align: center;
  justify-content: center;
  letter-spacing: 0.015em;
  background: rgba(250, 250, 249, 0.9);
  border-radius: 0.95rem;
  border: 1px solid #ebe9e8;
}

.lmbr-staff-svg-ico {
  display: block;
  flex-shrink: 0;
}

.lmbr-staff-weeknav__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 0.95rem;
  border: 1px solid #e7e5e4;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
  color: #44403c;
  cursor: pointer;
  box-shadow:
    0 1px 2px rgba(28, 25, 23, 0.04),
    inset 0 1px 0 #fff;
  transition:
    border-color 0.18s,
    background 0.18s,
    color 0.18s,
    box-shadow 0.2s,
    transform 0.15s ease;
}

.lmbr-staff-weeknav__btn:hover {
  border-color: rgba(251, 191, 36, 0.65);
  color: var(--lmbr-sp-stone-900);
  background: #fffefb;
  box-shadow:
    0 10px 24px rgba(251, 191, 36, 0.12),
    0 2px 4px rgba(28, 25, 23, 0.04),
    inset 0 1px 0 rgba(253, 230, 138, 0.35);
}

.lmbr-staff-weeknav__btn:active {
  transform: scale(0.96);
}

.lmbr-staff-weeknav__btn:focus-visible {
  outline: 2px solid var(--lmbr-sp-amber);
  outline-offset: 2px;
}

/* CTA principal carnet — ton salon (ambre) */
.lmbr-staff-btn--agenda-add {
  position: relative;
  overflow: hidden;
  width: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  padding: 0.88rem 1.35rem 0.88rem 1.1rem !important;
  border-radius: 1.05rem !important;
  border: 1px solid rgba(217, 119, 6, 0.35) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.02em;
  color: var(--lmbr-sp-stone-900) !important;
  background: linear-gradient(145deg, #fde68a 0%, #fcd34d 42%, #fbbf24 100%) !important;
  box-shadow:
    0 18px 40px rgba(251, 191, 36, 0.25),
    0 6px 12px rgba(28, 25, 23, 0.08),
    inset 0 1px 0 rgba(254, 252, 232, 0.85) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease;
}

.lmbr-staff-btn--agenda-add .lmbr-staff-btn__blob {
  position: absolute;
  inset: auto -35% -60% auto;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 251, 235, 0.55), transparent 60%);
  pointer-events: none;
}

.lmbr-staff-btn--agenda-add .lmbr-staff-btn__glyph {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.72rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(180, 83, 9, 0.12);
}

.lmbr-staff-btn--agenda-add:hover {
  box-shadow:
    0 22px 52px rgba(251, 191, 36, 0.32),
    0 8px 16px rgba(28, 25, 23, 0.1),
    inset 0 1px 0 rgba(254, 252, 232, 0.9) !important;
}

.lmbr-staff-btn--agenda-add:active {
  transform: scale(0.98);
}

.lmbr-staff-btn--agenda-add:focus-visible {
  outline: 2px solid #b45309;
  outline-offset: 3px;
}

.lmbr-staff-btn--agenda-add span:last-child {
  position: relative;
  z-index: 1;
}

.lmbr-staff-grid {
  display: grid;
  gap: 1.5rem;
}

.lmbr-staff-grid.lmbr-staff-grid--agenda {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.lmbr-staff-grid--agenda > [data-lmbr-staff-booking-list] {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lmbr-staff-grid--agenda > [data-lmbr-staff-side] {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 1200px) {
  .lmbr-staff-grid.lmbr-staff-grid--agenda {
    grid-template-columns: 1fr 280px;
  }

  .lmbr-staff-grid.lmbr-staff-grid--agenda.lmbr-staff-grid--agenda-no-side {
    grid-template-columns: 1fr;
  }

  .lmbr-staff-grid--agenda-no-side > [data-lmbr-staff-side] {
    display: none;
  }
}

@media (max-width: 1199px) {
  .lmbr-staff-grid.lmbr-staff-grid--agenda {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: 0;
  }

  .lmbr-staff-grid--agenda > [data-lmbr-staff-booking-list] {
    min-height: 12rem;
  }
}

/* Contenu jour / semaine : remplit la cellule grille ; scroll interne. */
[data-lmbr-staff-booking-list] > .lmbr-staff-daytl-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

[data-lmbr-staff-booking-list] > .lmbr-staff-week-shell {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Vue semaine dans le carnet : occupe toute la hauteur disponible. */
.lmbr-staff-grid--agenda [data-lmbr-staff-booking-list] > .lmbr-staff-week-shell {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lmbr-staff-grid--agenda .lmbr-staff-week-shell__inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lmbr-staff-grid--agenda .lmbr-staff-week {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-x: auto;
  overflow-y: auto;
}

/* Vue jour : carnet grille (axe des heures + RDV positionnés) */
.lmbr-staff-daytl-shell {
  border-radius: 0;
  background: linear-gradient(135deg, #fafaf9 0%, #f5f4f3 52%, #f0eee9 100%);
  border: 1px solid #e9e8e7;
  box-shadow:
    0 26px 50px rgba(28, 25, 23, 0.07),
    0 1px 0 rgba(253, 230, 138, 0.25) inset;
  overflow: hidden;
}

.lmbr-staff-daytl__notice {
  padding: 0.75rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--lmbr-sp-stone-700);
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 100%);
  border-bottom: 1px solid rgba(251, 191, 36, 0.35);
}

.lmbr-staff-daytl-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.lmbr-staff-daytl {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  min-width: min(100%, 520px);
  background: #fffdf8;
  border-bottom: 1px solid rgba(231, 229, 228, 0.85);
}

.lmbr-staff-daytl__sidebar {
  position: relative;
  flex: 0 0 4.35rem;
  width: 4.35rem;
  border-right: 1px solid rgba(120, 113, 108, 0.14);
  background: linear-gradient(180deg, #fafaf9 0%, #f5f4f2 100%);
}

.lmbr-staff-daytl__tick {
  position: absolute;
  left: 0;
  right: 0;
  text-align: right;
  padding-right: 0.48rem;
  transform: translateY(-50%);
  font-size: 0.8125rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #57534e;
  pointer-events: none;
}

.lmbr-staff-daytl__tick span {
  display: inline-block;
  background: rgba(255, 253, 250, 0.97);
  padding: 0.12rem 0.38rem;
  border-radius: 0;
  border: 1px solid rgba(231, 229, 228, 0.9);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}

.lmbr-staff-daytl__canvas {
  position: relative;
  flex: 1;
  min-width: 0;
}

.lmbr-staff-daytl__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.lmbr-staff-daytl__hline {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(120, 113, 108, 0.16);
}

.lmbr-staff-daytl__hline--half {
  background: rgba(120, 113, 108, 0.08);
}

.lmbr-staff-daytl__break {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 0;
  margin: 0 0.28rem;
  background: repeating-linear-gradient(
    -12deg,
    rgba(253, 230, 138, 0.07),
    rgba(253, 230, 138, 0.07) 6px,
    rgba(250, 250, 249, 0.65) 6px,
    rgba(250, 250, 249, 0.65) 12px
  );
  border: 1px dashed rgba(251, 191, 36, 0.28);
}

.lmbr-staff-daytl__events {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0 0.55rem 0 0.35rem;
  isolation: isolate;
}

.lmbr-staff-daytl__apt {
  position: absolute;
  box-sizing: border-box;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0.55rem 0.72rem 0.55rem 0.72rem;
  border-radius: 0;
  border: 1px solid rgba(120, 113, 108, 0.14);
  /* Fond opaque en tête puis transparent : les longs RDV ne remplissent plus tout le rectangle de blanc. */
  background: linear-gradient(
    180deg,
    rgba(255, 254, 251, 0.995) 0,
    rgba(255, 254, 251, 0.97) 132px,
    rgba(255, 254, 251, 0.52) 198px,
    rgba(255, 254, 251, 0.08) 268px,
    rgba(255, 254, 251, 0) 100%
  );
  font-size: 0.875rem;
  line-height: 1.42;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 2px 8px rgba(28, 25, 23, 0.06);
  transition:
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    transform 0.15s ease;
}

/* RDV longs : dégradé plus court pour laisser la grille visible plus tôt. */
.lmbr-staff-daytl__apt--long {
  background: linear-gradient(
    180deg,
    rgba(255, 254, 251, 0.995) 0,
    rgba(255, 254, 251, 0.96) 112px,
    rgba(255, 254, 251, 0.38) 158px,
    rgba(255, 254, 251, 0) 228px,
    rgba(255, 254, 251, 0) 100%
  );
}

.lmbr-staff-daytl__apt:hover {
  transform: none;
  border-color: rgba(120, 113, 108, 0.22);
  box-shadow:
    0 10px 24px rgba(28, 25, 23, 0.1),
    inset 0 1px 0 rgba(253, 230, 138, 0.18);
}

.lmbr-staff-daytl__apt--confirmed {
  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: rgba(34, 197, 94, 0.65);
}

.lmbr-staff-daytl__apt--pending {
  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: rgba(245, 158, 11, 0.85);
}

.lmbr-staff-daytl__apt--block {
  border-left-width: 4px;
  border-left-style: solid;
  border-left-color: #78716c;
  background: repeating-linear-gradient(
    -45deg,
    rgba(231, 229, 228, 0.95),
    rgba(231, 229, 228, 0.95) 8px,
    rgba(245, 245, 244, 0.92) 8px,
    rgba(245, 245, 244, 0.92) 16px
  );
}

.lmbr-staff-daytl__apt-time {
  flex-shrink: 0;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #44403c;
  margin-bottom: 0.28rem;
}

.lmbr-staff-daytl__apt-main {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

/* RDV courts (≤ ~20 min) : typographie un peu plus compacte + prestation sur 2 lignes si besoin. */
.lmbr-staff-daytl__apt--short .lmbr-staff-daytl__apt-time {
  font-size: 0.7rem;
  margin-bottom: 0.18rem;
}

.lmbr-staff-daytl__apt--short .lmbr-staff-daytl__apt-line1 {
  font-size: 0.82rem;
  gap: 0.28rem 0.4rem;
}

.lmbr-staff-daytl__apt--short .lmbr-staff-daytl__apt-line1 .lmbr-staff-badge--tiny {
  font-size: 0.55rem !important;
  padding: 0.16rem 0.38rem !important;
}

.lmbr-staff-daytl__apt--short .lmbr-staff-daytl__apt-line2 {
  font-size: 0.72rem;
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.lmbr-staff-daytl__apt--short .lmbr-staff-daytl__apt-pay {
  font-size: 0.68rem;
  margin-top: 0.18rem;
}

.lmbr-staff-daytl__apt-line1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
  line-height: 1.28;
}

.lmbr-staff-daytl__apt-line1 strong {
  min-width: 0;
  flex: 1 1 6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lmbr-staff-daytl__apt-line1 .lmbr-staff-badge--tiny {
  flex-shrink: 0;
  font-size: 0.625rem !important;
  padding: 0.22rem 0.48rem !important;
  vertical-align: baseline !important;
  letter-spacing: 0.03em !important;
}

.lmbr-staff-daytl__apt-line2 {
  margin-top: 0.05rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #57534e;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lmbr-staff-daytl__apt-line2::before {
  content: "✂ ";
  opacity: 0.65;
  font-size: 0.68rem;
}

.lmbr-staff-daytl__apt-pay {
  margin-top: 0.28rem;
  font-size: 0.72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #15803d;
  letter-spacing: 0.02em;
}

/* Vue semaine : conteneur + grille */
.lmbr-staff-week-shell {
  padding: 0.85rem;
  border-radius: 0;
  background: linear-gradient(135deg, #fafaf9 0%, #f5f4f3 52%, #f0eee9 100%);
  border: 1px solid #e9e8e7;
  box-shadow:
    0 26px 50px rgba(28, 25, 23, 0.07),
    0 1px 0 rgba(253, 230, 138, 0.25) inset;
}

.lmbr-staff-week-shell__inner {
  border-radius: 0;
  overflow: hidden;
  background: #fffefb;
  border: 1px solid rgba(231, 229, 228, 0.8);
}

.lmbr-staff-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(124px, 1fr));
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: min(420px, 55vh);
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 900px) {
  .lmbr-staff-week {
    grid-template-columns: repeat(7, minmax(108px, 1fr));
  }
}

.lmbr-staff-week__col + .lmbr-staff-week__col {
  border-left: 1px solid rgba(231, 229, 228, 0.9);
}

.lmbr-staff-week__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: rgba(253, 252, 251, 0.5);
}

.lmbr-staff-week__col:nth-child(even) {
  background: rgba(250, 250, 249, 0.65);
}

.lmbr-staff-week__colhead {
  flex-shrink: 0;
  text-align: center;
  padding: 0;
  margin: 0;
  border-bottom: none;
}

.lmbr-staff-week__colhead-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06rem;
  padding: 0.72rem 0.38rem;
  margin: 0.55rem 0.42rem 0.28rem;
  border-radius: 0;
  background: rgba(245, 244, 242, 0.65);
  border: 1px solid rgba(228, 227, 225, 0.65);
}

.lmbr-staff-week__colhead--today .lmbr-staff-week__colhead-inner {
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(180deg, #fffefb 0%, #fffbea 95%);
  box-shadow:
    0 14px 32px rgba(251, 191, 36, 0.12),
    0 0 0 1px rgba(252, 211, 77, 0.25);
}

.lmbr-staff-week__colhead--today .lmbr-staff-week__col-dom {
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-week__col-dow {
  display: block;
  font-size: 0.604rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-week__colhead--today .lmbr-staff-week__col-dow {
  color: #ca8a04;
}

.lmbr-staff-week__col-dom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.12rem;
  margin-top: 0;
  border-radius: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-week__colhead--today .lmbr-staff-week__col-dom {
  border: none;
}

.lmbr-staff-week__col-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.35rem 0.52rem 0.65rem;
  min-height: 4rem;
}

.lmbr-staff-badge--tiny {
  font-size: 0.5rem !important;
  padding: 0.2rem 0.45rem !important;
  vertical-align: 0.12em !important;
  letter-spacing: 0.04em !important;
}

.lmbr-staff-week__apt {
  position: relative;
  border-radius: 0;
  border: 1px solid rgba(231, 229, 228, 0.95);
  background: linear-gradient(180deg, #fffefb 0%, #fff 100%);
  padding: 0.5rem 0.72rem 0.55rem 0.72rem;
  font-size: 0.7425rem;
  line-height: 1.4;
  box-shadow:
    0 2px 10px rgba(28, 25, 23, 0.04),
    inset 0 1px 0 rgba(253, 230, 138, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.22s ease,
    border-color 0.18s;
}

.lmbr-staff-week__apt:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(28, 25, 23, 0.09),
    0 1px 0 rgba(253, 230, 138, 0.2) inset;
}

.lmbr-staff-week__apt--confirmed {
  border-left-width: 3px !important;
  border-left-style: solid;
  border-left-color: rgba(74, 222, 128, 0.55);
}

.lmbr-staff-week__apt--pending {
  border-left-width: 3px !important;
  border-left-style: solid;
  border-left-color: rgba(251, 191, 36, 0.7);
}

.lmbr-staff-week__apt--block {
  border-left-width: 3px !important;
  border-left-style: solid;
  border-left-color: #78716c;
  background: repeating-linear-gradient(
    -45deg,
    #f5f5f4,
    #f5f5f4 7px,
    #eceae9 7px,
    #eceae9 14px
  );
}

.lmbr-staff-week__apt-chip {
  display: inline-block;
  font-weight: 800;
  font-size: 0.65rem;
  font-variant-numeric: tabular-nums;
  color: var(--lmbr-sp-stone-900);
  padding: 0.16rem 0.35rem;
  margin-bottom: 0.38rem;
  border-radius: 0;
  background: rgba(250, 250, 249, 1);
  border: 1px solid #eae8e7;
}

.lmbr-staff-week__apt-main {
  display: block;
}

.lmbr-staff-week__apt-line1 {
  word-break: break-word;
}

.lmbr-staff-week__apt-client {
  font-size: inherit;
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-week__apt-line2 {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.lmbr-staff-week__apt-svc {
  display: inline-block;
  color: var(--lmbr-sp-stone-600);
  font-size: 0.65rem;
  line-height: 1.38;
}

.lmbr-staff-week__apt-pay {
  font-size: 0.6rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #15803d;
  background: rgba(34, 197, 94, 0.14);
  padding: 0.1rem 0.35rem;
  border-radius: 0;
  white-space: nowrap;
}

.lmbr-staff-week__apt-svc::before {
  content: "✂ ";
  opacity: 0.55;
  font-size: 0.6rem;
}

.lmbr-staff-week__quickadd {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.48rem 0.52rem;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--lmbr-sp-stone-600);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.14s ease;
}

.lmbr-staff-week__quickadd:hover {
  color: var(--lmbr-sp-stone-900);
  background: rgba(255, 255, 255, 0.8);
}

.lmbr-staff-week__quickadd:active {
  transform: scale(0.985);
}

.lmbr-staff-week__quickadd:focus-visible {
  outline: 2px solid var(--lmbr-sp-amber);
  outline-offset: 2px;
  border-radius: 0;
}

.lmbr-staff-week__quickadd-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.88rem;
  height: 1.88rem;
  border-radius: 0;
  background: linear-gradient(145deg, #fff 0%, #fafaf9 100%);
  border: 2px dashed #d9d8d7;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-week__quickadd:hover .lmbr-staff-week__quickadd-ring {
  border-style: solid;
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(145deg, #fffefb 0%, #fffbea 100%);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.12);
}

.lmbr-staff-week__quickadd-dot {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
}

.lmbr-staff-card {
  background: #fff;
  border: 1px solid var(--lmbr-sp-stone-100);
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(28, 25, 23, 0.04);
}

.lmbr-staff-apt {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-radius: 2rem;
  border: 1px solid var(--lmbr-sp-stone-100);
  background: #fff;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s;
}

.lmbr-staff-apt:hover {
  box-shadow: 0 6px 20px rgba(28, 25, 23, 0.06);
}

.lmbr-staff-apt__time {
  text-align: center;
  min-width: 4.5rem;
  padding-right: 1rem;
  border-right: 1px solid var(--lmbr-sp-stone-100);
}

.lmbr-staff-apt__time strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-apt__time span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lmbr-sp-stone-400);
  font-weight: 700;
}

.lmbr-staff-apt__body {
  flex: 1;
  min-width: 200px;
}

.lmbr-staff-apt__name {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.lmbr-staff-badge {
  display: inline-block;
  font-size: 0.6rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lmbr-staff-badge--ok {
  background: #ecfdf5;
  color: #047857;
}

.lmbr-staff-badge--wait {
  background: #fffbeb;
  color: #b45309;
}

.lmbr-staff-badge--block {
  background: #e7e5e4;
  color: #44403c;
}

.lmbr-staff-meta {
  font-size: 0.85rem;
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-apt__actions {
  display: flex;
  gap: 0.35rem;
}

.lmbr-staff-iconbtn {
  padding: 0.6rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-iconbtn:hover {
  background: var(--lmbr-sp-stone-50);
  border-color: var(--lmbr-sp-stone-200);
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-iconbtn--danger:hover {
  background: #fef2f2;
  color: var(--lmbr-sp-red);
  border-color: #fecaca;
}

.lmbr-staff-slot-empty {
  border: 2px dashed rgba(214, 211, 209, 0.95);
  border-radius: 1.85rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--lmbr-sp-stone-600);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(253, 252, 251, 0.6) 0%, #fffefb 40%);
  box-shadow: inset 0 1px 0 rgba(253, 230, 138, 0.12);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.22s ease;
}

.lmbr-staff-slot-empty:hover {
  border-style: dashed;
  border-color: rgba(251, 191, 36, 0.65);
  color: var(--lmbr-sp-stone-900);
  background: #fffefb;
  box-shadow:
    inset 0 1px 0 rgba(253, 230, 138, 0.22),
    0 10px 28px rgba(251, 191, 36, 0.09);
}

.lmbr-staff-slot-empty span:first-child {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  font-weight: 400;
}

.lmbr-staff-panel-dark {
  background: var(--lmbr-sp-stone-900);
  color: #fff;
  border-radius: 2.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.lmbr-staff-panel-dark h3 {
  margin: 0 0 0.85rem;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
}

.lmbr-staff-panel-dark__subtitle {
  margin: -0.35rem 0 1rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #a8a29e;
  font-weight: 500;
}

.lmbr-staff-statrow {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #44403c;
  font-size: 0.9rem;
}

.lmbr-staff-statrow:last-child {
  border-bottom: none;
}

.lmbr-staff-cancelled {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid #44403c;
}

.lmbr-staff-cancelled__title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fca5a5;
}

.lmbr-staff-cancelled__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lmbr-staff-cancelled__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #44403c;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.15s ease;
}

.lmbr-staff-cancelled__item:last-child {
  border-bottom: none;
}

.lmbr-staff-cancelled__item:hover,
.lmbr-staff-cancelled__item:focus {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.lmbr-staff-cancelled__time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #e7e5e4;
}

.lmbr-staff-cancelled__main {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.lmbr-staff-cancelled__client {
  font-weight: 600;
  color: #fafaf9;
}

.lmbr-staff-cancelled__service {
  font-size: 0.82rem;
  color: #a8a29e;
}

.lmbr-staff-cancelled__reason {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #d6d3d1;
  font-style: italic;
}

.lmbr-staff-synth-detail-btn {
  display: block;
  width: 100%;
  margin-top: 1.2rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.lmbr-staff-synth-detail-btn:hover,
.lmbr-staff-synth-detail-btn:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.lmbr-staff-modal__box.lmbr-staff-modal__box--pay-synth {
  width: min(28rem, 100%);
  max-height: min(88vh, 42rem);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lmbr-staff-modal__box--pay-synth .lmbr-staff-modal__head {
  padding: 1.35rem 1.35rem 0.15rem;
  margin-bottom: 0;
}

.lmbr-staff-pay-synth__lead {
  margin: 0;
  padding: 0 1.35rem 0.75rem;
  font-size: 0.85rem;
  color: #78716c;
}

.lmbr-staff-modal__body--pay-synth {
  overflow: auto;
  padding: 0 1.25rem 1.25rem;
}

.lmbr-staff-pay-synth__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.lmbr-staff-pay-synth__card {
  border: 1px solid #e7e5e4;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: #fafaf9;
}

.lmbr-staff-pay-synth__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.lmbr-staff-pay-synth__who {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.lmbr-staff-pay-synth__time {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #78716c;
}

.lmbr-staff-pay-synth__client {
  font-size: 0.98rem;
  color: #1c1917;
}

.lmbr-staff-pay-synth__service {
  font-size: 0.82rem;
  color: #78716c;
}

.lmbr-staff-pay-synth__amount {
  flex: 0 0 auto;
  font-size: 0.95rem;
  font-weight: 800;
  color: #166534;
  white-space: nowrap;
}

.lmbr-staff-pay-synth__amount--empty {
  color: #a8a29e;
  font-weight: 600;
}

.lmbr-staff-pay-synth__details {
  margin-top: 0.45rem;
}

.lmbr-staff-pay-synth__line {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #57534e;
}

.lmbr-staff-pay-synth__line--empty {
  color: #a8a29e;
  font-style: italic;
}

.lmbr-staff-pay-synth__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0.95rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid #e7e5e4;
  font-size: 0.88rem;
  color: #57534e;
}

.lmbr-staff-pay-synth__total strong {
  font-size: 1.05rem;
  color: #166534;
}

.lmbr-staff-detail-cancel-reason {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
}

.lmbr-staff-slots-panel {
  margin-top: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.75rem;
  background: #fff;
  border: 1px solid var(--lmbr-sp-stone-200);
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.05);
}

.lmbr-staff-slots-panel__title {
  margin: 0 0 0.85rem;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #1c1917;
}

.lmbr-staff-slots-panel__hint {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #78716c;
}

.lmbr-staff-field--slots-panel {
  margin-bottom: 0.65rem;
}

.lmbr-staff-input--slots-panel {
  font-size: 0.875rem;
}

.lmbr-staff-btn--slots-panel {
  width: 100%;
  justify-content: center;
  font-size: 0.8125rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #1c1917;
  color: #fff;
  border: none;
}

.lmbr-staff-btn--slots-panel:hover,
.lmbr-staff-btn--slots-panel:focus {
  background: #292524;
  color: #fff;
}

@media (max-width: 1199px) and (orientation: portrait), (max-width: 767px) {
  .lmbr-staff-grid.lmbr-staff-grid--agenda:not(.lmbr-staff-grid--agenda-no-side) > [data-lmbr-staff-side] {
    display: none !important;
  }

  .lmbr-staff-grid.lmbr-staff-grid--agenda:not(.lmbr-staff-grid--agenda-no-side) {
    grid-template-rows: 1fr !important;
  }
}

.lmbr-staff-modal--slots-ahead {
  padding: 1rem;
}

.lmbr-staff-modal__box--slots-ahead {
  width: min(36rem, 100%);
  max-height: min(88vh, 42rem);
  display: flex;
  flex-direction: column;
}

.lmbr-staff-modal__body--slots-ahead {
  overflow: auto;
  padding: 0 1.25rem 1.25rem;
}

.lmbr-staff-slots-ahead__lead {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: #78716c;
  line-height: 1.45;
}

.lmbr-staff-slots-ahead__body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.lmbr-staff-slots-ahead-day__title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1c1917;
}

.lmbr-staff-slot-grid-inner--ahead {
  gap: 0.35rem;
}

.lmbr-staff-slot-pill--ahead {
  font-size: 0.8125rem;
  padding: 0.35rem 0.65rem;
}

.lmbr-staff-settings-block {
  background: #fff;
  border-radius: 2.5rem;
  border: 1px solid var(--lmbr-sp-stone-200);
  overflow: hidden;
}

.lmbr-staff-settings-head {
  padding: 1.5rem 2rem;
  background: var(--lmbr-sp-stone-50);
  border-bottom: 1px solid var(--lmbr-sp-stone-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lmbr-staff-settings-body {
  padding: 1.5rem 2rem;
}

.lmbr-staff-dayrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--lmbr-sp-stone-100);
  margin-bottom: 0.5rem;
}

.lmbr-staff-dayrow.is-off {
  opacity: 0.55;
  background: var(--lmbr-sp-stone-50);
}

.lmbr-staff-switch {
  position: relative;
  width: 3.5rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.lmbr-staff-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lmbr-staff-switch span {
  position: absolute;
  inset: 0;
  background: var(--lmbr-sp-stone-200);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}

.lmbr-staff-switch span::after {
  content: "";
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.lmbr-staff-switch input:checked + span {
  background: var(--lmbr-sp-stone-900);
}

.lmbr-staff-switch input:checked + span::after {
  transform: translateX(1.55rem);
}

.lmbr-staff-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(28, 25, 23, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lmbr-staff-sidebar__collapse--hint {
  color: #fff !important;
  border-color: var(--lmbr-sp-amber) !important;
  box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.45);
  animation: lmbr-staff-hint-pulse 1.4s ease-in-out infinite;
}

@keyframes lmbr-staff-hint-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(252, 211, 77, 0.18);
  }
}

.lmbr-staff-bubble {
  position: fixed;
  z-index: 100001;
  width: 15.5rem;
  transform: translateY(-50%);
  background: #fff;
  color: var(--lmbr-sp-stone-900);
  border-radius: 1rem;
  padding: 0.95rem 1.05rem 1rem;
  box-shadow: 0 16px 40px rgba(28, 25, 23, 0.22);
  border: 1px solid #e7e5e4;
}

.lmbr-staff-bubble__arrow {
  position: absolute;
  left: -8px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: #fff;
  border-left: 1px solid #e7e5e4;
  border-bottom: 1px solid #e7e5e4;
  transform: rotate(45deg);
}

.lmbr-staff-bubble .lmbr-staff-tip__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b45309;
}

.lmbr-staff-bubble .lmbr-staff-tip__title {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-bubble .lmbr-staff-tip__text {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-bubble .lmbr-staff-btn--small {
  width: 100%;
  background-color: #1c1917 !important;
  color: #fff !important;
  border: 2px solid #1c1917 !important;
  -webkit-appearance: none;
  appearance: none;
}

.lmbr-staff-modal--detail {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(28, 25, 23, 0.48);
  padding: clamp(0.65rem, 2.5vw, 1.35rem);
  align-items: flex-end;
}

@media (min-width: 560px) {
  .lmbr-staff-modal--detail {
    align-items: center;
  }
}

.lmbr-staff-modal__box {
  background: #fff;
  border-radius: 1.75rem;
  max-width: 28rem;
  width: 100%;
  padding: 2rem;
  max-height: 90vh;
  overflow: auto;
}

.lmbr-staff-modal__box--detail {
  max-width: min(62rem, calc(100vw - 1.4rem));
  padding: 0;
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 760px);
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 24px 48px rgba(28, 25, 23, 0.2);
  border: 1px solid #e7e5e4;
  background: #fff;
}

.lmbr-staff-modal__body--detail {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1rem 1.15rem 1.25rem;
  background: #fafaf9;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 560px) {
  .lmbr-staff-modal__body--detail {
    padding: 1.15rem 1.35rem 1.35rem;
  }
}

.lmbr-staff-detail-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.35fr);
  gap: 1rem;
  align-items: start;
}

.lmbr-staff-detail-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}

.lmbr-staff-detail-main {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.lmbr-staff-detail-main > * + * {
  margin-top: 0;
}

.lmbr-staff-detail-sidecard,
.lmbr-staff-detail-step {
  border: 1px solid #e7e5e4;
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}

.lmbr-staff-detail-sidecard {
  padding: 0.9rem 1rem;
  background: #fff;
}

.lmbr-staff-detail-sidecard--client {
  background: #fff;
  border-left: 3px solid #1c1917;
}

.lmbr-staff-detail-sidecard__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--lmbr-sp-stone-500);
}

.lmbr-staff-detail-sidecard__title {
  margin: 0 0 0.8rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1c1917;
}

.lmbr-staff-detail-summary-list {
  margin: 0;
  display: grid;
  gap: 0;
}

.lmbr-staff-detail-summary-list > div {
  display: grid;
  grid-template-columns: 5.4rem 1fr;
  gap: 0.55rem;
  padding: 0.58rem 0;
  border-top: 1px solid rgba(231, 229, 228, 0.9);
}

.lmbr-staff-detail-summary-list > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.lmbr-staff-detail-summary-list > div:last-child {
  padding-bottom: 0;
}

.lmbr-staff-detail-summary-list dt {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-summary-list dd {
  margin: 0;
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--lmbr-sp-stone-900);
  word-break: break-word;
}

.lmbr-staff-detail-main .lmbr-staff-detail-step {
  padding: 0.95rem;
}

.lmbr-staff-detail-main .lmbr-staff-detail-banner {
  box-shadow: none;
}

@media (max-width: 860px) {
  .lmbr-staff-detail-layout {
    grid-template-columns: 1fr;
  }

  .lmbr-staff-detail-sidebar {
    position: static;
  }
}

@media (max-width: 520px) {
  .lmbr-staff-modal__box--detail {
    max-height: 94vh;
    border-radius: 1.15rem 1.15rem 0 0;
  }

  .lmbr-staff-detail-summary-list > div {
    grid-template-columns: 1fr;
    gap: 0.18rem;
  }
}

/* En-tête détail RDV — contraste élevé, sans dégradé doré */
.lmbr-staff-detail-hero {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem;
  background: #1c1917;
  border-bottom: 1px solid #292524;
  color: #fafaf9;
}

@media (min-width: 560px) {
  .lmbr-staff-detail-hero {
    padding: 1.2rem 1.35rem;
  }
}

.lmbr-staff-detail-hero__main {
  min-width: 0;
  flex: 1;
}

.lmbr-staff-detail-hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #a8a29e;
}

.lmbr-staff-detail-hero__ref {
  font-variant-numeric: tabular-nums;
  color: #d6d3d1;
}

.lmbr-staff-detail-hero__title {
  margin: 0 0 0.35rem;
  font-family: inherit;
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  word-break: break-word;
}

.lmbr-staff-detail-hero__meta {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  color: #d6d3d1;
}

.lmbr-staff-detail-hero__when {
  margin: 0 0 0.12rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-detail-hero__when-main {
  font-family: Georgia, "Times New Roman", serif;
}

.lmbr-staff-detail-hero__when-sep {
  font-weight: 600;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-hero__when-hours {
  font-variant-numeric: tabular-nums;
}

.lmbr-staff-detail-hero__ymd {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-hero__svc {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-detail-hero__svc-note {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-contactbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.55rem 1.25rem;
  padding: 0.15rem 0 0;
  margin: 0;
}

/* Bloc coordonnées : titre de section */
.lmbr-staff-detail-block__header {
  margin: 0 0 0.75rem;
  padding: 0 0 0.75rem;
  border-bottom: 2px solid var(--lmbr-sp-stone-800);
}

.lmbr-staff-detail-block__title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-detail-step__kicker {
  margin: 0 0 0.38rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--lmbr-sp-stone-500);
}

.lmbr-staff-detail-step__header {
  margin: 0 0 0.55rem;
  padding: 0 0 0.65rem;
  border-bottom: 1px solid #e7e5e4;
}

.lmbr-staff-detail-step__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-detail-step {
  margin: 0;
  padding: 0.95rem 1rem;
}

.lmbr-staff-detail-banner {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.65rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #991b1b;
}

.lmbr-staff-detail-banner strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.84rem;
}

.lmbr-staff-detail-step__num {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.4rem;
  background: #f5f5f4;
  color: #44403c;
  border: 1px solid #e7e5e4;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lmbr-staff-detail-step__label {
  flex: 1;
  min-width: 0;
}

.lmbr-staff-detail-step__lead {
  margin: 0 0 0.95rem;
  padding-left: 2.28rem;
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--lmbr-sp-stone-600);
}

@media (max-width: 420px) {
  .lmbr-staff-detail-step__lead {
    padding-left: 0;
  }
}

.lmbr-staff-detail-contactbar__link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  max-width: 100%;
  font-size: 0.84rem;
  font-weight: 700;
  color: #1c1917 !important;
  text-decoration: none !important;
  border-radius: 0.65rem;
  padding: 0.35rem 0.55rem;
  margin: -0.35rem -0.55rem;
  transition: background 0.12s ease;
}

.lmbr-staff-detail-contactbar__link:hover {
  background: #f5f5f4;
}

.lmbr-staff-detail-contactbar__link--mail {
  word-break: break-word;
}

.lmbr-staff-detail-contactbar__lbl {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-contactbar__missing {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-section {
  margin-top: 1.25rem;
}

.lmbr-staff-detail-section:first-child {
  margin-top: 0.15rem;
}

.lmbr-staff-detail-section__title {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-fields .lmbr-staff-field--detail:last-child {
  margin-bottom: 0;
}

.lmbr-staff-modal__body--detail .lmbr-staff-field--full {
  width: 100%;
}

.lmbr-staff-detail-panel {
  margin: 0;
}

.lmbr-staff-detail-panel--soft {
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  border-radius: 0.65rem;
  padding: 0.85rem 0.95rem 0.95rem;
}

.lmbr-staff-modal--detail .lmbr-staff-input,
.lmbr-staff-modal--detail .lmbr-staff-input--select,
.lmbr-staff-modal--detail .lmbr-staff-input--textarea {
  background: #fff !important;
  color: #1c1917 !important;
  border: 1px solid #d6d3d1 !important;
}

.lmbr-staff-modal--detail .lmbr-staff-field__label {
  color: #57534e;
  font-weight: 600;
}

.lmbr-staff-detail-sched__row--tight {
  margin-bottom: 0.35rem;
}

.lmbr-staff-detail-sched__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin: 0.55rem 0 0.45rem;
}

.lmbr-staff-slot-hint--detail {
  margin: 0 !important;
  flex: 1 1 12rem;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--lmbr-sp-stone-600) !important;
}

.lmbr-staff-slot-grid--detail {
  max-height: 12.5rem;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.55rem 0.65rem;
  margin: 0;
  border-radius: 0.65rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  scrollbar-width: thin;
}

.lmbr-staff-slot-grid--detail .lmbr-staff-slot-grid-inner {
  gap: 0.4rem;
}

.lmbr-staff-modal__box--detail .lmbr-staff-slot-pill {
  font-size: 0.8rem;
  padding: 0.42rem 0.78rem;
}

.lmbr-staff-detail-hero__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.lmbr-staff-detail-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #1c1917 !important;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  transition: background 0.15s ease;
}

.lmbr-staff-detail-quick:hover {
  background: #e7e5e4;
}

.lmbr-staff-detail-hero__close {
  flex-shrink: 0;
  margin-top: -0.15rem;
  margin-right: -0.1rem;
  color: #fafaf9 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.lmbr-staff-detail-hero__close:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

.lmbr-staff-modal--detail .lmbr-staff-detail-hero .lmbr-staff-badge--ok {
  background: #dcfce7 !important;
  color: #166534 !important;
}

.lmbr-staff-modal--detail .lmbr-staff-detail-hero .lmbr-staff-badge--wait {
  background: #fef9c3 !important;
  color: #854d0e !important;
}

.lmbr-staff-modal--detail .lmbr-staff-detail-hero .lmbr-staff-badge--muted {
  background: #f5f5f4 !important;
  color: #57534e !important;
}

/* Pied fixe — actions toujours visibles */
.lmbr-staff-detail-foot {
  flex-shrink: 0;
  padding: 0.85rem 1.25rem 1.05rem;
  background: #fff;
  border-top: 1px solid #e7e5e4;
}

@media (min-width: 560px) {
  .lmbr-staff-detail-foot {
    padding: 0.95rem 1.45rem 1.15rem;
  }
}

.lmbr-staff-detail-foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.lmbr-staff-detail-foot__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.lmbr-staff-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.lmbr-staff-modal__head h3 {
  margin: 0;
  font-family: Georgia, serif;
}

.lmbr-staff-detail-list {
  margin: 0;
}

.lmbr-staff-detail-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 7.25rem) 1fr;
  gap: 0.35rem 0.85rem;
  align-items: start;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--lmbr-sp-stone-100);
}

.lmbr-staff-detail-row:last-child {
  border-bottom: none;
}

.lmbr-staff-detail-k {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-v {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--lmbr-sp-stone-900);
  word-break: break-word;
}

.lmbr-staff-detail-v a {
  color: #1c1917;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lmbr-staff-detail-meta {
  font-weight: 500;
  color: var(--lmbr-sp-stone-400);
  font-size: 0.78rem;
}

.lmbr-staff-detail-notes {
  white-space: pre-wrap;
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.45;
}

.lmbr-staff-detail-row--muted .lmbr-staff-detail-v {
  color: var(--lmbr-sp-stone-400);
  font-size: 0.8rem;
  font-weight: 500;
}

.lmbr-staff-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lmbr-sp-stone-100);
}

.lmbr-staff-badge--muted {
  background: #f5f5f4 !important;
  color: #57534e !important;
}

.lmbr-staff-week__apt[data-booking-id],
.lmbr-staff-daytl__apt[data-booking-id],
.lmbr-staff-week__apt[data-time-off-id],
.lmbr-staff-daytl__apt[data-time-off-id] {
  cursor: pointer;
}

.lmbr-staff-modal--detail .lmbr-staff-btn--ghost {
  background: transparent !important;
  color: var(--lmbr-sp-stone-600) !important;
  border: 1px solid var(--lmbr-sp-stone-200) !important;
}

.lmbr-staff-detail-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lmbr-sp-stone-100);
}

.lmbr-staff-field--detail {
  margin-bottom: 1rem;
}

.lmbr-staff-detail-pay {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lmbr-sp-stone-100);
}

.lmbr-staff-detail-pay__hint {
  margin: 0.35rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--lmbr-sp-stone-500);
}

.lmbr-staff-detail-pay-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--lmbr-sp-stone-100);
}

.lmbr-staff-detail-pay-extra {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px dashed #e7e5e4;
}

.lmbr-staff-detail-pay-extra__title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-field--inline-extra-label {
  flex: 1 1 12rem;
  margin-bottom: 0 !important;
}

.lmbr-staff-detail-pay-extra__hint {
  margin: 0.4rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--lmbr-sp-stone-500);
}

.lmbr-staff-detail-pay-total {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #166534;
}

.lmbr-staff-modal--detail .lmbr-staff-input--select {
  width: 100%;
  cursor: pointer;
}

.lmbr-staff-input--textarea {
  min-height: 4.5rem;
  resize: vertical;
  font-family: inherit;
}

.lmbr-staff-detail-sched__title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-detail-sched__hint {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-detail-sched__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 0.65rem;
}

.lmbr-staff-field--inline-date {
  flex: 1 1 11rem;
  margin-bottom: 0 !important;
}

.lmbr-staff-field--inline-dur {
  flex: 0 1 9rem;
  margin-bottom: 0 !important;
}

.lmbr-staff-detail-actions--split {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
}

.lmbr-staff-detail-actions__right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.lmbr-staff-modal--detail .lmbr-staff-btn--primary {
  background-color: #1c1917 !important;
  color: #fff !important;
  border: 2px solid #1c1917 !important;
}

.lmbr-staff-modal--detail .lmbr-staff-btn--primary:hover,
.lmbr-staff-modal--detail .lmbr-staff-btn--primary:focus {
  background-color: #292524 !important;
  border-color: #292524 !important;
}

.lmbr-staff-foot-actions {
  padding: 1.5rem 2rem;
  background: var(--lmbr-sp-stone-50);
  border-top: 1px solid var(--lmbr-sp-stone-100);
  display: flex;
  justify-content: flex-end;
}

/*
 * Modale « Nouveau rendez-vous » : certains thèmes forcent button/input
 * (fond blanc + texte blanc, bordures à zéro). On rescope sous .lmbr-staff-modal__box.
 */
.lmbr-staff-modal__box .lmbr-staff-btn--primary {
  background-color: #1c1917 !important;
  color: #fff !important;
  border: 2px solid #1c1917 !important;
  -webkit-appearance: none;
  appearance: none;
}

.lmbr-staff-modal__box .lmbr-staff-btn--primary:hover,
.lmbr-staff-modal__box .lmbr-staff-btn--primary:focus {
  background-color: #292524 !important;
  color: #fff !important;
  border-color: #292524 !important;
}

.lmbr-staff-modal__box .lmbr-staff-input,
.lmbr-staff-modal__box select.lmbr-staff-input {
  border: 1px solid #e7e5e4 !important;
  background-color: #fafaf9 !important;
  color: #1c1917 !important;
}

/* Suggestions clients — nouveau RDV manuel */
.lmbr-staff-modal__box .lmbr-staff-client-suggest {
  margin: -0.25rem 0 0.5rem;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #e7e5e4;
  border-radius: 10px;
  background: #fafaf9;
}

.lmbr-staff-modal__box .lmbr-staff-client-suggest__hint {
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #78716c;
  border-bottom: 1px solid #e7e5e4;
}

.lmbr-staff-modal__box .lmbr-staff-client-suggest__btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-bottom: 1px solid #e7e5e4;
  background: transparent;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.35;
  cursor: pointer;
  color: #1c1917;
}

.lmbr-staff-modal__box .lmbr-staff-client-suggest__btn:last-child {
  border-bottom: 0;
}

.lmbr-staff-modal__box .lmbr-staff-client-suggest__btn:hover {
  background: rgba(41, 37, 36, 0.06);
}

/* Créneaux (pastilles comme le site public) */
.lmbr-staff-field--slots .lmbr-staff-slot-hint {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #78716c;
}

.lmbr-staff-slot-grid-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.lmbr-staff-slot-pill {
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid #e7e5e4;
  border-radius: 999px;
  background: #fafaf9;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1c1917;
  cursor: pointer;
}

.lmbr-staff-slot-pill:hover {
  border-color: #a8a29e;
  background: #fff;
}

.lmbr-staff-slot-pill.is-selected {
  background: #292524;
  border-color: #292524;
  color: #fff;
}

.lmbr-staff-slot-pill--busy {
  opacity: 0.55;
  border-style: dashed;
}

.lmbr-staff-field__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #78716c;
  line-height: 1.35;
}

.lmbr-staff-field__opt {
  font-weight: 400;
  font-size: 0.75rem;
  color: #a8a29e;
}

.lmbr-staff-field__hint--warn {
  color: #b45309;
  font-weight: 500;
}

.lmbr-staff-manual-time-box {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border: 2px solid #dc2626;
  border-radius: 1rem;
  background: #fef2f2;
}

.lmbr-staff-manual-time-box__title {
  margin: 0 0 0.45rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #991b1b;
}

.lmbr-staff-manual-time-box__text {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #7f1d1d;
}

.lmbr-staff-field--manual-time {
  margin-bottom: 0;
}

.lmbr-staff-field__label--block {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-weight: 600;
}

/* Pages réglages / prestations / clients (lisible même si le thème neutralise les tableaux) */
.lmbr-staff-page-inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 0.5rem 2rem;
}

.lmbr-staff-page-inner--wide {
  max-width: 64rem;
}

.lmbr-staff-muted {
  color: #78716c;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.lmbr-staff-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1rem 1.25rem;
  padding: 1rem 0;
}

.lmbr-staff-form-grid--inline {
  grid-template-columns: 1fr 6rem auto;
  align-items: end;
}

/* Salon : page « Horaires, réglages et congés » */
.lmbr-staff-salon-page {
  max-width: 72rem;
}

.lmbr-staff-salon-intro {
  margin-bottom: 2rem;
  max-width: 42rem;
}

.lmbr-staff-salon-intro__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.28rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lmbr-sp-stone-700);
  background: linear-gradient(180deg, #fffefb 0%, #fafaf9 100%);
  border: 1px solid var(--lmbr-sp-stone-200);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
}

.lmbr-staff-salon-intro__title {
  margin-bottom: 0.75rem;
}

.lmbr-staff-salon-intro__lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-salon-page__layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1040px) {
  .lmbr-staff-salon-page__layout {
    grid-template-columns: minmax(0, 1.22fr) minmax(21rem, 1fr);
    gap: 1.5rem 2rem;
    align-items: stretch;
  }

  .lmbr-staff-salon-page__aside {
    position: sticky;
    top: 1rem;
    min-width: 0;
  }
}

.lmbr-staff-salon-page__primary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

.lmbr-staff-settings-block--salon {
  box-shadow: 0 6px 28px rgba(28, 25, 23, 0.06);
}

.lmbr-staff-settings-head--salon.lmbr-staff-settings-head {
  align-items: flex-start;
}

.lmbr-staff-settings-head--timeoff {
  background: linear-gradient(135deg, #fffefb 0%, #fafaf9 55%, #fff9eb 100%);
  border-bottom-color: rgba(252, 211, 77, 0.35);
}

.lmbr-staff-settings-body--salon-general {
  padding-top: 1.25rem;
}

.lmbr-staff-salon-fieldset {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--lmbr-sp-stone-100);
}

.lmbr-staff-salon-fieldset:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.lmbr-staff-salon-fieldset__title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-form-grid--salon {
  padding: 0;
  gap: 1rem 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

.lmbr-staff-form-grid--salon > .lmbr-staff-field {
  margin-bottom: 0;
}

/* Colonne principale : deux champs côte à côte quand il y a la place */
.lmbr-staff-form-grid--salon.lmbr-staff-form-grid--salon-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 479px) {
  .lmbr-staff-form-grid--salon.lmbr-staff-form-grid--salon-2col {
    grid-template-columns: minmax(0, 1fr);
  }
}

.lmbr-staff-field--salon-toggle {
  padding: 0.85rem 1rem;
  margin-top: 0.25rem;
  background: var(--lmbr-sp-stone-50);
  border-radius: 1rem;
  border: 1px solid var(--lmbr-sp-stone-100);
}

.lmbr-staff-field__label--checkbox {
  margin: 0;
  font-weight: 600;
  color: var(--lmbr-sp-stone-800);
  cursor: pointer;
}

.lmbr-staff-settings-body--salon-weekly {
  padding-bottom: 0;
}

.lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow:last-child {
  margin-bottom: 0;
}

.lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow:nth-child(even):not(.is-off) {
  background: rgba(250, 250, 249, 0.85);
}

/* Semaine type : jour + interrupteur à gauche ; horaires sur 2 lignes pleine largeur (évite chevauchements) */
@media (min-width: 560px) {
  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow--full {
    display: grid;
    grid-template-columns: minmax(4.5rem, 6.5rem) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.45rem 1rem;
    padding: 0.85rem 1.15rem;
    align-items: center;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__label {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    min-width: 0;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-switch {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__times {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__breaks {
    grid-column: 3;
    grid-row: 2;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
    padding-top: 0.4rem;
    margin-top: 0.1rem;
    border-top: 1px dashed var(--lmbr-sp-stone-200);
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__hint {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__times .lmbr-staff-input[type="time"],
  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__breaks .lmbr-staff-input[type="time"] {
    flex: 0 0 auto;
    width: auto;
    min-width: 6.75rem;
    max-width: none;
  }
}

@media (max-width: 559px) {
  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow--full {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "daylabel toggle"
      "times times"
      "breaks breaks";
    align-items: center;
    gap: 0.55rem 0.75rem;
    padding: 0.85rem 1rem;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__label {
    grid-area: daylabel;
    min-width: 0;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-switch {
    grid-area: toggle;
    justify-self: end;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__times {
    grid-area: times;
    width: 100%;
    flex-wrap: wrap;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__breaks {
    grid-area: breaks;
    width: 100%;
    flex-wrap: wrap;
  }

  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__times .lmbr-staff-input[type="time"],
  .lmbr-staff-settings-body--salon-weekly .lmbr-staff-dayrow__breaks .lmbr-staff-input[type="time"] {
    flex: 1 1 auto;
    min-width: 4.5rem;
    max-width: none;
  }
}

.lmbr-staff-foot-actions--salon {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.lmbr-staff-foot-actions__hint {
  margin: 0;
  flex: 1 1 12rem;
  font-size: 0.8125rem;
  color: var(--lmbr-sp-stone-600);
  line-height: 1.45;
}

.lmbr-staff-settings-body--salon-timeoff {
  padding-top: 1.25rem;
}

.lmbr-staff-salon-timeoff-add {
  padding: 1rem 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #fafaf9 0%, #fff 100%);
  border: 1px solid var(--lmbr-sp-stone-100);
  border-radius: 1.25rem;
}

.lmbr-staff-salon-timeoff-add__label,
.lmbr-staff-salon-timeoff-list__label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-salon-timeoff-list__label {
  margin-bottom: 0.5rem;
}

.lmbr-staff-form-grid--timeoff {
  padding: 0;
  align-items: end;
  grid-template-columns: minmax(0, 1fr);
}

/* Colonne droite : adapter aux largeurs réelles (évite des champs trop étroits) */
.lmbr-staff-salon-page__aside {
  container-type: inline-size;
  container-name: lmbr-salon-aside;
}

@container lmbr-salon-aside (min-width: 22.5rem) {
  .lmbr-staff-salon-page__aside .lmbr-staff-form-grid--timeoff {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lmbr-staff-salon-page__aside .lmbr-staff-form-grid--timeoff .lmbr-staff-field--full {
    grid-column: 1 / -1;
  }

  .lmbr-staff-salon-page__aside .lmbr-staff-form-grid--timeoff > .lmbr-staff-btn {
    grid-column: 1 / -1;
    width: 100%;
    justify-self: stretch;
  }
}

@supports not (container-type: inline-size) {
  @media (min-width: 1180px) {
    .lmbr-staff-salon-page__aside .lmbr-staff-form-grid--timeoff {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmbr-staff-salon-page__aside .lmbr-staff-form-grid--timeoff .lmbr-staff-field--full {
      grid-column: 1 / -1;
    }

    .lmbr-staff-salon-page__aside .lmbr-staff-form-grid--timeoff > .lmbr-staff-btn {
      grid-column: 1 / -1;
      width: 100%;
    }
  }
}

.lmbr-staff-table-wrap--salon-timeoff {
  margin-top: 0;
}

.lmbr-staff-settings-block--timeoff .lmbr-staff-table-wrap {
  font-variant-numeric: tabular-nums;
}

.lmbr-staff-table--salon-timeoff td {
  vertical-align: middle;
}

@container lmbr-salon-aside (max-width: 21rem) {
  .lmbr-staff-settings-block--timeoff .lmbr-staff-table--salon-timeoff {
    font-size: 0.8125rem;
  }

  .lmbr-staff-settings-block--timeoff .lmbr-staff-table th,
  .lmbr-staff-settings-block--timeoff .lmbr-staff-table td {
    padding: 0.5rem 0.55rem;
  }
}

.lmbr-staff-salon-timeoff__title {
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-settings-block--timeoff .lmbr-staff-table__empty {
  text-align: center;
  color: var(--lmbr-sp-stone-500);
  font-size: 0.875rem;
  padding: 1.25rem 1rem !important;
}

@media (max-width: 640px) {
  .lmbr-staff-form-grid--inline {
    grid-template-columns: 1fr;
  }
}

.lmbr-staff-field--full {
  grid-column: 1 / -1;
}

.lmbr-staff-field--row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lmbr-staff-table-wrap {
  overflow-x: auto;
  margin: 0.5rem 0 0;
  border-radius: 0.75rem;
  border: 1px solid var(--lmbr-sp-stone-100);
  background: #fff;
}

.lmbr-staff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #1c1917;
}

.lmbr-staff-table th,
.lmbr-staff-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #e7e5e4;
  vertical-align: top;
}

.lmbr-staff-table th {
  background: #fafaf9;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #57534e;
}

.lmbr-staff-table tr:last-child td {
  border-bottom: none;
}

/* --- Page Clients (liste + fiche) --- */
.lmbr-staff-clients-page {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 0.5rem 2rem;
}

.lmbr-staff-clients-page__head {
  margin-bottom: 1.25rem;
}

.lmbr-staff-clients-page__title {
  margin-bottom: 0.35rem;
}

.lmbr-staff-clients-page__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #78716c;
  max-width: 36rem;
}

.lmbr-staff-clients-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.lmbr-staff-clients-toolbar__search {
  flex: 1 1 14rem;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e7e5e4;
  background: #fff;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
}

.lmbr-staff-clients-toolbar__icon {
  color: #a8a29e;
  font-size: 1rem;
  line-height: 1;
}

.lmbr-staff-input--clients-search {
  border: none;
  box-shadow: none;
  padding: 0.4rem 0;
  background: transparent;
  flex: 1;
  min-width: 0;
}

.lmbr-staff-input--clients-search:focus {
  outline: none;
}

.lmbr-staff-clients-toolbar__count {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #57534e;
  white-space: nowrap;
}

.lmbr-staff-clients-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  min-height: min(70vh, 640px);
}

.lmbr-staff-clients-list-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: min(70vh, 640px);
}

.lmbr-staff-clients-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  padding: 0.25rem;
  border-radius: 1.25rem;
  border: 1px solid #e7e5e4;
  background: #fafaf9;
  flex: 1;
  min-height: 12rem;
}

.lmbr-staff-clients-empty {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: #78716c;
  text-align: center;
  padding: 0.5rem;
}

.lmbr-staff-clients-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}

.lmbr-staff-clients-card:hover {
  border-color: #d6d3d1;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.06);
}

.lmbr-staff-clients-card.is-active {
  border-color: #1c1917;
  background: #fffefb;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.08);
}

.lmbr-staff-clients-card__avatar {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1c1917;
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fcd34d;
}

.lmbr-staff-clients-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.lmbr-staff-clients-card__name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #1c1917;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lmbr-staff-clients-card__meta {
  font-size: 0.78rem;
  color: #78716c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lmbr-staff-clients-detail {
  min-height: 12rem;
  border-radius: 1.5rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  box-shadow: 0 6px 28px rgba(28, 25, 23, 0.06);
  overflow: hidden;
}

.lmbr-staff-clients-detail__placeholder,
.lmbr-staff-clients-detail__loading,
.lmbr-staff-clients-detail__error {
  padding: 2.5rem 1.75rem;
  text-align: center;
  color: #78716c;
}

.lmbr-staff-clients-detail__placeholder-title {
  margin: 0 0 0.5rem;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: #1c1917;
}

.lmbr-staff-clients-detail__placeholder-lead {
  margin: 0 auto;
  max-width: 22rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.lmbr-staff-clients-detail__inner {
  padding: 1.25rem 1.5rem 1.5rem;
  max-height: min(70vh, 640px);
  overflow-y: auto;
}

.lmbr-staff-clients-detail__back {
  display: none;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0;
  border: none;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #57534e;
  cursor: pointer;
}

.lmbr-staff-clients-detail__hero {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #f5f5f4;
}

.lmbr-staff-clients-detail__avatar {
  flex-shrink: 0;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #1c1917;
  background: linear-gradient(145deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #fcd34d;
}

.lmbr-staff-clients-detail__hero-text h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.lmbr-staff-clients-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.lmbr-staff-clients-detail__block {
  margin-bottom: 1.25rem;
}

.lmbr-staff-clients-detail__block h3 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #78716c;
}

.lmbr-staff-clients-detail__count {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: #f5f5f4;
  color: #57534e;
  vertical-align: middle;
}

.lmbr-staff-clients-detail__notes {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #44403c;
  white-space: pre-wrap;
}

.lmbr-staff-clients-detail__empty {
  margin: 0;
  font-size: 0.88rem;
  color: #a8a29e;
}

.lmbr-staff-client-bookings__item--btn {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.lmbr-staff-client-bookings__item--btn:hover,
.lmbr-staff-client-bookings__item--btn:focus {
  background: #fafaf9;
  outline: none;
}

@media (max-width: 767px) {
  .lmbr-staff-clients-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lmbr-staff-clients-list-wrap {
    max-height: 42vh;
  }

  .lmbr-staff-clients-detail {
    display: none;
  }

  .lmbr-staff-clients-layout--detail-open .lmbr-staff-clients-list-wrap {
    display: none;
  }

  .lmbr-staff-clients-layout--detail-open .lmbr-staff-clients-detail {
    display: block;
  }

  .lmbr-staff-clients-detail__back {
    display: inline-block;
  }

  .lmbr-staff-clients-detail__inner {
    max-height: none;
  }
}

.lmbr-staff-client-bookings {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lmbr-staff-client-bookings__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #e7e5e4;
}

.lmbr-staff-client-bookings__item:last-child {
  border-bottom: none;
}

.lmbr-staff-client-bookings__when {
  font-weight: 600;
}

.lmbr-staff-client-bookings__service {
  grid-column: 1;
  color: #57534e;
  font-size: 0.9rem;
}

.lmbr-staff-client-bookings__notes {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: #78716c;
}

.lmbr-staff-dayrow--full {
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.lmbr-staff-dayrow__label {
  min-width: 5.5rem;
  font-weight: 700;
}

.lmbr-staff-dayrow__hint {
  font-size: 0.7rem;
  color: #a8a29e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lmbr-staff-dayrow__times,
.lmbr-staff-dayrow__breaks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

/* --- Prestations (espace coiffeuse) : mise en page --- */
.lmbr-staff-page-inner--wide.lmbr-staff-services-page {
  max-width: 72rem;
}

.lmbr-staff-services-intro {
  margin-bottom: 2rem;
  max-width: 44rem;
}

.lmbr-staff-services-intro__title {
  margin-bottom: 0.65rem;
}

.lmbr-staff-services-intro__lead {
  margin: 0;
  font-size: 1rem;
  color: var(--lmbr-sp-stone-600);
  line-height: 1.55;
}

.lmbr-staff-services-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lmbr-staff-services-panel {
  box-shadow: 0 6px 28px rgba(28, 25, 23, 0.06);
}

.lmbr-staff-settings-head--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.lmbr-staff-settings-head__text {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.lmbr-staff-settings-head__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-settings-head__hint {
  font-size: 0.8125rem;
  color: var(--lmbr-sp-stone-600);
  font-weight: 500;
  line-height: 1.45;
  max-width: 36rem;
}

.lmbr-staff-settings-body--flush {
  padding: 0;
}

.lmbr-staff-subsection {
  margin-bottom: 1.75rem;
}

.lmbr-staff-subsection:last-child {
  margin-bottom: 0;
}

.lmbr-staff-subsection__title {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--lmbr-sp-stone-400);
}

.lmbr-staff-subsection__lead {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--lmbr-sp-stone-600);
  line-height: 1.55;
}

.lmbr-staff-subsection__lead strong {
  color: var(--lmbr-sp-stone-800);
  font-weight: 700;
}

.lmbr-staff-services-editor .lmbr-staff-subsection:first-child .lmbr-staff-form-grid {
  padding-top: 0;
}

.lmbr-staff-fold {
  border: 1px solid var(--lmbr-sp-stone-200);
  border-radius: 1rem;
  background: #fafaf9;
  padding: 0;
  overflow: hidden;
}

.lmbr-staff-fold__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.85rem 1.05rem;
  margin: 0;
}

.lmbr-staff-fold__summary::-webkit-details-marker {
  display: none;
}

.lmbr-staff-fold__title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--lmbr-sp-stone-500);
}

.lmbr-staff-fold__title::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.45rem;
  color: var(--lmbr-sp-stone-400);
  transition: transform 0.15s ease;
}

.lmbr-staff-fold[open] .lmbr-staff-fold__title::before {
  transform: rotate(90deg);
}

.lmbr-staff-fold__hint {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lmbr-sp-stone-500);
}

.lmbr-staff-fold .lmbr-staff-subsection__lead,
.lmbr-staff-fold .lmbr-staff-variants-panel {
  padding-left: 1.05rem;
  padding-right: 1.05rem;
}

.lmbr-staff-fold .lmbr-staff-variants-panel {
  padding-bottom: 1rem;
}

.lmbr-staff-form-grid--service {
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
}

.lmbr-staff-field--narrow {
  max-width: 7.5rem;
}

@media (max-width: 640px) {
  .lmbr-staff-field--narrow {
    max-width: none;
  }
}

.lmbr-staff-field--toggle {
  grid-column: 1 / -1;
}

.lmbr-staff-active-toggle {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--lmbr-sp-stone-200);
  background: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lmbr-sp-stone-800);
  max-width: 26rem;
}

.lmbr-staff-active-toggle input {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  accent-color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-input--textarea {
  min-height: 5.5rem;
  resize: vertical;
}

/* Phases */
.lmbr-staff-seg-panel {
  padding: 1rem 1rem 0.5rem;
  background: linear-gradient(165deg, var(--lmbr-sp-stone-50) 0%, #fff 48%);
  border-radius: 1.35rem;
  border: 1px dashed var(--lmbr-sp-stone-200);
}

.lmbr-staff-seg-row {
  display: flex;
  gap: 0.9rem;
  align-items: stretch;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--lmbr-sp-stone-100);
  margin-bottom: 0.55rem;
  box-shadow: 0 1px 3px rgba(28, 25, 23, 0.04);
}

.lmbr-staff-seg-row:last-child {
  margin-bottom: 0;
}

.lmbr-staff-seg-row--work {
  border-left: 4px solid var(--lmbr-sp-amber);
}

.lmbr-staff-seg-row--gap {
  border-left: 4px solid #94a3b8;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.08) 0%, #fff 42%);
}

.lmbr-staff-variant-row {
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--lmbr-sp-stone-200);
  border-radius: 1rem;
  background: #fff;
}

.lmbr-staff-variant-row__main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-bottom: 0.75rem;
}

.lmbr-staff-variant-segs__hint {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--lmbr-sp-stone-500);
}

.lmbr-staff-seg-panel--variant {
  padding: 0.65rem 0.75rem 0.35rem;
}

.lmbr-staff-seg-row--compact {
  margin-bottom: 0.4rem;
  padding: 0.5rem 0.65rem;
}

.lmbr-staff-seg-index {
  flex-shrink: 0;
  align-self: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--lmbr-sp-stone-900);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lmbr-staff-seg-fields {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 7rem);
  gap: 0.65rem 1rem;
  align-items: end;
}

@media (max-width: 520px) {
  .lmbr-staff-seg-fields {
    grid-template-columns: 1fr;
  }
}

.lmbr-staff-field--seg-type .lmbr-staff-field__label,
.lmbr-staff-field--seg-min .lmbr-staff-field__label {
  font-size: 0.62rem;
}

.lmbr-staff-input--seg {
  font-weight: 600;
}

.lmbr-staff-input--seg-min {
  font-weight: 700;
  text-align: center;
}

/* Boutons */
.lmbr-staff-btn--fit {
  width: auto;
}

.lmbr-staff-btn--primary.lmbr-staff-btn--fit {
  min-width: 10.5rem;
}

.lmbr-staff-btn--rowact {
  margin-left: 0.35rem;
}

.lmbr-staff-btn--rowact:first-child {
  margin-left: 0;
}

.lmbr-staff-btn--danger-outline {
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  color: #b91c1c !important;
}

.lmbr-staff-btn--danger-outline:hover {
  background: rgba(254, 226, 226, 0.35) !important;
}

.lmbr-staff-foot-actions--services {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Tableaux & badges */
.lmbr-staff-code-chip {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.4rem;
  background: var(--lmbr-sp-stone-100);
  color: var(--lmbr-sp-stone-700);
  border: 1px solid var(--lmbr-sp-stone-200);
  font-family: ui-monospace, monospace;
}

.lmbr-staff-svc-name,
.lmbr-staff-cat-name {
  font-weight: 700;
  color: var(--lmbr-sp-stone-900);
}

.lmbr-staff-svc-meta {
  font-size: 0.875rem;
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-svc-price {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.lmbr-staff-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.lmbr-staff-pill--segment {
  background: rgba(252, 211, 77, 0.42);
  color: #92400e;
}

.lmbr-staff-pill--muted {
  background: var(--lmbr-sp-stone-100);
  color: var(--lmbr-sp-stone-600);
}

.lmbr-staff-pill--on {
  background: rgba(34, 197, 94, 0.22);
  color: #166534;
}

.lmbr-staff-pill--off {
  background: var(--lmbr-sp-stone-100);
  color: var(--lmbr-sp-stone-500);
}

.lmbr-staff-table__actions {
  text-align: right;
  white-space: nowrap;
}

.lmbr-staff-table__empty {
  text-align: center;
  color: var(--lmbr-sp-stone-400);
  font-size: 0.9rem;
  padding: 1.5rem 1rem !important;
}

.lmbr-staff-table--compact th,
.lmbr-staff-table--compact td {
  padding: 0.55rem 0.75rem;
  font-size: 0.875rem;
}

.lmbr-staff-table-wrap--catalog {
  margin: 0;
  border: none;
  border-top: 1px solid var(--lmbr-sp-stone-100);
  border-radius: 0;
  background: #fff;
}

.lmbr-staff-form-grid--cat-add {
  padding-bottom: 1.25rem;
}

/* Prestations : telephone */
@media (max-width: 767px) {
  .lmbr-staff-services-page {
    padding-bottom: 0.5rem;
  }

  .lmbr-staff-services-intro {
    margin-bottom: 1.25rem;
  }

  .lmbr-staff-services-intro__lead {
    font-size: 0.9rem;
  }

  .lmbr-staff-services-stack {
    gap: 1.1rem;
  }

  .lmbr-staff-services-page .lmbr-staff-settings-head,
  .lmbr-staff-services-page .lmbr-staff-settings-body {
    padding: 1rem 1rem;
  }

  .lmbr-staff-services-page .lmbr-staff-settings-head__title {
    font-size: 1.05rem;
  }

  .lmbr-staff-services-page .lmbr-staff-form-grid,
  .lmbr-staff-services-page .lmbr-staff-form-grid--service {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.5rem 0 0.25rem;
  }

  .lmbr-staff-services-page .lmbr-staff-form-grid--cat-add {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-bottom: 1rem;
  }

  .lmbr-staff-services-page .lmbr-staff-form-grid--cat-add > .lmbr-staff-btn {
    width: 100%;
    min-height: 2.85rem;
    justify-content: center;
  }

  .lmbr-staff-services-page .lmbr-staff-field--full,
  .lmbr-staff-services-page .lmbr-staff-field--toggle {
    grid-column: 1 / -1;
  }

  .lmbr-staff-services-page .lmbr-staff-active-toggle {
    max-width: none;
    width: 100%;
    min-height: 2.85rem;
  }

  .lmbr-staff-services-page .lmbr-staff-input,
  .lmbr-staff-services-page select.lmbr-staff-input,
  .lmbr-staff-services-page .lmbr-staff-input--textarea {
    min-height: 2.85rem;
    font-size: 16px;
  }

  .lmbr-staff-services-page .lmbr-staff-input--textarea {
    min-height: 6.5rem;
  }

  .lmbr-staff-services-page .lmbr-staff-subsection {
    margin-bottom: 1.25rem;
  }

  .lmbr-staff-services-page .lmbr-staff-subsection__lead {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
  }

  .lmbr-staff-services-page .lmbr-staff-seg-panel {
    padding: 0.75rem 0.65rem 0.35rem;
  }

  .lmbr-staff-services-page .lmbr-staff-seg-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    padding: 0.8rem 0.85rem;
  }

  .lmbr-staff-services-page .lmbr-staff-seg-index {
    align-self: flex-start;
  }

  .lmbr-staff-services-page .lmbr-staff-seg-fields {
    grid-template-columns: 1fr 5.5rem;
    gap: 0.55rem;
    width: 100%;
  }

  .lmbr-staff-services-panel--editor .lmbr-staff-foot-actions--services {
    position: sticky;
    bottom: calc(4.65rem + env(safe-area-inset-bottom));
    z-index: 6;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin: 0.5rem -1rem -1rem;
    padding: 0.85rem 1rem;
    background: rgba(250, 250, 249, 0.97);
    border-top: 1px solid var(--lmbr-sp-stone-200);
    box-shadow: 0 -10px 28px rgba(28, 25, 23, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .lmbr-staff-services-panel--editor .lmbr-staff-foot-actions--services .lmbr-staff-btn {
    width: 100%;
    min-width: 0;
    min-height: 2.9rem;
    justify-content: center;
  }

  .lmbr-staff-services-panel--catalog .lmbr-staff-table-wrap {
    margin: 0 -0.25rem;
    border-radius: 0.75rem;
  }

  .lmbr-staff-services-panel--catalog .lmbr-staff-table__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-start;
  }

  .lmbr-staff-services-panel--catalog .lmbr-staff-btn--rowact {
    margin: 0;
    min-height: 2.5rem;
    padding: 0.45rem 0.7rem;
  }
}

@media (max-width: 640px) {
  .lmbr-staff-table__actions {
    white-space: normal;
  }

  .lmbr-staff-table__actions .lmbr-staff-btn--rowact {
    display: inline-block;
    margin: 0.25rem 0.25rem 0 0;
  }
}

.lmbr-staff-brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.lmbr-staff-notify-host {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 100080;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: min(22.5rem, calc(100vw - 2rem));
  pointer-events: none;
}

.lmbr-staff-notify {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 1.15rem;
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.18);
  cursor: pointer;
  animation: lmbr-staff-notify-in 0.35s ease;
}

.lmbr-staff-notify.is-leaving {
  animation: lmbr-staff-notify-out 0.28s ease forwards;
}

@keyframes lmbr-staff-notify-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes lmbr-staff-notify-out {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

.lmbr-staff-notify__logo,
.lmbr-staff-notify__mark {
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  object-fit: cover;
  background: #1c1917;
}

.lmbr-staff-notify__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fcd34d;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 0.82rem;
}

.lmbr-staff-notify__kicker {
  margin: 0 0 0.12rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b45309;
}

.lmbr-staff-notify__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #1c1917;
}

.lmbr-staff-notify__meta {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #57534e;
}

.lmbr-staff-notify__close {
  align-self: start;
  border: 0;
  background: transparent;
  color: #a8a29e;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem;
}

.lmbr-staff-notify__close:hover {
  color: #1c1917;
}

.lmbr-staff-notify-prompt {
  position: fixed;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  z-index: 100081;
  width: min(34rem, calc(100vw - 1.5rem));
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: #1c1917;
  color: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 20px 48px rgba(28, 25, 23, 0.28);
}

.lmbr-staff-notify-prompt__logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.lmbr-staff-notify-prompt__text {
  flex: 1 1 auto;
  min-width: 0;
}

.lmbr-staff-notify-prompt__title {
  margin: 0;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
}

.lmbr-staff-notify-prompt__lead {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #d6d3d1;
}

.lmbr-staff-notify-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}

.lmbr-staff-notify-prompt .lmbr-staff-btn--ghost {
  color: #e7e5e4;
  border-color: #44403c;
}

.lmbr-staff-notify-prompt .lmbr-staff-btn--primary {
  background: #fcd34d;
  color: #1c1917;
  border: 0;
}

.lmbr-staff-notify-prompt--ios {
  align-items: flex-start;
}

.lmbr-staff-notify-prompt__steps {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #e7e5e4;
}

.lmbr-staff-notify-prompt__steps li + li {
  margin-top: 0.12rem;
}

@media (max-width: 640px) {
  .lmbr-staff-notify-host {
    top: auto;
    bottom: 5.5rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
  }

  .lmbr-staff-notify-prompt {
    flex-wrap: wrap;
    bottom: 0.75rem;
  }

  .lmbr-staff-notify-prompt__actions {
    width: 100%;
    justify-content: flex-end;
  }
}
