#page-root .login-input {
  background: var(--bg-surface-raised);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
#page-root .login-input::placeholder {
  color: var(--text-muted);
}
.search {
  flex: 1;
}
.search svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.dd-natif {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
select.dd-natif {
  left: 0;
  top: 0;
  width: 1px;
  min-width: 0;
  max-width: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.dd {
  position: relative;
}
.dd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: var(--h-control,40px);
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--fill-field,transparent);
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.dd-btn:hover {
  border-color: var(--border-stronger);
}
.dd-btn[aria-expanded="true"] {
  border-color: var(--accent);
}
.dd-btn svg {
  width: 16px;
  height: 16px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  transition: transform .16s;
}
.dd-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.dd-val.vide {
  color: var(--text-muted);
}
.dd-liste {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-popover,var(--bg-surface));
  box-shadow: var(--shadow-popover,0 8px 24px rgba(0,0,0,.35));
}
.dd-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
}
.dd-opt > span:first-child {
  flex: 1;
}
.dd-opt:hover {
  background: var(--bg-surface-hover);
}
.dd-opt.active {
  background: var(--accent-bg);
  color: var(--accent-t);
}
.dd-opt svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  flex: none;
}
.dd-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
}
.dd-btn:disabled {
  opacity: .55;
  cursor: default;
}
@media (max-width: 767px) {
  .search input,
  .cmdk-input-row input {
    align-self: stretch;
  }
  .search {
    max-width: 100% !important;
    flex: 1 1 100%;
  }
}
:where(button, a[href], select, textarea, [tabindex="0"], input:not(.search input, .cmdk-input-row input)):focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--ds-border-strong) transparent;
}
:focus-visible {
  outline: none;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  box-shadow: var(--focus-ring) !important;
  outline: none !important;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea,
.set-input,
.cal-f-input,
.search,
.login-input {
  color: var(--ds-text) !important;
  font: 400 13px/1.4 var(--ds-font) !important;
  box-shadow: none !important;
  transition: border-color 120ms ease, box-shadow 120ms ease !important;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}
.search input {
  min-height: 0 !important;
  padding: 0 !important;
}
.search svg {
  width: 14px;
  height: 14px;
  color: var(--ds-text-3);
}
.search input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
  height: 100%;
}
input:focus,
select:focus,
textarea:focus,
.search:focus-within,
.pc-cherche:focus-within {
  box-shadow: 0 0 0 2px var(--ds-border-strong) !important;
  border: 0 !important;
}
.search input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.pc-cherche input:not([type="checkbox"]) {
  background: transparent !important;
}
@media (max-width: 767px) {
  html:root:root body #page-root#page-root .search input {
    height: auto;
  }
}
input.date-cache {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  clip: rect(0 0 0 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
button.date-bouton.date-vide > span {
  color: var(--ds-text-3, #a1a1aa);
}
button.date-bouton > span::first-letter {
  text-transform: uppercase;
}
.date-panneau {
  width: 268px;
  user-select: none;
}
.date-panneau button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.date-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.date-tete b {
  font-weight: 600;
}
.date-tete button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.date-tete svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.date-grille {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.date-grille i {
  font-style: normal;
  font-size: 11px;
  color: var(--ds-text-3, #a1a1aa);
  text-align: center;
  padding: 4px 0 6px;
}
.date-jour {
  height: 32px;
  border-radius: 8px !important;
  font-size: 13px !important;
}
.date-jour.date-hors {
  color: var(--ds-text-3, #a1a1aa);
  opacity: .55;
}
.date-jour.date-passe:not(.date-choisi) {
  color: var(--ds-text-3, #a1a1aa);
}
.date-jour.date-auj {
  box-shadow: inset 0 0 0 1px var(--ds-border-strong, #d4d4d8);
  font-weight: 600;
}
.date-tete button:hover,
.date-jour:hover,
.date-jour.date-actif,
.date-pied button:hover {
  background: color-mix(in srgb, var(--ds-text, #18181b) 7%, transparent);
}
.date-jour.date-choisi,
.date-jour.date-choisi:hover {
  background: #3B82F6;
  color: #fff;
  font-weight: 600;
  opacity: 1;
  box-shadow: none;
}
.date-pied {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--ds-border, #e4e4e7);
}
.date-pied button {
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--ds-text-2, #52525b);
}
@media (prefers-reduced-motion: reduce) {
  .date-panneau {
    animation: none;
  }
}
button.liste-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  min-width: 0;
}
button.liste-bouton > span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
button.liste-bouton > svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--ds-text-3, #a1a1aa);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms cubic-bezier(.16, 1, .3, 1);
}
button.liste-bouton.liste-ouverte > svg {
  transform: rotate(180deg);
}
button.liste-bouton:disabled {
  cursor: not-allowed;
  opacity: .55;
}
html body button.liste-bouton:focus-visible {
  outline: 2px solid var(--ds-text, #18181b) !important;
  outline-offset: 2px;
}
.liste-panneau {
  position: fixed;
  z-index: 100000;
  max-width: min(360px, calc(100vw - 16px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 5px;
  border-radius: 12px;
  background: var(--ds-surface, #fff);
  border: 1px solid var(--ds-border, #e4e4e7);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, .22), 0 2px 6px -2px rgba(0, 0, 0, .08);
  font: 400 13.5px/1.3 var(--ds-font, system-ui, sans-serif);
  transform-origin: top center;
  animation: liste-entre 140ms cubic-bezier(.16, 1, .3, 1) both;
}
.liste-panneau.liste-haut {
  transform-origin: bottom center;
}
.liste-panneau.liste-sortie {
  animation: liste-sort 110ms ease-in both;
  pointer-events: none;
}
.liste-choix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.liste-choix > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.liste-choix > svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--ds-text, #18181b);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.liste-choix > i {
  width: 15px;
  flex: none;
}
.liste-choix[aria-selected="true"] {
  font-weight: 500;
}
.liste-choix.liste-active {
  background: var(--ds-active, #f0f0f2);
}
.liste-choix.liste-off {
  color: var(--ds-text-3, #a1a1aa);
  cursor: default;
}
@media (prefers-reduced-motion: reduce) {
  .liste-panneau,
  .liste-panneau.liste-sortie {
    animation: none;
  }
  button.liste-bouton > svg {
    transition: none;
  }
}

/* Même calendrier partout : cases de la vue Mois de l'Agenda (22/11) */
html:root .date-panneau { width: 304px; }
html:root .date-panneau .date-grille { gap: 4px; }
html:root .date-panneau .date-grille i { font-size: 10.5px; padding: 2px 0 4px; }
html:root .date-panneau button.date-jour {
  height: 36px; display: grid; place-items: center;
  font-size: 12px !important; font-weight: 500; font-variant-numeric: tabular-nums;
  color: var(--ds-text-2, #52525b); background: var(--ds-surface, #fff);
  border: 1px solid var(--ds-border, #e4e4e7); border-radius: 10px !important; box-shadow: none;
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), background-color .2s, border-color .2s;
}
html:root .date-panneau button.date-jour:hover,
html:root .date-panneau button.date-jour.date-actif { background: var(--ds-hover, #f4f4f5); }
html:root .date-panneau button.date-jour:active { transform: scale(.94); }
html:root .date-panneau button.date-jour.date-hors { background: transparent; border-color: transparent; opacity: 1; }
html:root .date-panneau button.date-jour.date-hors .date-num { opacity: .35; }
html:root .date-panneau button.date-jour.date-passe:not(.date-choisi) .date-num { opacity: .55; }
html:root .date-panneau button.date-jour.date-auj { box-shadow: none; }
html:root .date-panneau .date-auj .date-num {
  min-width: 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 11px;
  color: var(--ds-primary-fg, #fff); background: var(--ds-primary, #18181b); font-weight: 600; opacity: 1 !important;
}
html:root .date-panneau button.date-jour.date-choisi,
html:root .date-panneau button.date-jour.date-choisi:hover {
  background: var(--ds-surface, #fff); color: var(--ds-text, #18181b); border-color: var(--ds-text, #18181b); font-weight: 600;
}
