@charset "UTF-8";
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-LaWOCQv.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-K30JCnd.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-latin-AcnlIJe.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jetbrainsmono-latin-ext-c8h-btv.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #E5E5E5;
  --neutral-300: #D4D4D4;
  --neutral-400: #A3A3A3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --green-50: #F0FDF4;
  --green-100: #DCFCE7;
  --green-200: #BBF7D0;
  --green-600: #16A34A;
  --green-700: #15803D;
  --green-800: #166534;
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-200: #FDE68A;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-700: #B45309;
  --amber-800: #92400E;
  --red-50: #FEF2F2;
  --red-100: #FEE2E2;
  --red-200: #FECACA;
  --red-600: #DC2626;
  --red-700: #B91C1C;
  --red-800: #991B1B;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-200: #BFDBFE;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --purple-50: #FAF5FF;
  --purple-200: #E9D5FF;
  --purple-600: #9333EA;
  --purple-700: #7E22CE;
  --orange-50: #FFF7ED;
  --orange-600: #EA580C;
  --text-secondary: #5F6884;
  --text-tertiary: #6B7490;
  --slate-900: #0F172A;
  --sidebar-bg: #1D2D5C;
  --sidebar-width: 260px;
  --sidebar-text: #C7CEE3;
  --sidebar-text-active: #ffffff;
  --sidebar-accent: #6CC04A;
  --sidebar-hover: #27376A;
  --sidebar-active: rgba(108,192,74,.16);
  --sidebar-border: #2C3C6B;
  --sidebar-label: #A3B0D6;
  --sidebar-icon: #8E9AC2;
  --content-bg: #EEF1F6;
  --content-padding: 2rem;
  --card-bg: #ffffff;
  --card-border: #E2E8F0;
  --card-radius: 12px;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --card-shadow-hover: 0 4px 12px rgba(0,0,0,0.08);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "Source Code Pro", monospace;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base:1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-5xl: 3rem;
  --topbar-h: 66px;
  --public-header-h: 64px;
  --focus-ring: var(--blue-600);
  --focus-halo: rgb(37 99 235 / 0.25);
  --dur-instant: 90ms;
  --dur-fast: 160ms;
  --dur-base: 240ms;
  --dur-slow: 360ms;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--neutral-800);
  background: var(--neutral-50);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

:is(button, [role=button], input[type=submit], input[type=button], a.btn, a[class*=-btn]):not(:disabled, .no-press, [aria-disabled=true]):active,
:is(a[class*=-tab], a[class*=htab], a[class*=-chip], a[class*=-pill], a.sidebar-link, a.tb-act,
a.direction-nav-link, a.tp-link, a.quick-action, summary, label[class*=-opt]):not(.no-press, [aria-disabled=true]):active {
  scale: 0.97;
  transition-duration: var(--dur-instant);
}

:is(a[class*=-card], a[class*=-tile], a[class*=-kpi]):not(.no-press, [aria-disabled=true]):active {
  scale: 0.985;
  transition-duration: var(--dur-instant);
}

:is(a, button, summary, [role=button], [role=tab], [role=option], [tabindex]:not([tabindex="-1"]),
input[type=checkbox], input[type=radio], input[type=submit], input[type=button]):focus-visible {
  outline: 2px solid var(--focus-ring) !important;
  outline-offset: 2px !important;
}

:is(input, select, textarea):focus-visible {
  outline-color: var(--focus-ring);
}

.focus-box:has(:focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.layout-sidebar :focus-visible {
  outline-color: var(--sidebar-accent) !important;
}

.page-titre {
  margin: 0 0 12px;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1D2D5C;
}

.h1 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--neutral-800);
  line-height: 1.2;
  margin: 0;
}

.h2 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1.3;
  margin: 0;
}

.h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1.4;
  margin: 0;
}

.text-body {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--neutral-700);
}

.text-meta {
  font-size: var(--text-xs);
  color: var(--neutral-500);
}

.text-micro {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  font-weight: 500;
}

.text-mono {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.text-kpi-value {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1.1;
}

.text-kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  font-weight: 500;
}

/* Utilitaire global : chiffres tabulaires (alignement des colonnes de chiffres). */
.tnum {
  font-variant-numeric: tabular-nums;
}

/* Sigle du métier avec sa définition au survol (assets/lib/sigles.js). */
abbr.sigle {
  text-decoration: underline dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  cursor: help;
}

.text-muted {
  color: var(--neutral-500);
}

.text-success {
  color: var(--green-600);
}

.text-warning {
  color: var(--amber-700);
}

.text-danger {
  color: var(--red-600);
}

.text-info {
  color: var(--blue-600);
}

@keyframes skeleton-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slide-in-right {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.animate-fade-in {
  animation: fade-in var(--dur-slow) var(--ease-out);
}

.animate-slide-right {
  animation: slide-in-right var(--dur-slow) var(--ease-out);
}

.animate-slide-left {
  animation: slide-in-left var(--dur-slow) var(--ease-out);
}

.animate-rise {
  animation: rise var(--dur-base) var(--ease-out) backwards;
}

.animate-fade {
  animation: fade var(--dur-base) var(--ease-out) backwards;
}

.animate-pop {
  animation: pop var(--dur-fast) var(--ease-out) backwards;
}

@keyframes exit-fade {
  to {
    opacity: 0;
  }
}
@keyframes exit-down {
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes exit-up {
  to {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}
@keyframes exit-right {
  to {
    opacity: 0;
    transform: translateX(40px);
  }
}
@keyframes exit-left {
  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}
@keyframes exit-scale {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}
.is-leaving {
  animation: var(--leave, exit-fade) var(--dur-fast) var(--ease-in) forwards !important;
  pointer-events: none !important;
}

html[data-turbo-preview] *,
html[data-turbo-preview] *::before,
html[data-turbo-preview] *::after {
  animation: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), scale var(--dur-instant) var(--ease-out);
  white-space: nowrap;
}
.btn:disabled, .btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

:is(button, input[type=submit]).is-submitting,
:is(button, input[type=submit]).is-submitting:disabled {
  cursor: progress;
  opacity: 0.8;
  pointer-events: none;
}

button.is-submitting::after {
  content: "";
  display: inline-block;
  flex: none;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.5em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.12em;
  animation: submit-spin 0.7s linear infinite;
}

@keyframes submit-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  button.is-submitting::after {
    animation-duration: 1.6s;
  }
}
.cfm {
  width: min(440px, 100vw - 32px);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  font-family: var(--font-family);
}
.cfm::backdrop {
  background: rgba(15, 23, 42, 0.45);
  animation: fade var(--dur-base) var(--ease-out);
  transition: opacity var(--dur-fast) var(--ease-in);
}
.cfm.is-closing::backdrop {
  opacity: 0;
}

.cfm-box {
  padding: 22px 22px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3);
  animation: pop var(--dur-base) var(--ease-out);
  --leave: exit-scale;
}

.cfm-titre {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--neutral-900);
  white-space: pre-line;
}

.cfm-detail {
  margin: 8px 0 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--neutral-600);
  white-space: pre-line;
}

.cfm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.cfm-btn {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  background: #fff;
  color: var(--neutral-800);
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), scale var(--dur-instant) var(--ease-out);
}
.cfm-btn:hover {
  background: var(--neutral-50);
}

.cfm-ok {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: #fff;
}
.cfm-ok:hover {
  background: var(--blue-700);
}

.cfm.is-danger .cfm-ok {
  border-color: var(--red-600);
  background: var(--red-600);
}
.cfm.is-danger .cfm-ok:hover {
  background: var(--red-700);
}

.ntf-pile {
  position: fixed;
  left: 50%;
  bottom: var(--ntf-bas, 24px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}

.ntf {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 560px;
  padding: 12px 12px 12px 16px;
  border-radius: 12px;
  background: #1D2D5C;
  color: #fff;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.3);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  pointer-events: auto;
  animation: rise var(--dur-base) var(--ease-out);
  --leave: exit-down;
}
.ntf > i {
  margin-top: 2px;
  color: #6CC04A;
}
.ntf.ntf--error > i {
  color: #FCA5A5;
}
.ntf.ntf--warning > i {
  color: var(--amber-400);
}
.ntf.ntf--info > i {
  color: #93C5FD;
}
.ntf .ntf-action {
  flex: none;
  align-self: center;
  margin: -4px 0 -4px 6px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.ntf .ntf-action:hover {
  background: rgba(255, 255, 255, 0.12);
}

.ntf-msg {
  white-space: pre-line;
}

.ntf-x {
  flex: none;
  width: 24px;
  height: 24px;
  margin: -2px 0 0 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #8E9AC2;
  cursor: pointer;
}
.ntf-x:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-primary {
  background: var(--blue-600);
  color: white;
}
.btn-primary:hover:not(:disabled) {
  background: var(--blue-700);
  color: white;
}

.btn-outline, .btn-secondary {
  background: white;
  color: var(--neutral-700);
  border-color: var(--neutral-300);
}
.btn-outline:hover:not(:disabled), .btn-secondary:hover:not(:disabled) {
  background: var(--neutral-50);
  color: var(--neutral-800);
}

.btn-ghost {
  background: transparent;
  color: var(--neutral-600);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--neutral-100);
  color: var(--neutral-800);
}

.btn-destructive, .btn-danger {
  background: var(--red-600);
  color: white;
}
.btn-destructive:hover:not(:disabled), .btn-danger:hover:not(:disabled) {
  background: var(--red-700);
  color: white;
}

.btn-success {
  background: var(--green-600);
  color: white;
}
.btn-success:hover:not(:disabled) {
  background: var(--green-700);
  color: white;
}

.btn-sm {
  padding: 6px 12px;
  font-size: var(--text-xs);
}

.btn-lg {
  padding: 12px 24px;
  font-size: var(--text-base);
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  padding: var(--space-5);
}

.card-hover {
  transition: box-shadow 200ms ease-out, transform 200ms ease-out;
}
.card-hover:hover {
  box-shadow: var(--shadow);
}

.card-elevated {
  box-shadow: var(--shadow-md);
}

.card-accent-left {
  border-left: 4px solid var(--accent-color, var(--blue-600));
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.badge-success {
  background: var(--green-50);
  color: var(--green-700);
}

.badge-warning {
  background: var(--amber-50);
  color: var(--amber-700);
}

.badge-danger {
  background: var(--red-50);
  color: var(--red-700);
}

.badge-info {
  background: var(--blue-50);
  color: var(--blue-700);
}

.badge-neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}

.badge-muted {
  background: var(--neutral-100);
  color: var(--neutral-600);
}

.badge-purple {
  background: var(--purple-50);
  color: var(--purple-700);
}

.badge-primary {
  background: var(--blue-50);
  color: var(--blue-700);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--neutral-800);
  background: white;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.form-control:disabled {
  background: var(--neutral-100);
  color: var(--neutral-500);
  cursor: not-allowed;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--red-600);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   Input date/time/datetime-local + select — wrappers visuels.
   Appliqués par le Stimulus controller `form-enhance` qui injecte
   .date-input-wrapper autour des inputs date/time/datetime-local
   et .select-wrapper autour des <select> natifs.
   On NE touche PAS le style de base de .form-control (il est
   surchargé dans les scopes .fiche / .logistique-view / .resa-list).
   ═══════════════════════════════════════════════════════════════ */
/*
 * Wrapper en `display: block` (pas flex) : l'icône est position:absolute donc
 * hors flow, pas de risque qu'elle pousse l'input.
 * Sélecteur via .enhanced (classe persistante) plutôt que [type="date"] :
 * flatpickr convertit type="date" → type="text" à l'init, ce qui invalide
 * les sélecteurs attribut. La classe .enhanced survit à la conversion.
 */
.date-input-wrapper {
  position: relative !important;
  display: block !important;
}
.date-input-wrapper > input.enhanced,
.date-input-wrapper > input[type=date],
.date-input-wrapper > input[type=time],
.date-input-wrapper > input[type=datetime-local] {
  /* Padding vertical aligné avec les selects (0.5rem = 8px) pour hauteur
   * identique côte à côte dans un form-grid. */
  padding: 0.5rem 2rem 0.5rem 2.75rem !important;
  border: 1px solid var(--neutral-200) !important;
  border-radius: var(--radius-md) !important;
  font-size: 14px !important;
  font-family: var(--font-family) !important;
  background-color: #fff !important;
  box-sizing: border-box !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  transition: border-color 150ms, box-shadow 150ms;
  /* Cache l'icône native webkit (Chrome/Edge/Safari). */
}
.date-input-wrapper > input.enhanced:focus,
.date-input-wrapper > input[type=date]:focus,
.date-input-wrapper > input[type=time]:focus,
.date-input-wrapper > input[type=datetime-local]:focus {
  outline: none !important;
  border-color: var(--blue-600) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
.date-input-wrapper > input.enhanced::-webkit-calendar-picker-indicator,
.date-input-wrapper > input[type=date]::-webkit-calendar-picker-indicator,
.date-input-wrapper > input[type=time]::-webkit-calendar-picker-indicator,
.date-input-wrapper > input[type=datetime-local]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.date-input-icon {
  position: absolute !important;
  left: 0.875rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--blue-600) !important;
  font-size: 13px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.date-input-chevron {
  position: absolute !important;
  right: 0.75rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--neutral-400) !important;
  font-size: 10px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

/*
 * Selects : override visuel complet avec !important pour garantir un look
 * uniforme à travers toute l'app, quel que soit le scope parent.
 *
 * Trade-off assumé : dans .fiche où les inputs text sont en 12.5px + border 1px,
 * les selects apparaîtront en 14px + border 1.5px (légère dissonance côte à
 * côte). Choix fait pour que les selects soient visuellement identifiés
 * comme éléments interactifs distincts, peu importe la page.
 */
.select-wrapper {
  position: relative !important;
  display: block !important;
}
.select-wrapper > select,
.select-wrapper > select.form-control,
.select-wrapper > select.enhanced {
  width: 100% !important;
  padding: 0.5rem 2.75rem 0.5rem 1rem !important;
  border: 1px solid var(--neutral-200) !important;
  border-radius: var(--radius-md) !important;
  font-size: 14px !important;
  font-family: var(--font-family) !important;
  color: var(--neutral-900) !important;
  background-color: #fff !important;
  background-image: none !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  box-sizing: border-box !important;
  transition: border-color 150ms, box-shadow 150ms, background-color 150ms;
}
.select-wrapper > select:focus,
.select-wrapper > select.form-control:focus,
.select-wrapper > select.enhanced:focus {
  outline: none !important;
  border-color: var(--blue-600) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
.select-wrapper > select:hover:not(:disabled):not(:focus),
.select-wrapper > select.form-control:hover:not(:disabled):not(:focus),
.select-wrapper > select.enhanced:hover:not(:disabled):not(:focus) {
  border-color: var(--neutral-300) !important;
  background-color: var(--neutral-50) !important;
}
.select-wrapper > select:disabled,
.select-wrapper > select.form-control:disabled,
.select-wrapper > select.enhanced:disabled {
  background-color: var(--neutral-50) !important;
  color: var(--neutral-400) !important;
  cursor: not-allowed !important;
  opacity: 0.7;
}
.select-wrapper > select::-ms-expand,
.select-wrapper > select.form-control::-ms-expand,
.select-wrapper > select.enhanced::-ms-expand {
  display: none !important;
}

.select-chevron {
  position: absolute !important;
  right: 0.875rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--neutral-400) !important;
  font-size: 10px !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transition: transform 200ms;
}

/*
 * Champ en erreur : la bordure rouge l'emporte sur l'habillage (qui est en !important pour
 * résister aux styles des écrans). Classe .is-invalid ou aria-invalid="true" sur le champ ;
 * Tom Select recopie les classes du <select> sur son conteneur.
 */
.date-input-wrapper > input:is(.is-invalid, [aria-invalid=true]),
.select-wrapper > select:is(.is-invalid, [aria-invalid=true]),
.ts-wrapper.is-invalid .ts-control {
  border-color: var(--red-600) !important;
}
.date-input-wrapper > input:is(.is-invalid, [aria-invalid=true]):focus,
.select-wrapper > select:is(.is-invalid, [aria-invalid=true]):focus,
.ts-wrapper.is-invalid .ts-control:focus {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

/* Chevron rotate au focus (proxy pour "select ouvert"). */
.select-wrapper.is-open .select-chevron {
  transform: translateY(-50%) rotate(180deg) !important;
}

/* ═══════════════════════════════════════════════════════════════
   Tom Select — theme aligné sur le design system Enedis.
   Charge via CDN dans base.html.twig, init dans form_enhance_controller.
   Si Tom Select n'est pas chargé (CDN bloqué), le select tombe en
   fallback sur .select-wrapper (styles ci-dessus).
   ═══════════════════════════════════════════════════════════════ */
.ts-wrapper {
  /* Conteneur neutre : reprend exactement la place du <select> natif.
   * display:block + margin:0 + padding:0 + box-sizing:border-box pour
   * neutraliser tout layout ajouté par Tom Select qui pouvait décaler le
   * .ts-control à l'intérieur de la form-field. */
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  /* Chevron custom via FontAwesome sur le wrapper (Tom Select n'en livre pas par défaut). */
  /* Dropdown */
  /* @at-root : la liste est accrochée au <body> (dropdownParent) pour ne plus être coupée par les cartes. */
  /* Multi-select : items en pills */
  /* Disabled */
}
.ts-wrapper .ts-control {
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  /* Même look que les inputs date : border 1px, fond blanc, hauteur compacte. */
  border: 1px solid var(--neutral-200) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.5rem 2.75rem 0.5rem 1rem !important;
  font-size: 14px !important;
  font-family: var(--font-family) !important;
  color: var(--neutral-900) !important;
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  cursor: pointer !important;
  min-height: 38px;
  display: flex;
  align-items: center;
  transition: border-color 150ms, box-shadow 150ms;
}
.ts-wrapper .ts-control:hover {
  border-color: var(--neutral-300) !important;
}
.ts-wrapper .ts-control input {
  font-size: 14px !important;
  font-family: var(--font-family) !important;
  color: var(--neutral-900) !important;
}
.ts-wrapper .ts-control .placeholder {
  color: var(--text-tertiary) !important;
  font-size: 14px !important;
}
.ts-wrapper.focus .ts-control {
  border-color: var(--blue-600) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
  outline: none !important;
}
.ts-wrapper:not(.multi)::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-400);
  font-size: 11px;
  pointer-events: none;
  transition: transform 200ms;
  z-index: 1;
}
.ts-wrapper.dropdown-active::after {
  transform: translateY(-50%) rotate(180deg);
}
.ts-dropdown {
  border: 1px solid var(--neutral-200) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  font-size: 14px !important;
  font-family: var(--font-family) !important;
  /* Au-dessus des cartes, des tiroirs et des modales (accrochée au <body>). */
  z-index: 3000 !important;
}
.ts-dropdown .ts-dropdown-content {
  padding: 4px !important;
  max-height: 260px !important;
}
.ts-dropdown .option {
  padding: 8px 12px !important;
  border-radius: 6px !important;
  color: var(--neutral-700) !important;
  cursor: pointer;
  transition: background 100ms;
}
.ts-dropdown .option:hover, .ts-dropdown .option.active {
  background: var(--blue-50) !important;
  color: var(--neutral-900) !important;
}
.ts-dropdown .option.selected {
  background: var(--blue-600) !important;
  color: #fff !important;
}
.ts-dropdown .option.selected.active {
  background: var(--blue-700) !important;
  color: #fff !important;
}
.ts-dropdown .optgroup-header {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: var(--neutral-500) !important;
  padding: 8px 12px 4px !important;
  background: transparent !important;
}
.ts-dropdown .no-results {
  padding: 12px !important;
  text-align: center !important;
  font-size: 13px !important;
  color: var(--neutral-500) !important;
}

.ts-wrapper.multi .ts-control .item {
  background: var(--blue-100) !important;
  color: var(--blue-700) !important;
  border-radius: 6px !important;
  padding: 2px 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  border: 1px solid var(--blue-200) !important;
}
.ts-wrapper.multi .ts-control .item .remove {
  color: var(--blue-500) !important;
  margin-left: 4px !important;
  border-left: 1px solid var(--blue-200) !important;
  padding-left: 6px !important;
}
.ts-wrapper.multi .ts-control .item .remove:hover {
  color: var(--blue-700) !important;
  background: transparent !important;
}
.ts-wrapper.disabled .ts-control {
  background: var(--neutral-50) !important;
  color: var(--neutral-400) !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}

/* ═══════════════════════════════════════════════════════════════
   Flatpickr — override du thème pour matcher le design system.
   Chargé via CDN depuis base.html.twig. !important nécessaire partout
   car flatpickr livre ses styles avec une forte spécificité.
   ═══════════════════════════════════════════════════════════════ */
.flatpickr-calendar {
  border-radius: 12px !important;
  border: 1px solid var(--neutral-200) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
  font-family: var(--font-family) !important;
  overflow: hidden;
}

.flatpickr-months,
.flatpickr-weekdays {
  background: var(--blue-600) !important;
}

.flatpickr-months {
  padding: 8px 0 !important;
}
.flatpickr-months .flatpickr-month,
.flatpickr-months .flatpickr-current-month,
.flatpickr-months .flatpickr-monthDropdown-months,
.flatpickr-months .numInput {
  color: #fff !important;
  fill: #fff !important;
}
.flatpickr-months .flatpickr-current-month {
  font-size: 14px !important;
  font-weight: 600 !important;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: #fff !important;
  fill: #fff !important;
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  fill: #fff !important;
}
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
}

.flatpickr-weekday {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  background: transparent !important;
}

.flatpickr-day {
  border-radius: 8px !important;
  font-size: 13px !important;
  color: var(--neutral-800);
}
.flatpickr-day:hover {
  background: var(--blue-50) !important;
  border-color: var(--blue-100) !important;
}
.flatpickr-day.today {
  border-color: var(--blue-300) !important;
  color: var(--blue-700) !important;
  font-weight: 700 !important;
}
.flatpickr-day.today:hover {
  background: var(--blue-50) !important;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover {
  background: var(--blue-600) !important;
  border-color: var(--blue-600) !important;
  color: #fff !important;
}
.flatpickr-day.inRange {
  background: var(--blue-50) !important;
  border-color: var(--blue-100) !important;
  box-shadow: none !important;
}
.flatpickr-day.flatpickr-disabled, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
  color: var(--neutral-300) !important;
}

.flatpickr-time {
  border-top: 1px solid var(--neutral-100) !important;
}
.flatpickr-time input,
.flatpickr-time .flatpickr-time-separator {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--neutral-900) !important;
}
.flatpickr-time .flatpickr-am-pm {
  color: var(--blue-600) !important;
  font-weight: 600 !important;
}
.flatpickr-time .arrowUp::after {
  border-bottom-color: var(--blue-600) !important;
}
.flatpickr-time .arrowDown::after {
  border-top-color: var(--blue-600) !important;
}

.form-help {
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin-top: 4px;
}

.kpi-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  font-weight: 500;
}

.kpi-value {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1.1;
}

.kpi-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.kpi-icon.kpi-icon-success {
  background: var(--green-50);
  color: var(--green-600);
}
.kpi-icon.kpi-icon-warning {
  background: var(--amber-50);
  color: var(--amber-500);
}
.kpi-icon.kpi-icon-danger {
  background: var(--red-50);
  color: var(--red-600);
}
.kpi-icon.kpi-icon-info {
  background: var(--blue-50);
  color: var(--blue-600);
}
.kpi-icon.kpi-icon-neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.kpi-icon.kpi-icon-purple {
  background: var(--purple-50);
  color: var(--purple-600);
}

.skeleton {
  background: var(--neutral-200);
  border-radius: var(--radius-md);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton.h-4 {
  height: 16px;
}

.skeleton.h-6 {
  height: 24px;
}

.skeleton.h-8 {
  height: 32px;
}

.skeleton.w-24 {
  width: 96px;
}

.skeleton.w-32 {
  width: 128px;
}

.skeleton.w-full {
  width: 100%;
}

.empty-state {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.empty-state-icon {
  font-size: 48px;
  color: var(--neutral-300);
}

.empty-state-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--neutral-700);
}

.empty-state-description {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  max-width: 480px;
}

.alert, .flash {
  display: flex;
  gap: 12px;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid;
  align-items: center;
  font-size: var(--text-sm);
}

.alert-success, .flash-success {
  background: var(--green-50);
  border-color: var(--green-200);
  color: var(--green-700);
}

.alert-warning, .flash-warning {
  background: var(--amber-50);
  border-color: var(--amber-200);
  color: var(--amber-700);
}

.alert-danger, .flash-error, .alert-error {
  background: var(--red-50);
  border-color: var(--red-200);
  color: var(--red-700);
}

.alert-info, .flash-info {
  background: var(--blue-50);
  border-color: var(--blue-200);
  color: var(--blue-700);
}

.flash {
  margin-bottom: var(--space-4);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--neutral-200);
}
.table th, .table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
  font-size: var(--text-sm);
}
.table th {
  background: var(--neutral-50);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--neutral-600);
  letter-spacing: 0.05em;
}
.table tr:last-child td {
  border-bottom: 0;
}
.table tbody tr:hover {
  background: var(--neutral-50);
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-6);
  gap: var(--space-4);
}
.page-header .page-title {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--neutral-800);
  margin: 0;
}
.page-header .page-subtitle {
  font-size: var(--text-sm);
  color: var(--neutral-500);
  margin-top: var(--space-1);
}
.page-header .page-actions {
  display: flex;
  gap: var(--space-2);
}

.trajet-preconise-card {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}
.trajet-preconise-card .trajet-preconise-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
  color: var(--blue-700);
}
.trajet-preconise-card .trajet-preconise-header h3 {
  font-size: var(--text-base);
  font-weight: 600;
  margin: 0;
}
.trajet-preconise-card .trajet-preconise-header i {
  font-size: 16px;
}

.trajet-preconise-subtitle {
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin: 0 0 var(--space-3);
}

.trajet-preconise-item {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--neutral-300);
  background: var(--neutral-50);
  margin-bottom: var(--space-2);
}
.trajet-preconise-item:last-child {
  margin-bottom: 0;
}
.trajet-preconise-item.trajet-blue {
  border-left-color: var(--blue-600);
  background: var(--blue-50);
}
.trajet-preconise-item.trajet-purple {
  border-left-color: var(--purple-600);
  background: var(--purple-50);
}
.trajet-preconise-item.trajet-amber {
  border-left-color: var(--amber-500);
  background: var(--amber-50);
}

.trajet-preconise-item-head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.trajet-preconise-item-head i {
  font-size: 14px;
  color: var(--neutral-700);
}
.trajet-preconise-item-head .trajet-preconise-mode {
  font-weight: 600;
  font-size: var(--text-sm);
}

.trajet-preconise-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: var(--blue-600);
  color: white;
}

.trajet-preconise-route {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--neutral-800);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}
.trajet-preconise-route i {
  color: var(--neutral-400);
  font-size: 11px;
}

.trajet-preconise-meta {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--neutral-600);
}
.trajet-preconise-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.trajet-preconise-meta i {
  font-size: 11px;
}

.trajet-preconise-comment {
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  color: var(--neutral-600);
  font-style: italic;
}

.trajet-preconise-alt-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin: var(--space-3) 0 var(--space-2);
}

.trajet-preconise-warning {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: var(--red-50);
  color: var(--red-700);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  margin: var(--space-2) 0;
}
.trajet-preconise-warning i {
  font-size: 12px;
}

.trajet-preconise-empty {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--neutral-50);
  color: var(--neutral-600);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-style: italic;
}
.trajet-preconise-empty i {
  color: var(--neutral-400);
}

.navette-card {
  padding: var(--space-4);
}

.navette-suggestion-card {
  padding: var(--space-3);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  background: var(--neutral-50);
}

.taxi-card {
  border-left: 4px solid var(--amber-500);
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
}

.taxi-card.confirme {
  border-left-color: var(--green-500);
}

.taxi-card.annule {
  border-left-color: var(--neutral-300);
  opacity: 0.6;
}

.taxi-passager-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--neutral-100);
}

.taxi-cost-badge {
  background: var(--amber-50);
  color: var(--amber-700);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}

.taxi-warning {
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  color: var(--amber-700);
  font-size: var(--text-sm);
}

.taxi-sans-transfert {
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nuitees-section {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--neutral-200);
}

.nuitee-card {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.nuitee-card.nuitee-suggere {
  border-left: 4px solid var(--amber-400);
  background: var(--amber-50);
}

.nuitee-card.nuitee-confirme {
  border-left: 4px solid var(--green-500);
  background: var(--green-50);
}

.nuitee-card.nuitee-refuse {
  border-left: 4px solid var(--neutral-300);
  opacity: 0.6;
}

.cal-container {
  background: white;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
  background: var(--neutral-50);
}

.cal-nav-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--neutral-600);
}

.cal-nav-btn:hover {
  background: var(--neutral-50);
}

.cal-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-900);
}

.cal-grid-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--neutral-500);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-day {
  min-height: 80px;
  padding: 6px 8px;
  border-right: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  cursor: pointer;
  transition: background 150ms;
  position: relative;
}

.cal-day:hover {
  background: var(--neutral-50);
}

.cal-day.selected {
  background: var(--blue-50);
  outline: 2px solid var(--blue-600);
  outline-offset: -2px;
}

.cal-day-number {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 4px;
}

.cal-day-other-month {
  background: var(--neutral-50);
}

.cal-day-other-month .cal-day-number {
  color: var(--neutral-300);
}

.cal-day-today .cal-day-number {
  background: var(--blue-600);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-contingent-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

.cal-chip-green {
  background: var(--green-50);
  color: var(--green-700);
}

.cal-chip-amber {
  background: var(--amber-50);
  color: var(--amber-700);
}

.cal-chip-red {
  background: var(--red-50);
  color: var(--red-700);
}

.cal-chip-empty {
  background: var(--neutral-100);
  color: var(--neutral-500);
}

.cal-price {
  font-size: 10px;
  color: var(--neutral-500);
  margin-top: 2px;
}

.cal-panel-massif {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 400px;
  background: white;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  z-index: 200;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 300ms ease-out;
}

.cal-panel-massif.is-open {
  transform: translateX(0);
}

.cal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-modal-box {
  background: white;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
}

.cal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
}

.cal-modal-header h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.cal-modal-close {
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--neutral-500);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-modal-close:hover {
  background: var(--neutral-100);
}

.cal-modal-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cal-modal-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.cal-day-weekend {
  background: var(--neutral-50);
}

.cal-day-weekend .cal-day-number {
  color: var(--neutral-500);
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-600);
  text-decoration: none;
  border: 1px solid var(--card-border);
  background: white;
  padding: 0 10px;
  transition: background 150ms, color 150ms, border-color 150ms;
}

.pagination-btn:hover {
  background: var(--neutral-50);
  color: var(--neutral-900);
  border-color: var(--neutral-300);
}

.pagination-btn.active {
  background: var(--blue-600);
  color: white;
  border-color: var(--blue-600);
  font-weight: 600;
}

.pagination-ellipsis {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

/* ==================== ANNULATION / REMPLACEMENT ==================== */
.annulation-card {
  background: white;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.annulation-penalite {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}
.annulation-penalite.gratuite {
  background: var(--green-50);
  border-color: var(--green-200);
  color: var(--green-800);
}
.annulation-penalite.partielle {
  background: var(--amber-50);
  border-color: var(--amber-200);
  color: var(--amber-800);
}
.annulation-penalite.totale {
  background: var(--red-50);
  border-color: var(--red-200);
  color: var(--red-800);
}

.optimisation-card {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--card-radius);
  padding: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.optimisation-suggestion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  background: white;
  border-radius: var(--radius-md);
  margin-top: 0.75rem;
  border: 1px solid var(--blue-100);
}

.optimisation-suggestion-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.optimisation-chiffres {
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin: 0.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.optimisation-ligne {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--neutral-600);
}
.optimisation-ligne.total {
  padding-top: 6px;
  border-top: 1px solid var(--neutral-200);
  margin-top: 4px;
}

.optimisation-hotels {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--blue-50);
  border-radius: var(--radius-md);
  font-size: 12px;
}
.optimisation-hotels > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.optimisation-hotels small {
  font-size: 11px;
  color: var(--neutral-500);
}

.text-green {
  color: var(--green-600);
}

.text-amber {
  color: var(--amber-700);
}

.text-red {
  color: var(--red-600);
}

/* ==================== COMMISSIONS ==================== */
.commission-preview {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 13px;
  color: var(--blue-700);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.commission-detail {
  background: var(--neutral-50);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  font-size: 13px;
}

.commission-ligne {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--neutral-600);
}
.commission-ligne.total {
  padding-top: 6px;
  border-top: 1px solid var(--neutral-200);
  margin-top: 4px;
  color: var(--neutral-900);
  font-weight: 600;
}

.input-with-suffix {
  display: flex;
  align-items: stretch;
}
.input-with-suffix .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}
.input-with-suffix .input-suffix {
  padding: 0.5rem 0.75rem;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-300);
  border-top-right-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
  font-size: 13px;
  color: var(--neutral-600);
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* ==================== FORM SECTIONS (inline edit) ==================== */
.form-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-section {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
}
.form-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.form-section h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-700);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.form-section h4 i {
  color: var(--neutral-400);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-sticky-footer {
  position: sticky;
  bottom: 0;
  background: white;
  border-top: 1px solid var(--card-border);
  padding: 1rem 0;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 10;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.toggle-label input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* ==================== PHOTO UPLOAD (MULTI) ==================== */
.photo-upload-zone {
  border: 2px dashed var(--neutral-200);
  border-radius: var(--card-radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 150ms ease;
  background: var(--neutral-50);
}
.photo-upload-zone:hover {
  border-color: var(--blue-600);
  background: var(--blue-50);
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.photo-preview-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--neutral-50);
}
.photo-preview-item img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
}
.photo-preview-item .photo-preview-name {
  font-size: 10px;
  color: var(--neutral-600);
  padding: 4px 6px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-preview-item .photo-preview-size {
  font-size: 10px;
  color: var(--text-tertiary);
  padding: 0 6px 4px;
  display: block;
}

.reservation-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.bulk-toolbar {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neutral-900);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full, 999px);
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  font-size: 13px;
  display: none;
}
.bulk-toolbar.is-visible {
  display: flex;
}
.bulk-toolbar .form-control {
  background: white;
  color: var(--neutral-900);
}
.bulk-toolbar .btn-danger {
  background: var(--red-600);
  color: white;
  border: 0;
}
.bulk-toolbar .btn-danger:hover {
  background: var(--red-700);
}

/* ==================== WEEK PICKER (shared) ==================== */
.week-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 8px;
  border: 1px solid var(--neutral-200);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
}
.week-picker:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
}
.week-picker:focus-within {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.week-picker > i {
  color: var(--blue-600);
  font-size: 12px;
}
.week-picker > input[type=week] {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-800);
  font-family: var(--font-mono, monospace);
  cursor: pointer;
  padding: 0;
  min-width: 96px;
}
.week-picker > input[type=week]::-webkit-calendar-picker-indicator {
  color: transparent;
  opacity: 0;
  cursor: pointer;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ═══════════════════════════════════════════════════════════════
   NAVETTES D'UN TRAJET — composant partage (dossier + tunnel)
   Non scope : le tunnel n'est pas sous .dos-page. Une ligne dit trois
   choses — l'heure, ou elle depose, et si elle convient. La couleur ne
   sert qu'a distinguer la retenue de l'ecartee, jamais a decorer.
   ═══════════════════════════════════════════════════════════════ */
.nav-liste {
  /* Le composant sert dans le dossier (navy, Montserrat) ET dans le tunnel (vert, Inter).
     Il herite donc des tokens --r-* quand ils existent, et retombe sur la palette du
     dossier sinon : une seule feuille, deux identites, aucune duplication. */
  --nav-accent: var(--r-accent, #4E9A2F);
  --nav-accent-soft: var(--r-accent-50, #F6FBF3);
  --nav-ink: var(--r-ink, #1D2D5C);
  --nav-ink-2: var(--r-ink-2, #4E5A75);
  --nav-muted: var(--r-muted, #7A8298);
  --nav-muted-2: var(--r-muted-2, #9AA2B2);
  --nav-line: var(--r-line, #E4E9F2);
  --nav-line-2: var(--r-line-2, #EEF1F6);
  --nav-chip: var(--r-chip-bg, #E3E9F4);
  --nav-warn: var(--r-warn, #B45309);
  border: 1px solid var(--nav-line);
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
}
.nav-liste .nav-liste-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: var(--nav-line-2);
  border-bottom: 1px solid var(--nav-line);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nav-muted);
}
.nav-liste .nav-liste-n {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 20px;
  background: var(--nav-chip);
  color: var(--nav-ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-ligne {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 13px;
  box-shadow: inset 3px 0 0 transparent;
}
.nav-ligne + .nav-ligne {
  border-top: 1px solid var(--nav-line-2);
}
.nav-ligne.is-retenue {
  background: var(--nav-accent-soft);
  box-shadow: inset 3px 0 0 var(--nav-accent);
}
.nav-ligne.is-ecartee {
  background: #FCFCFD;
}
.nav-ligne.is-ecartee .nav-titre b, .nav-ligne.is-ecartee .nav-trajet {
  color: var(--nav-muted);
}
.nav-ligne .nav-pick {
  flex: 0 0 auto;
}
.nav-ligne .nav-pick form {
  margin: 0;
}
.nav-ligne .nav-pick label {
  display: flex;
  align-items: center;
  padding-top: 3px;
  cursor: pointer;
}
.nav-ligne .nav-pick input[type=radio] {
  accent-color: var(--nav-accent);
  width: 15px;
  height: 15px;
}
.nav-ligne .nav-pick .btn {
  white-space: nowrap;
}
.nav-ligne .nav-corps {
  flex: 1;
  min-width: 0;
}
.nav-ligne .nav-titre {
  font-size: 13px;
  font-weight: 600;
  color: var(--nav-ink-2);
  line-height: 1.4;
}
.nav-ligne .nav-titre b {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nav-ink);
  font-variant-numeric: tabular-nums;
}
.nav-ligne .nav-titre .nav-trajet::before {
  content: "·";
  margin: 0 6px;
  color: var(--nav-muted-2);
}
.nav-ligne .nav-titre .nav-depose {
  color: var(--nav-muted);
}
.nav-ligne .nav-titre .nav-depose::before {
  content: "·";
  margin: 0 6px;
  color: var(--nav-muted-2);
}
.nav-ligne .nav-verdict {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--nav-muted);
}
.nav-ligne .nav-verdict i {
  margin-right: 3px;
  color: var(--nav-muted-2);
}
.nav-ligne:not(.is-ecartee) .nav-verdict i {
  color: var(--nav-accent);
}
.nav-ligne.is-ecartee .nav-verdict {
  color: #8A6A4A;
}
.nav-ligne.is-ecartee .nav-verdict i {
  color: var(--nav-warn);
}
.nav-ligne .nav-arrets {
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--nav-muted-2);
}
.nav-ligne .nav-arrets i {
  margin-right: 4px;
}
.nav-ligne .nav-tag {
  flex: 0 0 auto;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
}
.nav-ligne .nav-tag.nav-tag-reco {
  color: var(--nav-accent);
  background: var(--nav-accent-soft);
}
@media (max-width: 560px) {
  .nav-ligne {
    flex-wrap: wrap;
  }
  .nav-ligne .nav-corps {
    order: 3;
    flex-basis: 100%;
  }
}

.layout-dashboard {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  min-height: 100vh;
  background: var(--content-bg);
}

.layout-sidebar {
  background: linear-gradient(180deg, var(--sidebar-bg) 0%, #162450 100%);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.sidebar-logo {
  padding: 20px 18px 16px;
  min-height: 71px;
  border-bottom: 1px solid var(--sidebar-border);
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-logo .sidebar-logo-img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
}

.sidebar-nav {
  flex: 1;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar {
  display: none;
}

.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sidebar-section-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sidebar-label);
  padding: 10px 10px 4px;
  display: block;
  white-space: nowrap;
}

.sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 9px;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.sidebar-link .sidebar-link-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sidebar-icon);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  transition: all 0.2s;
}
.sidebar-link:hover {
  background: var(--sidebar-hover);
  color: var(--sidebar-text-active);
}
.sidebar-link.active {
  background: var(--sidebar-active);
  color: var(--sidebar-text-active);
  font-weight: 800;
}
.sidebar-link.active .sidebar-link-icon {
  background: var(--sidebar-accent);
  color: #0E2A12;
}
.sidebar-link.active::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--sidebar-accent);
}

.sidebar-badge {
  margin-left: auto;
  background: var(--sidebar-accent);
  color: #0E2A12;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.sidebar-badge.sidebar-badge-warning {
  background: #D9A441;
}

.sidebar-shortcuts {
  padding: 10px 10px 6px;
  border-top: 1px solid var(--sidebar-border);
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.sidebar-shortcut {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--sidebar-text);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.sidebar-shortcut svg {
  flex-shrink: 0;
}
.sidebar-shortcut:hover {
  background: var(--sidebar-hover);
  color: #fff;
}
.sidebar-shortcut.sidebar-shortcut-pms {
  background: var(--sidebar-active);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  gap: 4px;
}
.sidebar-shortcut.sidebar-shortcut-pms:hover {
  background: rgba(108, 192, 74, 0.3);
}

.sidebar-footer {
  padding: 4px 10px 12px;
  flex-shrink: 0;
}

.sidebar-shortcuts + .sidebar-footer {
  border-top: none;
}

.sidebar-nav + .sidebar-footer {
  border-top: 1px solid var(--sidebar-border);
  padding-top: 10px;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  transition: background 120ms;
  text-decoration: none;
}
.sidebar-user:hover, .sidebar-user.is-active {
  background: var(--sidebar-hover);
}
.sidebar-user .sidebar-cog {
  color: var(--sidebar-icon);
  font-size: 14px;
  margin-left: auto;
  transition: color 120ms;
}
.sidebar-user:hover .sidebar-cog {
  color: #fff;
}

.sidebar-user-split {
  padding: 0;
  gap: 2px;
}
.sidebar-user-split:hover {
  background: transparent;
}
.sidebar-user-split .sidebar-user-profil {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  transition: background 120ms;
}
.sidebar-user-split .sidebar-user-profil:hover, .sidebar-user-split .sidebar-user-profil.is-active {
  background: var(--sidebar-hover);
}
.sidebar-user-split .sidebar-cog {
  margin-left: 0;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  text-decoration: none;
}
.sidebar-user-split .sidebar-cog:hover, .sidebar-user-split .sidebar-cog.is-active {
  background: var(--sidebar-hover);
  color: #fff;
}
.sidebar-user-split:hover .sidebar-cog:not(:hover):not(.is-active) {
  color: var(--sidebar-icon);
}

.sidebar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sidebar-accent);
  color: #0E2A12;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.sidebar-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: none;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}
.sidebar-user-info .sidebar-user-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-info .sidebar-user-role {
  font-size: 10.5px;
  color: var(--sidebar-icon);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layout-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.layout-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--topbar-h);
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #E2E8F0;
}
.layout-topbar .topbar-spacer {
  flex: 1 1 0;
  min-width: 0;
}
.layout-topbar .tb-burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.tb-gs {
  position: relative;
  flex: 1 1 360px;
  max-width: 640px;
  min-width: 220px;
}

.tb-gs-box {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  margin: 0;
  padding: 0 6px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  cursor: text;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tb-gs-box input {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: none;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #1D2D5C;
  letter-spacing: -0.005em;
}
.tb-gs-box input::placeholder {
  color: #9AA3B8;
}

.tb-gs-ic {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #EEF1F6;
  color: #6B7490;
  display: grid;
  place-items: center;
  transition: background 0.25s, color 0.25s;
}

.tb-gs.is-focus .tb-gs-box {
  border-color: #1D2D5C;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.08);
}
.tb-gs.is-focus .tb-gs-ic {
  background: #1D2D5C;
  color: #6CC04A;
}

.tb-gs-clear {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  border: none;
  background: #EEF1F6;
  color: #6B7490;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.tb-gs-clear:hover {
  background: #E2E8F0;
}
.tb-gs-clear[hidden] {
  display: none;
}

.tb-gs-kbd {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-right: 6px;
  flex-shrink: 0;
}
.tb-gs-kbd[hidden] {
  display: none;
}
.tb-gs-kbd kbd {
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  color: #8A93A8;
  background: #fff;
  border: 1px solid #DDE3EE;
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 6px;
}

.tb-gs-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.18);
  overflow: hidden;
  animation: tb-gs-in 0.2s ease both;
}
.tb-gs-menu[hidden] {
  display: none;
}

@keyframes tb-gs-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tb-gs-list {
  max-height: min(60vh, 460px);
  overflow-y: auto;
  padding-bottom: 4px;
}

.gs-group {
  padding: 10px 14px 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gs-group span {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.gs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  text-decoration: none;
}
.gs-item:hover, .gs-item.is-sel {
  background: #F7F9FC;
}
.gs-item.is-off {
  cursor: default;
}
.gs-item.is-off:hover {
  background: none;
}

.gs-ic {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
}

.gs-txt {
  flex: 1;
  min-width: 0;
}

.gs-t, .gs-s {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-t {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}

.gs-s {
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
}

.gs-tag {
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.gs-empty {
  padding: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.tb-gs-foot {
  padding: 9px 14px;
  border-top: 1px solid #F1F4F9;
  background: #FAFBFD;
  display: flex;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.tb-gs-foot .tb-gs-count {
  margin-left: auto;
}

.tb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.tb-act {
  --act: #1D2D5C;
  --act-bg: #EEF2FB;
  --act-line: #D3DDF0;
  --act-txt: #1D2D5C;
  height: 40px;
  padding: 0 12px 0 6px;
  border-radius: 12px;
  border: 1.5px solid var(--act-line);
  background: var(--act-bg);
  color: var(--act-txt);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tb-act:hover {
  color: var(--act-txt);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(20, 33, 71, 0.14);
}
.tb-act.is-on {
  border-color: var(--act);
}
.tb-act.is-vert {
  --act: #4FA235;
  --act-bg: #EFF8EA;
  --act-line: #CDE8BF;
  --act-txt: #2E5320;
}
.tb-act.is-rouge {
  --act: #E0524D;
  --act-bg: #FDF0EF;
  --act-line: #F5CBC8;
  --act-txt: #B23A36;
}
.tb-act.is-bleu {
  --act: #1D2D5C;
  --act-bg: #EEF2FB;
  --act-line: #D3DDF0;
  --act-txt: #1D2D5C;
}

.tb-act-ic {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--act);
  display: grid;
  place-items: center;
}

.tb-act-badge {
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--act);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-variant-numeric: tabular-nums;
}
.tb-act-badge[hidden] {
  display: none;
}

@media (max-width: 1280px) {
  .tb-act-lbl, .tb-gs-kbd {
    display: none !important;
  }
  .tb-act {
    padding: 0 6px;
  }
}
@media (max-width: 1100px) {
  .tb-actions {
    display: none;
  }
}
.layout-content {
  flex: 1;
  padding: var(--content-padding);
  width: 100%;
}

@media (max-width: 1024px) {
  .layout-dashboard {
    grid-template-columns: 1fr;
  }
  .layout-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    width: var(--sidebar-width);
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform var(--dur-base) var(--ease-in), box-shadow var(--dur-base), visibility 0s linear var(--dur-base);
  }
  .layout-sidebar.is-open {
    transform: none;
    visibility: visible;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
    transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow), visibility 0s;
  }
  .layout-dashboard::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 199;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out);
  }
  .layout-dashboard.has-nav-open::after {
    opacity: 1;
    pointer-events: auto;
  }
  .layout-topbar .tb-burger {
    display: flex;
  }
  .layout-topbar {
    padding: 10px 14px;
  }
}
.layout-public {
  min-height: 100vh;
  background: #F4F6FA;
  display: grid;
  grid-template-rows: auto 1fr;
}

.public-header {
  height: var(--public-header-h);
  border-bottom: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
}
.public-header .public-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  color: var(--blue-600);
  font-size: var(--text-base);
  letter-spacing: -0.01em;
}
.public-header .public-brand .public-brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--blue-600);
}
.public-header .public-brand .public-brand-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.public-header .public-user {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--neutral-600);
}
.public-header .public-user strong {
  color: var(--neutral-800);
  font-weight: 600;
  margin-right: var(--space-1);
}

/* ==================== PUBLIC HEADER — USER DROPDOWN ==================== */
.public-user-menu {
  position: relative;
}

.public-user-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  background: white;
  cursor: pointer;
  transition: all 150ms ease;
  font-family: inherit;
}
.public-user-trigger:hover {
  background: var(--neutral-50);
  border-color: var(--neutral-300);
}
.public-user-trigger.is-open {
  background: var(--neutral-50);
  border-color: var(--blue-200);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.public-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.public-user-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.public-user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.public-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-800);
  line-height: 1;
}

.public-user-role {
  font-size: 11px;
  color: var(--neutral-500);
  line-height: 1;
}

.public-user-chevron {
  font-size: 10px;
  color: var(--neutral-400);
  transition: transform 200ms ease;
  margin-left: 2px;
}

.public-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 280px;
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
}

.dropdown-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
}

.dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.dropdown-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.dropdown-user-details {
  flex: 1;
  min-width: 0;
}

.dropdown-user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-role {
  margin-bottom: 4px;
}

.dropdown-user-email {
  font-size: 11px;
  color: var(--neutral-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-user-phone {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-divider {
  height: 1px;
  background: var(--neutral-100);
  margin: 0;
}

.dropdown-links,
.dropdown-footer {
  padding: 6px;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-700);
  text-decoration: none;
  transition: background 100ms ease, color 100ms ease;
}
.dropdown-link i {
  width: 16px;
  text-align: center;
  color: var(--neutral-400);
  font-size: 13px;
}
.dropdown-link:hover {
  background: var(--neutral-50);
  color: var(--neutral-900);
}
.dropdown-link:hover i {
  color: var(--neutral-600);
}

.dropdown-link-danger {
  color: var(--red-600);
}
.dropdown-link-danger i {
  color: var(--red-200);
}
.dropdown-link-danger:hover {
  background: var(--red-50);
  color: var(--red-700);
}
.dropdown-link-danger:hover i {
  color: var(--red-600);
}

.badge-sm {
  font-size: 10px;
  padding: 2px 6px;
}

.public-stepper-bar {
  border-bottom: 1px solid var(--neutral-200);
  padding: var(--space-4) var(--space-6);
  background: white;
}

.public-content {
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
  padding: var(--space-8) var(--space-6) 96px;
  overflow-y: auto;
  min-height: 0;
}

.public-content-full {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: none;
  overflow: hidden;
}

.public-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--neutral-200);
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
  padding: var(--space-4) var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  gap: var(--space-3);
}
.public-sticky-bar .public-sticky-left {
  color: var(--neutral-500);
  font-size: var(--text-sm);
}
.public-sticky-bar .public-sticky-right {
  display: flex;
  gap: var(--space-2);
}

/* ==================== PUBLIC TOP — bandeau marine (tunnel de réservation) ====================
   En-tête + stepper sur un même dégradé marine, halo vert en haut à droite.
   Maquette : Claude Design « Tunnel Réservation ». */
.public-top {
  position: relative;
  color: #fff;
  /* Halo vert dessiné en fond (pas de pseudo-élément) : le bandeau reste en overflow visible
     pour ne pas couper le menu utilisateur. */
  background: radial-gradient(circle at calc(100% - 90px) 50px, rgba(108, 192, 74, 0.28), rgba(108, 192, 74, 0) 210px), linear-gradient(135deg, #142147 0%, #1D2D5C 55%, #24397A 100%);
  /* Maquette : pastille sans chevron (le menu reste accessible au clic). */
  /* Le menu déroulant reste blanc : on rétablit les couleurs du thème clair. */
}
.public-top .public-header {
  position: relative;
  height: auto;
  max-width: 1680px;
  margin: 0 auto;
  padding: 18px 40px 0;
  gap: 24px;
  background: transparent;
  border-bottom: 0;
  z-index: 5;
}
@media (max-width: 640px) {
  .public-top .public-header {
    padding: 14px 16px 0;
  }
}
.public-top .public-brand {
  gap: 14px;
}
.public-top .public-brand-img {
  height: 30px;
}
.public-top .public-brand-sep {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.22);
}
.public-top .public-brand-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C7CEE3;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .public-top .public-brand-tag {
    display: none;
  }
}
.public-top .public-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.public-top .public-quit-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.public-top .public-quit-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
@media (max-width: 640px) {
  .public-top .public-quit-btn i {
    display: none;
  }
}
.public-top .public-user-trigger {
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.public-top .public-user-trigger:hover, .public-top .public-user-trigger.is-open {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}
.public-top .public-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #6CC04A;
  color: #0E2A12;
  font-weight: 800;
}
.public-top .public-user-avatar-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.public-top .public-user-name {
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}
.public-top .public-user-role {
  color: #C7CEE3;
  font-size: 10.5px;
}
.public-top .public-user-chevron {
  display: none;
}
@media (max-width: 640px) {
  .public-top .public-user-info {
    display: none;
  }
}
.public-top .public-user-dropdown {
  color: var(--neutral-800);
  z-index: 200;
}

.kpi-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: box-shadow 200ms, transform 200ms;
}
.kpi-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-1px);
}

.kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  margin-bottom: 0.5rem;
}

.kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.kpi-sub {
  font-size: 12px;
  color: var(--neutral-500);
}

.kpi-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: 0.75rem;
}

.kpi-icon-blue {
  background: #EFF6FF;
  color: #2563EB;
}

.kpi-icon-green {
  background: #F0FDF4;
  color: #16A34A;
}

.kpi-icon-amber {
  background: #FFFBEB;
  color: #D97706;
}

.kpi-icon-red {
  background: #FEF2F2;
  color: #DC2626;
}

.kpi-icon-purple {
  background: #FAF5FF;
  color: #7C3AED;
}

.kpi-trend-up {
  color: #16A34A;
  font-size: 11px;
  font-weight: 600;
}

.kpi-trend-down {
  color: #DC2626;
  font-size: 11px;
  font-weight: 600;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.content-card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.content-card-header .content-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}

.content-card-body {
  padding: 1.25rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  text-align: left;
  padding: 0.625rem 1rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  background: var(--neutral-50);
  border-bottom: 1px solid var(--card-border);
}
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-700);
  vertical-align: middle;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table tr:hover td {
  background: var(--neutral-50);
}

.page-header {
  margin-bottom: 1.5rem;
}
.page-header .page-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.25rem;
}
.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.3px;
  margin: 0;
}
.page-header .page-header-sub {
  font-size: 13px;
  color: var(--neutral-500);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: white;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* ==================== PROFIL UTILISATEUR ==================== */
.profil-header-card {
  background: white;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow);
  flex-wrap: wrap;
}

.profil-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}

.profil-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

.profil-avatar-initiales {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--blue-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1px;
}

.profil-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 150ms;
  cursor: pointer;
  margin: 0;
}
.profil-avatar-overlay:hover {
  opacity: 1;
}

.profil-avatar-upload {
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.profil-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

/* ═══════════════════════════════════════════════════════════════
   QUICK ACTIONS — Dashboard Handicall (création rapide navette/taxi)
   ═══════════════════════════════════════════════════════════════ */
.quick-actions-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 700px) {
  .quick-actions-strip {
    grid-template-columns: 1fr;
  }
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  cursor: pointer;
  transition: all 150ms;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.quick-action-btn:hover {
  border-color: var(--blue-200);
  box-shadow: var(--card-shadow);
  transform: translateY(-1px);
}

.quick-action-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.quick-action-icon.blue {
  background: var(--blue-100);
  color: var(--blue-600);
}
.quick-action-icon.amber {
  background: var(--amber-100);
  color: #D97706;
}

.quick-action-text {
  flex: 1;
}
.quick-action-text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}
.quick-action-text span {
  font-size: 12px;
  color: var(--neutral-500);
}

.quick-action-plus {
  color: var(--neutral-300);
  font-size: 16px;
}

/* ─── Modals ───────────────────────────────────────────────────── */
.quick-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  animation: quick-modal-fade var(--dur-base) var(--ease-out);
}

@keyframes quick-modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.quick-modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: quick-modal-slide var(--dur-base) var(--ease-out);
  --leave: exit-down;
}

@keyframes quick-modal-slide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.quick-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--card-border);
}
.quick-modal-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px;
  color: var(--neutral-900);
}
.quick-modal-header p {
  font-size: 12px;
  color: var(--neutral-500);
  margin: 0;
}

.quick-modal-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.quick-modal-icon.blue {
  background: var(--blue-100);
  color: var(--blue-600);
}
.quick-modal-icon.amber {
  background: var(--amber-100);
  color: #D97706;
}

.quick-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: var(--neutral-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-500);
  flex-shrink: 0;
  transition: all 120ms;
}
.quick-modal-close:hover {
  background: var(--neutral-200);
  color: var(--neutral-700);
}

.quick-modal-form {
  padding: 1.5rem;
}

.quick-modal-form .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) {
  .quick-modal-form .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.quick-modal-form .form-group {
  margin: 0;
}
.quick-modal-form .form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-700);
  margin-bottom: 4px;
}
.quick-modal-form .form-group .form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: var(--neutral-900);
  background: #fff;
  transition: all 150ms;
}
.quick-modal-form .form-group .form-control:focus {
  outline: none;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.quick-modal-form .form-group textarea.form-control {
  resize: vertical;
  min-height: 60px;
}
.quick-modal-form .form-group .form-help {
  display: block;
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 4px;
}

.quick-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--card-border);
}

.dash-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #F4F6FA;
  border: 1px solid #DEE3EC;
  border-radius: 9px;
  padding: 6px 11px;
  height: 38px;
  color: #1D2D5C;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}
.dash-filter:has(:focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.dash-filter > i {
  color: #6CC04A;
  font-size: 14px;
}
.dash-filter .dash-filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}
.dash-filter .dash-filter-select {
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
  cursor: pointer;
  outline: none;
  max-width: 220px;
  font-family: inherit;
}
.dash-filter--date > i {
  color: #6E7790;
}

.dash {
  width: 100%;
}

.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 26px 16px;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.dash-empty i {
  font-size: 22px;
  color: #C4CAD6;
}
.dash-empty--sm {
  padding: 16px 12px;
  font-size: 12.5px;
  flex-direction: row;
  gap: 8px;
}
.dash-empty--sm i {
  font-size: 15px;
}

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.dash-h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}

.dash-sub {
  margin: 5px 0 0;
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 600;
}

.dash-headstats {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}

.dash-headstat {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E2E6EE;
  border-radius: 9px;
  padding: 8px 13px;
}
.dash-headstat .n {
  font-size: 20px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
}
.dash-headstat .l {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.1;
}

.dash-export {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #1D2D5C;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 9px;
  padding: 9px 14px;
  text-decoration: none;
}
.dash-export:hover {
  background: #27396E;
}

.dash-band {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 2px 13px;
}

.dash-band-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.dash-band-title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D2D5C;
}

.dash-band-rule {
  flex: 1;
  height: 1px;
  background: #E0E4EC;
}

.dash-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-bottom: 28px;
}

.dash-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 18px;
}

@media (max-width: 1100px) {
  .dash-grid-3 {
    grid-template-columns: 1fr;
  }
  .dash-grid-2 {
    grid-template-columns: 1fr;
  }
}
.dash-card {
  background: #fff;
  border: 1px solid #E4E8F0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dash-card-head {
  padding: 17px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}

.dash-card-body {
  padding: 14px 18px 4px;
}

.dash-card-foot {
  margin-top: auto;
  border-top: 1px solid #EDF0F5;
  display: flex;
}

.dash-foot-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  text-decoration: none;
}
.dash-foot-link i {
  color: #6CC04A;
  font-size: 12px;
}
.dash-foot-link:hover {
  background: #F6F8FB;
}

.dash-chip {
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}
.dash-chip--neutral {
  color: var(--text-secondary);
  background: #F2F4F8;
}
.dash-chip--amber {
  color: #A85D00;
  background: #FCEFDC;
  font-weight: 800;
}

.dash-donut {
  position: relative;
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
}

.dash-donut-c {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.dash-donut-c .big {
  font-size: 32px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
}
.dash-donut-c .sm {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 2px;
}

.dash-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}
.dash-pill i {
  font-size: 14px;
}
.dash-pill b {
  font-weight: 800;
}
.dash-pill--green {
  background: #F2FAEF;
  border: 1px solid #DCEFD2;
  color: #2E5320;
}
.dash-pill--green i {
  color: #4FA235;
}
.dash-pill--grey {
  background: #F5F7FB;
  border: 1px solid #E4E8F0;
  color: #324063;
}
.dash-pill--grey i {
  color: #1D2D5C;
}

.dash-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}
.dash-kv span {
  color: #5A6273;
  font-weight: 600;
}
.dash-kv b {
  font-weight: 800;
  color: #1D2D5C;
}

.dash-kv-rule {
  height: 1px;
  background: #F0F2F6;
}

.dash-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.dash-mini-head > span:last-child {
  font-size: 11.5px;
  font-weight: 700;
}

.dash-trow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
}
.dash-trow .t {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  width: 42px;
  flex: 0 0 auto;
}
.dash-trow .d {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: #444C60;
  min-width: 0;
}
.dash-trow--grey {
  background: #F7F8FB;
  border: 1px solid #E9ECF3;
}
.dash-trow--amber {
  background: #FFFBF4;
  border: 1px solid #F4E4C7;
}

.dash-tag {
  font-size: 11px;
  font-weight: 800;
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
}
.dash-tag--green {
  color: #2E5320;
  background: #E7F5E0;
}
.dash-tag--amber {
  color: #A85D00;
  background: #FBE9CC;
}
.dash-tag--blue {
  color: #34508C;
  background: #E3EAF6;
}
.dash-tag--grey {
  color: #5A6273;
  background: #EDF0F5;
}

.dash-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #5A6273;
}
.dash-legend .sq {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}
.dash-legend .ln {
  width: 14px;
  height: 3px;
  border-radius: 2px;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.dash-table th {
  font-weight: 700;
  padding: 5px 6px;
  color: var(--text-secondary);
  text-align: center;
}
.dash-table th span {
  display: block;
  font-weight: 600;
  color: var(--text-tertiary);
}
.dash-table th.hl {
  color: #1D2D5C;
  font-weight: 800;
}
.dash-table td {
  text-align: center;
  font-weight: 600;
  color: #5A6273;
  padding: 6px;
  border-top: 1px solid #F0F2F6;
}
.dash-table td.hl {
  font-weight: 800;
  color: #1D2D5C;
}
.dash-table td.s {
  font-weight: 700;
  color: #324063;
}
.dash-table td.z {
  color: #C4CAD6;
}
.dash-table td.rl {
  text-align: left;
  font-weight: 700;
  color: #5A6273;
}
.dash-table td.rl--strong {
  font-weight: 800;
  color: #1D2D5C;
}
.dash-table tr:first-child td {
  border-top: none;
}

.dash-formule {
  display: flex;
  align-items: center;
  gap: 9px;
}
.dash-formule .sq {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  flex: 0 0 auto;
}
.dash-formule .t {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #324063;
}
.dash-formule b {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}

.dash-alert {
  margin: 12px 18px 0;
  padding: 11px 13px;
  background: #FFFBF4;
  border: 1px solid #F4E4C7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.dash-alert > i {
  color: #A85D00;
  font-size: 17px;
}
.dash-alert .t {
  font-size: 13px;
  font-weight: 800;
  color: #7A4A00;
}
.dash-alert .s {
  font-size: 11.5px;
  font-weight: 600;
  color: #A87C3A;
}

.dash-btn-dark {
  background: #1D2D5C;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.dash-btn-dark:hover {
  background: #27396E;
}

.dash-tasks {
  padding: 14px 20px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 700px) {
  .dash-tasks {
    grid-template-columns: 1fr;
  }
}
.dash-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #F7F8FB;
  border: 1px solid #E9ECF3;
}
.dash-task .cb {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #C4CAD6;
  flex: 0 0 auto;
}
.dash-task .cb--amber {
  border-color: #D9A441;
}
.dash-task .t {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #324063;
}
.dash-task--amber {
  background: #FFFBF4;
  border-color: #F4E4C7;
}

.pms-head {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pms-head-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #1D2D5C;
  color: #6CC04A;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
}

.pms-head-txt {
  flex: 1 1 440px;
  min-width: 0;
}
.pms-head-txt h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}
.pms-head-txt p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #6B7490;
  font-weight: 600;
}

.pms-head-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.pms-head-select {
  height: 40px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  padding: 0 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  cursor: pointer;
}

.pms-tab {
  height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.pms-tab:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.pms-tab.is-on {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}

.pms-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6CC04A;
}

.pms-export {
  height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  border: none;
  background: #1D2D5C;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}
.pms-export:hover {
  background: #27376A;
  color: #fff;
}

.pms-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
}

.pms-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 10px 12px;
  margin: 0 0 14px;
}

.pms-bar-hint {
  font-size: 12px;
  font-weight: 700;
  color: #6B7490;
}

.pms-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.pms-search {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 12px;
  background: #F8FAFC;
  transition: border-color 0.2s, background 0.2s;
}
.pms-search:focus-within {
  border-color: #1D2D5C;
  background: #fff;
}
.pms-search svg {
  flex-shrink: 0;
}
.pms-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
}
.pms-search input::placeholder {
  color: var(--text-tertiary);
}

.pms-reset {
  font-size: 12.5px;
  font-weight: 700;
  color: #6B7490;
  text-decoration: none;
}
.pms-reset:hover {
  color: #1D2D5C;
}

.pms-chip {
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.2s;
}
.pms-chip:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.pms-chip.is-on {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}
.pms-chip .n {
  font-size: 10.5px;
  opacity: 0.6;
}

.pms-seg {
  display: flex;
  gap: 4px;
  background: #F1F4F9;
  border-radius: 10px;
  padding: 3px;
}
.pms-seg a {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  color: #6B7490;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.pms-seg a.is-on {
  background: #fff;
  color: #1D2D5C;
  box-shadow: 0 2px 8px rgba(20, 33, 71, 0.1);
}

.pms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 800px;
}
.pms-table th {
  padding: 11px 16px;
  background: #FAFBFD;
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.pms-table td {
  padding: 11px 16px;
  border-top: 1px solid #F1F4F9;
  font-weight: 600;
  color: #5A6273;
}
.pms-table tbody tr:hover {
  background: #F8FAFD;
}
.pms-table .strong {
  font-weight: 700;
  color: #1D2D5C;
}
.pms-table .mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 800;
  color: #1D2D5C;
}

.pms-plaque {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 800;
  color: #1D2D5C;
  background: #EEF1F6;
  border-radius: 6px;
  padding: 3px 9px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.pms-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.pms-empty {
  padding: 36px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #6B7490;
}

.pms-note {
  margin: 12px 2px 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.pms-note b {
  color: #5A6273;
}

.pms-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.pms-kpi {
  display: block;
  text-align: left;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.pms-kpi:hover {
  border-color: #1D2D5C;
}
.pms-kpi.is-on {
  background: #F4FAF0;
  border-color: #6CC04A;
}
.pms-kpi .k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6B7490;
}
.pms-kpi .dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.pms-kpi .v {
  font-size: 26px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 6px;
  line-height: 1;
}

.pms-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #6B7490;
}
.pms-switch .track {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #CBD2E0;
  position: relative;
  transition: background 0.3s;
}
.pms-switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pms-switch.is-on {
  color: #2E5320;
}
.pms-switch.is-on .track {
  background: #6CC04A;
}
.pms-switch.is-on .knob {
  left: 19px;
}

.pms-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

@keyframes ph-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.ph-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #3E4A6B;
}
.ph-page a {
  text-decoration: none;
}

.ph-chev {
  font-size: 10px;
  color: var(--text-secondary);
  transition: transform 0.25s;
}

.ph-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ph-head h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ph-head-txt {
  flex: 1;
  min-width: 280px;
}

.ph-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4FA235;
}
.ph-eyebrow span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #6CC04A;
}

.ph-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ph-dd {
  position: relative;
}

.ph-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6CC04A;
  margin-right: 9px;
  vertical-align: 1px;
}

.ph-dd-btn {
  height: 42px;
  min-width: 210px;
  padding: 0 12px 0 14px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.ph-dd-btn.is-open {
  border-color: #1D2D5C;
}
.ph-dd-btn.is-fixe {
  cursor: default;
}

.ph-dd-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 30;
  min-width: 260px;
  padding: 6px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
  animation: ph-rise 0.2s ease both;
}

.ph-dd-opt, .ph-wk-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
}
.ph-dd-opt:hover, .ph-wk-opt:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.ph-dd-opt.is-on, .ph-wk-opt.is-on {
  background: #F0FAEC;
}
.ph-dd-opt > span, .ph-wk-opt > span {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 600;
}

.ph-wk-opt {
  font-weight: 600;
}
.ph-wk-opt.is-on {
  font-weight: 800;
}

.ph-wk-tag {
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 2px 7px;
  border-radius: 999px;
  background: #E7F5E0;
  color: #2E5320 !important;
}

.ph-week-menu {
  left: auto;
  right: -40px;
  top: calc(100% + 10px);
  min-width: 280px;
  max-height: 320px;
  overflow-y: auto;
}

.ph-views {
  display: flex;
  gap: 3px;
  height: 42px;
  padding: 3px;
  background: #F1F4F9;
  border-radius: 12px;
}
.ph-views a {
  height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  color: #6B7490;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  transition: all 0.2s;
}
.ph-views a:hover {
  color: #1D2D5C;
}
.ph-views a.is-on {
  background: #fff;
  color: #1D2D5C;
  box-shadow: 0 1px 3px rgba(20, 33, 71, 0.12);
}

.ph-lex-btn {
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ph-lex-btn:hover {
  border-color: #1D2D5C;
}
.ph-lex-btn.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}

.ph-week {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  padding: 0 4px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  background: #fff;
}

.ph-week-nav {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #324063;
  font-size: 11px;
}
.ph-week-nav:hover {
  background: #F1F4F9;
  color: #324063;
}

.ph-week-btn {
  height: 32px;
  padding: 0 10px;
  border-radius: 7px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.ph-week-btn .ph-chev {
  font-size: 9px;
}
.ph-week-btn.is-open {
  background: #F1F4F9;
}

.ph-flash {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border-radius: 11px;
  background: #FFFBF4;
  border: 1px solid #F4E4C7;
  color: #7A4A00;
  animation: ph-rise 0.25s ease both;
}
.ph-flash i {
  font-size: 15px;
}
.ph-flash span {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
}
.ph-flash button {
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
}
.ph-flash.is-ok {
  background: #F2FAEF;
  border-color: #DCEFD2;
  color: #2E5320;
}

.ph-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #142147, #1D2D5C 55%, #24397A);
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.25);
}
.ph-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 192, 74, 0.28), rgba(108, 192, 74, 0) 68%);
  pointer-events: none;
}
.ph-hero > * {
  position: relative;
}

.ph-hero-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.ph-verdict {
  flex: 1;
  min-width: 260px;
}
.ph-verdict .t {
  font-size: 23px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.ph-verdict .s {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #9FB0D8;
  line-height: 1.5;
}

.ph-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ph-chip {
  display: inline-flex;
  flex-direction: column;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.ph-chip .k {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8E9AC2;
}
.ph-chip .v {
  margin-top: 2px;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.ph-chip .v.is-vert {
  color: #8FD97A;
}
.ph-chip .v.is-terne {
  color: #9FB0D8;
}

.ph-tiles {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.pms-nuit {
  display: block;
  min-width: 0;
  overflow: hidden;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1.5px solid #33447A;
  background: transparent;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pms-nuit:hover {
  border-color: #6CC04A;
}
.pms-nuit .l {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #8E9AC2;
}
.pms-nuit .b {
  display: block;
  margin-top: 5px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.pms-nuit .s {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #9FB0D8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pms-nuit .s.is-ambre {
  color: #F0C36D;
}
.pms-nuit.is-mal {
  background: rgba(178, 58, 54, 0.16);
  border-color: #D98783;
}
.pms-nuit.is-mal .l, .pms-nuit.is-mal .b, .pms-nuit.is-mal .s {
  color: #F2A09C;
}
.pms-nuit.is-on {
  background: #27376A;
  border-color: #6CC04A;
  transform: scale(1.03);
}
.pms-nuit.is-on .l {
  color: #C7E8B8;
}

.pms-veille {
  font-size: 8.5px;
  font-weight: 800;
  color: #C7CEE3;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 1px 6px;
  text-transform: none;
  letter-spacing: 0;
}

.ph-hint {
  margin-top: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #8E9AC2;
}
.ph-hint b {
  color: #C7CEE3;
}

.ph-lex {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 20px;
  padding: 16px 20px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  animation: ph-rise 0.25s ease both;
}
.ph-lex[hidden] {
  display: none;
}
.ph-lex > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ph-lex i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  margin-top: 5px;
  flex-shrink: 0;
}
.ph-lex p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
}
.ph-lex b {
  color: #1D2D5C;
}

.ph-card {
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
}
.ph-card[hidden] {
  display: none;
}

.ph-vide {
  padding: 40px 24px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  color: #6B7490;
}

.ph-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #E3EAF6;
  color: #34508C;
}
.ph-ic.is-campus {
  background: #E7F5E0;
  color: #4FA235;
}
.ph-ic.is-off {
  background: #F0F2F6;
  color: var(--text-tertiary);
}

.ph-tag {
  margin-left: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: #F1F4F9;
  color: #6B7490;
}
.ph-tag.is-vert {
  background: #E7F5E0;
  color: #2E5320;
}

.ph-gauge {
  display: flex;
  height: 10px;
  gap: 1px;
  overflow: hidden;
  border-radius: 6px;
  background: #EDF0F5;
}
.ph-gauge span {
  transition: width 0.4s;
}
.ph-gauge .res {
  background: #1D2D5C;
}
.ph-gauge .fle {
  background: #7FA2E0;
}
.ph-gauge .lib {
  background: #6CC04A;
}
.ph-gauge.is-mini {
  height: 8px;
}

.ph-gauge-sub {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.ph-num {
  width: 66px;
  height: 38px;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  outline: none;
  font-variant-numeric: tabular-nums;
  transition: all 0.2s;
}
.ph-num:focus {
  border-color: #1D2D5C !important;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.1);
}
.ph-num.is-plus {
  border-color: #BFE3AC;
}
.ph-num.is-moins {
  border-color: #F0DFBE;
}
.ph-num.is-dirty {
  border-color: #E0A93B;
  background: #FFFDF5;
  color: #7A4A00;
}
.ph-num.is-large {
  width: 96px;
  height: 40px;
  border-radius: 10px;
  font-size: 16px;
  padding-right: 24px;
}

.ph-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 11px 18px;
  border-top: 1px solid #EEF1F6;
  background: #FAFBFD;
  font-size: 11.5px;
  font-weight: 700;
  color: #5A6273;
}
.ph-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ph-legend i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.ph-legend .note {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-tertiary);
}

.ph-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 20px;
  background: #F0F2F6;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
}
.ph-pill i {
  font-size: 11px;
}
.ph-pill.is-rouge {
  background: #FBE4E3;
  color: #B23A36;
}

.ph-htabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ph-htab {
  height: 44px;
  padding: 0 14px 0 8px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ph-htab .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.ph-htab .n {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.ph-htab .s {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #6B7490;
  white-space: nowrap;
}
.ph-htab .s.is-rouge {
  color: #B23A36;
}
.ph-htab .badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #D9A441;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.ph-htab .badge[hidden] {
  display: none;
}
.ph-htab:hover {
  border-color: #1D2D5C;
}
.ph-htab.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}
.ph-htab.is-on .ic {
  background: #1D2D5C;
  color: #fff;
}

.ph-hhead {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid #F0F2F6;
}
.ph-hhead .ph-ic {
  width: 40px;
  height: 40px;
  font-size: 15px;
}
.ph-hhead .txt {
  flex: 1;
  min-width: 200px;
}
.ph-hhead .nom {
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.ph-hhead .sub {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.ph-tel {
  height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.ph-tel i {
  font-size: 10px;
}

.ph-totaux {
  display: flex;
  gap: 16px;
  padding-left: 16px;
  border-left: 1px solid #E2E8F0;
}
.ph-totaux > div {
  text-align: right;
}
.ph-totaux .k {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.ph-totaux .v {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.ph-totaux .v.is-vert {
  color: #2E5320;
}
.ph-totaux .v.is-rouge {
  color: #B23A36;
}
.ph-totaux .v.is-terne {
  color: var(--text-tertiary);
}

.ph-grid-wrap {
  overflow-x: auto;
}

.ph-grid {
  display: grid;
  grid-template-columns: 170px repeat(7, minmax(0, 1fr));
  min-width: 820px;
}

.ph-grid-hd {
  padding: 10px 8px;
  text-align: center;
  background: #FAFBFD;
  border-bottom: 1px solid #F0F2F6;
  border-left: 1px solid #F0F2F6;
}
.ph-grid-hd .j {
  font-size: 11.5px;
  font-weight: 800;
  color: #1D2D5C;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ph-grid-hd .d {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  font-family: "JetBrains Mono", monospace;
}
.ph-grid-hd.is-coin {
  border-left: 0;
  padding: 10px 16px;
}
.ph-grid-hd.is-trop {
  background: #FCF1F0;
}
.ph-grid-hd.is-trop .j {
  color: #B23A36;
}

.ph-grid-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #F0F2F6;
  background: #fff;
}
.ph-grid-lbl > i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex-shrink: 0;
}
.ph-grid-lbl .l {
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
}
.ph-grid-lbl .s {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.ph-grid-lbl.is-saisie {
  background: #F4F7FC;
}

.ph-grid-c {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px;
  border-top: 1px solid #F0F2F6;
  border-left: 1px solid #F0F2F6;
}
.ph-grid-c.is-off {
  background: #FAFBFD;
}
.ph-grid-c.is-dirty {
  background: #FFF8E1;
}
.ph-grid-c.is-trop {
  background: #FCF1F0;
}
.ph-grid-c > .w {
  width: 100%;
}
.ph-grid-c .ph-gauge-sub {
  margin-top: 4px;
  font-size: 10px;
  text-align: center;
}

.ph-t {
  font-size: 15px;
  font-weight: 800;
  color: #3E4A6B;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.ph-t.is-petit {
  font-size: 11px;
}
.ph-t.is-grand {
  font-size: 19px;
}
.ph-t.is-rouge {
  color: #B23A36;
}
.ph-t.is-vert {
  color: #2E5320;
}
.ph-t.is-terne {
  color: #B5BCCA;
}
.ph-t.is-vide {
  color: #C4CAD6;
}

.ph-ecart {
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.ph-ecart.is-plus {
  background: #F4FAF0;
  color: #2E5320;
}
.ph-ecart.is-moins {
  background: #FFFBF4;
  color: #A85D00;
}

.ph-savebar {
  position: sticky;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px 14px 12px 18px;
  border-radius: 14px;
  background: #1D2D5C;
  color: #fff;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.4);
  animation: ph-rise 0.25s ease both;
}
.ph-savebar[hidden] {
  display: none;
}
.ph-savebar .n {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #D9A441;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.ph-savebar .t {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.ph-savebar .t small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  color: #C7CEE3;
}

.ph-savebar-annuler {
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #C7CEE3;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.ph-savebar-annuler:hover {
  color: #fff;
}

.ph-savebar-ok {
  height: 38px;
  padding: 0 18px;
  border-radius: 9px;
  border: none;
  background: #6CC04A;
  color: #0E2A12;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ph-savebar-ok:hover {
  background: #5DB13A;
}

.ph-titre {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 2px 0;
}
.ph-titre h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #1D2D5C;
}
.ph-titre span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.ph-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
}

.ph-kpi {
  padding: 16px 18px;
  border-left: 1px solid #F1F4F9;
}
.ph-kpi:first-child {
  border-left: 0;
}
.ph-kpi .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.ph-kpi .v {
  margin-top: 5px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.ph-kpi .s {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.ph-kpi .v.is-vert {
  color: #2E5320;
}
.ph-kpi .v.is-ambre {
  color: #A85D00;
}
.ph-kpi .v.is-rouge {
  color: #B23A36;
}
.ph-kpi.is-ok {
  background: #F4FAF1;
}
.ph-kpi.is-ko {
  background: #FCF1F0;
}
.ph-kpi.is-ko .s {
  color: #8C2F2B;
}

.ph-manque {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-radius: 16px;
  background: #FDF3F2;
  border: 1.5px solid #F3D9D6;
}
.ph-manque .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #B23A36;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.ph-manque .txt {
  flex: 1;
  min-width: 240px;
}
.ph-manque .t {
  font-size: 14.5px;
  font-weight: 800;
  color: #8A2F2C;
}
.ph-manque .s {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7A4A47;
  line-height: 1.5;
}

.pms-ligne {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.4fr) minmax(120px, 1fr) 72px auto;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid #F1F4F9;
  background: #fff;
}
.pms-ligne:first-child {
  border-top: 0;
}
.pms-ligne:hover {
  background: #FAFBFD;
}
.pms-ligne.is-campus {
  background: #FBFDF9;
}
.pms-ligne.is-off {
  background: #FAFBFD;
}
.pms-ligne.is-trop {
  background: #FFFAFA;
}
.pms-ligne .txt {
  min-width: 0;
}

.ph-nom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1.25;
}
.ph-nom .ph-tag {
  margin-left: 8px;
}

.ph-eq {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #6B7490;
}
.ph-eq > i {
  font-style: normal;
  font-weight: 800;
  color: #B5BCCA;
}

.ph-eq-off {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.ph-pas {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 7px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  background: #F1F4F9;
  color: #5A6273;
}
.ph-pas.is-allot {
  background: #E8ECF6;
  color: #1D2D5C;
}
.ph-pas.is-res {
  background: #EDF0F5;
  color: #1D2D5C;
}
.ph-pas.is-fle {
  background: #EAF0FB;
  color: #34508C;
}
.ph-pas.is-moins {
  background: #FCEFDC;
  color: #A85D00;
}
.ph-pas.is-plus {
  background: #E7F5E0;
  color: #2E5320;
}
.ph-pas.is-lib {
  background: #E7F5E0;
  color: #2E5320;
}
.ph-pas.is-ko {
  background: #FBE4E3;
  color: #B23A36;
}

.ph-big {
  text-align: right;
}
.ph-big .v {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.ph-big .v.is-vert {
  color: #2E5320;
}
.ph-big .v.is-rouge {
  color: #B23A36;
}
.ph-big .s {
  display: block;
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.ph-big .s.is-rouge {
  color: #B23A36;
}

.ph-off-pill {
  text-align: right;
}

.ph-total {
  margin: 0;
}
.ph-total label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  margin: 0;
}
.ph-total .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.ph-total .champ {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.ph-total .h {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.ph-total .h.is-ambre {
  color: #A85D00;
}
.ph-total .ph-busy {
  display: none;
  position: absolute;
  right: 30px;
  color: #6CC04A;
  font-size: 12px;
}
.ph-total.is-busy .ph-busy {
  display: block;
}

.ph-campus-note {
  text-align: right;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  line-height: 1.5;
}
.ph-campus-note a {
  font-weight: 800;
  color: #1D2D5C;
}
.ph-campus-note a i {
  font-size: 10px;
}

.ph-jhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 2px 10px;
}
.ph-jhead h2 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1D2D5C;
}
.ph-jhead span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.ph-jrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  border-top: 1px solid #F0F2F6;
  font-size: 12.5px;
}
.ph-jrow:first-child {
  border-top: 0;
}
.ph-jrow .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ph-jrow .t {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  color: #324063;
}
.ph-jrow .tel {
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.ph-jrow .tel i {
  font-size: 10px;
  margin-right: 6px;
}
.ph-jrow .notel {
  font-size: 12px;
  font-weight: 700;
  color: #C4CAD6;
  white-space: nowrap;
}
.ph-jrow .notel i {
  font-size: 10px;
  margin-right: 6px;
}

.ph-jvide {
  padding: 18px;
  text-align: center;
  background: #fff;
  border: 1.5px dashed #D2D8E2;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.ph-jvide i {
  margin-right: 8px;
}

.ph-alerte {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  background: #FDF6EA;
  color: #7A4A00;
}
.ph-alerte > i {
  margin-top: 3px;
}
.ph-alerte .t {
  flex: 1;
}
.ph-alerte a {
  font-weight: 800;
  white-space: nowrap;
  color: inherit;
}
.ph-alerte.is-rouge {
  background: #FCF1F0;
  color: #8C2F2B;
}

@media (max-width: 1180px) {
  .pms-ligne {
    grid-template-columns: 44px minmax(0, 1fr) 72px;
  }
  .pms-ligne > :nth-child(3) {
    grid-column: 2/4;
  }
  .pms-ligne > :nth-child(5) {
    grid-column: 1/-1;
    justify-self: start;
  }
  .ph-total label, .ph-campus-note, .ph-off-pill {
    align-items: flex-start;
    text-align: left;
  }
}
@media (max-width: 900px) {
  .ph-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@keyframes er-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes er-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.er-page .t-navy {
  color: #1D2D5C;
}
.er-page .t-gris {
  color: #5A6273;
}
.er-page .er-badge.t-vert, .er-page .er-pill.t-vert {
  background: #E7F5E0;
  color: #2E5320;
}
.er-page .er-badge.t-bleu, .er-page .er-pill.t-bleu {
  background: #E3EAF6;
  color: #27437E;
}
.er-page .er-badge.t-ambre, .er-page .er-pill.t-ambre {
  background: #FDF6EA;
  color: #A85D00;
}
.er-page .er-badge.t-rouge, .er-page .er-pill.t-rouge {
  background: #FBE4E3;
  color: #B23A36;
}
.er-page .er-badge.t-gris, .er-page .er-pill.t-gris {
  background: #EEF0F4;
  color: #5A6273;
}
.er-page .er-badge.t-navy, .er-page .er-pill.t-navy {
  background: #1D2D5C;
  color: #fff;
  --dot: #8FD97A;
}
.er-page .er-badge.t-vert, .er-page .er-pill.t-vert {
  --dot: $er-green-dark;
}
.er-page .er-badge.t-bleu, .er-page .er-pill.t-bleu {
  --dot: $er-blue;
}
.er-page .er-badge.t-ambre, .er-page .er-pill.t-ambre {
  --dot: #D9A441;
}
.er-page .er-badge.t-rouge, .er-page .er-pill.t-rouge {
  --dot: #E0664F;
}
.er-page .er-badge.t-gris, .er-page .er-pill.t-gris {
  --dot: #9AA3B8;
}
.er-page .er-kpi .v.t-vert, .er-page .er-pop-kpi .v.t-vert {
  color: #2E5320;
}
.er-page .er-kpi .v.t-bleu, .er-page .er-pop-kpi .v.t-bleu {
  color: #34508C;
}
.er-page .er-kpi .v.t-rouge, .er-page .er-pop-kpi .v.t-rouge {
  color: #B23A36;
}
.er-page .er-pop-kpi .v.t-navy {
  color: #fff;
}
.er-page .er-pop-kpi .v.t-vert {
  color: #8FD97A;
}
.er-page .er-pop-kpi .v.t-bleu {
  color: #9FB0D8;
}
.er-page .er-pop-kpi .v.t-ambre {
  color: #F3D48B;
}
.er-page .er-pop-kpi .v.t-rouge {
  color: #F4A08F;
}

.er-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #3E4A6B;
}
.er-page a {
  text-decoration: none;
}

.er-chev {
  font-size: 9px;
  color: var(--text-secondary);
  transition: transform 0.25s;
}

.er-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.er-head h1 {
  min-width: 0;
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}

.er-head-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #1D2D5C;
  display: grid;
  place-items: center;
  color: #6CC04A;
  flex-shrink: 0;
}

.er-views {
  display: flex;
  gap: 3px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 3px;
}

.er-tab {
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: #6B7490;
  white-space: nowrap;
}
.er-tab i {
  font-size: 11px;
}
.er-tab:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.er-tab.is-on, .er-tab.is-on:hover {
  background: #1D2D5C;
  color: #fff;
}

.er-week {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 4px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
}

.er-week-nav {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #324063;
  font-size: 11px;
}
.er-week-nav:hover {
  background: #F1F4F9;
  color: #324063;
}
.er-week-nav.is-off {
  color: #D3D8E2;
  pointer-events: none;
}

.er-week-btn {
  height: 32px;
  padding: 0 10px;
  border-radius: 7px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.er-week-btn:hover, .er-week-btn.is-open {
  background: #F1F4F9;
}

.er-dd {
  position: relative;
}

.er-dd-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 10px);
  z-index: 30;
  min-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
}

.er-dd-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  white-space: nowrap;
}
.er-dd-opt:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.er-dd-opt.is-on {
  background: #F0FAEC;
  font-weight: 800;
}

.er-dd-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #E7F5E0;
  color: #2E5320;
}

.er-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.er-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.er-btn:hover {
  border-color: #C7D2EA;
  color: #1D2D5C;
}
.er-btn.is-plein {
  background: rgba(29, 45, 92, 0.12);
  border-color: transparent;
  color: #1D2D5C;
  transition: background 0.15s;
}
.er-btn.is-plein:hover {
  background: rgba(29, 45, 92, 0.18);
  border-color: transparent;
  color: #1D2D5C;
}
.er-btn.is-plein .is-vert {
  color: #4FA235;
}
.er-btn.is-plein .is-ambre {
  color: #C98E1E;
}

.er-filtres {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.er-filtres .er-views {
  flex-shrink: 0;
  margin-left: auto;
}
.er-filtres .er-chip {
  height: 41px;
}
.er-filtres .er-note-bar {
  flex: 1 1 320px;
}

.er-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.er-chip {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.er-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.er-chip:hover {
  border-color: #C7D2EA;
  color: #1D2D5C;
}
.er-chip.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}

.er-chip-q .fa-xmark {
  color: #7E879C;
}

.er-note-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #EEF3FC;
  border: 1px solid #D3E0F5;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #27437E;
}
.er-note-bar i {
  color: #34508C;
}

.er-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
}

.er-card-h {
  display: flex;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border-bottom: 1px solid #F0F2F6;
}
.er-card-h .t {
  font-size: 14.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.er-card-h .s {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.er-card-h .er-badge {
  margin-left: auto;
}

.er-or {
  border-color: #F3D48B;
}

.er-or-compte {
  font-size: 11px;
  font-weight: 800;
  color: #8F4F00;
  background: #FCEFDC;
  border-radius: 999px;
  padding: 3px 9px;
}

.er-or-liste {
  display: flex;
  flex-direction: column;
}

.er-or-ligne {
  display: flex;
  align-items: center;
  gap: 8px 14px;
  flex-wrap: wrap;
  padding: 11px 18px;
  border-top: 1px solid #F0F2F6;
}
.er-or-ligne:first-child {
  border-top: 0;
}

.er-or-date {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}

.er-or-qui {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.er-or-qui a {
  color: inherit;
  text-decoration: none;
}
.er-or-qui a:hover {
  text-decoration: underline;
}
.er-or-qui small {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.er-or-statut, .er-or-envois span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #44506B;
}
.er-or-statut::before, .er-or-envois span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.er-or-statut.is-amber, .er-or-envois span.is-amber {
  background: #FCEFDC;
  color: #8F4F00;
}
.er-or-statut.is-red, .er-or-envois span.is-red {
  background: #FBE4E3;
  color: #B23A36;
}
.er-or-statut.is-green, .er-or-envois span.is-green {
  background: #E7F5E0;
  color: #2E5320;
}

.er-or-envois {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.er-or-envois span {
  font-size: 11px;
  padding: 3px 9px;
}

.er-or-depuis {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.er-vide {
  padding: 30px 20px;
  text-align: center;
  color: var(--text-secondary);
}
.er-vide i {
  font-size: 22px;
  color: #C4CAD6;
}
.er-vide .t {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 10px;
}
.er-vide .s {
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 4px;
}

.er-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.er-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dot, currentColor);
  flex-shrink: 0;
}

.er-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.er-pill {
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  cursor: default;
}

.er-couchages-p {
  margin: 12px 18px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 78ch;
  line-height: 1.5;
}

.er-tbl {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 13px;
}
.er-tbl th {
  padding: 8px 18px;
  text-align: right;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5A6273;
  background: #F7F8FB;
}
.er-tbl td {
  padding: 9px 18px;
  text-align: right;
  font-weight: 800;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
  border-top: 1px solid #F0F2F6;
}
.er-tbl th:first-child, .er-tbl td:first-child {
  text-align: left;
}

.er-pop {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: none;
  background: rgba(20, 33, 71, 0.55);
  backdrop-filter: blur(6px);
  color: #3E4A6B;
  font-family: inherit;
  overflow: hidden;
}
.er-pop::backdrop {
  background: transparent;
}
.er-pop[open] {
  display: grid;
  place-items: center;
  animation: fade var(--dur-base) var(--ease-out) both;
}

.er-pop-box {
  --leave: exit-scale;
  animation: er-rise var(--dur-base) var(--ease-out) both;
  width: 100%;
  max-width: 960px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}

.er-pop-h {
  min-width: 880px;
  background: #1D2D5C;
  color: #fff;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1;
}

.er-pop-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #6CC04A;
}

.er-pop-tt {
  flex: 1;
  min-width: 220px;
}
.er-pop-tt .k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8E9AC2;
}
.er-pop-tt .t {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 3px;
}

.er-pop-kpis {
  display: flex;
  gap: 14px;
}

.er-pop-kpi {
  text-align: right;
}
.er-pop-kpi .k {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8E9AC2;
}
.er-pop-kpi .v {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.er-pop-x {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.er-pop-grid {
  min-width: 880px;
  display: grid;
  grid-template-columns: minmax(200px, 1.3fr) 140px repeat(7, minmax(0, 1fr)) 130px;
  gap: 6px;
  align-items: center;
  padding: 10px 26px;
  border-bottom: 1px solid #F0F2F6;
}

.er-pop-th {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.er-pop-th .j {
  text-align: center;
}
.er-pop-th .j.is-on {
  color: #4FA235;
}
.er-pop-th .st {
  text-align: right;
}

.er-pop-row {
  color: inherit;
}
.er-pop-row:hover {
  background: #F7F9FC;
  color: inherit;
}
.er-pop-row .qui {
  min-width: 0;
}
.er-pop-row .n {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.er-pop-row .s {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.er-pop-row .mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
}
.er-pop-row .s .mono {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.er-pop-row .sej {
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
}
.er-pop-row .st {
  text-align: right;
}
.er-pop-row .er-badge {
  font-size: 11px;
  padding: 3px 9px;
}

.er-nuit {
  height: 26px;
  border-radius: 7px;
  background: #F8FAFC;
  border: 1.5px solid #F0F2F6;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #34508C;
}
.er-nuit.is-ici {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}
.er-nuit.is-on {
  background: #6CC04A;
  border-color: #6CC04A;
  color: #0E2A12;
}
.er-nuit.is-ailleurs {
  background: #E3EAF6;
  border-color: #C9D8EC;
}
.er-nuit.is-ins {
  background: #FDF6EA;
  border-style: dashed;
  border-color: #D9A441;
  color: #A85D00;
}

.er-pop-leg {
  min-width: 880px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 26px;
  font-size: 11px;
  font-weight: 700;
  color: #5A6273;
}
.er-pop-leg i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
}
.er-pop-leg .aide {
  margin-left: auto;
  color: var(--text-tertiary);
  font-weight: 600;
}

.er-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  width: 600px;
  max-width: calc(100% - 32px);
  box-shadow: 0 24px 60px rgba(15, 25, 55, 0.3);
  max-height: calc(100dvh - 32px);
}
.er-modal::backdrop {
  background: rgba(15, 25, 55, 0.45);
}
.er-modal > form {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 32px);
}
.er-modal .er-modal-b {
  overflow-y: auto;
  min-height: 0;
}

.er-btn-pri:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.er-modal-h {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 20px;
  border-bottom: 1px solid #EEF1F6;
}
.er-modal-h .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.er-modal-h h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.er-modal-h .s {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1px;
}
.er-modal-h .x {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #E4E8F0;
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
}

.er-modal-b {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.er-modal-f {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #EEF1F6;
  background: #FAFBFD;
  flex-wrap: wrap;
}
.er-modal-f > span {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: #5A6273;
}

.er-lab {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.er-textarea {
  width: 100%;
  border: 1px solid #DEE3EC;
  border-radius: 9px;
  background: #F7F8FB;
  padding: 10px 11px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D2D5C;
  resize: vertical;
}

.er-aide {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 6px;
}

.er-encart {
  background: #F7F9FC;
  border: 1px solid #E4E8F0;
  border-radius: 11px;
  padding: 13px 15px;
}
.er-encart .l {
  font-size: 12.5px;
  font-weight: 600;
  color: #44506B;
  line-height: 1.7;
}
.er-encart .l i {
  width: 15px;
}

.er-avert {
  font-size: 12px;
  font-weight: 700;
  color: #7A4A00;
  background: #FFFBF4;
  border: 1px solid #F4E4C7;
  border-radius: 10px;
  padding: 10px 13px;
}

.er-choix {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1.5px solid #E4E8F0;
  background: #fff;
  border-radius: 11px;
  padding: 10px 13px;
  cursor: pointer;
}
.er-choix input {
  width: 17px;
  height: 17px;
  accent-color: #4FA235;
  cursor: pointer;
}
.er-choix .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.er-choix .t {
  flex: 1;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.er-choix .t span {
  font-weight: 600;
  color: var(--text-tertiary);
  font-size: 12px;
}
.er-choix .n {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.er-lab-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.er-lab-row .er-lab {
  margin: 0;
  flex: 1;
}
.er-lab-row .er-lab span {
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}

.er-lien {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 11.5px;
  font-weight: 700;
  color: #34508C;
  cursor: pointer;
}
.er-lien:hover {
  text-decoration: underline;
}

.er-lieux-choix {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 206px;
  overflow-y: auto;
  padding: 1px;
}

.er-choix.is-compact {
  gap: 9px;
  padding: 8px 11px;
  min-width: 0;
}
.er-choix.is-compact .ic {
  color: var(--text-secondary);
  font-size: 12px;
  width: 13px;
  text-align: center;
  flex: 0 0 auto;
}
.er-choix.is-compact .t {
  min-width: 0;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.er-choix.is-compact .t span {
  font-size: 11.5px;
}
.er-choix.is-compact .n {
  font-size: 11.5px;
  white-space: nowrap;
}
.er-choix.is-compact:has(input:not(:checked)) {
  background: #FAFBFD;
}
.er-choix.is-compact:has(input:not(:checked)) .t {
  color: var(--text-secondary);
}
.er-choix.is-compact.is-vide .n {
  color: var(--text-tertiary);
}

.er-formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.er-format {
  display: block;
  border: 1.5px solid #E4E8F0;
  background: #fff;
  border-radius: 11px;
  padding: 11px 10px;
  cursor: pointer;
}
.er-format input {
  accent-color: #1D2D5C;
}
.er-format .t {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 4px;
}
.er-format .d {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 3px;
  line-height: 1.4;
}

.er-colonne {
  font-size: 11.5px;
  font-weight: 700;
  color: #324063;
  background: #F2F4F8;
  border-radius: 7px;
  padding: 4px 9px;
}

.er-btn-sec {
  height: 40px;
  padding: 0 15px;
  border-radius: 9px;
  border: 1px solid #DEE3EC;
  background: #fff;
  color: #324063;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.er-btn-pri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 17px;
  border-radius: 9px;
  border: none;
  background: #6CC04A;
  color: #0E2A12;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.er-search {
  flex: 1 1 230px;
  max-width: 360px;
  min-width: 200px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 12px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
}
.er-search:focus-within {
  border-color: #34508C;
  box-shadow: 0 0 0 3px rgba(52, 80, 140, 0.12);
}
.er-search > i {
  color: var(--text-tertiary);
  font-size: 13px;
}
.er-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
}
.er-search input::placeholder {
  color: var(--text-tertiary);
  font-weight: 600;
}
.er-search input::-webkit-search-cancel-button {
  display: none;
}
.er-search .er-search-x {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7E879C;
}
.er-search .er-search-x:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.er-search button {
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  border: none;
  background: #1D2D5C;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.er-search button:hover {
  background: #2A3D75;
}

.er-res-wrap {
  overflow-x: auto;
}

.er-res {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 13px;
}
.er-res th {
  padding: 9px 14px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5A6273;
  background: #F7F8FB;
  white-space: nowrap;
}
.er-res td {
  padding: 9px 14px;
  border-top: 1px solid #F0F2F6;
  font-weight: 700;
  color: #3E4A6B;
  vertical-align: top;
}
.er-res tbody tr:hover {
  background: #FAFBFD;
}
.er-res .qui {
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.er-res .qui a {
  color: #1D2D5C;
}
.er-res .qui a:hover {
  text-decoration: underline;
}
.er-res .mono {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #5A6273;
  white-space: nowrap;
}
.er-res .sess {
  font-family: ui-monospace, monospace;
  font-size: 11.5px;
  color: #34508C;
  white-space: nowrap;
}
.er-res .int {
  display: block;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 32ch;
}
.er-res .quand {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.er-res .sous {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.er-res-plus {
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  border-top: 1px solid #F0F2F6;
}

.er-verdict {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 25, 55, 0.08);
}

.er-verdict-h {
  background: #1D2D5C;
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.er-verdict-h .tt {
  flex: 1;
  min-width: 260px;
}
.er-verdict-h .t {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.er-verdict-h .s {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #9FB0D8;
  line-height: 1.5;
}

.er-verdict-kpis {
  display: flex;
  gap: 18px;
}
.er-verdict-kpis > div {
  text-align: right;
}
.er-verdict-kpis .k {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8E9AC2;
}
.er-verdict-kpis .v {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.er-verdict-b {
  padding: 16px 24px;
}

.er-stack {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: #EDF0F5;
  gap: 2px;
}
.er-stack span {
  transition: width 0.5s;
}
.er-stack.is-fin {
  height: 8px;
  border-radius: 4px;
  gap: 1px;
}

.er-stack-leg {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  flex-wrap: wrap;
}
.er-stack-leg > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.er-stack-leg i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.er-stack-leg .aide {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.c-conf {
  background: #1D2D5C;
}

.c-wait {
  background: #7FA2E0;
}

.c-ins {
  background: #D9A441;
}

.c-apres {
  background: #E0664F;
}

.er-semaine {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: er-rise 0.35s ease both;
}

.er-semaine-h {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 2px;
}
.er-semaine-h h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.01em;
}
.er-semaine-h .n {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}
.er-semaine-h .fini {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: #E6EAF2;
  color: #5A6273;
}

.er-lieu {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.er-lieu.is-open {
  border-color: #1D2D5C;
  box-shadow: 0 10px 30px rgba(20, 33, 71, 0.1);
}

.er-lieu-h {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 18px 10px;
  flex-wrap: wrap;
  cursor: pointer;
}
.er-lieu-h:hover {
  background: #FBFCFE;
}

.er-lieu-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex-shrink: 0;
  background: #E3EAF6;
  color: #34508C;
}
.er-lieu-ic.is-campus {
  background: #E7F5E0;
  color: #4FA235;
}
.er-lieu-ic.is-na {
  background: #FDF6EA;
  color: #A85D00;
}

.er-lieu-tt {
  flex: 1;
  min-width: 200px;
}
.er-lieu-tt .n {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.er-lieu-tt .s {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 3px;
  line-height: 1.5;
}

.er-lieu-jauge {
  flex: 0 0 auto;
  width: 200px;
}
.er-lieu-jauge .t {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  text-align: right;
  white-space: nowrap;
}
.er-lieu-jauge .er-stack {
  margin-top: 7px;
}

.er-lieu-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 18px 12px;
}
.er-lieu-pills .er-badge {
  height: 24px;
  font-size: 11px;
  padding: 0 10px;
}

.er-nuits {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 0 18px 12px;
}

@media (max-width: 760px) {
  .er-nuits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.er-night {
  text-align: left;
  padding: 8px 9px 9px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #EDF0F5;
  min-width: 0;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
  color: inherit;
  font: inherit;
}
.er-night.is-we {
  background: #F4F6FA;
}
.er-night.is-veille {
  border: 1px dashed #C9D2E3;
}
.er-night:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 33, 71, 0.14);
  border-color: #1D2D5C;
}
.er-night:disabled {
  cursor: default;
}
.er-night .j {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #5A6273;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  white-space: nowrap;
  text-transform: uppercase;
}
.er-night.is-we .j {
  color: var(--text-tertiary);
}
.er-night.is-veille .j {
  color: var(--text-secondary);
}
.er-night .g {
  display: flex;
  height: 5px;
  border-radius: 3px;
  background: #E6EAF2;
  overflow: hidden;
  margin-top: 7px;
  gap: 1px;
}
.er-night .r {
  font-size: 11.5px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 6px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.er-night .a, .er-night .m, .er-night .x {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.er-night .a {
  color: #A85D00;
}
.er-night .a.is-zero {
  color: #B5BCCA;
}
.er-night .m {
  color: #C24A2C;
}
.er-night .x {
  color: var(--text-secondary);
}
.er-night .vide {
  margin-top: 9px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  font-style: italic;
}

@media (prefers-reduced-motion: reduce) {
  .er-night:hover:not(:disabled) {
    transform: none;
  }
}
.er-lieu-f {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: none;
  border-top: 1px solid #F0F2F6;
  background: none;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  text-align: left;
  cursor: pointer;
}
.er-lieu-f:hover {
  background: #FBFCFE;
}
.er-lieu-f i {
  font-size: 10px;
  color: #4FA235;
  transition: transform 0.2s;
}
.er-lieu-f[aria-expanded=true] i {
  transform: rotate(90deg);
}

.er-lieu-b {
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: er-rise 0.25s ease both;
}
.er-lieu-b[hidden] {
  display: none;
}

.er-renvoi {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.er-renvoi form {
  display: contents;
}
.er-renvoi .note {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.5;
}

.er-btn-navy, .er-btn-contour, .er-btn-vert {
  height: 42px;
  padding: 0 18px;
  border-radius: 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.er-btn-vert {
  border: none;
  background: #4FA235;
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 162, 53, 0.25);
}
.er-btn-vert:hover {
  background: #45903E;
  color: #fff;
}

.er-btn-contour {
  border: 1.5px solid #C7D2EA;
  background: #fff;
  color: #1D2D5C;
}
.er-btn-contour:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}

.er-btn-navy {
  border: none;
  background: #1D2D5C;
  color: #fff;
}
.er-btn-navy i {
  font-size: 11px;
}
.er-btn-navy:hover {
  background: #27376A;
  color: #fff;
}

.er-avis {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.55;
}
.er-avis i {
  margin-top: 3px;
}
.er-avis.is-lock {
  background: #FDF6EA;
  border: 1px solid #F0DFBE;
  color: #7A4A00;
}
.er-avis.is-fini {
  background: #EEF1F6;
  border: 1px solid #DDE2EC;
  color: #5A6273;
}

.er-sess {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}

.er-sess-scroll {
  overflow-x: auto;
}

.er-sess-h {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 14px;
  border-bottom: 1px solid #F0F2F6;
}
.er-sess-h .c {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #34508C;
  word-break: break-all;
}
.er-sess-h .int {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
}
.er-sess-h .n {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.er-sess-h .b {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}
.er-sess-h .er-badge {
  height: 22px;
  font-size: 11px;
  padding: 0 9px;
}

.er-sess-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 10px;
  align-items: center;
  padding: 9px 14px;
  min-width: 600px;
}

.er-sess-th {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border-bottom: 1px solid #F0F2F6;
}
.er-sess-th .st {
  text-align: right;
}

.er-sess-row {
  border-bottom: 1px solid #F4F6FA;
  color: inherit;
}
.er-sess-row:last-child {
  border-bottom: 0;
}
.er-sess-row:hover {
  background: #F7F9FC;
  color: inherit;
}
.er-sess-row.is-ins {
  background: #FFF8E8;
}
.er-sess-row.is-apres {
  background: #FFF2EE;
}
.er-sess-row.is-annule .nom {
  color: var(--text-secondary);
  text-decoration: line-through;
  text-decoration-color: #C4CAD6;
}
.er-sess-row > span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.er-sess-row .nom {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.er-sess-row .mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #3E4A6B;
}
.er-sess-row .sej {
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  font-variant-numeric: tabular-nums;
}
.er-sess-row .st {
  text-align: right;
}
.er-sess-row .er-badge {
  height: 22px;
  font-size: 11px;
  padding: 0 9px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.er-legende {
  padding: 14px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.6;
  text-wrap: pretty;
}
.er-legende p {
  margin: 0;
}
.er-legende .cles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.er-legende .cle {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E2E8F0;
  flex: 1;
  min-width: 240px;
}
.er-legende .cle i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 5px;
}
.er-legende .cle strong {
  color: #1D2D5C;
}

.er-vide-page {
  background: #fff;
  border: 1.5px dashed #D5DBE7;
  border-radius: 14px;
  padding: 48px 24px;
  text-align: center;
}
.er-vide-page .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #EEF1F6;
  color: var(--text-tertiary);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 18px;
}
.er-vide-page .t {
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.er-vide-page .s {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 6px;
}

@media print {
  .er-noprint {
    display: none !important;
  }
}
@keyframes chg-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes chg-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes chg-dd {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes chg-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes chg-spin {
  to {
    transform: rotate(360deg);
  }
}
body.chg-dragging, body.chg-dragging * {
  cursor: grabbing !important;
  user-select: none !important;
}

.chg-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: chg-fade 0.35s ease both;
}
.chg-page [hidden] {
  display: none !important;
}
.chg-page .chg-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.chg-page .chg-pill.t-vert {
  background: #E7F5E0;
  color: #2E5320;
}
.chg-page .chg-pill.t-ambre {
  background: #FCEFDC;
  color: #A85D00;
}
.chg-page .chg-pill.t-violet {
  background: #F2EBFD;
  color: #7C3AED;
}
.chg-page .chg-pill.t-gris {
  background: #F1F4F9;
  color: var(--text-secondary);
}
.chg-page .chg-ic {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.chg-page .chg-ic.is-lg {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 12px;
}
.chg-page .chg-ic.t-campus {
  background: #E7F5E0;
  color: #2E5320;
}
.chg-page .chg-ic.t-hotel {
  background: #E3EAF6;
  color: #34508C;
}
.chg-page .chg-ic.t-aucun {
  background: #F1F4F9;
  color: var(--text-secondary);
}
.chg-page .chg-ic.t-retour {
  background: #F2EBFD;
  color: #7C3AED;
}
.chg-page .chg-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.chg-page .chg-hint {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.chg-page .chg-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.chg-page .chg-empty {
  padding: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.chg-page .chg-empty.is-sm {
  padding: 18px;
  border: 1.5px dashed #D2D8E2;
  border-radius: 12px;
}
.chg-page .chg-chev {
  font-size: 10px;
  color: #6B7490;
  transition: transform 0.3s;
}
.chg-page .chg-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.chg-page .chg-head-t {
  flex: 1;
  min-width: 280px;
}
.chg-page .chg-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4FA235;
}
.chg-page .chg-eyebrow > span {
  width: 18px;
  height: 2px;
  background: #6CC04A;
}
.chg-page h1 {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}
.chg-page .chg-tools {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: center;
}
.chg-page .chg-tool {
  height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.chg-page .chg-tool > i:first-child {
  color: #34508C;
}
.chg-page .chg-tool:hover {
  background: #F8FAFC;
  color: #1D2D5C;
}
.chg-page .chg-tool.is-open {
  border-color: #1D2D5C;
}
.chg-page .chg-tool.is-open .chg-chev {
  transform: rotate(180deg);
}
.chg-page .chg-tool-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.chg-page .chg-dd {
  position: relative;
}
.chg-page .chg-dd-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  min-width: 240px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
  padding: 6px;
  animation: chg-dd 0.2s ease both;
}
.chg-page .chg-dd-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
}
.chg-page .chg-dd-opt i {
  font-size: 11px;
  color: #4FA235;
}
.chg-page .chg-dd-opt:hover, .chg-page .chg-dd-opt:focus-visible {
  background: #F1F4F9;
  color: #1D2D5C;
}
.chg-page .chg-dd-opt.is-on {
  font-weight: 800;
  background: #F7F9FC;
}
.chg-page .chg-week {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 42px;
  padding: 0 3px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  background: #fff;
}
.chg-page .chg-week a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #324063;
  font-size: 11px;
  text-decoration: none;
}
.chg-page .chg-week a:hover {
  background: #F1F4F9;
}
.chg-page .chg-week span {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.chg-page .chg-flash {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid;
  animation: chg-pop 0.3s ease both;
}
.chg-page .chg-flash.is-ok {
  background: #F2FAEF;
  border-color: #CFE9C2;
  color: #2E5320;
}
.chg-page .chg-flash.is-ko {
  background: #FFFBF4;
  border-color: #F4E4C7;
  color: #7A4A00;
}
.chg-page .chg-flash > button {
  border: none;
  background: none;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}
.chg-page .chg-flash > button:hover {
  background: rgba(0, 0, 0, 0.05);
}
.chg-page .chg-flash-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  background: #6CC04A;
}
.chg-page .chg-flash.is-ko .chg-flash-ic {
  background: #D9A441;
}
.chg-page .chg-flash-t {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.chg-page .chg-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
}
.chg-page .chg-card-h {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 18px;
  border-bottom: 1px solid #F1F4F9;
}
.chg-page .chg-card-h h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.chg-page .chg-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  width: 240px;
  max-width: 100%;
  padding: 0 10px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  transition: border-color 0.15s;
}
.chg-page .chg-search i {
  color: var(--text-tertiary);
  font-size: 12px;
}
.chg-page .chg-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #1D2D5C;
}
.chg-page .chg-search:focus-within {
  border-color: #1D2D5C;
}
.chg-page .chg-ic.is-h {
  background: color-mix(in srgb, var(--h) 15%, #fff);
  color: color-mix(in srgb, var(--h) 78%, #000);
}
.chg-page .chg-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--h);
  margin-right: 6px;
  vertical-align: 1px;
}
.chg-page .chg-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 9px 18px;
  border-bottom: 1px solid #F1F4F9;
}
.chg-page .chg-legend .chg-k {
  margin-right: 4px;
}
.chg-page .chg-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px 0 9px;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1D2D5C;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.1s ease-out;
}
.chg-page .chg-chip:hover {
  background: color-mix(in srgb, var(--h) 7%, #fff);
  border-color: color-mix(in srgb, var(--h) 40%, #fff);
}
.chg-page .chg-chip:active {
  transform: scale(0.97);
}
.chg-page .chg-chip[aria-pressed=true] {
  background: color-mix(in srgb, var(--h) 14%, #fff);
  border-color: var(--h);
}
.chg-page .chg-glass {
  position: relative;
  isolation: isolate;
  border-radius: 18px;
  min-width: 0;
}
.chg-page .chg-glass::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: -16px;
  right: -12px;
  width: 64%;
  height: 82%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--h), transparent);
  opacity: 0.5;
  filter: blur(18px);
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.chg-page .chg-glass:hover::before {
  opacity: 0.62;
  transform: scale(1.06);
}
.chg-page .chg-glass.is-on::before, .chg-page .chg-glass.is-over::before {
  opacity: 0.72;
  transform: scale(1.1);
}
.chg-page .chg-glass.is-off::before {
  opacity: 0.14;
  filter: blur(18px) grayscale(1);
}
.chg-page .chg-coh, .chg-page .chg-dest {
  position: relative;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.64);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: 0 0 0 0.5px rgba(20, 33, 71, 0.1), 0 1px 2px rgba(20, 33, 71, 0.06), 0 10px 26px -12px rgba(20, 33, 71, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s, opacity 0.2s;
}
.chg-page .chg-coh:hover, .chg-page .chg-dest:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 0.5px rgba(20, 33, 71, 0.1), 0 2px 4px rgba(20, 33, 71, 0.06), 0 18px 34px -14px rgba(20, 33, 71, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.chg-page .chg-coh:active, .chg-page .chg-dest:active {
  transform: scale(0.985);
  transition-duration: 0.1s;
}
.chg-page .chg-coh:focus-visible, .chg-page .chg-dest:focus-visible {
  outline: 2px solid var(--h);
  outline-offset: 3px;
}
.chg-page .chg-coh.is-on, .chg-page .chg-dest.is-on {
  box-shadow: 0 0 0 2px var(--h), 0 14px 30px -12px color-mix(in srgb, var(--h) 55%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.chg-page .chg-cohs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
  padding: 16px 18px 20px;
  background: linear-gradient(180deg, #FAFBFD, #F3F6FA);
}
.chg-page .chg-coh {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 14px 16px;
}
.chg-page .chg-coh-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.chg-page .chg-coh-id {
  flex: 1;
  min-width: 0;
}
.chg-page .chg-coh-id .chg-mono {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #34508C;
}
.chg-page .chg-coh-id b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 2px;
  line-height: 1.3;
}
.chg-page .chg-tag {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(29, 45, 92, 0.07);
  color: #1D2D5C;
  white-space: nowrap;
}
.chg-page .chg-lieu {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chg-page .chg-lieu .chg-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 12px;
}
.chg-page .chg-lieu-t {
  flex: 1;
  min-width: 0;
}
.chg-page .chg-lieu-t b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chg-page .chg-lieu-t small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.chg-page .chg-prevenu {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: #E3EAF6;
  color: #34508C;
  white-space: nowrap;
}
.chg-page .chg-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chg-page .chg-pills .chg-dot {
  width: 7px;
  height: 7px;
  margin-right: 3px;
  vertical-align: 0;
}
.chg-page .chg-pills .chg-dot:last-of-type {
  margin-right: 6px;
}
.chg-page .chg-board {
  animation: chg-rise 0.3s ease both;
}
.chg-page .chg-board-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #1D2D5C;
  color: #6CC04A;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: none;
}
.chg-page .chg-board-t {
  min-width: 0;
  flex: 1 1 320px;
}
.chg-page .chg-board-t .chg-hint {
  font-size: 11.5px;
  font-weight: 600;
  margin-top: 1px;
}
.chg-page .chg-board-act {
  margin-left: auto;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chg-page .chg-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  cursor: pointer;
}
.chg-page .chg-btn:hover {
  background: #F1F4F9;
}
.chg-page .chg-btn.is-ghost {
  border-color: transparent;
  background: none;
  color: var(--text-secondary);
  padding: 0 10px;
}
.chg-page .chg-btn.is-ghost:hover {
  background: #F1F4F9;
}
.chg-page .chg-btn.is-cancel {
  height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid #DEE3EC;
  color: #5A6273;
  font-size: 13px;
  font-weight: 700;
}
.chg-page .chg-btn.is-cancel:hover {
  background: #F4F6FA;
}
.chg-page .chg-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.chg-page .chg-from {
  padding: 14px 18px;
  border-right: 1px solid #F1F4F9;
  min-width: 0;
}
.chg-page .chg-to {
  padding: 14px 18px;
  min-width: 0;
  background: #FAFBFD;
}
@media (max-width: 1100px) {
  .chg-page .chg-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .chg-page .chg-from {
    border-right: none;
    border-bottom: 1px solid #F1F4F9;
  }
}
.chg-page .chg-col-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.chg-page .chg-col-h .chg-hint {
  font-size: 11.5px;
  font-weight: 600;
}
.chg-page .chg-orig {
  min-width: 0;
}
.chg-page .chg-orig b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chg-page .chg-pick {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 800;
  color: #5A6273;
  white-space: nowrap;
}
.chg-page .chg-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chg-page .chg-grab {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.chg-page .chg-grab:active {
  cursor: grabbing;
}
.chg-page .chg-all {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px dashed #C4CAD6;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.chg-page .chg-all > i {
  color: #C4CAD6;
  font-size: 13px;
}
.chg-page .chg-all.is-on {
  border-color: #6CC04A;
  background: #F2FAEF;
}
.chg-page .chg-all-n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--h, #1D2D5C);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.chg-page .chg-all-t, .chg-page .chg-stag-t {
  flex: 1;
  min-width: 0;
}
.chg-page .chg-all-t b, .chg-page .chg-stag-t b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chg-page .chg-all-t small, .chg-page .chg-stag-t small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chg-page .chg-stag {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  font: inherit;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  transition: border-color 0.15s, background 0.15s, opacity 0.15s;
}
.chg-page .chg-stag:hover {
  border-color: #C4CAD6;
}
.chg-page .chg-stag.is-on {
  border-color: #6CC04A;
  background: #F2FAEF;
}
.chg-page .chg-stag.is-drag {
  opacity: 0.5;
}
.chg-page .chg-cb {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #C4CAD6;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.15s, border-color 0.15s;
}
.chg-page .chg-cb i {
  color: #fff;
  font-size: 10px;
  opacity: 0;
}
.chg-page .chg-stag.is-on .chg-cb {
  border-color: #6CC04A;
  background: #6CC04A;
}
.chg-page .chg-stag.is-on .chg-cb i {
  opacity: 1;
}
.chg-page .chg-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 800;
}
.chg-page .chg-av.is-h {
  background: color-mix(in srgb, var(--h) 16%, #fff);
  color: color-mix(in srgb, var(--h) 75%, #000);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--h) 28%, transparent);
}
.chg-page .chg-stag-st {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex: none;
}
.chg-page .chg-stag-st .chg-pill {
  font-size: 10.5px;
  padding: 2px 8px;
}
.chg-page .chg-stag-st .chg-ailleurs {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  color: color-mix(in srgb, var(--h) 75%, #000);
}
.chg-page .chg-stag-st .chg-ailleurs .chg-dot {
  width: 7px;
  height: 7px;
  margin-right: 5px;
}
.chg-page .chg-dests {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chg-page .chg-dest {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 13px 15px;
}
.chg-page .chg-dest.is-repr {
  box-shadow: 0 0 0 1.5px #E4B666, 0 10px 26px -12px rgba(20, 33, 71, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.chg-page .chg-dest.is-target {
  outline: 1.5px dashed color-mix(in srgb, var(--h) 60%, transparent);
  outline-offset: 3px;
}
.chg-page .chg-dest.is-over {
  outline-color: transparent;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 0 2px var(--h), 0 18px 36px -14px color-mix(in srgb, var(--h) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.chg-page .chg-dest.is-off {
  opacity: 0.6;
  cursor: not-allowed;
  background: rgba(247, 249, 252, 0.72);
}
.chg-page .chg-dest.is-off:hover, .chg-page .chg-dest.is-off:active {
  transform: none;
}
.chg-page .chg-dest-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chg-page .chg-dest-t {
  flex: 1;
  min-width: 0;
}
.chg-page .chg-dest-t > b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chg-page .chg-dest-t > b small {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}
.chg-page .chg-dest-t > small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.chg-page .chg-gauge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chg-page .chg-gauge > span:last-child {
  font-size: 11.5px;
  font-weight: 700;
  color: #5A6273;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.chg-page .chg-bar {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  background: #EDF0F5;
  overflow: hidden;
  display: flex;
}
.chg-page .chg-bar > span {
  height: 100%;
  transition: width 0.3s;
}
.chg-page .chg-bar .occ {
  background: #1D2D5C;
}
.chg-page .chg-bar .new {
  background: #6CC04A;
}
.chg-page .chg-bar .new.is-amber {
  background: #D9A441;
}
.chg-page .chg-note {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.45;
}
.chg-page .chg-note i {
  margin-right: 6px;
}
.chg-page .chg-note.t-ambre {
  color: #A85D00;
}
.chg-page .chg-note.t-rouge {
  color: #B23A36;
}
.chg-page .chg-note.t-gris {
  color: var(--text-secondary);
  font-weight: 600;
}
.chg-page .chg-histo + .chg-histo {
  border-top: 1px solid #F0F2F6;
}
.chg-page .chg-histo summary {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 11px 18px;
  cursor: pointer;
  list-style: none;
}
.chg-page .chg-histo summary::-webkit-details-marker {
  display: none;
}
.chg-page .chg-histo summary:hover {
  background: #FAFBFD;
}
.chg-page .chg-histo[open] summary {
  background: #FAFBFD;
}
.chg-page .chg-histo[open] .chg-chev {
  transform: rotate(180deg);
}
.chg-page .chg-histo-at {
  width: 108px;
  flex-shrink: 0;
  white-space: nowrap;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #5A6273;
  font-variant-numeric: tabular-nums;
}
.chg-page .chg-histo-t {
  flex: 1 1 220px;
  min-width: 0;
}
.chg-page .chg-histo-t b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chg-page .chg-histo-t small {
  display: block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  color: #34508C;
}
.chg-page .chg-histo-move {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #324063;
  white-space: nowrap;
}
.chg-page .chg-histo-move > i {
  color: #9AA3B8;
  font-size: 11px;
}
.chg-page .chg-histo-move > span {
  display: inline-flex;
  align-items: center;
}
.chg-page .chg-histo-nb {
  font-size: 11.5px;
  font-weight: 800;
  color: #1D2D5C;
  background: #F2F4F8;
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.chg-page .chg-histo-by {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.chg-page .chg-histo-d {
  padding: 0 18px 12px 140px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.6;
  background: #FAFBFD;
  animation: chg-rise 0.2s ease both;
}
.chg-page .chg-histo-d b {
  color: #1D2D5C;
}
@media (max-width: 700px) {
  .chg-page .chg-histo-d {
    padding-left: 18px;
  }
}
.chg-page .chg-ghost {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.chg-page .chg-ghost.is-on {
  opacity: 1;
}
.chg-page .chg-ghost > div {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: #1D2D5C;
  color: #fff;
  box-shadow: 0 18px 40px rgba(20, 33, 71, 0.4);
  transform: rotate(-2deg);
}
.chg-page .chg-ghost b {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.chg-page .chg-ghost small {
  font-size: 11px;
  font-weight: 700;
  color: #8FD97A;
  white-space: nowrap;
}
.chg-page .chg-ghost-n {
  transition: background 0.2s;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--h, #6CC04A);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.chg-page .chg-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.chg-page .chg-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 71, 0.45);
  backdrop-filter: blur(4px);
  animation: chg-fade 0.2s ease both;
}
.chg-page .chg-modal-box {
  position: relative;
  width: 620px;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(20, 33, 71, 0.35);
  animation: chg-rise 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.chg-page .chg-modal-h {
  padding: 18px 24px;
  background: linear-gradient(135deg, #1D2D5C, #2A4080);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}
.chg-page .chg-modal-h .chg-k {
  color: #8E9AC2;
}
.chg-page .chg-modal-side {
  flex: 1 1 160px;
  min-width: 0;
}
.chg-page .chg-modal-side b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-top: 3px;
  overflow-wrap: anywhere;
}
.chg-page .chg-modal-side b.is-to {
  color: #8FD97A;
}
.chg-page .chg-modal-side .chg-dot {
  width: 10px;
  height: 10px;
  margin-right: 8px;
  vertical-align: 1px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}
.chg-page .chg-modal-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #6CC04A;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
}
.chg-page .chg-modal-n {
  text-align: right;
  padding-left: 14px;
  border-left: 1px solid #33447A;
  flex: none;
}
.chg-page .chg-modal-n b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.chg-page .chg-modal-n small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #9FB0D8;
  margin-top: 3px;
  white-space: nowrap;
}
.chg-page .chg-modal-x {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
}
.chg-page .chg-modal-x:hover {
  background: rgba(255, 255, 255, 0.24);
}
.chg-page .chg-modal-b {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chg-page .chg-modal-b label.chg-k {
  display: block;
  margin-bottom: 6px;
}
.chg-page .chg-modal-b label.chg-k span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.chg-page .chg-modal-b textarea {
  width: 100%;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D2D5C;
  line-height: 1.5;
  outline: none;
  resize: vertical;
  transition: border-color 0.15s;
}
.chg-page .chg-modal-b textarea:focus {
  border-color: #1D2D5C;
}
.chg-page .chg-modal-b textarea.is-ko {
  border-color: #E9A7A4;
}
.chg-page .chg-names {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chg-page .chg-names span {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #1D2D5C;
}
.chg-page .chg-names .is-more {
  background: none;
  color: var(--text-secondary);
}
.chg-page .chg-effets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}
.chg-page .chg-effet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border: 1px solid #EEF1F6;
  border-radius: 12px;
}
.chg-page .chg-effet .chg-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.chg-page .chg-effet b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.chg-page .chg-effet small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
  line-height: 1.45;
}
.chg-page .chg-reprise {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 14px;
  cursor: pointer;
  background: #FFFBF4;
  border: 1.5px solid #F4E4C7;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7A4A00;
  line-height: 1.5;
}
.chg-page .chg-reprise input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.chg-page .chg-reprise .chg-cb {
  margin-top: 1px;
}
.chg-page .chg-reprise input:checked + .chg-cb {
  border-color: #D9A441;
  background: #D9A441;
}
.chg-page .chg-reprise input:checked + .chg-cb i {
  opacity: 1;
}
.chg-page .chg-reprise input:focus-visible + .chg-cb {
  outline: 2px solid #1D2D5C;
  outline-offset: 2px;
}
.chg-page .chg-reprise:has(input:checked) {
  border-color: #D9A441;
}
.chg-page .chg-warn {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 14px;
  background: #FFFBF4;
  border: 1px solid #F4E4C7;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7A4A00;
  line-height: 1.5;
}
.chg-page .chg-warn > span:first-child {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #F3D48B;
  color: #7A4A00;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.chg-page .chg-motif-hint {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 5px;
}
.chg-page .chg-motif-hint.is-ok {
  color: #2E5320;
}
.chg-page .chg-modal-f {
  padding: 14px 24px;
  border-top: 1px solid #E2E8F0;
  background: #FAFBFD;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chg-page .chg-modal-f > span:first-child {
  flex: 1 1 180px;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: #5A6273;
  line-height: 1.4;
}
.chg-page .chg-go {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: none;
  background: #6CC04A;
  color: #fff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, filter 0.15s;
}
.chg-page .chg-go:hover:not([disabled]) {
  filter: brightness(1.05);
}
.chg-page .chg-go[disabled] {
  background: #9AA3B8;
  cursor: not-allowed;
}
.chg-page .chg-spin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: chg-spin 0.8s linear infinite;
}

@media (prefers-reduced-transparency: reduce) {
  .chg-page .chg-coh, .chg-page .chg-dest {
    background: #fff;
  }
  .chg-page .chg-glass::before {
    display: none;
  }
}
@media (prefers-contrast: more) {
  .chg-page .chg-coh, .chg-page .chg-dest {
    background: #fff;
    border-color: #6B7490;
  }
  .chg-page .chg-glass::before {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chg-page .chg-coh, .chg-page .chg-dest, .chg-page .chg-glass::before {
    transition: box-shadow 0.2s, opacity 0.2s;
  }
  .chg-page .chg-coh:hover, .chg-page .chg-dest:hover, .chg-page .chg-dest.is-over,
  .chg-page .chg-glass:hover::before, .chg-page .chg-glass.is-on::before, .chg-page .chg-glass.is-over::before {
    transform: none;
  }
}
@keyframes tki-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tki-pop {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tki-slide {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tki-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
html.tki-noscroll {
  overflow: hidden;
}

.tki-page > :not([data-tickets-target=volet]):not([data-tickets-target=modal]):not([data-tickets-target=prompt]) {
  animation: tki-fade 0.3s ease both;
}

.tki-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #3E4A6B;
}
.tki-page button, .tki-page input, .tki-page select, .tki-page textarea {
  font-family: inherit;
}
.tki-page input::placeholder, .tki-page textarea::placeholder {
  color: #B4BCCB;
}

.tki-mono, .tki-page .tki-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.tki-mute {
  color: var(--text-tertiary, #8A92A3);
}

.tki-small {
  font-size: 11.5px;
  font-weight: 600;
}

.tki-it {
  font-style: italic;
}

.tki-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary, #6B7490);
}

.tki-crumb i {
  margin-right: 7px;
  color: var(--text-tertiary, #8A92A3);
}

.tki-crumb.is-on {
  font-weight: 800;
  color: #1D2D5C;
}

.tki-crumb-sep {
  font-size: 9px;
  color: #C4CAD6;
}

.tki-lock, .tki-role {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 999px;
  padding: 5px 11px;
}

.tki-lock {
  margin-left: auto;
  color: #7A4A00;
  background: #FDF6EA;
  border: 1px solid #F0DFBE;
}
.tki-lock i {
  font-size: 10px;
}

.tki-role {
  color: #34508C;
  background: #EEF3FC;
  border: 1px solid #DCE4F2;
}
.tki-role i {
  font-size: 10px;
}

.tki-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.tki-head-ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #1D2D5C;
  display: grid;
  place-items: center;
  flex: none;
}
.tki-head-ic i {
  color: #6CC04A;
  font-size: 17px;
}

.tki-head-t {
  flex: 1;
  min-width: 260px;
}
.tki-head-t h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}
.tki-head-t p {
  margin: 3px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.5;
  max-width: 820px;
  text-wrap: pretty;
}

.tki-head-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.tki-search {
  display: flex;
  align-items: center;
  height: 40px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
  gap: 8px;
  min-width: 240px;
  cursor: text;
}
.tki-search i {
  font-size: 12px;
  color: var(--text-tertiary, #8A92A3);
}
.tki-search input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #1D2D5C;
  min-width: 0;
}
.tki-search:focus-within {
  border-color: #1D2D5C;
}

.tki-views {
  display: flex;
  gap: 3px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 3px;
}

.tki-view {
  height: 32px;
  padding: 0 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #6B7490;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.tki-view i {
  font-size: 11px;
  margin-right: 7px;
}
.tki-view:hover {
  color: #1D2D5C;
}
.tki-view.is-on {
  background: #1D2D5C;
  color: #fff;
}

.tki-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}
.tki-btn i {
  font-size: 11px;
}
.tki-btn:disabled {
  cursor: default;
  opacity: 1;
  background: #C4CAD6 !important;
  border-color: #C4CAD6 !important;
  color: #fff !important;
}

.tki-btn-new {
  height: 40px;
  padding: 0 16px;
  background: #4FA235;
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 162, 53, 0.22);
}
.tki-btn-new:hover {
  background: #45903E;
}

.tki-btn-navy {
  background: #1D2D5C;
  color: #fff;
}
.tki-btn-navy:hover {
  background: #27376A;
}

.tki-btn-green {
  background: #4FA235;
  color: #fff;
}
.tki-btn-green:hover {
  background: #45903E;
}

.tki-btn-ghost {
  background: #fff;
  color: #1D2D5C;
  border-color: #E2E8F0;
}
.tki-btn-ghost:hover {
  border-color: #1D2D5C;
}
.tki-btn-ghost:disabled {
  background: #fff !important;
  color: #C4CAD6 !important;
  border-color: #E2E8F0 !important;
}

.tki-btn-red {
  background: #fff;
  color: #B23A36;
  border-color: #F2C8C5;
}
.tki-btn-red:hover {
  border-color: #B23A36;
}

.tki-btn-sm {
  height: 34px;
  font-size: 12px;
  border-radius: 9px;
}

.tki-btn-xs {
  margin-left: auto;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.tki-btn-xs i {
  margin-right: 5px;
}
.tki-btn-xs:hover {
  border-color: #1D2D5C;
}

.tki-x {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #EEF1F6;
  color: #5A6273;
  cursor: pointer;
  font-size: 14px;
  flex: none;
}
.tki-x:hover {
  background: #E2E8F0;
}

.tki-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.tki-kpi {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.tki-kpi:hover {
  border-color: #C7D2EA;
}
.tki-kpi.is-on {
  border-color: #1D2D5C;
}

.tki-kpi-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.tki-kpi-t {
  min-width: 0;
}

.tki-kpi-v {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tki-kpi-l {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary, #6B7490);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-filters, .tki-jbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tki-chip {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.tki-chip i {
  font-size: 11px;
}
.tki-chip:hover {
  border-color: #C7D2EA;
}
.tki-chip.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}

.tki-chip-n {
  font-weight: 700;
  color: var(--text-tertiary, #8A92A3);
}

.tki-sep {
  width: 1px;
  height: 22px;
  background: #D5DBE7;
  margin: 0 4px;
}

.tki-select-wrap {
  position: relative;
  display: inline-block;
}
.tki-select-wrap > i {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  color: var(--text-secondary, #6B7490);
  pointer-events: none;
}

.tki-select-sm {
  appearance: none;
  -webkit-appearance: none;
  height: 34px;
  padding: 0 30px 0 12px;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  cursor: pointer;
  outline: none;
}
.tki-select-sm:focus {
  border-color: #1D2D5C;
}

.tki-arch {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #5A6273;
}
.tki-arch input {
  width: 14px;
  height: 14px;
  accent-color: #1D2D5C;
  cursor: pointer;
  margin: 0;
}

.tki-export {
  margin-left: auto;
  height: 36px;
}
.tki-export i {
  color: #4FA235;
  font-size: 12px;
}

.tki-msgs:empty {
  display: none;
}

.tki-msgs, .tki-vol-msgs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tki-vol-msgs {
  padding: 12px 24px 0;
}
.tki-vol-msgs:empty {
  display: none;
}

.tki-ko-hint {
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: #B23A36;
}
.tki-ko-hint i {
  margin-right: 6px;
  font-size: 10px;
}

.tki-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 12px;
  background: #E7F5E0;
  border: 1.5px solid #CDEBC0;
  color: #2E5320;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  animation: tki-rise 0.25s ease both;
}
.tki-msg > i {
  margin-top: 3px;
}
.tki-msg > span {
  flex: 1;
}
.tki-msg button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  cursor: pointer;
  font-size: 12px;
  flex: none;
}
.tki-msg.is-err {
  background: #FBE4E3;
  border-color: #F2C8C5;
  color: #8E2B28;
}

.tki-board-wrap {
  overflow-x: auto;
  padding-bottom: 6px;
}

.tki-board {
  display: grid;
  gap: 12px;
}

.tki-col {
  background: #E6EAF2;
  border-radius: 16px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 240px;
}

.tki-col-h {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
}

.tki-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.tki-col-l {
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tki-col-n {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-secondary, #6B7490);
  background: #fff;
  border-radius: 999px;
  padding: 1px 8px;
}

.tki-col-hint {
  margin-left: auto;
  min-width: 0;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary, #8A92A3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-col-empty {
  flex: 1;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary, #8A92A3);
  padding: 20px;
  text-align: center;
}

.tki-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-left: 4px solid var(--tc);
  border-radius: 12px;
  padding: 11px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.tki-card:hover {
  border-color: #1D2D5C;
  border-left-color: var(--tc);
  box-shadow: 0 10px 24px rgba(20, 33, 71, 0.1);
  transform: translateY(-1px);
}
.tki-card.is-sel {
  border-color: #1D2D5C;
  border-left-color: var(--tc);
}

.tki-card-top {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
}

.tki-type {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tki-type i {
  font-size: 9px;
}

.tki-type-lg {
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
}
.tki-type-lg i {
  font-size: 10px;
}

.tki-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-tertiary, #8A92A3);
}

.tki-pdot {
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.tki-card-t {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1.35;
}

.tki-card-page {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary, #6B7490);
  min-width: 0;
  max-width: 100%;
}
.tki-card-page i {
  font-size: 10px;
  flex: none;
}
.tki-card-page span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tki-card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 2px;
}

.tki-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.tki-av-sm {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.tki-av-md {
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.tki-av-ring {
  width: 26px;
  height: 26px;
  font-size: 9.5px;
  border: 2px solid #fff;
}

.tki-age {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary, #8A92A3);
}

.tki-card-counts {
  margin-left: auto;
  display: flex;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary, #6B7490);
}
.tki-card-counts i {
  margin-right: 3px;
}

.tki-ass {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #1D2D5C;
  color: #6CC04A;
  font-size: 9px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex: none;
}

.tki-flag {
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 7px;
  padding: 4px 8px;
  line-height: 1.3;
}

.tki-empty {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px dashed #C7D2EA;
  font-size: 13px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
}
.tki-empty b {
  color: #1D2D5C;
  font-weight: 800;
}

.tki-empty-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  flex: none;
}

.tki-panel {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
}

.tki-table-wrap {
  overflow-x: auto;
}

.tki-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1100px;
}
.tki-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A92A3;
  border-bottom: 1px solid #E2E8F0;
  white-space: nowrap;
  background: #FAFBFD;
}
.tki-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #F0F2F6;
  vertical-align: middle;
}
.tki-table td.tki-mono {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary, #6B7490);
  white-space: nowrap;
}

.tki-row {
  cursor: pointer;
  background: #fff;
}
.tki-row:hover, .tki-row:focus-visible {
  background: #F7F9FC;
  outline: none;
}

.tki-td-t {
  min-width: 280px;
}

.tki-td-titre {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1.35;
}

.tki-td-page {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary, #8A92A3);
  margin-top: 2px;
}

.tki-td-u {
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  white-space: nowrap;
}

.tki-td-d {
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
  white-space: nowrap;
}

.tki-prio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.tki-prio span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.tki-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.tki-pill > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.tki-none {
  padding: 36px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-tertiary, #8A92A3);
}

.tki-j-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-bottom: 1px solid #F0F2F6;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary, #8A92A3);
}
.tki-j-head b {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}

.tki-jgrid, .tki-jrow {
  display: grid;
  grid-template-columns: 150px 170px 90px minmax(240px, 1.4fr) minmax(200px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 9px 18px;
}

.tki-jth {
  background: #FAFBFD;
  border-bottom: 1px solid #E2E8F0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A92A3;
}

.tki-jrow {
  border-top: 1px solid #F4F6FA;
}

.tki-j-when {
  font-size: 11.5px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
}

.tki-j-who {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.tki-j-who span:last-child {
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-j-num {
  font-size: 11.5px;
  font-weight: 700;
  color: #34508C;
}

.tki-j-act {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tki-j-act span:last-child {
  font-size: 12.5px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-j-ic {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 10px;
  flex: none;
}

.tki-j-det {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-ovl {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(20, 33, 71, 0.45);
  backdrop-filter: blur(4px);
  animation: tki-fade 0.2s ease both;
}

.tki-ovl-c {
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 33, 71, 0.55);
  backdrop-filter: blur(5px);
  overflow-y: auto;
}

.tki-vol {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 640px;
  max-width: 100%;
  background: #fff;
  box-shadow: -20px 0 60px rgba(20, 33, 71, 0.3);
  display: flex;
  flex-direction: column;
}
.tki-vol.is-anim {
  animation: tki-slide 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.tki-vol-head {
  padding: 18px 24px 14px;
  border-bottom: 1px solid #EEF1F6;
  flex: none;
}
.tki-vol-head h2 {
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.tki-vol-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tki-vol-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary, #6B7490);
}

.tki-vol-row .tki-pill {
  height: 24px;
  padding: 0 10px;
}

.tki-follow {
  margin-left: auto;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.tki-follow i {
  margin-right: 5px;
  font-size: 10px;
}
.tki-follow.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}

.tki-vol-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tki-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  background: #F1F4F9;
  color: #3E4A6B;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.tki-tag i {
  font-size: 10px;
  color: var(--text-secondary, #6B7490);
}
.tki-tag[style] {
  font-weight: 800;
}
.tki-tag[style] i {
  color: inherit;
  font-size: 9px;
}

.tki-tag-blue {
  background: #E3EAF6;
  color: #34508C;
  font-weight: 800;
}
.tki-tag-blue i {
  color: inherit;
}

.tki-vol-by {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, #6B7490);
  flex-wrap: wrap;
}
.tki-vol-by b {
  color: #1D2D5C;
}

.tki-vol-ass {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tki-vol-ass i {
  font-size: 10px;
}

.tki-vol-body {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  overscroll-behavior: contain;
}

.tki-vol-actions {
  padding: 14px 24px;
  background: #F8FAFC;
  border-bottom: 1px solid #EEF1F6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tki-vol-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.tki-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tki-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.tki-grid2.is-bug {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.tki-grid2.is-one {
  grid-template-columns: minmax(0, 1fr);
}

.tki-fl {
  position: relative;
  display: block;
  margin: 0;
}
.tki-fl > span {
  position: absolute;
  left: 12px;
  top: -7px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary, #8A92A3);
  background: #F8FAFC;
  padding: 0 4px;
  z-index: 1;
}
.tki-fl > i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  color: var(--text-secondary, #6B7490);
  pointer-events: none;
}
.tki-fl .tki-sel, .tki-fl .tki-in {
  height: 38px;
  font-size: 12px;
}

.tki-in {
  width: 100%;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 12px;
  height: 42px;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.tki-in:focus {
  border-color: #1D2D5C;
}

.tki-in-lg {
  height: 46px;
  font-size: 15px;
  font-weight: 800;
}

.tki-ta {
  display: block;
  width: 100%;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  background: #fff;
  outline: none;
  resize: vertical;
  line-height: 1.5;
  transition: border-color 0.15s;
}
.tki-ta:focus {
  border-color: #1D2D5C;
}

.tki-sel {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 42px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 34px 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  background: #fff;
  outline: none;
  cursor: pointer;
}
.tki-sel:focus {
  border-color: #1D2D5C;
}

.tki-sel-wrap {
  position: relative;
  display: block;
}
.tki-sel-wrap > i {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--text-secondary, #6B7490);
  pointer-events: none;
}

.tki-valid {
  margin: 16px 24px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #F3EEFB;
  border: 1.5px solid #D9CCF2;
}

.tki-valid-h {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tki-valid-h b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.tki-valid-h div > span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 2px;
}

.tki-valid-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #7C3AED;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.tki-valid-btns {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.tki-valid-ko {
  font-size: 11.5px;
  font-weight: 700;
  color: #B23A36;
  margin-top: 8px;
}

.tki-vol-sections {
  padding: 18px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tki-vol-sections > section {
  margin: 0;
}

.tki-h {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-tertiary, #8A92A3);
  margin-bottom: 8px;
}

.tki-h-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.tki-h-row .tki-h {
  margin: 0;
}

.tki-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tki-field {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 11px 14px;
}

.tki-field-l {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary, #6B7490);
}

.tki-field-v {
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  margin-top: 5px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tki-freq {
  font-size: 12px;
  font-weight: 700;
  color: #5A6273;
}
.tki-freq i {
  margin-right: 6px;
  color: var(--text-tertiary, #8A92A3);
}

.tki-ctx {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #E2E8F0;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}
.tki-ctx > div {
  background: #fff;
  padding: 9px 12px;
}

.tki-ctx-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: none;
  border-top: 1px solid #E2E8F0;
  border-radius: 0;
}
.tki-ctx-3 > div {
  padding: 8px 12px;
}

.tki-ctx-k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary, #8A92A3);
}

.tki-ctx-v {
  font-size: 12px;
  font-weight: 700;
  color: #1D2D5C;
  margin-top: 3px;
  word-break: break-all;
}

.tki-drop-sec {
  border-radius: 12px;
  transition: box-shadow 0.15s, background-color 0.15s;
}
.tki-drop-sec.is-over {
  background: #F1F7EE;
  box-shadow: 0 0 0 2px #6CC04A;
}

.tki-pieces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tki-piece {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.tki-piece:hover .tki-piece-v {
  border-color: #1D2D5C;
}

.tki-piece-v {
  position: relative;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  background: #F1F4F9;
  border: 1px solid #E2E8F0;
  display: grid;
  place-items: center;
  color: var(--text-secondary, #6B7490);
  font-size: 26px;
}
.tki-piece-v img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tki-piece-n {
  font-size: 10.5px;
  font-weight: 700;
  color: #6B7490;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-piece-add .tki-piece-v {
  border: 1.5px dashed #C7D2EA;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 18px;
  text-align: center;
  padding: 0 10px;
}
.tki-piece-add .tki-piece-v small {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.35;
}

.tki-votes {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #EEF1F6;
}

.tki-vote {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tki-vote.is-on {
  border-color: #4FA235;
  background: #E7F5E0;
  color: #2E5320;
}
.tki-vote:disabled {
  cursor: default;
  color: var(--text-tertiary, #8A92A3);
}

.tki-voters {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tki-abn {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary, #6B7490);
}
.tki-abn i {
  margin-right: 5px;
}

.tki-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tki-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: inherit;
  width: 100%;
}
.tki-link:hover {
  border-color: #1D2D5C;
}

.tki-link-rel {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5A6273;
  background: #EEF1F6;
  border-radius: 6px;
  padding: 2px 7px;
  white-space: nowrap;
}

.tki-link-t {
  flex: 1;
  font-size: 12.5px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-link-s {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}
.tki-link-s span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.tki-coms {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tki-com {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tki-com .tki-av {
  margin-top: 2px;
}

.tki-com-b {
  flex: 1;
  min-width: 0;
  padding: 10px 13px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #EEF1F6;
}
.tki-com-b.is-t {
  background: #F4F7FC;
  border-color: #DCE4F2;
}
.tki-com-b.is-note {
  background: #FFFBF4;
  border-color: #F0DFBE;
}

.tki-com-h {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tki-com-h b {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.tki-com-h > span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary, #8A92A3);
}

.tki-note-tag {
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
  background: #FCEFDC;
  color: #A85D00 !important;
}

.tki-com-w {
  margin-left: auto;
  white-space: nowrap;
}

.tki-com-t {
  font-size: 13px;
  font-weight: 600;
  color: #3E4A6B;
  line-height: 1.55;
  margin-top: 5px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tki-compose {
  margin-top: 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.tki-compose:focus-within {
  border-color: #1D2D5C;
}
.tki-compose.is-ko {
  border-color: #E0908C;
}
.tki-compose .tki-ta {
  border: none;
  border-radius: 0;
}

.tki-compose-f {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px 10px;
  background: #F8FAFC;
  border-top: 1px solid #EEF1F6;
}

.tki-interne {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: #5A6273;
  cursor: pointer;
}
.tki-interne input {
  width: 14px;
  height: 14px;
  accent-color: #A85D00;
  cursor: pointer;
  margin: 0;
}

.tki-sign {
  margin-left: auto;
}

.tki-segs {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  gap: 2px;
  margin-bottom: 6px;
}

.tki-seg-leg {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 700;
  color: #5A6273;
  margin-bottom: 12px;
}

.tki-seg-sw {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 5px;
}

.tki-tl {
  position: relative;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tki-tl-line {
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: #E2E8F0;
}

.tki-tl-e {
  position: relative;
}

.tki-tl-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.tki-tl-a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.tki-tl-a b {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.tki-tl-a span {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  overflow-wrap: anywhere;
}

.tki-tl-w {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary, #8A92A3);
  margin-top: 2px;
}

.tki-nw {
  width: 100%;
  max-width: 780px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.tki-nw.is-anim {
  animation: tki-pop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.tki-nw-head {
  padding: 18px 24px 0;
  border-bottom: 1px solid #F0F2F6;
  flex: none;
}

.tki-nw-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tki-nw-row .tki-x {
  width: 32px;
  height: 32px;
}

.tki-nw-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #E7F5E0;
  color: #2E5320;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.tki-nw-tt {
  flex: 1;
  min-width: 0;
}

.tki-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4FA235;
}

.tki-nw-titre {
  font-size: 17px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 2px;
}

.tki-steps {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding-bottom: 14px;
}

.tki-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}
.tki-step:disabled {
  cursor: default;
}

.tki-step-bar {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #E2E8F0;
}

.tki-step-l {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-tertiary, #8A92A3);
}

.tki-step-n {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--text-tertiary, #8A92A3);
  display: grid;
  place-items: center;
  font-size: 10px;
}
.tki-step-n i {
  font-size: 8px;
}

.tki-step.is-on .tki-step-bar, .tki-step.is-on .tki-step-n {
  background: #1D2D5C;
}
.tki-step.is-on .tki-step-n {
  color: #fff;
}
.tki-step.is-on .tki-step-l {
  color: #1D2D5C;
}

.tki-step.is-done .tki-step-bar, .tki-step.is-done .tki-step-n {
  background: #6CC04A;
}
.tki-step.is-done .tki-step-n {
  color: #fff;
}
.tki-step.is-done .tki-step-l {
  color: #2E5320;
}

.tki-nw-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}
.tki-nw-body .tki-vol-msgs {
  padding: 0;
}

.tki-nw-intro {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.5;
}

.tki-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.tki-tcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: inherit;
}
.tki-tcard:hover {
  border-color: #1D2D5C;
}
.tki-tcard.is-on {
  border-color: #1D2D5C;
  background: #F8FAFC;
  box-shadow: 0 8px 20px rgba(20, 33, 71, 0.08);
}
.tki-tcard b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.tki-tcard b + span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 3px;
  line-height: 1.45;
}

.tki-tcard-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.tki-lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary, #6B7490);
  margin-bottom: 6px;
}

.tki-lbl-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.tki-lbl-row .tki-lbl {
  margin: 0;
}

.tki-sim {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FFF8E8;
  border: 1px solid #F0DFBE;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tki-sim-h {
  font-size: 11.5px;
  font-weight: 800;
  color: #A85D00;
  margin-bottom: 2px;
}
.tki-sim-h i {
  margin-right: 6px;
}

.tki-sim-i {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #F0DFBE;
  background: #fff;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.tki-sim-i .tki-mono {
  font-size: 11px;
  font-weight: 700;
}
.tki-sim-i:hover {
  border-color: #A85D00;
}

.tki-sim-t {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-sim-s {
  font-size: 10.5px;
  font-weight: 800;
}

.tki-sim-go {
  font-size: 11px;
  font-weight: 800;
  color: #4FA235;
  white-space: nowrap;
}

.tki-seg {
  display: flex;
  gap: 4px;
  background: #F1F4F9;
  border-radius: 10px;
  padding: 3px;
}
.tki-seg button {
  flex: 1;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #6B7490);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 6px;
}
.tki-seg button.is-on {
  background: #fff;
  color: #1D2D5C;
  box-shadow: 0 1px 3px rgba(20, 33, 71, 0.08);
}

.tki-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary, #8A92A3);
  margin-top: 5px;
}

.tki-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tki-slot {
  position: relative;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px dashed #C7D2EA;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-secondary, #6B7490);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.tki-slot > i {
  font-size: 18px;
}
.tki-slot:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.tki-slot.is-full {
  border-style: solid;
  border-color: #E2E8F0;
  cursor: default;
  background: #F1F4F9;
}
.tki-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tki-slot-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  text-align: center;
}
.tki-slot-file i {
  font-size: 22px;
}

.tki-slot-n {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 4px 8px;
  background: rgba(20, 33, 71, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tki-slot-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 33, 71, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  display: grid;
  place-items: center;
}

.tki-ctxbox {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}

.tki-ctxbox-h {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 14px;
  background: #F8FAFC;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  margin: 0;
}
.tki-ctxbox-h input {
  width: 15px;
  height: 15px;
  accent-color: #1D2D5C;
  cursor: pointer;
  margin: 0;
}
.tki-ctxbox-h span {
  font-weight: 600;
  color: var(--text-secondary, #6B7490);
  font-size: 11.5px;
}

.tki-recap {
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
}

.tki-recap-h {
  padding: 14px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid #EEF1F6;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tki-recap-h b {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.tki-recap-h .tki-tag {
  margin-left: auto;
}

.tki-recap-b {
  padding: 4px 16px;
}

.tki-recap-r {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #F4F6FA;
}
.tki-recap-r:last-child {
  border-bottom: none;
}
.tki-recap-r span:first-child {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary, #8A92A3);
  padding-top: 2px;
}
.tki-recap-r span:last-child {
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.tki-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 13px;
  border-radius: 11px;
  background: #EEF3FC;
  color: #34508C;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
}
.tki-info i {
  margin-top: 3px;
}

.tki-nw-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid #F0F2F6;
  background: #F8FAFC;
  flex: none;
}
.tki-nw-foot .tki-btn {
  height: 40px;
  font-size: 13px;
}

.tki-nw-foot-t {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-tertiary, #8A92A3);
}

.tki-ovl-prompt {
  z-index: 1300;
}

.tki-btn-prompt {
  margin-left: auto;
}
.tki-btn-prompt i {
  color: #4FA235;
}

.tki-pr {
  width: 100%;
  max-width: 880px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.tki-pr.is-anim {
  animation: tki-pop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.tki-pr-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid #F0F2F6;
  flex: none;
}
.tki-pr-head .tki-x {
  width: 32px;
  height: 32px;
}

.tki-pr-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #1D2D5C;
  color: #6CC04A;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.tki-pr-body {
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.tki-pr-ta {
  display: block;
  width: 100%;
  min-height: 48vh;
  resize: vertical;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  color: #1D2D5C;
  background: #F8FAFC;
  outline: none;
  tab-size: 4;
}
.tki-pr-ta:focus {
  border-color: #1D2D5C;
}

.tki-pr-stats {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary, #8A92A3);
}

.tki-pr-load {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 30vh;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary, #6B7490);
}

.tki-pr-ok {
  color: #2E5320;
  font-weight: 800;
}
.tki-pr-ok i {
  margin-right: 6px;
}

.tki-info code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
  background: #fff;
  padding: 1px 6px;
  border-radius: 5px;
}

@media (max-width: 760px) {
  .tki-lock {
    margin-left: 0;
  }
  .tki-search {
    min-width: 0;
    flex: 1 1 100%;
  }
  .tki-views {
    flex: 1;
  }
  .tki-views .tki-view {
    flex: 1;
  }
  .tki-head-tools {
    width: 100%;
  }
  .tki-arch {
    margin-left: 0;
  }
  .tki-grid3, .tki-grid2, .tki-grid2.is-bug, .tki-ctx, .tki-ctx-3, .tki-pieces, .tki-slots {
    grid-template-columns: minmax(0, 1fr);
  }
  .tki-vol-head, .tki-vol-actions, .tki-vol-sections, .tki-nw-head, .tki-nw-body, .tki-nw-foot {
    padding-left: 16px;
    padding-right: 16px;
  }
  .tki-valid {
    margin-left: 16px;
    margin-right: 16px;
  }
  .tki-jgrid, .tki-jrow {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .tki-jth {
    display: none;
  }
  .tki-recap-r {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .tki-sign {
    display: none;
  }
  .tki-nw-foot {
    flex-wrap: wrap;
  }
  .tki-pr-head, .tki-pr-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .tki-btn-prompt {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tki-page > *, .tki-msg, .tki-ovl, .tki-vol.is-anim, .tki-nw.is-anim, .tki-pr.is-anim {
    animation: none;
  }
  .tki-card {
    transition: none;
  }
  .tki-card:hover {
    transform: none;
  }
}
@keyframes sdm-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sdm-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes sdm-slide {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.sidebar-pastille.sidebar-pastille--alerte {
  background: #FFE2B0;
  color: #7A4A00;
}

.sdm-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #3E4A6B;
}
.sdm-page button, .sdm-page input, .sdm-page select {
  font-family: inherit;
}
.sdm-page a {
  text-decoration: none;
}

.sdm-form, .sdm-table, .sdm-vide, .sdm-note {
  animation: sdm-rise 0.35s ease both;
}

.sdm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.sdm-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.sdm-head-t {
  flex: 1 1 340px;
  min-width: 0;
}
.sdm-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}
.sdm-head p {
  margin: 3px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #5A6273;
}

.sdm-seg {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  padding: 4px;
}
.sdm-seg a {
  display: grid;
  place-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  color: #3E4A6B;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.sdm-seg a:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.sdm-seg a.is-on {
  background: #1D2D5C;
  color: #fff;
}
.sdm-seg--large {
  border-radius: 10px;
  padding: 3px;
  height: 42px;
}
.sdm-seg--large a {
  flex: 1;
  height: auto;
  border-radius: 7px;
  font-size: 12.5px;
  padding: 0 8px;
}

.sdm-tuiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.sdm-tuile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  min-width: 0;
  border: 2px solid #E2E8F0;
  background: #fff;
  color: inherit;
  transition: box-shadow 0.2s;
}
.sdm-tuile:hover {
  box-shadow: 0 8px 20px rgba(20, 33, 71, 0.1);
  color: inherit;
}
.sdm-tuile-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}
.sdm-tuile-t {
  min-width: 0;
}
.sdm-tuile-n {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sdm-tuile-l {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 4px;
  line-height: 1.3;
}
.sdm-tuile-s {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 1px;
  line-height: 1.35;
}
.sdm-tuile.is-vide .sdm-tuile-n {
  color: #5A6273;
}
.sdm-tuile--sans .sdm-tuile-ic {
  background: #FFE2B0;
  color: #7A4A00;
}
.sdm-tuile--attente .sdm-tuile-ic {
  background: #E3EAF6;
  color: #34508C;
}
.sdm-tuile--refusee .sdm-tuile-ic {
  background: #FBE4E3;
  color: #B23A36;
}
.sdm-tuile--acceptee .sdm-tuile-ic {
  background: #E7F5E0;
  color: #2E5320;
}
.sdm-tuile.is-alerte {
  background: #FFF4E0;
  border-color: #D98A1F;
}
.sdm-tuile.is-alerte .sdm-tuile-ic {
  background: #D98A1F;
  color: #fff;
}
.sdm-tuile.is-alerte .sdm-tuile-n, .sdm-tuile.is-alerte .sdm-tuile-s {
  color: #7A4A00;
}
.sdm-tuile.is-on {
  border-color: #1D2D5C;
}

.sdm-barre {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
}

.sdm-barre-l {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  flex-wrap: wrap;
}

.sdm-rech {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  margin: 0;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 12px;
  background: #F8FAFC;
}
.sdm-rech i {
  color: #5A6273;
  font-size: 13px;
}
.sdm-rech input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D2D5C;
  padding: 0;
  height: auto;
  box-shadow: none;
}
.sdm-rech:focus-within {
  border-color: #1D2D5C;
  background: #fff;
}

.sdm-btn-filtres {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sdm-btn-filtres > i:first-child {
  font-size: 12px;
}
.sdm-btn-filtres .sdm-chev {
  font-size: 10px;
  transition: transform 0.2s;
}
.sdm-btn-filtres.is-actif {
  border-color: #1D2D5C;
}
.sdm-btn-filtres.is-open {
  border-color: #1D2D5C;
  background: #F1F4F9;
}
.sdm-btn-filtres.is-open .sdm-chev {
  transform: rotate(180deg);
}

.sdm-nb {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #1D2D5C;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.sdm-compte {
  font-size: 12.5px;
  font-weight: 700;
  color: #5A6273;
  white-space: nowrap;
  padding: 0 6px;
}

.sdm-panneau {
  border-top: 1px solid #EEF1F6;
  background: #FAFBFD;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: sdm-rise 0.2s ease both;
}
.sdm-panneau[hidden] {
  display: none;
}

.sdm-lab {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5A6273;
  margin: 0 0 8px;
}

.sdm-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sdm-chip {
  height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.sdm-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.sdm-chip-box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #9AA3B8;
  background: #fff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
}
.sdm-chip-box i {
  visibility: hidden;
}
.sdm-chip.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}
.sdm-chip.is-on .sdm-chip-box {
  border-color: #1D2D5C;
  background: #1D2D5C;
}
.sdm-chip.is-on .sdm-chip-box i {
  visibility: visible;
}
.sdm-chip:focus-within {
  outline: 2px solid #7FA2E0;
  outline-offset: 2px;
}

.sdm-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.sdm-dot--sans {
  background: #D98A1F;
}
.sdm-dot--attente {
  background: #7FA2E0;
}
.sdm-dot--refusee {
  background: #B23A36;
}
.sdm-dot--acceptee {
  background: #4FA235;
}

.sdm-selects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
  gap: 12px;
  align-items: end;
}
@media (max-width: 1100px) {
  .sdm-selects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sdm-select {
  position: relative;
  display: block;
}
.sdm-select select {
  appearance: none;
  width: 100%;
  height: 42px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 34px 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1D2D5C;
  background: #fff;
  cursor: pointer;
  outline: none;
}
.sdm-select select:focus-visible {
  border-color: #1D2D5C;
}
.sdm-select.is-on select {
  border-color: #1D2D5C;
}
.sdm-select i {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #5A6273;
  pointer-events: none;
}

.sdm-panneau-pied {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}

.sdm-reset {
  margin-left: auto;
  height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  color: #34508C;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.sdm-reset:hover {
  background: #EEF3FC;
  color: #34508C;
}

.sdm-table {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
}

.sdm-table-in {
  overflow-x: auto;
}

.sdm-ligne {
  display: grid;
  gap: 10px;
  align-items: center;
  min-width: 956px;
  grid-template-columns: minmax(120px, 1.3fr) 84px minmax(96px, 0.8fr) minmax(120px, 1.3fr) 92px 40px 78px minmax(162px, 170px) 36px;
  padding: 12px 14px;
  border-top: 1px solid #EEF1F6;
  border-left: 4px solid transparent;
  background: #fff;
  cursor: pointer;
}
.sdm-ligne:hover {
  box-shadow: inset 0 0 0 999px rgba(29, 45, 92, 0.03);
}
.sdm-ligne > div {
  min-width: 0;
}
.sdm-ligne--tete {
  padding: 11px 14px 11px 18px;
  border: 0;
  border-bottom: 1px solid #E2E8F0;
  background: #FAFBFD;
  cursor: default;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5A6273;
}
.sdm-ligne--tete:hover {
  box-shadow: none;
}
.sdm-ligne--tete + .sdm-ligne {
  border-top: 0;
}
.sdm-ligne--sans {
  border-left-color: #D98A1F;
  background: #FFF8EC;
}
.sdm-ligne--sans .sdm-sub--statut {
  color: #7A4A00;
  font-weight: 800;
}

.sdm-nom {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sdm-nom:hover {
  text-decoration: underline;
}

.sdm-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sdm-sub--statut {
  margin-top: 4px;
  line-height: 1.35;
  white-space: normal;
}

.sdm-fort {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}

.sdm-c-dossier, .sdm-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #34508C;
  white-space: nowrap;
}

.sdm-c-campus {
  font-size: 13px;
  font-weight: 700;
  color: #3E4A6B;
  line-height: 1.3;
}

.sdm-c-hotel {
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  line-height: 1.3;
  text-wrap: balance;
}

.sdm-c-sem {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #1D2D5C;
}

.sdm-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.sdm-pill i {
  font-size: 10px;
}
.sdm-pill--sans {
  background: #FFE2B0;
  color: #7A4A00;
}
.sdm-pill--attente {
  background: #E3EAF6;
  color: #34508C;
}
.sdm-pill--refusee {
  background: #FBE4E3;
  color: #B23A36;
}
.sdm-pill--acceptee {
  background: #E7F5E0;
  color: #2E5320;
}

.sdm-lien {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.sdm-lien:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}

.sdm-note {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #5A6273;
  padding: 0 4px;
}

.sdm-vide {
  background: #fff;
  border: 1.5px dashed #C9D2E3;
  border-radius: 22px;
  padding: 60px 40px;
  text-align: center;
}
.sdm-vide h2 {
  margin: 18px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: #1D2D5C;
}
.sdm-vide p {
  margin: 8px auto 0;
  font-size: 14px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
  max-width: 540px;
}
.sdm-vide-ic {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #E7F5E0;
  color: #2E5320;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: 0 auto;
}
.sdm-vide-ic--filtre {
  background: #EEF1F6;
  color: #5A6273;
}
.sdm-vide-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 14px;
  font-weight: 800;
}
.sdm-vide-btn:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}

.sdm-voile {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 25, 55, 0.45);
  animation: sdm-fade 0.2s ease both;
}
.sdm-voile[hidden] {
  display: none;
}

.sdm-volet {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 480px;
  max-width: 100vw;
  background: #fff;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  animation: sdm-slide 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.sdm-volet[hidden] {
  display: none;
}
.sdm-volet--sans .sdm-volet-tete {
  background: #FFE2B0;
}
.sdm-volet--sans .sdm-pill--blanc, .sdm-volet--sans .sdm-volet-sous {
  color: #7A4A00;
}
.sdm-volet--attente .sdm-volet-tete {
  background: #E3EAF6;
}
.sdm-volet--attente .sdm-pill--blanc, .sdm-volet--attente .sdm-volet-sous {
  color: #34508C;
}
.sdm-volet--refusee .sdm-volet-tete {
  background: #FBE4E3;
}
.sdm-volet--refusee .sdm-pill--blanc, .sdm-volet--refusee .sdm-volet-sous {
  color: #B23A36;
}
.sdm-volet--acceptee .sdm-volet-tete {
  background: #E7F5E0;
}
.sdm-volet--acceptee .sdm-pill--blanc, .sdm-volet--acceptee .sdm-volet-sous {
  color: #2E5320;
}
.sdm-volet--sans .sdm-volet-tete {
  border-bottom-color: #D98A1F;
}

.sdm-volet-tete {
  padding: 20px 24px 18px;
  border-bottom: 1px solid transparent;
}
.sdm-volet-tete h2 {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.01em;
}

.sdm-volet-etat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sdm-pill--blanc {
  background: #fff;
  height: 28px;
  padding: 0 12px;
  font-size: 12.5px;
}
.sdm-pill--blanc i {
  font-size: 11px;
}

.sdm-volet-sous {
  font-size: 12.5px;
  font-weight: 700;
}

.sdm-fermer {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  color: #1D2D5C;
  cursor: pointer;
  font-size: 14px;
  flex: none;
}
.sdm-fermer:hover {
  background: #fff;
}

.sdm-volet-id {
  font-size: 13px;
  font-weight: 600;
  color: #3E4A6B;
  margin-top: 2px;
}
.sdm-volet-id .sdm-mono {
  font-size: 13px;
  color: inherit;
}

.sdm-volet-corps {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sdm-volet-corps > * {
  flex: none;
}

.sdm-motif {
  border: 1.5px solid #F2C8C5;
  background: #FCF2F1;
  border-radius: 14px;
  padding: 14px 16px;
}
.sdm-motif-l {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8A2C26;
}
.sdm-motif-t {
  font-size: 15px;
  font-weight: 700;
  color: #1D2D5C;
  margin-top: 6px;
  line-height: 1.5;
}
.sdm-motif-t--vide {
  font-weight: 600;
  color: #3E4A6B;
}
.sdm-motif-par {
  font-size: 12.5px;
  font-weight: 600;
  color: #8A2C26;
  margin-top: 8px;
}

.sdm-alerte {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1.5px solid #D98A1F;
  background: #FFF4E0;
  border-radius: 14px;
  padding: 14px 16px;
  color: #7A4A00;
}
.sdm-alerte > i {
  font-size: 16px;
  margin-top: 2px;
}
.sdm-alerte-t {
  font-size: 14.5px;
  font-weight: 800;
}
.sdm-alerte-s {
  font-size: 13px;
  font-weight: 600;
  margin-top: 3px;
  line-height: 1.5;
}

.sdm-fiche {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #EEF1F6;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
}
.sdm-fiche > div {
  background: #fff;
  padding: 12px 14px;
}
.sdm-fiche-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5A6273;
}
.sdm-fiche-v {
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 3px;
  line-height: 1.35;
}
.sdm-fiche-s {
  font-size: 12px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 1px;
}

.sdm-ev {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 14px;
}
.sdm-ev > div {
  flex: 1;
  min-width: 0;
}
.sdm-ev-ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}
.sdm-ev-ic--bleu {
  background: #E3EAF6;
  color: #34508C;
}
.sdm-ev-ic--ambre {
  background: #FFE2B0;
  color: #7A4A00;
}
.sdm-ev-ic--rouge {
  background: #FBE4E3;
  color: #B23A36;
}
.sdm-ev-ic--vert {
  background: #E7F5E0;
  color: #2E5320;
}
.sdm-ev-ic--gris {
  background: #EEF1F6;
  color: #5A6273;
}
.sdm-ev-t {
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.sdm-ev-s {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 1px;
}

.sdm-volet-pied {
  padding: 16px 24px 20px;
  border-top: 1px solid #EEF1F6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FAFBFD;
}

.sdm-action {
  height: 50px;
  border-radius: 12px;
  background: #1D2D5C;
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.sdm-action i {
  font-size: 13px;
}
.sdm-action:hover {
  background: #27376A;
  color: #fff;
}
.sdm-action--second {
  height: 46px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 14px;
}
.sdm-action--second:hover {
  background: #fff;
  border-color: #1D2D5C;
  color: #1D2D5C;
}

@media (prefers-reduced-motion: reduce) {
  .sdm-form, .sdm-table, .sdm-vide, .sdm-note, .sdm-panneau, .sdm-voile, .sdm-volet {
    animation: none;
  }
}
@keyframes tr-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tr-dd {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tr-slide {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.trsp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
  font-size: 12.5px;
  text-decoration: none;
}
.trsp-cta:hover {
  background: #27376A;
  color: #fff;
}

.tr-page {
  padding: 28px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #3E4A6B;
}
.tr-page [hidden] {
  display: none !important;
}
.tr-page a {
  text-decoration: none;
}
.tr-page button, .tr-page select, .tr-page input {
  font-family: inherit;
}
.tr-page .t-vert {
  color: #2E5320;
}
.tr-page .t-rouge {
  color: #B23A36;
}
.tr-page .t-gris {
  color: #6B7490;
}
.tr-page .t-bleu {
  color: #34508C;
}
.tr-page .t-pale {
  color: #C4CAD6;
}
.tr-page .t-sub {
  color: var(--text-secondary);
}
.tr-page .t-ambre {
  color: #A85D00;
}
.tr-page .tr-c-vert-clair {
  color: #6CC04A;
}
.tr-page .tr-c-vert {
  color: #4FA235;
}
.tr-page .tr-c-ambre {
  color: #D9A441;
}
.tr-page .tr-c-or {
  color: #D9A441;
}
.tr-page .tr-c-bleu {
  color: #34508C;
}
.tr-page .tr-mono {
  font-family: "JetBrains Mono", monospace;
  font-weight: 600;
  color: #1D2D5C;
}
.tr-page .tr-ellipse {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tr-page .tr-droite {
  margin-left: auto;
}
.tr-page .tr-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.tr-page .tr-vide {
  padding: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.tr-page .tr-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.tr-page .tr-pill i {
  font-size: 10px;
}
.tr-page .tr-pill.t-vert {
  background: #E7F5E0;
}
.tr-page .tr-pill.t-rouge {
  background: #FBE4E3;
}
.tr-page .tr-pill.t-gris {
  background: #F1F4F9;
}
.tr-page .tr-pill.t-bleu {
  background: #E3EAF6;
}
.tr-page .tr-pill.t-pale {
  background: #F1F4F9;
  color: var(--text-tertiary);
}
.tr-page .tr-pill.t-ambre {
  background: #FCEFDC;
}
.tr-page .tr-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  background: #E9EDF4;
  color: #5A6273;
}
.tr-page .tr-tag.is-sombre {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
}
.tr-page .tr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.tr-page .tr-btn:hover:not(:disabled) {
  background: #F1F4F9;
}
.tr-page .tr-btn:disabled {
  opacity: 0.5;
  cursor: default;
}
.tr-page .tr-btn.tr-btn-s {
  height: 34px;
  padding: 0 11px;
  border-radius: 9px;
}
.tr-page .tr-btn.tr-btn-s i:not([class*=tr-c-]) {
  color: var(--text-secondary);
}
.tr-page .tr-btn.is-navy {
  border: none;
  background: #1D2D5C;
  color: #fff;
  height: 36px;
}
.tr-page .tr-btn.is-navy:hover {
  background: #27376A;
}
.tr-page .tr-btn.is-rouge {
  border-color: #F2C8C5;
  color: #B23A36;
  height: 36px;
}
.tr-page .tr-btn.is-ambre {
  border-color: #F3D48B;
  background: #FCEFDC;
  color: #A85D00;
}
.tr-page .tr-btn.tr-btn-xs {
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  font-size: 11px;
  gap: 5px;
}
.tr-page .tr-btn.tr-btn-xs i {
  font-size: 10px;
}
.tr-page .tr-chev {
  font-size: 9px;
  color: var(--text-tertiary);
  transition: transform 0.2s;
}
.tr-page .tr-dd {
  position: relative;
}
.tr-page .tr-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  z-index: 40;
  min-width: 290px;
  padding: 6px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.18);
  animation: tr-dd 0.2s ease both;
}
.tr-page .tr-menu.tr-menu-droite {
  left: auto;
  right: 0;
  min-width: 270px;
}
.tr-page .tr-menu > a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
}
.tr-page .tr-menu > a i {
  width: 16px;
}
.tr-page .tr-menu > a:hover {
  background: #F1F4F9;
}
.tr-page .tr-menu form {
  margin: 0;
}
.tr-page .tr-menu-titre {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 6px 10px 4px;
}
.tr-page .tr-opt {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}
.tr-page .tr-opt:hover:not(:disabled) {
  background: #F1F4F9;
}
.tr-page .tr-opt:disabled {
  opacity: 0.55;
  cursor: default;
}
.tr-page .tr-opt.is-carte {
  padding: 9px 11px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
}
.tr-page .tr-opt.is-courante {
  border-color: #1D2D5C;
  background: #F1F4F9;
}
.tr-page .tr-opt-ic {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #FCEFDC;
  color: #A85D00;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.tr-page .tr-opt-ic.is-grand {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 14px;
}
.tr-page .tr-opt-txt {
  flex: 1;
  min-width: 0;
}
.tr-page .tr-opt-txt b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-opt-txt small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tr-page .tr-opt-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #2E5320;
  white-space: nowrap;
}
.tr-page .tr-opt-tag.t-rouge {
  color: #B23A36;
}
.tr-page .tr-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.tr-page .tr-titre {
  flex: 1;
  min-width: 220px;
}
.tr-page .tr-titre h1 {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}
.tr-page .tr-titre h1 span {
  color: #6B7490;
  font-weight: 700;
}
.tr-page .tr-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4FA235;
}
.tr-page .tr-campus {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
}
.tr-page .tr-campus a {
  height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #6B7490;
  white-space: nowrap;
}
.tr-page .tr-campus a:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.tr-page .tr-campus a.is-on {
  background: #1D2D5C;
  color: #fff;
}
.tr-page .tr-semaine {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 0 3px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.2s;
}
.tr-page .tr-semaine > a {
  height: 30px;
  width: 30px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  color: #324063;
  font-size: 11px;
}
.tr-page .tr-semaine > a:hover {
  background: #F1F4F9;
}
.tr-page .tr-semaine-choix {
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-semaine-choix:hover {
  background: #F1F4F9;
}
.tr-page .tr-semaine-choix > i:first-child {
  color: var(--text-secondary);
}
.tr-page .tr-semaine-choix small {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}
.tr-page .tr-menu.tr-menu-semaines {
  min-width: 300px;
  max-height: 320px;
  overflow: auto;
}
.tr-page .tr-menu.tr-menu-semaines > a b {
  min-width: 36px;
  font-size: 13px;
  font-weight: 800;
}
.tr-page .tr-menu.tr-menu-semaines > a span {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
}
.tr-page .tr-menu.tr-menu-semaines > a em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #E7F5E0;
  color: #2E5320;
}
.tr-page .tr-menu.tr-menu-semaines > a i {
  width: auto;
  font-size: 11px;
}
.tr-page .tr-menu.tr-menu-semaines > a.is-on {
  background: #F1F4F9;
}
.tr-page .tr-jours {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tr-page .tr-jours > .tr-btn {
  white-space: nowrap;
}
.tr-page .tr-jours-vide {
  flex: 1 1 0;
  min-width: 0;
}
.tr-page .tr-jours-titre {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}
.tr-page .tr-jours-liste {
  display: flex;
  gap: 4px;
  padding: 4px;
  flex: 1 1 480px;
  max-width: 640px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
}
.tr-page .tr-jours-liste a {
  position: relative;
  flex: 1 1 64px;
  min-width: 64px;
  height: 46px;
  padding: 0 10px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  white-space: nowrap;
  transition: background 0.2s;
}
.tr-page .tr-jours-liste a small {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text-secondary);
}
.tr-page .tr-jours-liste a b {
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.tr-page .tr-jours-liste a:hover {
  background: #F1F4F9;
}
.tr-page .tr-jours-liste a.is-we small {
  color: #B5BCCA;
}
.tr-page .tr-jours-liste a.is-we b {
  color: var(--text-tertiary);
}
.tr-page .tr-jours-liste a.is-on {
  background: #1D2D5C;
}
.tr-page .tr-jours-liste a.is-on small {
  color: #C7CEE3;
}
.tr-page .tr-jours-liste a.is-on b {
  color: #fff;
}
.tr-page .tr-jours-liste a.is-on .tr-jours-auj {
  border-color: #1D2D5C;
}
.tr-page .tr-jours-auj {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6CC04A;
  border: 2px solid #fff;
}
.tr-page .tr-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.tr-page .tr-kpi {
  text-align: left;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.tr-page .tr-kpi b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tr-page .tr-kpi small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 3px;
  white-space: nowrap;
}
.tr-page button.tr-kpi {
  cursor: pointer;
}
.tr-page button.tr-kpi:hover {
  border-color: #1D2D5C;
}
.tr-page button.tr-kpi.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}
.tr-page .tr-kpi-ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.tr-page .tr-kpi-ic.t-bleu {
  background: #E3EAF6;
}
.tr-page .tr-kpi-ic.t-ambre {
  background: #FCEFDC;
  color: #A85D00;
}
.tr-page .tr-kpi-ic.t-vert {
  background: #E7F5E0;
}
.tr-page .tr-kpi-ic.t-gris {
  background: #F1F4F9;
}
.tr-page .tr-kpi-ic.t-rouge {
  background: #FBE4E3;
}
.tr-page .tr-carte {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
}
.tr-page .tr-carte-tete {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-bottom: 1px solid #F0F2F6;
}
.tr-page .tr-carte-tete h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-creneaux {
  padding: 14px 18px;
}
.tr-page .tr-creneaux .tr-carte-tete {
  padding: 0 0 12px;
  border: none;
}
.tr-page .tr-creneaux .tr-carte-tete h2 {
  font-size: 13.5px;
}
.tr-page .tr-legende {
  margin-left: auto;
  display: flex;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
}
.tr-page .tr-legende i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}
.tr-page .tr-legende .t-vert {
  background: #4FA235;
}
.tr-page .tr-legende .t-rouge {
  background: #C9403C;
}
.tr-page .tr-legende .t-gris {
  background: #C4CAD6;
}
.tr-page .tr-legende .t-ambre {
  background: #D9A441;
}
.tr-page .tr-creneaux-liste {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.tr-page .tr-cren {
  height: 64px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.tr-page .tr-cren:hover {
  border-color: #B8C2D6;
}
.tr-page .tr-cren.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}
.tr-page .tr-cren > b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-cren small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 3px;
}
.tr-page .tr-cren-l1 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 126px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-secondary);
}
.tr-page .tr-cren-l1 .tr-mono {
  font-size: 14px;
}
.tr-page .tr-cren-l1 i {
  font-size: 10px;
}
.tr-page .tr-cren-dots {
  display: flex;
  gap: 3px;
  margin-top: 6px;
}
.tr-page .tr-cren-dots i {
  width: 14px;
  height: 5px;
  border-radius: 3px;
}
.tr-page .tr-cren-vide {
  padding: 0 6px;
}
.tr-page .d-todo, .tr-page .s-todo {
  --tr-etat: #C4CAD6;
}
.tr-page .d-sent, .tr-page .s-sent {
  --tr-etat: #6CC04A;
}
.tr-page .d-ok, .tr-page .s-ok {
  --tr-etat: #4FA235;
}
.tr-page .d-renvoi, .tr-page .s-renvoi {
  --tr-etat: #D9A441;
}
.tr-page .d-ko, .tr-page .s-ko {
  --tr-etat: #C9403C;
}
.tr-page .d-done, .tr-page .s-done {
  --tr-etat: #34508C;
}
.tr-page .d-cancel, .tr-page .s-cancel {
  --tr-etat: #E2E8F0;
}
.tr-page .tr-cren-dots i {
  background: var(--tr-etat);
}
.tr-page .tr-courses {
  overflow: visible;
}
.tr-page .tr-outils {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.tr-page .tr-outils form {
  margin: 0;
  display: flex;
}
.tr-page .tr-outils select {
  width: auto;
  min-width: 0;
  flex: none;
  margin: 0;
  height: 34px;
  padding: 0 10px;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  background-color: #fff;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  cursor: pointer;
  box-shadow: none;
}
.tr-page .tr-recherche {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 10px;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  background: #fff;
  margin: 0;
}
.tr-page .tr-recherche:focus-within {
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.tr-page .tr-recherche i {
  font-size: 11px;
  color: var(--text-tertiary);
}
.tr-page .tr-recherche input {
  border: none;
  outline: none;
  box-shadow: none;
  margin: 0;
  height: auto;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #1D2D5C;
  width: 150px;
  background: none;
  padding: 0;
}
.tr-page .tr-lot {
  position: sticky;
  top: var(--topbar-h);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: #1D2D5C;
  color: #fff;
  animation: tr-dd 0.2s ease both;
}
.tr-page .tr-lot form {
  margin: 0;
}
.tr-page .tr-lot-n {
  font-size: 12.5px;
  font-weight: 800;
}
.tr-page .tr-lot-attr, .tr-page .tr-lot-btn, .tr-page .tr-lot-x {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.tr-page .tr-lot-attr {
  border: none;
  background: #6CC04A;
  color: #0E2A12;
}
.tr-page .tr-lot-attr .tr-chev {
  color: inherit;
}
.tr-page .tr-lot-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: none;
  color: #fff;
}
.tr-page .tr-lot-btn.is-rouge {
  color: #FFC8C5;
}
.tr-page .tr-lot-x {
  margin-left: auto;
  border: none;
  background: none;
  color: #C7CEE3;
}
.tr-page .tr-grille {
  display: grid;
  grid-template-columns: 36px 70px minmax(380px, 2fr) minmax(0, 1.2fr) minmax(0, 1.1fr) 170px 76px;
  gap: 12px;
  align-items: center;
  padding: 0 16px 0 13px;
  border-left: 3px solid transparent;
}
.tr-page .tr-grille input[type=checkbox] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #1D2D5C;
  cursor: pointer;
}
.tr-page .tr-entete {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F0F2F6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.tr-page .tr-groupe-tete {
  grid-template-columns: 36px 70px minmax(0, 1fr) auto;
  padding-top: 10px;
  padding-bottom: 10px;
  border-left-color: #CBD2E0;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}
.tr-page .tr-groupe-h, .tr-page .tr-groupe-txt {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.tr-page .tr-groupe-h {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}
.tr-page .tr-groupe-h i {
  font-size: 10px;
  color: var(--text-tertiary);
  width: 10px;
  transition: transform 0.2s;
}
.tr-page .tr-groupe-txt {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}
.tr-page .tr-groupe-txt b {
  color: #1D2D5C;
}
.tr-page .tr-groupe-sum {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.tr-page .tr-groupe-sum span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tr-page .tr-groupe-sum i {
  font-size: 10px;
}
.tr-page .tr-groupe.is-plie .tr-groupe-corps {
  display: none;
}
.tr-page .tr-groupe.is-plie .tr-groupe-h i {
  transform: rotate(-90deg);
}
.tr-page .tr-ligne {
  min-height: 52px;
  border-top: 1px solid #F0F2F6;
  border-left-color: var(--tr-etat, transparent);
  background: #fff;
}
.tr-page .tr-ligne:hover, .tr-page .tr-ligne.is-sel {
  background: #F7F9FC;
}
.tr-page .tr-ligne.s-cancel {
  opacity: 0.65;
}
.tr-page .tr-num b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.tr-page .tr-num small {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.tr-page .tr-num small em {
  font-style: normal;
  color: #B23A36;
}
.tr-page .tr-who {
  min-width: 0;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tr-page .tr-who b {
  color: #4FA235;
}
.tr-page .tr-who:hover {
  text-decoration: underline;
}
.tr-page .tr-soc-cell {
  min-width: 0;
}
.tr-page .tr-soc {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-soc:hover {
  border-color: #1D2D5C;
}
.tr-page .tr-soc.is-vide {
  border-style: dashed;
  font-weight: 700;
  color: var(--text-secondary);
}
.tr-page .tr-soc.is-fixe {
  cursor: default;
  border-color: transparent;
  padding: 0;
}
.tr-page .tr-soc.is-fixe:hover {
  border-color: transparent;
}
.tr-page .tr-contact, .tr-page .tr-envoi {
  min-width: 0;
}
.tr-page .tr-contact b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1D2D5C;
}
.tr-page .tr-contact b.is-vide {
  color: #C4CAD6;
}
.tr-page .tr-contact a {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}
.tr-page .tr-contact a:hover {
  color: #4FA235;
}
.tr-page .tr-envoi b {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.tr-page .tr-envoi b i {
  font-size: 11px;
}
.tr-page .tr-envoi small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 1px;
}
.tr-page .tr-envoi.t-pale b {
  color: var(--text-tertiary);
}
.tr-page .tr-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}
.tr-page .tr-actions form {
  margin: 0;
}
.tr-page .tr-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  color: #324063;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.tr-page .tr-ico:hover:not(:disabled) {
  background: #F1F4F9;
}
.tr-page .tr-ico:disabled {
  color: #C4CAD6;
  opacity: 0.6;
  cursor: default;
}
.tr-page .tr-ico.is-ambre:not(:disabled) {
  background: #D9A441;
  border-color: #D9A441;
  color: #fff;
}
.tr-page .sans-coche {
  grid-template-columns: 8px 70px minmax(380px, 2fr) minmax(0, 1.2fr) minmax(0, 1.1fr) 170px 40px;
}
.tr-page .tr-groupe-tete.sans-coche {
  grid-template-columns: 8px 70px minmax(0, 1fr) auto;
}
.tr-page .tr-bas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 16px;
  align-items: start;
}
.tr-page .tr-bas .tr-carte {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .tr-page .tr-bas {
    grid-template-columns: minmax(0, 1fr);
  }
}
.tr-page .tr-navette {
  display: grid;
  grid-template-columns: 56px auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid #F0F2F6;
}
.tr-page .tr-navette .tr-mono {
  font-size: 13.5px;
}
.tr-page .tr-navette b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #3E4A6B;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tr-page .tr-navette small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
}
.tr-page .tr-navette:first-of-type {
  border-top: none;
}
.tr-page .tr-soc-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, 64px) minmax(0, 1.3fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid #F0F2F6;
}
.tr-page .tr-soc-grille b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-soc-grille small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
}
.tr-page .tr-soc-entete {
  padding-top: 7px;
  padding-bottom: 7px;
  border-top: none;
  border-bottom: 1px solid #F0F2F6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.tr-page .tr-soc-entete span:nth-child(2), .tr-page .tr-soc-entete span:nth-child(3), .tr-page .tr-soc-entete span:nth-child(4) {
  text-align: center;
}
.tr-page .tr-soc-entete + .tr-soc-grille {
  border-top: none;
}
.tr-page .tr-chiffre {
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tr-page .tr-chiffre.t-gris {
  color: #6B7490;
}
.tr-page .tr-soc-room {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: #5A6273;
}
.tr-page .tr-soc-contact {
  text-align: right;
}
.tr-page .tr-soc-contact b {
  font-size: 12px;
  white-space: nowrap;
}
.tr-page .tr-soc-contact a {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}
.tr-page .tr-voile {
  position: fixed;
  inset: 0;
  z-index: 1060;
  background: rgba(20, 33, 71, 0.28);
  animation: tr-fondu 0.2s ease both;
}
.tr-page .tr-tiroir {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1070;
  width: 440px;
  max-width: 100vw;
  background: #fff;
  box-shadow: -20px 0 60px rgba(20, 33, 71, 0.25);
  display: flex;
  flex-direction: column;
  animation: tr-slide 0.25s ease both;
  --leave: exit-right;
}
.tr-page .tr-tiroir form {
  margin: 0;
}
.tr-page .tr-tiroir-tete {
  padding: 18px 22px;
  background: #1D2D5C;
  color: #fff;
}
.tr-page .tr-tiroir-l1 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tr-page .tr-tiroir-l1 .tr-mono {
  font-size: 22px;
  color: #fff;
}
.tr-page .tr-tiroir-x {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.tr-page .tr-tiroir-route {
  font-size: 14px;
  font-weight: 800;
  margin-top: 10px;
}
.tr-page .tr-tiroir-sub {
  font-size: 12px;
  font-weight: 600;
  color: #C7CEE3;
  margin-top: 3px;
}
.tr-page .tr-tiroir-corps {
  flex: 1;
  overflow: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tr-page .tr-tiroir-soc {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tr-page .tr-tiroir-soc .tr-opt-txt b {
  font-size: 13.5px;
}
.tr-page .tr-tiroir-soc .tr-opt-txt small {
  font-size: 12px;
  color: #5A6273;
  margin-top: 2px;
}
.tr-page .tr-tiroir-soc .tr-opt-txt small a {
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-tiroir-soc .tr-opt-txt small.t-pale {
  color: var(--text-tertiary);
  font-size: 11px;
}
.tr-page .tr-tiroir-soc .tr-btn {
  height: 34px;
  font-size: 12px;
}
.tr-page .tr-mini-titre {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.tr-page .tr-pax {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #F0F2F6;
  color: #1D2D5C;
}
.tr-page .tr-pax > i {
  font-size: 10px;
  color: #C4CAD6;
}
.tr-page .tr-pax .tr-opt-txt b {
  font-size: 13px;
}
.tr-page .tr-pax .tr-opt-txt small {
  font-size: 11px;
}
.tr-page a.tr-pax:hover .tr-opt-txt b {
  color: #4FA235;
}
.tr-page .tr-ini {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.tr-page .tr-hist {
  padding: 12px 14px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #F0F2F6;
}
.tr-page .tr-hist .tr-mini-titre {
  margin-bottom: 6px;
}
.tr-page .tr-hist-l {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding: 6px 0;
  border-top: 1px solid #EEF1F6;
  font-size: 12px;
}
.tr-page .tr-hist-l i {
  font-size: 7px;
  width: 12px;
  text-align: center;
}
.tr-page .tr-hist-l b {
  font-weight: 800;
  color: #1D2D5C;
  flex: 1;
  min-width: 120px;
}
.tr-page .tr-hist-l span {
  font-weight: 700;
}
.tr-page .tr-hist-l .tr-mono {
  color: var(--text-tertiary);
  font-size: 11.5px;
}
.tr-page .tr-hist-l.t-gris span:not(.tr-mono) {
  color: var(--text-secondary);
}
.tr-page .tr-tiroir-choix {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tr-page .tr-tiroir-choix .tr-opt-ic {
  width: 28px;
  height: 28px;
}
.tr-page .tr-tiroir-choix .tr-opt-txt b {
  font-size: 13px;
}
.tr-page .tr-tiroir-choix .tr-opt-txt small {
  font-size: 11px;
}
.tr-page .tr-tiroir-pied {
  padding: 14px 22px;
  border-top: 1px solid #F0F2F6;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.tr-page .tr-tiroir-pied .tr-btn {
  height: 36px;
  font-size: 12.5px;
}
.tr-page .tr-tiroir-pied .tr-btn i.t-rouge {
  color: #B23A36;
}
.tr-page .tr-defile {
  overflow-x: auto;
}
.tr-page .tr-defile-int {
  min-width: 1080px;
}
.tr-page .tr-places {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  padding: 6px 0;
}
.tr-page .tr-pax-chip, .tr-page .tr-place {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  min-width: 96px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font-size: 11.5px;
  white-space: nowrap;
  cursor: pointer;
}
.tr-page .tr-pax-chip {
  padding: 0 10px 0 4px;
  font-weight: 700;
  color: #1D2D5C;
}
.tr-page .tr-pax-chip:hover {
  border-color: #1D2D5C;
}
.tr-page .tr-pax-chip .tr-mono {
  font-size: 10px;
  opacity: 0.7;
}
.tr-page .tr-chip-ini {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 800;
}
.tr-page .tr-place {
  padding: 0 10px;
  border-style: dashed;
  font-weight: 600;
  color: #B4BCCB;
  justify-content: center;
  cursor: default;
}
.tr-page .tr-tiroir.is-large {
  width: 460px;
}
.tr-page .tr-orph-tete {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tr-page .tr-orph-tete .tr-opt-txt b {
  color: #fff;
  font-size: 15px;
}
.tr-page .tr-orph-tete .tr-opt-txt small {
  color: #C7CEE3;
  font-size: 12px;
  white-space: normal;
}
.tr-page .tr-orph-ic {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #FFB4B0;
}
.tr-page .tr-orph-liste {
  padding-top: 6px;
  gap: 0;
}
.tr-page .tr-orph-l {
  padding: 14px 0;
  border-bottom: 1px solid #F0F2F6;
}
.tr-page .tr-orph-l1 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tr-page .tr-orph-l1 .tr-ini {
  width: 32px;
  height: 32px;
  font-size: 10.5px;
}
.tr-page .tr-orph-l1 .tr-opt-txt b {
  font-size: 13.5px;
}
.tr-page .tr-orph-quand, .tr-page .tr-orph-why {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0 0 42px;
  font-size: 12px;
  font-weight: 600;
  color: #5A6273;
}
.tr-page .tr-orph-quand i, .tr-page .tr-orph-why i {
  width: 14px;
  text-align: center;
}
.tr-page .tr-orph-quand .tr-mono {
  font-size: 13px;
}
.tr-page .tr-orph-quand.t-ambre, .tr-page .tr-orph-quand.t-ambre .tr-mono {
  color: #A85D00;
}
.tr-page .tr-orph-why {
  margin-top: 4px;
  font-weight: 700;
  color: #B23A36;
}
.tr-page .tr-orph-why i {
  font-size: 11px;
}
.tr-page .tr-orph-gestes {
  display: flex;
  gap: 6px;
  margin: 10px 0 0 42px;
  flex-wrap: wrap;
}
.tr-page .tr-orph-gestes form {
  margin: 0;
}
.tr-page .tr-orph-gestes .tr-btn {
  height: 32px;
  font-size: 11.5px;
}
.tr-page .tr-orph-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 8px;
  border: 0;
  border-radius: 999px;
  background: #C9403C;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(201, 64, 60, 0.35);
  animation: tr-orph-pulse 2.4s ease 3;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s;
}
.tr-page .tr-orph-fab:hover {
  transform: translateY(-2px);
  background: #B5332F;
}
.tr-page .tr-orph-fab .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}
.tr-page .tr-orph-fab .t {
  font-size: 13.5px;
  font-weight: 800;
}
.tr-page .tr-orph-ok {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 16px 0 8px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #CFE9C2;
  color: #2E5320;
  box-shadow: 0 10px 28px rgba(20, 33, 71, 0.12);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  animation: tr-rise 0.3s ease both;
}
.tr-page .tr-orph-ok .ic {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #E7F5E0;
  color: #4FA235;
  display: grid;
  place-items: center;
}
.tr-page .tr-btn-rooming {
  padding: 0 13px 0 9px;
  gap: 9px;
}
.tr-page .tr-btn-rooming:hover:not(:disabled) {
  background: #fff;
  border-color: #1D2D5C;
}
.tr-page .tr-btn-rooming .tr-pill {
  font-size: 10.5px;
  padding: 2px 8px;
  gap: 5px;
}
@media (max-width: 1799px) {
  .tr-page .tr-rooming-nav {
    display: none;
  }
}
.tr-page .tr-btn-pastille {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #E7F5E0;
  color: #4FA235;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.tr-page .tr-point {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tr-page .tr-room-tuiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tr-page .tr-room-tuile {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
}
.tr-page .tr-room-tuile small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.tr-page .tr-room-tuile b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 5px;
}
.tr-page .tr-room-tuile span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 1px;
}
.tr-page .tr-room-socs {
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
}
.tr-page .tr-room-soc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s;
}
.tr-page .tr-room-soc + .tr-page .tr-room-soc {
  border-top: 1px solid #F0F2F6;
}
.tr-page .tr-room-soc:hover:not(.is-off) {
  background: #F8FAFC;
}
.tr-page .tr-room-soc:has(.tr-room-coche:checked) {
  background: #F1F4F9;
}
.tr-page .tr-room-soc.is-off {
  cursor: default;
}
.tr-page .tr-room-soc.is-off .tr-opt-ic, .tr-page .tr-room-soc.is-off .tr-opt-txt b {
  opacity: 0.55;
}
.tr-page .tr-room-soc .tr-room-coche {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #1D2D5C;
  cursor: pointer;
}
.tr-page .tr-room-soc .tr-room-coche:disabled {
  cursor: default;
}
.tr-page .tr-room-soc .tr-opt-ic.is-grand {
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.tr-page .tr-room-soc .tr-opt-ic.is-navette {
  background: #E7F5E0;
  color: #4FA235;
}
.tr-page .tr-room-soc .tr-opt-txt b {
  font-size: 13px;
}
.tr-page .tr-room-soc .tr-opt-txt small {
  font-size: 11.5px;
}
.tr-page .tr-room-soc .tr-opt-txt small.t-pale {
  color: var(--text-tertiary);
  font-size: 11px;
}
.tr-page .tr-room-soc .tr-opt-txt small.t-rouge {
  color: #B23A36;
  font-size: 11px;
  font-weight: 700;
}
.tr-page .tr-room-alerte {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #FDF3E4;
  color: #A85D00;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
}
.tr-page .tr-room-alerte i {
  margin-top: 2px;
}
.tr-page .tr-room-tout {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  cursor: pointer;
}
.tr-page .tr-room-tout input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 0 0 0 14px;
  accent-color: #1D2D5C;
  cursor: pointer;
}
.tr-page .tr-room-tout input:disabled {
  cursor: default;
}
.tr-page .tr-room-tout > span {
  min-width: 0;
}
.tr-page .tr-room-tout b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-room-tout small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.35;
}
.tr-page .tr-room-histo {
  border-left: 2px solid #E2E8F0;
  margin-left: 7px;
  padding-left: 16px;
}
.tr-page .tr-room-h {
  position: relative;
  padding: 4px 0 14px;
}
.tr-page .tr-room-h::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4FA235;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px #4FA235;
}
.tr-page .tr-room-h.t-ambre::before {
  background: #D9A441;
  box-shadow: 0 0 0 1.5px #D9A441;
}
.tr-page .tr-room-h b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-room-h small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 1px;
}
.tr-page .tr-room-pied {
  background: #FAFBFD;
  flex-wrap: nowrap;
}
.tr-page .tr-room-pied > span {
  flex: 1;
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.4;
}
.tr-page .tr-room-pied .tr-btn {
  height: 40px;
  font-size: 13px;
}
.tr-page .tr-modale {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tr-page .tr-modale[hidden] {
  display: none;
}
.tr-page .tr-modale-voile {
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 71, 0.42);
  animation: tr-fondu 0.2s ease both;
}
.tr-page .tr-modale-boite {
  position: relative;
  width: 760px;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(20, 33, 71, 0.35);
  animation: tr-rise 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  --leave: exit-scale;
}
.tr-page .tr-modale-tete {
  padding: 18px 24px 16px;
  background: #1D2D5C;
  color: #fff;
}
.tr-page .tr-modale-l1 {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tr-page .tr-modale-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 17px;
  color: #6CC04A;
  flex-shrink: 0;
}
.tr-page .tr-modale-titre {
  flex: 1;
  min-width: 0;
}
.tr-page .tr-modale-titre small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C7CEE3;
}
.tr-page .tr-modale-titre div {
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
}
.tr-page .tr-modale-titre div span {
  font-weight: 600;
  color: #C7CEE3;
}
.tr-page .tr-modale-x {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.tr-page .tr-modale-x:hover {
  background: rgba(255, 255, 255, 0.25);
}
.tr-page .tr-etapes {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.tr-page .tr-etapes li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.tr-page .tr-etapes li:not(:last-child) {
  flex: 1;
}
.tr-page .tr-etapes li:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  margin: 0 14px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.3s;
}
.tr-page .tr-etapes li.is-fait::after {
  background: #6CC04A;
}
.tr-page .tr-etape-n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
  color: var(--text-tertiary);
  border: 1.5px solid #E2E8F0;
  transition: all 0.3s;
}
.tr-page .tr-etape-n i {
  display: none;
  font-size: 11px;
}
.tr-page .tr-etapes .is-on .tr-etape-n {
  background: #1D2D5C;
  color: #fff;
  border-color: #fff;
}
.tr-page .tr-etapes .is-fait .tr-etape-n {
  background: #6CC04A;
  color: #0E2A12;
  border-color: #6CC04A;
}
.tr-page .tr-etapes .is-fait .tr-etape-n b {
  display: none;
}
.tr-page .tr-etapes .is-fait .tr-etape-n i {
  display: block;
}
.tr-page .tr-etape-l {
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.tr-page .tr-modale-corps {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tr-page .tr-modale-pied {
  padding: 14px 24px;
  border-top: 1px solid #E2E8F0;
  background: #FAFBFD;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tr-page .tr-modale-pied .tr-btn {
  height: 40px;
  font-size: 13px;
}
.tr-page .tr-modale-pied .tr-btn-l {
  padding: 0 18px;
}
.tr-page .tr-modale-pied .tr-btn-l i {
  font-size: 11px;
}
.tr-page .tr-modale-pied .tr-btn.is-navy:disabled {
  background: #C4CAD6;
  opacity: 1;
}
.tr-page .tr-modale-pied .tr-btn.is-vert {
  background: #4FA235;
  box-shadow: 0 8px 20px rgba(79, 162, 53, 0.3);
}
.tr-page .tr-modale-pied .tr-btn.is-vert:hover {
  background: #3F8A2A;
}
.tr-page .tr-mv-pax {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
}
.tr-page .tr-mv-pax .tr-opt-txt b {
  font-size: 16px;
}
.tr-page .tr-mv-pax .tr-opt-txt small {
  font-size: 12.5px;
  color: #6B7490;
  margin-top: 2px;
  white-space: normal;
}
.tr-page .tr-mv-pax .tr-mono {
  font-weight: 700;
}
.tr-page .tr-ini.is-grand {
  width: 48px;
  height: 48px;
  font-size: 14px;
}
.tr-page .tr-mv-carte {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #EEF1F6;
}
.tr-page .tr-mv-carte.is-gris {
  background: #F8FAFC;
  padding: 14px 18px;
}
.tr-page .tr-mv-carte .tr-opt-txt b {
  font-size: 13.5px;
}
.tr-page .tr-mv-carte .tr-opt-txt small {
  font-size: 12px;
  color: #6B7490;
  margin-top: 2px;
  white-space: normal;
  line-height: 1.45;
}
.tr-page .tr-mv-carte-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.tr-page .tr-mv-carte-ic.t-ambre {
  background: #FCEFDC;
}
.tr-page .tr-mv-carte-ic.t-rouge {
  background: #FBE4E3;
}
.tr-page .tr-mv-carte-ic.t-vert {
  background: #E7F5E0;
}
.tr-page .tr-mv-carte-ic.t-bleu {
  background: #E3EAF6;
}
.tr-page .tr-mv-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: #EEF3FC;
  color: #34508C;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
}
.tr-page .tr-mv-info i {
  margin-top: 3px;
}
.tr-page .tr-mv-l-titre {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tr-page .tr-mv-l-titre .tr-mini-titre {
  margin: 0;
}
.tr-page .tr-mv-l-titre .tr-pill {
  padding: 3px 9px;
}
.tr-page .tr-mv-cand {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.tr-page .tr-mv-cand:hover:not(:disabled) {
  border-color: #1D2D5C;
}
.tr-page .tr-mv-cand.is-on {
  border-color: #1D2D5C;
  background: #F1F4F9;
}
.tr-page .tr-mv-cand.is-ko {
  border-color: #EEF1F6;
  opacity: 0.55;
  cursor: not-allowed;
}
.tr-page .tr-mv-cand.is-nouvelle {
  border-style: dashed;
}
.tr-page .tr-mv-cand.is-nouvelle:hover {
  border-color: #4FA235;
}
.tr-page .tr-mv-cand.is-nouvelle.is-on {
  border-color: #4FA235;
  background: #F2FAEF;
}
.tr-page .tr-mv-cand .tr-opt-txt b {
  font-size: 13px;
}
.tr-page .tr-mv-cand .tr-opt-txt small {
  font-size: 11.5px;
  margin-top: 2px;
}
.tr-page .tr-mv-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #E2E8F0;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.tr-page .tr-mv-cand.is-on .tr-mv-radio {
  border-color: #1D2D5C;
}
.tr-page .tr-mv-cand.is-on .tr-mv-radio::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1D2D5C;
}
.tr-page .tr-mv-cand.is-nouvelle.is-on .tr-mv-radio {
  border-color: #4FA235;
}
.tr-page .tr-mv-cand.is-nouvelle.is-on .tr-mv-radio::after {
  background: #4FA235;
}
.tr-page .tr-mv-heure {
  font-size: 15px;
  font-weight: 700;
  min-width: 52px;
}
.tr-page .tr-mv-cand-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tr-page .tr-mv-cand-l1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tr-page .tr-mv-cand-l1 b {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.tr-page .tr-mv-cand-l1 .tr-pill {
  font-size: 10.5px;
  padding: 2px 8px;
}
.tr-page .tr-mv-cand-l1 small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.tr-page .tr-mv-places {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tr-page .tr-mv-place {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px 0 4px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.tr-page .tr-mv-place .tr-mono {
  font-size: 10px;
  opacity: 0.7;
}
.tr-page .tr-mv-place.is-libre {
  padding: 0 10px;
  border-style: dashed;
  color: #B4BCCB;
  font-size: 11px;
  font-weight: 600;
}
.tr-page .tr-mv-place.is-fantome {
  border-color: #6CC04A;
  background: #E7F5E0;
  color: #2E5320;
  font-weight: 800;
}
.tr-page .tr-mv-place.is-fantome .tr-chip-ini {
  background: #6CC04A;
  color: #0E2A12;
}
.tr-page .tr-mv-place.is-fantome i {
  font-size: 10px;
}
.tr-page .tr-mv-refus {
  font-size: 11px;
  font-weight: 700;
  color: #B23A36;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tr-page .tr-mv-refus i {
  font-size: 10px;
}
.tr-page .tr-mv-plus {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E7F5E0;
  color: #4FA235;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.tr-page .tr-mv-avap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.tr-page .tr-mv-av, .tr-page .tr-mv-ap {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
}
.tr-page .tr-mv-av small, .tr-page .tr-mv-ap small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.tr-page .tr-mv-av b, .tr-page .tr-mv-ap b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 6px;
}
.tr-page .tr-mv-av span, .tr-page .tr-mv-ap span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 2px;
  line-height: 1.5;
}
.tr-page .tr-mv-ap {
  border-color: #6CC04A;
  background: #F2FAEF;
}
.tr-page .tr-mv-ap small {
  color: #4FA235;
}
.tr-page .tr-mv-ap span {
  color: #2E5320;
}
.tr-page .tr-mv-fleche {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1D2D5C;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.tr-page .tr-mv-impacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (max-width: 640px) {
  .tr-page .tr-etape-l {
    display: none;
  }
  .tr-page .tr-mv-avap {
    grid-template-columns: minmax(0, 1fr);
  }
  .tr-page .tr-mv-avap .tr-mv-fleche {
    justify-self: center;
    transform: rotate(90deg);
  }
  .tr-page .tr-orph-fab {
    right: 16px;
    bottom: 16px;
    padding: 0 8px;
  }
  .tr-page .tr-orph-fab .t {
    display: none;
  }
}

@keyframes tr-fondu {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes tr-orph-pulse {
  0%, 100% {
    box-shadow: 0 14px 34px rgba(201, 64, 60, 0.35), 0 0 0 0 rgba(201, 64, 60, 0.45);
  }
  50% {
    box-shadow: 0 14px 34px rgba(201, 64, 60, 0.35), 0 0 0 10px rgba(201, 64, 60, 0);
  }
}
body.tr-sans-defile {
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   FICHE — Dossier stagiaire + Réservation groupe
   Scope : .fiche. Réutilise tokens et patterns de _reservations /
   _nestor / _logistique (badges, filter-chip, etc.).
   ═══════════════════════════════════════════════════════════════ */
.fiche {
  font-size: 13px;
  /* ── Retour + breadcrumb ──────────────────────────────────── */
  /* ── Identity strip (Fiche Dossier) ───────────────────────── */
  /* ── Grid sidebar 300px + main ────────────────────────────── */
  /* ── Cards internes (sidebar + main blocks) ───────────────── */
  /* Manager block (sidebar contexte) */
  /* ── Trajet préconisé (sidebar) ───────────────────────────── */
  /* ── Quick actions (sidebar) ──────────────────────────────── */
  /* ── Main card (tabs + panels) ────────────────────────────── */
  /* Section headings dans les panels */
  /* ── Status flow (cycle de vie) ───────────────────────────── */
  /* ── Alertes (inline) ─────────────────────────────────────── */
  /* ── Form grid / fields ───────────────────────────────────── */
  /* ── Commission / détail financier ────────────────────────── */
  /* ── Transport cards (navettes disponibles) ───────────────── */
  /* ── Nuitée cards ─────────────────────────────────────────── */
  /* ── Trajet pair (aller / retour) ─────────────────────────── */
  /* ── PAGE HEADER (Fiche Réservation) ──────────────────────── */
  /* ── KPI row (Fiche Reservation) ──────────────────────────── */
  /* ── Grid main / side (Fiche Reservation) ─────────────────── */
  /* ── Hébergement card (heb-grid) ──────────────────────────── */
  /* Policy timeline annulation */
  /* ── Stagiaires table (Fiche Reservation) ─────────────────── */
  /* ── Transport mini (Fiche Reservation side) ──────────────── */
  /* ── Timeline (historique) ────────────────────────────────── */
  /* ── Badge variantes (Fiche) ──────────────────────────────── */
  /* Charge pill (aligné avec _nestor.scss mais local au scope) */
  /* ═════════════════════════════════════════════════════════════
     PROFIL STAGIAIRE (360°) — spécifiques
     ═════════════════════════════════════════════════════════════ */
  /* ── Hero (avatar + identité + KPIs intégrés) ─────────────── */
  /* Hero KPIs row */
  /* ── Grid profil (main / side 340px) ──────────────────────── */
  /* ── Timeline groupée par jour ────────────────────────────── */
  /* ── Historique formations (cards horizontales) ───────────── */
  /* ── Access card (Mon Séjour) ─────────────────────────────── */
  /* ── Contexte rows (sidebar stagiaire) ────────────────────── */
  /* ── Spécificités ─────────────────────────────────────────── */
  /* ── Import PDF billet SNCF (onglet Trajets) ───────────────── */
  /* ── Modal preview billet ──────────────────────────────────── */
  /* ── Modal preview multi-billets (timeline) ──────────────── */
  /* Indicateur visuel sur les champs pré-remplis depuis le PDF */
  /* ── Empty state trajets (2 CTA : PDF vs manuel) ──────────── */
  /* ── Bandeau chaîne (correspondances) ─────────────────────── */
  /* ── Sections aller / retour avec liste de segments ───────── */
  /* Carte de segment */
  /* ── Détail financier repas (panel Statut) ────────────────── */
  /* ── Récap coût repas compact (panel Repas) ───────────────── */
  /* ── Bandeau "Dossier annulé" en tête de fiche ────────────── */
  /* ── Bannière "Taxi requis" (navette indisponible) ──────────── */
  /* ── Danger zone Super Admin (suppression dossier annulé) ──── */
  /* ── Onglet Navettes : récap compteurs en tête ────────────── */
  /* Ligne prestataire / chauffeur sous le trajet d'une navette */
  /* ── Onglet Repas (liste des dîners par soir) ─────────────── */
  /* ── Bandeau capacité du restaurant sélectionné ──────────── */
  /* ── Gestionnaire en charge (onglet contact) ──────────────── */
  /* ── Suggestion transport (navette / taxi / nuitée) ───────── */
  /* ── Renvoyer email "Mon Séjour" ──────────────────────────── */
  /* ── Récap coûts transport (tarif aller + retour) ─────────── */
}
.fiche .page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neutral-500);
  text-decoration: none;
  margin-bottom: 12px;
  padding-left: 0;
}
.fiche .page-back:hover {
  color: var(--blue-600);
}
.fiche .page-back i {
  font-size: 10px;
}
.fiche .identity {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.fiche .identity-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.fiche .identity-info {
  flex: 1;
  min-width: 0;
}
.fiche .identity-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.3px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.fiche .identity-name .num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-500);
  background: var(--neutral-100);
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.2px;
}
.fiche .identity-meta {
  margin-top: 6px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--neutral-600);
}
.fiche .identity-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fiche .identity-meta i {
  font-size: 11px;
  color: var(--neutral-400);
}
.fiche .identity-meta .nni {
  font-family: var(--font-mono);
  background: var(--neutral-100);
  color: var(--neutral-700);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.fiche .identity-badges {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fiche .identity-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.fiche .fiche-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1200px) {
  .fiche .fiche-grid {
    grid-template-columns: 1fr;
  }
}
.fiche .fiche-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--topbar-h) + 6px);
}
@media (max-width: 1200px) {
  .fiche .fiche-side {
    position: static;
  }
}
.fiche .side-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.fiche .card-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--neutral-50);
}
.fiche .card-head i {
  color: var(--neutral-500);
  font-size: 12px;
}
.fiche .card-head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--neutral-800);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fiche .card-head .head-sub {
  margin-left: auto;
  font-size: 11px;
  color: var(--neutral-500);
  font-weight: 500;
}
.fiche .card-body {
  padding: 14px 16px;
}
.fiche .card-body dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fiche .card-body dl > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fiche .card-body dl > div.row {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}
.fiche .card-body dt {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--neutral-500);
  margin: 0;
}
.fiche .card-body dd {
  margin: 0;
  font-size: 13px;
  color: var(--neutral-800);
  font-weight: 500;
}
.fiche .card-body dd .sub {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
  font-weight: 400;
}
.fiche .card-body dd .sub.mono {
  font-family: var(--font-mono);
}
.fiche .manager {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fiche .manager-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--purple-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.fiche .manager-info {
  flex: 1;
  min-width: 0;
}
.fiche .manager-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-900);
}
.fiche .manager-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.fiche .manager-actions {
  display: flex;
  gap: 4px;
}
.fiche .icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
  transition: all 120ms;
}
.fiche .icon-btn:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-600);
}
.fiche .tp {
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
}
.fiche .tp.is-reco {
  border-color: var(--blue-200);
  background: var(--blue-50);
}
.fiche .tp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.fiche .tp-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.fiche .tp-mode {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
}
.fiche .tp-reco-badge {
  margin-left: auto;
  background: var(--blue-600);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.fiche .tp-route {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neutral-700);
  margin-bottom: 6px;
}
.fiche .tp-route i {
  color: var(--neutral-400);
  font-size: 10px;
}
.fiche .tp-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--neutral-600);
  font-variant-numeric: tabular-nums;
}
.fiche .tp-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fiche .tp-meta i {
  color: var(--neutral-400);
  font-size: 10px;
}
.fiche .tp-warning {
  background: var(--amber-50);
  color: var(--amber-700);
  border-left: 3px solid var(--amber-500);
  padding: 7px 10px;
  font-size: 11px;
  border-radius: 6px;
  margin: 8px 0;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.fiche .tp-warning i {
  margin-top: 2px;
}
.fiche .tp-alt-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  margin: 14px 0 6px;
}
.fiche .quick-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fiche .quick-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  transition: all 120ms;
  width: 100%;
}
.fiche .quick-action i {
  color: var(--neutral-500);
  font-size: 12px;
  width: 16px;
}
.fiche .quick-action .ka {
  margin-left: auto;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  background: var(--neutral-100);
  padding: 1px 6px;
  border-radius: 3px;
}
.fiche .quick-action:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}
.fiche .quick-action:hover i {
  color: var(--blue-600);
}
.fiche .main-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.fiche .tabs {
  display: flex;
  border-bottom: 1px solid var(--neutral-100);
  background: var(--neutral-50);
  padding: 0 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.fiche .tabs::-webkit-scrollbar {
  display: none;
}
.fiche .tab {
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-500);
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 2px solid transparent;
  transition: all 120ms;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
}
.fiche .tab:hover {
  color: var(--neutral-800);
}
.fiche .tab.is-active {
  color: var(--blue-700);
  border-bottom-color: var(--blue-600);
  background: #fff;
}
.fiche .tab i {
  font-size: 11px;
}
.fiche .tab .tab-alert {
  background: var(--red-600);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}
.fiche .tab .tab-badge {
  background: var(--neutral-200);
  color: var(--neutral-700);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
}
.fiche .tab.is-active .tab-badge {
  background: var(--blue-100);
  color: var(--blue-700);
}
.fiche .tab-panels {
  padding: 20px;
}
.fiche .panel {
  display: none;
}
.fiche .panel.is-active {
  display: block;
}
.fiche .section-h {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-700);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fiche .section-h i {
  color: var(--neutral-500);
  font-size: 12px;
}
.fiche .section-h .count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--neutral-500);
  text-transform: none;
  letter-spacing: 0;
}
.fiche .status-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  position: relative;
}
@media (max-width: 900px) {
  .fiche .status-flow {
    grid-template-columns: 1fr 1fr;
  }
}
.fiche .status-step {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 10px 12px;
  position: relative;
}
.fiche .status-step.is-done {
  background: var(--green-50);
  border-color: var(--green-200);
}
.fiche .status-step.is-active {
  background: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.fiche .status-step.is-pending {
  background: #fff;
  border-color: var(--neutral-200);
  opacity: 0.75;
}
.fiche .status-step-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--neutral-500);
}
.fiche .status-step-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.fiche .status-step-value i {
  color: var(--green-600);
  font-size: 11px;
}
.fiche .status-step.is-active .status-step-value i {
  color: var(--blue-600);
}
.fiche .status-step-date {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.fiche .alert {
  display: flex;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  margin-bottom: 14px;
  border-left: 3px solid transparent;
}
.fiche .alert i {
  margin-top: 2px;
  font-size: 13px;
  flex-shrink: 0;
}
.fiche .alert strong {
  font-weight: 700;
}
.fiche .alert.alert-info {
  background: var(--blue-50);
  color: var(--blue-700);
  border-left-color: var(--blue-600);
}
.fiche .alert.alert-warning {
  background: var(--amber-50);
  color: var(--amber-700);
  border-left-color: var(--amber-500);
}
.fiche .alert.alert-danger {
  background: var(--red-50);
  color: var(--red-700);
  border-left-color: var(--red-600);
}
.fiche .alert.alert-success {
  background: var(--green-50);
  color: var(--green-700);
  border-left-color: var(--green-600);
}
.fiche .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
@media (max-width: 700px) {
  .fiche .form-grid {
    grid-template-columns: 1fr;
  }
}
.fiche .form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fiche .form-field.full {
  grid-column: 1/-1;
}
.fiche .form-field label.form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-700);
}
.fiche .form-field .form-control {
  padding: 7px 10px;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--neutral-900);
  background: #fff;
  transition: all 120ms;
}
.fiche .form-field .form-control:focus {
  outline: none;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.fiche .form-field .form-control:disabled {
  background: var(--neutral-50);
  color: var(--neutral-500);
  cursor: not-allowed;
}
.fiche .form-field .form-control.mono {
  font-family: var(--font-mono);
}
.fiche .form-field textarea.form-control {
  resize: vertical;
  min-height: 68px;
}
.fiche .form-field .form-hint {
  font-size: 10.5px;
  color: var(--neutral-500);
  font-style: italic;
}
.fiche .form-toggle {
  display: flex;
  gap: 4px;
}
.fiche .form-toggle label {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  font-size: 12px;
  transition: all 120ms;
}
.fiche .form-toggle label input {
  display: none;
}
.fiche .form-toggle label span {
  font-weight: 500;
  color: var(--neutral-700);
}
.fiche .form-toggle label:has(input:checked) {
  border-color: var(--blue-600);
  background: var(--blue-50);
}
.fiche .form-toggle label:has(input:checked) span {
  color: var(--blue-700);
  font-weight: 600;
}
.fiche .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--neutral-100);
}
.fiche .btn-link {
  background: none;
  border: none;
  color: var(--blue-700);
  text-decoration: underline;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.fiche .commission {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12.5px;
}
.fiche .commission .commission-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  color: var(--neutral-700);
  font-variant-numeric: tabular-nums;
}
.fiche .commission .commission-row .highlight {
  color: var(--green-700);
  font-weight: 600;
}
.fiche .commission .commission-row.total {
  border-top: 1px solid var(--neutral-200);
  margin-top: 6px;
  padding-top: 8px;
  font-weight: 700;
  color: var(--neutral-900);
}
.fiche .transport-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fiche .transport-card {
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 10px 14px;
  background: #fff;
  transition: all 120ms;
}
.fiche .transport-card:hover {
  border-color: var(--neutral-300);
}
.fiche .transport-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.fiche .transport-sens {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 7px;
  border-radius: 4px;
}
.fiche .transport-sens.aller {
  background: var(--blue-50);
  color: var(--blue-700);
}
.fiche .transport-sens.retour {
  background: var(--amber-50);
  color: var(--amber-700);
}
.fiche .transport-time {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  font-variant-numeric: tabular-nums;
}
.fiche .transport-date {
  font-size: 11.5px;
  color: var(--neutral-500);
}
.fiche .transport-places {
  margin-left: auto;
  font-size: 11px;
  color: var(--green-700);
  font-weight: 600;
}
.fiche .transport-places.low {
  color: var(--amber-700);
}
.fiche .transport-route {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neutral-700);
  margin-bottom: 8px;
}
.fiche .transport-route i {
  color: var(--neutral-400);
  font-size: 10px;
}
.fiche .transport-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--neutral-200);
  flex-wrap: wrap;
}
.fiche .transport-footer .info {
  font-size: 11px;
  color: var(--neutral-500);
}
.fiche .nuitee-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  background: #fff;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.fiche .nuitee-card strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.fiche .nuitee-card .sub {
  color: var(--neutral-600);
}
.fiche .nuitee-card .actions {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.fiche .nuitee-card.confirme {
  background: var(--green-50);
  border-color: var(--green-200);
}
.fiche .nuitee-card.suggere {
  background: var(--amber-50);
  border-color: var(--amber-200);
}
.fiche .trajet-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .fiche .trajet-pair {
    grid-template-columns: 1fr;
  }
}
.fiche .trajet-col {
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 14px;
  background: var(--neutral-50);
}
.fiche .trajet-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--neutral-700);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .trajet-col h4 i {
  color: var(--blue-600);
}
.fiche .page-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.fiche .page-header-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--purple-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.fiche .page-header-info {
  flex: 1;
  min-width: 0;
}
.fiche .page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.fiche .page-title .num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-500);
  background: var(--neutral-100);
  padding: 3px 9px;
  border-radius: 5px;
}
.fiche .page-sub {
  margin-top: 4px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--neutral-500);
}
.fiche .page-sub i {
  font-size: 10px;
  margin-right: 4px;
}
.fiche .page-header-badges {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fiche .page-header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.fiche .kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 1200px) {
  .fiche .kpi-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .fiche .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.fiche .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fiche .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .kpi .kpi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.fiche .kpi .kpi-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.fiche .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.fiche .fiche-reserv-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1200px) {
  .fiche .fiche-reserv-grid {
    grid-template-columns: 1fr;
  }
}
.fiche .fiche-reserv-main > section + section {
  margin-top: 18px;
}
.fiche .heb-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
@media (max-width: 900px) {
  .fiche .heb-grid {
    grid-template-columns: 1fr;
  }
}
.fiche .heb-hotel {
  display: flex;
  gap: 14px;
}
.fiche .heb-hotel-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.fiche .heb-hotel-info {
  min-width: 0;
}
.fiche .heb-hotel-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
}
.fiche .heb-hotel-addr {
  font-size: 12px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.fiche .heb-hotel-meta {
  margin-top: 6px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--neutral-600);
}
.fiche .heb-hotel-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fiche .heb-hotel-meta i {
  color: var(--amber-500);
  font-size: 10px;
}
.fiche .heb-dates {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fiche .heb-date-col {
  text-align: center;
}
.fiche .heb-date-col .label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--neutral-500);
  margin-bottom: 2px;
}
.fiche .heb-date-col .day {
  font-size: 28px;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fiche .heb-date-col .month {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.fiche .heb-date-col .time {
  font-size: 11px;
  color: var(--neutral-700);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.fiche .heb-date-nights .pill {
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.fiche .policy {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 10px;
  color: var(--amber-800);
}
.fiche .policy i {
  color: var(--amber-500);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.fiche .policy-title {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--amber-800);
}
.fiche .policy-body {
  font-size: 12px;
  color: var(--amber-700);
  margin-top: 2px;
}
.fiche .policy-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}
.fiche .policy-step {
  background: #fff;
  border: 1px solid var(--amber-200);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--neutral-700);
  opacity: 0.7;
}
.fiche .policy-step .range {
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--amber-700);
}
.fiche .policy-step .fee {
  font-weight: 700;
  color: var(--neutral-900);
  margin-top: 2px;
}
.fiche .policy-step.is-current {
  opacity: 1;
  background: var(--amber-100);
  border-color: var(--amber-500);
  border-width: 2px;
  padding: 5px 9px;
}
.fiche table.stagiaires {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.fiche table.stagiaires thead th {
  text-align: left;
  padding: 8px 12px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  background: var(--neutral-50);
  border-bottom: 1px solid var(--card-border);
}
.fiche table.stagiaires tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-700);
  vertical-align: middle;
}
.fiche table.stagiaires tbody tr {
  transition: background 100ms;
}
.fiche table.stagiaires tbody tr:hover td {
  background: #FAFBFC;
}
.fiche .person-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
}
.fiche .person-cell .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fiche .person-info .person-name {
  font-weight: 600;
  color: var(--neutral-900);
}
.fiche .person-info .person-sub {
  font-size: 11px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
}
.fiche .dr-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 4px;
  letter-spacing: 0.3px;
}
.fiche .icon-btns {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}
.fiche .transport-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  background: #fff;
}
.fiche .transport-mini > i:first-child {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.fiche .transport-mini > div {
  flex: 1;
  min-width: 0;
}
.fiche .transport-mini .ti {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-900);
}
.fiche .transport-mini .tt {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.fiche .transport-mini .tr {
  font-size: 11px;
  font-weight: 700;
  color: var(--neutral-700);
  background: var(--neutral-100);
  padding: 3px 8px;
  border-radius: 4px;
  font-variant-numeric: tabular-nums;
}
.fiche .timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.fiche .timeline-item {
  display: flex;
  gap: 10px;
  position: relative;
}
.fiche .timeline-item::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: -18px;
  width: 2px;
  background: var(--neutral-200);
}
.fiche .timeline-item:last-child::before {
  display: none;
}
.fiche .timeline-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.fiche .timeline-dot.blue {
  background: var(--blue-50);
  color: var(--blue-600);
}
.fiche .timeline-dot.green {
  background: var(--green-50);
  color: var(--green-700);
}
.fiche .timeline-dot.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.fiche .timeline-dot.red {
  background: var(--red-50);
  color: var(--red-600);
}
.fiche .timeline-dot.purple {
  background: var(--purple-50);
  color: var(--purple-600);
}
.fiche .timeline-dot.neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.fiche .timeline-content {
  flex: 1;
  min-width: 0;
  padding-top: 3px;
}
.fiche .timeline-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-900);
}
.fiche .timeline-sub {
  font-size: 11.5px;
  color: var(--neutral-600);
  margin-top: 2px;
  line-height: 1.4;
}
.fiche .timeline-date {
  font-size: 10.5px;
  color: var(--neutral-500);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.fiche .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.fiche .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.fiche .badge.no-dot::before {
  display: none;
}
.fiche .badge.b-blue {
  background: var(--blue-50);
  color: var(--blue-700);
}
.fiche .badge.b-green {
  background: var(--green-50);
  color: var(--green-700);
}
.fiche .badge.b-amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.fiche .badge.b-red {
  background: var(--red-50);
  color: var(--red-700);
}
.fiche .badge.b-purple {
  background: var(--purple-50);
  color: var(--purple-700);
}
.fiche .badge.b-neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.fiche .charge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.fiche .charge-pill.c-totale {
  background: var(--green-50);
  color: var(--green-700);
}
.fiche .charge-pill.c-encours {
  background: var(--amber-50);
  color: var(--amber-700);
}
.fiche .charge-pill.c-horsscope {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.fiche .charge-pill.c-na {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.fiche .text-mono {
  font-family: var(--font-mono);
}
.fiche .hero {
  background: linear-gradient(135deg, #fff 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.fiche .hero-main {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}
.fiche .hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.fiche .hero-info {
  flex: 1;
  min-width: 0;
}
.fiche .hero-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  letter-spacing: -0.4px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.fiche .hero-name .nni-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid var(--blue-100);
  padding: 3px 9px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}
.fiche .hero-meta {
  margin-top: 8px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--neutral-600);
}
.fiche .hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fiche .hero-meta i {
  font-size: 11px;
  color: var(--neutral-400);
}
.fiche .hero-meta a {
  color: var(--neutral-600);
  text-decoration: none;
}
.fiche .hero-meta a:hover {
  color: var(--blue-600);
}
.fiche .hero-badges {
  margin-top: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fiche .hero-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.fiche .hero .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 1100px) {
  .fiche .hero .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.fiche .hero .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.fiche .kpi-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.fiche .kpi-icon.blue {
  background: var(--blue-50);
  color: var(--blue-600);
}
.fiche .kpi-icon.purple {
  background: var(--purple-50);
  color: var(--purple-600);
}
.fiche .kpi-icon.green {
  background: var(--green-50);
  color: var(--green-700);
}
.fiche .kpi-icon.teal {
  background: #CCFBF1;
  color: #0F766E;
}
.fiche .kpi-icon.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.fiche .kpi-info {
  min-width: 0;
  flex: 1;
}
.fiche .hero .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
}
.fiche .hero .kpi .kpi-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.3px;
  line-height: 1.1;
  margin-top: 2px;
}
.fiche .hero .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.fiche .profil-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1200px) {
  .fiche .profil-grid {
    grid-template-columns: 1fr;
  }
}
.fiche .profil-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.fiche .profil-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--topbar-h) + 6px);
}
@media (max-width: 1200px) {
  .fiche .profil-side {
    position: static;
  }
}
.fiche .tl {
  position: relative;
  padding-left: 8px;
}
.fiche .tl-day {
  position: relative;
  padding: 14px 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fiche .tl-day:first-child {
  padding-top: 0;
}
.fiche .tl-day .tl-day-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  background: #fff;
  padding-right: 10px;
}
.fiche .tl-day::after {
  content: "";
  flex: 1;
  border-top: 1px dashed var(--neutral-200);
}
.fiche .tl-event {
  display: flex;
  gap: 12px;
  padding: 6px 0;
  position: relative;
}
.fiche .tl-event::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -8px;
  width: 2px;
  background: var(--neutral-200);
}
.fiche .tl-event:last-child::before {
  display: none;
}
.fiche .tl-event:has(+ .tl-day)::before {
  display: none;
}
.fiche .tl-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: var(--blue-50);
  color: var(--blue-600);
}
.fiche .tl-dot.green {
  background: var(--green-50);
  color: var(--green-700);
}
.fiche .tl-dot.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.fiche .tl-dot.red {
  background: var(--red-50);
  color: var(--red-600);
}
.fiche .tl-dot.purple {
  background: var(--purple-50);
  color: var(--purple-600);
}
.fiche .tl-dot.neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.fiche .tl-content {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}
.fiche .tl-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.fiche .tl-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
}
.fiche .tl-date {
  font-size: 11px;
  color: var(--neutral-500);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fiche .tl-detail {
  font-size: 12px;
  color: var(--neutral-600);
  margin-top: 3px;
  line-height: 1.5;
}
.fiche .tl-detail .mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  background: var(--neutral-100);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--neutral-700);
}
.fiche .hist-grid {
  display: grid;
  gap: 10px;
}
.fiche .hist-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: all 150ms;
}
.fiche .hist-card:hover {
  border-color: var(--blue-200);
  transform: translateX(2px);
  box-shadow: var(--shadow-sm);
}
.fiche .hist-card.current {
  border-color: var(--blue-600);
  background: linear-gradient(90deg, var(--blue-50) 0%, #fff 40%);
}
.fiche .hist-status {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.fiche .hist-status.active {
  background: var(--blue-100);
  color: var(--blue-700);
  animation: hist-pulse 2s ease-in-out 3;
}
.fiche .hist-status.done {
  background: var(--green-100);
  color: var(--green-700);
}
.fiche .hist-status.cancel {
  background: var(--red-100);
  color: var(--red-700);
}
@keyframes hist-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
  }
}
.fiche .hist-info {
  flex: 1;
  min-width: 0;
}
.fiche .hist-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
}
.fiche .hist-meta {
  margin-top: 4px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--neutral-500);
}
.fiche .hist-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fiche .hist-meta i {
  font-size: 10px;
  color: var(--neutral-400);
}
.fiche .hist-meta .code {
  font-family: var(--font-mono);
  background: var(--neutral-100);
  padding: 1px 7px;
  border-radius: 4px;
  color: var(--neutral-700);
}
.fiche .hist-badges {
  margin-top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fiche .hist-arrow {
  color: var(--neutral-300);
  font-size: 12px;
  flex-shrink: 0;
  transition: color 120ms;
}
.fiche .hist-card:hover .hist-arrow {
  color: var(--blue-600);
}
.fiche .access-card {
  background: linear-gradient(135deg, var(--purple-600), var(--blue-600));
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(147, 51, 234, 0.15);
}
.fiche .access-head {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.fiche .access-head i {
  font-size: 13px;
}
.fiche .access-head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fiche .access-head .pill {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.fiche .access-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fiche .access-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fiche .access-stat-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}
.fiche .access-stat-value {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.fiche .access-stat-value .sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}
.fiche .access-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  background: #fff;
  color: var(--purple-700);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 120ms;
  margin-top: 4px;
}
.fiche .access-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.fiche .ctx-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.fiche .ctx-row:last-child {
  border-bottom: none;
}
.fiche .ctx-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.fiche .ctx-content {
  flex: 1;
  min-width: 0;
}
.fiche .ctx-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--neutral-500);
}
.fiche .ctx-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-top: 2px;
  word-break: break-word;
}
.fiche .ctx-value a {
  color: var(--blue-600);
  text-decoration: none;
}
.fiche .ctx-value a:hover {
  text-decoration: underline;
}
.fiche .ctx-sub {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 1px;
}
.fiche .spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.fiche .spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid;
}
.fiche .spec-item.positive {
  background: var(--green-50);
  border-color: var(--green-200);
}
.fiche .spec-item.warning {
  background: var(--amber-50);
  border-color: var(--amber-200);
}
.fiche .spec-item.negative {
  background: var(--red-50);
  border-color: var(--red-200);
}
.fiche .spec-item.neutral {
  background: var(--neutral-50);
  border-color: var(--neutral-200);
}
.fiche .spec-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.spec-item.positive .fiche .spec-icon {
  color: var(--green-700);
}
.spec-item.warning .fiche .spec-icon {
  color: var(--amber-700);
}
.spec-item.negative .fiche .spec-icon {
  color: var(--red-600);
}
.spec-item.neutral .fiche .spec-icon {
  color: var(--neutral-600);
}
.fiche .spec-content .spec-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--neutral-600);
}
.fiche .spec-content .spec-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-top: 1px;
}
.fiche .cas-particulier {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 8px;
  color: var(--amber-800);
}
.fiche .cas-particulier i {
  color: var(--amber-600);
  margin-top: 3px;
  flex-shrink: 0;
}
.fiche .cas-particulier strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--amber-800);
}
.fiche .cas-particulier p {
  font-size: 11.5px;
  line-height: 1.5;
  margin: 0;
  color: var(--amber-700);
}
.fiche .billet-import {
  margin-bottom: 18px;
}
.fiche .billet-drop {
  border: 2px dashed var(--blue-200);
  background: linear-gradient(135deg, var(--blue-50), #EEF2FF);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.fiche .billet-drop:hover, .fiche .billet-drop.is-drag {
  border-color: var(--blue-600);
  background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
  transform: translateY(-1px);
}
.fiche .billet-drop .billet-drop-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.fiche .billet-drop .billet-drop-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fiche .billet-drop .billet-drop-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-900);
}
.fiche .billet-drop .billet-drop-text span {
  font-size: 12px;
  color: var(--neutral-500);
}
.fiche .billet-drop .billet-drop-cta {
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--blue-200);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
  white-space: nowrap;
}
.fiche .billet-drop .billet-drop-cta i {
  margin-right: 5px;
}
.fiche .billet-status {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fiche .billet-status.is-loading {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-200);
}
.fiche .billet-status.is-success {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}
.fiche .billet-status.is-error {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid var(--red-200);
}
.fiche .billet-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fiche .billet-modal-backdrop {
  animation: fade var(--dur-base) var(--ease-out) both;
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(3px);
}
.fiche .billet-modal-box {
  animation: rise var(--dur-base) var(--ease-out) both;
  position: relative;
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.4);
}
.fiche .billet-modal-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, var(--blue-50), #EEF2FF);
}
.fiche .billet-modal-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
}
.fiche .billet-modal-head h3 i {
  color: var(--blue-600);
  margin-right: 6px;
}
.fiche .billet-modal-head span {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fiche .billet-modal-close {
  border: none;
  background: none;
  font-size: 22px;
  line-height: 1;
  color: var(--neutral-500);
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.fiche .billet-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--neutral-900);
}
.fiche .billet-modal-body {
  padding: 18px 22px;
  overflow-y: auto;
  flex: 1;
}
.fiche .billet-modal-foot {
  padding: 12px 22px;
  border-top: 1px solid var(--neutral-100);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: var(--neutral-50);
}
.fiche .bp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.fiche .bp-meta span {
  background: var(--neutral-100);
  color: var(--neutral-800);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.fiche .bp-meta span em {
  font-style: normal;
  color: var(--neutral-500);
  font-weight: 500;
  margin-right: 5px;
  font-family: var(--font-family);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.4px;
}
.fiche .bp-errors {
  background: var(--red-50);
  border: 1px solid var(--red-200);
  color: var(--red-700);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  margin-bottom: 12px;
}
.fiche .bp-errors strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red-700);
  margin-bottom: 4px;
}
.fiche .bp-errors ul {
  margin: 0;
  padding-left: 20px;
}
.fiche .bp-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.fiche .bp-billet-row {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.fiche .bp-billet-row:hover {
  border-color: var(--blue-200);
}
.fiche .bp-billet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.fiche .bp-billet-info {
  flex: 1;
  min-width: 200px;
}
.fiche .bp-billet-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.fiche .bp-billet-title i {
  color: var(--blue-600);
  font-size: 12px;
}
.fiche .bp-billet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  color: var(--neutral-500);
}
.fiche .bp-billet-meta .bp-file {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--neutral-600);
  background: var(--neutral-100);
  padding: 2px 7px;
  border-radius: 5px;
}
.fiche .bp-billet-meta .bp-file i {
  color: var(--red-600);
}
.fiche .bp-billet-meta .mono {
  font-family: var(--font-mono);
  font-size: 11px;
}
.fiche .bp-billet-action {
  flex-shrink: 0;
}
.fiche .bp-radios {
  display: flex;
  gap: 6px;
}
.fiche .bp-radios label {
  cursor: pointer;
}
.fiche .bp-radios label input {
  display: none;
}
.fiche .bp-radios label span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-600);
  background: var(--neutral-50);
  transition: all 0.12s ease;
}
.fiche .bp-radios label span i {
  font-size: 10px;
}
.fiche .bp-radios label input:checked + span {
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  border-color: var(--blue-600);
  color: #fff;
}
.fiche .bp-radios label input:checked + span i {
  color: #fff;
}
.fiche .bp-badge-both {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: linear-gradient(135deg, var(--green-50), var(--blue-50));
  border: 1px solid var(--green-200);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-700);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.fiche .bp-badge-both i {
  color: var(--green-600);
}
.fiche .bp-detection {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--neutral-200);
  font-size: 11px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .bp-detection i {
  color: var(--blue-600);
}
.fiche .bp-summary {
  background: var(--neutral-50);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
}
.fiche .bp-summary-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.fiche .bp-summary-stats .bp-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--neutral-700);
}
.fiche .bp-summary-stats .bp-stat i {
  color: var(--blue-600);
  font-size: 13px;
}
.fiche .bp-summary-stats .bp-stat strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  font-variant-numeric: tabular-nums;
}
.fiche .bp-summary-stats .bp-stat.muted {
  color: var(--neutral-500);
}
.fiche .bp-summary-stats .bp-stat.muted i {
  color: var(--neutral-400);
}
.fiche .bp-summary-stats .bp-stat.muted strong {
  color: var(--neutral-600);
}
.fiche .bp-warnings {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--amber-200);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fiche .bp-warnings > div {
  font-size: 11.5px;
  color: var(--amber-800);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .bp-warnings > div i {
  color: var(--amber-700);
}
.fiche .bp-sens-choice {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.fiche .bp-sens-choice .bp-sens-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-700);
  margin-bottom: 8px;
}
.fiche .bp-sens-choice .bp-sens-options {
  display: flex;
  gap: 8px;
}
.fiche .bp-sens-choice .bp-sens-radio {
  flex: 1;
  cursor: pointer;
}
.fiche .bp-sens-choice .bp-sens-radio input {
  display: none;
}
.fiche .bp-sens-choice .bp-sens-radio span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--blue-200);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-600);
  background: #fff;
  transition: all 0.15s ease;
}
.fiche .bp-sens-choice .bp-sens-radio span i {
  color: var(--blue-600);
}
.fiche .bp-sens-choice .bp-sens-radio input:checked + span {
  border-color: var(--blue-600);
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  color: #fff;
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.4);
}
.fiche .bp-sens-choice .bp-sens-radio input:checked + span i {
  color: #fff;
}
.fiche .bp-sens-choice .bp-sens-hint {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--blue-700);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .bp-sens-choice .bp-sens-hint i {
  color: var(--blue-600);
}
.fiche .bp-sens-choice .bp-sens-hint strong {
  font-weight: 600;
}
.fiche .bp-sens-choice.bp-sens-both {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green-50), var(--blue-50));
  border-color: var(--green-200);
}
.fiche .bp-sens-choice.bp-sens-both i {
  color: var(--green-700);
  font-size: 16px;
}
.fiche .bp-sens-choice.bp-sens-both span {
  font-size: 12.5px;
  color: var(--green-800);
}
.fiche .bp-sens-choice.bp-sens-both strong {
  color: var(--green-700);
}
.fiche .bp-legs-single {
  grid-template-columns: 1fr !important;
}
.fiche .bp-warn {
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  color: var(--amber-800);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fiche .bp-warn i {
  color: var(--amber-700);
}
.fiche .bp-legs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 700px) {
  .fiche .bp-legs {
    grid-template-columns: 1fr;
  }
}
.fiche .bp-leg {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
}
.fiche .bp-leg h4 {
  margin: 0 0 8px 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--blue-700);
}
.fiche .bp-leg table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.fiche .bp-leg table td {
  padding: 4px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.fiche .bp-leg table td:first-child {
  color: var(--neutral-500);
  font-size: 11px;
  padding-right: 10px;
  width: 45%;
}
.fiche .bp-leg table td:last-child {
  color: var(--neutral-900);
}
.fiche .bp-leg table tr:last-child td {
  border-bottom: none;
}
.fiche .bp-leg.bp-leg-empty {
  background: var(--neutral-50);
  border-style: dashed;
}
.fiche .bp-leg.bp-leg-empty h4 {
  color: var(--text-tertiary);
}
.fiche .bp-leg.bp-leg-empty p {
  margin: 0;
  font-size: 12px;
  color: var(--neutral-500);
}
.fiche .form-control.is-prefilled {
  background: linear-gradient(135deg, var(--green-50), #fff);
  border-color: var(--green-200) !important;
}
.fiche .trajet-empty {
  background: linear-gradient(135deg, var(--blue-50), #EEF2FF);
  border: 1px solid var(--blue-200);
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 18px;
}
.fiche .trajet-empty .te-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.fiche .trajet-empty .te-header .te-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.fiche .trajet-empty .te-header h3 {
  margin: 0 0 3px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
}
.fiche .trajet-empty .te-header p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-600);
}
.fiche .trajet-empty .te-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 700px) {
  .fiche .trajet-empty .te-choices {
    grid-template-columns: 1fr;
  }
}
.fiche .trajet-empty .te-choice {
  position: relative;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: var(--font-family);
}
.fiche .trajet-empty .te-choice:hover {
  border-color: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.2);
}
.fiche .trajet-empty .te-choice .te-choice-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.fiche .trajet-empty .te-choice .te-choice-body {
  flex: 1;
  min-width: 0;
}
.fiche .trajet-empty .te-choice .te-choice-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 2px;
}
.fiche .trajet-empty .te-choice .te-choice-sub {
  font-size: 12px;
  color: var(--neutral-500);
}
.fiche .trajet-empty .te-choice .te-choice-badge {
  position: absolute;
  top: -7px;
  right: 12px;
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 2px 8px;
  border-radius: 999px;
}
.fiche .trajet-empty .te-choice.te-choice-pdf .te-choice-icon {
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  color: #fff;
}
.fiche .trajet-empty .te-choice.te-choice-manual .te-choice-icon {
  background: var(--neutral-100);
  color: var(--neutral-700);
}
.fiche .trajet-chain {
  background: linear-gradient(135deg, var(--purple-50), #FAF5FF);
  border: 1px solid var(--purple-200);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
}
.fiche .trajet-chain .chain-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--purple-700);
  display: flex;
  align-items: center;
  gap: 5px;
}
.fiche .trajet-chain .chain-label i {
  font-size: 10px;
}
.fiche .trajet-chain .chain-path {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.fiche .trajet-chain .chain-station {
  font-weight: 700;
  color: var(--neutral-900);
  background: #fff;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid var(--purple-200);
}
.fiche .trajet-chain .chain-station.chain-end {
  background: var(--green-50);
  border-color: var(--green-200);
  color: var(--green-700);
}
.fiche .trajet-chain .chain-arrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: var(--purple-600);
}
.fiche .trajet-chain .chain-arrow small {
  font-size: 9px;
  font-weight: 600;
  color: var(--purple-700);
  font-family: var(--font-mono);
}
.fiche .trajet-chain .chain-count {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--purple-700);
  background: rgba(147, 51, 234, 0.1);
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: auto;
}
.fiche .trajet-sens {
  margin-bottom: 18px;
}
.fiche .trajet-sens .trajet-sens-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.fiche .trajet-sens .trajet-sens-head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-800);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.fiche .trajet-sens .trajet-sens-head h4 i {
  color: var(--blue-600);
  margin-right: 4px;
}
.fiche .trajet-segments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fiche .trajet-segment {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
  position: relative;
}
.fiche .trajet-segment .trajet-segment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--neutral-200);
}
.fiche .trajet-segment .trajet-segment-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fiche .trajet-segment .trajet-segment-label i {
  font-size: 10px;
}
.fiche .trajet-segment .trajet-segment-remove {
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.15s ease;
}
.fiche .trajet-segment .trajet-segment-remove:hover {
  background: var(--red-50);
  color: var(--red-600);
}
.fiche .repas-commission .commission-subtitle {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  margin: 10px 0 4px;
  padding-top: 8px;
  border-top: 1px dashed var(--neutral-200);
}
.fiche .repas-commission .commission-warn {
  font-size: 11.5px;
  color: var(--amber-800);
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  padding: 7px 10px;
  border-radius: 6px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .repas-commission .commission-warn i {
  color: var(--amber-700);
}
.fiche .commission-grand-total {
  margin-top: 14px;
  background: linear-gradient(135deg, var(--blue-50), #EEF2FF);
  border: 1px solid var(--blue-200);
  padding: 12px 16px;
  border-radius: 10px;
}
.fiche .commission-grand-total .commission-row.total {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
}
.fiche .commission-grand-total .commission-row.total i {
  margin-right: 6px;
}
.fiche .commission-grand-total .commission-row.total > span:last-child {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.fiche .repas-cost-summary {
  margin-top: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--orange-50), #FFF7ED);
  border: 1px solid #FED7AA;
  border-radius: 10px;
  max-width: 380px;
  margin-left: auto;
}
.fiche .repas-cost-summary .rcs-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--orange-600);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .repas-cost-summary .rcs-title i {
  color: var(--orange-600);
}
.fiche .repas-cost-summary .rcs-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--neutral-700);
}
.fiche .repas-cost-summary .rcs-row.rcs-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed #FED7AA;
  font-weight: 700;
  color: var(--orange-600);
}
.fiche .repas-cost-summary .rcs-row.rcs-total strong {
  font-size: 16px;
  font-family: var(--font-mono);
  color: var(--orange-600);
  font-variant-numeric: tabular-nums;
}
.fiche .repas-cost-summary .rcs-warn {
  margin-top: 8px;
  font-size: 11px;
  color: var(--amber-800);
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .repas-cost-summary .rcs-warn i {
  color: var(--amber-700);
}
.fiche .dossier-cancelled-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--red-50), #FEF2F2);
  border: 1px solid var(--red-200);
  border-left: 4px solid var(--red-600);
  border-radius: 10px;
}
.fiche .dossier-cancelled-banner .dcb-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--red-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.fiche .dossier-cancelled-banner .dcb-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fiche .dossier-cancelled-banner .dcb-body strong {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red-700);
}
.fiche .dossier-cancelled-banner .dcb-body span {
  font-size: 12.5px;
  color: var(--red-800);
}
.fiche .dossier-taxi-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #FEF3C7, #FFFBEB);
  border: 1px solid #FCD34D;
  border-left: 4px solid #F59E0B;
  border-radius: 10px;
}
.fiche .dossier-taxi-banner .dtb-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #F59E0B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.fiche .dossier-taxi-banner .dtb-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fiche .dossier-taxi-banner .dtb-body strong {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #92400E;
}
.fiche .dossier-taxi-banner .dtb-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fiche .dossier-taxi-banner .dtb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #FCD34D;
  border-radius: 8px;
  font-size: 12.5px;
  color: #78350F;
}
.fiche .dossier-taxi-banner .dtb-tag {
  display: inline-block;
  padding: 3px 10px;
  background: #F59E0B;
  color: #fff;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-width: 56px;
  text-align: center;
}
.fiche .dossier-taxi-banner .dtb-reason {
  flex: 1;
  min-width: 200px;
}
.fiche .dossier-taxi-banner .dtb-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  color: #6B7280;
}
.fiche .dossier-taxi-banner .dtb-row-actions {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.fiche .dossier-taxi-banner .dtb-history {
  margin-top: 4px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px dashed #FCD34D;
  border-radius: 6px;
}
.fiche .dossier-taxi-banner .dtb-history-title {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #92400E;
  margin-bottom: 4px;
}
.fiche .dossier-taxi-banner .dtb-history-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #78350F;
  padding: 2px 0;
}
.fiche .dossier-taxi-banner .dtb-history-society {
  font-weight: 600;
}
.fiche .dossier-taxi-banner .dtb-history-motif {
  color: #92400E;
  font-style: italic;
}
.fiche .dossier-taxi-banner .dtb-history-date {
  color: var(--text-tertiary);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.fiche .dossier-danger-zone {
  margin-top: 18px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--red-50), #FEF2F2);
  border: 2px solid var(--red-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.fiche .dossier-danger-zone .ddz-content {
  flex: 1;
  min-width: 260px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fiche .dossier-danger-zone .ddz-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--red-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 10px -2px rgba(220, 38, 38, 0.35);
}
.fiche .dossier-danger-zone .ddz-body h4 {
  margin: 0 0 4px 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--red-700);
}
.fiche .dossier-danger-zone .ddz-body p {
  margin: 0;
  font-size: 12px;
  color: var(--red-800);
  line-height: 1.5;
}
.fiche .dossier-danger-zone .ddz-body p strong {
  color: var(--red-700);
  font-weight: 700;
}
.fiche .dossier-danger-zone .btn-danger-hard {
  background: var(--red-600);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.15s ease;
  font-family: var(--font-family);
}
.fiche .dossier-danger-zone .btn-danger-hard:hover {
  background: var(--red-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(220, 38, 38, 0.4);
}
.fiche .dossier-danger-zone .btn-danger-hard:active {
  transform: translateY(0);
}
.fiche .navettes-recap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0 18px;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--amber-50), #FFFBEB);
  border: 1px solid var(--amber-200);
  border-radius: 10px;
}
.fiche .navettes-recap .nav-stat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--amber-800);
}
.fiche .navettes-recap .nav-stat i {
  font-size: 11px;
  color: var(--amber-700);
}
.fiche .navettes-recap .nav-stat strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  font-variant-numeric: tabular-nums;
}
.fiche .navettes-recap .nav-stat span {
  color: var(--neutral-600);
}
.fiche .navettes-recap .nav-stat.affected {
  color: var(--green-700);
}
.fiche .navettes-recap .nav-stat.affected i {
  color: var(--green-600);
}
.fiche .navettes-recap .nav-stat.affected strong {
  color: var(--green-700);
}
.fiche .transport-extras {
  padding: 6px 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: var(--neutral-600);
}
.fiche .transport-extras span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fiche .transport-extras i {
  color: var(--blue-600);
  font-size: 10px;
}
.fiche .repas-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fiche .repas-row {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}
.fiche .repas-row:hover {
  border-color: var(--orange-600);
}
.fiche .repas-row.has-choice {
  border-left: 3px solid var(--orange-600);
}
.fiche .repas-row.pending {
  border-left: 3px solid var(--amber-400);
  background: var(--amber-50);
}
.fiche .repas-date {
  flex-shrink: 0;
  text-align: center;
  width: 70px;
  padding: 6px 0;
  background: linear-gradient(135deg, var(--orange-50), #FFF7ED);
  border-radius: 9px;
}
.fiche .repas-date .repas-day-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--orange-600);
  line-height: 1;
}
.fiche .repas-date .repas-day-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange-600);
  margin-top: 3px;
}
.fiche .repas-date .repas-day-month {
  font-size: 10px;
  color: var(--neutral-500);
  text-transform: capitalize;
}
.fiche .repas-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fiche .repas-body .form-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  margin-bottom: 3px;
}
.fiche .repas-body .form-label-sm {
  font-size: 10px;
  font-weight: 600;
  color: var(--neutral-500);
  margin-bottom: 3px;
  display: block;
}
.fiche .repas-body .form-control {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--card-border);
  border-radius: 7px;
  font-size: 12.5px;
  font-family: var(--font-family);
  background: #fff;
}
.fiche .repas-body .form-control:focus {
  outline: none;
  border-color: var(--orange-600);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}
.fiche .repas-body .form-control[disabled] option:disabled {
  color: var(--neutral-400);
}
.fiche .repas-extra {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.fiche .repas-extra .form-field {
  display: flex;
  flex-direction: column;
}
.fiche .repas-extra .form-field:first-child {
  width: 90px;
  flex-shrink: 0;
}
.fiche .repas-extra .form-field:last-child {
  flex: 1;
}
.fiche .restaurant-capacite {
  --c-color: var(--neutral-700);
  --c-bg: var(--neutral-50);
  --c-border: var(--neutral-200);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  margin-top: 6px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 7px;
  font-size: 12px;
  color: var(--c-color);
}
.fiche .restaurant-capacite .capacite-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-color);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-color) 18%, transparent);
}
.fiche .restaurant-capacite .capacite-dispo {
  font-weight: 700;
  color: var(--c-color);
}
.fiche .restaurant-capacite .capacite-total {
  color: var(--neutral-500);
  font-size: 11.5px;
}
.fiche .restaurant-capacite.is-ok {
  --c-color: var(--green-700);
  --c-bg: var(--green-50);
  --c-border: var(--green-200);
}
.fiche .restaurant-capacite.is-low {
  --c-color: var(--amber-800);
  --c-bg: var(--amber-50);
  --c-border: var(--amber-200);
}
.fiche .restaurant-capacite.is-full {
  --c-color: var(--red-700);
  --c-bg: var(--red-50);
  --c-border: var(--red-200);
}
.fiche .restaurant-capacite.is-illimite {
  --c-color: var(--blue-700);
  --c-bg: var(--blue-50);
  --c-border: var(--blue-200);
}
.fiche .restaurant-capacite.is-illimite i {
  color: var(--blue-600);
}
.fiche .restaurant-capacite.is-illimite .capacite-bullet {
  display: none;
}
.fiche .gestionnaire-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border: 1px solid var(--card-border, var(--neutral-200));
  border-radius: 10px;
}
.fiche .gestionnaire-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
  overflow: hidden;
}
.fiche .gestionnaire-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fiche .gestionnaire-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}
.fiche .gestionnaire-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--neutral-900);
  line-height: 1.2;
}
.fiche .gestionnaire-role {
  font-size: 11.5px;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
}
.fiche .gestionnaire-phone,
.fiche .gestionnaire-email {
  font-size: 12px;
  color: var(--neutral-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  transition: color 120ms;
}
.fiche .gestionnaire-phone i,
.fiche .gestionnaire-email i {
  color: var(--neutral-400);
  font-size: 10.5px;
}
.fiche .gestionnaire-phone:hover,
.fiche .gestionnaire-email:hover {
  color: var(--blue-700);
}
.fiche .gestionnaire-phone:hover i,
.fiche .gestionnaire-email:hover i {
  color: var(--blue-600);
}
.fiche .gestionnaire-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-500);
  font-style: italic;
}
.fiche .gestionnaire-empty i {
  color: var(--neutral-400);
  font-size: 14px;
}
.fiche .suggestion-transport {
  --st-color: var(--neutral-700);
  --st-bg: var(--neutral-50);
  --st-border: var(--neutral-200);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: var(--st-bg);
  border: 1px solid var(--st-border);
  border-left: 3px solid var(--st-color);
  border-radius: var(--radius-md, 8px);
}
.fiche .suggestion-transport > i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  color: var(--st-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.fiche .suggestion-transport > div {
  flex: 1;
  min-width: 0;
}
.fiche .suggestion-transport strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--st-color);
  margin-bottom: 4px;
  letter-spacing: 0.1px;
}
.fiche .suggestion-transport p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.45;
}
.fiche .suggestion-transport form {
  display: inline;
}
.fiche .suggestion-transport.suggestion-navette {
  --st-color: var(--green-700);
  --st-bg: var(--green-50);
  --st-border: var(--green-200);
}
.fiche .suggestion-transport.suggestion-taxi {
  --st-color: var(--amber-800);
  --st-bg: var(--amber-50);
  --st-border: var(--amber-200);
}
.fiche .suggestion-transport.suggestion-aucun {
  --st-color: var(--neutral-600, #475569);
  --st-bg: var(--neutral-50, #f8fafc);
  --st-border: var(--neutral-200, #e2e8f0);
}
.fiche .suggestion-transport.suggestion-nuitee_veille, .fiche .suggestion-transport.suggestion-nuitee_lendemain {
  --st-color: var(--purple-700);
  --st-bg: var(--purple-50);
  --st-border: var(--purple-200);
}
.fiche .suggestion-transport.suggestion-empty {
  --st-color: var(--neutral-700);
  --st-bg: var(--neutral-50);
  --st-border: var(--neutral-200);
}
.fiche .renvoyer-email-block {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.fiche .renvoyer-email-block .reb-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 220px;
}
.fiche .renvoyer-email-block .reb-info > i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.fiche .renvoyer-email-block .reb-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
}
.fiche .renvoyer-email-block .reb-sub {
  font-size: 12px;
  color: var(--neutral-700);
  margin-top: 2px;
  line-height: 1.4;
}
.fiche .renvoyer-email-block .reb-sub strong {
  color: var(--blue-700);
  font-weight: 600;
}
.fiche .trajet-costs {
  margin-top: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--blue-50), #EEF2FF);
  border: 1px solid var(--blue-200);
  border-radius: 10px;
  max-width: 380px;
  margin-left: auto;
}
.fiche .trajet-costs .tc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--blue-700);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fiche .trajet-costs .tc-title i {
  color: var(--blue-600);
}
.fiche .trajet-costs .tc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 12.5px;
  color: var(--neutral-700);
}
.fiche .trajet-costs .tc-row strong {
  color: var(--neutral-900);
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}
.fiche .trajet-costs .tc-row.tc-total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--blue-200);
  font-weight: 700;
  color: var(--blue-700);
}
.fiche .trajet-costs .tc-row.tc-total strong {
  font-size: 15px;
  color: var(--blue-700);
}

/* ════════════ TRANSFERTS (onglet dossier) ════════════ */
.fiche .transfert-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 16px 18px;
}
.fiche .transfert-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--neutral-100);
  margin-bottom: 14px;
}
.fiche .transfert-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
}
.fiche .transfert-header .text-muted {
  margin-left: auto;
  font-size: 12px;
  color: var(--neutral-500);
  font-family: var(--font-mono, monospace);
}
.fiche .transfert-destination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--neutral-50);
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.fiche .transfert-destination > i {
  color: var(--blue-600);
}
.fiche .transfert-destination strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.fiche .transfert-destination .badge {
  margin-left: 6px;
}
.fiche .transfert-confirme {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--green-50);
  border: 1px solid var(--green-200);
  border-radius: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}
.fiche .transfert-confirme > i {
  color: var(--green-700);
  font-size: 16px;
}
.fiche .transfert-confirme strong {
  color: var(--green-800);
  font-weight: 700;
}
.fiche .transfert-confirme > div {
  flex: 1;
  min-width: 0;
  color: var(--neutral-700);
}

/* ─────────────────────────────────────────────────────────────────────
 * Onglet Navettes du dossier — résumé transferts + affectations navette
 * formation (NavetteFormationAffectation, nouveau système).
 * ───────────────────────────────────────────────────────────────────── */
.nav-section {
  margin-bottom: 2rem;
}
.nav-section .nav-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--card-border);
}
.nav-section .nav-section-header h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.transfert-summary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 720px) {
  .transfert-summary-row {
    grid-template-columns: 1fr;
  }
}

.transfert-summary-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--neutral-50);
}
.transfert-summary-card .tsc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.transfert-summary-card .tsc-icon.tsc-arrivee {
  background: var(--blue-100);
  color: var(--blue-600);
}
.transfert-summary-card .tsc-icon.tsc-depart {
  background: var(--purple-100);
  color: var(--purple-600);
}
.transfert-summary-card .tsc-content {
  flex: 1;
  min-width: 0;
}
.transfert-summary-card .tsc-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  margin-bottom: 4px;
}
.transfert-summary-card .tsc-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.transfert-summary-card .tsc-empty {
  color: var(--neutral-500);
  font-weight: 500;
}
.transfert-summary-card .tsc-detail {
  font-size: 12px;
  color: var(--neutral-600);
  margin-top: 4px;
}
.transfert-summary-card .tsc-cta {
  margin-top: 6px;
}

.nav-empty-state {
  text-align: center;
  padding: 2rem;
  background: var(--neutral-50);
  border: 2px dashed var(--card-border);
  border-radius: var(--radius-md);
}
.nav-empty-state p {
  color: var(--neutral-500);
  font-size: 14px;
  margin: 0.5rem 0;
}

.nav-affecter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.nav-affecter-options button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.nav-affectations-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-affectation-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--white, #fff);
}
.nav-affectation-card .nac-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 110px;
}
.nav-affectation-card .nac-header .nac-sens {
  font-weight: 600;
  font-size: 13px;
  color: var(--neutral-800);
}
.nav-affectation-card .nac-header .nac-sens i {
  margin-right: 4px;
}
.nav-affectation-card .nac-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--neutral-700);
}
.nav-affectation-card .nac-horaires {
  font-size: 13px;
}
.nav-affectation-card .nac-vehicule,
.nav-affectation-card .nac-arrets {
  font-size: 12px;
  color: var(--neutral-500);
}
.nav-affectation-card .nac-vehicule i,
.nav-affectation-card .nac-arrets i {
  margin-right: 4px;
}
.nav-affectation-card .nac-actions {
  margin-left: auto;
}
@media (max-width: 720px) {
  .nav-affectation-card {
    flex-direction: column;
  }
  .nav-affectation-card .nac-actions {
    margin-left: 0;
    align-self: flex-end;
  }
}

/* Carte info "Résumé navettes quotidiennes" affichée dans l'onglet
 * Transferts : juste un rappel + lien vers l'onglet Navettes,
 * pour bien séparer Transfert ponctuel et Navette quotidienne. */
.transfert-card-info {
  background: var(--neutral-50);
  border: 1px dashed var(--card-border);
}

/* ─────────────────────────────────────────────────────────────────────
 * Card de suggestion "Navette de transfert" dans l'onglet Transferts :
 * meta de la navette support + lien éditer + dépliant des inscrits.
 * La NavetteFormation est ici le SUPPORT du Transfert (pas l'entité
 * métier affichée), c'est de l'aide à la décision avant confirmation.
 * ───────────────────────────────────────────────────────────────────── */
.sugnav-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 6px 0 10px;
  font-size: 12px;
  color: var(--neutral-600);
}
.sugnav-meta .sugnav-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.sugnav-meta .sugnav-meta-item i {
  color: var(--neutral-500);
}

.sugnav-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sugnav-inscrits {
  margin-top: 10px;
  font-size: 13px;
  border-top: 1px dashed var(--card-border);
  padding-top: 8px;
}
.sugnav-inscrits > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--neutral-700);
  padding: 4px 0;
  user-select: none;
}
.sugnav-inscrits > summary::-webkit-details-marker {
  display: none;
}
.sugnav-inscrits > summary:hover {
  color: var(--blue-700, var(--neutral-900));
}
.sugnav-inscrits > summary .sugnav-chevron {
  font-size: 11px;
  color: var(--neutral-500);
  transition: transform 0.15s ease;
}
.sugnav-inscrits[open] > summary .sugnav-chevron {
  transform: rotate(90deg);
}
.sugnav-inscrits .sugnav-empty {
  margin: 8px 0 0;
  color: var(--neutral-500);
  font-style: italic;
  font-size: 12px;
}

.sugnav-inscrits-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sugnav-inscrits-list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  background: var(--neutral-50);
  border-radius: 6px;
  font-size: 12px;
}
.sugnav-inscrits-list > li .sugnav-inscrit-nom {
  font-weight: 600;
  color: var(--neutral-800);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sugnav-inscrits-list > li .sugnav-inscrit-meta {
  display: inline-flex;
  gap: 4px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESERVATION WIZARD — design handoff (indigo accent)
   Toutes les classes sont scopées sous .resa-wizard pour éviter
   les conflits avec le design system Enedis global.
   ═══════════════════════════════════════════════════════════════ */
.resa-wizard {
  /* Palette Claude Design « Tunnel Réservation » : accent MARINE Enedis pour la structure
     (stepper, boutons, focus), VERT pour les validations et sélections. */
  --r-accent: #1D2D5C; /* marine Enedis */
  --r-accent-600: #24397A; /* survol */
  --r-accent-50: #F4FAF0; /* fond d'une carte sélectionnée (vert très clair) */
  --r-accent-100: #CDEBC0;
  --r-green: #6CC04A; /* vert Enedis : coches, sélection, CTA final */
  --r-green-ink: #4FA235;
  --r-green-dark: #0E2A12; /* texte sur fond vert */
  --r-ink: #1A2238;
  --r-ink-2: #1D2D5C;
  --r-muted: #6B7490;
  --r-muted-2: #9AA3B8;
  --r-label: #3E4A6B;
  --r-line: #E2E8F0;
  --r-line-2: #F1F4F9;
  --r-bg: #F4F6FA;
  --r-soft: #F8FAFC;
  --r-card: #ffffff;
  --r-danger: #B23A36;
  --r-warn: #A85D00;
  --r-ok: #4FA235;
  --r-chip-bg: #F1F4F9;
  --r-radius-sm: 8px;
  --r-radius-md: 12px;
  --r-radius-lg: 22px;
  --r-pad-card: 30px;
  --r-pad-row: 14px;
  --r-fz-h1: 32px;
  --r-focus: 0 0 0 4px rgba(29, 45, 92, .1);
  --r-ease: cubic-bezier(.2, .8, .2, 1);
  display: block;
  width: 100%;
  background: var(--r-bg);
  color: var(--r-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  /* ── Main grid (centré à 1680px, contenu des steps) ───────── */
  /* ── Step head : sur-titre vert, grand titre marine, sous-titre ── */
  /* ── Card ──────────────────────────────────────────────────── */
  /* La .card globale (design system) a son propre padding : on l'annule quand la carte
     porte déjà un .card-pad, sinon les deux s'additionnent. */
  /* ── Résumé latéral : carte marine + astuce ─────────────────── */
  /* Total estimé (récapitulatif) : fond vert clair + bordure verte. */
  /* ── Encart « Type de séjour » (étape Dates) ──────────────── */
  /* ── Séjour long libre : hébergement + THRIPS par semaine ── */
  /* ── Étape 4 THRIPS : trajets multiples + type déduit ────── */
  /* ── Boutons ───────────────────────────────────────────────── */
  /* CTA final (« Confirmer la réservation ») : vert Enedis. */
  /* ── Champs ────────────────────────────────────────────────── */
  /* Interrupteur (checkbox habillée) : piste grise → verte. */
  /* Ligne d'option avec interrupteur (PMR, J-1, EPI…). */
  /* ── Chips ─────────────────────────────────────────────────── */
  /* ── Split & search ────────────────────────────────────────── */
  /* Step 1 : split campus-list gauche + map droite, full-width */
  /* ── Campus list (step 1) ──────────────────────────────────── */
  /* ── Formation cards (step 2) ──────────────────────────────── */
  /* Désactivé : on garde uniquement le label "Sélectionné" en bas à droite. */
  /* ── Step 3 specific : header + card plus compacts ─────────── */
  /* ── Calendar (step 3) — version compacte ──────────────────── */
  /* ── Step 4 : autocomplete dropdown ───────────────────────── */
  /* ── Step 4 : card stagiaire sélectionné ──────────────────── */
  /* ── Trajet préconisé (matrice DR × campus) ────────────────── */
  /* ── Stagiaire profile (step 4) ────────────────────────────── */
  /* ── Hébergement cards (step 5) ────────────────────────────── */
  /* ══════════════════════════════════════════════════════════════
     STEP 5 v2 — Liste hébergements + Panneau configuration
     ══════════════════════════════════════════════════════════════ */
  /* Respect du HTML attribute `hidden` malgré les display: flex/grid */
  /* ── Grille de cards v2 ───────────────────────────────────── */
  /* ── Empty state (avant sélection) ─────────────────────────── */
  /* ── Section configuration (panneau dépliable) ─────────────── */
  /* ══════════════════════════════════════════════════════════
     ETAPE TRANSFERTS — un sens, une carte
     Le trajet lu dans le billet d'abord, le choix ensuite. Les trois
     options ont le meme poids ; la recommandation du moteur se pose
     comme une puce SUR l'option concernee plutot qu'en banniere, et
     son explication devient la description de cette option.
     ══════════════════════════════════════════════════════════ */
  /* Le trajet en une ligne : heure, puis d'ou vers ou. */
  /* ── Les trois options ── */
  /* La liste des navettes appartient a l'option : on le montre par le retrait
     et le filet, plutot que de la poser entre deux radios. */
  /* La navette retenue ne s'allume que si « Navette fixe » est le mode choisi. */
  /* Mode non retenu : le choix de navette est conserve — on y revient d'un clic — mais
     il se tait. Le texte reste pleinement lisible : c'est lui qui explique POURQUOI on
     part sur un taxi. */
  /* ── Sejour long libre : un bandeau par semaine ── */
  /* ── Formules (3 cartes radio) ─────────────────────────────── */
  /* Détail nuits couvertes/non couvertes (couverture partielle) */
  /* ── Sélecteur restaurant (sous les formules) ──────────────── */
  /* ── Hint warn (bandeau hôtels en attente BP) ──────────────── */
  /* ══════════════════════════════════════════════════════════════
     Legacy classes (step 5 v1) — conservées pour compatibilité
     avec d'éventuels rendus partiels et le controller disponibilite.
     ══════════════════════════════════════════════════════════════ */
  /* ── Confirmation (step 6) ─────────────────────────────────── */
  /* ── Hint (bandeau d'information bleuté) ───────────────────── */
  /* ── Footbar (verre dépoli, contenu 1680px) ─────────────────── */
  /* ── Enregistrement automatique (barre du bas) ─────────────────
     Discret : une pastille et une ligne, jamais par-dessus les champs. Trois états posés par
     wizard_autosave_controller.js sur data-etat, plus « idle » tant que rien n'est enregistré. */
  /* ── Bandeau de reprise d'une réservation en cours ───────────── */
  /* ── Modal détail hôtel (step 5) ──────────────────────────── */
  /* ── Carousel (modal détail hôtel) ─────────────────────────── */
  /* ── Leaflet : protection contre l'override CSS global ───── */
}
.resa-wizard h1, .resa-wizard h2, .resa-wizard h3, .resa-wizard h4 {
  font-family: inherit;
  margin: 0;
  letter-spacing: -0.01em;
}
.resa-wizard .mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.resa-wizard .resa-main {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 40px 140px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}
.resa-wizard .resa-step-body {
  min-width: 0;
  animation: r-step-in 0.45s var(--r-ease) backwards;
}
@media (max-width: 1100px) {
  .resa-wizard .resa-main {
    grid-template-columns: 1fr;
  }
  .resa-wizard .summary {
    position: static !important;
  }
  .resa-wizard .hebe-cards {
    grid-template-columns: 1fr 1fr;
  }
  .resa-wizard .split-h {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .resa-wizard .resa-main {
    padding: 28px 16px 160px;
  }
}
.resa-wizard .step-head {
  margin-bottom: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.resa-wizard .step-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--r-green-ink);
  animation: r-rise 0.4s ease backwards;
}
.resa-wizard .step-head .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--r-green);
}
.resa-wizard .step-head h1 {
  font-size: var(--r-fz-h1);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--r-ink-2);
  text-wrap: pretty;
}
@media (max-width: 640px) {
  .resa-wizard .step-head h1 {
    font-size: 26px;
  }
}
.resa-wizard .step-head .sub {
  color: var(--r-muted);
  margin-top: 12px;
  max-width: 620px;
  line-height: 1.6;
  font-size: 14.5px;
  text-wrap: pretty;
}
.resa-wizard .step-head .meta {
  color: var(--r-muted);
  font-size: 12.5px;
  text-align: right;
  line-height: 1.5;
}
.resa-wizard .card {
  background: var(--r-card);
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-lg);
  box-shadow: none;
}
.resa-wizard .card:has(> .card-pad) {
  padding: 0;
}
.resa-wizard .card-pad {
  padding: var(--r-pad-card);
}
.resa-wizard .card-section {
  border-top: 1px solid var(--r-line-2);
  padding: var(--r-pad-card);
}
.resa-wizard .card-section:first-child {
  border-top: 0;
}
@media (max-width: 640px) {
  .resa-wizard .card-pad, .resa-wizard .card-section {
    padding: 20px;
  }
}
.resa-wizard .summary {
  position: sticky;
  top: calc(var(--public-header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.resa-wizard .sum-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--r-radius-lg);
  background: linear-gradient(160deg, #1D2D5C, #142147);
  color: #fff;
  box-shadow: 0 20px 50px rgba(20, 33, 71, 0.25);
}
.resa-wizard .sum-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 192, 74, 0.35), rgba(108, 192, 74, 0) 70%);
  pointer-events: none;
}
.resa-wizard .sum-card > * {
  position: relative;
  z-index: 1;
}
.resa-wizard .sum-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.resa-wizard .sum-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C7CEE3;
  font-weight: 800;
}
.resa-wizard .sum-progress {
  font-size: 12px;
  color: #C7CEE3;
}
.resa-wizard .sum-progress b {
  color: var(--r-green);
  font-size: 15px;
  font-weight: 800;
}
.resa-wizard .sum-track {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-bottom: 22px;
}
.resa-wizard .sum-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--r-green);
  transition: width 0.6s var(--r-ease);
  animation: r-draw-bar 0.8s var(--r-ease) backwards;
}
.resa-wizard .sum-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.resa-wizard .sum-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: flex-start;
}
.resa-wizard .sum-row .ico {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
  transition: background 0.3s, color 0.3s;
}
.resa-wizard .sum-row.set .ico {
  background: var(--r-green);
  color: var(--r-green-dark);
}
.resa-wizard .sum-row .lbl {
  font-size: 10.5px;
  color: #8E9AC2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}
.resa-wizard .sum-row .val {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 3px;
  line-height: 1.35;
  word-break: break-word;
}
.resa-wizard .sum-row .val.empty {
  color: #6E7BA5;
  font-style: italic;
  font-weight: 500;
}
.resa-wizard .sum-row .sub {
  color: #C7CEE3;
  font-size: 12px;
  margin-top: 2px;
}
.resa-wizard .sum-tip {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid var(--r-line);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--r-label);
}
.resa-wizard .sum-tip-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #F0FAEC;
  color: var(--r-green-ink);
  font-size: 15px;
}
.resa-wizard .sum-total-card {
  background: #F0FAEC;
  border: 1.5px solid #CDEBC0;
  color: var(--r-ink);
  border-radius: 18px;
  padding: 18px 20px;
}
.resa-wizard .sum-total-card .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--r-green-ink);
  font-weight: 800;
}
.resa-wizard .sum-total-card .amount {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
  color: var(--r-ink-2);
}
.resa-wizard .sum-total-card .breakdown {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #CDEBC0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
}
.resa-wizard .sum-total-card .breakdown .r {
  display: flex;
  justify-content: space-between;
  color: var(--r-muted);
}
.resa-wizard .sum-total-card .breakdown .r b {
  color: var(--r-ink);
  font-weight: 700;
}
.resa-wizard .tsej-card {
  margin-bottom: 20px;
}
.resa-wizard .tsej-card.tsej-multi {
  border-color: var(--r-accent);
  box-shadow: 0 0 0 1px var(--r-accent) inset;
}
.resa-wizard .tsej-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.resa-wizard .tsej-title {
  font-weight: 700;
  font-size: 15px;
}
.resa-wizard .tsej-title i {
  color: var(--r-accent);
  margin-right: 6px;
}
.resa-wizard .tsej-note {
  color: var(--r-muted);
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.45;
}
.resa-wizard .tsej-note-ok {
  color: var(--r-ok);
  font-weight: 500;
}
.resa-wizard .tsej-note-ok i {
  margin-right: 4px;
}
.resa-wizard .tsej-note-ok b {
  font-weight: 700;
}
.resa-wizard .tsej-weeks {
  list-style: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: var(--r-accent-50);
  border: 1px solid var(--r-accent-100);
  border-radius: var(--r-radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resa-wizard .tsej-weeks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.resa-wizard .tsej-weeks .tsej-wk-idx {
  flex-shrink: 0;
  width: 30px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--r-accent);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.resa-wizard .tsej-weeks .tsej-wk-code {
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .tsej-weeks .tsej-wk-dates {
  color: var(--r-muted);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.resa-wizard .tsej-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 700px) {
  .resa-wizard .tsej-grid {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .tsej-opt {
  position: relative;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid var(--r-line);
  background: #fff;
  border-radius: var(--r-radius-md);
  padding: 14px 14px;
  transition: border-color 0.12s, background 0.12s;
}
.resa-wizard .tsej-opt:hover {
  border-color: var(--r-muted-2);
}
.resa-wizard .tsej-opt.active {
  border-color: var(--r-accent);
  background: var(--r-accent-50);
}
.resa-wizard .tsej-opt .tsej-ic {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--r-chip-bg);
  color: var(--r-muted);
  font-size: 15px;
}
.resa-wizard .tsej-opt.active .tsej-ic {
  background: var(--r-accent);
  color: #fff;
}
.resa-wizard .tsej-opt .tsej-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.resa-wizard .tsej-opt .tsej-lbl {
  font-weight: 600;
  color: var(--r-ink);
  font-size: 13.5px;
}
.resa-wizard .tsej-opt .tsej-desc {
  color: var(--r-muted);
  font-size: 12px;
  line-height: 1.4;
}
.resa-wizard .tsej-opt .tsej-chk {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--r-accent);
  font-size: 14px;
}
.resa-wizard .lw-card {
  margin-bottom: 16px;
}
.resa-wizard .lw-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.resa-wizard .lw-idx {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--r-accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}
.resa-wizard .lw-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--r-ink);
}
.resa-wizard .lw-dates {
  font-size: 12.5px;
  color: var(--r-muted);
  font-family: "JetBrains Mono", monospace;
  margin-top: 1px;
}
.resa-wizard .lw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 700px) {
  .resa-wizard .lw-grid {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .lw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.resa-wizard .lw-lbl {
  font-size: 12px;
  color: var(--r-muted);
  font-weight: 600;
}
.resa-wizard .lw-opt {
  font-weight: 400;
  color: var(--r-muted-2);
}
.resa-wizard .lw-field .form-control {
  height: 40px;
  border: 1px solid var(--r-line);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13.5px;
  background: #fff;
  color: var(--r-ink);
  width: 100%;
}
.resa-wizard .lw-empty {
  padding: 14px;
  background: #FEF3F2;
  border: 1px solid #FDA29B;
  border-radius: var(--r-radius-md);
  color: var(--r-danger);
  font-size: 13px;
  font-weight: 500;
}
.resa-wizard .lw-empty i {
  margin-right: 6px;
}
.resa-wizard .thr-type {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: var(--r-radius-md);
  border: 1px solid var(--r-accent-100);
  background: var(--r-accent-50);
}
.resa-wizard .thr-type i {
  font-size: 18px;
  color: var(--r-accent);
}
.resa-wizard .thr-type .thr-type-lbl {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--r-muted);
  font-weight: 600;
}
.resa-wizard .thr-type .thr-type-val {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--r-ink);
  margin-top: 1px;
}
.resa-wizard .thr-type .thr-type-hint {
  margin-left: auto;
  font-size: 12px;
  color: var(--r-muted);
}
.resa-wizard .thr-type.thr-type-court {
  border-color: var(--r-line);
  background: var(--r-chip-bg);
}
.resa-wizard .thr-type.thr-type-court i {
  color: var(--r-muted);
}
.resa-wizard .trj-card {
  margin-bottom: 14px;
}
.resa-wizard .trj-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.resa-wizard .trj-idx {
  font-weight: 700;
  font-size: 14px;
  color: var(--r-ink);
}
.resa-wizard .trj-remove {
  border: 0;
  background: none;
  color: var(--r-danger);
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.resa-wizard .trj-remove:hover {
  background: #FEF3F2;
}
.resa-wizard .trj-remove i {
  margin-right: 4px;
}
.resa-wizard .trj-modes {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.resa-wizard .trj-mode {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  cursor: pointer;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-md);
  font-size: 13px;
  font-weight: 500;
}
.resa-wizard .trj-mode input {
  accent-color: var(--r-accent);
}
.resa-wizard .trj-mode:has(input:checked) {
  border-color: var(--r-accent);
  background: var(--r-accent-50);
  font-weight: 600;
}
.resa-wizard .trj-mode i {
  color: var(--r-muted);
}
.resa-wizard .trj-pnrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 640px) {
  .resa-wizard .trj-pnrs {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .trj-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.resa-wizard .trj-lbl {
  font-size: 12px;
  color: var(--r-muted);
  font-weight: 600;
}
.resa-wizard .trj-field .form-control {
  height: 40px;
  border: 1px solid var(--r-line);
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13.5px;
  background: #fff;
  color: var(--r-ink);
  width: 100%;
}
.resa-wizard .trj-err {
  font-size: 12px;
  color: var(--r-warn);
  font-weight: 500;
}
.resa-wizard .trj-err i {
  margin-right: 4px;
}
.resa-wizard .trj-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--r-radius-md);
  background: var(--r-accent-50);
  border: 1px solid var(--r-accent-100);
}
.resa-wizard .trj-result.trj-result-warn {
  background: #FFFAEB;
  border-color: #FEDF89;
}
.resa-wizard .trj-res-dates {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.resa-wizard .trj-res-dates > div {
  display: flex;
  flex-direction: column;
}
.resa-wizard .trj-res-dates .k {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--r-muted);
  font-weight: 600;
}
.resa-wizard .trj-res-dates .v {
  font-size: 15px;
  font-weight: 700;
  color: var(--r-ink);
}
.resa-wizard .trj-res-dates .g {
  font-size: 12px;
  color: var(--r-muted);
}
.resa-wizard .trj-res-arrow {
  color: var(--r-accent);
}
.resa-wizard .trj-res-pax {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--r-accent-100);
  font-size: 13px;
  font-weight: 600;
}
.resa-wizard .trj-res-pax i {
  margin-right: 5px;
}
.resa-wizard .trj-res-pax.is-ok {
  color: var(--r-ok);
}
.resa-wizard .trj-res-pax.is-warn {
  color: var(--r-warn);
  border-top-color: #FEDF89;
}
.resa-wizard .trj-add {
  margin-bottom: 6px;
}
.resa-wizard .trj-add i {
  margin-right: 6px;
}
.resa-wizard .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--r-radius-md);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid transparent;
  transition: all 0.25s var(--r-ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.resa-wizard .btn-primary {
  background: var(--r-accent);
  color: #fff;
  border-color: var(--r-accent);
  box-shadow: 0 12px 28px rgba(29, 45, 92, 0.3);
}
.resa-wizard .btn-primary:hover {
  background: var(--r-accent-600);
  border-color: var(--r-accent-600);
  color: #fff;
  transform: translateY(-1px);
}
.resa-wizard .btn-primary:disabled {
  background: #CBD2E0;
  border-color: #CBD2E0;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.resa-wizard .btn-confirm {
  background: var(--r-green);
  border-color: var(--r-green);
  color: #0E2A12;
  box-shadow: 0 12px 28px rgba(108, 192, 74, 0.4);
}
.resa-wizard .btn-confirm:hover {
  background: #5DB13A;
  border-color: #5DB13A;
  color: #0E2A12;
}
.resa-wizard .btn-ghost {
  background: #fff;
  color: var(--r-accent);
  border-color: var(--r-line);
}
.resa-wizard .btn-ghost:hover {
  background: var(--r-line-2);
  color: var(--r-accent);
}
.resa-wizard .btn-link {
  color: var(--r-accent);
  font-weight: 700;
  padding: 4px 8px;
  background: none;
  border: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.resa-wizard .btn-link:hover {
  background: var(--r-line-2);
  border-radius: 8px;
  color: var(--r-green-ink);
}
.resa-wizard .btn-lg {
  height: 50px;
  padding: 0 22px;
  font-size: 14px;
  border-radius: 14px;
}
.resa-wizard .btn-primary.btn-lg {
  padding: 0 26px;
  font-size: 14.5px;
  font-weight: 800;
}
.resa-wizard .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resa-wizard .field label {
  font-size: 12px;
  color: var(--r-label);
  font-weight: 700;
}
.resa-wizard .input, .resa-wizard .select, .resa-wizard input[type=text].input, .resa-wizard input[type=email].input, .resa-wizard input[type=tel].input {
  height: 48px;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-md);
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: var(--r-ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.resa-wizard .input::placeholder, .resa-wizard .select::placeholder, .resa-wizard input[type=text].input::placeholder, .resa-wizard input[type=email].input::placeholder, .resa-wizard input[type=tel].input::placeholder {
  color: var(--r-muted-2);
}
.resa-wizard .input:focus, .resa-wizard .select:focus, .resa-wizard input[type=text].input:focus, .resa-wizard input[type=email].input:focus, .resa-wizard input[type=tel].input:focus {
  border-color: var(--r-accent);
  box-shadow: var(--r-focus);
}
.resa-wizard textarea.input {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
}
.resa-wizard .r-switch {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  width: 54px;
  height: 30px;
  cursor: pointer;
}
.resa-wizard .r-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.resa-wizard .r-switch .r-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #CBD2E0;
  transition: background 0.3s;
}
.resa-wizard .r-switch .r-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: left 0.3s var(--r-ease);
}
.resa-wizard .r-switch input:checked + .r-switch-track {
  background: var(--r-green);
}
.resa-wizard .r-switch input:checked + .r-switch-track::after {
  left: 27px;
}
.resa-wizard .r-switch input:focus-visible + .r-switch-track {
  box-shadow: var(--r-focus);
}
.resa-wizard .r-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--r-soft);
  border: 1px solid var(--r-line);
  cursor: pointer;
}
.resa-wizard .r-toggle-row .r-toggle-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--r-ink-2);
}
.resa-wizard .r-toggle-row .r-toggle-sub {
  font-size: 12.5px;
  color: var(--r-muted);
  margin-top: 2px;
}
.resa-wizard .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--r-chip-bg);
  font-size: 11.5px;
  color: var(--r-muted);
  font-weight: 500;
  /* V3 PMS — Sprint 1 Tâche A : variantes badge CDC */
}
.resa-wizard .chip.ok {
  background: #ecfdf3;
  color: var(--r-ok);
}
.resa-wizard .chip.warn {
  background: #fef6ee;
  color: var(--r-warn);
}
.resa-wizard .chip.accent {
  background: var(--r-accent-50);
  color: var(--r-accent);
}
.resa-wizard .chip.dark {
  background: var(--r-ink);
  color: #fff;
}
.resa-wizard .chip.chip-cdc {
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.resa-wizard .chip.chip-cdc-full {
  background: #ecfdf3;
  color: var(--r-ok);
  border-color: #a7f3d0;
}
.resa-wizard .chip.chip-cdc-partial {
  background: #fef6ee;
  color: var(--r-warn);
  border-color: #fed7aa;
}
.resa-wizard .chip.chip-cdc-non_conforme {
  background: #fef2f2;
  color: var(--r-danger);
  border-color: #fecaca;
}
.resa-wizard .split-h {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 16px;
  align-items: stretch;
}
.resa-wizard .step1-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 620px;
  border: 1px solid var(--r-line);
  border-radius: var(--r-radius-lg);
  overflow: hidden;
  background: #fff;
}
.resa-wizard .step1-left {
  background: #f8f9fb;
  padding: 1.25rem;
  border-right: 1px solid var(--r-line);
  overflow-y: auto;
  max-height: 720px;
}
.resa-wizard .step1-right {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}
.resa-wizard .step1-right .wizard-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 900px) {
  .resa-wizard .step1-split {
    grid-template-columns: 1fr;
  }
  .resa-wizard .step1-left {
    max-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--r-line);
  }
  .resa-wizard .step1-right {
    min-height: 420px;
  }
}
.resa-wizard .search-box {
  position: relative;
}
.resa-wizard .search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--r-muted-2);
  pointer-events: none;
  font-size: 14px;
  z-index: 1;
}
.resa-wizard .search-box input,
.resa-wizard .search-box input.input,
.resa-wizard .search-box input[type=text],
.resa-wizard .search-box input[type=search] {
  padding-left: 40px !important;
}
.resa-wizard .campus-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resa-wizard .campus-item {
  border: 1px solid var(--r-line);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}
.resa-wizard .campus-item:hover {
  border-color: var(--r-muted-2);
}
.resa-wizard .campus-item.sel {
  border-color: var(--r-accent);
  background: var(--r-accent-50);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--r-accent) 10%, transparent);
}
.resa-wizard .campus-item .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.resa-wizard .campus-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .campus-item .reg {
  font-size: 11.5px;
  color: var(--r-muted);
  margin-top: 2px;
}
.resa-wizard .campus-item .feat {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.resa-wizard .form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resa-wizard .form-card {
  position: relative;
  border: 2px solid var(--r-line);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s;
}
.resa-wizard .form-card:hover {
  border-color: var(--r-accent);
  background: var(--r-accent-50);
}
.resa-wizard .form-card.is-selected, .resa-wizard .form-card.sel {
  border-color: var(--r-accent);
  background: var(--r-accent-50);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--r-accent) 15%, transparent);
}
.resa-wizard .form-card .row1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.resa-wizard .form-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .form-card .ref {
  font-family: "JetBrains Mono";
  font-size: 11px;
  color: var(--r-muted);
  margin-top: 2px;
}
.resa-wizard .form-card .facts {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--r-line-2);
  flex-wrap: wrap;
}
.resa-wizard .form-card .fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.resa-wizard .form-card .fact .k {
  font-size: 11px;
  color: var(--r-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.resa-wizard .form-card .fact .v {
  font-size: 13.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--r-ink);
}
.resa-wizard .form-card-check {
  display: none !important;
}
.resa-wizard .form-card-selected-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--r-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  letter-spacing: 0.02em;
}
.resa-wizard .form-card.is-selected .form-card-selected-label,
.resa-wizard .form-card.sel .form-card-selected-label {
  opacity: 1;
  transform: translateY(0);
}
.resa-wizard .capacity {
  display: flex;
  align-items: center;
  gap: 8px;
}
.resa-wizard .capacity .bar {
  width: 80px;
  height: 5px;
  background: var(--r-line);
  border-radius: 99px;
  overflow: hidden;
}
.resa-wizard .capacity .bar-fill {
  height: 100%;
  background: var(--r-accent);
}
.resa-wizard .step3-compact .step-head {
  margin-bottom: 10px;
}
.resa-wizard .step3-compact .card-pad {
  padding: 16px 20px;
}
.resa-wizard .cal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.resa-wizard .cal .month {
  border: 1px solid var(--r-line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.resa-wizard .cal .month-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding: 2px 0;
}
.resa-wizard .cal .month-h h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .cal .wk {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 10px;
  color: var(--r-muted);
  margin-bottom: 4px;
  text-align: center;
  font-weight: 500;
  padding: 2px 0;
}
.resa-wizard .cal .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.resa-wizard .cal .d {
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--r-ink);
  border-radius: 5px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: background 0.1s ease;
}
.resa-wizard .cal .d.out {
  color: var(--r-muted-2);
  opacity: 0.4;
  cursor: default;
}
.resa-wizard .cal .d:hover:not(.out) {
  background: var(--r-line-2);
}
.resa-wizard .cal .d.range {
  background: var(--r-accent-50);
  color: var(--r-accent);
  border-radius: 0;
}
.resa-wizard .cal .d.start, .resa-wizard .cal .d.end {
  background: var(--r-accent);
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
}
.resa-wizard .cal .d.start {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.resa-wizard .cal .d.end {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.resa-wizard .cal .d.single {
  background: var(--r-accent);
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .resa-wizard .cal {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .date-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 12px;
  border: 1px solid var(--r-line);
  border-radius: 10px;
  overflow: hidden;
}
.resa-wizard .date-strip .blk {
  flex: 1;
  padding: 10px 14px;
}
.resa-wizard .date-strip .blk + .blk {
  border-left: 1px solid var(--r-line);
}
.resa-wizard .date-strip .k {
  font-size: 10px;
  color: var(--r-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.resa-wizard .date-strip .v {
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  margin-top: 3px;
  letter-spacing: -0.01em;
  color: var(--r-ink);
}
.resa-wizard .date-strip .sub {
  color: var(--r-muted);
  font-size: 11.5px;
  margin-top: 1px;
}
.resa-wizard .search-box-wrapper {
  position: relative;
}
.resa-wizard .search-results-dropdown,
.resa-wizard .search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--r-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
  overflow: hidden;
  max-height: 320px;
  overflow-y: auto;
}
.resa-wizard .search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 100ms;
  border-bottom: 1px solid var(--r-line-2);
}
.resa-wizard .search-result-item:last-child {
  border-bottom: none;
}
.resa-wizard .search-result-item:hover, .resa-wizard .search-result-item.highlighted {
  background: var(--r-accent-50);
}
.resa-wizard .search-result-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--r-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.resa-wizard .search-result-info {
  flex: 1;
  min-width: 0;
}
.resa-wizard .search-result-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .search-result-meta {
  font-size: 12px;
  color: var(--r-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
  flex-wrap: wrap;
}
.resa-wizard .search-no-result {
  padding: 1.5rem;
  text-align: center;
  color: var(--r-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.resa-wizard .stagiaire-selected-card {
  background: #fff;
  border: 2px solid var(--r-accent);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(6, 118, 71, 0.1);
}
.resa-wizard .stagiaire-selected-header {
  background: linear-gradient(135deg, var(--r-accent) 0%, #6366f1 100%);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.resa-wizard .stagiaire-selected-avatar {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.resa-wizard .stagiaire-selected-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.resa-wizard .stagiaire-selected-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
  flex-wrap: wrap;
}
.resa-wizard .stagiaire-selected-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.resa-wizard .stagiaire-selected-change {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resa-wizard .stagiaire-selected-change:hover {
  background: rgba(255, 255, 255, 0.25);
}
.resa-wizard .stagiaire-selected-body {
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .resa-wizard .stagiaire-selected-body {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .stagiaire-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.resa-wizard .stagiaire-info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--r-muted);
  font-weight: 600;
}
.resa-wizard .stagiaire-info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--r-ink);
  word-break: break-word;
}
.resa-wizard .stagiaire-info-value.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--r-accent);
}
.resa-wizard .stagiaire-trajet-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--r-line-2, var(--neutral-200));
}
.resa-wizard .stagiaire-trajet-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--r-muted, var(--neutral-500));
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resa-wizard .stagiaire-trajet-title i {
  font-size: 10px;
}
.resa-wizard .stagiaire-trajet-badge {
  --t-accent: var(--neutral-600);
  --t-bg: var(--neutral-50);
  --t-border: var(--neutral-200);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 14px;
  background: var(--t-bg);
  border: 1px solid var(--t-border);
  border-left: 3px solid var(--t-accent);
  border-radius: 8px;
  font-size: 13px;
  color: var(--neutral-800);
}
.resa-wizard .stagiaire-trajet-badge.mode-train {
  --t-accent: var(--blue-600);
  --t-bg: var(--blue-50);
  --t-border: var(--blue-200);
}
.resa-wizard .stagiaire-trajet-badge.mode-avion {
  --t-accent: var(--purple-600);
  --t-bg: var(--purple-50);
  --t-border: var(--purple-200);
}
.resa-wizard .stagiaire-trajet-badge.mode-voiture {
  --t-accent: var(--amber-700);
  --t-bg: var(--amber-50);
  --t-border: var(--amber-200);
}
.resa-wizard .stagiaire-trajet-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--t-accent);
}
.resa-wizard .stagiaire-trajet-mode i {
  font-size: 13px;
}
.resa-wizard .stagiaire-trajet-itineraire {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--neutral-800);
}
.resa-wizard .stagiaire-trajet-duree {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--neutral-600);
  font-variant-numeric: tabular-nums;
}
.resa-wizard .stagiaire-trajet-duree i {
  font-size: 10px;
  opacity: 0.7;
}
.resa-wizard .stagiaire-trajet-warning {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--red-700);
  background: var(--red-50);
  border: 1px solid var(--red-200);
  padding: 3px 8px;
  border-radius: 6px;
}
.resa-wizard .stagiaire-trajet-warning i {
  font-size: 10px;
}
.resa-wizard .stagiaire-trajet-empty {
  color: var(--neutral-500);
  font-style: italic;
  font-weight: 500;
}
.resa-wizard .profile {
  border: 1px solid var(--r-line);
  border-radius: 12px;
  overflow: hidden;
}
.resa-wizard .profile-h {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  border-bottom: 1px solid var(--r-line-2);
  flex-wrap: wrap;
}
.resa-wizard .profile-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--r-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 16px;
  font-family: inherit;
  flex-shrink: 0;
}
.resa-wizard .profile-name {
  flex: 1;
  min-width: 160px;
}
.resa-wizard .profile-name h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .profile-name .sub {
  font-size: 12.5px;
  color: var(--r-muted);
  margin-top: 2px;
}
.resa-wizard .profile-body {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}
.resa-wizard .profile-body .f {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.resa-wizard .profile-body .f .k {
  font-size: 11px;
  color: var(--r-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.resa-wizard .profile-body .f .v {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--r-ink);
}
.resa-wizard .profile-body .f .v a {
  color: var(--r-accent);
  text-decoration: none;
}
.resa-wizard .profile-banner {
  padding: 12px 20px;
  background: var(--r-accent-50);
  border-top: 1px solid var(--r-accent-100);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--r-accent);
}
.resa-wizard .profile-banner i {
  flex-shrink: 0;
}
.resa-wizard .hebe-tabs {
  display: inline-flex;
  gap: 2px;
  border: 1px solid var(--r-line);
  border-radius: 8px;
  padding: 3px;
  background: #fff;
}
.resa-wizard .hebe-tabs button, .resa-wizard .hebe-tabs a {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 6px;
  color: var(--r-muted);
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}
.resa-wizard .hebe-tabs button.on, .resa-wizard .hebe-tabs a.on {
  background: var(--r-ink);
  color: #fff;
}
.resa-wizard [hidden] {
  display: none !important;
}
.resa-wizard .hebe-section,
.resa-wizard .hebe-config-section {
  margin-top: 18px;
}
.resa-wizard .hebe-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.resa-wizard .hebe-section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--r-accent);
  margin-bottom: 4px;
}
.resa-wizard .hebe-section-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--r-ink);
  margin: 0;
}
.resa-wizard .hebe-section-hint {
  font-size: 12.5px;
  color: var(--r-muted);
  line-height: 1.5;
}
.resa-wizard .hebe-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) {
  .resa-wizard .hebe-grid {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .hebe-card-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 168px 1fr;
  background: #fff;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  /* T-0020 : hôtel le mieux classé — repérable sans être confondu avec la carte choisie. */
}
.resa-wizard .hebe-card-v2:hover:not(.is-unavailable) {
  border-color: var(--r-muted-2);
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}
.resa-wizard .hebe-card-v2.is-selected {
  border-color: var(--r-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--r-accent) 18%, transparent), 0 4px 14px rgba(6, 118, 71, 0.12);
}
.resa-wizard .hebe-card-v2.is-unavailable {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.3);
}
.resa-wizard .hebe-card-v2.is-recommande:not(.is-selected) {
  border-color: var(--r-ok);
  background: var(--r-accent-50);
}
.resa-wizard .hebe-reco {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #2F6B1D;
}
.resa-wizard .hebe-reco i {
  margin-top: 2px;
}
.resa-wizard .hebe-reco.hebe-reco-bonus {
  font-weight: 600;
  color: var(--r-accent);
}
@media (max-width: 640px) {
  .resa-wizard .hebe-card-v2 {
    grid-template-columns: 1fr;
  }
  .resa-wizard .hebe-card-v2-visual {
    height: 160px;
  }
}
.resa-wizard .hebe-card-v2-visual {
  position: relative;
  background: var(--r-line-2);
  overflow: hidden;
  border-right: 1px solid var(--r-line-2);
}
.resa-wizard .hebe-card-v2-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.resa-wizard .hebe-card-v2-visual-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 10px, #e2e8f0 10px, #e2e8f0 20px);
  color: var(--r-muted);
  font-size: 2.4rem;
}
.resa-wizard .hebe-card-v2-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.resa-wizard .hebe-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.resa-wizard .hebe-badge.hebe-badge-accent {
  background: var(--r-accent);
  color: #fff;
}
.resa-wizard .hebe-badge.hebe-badge-warn {
  background: #fef6ee;
  color: var(--r-warn);
  border: 1px solid #fdd9b3;
}
.resa-wizard .hebe-card-v2-details {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--r-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  z-index: 3;
  transition: background 150ms ease, box-shadow 150ms ease;
}
.resa-wizard .hebe-card-v2-details:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.resa-wizard .hebe-card-v2-body {
  padding: 14px 16px 14px; /* padding-bas : les infos ne sont pas collées au vert (l'image, elle, le touche) */
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.resa-wizard .hebe-card-v2-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.resa-wizard .hebe-kicker-type {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--r-muted);
}
.resa-wizard .hebe-kicker-stars {
  color: #f59e0b;
  font-size: 10.5px;
  display: inline-flex;
  gap: 1px;
}
.resa-wizard .hebe-card-v2-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--r-ink);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.resa-wizard .hebe-card-v2-desc {
  font-size: 12.5px;
  color: var(--r-muted);
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.resa-wizard .hebe-card-v2-feats {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}
.resa-wizard .hebe-card-v2-foot {
  grid-column: 1/-1; /* pleine largeur : le vert Enedis passe aussi sous l'image */
  margin-top: 0; /* pas de blanc : l'image (et le corps) touchent le bloc vert */
  padding: 12px 16px 12px 184px; /* contenu aligné sous le corps, vert sous l'image */
  border-top: 1px solid #a7f3d0;
  background: #ecfdf3; /* vert clair — même teinte que le chip « nuits couvertes » */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.resa-wizard .hebe-card-v2-price .amount {
  font-family: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--r-ok); /* vert profond : le montant ressort sur le vert clair */
  line-height: 1.1;
}
.resa-wizard .hebe-card-v2-price .amount-free {
  color: var(--r-ok);
}
.resa-wizard .hebe-card-v2-price .unit {
  font-size: 11px;
  color: var(--r-muted);
  margin-top: 2px;
}
.resa-wizard .hebe-card-v2-state {
  /* « Choisir » : pilule blanche à texte/bordure verts — CTA lisible sur le vert clair. */
  /* « Sélectionné » : vert plein = choix confirmé. */
}
.resa-wizard .hebe-card-v2-state .hebe-state-off {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--r-ok);
  padding: 6px 12px;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  background: #fff;
  transition: all 0.15s;
}
.resa-wizard .hebe-card-v2-state .hebe-state-on {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  padding: 6px 12px;
  background: var(--r-ok);
  border-radius: 8px;
  letter-spacing: 0.02em;
}
.resa-wizard .hebe-card-v2:hover:not(.is-unavailable):not(.is-selected) .hebe-state-off {
  border-color: var(--r-ok);
  color: var(--r-ok);
  background: #d1fae5; /* teinte distincte du pied (#ecfdf3) pour que le survol se voie */
}
@media (max-width: 640px) {
  .resa-wizard .hebe-card-v2-foot {
    grid-column: 1;
    padding-left: 16px;
  }
}
.resa-wizard .hebe-empty-state {
  margin-top: 24px;
  padding: 40px 24px;
  text-align: center;
  background: #fff;
  border: 1.5px dashed var(--r-line);
  border-radius: var(--r-radius-lg);
  color: var(--r-muted);
}
.resa-wizard .hebe-empty-state i {
  font-size: 28px;
  color: var(--r-accent);
  opacity: 0.6;
  margin-bottom: 12px;
  display: block;
}
.resa-wizard .hebe-empty-state h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--r-ink);
  margin: 0 0 4px;
}
.resa-wizard .hebe-empty-state p {
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}
.resa-wizard .hebe-config-section {
  margin-top: 28px;
  animation: hebe-config-in 0.25s ease-out;
}
@keyframes hebe-config-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.resa-wizard .hebe-config-empty {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--r-accent-50);
  border: 1px solid var(--r-accent-100);
  border-radius: var(--r-radius-lg);
}
.resa-wizard .hebe-config-empty > i {
  font-size: 28px;
  color: var(--r-accent);
  flex-shrink: 0;
}
.resa-wizard .hebe-config-empty strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--r-ink);
  margin-bottom: 2px;
}
.resa-wizard .hebe-config-empty p {
  font-size: 12.5px;
  color: var(--r-muted);
  margin: 0;
  line-height: 1.5;
}
.resa-wizard .hebe-config-panel {
  background: #fff;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.resa-wizard .trfw {
  margin-bottom: 14px;
}
.resa-wizard .trfw-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--r-line-2);
}
.resa-wizard .trfw-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: var(--r-radius-md);
  background: var(--r-chip-bg);
  color: var(--r-ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.resa-wizard .trfw-headtxt {
  min-width: 0;
}
.resa-wizard .trfw-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--r-ink);
  letter-spacing: -0.01em;
}
.resa-wizard .trfw-j {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--r-muted);
}
.resa-wizard .trfw-j b {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--r-ink);
  font-variant-numeric: tabular-nums;
}
.resa-wizard .trfw-j .trfw-d {
  color: var(--r-muted-2);
}
.resa-wizard .trfw-j .trfw-pt {
  color: var(--r-ink-2);
  font-weight: 600;
}
.resa-wizard .trfw-j .trfw-arr {
  font-size: 10px;
  color: var(--r-muted-2);
}
.resa-wizard .trfw-alerte {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #F0D69B;
  background: #FFFBF2;
  border-radius: var(--r-radius-md);
  font-size: 12.5px;
  font-weight: 500;
  color: #6A5330;
  line-height: 1.5;
}
.resa-wizard .trfw-alerte i {
  color: var(--r-warn);
  margin-top: 2px;
  flex: 0 0 auto;
}
.resa-wizard .trfw-opts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resa-wizard .trfw-opt {
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-md);
  background: #fff;
  padding: 13px 15px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.resa-wizard .trfw-opt:hover {
  border-color: var(--r-muted-2);
}
.resa-wizard .trfw-opt:has(.trfw-opt-head input[type=radio]:checked) {
  border-color: var(--r-accent);
  background: var(--r-accent-50);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--r-accent) 12%, transparent);
}
.resa-wizard .trfw-opt:has(.trfw-opt-head input[type=radio]:focus-visible) {
  outline: 2px solid var(--r-accent);
  outline-offset: 2px;
}
.resa-wizard .trfw-opt-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.resa-wizard .trfw-opt-head input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.resa-wizard .trfw-opt-box {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 1.5px solid var(--r-line);
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.resa-wizard .trfw-opt-box i {
  font-size: 9px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.resa-wizard .trfw-opt:has(.trfw-opt-head input:checked) .trfw-opt-box {
  border-color: var(--r-accent);
  background: var(--r-accent);
}
.resa-wizard .trfw-opt:has(.trfw-opt-head input:checked) .trfw-opt-box i {
  opacity: 1;
}
.resa-wizard .trfw-opt-i {
  font-size: 13px;
  color: var(--r-muted-2);
  flex: 0 0 auto;
}
.resa-wizard .trfw-opt:has(.trfw-opt-head input:checked) .trfw-opt-i {
  color: var(--r-accent);
}
.resa-wizard .trfw-opt-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .trfw-chip {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-radius-sm);
  color: var(--r-accent);
  background: var(--r-accent-100);
}
.resa-wizard .trfw-opt-desc {
  margin: 6px 0 0 29px;
  font-size: 12px;
  font-weight: 500;
  color: var(--r-muted);
  line-height: 1.5;
}
.resa-wizard .trfw-opt-more {
  margin: 11px 0 0 29px;
  padding-left: 13px;
  border-left: 2px solid var(--r-line-2);
}
.resa-wizard .trfw-opt:has(.trfw-opt-head input:checked) .trfw-opt-more {
  border-left-color: color-mix(in oklab, var(--r-accent) 35%, #fff);
}
.resa-wizard .trfw-opt:has(.trfw-opt-head input:checked) .nav-ligne:has(input[type=radio]:checked) {
  background: var(--nav-accent-soft);
  box-shadow: inset 3px 0 0 var(--nav-accent);
}
.resa-wizard .trfw-opt:not(:has(.trfw-opt-head input:checked)) .nav-pick input[type=radio] {
  accent-color: var(--r-muted-2);
}
.resa-wizard .trfw-sem {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 22px 0 10px;
}
.resa-wizard .trfw-sem .trfw-sem-n {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: var(--r-radius-sm);
  background: var(--r-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
}
.resa-wizard .trfw-sem .trfw-sem-l {
  font-size: 14px;
  font-weight: 700;
  color: var(--r-ink);
}
.resa-wizard .trfw-sem .trfw-sem-p {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--r-muted);
}
@media (max-width: 640px) {
  .resa-wizard .trfw-opt-desc, .resa-wizard .trfw-opt-more {
    margin-left: 0;
  }
  .resa-wizard .trfw-opt-more {
    padding-left: 0;
    border-left: 0;
  }
}
.resa-wizard .hebe-formules {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resa-wizard .hebe-formules-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--r-muted);
}
.resa-wizard .hebe-formules-head i {
  color: var(--r-accent);
}
.resa-wizard .hebe-formules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .resa-wizard .hebe-formules-grid {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .hebe-formule {
  position: relative;
  display: block;
  padding: 14px;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-md);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
}
.resa-wizard .hebe-formule input[type=radio] {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.resa-wizard .hebe-formule:hover {
  border-color: var(--r-muted-2);
}
.resa-wizard .hebe-formule:has(input:checked), .resa-wizard .hebe-formule.is-on {
  border-color: var(--r-accent);
  background: var(--r-accent-50);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--r-accent) 12%, transparent);
}
.resa-wizard .hebe-formule.hebe-formule-derogatoire {
  border-style: dashed;
}
.resa-wizard .hebe-formule.hebe-formule-derogatoire:has(input:checked) {
  border-style: solid;
}
.resa-wizard .hebe-formule-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.resa-wizard .hebe-formule-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.resa-wizard .hebe-formule-head i {
  color: var(--r-accent);
  font-size: 13px;
}
.resa-wizard .hebe-formule-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--r-ink);
  flex: 1;
}
.resa-wizard .hebe-formule-desc {
  font-size: 12px;
  color: var(--r-muted);
  line-height: 1.45;
}
.resa-wizard .hebe-formule-price {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--r-ink);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.resa-wizard .hebe-formule-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: var(--r-warn);
  background: #fef6ee;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
}
.resa-wizard .hebe-formule-note i {
  font-size: 10px;
  color: var(--r-warn);
}
.resa-wizard .hebe-formule-detail {
  list-style: none;
  padding: 8px 0 0;
  margin: 6px 0 0;
  border-top: 1px dashed var(--r-line-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11.5px;
  color: var(--r-muted);
  font-variant-numeric: tabular-nums;
}
.resa-wizard .hebe-formule-detail li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
  text-transform: capitalize;
}
.resa-wizard .hebe-formule-detail li i {
  font-size: 10px;
}
.resa-wizard .hebe-resto {
  padding-top: 16px;
  border-top: 1px solid var(--r-line-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resa-wizard .hebe-resto-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--r-muted);
}
.resa-wizard .hebe-resto-label i {
  color: var(--r-accent);
}
.resa-wizard .hebe-resto-empty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fafbfc;
  border: 1px solid var(--r-line);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--r-muted);
}
.resa-wizard .hebe-resto-empty i {
  color: var(--r-accent);
}
.resa-wizard .hint.hint-warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: var(--r-ink);
  border-left: 3px solid #f59e0b;
}
.resa-wizard .hint.hint-warn i {
  color: #d97706;
  font-size: 16px;
}
.resa-wizard .hint.hint-warn strong {
  color: var(--r-ink);
  font-weight: 600;
}
.resa-wizard .hint.hint-warn .sub {
  color: var(--r-muted);
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.5;
}
.resa-wizard .hebe-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.resa-wizard .hebe-card {
  border: 1px solid var(--r-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
}
.resa-wizard .hebe-card:hover {
  border-color: var(--r-muted-2);
}
.resa-wizard .hebe-card.sel, .resa-wizard .hebe-card.is-selected {
  border-color: var(--r-accent) !important;
  box-shadow: 0 0 0 3px rgba(6, 118, 71, 0.15) !important;
}
.resa-wizard .hebe-card.disabled, .resa-wizard .hebe-card.is-unavailable {
  opacity: 0.5;
  cursor: not-allowed;
}
.resa-wizard .hebe-card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.resa-wizard .hebe-card h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--r-ink);
  margin: 0;
}
.resa-wizard .hebe-card .tag {
  font-size: 11px;
  color: var(--r-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.resa-wizard .hebe-card .desc {
  font-size: 12.5px;
  color: var(--r-muted);
  line-height: 1.5;
  flex: 1;
}
.resa-wizard .hebe-card .feats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.resa-wizard .hebe-card .price {
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--r-ink);
}
.resa-wizard .hebe-card .price-sub {
  font-size: 11px;
  color: var(--r-muted);
}
.resa-wizard .hebe-card-img {
  width: 100%;
  height: 140px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  background: var(--r-line-2);
  border-bottom: 1px solid var(--r-line-2);
}
.resa-wizard .hebe-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.resa-wizard .hebe-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.resa-wizard .hebe-card-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--r-line-2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: #fafbfc;
  gap: 8px;
}
.resa-wizard .hebe-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 10px, #e2e8f0 10px, #e2e8f0 20px);
  color: var(--r-muted);
  font-size: 2.5rem;
}
.resa-wizard .hebe-card-details-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--r-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  z-index: 5;
  transition: background 150ms ease, box-shadow 150ms ease;
}
.resa-wizard .hebe-card-details-btn:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.resa-wizard .conf-rows {
  display: flex;
  flex-direction: column;
}
.resa-wizard .conf-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--r-line-2);
  align-items: center;
}
.resa-wizard .conf-row:last-child {
  border-bottom: 0;
}
.resa-wizard .conf-k {
  font-size: 11.5px;
  color: var(--r-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
.resa-wizard .conf-v {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--r-ink);
}
.resa-wizard .conf-v .sub {
  color: var(--r-muted);
  font-weight: 400;
  margin-top: 2px;
  font-size: 12.5px;
}
.resa-wizard .conf-edit {
  font-size: 12.5px;
  color: var(--r-accent);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.resa-wizard .conf-edit:hover {
  text-decoration: underline;
}
.resa-wizard .conf-total {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--r-ink);
  color: #fff;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.resa-wizard .conf-total .l {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}
.resa-wizard .conf-total .a {
  font-family: inherit;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.resa-wizard .consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--r-line);
  border-radius: 10px;
  margin-top: 16px;
  cursor: pointer;
  user-select: none;
}
.resa-wizard .consent.on {
  background: var(--r-accent-50);
  border-color: var(--r-accent-100);
}
.resa-wizard .consent .cb {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--r-line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  background: #fff;
}
.resa-wizard .consent.on .cb {
  background: var(--r-accent);
  border-color: var(--r-accent);
  color: #fff;
}
.resa-wizard .consent p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.resa-wizard .consent p b {
  font-weight: 600;
}
.resa-wizard .consent .sub {
  color: var(--r-muted);
  font-size: 12px;
  margin-top: 3px;
}
.resa-wizard .hint {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  background: #EEF3FB;
  border: 1px solid #C9D8EC;
  border-radius: 16px;
  font-size: 13px;
  color: #26456F;
  line-height: 1.55;
}
.resa-wizard .hint i {
  color: #34508C;
  flex-shrink: 0;
  margin-top: 2px;
}
.resa-wizard .footbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--r-line);
  z-index: 1000;
  width: 100%;
}
.resa-wizard .footbar-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .resa-wizard .footbar-inner {
    padding: 12px 16px;
    gap: 12px;
  }
}
.resa-wizard .progress {
  flex: 0 0 220px;
}
.resa-wizard .progress .track {
  height: 6px;
  background: var(--r-line);
  border-radius: 6px;
  overflow: hidden;
}
.resa-wizard .progress .fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #1D2D5C, #6CC04A);
  transition: width 0.6s var(--r-ease);
  animation: r-draw-bar 0.8s var(--r-ease) backwards;
}
.resa-wizard .progress .txt {
  font-size: 11.5px;
  color: var(--r-muted);
  font-weight: 600;
  margin-top: 7px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 640px) {
  .resa-wizard .progress {
    flex: 1 1 100%;
  }
}
.resa-wizard .foot-total {
  font-size: 12px;
  color: var(--r-muted);
}
.resa-wizard .foot-total b {
  color: var(--r-ink);
  font-size: 18px;
  font-weight: 800;
  margin-left: 8px;
  letter-spacing: -0.01em;
}
.resa-wizard .foot-spacer {
  flex: 1;
}
.resa-wizard .foot-save {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #5A6273;
}
.resa-wizard .foot-save[data-etat=saved] {
  color: #2E5320;
}
.resa-wizard .foot-save[data-etat=saved] .foot-save-ic {
  background: #E7F5E0;
}
.resa-wizard .foot-save[data-etat=error] {
  color: #7A4A00;
}
.resa-wizard .foot-save[data-etat=error] .foot-save-ic {
  background: #FFF4E0;
}
.resa-wizard .foot-save[data-etat=saving] .foot-save-ic i {
  animation: r-save-spin 0.8s linear infinite;
}
.resa-wizard .foot-save[data-etat=idle] {
  font-weight: 600;
  color: var(--r-muted);
}
.resa-wizard .foot-save-ic {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  background: #EEF1F6;
  font-size: 11px;
}
.resa-wizard .foot-save-txt {
  min-width: 0;
}
.resa-wizard .foot-save-retry {
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  flex: none;
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid #F0C97A;
  background: #fff;
  color: #7A4A00;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
}
.resa-wizard .foot-save-retry:hover {
  background: #FFF4E0;
}
.resa-wizard .foot-save-retry[hidden] {
  display: none;
}
.resa-wizard .resa-reprise {
  max-width: 1600px;
  width: calc(100% - 80px);
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #EEF3FC;
  border: 1.5px solid #C5D5F0;
  animation: r-rise 0.35s ease backwards;
}
.resa-wizard .resa-reprise[hidden] {
  display: none;
}
.resa-wizard .resa-reprise:not([hidden]) + .resa-main {
  padding-top: 20px;
}
@media (max-width: 640px) {
  .resa-wizard .resa-reprise {
    width: calc(100% - 32px);
  }
}
.resa-wizard .resa-reprise-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  flex: none;
  display: grid;
  place-items: center;
  background: #34508C;
  color: #fff;
  font-size: 15px;
}
.resa-wizard .resa-reprise-txt {
  flex: 1;
  min-width: 0;
}
.resa-wizard .resa-reprise-txt .t {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.resa-wizard .resa-reprise-txt .s {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #3E4A6B;
}
.resa-wizard .resa-reprise-x {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: none;
  cursor: pointer;
  border: none;
  background: rgba(52, 80, 140, 0.12);
  color: #27437E;
}
.resa-wizard .resa-reprise-x:hover {
  background: rgba(52, 80, 140, 0.2);
}
.resa-wizard .resa-reprise-x:focus-visible {
  outline: none;
  box-shadow: var(--r-focus);
}
.resa-wizard .foot-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.resa-wizard .divider {
  height: 1px;
  background: var(--r-line-2);
  margin: 16px 0;
}
.resa-wizard .hotel-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.resa-wizard .hotel-modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.resa-wizard .hotel-modal-gallery {
  height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background: var(--r-line-2);
}
.resa-wizard .hotel-modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.resa-wizard .hotel-modal-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--r-line-2);
  color: var(--r-muted);
  font-size: 3rem;
}
.resa-wizard .carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.resa-wizard .carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.resa-wizard .carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.resa-wizard .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.resa-wizard .carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.resa-wizard .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--r-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 150ms, box-shadow 150ms, transform 150ms;
  z-index: 10;
}
.resa-wizard .carousel-btn:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.05);
}
.resa-wizard .carousel-prev {
  left: 10px;
}
.resa-wizard .carousel-next {
  right: 10px;
}
.resa-wizard .carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.resa-wizard .carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 150ms ease;
  padding: 0;
}
.resa-wizard .carousel-dot.is-active {
  background: #fff;
  width: 20px;
  border-radius: 99px;
}
.resa-wizard .carousel-counter {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  z-index: 10;
  backdrop-filter: blur(4px);
}
.resa-wizard .carousel-counter .carousel-current {
  font-weight: 700;
}
.resa-wizard .hotel-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 10;
  transition: background 150ms ease;
}
.resa-wizard .hotel-modal-close:hover {
  background: rgba(0, 0, 0, 0.65);
}
.resa-wizard .hotel-modal-body {
  padding: 1.5rem;
}
.resa-wizard .hotel-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}
.resa-wizard .hotel-modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--r-ink);
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}
.resa-wizard .hotel-modal-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
}
.resa-wizard .hotel-modal-infos {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--r-line);
}
.resa-wizard .hotel-modal-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--r-muted);
}
.resa-wizard .hotel-modal-info-item i {
  color: var(--r-accent);
  font-size: 12px;
  width: 14px;
  text-align: center;
}
.resa-wizard .hotel-modal-info-item a {
  color: var(--r-accent);
  text-decoration: none;
}
.resa-wizard .hotel-modal-info-item a:hover {
  text-decoration: underline;
}
.resa-wizard .hotel-modal-section {
  margin-bottom: 1.25rem;
}
.resa-wizard .hotel-modal-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  color: var(--r-muted);
  margin-bottom: 8px;
}
.resa-wizard .hotel-modal-desc {
  font-size: 13px;
  color: var(--r-muted);
  line-height: 1.6;
  margin: 0;
}
.resa-wizard .hotel-modal-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.resa-wizard .hotel-modal-cat {
  background: var(--r-line-2);
  border: 1px solid var(--r-line);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .hotel-modal-loading {
  text-align: center;
  padding: 3rem;
  color: var(--r-muted);
  font-size: 14px;
}
.resa-wizard .hotel-modal-loading i {
  margin-right: 8px;
}
.resa-wizard .leaflet-container {
  font-family: "Montserrat", system-ui, sans-serif !important;
  background: #f0f2f6;
  z-index: 1 !important;
}
.resa-wizard .leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}
.resa-wizard .leaflet-marker-pane,
.resa-wizard .leaflet-marker-pane > * {
  z-index: 600;
}
.resa-wizard .map-marker-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  pointer-events: auto;
}
.resa-wizard .map-marker-label {
  background: #fff;
  border: 1px solid var(--r-line);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--r-ink);
  white-space: nowrap;
  margin-bottom: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.resa-wizard .map-marker-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--marker-color, var(--r-accent));
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
}
.resa-wizard .map-marker-wrapper.is-selected .map-marker-dot {
  transform: scale(1.25);
}

/* ── Bandeau marine (en-tête + stepper) ─────────────────────────── */
.resa-wizard-top {
  background: transparent;
  /* Reprise : « Déjà rempli », « Vous êtes ici », « À faire » sous le nom de l'étape. */
}
.resa-wizard-top .stepper {
  max-width: 1680px;
  margin: 0 auto;
  padding: 26px 40px 0;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  overflow: hidden;
}
.resa-wizard-top .step {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  padding: 0 0 16px;
  text-decoration: none;
  cursor: default;
  color: #8E9AC2;
  font-size: 12.5px;
  font-weight: 600;
  transition: opacity 0.3s;
}
.resa-wizard-top .step.disabled {
  opacity: 0.35;
}
.resa-wizard-top .step.done {
  color: #E6EAF5;
}
.resa-wizard-top .step.active {
  color: #fff;
  font-weight: 800;
}
.resa-wizard-top .step.done:hover .step-label {
  color: #fff;
}
.resa-wizard-top a.step {
  cursor: pointer;
}
.resa-wizard-top .step-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.resa-wizard-top .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #C7CEE3;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.resa-wizard-top .dot i {
  font-size: 10px;
}
.resa-wizard-top .step.done .dot {
  background: #6CC04A;
  border-color: #6CC04A;
  color: #0E2A12;
}
.resa-wizard-top .step.active .dot {
  background: #fff;
  border-color: #fff;
  color: #1D2D5C;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.18);
}
.resa-wizard-top .step-txt {
  min-width: 0;
  display: block;
}
.resa-wizard-top .step-label {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.resa-wizard-top .step-tag {
  display: block;
  margin-top: 1px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #8E9AC2;
}
.resa-wizard-top .step.done .step-tag {
  color: #A9DC93;
}
.resa-wizard-top .step.active .step-tag {
  color: #fff;
}
.resa-wizard-top .step-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.35s;
}
.resa-wizard-top .step.done .step-bar {
  background: rgba(108, 192, 74, 0.45);
}
.resa-wizard-top .step.active .step-bar {
  background: #6CC04A;
}
@media (max-width: 860px) {
  .resa-wizard-top .stepper {
    padding: 20px 16px 0;
  }
  .resa-wizard-top .step {
    min-width: 32px;
  }
  .resa-wizard-top .step-label, .resa-wizard-top .step-tag {
    display: none;
  }
  .resa-wizard-top .step.active .step-label {
    display: inline;
  }
  .resa-wizard-top .step.active {
    flex: 2 1 0;
  }
}

@keyframes r-step-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes r-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes r-pop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  70% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes r-dd-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes r-draw-bar {
  from {
    width: 0;
  }
}
@keyframes r-save-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .resa-wizard *, .resa-wizard *::before, .resa-wizard *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Tunnel de réservation — refonte Claude Design (campus_formation). Scope : .resa-wizard. */
.resa-wizard {
  /* ── Étape 1 · Campus : grille de cartes + carte Leaflet à droite ── */
  /* Mini-carte SVG (maquette) : silhouette pâle, points verts (sur site) / marine (partenaires). */
  /* ── Étape 2 · Formation / visiteur ── */
  /* ── Étape 8 · Confirmation ── */
}
.resa-wizard .step1-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  min-height: 0;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
}
.resa-wizard .step1-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 0;
  background: none;
  border: 0;
  overflow: visible;
  max-height: none;
}
.resa-wizard .step1-left .search-box .search-icon {
  left: 18px;
  font-size: 16px;
}
.resa-wizard .step1-left .search-box input.input {
  height: 52px;
  border-radius: 14px;
  padding-left: 48px !important;
  font-size: 14.5px;
}
.resa-wizard .campus-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.resa-wizard .campus-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 20px 20px 18px;
  border: 1.5px solid var(--r-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s var(--r-ease), transform 0.25s var(--r-ease), box-shadow 0.25s var(--r-ease), background 0.25s;
}
.resa-wizard .campus-item:hover {
  border-color: var(--r-accent);
  transform: translateY(-2px);
}
.resa-wizard .campus-item:focus-visible {
  outline: none;
  border-color: var(--r-accent);
  box-shadow: var(--r-focus);
}
.resa-wizard .campus-item.sel {
  border-color: var(--r-green);
  background: var(--r-accent-50);
  box-shadow: 0 12px 30px rgba(108, 192, 74, 0.18);
  transform: translateY(-2px);
}
.resa-wizard .campus-item .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.resa-wizard .campus-item .campus-name {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--r-ink-2);
  line-height: 1.3;
}
.resa-wizard .campus-item .reg {
  display: block;
  font-size: 12.5px;
  color: var(--r-muted);
  margin-top: 3px;
}
.resa-wizard .campus-item .feat {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.resa-wizard .campus-tag {
  flex-shrink: 0;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.resa-wizard .campus-tag.is-onsite {
  background: #E8F5E1;
  color: #2F7A1A;
}
.resa-wizard .campus-tag.is-partner {
  background: #EEF3FB;
  color: #34508C;
}
.resa-wizard .campus-fact {
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--r-line-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--r-label);
}
.resa-wizard .campus-check {
  position: absolute;
  top: -9px;
  right: 16px;
  display: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--r-green);
  color: var(--r-green-dark);
  font-size: 12px;
  box-shadow: 0 4px 10px rgba(108, 192, 74, 0.4);
}
.resa-wizard .campus-item.sel .campus-check {
  display: grid;
  animation: r-pop 0.4s var(--r-ease);
}
.resa-wizard .campus-empty {
  grid-column: 1/-1;
  padding: 18px;
  border: 1.5px dashed var(--r-line);
  border-radius: 18px;
  color: var(--r-muted);
  text-align: center;
  font-size: 13px;
}
.resa-wizard .step1-right {
  position: sticky;
  top: calc(var(--public-header-h) + 24px);
  min-height: 0;
  overflow: visible;
  padding: 18px;
  border: 1.5px solid var(--r-line);
  border-radius: 18px;
  background: #fff;
}
.resa-wizard .campus-map-title {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--r-muted);
}
.resa-wizard .campus-map-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.resa-wizard .campus-map-land {
  fill: #EEF2F8;
  stroke: #D5DCE8;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.resa-wizard .map-marker-wrapper {
  cursor: pointer;
  --pin: #1D2D5C;
}
.resa-wizard .map-marker-wrapper.is-onsite {
  --pin: #6CC04A;
}
.resa-wizard .map-marker-wrapper .ring {
  fill: var(--pin);
  opacity: 0.18;
  transition: r 0.3s;
}
.resa-wizard .map-marker-wrapper .pin {
  fill: var(--pin);
  stroke: #fff;
  stroke-width: 2;
  transition: r 0.3s;
}
.resa-wizard .map-marker-wrapper text {
  font-family: "Montserrat", sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  fill: #1D2D5C;
}
.resa-wizard .map-marker-wrapper:hover .pin {
  r: 6;
}
.resa-wizard .map-marker-wrapper.is-selected .pin {
  r: 7;
}
.resa-wizard .map-marker-wrapper.is-selected .ring {
  r: 12;
  opacity: 0.25;
}
.resa-wizard .map-marker-wrapper.is-selected text {
  font-weight: 800;
}
.resa-wizard .campus-map-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--r-muted);
}
.resa-wizard .campus-map-legend > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.resa-wizard .campus-map-legend .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.resa-wizard .campus-map-legend .dot.is-onsite {
  background: #6CC04A;
}
.resa-wizard .campus-map-legend .dot.is-partner {
  background: #1D2D5C;
}
@media (max-width: 860px) {
  .resa-wizard .step1-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .resa-wizard .step1-left {
    max-height: none;
    border-bottom: 0;
  }
  .resa-wizard .step1-right {
    position: static;
  }
  .resa-wizard .campus-map-svg {
    max-width: 320px;
    margin: 0 auto;
  }
}
.resa-wizard .seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 520px;
  padding: 5px;
  border-radius: 14px;
  background: var(--r-line-2);
}
.resa-wizard .seg-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 10px;
  background: var(--r-accent);
  box-shadow: 0 6px 16px rgba(29, 45, 92, 0.25);
  transition: left 0.35s var(--r-ease);
}
.resa-wizard .seg.is-visiteur .seg-thumb {
  left: 50%;
}
.resa-wizard .seg-opt {
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.resa-wizard .seg-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.resa-wizard .seg-opt > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  color: var(--r-muted);
  transition: color 0.3s;
}
.resa-wizard .seg-opt:hover > span {
  color: var(--r-accent);
}
.resa-wizard .seg-opt input:checked + span {
  color: #fff;
}
.resa-wizard .seg-opt input:focus-visible + span {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--r-accent);
}
.resa-wizard .step2-block {
  margin-top: 28px;
  animation: r-rise 0.35s ease backwards;
}
.resa-wizard .field .req {
  color: var(--r-green-ink);
}
.resa-wizard input.input.input-code {
  max-width: 420px;
  height: 52px;
  border-radius: 14px;
  padding: 0 18px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--r-ink-2);
}
.resa-wizard input.input.input-code::placeholder {
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}
.resa-wizard .formation-found {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--r-accent-100);
  border-radius: 14px;
  background: #F0FAEC;
  animation: r-rise 0.3s ease backwards;
}
.resa-wizard .formation-found .ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--r-green);
  color: var(--r-green-dark);
}
.resa-wizard .formation-found .t {
  font-size: 14px;
  font-weight: 700;
  color: var(--r-ink-2);
}
.resa-wizard .formation-found .m {
  font-size: 12.5px;
  color: #4F6B3F;
  margin-top: 2px;
}
.resa-wizard .step2-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--r-muted);
}
.resa-wizard .step2-note i {
  color: var(--r-accent);
}
.resa-wizard .step2-visiteur-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
}
.resa-wizard .step2-visiteur-grid .is-full {
  grid-column: 1/-1;
}
@media (max-width: 640px) {
  .resa-wizard .step2-visiteur-grid {
    grid-template-columns: 1fr;
  }
  .resa-wizard .seg-opt > span {
    font-size: 12.5px;
    padding: 0 8px;
  }
}
.resa-wizard .conf-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.resa-wizard .conf-card {
  overflow: hidden;
}
.resa-wizard .conf-row {
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 0;
  border-top: 1px solid var(--r-line-2);
}
.resa-wizard .conf-row:first-child {
  border-top: 0;
}
.resa-wizard .conf-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--r-muted);
}
.resa-wizard .conf-v {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--r-ink);
}
.resa-wizard .conf-v .sub {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--r-muted);
  margin-top: 2px;
}
.resa-wizard .conf-v .mono {
  letter-spacing: 0.03em;
}
.resa-wizard .conf-edit {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--r-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.resa-wizard .conf-edit:hover {
  background: var(--r-line-2);
}
.resa-wizard .conf-edit:focus-visible {
  outline: none;
  box-shadow: var(--r-focus);
}
@media (max-width: 640px) {
  .resa-wizard .conf-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 4px;
    padding: 16px 20px;
  }
  .resa-wizard .conf-row .conf-k {
    grid-column: 1;
    grid-row: 1;
  }
  .resa-wizard .conf-row .conf-v {
    grid-column: 1;
    grid-row: 2;
  }
  .resa-wizard .conf-row .conf-edit, .resa-wizard .conf-row > span:last-child {
    grid-column: 2;
    grid-row: 1/span 2;
  }
}
.resa-wizard .conf-extra {
  padding: 26px;
}
.resa-wizard .conf-extra-title {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 800;
  color: var(--r-ink-2);
}
.resa-wizard .conf-extra-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resa-wizard .conf-extra-list .r-toggle-row {
  padding: 14px 18px;
  border-radius: 14px;
}
.resa-wizard .conf-extra-list .r-toggle-title {
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.resa-wizard .conf-extra-list .r-toggle-title i {
  color: var(--r-accent);
  width: 16px;
  text-align: center;
}
.resa-wizard .conf-extra-list .r-toggle-sub {
  display: block;
  font-size: 12px;
}
.resa-wizard .conf-extra-list .r-toggle-row:has(input:checked) {
  background: var(--r-accent-50);
  border-color: var(--r-accent-100);
}
.resa-wizard .conf-extra-list .field {
  margin-top: 4px;
}
@media (max-width: 640px) {
  .resa-wizard .conf-extra {
    padding: 20px;
  }
}

/* ── Étape 8 · alignement maquette ── */
.resa-wizard {
  /* Détail EPI : visible seulement si l'EPI est demandé ou si un texte est déjà saisi. */
}
.resa-wizard .conf-card {
  padding: 0;
}
.resa-wizard .conf-card .conf-rows {
  padding: 0;
  gap: 0;
}
.resa-wizard .conf-card .conf-row {
  margin: 0;
  border-radius: 0;
}
.resa-wizard .conf-card .conf-row + .conf-row {
  border-top: 1px solid var(--r-line-2);
}
.resa-wizard .conf-v {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--r-ink);
}
.resa-wizard .conf-extra:not(:has(input[name=epi_pret]:checked)) .conf-epi-detail.is-empty {
  display: none;
}
.resa-wizard .conf-epi-detail {
  animation: r-rise 0.3s ease backwards;
}

/* Tunnel de réservation — refonte Claude Design (stagiaire_trajets). Scope : .resa-wizard. */
.resa-wizard {
  /* ══ Étape 3 · Stagiaire ═════════════════════════════════════ */
  /* Recherche annuaire : champ 52px, la liste s'ancre sous le champ. */
  /* Liste de résultats (HTML généré par stagiaire_search_controller). */
  /* Avatars teintés en alternance, comme la maquette. */
  /* « Introuvable ? Créer un nouveau stagiaire » : dernière ligne de la liste de résultats (maquette). */
  /* Carte du stagiaire sélectionné (HTML généré en JS). */
  /* Formulaire « Nouveau stagiaire ». */
  /* Ligne PMR : pastille marine + interrupteur. */
  /* ══ Étape 4 · Trajets ═══════════════════════════════════════ */
  /* Bandeau « Type de séjour déduit ». */
  /* Cartes trajet numérotées (le numéro suit l'ordre DOM, sans JS). */
  /* Sens aller / retour. */
  /* Repère d'horaire : hors de la casse majuscule du titre, il doit se lire comme une phrase. */
  /* Legs (correspondances) : une ligne sur fond doux. */
  /* Heure tapée au clavier (contrôleur saisie-heure) : horloge à gauche, chiffres en mono, aide
     au focus. Le conteneur porte .lg-time pour garder sa place dans la grille de la ligne. */
  /* Ajouter un trajet : bouton pointillé marine. */
  /* Auto-complétion gares/aéroports (HTML généré par gare_autocomplete_controller, option badges) :
     même liste que la maquette — pastille de type, nom marine en gras, ville en gris à droite. */
  /* Capture Trips (repli, masquée par défaut). */
  /* Une colonne sous 860px : la ligne de leg passe en grille à zones. */
}
.resa-wizard .stag-wrap {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.resa-wizard .stag-search {
  position: relative;
}
.resa-wizard .stag-search .search-icon {
  left: 18px;
  font-size: 16px;
}
.resa-wizard .stag-search input.input {
  height: 52px;
  border-radius: 14px;
  padding: 0 44px 0 48px !important;
  font-size: 14.5px;
}
.resa-wizard .stag-spinner {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--r-muted-2);
}
.resa-wizard .stag-search .search-results-dropdown {
  top: 60px;
  z-index: 20;
  border: 1.5px solid var(--r-line);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20, 33, 71, 0.16);
  max-height: 360px;
  animation: r-dd-in 0.22s ease backwards;
}
.resa-wizard .stag-search .search-result-item {
  gap: 14px;
  padding: 13px 16px;
  border-bottom: 0;
  border-top: 1px solid var(--r-line-2);
  transition: background 0.15s;
}
.resa-wizard .stag-search .search-result-item:first-child {
  border-top: 0;
}
.resa-wizard .stag-search .search-result-item:hover, .resa-wizard .stag-search .search-result-item.highlighted {
  background: #F4F8F1;
}
.resa-wizard .stag-search .search-result-item.highlighted {
  box-shadow: inset 3px 0 0 var(--r-green);
}
.resa-wizard .stag-search .search-result-item > div:last-child:not(.search-result-info) {
  color: var(--r-muted-2) !important;
  font-weight: 600;
}
.resa-wizard .stag-search .search-result-avatar {
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  background: var(--r-accent);
}
.resa-wizard .stag-search .search-result-item:nth-child(4n+2) .search-result-avatar {
  background: var(--r-green-ink);
}
.resa-wizard .stag-search .search-result-item:nth-child(4n+3) .search-result-avatar {
  background: #34508C;
}
.resa-wizard .stag-search .search-result-item:nth-child(4n+4) .search-result-avatar {
  background: var(--r-warn);
}
.resa-wizard .stag-search .search-result-name {
  font-weight: 700;
  color: var(--r-ink-2);
}
.resa-wizard .stag-search .search-result-meta {
  gap: 4px 10px;
}
.resa-wizard .stag-search .search-result-meta .badge-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--r-green-ink);
  background: none;
  padding: 0;
}
.resa-wizard .stag-search .search-no-result {
  padding: 22px 20px;
  color: var(--r-muted);
}
.resa-wizard .stag-search .search-no-result span {
  font-size: 14px;
  font-weight: 700;
  color: var(--r-ink-2);
}
.resa-wizard .stag-search .search-no-result .btn {
  margin-top: 6px;
  height: 38px;
  padding: 0 14px;
  font-size: 12.5px;
  background: #fff;
  color: var(--r-accent);
  border: 1.5px dashed var(--r-accent);
  border-radius: 10px;
}
.resa-wizard .stag-search .search-no-result .btn:hover {
  background: var(--r-line-2);
}
.resa-wizard .search-result-create {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 0;
  border-top: 1px solid var(--r-line);
  background: var(--r-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--r-accent);
  text-align: left;
  cursor: pointer;
}
.resa-wizard .search-result-create:hover {
  background: var(--r-line-2);
}
.resa-wizard .search-result-create:focus-visible {
  outline: none;
  box-shadow: inset var(--r-focus);
}
.resa-wizard .search-result-create-ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1.5px dashed var(--r-accent);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.resa-wizard .stagiaire-selected-card {
  margin-top: 0;
  border: 1.5px solid var(--r-accent-100);
  border-radius: 18px;
  box-shadow: none;
  animation: r-rise 0.35s ease backwards;
}
.resa-wizard .stagiaire-selected-header {
  background: linear-gradient(135deg, #1D2D5C, #2A4080);
  padding: 20px 22px;
  gap: 16px;
}
.resa-wizard .stagiaire-selected-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 0;
  background: var(--r-green);
  color: var(--r-green-dark);
  font-size: 18px;
  font-weight: 800;
}
.resa-wizard .stagiaire-selected-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.resa-wizard .stagiaire-selected-meta {
  margin-top: 5px;
}
.resa-wizard .stagiaire-selected-badge {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: #C7CEE3;
  font-size: 11.5px;
}
.resa-wizard .stagiaire-selected-change {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
}
.resa-wizard .stagiaire-selected-change:hover {
  background: rgba(255, 255, 255, 0.22);
}
.resa-wizard .stagiaire-selected-change:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}
.resa-wizard .stagiaire-selected-body {
  padding: 20px 22px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
@media (max-width: 640px) {
  .resa-wizard .stagiaire-selected-body {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .stagiaire-info-item {
  gap: 4px;
}
.resa-wizard .stagiaire-info-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--r-muted-2);
}
.resa-wizard .stagiaire-info-value {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--r-ink);
}
.resa-wizard .stagiaire-new-form {
  border-top: 1px solid var(--r-line);
  padding-top: 22px;
  animation: r-rise 0.35s ease backwards;
}
.resa-wizard .stag-new-title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 800;
  color: var(--r-ink-2);
}
.resa-wizard .stag-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.resa-wizard .stag-new-grid .input {
  height: 46px;
  font-size: 13.5px;
  padding: 0 14px;
}
.resa-wizard .stag-new-grid select.input {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.resa-wizard .stag-new-grid .input:disabled {
  background-color: var(--r-soft);
  color: var(--r-muted-2);
  cursor: not-allowed;
}
.resa-wizard .stag-new-hint {
  margin-top: 16px;
}
.resa-wizard .stag-pmr {
  padding: 18px 20px;
}
.resa-wizard .stag-pmr .r-toggle-title, .resa-wizard .stag-pmr .r-toggle-sub {
  display: block;
}
.resa-wizard .stag-pmr:has(input:focus-visible) {
  border-color: var(--r-accent);
}
.resa-wizard .stag-pmr-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.resa-wizard .stag-pmr-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--r-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
}
.resa-wizard .thr-type {
  gap: 14px;
  padding: 16px 20px;
  margin-bottom: 16px;
  border-radius: 16px;
  border: 1.5px solid var(--r-line);
  background: #fff;
}
.resa-wizard .thr-type .thr-type-ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #F0FAEC;
  display: grid;
  place-items: center;
}
.resa-wizard .thr-type .thr-type-ico i {
  font-size: 17px;
  color: var(--r-green-ink);
}
.resa-wizard .thr-type .thr-type-txt {
  flex: 1;
  min-width: 0;
}
.resa-wizard .thr-type .thr-type-lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--r-muted-2);
}
.resa-wizard .thr-type .thr-type-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--r-ink-2);
  margin-top: 2px;
}
.resa-wizard .thr-type .thr-type-hint {
  margin-left: 0;
  font-size: 12.5px;
  color: var(--r-muted);
}
.resa-wizard .thr-type.thr-type-court {
  border-color: var(--r-line);
  background: #fff;
}
.resa-wizard .thr-type.thr-type-court .thr-type-ico {
  background: var(--r-line-2);
}
.resa-wizard .thr-type.thr-type-court .thr-type-ico i {
  color: var(--r-accent);
}
@media (max-width: 640px) {
  .resa-wizard .thr-type {
    flex-wrap: wrap;
  }
  .resa-wizard .thr-type .thr-type-hint {
    width: 100%;
  }
}
.resa-wizard [data-manual-trajets-target=rows] {
  counter-reset: trj;
}
.resa-wizard .mt-row {
  counter-increment: trj;
  margin-top: 0;
  margin-bottom: 16px;
  animation: r-rise 0.35s ease backwards;
}
.resa-wizard .mt-row > .card-pad {
  padding: 26px;
}
.resa-wizard .mt-capture form {
  counter-reset: trjc;
}
.resa-wizard .trj-card {
  counter-increment: trjc;
}
.resa-wizard .trj-head {
  margin-bottom: 20px;
  gap: 12px;
}
.resa-wizard .trj-idx {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--r-ink-2);
}
.resa-wizard .trj-idx::before {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--r-accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.resa-wizard .mt-row .trj-idx::before {
  content: counter(trj);
}
.resa-wizard .trj-card .trj-idx::before {
  content: counter(trjc);
}
.resa-wizard .trj-remove {
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 8px;
}
.resa-wizard .trj-remove:hover {
  background: #FBE9E7;
}
.resa-wizard .trj-remove:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 58, 54, 0.2);
}
.resa-wizard .mt-sens-gap {
  margin-top: 18px;
}
.resa-wizard .mt-leg-h {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.resa-wizard .mt-leg-arr {
  color: #34508C;
}
.resa-wizard .mt-leg-dep {
  color: var(--r-warn);
}
.resa-wizard .mt-leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.resa-wizard .mt-leg-rep {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 11.5px;
  color: var(--r-muted-2);
  margin-left: 6px;
}
.resa-wizard .leg-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resa-wizard .leg-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--r-soft);
  border: 1px solid #E9EDF4;
}
.resa-wizard .leg-num {
  min-width: 54px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--r-muted-2);
}
.resa-wizard .leg-num:empty {
  display: none;
}
.resa-wizard .leg-row .form-control {
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--r-line);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  color: var(--r-ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.resa-wizard .leg-row .form-control::placeholder {
  color: var(--r-muted-2);
}
.resa-wizard .leg-row .form-control:hover {
  border-color: #C7CEE3;
}
.resa-wizard .leg-row .form-control:focus {
  outline: none;
  border-color: var(--r-accent);
  box-shadow: var(--r-focus);
}
.resa-wizard .leg-row .lg-date {
  width: 150px;
  flex: 0 0 auto;
  font-weight: 600;
}
.resa-wizard .leg-row .lg-time {
  width: 110px;
  flex: 0 0 auto;
  padding: 0 8px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
}
.resa-wizard .leg-row .lg-heure {
  position: relative;
  display: block;
  padding: 0;
}
.resa-wizard .leg-row .lg-heure .form-control {
  width: 100%;
  padding: 0 8px 0 30px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.resa-wizard .leg-row .lg-heure .lg-heure-ic {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--r-muted-2);
  pointer-events: none;
  transition: color 0.2s;
}
.resa-wizard .leg-row .lg-heure .lg-heure-aide {
  position: absolute;
  left: 50%;
  top: calc(100% + 6px);
  z-index: 5;
  transform: translate(-50%, -3px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--r-accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(29, 45, 92, 0.18);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.resa-wizard .leg-row .lg-heure .lg-heure-aide-ko {
  display: none;
}
.resa-wizard .leg-row .lg-heure:focus-within .lg-heure-ic {
  color: var(--r-accent);
}
.resa-wizard .leg-row .lg-heure:focus-within .lg-heure-aide {
  opacity: 1;
  transform: translate(-50%, 0);
}
.resa-wizard .leg-row .lg-heure.is-ok .lg-heure-ic {
  color: var(--r-green-ink);
}
.resa-wizard .leg-row .lg-heure.is-ko .form-control {
  border-color: var(--r-danger);
  background: #FFF6F5;
}
.resa-wizard .leg-row .lg-heure.is-ko .lg-heure-ic {
  color: var(--r-danger);
}
.resa-wizard .leg-row .lg-heure.is-ko .lg-heure-aide {
  background: var(--r-danger);
}
.resa-wizard .leg-row .lg-heure.is-ko .lg-heure-aide-n {
  display: none;
}
.resa-wizard .leg-row .lg-heure.is-ko .lg-heure-aide-ko {
  display: inline;
}
@media (prefers-reduced-motion: reduce) {
  .resa-wizard .leg-row .lg-heure .lg-heure-aide {
    transition: none;
  }
}
.resa-wizard .leg-row .lg-gare {
  flex: 1 1 150px;
  min-width: 130px;
}
.resa-wizard .leg-row .lg-train {
  width: 120px;
  flex: 0 0 auto;
  padding: 0 10px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
}
.resa-wizard .leg-row input[type=date]::-webkit-calendar-picker-indicator,
.resa-wizard .leg-row input[type=time]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.55;
}
.resa-wizard .lg-arw {
  flex: 0 0 auto;
  color: #B5BCCA;
  font-size: 14px;
}
.resa-wizard .leg-rm {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #B5BCCA;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s, color 0.15s;
}
.resa-wizard .leg-rm:hover {
  color: var(--r-danger);
  background: #FBE9E7;
}
.resa-wizard .leg-rm:focus-visible {
  outline: none;
  box-shadow: var(--r-focus);
}
.resa-wizard .lg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.resa-wizard .lg-actions .btn {
  height: 36px;
  padding: 0 12px;
  font-size: 12.5px;
  border-radius: 10px;
}
.resa-wizard .lg-actions:empty {
  display: none;
}
.resa-wizard .trj-add {
  height: 44px;
  padding: 0 18px;
  margin: 0 0 16px;
  border: 1.5px dashed var(--r-accent);
  border-radius: 12px;
  color: var(--r-accent);
}
.resa-wizard .trj-add i {
  margin-right: 0;
}
.resa-wizard .trj-add:hover {
  background: var(--r-line-2);
  border-color: var(--r-accent);
}
.resa-wizard .trj-add:focus-visible {
  outline: none;
  box-shadow: var(--r-focus);
}
.resa-wizard .gare-ac-list {
  position: fixed;
  z-index: 1200;
  width: 340px;
  max-width: 86vw;
  max-height: 262px;
  margin-top: 0;
  padding: 6px;
  background: #fff;
  border: 1.5px solid var(--r-line);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  animation: r-dd-in 0.2s ease backwards;
}
.resa-wizard .gare-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.resa-wizard .gare-ac-item:hover, .resa-wizard .gare-ac-item.is-active {
  background: var(--r-line-2);
}
.resa-wizard .gare-ac-badge {
  flex: 0 0 auto;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: #34508C;
}
.resa-wizard .gare-ac-badge.gare-ac-badge-aeroport {
  background: #7E22CE;
}
.resa-wizard .gare-ac-badge.gare-ac-badge-campus {
  background: #1D2D5C;
}
.resa-wizard .gare-ac-nom {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--r-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resa-wizard .gare-ac-sub {
  /* La ville cède la place au nom quand la ligne est trop étroite. */
  flex: 0 3 auto;
  max-width: 38%;
  margin-left: auto;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--r-muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resa-wizard .gare-ac-empty {
  padding: 11px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--r-muted);
}
.resa-wizard .mt-capture {
  margin-top: 18px;
}
.resa-wizard .mt-capture > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: var(--r-radius-lg);
}
.resa-wizard .mt-capture > summary::-webkit-details-marker {
  display: none;
}
.resa-wizard .mt-capture > summary:focus-visible {
  outline: none;
  box-shadow: var(--r-focus);
}
.resa-wizard .trj-mode {
  border-radius: 12px;
}
.resa-wizard .trj-mode input {
  accent-color: var(--r-green);
}
.resa-wizard .trj-mode:has(input:checked) {
  border-color: var(--r-green);
  background: var(--r-accent-50);
}
.resa-wizard .trj-mode:has(input:focus-visible) {
  box-shadow: var(--r-focus);
}
.resa-wizard .trj-field .form-control {
  height: 42px;
  border: 1.5px solid var(--r-line);
  border-radius: 10px;
}
.resa-wizard .trj-field .form-control:focus {
  outline: none;
  border-color: var(--r-accent);
  box-shadow: var(--r-focus);
}
@media (max-width: 860px) {
  .resa-wizard .mt-row > .card-pad {
    padding: 20px;
  }
  .resa-wizard .leg-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    grid-template-areas: "num num" "date date" "gd hd" "ga ha" "tr rm";
  }
  .resa-wizard .leg-row .leg-num {
    grid-area: num;
  }
  .resa-wizard .leg-row .lg-date {
    grid-area: date;
    width: 100%;
  }
  .resa-wizard .leg-row > :nth-child(3) {
    grid-area: gd;
  }
  .resa-wizard .leg-row > :nth-child(4) {
    grid-area: hd;
    width: 100%;
  }
  .resa-wizard .leg-row .lg-arw {
    display: none;
  }
  .resa-wizard .leg-row > :nth-child(6) {
    grid-area: ga;
  }
  .resa-wizard .leg-row > :nth-child(7) {
    grid-area: ha;
    width: 100%;
  }
  .resa-wizard .leg-row .lg-train {
    grid-area: tr;
    width: 100%;
  }
  .resa-wizard .leg-row .leg-rm {
    grid-area: rm;
    justify-self: end;
  }
  .resa-wizard .leg-row .lg-gare {
    min-width: 0;
  }
}

/* ── Étape 4 · alignement maquette : une ligne par leg, bandeau vert, note en texte simple ── */
.resa-wizard .thr-type.thr-type-court .thr-type-ico,
.resa-wizard .thr-type .thr-type-ico {
  background: #F0FAEC;
}
.resa-wizard .thr-type.thr-type-court .thr-type-ico i,
.resa-wizard .thr-type .thr-type-ico i {
  color: var(--r-green-ink);
}
@media (min-width: 861px) {
  .resa-wizard {
    /* Leg unique : le bouton « retirer » est masqué par le JS (visibility) — on libère sa colonne. */
  }
  .resa-wizard .leg-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 96px 24px minmax(0, 1fr) 96px 120px auto;
  }
  .resa-wizard .leg-row .lg-date, .resa-wizard .leg-row .lg-time, .resa-wizard .leg-row .lg-train {
    width: 100%;
    min-width: 0;
  }
  .resa-wizard .leg-row .lg-gare {
    min-width: 0;
  }
  .resa-wizard .leg-row .leg-num {
    grid-column: 1/-1;
  }
  .resa-wizard .leg-row .lg-arw {
    justify-self: center;
  }
  .resa-wizard .leg-rm[style*=hidden] {
    display: none;
  }
}
.resa-wizard .trj-remove {
  color: var(--r-danger);
}
.resa-wizard .trj-add-plus {
  font-size: 18px;
  line-height: 1;
}
.resa-wizard .trj-note {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--r-muted);
}

/* Tunnel de réservation — refonte Claude Design (dates_transferts). Scope : .resa-wizard. */
.resa-wizard {
  /* ══════════════════════════════════════════════════════════
     ÉTAPE 5 — Dates
     ══════════════════════════════════════════════════════════ */
  /* ══════════════════════════════════════════════════════════
     ÉTAPE 6 — Transferts
     ══════════════════════════════════════════════════════════ */
}
.resa-wizard .resa-dates {
  /* Erreurs de validation des dates */
  /* Barre haute : segmented type de séjour + flèches de mois */
  /* Segmented : fond doux, segment actif = curseur blanc */
  /* Description du type retenu + détection */
  /* Dates détectées / saisie libre + consigne */
  /* Double calendrier — HTML produit par wizard_calendar_controller.js
     (.month > .month-h h4, .wk, .days > .d[.out|.range|.start|.end|.single|.pending]) */
  /* Bandeau Arrivée / Départ / Durée */
}
.resa-wizard .resa-dates .dates-card {
  animation: r-rise 0.4s ease backwards;
}
.resa-wizard .resa-dates .dates-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: #FEF6E7;
  border: 1px solid #F3D48B;
  border-radius: 14px;
  color: #7A4F00;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}
.resa-wizard .resa-dates .dates-alert i {
  margin-top: 3px;
  color: var(--r-warn);
}
.resa-wizard .resa-dates .dates-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.resa-wizard .resa-dates .tsej-form {
  margin: 0;
  min-width: 0;
}
.resa-wizard .resa-dates .tsej-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  background: var(--r-line-2);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
}
.resa-wizard .resa-dates .tsej-opt {
  position: relative;
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--r-muted);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: background 0.35s var(--r-ease), color 0.2s, box-shadow 0.35s var(--r-ease);
}
.resa-wizard .resa-dates .tsej-opt i {
  font-size: 11.5px;
  opacity: 0.7;
}
.resa-wizard .resa-dates .tsej-opt:hover {
  color: var(--r-ink-2);
}
.resa-wizard .resa-dates .tsej-opt:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.resa-wizard .resa-dates .tsej-opt.active {
  background: #fff;
  color: var(--r-ink-2);
  box-shadow: 0 2px 8px rgba(29, 45, 92, 0.14);
}
.resa-wizard .resa-dates .tsej-opt.active i {
  opacity: 1;
  color: var(--r-green-ink);
}
.resa-wizard .resa-dates .tsej-opt.active:focus-visible {
  box-shadow: 0 2px 8px rgba(29, 45, 92, 0.14), 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.resa-wizard .resa-dates .dates-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.resa-wizard .resa-dates .dates-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--r-line);
  background: #fff;
  color: var(--r-ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}
.resa-wizard .resa-dates .dates-nav-btn:hover {
  background: var(--r-line-2);
}
.resa-wizard .resa-dates .dates-nav-btn:focus-visible {
  outline: none;
  border-color: var(--r-accent);
  box-shadow: var(--r-focus);
}
.resa-wizard .resa-dates .tsej-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.resa-wizard .resa-dates .tsej-desc {
  font-size: 12.5px;
  color: var(--r-muted);
  line-height: 1.5;
}
.resa-wizard .resa-dates .tsej-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 12.5px;
  color: var(--r-muted);
  line-height: 1.5;
}
.resa-wizard .resa-dates .tsej-note-ok {
  color: var(--r-green-ink);
  font-weight: 600;
}
.resa-wizard .resa-dates .tsej-note-ok i {
  margin: 3px 0 0;
}
.resa-wizard .resa-dates .tsej-note-ok b {
  font-weight: 800;
  color: var(--r-ink-2);
}
.resa-wizard .resa-dates .tsej-weeks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: none;
  border: 0;
}
.resa-wizard .resa-dates .tsej-weeks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #F0FAEC;
  border: 1px solid var(--r-accent-100);
  font-size: 12px;
}
.resa-wizard .resa-dates .tsej-weeks .tsej-wk-code {
  font-weight: 700;
  color: var(--r-ink-2);
}
.resa-wizard .resa-dates .tsej-weeks .tsej-wk-dates {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: #4F6B3F;
}
.resa-wizard .resa-dates .dates-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-bottom: 18px;
  border-top: 1px solid var(--r-line-2);
}
.resa-wizard .resa-dates .hebe-tabs {
  border: 0;
  background: var(--r-line-2);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.resa-wizard .resa-dates .hebe-tabs button {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--r-muted);
  transition: background 0.3s var(--r-ease), color 0.2s, box-shadow 0.3s var(--r-ease);
}
.resa-wizard .resa-dates .hebe-tabs button:hover {
  color: var(--r-ink-2);
}
.resa-wizard .resa-dates .hebe-tabs button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.resa-wizard .resa-dates .hebe-tabs button.on {
  background: #fff;
  color: var(--r-ink-2);
  box-shadow: 0 2px 8px rgba(29, 45, 92, 0.14);
}
.resa-wizard .resa-dates .dates-howto {
  font-size: 12px;
  font-weight: 600;
  color: var(--r-muted-2);
}
.resa-wizard .resa-dates .dates-howto i {
  margin-right: 4px;
}
.resa-wizard .resa-dates .cal {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.resa-wizard .resa-dates .cal .month {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
}
.resa-wizard .resa-dates .cal .month-h {
  margin-bottom: 14px;
  padding: 0;
}
.resa-wizard .resa-dates .cal .month-h h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--r-ink-2);
  text-transform: capitalize;
}
.resa-wizard .resa-dates .cal .wk {
  gap: 0;
  margin-bottom: 6px;
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--r-muted-2);
}
.resa-wizard .resa-dates .cal .days {
  column-gap: 0;
  row-gap: 4px;
}
.resa-wizard .resa-dates .cal .d {
  height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--r-ink);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  /* Grille de 42 cases commençant le lundi : samedi et dimanche grisés */
  /* Séjour long : premier clic d'une nouvelle plage, en attente du second */
}
.resa-wizard .resa-dates .cal .d:nth-child(7n+6), .resa-wizard .resa-dates .cal .d:nth-child(7n) {
  color: var(--r-muted-2);
}
.resa-wizard .resa-dates .cal .d.out {
  visibility: hidden;
}
.resa-wizard .resa-dates .cal .d:hover:not(.out) {
  background: var(--r-line-2);
}
.resa-wizard .resa-dates .cal .d.range {
  background: #E8F5E1;
  color: var(--r-ink-2);
  border-radius: 0;
}
.resa-wizard .resa-dates .cal .d.range:hover {
  background: #DCEFD2;
}
.resa-wizard .resa-dates .cal .d.start, .resa-wizard .resa-dates .cal .d.end, .resa-wizard .resa-dates .cal .d.single {
  background: var(--r-accent);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(29, 45, 92, 0.3);
}
.resa-wizard .resa-dates .cal .d.start:hover, .resa-wizard .resa-dates .cal .d.end:hover, .resa-wizard .resa-dates .cal .d.single:hover {
  background: var(--r-accent-600);
}
.resa-wizard .resa-dates .cal .d.start {
  border-radius: 10px 0 0 10px;
}
.resa-wizard .resa-dates .cal .d.end {
  border-radius: 0 10px 10px 0;
}
.resa-wizard .resa-dates .cal .d.single {
  border-radius: 10px;
}
.resa-wizard .resa-dates .cal .d.pending {
  background: #fff;
  color: var(--r-ink-2);
  box-shadow: inset 0 0 0 2px var(--r-accent);
}
.resa-wizard .resa-dates .cal .d.pending:hover {
  background: var(--r-line-2);
}
.resa-wizard .resa-dates .date-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border: 1.5px solid var(--r-line);
  border-radius: 16px;
  overflow: hidden;
}
.resa-wizard .resa-dates .date-strip .blk {
  padding: 16px 20px;
  min-width: 0;
}
.resa-wizard .resa-dates .date-strip .blk + .blk {
  border-left: 1px solid var(--r-line);
}
.resa-wizard .resa-dates .date-strip .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--r-muted-2);
}
.resa-wizard .resa-dates .date-strip .v {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 800;
  color: var(--r-ink-2);
  letter-spacing: -0.01em;
}
.resa-wizard .resa-dates .date-strip .sub {
  margin-top: 2px;
  font-size: 12px;
  color: var(--r-muted);
}
.resa-wizard .resa-dates .date-strip .blk-total {
  background: #F0FAEC;
}
.resa-wizard .resa-dates .date-strip .blk-total .k {
  color: var(--r-green-ink);
}
.resa-wizard .resa-dates .date-strip .blk-total .sub {
  color: #4F6B3F;
}
@media (max-width: 860px) {
  .resa-wizard .resa-dates .cal {
    grid-template-columns: 1fr;
  }
  .resa-wizard .resa-dates .dates-top {
    flex-direction: column;
    align-items: stretch;
  }
  .resa-wizard .resa-dates .tsej-seg {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }
  .resa-wizard .resa-dates .dates-nav {
    margin-left: 0;
    justify-content: flex-end;
  }
}
@media (max-width: 560px) {
  .resa-wizard .resa-dates .date-strip {
    grid-template-columns: 1fr;
  }
  .resa-wizard .resa-dates .date-strip .blk + .blk {
    border-left: 0;
    border-top: 1px solid var(--r-line);
  }
}
.resa-wizard .resa-trf {
  /* En-tête : pastille ARR / DÉP, heure en mono, trajet de → vers */
  /* Trois options : cartes-radio côte à côte (radio natif conservé, visuellement masqué) */
  /* Détail de l'option retenue : ne s'ouvre que si son radio est coché */
  /* Les navettes du jour sur ce trajet restent TOUJOURS visibles, même incompatibles ou si
     le taxi est retenu : l'agent arbitre en voyant chaque ligne et la raison de son écart.
     Seul le panneau taxi dépend de l'option cochée. */
  /* Liste des navettes (partiel partagé _navettes_disponibles) : accent vert de sélection */
  /* Taxi : lieux + heure de prise en charge */
  /* Séjour long libre : un bandeau par semaine */
}
.resa-wizard .resa-trf .trf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.resa-wizard .resa-trf .trf-card {
  margin-bottom: 18px;
  animation: r-rise 0.4s ease backwards;
}
.resa-wizard .resa-trf .trf-card .card-pad {
  padding: 26px;
}
.resa-wizard .resa-trf .trfw-head {
  gap: 14px;
  padding-bottom: 0;
  margin-bottom: 20px;
  border-bottom: 0;
}
.resa-wizard .resa-trf .trf-pastille {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.resa-wizard .resa-trf .trf-pastille i {
  font-size: 11px;
}
.resa-wizard .resa-trf .trf-pastille.is-arr {
  background: #34508C;
}
.resa-wizard .resa-trf .trf-pastille.is-dep {
  background: var(--r-warn);
}
.resa-wizard .resa-trf .trfw-t {
  font-size: 16px;
  font-weight: 800;
  color: var(--r-ink-2);
}
.resa-wizard .resa-trf .trfw-j {
  gap: 8px;
  margin-top: 3px;
  font-size: 13px;
  color: var(--r-muted);
}
.resa-wizard .resa-trf .trfw-j b {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--r-ink);
}
.resa-wizard .resa-trf .trfw-j .trfw-pt {
  color: var(--r-muted);
  font-weight: 500;
}
.resa-wizard .resa-trf .trfw-j .trfw-arr {
  font-size: 12px;
  color: var(--r-muted-2);
}
.resa-wizard .resa-trf .trfw-alerte {
  margin-bottom: 16px;
  border-radius: 14px;
}
.resa-wizard .resa-trf .trf-opts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.resa-wizard .resa-trf .trf-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 16px;
  border: 1.5px solid var(--r-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s var(--r-ease), background 0.25s var(--r-ease), transform 0.25s var(--r-ease), box-shadow 0.25s var(--r-ease);
}
.resa-wizard .resa-trf .trf-opt input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.resa-wizard .resa-trf .trf-opt:hover {
  border-color: var(--r-accent);
}
.resa-wizard .resa-trf .trf-opt:has(input:checked) {
  border-color: var(--r-green);
  background: var(--r-accent-50);
  transform: translateY(-2px);
}
.resa-wizard .resa-trf .trf-opt:has(input:focus-visible) {
  box-shadow: var(--r-focus);
  border-color: var(--r-accent);
}
.resa-wizard .resa-trf .trf-opt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 22px;
  margin-bottom: 10px;
}
.resa-wizard .resa-trf .trf-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #CBD2E0;
  background: #fff;
  display: grid;
  place-items: center;
  transition: all 0.25s;
}
.resa-wizard .resa-trf .trf-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}
.resa-wizard .resa-trf .trf-opt:has(input:checked) .trf-radio {
  border-color: var(--r-green);
  background: var(--r-green);
}
.resa-wizard .resa-trf .trf-opt:has(input:checked) .trf-radio::after {
  opacity: 1;
  animation: r-pop 0.3s var(--r-ease) backwards;
}
.resa-wizard .resa-trf .trf-chip {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--r-green);
  color: var(--r-green-dark);
}
.resa-wizard .resa-trf .trf-opt-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--r-ink-2);
}
.resa-wizard .resa-trf .trf-opt-title i {
  font-size: 12.5px;
  color: var(--r-muted-2);
  margin-right: 4px;
  transition: color 0.2s;
}
.resa-wizard .resa-trf .trf-opt:has(input:checked) .trf-opt-title i {
  color: var(--r-green-ink);
}
.resa-wizard .resa-trf .trf-opt-desc {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--r-muted);
}
.resa-wizard .resa-trf .trf-panel {
  margin-top: 16px;
  animation: r-rise 0.3s ease backwards;
}
.resa-wizard .resa-trf .trf-panel-taxi {
  display: none;
}
.resa-wizard .resa-trf .trf-card:has(.trf-opts input[value=TAXI]:checked) .trf-panel-taxi {
  display: block;
}
.resa-wizard .resa-trf .trf-panel-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--r-label);
  margin-bottom: 8px;
}
.resa-wizard .resa-trf .trf-panel-nav .nav-liste {
  --nav-accent: var(--r-green-ink);
  --nav-accent-soft: #F0FAEC;
  border-radius: 14px;
}
.resa-wizard .resa-trf .trf-panel-nav .nav-ligne:has(input[type=radio]:checked) {
  background: var(--nav-accent-soft);
  box-shadow: inset 3px 0 0 var(--nav-accent);
}
.resa-wizard .resa-trf .trf-panel-nav .nav-pick input[type=radio]:focus-visible {
  outline: 2px solid var(--r-accent);
  outline-offset: 2px;
}
.resa-wizard .resa-trf .trf-panel-taxi {
  padding: 16px;
  border-radius: 16px;
  background: var(--r-soft);
  border: 1px solid var(--r-line);
}
.resa-wizard .resa-trf .trf-taxi-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px;
  gap: 12px;
}
.resa-wizard .resa-trf .trf-fld {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}
.resa-wizard .resa-trf .trf-fld-l {
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--r-muted-2);
}
.resa-wizard .resa-trf .trf-fld .input {
  height: 44px;
  border-radius: 11px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--r-ink-2);
}
.resa-wizard .resa-trf .trf-time {
  display: block;
}
.resa-wizard .resa-trf .trf-panel-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--r-muted);
}
.resa-wizard .resa-trf .trfw-sem {
  margin: 26px 0 12px;
}
.resa-wizard .resa-trf .trfw-sem:first-child {
  margin-top: 0;
}
.resa-wizard .resa-trf .trfw-sem .trfw-sem-n {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--r-ink-2);
}
.resa-wizard .resa-trf .trfw-sem .trfw-sem-l {
  font-weight: 800;
  color: var(--r-ink-2);
}
@media (max-width: 860px) {
  .resa-wizard .resa-trf .trf-opts {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }
  .resa-wizard .resa-trf .trf-opt:has(input:checked) {
    transform: none;
  }
  .resa-wizard .resa-trf .trf-taxi-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .resa-wizard .resa-trf .trf-card .card-pad {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .resa-wizard .resa-trf .trf-opt, .resa-wizard .resa-trf .trf-panel, .resa-wizard .resa-trf .trf-card {
    transition: none;
    animation: none;
  }
}

/* Alignement maquette : pastille texte seul, une seule icône d'horloge. */
.resa-wizard .resa-trf .trf-pastille {
  font-size: 12px;
}

/* Option Navette sans aucune ligne ce jour-là : visible mais non sélectionnable. */
.resa-wizard .resa-trf .trf-opt.is-off {
  cursor: not-allowed;
  background: #F8FAFC;
  border-style: dashed;
}
.resa-wizard .resa-trf .trf-opt.is-off .trf-opt-title, .resa-wizard .resa-trf .trf-opt.is-off .trf-opt-desc {
  color: var(--text-tertiary);
}
.resa-wizard .resa-trf .trf-opt.is-off .trf-radio {
  opacity: 0.4;
}

/* Tunnel de réservation — refonte Claude Design (hebergement). Scope : .resa-wizard. */
/* Étape 7 « Où loge-t-il ? » : surcharge les sections « Hébergement » de _wizard.scss.
   Le modal fiche hôtel est rendu dans .resa-step5 (donc dans .resa-wizard) et n'est pas
   déplacé par hotel_modal_controller : le scope .resa-wizard suffit. */
.resa-wizard {
  /* ── Utilitaires ───────────────────────────────────────────── */
  /* Select natif habillé : chevron maison (le contrôle reste un vrai <select>). */
  /* ── Bandeaux (promo, dimanche) ────────────────────────────── */
  /* Hôtels en attente BP : encart orange de la maquette */
  /* ── Grille de cartes hébergement ──────────────────────────── */
  /* Bandeau visuel 150px : photo si disponible, sinon dégradé selon le type */
  /* Pastille verte cochée : apparaît (r-pop) quand la carte est sélectionnée */
  /* ── État vide (avant sélection) ───────────────────────────── */
  /* ── Section configuration ─────────────────────────────────── */
  /* Pastille d'icône marine 34px (titres de cartes de configuration) */
  /* Carte hôtel : formule de restauration */
  /* Liste des nuits : puces colorées (la couleur vient du style en ligne de l'icône) */
  /* Restaurant proche */
  /* Carte campus : bâtiment & chambre (+ week-end) */
  /* Bordure/fond/ombre du bâtiment actif : posés en ligne par campus_room_picker_controller */
  /* Encart week-end : campus fermé */
  /* ── Modal fiche hôtel ─────────────────────────────────────── */
  /* Carrousel du modal */
  /* ── Variante séjour long libre : une carte par semaine ────── */
}
.resa-wizard .hebe-sr-only,
.resa-wizard .hebe-card-v2-foot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.resa-wizard .resa-step5 select.input,
.resa-wizard .lw-field select.form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  font-weight: 600;
  color: var(--r-ink-2);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.resa-wizard .hebe-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
  animation: r-rise 0.3s ease backwards;
}
.resa-wizard .hebe-alert > i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 16px;
}
.resa-wizard .hebe-alert p {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.resa-wizard .hebe-alert strong {
  font-weight: 800;
}
.resa-wizard .hebe-alert-info {
  background: #EEF3FB;
  border-color: #C9D8EC;
  color: #26456F;
}
.resa-wizard .hebe-alert-info > i {
  color: #34508C;
}
.resa-wizard .hebe-alert-danger {
  background: #FBE9E7;
  border-color: #F3C6C0;
  color: #7A2E28;
}
.resa-wizard .hebe-alert-danger > i {
  color: var(--r-danger);
}
.resa-wizard .hebe-alert-sm {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 12.8px;
  font-weight: 600;
}
.resa-wizard .hebe-alert-sm > i {
  font-size: 13px;
  margin-top: 3px;
}
.resa-wizard .hint.hint-warn {
  margin-bottom: 18px;
  background: #FBF3E4;
  border: 1px solid #E8CE9B;
  border-radius: 16px;
  color: #6A5326;
}
.resa-wizard .hint.hint-warn i {
  color: var(--r-warn);
  font-size: 16px;
}
.resa-wizard .hint.hint-warn strong {
  color: #8A5A00;
  font-weight: 800;
}
.resa-wizard .hint.hint-warn .sub {
  color: #6A5326;
  font-size: 12.5px;
  margin-top: 4px;
  line-height: 1.5;
}
.resa-wizard .hebe-section {
  margin-top: 0;
}
.resa-wizard .hebe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
@media (max-width: 860px) {
  .resa-wizard .hebe-grid {
    grid-template-columns: 1fr;
  }
}
.resa-wizard .hebe-card-v2 {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #fff;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-lg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: transform 0.3s var(--r-ease), box-shadow 0.3s var(--r-ease), border-color 0.3s var(--r-ease);
  outline: none;
}
.resa-wizard .hebe-card-v2:hover:not(.is-unavailable) {
  border-color: var(--r-line);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20, 33, 71, 0.12);
}
.resa-wizard .hebe-card-v2.is-selected, .resa-wizard .hebe-card-v2.is-selected:hover {
  border-color: var(--r-green);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(108, 192, 74, 0.2);
}
.resa-wizard .hebe-card-v2:focus-visible {
  border-color: var(--r-accent);
  box-shadow: var(--r-focus), 0 16px 36px rgba(20, 33, 71, 0.12);
}
.resa-wizard .hebe-card-v2.is-selected:focus-visible {
  border-color: var(--r-green);
  box-shadow: var(--r-focus), 0 16px 36px rgba(108, 192, 74, 0.2);
}
.resa-wizard .hebe-card-v2.is-unavailable {
  opacity: 0.5;
  filter: none;
  cursor: not-allowed;
}
.resa-wizard .hebe-card-v2-visual {
  position: relative;
  flex-shrink: 0;
  height: 150px;
  display: grid;
  place-items: center;
  border-right: 0;
  background: linear-gradient(135deg, #1D2D5C, #34508C);
  /* Voile bas sur photo : lisibilité du sur-titre et du bouton */
}
.resa-wizard .hebe-card-v2-visual.hebe-visual-hotel {
  background: linear-gradient(135deg, #24397A, #5C7BC2);
}
.resa-wizard .hebe-card-v2-visual.hebe-visual-aucun {
  background: linear-gradient(135deg, #6B7490, #9AA3B8);
}
.resa-wizard .hebe-card-v2-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resa-wizard .hebe-card-v2-visual.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 33, 71, 0) 45%, rgba(20, 33, 71, 0.55) 100%);
  pointer-events: none;
}
.resa-wizard .hebe-card-v2-kicker {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.resa-wizard .has-photo .hebe-card-v2-kicker {
  position: absolute;
  left: 14px;
  bottom: 16px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.resa-wizard .hebe-card-v2-badges {
  top: 12px;
  left: 12px;
  z-index: 2;
}
.resa-wizard .hebe-badge {
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: none;
  backdrop-filter: none;
}
.resa-wizard .hebe-badge.hebe-badge-accent {
  background: var(--r-green);
  color: var(--r-green-dark);
}
.resa-wizard .hebe-badge.hebe-badge-warn {
  background: #FBE9E7;
  color: var(--r-danger);
  border: 0;
}
.resa-wizard .hebe-card-v2-check {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--r-green);
  color: var(--r-green-dark);
  font-size: 14px;
  display: none;
  place-items: center;
  box-shadow: 0 4px 12px rgba(14, 42, 18, 0.25);
}
.resa-wizard .hebe-card-v2.is-selected .hebe-card-v2-check {
  display: grid;
  animation: r-pop 0.4s var(--r-ease) backwards;
}
.resa-wizard .hebe-card-v2-details {
  bottom: 10px;
  right: 10px;
  height: 30px;
  padding: 0 11px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--r-accent);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  gap: 6px;
}
.resa-wizard .hebe-card-v2-details i {
  color: var(--r-accent);
}
.resa-wizard .hebe-card-v2-details:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--r-accent);
}
.resa-wizard .hebe-card-v2-body {
  flex: 1;
  padding: 18px 20px 20px;
  gap: 0;
}
.resa-wizard .hebe-card-v2-namerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.resa-wizard .hebe-card-v2-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--r-accent);
}
.resa-wizard .hebe-kicker-stars {
  flex-shrink: 0;
  gap: 2px;
  font-size: 11px;
  color: #F59E0B;
}
.resa-wizard .hebe-card-v2-desc {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--r-muted);
  -webkit-line-clamp: 3;
}
.resa-wizard .hebe-card-v2-feats {
  gap: 8px;
  margin-top: 14px;
  padding-top: 0;
}
.resa-wizard .hebe-card-v2-feats .chip {
  gap: 6px;
  padding: 5px 9px;
  border-radius: 8px;
  background: var(--r-line-2);
  color: var(--r-label);
  font-size: 11.5px;
  font-weight: 700;
}
.resa-wizard .hebe-card-v2-feats .chip.ok {
  background: #E8F5E1;
  color: #2F7A1A;
}
.resa-wizard .hebe-card-v2-feats .chip.warn {
  background: #FBF3E4;
  color: var(--r-warn);
}
.resa-wizard .hebe-empty-state {
  margin-top: 22px;
  padding: 34px;
  background: transparent;
  border: 1.5px dashed #CBD2E0;
  border-radius: var(--r-radius-lg);
  color: var(--r-muted);
  font-size: 13.5px;
}
.resa-wizard .hebe-empty-state i {
  display: none;
}
.resa-wizard .hebe-empty-state h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--r-accent);
}
.resa-wizard .hebe-empty-state p {
  font-size: 13.5px;
}
.resa-wizard .hebe-config-section {
  margin-top: 28px;
  animation: r-rise 0.4s ease backwards;
}
.resa-wizard .hebe-config-section .hebe-section-head {
  margin-bottom: 14px;
}
.resa-wizard .hebe-section-eyebrow {
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--r-green-ink);
}
.resa-wizard .hebe-section-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--r-accent);
}
.resa-wizard .hebe-section-hint {
  font-size: 12.5px;
  color: var(--r-muted);
}
.resa-wizard .hebe-wk-ic, .resa-wizard .hebe-panel-ic, .resa-wizard .hebe-config-empty > i, .resa-wizard .hebe-formules-head > i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--r-accent);
  color: #fff;
  font-size: 15px;
  display: inline-grid;
  place-items: center;
}
.resa-wizard .hebe-config-panel {
  padding: 24px;
  gap: 16px;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-lg);
}
.resa-wizard .hebe-formules {
  gap: 16px;
}
.resa-wizard .hebe-formules-head {
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: var(--r-accent);
  flex-wrap: wrap;
}
.resa-wizard .hebe-formules-head > i {
  color: #fff;
}
.resa-wizard .hebe-formules-head .chip {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--r-line-2);
  color: var(--r-label);
}
.resa-wizard .hebe-formules-head .chip i {
  color: inherit;
}
.resa-wizard .hebe-formules-head .chip.ok {
  background: #E8F5E1;
  color: #2F7A1A;
}
.resa-wizard .hebe-formules-head .chip.warn {
  background: #FBF3E4;
  color: var(--r-warn);
}
.resa-wizard .hebe-formules-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.resa-wizard .hebe-formule {
  padding: 18px;
  border: 1.5px solid var(--r-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.25s var(--r-ease), background 0.25s var(--r-ease), box-shadow 0.25s var(--r-ease);
}
.resa-wizard .hebe-formule:hover {
  border-color: var(--r-accent);
}
.resa-wizard .hebe-formule:has(input:checked), .resa-wizard .hebe-formule.is-on {
  border-color: var(--r-green);
  background: var(--r-accent-50);
  box-shadow: none;
}
.resa-wizard .hebe-formule:has(input:focus-visible) {
  box-shadow: var(--r-focus);
  border-color: var(--r-accent);
}
.resa-wizard .hebe-formule-body {
  gap: 0;
}
.resa-wizard .hebe-formule-head {
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
  /* Puce radio dessinée (le vrai radio, invisible, couvre la carte) */
}
.resa-wizard .hebe-formule-head::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid #CBD2E0;
  background: #fff;
  transition: all 0.2s var(--r-ease);
}
.resa-wizard .hebe-formule-head > i {
  display: none;
}
.resa-wizard .hebe-formule-head .chip {
  margin-left: auto;
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.resa-wizard .hebe-formule-head .chip.accent {
  background: var(--r-green);
  color: var(--r-green-dark);
}
.resa-wizard .hebe-formule-head .chip.warn {
  background: #FBF3E4;
  color: var(--r-warn);
}
.resa-wizard .hebe-formule:has(input:checked) .hebe-formule-head::before,
.resa-wizard .hebe-formule.is-on .hebe-formule-head::before {
  border-color: var(--r-green);
  background: radial-gradient(circle, #fff 0 3.5px, var(--r-green) 4px);
}
.resa-wizard .hebe-formule-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--r-accent);
}
.resa-wizard .hebe-formule-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--r-muted);
}
.resa-wizard .hebe-formule-note {
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #EEF3FB;
  color: #26456F;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
}
.resa-wizard .hebe-formule-note i {
  color: #34508C;
}
.resa-wizard .hebe-formule-detail {
  margin: 12px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid var(--r-line-2);
  gap: 5px;
  font-size: 12px;
  color: var(--r-label);
}
.resa-wizard .hebe-formule-detail li {
  gap: 8px;
  text-transform: none;
}
.resa-wizard .hebe-formule-detail li i {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  font-size: 0;
}
.resa-wizard .hebe-formule-detail li i::before {
  content: none;
}
.resa-wizard .hebe-resto {
  max-width: 460px;
  padding-top: 0;
  border-top: 0;
  gap: 8px;
  animation: r-rise 0.3s ease backwards;
}
.resa-wizard .hebe-resto-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--r-label);
}
.resa-wizard .hebe-resto-label i {
  display: none;
}
.resa-wizard .hebe-resto-empty {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--r-soft);
  color: var(--r-muted);
}
.resa-wizard .hebe-resto-empty i {
  color: var(--r-muted-2);
}
.resa-wizard .hebe-config-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  padding: 24px;
  background: #fff;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-lg);
  /* La base met TOUS les strong/p en bloc gris : on la neutralise, puis on ne
     vise que le placeholder « Hébergement sur le campus ». */
}
.resa-wizard .hebe-config-empty strong {
  display: inline;
  margin: 0;
  font-size: inherit;
  font-weight: 800;
  color: inherit;
}
.resa-wizard .hebe-config-empty p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}
.resa-wizard .hebe-config-empty > div > strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  color: var(--r-accent);
}
.resa-wizard .hebe-config-empty > div > p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--r-muted);
}
.resa-wizard .hebe-campus {
  flex: 1 1 100%;
  min-width: 0;
}
.resa-wizard .hebe-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.resa-wizard .hebe-config-empty .hebe-panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--r-accent);
}
.resa-wizard .hebe-config-empty .hebe-panel-lead {
  margin: 0 0 16px 44px;
}
@media (max-width: 640px) {
  .resa-wizard .hebe-config-empty .hebe-panel-lead {
    margin-left: 0;
  }
  .resa-wizard .hebe-config-empty, .resa-wizard .hebe-config-panel {
    padding: 18px;
  }
}
.resa-wizard .hebe-bat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.resa-wizard .hebe-bat {
  display: block;
  text-align: left;
  padding: 12px 14px;
  border: 1.5px solid var(--r-line);
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s var(--r-ease);
}
.resa-wizard .hebe-bat:hover {
  transform: translateY(-1px);
}
.resa-wizard .hebe-bat:focus-visible {
  outline: 2px solid var(--r-accent);
  outline-offset: 2px;
}
.resa-wizard .hebe-bat-nom {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--r-accent);
}
.resa-wizard .hebe-bat-sugg {
  margin-left: auto;
  padding: 2px 5px;
  border-radius: 5px;
  background: #E7F5E0;
  color: #2E5320;
  font-size: 9.5px;
  font-weight: 800;
}
.resa-wizard .hebe-bat-meta {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--r-muted);
}
.resa-wizard .hebe-bat-meta .is-pmr {
  color: #2E5320;
}
.resa-wizard .hebe-bat-meta .is-gl {
  color: var(--r-warn);
}
.resa-wizard .hebe-room {
  max-width: 460px;
}
.resa-wizard .hebe-field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--r-muted);
}
.resa-wizard .hebe-pmr-alert {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--r-warn);
}
.resa-wizard .hebe-wk {
  flex: 1 1 100%;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 16px 18px;
  background: #FBF3E4;
  border: 1px solid #E8CE9B;
  border-radius: 14px;
}
.resa-wizard .hebe-wk-ic {
  background: var(--r-warn);
}
.resa-wizard .hebe-wk-main {
  flex: 1;
  min-width: 0;
}
.resa-wizard .hebe-config-empty .hebe-wk-title {
  display: block;
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #8A5A00;
}
.resa-wizard .hebe-wk-text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #6A5326;
}
.resa-wizard .hebe-wk-text strong {
  font-weight: 800;
}
.resa-wizard .hebe-wk-bloc {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #EED9B4;
  border-radius: 11px;
}
.resa-wizard .hebe-wk-bloc-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--r-accent);
}
.resa-wizard .hebe-wk-bloc-title i {
  margin-right: 5px;
  color: var(--r-warn);
}
.resa-wizard .hebe-wk-bloc-title span {
  font-weight: 600;
  color: var(--r-muted);
}
.resa-wizard .hebe-wk-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  cursor: pointer;
}
.resa-wizard .hebe-wk-q {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A5A00;
}
.resa-wizard .hebe-wk-choice {
  margin-top: 10px;
  animation: r-rise 0.3s ease backwards;
}
.resa-wizard .hebe-wk-choice select.input {
  height: 44px;
  border-radius: 11px;
  font-size: 13px;
}
.resa-wizard .hebe-wk-help {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--r-muted);
}
.resa-wizard .hebe-wk-none {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--r-warn);
}
.resa-wizard .hotel-modal-overlay {
  padding: 24px;
  background: rgba(20, 33, 71, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade var(--dur-base) var(--ease-out) backwards;
}
.resa-wizard .hotel-modal-box {
  max-width: 720px;
  max-height: 90vh;
  border-radius: 26px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  animation: r-dd-in 0.3s var(--r-ease) backwards;
  --leave: exit-scale;
}
.resa-wizard .hotel-modal-gallery {
  height: 240px;
  border-radius: 26px 26px 0 0;
  background: linear-gradient(135deg, #1D2D5C, #34508C);
}
.resa-wizard .hotel-modal-no-img {
  background: linear-gradient(135deg, #1D2D5C, #34508C);
  color: rgba(255, 255, 255, 0.75);
  font-size: 2.6rem;
}
.resa-wizard .hotel-modal-close {
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--r-accent);
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.resa-wizard .hotel-modal-close:hover {
  background: #fff;
}
.resa-wizard .hotel-modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6), 0 0 0 6px var(--r-accent);
}
.resa-wizard .hotel-modal-body {
  padding: 26px 30px 30px;
}
.resa-wizard .hotel-modal-header {
  margin-bottom: 0;
}
.resa-wizard .hotel-modal-header > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.resa-wizard .hotel-modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--r-accent);
}
.resa-wizard .hotel-modal-stars {
  color: #F59E0B;
  font-size: 14px;
  letter-spacing: 2px;
}
.resa-wizard .hotel-modal-infos {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 12px 0 0;
  padding: 0;
  border: 0;
}
.resa-wizard .hotel-modal-info-item {
  gap: 6px;
  font-size: 13px;
  color: var(--r-label);
}
.resa-wizard .hotel-modal-info-item i {
  color: var(--r-green-ink);
}
.resa-wizard .hotel-modal-info-item a {
  color: var(--r-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.resa-wizard .hotel-modal-section {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--r-line-2);
}
.resa-wizard .hotel-modal-section-title {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--r-green-ink);
}
.resa-wizard .hotel-modal-section-title i {
  margin-right: 4px;
}
.resa-wizard .hotel-modal-desc {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--r-label);
}
.resa-wizard .hotel-modal-desc b {
  color: var(--r-accent);
}
.resa-wizard .hotel-modal-cats {
  gap: 8px;
  margin-top: 4px;
}
.resa-wizard .hotel-modal-cat {
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: var(--r-line-2);
  color: var(--r-accent);
  font-size: 12px;
  font-weight: 700;
}
.resa-wizard .carousel-btn {
  background: rgba(255, 255, 255, 0.92);
  color: var(--r-accent);
}
.resa-wizard .carousel-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.resa-wizard .carousel-dots {
  bottom: 14px;
}
.resa-wizard .carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
}
.resa-wizard .carousel-dot.is-active {
  width: 18px;
  border-radius: 3px;
}
.resa-wizard .carousel-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.resa-wizard .carousel-counter {
  top: auto;
  bottom: 12px;
  right: 14px;
  background: rgba(0, 0, 0, 0.35);
  font-weight: 700;
}
@media (max-width: 640px) {
  .resa-wizard .hotel-modal-overlay {
    padding: 12px;
  }
  .resa-wizard .hotel-modal-gallery {
    height: 200px;
  }
  .resa-wizard .hotel-modal-body {
    padding: 20px;
  }
  .resa-wizard .hotel-modal-title {
    font-size: 20px;
  }
}
.resa-wizard .hebe-libre .lw-card .card-pad {
  padding: 24px;
}
.resa-wizard .hebe-libre .lw-head {
  gap: 12px;
  margin-bottom: 18px;
}
.resa-wizard .hebe-libre .lw-idx {
  border-radius: 10px;
  font-weight: 800;
}
.resa-wizard .hebe-libre .lw-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--r-accent);
}
.resa-wizard .hebe-libre .lw-dates {
  color: var(--r-muted);
}
.resa-wizard .hebe-libre .lw-grid {
  gap: 14px 16px;
}
.resa-wizard .hebe-libre .lw-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--r-label);
}
.resa-wizard .hebe-libre .lw-opt {
  color: var(--r-muted);
  font-weight: 500;
}
.resa-wizard .hebe-libre .lw-field .form-control {
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid var(--r-line);
  border-radius: var(--r-radius-md);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.resa-wizard .hebe-libre .lw-field .form-control::placeholder {
  color: var(--r-muted-2);
}
.resa-wizard .hebe-libre .lw-field .form-control:focus {
  border-color: var(--r-accent);
  box-shadow: var(--r-focus);
}
.resa-wizard .hebe-libre .lw-field select.form-control {
  padding-right: 42px;
}
.resa-wizard .hebe-libre .lw-empty {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #FBE9E7;
  border: 1px solid #F3C6C0;
  border-radius: var(--r-radius-md);
  color: #7A2E28;
  font-weight: 600;
}
.resa-wizard .hebe-libre .lw-empty i {
  margin: 2px 0 0;
  color: var(--r-danger);
}
@media (max-width: 640px) {
  .resa-wizard .hebe-libre .lw-card .card-pad {
    padding: 18px;
  }
}

.resa-wizard .resa-step5 .chip > i {
  display: none;
} /* Maquette : pastilles texte seul. */
/* ═══════════════════════════════════════════════════════════════
   Champs du tunnel au style de la maquette (wizard_fields_controller) :
   listes déroulantes, sélecteur de date, sélecteur d'heure, suggestions.
   Les déclencheurs sont scopés sous .resa-wizard ; les popovers sont
   rattachés au <body> (position fixe) pour ne pas être rognés par les cartes.
   ═══════════════════════════════════════════════════════════════ */
.resa-wizard, .r-fields {
  /* Champ natif conservé pour le formulaire, masqué visuellement. */
  /* Champ à suggestions : reste un champ texte, chevron à droite. */
}
.resa-wizard .r-native, .r-fields .r-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip-path: inset(50%);
  overflow: hidden;
}
.resa-wizard .r-trigger, .r-fields .r-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D2D5C;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.resa-wizard .r-trigger:hover, .r-fields .r-trigger:hover {
  border-color: #1D2D5C;
}
.resa-wizard .r-trigger:focus-visible, .resa-wizard .r-trigger.is-open, .r-fields .r-trigger:focus-visible, .r-fields .r-trigger.is-open {
  outline: none;
  border-color: #1D2D5C;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.1);
}
.resa-wizard .r-trigger:disabled, .r-fields .r-trigger:disabled {
  background: #F8FAFC;
  color: #9AA3B8;
  cursor: not-allowed;
  border-color: #E2E8F0;
  box-shadow: none;
}
.resa-wizard .r-trigger.is-empty .r-trigger-label, .r-fields .r-trigger.is-empty .r-trigger-label {
  color: #9AA3B8;
  font-weight: 500;
}
.resa-wizard .r-trigger .r-trigger-label, .r-fields .r-trigger .r-trigger-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.resa-wizard .r-trigger .r-ico, .r-fields .r-trigger .r-ico {
  flex-shrink: 0;
  font-size: 14px;
  color: #1D2D5C;
}
.resa-wizard .r-trigger .r-chev, .r-fields .r-trigger .r-chev {
  flex-shrink: 0;
  font-size: 12px;
  color: #6B7490;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.resa-wizard .r-trigger.is-open .r-chev, .r-fields .r-trigger.is-open .r-chev {
  transform: rotate(180deg);
}
.resa-wizard .r-trigger.input, .r-fields .r-trigger.input {
  height: 48px;
  padding: 0 16px;
}
.resa-wizard .r-trigger-time .r-trigger-label, .r-fields .r-trigger-time .r-trigger-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
}
.resa-wizard .r-combo, .r-fields .r-combo {
  position: relative;
  display: block;
}
.resa-wizard .r-combo input, .r-fields .r-combo input {
  padding-right: 36px;
}
.resa-wizard .r-combo .r-chev, .r-fields .r-combo .r-chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #6B7490;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.resa-wizard .r-combo.is-open .r-chev, .r-fields .r-combo.is-open .r-chev {
  transform: translateY(-50%) rotate(180deg);
}

/* ── Popovers (rattachés au body) ─────────────────────────────── */
.r-pop {
  position: fixed;
  z-index: 3000;
  max-height: calc(100vh - 16px);
  overflow-y: auto;
  box-sizing: border-box;
  padding: 6px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
  font-family: "Montserrat", system-ui, sans-serif;
  color: #1A2238;
  animation: r-dd-in 0.22s ease backwards;
}
.r-pop *, .r-pop *::before, .r-pop *::after {
  box-sizing: border-box;
}
.r-pop button {
  font-family: inherit;
}
.r-pop button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}

.r-pop-select, .r-pop-combo {
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.r-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.r-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #1A2238;
  text-align: left;
  cursor: pointer;
}
.r-opt:hover, .r-opt:focus-visible {
  background: #F1F4F9;
}
.r-opt.is-on {
  background: #F1F4F9;
  font-weight: 700;
}
.r-opt:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.r-opt .r-opt-txt {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.r-opt .r-opt-meta {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #9AA3B8;
  font-variant-numeric: tabular-nums;
}
.r-opt .r-opt-chk {
  color: #4FA235;
  font-weight: 800;
  opacity: 0;
}
.r-opt.is-on .r-opt-chk {
  opacity: 1;
}

.r-opt-lieu .r-opt-txt {
  font-weight: 700;
  color: #1D2D5C;
}

.r-badge {
  flex-shrink: 0;
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
}

.r-optgroup {
  padding: 8px 12px 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}

.r-empty {
  padding: 12px;
  font-size: 12.5px;
  color: #6B7490;
}

/* Sélecteur de date */
.r-pop-date {
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.2);
}

.r-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.r-cal-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  text-transform: capitalize;
}

.r-cal-nav {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  background: #fff;
  color: #1D2D5C;
  font-size: 12px;
  cursor: pointer;
}
.r-cal-nav:hover {
  background: #F1F4F9;
}

.r-cal-wd, .r-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.r-cal-wd {
  margin-bottom: 4px;
}
.r-cal-wd span {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #9AA3B8;
}

.r-day {
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 600;
  color: #1A2238;
  cursor: pointer;
  transition: background 0.15s;
}
.r-day:hover {
  background: #F1F4F9;
}
.r-day.is-we {
  color: #9AA3B8;
}
.r-day.is-today {
  box-shadow: inset 0 0 0 1.5px #CDEBC0;
}
.r-day.is-on {
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(29, 45, 92, 0.3);
}
.r-day:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: transparent;
}

.r-pop-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F1F4F9;
}

.r-foot-btn {
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 12px;
  font-weight: 700;
  color: #1D2D5C;
  cursor: pointer;
}
.r-foot-btn:hover {
  background: #F1F4F9;
}
.r-foot-btn.is-muted {
  color: #6B7490;
}

/* Sélecteur d'heure : colonnes Heure (marine) / Min (vert) */
.r-pop-time {
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.2);
}
.r-pop-time .r-pop-foot {
  margin-top: 8px;
  padding-top: 8px;
}

.r-time {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.r-tlbl {
  padding: 0 6px 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}

.r-tcol {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.r-tbtn {
  flex-shrink: 0;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  font-size: 13px;
  font-weight: 600;
  color: #1A2238;
  cursor: pointer;
  transition: background 0.15s;
}
.r-tbtn:hover {
  background: #F1F4F9;
}
.r-tbtn.is-on {
  background: #1D2D5C;
  color: #fff;
}

.r-tcol-min .r-tbtn.is-on {
  background: #6CC04A;
  color: #0E2A12;
}

/* Date + heure (datetime-local) : calendrier à gauche, colonnes à droite */
.r-pop-datetime {
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.2);
}

.r-dt {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 16px;
}

.r-dt-time {
  padding-left: 16px;
  border-left: 1px solid #F1F4F9;
}
.r-dt-time .r-tcol {
  max-height: 262px;
}

/* ── Variante maquette Dossier (data-wizard-fields-variant-value="dossier") ── */
.r-fields-dos .r-trigger {
  height: 44px;
  padding: 0 12px;
  gap: 9px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
}
.r-fields-dos .r-trigger .r-ico {
  font-size: 14px;
  color: #6B7490;
}
.r-fields-dos .r-trigger.input {
  height: 44px;
  padding: 0 12px;
}
.r-fields-dos .r-trigger-date .r-trigger-label,
.r-fields-dos .r-trigger-datetime .r-trigger-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.r-fields-dos .r-trigger-time {
  justify-content: space-between;
}
.r-fields-dos .r-trigger-time .r-trigger-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 800;
}

.r-pop-dos.r-pop-date, .r-pop-dos.r-pop-datetime {
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
}
.r-pop-dos.r-pop-date .r-cal-head, .r-pop-dos.r-pop-datetime .r-cal-head {
  margin-bottom: 10px;
}
.r-pop-dos.r-pop-date .r-cal-wd, .r-pop-dos.r-pop-date .r-cal-grid, .r-pop-dos.r-pop-datetime .r-cal-wd, .r-pop-dos.r-pop-datetime .r-cal-grid {
  gap: 3px;
}
.r-pop-dos.r-pop-date .r-day.is-today:not(.is-on), .r-pop-dos.r-pop-datetime .r-day.is-today:not(.is-on) {
  box-shadow: none;
}
.r-pop-dos.r-pop-time {
  padding: 0;
  overflow-x: hidden;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.18);
}
.r-pop-dos.r-pop-datetime .r-dt {
  grid-template-columns: 300px 1fr;
  gap: 0;
}
.r-pop-dos.r-pop-datetime .r-dt-cal {
  padding-right: 14px;
}
.r-pop-dos.r-pop-datetime .r-dt-time {
  padding-left: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #F1F4F9;
}
.r-pop-dos.r-pop-datetime .r-tg-foot {
  margin: 12px -14px -14px;
}

.r-tg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(135deg, #1D2D5C, #2A4080);
}
.r-tg-head span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C7CEE3;
}
.r-tg-head strong {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.r-tg-sec {
  padding: 14px 16px 6px;
}
.r-tg-sec + .r-tg-sec {
  padding: 10px 16px 14px;
}

.r-tg-lbl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9AA3B8;
}

.r-tg-quick {
  display: flex;
  gap: 4px;
}

.r-tg-hours {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.r-tg-mins {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
}

.r-tg-h, .r-tg-m, .r-tg-q {
  border: none;
  font-family: "JetBrains Mono", ui-monospace, monospace !important;
  cursor: pointer;
  transition: all 0.15s;
}

.r-tg-h {
  height: 34px;
  border-radius: 9px;
  background: #F4F6FA;
  color: #1D2D5C;
  font-size: 13px;
  font-weight: 700;
}
.r-tg-h:hover {
  transform: scale(1.06);
}
.r-tg-h.is-on {
  background: #1D2D5C;
  color: #fff;
}

.r-tg-m {
  height: 26px;
  border-radius: 7px;
  background: transparent;
  color: #3E4A6B;
  font-size: 11px;
  font-weight: 600;
}
.r-tg-m:hover {
  background: #F1F4F9;
}
.r-tg-m.is-on {
  background: #6CC04A;
  color: #0E2A12;
}

.r-tg-q {
  height: 24px;
  padding: 0 9px;
  border: 1.5px solid #E2E8F0;
  border-radius: 999px;
  background: #fff;
  color: #6B7490;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}
.r-tg-q.is-on {
  border-color: #6CC04A;
  background: #E7F5E0;
  color: #2E5320;
}

.r-tg-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid #F1F4F9;
}

.r-tg-ok {
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 9px;
  background: #6CC04A;
  color: #0E2A12;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .r-pop {
    animation: none;
  }
}
/* ═══════════════════════════════════════════════════════════════
   PRISES EN CHARGE À TRAITER — /sessions-formation
   Maquette Claude Design « Dashboard Admin ». Scope : .pec-page.
   ═══════════════════════════════════════════════════════════════ */
@keyframes pec-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pec-dd-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pec-page {
  font-family: "Montserrat", system-ui, sans-serif;
  color: #1A2238;
  /* ── Messages ── */
  /* ── En-tête ── */
  /* ── Indicateurs ── */
  /* ── Filtres ── */
  /* Suggestions de recherche (HTML généré par recherche_suggest_controller). */
  /* Listes déroulantes : libellé en petites capitales DANS le bouton (wizard-fields). */
  /* ── Tableau ── */
  /* Seul le code action est affiché : l'intitulé passe en infobulle. */
  /* Puces et boutons passent à la ligne plutôt que d'élargir le tableau. */
  /* ── Fiche « Traiter » ── */
  /* « Pas répondu → appel 2 » : poussé à droite, ambre. */
  /* ── Trajet recommandé (matrice décisionnelle) : tuile du mode, puis départ → arrivée. ── */
}
.pec-page .pec-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
}
.pec-page .pec-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
}
.pec-page .pec-flash {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  background: #FCEFDC;
  border: 1px solid #F3D48B;
  color: #7A4A00;
}
.pec-page .pec-flash.pec-flash-success {
  background: #F2FAEF;
  border-color: #CFE9C2;
  color: #2E5320;
}
.pec-page .pec-flash i {
  margin-top: 2px;
}
.pec-page .pec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.pec-page .pec-head h1 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1D2D5C;
}
.pec-page .pec-head p {
  margin: 8px 0 0;
  max-width: 640px;
  font-size: 14px;
  line-height: 1.55;
  color: #6B7490;
}
.pec-page .pec-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4FA235;
}
.pec-page .pec-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #6CC04A;
}
.pec-page .pec-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pec-page .pec-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
.pec-page .pec-btn-ghost {
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
}
.pec-page .pec-btn-ghost:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.pec-page .pec-btn-navy {
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(29, 45, 92, 0.2);
}
.pec-page .pec-btn-navy:hover {
  background: #24397A;
  color: #fff;
}
.pec-page .pec-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.pec-page .pec-kpi {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pec-page .pec-kpi:hover {
  border-color: #1D2D5C;
  transform: translateY(-2px);
  color: inherit;
}
.pec-page .pec-kpi:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.12);
}
.pec-page .pec-kpi.is-on {
  background: #F4FAF0;
  border-color: #6CC04A;
  box-shadow: 0 12px 30px rgba(108, 192, 74, 0.18);
}
.pec-page .pec-kpi-glow {
  position: absolute;
  right: -14px;
  top: -14px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--dot);
  opacity: 0.18;
}
.pec-page .pec-kpi-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6B7490;
}
.pec-page .pec-kpi-dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--dot);
}
.pec-page .pec-kpi-val {
  margin-top: 8px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.pec-page .pec-kpi-sub {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
}
.pec-page .pec-filters {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
}
.pec-page .pec-filters-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.pec-page .pec-search {
  position: relative;
  flex: 1 1 260px;
}
.pec-page .pec-search > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9AA3B8;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.pec-page .pec-search input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  background: #F8FAFC;
  font-family: inherit;
  font-size: 13.5px;
  color: #1A2238;
  outline: none;
  transition: all 0.2s;
}
.pec-page .pec-search input::placeholder {
  color: #9AA3B8;
}
.pec-page .pec-search input:focus {
  border-color: #1D2D5C;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.08);
}
.pec-page .sf-ac-list {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
  animation: pec-dd-in 0.2s ease backwards;
}
.pec-page .sf-ac-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.pec-page .sf-ac-item:hover, .pec-page .sf-ac-item.is-active {
  background: #F1F4F9;
}
.pec-page .sf-ac-nom {
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pec-page .sf-ac-code {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #9AA3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pec-page .pec-dd {
  position: relative;
  flex: 0 0 auto;
  min-width: 170px;
}
.pec-page .pec-dd .r-trigger {
  height: 44px;
  padding: 14px 12px 0 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
.pec-page .pec-dd .r-trigger.is-empty .r-trigger-label {
  color: #1D2D5C;
  font-weight: 700;
}
.pec-page .pec-dd .r-chev {
  margin-top: -14px;
}
.pec-page .pec-dd-lbl {
  position: absolute;
  left: 15px;
  top: 7px;
  z-index: 1;
  pointer-events: none;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.pec-page .pec-filters-inc {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #F1F4F9;
}
.pec-page .pec-inc-lbl {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.pec-page .pec-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: #6B7490;
  white-space: nowrap;
  cursor: pointer;
}
.pec-page .pec-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.pec-page .pec-toggle:has(input:checked) {
  color: #1D2D5C;
}
.pec-page .pec-sw {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #CBD2E0;
  transition: background 0.3s;
}
.pec-page .pec-sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pec-page .pec-toggle input:checked + .pec-sw {
  background: #6CC04A;
}
.pec-page .pec-toggle input:checked + .pec-sw::after {
  left: 19px;
}
.pec-page .pec-toggle input:focus-visible + .pec-sw {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.pec-page .pec-reset {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: #6B7490;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pec-page .pec-reset:hover {
  color: #1D2D5C;
}
.pec-page .pec-table-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
}
.pec-page .pec-table-scroll {
  overflow-x: auto;
}
.pec-page .pec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pec-page .pec-table th {
  padding: 12px 10px;
  background: #FAFBFD;
  text-align: left;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.pec-page .pec-table th:first-child, .pec-page .pec-table td:first-child {
  padding-left: 20px;
}
.pec-page .pec-table th:last-child, .pec-page .pec-table td:last-child {
  padding-right: 20px;
}
.pec-page .pec-table td {
  padding: 13px 10px;
  border-top: 1px solid #F1F4F9;
  vertical-align: middle;
}
.pec-page .pec-table tbody tr {
  transition: background 0.15s;
}
.pec-page .pec-table tbody tr:hover {
  background: #F8FAFD;
}
.pec-page .pec-table .is-c {
  text-align: center;
}
.pec-page .pec-table .is-r {
  text-align: right;
}
.pec-page .pec-table .is-nw {
  white-space: nowrap;
}
.pec-page .pec-who {
  display: flex;
  align-items: center;
  gap: 11px;
}
.pec-page .pec-av {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 800;
}
.pec-page .pec-nom {
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
}
.pec-page .pec-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pec-page .pec-form-t {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: #3E4A6B;
  cursor: help;
}
.pec-page .pec-form + .pec-mono {
  margin-top: 2px;
}
.pec-page .pec-multi {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  color: #34508C;
  background: #EEF3FC;
  border: 1px solid #D3E0F5;
}
.pec-page .pec-campus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #3E4A6B;
}
.pec-page .pec-campus-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6CC04A;
}
.pec-page .pec-campus-dot.is-ko {
  background: #D9534F;
}
.pec-page .pec-num {
  font-weight: 600;
  color: #3E4A6B;
  font-variant-numeric: tabular-nums;
}
.pec-page .pec-date {
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
  font-variant-numeric: tabular-nums;
}
.pec-page .pec-jours {
  font-weight: 800;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.pec-page .pec-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 8px;
  min-width: 150px;
}
.pec-page .pec-actions form {
  display: inline;
  margin: 0;
}
.pec-page .pec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 180px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #F1F4F9;
  color: #3E4A6B;
  border: 1px solid #E2E8F0;
}
.pec-page .pec-chip.is-red {
  background: #FDF3F2;
  color: #8A2C26;
  border-color: #F3D9D6;
}
.pec-page .pec-chip.is-orange {
  background: #FCEFDC;
  color: #A85D00;
  border-color: #F3D48B;
}
.pec-page .pec-chip.is-grey {
  color: #94A3B8;
}
.pec-page .pec-chip.is-green {
  background: #F2FAEF;
  color: #2E5320;
  border-color: #CFE9C2;
}
.pec-page .pec-chip.is-blue {
  background: #EEF3FB;
  color: #34508C;
  border-color: #D6E1F2;
}
.pec-page .pec-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.pec-page .pec-act:hover {
  transform: translateY(-1px);
}
.pec-page .pec-act:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.pec-page .pec-act.is-navy {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
  box-shadow: 0 6px 14px rgba(29, 45, 92, 0.25);
}
.pec-page .pec-act.is-navy:hover {
  background: #24397A;
  color: #fff;
}
.pec-page .pec-act.is-green {
  background: #F2FAEF;
  border-color: #CFE9C2;
  color: #2E5320;
}
.pec-page .pec-act.is-red {
  background: #FDF3F2;
  border-color: #F3D9D6;
  color: #8A2C26;
}
.pec-page .pec-act.is-amber {
  border-color: #E4C27A;
  color: #A85D00;
}
.pec-page .pec-act.is-blue {
  border-color: #D6E1F2;
  color: #34508C;
  font-size: 12px;
  padding: 0 11px;
}
.pec-page .pec-act.is-blue:hover {
  background: #EEF3FB;
}
.pec-page .pec-act.is-red-ghost {
  border-color: #F3D9D6;
  color: #B23A36;
  font-size: 12px;
  padding: 0 11px;
}
.pec-page .pec-act.is-red-ghost:hover {
  background: #FBE4E3;
}
.pec-page .pec-empty {
  padding: 48px 24px;
  text-align: center;
}
.pec-page .pec-empty-t {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.pec-page .pec-empty-s {
  margin-top: 6px;
  font-size: 13px;
  color: #6B7490;
}
.pec-page .pec-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 20px;
  border-top: 1px solid #F1F4F9;
  background: #FAFBFD;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
}
.pec-page .pec-foot b {
  color: #1D2D5C;
}
.pec-page .pec-foot-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pec-page .pec-foot-link.is-red {
  color: #8A2C26;
}
.pec-page .pec-foot-link.is-green {
  color: #2E5320;
}
.pec-page .pec-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 33, 71, 0.55);
  backdrop-filter: blur(6px);
  animation: fade var(--dur-base) var(--ease-out) backwards;
}
.pec-page .pec-modal[hidden] {
  display: none;
}
.pec-page .pec-modal-box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  animation: pec-dd-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.pec-page .pec-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 15px;
}
.pec-page .pec-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.pec-page .pec-modal-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.pec-page .pec-m-head {
  padding: 24px 28px 22px;
  color: #fff;
  background: linear-gradient(135deg, #1D2D5C, #2A4080);
}
.pec-page .pec-m-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 40px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C7CEE3;
}
.pec-page .pec-m-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #6CC04A;
  flex-shrink: 0;
}
.pec-page .pec-m-who {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.pec-page .pec-m-av {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #6CC04A;
  color: #0E2A12;
  font-size: 18px;
  font-weight: 800;
}
.pec-page .pec-m-id {
  flex: 1;
  min-width: 200px;
}
.pec-page .pec-m-nom {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.pec-page .pec-m-form {
  margin-top: 3px;
  font-size: 13px;
  color: #C7CEE3;
}
.pec-page .pec-m-when {
  text-align: right;
}
.pec-page .pec-m-when .d {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pec-page .pec-m-when .c {
  margin-top: 3px;
  font-size: 11.5px;
  color: #C7CEE3;
}
.pec-page .pec-m-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.pec-page .pec-m-info {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.pec-page .pec-m-info .k {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8E9AC2;
}
.pec-page .pec-m-info .v {
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pec-page .pec-m-info .v.is-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.pec-page .pec-m-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 28px;
}
.pec-page .pec-m-sec {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.pec-page .pec-m-src {
  padding: 4px 9px;
  border-radius: 999px;
  background: #E8F5E1;
  color: #2F7A1A;
  font-size: 11px;
  font-weight: 800;
}
.pec-page .pec-m-heb {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .pec-page .pec-m-heb {
    grid-template-columns: 1fr;
  }
}
.pec-page .pec-m-heb-vis {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1D2D5C, #34508C);
}
.pec-page .pec-m-heb-vis.is-hotel {
  background: linear-gradient(135deg, #4FA235, #6CC04A);
}
.pec-page .pec-m-heb-vis .kicker {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 0 12px;
}
.pec-page .pec-m-heb-vis.has-photo {
  place-items: end start;
}
.pec-page .pec-m-heb-vis.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pec-page .pec-m-heb-vis.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 50, 0) 45%, rgba(10, 20, 50, 0.72));
}
.pec-page .pec-m-heb-vis.has-photo .kicker {
  position: relative;
  z-index: 1;
  padding: 0 12px 11px;
  text-align: left;
  color: #fff;
}
.pec-page .pec-m-heb-vis.has-photo .reco {
  z-index: 1;
}
.pec-page .pec-m-heb-vis .reco {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #6CC04A;
  color: #0E2A12;
}
.pec-page .pec-m-heb-txt {
  padding: 16px 18px;
}
.pec-page .pec-m-heb-txt .t {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.pec-page .pec-m-heb-txt .n {
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.pec-page .pec-m-heb-txt .s {
  font-size: 11px;
  letter-spacing: 1px;
  color: #F59E0B;
}
.pec-page .pec-m-heb-txt .d {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6B7490;
}
.pec-page .pec-m-heb-txt .chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pec-page .pec-m-chip {
  padding: 5px 9px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  background: #F1F4F9;
  color: #3E4A6B;
}
.pec-page .pec-m-chip.is-green {
  background: #E8F5E1;
  color: #2F7A1A;
}
.pec-page .pec-m-chip.is-orange {
  background: #FCEFDC;
  color: #A85D00;
}
.pec-page .pec-m-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 6px;
}
.pec-page .pec-m-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: 13px;
  background: #6CC04A;
  color: #0E2A12;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(108, 192, 74, 0.35);
  transition: all 0.2s;
}
.pec-page .pec-m-cta:hover {
  background: #5DB13A;
  color: #0E2A12;
  transform: translateY(-1px);
}
.pec-page .pec-m-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(108, 192, 74, 0.35);
}
.pec-page .pec-m-refus {
  height: 48px;
  padding: 0 18px;
  border-radius: 13px;
  cursor: pointer;
  border: 1.5px solid #E9C4C2;
  background: #fff;
  color: #B23A36;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.pec-page .pec-m-refus:hover {
  background: #FBE4E3;
}
.pec-page .pec-m-refus:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 58, 54, 0.2);
}
.pec-page .pec-m-appel2 {
  margin-left: auto;
  height: 48px;
  padding: 0 18px;
  border-radius: 13px;
  cursor: pointer;
  border: 1.5px solid #F3D48B;
  background: #fff;
  color: #A85D00;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
}
.pec-page .pec-m-appel2:hover:not(:disabled) {
  background: #FCEFDC;
}
.pec-page .pec-m-appel2:disabled {
  background: #FCEFDC;
  cursor: default;
}
.pec-page .pec-m-appel2:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(168, 93, 0, 0.2);
}
.pec-page .pec-m-appel2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #FCEFDC;
  color: #A85D00;
  font-size: 12px;
  font-weight: 800;
}
.pec-page .pec-m-refus-box {
  padding: 18px;
  border-radius: 18px;
  border: 1.5px solid #F0C6C2;
  background: #FDF6F5;
  animation: pec-rise 0.25s ease backwards;
}
.pec-page .pec-m-refus-box .t {
  margin-bottom: 12px;
  font-size: 13.5px;
  font-weight: 800;
  color: #8A2C26;
}
.pec-page .pec-m-refus-box .n {
  margin-top: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #8A2F2C;
}
.pec-page .pec-m-motifs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pec-page .pec-m-motif {
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid #E9C4C2;
  background: #fff;
  color: #8A2C26;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
}
.pec-page .pec-m-motif.is-on {
  background: #B23A36;
  border-color: #B23A36;
  color: #fff;
}
.pec-page .pec-m-motif:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 58, 54, 0.2);
}
.pec-page .pec-m-precision {
  width: 100%;
  height: 44px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1.5px solid #E9C4C2;
  border-radius: 12px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.pec-page .pec-m-precision:focus {
  border-color: #B23A36;
}
.pec-page .pec-m-refus-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}
.pec-page .pec-m-annuler, .pec-page .pec-m-confirmer {
  height: 40px;
  padding: 0 14px;
  border-radius: 11px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}
.pec-page .pec-m-annuler {
  border: 1.5px solid #E9C4C2;
  background: #fff;
  color: #8A2C26;
}
.pec-page .pec-m-confirmer {
  border: 0;
  padding: 0 16px;
  background: #B23A36;
  color: #fff;
  font-weight: 800;
}
.pec-page .pec-m-confirmer:disabled {
  background: #E3B7B4;
  cursor: not-allowed;
}
.pec-page .pec-m-src.is-orange {
  background: #FCEFDC;
  color: #A85D00;
}
.pec-page .pec-m-src.is-blue {
  background: #EEF3FB;
  color: #34508C;
}
.pec-page .pec-m-trajet {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .pec-page .pec-m-trajet {
    grid-template-columns: 1fr;
  }
}
.pec-page .pec-m-trajet-vis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 120px;
  padding: 14px;
  color: #fff;
  background: linear-gradient(135deg, #24397A, #3B6BC9);
}
.pec-page .pec-m-trajet-vis i {
  font-size: 26px;
}
.pec-page .pec-m-trajet-vis span {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
@media (max-width: 600px) {
  .pec-page .pec-m-trajet-vis {
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 11px 18px;
  }
  .pec-page .pec-m-trajet-vis i {
    font-size: 17px;
  }
}
.pec-page .pec-m-trajet.is-voiture .pec-m-trajet-vis {
  background: linear-gradient(135deg, #A85D00, #E0A93B);
}
.pec-page .pec-m-trajet.is-avion .pec-m-trajet-vis {
  background: linear-gradient(135deg, #4B3496, #8B6FD6);
}
.pec-page .pec-m-trajet.is-aucun .pec-m-trajet-vis,
.pec-page .pec-m-trajet.is-vide .pec-m-trajet-vis {
  background: linear-gradient(135deg, #6B7490, #9AA3B8);
}
.pec-page .pec-m-trajet-txt {
  min-width: 0;
  padding: 16px 18px;
}
.pec-page .pec-m-trajet-txt .route {
  display: flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: wrap;
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.pec-page .pec-m-trajet-txt .route i {
  font-size: 14px;
  color: #9AA3B8;
}
.pec-page .pec-m-trajet-txt .n {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.pec-page .pec-m-trajet-txt .d {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #6B7490;
}
.pec-page .pec-m-trajet-txt .kv {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}
@media (max-width: 600px) {
  .pec-page .pec-m-trajet-txt .kv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.pec-page .pec-m-trajet-txt .kv > div {
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F1F4F9;
}
.pec-page .pec-m-trajet-txt .kv dt {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.pec-page .pec-m-trajet-txt .kv dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pec-page .pec-m-trajet-txt .kv dd small {
  margin-left: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #9AA3B8;
}
.pec-page .pec-m-trajet-txt .liens {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
}
.pec-page .pec-m-trajet-txt .liens a, .pec-page .pec-m-trajet-txt .liens button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: #34508C;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pec-page .pec-m-trajet-txt .liens a:hover, .pec-page .pec-m-trajet-txt .liens button:hover {
  color: #1D2D5C;
}
.pec-page .pec-m-trajet-txt .liens a:focus-visible, .pec-page .pec-m-trajet-txt .liens button:focus-visible {
  outline: 2px solid #1D2D5C;
  outline-offset: 2px;
  border-radius: 4px;
}
.pec-page .pec-m-cherche {
  margin-top: 10px;
}
.pec-page .pec-m-cherche[hidden] {
  display: none;
}
.pec-page .pec-m-cherche .pec-search input {
  height: 42px;
}
.pec-page .pec-m-cherche-res {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}
.pec-page .pec-m-cherche-res .vide {
  padding: 8px 2px;
  font-size: 12.5px;
  color: #6B7490;
}
.pec-page .pec-m-cherche-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  background: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pec-page .pec-m-cherche-item:hover {
  border-color: #1D2D5C;
  background: #F8FAFD;
}
.pec-page .pec-m-cherche-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.pec-page .pec-m-cherche-item .s {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pec-page .pec-m-cherche-item .dr {
  font-size: 11.5px;
  font-weight: 700;
  color: #6B7490;
  white-space: nowrap;
}
.pec-page .pec-m-cherche-item .m {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .pec-page .pec-head h1 {
    font-size: 24px;
  }
  .pec-page .pec-dd {
    flex: 1 1 160px;
  }
  .pec-page .pec-m-head, .pec-page .pec-m-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pec-page .pec-m-when {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pec-page, .pec-page * {
    animation: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MATRICE DÉCISIONNELLE — /matrice-decisionnelle
   S'appuie sur les composants .pec-* (en-tête, filtres, tableau) ; ici les onglets campus,
   les puces de transport et le formulaire d'une ligne. Scope : .mat-page.
   ═══════════════════════════════════════════════════════════════ */
.mat-page {
  /* ── Onglets campus : un par onglet de l'Excel ; la barre dit la part de chaque mode. ── */
  /* ── Tableau ── */
  /* ── Formulaire d'une ligne ── */
}
.mat-page .mat-import {
  cursor: pointer;
}
.mat-page .mat-campus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.mat-page .mat-campus-tab {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px 15px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mat-page .mat-campus-tab:hover {
  border-color: #1D2D5C;
  transform: translateY(-1px);
  color: inherit;
}
.mat-page .mat-campus-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.12);
}
.mat-page .mat-campus-tab.is-on {
  border-color: #1D2D5C;
  background: #F5F7FC;
  box-shadow: 0 10px 26px rgba(29, 45, 92, 0.12);
}
.mat-page .mat-campus-tab .n {
  font-size: 14.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.mat-page .mat-campus-tab .c {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  font-variant-numeric: tabular-nums;
}
.mat-page .mat-mix {
  display: flex;
  gap: 2px;
  height: 6px;
  margin-top: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #F1F4F9;
}
.mat-page .mat-mix > span {
  flex-basis: 0;
  min-width: 3px;
}
.mat-page .mat-mix .is-train {
  background: #3B6BC9;
}
.mat-page .mat-mix .is-voiture {
  background: #E0A93B;
}
.mat-page .mat-mix .is-avion {
  background: #8B6FD6;
}
.mat-page .mat-table .mat-dr {
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  white-space: nowrap;
}
.mat-page .mat-table .mat-trajet {
  min-width: 240px;
  font-size: 12.5px;
  font-weight: 600;
  color: #3E4A6B;
}
.mat-page .mat-table .mat-trajet i {
  margin: 0 8px;
  font-size: 11px;
  color: #9AA3B8;
}
.mat-page .mat-table .mat-sub {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  font-weight: 600;
  color: #9AA3B8;
}
.mat-page .mat-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.mat-page .mat-mode.is-train {
  background: #EEF3FC;
  color: #2F55A4;
}
.mat-page .mat-mode.is-voiture {
  background: #FCF3E2;
  color: #8A5200;
}
.mat-page .mat-mode.is-avion {
  background: #F3EFFC;
  color: #5B3FB0;
}
.mat-page .mat-mode.is-aucun {
  background: #fff;
  color: #6B7490;
  border: 1.5px dashed #CBD2E0;
}
.mat-page.mat-form-page {
  max-width: 920px;
}
.mat-page .mat-retour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #6B7490;
  text-decoration: none;
}
.mat-page .mat-retour i {
  color: #6CC04A;
}
.mat-page .mat-retour:hover {
  color: #1D2D5C;
}
.mat-page .mat-card {
  margin-bottom: 16px;
  padding: 20px 22px 22px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
}
.mat-page .mat-card h2 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.mat-page .mat-grid {
  display: grid;
  gap: 14px;
}
.mat-page .mat-grid + .mat-grid {
  margin-top: 14px;
}
.mat-page .mat-grid.is-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mat-page .mat-grid.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mat-page .mat-grid.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 760px) {
  .mat-page .mat-grid.is-3, .mat-page .mat-grid.is-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .mat-page .mat-grid.is-2, .mat-page .mat-grid.is-3, .mat-page .mat-grid.is-4 {
    grid-template-columns: 1fr;
  }
}
.mat-page .mat-field {
  min-width: 0;
}
.mat-page .mat-field > label, .mat-page .mat-field .mat-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.mat-page .mat-field input, .mat-page .mat-field select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  background: #F8FAFC;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #1A2238;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.mat-page .mat-field input::placeholder, .mat-page .mat-field select::placeholder {
  color: #9AA3B8;
  font-weight: 500;
}
.mat-page .mat-field input:focus, .mat-page .mat-field select:focus {
  border-color: #1D2D5C;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.08);
}
.mat-page .mat-unit {
  position: relative;
}
.mat-page .mat-unit input {
  padding-right: 62px;
  font-variant-numeric: tabular-nums;
}
.mat-page .mat-unit span {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: #9AA3B8;
  pointer-events: none;
}
.mat-page .mat-aide {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6B7490;
}
.mat-page .mat-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.mat-page .mat-modes legend {
  float: left;
  width: 100%;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.mat-page .mat-mode-choix {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #3E4A6B;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.mat-page .mat-mode-choix input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.mat-page .mat-mode-choix:hover {
  border-color: #1D2D5C;
}
.mat-page .mat-mode-choix:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.mat-page .mat-mode-choix.is-train:has(input:checked) {
  border-color: #3B6BC9;
  background: #EEF3FC;
  color: #2F55A4;
}
.mat-page .mat-mode-choix.is-voiture:has(input:checked) {
  border-color: #E0A93B;
  background: #FCF3E2;
  color: #8A5200;
}
.mat-page .mat-mode-choix.is-avion:has(input:checked) {
  border-color: #8B6FD6;
  background: #F3EFFC;
  color: #5B3FB0;
}
.mat-page .mat-mode-choix.is-aucun:has(input:checked) {
  border-color: #6B7490;
  background: #F1F4F9;
  color: #1D2D5C;
}
.mat-page .mat-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.direction-nav {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: var(--space-4);
}

.direction-nav-link {
  color: var(--neutral-500);
  text-decoration: none;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: background 150ms, color 150ms;
}
.direction-nav-link:hover, .direction-nav-link.active {
  background: var(--blue-50);
  color: var(--blue-700);
}

.direction-kpi-grid-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
@media (max-width: 1100px) {
  .direction-kpi-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.direction-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
@media (max-width: 1100px) {
  .direction-charts-grid {
    grid-template-columns: 1fr;
  }
}

.direction-chart-full {
  grid-column: 1/-1;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  box-shadow: var(--card-shadow);
}

.direction-chart-half {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--space-6);
  box-shadow: var(--card-shadow);
}

.direction-section-title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-500);
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.direction-alerts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.direction-alert-card {
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--card-radius);
  padding: var(--space-4);
  color: var(--red-700);
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.direction-alert-card.warning {
  background: var(--amber-50);
  border-color: var(--amber-200);
  color: var(--amber-700);
}
.direction-alert-card.success {
  background: var(--green-50);
  border-color: var(--green-200);
  color: var(--green-700);
}

.direction-alert-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.direction-alert-text {
  font-size: var(--text-sm);
}

.direction-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  color: var(--neutral-700);
}
.direction-table th, .direction-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--neutral-100);
  font-size: var(--text-sm);
}
.direction-table th {
  background: var(--neutral-50);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--neutral-500);
  letter-spacing: 0.05em;
}
.direction-table tr:last-child td {
  border-bottom: 0;
}
.direction-table tbody tr:hover {
  background: var(--neutral-50);
}

/* ==================== COCKPIT DIRECTION ==================== */
.cockpit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cockpit-subtitle {
  margin: 0;
  color: var(--neutral-600);
  font-size: var(--text-sm);
}

.cockpit-updated {
  color: var(--neutral-500);
  font-size: var(--text-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cockpit-filters {
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  position: sticky;
  top: 0;
  z-index: 20;
}

.cockpit-period-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--neutral-100);
  border-radius: 10px;
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.cockpit-period-tab {
  flex: 1;
  min-width: 140px;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cockpit-period-tab:hover {
  background: rgba(255, 255, 255, 0.6);
}
.cockpit-period-tab.active {
  background: var(--card-bg);
  color: var(--blue-600);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cockpit-filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  align-items: end;
}

.cockpit-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cockpit-filter-group label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  font-weight: 600;
}

.cockpit-alertes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-5);
}

.cockpit-alerte {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: var(--text-sm);
  font-weight: 500;
  border-left: 4px solid;
}
.cockpit-alerte.cockpit-alerte-danger {
  background: #fef2f2;
  border-color: #ef4444;
  color: #991b1b;
}
.cockpit-alerte.cockpit-alerte-warning {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}
.cockpit-alerte.cockpit-alerte-info {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}

.cockpit-section-title {
  margin: var(--space-6) 0 var(--space-3);
  font-size: var(--text-base);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-700);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cockpit-section-title i {
  color: var(--blue-600);
}

.cockpit-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}
@media (max-width: 1100px) {
  .cockpit-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .cockpit-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.cockpit-kpi {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cockpit-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.cockpit-kpi.cockpit-kpi-primary {
  border-left: 4px solid var(--blue-600);
}
.cockpit-kpi.cockpit-kpi-success {
  border-left: 4px solid #10b981;
}
.cockpit-kpi.cockpit-kpi-success .cockpit-kpi-icon {
  background: #d1fae5;
  color: #047857;
}
.cockpit-kpi.cockpit-kpi-danger {
  border-left: 4px solid #ef4444;
}
.cockpit-kpi.cockpit-kpi-danger .cockpit-kpi-icon {
  background: #fee2e2;
  color: #b91c1c;
}

.cockpit-kpi-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-50, #eff6ff);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.cockpit-kpi-body {
  flex: 1;
  min-width: 0;
}

.cockpit-kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  font-weight: 600;
  margin-bottom: 4px;
}

.cockpit-kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.2;
}

.cockpit-kpi-value-text {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cockpit-kpi-sub {
  font-size: var(--text-xs);
  color: var(--neutral-500);
  margin-top: 2px;
}

.cockpit-kpi-evolution {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: 6px;
}
.cockpit-kpi-evolution.up {
  color: #059669;
}
.cockpit-kpi-evolution.down {
  color: #dc2626;
}
.cockpit-kpi-evolution.neutral {
  color: var(--neutral-500);
}

.cockpit-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}
@media (max-width: 1100px) {
  .cockpit-charts-grid {
    grid-template-columns: 1fr;
  }
}

.cockpit-chart-full {
  grid-column: 1/-1;
}

.cockpit-chart-container {
  padding: var(--space-4);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
}

.cockpit-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
}

.cockpit-chart-title {
  margin: 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--neutral-800);
}
.cockpit-chart-title i {
  color: var(--blue-600);
  margin-right: 6px;
}

@keyframes ck-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes ck-slide {
  from {
    transform: translateX(100%);
  }
}
@keyframes ck-slide-out {
  to {
    transform: translateX(100%);
  }
}
@keyframes ck-dd {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes ck-zoom {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  45% {
    opacity: 1;
  }
}
@keyframes ck-zoom-out {
  to {
    opacity: 0;
    transform: scale(0.5);
  }
}
@keyframes ck-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}
@keyframes ck-cell-in {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}
@keyframes ck-row-in {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
}
@keyframes ck-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(217, 83, 79, 0);
  }
}
.ck {
  color: #3E4A6B;
  padding-bottom: 28px;
}
.ck a {
  text-decoration: none;
}
.ck [hidden] {
  display: none !important;
}
.ck button {
  font-family: inherit;
}

.ck-bar {
  min-height: 60px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.ck-bar-t {
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.ck-bar-t i {
  margin-right: 7px;
  color: #4FA235;
}

.ck-bar-maj {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.ck-bar-maj i {
  margin-right: 5px;
}

.ck-bar-act {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ck-btn {
  height: 36px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: border-color var(--dur-fast), background-color var(--dur-fast), color var(--dur-fast), scale var(--dur-fast) var(--ease-out);
}
.ck-btn i {
  color: #4FA235;
}
.ck-btn:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.ck-btn.is-on {
  background: #F4FAF0;
}
.ck-btn.is-navy {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}
.ck-btn.is-navy i {
  color: #fff;
}
.ck-btn.is-navy:hover {
  background: #24397A;
  color: #fff;
}

.ck-sp {
  flex: 1;
}

.ck-scope {
  position: relative;
}

.ck-scope-btn {
  height: 38px;
  padding: 0 6px 0 12px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s, scale var(--dur-fast) var(--ease-out);
}
.ck-scope-btn > i {
  color: #4FA235;
}
.ck-scope-btn.is-filtre {
  background: #F4FAF0;
}
.ck-scope-btn[aria-expanded=true] {
  border-color: #1D2D5C;
}
.ck-scope-btn[aria-expanded=true] .ck-scope-chev i {
  transform: rotate(180deg);
}

.ck-scope-chev {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #F1F4F9;
  display: grid;
  place-items: center;
}
.ck-scope-chev i {
  font-size: 9px;
  color: var(--text-secondary);
  transition: transform var(--dur-base) var(--ease-out);
}

.ck-scope-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: 560px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.2);
  padding: 16px 18px;
  --leave: exit-up;
  transform-origin: top left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: ck-dd var(--dur-base) var(--ease-out) both;
}

.ck-scope-l {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 7px;
}

.ck-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ck-chips.is-scroll {
  max-height: 118px;
  overflow: auto;
}

.ck-chip {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s, scale var(--dur-fast) var(--ease-out);
}
.ck-chip:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.ck-chip.is-on {
  border-color: #1D2D5C;
  background: #1D2D5C;
  color: #fff;
}

.ck-scope-dates {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  color: #5A6273;
}
.ck-scope-dates input {
  height: 32px;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  padding: 0 8px;
  font: inherit;
  color: #1D2D5C;
}

.ck-scope-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #F0F2F6;
}
.ck-scope-foot .ck-btn i {
  color: inherit;
}

.ck-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

.ck-grid.is-entree > .ck-card {
  opacity: 0;
}
.ck-grid.is-entree > .ck-card.is-vu {
  opacity: 1;
  animation: ck-in 0.52s var(--ease-out) var(--ck-d, 0ms) backwards;
}
.ck-grid.is-entree .is-vu .ck-cell {
  animation: ck-cell-in 0.42s var(--ease-out) calc(var(--ck-d, 0ms) + 200ms + var(--i, 0) * 18ms) backwards;
}
.ck-grid.is-entree .is-vu .ck-row-btn {
  animation: ck-row-in 0.4s var(--ease-out) calc(var(--ck-d, 0ms) + 180ms + var(--i, 0) * 55ms) backwards;
}

.ck-t3 {
  grid-column: span 3;
}

.ck-t4 {
  grid-column: span 4;
}

.ck-t6 {
  grid-column: span 6;
}

@media (max-width: 1300px) {
  .ck-t3, .ck-t4 {
    grid-column: span 6;
  }
  .ck-t6 {
    grid-column: span 12;
  }
}
@media (max-width: 820px) {
  .ck-t3, .ck-t4, .ck-t6 {
    grid-column: span 12;
  }
}
.ck-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 0;
}
.ck-card.is-navy {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}
.ck-card.is-col {
  display: flex;
  flex-direction: column;
}

.ck-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ck-h {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}

.ck-hs {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.ck-k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.ck-big {
  font-size: 26px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ck-sub {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-tertiary);
  margin-top: 3px;
}

.ck-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.ck-foot {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-tertiary);
}

.ck-axis {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  font-weight: 800;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ck-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
}

.ck-sw {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  vertical-align: -1px;
  margin-right: 4px;
}

.ck-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex: none;
  display: inline-block;
}

.ck-empty {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-tertiary);
  padding: 18px 0;
  text-align: center;
}

.ck-track {
  height: 6px;
  border-radius: 3px;
  background: #F2F4F8;
  overflow: hidden;
}
.ck-track > span {
  display: block;
  height: 100%;
  border-radius: 3px;
}

.ck-ell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ck-num {
  font-variant-numeric: tabular-nums;
}

.ck-seg {
  position: relative;
  margin-left: auto;
  display: flex;
  gap: 3px;
  background: #F1F4F9;
  border-radius: 8px;
  padding: 2px;
}
.ck-seg button {
  position: relative;
  height: 24px;
  padding: 0 9px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #6B7490;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  transition: color var(--dur-fast), scale var(--dur-fast) var(--ease-out);
}
.ck-seg button:hover {
  color: #1D2D5C;
}
.ck-seg button.is-on {
  color: #1D2D5C;
}

.ck-seg-i {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: var(--w, 0);
  transform: translateX(var(--x, 0));
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.12);
  pointer-events: none;
}

.ck-pt, .ck-bulle {
  transform-box: fill-box;
  transform-origin: center;
  transition: scale var(--dur-fast) var(--ease-out), fill-opacity var(--dur-fast);
}

.ck-pt:hover {
  scale: 1.45;
}

.ck-bulle:hover {
  scale: 1.12;
  fill-opacity: 1;
}

.ck-axe {
  position: absolute;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: help;
}

.ck-poly {
  transition: fill-opacity var(--dur-fast);
}
.ck-poly:hover {
  fill-opacity: 0.28;
}

.ck-tog {
  transition: scale var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}

.ck-heat {
  display: grid;
  grid-template-columns: 120px repeat(12, minmax(0, 1fr));
  gap: 3px;
  align-items: center;
}

.ck-cell {
  height: 34px;
  border-radius: 7px;
  border: 1.5px solid;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), scale var(--dur-fast) var(--ease-out);
  position: relative;
  font-variant-numeric: tabular-nums;
  padding: 0;
  font-family: inherit;
}
.ck-cell:hover {
  transform: scale(1.06);
  z-index: 2;
  box-shadow: 0 6px 16px rgba(20, 33, 71, 0.18);
}

.ck-sig {
  animation: ck-pulse 2.4s ease 3; /* 3 pulsations pour attirer l’œil, puis pastille fixe */
}

.ck-row-btn {
  display: grid;
  gap: 8px;
  align-items: center;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  border-radius: 8px;
  transition: background-color var(--dur-fast), box-shadow var(--dur-fast), scale var(--dur-fast) var(--ease-out);
}
.ck-row-btn:hover {
  background: #F5F7FB;
  box-shadow: 0 0 0 5px #F5F7FB;
}

.ck-veil {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 33, 71, 0.3);
  animation: ck-fade var(--dur-base) var(--ease-out) both;
}

.ck-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 100vw;
  z-index: 90;
  background: #fff;
  box-shadow: -20px 0 60px rgba(20, 33, 71, 0.25);
  display: flex;
  flex-direction: column;
  animation: ck-slide 0.44s cubic-bezier(0.32, 0.72, 0, 1) both;
  --leave: ck-slide-out;
}

.ck-drawer-hd {
  padding: 18px 22px;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #1D2D5C;
}

.ck-drawer-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.ck-x {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  flex: none;
  transition: background-color var(--dur-fast), scale var(--dur-fast) var(--ease-out);
}
.ck-x:hover {
  background: rgba(255, 255, 255, 0.26);
}

.ck-drawer-bd {
  flex: 1;
  overflow: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ck-drawer-ft {
  padding: 12px 22px;
  border-top: 1px solid #E2E8F0;
  background: #FAFBFD;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ck-drawer-ft .ck-btn i {
  color: inherit;
}

.ck-tile {
  padding: 12px 14px;
  border-radius: 12px;
  background: #F7F9FC;
  min-width: 0;
}

.ck-reco {
  padding: 14px 16px;
  border-radius: 14px;
  border-left: 3px solid #6CC04A;
  background: #F7FCF4;
}

.ck-note {
  padding: 12px 14px;
  border-radius: 12px;
  background: #F5F8FD;
  border: 1px solid #D3E0F5;
  font-size: 12px;
  font-weight: 600;
  color: #4E5A75;
  line-height: 1.55;
}
.ck-note i {
  color: #34508C;
  margin-right: 7px;
}

.ck-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.ck-modal {
  pointer-events: auto;
  width: 560px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(20, 33, 71, 0.35);
  animation: ck-zoom 0.4s cubic-bezier(0.32, 0.72, 0, 1) both;
  --leave: ck-zoom-out;
}

.ck-levier {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: inherit;
  transition: border-color var(--dur-fast), scale var(--dur-fast) var(--ease-out);
}
.ck-levier > .fa-arrow-right {
  transition: transform var(--dur-base) var(--ease-out), color var(--dur-fast);
}
.ck-levier:hover {
  border-color: #1D2D5C;
}
.ck-levier:hover > .fa-arrow-right {
  transform: translateX(3px);
  color: #1D2D5C !important;
}
.ck-levier:active {
  scale: 0.985;
  transition-duration: var(--dur-instant);
}

.ck-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #E2E8F0;
  outline: none;
}
.ck-range:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 6px;
}
.ck-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1D2D5C;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(20, 33, 71, 0.3);
  cursor: grab;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
.ck-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1D2D5C;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(20, 33, 71, 0.3);
  cursor: grab;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast);
}
.ck-range:active::-webkit-slider-thumb {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(20, 33, 71, 0.32);
  cursor: grabbing;
  transition-duration: var(--dur-instant);
}
.ck-range:active::-moz-range-thumb {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(20, 33, 71, 0.32);
  cursor: grabbing;
  transition-duration: var(--dur-instant);
}

.ck-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

@media print {
  .ck-bar-act, .ck-scope-chev, .ntf-pile {
    display: none !important;
  }
  .ck-grid > .ck-card {
    opacity: 1 !important;
    animation: none !important;
  }
}
/* ═══════════════════════════════════════════
   MONDE STAGIAIRE — Mon Séjour
   Style : Premium boarding pass / Travel app
   Mobile-first
═══════════════════════════════════════════ */
:root {
  --s-green: #16A34A;
  --s-green-light: #F0FDF4;
  --s-green-dark: #15803D;
  --s-green-faint: #DCFCE7;
  --s-amber: #F59E0B;
  --s-amber-light: #FFFBEB;
  --s-red: #DC2626;
  --s-red-light: #FEF2F2;
  --s-blue: #2563EB;
  --s-blue-light: #EFF6FF;
  --s-text: #111827;
  --s-text-2: #6B7280;
  --s-text-3: #9CA3AF;
  --s-border: #E5E7EB;
  --s-bg: #F9FAFB;
  --s-white: #FFFFFF;
  --s-shadow: 0 1px 3px rgba(0,0,0,0.08),
              0 1px 2px rgba(0,0,0,0.04);
  --s-shadow-md: 0 4px 12px rgba(0,0,0,0.08),
                 0 2px 4px rgba(0,0,0,0.04);
  --s-shadow-lg: 0 8px 24px rgba(0,0,0,0.10),
                 0 4px 8px rgba(0,0,0,0.06);
  --s-radius: 16px;
  --s-radius-sm: 10px;
  --s-radius-full: 9999px;
}

/* ── Layout général ── */
.layout-stagiaire {
  min-height: 100vh;
  background: var(--s-bg);
  display: flex;
  flex-direction: column;
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.s-header {
  background: var(--s-white);
  border-bottom: 1px solid var(--s-border);
  padding: 0 1.25rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--s-border);
}

.s-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--s-green);
  letter-spacing: -0.3px;
}

.s-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--s-green);
}

.s-brand-img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.s-header-secure {
  font-size: 11px;
  color: var(--s-text-3);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Contenu principal ── */
.s-content {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
  padding: 1.25rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Hero ── */
.s-hero {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.s-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--s-radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.s-status-pill.confirmed {
  background: var(--s-green-faint);
  color: var(--s-green-dark);
}

.s-status-pill.pending {
  background: var(--s-amber-light);
  color: #92400E;
}

.s-status-pill.cancelled {
  background: var(--s-red-light);
  color: var(--s-red);
}

.s-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.s-hero-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--s-text);
  letter-spacing: -0.5px;
  margin: 0 0 6px;
}

.s-hero-sub {
  font-size: 14px;
  color: var(--s-text-2);
  margin: 0;
}

/* ── Cards génériques ── */
.s-card {
  background: var(--s-white);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow);
  overflow: hidden;
}

.s-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--s-border);
}

.s-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--s-green-light);
  color: var(--s-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.s-card-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--s-text-2);
}

.s-card-body {
  padding: 16px;
}

/* ── Boarding Pass Card ── */
.s-boarding {
  background: var(--s-white);
  border-radius: var(--s-radius);
  box-shadow: var(--s-shadow-md);
  overflow: hidden;
  position: relative;
}

.s-boarding-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 20px 20px 24px;
  color: white;
  position: relative;
}

.s-boarding-header.avion {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 50%, #11998e 100%);
}

.s-boarding-header.voiture {
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

.s-boarding-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.s-boarding-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.s-boarding-city {
  flex: 1;
}

.s-boarding-city-code {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.s-boarding-city-name {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.s-boarding-city.right {
  text-align: right;
}

.s-boarding-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.s-boarding-arrow-line {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
}

.s-boarding-arrow-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

.s-boarding-transport-icon {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.s-boarding-train-number {
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.s-boarding-train-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2px;
}

.s-boarding-train-value {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #4ade80;
  font-family: var(--font-mono);
}

/* ── Découpe billet ── */
.s-boarding-tear {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 -1px;
}

.s-boarding-tear::before {
  content: "";
  position: absolute;
  left: -12px;
  width: 24px;
  height: 24px;
  background: var(--s-bg);
  border-radius: 50%;
  z-index: 1;
}

.s-boarding-tear::after {
  content: "";
  position: absolute;
  right: -12px;
  width: 24px;
  height: 24px;
  background: var(--s-bg);
  border-radius: 50%;
  z-index: 1;
}

.s-boarding-tear-line {
  width: 100%;
  border: none;
  border-top: 2px dashed var(--s-border);
  margin: 0 8px;
}

/* ── Infos billet ── */
.s-boarding-body {
  padding: 16px 20px;
}

.s-boarding-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.s-boarding-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px 8px;
}

.s-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.s-info-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--s-text-3);
  font-weight: 600;
}

.s-info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--s-text);
}

.s-info-value.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--s-text-2);
}

/* ── Statut billet ── */
.s-boarding-footer {
  padding: 12px 20px;
  background: var(--s-bg);
  border-top: 1px solid var(--s-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s-billet-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--s-radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.s-billet-status.emis {
  background: var(--s-green-faint);
  color: var(--s-green-dark);
}

.s-billet-status.reserve {
  background: var(--s-amber-light);
  color: #92400E;
}

.s-billet-status.non_reserve {
  background: var(--s-red-light);
  color: var(--s-red);
}

.s-billet-message {
  font-size: 11px;
  color: var(--s-text-2);
}

/* ── Carte Navette ── */
.s-navette-route {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

.s-navette-point {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.s-navette-point-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--s-text-3);
  font-weight: 600;
}

.s-navette-point-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--s-text);
}

.s-navette-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--s-green-light);
  color: var(--s-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ── Carte Hébergement ── */
.s-hotel-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--s-text);
  margin: 0 0 4px;
  letter-spacing: -0.3px;
}

.s-hotel-address {
  font-size: 13px;
  color: var(--s-text-2);
  margin: 0 0 14px;
}

.s-checkin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.s-checkin-item {
  background: var(--s-bg);
  border-radius: var(--s-radius-sm);
  padding: 10px 12px;
}

.s-checkin-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--s-text-3);
  font-weight: 600;
  margin-bottom: 3px;
}

.s-checkin-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--s-text);
}

.s-maps-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  background: var(--s-green-light);
  color: var(--s-green-dark);
  border-radius: var(--s-radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms;
}

.s-maps-btn:hover {
  background: var(--s-green-faint);
}

/* ── Section Contact ── */
.s-contact-card {
  background: linear-gradient(135deg, var(--s-green) 0%, var(--s-green-dark) 100%);
  border-radius: var(--s-radius);
  padding: 24px 20px;
  text-align: center;
  color: white;
}

.s-contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 14px;
}

.s-contact-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.s-contact-phone {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.s-contact-hours {
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 4px;
}

.s-contact-email {
  font-size: 12px;
  opacity: 0.75;
  margin-bottom: 18px;
}

.s-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: white;
  color: var(--s-green-dark);
  border-radius: var(--s-radius-full);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 150ms, box-shadow 150ms;
  text-decoration: none;
}

.s-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ── Formulaire contact inline ── */
.s-contact-form {
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--s-radius-sm);
  padding: 14px;
  text-align: left;
}

.s-contact-form textarea {
  width: 100%;
  background: white;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--s-text);
  resize: none;
  height: 80px;
  margin-bottom: 10px;
  font-family: var(--font-family);
}

.s-contact-form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.s-contact-form-send {
  padding: 8px 16px;
  background: white;
  color: var(--s-green-dark);
  border: none;
  border-radius: var(--s-radius-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.s-contact-form-cancel {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: var(--s-radius-full);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.s-contact-confirmation {
  margin-top: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Footer ── */
.s-footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 11px;
  color: var(--s-text-3);
  line-height: 1.7;
}

/* ── Animations ── */
@keyframes s-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.s-card,
.s-boarding,
.s-contact-card {
  animation: s-fade-up 400ms ease-out both;
}

.s-card:nth-child(1) {
  animation-delay: 0ms;
}

.s-card:nth-child(2) {
  animation-delay: 60ms;
}

.s-card:nth-child(3) {
  animation-delay: 120ms;
}

.s-card:nth-child(4) {
  animation-delay: 180ms;
}

.s-card:nth-child(5) {
  animation-delay: 240ms;
}

.s-card:nth-child(6) {
  animation-delay: 300ms;
}

.s-boarding {
  animation-delay: 80ms;
}

/* ── Page expirée ── */
.s-expired {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 2rem;
  gap: 12px;
}

.s-expired-icon {
  font-size: 56px;
  color: var(--s-text-3);
  margin-bottom: 8px;
}

.s-expired-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--s-text);
  letter-spacing: -0.3px;
}

.s-expired-sub {
  font-size: 14px;
  color: var(--s-text-2);
}

.s-expired-phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--s-green);
  margin-top: 8px;
}

/* ── Carte Chauffeur ─── */
.s-chauffeur-card {
  margin-top: 10px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #EEF2FF, #F5F3FF);
  border: 1px solid #DDD6FE;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.s-chauffeur-card img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.s-chauffeur-initials {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4F46E5, #9333EA);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.s-chauffeur-initials.amber {
  background: linear-gradient(135deg, #D97706, #F59E0B);
}

.s-chauffeur-body {
  flex: 1;
  min-width: 0;
}
.s-chauffeur-body .s-chauffeur-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #7C3AED;
  margin-bottom: 1px;
}
.s-chauffeur-body .s-chauffeur-name {
  font-size: 14px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 3px;
}
.s-chauffeur-body .s-chauffeur-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  color: #4B5563;
}
.s-chauffeur-body .s-chauffeur-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.s-chauffeur-body .s-chauffeur-meta i {
  color: #6B7280;
  font-size: 10px;
}
.s-chauffeur-body .s-chauffeur-meta .s-plaque {
  background: #1F2937;
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ── Carte Repas (dîners par soir) ─── */
.s-repas-row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
}

.s-repas-sep {
  border-bottom: 1px solid var(--s-border, #E2E8F0);
  margin-bottom: 4px;
}

.s-repas-date {
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  padding: 6px 0;
  background: linear-gradient(135deg, #FED7AA, #FEF3C7);
  border-radius: 8px;
}
.s-repas-date .s-repas-day {
  font-size: 20px;
  font-weight: 700;
  color: #C2410C;
  line-height: 1;
}
.s-repas-date .s-repas-dow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #C2410C;
  margin-top: 2px;
}

.s-repas-info {
  flex: 1;
  min-width: 0;
}
.s-repas-info .s-repas-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--s-text, #0F172A);
}
.s-repas-info .s-repas-name.muted {
  color: var(--s-text-2, #64748B);
  font-weight: 500;
  font-style: italic;
}
.s-repas-info .s-repas-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  color: var(--s-text-2, #64748B);
  margin-top: 3px;
}
.s-repas-info .s-repas-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.s-repas-info .s-repas-meta i {
  color: #C2410C;
  font-size: 10px;
}
.s-repas-info .s-repas-heure {
  font-size: 11px;
  color: var(--s-text-2, #64748B);
  margin-top: 4px;
}
.s-repas-info .s-repas-heure i {
  color: #C2410C;
  font-size: 10px;
  margin-right: 4px;
}
.s-repas-info .s-repas-commentaire {
  font-size: 11.5px;
  color: var(--s-text-2, #64748B);
  margin-top: 6px;
  padding: 6px 9px;
  background: var(--s-bg-alt, #F8FAFC);
  border-radius: 6px;
  font-style: italic;
}
.s-repas-info .s-repas-commentaire i {
  color: #C2410C;
  margin-right: 4px;
  font-size: 10px;
}

/* ── Bandeau récap chaîne (correspondances) ─── */
.s-chain-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #F5F3FF, #EEF2FF);
  border: 1px solid #DDD6FE;
  border-radius: 10px;
  font-size: 12.5px;
  color: #4C1D95;
}
.s-chain-summary i {
  color: #7C3AED;
  font-size: 14px;
  flex-shrink: 0;
}
.s-chain-summary strong {
  color: #4C1D95;
  font-weight: 700;
}

/* ── Transition correspondance entre 2 boarding passes ─── */
.s-correspondance {
  display: flex;
  align-items: stretch;
  margin: -4px 24px;
  position: relative;
}

.s-correspondance-dot {
  width: 3px;
  background: #E5E7EB;
  margin: 0 auto;
  flex-shrink: 0;
  min-height: 14px;
}
.s-correspondance-dot:first-child {
  width: 3px;
}

.s-correspondance-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 6px 10px;
  background: #FEF9E7;
  border: 1px dashed #F59E0B;
  border-radius: 8px;
  font-size: 12px;
}
.s-correspondance-content i {
  color: #B45309;
  font-size: 16px;
  flex-shrink: 0;
}
.s-correspondance-content strong {
  display: block;
  color: #92400E;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 1px;
}

.s-correspondance-meta {
  color: #78350F;
  font-size: 11.5px;
}
.s-correspondance-meta strong {
  display: inline;
  font-size: 11.5px;
}

/* ── Réf. THRIPS en pied de trajet aller ─── */
.s-thrips-ref {
  margin: -4px 0 12px;
  padding: 8px 14px;
  background: var(--s-bg-alt, #F8FAFC);
  border: 1px solid var(--s-border, #E2E8F0);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--s-text-2);
}
.s-thrips-ref i {
  color: var(--s-text-3);
  font-size: 11px;
}
.s-thrips-ref .mono {
  font-family: monospace;
  color: var(--s-text);
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .s-content {
    padding: 1rem 0.75rem 5rem;
  }
  .s-hero-name {
    font-size: 22px;
  }
  .s-boarding-city-code {
    font-size: 26px;
  }
  .s-boarding-train-value {
    font-size: 18px;
  }
  .s-boarding-grid {
    grid-template-columns: 1fr 1fr;
  }
  .s-contact-phone {
    font-size: 20px;
  }
  .s-correspondance {
    margin: -4px 8px;
  }
}
/* ═══════════════════════════════════════════════════════════════
   RESERVATIONS — page "Mes réservations"
   Toutes les classes scopées sous .resa-list pour éviter les
   conflits avec le reste du design system.
   ═══════════════════════════════════════════════════════════════ */
.resa-list {
  /* Vues interchangeables — une seule visible à la fois selon data-view. */
  /* ── Breadcrumb ────────────────────────────────────────────── */
  /* ── Page header ───────────────────────────────────────────── */
  /* ── Alertes hero ──────────────────────────────────────────── */
  /* ── KPI strip (unifié, calmer) ────────────────────────────── */
  /* ── Draft banner ──────────────────────────────────────────── */
  /* ── Toolbar (tabs + search + filtres + view switch) ───────── */
  /* ── Dropdown campus ───────────────────────────────────────── */
  /* ── Table ─────────────────────────────────────────────────── */
  /* ── Status badge ──────────────────────────────────────────── */
  /* ── Cards view ────────────────────────────────────────────── */
  /* ── Timeline view ─────────────────────────────────────────── */
  /* ── Bulk toolbar (reskin de l'existant) ───────────────────── */
  /* ── Empty state (global, pas de résultats) ────────────────── */
}
.resa-list[data-view=table] .view-cards, .resa-list[data-view=table] .view-timeline, .resa-list[data-view=cards] .view-table, .resa-list[data-view=cards] .view-timeline, .resa-list[data-view=timeline] .view-table, .resa-list[data-view=timeline] .view-cards {
  display: none;
}
.resa-list .resa-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neutral-500);
  margin-bottom: 8px;
}
.resa-list .resa-breadcrumb a {
  color: var(--neutral-500);
  text-decoration: none;
  transition: color 120ms;
}
.resa-list .resa-breadcrumb a:hover {
  color: var(--neutral-900);
}
.resa-list .resa-breadcrumb i.sep {
  font-size: 8px;
  color: var(--neutral-300);
}
.resa-list .resa-breadcrumb strong {
  color: var(--neutral-800);
  font-weight: 600;
}
.resa-list .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
}
.resa-list .page-header .page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  letter-spacing: -0.3px;
}
.resa-list .page-header .page-subtitle {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 4px;
}
.resa-list .page-header .page-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.resa-list .alerts-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 1.25rem;
}
.resa-list .alert-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all 150ms ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.resa-list .alert-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--neutral-300);
}
.resa-list .alert-card.warn::before {
  background: var(--amber-500);
}
.resa-list .alert-card.danger::before {
  background: var(--red-600);
}
.resa-list .alert-card.info::before {
  background: var(--blue-600);
}
.resa-list .alert-card:hover {
  border-color: var(--neutral-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.resa-list .alert-card:hover .alert-arrow {
  transform: translateX(2px);
  color: var(--neutral-700);
}
.resa-list .alert-card .alert-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.resa-list .alert-card.warn .alert-ic {
  background: var(--amber-50);
  color: var(--amber-700);
}
.resa-list .alert-card.danger .alert-ic {
  background: var(--red-50);
  color: var(--red-600);
}
.resa-list .alert-card.info .alert-ic {
  background: var(--blue-50);
  color: var(--blue-700);
}
.resa-list .alert-card .alert-body {
  flex: 1;
  min-width: 0;
}
.resa-list .alert-card .alert-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
}
.resa-list .alert-card .alert-count {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--neutral-100);
  color: var(--neutral-700);
}
.resa-list .alert-card.warn .alert-count {
  background: var(--amber-100);
  color: var(--amber-700);
}
.resa-list .alert-card.danger .alert-count {
  background: var(--red-100);
  color: var(--red-700);
}
.resa-list .alert-card.info .alert-count {
  background: var(--blue-100);
  color: var(--blue-700);
}
.resa-list .alert-card .alert-desc {
  font-size: 12px;
  color: var(--neutral-500);
  margin-top: 3px;
  line-height: 1.4;
}
.resa-list .alert-card .alert-arrow {
  color: var(--neutral-300);
  font-size: 12px;
  align-self: center;
  transition: transform 150ms, color 150ms;
}
.resa-list .kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
@media (max-width: 1100px) {
  .resa-list .kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
.resa-list .kpi-card {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 14px 18px;
  border-right: 1px solid var(--neutral-100);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: background 150ms ease;
  min-width: 0;
}
.resa-list .kpi-card:last-child {
  border-right: none;
}
.resa-list .kpi-card:hover {
  background: var(--neutral-50);
}
.resa-list .kpi-card.is-selected {
  background: var(--blue-50);
  box-shadow: inset 3px 0 0 var(--blue-600);
}
@media (max-width: 1100px) {
  .resa-list .kpi-card:nth-child(2) {
    border-right: none;
  }
  .resa-list .kpi-card:nth-child(1), .resa-list .kpi-card:nth-child(2) {
    border-bottom: 1px solid var(--neutral-100);
  }
}
.resa-list .kpi-card .kpi-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.resa-list .kpi-card .kpi-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.resa-list .kpi-card .kpi-icon.kpi-icon-blue {
  background: var(--blue-50);
  color: var(--blue-600);
}
.resa-list .kpi-card .kpi-icon.kpi-icon-green {
  background: var(--green-50);
  color: var(--green-600);
}
.resa-list .kpi-card .kpi-icon.kpi-icon-amber {
  background: var(--amber-50);
  color: #D97706;
}
.resa-list .kpi-card .kpi-icon.kpi-icon-red {
  background: var(--red-50);
  color: var(--red-600);
}
.resa-list .kpi-card .kpi-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.resa-list .kpi-card .kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.resa-list .kpi-card .kpi-sub {
  font-size: 11.5px;
  color: var(--neutral-500);
}
.resa-list .draft-banner {
  background: linear-gradient(135deg, var(--amber-50), #FFFCF0);
  border: 1px solid var(--amber-200);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.resa-list .draft-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber-500);
}
.resa-list .draft-banner .draft-banner-body {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.resa-list .draft-banner .draft-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--amber-100);
  color: var(--amber-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.resa-list .draft-banner .draft-banner-text strong {
  color: #92400E;
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.resa-list .draft-banner .draft-banner-text .draft-meta {
  font-size: 12px;
  color: var(--amber-700);
  margin-top: 2px;
}
.resa-list .draft-banner .draft-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.resa-list .resa-toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
}
@media (max-width: 900px) {
  .resa-list .resa-toolbar {
    flex-wrap: wrap;
  }
}
.resa-list .tab-group {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-100);
  border-radius: 7px;
  flex-shrink: 0;
}
.resa-list .tab {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-600);
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 120ms;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: none;
  background: transparent;
  font-family: inherit;
  white-space: nowrap;
}
.resa-list .tab:hover {
  color: var(--neutral-900);
}
.resa-list .tab.is-active {
  background: #fff;
  color: var(--neutral-900);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.resa-list .tab .tab-count {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  padding: 0;
  margin-left: 3px;
}
.resa-list .tab.is-active .tab-count {
  color: var(--blue-600);
}
.resa-list .toolbar-divider {
  width: 1px;
  height: 24px;
  background: var(--neutral-200);
  flex-shrink: 0;
}
.resa-list .toolbar-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
  flex: 1;
}
.resa-list .toolbar-search input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 6px;
  font-size: 13px;
  color: var(--neutral-900);
  font-family: inherit;
  transition: all 150ms;
}
.resa-list .toolbar-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.resa-list .toolbar-search i.search-icon {
  position: absolute;
  left: 11px;
  font-size: 12px;
  color: var(--neutral-500);
  pointer-events: none;
}
.resa-list .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  transition: all 150ms;
  font-family: inherit;
  white-space: nowrap;
}
.resa-list .filter-chip:hover {
  border-color: var(--neutral-300);
  background: var(--neutral-50);
}
.resa-list .filter-chip.is-active {
  border-color: var(--blue-600);
  background: var(--blue-50);
  color: var(--blue-700);
}
.resa-list .filter-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.resa-list .filter-chip i {
  font-size: 10px;
  opacity: 0.7;
}
.resa-list .filter-chip .chip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--blue-600);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  margin-left: 2px;
}
.resa-list .view-switch {
  display: inline-flex;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.resa-list .view-switch button {
  padding: 6px 10px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  color: var(--neutral-600);
  font-family: inherit;
  transition: all 150ms;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resa-list .view-switch button + button {
  border-left: 1px solid var(--neutral-200);
}
.resa-list .view-switch button.is-active {
  background: var(--neutral-900);
  color: #fff;
}
.resa-list .dropdown {
  position: relative;
}
.resa-list .dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
  z-index: 150;
  display: none;
  overflow: hidden;
  animation: dd-fade-in 120ms ease-out;
}
.resa-list .dropdown.is-open .dropdown-menu {
  display: block;
}
@keyframes dd-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.resa-list .dropdown-search {
  padding: 10px 10px 8px;
  border-bottom: 1px solid var(--neutral-100);
  position: relative;
}
.resa-list .dropdown-search input {
  width: 100%;
  padding: 6px 10px 6px 30px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  color: var(--neutral-900);
}
.resa-list .dropdown-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.resa-list .dropdown-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--neutral-500);
}
.resa-list .dropdown-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 4px 0;
}
.resa-list .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--neutral-800);
  cursor: pointer;
  transition: background 100ms;
  user-select: none;
}
.resa-list .dropdown-item:hover {
  background: var(--neutral-50);
}
.resa-list .dropdown-item.is-selected {
  background: var(--blue-50);
  color: var(--blue-700);
}
.resa-list .dropdown-item.is-hidden {
  display: none;
}
.resa-list .dropdown-item .dd-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--neutral-300);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  transition: all 150ms;
}
.resa-list .dropdown-item.is-selected .dd-check {
  background: var(--blue-600);
  border-color: var(--blue-600);
}
.resa-list .dropdown-item .dd-label {
  flex: 1;
  line-height: 1.2;
}
.resa-list .dropdown-item .dd-sub {
  font-size: 11px;
  color: var(--neutral-500);
  display: block;
  margin-top: 2px;
}
.resa-list .dropdown-item .dd-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--neutral-500);
  background: var(--neutral-100);
  padding: 1px 7px;
  border-radius: 10px;
}
.resa-list .dropdown-item.is-selected .dd-count {
  background: var(--blue-100);
  color: var(--blue-700);
}
.resa-list .dropdown-empty {
  padding: 16px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--neutral-500);
}
.resa-list .dropdown-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
}
.resa-list .content-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.resa-list .table-scroll {
  overflow-x: auto;
}
.resa-list .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  /* Indicateur d'alerte (1ʳᵉ colonne) */
}
.resa-list .data-table th {
  text-align: left;
  padding: 9px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  background: #FCFCFD;
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}
.resa-list .data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-700);
  vertical-align: middle;
}
.resa-list .data-table tr:last-child td {
  border-bottom: none;
}
.resa-list .data-table tbody tr {
  transition: background 100ms;
  cursor: pointer;
}
.resa-list .data-table tbody tr:hover td {
  background: #FCFCFD;
}
.resa-list .data-table tbody tr.is-selected td {
  background: var(--blue-50);
  border-color: var(--blue-100);
}
.resa-list .data-table tbody tr.is-selected td:first-child {
  box-shadow: inset 3px 0 0 var(--blue-600);
}
.resa-list .data-table tbody tr.is-hidden {
  display: none;
}
.resa-list .data-table .alert-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neutral-300);
}
.resa-list .data-table .alert-dot.warn {
  background: var(--amber-500);
}
.resa-list .data-table .alert-dot.danger {
  background: var(--red-600);
}
.resa-list .stagiaire-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.resa-list .stagiaire-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.3px;
  background: var(--blue-600);
}
.resa-list .stagiaire-name {
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.2;
}
.resa-list .stagiaire-nni {
  font-size: 10px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  margin-top: 2px;
}
.resa-list .formation-nom {
  font-weight: 500;
  color: var(--neutral-800);
  line-height: 1.3;
}
.resa-list .formation-code {
  font-size: 11px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  margin-top: 2px;
}
.resa-list .dates-cell {
  white-space: nowrap;
}
.resa-list .dates-range {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--neutral-800);
}
.resa-list .dates-arrow {
  color: var(--neutral-400);
  font-size: 10px;
}
.resa-list .dates-nights {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.resa-list .heb-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid transparent;
}
.resa-list .heb-chip.heb-hotel {
  background: var(--blue-50);
  color: var(--blue-700);
  border-color: var(--blue-100);
}
.resa-list .heb-chip.heb-campus {
  background: var(--purple-50);
  color: var(--purple-700);
  border-color: var(--purple-200);
}
.resa-list .heb-chip.heb-none {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.resa-list .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.resa-list .status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.resa-list .status-badge.status-confirmee {
  background: var(--green-50);
  color: var(--green-700);
}
.resa-list .status-badge.status-attente {
  background: var(--amber-50);
  color: var(--amber-700);
}
.resa-list .status-badge.status-annulee {
  background: var(--red-50);
  color: var(--red-700);
  opacity: 0.9;
}
.resa-list .status-badge.status-modifiee {
  background: var(--blue-50);
  color: var(--blue-700);
}
.resa-list .row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  opacity: 0;
  transition: opacity 150ms;
}
.resa-list tr:hover .row-actions, .resa-list tr.is-selected .row-actions {
  opacity: 1;
}
.resa-list .row-action-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 12px;
  transition: all 150ms;
  text-decoration: none;
}
.resa-list .row-action-btn:hover {
  background: var(--neutral-100);
  color: var(--neutral-800);
}
.resa-list .row-action-btn.danger:hover {
  background: var(--red-50);
  color: var(--red-600);
}
.resa-list .row-check {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--blue-600);
}
.resa-list .num-cell {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neutral-700);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.resa-list .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 1.5rem;
}
.resa-list .resa-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  transition: all 200ms;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.resa-list .resa-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
  border-color: var(--neutral-300);
}
.resa-list .resa-card.is-hidden {
  display: none;
}
.resa-list .resa-card .resa-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.resa-list .resa-card .resa-card-num {
  font-size: 11px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.resa-list .resa-card .resa-card-person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.resa-list .resa-card .resa-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--neutral-200);
}
.resa-list .resa-card .resa-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-700);
}
.resa-list .resa-card .resa-card-row i {
  width: 16px;
  color: var(--neutral-400);
  font-size: 12px;
}
.resa-list .resa-card .resa-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--neutral-100);
}
.resa-list .timeline {
  position: relative;
  margin-bottom: 1.5rem;
}
.resa-list .timeline-month {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neutral-500);
  padding: 8px 0;
  margin: 12px 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.resa-list .timeline-month::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--neutral-200);
}
.resa-list .timeline-month:first-child {
  margin-top: 0;
}
.resa-list .timeline-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--neutral-100);
}
.resa-list .timeline-row:last-child {
  border-bottom: none;
}
.resa-list .timeline-row.is-hidden {
  display: none;
}
.resa-list .timeline-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}
.resa-list .timeline-date-day {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1;
  letter-spacing: -0.5px;
}
.resa-list .timeline-date-month {
  font-size: 11px;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}
.resa-list .timeline-date-nights {
  font-size: 10px;
  color: var(--neutral-500);
  margin-top: 6px;
  background: var(--neutral-100);
  padding: 2px 8px;
  border-radius: 999px;
}
.resa-list .timeline-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--blue-600);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 150ms;
  text-decoration: none;
  color: inherit;
}
.resa-list .timeline-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.resa-list .timeline-card.is-confirmee {
  border-left-color: var(--green-600);
}
.resa-list .timeline-card.is-attente {
  border-left-color: var(--amber-500);
}
.resa-list .timeline-card.is-annulee {
  border-left-color: var(--neutral-400);
  opacity: 0.7;
}
.resa-list .timeline-card.is-modifiee {
  border-left-color: var(--blue-600);
}
.resa-list .timeline-card .timeline-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.resa-list .timeline-card .timeline-card-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.resa-list .timeline-card .timeline-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--neutral-600);
  flex-wrap: wrap;
}
.resa-list .timeline-card .timeline-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resa-list .timeline-card .timeline-card-meta i {
  color: var(--neutral-400);
  font-size: 11px;
}
.resa-list .bulk-toolbar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--neutral-900);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  z-index: 200;
  font-size: 13px;
  display: flex;
  opacity: 0;
  transition: transform 300ms cubic-bezier(0.4, 0.8, 0.2, 1), opacity 300ms;
}
.resa-list .bulk-toolbar.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.resa-list .bulk-toolbar .bulk-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.resa-list .bulk-toolbar input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  width: 180px;
  font-family: inherit;
}
.resa-list .bulk-toolbar input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.resa-list .bulk-toolbar .bulk-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}
.resa-list .empty-state {
  text-align: center;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.resa-list .empty-state .empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--neutral-400);
  margin-bottom: 8px;
}
.resa-list .empty-state .empty-state-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-800);
}
.resa-list .empty-state .empty-state-desc {
  font-size: 13px;
  color: var(--neutral-500);
  max-width: 360px;
}
.resa-list .text-mono {
  font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════════════════════════
   RESA EMPTY STATE HERO (aucune réservation + pas de brouillon)
   ═══════════════════════════════════════════════════════════════ */
.resa-empty .empty-hero {
  background: linear-gradient(135deg, var(--blue-50) 0%, #fafbff 60%, #fff 100%);
  border: 1px solid var(--blue-100);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .resa-empty .empty-hero {
    grid-template-columns: 1fr;
  }
}
.resa-empty .empty-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}
.resa-empty .empty-hero-eyebrow i {
  font-size: 10px;
  color: var(--amber-500);
}
.resa-empty .empty-hero h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.resa-empty .empty-hero p {
  font-size: 14px;
  color: var(--neutral-600);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 20px;
}
.resa-empty .empty-hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.resa-empty .empty-hero-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 12px;
  color: var(--neutral-600);
  flex-wrap: wrap;
}
.resa-empty .empty-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resa-empty .empty-hero-meta i {
  color: var(--green-600);
  font-size: 11px;
}
.resa-empty .empty-hero-visual {
  position: relative;
  height: 280px;
}
@media (max-width: 900px) {
  .resa-empty .empty-hero-visual {
    order: -1;
    height: 220px;
  }
}
.resa-empty .illus-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  width: 200px;
}
.resa-empty .illus-card .illus-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.resa-empty .illus-card .illus-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.resa-empty .illus-card .illus-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-900);
}
.resa-empty .illus-card .illus-sub {
  font-size: 10px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
}
.resa-empty .illus-card .illus-line {
  height: 6px;
  background: var(--neutral-100);
  border-radius: 3px;
  margin-bottom: 6px;
}
.resa-empty .illus-card .illus-line.short {
  width: 60%;
}
.resa-empty .illus-card .illus-line.accent {
  background: var(--blue-200);
}
.resa-empty .illus-card .illus-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--neutral-200);
  font-size: 10px;
}
.resa-empty .illus-card .illus-chip {
  color: var(--green-700);
  font-weight: 600;
}
.resa-empty .illus-card .illus-dates {
  color: var(--neutral-500);
  font-family: var(--font-mono);
}
.resa-empty .illus-card-1 {
  top: 0;
  right: 60px;
  transform: rotate(-4deg);
  opacity: 0.7;
}
.resa-empty .illus-card-2 {
  top: 40px;
  right: 20px;
  transform: rotate(3deg);
  opacity: 0.85;
}
.resa-empty .illus-card-main {
  top: 80px;
  right: 80px;
  transform: none;
  z-index: 2;
  width: 220px;
}
.resa-empty .illus-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--amber-500);
  color: #fff;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  z-index: 3;
}
.resa-empty .illus-badge i {
  margin-right: 4px;
}
.resa-empty .steps-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 28px 0 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.resa-empty .steps-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--neutral-200);
}
.resa-empty .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .resa-empty .steps-grid {
    grid-template-columns: 1fr;
  }
}
.resa-empty .step-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 20px;
  position: relative;
  transition: all 200ms;
}
.resa-empty .step-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.resa-empty .step-card:hover .step-number {
  color: var(--blue-600);
}
.resa-empty .step-card .step-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-200);
  font-family: var(--font-mono);
  letter-spacing: -1px;
  transition: color 200ms;
}
.resa-empty .step-card .step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin: 8px 0 12px;
}
.resa-empty .step-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0 0 6px;
}
.resa-empty .step-card p {
  font-size: 13px;
  color: var(--neutral-500);
  line-height: 1.5;
  margin: 0;
}
.resa-empty .resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}
.resa-empty .resource-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 150ms;
}
.resa-empty .resource-card:hover {
  border-color: var(--neutral-300);
  background: var(--neutral-50);
}
.resa-empty .resource-card .resource-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--neutral-100);
  color: var(--neutral-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.resa-empty .resource-card.video .resource-icon {
  background: var(--red-50);
  color: var(--red-600);
}
.resa-empty .resource-card.doc .resource-icon {
  background: var(--blue-50);
  color: var(--blue-600);
}
.resa-empty .resource-card .resource-body {
  flex: 1;
  min-width: 0;
}
.resa-empty .resource-card .resource-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
}
.resa-empty .resource-card .resource-meta {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.resa-empty .resource-card .resource-arrow {
  color: var(--neutral-400);
  font-size: 12px;
}
.resa-empty .resource-card:hover .resource-arrow {
  color: var(--blue-600);
}
.resa-empty .help-footer {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.resa-empty .help-footer h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--neutral-900);
  margin: 0;
}
.resa-empty .help-footer p {
  font-size: 12px;
  color: var(--neutral-500);
  margin: 4px 0 0;
}
.resa-empty .help-footer .help-footer-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   NESTOR — Vue dossiers
   Scope : .nestor-view. Réutilise les composants de _reservations.scss
   (dropdown, bulk-toolbar, status-badge) autant que possible.
   ═══════════════════════════════════════════════════════════════ */
.nestor-view {
  font-size: 13px;
  /* ── Page header enrichi ───────────────────────────────────── */
  /* ── KPI row (5 cartes) ────────────────────────────────────── */
  /* ── Filter bar 2 rows ─────────────────────────────────────── */
  /* ── Chip filter (réutilise le pattern Mes réservations) ──── */
  /* ── Dropdown (hérite du pattern .dropdown de _reservations.scss) */
  /* ── Table head strip ──────────────────────────────────────── */
  /* ── Dossiers table (dense) ────────────────────────────────── */
  /* Badges inscription (dot coloré) */
  /* Pill Prise en charge */
  /* Badge appel (niveau gradué) */
  /* Actions ligne */
  /* ── Pagination footer ─────────────────────────────────────── */
  /* ── Bulk toolbar (hérite de _reservations.scss en partie) ── */
  /* ── Empty state ───────────────────────────────────────────── */
  /* ── Stagiaire désinscrit ou annulé (maquette « Dashboard Admin - Désinscrits ») ──
     La ligne se repère d'un coup d'œil sans devenir illisible : étiquette écrite, liseré
     ardoise à gauche, fond légèrement grisé, dates barrées. Ardoise et non rouge : c'est une
     information, pas une erreur. Les couleurs de la ligne sont posées en style direct dans le
     gabarit, d'où les !important. */
  /* Raccourci « Désinscrits » de l'en-tête. */
}
.nestor-view .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.nestor-view .page-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nestor-view .page-title-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #1D2D5C;
  color: #6CC04A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.nestor-view .page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
  color: var(--neutral-900);
}
.nestor-view .page-subtitle {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nestor-view .page-subtitle .pill-neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nestor-view .page-subtitle .pill-neutral i {
  font-size: 9px;
  color: var(--neutral-500);
}
.nestor-view .page-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.nestor-view .kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1400px) {
  .nestor-view .kpi-row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 800px) {
  .nestor-view .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.nestor-view .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 17px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  transition: all 150ms;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.nestor-view .kpi:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: var(--neutral-300);
}
.nestor-view .kpi.is-selected {
  border-color: #6CC04A;
  box-shadow: 0 0 0 3px rgba(108, 192, 74, 0.18);
}
.nestor-view .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nestor-view .kpi .kpi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.nestor-view .kpi .kpi-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.1;
}
.nestor-view .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.nestor-view .filter-bar {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 15px 18px;
  margin-bottom: 1rem;
}
.nestor-view .filter-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.nestor-view .filter-search {
  flex: 1;
  position: relative;
  min-width: 240px;
  display: flex;
  align-items: center;
}
.nestor-view .filter-search input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: var(--neutral-900);
  transition: all 150ms;
}
.nestor-view .filter-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.nestor-view .filter-search i {
  position: absolute;
  left: 13px;
  font-size: 13px;
  color: var(--neutral-500);
}
.nestor-view .quick-chips {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.nestor-view .quick-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.nestor-view .quick-chip:hover {
  border-color: var(--neutral-300);
  background: var(--neutral-50);
  color: var(--neutral-900);
}
.nestor-view .quick-chip.is-active {
  background: #1D2D5C;
  color: #fff;
  border-color: #1D2D5C;
}
.nestor-view .quick-chip[disabled], .nestor-view .quick-chip.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.nestor-view .quick-chip i {
  font-size: 10px;
}
.nestor-view .filter-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr) auto;
  gap: 10px;
  align-items: end;
}
@media (max-width: 1400px) {
  .nestor-view .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .nestor-view .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.nestor-view .filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0; /* permet au dropdown de rétrécir */
}
.nestor-view .filter-field label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
}
.nestor-view .filter-field select, .nestor-view .filter-field input[type=number] {
  padding: 7px 10px;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  background: #fff;
  color: var(--neutral-800);
  cursor: pointer;
}
.nestor-view .filter-field select:focus, .nestor-view .filter-field input[type=number]:focus {
  outline: none;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.nestor-view .filter-actions {
  display: flex;
  gap: 6px;
}
.nestor-view .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  width: 100%;
  justify-content: space-between;
  transition: all 150ms;
}
.nestor-view .filter-chip:hover {
  border-color: var(--neutral-300);
  background: var(--neutral-50);
}
.nestor-view .filter-chip.is-active {
  border-color: var(--blue-600);
  background: var(--blue-50);
  color: var(--blue-700);
}
.nestor-view .filter-chip .chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  text-align: left;
}
.nestor-view .filter-chip .chip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--blue-600);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
}
.nestor-view .dropdown {
  position: relative;
}
.nestor-view .dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 150;
  display: none;
  overflow: hidden;
  animation: nestor-dd-fade 120ms ease-out;
}
.nestor-view .dropdown.is-open .dropdown-menu {
  display: block;
}
@keyframes nestor-dd-fade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nestor-view .dropdown-search {
  padding: 10px 10px 8px;
  border-bottom: 1px solid var(--neutral-100);
  position: relative;
}
.nestor-view .dropdown-search input {
  width: 100%;
  padding: 6px 10px 6px 30px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  color: var(--neutral-900);
}
.nestor-view .dropdown-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.nestor-view .dropdown-search i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--neutral-500);
}
.nestor-view .dropdown-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 4px 0;
}
.nestor-view .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  font-size: 13px;
  color: var(--neutral-800);
  cursor: pointer;
  user-select: none;
}
.nestor-view .dropdown-item:hover {
  background: var(--neutral-50);
}
.nestor-view .dropdown-item.is-selected {
  background: var(--green-50);
  color: var(--green-700);
}
.nestor-view .dropdown-item.is-hidden {
  display: none;
}
.nestor-view .dropdown-item .dd-check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--neutral-300);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  transition: all 150ms;
}
.nestor-view .dropdown-item.is-selected .dd-check {
  background: #6CC04A;
  border-color: #6CC04A;
}
.nestor-view .dropdown-item .dd-label {
  flex: 1;
  line-height: 1.2;
}
.nestor-view .dropdown-empty {
  padding: 16px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--neutral-500);
}
.nestor-view .dropdown-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
}
.nestor-view .table-head-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 4px;
  flex-wrap: wrap;
  gap: 8px;
}
.nestor-view .table-count {
  font-size: 12px;
  color: var(--neutral-500);
}
.nestor-view .table-count strong {
  color: var(--neutral-900);
  font-weight: 600;
}
.nestor-view .table-head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nestor-view .column-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--neutral-600);
  cursor: pointer;
  font-family: inherit;
}
.nestor-view .column-btn:hover {
  background: var(--neutral-50);
  color: var(--neutral-800);
}
.nestor-view .column-btn[disabled], .nestor-view .column-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.nestor-view .table-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.nestor-view .table-scroll {
  overflow-x: auto;
}
.nestor-view table.dossiers {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.nestor-view table.dossiers thead th {
  text-align: left;
  padding: 10px 12px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  background: var(--neutral-50);
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}
.nestor-view table.dossiers td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--neutral-100);
  color: var(--neutral-700);
  vertical-align: middle;
  white-space: nowrap;
}
.nestor-view table.dossiers tbody tr {
  transition: background 100ms;
  cursor: pointer;
}
.nestor-view table.dossiers tbody tr:hover td {
  background: #FAFBFC;
}
.nestor-view table.dossiers tbody tr.is-selected td {
  background: var(--blue-50);
}
.nestor-view table.dossiers tbody tr.is-hidden {
  display: none;
}
.nestor-view .num-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neutral-600);
}
.nestor-view .person-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}
.nestor-view .person-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.3px;
  background: var(--blue-600);
}
.nestor-view .person-name {
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.2;
  font-size: 13px;
}
.nestor-view .person-sub {
  font-size: 10.5px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  margin-top: 1px;
}
.nestor-view .agency-cell {
  font-weight: 500;
  color: var(--neutral-800);
  max-width: 260px;
  white-space: normal;
  line-height: 1.35;
}
.nestor-view .agency-cell .dr-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 1px 7px;
  border-radius: 4px;
  margin-right: 6px;
  letter-spacing: 0.2px;
}
.nestor-view .agency-cell .agency-name {
  color: var(--neutral-700);
}
.nestor-view .date-cell {
  font-size: 12.5px;
  color: var(--neutral-700);
  font-variant-numeric: tabular-nums;
}
.nestor-view .date-cell .day {
  font-weight: 600;
  color: var(--neutral-900);
}
.nestor-view .date-cell .month {
  color: var(--neutral-500);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.nestor-view .range-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nestor-view .range-bar .range-days {
  font-size: 10px;
  color: var(--neutral-500);
  background: var(--neutral-100);
  padding: 1px 6px;
  border-radius: 10px;
}
.nestor-view .campus-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neutral-700);
}
.nestor-view .campus-cell i {
  color: var(--neutral-400);
  font-size: 10px;
}
.nestor-view .formation-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--neutral-700);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.nestor-view .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.nestor-view .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.nestor-view .badge.b-info {
  background: var(--blue-50);
  color: var(--blue-700);
}
.nestor-view .badge.b-success {
  background: var(--green-50);
  color: var(--green-700);
}
.nestor-view .badge.b-warning {
  background: var(--amber-50);
  color: var(--amber-700);
}
.nestor-view .badge.b-danger {
  background: var(--red-50);
  color: var(--red-700);
}
.nestor-view .badge.b-neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.nestor-view .badge.b-purple {
  background: var(--purple-50);
  color: var(--purple-700);
}
.nestor-view .charge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.nestor-view .charge-pill.c-totale {
  background: var(--green-50);
  color: var(--green-700);
}
.nestor-view .charge-pill.c-encours {
  background: var(--amber-50);
  color: var(--amber-700);
}
.nestor-view .charge-pill.c-horsscope {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.nestor-view .charge-pill.c-na {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.nestor-view .appel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  background: var(--blue-50);
  color: var(--blue-700);
}
.nestor-view .appel-badge.niveau-1 {
  background: var(--blue-50);
  color: var(--blue-700);
}
.nestor-view .appel-badge.niveau-2 {
  background: var(--amber-50);
  color: var(--amber-700);
}
.nestor-view .appel-badge.niveau-3 {
  background: var(--red-50);
  color: var(--red-700);
}
.nestor-view .appel-badge .appel-num {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.6);
  padding: 0 5px;
  border-radius: 3px;
  font-size: 9px;
}
.nestor-view .row-actions {
  display: flex;
  gap: 2px;
  justify-content: flex-end;
  opacity: 0.4;
  transition: opacity 150ms;
}
.nestor-view tr:hover .row-actions, .nestor-view tr.is-selected .row-actions {
  opacity: 1;
}
.nestor-view .row-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 12px;
  text-decoration: none;
}
.nestor-view .row-btn:hover {
  background: var(--neutral-100);
  color: var(--neutral-800);
}
.nestor-view .row-check {
  width: 16px;
  height: 16px;
  accent-color: #1D2D5C;
  cursor: pointer;
  vertical-align: middle;
}
.nestor-view .pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--card-border);
  background: var(--neutral-50);
  flex-wrap: wrap;
  gap: 12px;
}
.nestor-view .pg-info {
  font-size: 12px;
  color: var(--neutral-600);
}
.nestor-view .pg-info strong {
  color: var(--neutral-900);
}
.nestor-view .pg-size {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--neutral-600);
}
.nestor-view .pg-size select {
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}
.nestor-view .pg-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nestor-view .pg-btn {
  min-width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  padding: 0 10px;
  text-decoration: none;
}
.nestor-view .pg-btn:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.nestor-view .pg-btn.is-active {
  background: #1D2D5C;
  color: #fff;
  border-color: #1D2D5C;
}
.nestor-view .pg-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.nestor-view .pg-ellipsis {
  padding: 0 6px;
  color: var(--neutral-500);
  font-size: 12px;
}
.nestor-view .bulk-toolbar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(140%);
  background: var(--neutral-900);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  z-index: 200;
  opacity: 0;
  transition: transform 300ms cubic-bezier(0.4, 0.8, 0.2, 1), opacity 300ms;
}
.nestor-view .bulk-toolbar.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.nestor-view .bulk-toolbar .bulk-count {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nestor-view .bulk-toolbar .bulk-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}
.nestor-view .bulk-toolbar .bulk-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nestor-view .bulk-toolbar .bulk-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.nestor-view .bulk-toolbar .bulk-btn.danger {
  background: var(--red-600);
  color: #fff;
}
.nestor-view .bulk-toolbar .bulk-btn.danger:hover {
  background: var(--red-700);
}
.nestor-view .empty-state {
  text-align: center;
  padding: 64px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.nestor-view .empty-state .empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--neutral-400);
  margin-bottom: 8px;
}
.nestor-view .empty-state .empty-state-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--neutral-800);
}
.nestor-view .empty-state .empty-state-desc {
  font-size: 13px;
  color: var(--neutral-500);
  max-width: 360px;
}
.nestor-view .text-mono {
  font-family: var(--font-mono);
}
.nestor-view .nes-row-des {
  background: #F4F6FA;
}
.nestor-view .nes-row-des > td:first-child {
  box-shadow: inset 4px 0 0 #3E4A6B;
}
.nestor-view .nes-row-des td a[href] {
  color: #3E4A6B !important;
}
.nestor-view .nes-row-des .nes-dates {
  color: #5A6273 !important;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.nestor-view .nes-row-des td > div > div[style*="border-radius:50%"] {
  filter: grayscale(1);
  opacity: 0.7;
}
.nestor-view .nes-des {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  white-space: nowrap;
}
.nestor-view .nes-des-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 7px;
  background: #3E4A6B;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
}
.nestor-view .nes-des-tag i {
  font-size: 9.5px;
}
.nestor-view .nes-des-le {
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
}
.nestor-view .nes-des-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #3E4A6B;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.nestor-view .nes-des-pill i {
  font-size: 12px;
}
.nestor-view .nes-des-pill .n {
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #EDF0F5;
  color: #3E4A6B;
  display: inline-grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.nestor-view .nes-des-pill:hover {
  border-color: #3E4A6B;
  color: #3E4A6B;
}
.nestor-view .nes-des-pill:focus-visible {
  outline: 2px solid #3E4A6B;
  outline-offset: 2px;
}
.nestor-view .nes-des-pill.is-on {
  border-color: #3E4A6B;
  background: #3E4A6B;
  color: #fff;
}
.nestor-view .nes-des-pill.is-on .n {
  background: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   LOGISTIQUE — Navettes & Taxis (index + planning)
   Scope : .logistique-view. Réutilise .kpi, .badge, .filter-chip,
   .pagination, .dropdown-* de _reservations.scss / _nestor.scss.
   ═══════════════════════════════════════════════════════════════ */
.logistique-view {
  font-size: 13px;
  /* ── Page header (variant Logistique) ─────────────────────── */
  /* ── Breadcrumb (sous le titre, optionnel) ────────────────── */
  /* ── KPI row ──────────────────────────────────────────────── */
  /* ── Week pager ───────────────────────────────────────────── */
  /* ── Campus cards grid ────────────────────────────────────── */
  /* Status tag (OK / Partiel / À traiter) */
  /* Prestataire block (campus card footer navette) */
  /* Price-tag (taxi) */
  /* ── Planning layout (2 cols) ─────────────────────────────── */
  /* ── Quick chips (filtre sens/statut) ─────────────────────── */
  /* ── Day group (timeline par jour) ────────────────────────── */
  /* ── Trip card (navette/taxi) ─────────────────────────────── */
  /* ── Page liste /taxis/courses ─────────────────────── */
  /* ── Banner regroupement (suggestions automatiques) ──────── */
  /* ── Week pager wrapper (taxis) ──────────────────────────── */
  /* ── Page détail course taxi ─────────────────────── */
  /* ── Sociétés taxi : grille de cartes ─────────────── */
  /* Capacity ring SVG */
  /* Passager table (dans trip-card) */
  /* Badge inscription pill (réutilise les classes b-info/success/warning/danger de _nestor.scss via même naming) */
  /* Trip empty inline */
  /* Add-pax details */
  /* Trip action row (taxi : Confirmer / Annuler + suggestion) */
  /* ── Side panel cards ─────────────────────────────────────── */
  /* Week summary list */
  /* Unassigned pax pills (side card navette) */
  /* Cost summary table (taxi) */
  /* Stacked bar (état courses taxi) */
  /* ── Empty state container ────────────────────────────────── */
}
.logistique-view .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.logistique-view .page-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logistique-view .page-title-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.logistique-view .page-title-mark.mark-navette {
  background: linear-gradient(135deg, #16A34A, #0D9488);
}
.logistique-view .page-title-mark.mark-taxi {
  background: linear-gradient(135deg, #F59E0B, #EA580C);
}
.logistique-view .page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
  color: var(--neutral-900);
}
.logistique-view .page-subtitle {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.logistique-view .page-subtitle .pill {
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.logistique-view .page-subtitle .pill i {
  font-size: 9px;
}
.logistique-view .page-subtitle .pill.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.logistique-view .page-subtitle .pill.neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.logistique-view .page-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.logistique-view .page-back {
  font-size: 12px;
  color: var(--neutral-500);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.logistique-view .page-back:hover {
  color: var(--blue-600);
}
.logistique-view .page-back i {
  font-size: 10px;
}
.logistique-view .breadcrumb {
  font-size: 12px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.logistique-view .breadcrumb a {
  color: var(--neutral-500);
  text-decoration: none;
}
.logistique-view .breadcrumb a:hover {
  color: var(--blue-600);
}
.logistique-view .breadcrumb strong {
  color: var(--neutral-800);
  font-weight: 600;
}
.logistique-view .breadcrumb .sep {
  font-size: 9px;
  color: var(--neutral-300);
}
.logistique-view .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1200px) {
  .logistique-view .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.logistique-view .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 150ms;
}
.logistique-view .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.logistique-view .kpi .kpi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.logistique-view .kpi .kpi-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.1;
}
.logistique-view .kpi .kpi-value.money {
  font-variant-numeric: tabular-nums;
}
.logistique-view .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.logistique-view .week-pager-wrap {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.logistique-view .week-pager {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  padding: 3px;
}
.logistique-view .week-pager .pager-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--neutral-600);
  cursor: pointer;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.logistique-view .week-pager .pager-btn:hover {
  background: #fff;
  color: var(--neutral-900);
}
.logistique-view .week-pager .current {
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--neutral-900);
  min-width: 140px;
  text-align: center;
  letter-spacing: 0.2px;
}
.logistique-view .week-pager .current small {
  display: block;
  font-size: 10px;
  color: var(--neutral-500);
  font-weight: 500;
  margin-top: -1px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.logistique-view .year-pill {
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.logistique-view .quick-weeks {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.logistique-view .quick-week {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--neutral-700);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.logistique-view .quick-week:hover {
  border-color: var(--neutral-300);
  background: var(--neutral-50);
  color: var(--neutral-900);
}
.logistique-view .quick-week.is-active {
  background: var(--neutral-900);
  color: #fff;
  border-color: var(--neutral-900);
}
.logistique-view .today-btn {
  margin-left: auto;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-700);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
}
.logistique-view .today-btn:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-700);
}
.logistique-view .campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  margin-bottom: 1.5rem;
}
.logistique-view .campus-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 150ms;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.logistique-view .campus-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--neutral-300);
}
.logistique-view .campus-card-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  gap: 12px;
}
.logistique-view .campus-card-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.logistique-view .campus-card-mark.icon-green {
  background: linear-gradient(135deg, #16A34A, #0D9488);
}
.logistique-view .campus-card-mark.icon-amber {
  background: linear-gradient(135deg, #F59E0B, #EA580C);
}
.logistique-view .campus-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  letter-spacing: -0.2px;
}
.logistique-view .campus-card-sub {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.logistique-view .campus-card-sub i {
  font-size: 9px;
}
.logistique-view .campus-card-body {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
}
.logistique-view .stat-block .stat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  margin-bottom: 4px;
}
.logistique-view .stat-block .stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.3px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.logistique-view .stat-block .stat-sub {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-left: 2px;
}
.logistique-view .progress-bar {
  margin-top: 6px;
  height: 5px;
  background: var(--neutral-100);
  border-radius: 999px;
  overflow: hidden;
}
.logistique-view .progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 300ms;
}
.logistique-view .progress-fill.bar-green {
  background: var(--green-600);
}
.logistique-view .progress-fill.bar-amber {
  background: var(--amber-500);
}
.logistique-view .progress-fill.bar-red {
  background: var(--red-600);
}
.logistique-view .campus-card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.logistique-view .campus-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-600);
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 150ms;
}
.logistique-view .campus-card-cta i {
  font-size: 9px;
}
.logistique-view .campus-card:hover .campus-card-cta {
  background: var(--blue-50);
}
.logistique-view .status-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.logistique-view .status-tag.status-ok {
  background: var(--green-50);
  color: var(--green-700);
}
.logistique-view .status-tag.status-partiel {
  background: var(--amber-50);
  color: var(--amber-700);
}
.logistique-view .status-tag.status-a-traiter {
  background: var(--red-50);
  color: var(--red-700);
}
.logistique-view .presta-block {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.logistique-view .presta-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--neutral-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.logistique-view .presta-info {
  min-width: 0;
}
.logistique-view .presta-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logistique-view .presta-email {
  font-size: 10.5px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logistique-view .presta-warning {
  font-size: 11.5px;
  color: var(--amber-700);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 1;
}
.logistique-view .price-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--amber-50);
  color: var(--amber-700);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.logistique-view .price-tag i {
  font-size: 9px;
}
.logistique-view .price-tag.big {
  padding: 6px 14px;
  font-size: 13.5px;
}
.logistique-view .price-tag.neutral {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.logistique-view .planning-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 1100px) {
  .logistique-view .planning-layout {
    grid-template-columns: 1fr;
  }
}
.logistique-view .planning-main {
  min-width: 0;
}
.logistique-view .planning-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: calc(var(--topbar-h) + 6px);
}
.logistique-view .chip-filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.logistique-view .chip-filter {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-700);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 150ms;
}
.logistique-view .chip-filter:hover {
  border-color: var(--neutral-300);
  background: var(--neutral-50);
  color: var(--neutral-900);
}
.logistique-view .chip-filter.is-active {
  background: var(--neutral-900);
  color: #fff;
  border-color: var(--neutral-900);
}
.logistique-view .chip-filter i {
  font-size: 10px;
}
.logistique-view .chip-filter .count {
  background: var(--neutral-100);
  color: var(--neutral-700);
  padding: 1px 7px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
}
.logistique-view .chip-filter.is-active .count {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.logistique-view .day-group {
  margin-bottom: 20px;
}
.logistique-view .day-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0 10px;
  padding: 6px 0;
}
.logistique-view .day-header .date-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logistique-view .day-header .day-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.logistique-view .day-header .day-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.logistique-view .day-header hr {
  flex: 1;
  border: none;
  border-top: 1px dashed var(--neutral-200);
  margin: 0;
}
.logistique-view .day-header .day-count {
  font-size: 11px;
  color: var(--neutral-500);
  background: var(--neutral-100);
  padding: 2px 9px;
  border-radius: 999px;
  font-weight: 600;
}
.logistique-view .trip-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: all 150ms;
}
.logistique-view .trip-card:hover {
  box-shadow: var(--shadow);
}
.logistique-view .trip-card.is-empty {
  border-style: dashed;
  background: repeating-linear-gradient(45deg, #fff, #fff 10px, #FDFDFD 10px, #FDFDFD 20px);
}
.logistique-view .trip-card.aller {
  border-left: 3px solid var(--blue-600);
}
.logistique-view .trip-card.retour {
  border-left: 3px solid var(--amber-500);
}
.logistique-view .trip-card.propose {
  border-left: 3px solid var(--amber-500);
}
.logistique-view .trip-card.confirme {
  border-left: 3px solid var(--green-600);
}
.logistique-view .trip-card.annule {
  border-left: 3px solid var(--neutral-300);
  opacity: 0.7;
}
.logistique-view .trip-card.is-hidden {
  display: none;
}
.logistique-view .trip-card-main {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logistique-view .trip-time {
  font-size: 22px;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 60px;
}
.logistique-view .trip-route {
  flex: 1;
  min-width: 0;
}
.logistique-view .trip-route .route-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--neutral-800);
  font-weight: 500;
}
.logistique-view .trip-route .route-inner .route-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neutral-400);
  flex-shrink: 0;
}
.logistique-view .trip-route .route-inner .route-dot.start {
  background: var(--blue-600);
}
.logistique-view .trip-route .route-inner .route-dot.end {
  background: var(--green-600);
}
.logistique-view .trip-route .route-inner .route-line {
  flex: 1;
  height: 1px;
  border-top: 1.5px dashed var(--neutral-300);
  min-width: 12px;
}
.logistique-view .trip-route .route-inner .route-point {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.logistique-view .trip-route .route-meta {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.logistique-view .trip-route .route-meta i {
  color: var(--neutral-400);
  font-size: 10px;
  margin-right: 3px;
}
.logistique-view .trip-route .route-meta .sens-chip {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}
.logistique-view .trip-route .route-meta .sens-chip.aller {
  background: var(--blue-50);
  color: var(--blue-700);
}
.logistique-view .trip-route .route-meta .sens-chip.retour {
  background: var(--amber-50);
  color: var(--amber-700);
}
.logistique-view .taxi-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.logistique-view .taxi-kpi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s;
}
.logistique-view .taxi-kpi:hover {
  border-color: #93C5FD;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.logistique-view .taxi-kpi.is-active {
  border-color: #1E3A8A;
  background: #EFF6FF;
}
.logistique-view .taxi-kpi .tk-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.logistique-view .taxi-kpi .tk-body {
  min-width: 0;
  flex: 1;
}
.logistique-view .taxi-kpi .tk-value {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}
.logistique-view .taxi-kpi .tk-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--neutral-500);
  margin-top: 4px;
}
.logistique-view .regroupement-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--amber-50), #FFFBEB);
  border: 1px solid var(--amber-200);
  border-left: 4px solid var(--amber-500);
  border-radius: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.logistique-view .regroupement-banner .rb-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--amber-100);
  color: var(--amber-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.logistique-view .regroupement-banner .rb-body {
  flex: 1;
  min-width: 220px;
}
.logistique-view .regroupement-banner .rb-body strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-800);
  margin-bottom: 2px;
}
.logistique-view .regroupement-banner .rb-body span {
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.45;
}
.logistique-view .regroupement-banner .rb-details {
  width: 100%;
  margin-top: 4px;
}
.logistique-view .regroupement-banner .rb-details > summary {
  cursor: pointer;
  list-style: none;
  width: max-content;
}
.logistique-view .regroupement-banner .rb-details > summary::-webkit-details-marker {
  display: none;
}
.logistique-view .regroupement-banner .rb-details[open] > summary i.fa-list {
  transform: rotate(0);
}
.logistique-view .regroupement-banner .rb-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.logistique-view .regroupement-banner .rb-item {
  background: #fff;
  border: 1px solid var(--amber-200);
  border-radius: 8px;
  padding: 10px 12px;
}
.logistique-view .regroupement-banner .rb-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.logistique-view .regroupement-banner .rb-item-head .rb-item-campus {
  font-weight: 700;
  color: var(--neutral-900);
}
.logistique-view .regroupement-banner .rb-item-head .rb-item-campus i {
  color: var(--amber-700);
  font-size: 11px;
  margin-right: 4px;
}
.logistique-view .regroupement-banner .rb-item-head .rb-item-sens {
  padding: 2px 8px;
  background: var(--neutral-100);
  color: var(--neutral-700);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.logistique-view .regroupement-banner .rb-item-head .rb-item-economie {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-700);
}
.logistique-view .regroupement-banner .rb-item-courses {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.logistique-view .regroupement-banner .rb-course-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  color: var(--amber-800);
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-mono, monospace);
  transition: all 120ms;
}
.logistique-view .regroupement-banner .rb-course-pill small {
  font-family: inherit;
  opacity: 0.8;
  font-weight: 500;
}
.logistique-view .regroupement-banner .rb-course-pill:hover {
  background: var(--amber-100);
  border-color: var(--amber-500);
}
.logistique-view .taxi-week-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.logistique-view .taxi-week-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid var(--red-200);
  background: var(--red-50);
  color: var(--red-700);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 120ms;
}
.logistique-view .taxi-week-clear i {
  font-size: 10px;
}
.logistique-view .taxi-week-clear:hover {
  background: var(--red-100);
  border-color: var(--red-600);
}
.logistique-view .taxi-filters {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.logistique-view .taxi-filters .tf-spacer {
  flex: 1;
}
.logistique-view .taxi-filters .tf-segment {
  display: inline-flex;
  background: #F3F4F6;
  border-radius: 8px;
  padding: 3px;
  gap: 0;
}
.logistique-view .taxi-filters .tf-segment a {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--neutral-500);
  text-decoration: none;
  transition: all 0.15s;
}
.logistique-view .taxi-filters .tf-segment a.is-active {
  background: #fff;
  color: #1E3A8A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-weight: 600;
}
.logistique-view .taxi-filters .tf-segment a:hover:not(.is-active) {
  color: #111827;
}
.logistique-view .taxi-filters .tf-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logistique-view .taxi-filters .tf-field label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--neutral-600);
  font-weight: 500;
  white-space: nowrap;
}
.logistique-view .taxi-filters .tf-field label i {
  color: var(--neutral-400);
  font-size: 11px;
}
.logistique-view .taxi-filters .tf-field select {
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  font-size: 12.5px;
  background: #fff;
  min-width: 120px;
  cursor: pointer;
  font-family: inherit;
  color: var(--neutral-800);
}
.logistique-view .taxi-filters .tf-field select:focus {
  outline: none;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.logistique-view .taxi-day-group {
  margin-bottom: 24px;
}
.logistique-view .tdg-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--neutral-500);
  margin: 0 0 10px;
}
.logistique-view .tdg-count {
  background: #F3F4F6;
  color: #6B7280;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.logistique-view .taxi-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.logistique-view .taxi-card {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-left: 4px solid #F59E0B;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.logistique-view .taxi-card:hover {
  border-color: #93C5FD;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}
.logistique-view .taxi-card.retour {
  border-left-color: #3B82F6;
}
.logistique-view .taxi-card .tc-date {
  text-align: center;
  line-height: 1.1;
}
.logistique-view .taxi-card .tc-date .tc-day {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
}
.logistique-view .taxi-card .tc-date .tc-month {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.logistique-view .taxi-card .tc-date .tc-time {
  font-size: 14px;
  font-weight: 600;
  color: #1E3A8A;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.logistique-view .taxi-card .tc-route {
  min-width: 0;
}
.logistique-view .taxi-card .tc-sens-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.logistique-view .taxi-card .tc-campus {
  font-size: 11px;
  color: var(--neutral-500);
}
.logistique-view .taxi-card .tc-points {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  flex-wrap: wrap;
}
.logistique-view .taxi-card .tc-point {
  font-weight: 600;
  color: #111827;
}
.logistique-view .taxi-card .tc-point.start {
  color: #4B5563;
}
.logistique-view .taxi-card .tc-point.end {
  color: #111827;
}
.logistique-view .taxi-card .tc-arrow {
  font-size: 11px;
  color: #9CA3AF;
}
.logistique-view .taxi-card .tc-meta-line {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.logistique-view .taxi-card .tc-meta-line i {
  color: #9CA3AF;
}
.logistique-view .taxi-card .dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #D1D5DB;
}
.logistique-view .taxi-card .tc-pax {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}
.logistique-view .taxi-card .tc-pax-avatars {
  display: flex;
}
.logistique-view .taxi-card .tc-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  border: 2px solid #fff;
  margin-left: -8px;
}
.logistique-view .taxi-card .tc-avatar:first-child {
  margin-left: 0;
}
.logistique-view .taxi-card .tc-avatar.tc-more {
  background: #6B7280;
  font-size: 10px;
}
.logistique-view .taxi-card .tc-pax-count {
  font-size: 11px;
  color: var(--neutral-500);
}
.logistique-view .taxi-card .tc-pax-count strong {
  color: #111827;
  font-size: 13px;
}
.logistique-view .taxi-card .tc-pax-count span {
  display: block;
  font-size: 10px;
}
.logistique-view .taxi-card .tc-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logistique-view .taxi-card .tc-chevron {
  color: #9CA3AF;
  font-size: 12px;
}
.logistique-view .course-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: linear-gradient(135deg, #FEF3C7, #FFFBEB);
  border: 1px solid #FCD34D;
  border-left: 4px solid #F59E0B;
  border-radius: 12px;
  margin-bottom: 20px;
}
.logistique-view .course-hero.retour {
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
  border-color: #93C5FD;
  border-left-color: #3B82F6;
}
.logistique-view .course-hero .hero-eyebrow {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #6B7280;
}
.logistique-view .course-hero .hero-title {
  font-size: 22px;
  margin: 6px 0 8px;
  color: #111827;
}
.logistique-view .course-hero .hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #374151;
  flex-wrap: wrap;
}
.logistique-view .course-hero .hero-meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #D1D5DB;
}
.logistique-view .course-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 1024px) {
  .logistique-view .course-grid {
    grid-template-columns: 1fr;
  }
}
.logistique-view .meta-list {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px 14px;
  margin: 0;
  font-size: 13px;
}
.logistique-view .meta-list dt {
  color: #6B7280;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  align-self: center;
}
.logistique-view .meta-list dd {
  margin: 0;
  font-weight: 600;
  color: #111827;
}
.logistique-view .pax-candidate-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 360px;
  overflow-y: auto;
}
.logistique-view .pax-candidate {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.logistique-view .pax-candidate:hover {
  background: #F9FAFB;
  border-color: #93C5FD;
}
.logistique-view .pax-candidate:has(input:checked) {
  background: #EFF6FF;
  border-color: #3B82F6;
}
.logistique-view .pax-candidate input {
  margin-top: 2px;
}
.logistique-view .pax-candidate .pax-cand-name {
  font-size: 13.5px;
}
.logistique-view .pax-candidate .pax-cand-meta {
  font-size: 11.5px;
  color: #6B7280;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.logistique-view .pax-candidate .pax-cand-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #D1D5DB;
}
.logistique-view .societe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.logistique-view .societe-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.15s;
}
.logistique-view .societe-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-color: #C7D2FE;
}
.logistique-view .societe-card.is-inactive {
  opacity: 0.6;
}
.logistique-view .societe-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--neutral-200);
}
.logistique-view .societe-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1E3A8A;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logistique-view .societe-id {
  flex: 1;
  min-width: 0;
}
.logistique-view .societe-name {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.logistique-view .societe-campus {
  font-size: 11.5px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.logistique-view .societe-status {
  flex-shrink: 0;
}
.logistique-view .societe-card-meta {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #4B5563;
}
.logistique-view .societe-card-meta span i {
  width: 14px;
  color: #9CA3AF;
}
.logistique-view .societe-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--neutral-200);
  border-top: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
}
.logistique-view .ss-item {
  background: #fff;
  padding: 12px 8px;
  text-align: center;
}
.logistique-view .ss-item .ss-value {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}
.logistique-view .ss-item .ss-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--neutral-500);
  margin-top: 4px;
}
.logistique-view .societe-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #FAFAFA;
}
.logistique-view .ts-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.logistique-view .ts-pill.ok {
  background: #DCFCE7;
  color: #15803D;
}
.logistique-view .ts-pill.warn {
  background: #FEF3C7;
  color: #92400E;
}
.logistique-view .trip-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logistique-view .trip-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}
.logistique-view .trip-action-btn:hover {
  background: var(--neutral-50);
  color: var(--neutral-800);
}
.logistique-view .trip-action-danger:hover {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.logistique-view .capacity-ring {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}
.logistique-view .capacity-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.logistique-view .capacity-ring circle {
  fill: none;
  stroke-width: 5;
}
.logistique-view .capacity-ring .bg {
  stroke: var(--neutral-100);
}
.logistique-view .capacity-ring .fg {
  stroke: var(--blue-600);
  stroke-linecap: round;
  transition: stroke-dashoffset 400ms;
}
.logistique-view .capacity-ring.near .fg {
  stroke: var(--amber-500);
}
.logistique-view .capacity-ring.full .fg {
  stroke: var(--red-600);
}
.logistique-view .capacity-ring .label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--neutral-800);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.logistique-view .capacity-ring .label small {
  font-size: 8.5px;
  font-weight: 500;
  color: var(--neutral-500);
  margin-top: 1px;
}
.logistique-view .trip-card-body {
  border-top: 1px solid var(--neutral-100);
  padding: 10px 16px;
}
.logistique-view .passenger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.logistique-view .passenger-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--neutral-100);
  vertical-align: middle;
}
.logistique-view .passenger-table td.row-actions-cell {
  text-align: right;
  width: 40px;
}
.logistique-view .passenger-table tr:last-child td {
  border-bottom: none;
}
.logistique-view .pax-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logistique-view .pax-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}
.logistique-view .pax-info .pax-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-900);
  line-height: 1.2;
}
.logistique-view .pax-info .pax-sub {
  font-size: 10px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  margin-top: 1px;
}
.logistique-view .dr-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 1px 7px;
  border-radius: 4px;
  margin-right: 6px;
  letter-spacing: 0.2px;
}
.logistique-view .dr-name {
  color: var(--neutral-700);
  font-size: 12px;
}
.logistique-view .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.logistique-view .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.logistique-view .badge.b-info {
  background: var(--blue-50);
  color: var(--blue-700);
}
.logistique-view .badge.b-success {
  background: var(--green-50);
  color: var(--green-700);
}
.logistique-view .badge.b-warning {
  background: var(--amber-50);
  color: var(--amber-700);
}
.logistique-view .badge.b-danger {
  background: var(--red-50);
  color: var(--red-700);
}
.logistique-view .badge.b-neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.logistique-view .row-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: none;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 120ms;
}
.logistique-view .row-btn:hover {
  background: var(--neutral-100);
  color: var(--neutral-800);
}
.logistique-view .row-btn.danger:hover {
  background: var(--red-50);
  color: var(--red-600);
}
.logistique-view .trip-empty-inline {
  padding: 12px 16px;
  color: var(--neutral-500);
  font-size: 12px;
  font-style: italic;
  background: var(--neutral-50);
  border-top: 1px solid var(--neutral-100);
}
.logistique-view .add-pax {
  border-top: 1px solid var(--neutral-100);
}
.logistique-view .add-pax summary {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 12px;
  color: var(--blue-700);
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.logistique-view .add-pax summary::-webkit-details-marker {
  display: none;
}
.logistique-view .add-pax summary i {
  font-size: 10px;
}
.logistique-view .add-pax summary:hover {
  background: var(--blue-50);
}
.logistique-view .add-pax[open] summary {
  border-bottom: 1px solid var(--neutral-100);
  background: var(--blue-50);
}
.logistique-view .add-pax .add-pax-list {
  padding: 10px 16px;
  display: grid;
  gap: 6px;
}
.logistique-view .add-pax .add-pax-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  background: #fff;
}
.logistique-view .add-pax .add-pax-item .add-pax-name {
  flex: 1;
  font-size: 12px;
  color: var(--neutral-800);
  font-weight: 500;
}
.logistique-view .add-pax .add-pax-item .add-pax-dr {
  font-size: 11px;
  color: var(--neutral-500);
}
.logistique-view .trip-actions-row {
  border-top: 1px solid var(--neutral-100);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: var(--neutral-50);
}
.logistique-view .trip-actions-row .suggestion-inline {
  font-size: 11.5px;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logistique-view .side-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px;
}
.logistique-view .side-card h3 {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logistique-view .side-card h3 i {
  color: var(--neutral-400);
  font-size: 12px;
}
.logistique-view .side-card .btn-block {
  width: 100%;
  margin-top: 10px;
}
.logistique-view .presta-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.logistique-view .presta-card-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--neutral-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.logistique-view .presta-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
}
.logistique-view .presta-card-email {
  font-size: 11px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  word-break: break-all;
}
.logistique-view .presta-card-actions {
  display: flex;
  gap: 6px;
}
.logistique-view .presta-card-actions .btn {
  flex: 1;
}
.logistique-view .summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.logistique-view .summary-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 12px;
  color: var(--neutral-700);
  border-bottom: 1px solid var(--neutral-100);
}
.logistique-view .summary-list li:last-child {
  border-bottom: none;
}
.logistique-view .summary-list li strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.logistique-view .unassigned-list {
  background: var(--amber-50);
  border-radius: 6px;
  padding: 6px;
  margin: -6px;
  display: grid;
  gap: 4px;
}
.logistique-view .unassigned-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: #fff;
  border-radius: 6px;
  font-size: 11.5px;
}
.logistique-view .unassigned-pill .pax-avatar {
  width: 22px;
  height: 22px;
  font-size: 9px;
}
.logistique-view .unassigned-pill .pax-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-900);
}
.logistique-view .unassigned-pill .pax-dr {
  font-size: 10px;
  color: var(--neutral-500);
  margin-left: auto;
}
.logistique-view .cost-summary {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.logistique-view .cost-summary th, .logistique-view .cost-summary td {
  padding: 6px 0;
  border-bottom: 1px solid var(--neutral-100);
  text-align: left;
}
.logistique-view .cost-summary th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--neutral-500);
  font-weight: 600;
}
.logistique-view .cost-summary td {
  color: var(--neutral-800);
}
.logistique-view .cost-summary td.money {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.logistique-view .cost-summary tr.total td {
  border-top: 2px solid var(--neutral-300);
  font-weight: 700;
  color: var(--neutral-900);
  padding-top: 8px;
}
.logistique-view .stacked-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--neutral-100);
  margin-bottom: 8px;
}
.logistique-view .stacked-bar .seg {
  height: 100%;
}
.logistique-view .stacked-bar .seg.propose {
  background: var(--amber-500);
}
.logistique-view .stacked-bar .seg.confirme {
  background: var(--green-600);
}
.logistique-view .stacked-bar .seg.annule {
  background: var(--neutral-400);
}
.logistique-view .stacked-legend {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--neutral-600);
  flex-wrap: wrap;
}
.logistique-view .stacked-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.logistique-view .stacked-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.logistique-view .empty-state {
  text-align: center;
  padding: 64px 24px;
  background: #fff;
  border: 1px dashed var(--neutral-200);
  border-radius: 12px;
  color: var(--neutral-500);
}
.logistique-view .empty-state .empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--neutral-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--neutral-400);
  margin-bottom: 10px;
}
.logistique-view .empty-state .empty-state-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: 4px;
}
.logistique-view .empty-state .empty-state-desc {
  font-size: 13px;
  color: var(--neutral-500);
}

/* ═══════════════════════════════════════════════════════════════
   STAGIAIRES — page /gestion/stagiaires
   Scope : .stagiaires-view. Pattern identique à .formations-view
   (header + KPI + toolbar + table) mais accent bleu/teal pour
   distinguer annuaire personnes vs catalogue sessions.
   ═══════════════════════════════════════════════════════════════ */
.stagiaires-view {
  font-size: 13px;
  /* ── Page header ──────────────────────────────────────────── */
  /* ── KPI row 4 cartes ─────────────────────────────────────── */
  /* ── Toolbar ──────────────────────────────────────────────── */
  /* ── Table ────────────────────────────────────────────────── */
  /* Cell : avatar + nom/prénom + NNI */
  /* DR + lieu */
  /* Status pill pour complétude/activité */
  /* Pagination */
  /* ═════════════════════════════════════════════════════════════
     FORM PAGE (create/edit stagiaire)
     ═════════════════════════════════════════════════════════════ */
  /* Hero card (mode édition seulement) */
  /* Form card */
  /* Sticky form footer */
  /* Empty state */
}
.stagiaires-view .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.stagiaires-view .page-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stagiaires-view .page-title-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-600), #0D9488);
}
.stagiaires-view .page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
  color: var(--neutral-900);
}
.stagiaires-view .page-subtitle {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stagiaires-view .page-subtitle .pill {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stagiaires-view .page-subtitle .pill.blue {
  background: var(--blue-50);
  color: var(--blue-700);
}
.stagiaires-view .page-subtitle .pill.teal {
  background: #CCFBF1;
  color: #0F766E;
}
.stagiaires-view .page-subtitle .pill.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.stagiaires-view .page-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.stagiaires-view .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1200px) {
  .stagiaires-view .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stagiaires-view .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stagiaires-view .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stagiaires-view .kpi .kpi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.stagiaires-view .kpi .kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stagiaires-view .kpi .kpi-value .unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-500);
  margin-left: 3px;
}
.stagiaires-view .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.stagiaires-view .kpi .kpi-trend {
  font-size: 11px;
  font-weight: 600;
}
.stagiaires-view .kpi .kpi-trend.up {
  color: var(--green-700);
}
.stagiaires-view .kpi .kpi-trend.down {
  color: var(--red-600);
}
.stagiaires-view .kpi .kpi-trend.warn {
  color: var(--amber-700);
}
.stagiaires-view .toolbar {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.stagiaires-view .toolbar-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 240px;
  max-width: 360px;
}
.stagiaires-view .toolbar-search input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  transition: all 150ms;
}
.stagiaires-view .toolbar-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.stagiaires-view .toolbar-search > i {
  position: absolute;
  left: 11px;
  color: var(--neutral-500);
  font-size: 12px;
  pointer-events: none;
}
.stagiaires-view .segmented {
  display: inline-flex;
  background: var(--neutral-100);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.stagiaires-view .segmented a, .stagiaires-view .segmented button {
  background: transparent;
  border: none;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-600);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.stagiaires-view .segmented a i, .stagiaires-view .segmented button i {
  font-size: 11px;
}
.stagiaires-view .segmented a small, .stagiaires-view .segmented button small {
  color: var(--text-tertiary);
  font-weight: 500;
}
.stagiaires-view .segmented a.is-active, .stagiaires-view .segmented button.is-active {
  background: #fff;
  color: var(--neutral-900);
  box-shadow: var(--shadow-sm);
}
.stagiaires-view .segmented a:hover:not(.is-active), .stagiaires-view .segmented button:hover:not(.is-active) {
  color: var(--neutral-800);
}
.stagiaires-view .content-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.stagiaires-view .content-card-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.stagiaires-view .content-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stagiaires-view .content-card-title .count {
  color: var(--neutral-500);
  font-weight: 500;
  font-size: 12px;
}
.stagiaires-view .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.stagiaires-view .data-table thead th {
  background: var(--neutral-50);
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  padding: 10px 14px;
  border-bottom: 1px solid var(--neutral-200);
  white-space: nowrap;
}
.stagiaires-view .data-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--neutral-100);
  vertical-align: middle;
  color: var(--neutral-800);
}
.stagiaires-view .data-table tbody tr {
  transition: background 120ms;
  cursor: pointer;
}
.stagiaires-view .data-table tbody tr:hover td {
  background: #FAFBFC;
}
.stagiaires-view .data-table tbody tr:last-child td {
  border-bottom: none;
}
.stagiaires-view .person-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}
.stagiaires-view .person-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.stagiaires-view .person-info {
  min-width: 0;
}
.stagiaires-view .person-name {
  font-weight: 600;
  color: var(--neutral-900);
  font-size: 13px;
  line-height: 1.3;
}
.stagiaires-view .person-nni {
  font-size: 10.5px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  margin-top: 2px;
  letter-spacing: 0.3px;
}
.stagiaires-view .person-nni.missing {
  color: var(--amber-700);
  font-family: inherit;
  font-style: italic;
}
.stagiaires-view .dr-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 160px;
}
.stagiaires-view .dr-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}
.stagiaires-view .lieu-sub {
  font-size: 10.5px;
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.stagiaires-view .lieu-sub i {
  font-size: 9px;
  color: var(--neutral-400);
}
.stagiaires-view .contact-cell {
  font-size: 12px;
  color: var(--neutral-700);
}
.stagiaires-view .contact-cell .line {
  display: block;
}
.stagiaires-view .contact-cell .line + .line {
  color: var(--neutral-500);
  font-size: 10.5px;
  margin-top: 2px;
}
.stagiaires-view .contact-cell .missing {
  color: var(--neutral-300);
  font-style: italic;
}
.stagiaires-view .contact-cell i {
  color: var(--neutral-400);
  font-size: 10px;
  margin-right: 5px;
}
.stagiaires-view .manager-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 130px;
}
.stagiaires-view .manager-cell .avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--neutral-200);
  color: var(--neutral-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.stagiaires-view .manager-cell .name {
  font-size: 12px;
  color: var(--neutral-800);
  font-weight: 500;
}
.stagiaires-view .manager-cell .name.none {
  color: var(--text-tertiary);
  font-style: italic;
  font-size: 11.5px;
}
.stagiaires-view .activity-cell {
  min-width: 140px;
}
.stagiaires-view .activity-cell .count-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.stagiaires-view .activity-cell .count-bubble i {
  font-size: 9px;
}
.stagiaires-view .activity-cell .count-bubble.active {
  background: var(--green-50);
  color: var(--green-700);
}
.stagiaires-view .activity-cell .count-bubble.inactive {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.stagiaires-view .activity-cell .count-bubble.none {
  background: var(--neutral-100);
  color: var(--text-tertiary);
  font-style: italic;
}
.stagiaires-view .activity-cell .last-date {
  font-size: 10.5px;
  color: var(--neutral-500);
  margin-top: 3px;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stagiaires-view .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.stagiaires-view .status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.stagiaires-view .status-pill.active {
  background: var(--green-50);
  color: var(--green-700);
}
.stagiaires-view .status-pill.inactive {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.stagiaires-view .status-pill.incomplete {
  background: var(--amber-50);
  color: var(--amber-700);
}
.stagiaires-view .row-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-600);
  cursor: pointer;
  font-size: 11px;
  text-decoration: none;
  transition: all 150ms;
}
.stagiaires-view .row-icon-btn:hover {
  background: var(--neutral-50);
  color: var(--neutral-900);
  border-color: var(--neutral-300);
}
.stagiaires-view .row-icon-btn.danger:hover {
  background: var(--red-50);
  color: var(--red-600);
  border-color: var(--red-100);
}
.stagiaires-view .pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
  font-size: 12px;
  color: var(--neutral-600);
}
.stagiaires-view .pagination strong {
  color: var(--neutral-800);
  font-weight: 700;
}
.stagiaires-view .page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neutral-500);
  text-decoration: none;
  margin-bottom: 12px;
}
.stagiaires-view .page-back:hover {
  color: var(--blue-600);
}
.stagiaires-view .page-back i {
  font-size: 10px;
}
.stagiaires-view .stagiaire-hero {
  background: linear-gradient(135deg, var(--blue-50) 0%, #CCFBF1 100%);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.stagiaires-view .stagiaire-hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(20, 99, 217, 0.2);
}
.stagiaires-view .stagiaire-hero-info {
  flex: 1;
  min-width: 0;
}
.stagiaires-view .stagiaire-hero-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.stagiaires-view .stagiaire-hero-name .nni-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-700);
  background: #fff;
  border: 1px solid var(--blue-100);
  padding: 3px 9px;
  border-radius: 5px;
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.stagiaires-view .stagiaire-hero-meta {
  margin-top: 6px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--neutral-600);
}
.stagiaires-view .stagiaire-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.stagiaires-view .stagiaire-hero-meta i {
  font-size: 10px;
  color: var(--neutral-400);
}
.stagiaires-view .stagiaire-hero-stats {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.stagiaires-view .stagiaire-hero-stats .hstat {
  text-align: center;
  padding: 0 6px;
}
.stagiaires-view .stagiaire-hero-stats .hstat .hstat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
}
.stagiaires-view .stagiaire-hero-stats .hstat .hstat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  margin-top: 4px;
}
.stagiaires-view .form-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  /* overflow visible : sinon le .ts-dropdown de Tom Select est tronqué
   * quand il dépasse du card (ex. dernier select du form). */
  overflow: visible;
  margin-bottom: 20px;
}
.stagiaires-view .form-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--neutral-100);
}
.stagiaires-view .form-section:last-child {
  border-bottom: none;
}
.stagiaires-view .form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.stagiaires-view .form-section-head .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.stagiaires-view .form-section-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stagiaires-view .form-section-head .hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--neutral-500);
  font-style: italic;
}
.stagiaires-view .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .stagiaires-view .form-grid {
    grid-template-columns: 1fr;
  }
}
.stagiaires-view .form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.stagiaires-view .form-grid .form-group.full {
  grid-column: 1/-1;
}
.stagiaires-view .form-grid .form-group label.form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-700);
}
.stagiaires-view .form-grid .form-group label.form-label .required {
  color: var(--red-600);
  margin-left: 2px;
}
.stagiaires-view .form-grid .form-group .form-hint {
  font-size: 11px;
  color: var(--neutral-500);
  font-style: italic;
  margin-top: 2px;
}
.stagiaires-view .form-footer {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: sticky;
  bottom: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  flex-wrap: wrap;
}
.stagiaires-view .form-footer .footer-hint {
  font-size: 12px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.stagiaires-view .form-footer .footer-hint i {
  font-size: 11px;
  color: var(--neutral-400);
}
.stagiaires-view .form-footer .footer-actions {
  display: flex;
  gap: 8px;
}
.stagiaires-view .empty-state {
  background: #fff;
  border: 1px dashed var(--neutral-300);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--neutral-500);
}
.stagiaires-view .empty-state i {
  font-size: 34px;
  color: var(--neutral-300);
  margin-bottom: 12px;
}
.stagiaires-view .empty-state h3 {
  margin: 0 0 4px;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 700;
}
.stagiaires-view .empty-state p {
  margin: 0;
  font-size: 12px;
}

@keyframes pfl-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pfl-logout {
  height: 38px;
  padding: 0 13px;
  margin-right: 8px;
  border-radius: 10px;
  border: 1.5px solid #F2C8C5;
  background: #fff;
  color: #B23A36;
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.pfl-logout:hover {
  background: #FCF2F1;
  color: #B23A36;
}

.pfl {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 0 48px;
  color: #3E4A6B;
}
.pfl a {
  text-decoration: none;
}
.pfl [hidden] {
  display: none !important;
}

.pfl-hero {
  background: linear-gradient(120deg, #1D2D5C 0%, #24397A 60%, #2C4A8C 100%);
  border-radius: 22px;
  padding: 24px 28px;
  color: #fff;
  box-shadow: 0 18px 44px rgba(29, 45, 92, 0.22);
  position: relative;
  overflow: hidden;
}
.pfl-hero::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(108, 192, 74, 0.14);
}

.pfl-hero-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.pfl-avatar {
  position: relative;
  flex: none;
  margin: 0;
}

.pfl-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #6CC04A;
  color: #0E2A12;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 800;
  border: 3px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.pfl-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pfl-avatar-img:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.pfl-avatar.is-drop .pfl-avatar-img {
  border-color: #6CC04A;
  transform: scale(1.05);
}

.pfl-avatar-cam {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #1D2D5C;
  background: #fff;
  color: #1D2D5C;
  display: grid;
  place-items: center;
  font-size: 12px;
  pointer-events: none;
}

.pfl-ident {
  flex: 1;
  min-width: 240px;
}
.pfl-ident h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.pfl-badges {
  display: flex;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.pfl-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #C7E8B8;
  background: rgba(108, 192, 74, 0.18);
  border: 1px solid rgba(108, 192, 74, 0.4);
  border-radius: 999px;
  padding: 4px 11px;
}
.pfl-role i {
  font-size: 11px;
}

.pfl-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #C7CEE3;
}
.pfl-meta i {
  font-size: 11px;
  opacity: 0.85;
}

.pfl-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #8E9AC2;
  margin-top: 10px;
  flex-wrap: wrap;
}
.pfl-sub i {
  margin-right: 6px;
}

.pfl-sub-btn {
  border: none;
  background: none;
  padding: 0;
  color: #8E9AC2;
  font: inherit;
  cursor: pointer;
}
.pfl-sub-btn:hover {
  color: #fff;
}

.pfl-hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
  flex: 0 1 300px;
}
.pfl-hero-kpis > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 11px 13px;
  min-width: 0;
}
.pfl-hero-kpis b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pfl-hero-kpis b small {
  font-size: 12px;
  font-weight: 700;
  color: #C7CEE3;
}
.pfl-hero-kpis b.is-txt {
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pfl-hero-kpis span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #C7CEE3;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfl-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.pfl-left {
  position: sticky;
  top: calc(var(--topbar-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pfl-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1100px) {
  .pfl-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pfl-left {
    position: static;
  }
}
.pfl-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
}

.pfl-over {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}

.pfl-ic28, .pfl-ic34, .pfl-ic40 {
  display: grid;
  place-items: center;
  flex: none;
}

.pfl-ic28 {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 11px;
}

.pfl-ic34 {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 14px;
}

.pfl-ic40 {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  font-size: 15px;
}

.pfl-flex {
  flex: 1;
}

.pfl-nav {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pfl-nav-it {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #1D2D5C;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  white-space: nowrap;
}
.pfl-nav-it:hover {
  background: #F1F4F9;
}
.pfl-nav-it.is-on {
  background: #1D2D5C;
  color: #fff;
}
.pfl-nav-it.is-on .pfl-nav-ic {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.pfl-nav-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ic-bg);
  color: var(--ic-c);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}

.pfl-nav-lbl {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfl-dirty {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D9A441;
}

.pfl-nav-warn {
  font-size: 10px;
  color: #B23A36;
}

.pfl-nav-it.is-on .pfl-nav-warn {
  color: #F2C8C5;
}

.pfl-perim {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pfl-perim .pfl-over {
  margin-bottom: 2px;
}

.pfl-perim-l {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pfl-perim-k {
  flex: 1;
  font-size: 12.5px;
  font-weight: 700;
  color: #3E4A6B;
}

.pfl-perim-v {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  text-align: right;
  max-width: 55%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pfl-sec {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  animation: pfl-rise 0.25s ease both;
}
.pfl-sec > form {
  margin: 0;
}
.pfl-sec.is-danger {
  border-color: #F2C8C5;
  border-top: 3px solid #B23A36;
}

.pfl-sec-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid #F0F2F6;
}

.pfl-sec-t {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}

.pfl-sec-s {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.pfl-sec-b {
  padding: 18px 20px;
}

.pfl-sec-f {
  padding: 12px 20px;
  border-top: 1px solid #F0F2F6;
  background: #FAFBFD;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pfl-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
}
.pfl-two > div {
  min-width: 0;
}
.pfl-two .is-full {
  grid-column: 1/-1;
}

@media (max-width: 640px) {
  .pfl-two {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pfl-lbl {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.pfl-lbl b {
  color: #C9403C;
  margin-left: 3px;
}
.pfl-lbl code {
  background: #F1F3F7;
  padding: 1px 6px;
  border-radius: 5px;
  color: #B23A36;
  text-transform: none;
  letter-spacing: 0;
}

.pfl-inp {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  padding: 0 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D2D5C;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}
.pfl-inp::placeholder {
  color: #B4BCCB;
}
.pfl-inp:focus {
  border-color: #1D2D5C;
}
.pfl-inp:disabled {
  background: #F0F2F6;
  color: var(--text-secondary);
}

.pfl-hint {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 6px;
}
.pfl-hint a {
  color: #34508C;
  font-weight: 800;
}

.pfl-err {
  font-size: 11.5px;
  font-weight: 700;
  color: #B23A36;
  margin-top: 5px;
}

.pfl-st {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.pfl-st i {
  margin-right: 6px;
}
.pfl-st.is-warn {
  color: #A85D00;
}
.pfl-st.is-err {
  color: #B23A36;
}

.pfl-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: none;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.pfl-btn.is-green {
  background: #6CC04A;
}
.pfl-btn.is-green:hover {
  background: #4FA235;
}
.pfl-btn.is-navy {
  background: #1D2D5C;
}
.pfl-btn.is-navy:hover {
  background: #27396E;
}
.pfl-btn.is-red {
  background: #B23A36;
  height: 42px;
}
.pfl-btn.is-red:hover {
  background: #9A2F2C;
}
.pfl-btn:disabled {
  background: #C4CAD6;
  cursor: not-allowed;
}
.pfl-btn:hover {
  color: #fff;
}

.pfl-pw {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 760px) {
  .pfl-pw {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pfl-pw-fields {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}

.pfl-pw-box {
  display: flex;
  align-items: center;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}
.pfl-pw-box:focus-within {
  border-color: #1D2D5C;
}
.pfl-pw-box.is-err {
  border-color: #E07A75;
}
.pfl-pw-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  padding: 0 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D2D5C;
  outline: none;
  background: none;
}
.pfl-pw-box input::placeholder {
  color: #B4BCCB;
}
.pfl-pw-box button {
  width: 40px;
  height: 100%;
  border: none;
  background: none;
  color: var(--text-tertiary);
  cursor: pointer;
}
.pfl-pw-box button:hover {
  color: #1D2D5C;
}

.pfl-pw-rob {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pfl-pw-rob .pfl-lbl {
  margin: 0;
}
.pfl-pw-rob > span:last-child {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-tertiary);
}

.pfl-pw-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.pfl-pw-bars span {
  height: 6px;
  border-radius: 3px;
  background: #EDF0F5;
  transition: background 0.3s;
}

.pfl-pw-tips {
  padding: 14px 16px;
  background: #F5F8FD;
  border: 1px solid #D3E0F5;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pfl-pw-tips-t {
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  margin-bottom: 2px;
}
.pfl-pw-tips-t i {
  color: #34508C;
  margin-right: 7px;
}

.pfl-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pfl-rule i {
  font-size: 11px;
  width: 14px;
  text-align: center;
}
.pfl-rule.is-ok {
  color: #2E5320;
}

.pfl-akpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.pfl-akpi {
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pfl-akpi b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pfl-akpi b small {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 700;
}
.pfl-akpi b + span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 3px;
}

.pfl-spark-w {
  padding: 0 20px 18px;
}
.pfl-spark-w .pfl-over {
  margin-bottom: 8px;
}

.pfl-spark {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 110px;
  padding: 0 2px;
}
.pfl-spark > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
  justify-content: flex-end;
}

.pfl-spark-v {
  font-size: 10.5px;
  font-weight: 800;
  color: #1D2D5C;
}

.pfl-spark-b {
  width: 100%;
  max-height: calc(100% - 40px);
  border-radius: 5px 5px 0 0;
  background: #1D2D5C;
  transition: height 0.3s;
}
.pfl-spark-b.is-cur {
  background: #6CC04A;
}

.pfl-spark-l {
  font-size: 9.5px;
  font-weight: 800;
  color: var(--text-tertiary);
}

.pfl-journal {
  border-top: 1px solid #F0F2F6;
}
.pfl-journal .pfl-over {
  padding: 12px 20px 4px;
  margin: 0;
}

.pfl-journal-l {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-top: 1px solid #F4F6FA;
}

.pfl-journal-t {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: #3E4A6B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pfl-journal-at {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.pfl-vide {
  padding: 14px 20px 18px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.pfl-hotel {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pfl-hotel > div {
  flex: 1;
  min-width: 220px;
}

.pfl-hotel-n {
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}

.pfl-hotel-a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.pfl-danger {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

.pfl-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #FCF2F1;
  border: 1px solid #F2C8C5;
  border-radius: 12px;
  color: #8A3A37;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 600;
}
.pfl-alert i {
  margin-top: 3px;
}

.pfl-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pfl-counts span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 9px;
  background: #F1F3F7;
  color: #3E4A6B;
}
.pfl-counts .is-total {
  background: #FCF2F1;
  color: #B23A36;
}

.pfl-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #3E4A6B;
  align-self: flex-start;
}
.pfl-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pfl-switch:focus-within .pfl-switch-t {
  box-shadow: 0 0 0 3px rgba(108, 192, 74, 0.3);
}

.pfl-switch-t {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #CBD2E0;
  position: relative;
  transition: background 0.3s;
  flex: none;
}
.pfl-switch-t::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s;
}

.pfl-switch input:checked + .pfl-switch-t {
  background: #6CC04A;
}
.pfl-switch input:checked + .pfl-switch-t::after {
  left: 19px;
}

.pfl-danger-go {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.pfl-danger-go > div {
  flex: 0 1 280px;
}

.pfl-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 800;
  color: #B23A36;
  letter-spacing: 0.08em;
}
.pfl-mono.is-armed {
  border-color: #B23A36;
}

/* ═══════════════════════════════════════════════════════════════
   LOGIN — pages /login, mot de passe oublié, réinitialisation
   Scope : .login-view. Layout 2 colonnes : panneau marque marine
   (logo + pitch + features) à gauche, carte formulaire à droite.
   Maquette : Claude Design « Login.dc.html ».
   ═══════════════════════════════════════════════════════════════ */
@keyframes login-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes login-drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 20px) scale(1.08);
  }
}
@keyframes login-drift2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(24px, -18px);
  }
}
@keyframes login-shake {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(-6px);
  }
  40%, 80% {
    transform: translateX(6px);
  }
}
.login-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: #F4F6FA;
  font-family: var(--font-family);
  color: #1A2238;
  -webkit-font-smoothing: antialiased;
  /* ── Panneau marque (gauche) ───────────────────────────────── */
  /* ── Panneau formulaire (droite) ───────────────────────────── */
  /* La carte elle-même */
  /* Alerte erreur (aussi utilisée pour les flashes des pages mot de passe) */
  /* Interrupteur « Rester connecté » — vraie checkbox, habillée en switch */
}
@media (max-width: 900px) {
  .login-view {
    grid-template-columns: minmax(0, 1fr);
  }
}
.login-view .login-brand-panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  color: #fff;
  /* Grille discrète par-dessus le dégradé marine */
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(145deg, #142147 0%, #1D2D5C 50%, #24397A 100%);
  background-size: 48px 48px, 48px 48px, auto;
  /* Halo vert + halo blanc qui dérivent lentement */
}
@media (max-width: 900px) {
  .login-view .login-brand-panel {
    min-height: auto;
    padding: 32px 28px;
  }
}
.login-view .login-brand-panel::before, .login-view .login-brand-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.login-view .login-brand-panel::before {
  right: -180px;
  top: -200px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(108, 192, 74, 0.38), rgba(108, 192, 74, 0) 68%);
}
.login-view .login-brand-panel::after {
  left: -140px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 68%);
}
.login-view .login-brand-panel > * {
  position: relative;
  z-index: 1;
}
.login-view .login-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: login-rise 0.5s ease both;
}
.login-view .login-brand-logo img {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.login-view .login-brand-logo .sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.22);
}
.login-view .login-brand-logo .brand-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C7CEE3;
}
.login-view .login-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6CC04A;
  margin-bottom: 18px;
  white-space: nowrap;
}
.login-view .login-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #6CC04A;
  flex-shrink: 0;
}
.login-view .login-brand-pitch {
  max-width: 520px;
  animation: login-rise 0.6s ease 0.1s both;
}
.login-view .login-brand-pitch h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .login-view .login-brand-pitch h2 {
    font-size: 26px;
  }
}
.login-view .login-brand-pitch p {
  margin: 18px 0 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 1.65;
  color: #C7CEE3;
  text-wrap: pretty;
}
@media (max-width: 900px) {
  .login-view .login-brand-pitch p {
    font-size: 13.5px;
  }
}
.login-view .login-features {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (max-width: 900px) {
  .login-view .login-features {
    display: none;
  }
}
.login-view .login-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: login-rise 0.5s ease both;
}
.login-view .login-features li .feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #6CC04A;
  color: #0E2A12;
  display: grid;
  place-items: center;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
}
.login-view .login-features li strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
}
.login-view .login-features li span.sub {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #C7CEE3;
}
.login-view .login-brand-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  color: #8E9AC2;
  animation: login-rise 0.6s ease 0.2s both;
}
.login-view .login-brand-foot a {
  color: #C7CEE3;
  text-decoration: none;
}
.login-view .login-brand-foot a:hover {
  color: #6CC04A;
}
.login-view .login-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 28px;
  background: #F4F6FA;
}
.login-view .login-form-wrap {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 26px;
  padding: 36px 36px 30px;
  box-shadow: 0 30px 70px rgba(20, 33, 71, 0.1);
  animation: login-rise 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both;
}
@media (max-width: 480px) {
  .login-view .login-form-wrap {
    padding: 28px 22px 24px;
    border-radius: 20px;
  }
}
.login-view .login-form-wrap .login-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #4FA235;
  margin-bottom: 10px;
}
.login-view .login-form-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1D2D5C;
}
.login-view .login-form-subtitle {
  margin: 8px 0 26px;
  font-size: 14px;
  line-height: 1.55;
  color: #6B7490;
}
.login-view .login-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: -6px 0 20px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #FBE4E3;
  border: 1.5px solid #F0C6C2;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #8A2C26;
  animation: login-shake 0.4s ease;
}
.login-view .login-error .err-badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #B23A36;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.login-view .login-error > i {
  margin-top: 3px;
  font-size: 14px;
}
.login-view .form-group {
  margin-bottom: 18px;
}
.login-view .form-group label.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  margin-bottom: 8px;
}
.login-view .form-group .label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.login-view .form-group .label-row label.form-label {
  margin-bottom: 0;
}
.login-view .login-input-wrap {
  position: relative;
  /* Champ avec bouton œil : place à droite */
}
.login-view .login-input-wrap i.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #9AA3B8;
  pointer-events: none;
  transition: color 0.2s;
}
.login-view .login-input-wrap:focus-within i.input-icon {
  color: #1D2D5C;
}
.login-view .login-input-wrap input.form-control {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 46px;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  color: #1A2238;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.login-view .login-input-wrap input.form-control::placeholder {
  color: #9AA3B8;
}
.login-view .login-input-wrap input.form-control:focus {
  outline: none;
  border-color: #1D2D5C;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.1);
}
.login-view .login-input-wrap input.form-control.is-invalid:not(:focus) {
  border-color: #F0C6C2;
}
.login-view .login-input-wrap input.form-control:has(~ .toggle-pwd) {
  padding-right: 50px;
}
.login-view .login-input-wrap .toggle-pwd {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #6B7490;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.login-view .login-input-wrap .toggle-pwd:hover, .login-view .login-input-wrap .toggle-pwd.is-on {
  background: #F1F4F9;
  color: #1D2D5C;
}
.login-view .login-forgot {
  font-size: 12px;
  font-weight: 700;
  color: #1D2D5C;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-view .login-forgot:hover {
  color: #4FA235;
}
.login-view .login-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 22px;
  font-size: 13px;
  font-weight: 700;
  color: #3E4A6B;
  cursor: pointer;
  user-select: none;
}
.login-view .login-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.login-view .login-switch .track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #CBD2E0;
  flex-shrink: 0;
  transition: background 0.3s;
}
.login-view .login-switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.login-view .login-switch input:checked + .track {
  background: #6CC04A;
}
.login-view .login-switch input:checked + .track .knob {
  left: 21px;
}
.login-view .login-switch input:focus-visible + .track {
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.15);
}
.login-view .login-submit {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 14px;
  background: #1D2D5C;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(29, 45, 92, 0.3);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.login-view .login-submit:hover {
  background: #24397A;
  transform: translateY(-1px);
}
.login-view .login-submit:active {
  transform: none;
}
.login-view .login-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.2), 0 12px 28px rgba(29, 45, 92, 0.3);
}
.login-view .login-submit i {
  font-size: 14px;
}
.login-view .login-foot {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
}
.login-view .login-foot i {
  font-size: 11px;
}
@media (prefers-reduced-motion: reduce) {
  .login-view *, .login-view *::before, .login-view *::after {
    animation: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GESTION — page /gestion (Centre d'administration)
   Scope : .gestion-view. Accent slate/indigo pour différencier
   l'espace d'administration des pages opérationnelles.
   ═══════════════════════════════════════════════════════════════ */
.gestion-view {
  font-size: 13px;
  /* ── Hero ─────────────────────────────────────────────────── */
  /* ── Section title ────────────────────────────────────────── */
  /* ── Tiles de navigation ──────────────────────────────────── */
  /* ── Activity grid (2 cols) ───────────────────────────────── */
}
.gestion-view .gestion-hero {
  background: linear-gradient(135deg, #0F172A 0%, #4F46E5 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.3);
}
.gestion-view .gestion-hero::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.gestion-view .gestion-hero::after {
  content: "";
  position: absolute;
  left: 40%;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.25);
  pointer-events: none;
  filter: blur(60px);
}
.gestion-view .gestion-hero-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.gestion-view .gestion-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.gestion-view .gestion-hero-title {
  flex: 1;
}
.gestion-view .gestion-hero-title h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}
.gestion-view .gestion-hero-title p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.gestion-view .gestion-hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}
@media (max-width: 1200px) {
  .gestion-view .gestion-hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .gestion-view .gestion-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
.gestion-view .gestion-hero-stat {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
}
.gestion-view .gestion-hero-stat .hs-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}
.gestion-view .gestion-hero-stat .hs-label i {
  font-size: 11px;
}
.gestion-view .gestion-hero-stat .hs-value {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
  letter-spacing: -0.4px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.gestion-view .gestion-hero-stat .hs-value .unit {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 3px;
}
.gestion-view .section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.gestion-view .section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--neutral-200);
}
.gestion-view .section-title i {
  color: var(--neutral-400);
  font-size: 12px;
}
.gestion-view .nav-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 1100px) {
  .gestion-view .nav-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .gestion-view .nav-tiles {
    grid-template-columns: 1fr;
  }
}
.gestion-view .nav-tile {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: all 200ms;
  /* Variantes couleur (gradient sur l'icône + border-left) */
}
.gestion-view .nav-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue-600);
  transition: width 200ms;
}
.gestion-view .nav-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}
.gestion-view .nav-tile:hover::before {
  width: 5px;
}
.gestion-view .nav-tile:hover .tile-arrow {
  transform: translateX(4px);
  color: var(--blue-600);
}
.gestion-view .nav-tile.blue::before {
  background: var(--blue-600);
}
.gestion-view .nav-tile.blue .tile-icon {
  background: linear-gradient(135deg, var(--blue-600), #0EA5E9);
}
.gestion-view .nav-tile.green::before {
  background: var(--green-600);
}
.gestion-view .nav-tile.green .tile-icon {
  background: linear-gradient(135deg, var(--green-600), #0D9488);
}
.gestion-view .nav-tile.purple::before {
  background: var(--purple-600);
}
.gestion-view .nav-tile.purple .tile-icon {
  background: linear-gradient(135deg, #4F46E5, var(--purple-600));
}
.gestion-view .nav-tile.amber::before {
  background: var(--amber-500);
}
.gestion-view .nav-tile.amber .tile-icon {
  background: linear-gradient(135deg, #EA580C, var(--amber-500));
}
.gestion-view .nav-tile.teal::before {
  background: #0D9488;
}
.gestion-view .nav-tile.teal .tile-icon {
  background: linear-gradient(135deg, #0D9488, var(--blue-600));
}
.gestion-view .nav-tile.red::before {
  background: var(--red-600);
}
.gestion-view .nav-tile.red .tile-icon {
  background: linear-gradient(135deg, var(--red-600), #EA580C);
}
.gestion-view .nav-tile.indigo::before {
  background: #4F46E5;
}
.gestion-view .nav-tile.indigo .tile-icon {
  background: linear-gradient(135deg, #4F46E5, var(--blue-600));
}
.gestion-view .tile-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.12);
}
.gestion-view .tile-body {
  flex: 1;
  min-width: 0;
}
.gestion-view .tile-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
}
.gestion-view .tile-desc {
  font-size: 11.5px;
  color: var(--neutral-500);
  margin-top: 3px;
}
.gestion-view .tile-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-600);
  background: var(--neutral-100);
  padding: 2px 8px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.gestion-view .tile-meta i {
  font-size: 9px;
}
.gestion-view .tile-arrow {
  color: var(--neutral-300);
  font-size: 14px;
  transition: all 200ms;
  flex-shrink: 0;
}
.gestion-view .activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .gestion-view .activity-grid {
    grid-template-columns: 1fr;
  }
}
.gestion-view .activity-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.gestion-view .activity-head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gestion-view .activity-head h3 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.gestion-view .activity-head h3 i {
  color: var(--neutral-400);
  font-size: 12px;
}
.gestion-view .activity-head a {
  font-size: 12px;
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 500;
}
.gestion-view .activity-head a:hover {
  text-decoration: underline;
}
.gestion-view .activity-body {
  padding: 4px 0;
}
.gestion-view .activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--neutral-100);
}
.gestion-view .activity-item:last-child {
  border-bottom: none;
}
.gestion-view .activity-avatar {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}
.gestion-view .activity-avatar.circle {
  border-radius: 50%;
}
.gestion-view .activity-info {
  flex: 1;
  min-width: 0;
}
.gestion-view .activity-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gestion-view .activity-sub {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gestion-view .activity-sub i {
  font-size: 9px;
  color: var(--neutral-400);
}
.gestion-view .activity-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}
.gestion-view .activity-badge.active {
  background: var(--green-50);
  color: var(--green-700);
}
.gestion-view .activity-badge.inactive {
  background: var(--neutral-100);
  color: var(--neutral-500);
}

/* ════════════ MATRICE DR × CAMPUS ════════════ */
.matrice-completion {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
}

.matrice-completion-bar {
  flex: 1;
  height: 8px;
  background: var(--neutral-100);
  border-radius: 999px;
  overflow: hidden;
}

.matrice-completion-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-700));
  border-radius: 999px;
  transition: width 400ms cubic-bezier(0.25, 1, 0.5, 1);
}

.matrice-completion-label {
  font-size: 13px;
  color: var(--neutral-700);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.matrice-completion-label strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.matrice-completion-label .matrice-completion-pct {
  color: var(--blue-600);
  font-weight: 700;
  margin-left: 4px;
}

.matrice-table .matrice-cell {
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  padding: 8px;
  transition: background 120ms;
}
.matrice-table .matrice-cell:hover {
  background: var(--blue-50);
  outline: 2px solid var(--blue-200);
  outline-offset: -2px;
}
.matrice-table .matrice-cell.is-vide .matrice-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--neutral-100);
  color: var(--text-tertiary);
  font-size: 11px;
  transition: all 120ms;
}
.matrice-table .matrice-cell.is-vide:hover .matrice-empty {
  background: var(--blue-100);
  color: var(--blue-600);
  transform: scale(1.05);
}

.matrice-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  margin: 1px;
}
.matrice-pill i {
  font-size: 10px;
}
.matrice-pill.mode-train {
  background: var(--blue-50);
  color: var(--blue-700);
}
.matrice-pill.mode-avion {
  background: var(--purple-50);
  color: var(--purple-700);
}
.matrice-pill.mode-voiture {
  background: var(--amber-50);
  color: var(--amber-700);
}

/* ════════════ HOTEL — Localisation GPS ════════════ */
.hotel-gps-section .geocode-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hotel-gps-section .geocode-status {
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.hotel-gps-section .geocode-status:empty {
  display: none;
}
.hotel-gps-section .geocode-status.is-loading {
  color: var(--blue-700);
  background: var(--blue-50);
}
.hotel-gps-section .geocode-status.is-success {
  color: var(--green-700);
  background: var(--green-50);
}
.hotel-gps-section .geocode-status.is-error {
  color: var(--red-700);
  background: var(--red-50);
}
.hotel-gps-section .gps-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.hotel-gps-section .gps-status > i {
  font-size: 14px;
  flex-shrink: 0;
}
.hotel-gps-section .gps-status strong {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
}
.hotel-gps-section .gps-status .gps-status-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: underline;
  font-size: 11.5px;
  opacity: 0.85;
}
.hotel-gps-section .gps-status .gps-status-link:hover {
  opacity: 1;
}
.hotel-gps-section .gps-status .gps-status-link i {
  font-size: 9px;
}
.hotel-gps-section .gps-status.gps-ok {
  background: var(--green-50);
  border: 1px solid var(--green-200);
  color: var(--green-800);
}
.hotel-gps-section .gps-status.gps-missing {
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  color: var(--amber-800);
}
.hotel-gps-section .hotel-map-preview {
  height: 220px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  overflow: hidden;
  margin-top: 4px;
  background: var(--neutral-50);
}

/* Liste hôtels — badge GPS sur les cards */
.gh-gps-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-left: 6px;
}
.gh-gps-tag i {
  font-size: 9px;
}
.gh-gps-tag.is-ok {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}
.gh-gps-tag.is-missing {
  background: var(--amber-50);
  color: var(--amber-800);
  border: 1px solid var(--amber-200);
}

/* V3 PMS — Sprint 1 Tâche A : badge conformité CDC dans grid hôtels */
.gh-cdc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-left: 6px;
}
.gh-cdc-tag i {
  font-size: 9px;
}
.gh-cdc-tag.is-full {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}
.gh-cdc-tag.is-partial {
  background: var(--amber-50);
  color: var(--amber-800);
  border: 1px solid var(--amber-200);
}
.gh-cdc-tag.is-non_conforme {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid var(--red-200);
}

/* ═══════════════════════════════════════════════════════════════
   HOTELS — pages /gestion/hotels (index + form)
   Scope : .hotels-view. Accent blue/indigo cohérent avec
   l'admin (hôtels = partenaires clés du référentiel).
   ═══════════════════════════════════════════════════════════════ */
.hotels-view {
  font-size: 13px;
  /* ── Page header ──────────────────────────────────────────── */
  /* ── KPI row ──────────────────────────────────────────────── */
  /* ── Toolbar ──────────────────────────────────────────────── */
  /* ── Grid hotel cards ─────────────────────────────────────── */
  /* Empty state */
  /* ═════════════════════════════════════════════════════════════
     FORM PAGE (create/edit hotel)
     ═════════════════════════════════════════════════════════════ */
  /* Hero (édition) */
  /* ── Onglets édition hôtel ────────────────────────────────── */
  /* ── Danger zone ──────────────────────────────────────────── */
  /* Form card (identique formations/stagiaires) */
  /* Toggle card (active / inactive) */
  /* ─── Photos section ──────────────────────────────────────── */
  /* Sticky form footer */
  /* Les styles du partial _restaurant_form.html.twig ont été déplacés
     dans _restaurant_form.scss (partagés entre .hotels-view et .restaurants-view). */
  /* ── Section Conditions d'annulation ──────────────────────── */
  /* ── Section Catégories de chambres ───────────────────────── */
  /* ── Section Contingents (calendrier embarqué) ────────────── */
}
.hotels-view .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.hotels-view .page-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hotels-view .page-title-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
}
.hotels-view .page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
  color: var(--neutral-900);
}
.hotels-view .page-subtitle {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hotels-view .page-subtitle .pill {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hotels-view .page-subtitle .pill.blue {
  background: var(--blue-50);
  color: var(--blue-700);
}
.hotels-view .page-subtitle .pill.green {
  background: var(--green-50);
  color: var(--green-700);
}
.hotels-view .page-subtitle .pill.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.hotels-view .page-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.hotels-view .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1200px) {
  .hotels-view .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.hotels-view .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hotels-view .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hotels-view .kpi .kpi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.hotels-view .kpi .kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hotels-view .kpi .kpi-value .unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-500);
  margin-left: 3px;
}
.hotels-view .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.hotels-view .toolbar {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hotels-view .toolbar-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 240px;
  max-width: 360px;
}
.hotels-view .toolbar-search input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  transition: all 150ms;
}
.hotels-view .toolbar-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}
.hotels-view .toolbar-search > i {
  position: absolute;
  left: 11px;
  color: var(--neutral-500);
  font-size: 12px;
  pointer-events: none;
}
.hotels-view .segmented {
  display: inline-flex;
  background: var(--neutral-100);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.hotels-view .segmented a, .hotels-view .segmented button {
  background: transparent;
  border: none;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-600);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hotels-view .segmented a i, .hotels-view .segmented button i {
  font-size: 11px;
}
.hotels-view .segmented a small, .hotels-view .segmented button small {
  color: var(--text-tertiary);
  font-weight: 500;
}
.hotels-view .segmented a.is-active, .hotels-view .segmented button.is-active {
  background: #fff;
  color: var(--neutral-900);
  box-shadow: var(--shadow-sm);
}
.hotels-view .segmented a:hover:not(.is-active), .hotels-view .segmented button:hover:not(.is-active) {
  color: var(--neutral-800);
}
.hotels-view .hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.hotels-view .hotel-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 200ms;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.hotels-view .hotel-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
  border-color: var(--blue-200);
}
.hotels-view .hotel-card-img {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, var(--neutral-100), var(--neutral-50));
  overflow: hidden;
}
.hotels-view .hotel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hotels-view .hotel-card-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-300);
  font-size: 36px;
}
.hotels-view .hotel-card-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(8px);
}
.hotels-view .hotel-card-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.hotels-view .hotel-card-status.actif {
  background: rgba(34, 197, 94, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hotels-view .hotel-card-status.inactif {
  background: rgba(115, 115, 115, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hotels-view .hotel-card-rating {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #FBBF24;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 1px;
}
.hotels-view .hotel-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hotels-view .hotel-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
}
.hotels-view .hotel-card-location {
  font-size: 12px;
  color: var(--neutral-600);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hotels-view .hotel-card-location i {
  font-size: 10px;
  color: var(--neutral-400);
}
.hotels-view .hotel-card-campus {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 3px 9px;
  border-radius: 5px;
  width: fit-content;
}
.hotels-view .hotel-card-campus i {
  font-size: 9px;
}
.hotels-view .hotel-card-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--neutral-200);
  font-size: 11px;
  color: var(--neutral-500);
}
.hotels-view .hotel-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hotels-view .hotel-card-meta i {
  font-size: 10px;
  color: var(--neutral-400);
}
.hotels-view .hotel-card-actions {
  display: flex;
  gap: 6px;
  padding: 0 16px 14px;
}
.hotels-view .hotel-card .btn {
  font-size: 12px;
  padding: 7px 12px;
}
.hotels-view .empty-state {
  background: #fff;
  border: 1px dashed var(--neutral-300);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--neutral-500);
  grid-column: 1/-1;
}
.hotels-view .empty-state i {
  font-size: 34px;
  color: var(--neutral-300);
  margin-bottom: 12px;
}
.hotels-view .empty-state h3 {
  margin: 0 0 4px;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 700;
}
.hotels-view .empty-state p {
  margin: 0;
  font-size: 12px;
}
.hotels-view .page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neutral-500);
  text-decoration: none;
  margin-bottom: 12px;
}
.hotels-view .page-back:hover {
  color: var(--blue-600);
}
.hotels-view .page-back i {
  font-size: 10px;
}
.hotels-view .hotel-hero {
  background: linear-gradient(135deg, #EEF2FF 0%, var(--blue-50) 100%);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hotels-view .hotel-hero-img {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
}
.hotels-view .hotel-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hotels-view .hotel-hero-info {
  flex: 1;
  min-width: 0;
}
.hotels-view .hotel-hero-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.hotels-view .hotel-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.hotels-view .hotel-hero-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.hotels-view .hotel-hero-status.actif {
  background: var(--green-50);
  color: var(--green-700);
}
.hotels-view .hotel-hero-status.inactif {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.hotels-view .hotel-hero-meta {
  margin-top: 6px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--neutral-600);
}
.hotels-view .hotel-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hotels-view .hotel-hero-meta i {
  font-size: 10px;
  color: var(--neutral-400);
}
.hotels-view .hotel-hero-stats {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.hotels-view .hotel-hero-stats .hstat {
  text-align: center;
  padding: 0 6px;
}
.hotels-view .hotel-hero-stats .hstat .hstat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
}
.hotels-view .hotel-hero-stats .hstat .hstat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  margin-top: 4px;
}
.hotels-view .hotel-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow-x: auto;
}
.hotels-view .hotel-tabs::-webkit-scrollbar {
  height: 0;
}
.hotels-view .hotel-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  position: relative;
}
.hotels-view .hotel-tab i {
  font-size: 12px;
  color: var(--neutral-400);
  transition: color 0.15s ease;
}
.hotels-view .hotel-tab .tab-count {
  font-size: 10px;
  font-weight: 700;
  background: var(--neutral-100);
  color: var(--neutral-600);
  padding: 1px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  min-width: 18px;
  text-align: center;
  transition: all 0.15s ease;
}
.hotels-view .hotel-tab:hover:not(.is-active) {
  background: var(--neutral-50);
  color: var(--neutral-800);
}
.hotels-view .hotel-tab:hover:not(.is-active) i {
  color: var(--neutral-600);
}
.hotels-view .hotel-tab.is-active {
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  color: #fff;
  box-shadow: 0 3px 10px -2px rgba(37, 99, 235, 0.35);
}
.hotels-view .hotel-tab.is-active i {
  color: #fff;
}
.hotels-view .hotel-tab.is-active .tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.hotels-view .danger-zone {
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.hotels-view .danger-zone strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-700);
  margin-bottom: 2px;
}
.hotels-view .danger-zone p {
  margin: 0;
  font-size: 12px;
  color: var(--red-800);
  opacity: 0.85;
}
.hotels-view .danger-zone .btn-danger-outline {
  background: #fff;
  color: var(--red-700);
  border: 1px solid var(--red-200);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  text-decoration: none;
}
.hotels-view .danger-zone .btn-danger-outline:hover {
  background: var(--red-600);
  color: #fff;
  border-color: var(--red-600);
}
.hotels-view .form-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: visible;
  margin-bottom: 20px;
}
.hotels-view .form-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--neutral-100);
}
.hotels-view .form-section:last-child {
  border-bottom: none;
}
.hotels-view .form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hotels-view .form-section-head .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.hotels-view .form-section-head .icon.green {
  background: var(--green-50);
  color: var(--green-700);
}
.hotels-view .form-section-head .icon.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.hotels-view .form-section-head .icon.purple {
  background: var(--purple-50);
  color: var(--purple-600);
}
.hotels-view .form-section-head .icon.teal {
  background: #CCFBF1;
  color: #0F766E;
}
.hotels-view .form-section-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hotels-view .form-section-head .hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--neutral-500);
  font-style: italic;
}
.hotels-view .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .hotels-view .form-grid {
    grid-template-columns: 1fr;
  }
}
.hotels-view .form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.hotels-view .form-grid .form-group.full {
  grid-column: 1/-1;
}
.hotels-view .form-grid .form-group label.form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-700);
}
.hotels-view .form-grid .form-group label.form-label .required {
  color: var(--red-600);
  margin-left: 2px;
}
.hotels-view .form-grid .form-group .form-hint {
  font-size: 11px;
  color: var(--neutral-500);
  font-style: italic;
  margin-top: 2px;
}
.hotels-view .form-toggle-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  grid-column: 1/-1;
}
.hotels-view .form-toggle-card .toggle-info {
  flex: 1;
}
.hotels-view .form-toggle-card .toggle-info .toggle-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
}
.hotels-view .form-toggle-card .toggle-info .toggle-desc {
  font-size: 11.5px;
  color: var(--neutral-600);
  margin-top: 2px;
}
.hotels-view .form-toggle-card .toggle-control {
  display: flex;
  gap: 6px;
}
.hotels-view .form-toggle-card .toggle-control label {
  padding: 6px 14px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all 120ms;
}
.hotels-view .form-toggle-card .toggle-control label input {
  display: none;
}
.hotels-view .form-toggle-card .toggle-control label:has(input:checked) {
  border-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-700);
}
.hotels-view .photo-upload-zone {
  border: 2px dashed var(--neutral-300);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 150ms;
  background: var(--neutral-50);
}
.hotels-view .photo-upload-zone:hover, .hotels-view .photo-upload-zone.is-dragover {
  border-color: var(--blue-600);
  background: var(--blue-50);
}
.hotels-view .photo-upload-zone:hover .upload-icon, .hotels-view .photo-upload-zone.is-dragover .upload-icon {
  color: var(--blue-600);
}
.hotels-view .photo-upload-zone .upload-icon {
  font-size: 32px;
  color: var(--neutral-400);
  margin-bottom: 8px;
  display: block;
}
.hotels-view .photo-upload-zone .upload-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-800);
  margin: 0;
}
.hotels-view .photo-upload-zone .upload-sub {
  font-size: 11.5px;
  color: var(--neutral-500);
  margin: 4px 0 0;
}
.hotels-view .photo-upload-zone .upload-counter {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--blue-600);
  font-weight: 600;
}
.hotels-view .photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.hotels-view .photo-preview-grid:empty {
  display: none;
}
.hotels-view .photos-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.hotels-view .photo-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 4/3;
  background: var(--neutral-100);
  transition: all 150ms;
}
.hotels-view .photo-tile:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow);
}
.hotels-view .photo-tile:hover .photo-tile-actions {
  opacity: 1;
}
.hotels-view .photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hotels-view .photo-tile .photo-tile-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--green-600);
  color: #fff;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hotels-view .photo-tile .photo-tile-badge i {
  font-size: 9px;
}
.hotels-view .photo-tile .photo-tile-actions {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 150ms;
}
.hotels-view .photo-tile .photo-tile-actions button {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  backdrop-filter: blur(4px);
  transition: background 120ms;
}
.hotels-view .photo-tile .photo-tile-actions button:hover {
  background: var(--blue-600);
}
.hotels-view .photo-tile .photo-tile-actions button.danger:hover {
  background: var(--red-600);
}
.hotels-view .photo-tile .photo-tile-actions form {
  display: inline;
}
.hotels-view .photos-empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--text-tertiary);
  padding: 32px;
  font-size: 12px;
  font-style: italic;
}
.hotels-view .form-footer {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: sticky;
  bottom: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  flex-wrap: wrap;
}
.hotels-view .form-footer .footer-hint {
  font-size: 12px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hotels-view .form-footer .footer-hint i {
  font-size: 11px;
  color: var(--neutral-400);
}
.hotels-view .form-footer .footer-actions {
  display: flex;
  gap: 8px;
}
.hotels-view .conditions-card .conditions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.hotels-view .conditions-card .cond-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}
.hotels-view .conditions-card .cond-card:hover {
  border-color: var(--amber-200);
}
.hotels-view .conditions-card .cond-card.is-inactive {
  opacity: 0.55;
  background: var(--neutral-50);
}
.hotels-view .conditions-card .cond-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.hotels-view .conditions-card .cond-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.hotels-view .conditions-card .cond-title strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-900);
}
.hotels-view .conditions-card .cond-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.hotels-view .conditions-card .cond-pill.standard {
  background: var(--blue-50);
  color: var(--blue-700);
}
.hotels-view .conditions-card .cond-pill.exception {
  background: var(--amber-50);
  color: var(--amber-800);
}
.hotels-view .conditions-card .cond-pill.inactif {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.hotels-view .conditions-card .cond-dates {
  font-size: 11px;
  color: var(--amber-800);
  font-variant-numeric: tabular-nums;
}
.hotels-view .conditions-card .cond-rule {
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.5;
}
.hotels-view .conditions-card .cond-rule strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.hotels-view .conditions-card .cond-comment {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hotels-view .conditions-card .cond-comment i {
  color: var(--blue-600);
  font-size: 10px;
}
.hotels-view .conditions-card .cond-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.hotels-view .conditions-card .cond-actions .btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--card-border);
  background: #fff;
  color: var(--neutral-600);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.15s ease;
}
.hotels-view .conditions-card .cond-actions .btn-icon:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  border-color: var(--blue-200);
  transform: translateY(-1px);
}
.hotels-view .conditions-card .cond-actions .btn-icon.danger {
  color: var(--red-600);
}
.hotels-view .conditions-card .cond-actions .btn-icon.danger:hover {
  background: var(--red-50);
  border-color: var(--red-200);
}
.hotels-view .conditions-card .cond-edit-form, .hotels-view .conditions-card .cond-add-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--neutral-200);
}
.hotels-view .conditions-card .conditions-empty {
  text-align: center;
  padding: 32px 16px;
  background: var(--neutral-50);
  border: 1px dashed var(--card-border);
  border-radius: 10px;
  color: var(--neutral-500);
  margin-bottom: 14px;
}
.hotels-view .conditions-card .conditions-empty i {
  font-size: 32px;
  color: var(--neutral-300);
  margin-bottom: 8px;
}
.hotels-view .conditions-card .conditions-empty h4 {
  margin: 0 0 3px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-700);
}
.hotels-view .conditions-card .conditions-empty p {
  margin: 0;
  font-size: 12px;
}
.hotels-view .conditions-card .cond-add-details {
  margin-top: 10px;
}
.hotels-view .conditions-card .cond-add-details summary {
  cursor: pointer;
  padding: 10px 14px;
  background: var(--amber-50);
  border: 1px dashed var(--amber-200);
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber-800);
  list-style: none;
}
.hotels-view .conditions-card .cond-add-details summary i {
  margin-right: 6px;
  color: var(--amber-700);
}
.hotels-view .conditions-card .cond-add-details summary::-webkit-details-marker {
  display: none;
}
.hotels-view .conditions-card .cond-add-details summary:hover {
  background: var(--amber-100);
}
.hotels-view .conditions-card .cond-add-details[open] summary {
  border-radius: 8px 8px 0 0;
  border-style: solid;
  background: var(--amber-100);
}
.hotels-view .conditions-card .cond-add-details .cond-add-form {
  border: 1px solid var(--amber-200);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 16px;
  margin-top: 0;
  background: #fff;
}
.hotels-view .categories-card .categories-table-wrap {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.hotels-view .categories-card .categories-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.hotels-view .categories-card .categories-table thead {
  background: var(--neutral-50);
}
.hotels-view .categories-card .categories-table thead th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--neutral-500);
  padding: 10px 14px;
  border-bottom: 1px solid var(--neutral-200);
  white-space: nowrap;
}
.hotels-view .categories-card .categories-table tbody tr {
  transition: background 0.12s ease;
}
.hotels-view .categories-card .categories-table tbody tr:hover {
  background: var(--purple-50);
}
.hotels-view .categories-card .categories-table tbody tr + tr {
  border-top: 1px solid var(--neutral-100);
}
.hotels-view .categories-card .categories-table tbody tr.is-inactive {
  opacity: 0.55;
  background: var(--neutral-50);
}
.hotels-view .categories-card .categories-table tbody td {
  padding: 10px 14px;
  vertical-align: middle;
  color: var(--neutral-800);
}
.hotels-view .categories-card .categories-table tbody td strong {
  color: var(--neutral-900);
  font-weight: 600;
}
.hotels-view .categories-card .categories-table tbody .desc-cell {
  color: var(--neutral-500);
  font-size: 12px;
}
.hotels-view .categories-card .categories-table tbody .cap-cell {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-variant-numeric: tabular-nums;
  color: var(--neutral-700);
  font-weight: 600;
}
.hotels-view .categories-card .categories-table tbody .cap-cell i {
  color: var(--purple-600);
  font-size: 11px;
}
.hotels-view .categories-card .cat-status {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.hotels-view .categories-card .cat-status.actif {
  background: var(--green-50);
  color: var(--green-700);
}
.hotels-view .categories-card .cat-status.inactif {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.hotels-view .categories-card .actions-cell {
  text-align: right;
  white-space: nowrap;
}
.hotels-view .categories-card .actions-cell form {
  display: inline-block;
}
.hotels-view .categories-card .btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--card-border);
  background: #fff;
  color: var(--neutral-500);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: 4px;
  transition: all 0.15s ease;
}
.hotels-view .categories-card .btn-icon:hover {
  transform: translateY(-1px);
}
.hotels-view .categories-card .btn-icon.ok {
  color: var(--green-700);
}
.hotels-view .categories-card .btn-icon.ok:hover {
  background: var(--green-50);
  border-color: var(--green-200);
}
.hotels-view .categories-card .btn-icon.warn {
  color: var(--amber-700);
}
.hotels-view .categories-card .btn-icon.warn:hover {
  background: var(--amber-50);
  border-color: var(--amber-200);
}
.hotels-view .categories-card .btn-icon.danger {
  color: var(--red-600);
}
.hotels-view .categories-card .btn-icon.danger:hover {
  background: var(--red-50);
  border-color: var(--red-200);
}
.hotels-view .categories-card .categories-empty {
  text-align: center;
  padding: 32px 16px;
  background: var(--neutral-50);
  border: 1px dashed var(--card-border);
  border-radius: 10px;
  color: var(--neutral-500);
  margin-bottom: 14px;
}
.hotels-view .categories-card .categories-empty i {
  font-size: 32px;
  color: var(--neutral-300);
  margin-bottom: 8px;
}
.hotels-view .categories-card .categories-empty h4 {
  margin: 0 0 3px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-700);
}
.hotels-view .categories-card .categories-empty p {
  margin: 0;
  font-size: 12px;
}
.hotels-view .categories-card .cat-add-form {
  background: var(--neutral-50);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
}
.hotels-view .categories-card .cat-add-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 0.8fr auto;
  gap: 10px;
  align-items: end;
}
@media (max-width: 900px) {
  .hotels-view .categories-card .cat-add-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.hotels-view .categories-card .cat-add-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.hotels-view .categories-card .cat-add-grid .form-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
}
.hotels-view .categories-card .cat-add-grid .form-label .required {
  color: var(--red-600);
  margin-left: 2px;
}
.hotels-view .categories-card .cat-add-grid .form-control {
  padding: 7px 10px;
  border: 1px solid var(--card-border);
  border-radius: 7px;
  font-size: 12.5px;
  font-family: var(--font-family);
  background: #fff;
}
.hotels-view .categories-card .cat-add-grid .form-control:focus {
  outline: none;
  border-color: var(--purple-600);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.12);
}
@media (max-width: 900px) {
  .hotels-view .categories-card .cat-add-grid .cat-add-submit {
    grid-column: 1/-1;
  }
}
.hotels-view .categories-card .cat-add-grid .cat-add-submit .btn {
  width: 100%;
  padding: 8px 14px;
  font-size: 12.5px;
}
.hotels-view .contingents-section {
  /* Override calendrier pour une meilleure intégration dans la fiche */
}
.hotels-view .contingents-section .contingents-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--neutral-50);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}
.hotels-view .contingents-section .contingents-toolbar .legend {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--neutral-600);
  flex-wrap: wrap;
}
.hotels-view .contingents-section .contingents-toolbar .legend .lg {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 2px;
  vertical-align: middle;
}
.hotels-view .contingents-section .contingents-toolbar .legend .lg.lg-green {
  background: var(--green-600);
}
.hotels-view .contingents-section .contingents-toolbar .legend .lg.lg-amber {
  background: var(--amber-500);
}
.hotels-view .contingents-section .contingents-toolbar .legend .lg.lg-red {
  background: var(--red-600);
}
.hotels-view .contingents-section .contingents-toolbar .legend .lg.lg-empty {
  background: var(--neutral-300);
}
.hotels-view .contingents-section .cal-container {
  border-radius: 10px;
  border-color: var(--card-border);
}
.hotels-view .contingents-section .cal-header {
  padding: 10px 14px;
  background: #fff;
}
.hotels-view .contingents-section .cal-header .cal-title {
  font-weight: 700;
  text-transform: capitalize;
  color: var(--neutral-900);
}
.hotels-view .contingents-section .cal-nav-btn {
  border-radius: 8px;
}
.hotels-view .contingents-section .cal-nav-btn:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.hotels-view .contingents-section .cal-day {
  min-height: 74px;
  transition: background 0.12s ease;
}
.hotels-view .contingents-section .cal-day.selected {
  background: var(--blue-50);
  outline-color: var(--blue-600);
}

/* ═══════════════════════════════════════════════════════════════
   CAMPUS — pages /gestion/campus (index + show/edit)
   Scope : .campus-view. Accent green/teal pour signifier
   "centres de formation" (vie, écosystème formateur).
   ═══════════════════════════════════════════════════════════════ */
.campus-view {
  font-size: 13px;
  /* ── Page header ──────────────────────────────────────────── */
  /* ── KPI row ──────────────────────────────────────────────── */
  /* ── Toolbar ──────────────────────────────────────────────── */
  /* ── Campus grid cards ────────────────────────────────────── */
  /* ── Empty state ──────────────────────────────────────────── */
  /* ═════════════════════════════════════════════════════════════
     SHOW/EDIT PAGE
     ═════════════════════════════════════════════════════════════ */
  /* Hero édition */
  /* Form card (mêmes tokens que hotels/formations) */
  /* Toggle card */
  /* Sticky footer */
}
.campus-view .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.campus-view .page-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.campus-view .page-title-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #16A34A, #0D9488);
}
.campus-view .page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
  color: var(--neutral-900);
}
.campus-view .page-subtitle {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.campus-view .page-subtitle .pill {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.campus-view .page-subtitle .pill.green {
  background: var(--green-50);
  color: var(--green-700);
}
.campus-view .page-subtitle .pill.teal {
  background: #CCFBF1;
  color: #0F766E;
}
.campus-view .page-subtitle .pill.blue {
  background: var(--blue-50);
  color: var(--blue-700);
}
.campus-view .page-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.campus-view .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1200px) {
  .campus-view .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.campus-view .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.campus-view .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.campus-view .kpi .kpi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.campus-view .kpi .kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.campus-view .kpi .kpi-value .unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-500);
  margin-left: 3px;
}
.campus-view .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.campus-view .toolbar {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.campus-view .toolbar-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 240px;
  max-width: 360px;
}
.campus-view .toolbar-search input {
  width: 100%;
  padding: 7px 12px 7px 32px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  transition: all 150ms;
}
.campus-view .toolbar-search input:focus {
  outline: none;
  background: #fff;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}
.campus-view .toolbar-search > i {
  position: absolute;
  left: 11px;
  color: var(--neutral-500);
  font-size: 12px;
  pointer-events: none;
}
.campus-view .segmented {
  display: inline-flex;
  background: var(--neutral-100);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.campus-view .segmented a {
  background: transparent;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-600);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.campus-view .segmented a i {
  font-size: 11px;
}
.campus-view .segmented a small {
  color: var(--text-tertiary);
  font-weight: 500;
}
.campus-view .segmented a.is-active {
  background: #fff;
  color: var(--neutral-900);
  box-shadow: var(--shadow-sm);
}
.campus-view .segmented a:hover:not(.is-active) {
  color: var(--neutral-800);
}
.campus-view .campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.campus-view .campus-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 200ms;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  /* Inactif : opacité réduite */
}
.campus-view .campus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}
.campus-view .campus-card:hover .campus-card-banner::after {
  opacity: 1;
}
.campus-view .campus-card.is-inactive {
  opacity: 0.65;
}
.campus-view .campus-card.is-inactive .campus-card-banner {
  filter: grayscale(0.4);
}
.campus-view .campus-card-banner {
  height: 100px;
  background: linear-gradient(135deg, #16A34A 0%, #0D9488 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Variantes de gradient — déterministe via classe .c-N */
  /* Pattern décoratif subtil */
}
.campus-view .campus-card-banner.c-0 {
  background: linear-gradient(135deg, #16A34A, #0D9488);
}
.campus-view .campus-card-banner.c-1 {
  background: linear-gradient(135deg, #1463D9, #0EA5E9);
}
.campus-view .campus-card-banner.c-2 {
  background: linear-gradient(135deg, #EA580C, #F59E0B);
}
.campus-view .campus-card-banner.c-3 {
  background: linear-gradient(135deg, #9333EA, #EC4899);
}
.campus-view .campus-card-banner.c-4 {
  background: linear-gradient(135deg, #DC2626, #F59E0B);
}
.campus-view .campus-card-banner.c-5 {
  background: linear-gradient(135deg, #4F46E5, #9333EA);
}
.campus-view .campus-card-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.15) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}
.campus-view .campus-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  opacity: 0;
  transition: opacity 150ms;
}
.campus-view .campus-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  z-index: 1;
}
.campus-view .campus-card-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.campus-view .campus-card-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
}
.campus-view .campus-card-status.actif {
  background: rgba(34, 197, 94, 0.3);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.campus-view .campus-card-status.inactif {
  background: rgba(115, 115, 115, 0.4);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.campus-view .campus-card-body {
  padding: 16px;
  flex: 1;
}
.campus-view .campus-card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.campus-view .campus-card-loc {
  font-size: 12px;
  color: var(--neutral-500);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.campus-view .campus-card-loc i {
  font-size: 10px;
  color: var(--neutral-400);
}
.campus-view .campus-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--neutral-200);
}
.campus-view .campus-card-stats .cstat {
  text-align: center;
}
.campus-view .campus-card-stats .cstat .val {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}
.campus-view .campus-card-stats .cstat .lbl {
  font-size: 9.5px;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.campus-view .campus-card-stats .cstat .lbl i {
  font-size: 9px;
  color: var(--neutral-400);
}
.campus-view .campus-card-cta {
  padding: 12px 16px;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
}
.campus-view .campus-card-cta .edit-hint {
  font-size: 11.5px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 5px;
}
.campus-view .campus-card-cta .edit-hint i {
  font-size: 10px;
}
.campus-view .campus-card-cta .arrow {
  color: var(--green-600);
  font-size: 12px;
  transition: transform 150ms;
}
.campus-view .campus-card:hover .campus-card-cta .arrow {
  transform: translateX(3px);
}
.campus-view .empty-state {
  background: #fff;
  border: 1px dashed var(--neutral-300);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--neutral-500);
  grid-column: 1/-1;
}
.campus-view .empty-state i {
  font-size: 34px;
  color: var(--neutral-300);
  margin-bottom: 12px;
}
.campus-view .empty-state h3 {
  margin: 0 0 4px;
  color: var(--neutral-700);
  font-size: 14px;
  font-weight: 700;
}
.campus-view .empty-state p {
  margin: 0;
  font-size: 12px;
}
.campus-view .page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--neutral-500);
  text-decoration: none;
  margin-bottom: 12px;
}
.campus-view .page-back:hover {
  color: var(--green-700);
}
.campus-view .page-back i {
  font-size: 10px;
}
.campus-view .campus-hero {
  background: linear-gradient(135deg, #DCFCE7 0%, #CCFBF1 100%);
  border: 1px solid #BBF7D0;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.campus-view .campus-hero-mark {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #16A34A, #0D9488);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}
.campus-view .campus-hero-info {
  flex: 1;
  min-width: 0;
}
.campus-view .campus-hero-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.campus-view .campus-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.campus-view .campus-hero-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.campus-view .campus-hero-status.actif {
  background: var(--green-50);
  color: var(--green-700);
}
.campus-view .campus-hero-status.inactif {
  background: var(--neutral-100);
  color: var(--neutral-500);
}
.campus-view .campus-hero-meta {
  margin-top: 6px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--neutral-600);
}
.campus-view .campus-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.campus-view .campus-hero-meta i {
  font-size: 10px;
  color: var(--neutral-400);
}
.campus-view .campus-hero-stats {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.campus-view .campus-hero-stats .hstat {
  text-align: center;
  padding: 0 6px;
}
.campus-view .campus-hero-stats .hstat .hstat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1;
  letter-spacing: -0.4px;
  font-variant-numeric: tabular-nums;
}
.campus-view .campus-hero-stats .hstat .hstat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  margin-top: 4px;
}
.campus-view .form-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: visible;
  margin-bottom: 20px;
}
.campus-view .form-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--neutral-100);
}
.campus-view .form-section:last-child {
  border-bottom: none;
}
.campus-view .form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.campus-view .form-section-head .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.campus-view .form-section-head .icon.blue {
  background: var(--blue-50);
  color: var(--blue-600);
}
.campus-view .form-section-head .icon.teal {
  background: #CCFBF1;
  color: #0F766E;
}
.campus-view .form-section-head .icon.purple {
  background: var(--purple-50);
  color: var(--purple-600);
}
.campus-view .form-section-head .icon.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.campus-view .form-section-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.campus-view .form-section-head .hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--neutral-500);
  font-style: italic;
}
.campus-view .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .campus-view .form-grid {
    grid-template-columns: 1fr;
  }
}
.campus-view .form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.campus-view .form-grid .form-group.full {
  grid-column: 1/-1;
}
.campus-view .form-grid .form-group label.form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-700);
}
.campus-view .form-grid .form-group label.form-label .required {
  color: var(--red-600);
  margin-left: 2px;
}
.campus-view .form-grid .form-group .form-hint {
  font-size: 11px;
  color: var(--neutral-500);
  font-style: italic;
  margin-top: 2px;
}
.campus-view .form-toggle-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  grid-column: 1/-1;
}
.campus-view .form-toggle-card .toggle-info {
  flex: 1;
}
.campus-view .form-toggle-card .toggle-info .toggle-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
}
.campus-view .form-toggle-card .toggle-info .toggle-desc {
  font-size: 11.5px;
  color: var(--neutral-600);
  margin-top: 2px;
}
.campus-view .form-toggle-card .toggle-control {
  display: flex;
  gap: 6px;
}
.campus-view .form-toggle-card .toggle-control label {
  padding: 6px 14px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all 120ms;
}
.campus-view .form-toggle-card .toggle-control label input {
  display: none;
}
.campus-view .form-toggle-card .toggle-control label:has(input:checked) {
  border-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-700);
}
.campus-view .form-footer {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: sticky;
  bottom: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  flex-wrap: wrap;
}
.campus-view .form-footer .footer-hint {
  font-size: 12px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.campus-view .form-footer .footer-hint i {
  font-size: 11px;
  color: var(--neutral-400);
}
.campus-view .form-footer .footer-actions {
  display: flex;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   CALENDRIER D'OCCUPATION (campus show)
   Scope : .resa-list .occupation-section, etc.
   ═══════════════════════════════════════════════════════════════ */
.resa-list {
  /* Légende calendrier */
  /* Grille du calendrier */
  /* Section paramètres : reset des bordures du form-card existant */
}
.resa-list .occupation-section,
.resa-list .override-section,
.resa-list .params-section {
  padding: 20px 22px;
  margin-bottom: 1.25rem;
}
.resa-list .occupation-head,
.resa-list .override-head,
.resa-list .params-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.resa-list .occupation-head h2.occupation-title,
.resa-list .occupation-head h2.override-title,
.resa-list .occupation-head h2.params-title,
.resa-list .override-head h2.occupation-title,
.resa-list .override-head h2.override-title,
.resa-list .override-head h2.params-title,
.resa-list .params-head h2.occupation-title,
.resa-list .params-head h2.override-title,
.resa-list .params-head h2.params-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
}
.resa-list .occupation-head p.occupation-sub,
.resa-list .occupation-head p.override-sub,
.resa-list .occupation-head p.params-sub,
.resa-list .override-head p.occupation-sub,
.resa-list .override-head p.override-sub,
.resa-list .override-head p.params-sub,
.resa-list .params-head p.occupation-sub,
.resa-list .params-head p.override-sub,
.resa-list .params-head p.params-sub {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--neutral-500);
}
.resa-list .occupation-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.resa-list .occupation-nav .occupation-month {
  min-width: 140px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-800);
}
.resa-list .occupation-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 18px;
  padding: 10px 12px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-100);
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 11.5px;
  color: var(--neutral-600);
}
.resa-list .occupation-legend .leg-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resa-list .occupation-legend .leg-dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: inline-block;
}
.resa-list .occupation-legend .leg-dot.leg-open {
  background: var(--green-50);
  border: 1px solid var(--green-200);
}
.resa-list .occupation-legend .leg-dot.leg-partial {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
}
.resa-list .occupation-legend .leg-dot.leg-saturating {
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
}
.resa-list .occupation-legend .leg-dot.leg-full {
  background: var(--red-50);
  border: 1px solid var(--red-200);
}
.resa-list .occupation-legend .leg-dot.leg-closed {
  background: repeating-linear-gradient(45deg, var(--neutral-100), var(--neutral-100) 4px, var(--neutral-200) 4px, var(--neutral-200) 8px);
  border: 1px solid var(--neutral-200);
}
.resa-list .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.resa-list .cal-dow {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0 4px;
}
.resa-list .cal-dow.weekend {
  color: var(--text-tertiary);
}
.resa-list .cal-day {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 8px 6px;
  min-height: 86px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 120ms;
  color: var(--neutral-900);
  /* États */
}
.resa-list .cal-day:hover {
  border-color: var(--neutral-400);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.resa-list .cal-day .cal-day-num {
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.resa-list .cal-day .cal-day-flag {
  position: absolute;
  top: 6px;
  right: 6px;
  color: var(--amber-700);
  font-size: 10px;
}
.resa-list .cal-day .cal-day-fill {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-700);
  margin-top: auto;
  font-variant-numeric: tabular-nums;
}
.resa-list .cal-day .cal-day-fill .cal-day-cap {
  color: var(--text-tertiary);
  font-weight: 500;
}
.resa-list .cal-day .cal-day-bar {
  height: 4px;
  background: var(--neutral-100);
  border-radius: 2px;
  overflow: hidden;
  display: block;
}
.resa-list .cal-day .cal-day-bar-fill {
  display: block;
  height: 100%;
  background: var(--neutral-400);
  border-radius: 2px;
  transition: width 200ms;
}
.resa-list .cal-day.cal-day-open {
  background: var(--green-50);
  border-color: var(--green-200);
}
.resa-list .cal-day.cal-day-open .cal-day-bar-fill {
  background: var(--green-600);
}
.resa-list .cal-day.cal-day-partial {
  background: var(--blue-50);
  border-color: var(--blue-200);
}
.resa-list .cal-day.cal-day-partial .cal-day-bar-fill {
  background: var(--blue-600);
}
.resa-list .cal-day.cal-day-saturating {
  background: var(--amber-50);
  border-color: var(--amber-200);
}
.resa-list .cal-day.cal-day-saturating .cal-day-bar-fill {
  background: var(--amber-500);
}
.resa-list .cal-day.cal-day-full {
  background: var(--red-50);
  border-color: var(--red-200);
}
.resa-list .cal-day.cal-day-full .cal-day-bar-fill {
  background: var(--red-600);
}
.resa-list .cal-day.cal-day-closed {
  background: repeating-linear-gradient(45deg, var(--neutral-100), var(--neutral-100) 5px, var(--neutral-200) 5px, var(--neutral-200) 10px);
  border-color: var(--neutral-300);
  color: var(--neutral-500);
}
.resa-list .cal-day.cal-day-closed .cal-day-num {
  text-decoration: line-through;
}
.resa-list .cal-day.cal-day-closed .cal-day-bar {
  display: none;
}
.resa-list .cal-day.cal-day-closed .cal-day-fill {
  color: var(--neutral-500);
  font-style: italic;
}
.resa-list .cal-day.cal-out {
  opacity: 0.35;
}
.resa-list .cal-day.cal-past {
  opacity: 0.7;
}
.resa-list .cal-day.cal-today {
  box-shadow: 0 0 0 2px var(--blue-600);
}
.resa-list .cal-day.cal-today .cal-day-num {
  color: var(--blue-700);
}
.resa-list .cal-day.cal-has-override {
  outline: 1px dashed var(--amber-500);
  outline-offset: -2px;
}
.resa-list .params-section .params-form > .form-section {
  margin-bottom: 18px;
}
.resa-list .params-section .params-form > .form-section:last-of-type {
  margin-bottom: 8px;
}
.resa-list .params-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--neutral-100);
  flex-wrap: wrap;
}
.resa-list .params-foot .footer-hint {
  font-size: 11.5px;
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.resa-list .params-foot .footer-actions {
  display: flex;
  gap: 8px;
}
@media (max-width: 760px) {
  .resa-list .cal-grid {
    gap: 3px;
  }
  .resa-list .cal-day {
    min-height: 70px;
    padding: 6px;
  }
  .resa-list .cal-day-fill {
    font-size: 11px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ROOMING LIST — page /hotelier/rooming-list
   Scope : .rooming-view. Accent indigo/blue côté hôtelier.
   ═══════════════════════════════════════════════════════════════ */
.rooming-view {
  font-size: 13px;
  /* ── Back link ────────────────────────────────────────────── */
  /* ── Hero ─────────────────────────────────────────────────── */
  /* ── KPI row ──────────────────────────────────────────────── */
  /* ── Toolbar filtres ──────────────────────────────────────── */
  /* ── Liste / tableau ──────────────────────────────────────── */
  /* ── Empty state ──────────────────────────────────────────── */
}
.rooming-view .page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-500);
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.15s ease;
}
.rooming-view .page-back:hover {
  color: var(--blue-600);
}
.rooming-view .rooming-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 55%, #4F46E5 100%);
  color: #fff;
  padding: 22px 26px;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px -12px rgba(37, 99, 235, 0.45);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
.rooming-view .rooming-hero::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .rooming-view .rooming-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.rooming-view .rooming-hero-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .rooming-view .rooming-hero-mark {
    margin: 0 auto;
  }
}
.rooming-view .rooming-hero-info .eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 4px;
}
.rooming-view .rooming-hero-info .rooming-hero-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 6px 0;
  color: #fff;
}
.rooming-view .rooming-hero-info .rooming-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
}
.rooming-view .rooming-hero-info .rooming-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rooming-view .rooming-hero-info .rooming-hero-meta i {
  opacity: 0.9;
}
.rooming-view .rooming-hero-info .rooming-hero-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.rooming-view .rooming-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.rooming-view .rooming-hero-actions .btn {
  border: none;
  padding: 9px 14px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.rooming-view .rooming-hero-actions .btn-excel {
  background: #fff;
  color: #1E3A8A;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.2);
}
.rooming-view .rooming-hero-actions .btn-excel:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.25);
}
.rooming-view .rooming-hero-actions .btn-mail {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.rooming-view .rooming-hero-actions .btn-mail:hover {
  background: rgba(255, 255, 255, 0.22);
}
.rooming-view .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1100px) {
  .rooming-view .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .rooming-view .kpi-row {
    grid-template-columns: 1fr;
  }
}
.rooming-view .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rooming-view .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.rooming-view .kpi .kpi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.rooming-view .kpi .kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.rooming-view .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.rooming-view .rooming-toolbar {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.rooming-view .rooming-toolbar .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}
.rooming-view .rooming-toolbar .field label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 5px;
}
.rooming-view .rooming-toolbar .field input[type=date], .rooming-view .rooming-toolbar .field input[type=search] {
  padding: 8px 11px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-family);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rooming-view .rooming-toolbar .field input[type=date]:focus, .rooming-view .rooming-toolbar .field input[type=search]:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.rooming-view .rooming-toolbar .field input[type=search] {
  min-width: 240px;
}
.rooming-view .rooming-toolbar .shortcuts {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}
.rooming-view .rooming-toolbar .shortcuts button {
  border: 1px solid var(--card-border);
  background: var(--neutral-50);
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all 0.15s ease;
}
.rooming-view .rooming-toolbar .shortcuts button:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.rooming-view .rooming-toolbar .btn-filter {
  background: var(--blue-600);
  color: #fff;
  border: none;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}
.rooming-view .rooming-toolbar .btn-filter:hover {
  background: var(--blue-700);
}
.rooming-view .rooming-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.rooming-view .rooming-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--neutral-100);
  gap: 10px;
  flex-wrap: wrap;
}
.rooming-view .rooming-card-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-800);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rooming-view .rooming-card-head h3 i {
  color: var(--blue-600);
}
.rooming-view .rooming-card-head .count {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-500);
  background: var(--neutral-100);
  padding: 3px 9px;
  border-radius: 999px;
}
.rooming-view .table-wrap {
  overflow-x: auto;
}
.rooming-view .rooming-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.rooming-view .rooming-table thead {
  background: var(--neutral-50);
}
.rooming-view .rooming-table thead th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--neutral-500);
  padding: 11px 14px;
  border-bottom: 1px solid var(--neutral-200);
  white-space: nowrap;
}
.rooming-view .rooming-table tbody tr {
  transition: background 0.12s ease;
}
.rooming-view .rooming-table tbody tr:hover {
  background: var(--blue-50);
}
.rooming-view .rooming-table tbody tr + tr {
  border-top: 1px solid var(--neutral-100);
}
.rooming-view .rooming-table tbody td {
  padding: 11px 14px;
  vertical-align: middle;
  color: var(--neutral-800);
}
.rooming-view .rooming-table .ref-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neutral-500);
}
.rooming-view .rooming-table .name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rooming-view .rooming-table .name-cell .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}
.rooming-view .rooming-table .name-cell .name-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.rooming-view .rooming-table .name-cell .name-block strong {
  color: var(--neutral-900);
  font-weight: 600;
  font-size: 13px;
}
.rooming-view .rooming-table .name-cell .name-block small {
  color: var(--neutral-500);
  font-size: 11px;
}
.rooming-view .rooming-table .contact-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11.5px;
}
.rooming-view .rooming-table .contact-cell a {
  color: var(--neutral-700);
  text-decoration: none;
}
.rooming-view .rooming-table .contact-cell a:hover {
  color: var(--blue-600);
}
.rooming-view .rooming-table .contact-cell .muted {
  color: var(--text-tertiary);
}
.rooming-view .rooming-table .nni-cell {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--neutral-100);
  color: var(--neutral-700);
  padding: 2px 7px;
  border-radius: 5px;
  display: inline-block;
}
.rooming-view .rooming-table .date-cell {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rooming-view .rooming-table .date-cell .d {
  color: var(--neutral-900);
  font-weight: 600;
}
.rooming-view .rooming-table .date-cell .dow {
  color: var(--neutral-500);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-left: 4px;
}
.rooming-view .rooming-table .nuits-cell {
  font-weight: 700;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.rooming-view .rooming-table .loc-cell {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 11.5px;
}
.rooming-view .rooming-table .loc-cell strong {
  color: var(--neutral-900);
  font-weight: 600;
  font-size: 12px;
}
.rooming-view .rooming-table .loc-cell small {
  color: var(--neutral-500);
}
.rooming-view .rooming-table .type-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.rooming-view .rooming-table .type-pill.sejour {
  background: var(--blue-50);
  color: var(--blue-700);
}
.rooming-view .rooming-table .type-pill.veille {
  background: var(--amber-50);
  color: var(--amber-800);
}
.rooming-view .rooming-table .type-pill.lendemain {
  background: var(--purple-50);
  color: var(--purple-700);
}
.rooming-view .rooming-table .type-pill.week {
  background: #ECFEFF;
  color: #0E7490;
}
.rooming-view .rooming-empty {
  background: #fff;
  border: 1px dashed var(--card-border);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--neutral-500);
}
.rooming-view .rooming-empty i {
  font-size: 40px;
  color: var(--neutral-300);
  margin-bottom: 12px;
}
.rooming-view .rooming-empty h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-700);
  margin: 0 0 4px 0;
}
.rooming-view .rooming-empty p {
  margin: 0;
  font-size: 12.5px;
}

/* ═══════════════════════════════════════════════════════════════
   HOTELIER DASHBOARD — page /hotelier/dashboard
   Scope : .hotelier-view. Accent indigo/blue (univers hôtelier).
   ═══════════════════════════════════════════════════════════════ */
.hotelier-view {
  font-size: 13px;
  /* ── Hero ─────────────────────────────────────────────────── */
  /* ── Alert not linked ────────────────────────────────────── */
  /* ── KPIs ─────────────────────────────────────────────────── */
  /* ── Grid 2 colonnes (arrivées / départs) ─────────────────── */
  /* ── Panels ───────────────────────────────────────────────── */
  /* ── Flight-list (arrivées/départs) ───────────────────────── */
  /* ── Table actuellement hébergés ──────────────────────────── */
  /* ── Empty state ──────────────────────────────────────────── */
  /* ── Calendar 8 weeks ─────────────────────────────────────── */
}
.hotelier-view .ht-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #4F46E5 100%);
  color: #fff;
  padding: 26px 28px;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px -12px rgba(30, 58, 138, 0.5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}
.hotelier-view .ht-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  pointer-events: none;
}
.hotelier-view .ht-hero::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 20%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hotelier-view .ht-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.hotelier-view .ht-hero-info {
  position: relative;
  z-index: 1;
}
.hotelier-view .ht-hero-info .eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hotelier-view .ht-hero-info .eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}
.hotelier-view .ht-hero-info .ht-hero-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
  color: #fff;
}
.hotelier-view .ht-hero-info .ht-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}
.hotelier-view .ht-hero-info .ht-hero-meta .hotel-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.12);
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hotelier-view .ht-hero-info .ht-hero-meta .hotel-badge i {
  color: #93C5FD;
}
.hotelier-view .ht-hero-info .ht-hero-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.hotelier-view .ht-hero-info .ht-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@keyframes htPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}
.hotelier-view .ht-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.hotelier-view .ht-hero-actions .btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.hotelier-view .ht-hero-actions .btn-white {
  background: #fff;
  color: #1E3A8A;
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.25);
}
.hotelier-view .ht-hero-actions .btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.3);
}
.hotelier-view .ht-hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hotelier-view .ht-hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}
.hotelier-view .ht-alert {
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #92400E;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.hotelier-view .ht-alert i {
  font-size: 18px;
  color: #B45309;
  flex-shrink: 0;
}
.hotelier-view .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1100px) {
  .hotelier-view .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .hotelier-view .kpi-row {
    grid-template-columns: 1fr;
  }
}
.hotelier-view .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.hotelier-view .kpi .kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.hotelier-view .kpi .kpi-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.hotelier-view .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--neutral-500);
}
.hotelier-view .kpi .kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hotelier-view .kpi .kpi-value small {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-500);
  margin-left: 3px;
}
.hotelier-view .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.hotelier-view .kpi.arrive .kpi-icon {
  background: var(--blue-50);
  color: var(--blue-700);
}
.hotelier-view .kpi.depart .kpi-icon {
  background: var(--amber-50);
  color: var(--amber-800);
}
.hotelier-view .kpi.stay .kpi-icon {
  background: var(--green-50);
  color: var(--green-700);
}
.hotelier-view .kpi.occup .kpi-icon {
  background: var(--purple-50);
  color: var(--purple-700);
}
.hotelier-view .ht-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1100px) {
  .hotelier-view .ht-grid-2 {
    grid-template-columns: 1fr;
  }
}
.hotelier-view .ht-panel {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}
.hotelier-view .ht-panel.accent-arrive {
  border-top: 3px solid var(--blue-600);
}
.hotelier-view .ht-panel.accent-depart {
  border-top: 3px solid var(--amber-500);
}
.hotelier-view .ht-panel.accent-stay {
  border-top: 3px solid var(--green-600);
}
.hotelier-view .ht-panel.accent-cal {
  border-top: 3px solid var(--purple-600);
}
.hotelier-view .ht-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--neutral-100);
  gap: 10px;
  flex-wrap: wrap;
}
.hotelier-view .ht-panel-head h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-800);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hotelier-view .ht-panel-head h3 .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.hotelier-view .ht-panel-head .count {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-500);
  background: var(--neutral-100);
  padding: 3px 9px;
  border-radius: 999px;
}
.hotelier-view .ht-panel-head.head-arrive h3 .ico {
  background: var(--blue-50);
  color: var(--blue-700);
}
.hotelier-view .ht-panel-head.head-depart h3 .ico {
  background: var(--amber-50);
  color: var(--amber-800);
}
.hotelier-view .ht-panel-head.head-stay h3 .ico {
  background: var(--green-50);
  color: var(--green-700);
}
.hotelier-view .ht-panel-head.head-cal h3 .ico {
  background: var(--purple-50);
  color: var(--purple-700);
}
.hotelier-view .ht-panel-body {
  padding: 14px 18px;
}
.hotelier-view .ht-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hotelier-view .ht-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--neutral-100);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.hotelier-view .ht-row:hover {
  border-color: var(--blue-200);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.15);
}
.hotelier-view .ht-row .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
}
.hotelier-view .ht-row .info {
  flex: 1;
  min-width: 0;
}
.hotelier-view .ht-row .info strong {
  display: block;
  color: var(--neutral-900);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hotelier-view .ht-row .info small {
  color: var(--neutral-500);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.hotelier-view .ht-row .meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
  flex-shrink: 0;
  text-align: right;
}
.hotelier-view .ht-row .meta .when {
  font-size: 11px;
  color: var(--neutral-500);
  font-variant-numeric: tabular-nums;
}
.hotelier-view .ht-row .pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.hotelier-view .ht-row .pill.pill-arrive {
  background: var(--blue-50);
  color: var(--blue-700);
}
.hotelier-view .ht-row .pill.pill-depart {
  background: var(--amber-50);
  color: var(--amber-800);
}
.hotelier-view .ht-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.hotelier-view .ht-table thead {
  background: var(--neutral-50);
}
.hotelier-view .ht-table thead th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  color: var(--neutral-500);
  padding: 11px 14px;
  border-bottom: 1px solid var(--neutral-200);
  white-space: nowrap;
}
.hotelier-view .ht-table tbody tr {
  transition: background 0.12s ease;
}
.hotelier-view .ht-table tbody tr:hover {
  background: var(--green-50);
}
.hotelier-view .ht-table tbody tr + tr {
  border-top: 1px solid var(--neutral-100);
}
.hotelier-view .ht-table tbody td {
  padding: 11px 14px;
  vertical-align: middle;
  color: var(--neutral-800);
}
.hotelier-view .ht-table .name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hotelier-view .ht-table .name-cell .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), #0D9488);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
}
.hotelier-view .ht-table .name-cell strong {
  color: var(--neutral-900);
  font-weight: 600;
  font-size: 13px;
}
.hotelier-view .ht-table .pill-j {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.hotelier-view .ht-table .pill-j.ok {
  background: var(--green-50);
  color: var(--green-700);
}
.hotelier-view .ht-table .pill-j.soon {
  background: var(--amber-50);
  color: var(--amber-800);
}
.hotelier-view .ht-table .pill-j.today {
  background: var(--red-50);
  color: var(--red-700);
}
.hotelier-view .ht-empty {
  text-align: center;
  padding: 34px 16px;
  color: var(--neutral-500);
}
.hotelier-view .ht-empty i {
  font-size: 34px;
  color: var(--neutral-300);
  margin-bottom: 10px;
}
.hotelier-view .ht-empty h4 {
  margin: 0 0 3px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-700);
}
.hotelier-view .ht-empty p {
  margin: 0;
  font-size: 12px;
}
.hotelier-view .ht-cal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 1100px) {
  .hotelier-view .ht-cal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .hotelier-view .ht-cal-grid {
    grid-template-columns: 1fr;
  }
}
.hotelier-view .ht-week {
  position: relative;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.hotelier-view .ht-week:hover {
  border-color: var(--blue-200);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.15);
}
.hotelier-view .ht-week.current {
  border-color: var(--blue-600);
  background: linear-gradient(180deg, #fff, var(--blue-50));
  box-shadow: 0 4px 12px -4px rgba(37, 99, 235, 0.25);
}
.hotelier-view .ht-week .week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
}
.hotelier-view .ht-week .week-num {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
}
.hotelier-view .ht-week .week-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--blue-600);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.hotelier-view .ht-week .week-range {
  font-size: 12px;
  color: var(--neutral-800);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}
.hotelier-view .ht-week .week-stats {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.hotelier-view .ht-week .week-stats .big {
  font-size: 20px;
  font-weight: 700;
  color: var(--neutral-900);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hotelier-view .ht-week .week-stats .lbl {
  font-size: 10.5px;
  color: var(--neutral-500);
}
.hotelier-view .ht-week .week-bar {
  height: 6px;
  background: var(--neutral-100);
  border-radius: 3px;
  overflow: hidden;
}
.hotelier-view .ht-week .week-bar > span {
  display: block;
  height: 100%;
  border-radius: 3px;
  transition: width 350ms ease;
}
.hotelier-view .ht-week .week-bar.ok > span {
  background: linear-gradient(90deg, #22C55E, #16A34A);
}
.hotelier-view .ht-week .week-bar.warn > span {
  background: linear-gradient(90deg, #FBBF24, #F59E0B);
}
.hotelier-view .ht-week .week-bar.high > span {
  background: linear-gradient(90deg, #F87171, #DC2626);
}
.hotelier-view .ht-week .week-pct {
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--neutral-500);
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════════
   ESPACE HÔTELIER — /hotelier/*
   Cadre propre (barre marine de 260 px, en-tête translucide), bulle « choses à faire »,
   panneau latéral et message toujours montés. Tout est sous .eh : le reste du portail
   n'en hérite rien.

   Mouvement : les panneaux, la bulle et le message entrent et sortent par le même chemin
   (transform), avec la courbe ressort --eh-spring ; ils restent montés pour qu'un geste
   puisse en interrompre un autre. Chaque bouton s'enfonce à la pression (.97).
   ═══════════════════════════════════════════════════════════════ */
.eh {
  --eh-navy: #1D2D5C;
  --eh-navy-2: #27376A;
  --eh-green: #6CC04A;
  --eh-green-d: #4FA235;
  --eh-green-t: #2E5320;
  --eh-bg: #EEF1F6;
  --eh-line: #E2E8F0;
  --eh-card-line: #E4E8F0;
  --eh-text: #3E4A6B;
  --eh-muted: #7A8298;
  --eh-faint: #9AA1B2;
  --eh-amber: #D9A441;
  --eh-red: #B23A36;
  --eh-mono: "JetBrains Mono", ui-monospace, monospace;
  --eh-spring: linear(0, 0.004, 0.016, 0.035, 0.063 3.6%, 0.141, 0.25 7.6%, 0.539 13.6%, 0.721 18.1%, 0.849 22.5%, 0.937 27.2%, 0.991 32.1%, 1.018 37.3%, 1.028 43%, 1.023 50.4%, 1.006 63.2%, 0.998 76%, 1);
  --eh-ease: cubic-bezier(.2, .8, .2, 1);
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--eh-bg);
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--eh-text);
  -webkit-font-smoothing: antialiased;
}
.eh *, .eh *::before, .eh *::after {
  box-sizing: border-box;
}

/* Les règles de base ne pèsent rien (:where) : la moindre classe de composant l'emporte. */
:where(.eh) a {
  color: var(--eh-navy);
  text-decoration: none;
}

:where(.eh) :is(button, input, select, textarea) {
  font-family: inherit;
}

:where(.eh) :is(input, textarea)::placeholder {
  color: #9AA3B8;
}

:where(.eh) :is(h1, h2, h3) {
  margin: 0;
}

@keyframes eh-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes eh-pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes eh-slide-r {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes eh-slide-l {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes eh-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 164, 65, 0.55);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(217, 164, 65, 0);
  }
}
@keyframes eh-ring {
  0% {
    box-shadow: 0 14px 34px rgba(79, 162, 53, 0.3), 0 0 0 0 rgba(108, 192, 74, 0.55);
  }
  100% {
    box-shadow: 0 14px 34px rgba(79, 162, 53, 0.3), 0 0 0 14px rgba(108, 192, 74, 0);
  }
}
@keyframes eh-drift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, 30px);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes eh-sweep {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(220%);
  }
}
/* Retour à la pression : tout ce qui se clique s'enfonce un peu, tout de suite. */
.eh-press {
  transition: transform 0.1s ease-out, background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.eh-press:active {
  transform: scale(0.97);
}

.eh-anim-rise {
  animation: eh-rise 0.35s var(--eh-ease) both;
}

.eh-glisse-r {
  animation: eh-slide-r 0.32s var(--eh-ease) both;
}

.eh-glisse-l {
  animation: eh-slide-l 0.32s var(--eh-ease) both;
}

.eh-glisse-0 {
  animation: eh-pop 0.32s var(--eh-ease) both;
}

/* ── Barre latérale ─────────────────────────────────────────── */
.eh-side {
  background: var(--eh-navy);
  color: #C7CEE3;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.eh-side-logo {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #2C3C6B;
}
.eh-side-logo img {
  width: 150px;
  height: auto;
  display: block;
}

.eh-side-photo-w {
  padding: 12px 12px 4px;
}

.eh-side-photo {
  position: relative;
  height: 124px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #27376A, #1D2D5C);
}
.eh-side-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eh-side-photo .eh-side-photo-vide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.18);
  font-size: 34px;
}

.eh-side-photo-txt {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 10px;
  background: linear-gradient(180deg, rgba(21, 35, 71, 0), rgba(21, 35, 71, 0.88));
  pointer-events: none;
}
.eh-side-photo-txt div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-side-hotel {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.eh-side-etoiles {
  color: #FFD56A;
  font-size: 10px;
  letter-spacing: 1px;
}

.eh-side-campus {
  font-size: 11px;
  font-weight: 600;
  color: #C7CEE3;
}

.eh-nav {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.eh-nav-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6E7BA8;
  padding: 10px 10px 6px;
}

.eh-nav-a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #C7CEE3;
}
.eh-nav-a:hover {
  background: var(--eh-navy-2);
  color: #fff;
}
.eh-nav-a.is-on {
  font-weight: 800;
  color: #fff;
  background: rgba(108, 192, 74, 0.16);
}

.eh-nav-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #8E9AC2;
}
.is-on .eh-nav-ic {
  background: var(--eh-green);
  color: #fff;
}

.eh-nav-l {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-nav-n {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--eh-green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.eh-side-pied {
  padding: 10px 12px;
  border-top: 1px solid #2C3C6B;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eh-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--eh-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.eh-side-qui {
  flex: 1;
  min-width: 0;
}
.eh-side-qui span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-side-nom {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
}

.eh-side-role {
  font-size: 11px;
  color: #8E9AC2;
}

.eh-side-sortie {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #8E9AC2;
}
.eh-side-sortie:hover {
  background: var(--eh-navy-2);
  color: #fff;
}

/* Sans défilement : si la hauteur manque, les entrées se resserrent. */
@media (max-height: 760px) {
  .eh-nav-a {
    padding: 6px 10px;
  }
  .eh-nav-k {
    padding: 6px 10px 4px;
  }
  .eh-side-photo {
    height: 100px;
  }
}
@media (max-height: 620px) {
  .eh-nav-a {
    padding: 4px 10px;
    font-size: 12.5px;
  }
  .eh-nav-k {
    display: none;
  }
  .eh-side-photo {
    height: 64px;
  }
  .eh-side-campus {
    display: none;
  }
}
/* ── En-tête ────────────────────────────────────────────────── */
.eh-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.eh-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(238, 241, 246, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 28px;
  min-height: 64px;
}
.eh-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
  background: linear-gradient(rgba(29, 45, 92, 0.07), rgba(29, 45, 92, 0));
  pointer-events: none;
}

.eh-head-titre {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.eh-head-page {
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
  white-space: nowrap;
}

.eh-head-sep {
  width: 1px;
  height: 18px;
  background: #D5DBE6;
}

.eh-head-hotel {
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-content {
  padding: 22px 28px 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eh-vue {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 28px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #FFF6E3;
  border: 1px solid #E8C983;
  color: #7A4A00;
  font-size: 12.5px;
  font-weight: 700;
}
.eh-vue form {
  margin: 0 0 0 auto;
}
.eh-vue button {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #E8C983;
  background: #fff;
  color: #7A4A00;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}

/* ── Sélecteur de semaine ───────────────────────────────────── */
.eh-sem {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.eh-sem-box {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  border: 1.5px solid var(--eh-line);
  border-radius: 11px;
  background: #fff;
  padding: 0 3px;
}

.eh-sem-fl {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  color: #324063;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.eh-sem-fl:hover {
  background: #F1F4F9;
}

.eh-sem-dd {
  position: relative;
}

.eh-sem-btn {
  height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.eh-sem-btn:hover {
  background: #F1F4F9;
}
.eh-sem-btn .eh-sem-dates {
  font-weight: 600;
  color: var(--eh-muted);
}
.eh-sem-btn i {
  font-size: 9px;
  color: #9AA3B8;
  transition: transform 0.25s var(--eh-ease);
}
.eh-sem-btn[aria-expanded=true] i {
  transform: rotate(180deg);
}

/* Les menus déroulants partent de leur déclencheur. */
.eh-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  min-width: 270px;
  background: #fff;
  border: 1px solid var(--eh-line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(20, 33, 71, 0.18);
  padding: 6px;
  transform-origin: top left;
  transition: opacity 0.22s var(--eh-ease), transform 0.22s var(--eh-ease);
  opacity: 0;
  transform: scale(0.96) translateY(-4px);
  pointer-events: none;
}
.eh-menu.is-ouvert {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.eh-menu-i {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--eh-navy);
}
.eh-menu-i:hover {
  background: #F1F4F9;
  color: var(--eh-navy);
}
.eh-menu-i.is-on {
  background: #F1F4F9;
}
.eh-menu-i .eh-menu-n {
  font-weight: 800;
  min-width: 34px;
}
.eh-menu-i .eh-menu-d {
  flex: 1;
  color: var(--eh-muted);
  font-weight: 600;
}
.eh-menu-i .eh-menu-t {
  font-size: 10.5px;
  font-weight: 800;
  color: #9AA3B8;
}
.eh-menu-i .eh-menu-t.is-cette {
  color: var(--eh-green-d);
}

/* ── Boutons ────────────────────────────────────────────────── */
.eh-btn {
  height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid #DEE3EC;
  background: #fff;
  color: var(--eh-navy);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}
.eh-btn:hover {
  background: #F4F6FA;
  color: var(--eh-navy);
}
.eh-btn:disabled, .eh-btn.is-off {
  opacity: 0.5;
  cursor: default;
}
.eh-btn > i {
  color: var(--eh-muted);
}

.eh-btn--navy {
  border: none;
  background: var(--eh-navy);
  color: #fff;
  padding: 0 16px;
}
.eh-btn--navy > i {
  color: var(--eh-green);
}
.eh-btn--navy:hover {
  background: var(--eh-navy-2);
  color: #fff;
}

.eh-btn--vert {
  border: none;
  background: var(--eh-green);
  color: #fff;
}
.eh-btn--vert > i {
  color: #fff;
}
.eh-btn--vert:hover {
  background: #5FB03F;
  color: #fff;
}

.eh-btn--rouge {
  border: none;
  background: var(--eh-red);
  color: #fff;
}
.eh-btn--rouge:hover {
  background: #9F2F2B;
  color: #fff;
}

.eh-btn--danger {
  color: var(--eh-red);
  border-color: #F2C8C5;
}
.eh-btn--danger > i {
  color: var(--eh-red);
}
.eh-btn--danger:hover {
  background: #FCF2F1;
  color: var(--eh-red);
}

.eh-btn--lg {
  height: 42px;
  padding: 0 17px;
  font-size: 13.5px;
}

.eh-btn--sm {
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 12.5px;
}

.eh-btn--bloc {
  flex: 1;
}

.eh-lien {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  color: #34508C;
  cursor: pointer;
}
.eh-lien:hover {
  color: var(--eh-navy);
}
.eh-lien i {
  font-size: 11px;
}

.eh-lien-souligne {
  border: none;
  background: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eh-faint);
  text-decoration: underline;
  cursor: pointer;
}
.eh-lien-souligne:hover {
  color: #5A6273;
}

.eh-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

.eh-tag--pmr {
  color: #27437E;
  background: #E3EAF6;
}

.eh-tag--diner {
  color: #A85D00;
  background: #FCEFDC;
}

.eh-tag--gris {
  color: #9AA3B8;
  background: #F1F4F9;
}

.eh-tag--vert {
  color: var(--eh-green-t);
  background: #E7F5E0;
}

.eh-tag--bleu {
  color: #34508C;
  background: #E3EAF6;
}

.eh-tag--ambre {
  color: #A85D00;
  background: #FCEFDC;
}

.eh-tag--rouge {
  color: var(--eh-red);
  background: #FBE4E3;
}

.eh-compte {
  font-size: 12px;
  font-weight: 800;
  color: #5A6273;
  background: var(--eh-bg);
  border-radius: 20px;
  padding: 1px 9px;
}

.eh-mono {
  font-family: var(--eh-mono);
}

/* ── Cartes et titres ───────────────────────────────────────── */
.eh-carte {
  background: #fff;
  border: 1px solid var(--eh-card-line);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.05);
  padding: 18px 20px;
  min-width: 0;
}

.eh-carte--nue {
  padding: 0;
  overflow: hidden;
}

.eh-carte-h {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.eh-h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--eh-navy);
  letter-spacing: -0.01em;
}

.eh-sous {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--eh-muted);
}

.eh-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-faint);
  line-height: 1.5;
}

.eh-page-h {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.eh-page-h > div:first-child {
  flex: 1;
  min-width: 260px;
}

.eh-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eh-green-d);
}

.eh-h1 {
  margin: 4px 0 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--eh-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.eh-intro {
  margin: 6px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
  max-width: 760px;
}
.eh-intro b {
  color: var(--eh-navy);
}

.eh-resume {
  font-size: 13px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 5px;
}

.eh-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.eh-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-muted);
  line-height: 1.5;
}
.eh-info i {
  color: #34508C;
  margin-top: 3px;
}

.eh-alerte {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
  padding: 12px 15px;
  background: #FFFBF4;
  border: 1px solid #F4E4C7;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #7A4A00;
}
.eh-alerte .eh-alerte-t {
  flex: 1;
  min-width: 0;
}
.eh-alerte .eh-alerte-s {
  font-size: 12px;
  font-weight: 600;
  color: #A87C3A;
}
.eh-alerte a, .eh-alerte button.eh-alerte-lien {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: #7A4A00;
  text-decoration: underline;
  cursor: pointer;
}

.eh-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

/* ── Tableau de bord : « Ce soir à l'hôtel » ────────────────── */
.eh-bonjour-d {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--eh-faint);
}

.eh-soir {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: radial-gradient(1100px 520px at 88% -30%, #2F4F94 0%, #1D2D5C 48%, #152347 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.35);
  padding: 24px 26px 22px;
}

.eh-soir-halo {
  position: absolute;
  right: -120px;
  top: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 192, 74, 0.22), rgba(108, 192, 74, 0) 65%);
  animation: eh-drift 22s ease-in-out infinite;
  pointer-events: none;
}

.eh-soir-grille {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.eh-soir-k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8FD97A;
}

.eh-soir-k::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eh-green);
  box-shadow: 0 0 10px var(--eh-green);
}

.eh-soir-n {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.eh-soir-nb {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.eh-soir-sur {
  font-size: 16px;
  font-weight: 700;
  color: #C7CEE3;
}

.eh-soir-sub {
  font-size: 13px;
  font-weight: 600;
  color: #9FB0D8;
  margin-top: 6px;
}

.eh-ch {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.eh-ch-c {
  aspect-ratio: 1.25;
  border-radius: 12px;
  border: 1.5px solid;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 9px;
  color: #fff;
  cursor: pointer;
  animation: eh-pop 0.45s var(--eh-ease) both;
}
.eh-ch-c:hover {
  transform: translateY(-2px);
}
.eh-ch-c.is-arrive {
  background: rgba(108, 192, 74, 0.16);
  border-color: rgba(108, 192, 74, 0.55);
}
.eh-ch-c.is-arrive:hover {
  background: rgba(108, 192, 74, 0.26);
}
.eh-ch-c.is-attendu {
  background: rgba(217, 164, 65, 0.14);
  border-color: rgba(217, 164, 65, 0.5);
}
.eh-ch-c.is-attendu:hover {
  background: rgba(217, 164, 65, 0.24);
}
.eh-ch-c.is-absent {
  background: rgba(224, 122, 117, 0.16);
  border-color: rgba(224, 122, 117, 0.5);
}
.eh-ch-c.is-absent:hover {
  background: rgba(224, 122, 117, 0.26);
}
.eh-ch-c.is-libre {
  background: rgba(255, 255, 255, 0.03);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.45);
  cursor: default;
}
.eh-ch-c.is-libre:hover {
  transform: none;
}

.eh-ch-num {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  font-variant-numeric: tabular-nums;
}
.is-libre .eh-ch-num {
  color: rgba(255, 255, 255, 0.3);
}

.eh-ch-ini {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.eh-ch-st {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.is-arrive .eh-ch-st {
  color: #8FD97A;
}
.is-attendu .eh-ch-st {
  color: #F3D48B;
}
.is-absent .eh-ch-st {
  color: #FFB4AE;
}
.is-libre .eh-ch-st {
  color: rgba(255, 255, 255, 0.4);
}

.eh-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.is-arrive .eh-dot {
  background: var(--eh-green);
}
.is-attendu .eh-dot {
  background: var(--eh-amber);
  animation: eh-glow 2.2s ease-out infinite;
}
.is-absent .eh-dot {
  background: #E07A75;
}

.eh-legende-soir {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #8E9AC2;
}
.eh-legende-soir i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.eh-legende-soir .eh-legende-aide {
  margin-left: auto;
}

.eh-verre {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 18px 12px;
  backdrop-filter: blur(8px);
}

.eh-frise-h {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.eh-frise-t {
  font-size: 13px;
  font-weight: 800;
}

.eh-frise-s {
  font-size: 12px;
  font-weight: 600;
  color: #9FB0D8;
}

.eh-horloge {
  margin-left: auto;
  font-family: var(--eh-mono);
  font-size: 12px;
  font-weight: 600;
  color: #8FD97A;
}
.eh-horloge i {
  margin-right: 6px;
}

.eh-frise {
  position: relative;
  margin-top: 10px;
  transition: height 0.3s var(--eh-ease);
}

.eh-frise-tick {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #6E7BA8;
  font-variant-numeric: tabular-nums;
}

.eh-frise-tick-l {
  position: absolute;
  bottom: 18px;
  width: 1px;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
}

.eh-frise-axe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 21px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
}

.eh-maintenant {
  position: absolute;
  bottom: 14px;
  top: 0;
  width: 2px;
  background: var(--eh-green);
  box-shadow: 0 0 12px var(--eh-green);
  transition: left 1s linear;
}

.eh-maintenant-l {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8FD97A;
  background: #152347;
  padding: 0 5px;
  transition: left 1s linear;
}

.eh-frise-m {
  position: absolute;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  animation: eh-pop 0.45s var(--eh-ease) both;
}
.eh-frise-m:hover {
  transform: translateX(-50%) scale(1.12);
}
.eh-frise-m:active {
  transform: translateX(-50%) scale(0.97);
}
.eh-frise-m.is-attendu {
  background: var(--eh-navy);
  border-color: var(--eh-amber);
}
.eh-frise-m.is-arrive {
  background: var(--eh-green-d);
  border-color: var(--eh-green);
}
.eh-frise-m.is-absent {
  background: var(--eh-red);
  border-color: #E07A75;
}

.eh-prochaine {
  background: #fff;
  color: var(--eh-navy);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.eh-prochaine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(108, 192, 74, 0.1), transparent);
  animation: eh-sweep 6s ease-in-out infinite;
  pointer-events: none;
}

.eh-prochaine-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eh-green-d);
}

.eh-prochaine-dans {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--eh-muted);
  white-space: nowrap;
}

.eh-prochaine-l {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.eh-prochaine-h {
  font-family: var(--eh-mono);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.eh-prochaine-nom {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.eh-prochaine-tr {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 2px;
}

.eh-prochaine-vide {
  font-size: 14px;
  font-weight: 700;
  color: #5A6273;
  line-height: 1.5;
}

.eh-soir-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.eh-soir-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 11px 12px;
  text-align: left;
  color: #fff;
  min-width: 0;
  display: block;
}
.eh-soir-kpi:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.eh-soir-kpi div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eh-soir-kpi .k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8E9AC2;
}
.eh-soir-kpi .v {
  font-size: 20px;
  font-weight: 800;
  margin-top: 4px;
  line-height: 1;
}
.eh-soir-kpi .s {
  font-size: 10.5px;
  font-weight: 600;
  color: #9FB0D8;
  margin-top: 3px;
}
.eh-soir-kpi .is-vert {
  color: #8FD97A;
}
.eh-soir-kpi .is-ambre {
  color: #F3D48B;
}

/* ── Tableau de bord : la semaine au comptoir ───────────────── */
.eh-jours {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.eh-jour {
  display: block;
  text-align: left;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  border-radius: 12px;
  padding: 10px 10px 11px;
  min-width: 0;
}
.eh-jour:hover {
  border-color: var(--eh-navy);
}
.eh-jour.is-we {
  background: #FAFBFD;
}
.eh-jour.is-today {
  border-color: var(--eh-navy);
  background: #F4F7FC;
}

.eh-jour-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}

.eh-jour-dow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--eh-faint);
}
.is-today .eh-jour-dow {
  color: var(--eh-green-d);
}

.eh-jour-date {
  font-size: 12px;
  font-weight: 800;
  color: #5A6273;
  font-variant-numeric: tabular-nums;
}
.is-today .eh-jour-date {
  color: var(--eh-navy);
}

.eh-jour-c {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.eh-jour-c span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--eh-navy);
  font-variant-numeric: tabular-nums;
}
.eh-jour-c i {
  font-size: 10.5px;
  width: 12px;
}
.is-passe .eh-jour-c span {
  color: var(--eh-muted);
}
.eh-jour-c span.is-zero {
  color: #C4CAD6;
}

.eh-legende {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eh-faint);
}
.eh-legende .eh-legende-aide {
  margin-left: auto;
}

.eh-chiffre-h {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.eh-chiffre-h i {
  color: var(--eh-green);
}

/* ── Tableau de bord : la courbe des huit semaines ──────────── */
.eh-courbe-cles {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eh-muted);
  margin-bottom: 6px;
}
.eh-courbe-cles span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.eh-courbe-cles .c-res {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--eh-navy);
}
.eh-courbe-cles .c-ten {
  width: 18px;
  height: 0;
  border-top: 2px dashed #9AA4BE;
}
.eh-courbe-cles .c-rend {
  width: 18px;
  height: 12px;
  border-radius: 3px;
  background: repeating-linear-gradient(135deg, #E7F5E0 0 3px, var(--eh-green) 3px 5px);
}

.eh-courbe {
  position: relative;
  touch-action: none;
  cursor: crosshair;
  padding-top: 62px;
}
.eh-courbe svg {
  display: block;
  max-width: 100%;
  overflow: visible;
}

.eh-courbe-y {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  width: 34px;
  text-align: right;
  font-size: 10px;
  font-weight: 700;
  color: var(--eh-faint);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.eh-courbe-x {
  position: relative;
  height: 22px;
  margin-top: 4px;
}

.eh-courbe-s {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 800;
  color: var(--eh-muted);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.eh-courbe-s.is-on {
  background: var(--eh-navy);
  color: #fff;
}
.eh-courbe-s.is-survol {
  background: var(--eh-green);
  color: #fff;
}

.eh-courbe-bulle {
  position: absolute;
  top: 0;
  pointer-events: none;
  opacity: 0;
  transition: left 0.18s var(--eh-ease), opacity 0.2s, transform 0.18s var(--eh-ease);
  background: var(--eh-navy);
  color: #fff;
  border-radius: 12px;
  padding: 9px 12px;
  box-shadow: 0 12px 30px rgba(20, 33, 71, 0.3);
  min-width: 190px;
}
.eh-courbe-bulle.is-on {
  opacity: 1;
}
.eh-courbe-bulle .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FD97A;
}
.eh-courbe-bulle .t {
  font-size: 14px;
  font-weight: 800;
  margin-top: 3px;
}
.eh-courbe-bulle .d {
  font-size: 11.5px;
  font-weight: 600;
  color: #C7CEE3;
  margin-top: 2px;
}

.eh-courbe-guide {
  transition: opacity 0.2s;
}

.eh-courbe-pt {
  transition: r 0.15s var(--eh-ease);
}

/* ── Tableau de bord : prévisionnel et contrat ──────────────── */
.eh-prev {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eh-prev-h {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.eh-prev-nom {
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-prev-d {
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
}

.eh-prev-ca {
  margin-left: auto;
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-green-t);
  font-variant-numeric: tabular-nums;
}

.eh-prev-b {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 7px;
  background: #F1F4F9;
}
.eh-prev-b span {
  background: var(--eh-navy);
  transition: width 0.5s var(--eh-ease);
}

.eh-prev-l {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-faint);
  margin-top: 5px;
}

.eh-tuiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.eh-tuile {
  border: 1px solid #EEF1F6;
  border-radius: 12px;
  padding: 12px 13px;
  min-width: 0;
}
.eh-tuile .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.eh-tuile .v {
  font-size: 20px;
  font-weight: 800;
  color: var(--eh-navy);
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.eh-tuile .u {
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
}

.eh-releve {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #F7F9FC;
  flex-wrap: wrap;
}

.eh-releve-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.eh-releve-t {
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-releve-d {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 2px;
}

.eh-alerte-douce {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FCEFDC;
  color: #8A5A12;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

/* ── Feuille d'arrivée ──────────────────────────────────────── */
.eh-pills {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.eh-pill {
  border: 1.5px solid var(--eh-line);
  background: #fff;
  border-radius: 12px;
  padding: 9px 10px;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.eh-pill:hover {
  border-color: var(--eh-navy);
}
.eh-pill.is-today {
  border-color: var(--eh-green);
}
.eh-pill.is-on {
  background: var(--eh-navy);
  border-color: var(--eh-navy);
}

.eh-pill-dow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.is-today .eh-pill-dow {
  color: var(--eh-green-d);
}
.is-on .eh-pill-dow {
  color: #C7CEE3;
}

.eh-pill-date {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.is-on .eh-pill-date {
  color: #fff;
}

.eh-pill-b {
  display: flex;
  align-items: center;
  gap: 5px;
}

.eh-pill-pt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--eh-amber);
}

.eh-pill-n {
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--eh-bg);
  color: var(--eh-navy);
  font-size: 11.5px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.is-on .eh-pill-n {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.eh-liste-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid #EEF1F6;
}
.eh-liste-h > i {
  color: var(--eh-green-d);
}
.eh-liste-h .eh-liste-aide {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eh-faint);
}

.eh-vide {
  margin: 0;
  padding: 22px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--eh-muted);
}

.eh-ligne {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-top: 1px solid #F0F2F6;
  flex-wrap: wrap;
  background: #fff;
  transition: background-color 0.12s ease-out;
}
.eh-ligne:hover {
  background: #F8FAFD;
}
.eh-ligne.is-attendu {
  background: #FFFDF8;
}
.eh-ligne.is-attendu:hover {
  background: #F8FAFD;
}

.eh-ligne-qui {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 300px;
  min-width: 0;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.eh-ligne-h {
  width: 58px;
  flex: none;
  font-family: var(--eh-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--eh-navy);
}

.eh-ligne-nom {
  display: block;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-ligne-sous {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 1px;
}
.eh-ligne-sous .eh-mono {
  font-size: 11px;
  color: var(--eh-faint);
}

.eh-ligne-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: none;
}

.eh-ligne-gestes {
  width: 280px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}
.eh-ligne-gestes form {
  margin: 0;
  display: contents;
}

/* Un constat se lit dans l'état de la ligne : les gestes ou le badge, jamais les deux. */
[data-eh-sejour] .eh-etat-fait, [data-eh-sejour] .eh-etat-absent {
  display: none;
}

[data-eh-sejour][data-etat=ARRIVE], [data-eh-sejour][data-etat=ABSENT], [data-eh-sejour][data-etat=PARTI] {
  background: #fff;
}
[data-eh-sejour][data-etat=ARRIVE] .eh-etat-attente, [data-eh-sejour][data-etat=ABSENT] .eh-etat-attente, [data-eh-sejour][data-etat=PARTI] .eh-etat-attente {
  display: none;
}
[data-eh-sejour][data-etat=ARRIVE] .eh-etat-fait, [data-eh-sejour][data-etat=ABSENT] .eh-etat-fait, [data-eh-sejour][data-etat=PARTI] .eh-etat-fait {
  display: flex;
}

[data-eh-sejour][data-etat=ABSENT] .eh-etat-absent {
  display: flex;
}

.eh-etat-fait {
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.eh-badge {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 20px;
  padding: 4px 11px;
  animation: eh-pop 0.25s var(--eh-ease) both;
}

[data-etat=ARRIVE] .eh-badge--ARRIVE {
  display: inline-flex;
  background: #E7F5E0;
  color: var(--eh-green-t);
}

[data-etat=ABSENT] .eh-badge--ABSENT {
  display: inline-flex;
  background: #FBE4E3;
  color: var(--eh-red);
}

[data-etat=PARTI] .eh-badge--PARTI {
  display: inline-flex;
  background: var(--eh-bg);
  color: #5A6273;
}

[data-etat=""] .eh-badge--ATTENDU {
  display: inline-flex;
  background: #F1F4F9;
  color: #5A6273;
}

.eh-precision {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.eh-precision-txt {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-muted);
}
.eh-precision-txt:empty {
  display: none;
}

.eh-precision-f {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: flex-end;
  animation: eh-rise 0.25s var(--eh-ease) both;
}
.eh-precision-f[hidden] {
  display: none;
}

.eh-precision-f input {
  height: 32px;
  padding: 0 9px;
  border: 1px solid #DEE3EC;
  border-radius: 8px;
  font-size: 12.5px;
  color: #324063;
  flex: 1 1 170px;
  min-width: 0;
  outline: none;
}
.eh-precision-f input:focus {
  border-color: var(--eh-navy);
}

.eh-precision-f button {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #DEE3EC;
  background: #fff;
  color: var(--eh-navy);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.eh-precision-ouvrir {
  border: none;
  background: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 700;
  color: #8E2F2B;
  cursor: pointer;
}

.eh-diners {
  display: flex;
  align-items: center;
  gap: 14px;
}

.eh-diners-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #FCEFDC;
  color: #A85D00;
  display: grid;
  place-items: center;
  flex: none;
}

.eh-diners-t {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-diners-s {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 2px;
}

/* ── Écran comptoir ─────────────────────────────────────────── */
.eh-kiosque {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: radial-gradient(1000px 600px at 85% -10%, #2F4F94, #1D2D5C 45%, #121E3D 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  will-change: transform, opacity;
  transform-origin: 85% 8%;
  transition: opacity 0.3s var(--eh-ease), transform 0.45s var(--eh-spring);
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}
.eh-kiosque.is-ouvert {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.eh-kiosque-h {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eh-kiosque-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--eh-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.eh-kiosque-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8FD97A;
}

.eh-kiosque-t {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.eh-kiosque-horloge {
  font-family: var(--eh-mono);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: right;
}

.eh-kiosque-r {
  font-size: 12px;
  font-weight: 700;
  color: #9FB0D8;
  margin-top: 2px;
  text-align: right;
}

.eh-kiosque-x {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}
.eh-kiosque-x:hover {
  background: rgba(255, 255, 255, 0.16);
}

.eh-kiosque-corps {
  flex: 1;
  overflow: auto;
  padding: 18px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eh-kiosque-g {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eh-kiosque-g::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.eh-kiosque-g span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 1px 9px;
}

.eh-kiosque-g--avenir {
  color: #8FD97A;
}

.eh-kiosque-g--retard {
  color: #F3D48B;
}

.eh-kiosque-g--faits {
  color: #8E9AC2;
}

.eh-kiosque-l {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.15s ease-out;
}
.eh-kiosque-l:hover {
  background: rgba(255, 255, 255, 0.06);
}
.eh-kiosque-l.is-retard {
  background: rgba(217, 164, 65, 0.1);
  border-color: rgba(217, 164, 65, 0.35);
}
.eh-kiosque-l[data-etat=ARRIVE], .eh-kiosque-l[data-etat=ABSENT] {
  opacity: 0.65;
  background: rgba(255, 255, 255, 0.02);
}
.eh-kiosque-l .eh-kiosque-lh {
  font-family: var(--eh-mono);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  min-width: 92px;
}
.eh-kiosque-l .eh-kiosque-ln {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.eh-kiosque-l .eh-kiosque-ls {
  font-size: 13.5px;
  font-weight: 600;
  color: #9FB0D8;
  margin-top: 2px;
}
.eh-kiosque-l .eh-tag--pmr {
  color: #fff;
  background: rgba(52, 80, 140, 0.8);
  font-size: 12.5px;
  padding: 5px 12px;
}
.eh-kiosque-l .eh-tag--diner {
  color: #fff;
  background: rgba(168, 93, 0, 0.75);
  font-size: 12.5px;
  padding: 5px 12px;
}
.eh-kiosque-l .eh-ligne-gestes {
  width: auto;
  min-width: 250px;
}
.eh-kiosque-l .eh-btn {
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 15px;
}
.eh-kiosque-l .eh-btn--absent {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #FFB4AE;
}
.eh-kiosque-l .eh-btn--absent:hover {
  background: rgba(217, 83, 79, 0.25);
  color: #FFB4AE;
}
.eh-kiosque-l .eh-badge {
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
}
.eh-kiosque-l[data-etat=ARRIVE] .eh-badge--ARRIVE {
  background: rgba(108, 192, 74, 0.2);
  color: #8FD97A;
}
.eh-kiosque-l[data-etat=ABSENT] .eh-badge--ABSENT {
  background: rgba(224, 122, 117, 0.2);
  color: #FFB4AE;
}
.eh-kiosque-l .eh-lien-souligne {
  color: #8E9AC2;
  font-size: 12px;
}
.eh-kiosque-l .eh-precision {
  display: none;
}

.eh-kiosque-pied {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 700;
  color: #C7CEE3;
  flex-wrap: wrap;
}
.eh-kiosque-pied .eh-kiosque-aide {
  margin-left: auto;
  font-size: 12px;
  color: #8E9AC2;
}

/* ── Mes semaines ───────────────────────────────────────────── */
.eh-bilan {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid var(--eh-line);
}
.eh-bilan.is-gain {
  background: #F5FAF2;
  border-color: #BFE3AC;
}
.eh-bilan .eh-bilan-t {
  font-size: 18px;
  font-weight: 800;
  color: var(--eh-navy);
  letter-spacing: -0.01em;
}
.eh-bilan .eh-bilan-d {
  font-size: 13px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 4px;
  line-height: 1.5;
}

.eh-bilan-tuile {
  background: #fff;
  border: 1px solid var(--eh-card-line);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 120px;
}
.eh-bilan-tuile .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.eh-bilan-tuile .v {
  font-size: 18px;
  font-weight: 800;
  color: var(--eh-navy);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.eh-bilan-tuile .v.is-vert {
  color: var(--eh-green-t);
}

.eh-cles {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eh-muted);
}
.eh-cles span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.eh-cles i {
  width: 14px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.eh-cles .k-res {
  background: var(--eh-navy);
}
.eh-cles .k-lib {
  background: repeating-linear-gradient(135deg, #E7F5E0 0 3px, #fff 3px 6px);
  border: 1.5px solid var(--eh-green);
}
.eh-cles .k-rd {
  background: var(--eh-line);
}

.eh-sems {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eh-semc {
  background: #fff;
  border: 1.5px solid var(--eh-line);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.05);
  overflow: hidden;
  transition: border-color 0.3s var(--eh-ease);
}
.eh-semc.is-rendre {
  border-color: #BFE3AC;
}

.eh-semc-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 250px;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
}

.eh-semc-num {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eh-semc-num span:first-child {
  font-size: 20px;
  font-weight: 800;
  color: var(--eh-navy);
  letter-spacing: -0.02em;
}

.eh-semc-cours {
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: #E7F5E0;
  color: var(--eh-green-t);
}

.eh-semc-dates {
  font-size: 12px;
  font-weight: 700;
  color: var(--eh-muted);
  margin-top: 2px;
  white-space: nowrap;
}

.eh-nuits {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.eh-nuit {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.eh-nuit form {
  margin: 0;
  display: contents;
}

.eh-nuit-j {
  height: 30px;
  border-radius: 7px;
  display: flex;
  overflow: hidden;
  background: #F1F4F9;
  border: 1px solid var(--eh-line);
}
.eh-nuit-j.is-vide {
  background: #F7F9FC;
  border-color: #EEF1F6;
}
.eh-nuit-j.is-rendable {
  background: repeating-linear-gradient(135deg, #E7F5E0 0 4px, #fff 4px 8px);
  border-color: #BFE3AC;
}
.eh-nuit-j .r {
  background: var(--eh-navy);
  transition: width 0.45s var(--eh-ease);
}
.eh-nuit-j .d {
  background: var(--eh-line);
  transition: width 0.45s var(--eh-ease);
}

.eh-nuit-l {
  font-size: 11px;
  font-weight: 700;
  color: var(--eh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eh-nuit-l b {
  color: var(--eh-navy);
}

.eh-nuit-b {
  height: 26px;
  border-radius: 7px;
  border: 1px solid #BFE3AC;
  background: #F5FAF2;
  color: var(--eh-green-t);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  padding: 0 6px;
}
.eh-nuit-b i {
  font-size: 9px;
}
.eh-nuit-b:hover {
  background: #E7F5E0;
}

.eh-nuit-rd {
  height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--eh-muted);
  white-space: nowrap;
}
.eh-nuit-rd i {
  font-size: 9px;
  color: var(--eh-green-d);
}

.eh-semc-droite {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}

.eh-rendre {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.eh-rendre form {
  margin: 0;
  display: contents;
}

.eh-rendre-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.eh-rendre-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eh-muted);
}

.eh-rendre-v {
  font-size: 20px;
  font-weight: 800;
  color: var(--eh-navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.eh-rendre-v small {
  font-size: 12px;
  color: var(--eh-muted);
  font-weight: 700;
}

.eh-rendre-g {
  font-size: 11.5px;
  font-weight: 700;
  color: #4F7B3E;
  text-align: center;
}

.eh-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  border: none;
  background: linear-gradient(90deg, var(--eh-green) var(--pct, 100%), var(--eh-line) var(--pct, 100%));
}
.eh-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--eh-navy);
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(20, 33, 71, 0.35);
  transition: transform 0.1s ease-out;
}
.eh-range:active::-webkit-slider-thumb {
  transform: scale(1.15);
}
.eh-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--eh-navy);
  border: 3px solid #fff;
}
.eh-range:focus-visible {
  outline: 2px solid #C9D6EC;
  outline-offset: 4px;
}

.eh-etat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #5A6273;
}
.eh-etat i {
  font-size: 11px;
}

.eh-etat--partiel, .eh-etat--ok {
  background: #F5FAF2;
  color: var(--eh-green-t);
}

.eh-etat--ok {
  background: #E7F5E0;
}

.eh-etat--courante {
  background: #E3EAF6;
  color: #34508C;
}

.eh-etat--lock, .eh-etat--passee {
  color: var(--eh-muted);
}

.eh-semc-coh {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 18px;
  border-top: 1px solid #F1F4F9;
  background: #FAFBFD;
}
.eh-semc-coh span {
  font-size: 11.5px;
  font-weight: 700;
  color: #5A6273;
  background: #fff;
  border: 1px solid var(--eh-card-line);
  border-radius: 999px;
  padding: 3px 10px;
}

.eh-ferm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #EEF1F6;
  border-radius: 12px;
  flex-wrap: wrap;
}

.eh-ferm-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #F1F4F9;
  color: #5A6273;
  display: grid;
  place-items: center;
  flex: none;
}

.eh-ferm-t {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.eh-ferm-t b {
  font-size: 13.5px;
  color: var(--eh-navy);
}

.eh-ferm-m {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 3px;
}

.eh-ferm-r {
  font-size: 12px;
  font-weight: 600;
  color: #34508C;
  margin-top: 5px;
}
.eh-ferm-r i {
  font-size: 10px;
}

/* ── Rooming list ───────────────────────────────────────────── */
.eh-annules {
  padding: 12px 15px;
  background: #FCF2F1;
  border: 1px solid #F2C8C5;
  border-radius: 12px;
}

.eh-annules-t {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: #9F2F2B;
}

.eh-annules-l {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}
.eh-annules-l div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  flex-wrap: wrap;
}
.eh-annules-l b {
  color: var(--eh-navy);
  text-decoration: line-through;
  text-decoration-color: var(--eh-red);
}
.eh-annules-l .le {
  color: var(--eh-red);
  font-weight: 700;
}

.eh-annules-p {
  font-size: 12px;
  font-weight: 600;
  color: #8E2F2B;
  margin-top: 8px;
}

.eh-table-w {
  overflow-x: auto;
}

.eh-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.eh-table th {
  text-align: left;
  padding: 11px 14px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A92A3;
  background: #FAFBFD;
}
.eh-table th:first-child {
  padding-left: 16px;
}
.eh-table th.c {
  text-align: center;
}
.eh-table td {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #324063;
  border-top: 1px solid #F1F4F9;
}
.eh-table td:first-child {
  padding-left: 16px;
}
.eh-table td.c {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
  font-variant-numeric: tabular-nums;
}
.eh-table td.f {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  white-space: nowrap;
}
.eh-table tbody tr {
  cursor: pointer;
  transition: background-color 0.12s ease-out;
}
.eh-table tbody tr:hover {
  background: #F8FAFD;
}
.eh-table tbody tr.is-ajout {
  background: #FFFBF4;
}

.eh-table-nom {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.eh-table-nom span {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-table-ref {
  font-family: var(--eh-mono);
  font-size: 11px;
  color: var(--eh-faint);
  margin-top: 1px;
  font-weight: 400;
}

/* ── On request ─────────────────────────────────────────────── */
.eh-or-h {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eh-or-h::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--eh-green);
}
.eh-or-h.is-passe::before {
  background: #C4CAD6;
}

.eh-or {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  animation: eh-pop 0.3s var(--eh-ease) both;
}

.eh-or-ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}

.eh-or-corps {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eh-or-nom {
  font-size: 16px;
  font-weight: 800;
  color: var(--eh-navy);
}
.eh-or-nom span {
  font-weight: 600;
  color: var(--eh-muted);
  font-size: 13px;
}

.eh-or-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 7px;
}

.eh-or-periodes {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.eh-or-periodes > i {
  color: #9AA3B8;
}

.eh-periode {
  border: 1.5px dashed #D5DBE6;
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 200px;
}
.eh-periode .k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eh-muted);
}
.eh-periode .d {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  font-size: 14px;
  font-weight: 800;
  color: #9AA3B8;
}
.eh-periode .d .fl {
  color: #C4CAD6;
}
.eh-periode .d .is-change {
  color: var(--eh-red);
  text-decoration: line-through;
}
.eh-periode .n {
  font-size: 11.5px;
  font-weight: 700;
  color: #9AA3B8;
  margin-top: 3px;
}
.eh-periode .n b {
  color: var(--eh-green-t);
}
.eh-periode.is-apres {
  border-style: solid;
  border-color: var(--eh-navy);
  background: #F4F7FC;
}
.eh-periode.is-apres .k {
  color: #34508C;
}
.eh-periode.is-apres .d {
  color: var(--eh-navy);
}
.eh-periode.is-apres .d .is-meme {
  color: #9AA3B8;
}
.eh-periode.is-apres .n {
  color: #5A6273;
}

.eh-or-quoi {
  font-size: 12.5px;
  font-weight: 700;
  color: #34508C;
}
.eh-or-quoi i {
  margin-right: 6px;
}

.eh-or-motif {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  font-style: italic;
}
.eh-or-motif i {
  color: #C4CAD6;
  margin-right: 6px;
}

.eh-or-gestes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
}
.eh-or-gestes form {
  margin: 0;
  display: contents;
}

.eh-hist {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid #F1F4F9;
  flex-wrap: wrap;
}
.eh-hist:first-child {
  border-top: 0;
}
.eh-hist .nom {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--eh-navy);
}
.eh-hist .dates {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}
.eh-hist .mot {
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  font-style: italic;
}
.eh-hist .le {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-faint);
}
.eh-hist .eh-tag {
  min-width: 92px;
  justify-content: center;
}

.eh-vide-carte {
  display: flex;
  align-items: center;
  gap: 16px;
}

.eh-vide-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #E7F5E0;
  color: var(--eh-green-d);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: none;
}

.eh-vide-t {
  font-size: 15px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-vide-d {
  font-size: 13px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 3px;
}

/* ── Contrat et factures ────────────────────────────────────── */
.eh-ctr-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
  background: linear-gradient(120deg, #1D2D5C 0%, #24397A 60%, #2C4A8C 100%);
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 18px 44px rgba(29, 45, 92, 0.22);
  padding: 22px 26px;
}

.eh-ctr-mois {
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: eh-pop 0.3s var(--eh-ease) both;
}
.eh-ctr-mois.is-on {
  display: flex;
}

.eh-ctr-detail {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 6px 14px;
}
.eh-ctr-detail.is-on {
  display: block;
  animation: eh-pop 0.3s var(--eh-ease) both;
}

.eh-ctr-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FD97A;
}

.eh-ctr-total {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.eh-ctr-dont {
  font-size: 13px;
  font-weight: 600;
  color: #C7CEE3;
}

.eh-ctr-res {
  font-size: 12.5px;
  font-weight: 700;
  color: #9FB0D8;
}

.eh-ctr-dl {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.eh-ctr-dl form {
  margin: 0;
}
.eh-ctr-dl .eh-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 12.5px;
}
.eh-ctr-dl .eh-btn--verre {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.eh-ctr-dl .eh-btn--verre > i {
  color: #fff;
}
.eh-ctr-dl .eh-btn--verre:hover {
  background: rgba(255, 255, 255, 0.18);
}

.eh-ctr-l {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: #C7CEE3;
}
.eh-ctr-l:first-child {
  border-top: 0;
}
.eh-ctr-l b {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.eh-ctr-l.is-fort {
  font-weight: 800;
  color: #fff;
}

.eh-ctr-grille {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.eh-mois-b {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border: none;
  border-top: 1px solid #F1F4F9;
  background: #fff;
  box-shadow: inset 3px 0 0 transparent;
  cursor: pointer;
  text-align: left;
  flex-wrap: wrap;
}
.eh-mois-b:hover {
  background: #F8FAFD;
}
.eh-mois-b.is-on {
  background: #F4F7FC;
  box-shadow: inset 3px 0 0 var(--eh-green);
}
.eh-mois-b .n {
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
  min-width: 130px;
}
.eh-mois-b .d {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-muted);
}
.eh-mois-b .t {
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.eh-termes {
  margin-top: 12px;
  border: 1px solid #EEF1F6;
  border-radius: 12px;
  overflow: hidden;
}
.eh-termes div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid #F1F4F9;
  font-size: 13px;
}
.eh-termes div:first-child {
  border-top: 0;
}
.eh-termes span {
  font-weight: 700;
  color: var(--eh-muted);
}
.eh-termes b {
  color: var(--eh-navy);
  text-align: right;
}

.eh-termes--court div {
  padding: 8px 12px;
  font-size: 12.5px;
}

.eh-k-petit {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eh-muted);
}

.eh-annul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.eh-annul div {
  display: flex;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.5;
}
.eh-annul i {
  color: var(--eh-green-d);
  margin-top: 3px;
  font-size: 11px;
}

.eh-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.eh-chip {
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  color: #5A6273;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.eh-chip:hover {
  border-color: var(--eh-navy);
  color: var(--eh-navy);
}
.eh-chip.is-on, input:checked + .eh-chip {
  border-color: var(--eh-navy);
  background: var(--eh-navy);
  color: #fff;
}

.eh-chip-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.eh-demande {
  padding: 11px 13px;
  border: 1px solid #EEF1F6;
  border-radius: 12px;
}
.eh-demande .h {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.eh-demande .le {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-faint);
}
.eh-demande .st {
  margin-left: auto;
}
.eh-demande .m {
  font-size: 12.5px;
  font-weight: 600;
  color: #324063;
  margin-top: 6px;
  line-height: 1.5;
  white-space: pre-line;
}
.eh-demande .r {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-green-t);
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #F5FAF2;
  line-height: 1.5;
}
.eh-demande .r i {
  font-size: 10px;
  margin-right: 6px;
}

/* ── Champs ─────────────────────────────────────────────────── */
.eh-champ {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.eh-champ.is-plein {
  grid-column: 1/-1;
}

.eh-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eh-muted);
}
.eh-label span {
  text-transform: none;
  letter-spacing: 0;
  color: #B4BCCB;
}

.eh-input {
  height: 40px;
  border: 1.5px solid var(--eh-line);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--eh-navy);
  outline: none;
  background: #fff;
  width: 100%;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.eh-input:focus {
  border-color: var(--eh-navy);
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.1);
}
.eh-input.is-erreur {
  border-color: #E6A6A2;
  background: #FEFAFA;
}

textarea.eh-input {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

.eh-input--num {
  width: 120px;
  font-variant-numeric: tabular-nums;
}

.eh-suffixe {
  display: flex;
  align-items: center;
  gap: 8px;
}
.eh-suffixe span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--eh-muted);
}

.eh-aide {
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
}

.eh-err {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eh-red);
}

.eh-grille-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

/* Liste déroulante maison : le bouton porte la valeur, le menu part du bouton. */
.eh-select {
  position: relative;
}

.eh-select-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  cursor: pointer;
}
.eh-select-b i {
  font-size: 9px;
  color: #9AA3B8;
  transition: transform 0.25s var(--eh-ease);
}
.eh-select-b[aria-expanded=true] {
  border-color: var(--eh-navy);
}
.eh-select-b[aria-expanded=true] i {
  transform: rotate(180deg);
}

.eh-select .eh-menu {
  right: 0;
  min-width: 0;
  top: calc(100% + 6px);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
}

.eh-select-o {
  width: 100%;
  padding: 9px 11px;
  border: none;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--eh-navy);
  cursor: pointer;
}
.eh-select-o:hover, .eh-select-o.is-on {
  background: #F1F4F9;
}
.eh-select-o small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 1px;
}

/* Interrupteur : une case à cocher habillée — son état suit la case, pas une classe. */
.eh-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  cursor: pointer;
  position: relative;
}

.eh-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.eh-switch-p {
  width: 46px;
  height: 28px;
  border-radius: 14px;
  background: #D5DBE6;
  position: relative;
  flex: none;
  transition: background-color 0.25s var(--eh-ease);
}

.eh-switch-p::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--eh-spring);
}

.eh-switch input:checked + .eh-switch-p {
  background: var(--eh-green);
}

.eh-switch input:checked + .eh-switch-p::after {
  transform: translateX(18px);
}

.eh-switch input:focus-visible + .eh-switch-p {
  outline: 2px solid #C9D6EC;
  outline-offset: 2px;
}

.eh-switch input:disabled + .eh-switch-p {
  opacity: 0.5;
}

.eh-switch-t {
  font-size: 13px;
  font-weight: 700;
  color: #9AA3B8;
}

.eh-switch input:checked ~ .eh-switch-t {
  color: var(--eh-green-t);
}

.eh-switch-t .oui {
  display: none;
}

.eh-switch input:checked ~ .eh-switch-t .oui {
  display: inline;
}

.eh-switch input:checked ~ .eh-switch-t .non {
  display: none;
}

/* Étoiles : des radios, de 5 à 1 dans le code, affichées à l'endroit. */
.eh-etoiles {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  height: 40px;
  align-items: center;
}

.eh-etoiles input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.eh-etoile {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #D5DBE6;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.15s ease-out, transform 0.1s ease-out;
}
.eh-etoile:hover {
  transform: scale(1.1);
}

.eh-etoiles input:checked ~ .eh-etoile {
  color: #E0A93B;
}

.eh-etoiles input:focus-visible + .eh-etoile {
  outline: 2px solid #C9D6EC;
  border-radius: 6px;
}

/* ── Mon établissement ──────────────────────────────────────── */
.eh-etab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.eh-etab-secs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eh-sec {
  background: #fff;
  border: 1px solid var(--eh-card-line);
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.05);
}

.eh-sec-h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #F1F4F9;
}

.eh-sec-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E3EAF6;
  color: var(--eh-navy);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}

.eh-sec-s {
  font-size: 12px;
  font-weight: 600;
  color: #9AA3B8;
  margin-top: 1px;
}

.eh-sec-c {
  padding: 16px 18px 18px;
}

.eh-etab-rail {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eh-anneau-w {
  display: flex;
  align-items: center;
  gap: 16px;
}

.eh-anneau {
  position: relative;
  width: 72px;
  height: 72px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--eh-green) var(--deg, 0%), #EDF0F5 0);
  transition: background 0.5s var(--eh-ease);
}
.eh-anneau span {
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-apercu {
  border: 1.5px solid var(--eh-line);
  border-radius: 14px;
  overflow: hidden;
}

.eh-apercu-ph {
  height: 90px;
  background: linear-gradient(135deg, #1D2D5C, #2C4A8C);
  position: relative;
}
.eh-apercu-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eh-apercu-c {
  padding: 12px 14px;
}

.eh-apercu-n {
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
}
.eh-apercu-n .et {
  color: #E0A93B;
  font-size: 11px;
  letter-spacing: 1px;
}

.eh-apercu-v {
  font-size: 12px;
  font-weight: 600;
  color: #9AA3B8;
}

.eh-apercu-l {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
  font-size: 12px;
  font-weight: 700;
  color: #324063;
}
.eh-apercu-l i {
  color: var(--eh-green-d);
  width: 16px;
}

.eh-barre {
  position: fixed;
  left: calc(50% + 130px);
  bottom: 24px;
  z-index: 150;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--eh-spring), opacity 0.25s var(--eh-ease);
  background: var(--eh-navy);
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.35);
  padding: 10px 10px 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.eh-barre.is-ouvert {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.eh-barre span {
  font-size: 13px;
  font-weight: 700;
}
.eh-barre .eh-barre-a {
  height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #C7CEE3;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.eh-barre .eh-barre-a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.eh-barre .eh-btn--vert {
  height: 36px;
  border-radius: 9px;
  font-size: 12.5px;
}

/* ── Mon équipe ─────────────────────────────────────────────── */
.eh-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.eh-kpi {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.eh-kpi-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}

.eh-kpi-v {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--eh-navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.eh-kpi-l {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--eh-muted);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-eq-g {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr) 90px 140px 28px;
  gap: 12px;
  align-items: center;
}

.eh-eq-th {
  padding: 10px 18px;
  background: #FAFBFD;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A92A3;
}

.eh-eq-l {
  width: 100%;
  padding: 12px 18px;
  border: none;
  border-top: 1px solid #F1F4F9;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.eh-eq-l:hover {
  background: #F8FAFD;
}
.eh-eq-l.is-inactif {
  opacity: 0.55;
}

.eh-eq-qui {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.eh-eq-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 800;
  flex: none;
}

.eh-av-0 {
  background: #E3EAF6;
  color: #34508C;
}

.eh-av-1 {
  background: #E7F5E0;
  color: var(--eh-green-t);
}

.eh-av-2 {
  background: #FCEFDC;
  color: #A85D00;
}

.eh-av-3 {
  background: #F1F4F9;
  color: #5A6273;
}

.eh-eq-nom {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eh-eq-nom small {
  font-size: 11px;
  font-weight: 700;
  color: #9AA3B8;
}

.eh-eq-mail {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-eq-role {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-eq-copies {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.eh-eq-copies .eh-tag {
  font-size: 10.5px;
  padding: 3px 8px;
}

.eh-eq-pages {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}

.eh-statut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
}
.eh-statut::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.eh-statut--ACTIF {
  color: var(--eh-green-t);
}
.eh-statut--ACTIF::before {
  background: var(--eh-green);
}

.eh-statut--INVITE {
  color: #A85D00;
}
.eh-statut--INVITE::before {
  background: var(--eh-amber);
}

.eh-statut--INACTIF {
  color: #9AA3B8;
}
.eh-statut--INACTIF::before {
  background: #C4CAD6;
}

.eh-liste-reglages {
  border: 1.5px solid var(--eh-line);
  border-radius: 14px;
  overflow: hidden;
}

.eh-reglage {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-top: 1px solid #F1F4F9;
}
.eh-reglage:first-child {
  border-top: 0;
}
.eh-reglage.is-verrou {
  opacity: 0.75;
}

.eh-reglage-ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #F1F4F9;
  color: var(--eh-navy);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}

.eh-reglage-t {
  flex: 1;
  min-width: 0;
}
.eh-reglage-t span {
  display: block;
}
.eh-reglage-t .l {
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.eh-reglage-t .d {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 1px;
}

.eh-reglage .eh-switch {
  height: auto;
}

.eh-verrou {
  font-size: 11px;
  font-weight: 700;
  color: #9AA3B8;
  white-space: nowrap;
}
.eh-verrou i {
  font-size: 10px;
  margin-right: 5px;
}

.eh-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.eh-role {
  position: relative;
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s var(--eh-ease), background-color 0.2s var(--eh-ease);
}
.eh-role input {
  position: absolute;
  opacity: 0;
}
.eh-role:has(input:checked) {
  border-color: var(--eh-navy);
  background: #F4F7FC;
}
.eh-role:has(input:focus-visible) {
  outline: 2px solid #C9D6EC;
}

.eh-role-t {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.eh-role-t::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #C4CAD6;
  background: #fff;
  flex: none;
  box-shadow: inset 0 0 0 3px #fff;
}
.eh-role:has(input:checked) .eh-role-t::before {
  border-color: var(--eh-navy);
  background: var(--eh-navy);
}

.eh-role-d {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.eh-encadre {
  padding: 12px 14px;
  border-radius: 12px;
  background: #F7F9FC;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
}
.eh-encadre b {
  color: var(--eh-navy);
}

.eh-encadre-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eh-muted);
}

.eh-encadre-v {
  font-size: 13px;
  font-weight: 700;
  color: var(--eh-navy);
  margin-top: 4px;
  line-height: 1.5;
}

/* ── Bulle « choses à faire » ───────────────────────────────── */
.eh-voile {
  position: fixed;
  inset: 0;
  background: rgba(20, 33, 71, 0.42);
  transition: opacity 0.3s var(--eh-ease);
  opacity: 0;
  pointer-events: none;
}
.eh-voile.is-ouvert {
  opacity: 1;
  pointer-events: auto;
}

.eh-voile--todo {
  z-index: 180;
}

.eh-voile--panneau {
  z-index: 200;
}

.eh-todo-w {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

.eh-todo {
  width: 780px;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(20, 33, 71, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform-origin: 85% 110%;
  transform: scale(0.94) translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--eh-spring), opacity 0.25s var(--eh-ease);
}
.eh-todo.is-ouvert {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.eh-todo-h {
  padding: 18px 24px;
  background: linear-gradient(135deg, #3E8A28, #6CC04A);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eh-todo-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}

.eh-todo-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E3F5DA;
}

.eh-todo-t {
  font-size: 18px;
  font-weight: 800;
  margin-top: 2px;
}

.eh-x {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.eh-x:hover {
  background: rgba(255, 255, 255, 0.32);
}

.eh-todo-c {
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.eh-todo-a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid #F0F2F6;
  flex-wrap: wrap;
}
.eh-todo-a:first-child {
  border-top: 0;
}

.eh-todo-aic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: none;
}

.eh-ton-gain {
  background: #E7F5E0;
  color: var(--eh-green-d);
}

.eh-ton-info {
  background: #E3EAF6;
  color: #34508C;
}

.eh-ton-attention {
  background: #FCEFDC;
  color: #A85D00;
}

.eh-todo-tx {
  flex: 1 1 320px;
  min-width: 0;
}
.eh-todo-tx .t {
  font-size: 15px;
  font-weight: 800;
  color: var(--eh-navy);
  line-height: 1.35;
}
.eh-todo-tx .d {
  font-size: 13px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 3px;
  line-height: 1.5;
}
.eh-todo-tx .m {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eh-faint);
  margin-top: 4px;
}

.eh-todo-g {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.eh-todo-g form {
  margin: 0;
  display: contents;
}

.eh-todo-p {
  padding: 12px 24px;
  border-top: 1px solid #EEF1F6;
  background: #FAFBFD;
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
}

.eh-bulle {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 195;
  height: 56px;
  padding: 0 20px 0 8px;
  border-radius: 999px;
  border: none;
  background: var(--eh-navy);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(79, 162, 53, 0.3);
  transition: background-color 0.3s var(--eh-ease), color 0.3s var(--eh-ease), transform 0.1s ease-out;
}
.eh-bulle:hover {
  transform: translateY(-2px);
}
.eh-bulle:active {
  transform: scale(0.97);
}
.eh-bulle.is-actions {
  background: var(--eh-green-d);
  animation: eh-ring 2.2s ease-out infinite;
}
.eh-bulle.is-ouvert {
  background: #fff;
  color: var(--eh-navy);
  animation: none;
}
.eh-bulle .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}
.eh-bulle.is-ouvert .ic {
  background: #F1F4F9;
}
.eh-bulle .l {
  font-size: 13.5px;
  font-weight: 800;
}

/* ── Panneau latéral ────────────────────────────────────────── */
.eh-panneau {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 460px;
  max-width: 100vw;
  z-index: 210;
  background: #fff;
  box-shadow: -24px 0 60px rgba(20, 33, 71, 0.25);
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.45s var(--eh-spring);
}
.eh-panneau.is-ouvert {
  transform: none;
  pointer-events: auto;
}

.eh-panneau-h {
  padding: 18px 22px;
  background: var(--eh-navy);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}

.eh-panneau-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.eh-panneau-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8E9AC2;
}

.eh-panneau-t {
  font-size: 17px;
  font-weight: 800;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eh-panneau .eh-x {
  background: rgba(255, 255, 255, 0.12);
}
.eh-panneau .eh-x:hover {
  background: rgba(255, 255, 255, 0.22);
}

.eh-panneau-c {
  flex: 1;
  overflow: auto;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.eh-panneau-c > form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  margin: 0;
}

.eh-panneau-pied {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.eh-panneau-pied form {
  margin: 0;
  display: contents;
}

.eh-panneau-txt {
  font-size: 13.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
}
.eh-panneau-txt b {
  color: var(--eh-navy);
}

.eh-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.eh-case {
  border: 1.5px solid var(--eh-line);
  border-radius: 12px;
  padding: 11px 12px;
}
.eh-case .v {
  font-size: 15px;
  font-weight: 800;
  color: var(--eh-navy);
  margin-top: 3px;
}
.eh-case .v.is-pmr {
  color: #27437E;
}
.eh-case .s {
  font-size: 12px;
  font-weight: 700;
  color: var(--eh-muted);
}

.eh-alerte-p {
  display: flex;
  gap: 10px;
  padding: 11px 13px;
  background: #FFFBF4;
  border: 1px solid #F4E4C7;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #7A4A00;
  line-height: 1.5;
}
.eh-alerte-p i {
  margin-top: 2px;
}
.eh-alerte-p[hidden] {
  display: none;
}

/* ── Message (toast) ────────────────────────────────────────── */
.eh-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--eh-spring), opacity 0.25s var(--eh-ease);
  background: var(--eh-navy);
  color: #fff;
  padding: 12px 14px 12px 18px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(92vw, 640px);
  font-family: "Montserrat", system-ui, sans-serif;
}
.eh-toast.is-ouvert {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.eh-toast > i {
  color: var(--eh-green);
  flex: none;
}
.eh-toast.is-erreur > i {
  color: #FFB4AE;
}
.eh-toast .eh-toast-m {
  line-height: 1.4;
}
.eh-toast .eh-toast-u {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.eh-toast .eh-toast-u:hover {
  background: rgba(255, 255, 255, 0.2);
}
.eh-toast .eh-toast-u[hidden] {
  display: none;
}

/* ── Démonstration ──────────────────────────────────────────── */
.eh-demo {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #FFF6E3;
  border: 1px solid #E8C983;
  border-radius: 13px;
  padding: 14px 17px;
}

.eh-demo-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #E0A93B;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}

.eh-demo-t {
  font-size: 14.5px;
  font-weight: 800;
  color: #7A4A00;
}

.eh-demo-d {
  font-size: 12.5px;
  font-weight: 600;
  color: #8A6220;
  line-height: 1.5;
  margin-top: 2px;
}

/* ── Adaptations ────────────────────────────────────────────── */
@media (max-width: 1250px) {
  .eh-semc-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .eh-semc-row > :nth-child(2) {
    grid-column: 1/-1;
    grid-row: 2;
  }
}
@media (max-width: 1100px) {
  .eh-duo, .eh-etab, .eh-ctr-grille, .eh-ctr-hero, .eh-soir-grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .eh-etab-rail {
    position: static;
  }
}
@media (max-width: 1000px) {
  .eh-pills {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .eh-eq-g {
    grid-template-columns: minmax(200px, 1fr) minmax(0, 1fr) 120px 28px;
  }
  .eh-eq-g > :nth-child(3), .eh-eq-g > :nth-child(4) {
    display: none;
  }
}
@media (max-width: 900px) {
  .eh {
    grid-template-columns: minmax(0, 1fr);
  }
  .eh-side {
    display: none;
  }
  .eh-barre {
    left: 50%;
  }
  .eh-jours {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .eh-ch {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .eh-grille-2, .eh-cases, .eh-roles {
    grid-template-columns: minmax(0, 1fr);
  }
  .eh-tuiles, .eh-soir-kpis {
    grid-template-columns: minmax(0, 1fr);
  }
  .eh-content {
    padding: 18px 16px 90px;
  }
  .eh-head {
    padding: 12px 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eh, .eh *, .eh *::before, .eh *::after, .eh-panneau, .eh-panneau *, .eh-panneau *::before, .eh-panneau *::after, .eh-toast, .eh-toast *, .eh-toast *::before, .eh-toast *::after, .eh-todo, .eh-todo *, .eh-todo *::before, .eh-todo *::after, .eh-todo-w, .eh-todo-w *, .eh-todo-w *::before, .eh-todo-w *::after, .eh-bulle, .eh-bulle *, .eh-bulle *::before, .eh-bulle *::after, .eh-kiosque, .eh-kiosque *, .eh-kiosque *::before, .eh-kiosque *::after, .eh-barre, .eh-barre *, .eh-barre *::before, .eh-barre *::after, .eh-voile, .eh-voile *, .eh-voile *::before, .eh-voile *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .eh-head {
    background: var(--eh-bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .eh-verre {
    backdrop-filter: none;
    background: #24366B;
  }
}
@media print {
  .eh {
    display: block;
    background: #fff;
  }
  .eh-side, .eh-head, .eh-noprint, .eh-bulle, .eh-toast, .eh-panneau, .eh-voile, .eh-todo-w, .eh-kiosque, .eh-barre, .eh-vue {
    display: none !important;
  }
  .eh-carte, .eh-soir {
    box-shadow: none;
  }
}
/* Après un geste, les zones rechargées n'entrent pas en scène une seconde fois. */
.eh-sans-entree.eh-anim-rise, .eh-sans-entree .eh-anim-rise, .eh-sans-entree [data-eh-glisse], .eh-sans-entree .eh-ch-c, .eh-sans-entree .eh-frise-m, .eh-sans-entree .eh-or {
  animation: none;
}

.eh-kiosque-g[hidden], .eh-precision-ouvrir[hidden] {
  display: none;
}

.eh-courbe:focus-visible {
  outline: 2px solid #C9D6EC;
  outline-offset: 4px;
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   ESPACE TAXI — /societe-taxi/*
   Le cadre est celui de l'espace hôtelier (.eh : barre, en-tête, panneau, message) ; cette
   feuille n'ajoute que ce qui est propre au taxi, sous .tx : la bulle des demandes de course,
   les lignes de course, les puces de chauffeur qu'on glisse dessus et leur fantôme.
   ═══════════════════════════════════════════════════════════════ */
@keyframes tx-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.55);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(217, 83, 79, 0);
  }
}
@keyframes tx-ring {
  0% {
    box-shadow: 0 14px 34px rgba(156, 98, 16, 0.3), 0 0 0 0 rgba(217, 164, 65, 0.55);
  }
  100% {
    box-shadow: 0 14px 34px rgba(156, 98, 16, 0.3), 0 0 0 14px rgba(217, 164, 65, 0);
  }
}
/* ── Barre latérale ─────────────────────────────────────────── */
.tx-side-soc {
  margin: 12px 12px 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.tx-side-soc div div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tx-side-soc-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--eh-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.tx-side-soc-n {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.tx-side-soc-s {
  font-size: 11px;
  font-weight: 600;
  color: #8E9AC2;
}

.tx-nav-n {
  background: #D9534F;
}

.tx-side-plan {
  padding: 12px 14px;
  border-top: 1px solid #2C3C6B;
}

.tx-side-plan-k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6E7BA8;
}

.tx-side-plan-t {
  font-size: 12px;
  font-weight: 700;
  color: #C7CEE3;
  margin-top: 4px;
  line-height: 1.5;
}
.tx-side-plan-t b {
  color: #fff;
}

@media (max-height: 700px) {
  .tx-side-plan {
    display: none;
  }
}
/* ── Demandes de course : bulle et fenêtre ──────────────────── */
.tx-bulle {
  box-shadow: 0 14px 34px rgba(20, 33, 71, 0.3);
}

.tx-bulle.is-demandes {
  background: var(--eh-amber);
  animation: tx-ring 2.2s ease-out infinite;
}

.tx-bulle.is-ouvert {
  background: #fff;
  color: var(--eh-navy);
  animation: none;
}

.tx-dem {
  width: 820px;
}

.tx-dem-h {
  background: linear-gradient(135deg, #9C6210, #D9A441);
}

.tx-dem-k {
  color: #FBEBD0;
}

.tx-dem-a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid #F4EAD5;
  flex-wrap: wrap;
}
.tx-dem-a:first-child {
  border-top: 0;
}

.tx-dem-q {
  width: 104px;
  flex: none;
}
.tx-dem-q .j {
  font-size: 12px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-dem-q .h {
  font-size: 20px;
  font-weight: 600;
  color: var(--eh-navy);
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.tx-dem-tx {
  flex: 1 1 240px;
  min-width: 0;
}
.tx-dem-tx .tr {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-dem-tx .tr i {
  color: #9AA3B8;
  font-size: 12px;
}
.tx-dem-tx .m {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  color: #5A6273;
}
.tx-dem-tx .f {
  color: #9AA3B8;
}

.tx-dem-g {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.tx-dem-f {
  display: flex;
  gap: 8px;
  margin: 0;
  flex-wrap: wrap;
}

.tx-dem-sel {
  width: 180px;
  height: 42px;
  cursor: pointer;
}

.tx-vide-ic {
  background: #E7F5E0;
}

/* ── Fantôme du glisser-déposer ─────────────────────────────── */
.tx-fantome {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 500;
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.18s var(--eh-ease);
}
.tx-fantome.is-visible {
  opacity: 1;
}

.tx-fantome-c {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: var(--eh-navy);
  color: #fff;
  box-shadow: 0 18px 40px rgba(20, 33, 71, 0.4);
  transform: scale(0.9) rotate(-2deg);
  transition: transform 0.2s var(--eh-spring);
}
.is-visible .tx-fantome-c {
  transform: scale(1) rotate(-2deg);
}

.tx-fantome-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.tx-fantome-n {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.tx-fantome-a {
  font-size: 11px;
  font-weight: 700;
  color: #8FD97A;
  white-space: nowrap;
}

.tx-en-glisse, .tx-en-glisse * {
  cursor: grabbing !important;
  user-select: none;
  -webkit-user-select: none;
}

/* ── Tableau de bord : le jour ──────────────────────────────── */
.tx-hero-g {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.tx-verdict {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.tx-verdict .n {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.tx-verdict .n.is-rouge {
  color: #FFB4AE;
}
.tx-verdict .n.is-vert {
  color: #8FD97A;
}
.tx-verdict .t {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.tx-frise {
  margin-top: 22px;
}

.tx-frise-m {
  position: absolute;
  transform: translateX(-50%);
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 2px solid;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  animation: eh-pop 0.45s var(--eh-ease) both;
}
.tx-frise-m i {
  font-size: 11px;
}
.tx-frise-m:hover {
  transform: translateX(-50%) scale(1.08);
}
.tx-frise-m:active {
  transform: translateX(-50%) scale(0.97);
}
.tx-frise-m.is-affectee {
  background: #2E6B23;
  border-color: var(--eh-green);
}
.tx-frise-m.is-sans-chauffeur {
  background: var(--eh-red);
  border-color: #E07A75;
}
.tx-frise-m.is-terminee {
  background: #3A4A78;
  border-color: #6E7BA8;
}

.tx-legende {
  margin-top: 10px;
}

.tx-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.tx-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 13px;
  text-align: left;
  cursor: pointer;
  color: #fff;
  min-width: 0;
  font-family: inherit;
  display: block;
}
.tx-kpi:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.tx-kpi span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-kpi .l {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8E9AC2;
}
.tx-kpi .v {
  font-size: 24px;
  font-weight: 800;
  margin-top: 5px;
  line-height: 1;
  color: #fff;
}
.tx-kpi .v.is-rouge {
  color: #FFB4AE;
}
.tx-kpi .v.is-vert {
  color: #8FD97A;
}
.tx-kpi .v.is-ambre {
  color: #F3D48B;
}
.tx-kpi .s {
  font-size: 10.5px;
  font-weight: 600;
  color: #9FB0D8;
  margin-top: 3px;
}

.tx-rail {
  padding: 14px 16px;
  border-radius: 16px;
}

.tx-rail-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
}
.tx-rail-h i {
  color: #8FD97A;
}

.tx-rail-g {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.tx-rail-j {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 11px;
  padding: 8px 4px 9px;
  text-align: center;
  color: #fff;
  min-width: 0;
  display: block;
}
.tx-rail-j:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.tx-rail-j.is-jour {
  border-color: rgba(108, 192, 74, 0.5);
  background: rgba(108, 192, 74, 0.12);
}
.tx-rail-j.is-jour .l {
  color: #8FD97A;
}
.tx-rail-j span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-rail-j .l {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8E9AC2;
}
.tx-rail-j .n {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
  line-height: 1;
}
.tx-rail-j .s {
  font-size: 9.5px;
  font-weight: 800;
  margin-top: 4px;
  color: #6E7BA8;
}
.tx-rail-j .s.is-rouge {
  color: #FFB4AE;
}
.tx-rail-j .s.is-vert {
  color: #8FD97A;
}

/* ── Deux colonnes : la liste, et l'équipe à côté ───────────── */
.tx-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}

.tx-soc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.tx-rail-d {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 84px;
  min-width: 0;
}

.tx-carte-s {
  padding: 16px 18px;
}

.tx-astuce {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: #9AA3B8;
}
.tx-astuce i {
  margin-right: 6px;
}

.tx-vide {
  padding: 30px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--eh-muted);
}

.tx-courses {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Une course ─────────────────────────────────────────────── */
.tx-course {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  flex-wrap: wrap;
  transition: border-color 0.18s var(--eh-ease), background-color 0.18s var(--eh-ease), transform 0.18s var(--eh-ease);
}
.tx-course.is-sans {
  border-color: #F2C8C5;
  background: #FFFBFB;
}
.tx-course.is-terminee {
  border-color: #EEF1F6;
  background: #FAFBFD;
}
.tx-course.is-survol {
  border-color: var(--eh-green);
  background: #F2FAEF;
  transform: scale(1.015);
}
.tx-course.is-survol .tx-affecter {
  border-color: var(--eh-green);
  background: #E7F5E0;
  color: var(--eh-green-t);
  animation: none;
}
.tx-course.is-envoi {
  opacity: 0.7;
}

.tx-course-q {
  width: 66px;
  flex: none;
}
.tx-course-q .h {
  font-size: 17px;
  font-weight: 600;
  color: var(--eh-navy);
  letter-spacing: -0.02em;
}
.tx-course-q .k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.tx-course-q .k.is-aller {
  color: #34508C;
}
.tx-course-q .k.is-retour {
  color: #A85D00;
}
.tx-course-q .k.is-fini {
  color: #9AA3B8;
}

.tx-course-b {
  flex: 1 1 260px;
  min-width: 0;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.tx-course-b > span {
  display: flex;
}
.tx-course-b .tr {
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-course-b .tr i {
  color: #9AA3B8;
  font-size: 12px;
}
.tx-course-b .m {
  align-items: center;
  gap: 8px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.tx-course-b .n {
  font-size: 12px;
  font-weight: 700;
  color: #5A6273;
}
.tx-course-b .note {
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
}
.tx-course-b .detail {
  font-size: 11.5px;
  font-weight: 800;
  color: #34508C;
  white-space: nowrap;
}
.tx-course-b .detail i {
  font-size: 9px;
}
.tx-course-b:hover .detail {
  color: var(--eh-navy);
}

.tx-pax {
  display: flex;
  padding-left: 6px;
}

.tx-pax-i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9.5px;
  font-weight: 800;
  border: 2px solid #fff;
  margin-left: -6px;
  flex: none;
}
.tx-pax-i.is-grand {
  width: 34px;
  height: 34px;
  font-size: 11px;
  margin-left: 0;
  border: 0;
}

.tx-pax-0 {
  background: #E3EAF6;
  color: #34508C;
}

.tx-pax-1 {
  background: #E7F5E0;
  color: #2E5320;
}

.tx-pax-2 {
  background: #FCEFDC;
  color: #A85D00;
}

.tx-pax-3 {
  background: #F2EBFD;
  color: #7C3AED;
}

.tx-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}

.tx-tag--pmr {
  color: #27437E;
  background: #E3EAF6;
}

.tx-tag--van {
  color: #A85D00;
  background: #FCEFDC;
}

.tx-tag--rouge {
  color: var(--eh-red);
  background: #FBE4E3;
}

.tx-course-g {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tx-course-g form {
  margin: 0;
}

.tx-chauf {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 12px 0 5px;
  border-radius: 999px;
  border: 1.5px solid #CFE9C2;
  background: #F5FAF2;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.tx-chauf .av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.tx-chauf .n, .tx-chauf .p {
  display: block;
  white-space: nowrap;
}
.tx-chauf .n {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-chauf .p {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--eh-muted);
}
.tx-chauf .x {
  font-size: 10px;
  color: #C4CAD6;
  margin-left: 2px;
}
.tx-chauf:hover {
  border-color: var(--eh-red);
  background: #FCF2F1;
}
.tx-chauf:hover .x {
  color: var(--eh-red);
}
.tx-chauf.is-fige {
  cursor: default;
  border-color: #EEF1F6;
  background: #fff;
}
.tx-chauf.is-fige:hover {
  border-color: #EEF1F6;
  background: #fff;
}

.tx-dd {
  position: relative;
}

.tx-affecter {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 1.5px dashed #E9A7A4;
  background: #FFF5F5;
  cursor: pointer;
  color: var(--eh-red);
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  font-family: inherit;
}
.tx-affecter .ch {
  font-size: 9px;
  opacity: 0.6;
  transition: transform 0.25s var(--eh-ease);
}
.tx-affecter[aria-expanded=true] .ch {
  transform: rotate(180deg);
}
.tx-affecter:hover {
  border-color: var(--eh-navy);
  color: var(--eh-navy);
}
.tx-affecter.is-urgent {
  animation: tx-glow 2.4s ease-out infinite;
}

.tx-dd-menu {
  left: auto;
  right: 0;
  top: calc(100% + 6px);
  min-width: 260px;
  border-radius: 12px;
  transform-origin: top right;
  margin: 0;
}

.tx-dd-o {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.tx-dd-o:hover, .tx-dd-o:focus-visible {
  background: #F1F4F9;
  outline: none;
}
.tx-dd-o .av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  flex: none;
}
.tx-dd-o .t {
  flex: 1;
  min-width: 0;
}
.tx-dd-o .t span {
  display: block;
}
.tx-dd-o .n {
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-dd-o .s {
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
}
.tx-dd-o .c {
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

/* ── Puces de chauffeur (à glisser) ─────────────────────────── */
.tx-puces {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.tx-puce {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.1s ease-out, box-shadow 0.15s ease-out, opacity 0.2s, border-color 0.15s;
}
.tx-puce:hover {
  box-shadow: 0 8px 20px rgba(20, 33, 71, 0.1);
  transform: translateY(-1px);
}
.tx-puce.is-saisie {
  border-color: var(--eh-green);
  background: #F2FAEF;
  opacity: 0.55;
}
.tx-puce .av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 800;
  flex: none;
}
.tx-puce .t {
  flex: 1;
  min-width: 0;
}
.tx-puce .t > span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-puce .n {
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-puce .s {
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
}
.tx-puce .c {
  text-align: right;
  flex: none;
}
.tx-puce .c span {
  display: block;
}
.tx-puce .v {
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tx-puce .l {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.tx-puce .g {
  color: #C4CAD6;
  font-size: 12px;
}

.tx-jauge {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #EDF0F5;
  overflow: hidden;
  margin-top: 5px;
}
.tx-jauge span {
  display: block;
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s var(--eh-ease);
}
.tx-jauge.is-grande {
  height: 8px;
  border-radius: 4px;
  margin-top: 6px;
}

.tx-sans-equipe {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: #FFFBF4;
  border: 1px solid #F4E4C7;
}
.tx-sans-equipe .t {
  font-size: 13.5px;
  font-weight: 800;
  color: #A85D00;
}
.tx-sans-equipe .d {
  font-size: 12px;
  font-weight: 600;
  color: #8A6220;
  margin: 3px 0 10px;
  line-height: 1.5;
}

.tx-barre {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
  gap: 2px;
}

.tx-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.tx-stats div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #324063;
}
.tx-stats div span:nth-child(2) {
  flex: 1;
}
.tx-stats .p {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.tx-stats b {
  color: var(--eh-navy);
}

.tx-contact {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
}
.tx-contact .ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--eh-navy);
  color: var(--eh-green);
  display: grid;
  place-items: center;
  flex: none;
}
.tx-contact .n, .tx-contact .s {
  display: block;
}
.tx-contact .n {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-contact .s {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-muted);
}

.tx-regles {
  padding: 0;
}
.tx-regles summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
  color: #5A6273;
}
.tx-regles summary::-webkit-details-marker {
  display: none;
}
.tx-regles summary i {
  color: #9AA1B2;
  font-size: 12px;
}
.tx-regles summary .ch {
  margin-left: auto;
  transition: transform 0.25s var(--eh-ease);
}
.tx-regles[open] summary .ch {
  transform: rotate(180deg);
}

.tx-regles-g {
  padding: 0 18px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.tx-regles-g div {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.6;
}
.tx-regles-g b {
  color: var(--eh-navy);
}

/* ── Mes courses ────────────────────────────────────────────── */
.tx-onglets {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1.5px solid var(--eh-line);
  border-radius: 11px;
  padding: 3px;
}
.tx-onglets a {
  height: 34px;
  padding: 0 13px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 800;
  color: #6B7490;
  white-space: nowrap;
}
.tx-onglets a:hover {
  color: var(--eh-navy);
  background: #F1F4F9;
}
.tx-onglets a.is-on {
  background: var(--eh-navy);
  color: #fff;
}

.tx-jour-c {
  padding: 16px 18px;
  scroll-margin-top: 84px;
}

.tx-jour-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.tx-jour-h .t {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-jour-h .s {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--eh-muted);
  margin-top: 1px;
}

.tx-jour-d {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #E3EAF6;
  color: var(--eh-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: none;
}
.tx-jour-d .n {
  font-size: 16px;
  font-weight: 800;
}
.tx-jour-d .m {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.tx-jour-d.is-jour {
  background: var(--eh-green);
  color: #fff;
}

.tx-info-plan {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
}
.tx-info-plan .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  flex: none;
}
.tx-info-plan b {
  color: var(--eh-navy);
}

/* ── Mes chauffeurs ─────────────────────────────────────────── */
.tx-equipe {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.tx-fiche {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.3s var(--eh-ease);
}
.tx-fiche.is-pause {
  opacity: 0.6;
}

.tx-fiche-h {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tx-fiche-h .av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  flex: none;
}
.tx-fiche-h .n {
  font-size: 15px;
  font-weight: 800;
  color: var(--eh-navy);
  line-height: 1.25;
}
.tx-fiche-h .m {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.tx-fiche-h .tel {
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
}
.tx-fiche-h .tel.is-manque {
  color: #A85D00;
  font-weight: 700;
}

.tx-statut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #F1F4F9;
  color: var(--eh-muted);
}
.tx-statut::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tx-statut.is-on {
  background: #E7F5E0;
  color: var(--eh-green-t);
}

.tx-vehicule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F7F9FC;
}
.tx-vehicule .ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--eh-navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}
.tx-vehicule .v {
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tx-vehicule .p {
  font-size: 11.5px;
  font-weight: 600;
  color: #5A6273;
  margin-top: 1px;
}

.tx-charge-h {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9AA3B8;
}

.tx-semj {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-top: 8px;
}
.tx-semj span {
  height: 22px;
  border-radius: 5px;
  background: #F4F6FA;
  color: #C4CAD6;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.tx-semj .is-pris {
  background: #E7F5E0;
  color: var(--eh-green-t);
}
.tx-semj .is-plein {
  background: #FCEFDC;
  color: #A85D00;
}

.tx-fiche-p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto 0 0;
  padding-top: 4px;
}
.tx-fiche-p .l {
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  color: var(--eh-muted);
}
.tx-fiche-p .eh-switch {
  height: auto;
}

.tx-plaque {
  text-transform: uppercase;
}

/* ── Panneau d'une course ───────────────────────────────────── */
.tx-liste {
  border: 1.5px solid var(--eh-line);
  border-radius: 14px;
  overflow: hidden;
}

.tx-liste-l {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-top: 1px solid #F1F4F9;
}
.tx-liste-l:first-child {
  border-top: 0;
}
.tx-liste-l .t {
  flex: 1;
  min-width: 0;
}
.tx-liste-l .t span {
  display: block;
}
.tx-liste-l .n {
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-liste-l .s {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 1px;
}

.tx-tel {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--eh-line);
  display: grid;
  place-items: center;
  color: var(--eh-navy);
  font-size: 12px;
  flex: none;
}
.tx-tel:hover {
  background: #F1F4F9;
}

.tx-choix {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.tx-choix-o {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.tx-choix-o:hover {
  border-color: var(--eh-navy);
}
.tx-choix-o.is-on {
  border-color: var(--eh-green);
  background: #F5FAF2;
}
.tx-choix-o .av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  flex: none;
}
.tx-choix-o .t {
  flex: 1;
  min-width: 0;
}
.tx-choix-o .t span {
  display: block;
}
.tx-choix-o .n {
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.tx-choix-o .s {
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
}
.tx-choix-o .c {
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.tx-choix-o .ok {
  color: var(--eh-green-d);
}

/* ── Ma société ─────────────────────────────────────────────── */
.tx-carte-t {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #F1F4F9;
}
.tx-carte-t .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E3EAF6;
  color: var(--eh-navy);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}
.tx-carte-t .s {
  font-size: 12px;
  font-weight: 600;
  color: #9AA3B8;
  margin-top: 1px;
}

.tx-barre-enr.is-dirty {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.tx-tarifs {
  margin-top: 0;
}
.tx-tarifs span {
  line-height: 1.35;
}
.tx-tarifs small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: #9AA3B8;
  margin-top: 2px;
}
.tx-tarifs b {
  white-space: nowrap;
}

.tx-flux {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.tx-flux div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.5;
}
.tx-flux .ic {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #F1F4F9;
  color: var(--eh-navy);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}
.tx-flux b {
  color: var(--eh-navy);
}

/* ── Adaptations ────────────────────────────────────────────── */
@media (max-width: 1150px) {
  .tx-duo, .tx-hero-g, .tx-soc {
    grid-template-columns: minmax(0, 1fr);
  }
  .tx-rail-d {
    position: static;
  }
}
@media (max-width: 700px) {
  .tx-dem-sel {
    width: 100%;
  }
  .tx-course-g {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tx-fantome, .tx-fantome-c, .tx-course, .tx-puce, .tx-affecter, .tx-frise-m {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .tx-fantome, .tx-rail-d .tx-puces + .eh-btn, .tx-affecter {
    display: none !important;
  }
  .tx-duo {
    grid-template-columns: minmax(0, 1fr);
  }
  .tx-rail-d {
    display: none;
  }
}
/* Après un geste, les zones rechargées n'entrent pas en scène une seconde fois. */
.eh-sans-entree .tx-frise-m {
  animation: none;
}

/* ═══════════════════════════════════════════════════════════════
   ESPACE RESTAURATEUR — /restaurateur/*
   Cf. maquette « Espace Restaurateur ». Le cadre est celui de l'espace hôtelier (.eh : barre
   marine, en-tête translucide, panneau, message, barre d'enregistrement) ; ce qui est propre au
   restaurant porte le préfixe .rs : le soir en tête, la liste des dîners, le scan du QR, le
   calendrier du mois, les contestations, l'export et la fiche.
   ═══════════════════════════════════════════════════════════════ */
/* ── Barre latérale ─────────────────────────────────────────── */
.rs-side-resto {
  margin: 12px 12px 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rs-side-resto-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--eh-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.rs-side-resto-n {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-side-resto-s {
  font-size: 11px;
  font-weight: 600;
  color: #8E9AC2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-side-choix {
  margin: 0 12px 4px;
}
.rs-side-choix summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #B9C3E3;
}
.rs-side-choix summary::-webkit-details-marker {
  display: none;
}
.rs-side-choix summary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.rs-side-choix summary span {
  flex: 1;
}
.rs-side-choix summary b {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 1px 7px;
}
.rs-side-choix form {
  margin: 0;
}

.rs-side-choix-l {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 2px;
}

.rs-side-choix-a {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: #B9C3E3;
  text-align: left;
  cursor: pointer;
}
.rs-side-choix-a i {
  width: 14px;
  font-size: 11px;
  text-align: center;
  flex: none;
}
.rs-side-choix-a span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-side-choix-a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.rs-side-choix-a.is-on {
  color: #fff;
  cursor: default;
  background: rgba(255, 255, 255, 0.06);
}
.rs-side-choix-a.is-on i {
  color: var(--eh-green);
}

.rs-nav-n {
  background: #D9534F;
}

.rs-side-forfait {
  padding: 12px 14px;
  border-top: 1px solid #2C3C6B;
}
.rs-side-forfait .k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6E7BA8;
}
.rs-side-forfait .v {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.rs-side-forfait b {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.rs-side-forfait span {
  font-size: 11px;
  font-weight: 700;
  color: #8E9AC2;
}

@media (max-height: 700px) {
  .rs-side-forfait {
    display: none;
  }
}
/* ── Panneau : teinte de l'en-tête selon le contenu ─────────── */
.rs-panneau .eh-panneau-h {
  transition: background 0.3s var(--eh-ease);
}

.rs-panneau .eh-panneau-h[data-ton=att] {
  background: linear-gradient(135deg, #1D2D5C, #2A4080);
}

.rs-panneau .eh-panneau-h[data-ton=nuit] {
  background: #121D3E;
}

.rs-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.rs-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.rs-col--colle {
  position: sticky;
  top: 84px;
}

.rs-extra {
  color: #A85D00 !important;
}

.rs-ok {
  color: var(--eh-green-t);
}

.rs-requis {
  color: var(--eh-red) !important;
}

/* Pastille d'un stagiaire (couleurs .eh-av-0…3 de l'espace hôtelier). */
.rs-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex: none;
}

.rs-av--s {
  width: 32px;
  height: 32px;
  font-size: 10.5px;
}

/* ── Service du soir : le soir en tête ──────────────────────── */
.rs-hero-g {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.rs-hero-t {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.eh-soir-nb.is-ambre {
  color: #F3D48B;
}

.eh-soir-nb.is-vert {
  color: #8FD97A;
}

/* Le bouton, puis la phrase d'aide à la ligne en dessous. */
.rs-hero-a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
}

.rs-scan-b {
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: none;
  background: var(--eh-green);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  animation: eh-ring 2.2s ease-out infinite;
}
.rs-scan-b i {
  font-size: 18px;
}
.rs-scan-b:hover {
  background: #5FB03F;
}

.rs-hero-aide {
  font-size: 12px;
  font-weight: 600;
  color: #9FB0D8;
  max-width: 420px;
  line-height: 1.45;
}

.rs-hero .eh-legende-soir {
  margin-top: 18px;
}
.rs-hero .eh-legende-soir span {
  display: inline-flex;
  align-items: center;
}

.rs-hero-d {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.rs-kpis-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rs-kpis-2 .eh-soir-kpi .v {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.rs-sem {
  padding: 14px 16px;
}

.rs-sem-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 800;
}
.rs-sem-h > i {
  color: #8FD97A;
}

.rs-sem-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.rs-sem-nav a {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #C7CEE3;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.06);
}
.rs-sem-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.rs-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
}

.rs-rail-j {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 11px;
  padding: 8px 2px 9px;
  text-align: center;
  color: #fff;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rs-rail-j:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.rs-rail-j.is-on {
  border-color: rgba(108, 192, 74, 0.5);
  background: rgba(108, 192, 74, 0.12);
}
.rs-rail-j .l {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8E9AC2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.rs-rail-j.is-on .l {
  color: #8FD97A;
}
.rs-rail-j .n {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rs-rail-j .s {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 4px;
  color: #6E7BA8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.rs-rail-j .s.is-ambre {
  color: #F3D48B;
}
.rs-rail-j .s.is-vert {
  color: #8FD97A;
}

/* ── Service du soir : la liste ─────────────────────────────── */
.rs-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.rs-duo > .rs-col {
  position: sticky;
  top: 84px;
}

.rs-recherche {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  width: 230px;
  border-radius: 10px;
  border: 1.5px solid var(--eh-line);
  background: #F8FAFC;
  padding: 0 10px;
  transition: border-color 0.15s ease-out;
}
.rs-recherche i {
  font-size: 12px;
  color: #9AA3B8;
}
.rs-recherche input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-navy);
}
.rs-recherche:focus-within {
  border-color: var(--eh-navy);
}

.rs-onglets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.rs-onglets--p {
  padding: 10px 14px 0;
  margin: 0;
}

.rs-onglet {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  color: #5A6273;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.rs-onglet .pt {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.rs-onglet .n {
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}
.rs-onglet:hover {
  border-color: var(--eh-navy);
}
.rs-onglet.is-on {
  border-color: var(--eh-navy);
  background: var(--eh-navy);
  color: #fff;
}
.rs-onglets--p .rs-onglet {
  height: 26px;
  padding: 0 9px;
  font-size: 11px;
  gap: 6px;
}
.rs-onglets--p .rs-onglet .pt {
  width: 6px;
  height: 6px;
}

.rs-lignes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-ligne {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  flex-wrap: wrap;
  transition: border-color 0.2s var(--eh-ease), background-color 0.2s var(--eh-ease);
}
.rs-ligne.is-attendu {
  border-color: #F3D48B;
  background: #FFFDF8;
}
.rs-ligne.is-atteste, .rs-ligne.is-valide {
  border-color: #CFE9C2;
}
.rs-ligne.is-absent, .rs-ligne.is-expire {
  background: #FAFBFD;
}
.rs-ligne.is-conteste {
  border-color: #F2C8C5;
}
.rs-ligne[hidden] {
  display: none;
}

.rs-ligne-qui {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 280px;
  min-width: 0;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.rs-ligne-tx {
  flex: 1;
  min-width: 0;
}

.rs-ligne-h {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rs-ligne-nom {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--eh-navy);
}

.rs-ligne-code {
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
}

.rs-ligne-sous {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 2px;
}
.rs-ligne-sous .eh-mono {
  font-size: 11px;
  color: var(--eh-faint);
}

.rs-ligne-g {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.rs-ligne-g form {
  margin: 0;
  display: contents;
}
.rs-ligne-g .eh-tag {
  animation: eh-pop 0.25s var(--eh-ease) both;
}

.rs-absent-b {
  color: #5A6273;
  font-weight: 700;
}
.rs-absent-b:hover {
  background: #F4F6FA;
  color: var(--eh-red);
  border-color: #F2C8C5;
}

.rs-ligne-m {
  font-size: 13px;
  font-weight: 600;
  color: var(--eh-navy);
  white-space: nowrap;
}

.rs-cuisine-l {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}
.rs-cuisine-l div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rs-cuisine-l .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
  flex: none;
}
.rs-cuisine-l .t {
  flex: 1;
  font-size: 12.5px;
  font-weight: 700;
  color: #324063;
}
.rs-cuisine-l b {
  font-size: 14px;
  color: var(--eh-navy);
  font-variant-numeric: tabular-nums;
}

.rs-cuisine-p {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #F1F4F9;
  font-size: 12px;
  font-weight: 600;
  color: #5A6273;
}
.rs-cuisine-p i {
  color: var(--eh-green-d);
  width: 16px;
}

.rs-decom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}
.rs-decom div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #5A6273;
}
.rs-decom .pt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C4CAD6;
  flex: none;
}
.rs-decom .n {
  flex: 1;
  text-decoration: line-through;
  text-decoration-color: #C4CAD6;
}
.rs-decom .a {
  font-size: 11px;
  font-weight: 600;
  color: #9AA3B8;
  white-space: nowrap;
}

.rs-regles {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rs-regles > div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.5;
}
.rs-regles .ic {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #E7F5E0;
  color: var(--eh-green-t);
  display: grid;
  place-items: center;
  font-size: 10px;
  flex: none;
  margin-top: 1px;
}

/* ── Panneau : attester, lire, scanner ──────────────────────── */
.rs-qui {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F7F9FC;
}
.rs-qui .rs-av {
  width: 44px;
  height: 44px;
  font-size: 13px;
}

.rs-qui-n {
  font-size: 15px;
  font-weight: 800;
  color: var(--eh-navy);
}

.rs-qui-s {
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.rs-qui-nni {
  font-size: 11px;
  color: var(--eh-faint);
  white-space: nowrap;
}

.rs-forfait {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #E7F5E0;
  border: 1px solid #CFE9C2;
}
.rs-forfait .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--eh-green);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.rs-forfait .t {
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-green-t);
}
.rs-forfait .d {
  font-size: 12px;
  font-weight: 600;
  color: #4F7B3E;
  margin-top: 2px;
  line-height: 1.45;
}

.rs-ticket {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px dashed #C4CAD6;
  background: #FAFBFD;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s var(--eh-ease);
}
.rs-ticket input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.rs-ticket:hover {
  border-color: var(--eh-navy);
}
.rs-ticket:focus-within {
  outline: 2px solid #C9D6EC;
  outline-offset: 2px;
}
.rs-ticket.is-ok {
  border-style: solid;
  border-color: var(--eh-green);
  background: #F2FAEF;
}

.rs-ticket-ic {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
  transition: all 0.2s;
}
.is-ok .rs-ticket-ic {
  background: var(--eh-green);
  color: #fff;
}

.rs-ticket-tx {
  flex: 1;
  min-width: 0;
}
.rs-ticket-tx .t {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-ticket-tx .d {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 2px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.rs-att-pied .eh-btn {
  height: 48px;
  font-size: 14px;
}
.rs-att-pied .eh-btn:disabled {
  opacity: 0.55;
}

/* Pied en colonne : le bouton prend toute la largeur. Dans une colonne flex, « flex: 1 » ramènerait
   sa hauteur à zéro (la base flexible l'emporte sur height). */
.rs-att-pied, .rs-pied-col {
  flex-direction: column;
  align-items: stretch;
}
.rs-att-pied .eh-btn, .rs-pied-col .eh-btn {
  flex: none;
  width: 100%;
}

.rs-att-note {
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
  line-height: 1.5;
  text-align: center;
}

.rs-case-m {
  font-size: 20px;
  font-weight: 600;
  color: var(--eh-navy);
  margin-top: 4px;
}
.rs-case-m.is-vert {
  color: var(--eh-green-t);
}
.rs-case-m.is-gris {
  color: #9AA3B8;
}

.rs-ticket-lu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--eh-line);
  border-radius: 14px;
  color: inherit;
}
.rs-ticket-lu:hover {
  border-color: var(--eh-navy);
}
.rs-ticket-lu .t {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-ticket-lu .d {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 2px;
}

.rs-ticket-mini {
  width: 44px;
  height: 54px;
  border-radius: 8px;
  background: repeating-linear-gradient(0deg, #F1F4F9 0 6px, #fff 6px 12px);
  border: 1px solid var(--eh-line);
  display: grid;
  place-items: center;
  color: #9AA3B8;
  flex: none;
}

.rs-mot {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  font-style: italic;
  line-height: 1.5;
}

@keyframes rs-scan {
  0% {
    top: 14%;
  }
  50% {
    top: 84%;
  }
  100% {
    top: 14%;
  }
}
.rs-scan {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rs-scan-cadre {
  position: relative;
  aspect-ratio: 1/1;
  max-height: 300px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 40%, #2A3F7A, #121D3E);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.rs-scan-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s;
}
.is-camera .rs-scan-video {
  opacity: 1;
}

.rs-scan-zone {
  position: absolute;
  inset: 14%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

.rs-scan-coin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--eh-green);
  border-style: solid;
  border-width: 0;
}
.rs-scan-coin.is-hg {
  left: 14%;
  top: 14%;
  border-left-width: 3px;
  border-top-width: 3px;
  border-radius: 6px 0 0 0;
}
.rs-scan-coin.is-hd {
  right: 14%;
  top: 14%;
  border-right-width: 3px;
  border-top-width: 3px;
  border-radius: 0 6px 0 0;
}
.rs-scan-coin.is-bg {
  left: 14%;
  bottom: 14%;
  border-left-width: 3px;
  border-bottom-width: 3px;
  border-radius: 0 0 0 6px;
}
.rs-scan-coin.is-bd {
  right: 14%;
  bottom: 14%;
  border-right-width: 3px;
  border-bottom-width: 3px;
  border-radius: 0 0 6px 0;
}

.rs-scan-ligne {
  position: absolute;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--eh-green), transparent);
  box-shadow: 0 0 14px var(--eh-green);
  animation: rs-scan 2.4s ease-in-out infinite;
}

.rs-scan-fond {
  font-size: 72px;
  color: rgba(255, 255, 255, 0.14);
}
.is-camera .rs-scan-fond {
  display: none;
}

.rs-scan-aide {
  font-size: 13px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
  text-align: center;
}

.rs-scan-code-l {
  display: flex;
  gap: 8px;
}

.rs-scan-code-i {
  flex: 1;
  min-width: 0;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--eh-line);
  padding: 0 14px;
  background: #fff;
  outline: none;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--eh-navy);
}
.rs-scan-code-i::placeholder {
  color: #C4CAD6;
}
.rs-scan-code-i:focus {
  border-color: var(--eh-navy);
}
.rs-scan-code-i.is-err {
  border-color: #E0908C;
}

.rs-scan-code-b {
  height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: none;
  background: var(--eh-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.rs-scan-code-b:hover {
  background: #24397A;
}

.rs-scan-code-err {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FCF2F1;
  border: 1px solid #F2C8C5;
  font-size: 12.5px;
  font-weight: 600;
  color: #8A2E2B;
  line-height: 1.5;
}
.rs-scan-code-err > i {
  margin-top: 2px;
}

.rs-scan-l {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rs-scan-p {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.rs-scan-p:hover {
  border-color: var(--eh-navy);
}
.rs-scan-p .n {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-scan-p .s {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
}
.rs-scan-p > i {
  font-size: 10px;
  color: #C4CAD6;
}

/* ── Mes repas : rappel de la semaine (jusqu'au samedi) ───── */
@keyframes rs-alerte {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 83, 79, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(217, 83, 79, 0);
  }
}
.rs-rappel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid;
  flex-wrap: wrap;
}
.rs-rappel .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}
.rs-rappel .t {
  font-size: 13.5px;
  font-weight: 800;
}
.rs-rappel .d {
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.85;
  margin-top: 2px;
  line-height: 1.5;
}
.rs-rappel.is-attention {
  background: #FFFBF4;
  border-color: #F3D48B;
  color: #7A4A00;
}
.rs-rappel.is-attention .ic {
  background: var(--eh-amber);
}
.rs-rappel.is-urgent {
  background: #FCF2F1;
  border-color: #F2C8C5;
  color: #9F2F2B;
}
.rs-rappel.is-urgent .ic {
  background: var(--eh-red);
  animation: rs-alerte 2.4s ease-out infinite;
}
.rs-rappel.is-ok {
  background: #F5FAF2;
  border-color: #BFE3AC;
  color: var(--eh-green-t);
}
.rs-rappel.is-ok .ic {
  background: var(--eh-green);
}

.rs-rappel-b {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--eh-navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.rs-rappel-b:hover {
  background: var(--eh-navy-2);
  color: #fff;
}
.is-urgent .rs-rappel-b {
  background: var(--eh-red);
}
.is-urgent .rs-rappel-b:hover {
  background: #9F2F2B;
}

/* ── Mes repas : le mois ────────────────────────────────────── */
.rs-mois-l {
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
  white-space: nowrap;
  min-width: 150px;
  text-align: center;
}

.rs-cal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

.rs-cal-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.rs-cles {
  margin-left: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 700;
  color: var(--eh-muted);
}
.rs-cles i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
  vertical-align: -1px;
}

.rs-cal-g {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.rs-cal-th {
  margin-bottom: 6px;
}
.rs-cal-th div {
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9AA3B8;
}

.rs-jc {
  min-height: 92px;
  border-radius: 14px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  text-align: left;
  padding: 8px 9px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
  min-width: 0;
  transition: border-color 0.18s var(--eh-ease), background-color 0.18s var(--eh-ease);
}
.rs-jc:hover {
  border-color: var(--eh-navy);
  color: inherit;
}
.rs-jc.is-rien {
  border-color: #EEF1F6;
  background: #FAFBFD;
}
.rs-jc.is-pale {
  opacity: 0.6;
}
.rs-jc.is-auj {
  border-color: var(--eh-navy);
}
.rs-jc.is-on {
  border-color: var(--eh-green);
  background: #F2FAEF;
}
.rs-jc.is-vide {
  border: none;
  background: transparent;
}

.rs-jc-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rs-jc-h .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--eh-navy);
}
.is-rien .rs-jc-h .num {
  color: #B4BCCB;
}
.is-auj .rs-jc-h .num {
  background: var(--eh-navy);
  color: #fff;
}
.rs-jc-h .n {
  font-size: 12px;
  font-weight: 800;
  color: var(--eh-navy);
  font-variant-numeric: tabular-nums;
}
.rs-jc-h .n.is-ambre {
  color: #A85D00;
}

.rs-jc-b {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: #EDF0F5;
  gap: 1px;
}

.rs-jc-s {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--eh-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-jc-s.is-ambre {
  color: #A85D00;
}
.rs-jc-s.is-rouge {
  color: var(--eh-red);
}

.rs-jc-m {
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-navy);
  margin-top: auto;
}

.rs-jc-f {
  font-size: 10.5px;
  font-weight: 700;
  color: #C4CAD6;
  margin-top: auto;
}

.rs-jour-h {
  padding: 14px 18px;
  background: linear-gradient(135deg, #1D2D5C, #2A4080);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rs-jour-h.is-ambre {
  background: linear-gradient(135deg, #7A4A00, #A85D00);
}
.rs-jour-h .t {
  font-size: 15px;
  font-weight: 800;
}
.rs-jour-h .s {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.rs-jour-d {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: none;
}
.rs-jour-d b {
  font-size: 16px;
}
.rs-jour-d span {
  font-size: 8.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.rs-jour-t {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #F1F4F9;
  border-bottom: 1px solid #F1F4F9;
}
.rs-jour-t div {
  background: #fff;
  padding: 10px 12px;
  min-width: 0;
}
.rs-jour-t .k {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9AA3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-jour-t .v {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--eh-navy);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rs-jour-l {
  display: flex;
  flex-direction: column;
  max-height: 460px;
  overflow: auto;
  padding: 8px 8px 10px;
}

.rs-jl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: none;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background-color 0.12s ease-out;
}
.rs-jl:hover {
  background: #F8FAFD;
}
.rs-jl.is-litige {
  background: #FFFBFB;
}
.rs-jl[hidden] {
  display: none;
}
.rs-jl .tx {
  flex: 1;
  min-width: 0;
}
.rs-jl .n {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-jl .s {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--eh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-jl .d {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.rs-jl .d .eh-tag {
  font-size: 10.5px;
  padding: 2px 8px;
}
.rs-jl .m {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-navy);
}
.rs-jl .m.is-gris {
  color: #9AA3B8;
}
.rs-jl .m em {
  font-style: normal;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #A85D00;
  margin-left: 5px;
}

.rs-jour-p {
  padding: 10px 14px 14px;
  border-top: 1px solid #F1F4F9;
}

/* ── Contestations ──────────────────────────────────────────── */
.rs-lit.is-ouvert {
  border-color: #F2C8C5;
}

.rs-lit-h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #FAFBFD;
  flex-wrap: wrap;
}
.is-ouvert .rs-lit-h {
  background: #FFF7F6;
}
.rs-lit-h .rs-av {
  width: 38px;
  height: 38px;
}
.rs-lit-h .n {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-lit-h .n span {
  font-weight: 600;
  color: var(--eh-muted);
  font-size: 12.5px;
}
.rs-lit-h .s {
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 2px;
}

.rs-lit-g {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding: 16px 18px;
}

.rs-lit-b {
  border: 1.5px solid var(--eh-line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.rs-lit-b.is-rouge {
  border-color: #F2C8C5;
  background: #FCF2F1;
}
.rs-lit-b.is-vert {
  border-color: #CFE9C2;
  background: #F5FAF2;
}
.rs-lit-b.is-vert .eh-k-petit, .rs-lit-b.is-vert .rs-lit-dec {
  color: var(--eh-green-t);
}
.rs-lit-b.is-gris {
  background: #F7F9FC;
}
.rs-lit-b.is-gris .rs-lit-dec {
  color: #5A6273;
}

.rs-lit-m {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.rs-lit-m .eh-mono {
  font-size: 22px;
  font-weight: 600;
  color: var(--eh-navy);
}
.rs-lit-m span:last-child {
  font-size: 12px;
  font-weight: 700;
}

.rs-lit-t {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--eh-green-t);
}
.rs-lit-t:hover {
  color: var(--eh-navy);
}

.rs-lit-motif {
  font-size: 13px;
  font-weight: 700;
  color: var(--eh-navy);
  line-height: 1.5;
}

.rs-lit-le {
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
}

.rs-lit-b.is-rouge .rs-lit-le {
  color: #9F2F2B;
}

.rs-lit-rep {
  font-size: 12.5px;
  font-weight: 600;
  color: #324063;
  line-height: 1.5;
  padding: 9px 11px;
  border-radius: 9px;
  background: #F7F9FC;
  white-space: pre-line;
}

.rs-lit-f {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}
.rs-lit-f textarea {
  font-size: 12.5px;
}
.rs-lit-f .eh-btn {
  align-self: flex-end;
}

.rs-lit-dec {
  font-size: 14px;
  font-weight: 800;
}

.rs-lit-note {
  font-size: 12px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.5;
}

/* ── Exporter ───────────────────────────────────────────────── */
.rs-presets {
  display: flex;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--eh-line);
  border-radius: 12px;
  padding: 4px;
  flex-wrap: wrap;
}
.rs-presets a {
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  color: #5A6273;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.rs-presets a:hover {
  background: #F1F4F9;
  color: var(--eh-navy);
}
.rs-presets a.is-on {
  background: var(--eh-navy);
  color: #fff;
}

.rs-filtres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  align-items: end;
}
.rs-filtres select.eh-input {
  cursor: pointer;
}

.rs-actif {
  border-color: var(--eh-green) !important;
  background-color: #F4FAF0 !important;
}

.rs-filtres-p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.rs-filtres-p b {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--eh-navy);
}

.rs-puce {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #C7D2EA;
  background: #EEF3FC;
  color: #34508C;
  font-size: 11.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}
.rs-puce:hover {
  background: #E3EAF6;
  color: var(--eh-navy);
}

.rs-fact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  background: linear-gradient(120deg, #1D2D5C 0%, #24397A 60%, #2C4A8C 100%);
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 18px 44px rgba(29, 45, 92, 0.22);
  padding: 22px 26px;
}

.rs-fact-n {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.rs-postes {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.rs-postes > div {
  min-width: 120px;
}
.rs-postes .k {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9FB0D8;
}
.rs-postes .k i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.rs-postes .v {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.rs-postes .s {
  font-size: 11px;
  font-weight: 600;
  color: #C7CEE3;
}

.rs-postes-b {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 14px;
  gap: 2px;
  max-width: 560px;
}

.rs-fact-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 260px;
}
.rs-fact-kpis > div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 0;
}
.rs-fact-kpis .k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8E9AC2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-fact-kpis .v {
  font-size: 22px;
  font-weight: 800;
  margin-top: 5px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rs-fact-kpis .v.is-vert {
  color: #8FD97A;
}
.rs-fact-kpis .s {
  font-size: 10.5px;
  font-weight: 600;
  color: #C7CEE3;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-exp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.rs-apercu-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #F1F4F9;
  flex-wrap: wrap;
}

.rs-seg {
  margin-left: auto;
  display: flex;
  gap: 4px;
  background: #F1F4F9;
  border-radius: 10px;
  padding: 3px;
}
.rs-seg label {
  height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  color: #6B7490;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
}
.rs-seg label.is-on {
  background: #fff;
  color: var(--eh-navy);
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.12);
}
.rs-seg label:focus-within {
  outline: 2px solid #C9D6EC;
}
.rs-seg input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rs-apercu-vide {
  padding: 40px 20px;
  text-align: center;
}
.rs-apercu-vide .t {
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-apercu-vide .d {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 4px;
}

.rs-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 640px;
}
.rs-table th {
  text-align: left;
  padding: 9px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9AA3B8;
  background: #FAFBFD;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-table th.d {
  text-align: right;
}
.rs-table td {
  padding: 8px 10px;
  border-top: 1px solid #F1F4F9;
  vertical-align: middle;
  overflow: hidden;
}
.rs-table td.d {
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--eh-navy);
  white-space: nowrap;
}
.rs-table td.j {
  font-size: 12px;
  font-weight: 700;
  color: #324063;
  white-space: nowrap;
}
.rs-table td.h {
  font-size: 12px;
  font-weight: 600;
  color: #5A6273;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.rs-table td.is-vert {
  color: var(--eh-green-t);
}
.rs-table td.is-gris {
  color: #C4CAD6;
}
.rs-table .n {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--eh-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-table .s {
  font-size: 10.5px;
  font-weight: 600;
  color: #9AA3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-table .e {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #5A6273;
}
.rs-table .eh-tag {
  font-size: 10.5px;
  padding: 2px 8px;
}
.rs-table tfoot td {
  background: #FAFBFD;
  border-top: 2px solid var(--eh-line);
  padding: 10px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-table tfoot td.d {
  font-size: 12px;
  color: #5A6273;
}
.rs-table tfoot td.d b {
  font-size: 13.5px;
  color: var(--eh-navy);
}

.rs-table-g td {
  padding: 8px 12px;
  background: #F4F6FA;
  border-top: 1px solid #EEF1F6;
  font-size: 12px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-table-g td span {
  font-weight: 700;
  color: #9AA3B8;
}
.rs-table-g td b {
  float: right;
  font-variant-numeric: tabular-nums;
}

.rs-apercu-plus {
  padding: 10px 18px;
  border-top: 1px solid #F1F4F9;
  font-size: 12px;
  font-weight: 700;
  color: var(--eh-muted);
  text-align: center;
}

.rs-formats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.rs-format {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s var(--eh-ease), background-color 0.18s var(--eh-ease);
}
.rs-format:hover {
  border-color: var(--eh-navy);
}
.rs-format:has(input:checked) {
  border-color: var(--eh-navy);
  background: #F4F7FC;
}
.rs-format:has(input:focus-visible) {
  outline: 2px solid #C9D6EC;
}
.rs-format input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.rs-format .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  flex: none;
}
.rs-format .ic.is-vert {
  background: #E7F5E0;
  color: var(--eh-green-t);
}
.rs-format .ic.is-bleu {
  background: #E3EAF6;
  color: #34508C;
}
.rs-format .ic.is-ambre {
  background: #FCEFDC;
  color: #A85D00;
}
.rs-format .tx {
  flex: 1;
  min-width: 0;
}
.rs-format .t {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-format .d {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--eh-muted);
  margin-top: 1px;
  line-height: 1.4;
}
.rs-format .pt {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #C4CAD6;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
  flex: none;
}
.rs-format:has(input:checked) .pt {
  border-color: var(--eh-navy);
  background: var(--eh-navy);
}

.rs-cols {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F7F9FC;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rs-cols .eh-k-petit {
  margin-bottom: 1px;
}

.rs-col-o {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 700;
  color: #324063;
}
.rs-col-o input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.rs-col-o .cb {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #C4CAD6;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.rs-col-o .cb i {
  font-size: 10px;
  color: #fff;
}
.rs-col-o input:checked + .cb {
  border-color: var(--eh-green);
  background: var(--eh-green);
}
.rs-col-o input:focus-visible + .cb {
  outline: 2px solid #C9D6EC;
  outline-offset: 2px;
}

.rs-dl {
  margin-top: 14px;
  width: 100%;
  height: 46px;
  font-size: 14px;
  border-radius: 12px;
}

.rs-dl-nom {
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
  margin-top: 8px;
  text-align: center;
  overflow-wrap: anywhere;
}

.rs-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
}
.rs-info b {
  color: var(--eh-navy);
}
.rs-info .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  flex: none;
}

/* ── Mon restaurant ─────────────────────────────────────────── */
.rs-jours {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rs-jour-b {
  position: relative;
  cursor: pointer;
}
.rs-jour-b input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.rs-jour-b span {
  width: 44px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  color: #5A6273;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.rs-jour-b:hover span {
  border-color: var(--eh-navy);
}
.rs-jour-b input:checked + span {
  border-color: var(--eh-navy);
  background: var(--eh-navy);
  color: #fff;
}
.rs-jour-b input:focus-visible + span {
  outline: 2px solid #C9D6EC;
  outline-offset: 2px;
}

.rs-verrou {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #F7F9FC;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--eh-muted);
}
.rs-verrou i {
  color: #C4CAD6;
  font-size: 11px;
}
.rs-verrou b {
  color: var(--eh-navy);
  font-weight: 800;
}

.rs-regimes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.rs-regime {
  position: relative;
  cursor: pointer;
}
.rs-regime input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.rs-regime span {
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--eh-line);
  background: #fff;
  color: #5A6273;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.rs-regime span i {
  font-size: 11px;
}
.rs-regime:hover span {
  border-color: var(--eh-navy);
}
.rs-regime input:checked + span {
  border-color: var(--eh-green);
  background: #F2FAEF;
  color: var(--eh-green-t);
}
.rs-regime input:focus-visible + span {
  outline: 2px solid #C9D6EC;
  outline-offset: 2px;
}

.rs-pmr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 12px;
  background: #F7F9FC;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}
.rs-pmr > i {
  color: #34508C;
}
.rs-pmr > span {
  flex: 1;
}

.rs-ctr-h {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rs-ctr-h > i {
  font-size: 10px;
  color: #C4CAD6;
}
.rs-ctr-h .eh-tag {
  margin-left: auto;
  font-size: 10.5px;
  padding: 3px 9px;
}

.rs-ctr-t {
  font-size: 14px;
  font-weight: 800;
  color: var(--eh-navy);
  margin-top: 8px;
}

.rs-ferms {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.rs-ferm {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid #EEF1F6;
  border-radius: 10px;
}
.rs-ferm .ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #F1F4F9;
  color: #5A6273;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}
.rs-ferm .t {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--eh-navy);
}
.rs-ferm .m {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #9AA3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs-ferm .eh-tag {
  font-size: 10.5px;
  padding: 2px 8px;
}

/* ── Adaptations ────────────────────────────────────────────── */
@media (max-width: 1150px) {
  .rs-hero-g, .rs-duo, .rs-cal, .rs-exp, .rs-fact {
    grid-template-columns: minmax(0, 1fr);
  }
  .rs-duo > .rs-col, .rs-col--colle {
    position: static;
  }
}
@media (max-width: 700px) {
  .rs-recherche {
    width: 100%;
    margin-left: 0;
  }
  .rs-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .rs-jc {
    min-height: 64px;
  }
  .rs-jc .rs-jc-s, .rs-jc .rs-jc-m {
    display: none;
  }
  .rs-fact-kpis {
    min-width: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rs-scan-b, .rs-scan-ligne, .rs-rappel .ic {
    animation: none;
  }
}
@media print {
  .rs-scan-b, .rs-recherche, .rs-onglets {
    display: none !important;
  }
  .rs-fact {
    box-shadow: none;
  }
}
.eh-sans-entree .rs-ligne-g .eh-tag {
  animation: none;
}

/* ═══════════════════════════════════════════════════════════════
   ROOMING HUB — page /rooming-lists (centre de téléchargement)
   Scope : .rooming-hub.
   ═══════════════════════════════════════════════════════════════ */
.rooming-hub {
  font-size: 13px;
  /* ── Hero ─────────────────────────────────────────────────── */
  /* ── Plage de dates commune ──────────────────────────────── */
  /* ── Grid des périmètres ─────────────────────────────────── */
}
.rooming-hub .hub-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #4F46E5 100%);
  color: #fff;
  padding: 24px 28px;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: 0 10px 30px -12px rgba(30, 58, 138, 0.45);
}
.rooming-hub .hub-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  pointer-events: none;
}
@media (max-width: 700px) {
  .rooming-hub .hub-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.rooming-hub .hub-hero-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .rooming-hub .hub-hero-mark {
    margin: 0 auto;
  }
}
.rooming-hub .hub-hero-info {
  position: relative;
  z-index: 1;
}
.rooming-hub .hub-hero-info .eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 4px;
}
.rooming-hub .hub-hero-info .hub-hero-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 6px 0;
  color: #fff;
}
.rooming-hub .hub-hero-info .hub-hero-sub {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  line-height: 1.5;
}
.rooming-hub .hub-daterange {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.rooming-hub .hub-daterange .dr-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.rooming-hub .hub-daterange .dr-fields {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  flex: 1;
}
.rooming-hub .hub-daterange .dr-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 150px;
}
.rooming-hub .hub-daterange .dr-field label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
}
.rooming-hub .hub-daterange .dr-field input[type=date] {
  padding: 8px 11px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-family);
  background: #fff;
}
.rooming-hub .hub-daterange .dr-field input[type=date]:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.rooming-hub .hub-daterange .dr-shortcuts {
  display: flex;
  gap: 6px;
  margin-left: auto;
  flex-wrap: wrap;
}
.rooming-hub .hub-daterange .dr-shortcuts button {
  border: 1px solid var(--card-border);
  background: var(--neutral-50);
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all 0.15s ease;
}
.rooming-hub .hub-daterange .dr-shortcuts button:hover {
  background: var(--blue-50);
  color: var(--blue-700);
  border-color: var(--blue-200);
}
.rooming-hub .hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.rooming-hub .hub-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  z-index: 1;
  /* La carte avec un dropdown Tom Select ouvert passe au-dessus de ses voisines.
     Tom Select applique .dropdown-active sur .ts-wrapper quand le dropdown est ouvert. */
}
.rooming-hub .hub-card:has(.ts-wrapper.dropdown-active), .rooming-hub .hub-card:has(.ts-wrapper.focus) {
  z-index: 50;
}
.rooming-hub .hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.1);
}
.rooming-hub .hub-card.accent-indigo {
  border-top: 3px solid #4F46E5;
}
.rooming-hub .hub-card.accent-blue {
  border-top: 3px solid var(--blue-600);
}
.rooming-hub .hub-card.accent-green {
  border-top: 3px solid var(--green-600);
}
.rooming-hub .hub-card.accent-purple {
  border-top: 3px solid var(--purple-600);
}
.rooming-hub .hub-card.accent-amber {
  border-top: 3px solid var(--amber-500);
}
.rooming-hub .hub-card.accent-red {
  border-top: 3px solid var(--red-600);
}
.rooming-hub .hub-card-head {
  padding: 16px 18px 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.rooming-hub .hub-card-head h3 {
  margin: 0 0 2px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--neutral-900);
}
.rooming-hub .hub-card-head p {
  margin: 0;
  font-size: 12px;
  color: var(--neutral-500);
  line-height: 1.4;
}
.rooming-hub .hub-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.accent-indigo .rooming-hub .hub-card-icon {
  background: #EEF2FF;
  color: #4338CA;
}
.accent-blue .rooming-hub .hub-card-icon {
  background: var(--blue-50);
  color: var(--blue-700);
}
.accent-green .rooming-hub .hub-card-icon {
  background: var(--green-50);
  color: var(--green-700);
}
.accent-purple .rooming-hub .hub-card-icon {
  background: var(--purple-50);
  color: var(--purple-700);
}
.accent-amber .rooming-hub .hub-card-icon {
  background: var(--amber-50);
  color: var(--amber-800);
}
.accent-red .rooming-hub .hub-card-icon {
  background: var(--red-50);
  color: var(--red-700);
}
.rooming-hub .hub-card-body {
  padding: 0 18px 14px;
  flex: 1;
}
.rooming-hub .hub-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-family);
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23737373'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.06l3.71-3.83a.75.75 0 011.08 1.04l-4.25 4.38a.75.75 0 01-1.08 0L5.21 8.27a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 34px;
}
.rooming-hub .hub-select:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.rooming-hub .hub-toggle {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.rooming-hub .hub-toggle label {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--card-border);
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all 0.15s ease;
}
.rooming-hub .hub-toggle label input {
  display: none;
}
.rooming-hub .hub-toggle label:has(input:checked) {
  background: var(--blue-50);
  border-color: var(--blue-600);
  color: var(--blue-700);
}
.rooming-hub .hub-info, .rooming-hub .hub-note {
  background: var(--neutral-50);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--neutral-600);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.rooming-hub .hub-info i, .rooming-hub .hub-note i {
  color: var(--blue-600);
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.rooming-hub .hub-note {
  background: var(--amber-50);
  border-color: var(--amber-200);
  color: var(--amber-800);
}
.rooming-hub .hub-note i {
  color: var(--amber-700);
}
.rooming-hub .hub-card-actions {
  padding: 12px 18px 16px;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
  border-radius: 0 0 11px 11px;
}
.rooming-hub .hub-dl {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue-600), #4F46E5);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-family);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.rooming-hub .hub-dl:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(37, 99, 235, 0.4);
}
.rooming-hub .hub-dl:active {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   CHAUFFEURS — pages /gestion/chauffeurs (index + form)
   Scope : .chauffeurs-view. Accent indigo/purple (personnes).
   ═══════════════════════════════════════════════════════════════ */
.chauffeurs-view {
  font-size: 13px;
  /* KPI row (réutilise le style global campus/formations) */
  /* Toolbar */
  /* Grid de chauffeurs */
  /* Empty state */
  /* Form */
}
.chauffeurs-view .page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.chauffeurs-view .page-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.chauffeurs-view .page-title-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #4F46E5, #9333EA);
}
.chauffeurs-view .page-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
  color: var(--neutral-900);
}
.chauffeurs-view .page-subtitle {
  font-size: 13px;
  color: var(--neutral-500);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chauffeurs-view .page-subtitle .pill {
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.chauffeurs-view .page-subtitle .pill.green {
  background: var(--green-50);
  color: var(--green-700);
}
.chauffeurs-view .page-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--neutral-500);
  text-decoration: none;
  margin-bottom: 14px;
}
.chauffeurs-view .page-back:hover {
  color: #4F46E5;
}
.chauffeurs-view .page-actions {
  display: flex;
  gap: 8px;
}
.chauffeurs-view .kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1.25rem;
}
@media (max-width: 1100px) {
  .chauffeurs-view .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.chauffeurs-view .kpi {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.chauffeurs-view .kpi .kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chauffeurs-view .kpi .kpi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.chauffeurs-view .kpi .kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.chauffeurs-view .kpi .kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
}
.chauffeurs-view .toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 12px;
}
.chauffeurs-view .toolbar-search {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.chauffeurs-view .toolbar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-400);
  font-size: 12px;
}
.chauffeurs-view .toolbar-search input {
  width: 100%;
  padding: 8px 11px 8px 34px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 13px;
}
.chauffeurs-view .segmented {
  display: inline-flex;
  background: var(--neutral-100);
  border-radius: 8px;
  padding: 3px;
}
.chauffeurs-view .segmented a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.chauffeurs-view .segmented a i {
  font-size: 10px;
}
.chauffeurs-view .segmented a.is-active {
  background: #fff;
  color: #4F46E5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.chauffeurs-view .segmented a small {
  color: var(--text-tertiary);
  font-weight: 500;
  margin-left: 2px;
}
.chauffeurs-view .chauffeurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.chauffeurs-view .ch-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.15s ease;
}
.chauffeurs-view .ch-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.2);
  border-color: #4F46E5;
}
.chauffeurs-view .ch-card.is-inactive {
  opacity: 0.55;
}
.chauffeurs-view .ch-photo {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #EEF2FF, #F5F3FF);
}
.chauffeurs-view .ch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chauffeurs-view .ch-photo-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4F46E5, #9333EA);
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
}
.chauffeurs-view .ch-status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.chauffeurs-view .ch-status.actif {
  background: var(--green-600);
  color: #fff;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.3);
}
.chauffeurs-view .ch-status.inactif {
  background: var(--neutral-400);
  color: #fff;
}
.chauffeurs-view .ch-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chauffeurs-view .ch-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
}
.chauffeurs-view .ch-presta {
  font-size: 11.5px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chauffeurs-view .ch-presta i {
  font-size: 10px;
  color: #4F46E5;
}
.chauffeurs-view .ch-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11.5px;
  color: var(--neutral-600);
}
.chauffeurs-view .ch-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chauffeurs-view .ch-meta i {
  color: var(--neutral-400);
  font-size: 10px;
  width: 12px;
}
.chauffeurs-view .ch-meta .ch-plaque {
  display: inline-block;
  background: var(--neutral-100);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--neutral-700);
  width: fit-content;
  text-transform: uppercase;
}
.chauffeurs-view .mono {
  font-family: var(--font-mono);
}
.chauffeurs-view .empty-state {
  background: #fff;
  border: 1px dashed var(--card-border);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
  color: var(--neutral-500);
}
.chauffeurs-view .empty-state i {
  font-size: 40px;
  color: var(--neutral-300);
  margin-bottom: 12px;
}
.chauffeurs-view .empty-state h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-700);
  margin: 0 0 6px 0;
}
.chauffeurs-view .empty-state p {
  margin: 0;
  font-size: 13px;
}
.chauffeurs-view .form-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: visible;
  margin-bottom: 20px;
}
.chauffeurs-view .form-section {
  padding: 20px 24px;
  border-bottom: 1px solid var(--neutral-100);
}
.chauffeurs-view .form-section:last-child {
  border-bottom: none;
}
.chauffeurs-view .form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.chauffeurs-view .form-section-head .icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #EEF2FF;
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.chauffeurs-view .form-section-head .icon.amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.chauffeurs-view .form-section-head .icon.purple {
  background: var(--purple-50);
  color: var(--purple-600);
}
.chauffeurs-view .form-section-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.chauffeurs-view .form-section-head .hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--neutral-500);
  font-style: italic;
}
.chauffeurs-view .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 700px) {
  .chauffeurs-view .form-grid {
    grid-template-columns: 1fr;
  }
}
.chauffeurs-view .form-grid .form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}
.chauffeurs-view .form-grid .form-field.full {
  grid-column: 1/-1;
}
.chauffeurs-view .form-grid .form-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neutral-500);
}
.chauffeurs-view .form-grid .required {
  color: var(--red-600);
  margin-left: 2px;
}
.chauffeurs-view .form-grid .form-control {
  padding: 9px 12px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font-family);
  background: #fff;
  box-sizing: border-box;
}
.chauffeurs-view .form-grid .form-control:focus {
  outline: none;
  border-color: #4F46E5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}
.chauffeurs-view .form-grid textarea.form-control {
  resize: vertical;
  min-height: 70px;
}
.chauffeurs-view .form-grid-identite {
  grid-template-columns: 180px 1fr !important;
}
@media (max-width: 700px) {
  .chauffeurs-view .form-grid-identite {
    grid-template-columns: 1fr !important;
  }
}
.chauffeurs-view .form-field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 520px) {
  .chauffeurs-view .form-field-group {
    grid-template-columns: 1fr;
  }
}
.chauffeurs-view .ch-photo-upload {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.chauffeurs-view .ch-photo-upload .ch-photo-preview, .chauffeurs-view .ch-photo-upload .ch-photo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  border: 2px solid var(--neutral-100);
  object-fit: cover;
}
.chauffeurs-view .ch-photo-upload .ch-photo-placeholder {
  background: linear-gradient(135deg, #EEF2FF, #F5F3FF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #C7D2FE;
}
.chauffeurs-view .ch-photo-upload input[type=file] {
  font-size: 11px;
}
.chauffeurs-view .form-hint {
  font-size: 11px;
  color: var(--neutral-500);
}
.chauffeurs-view .form-toggle-card {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--neutral-50);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}
.chauffeurs-view .form-toggle-card .toggle-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
}
.chauffeurs-view .form-toggle-card .toggle-desc {
  font-size: 11.5px;
  color: var(--neutral-500);
  margin-top: 2px;
}
.chauffeurs-view .form-toggle-card .toggle-control {
  display: flex;
  gap: 6px;
}
.chauffeurs-view .form-toggle-card .toggle-control label {
  cursor: pointer;
}
.chauffeurs-view .form-toggle-card .toggle-control label input {
  display: none;
}
.chauffeurs-view .form-toggle-card .toggle-control label span {
  padding: 7px 14px;
  border: 1px solid var(--card-border);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  background: #fff;
  color: var(--neutral-600);
}
.chauffeurs-view .form-toggle-card .toggle-control label input:checked + span {
  background: linear-gradient(135deg, #4F46E5, #9333EA);
  border-color: #4F46E5;
  color: #fff;
}
.chauffeurs-view .form-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--card-border);
  border-radius: 0 0 12px 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  z-index: 5;
}
.chauffeurs-view .form-footer .footer-hint {
  font-size: 12px;
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.chauffeurs-view .form-footer .footer-actions {
  display: flex;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   RESTAURANT FORM — partial gestion/hotels/_restaurant_form.html.twig
   Inclus dans l'onglet "Restauration" de la fiche hôtel (scope .ghe-page).
   Palette Enedis monochromatique (bleu électrique + neutres). Aucun accent
   secondaire — la cohérence visuelle prime sur la signalisation thématique.
   ═══════════════════════════════════════════════════════════════ */
.ghr-restaurant {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* ── Bloc générique (sous-groupement à l'intérieur d'une ghe-section) ── */
  /* ── Capacités d'accueil (fieldset 2x2) ── */
  /* ── Chips (typologie, cuisine, services…) ── */
  /* ── Jours d'ouverture (chips Lun → Dim) ── */
  /* ── Services midi / soir avec créneaux ── */
  /* ── Aperçu hebdomadaire (live, lecture seule) ── */
  /* ── Équipement (groupes Confort / Animation / Accessibilité) ── */
}
.ghr-restaurant .ghr-block + .ghr-restaurant .ghr-block {
  margin-top: 18px;
}
.ghr-restaurant .ghr-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding-bottom: 6px;
}
.ghr-restaurant .ghr-block-k {
  font-size: 12px;
  font-weight: 700;
  color: var(--neutral-800);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ghr-restaurant .ghr-block-k i {
  margin-right: 6px;
  color: var(--enedis-blue);
  font-size: 11px;
}
.ghr-restaurant .ghr-block-meta {
  font-size: 11.5px;
  color: var(--neutral-500);
  font-weight: 500;
}
.ghr-restaurant .ghr-counter {
  font-family: var(--font-mono);
  color: var(--enedis-blue);
  font-weight: 700;
}
.ghr-restaurant .ghr-capacity {
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  background: var(--neutral-50);
}
.ghr-restaurant .ghr-capacity legend {
  padding: 0 8px;
  margin-left: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--neutral-700);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ghr-restaurant .ghr-capacity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 900px) {
  .ghr-restaurant .ghr-capacity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .ghr-restaurant .ghr-capacity-grid {
    grid-template-columns: 1fr;
  }
}
.ghr-restaurant .ghr-cap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: text;
}
.ghr-restaurant .ghr-cap .ghr-cap-k {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ghr-restaurant .ghr-cap .ghr-cap-k i {
  font-size: 10px;
  color: var(--enedis-blue);
  width: 12px;
  text-align: center;
}
.ghr-restaurant .ghr-cap .ghr-cap-input {
  position: relative;
  display: block;
}
.ghr-restaurant .ghr-cap .ghr-cap-input input {
  padding-right: 52px;
  text-align: left;
}
.ghr-restaurant .ghr-cap .ghr-cap-unit {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  pointer-events: none;
}
.ghr-restaurant .ghr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ghr-restaurant .ghr-chip {
  cursor: pointer;
}
.ghr-restaurant .ghr-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ghr-restaurant .ghr-chip input:focus-visible + span {
  outline: 2px solid var(--enedis-blue);
  outline-offset: 2px;
}
.ghr-restaurant .ghr-chip span {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--neutral-700);
  transition: background 140ms, color 140ms, border-color 140ms;
}
.ghr-restaurant .ghr-chip:hover input:not(:checked) + span {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-border);
  color: var(--enedis-blue);
}
.ghr-restaurant .ghr-chip input:checked + span {
  background: var(--enedis-blue);
  border-color: var(--enedis-blue);
  color: #fff;
  font-weight: 600;
}
.ghr-restaurant .ghr-jours {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ghr-restaurant .ghr-jour {
  cursor: pointer;
}
.ghr-restaurant .ghr-jour input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ghr-restaurant .ghr-jour input:focus-visible + .ghr-jour-pill {
  outline: 2px solid var(--enedis-blue);
  outline-offset: 2px;
}
.ghr-restaurant .ghr-jour .ghr-jour-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-600);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.ghr-restaurant .ghr-jour:hover input:not(:checked) + .ghr-jour-pill {
  border-color: var(--enedis-blue-border);
  color: var(--enedis-blue);
}
.ghr-restaurant .ghr-jour input:checked + .ghr-jour-pill {
  background: var(--enedis-blue);
  border-color: var(--enedis-blue);
  color: #fff;
}
.ghr-restaurant .ghr-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ghr-restaurant .ghr-service {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-200);
  border-radius: 12px;
  transition: background 160ms, border-color 160ms;
}
@media (max-width: 720px) {
  .ghr-restaurant .ghr-service {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.ghr-restaurant .ghr-service:has(input[data-restaurant-horaires-target=serviceCheckbox]:checked) {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-border);
}
.ghr-restaurant .ghr-service:not(:has(input[data-restaurant-horaires-target=serviceCheckbox]:checked)) .ghr-service-range {
  opacity: 0.4;
  pointer-events: none;
}
.ghr-restaurant .ghr-service:not(:has(input[data-restaurant-horaires-target=serviceCheckbox]:checked)) .ghr-service-mark {
  background: var(--neutral-200);
  color: var(--neutral-500);
}
.ghr-restaurant .ghr-service-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.ghr-restaurant .ghr-service-toggle input[type=checkbox] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--neutral-300);
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 140ms;
}
.ghr-restaurant .ghr-service-toggle input[type=checkbox]:checked {
  background: var(--enedis-blue);
  border-color: var(--enedis-blue);
}
.ghr-restaurant .ghr-service-toggle input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ghr-restaurant .ghr-service-toggle input[type=checkbox]:focus-visible {
  outline: 2px solid var(--enedis-blue);
  outline-offset: 2px;
}
.ghr-restaurant .ghr-service-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--enedis-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: background 160ms, color 160ms;
  flex-shrink: 0;
}
.ghr-restaurant .ghr-service-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--neutral-900);
}
.ghr-restaurant .ghr-service-range {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 160ms;
}
.ghr-restaurant .ghr-time {
  max-width: 130px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.ghr-restaurant .ghr-time::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}
.ghr-restaurant .ghr-arrow {
  color: var(--neutral-400);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.ghr-restaurant .ghr-preview {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  overflow: hidden;
}
.ghr-restaurant .ghr-preview-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
  border-top: 1px solid var(--neutral-100);
}
.ghr-restaurant .ghr-preview-row:first-child {
  border-top: 0;
}
.ghr-restaurant .ghr-preview-row.is-closed {
  background: var(--neutral-50);
  color: var(--text-tertiary);
}
.ghr-restaurant .ghr-preview-row.is-closed .ghr-preview-slots {
  font-style: italic;
}
.ghr-restaurant .ghr-preview-day {
  font-weight: 600;
  color: var(--neutral-700);
  font-size: 12.5px;
}
.ghr-restaurant .ghr-preview-slots {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--neutral-800);
  letter-spacing: 0.02em;
}
.ghr-restaurant .ghr-preview-slots .ghr-slot {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  font-weight: 600;
  margin-right: 6px;
}
.ghr-restaurant .ghr-preview-slots .ghr-slot i {
  font-size: 9px;
  margin-right: 4px;
  opacity: 0.8;
}
.ghr-restaurant .ghr-equip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
}
.ghr-restaurant .ghr-equip-item {
  cursor: pointer;
}
.ghr-restaurant .ghr-equip-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ghr-restaurant .ghr-equip-item input:focus-visible + .ghr-equip-card {
  outline: 2px solid var(--enedis-blue);
  outline-offset: 2px;
}
.ghr-restaurant .ghr-equip-item .ghr-equip-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-700);
  transition: background 140ms, border-color 140ms, color 140ms;
}
.ghr-restaurant .ghr-equip-item .ghr-equip-card i {
  font-size: 14px;
  color: var(--neutral-400);
  width: 18px;
  text-align: center;
  transition: color 140ms;
}
.ghr-restaurant .ghr-equip-item:hover input:not(:checked) + .ghr-equip-card {
  border-color: var(--enedis-blue-border);
  color: var(--enedis-blue);
}
.ghr-restaurant .ghr-equip-item:hover input:not(:checked) + .ghr-equip-card i {
  color: var(--enedis-blue);
}
.ghr-restaurant .ghr-equip-item input:checked + .ghr-equip-card {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue);
  color: var(--enedis-blue);
  font-weight: 600;
}
.ghr-restaurant .ghr-equip-item input:checked + .ghr-equip-card i {
  color: var(--enedis-blue);
}

/* ═══════════════════════════════════════════════════════════════
   SOCIETE TAXI — portail prestataire (dashboard + chauffeurs)
   Réutilise le design system de Mes Réservations via .resa-list.
   Cette feuille n'ajoute QUE la modal d'ajout chauffeur (non couverte
   par les autres partials).
   ═══════════════════════════════════════════════════════════════ */
.taxi-modal-back {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 27, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 20px;
  overflow-y: auto;
}
.taxi-modal-back.is-open {
  display: flex;
}

.taxi-modal {
  width: min(560px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.taxi-modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--neutral-100);
  display: flex;
  align-items: center;
  gap: 12px;
}
.taxi-modal-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
  flex: 1;
}
.taxi-modal-head .taxi-modal-close {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 13px;
}
.taxi-modal-head .taxi-modal-close:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}

.taxi-modal-body {
  padding: 18px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.taxi-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .taxi-form-grid {
    grid-template-columns: 1fr;
  }
}

.taxi-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.taxi-form-group label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-700);
}
.taxi-form-group input {
  padding: 7px 11px;
  border: 1px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 7px;
  font-size: 13px;
  font-family: inherit;
  color: var(--neutral-900);
  transition: all 150ms;
}
.taxi-form-group input::placeholder {
  color: var(--neutral-400);
}
.taxi-form-group input:focus {
  outline: none;
  background: #fff;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-halo);
}

.taxi-modal-foot {
  padding: 14px 20px;
  margin-top: 4px;
  border-top: 1px solid var(--neutral-100);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* ═══════════════════════════════════════════════════════════════
   RÉSERVATION — page d'annulation
   Scope : .ar-page. Hero adaptatif (couleur sémantique selon
   niveau de pénalité), récap, bandeau pénalité, 3 options
   d'action numérotées. Palette Enedis + sémantiques.
   ═══════════════════════════════════════════════════════════════ */
.ar-page {
  --enedis-blue: #1432FA;
  --enedis-blue-soft: #EEF1FF;
  --enedis-blue-border: #C7D0FF;
  --enedis-blue-deep: #0F22B8;
  --ar-radius: 14px;
  padding-bottom: 96px;
  /* ── Breadcrumb ──────────────────────────────────────────── */
  /* ── Hero (couleur dépend du niveau de pénalité) ────────── */
  /* ── Récap ──────────────────────────────────────────────── */
  /* ── Bandeau Pénalité ───────────────────────────────────── */
  /* ── Section "Choisir une action" ───────────────────────── */
  /* ── Action card (générique) ────────────────────────────── */
  /* ── Tags (utilisés dans les heads) ─────────────────────── */
  /* ── Suggestions d'optimisation ─────────────────────────── */
  /* — Flux entre hôtels — */
  /* — Détail des chiffres — */
  /* ── Champs (formulaires) ──────────────────────────────── */
  /* ── Recherche stagiaire (réutilise la search globale) ── */
  /* ── Dropdown de résultats (injecté par stagiaire-search) ── */
  /* ── Stagiaire sélectionné (carte de prévisualisation) ──── */
  /* ── Boutons ──────────────────────────────────────────── */
}
.ar-page .ar-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ar-page .ar-crumb-link {
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 150ms, color 150ms;
}
.ar-page .ar-crumb-link:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.ar-page .ar-crumb-link i {
  font-size: 11px;
}
.ar-page .ar-crumb-sep {
  color: var(--neutral-300);
}
.ar-page .ar-crumb-current {
  color: var(--neutral-900);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ar-page .ar-crumb-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--neutral-100);
  color: var(--neutral-700);
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.ar-page .ar-hero {
  --hero-accent: var(--neutral-700);
  --hero-soft: var(--neutral-100);
  position: relative;
  border-radius: var(--ar-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neutral-200);
  margin-bottom: 24px;
}
.ar-page .ar-hero.ar-hero-gratuite {
  --hero-accent: var(--green-600);
  --hero-soft: var(--green-50);
}
.ar-page .ar-hero.ar-hero-partielle {
  --hero-accent: var(--amber-600, #D97706);
  --hero-soft: var(--amber-50);
}
.ar-page .ar-hero.ar-hero-totale {
  --hero-accent: var(--red-600);
  --hero-soft: var(--red-50);
}
.ar-page .ar-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 240px at 100% 0%, color-mix(in srgb, var(--hero-accent) 12%, transparent), transparent 60%), radial-gradient(ellipse 500px 260px at 0% 100%, color-mix(in srgb, var(--hero-accent) 6%, transparent), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--hero-soft) 60%, #fff) 0%, #FFFFFF 100%);
  pointer-events: none;
}
.ar-page .ar-hero-inner {
  position: relative;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}
.ar-page .ar-hero-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--hero-accent) 0%, color-mix(in srgb, var(--hero-accent) 75%, #000) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 10px 20px -6px color-mix(in srgb, var(--hero-accent) 40%, transparent), inset 0 -2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.ar-page .ar-hero-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 50%);
  pointer-events: none;
}
.ar-page .ar-hero-meta {
  min-width: 0;
}
.ar-page .ar-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--hero-accent);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ar-page .ar-eyebrow i {
  font-size: 10px;
}
.ar-page .ar-title {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  line-height: 1.15;
  word-break: break-word;
}
.ar-page .ar-subline {
  margin: 0;
  color: var(--neutral-600);
  font-size: 13px;
  line-height: 1.5;
}
.ar-page .ar-recap {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--ar-radius);
  margin-bottom: 16px;
}
.ar-page .ar-recap-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--neutral-100);
}
.ar-page .ar-recap-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ar-page .ar-recap-head h2 i {
  color: var(--enedis-blue);
  font-size: 13px;
}
.ar-page .ar-recap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 1100px) {
  .ar-page .ar-recap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .ar-page .ar-recap-grid {
    grid-template-columns: 1fr;
  }
}
.ar-page .ar-recap-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--neutral-100);
}
.ar-page .ar-recap-cell:last-child {
  border-right: none;
}
@media (max-width: 1100px) {
  .ar-page .ar-recap-cell:nth-child(2n) {
    border-right: none;
  }
  .ar-page .ar-recap-cell:nth-child(-n+2) {
    border-bottom: 1px solid var(--neutral-100);
  }
}
@media (max-width: 540px) {
  .ar-page .ar-recap-cell {
    border-right: none;
    border-bottom: 1px solid var(--neutral-100);
  }
  .ar-page .ar-recap-cell:last-child {
    border-bottom: none;
  }
}
.ar-page .ar-recap-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.ar-page .ar-recap-body {
  min-width: 0;
  flex: 1;
}
.ar-page .ar-recap-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--neutral-500);
  margin-bottom: 4px;
}
.ar-page .ar-recap-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.3;
  word-break: break-word;
}
.ar-page .ar-recap-sub {
  font-size: 12px;
  color: var(--neutral-500);
  margin-top: 3px;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ar-page .ar-recap-sub i {
  font-size: 9px;
  opacity: 0.6;
}
.ar-page .ar-recap-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.ar-page .ar-penalty {
  --p-color: var(--neutral-700);
  --p-bg: var(--neutral-50);
  --p-border: var(--neutral-200);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--p-bg);
  border: 1px solid var(--p-border);
  border-left: 4px solid var(--p-color);
  border-radius: var(--ar-radius);
  margin-bottom: 24px;
}
.ar-page .ar-penalty.ar-penalty-gratuite {
  --p-color: var(--green-700);
  --p-bg: var(--green-50);
  --p-border: var(--green-200);
}
.ar-page .ar-penalty.ar-penalty-partielle {
  --p-color: var(--amber-800);
  --p-bg: var(--amber-50);
  --p-border: var(--amber-200);
}
.ar-page .ar-penalty.ar-penalty-totale {
  --p-color: var(--red-700);
  --p-bg: var(--red-50);
  --p-border: var(--red-200);
}
.ar-page .ar-penalty.ar-penalty-warning {
  --p-color: var(--amber-800);
  --p-bg: #FFFBEB;
  --p-border: var(--amber-200);
}
@media (max-width: 720px) {
  .ar-page .ar-penalty {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }
  .ar-page .ar-penalty .ar-penalty-amount {
    grid-column: 1/-1;
    text-align: left;
    border-top: 1px dashed var(--p-border);
    padding-top: 14px;
  }
}
.ar-page .ar-penalty-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--p-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.ar-page .ar-penalty-body {
  min-width: 0;
}
.ar-page .ar-penalty-eyebrow {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--p-color);
  opacity: 0.85;
  margin-bottom: 4px;
}
.ar-page .ar-penalty-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--p-color);
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.ar-page .ar-penalty-msg {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.5;
}
.ar-page .ar-penalty-amount {
  text-align: right;
  flex-shrink: 0;
}
.ar-page .ar-penalty-amount-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--neutral-500);
  margin-bottom: 4px;
}
.ar-page .ar-penalty-amount-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--p-color);
  letter-spacing: -0.5px;
  line-height: 1;
}
.ar-page .ar-penalty-amount-sub {
  margin-top: 4px;
  font-size: 11px;
  color: var(--neutral-500);
}
.ar-page .ar-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ar-page .ar-actions-head h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ar-page .ar-actions-head h2 i {
  color: var(--enedis-blue);
  font-size: 14px;
}
.ar-page .ar-actions-head p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-500);
}
.ar-page .ar-action {
  --action-accent: var(--enedis-blue);
  --action-soft: var(--enedis-blue-soft);
  position: relative;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--ar-radius);
  transition: border-color 200ms, box-shadow 200ms;
}
.ar-page .ar-action:hover:not(.is-disabled) {
  border-color: var(--action-accent);
  box-shadow: 0 6px 20px -10px color-mix(in srgb, var(--action-accent) 25%, transparent);
}
.ar-page .ar-action.ar-action-info {
  --action-accent: var(--neutral-400);
  --action-soft: var(--neutral-100);
}
.ar-page .ar-action.ar-action-optim {
  --action-accent: var(--green-600);
  --action-soft: var(--green-50);
}
.ar-page .ar-action.ar-action-replace {
  --action-accent: var(--enedis-blue);
  --action-soft: var(--enedis-blue-soft);
  /* z-index plus élevé pour que le dropdown passe au-dessus
     de la carte 03 "Annuler sans remplaçant". */
  z-index: 5;
}
.ar-page .ar-action.ar-action-cancel {
  --action-accent: var(--red-600);
  --action-soft: var(--red-50);
}
.ar-page .ar-action.is-disabled {
  background: var(--neutral-50);
  opacity: 0.85;
}
.ar-page .ar-action-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--neutral-100);
}
.ar-page .ar-action-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--action-accent);
  background: var(--action-soft);
  border: 1px solid color-mix(in srgb, var(--action-accent) 25%, var(--neutral-200));
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.ar-page .ar-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--action-soft);
  color: var(--action-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ar-page .ar-action-titles {
  flex: 1;
  min-width: 0;
}
.ar-page .ar-action-titles h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
}
.ar-page .ar-action-titles p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-500);
  line-height: 1.5;
}
.ar-page .ar-action-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  /* Les <form> à l'intérieur deviennent eux-mêmes flex column,
     pour garantir un placement propre du bouton submit (sinon
     certains UA appliquent un léger margin par défaut sur form
     qui décale le bouton vers la gauche). */
}
.ar-page .ar-action-body > form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.ar-page .ar-action-lead {
  margin: 0;
  font-size: 13px;
  color: var(--neutral-700);
  line-height: 1.6;
}
.ar-page .ar-action-lead strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.ar-page .ar-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid transparent;
  flex-shrink: 0;
}
.ar-page .ar-tag i {
  font-size: 10px;
}
.ar-page .ar-tag.ar-tag-success {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.ar-page .ar-tag.ar-tag-warning {
  background: var(--amber-50);
  color: var(--amber-800);
  border-color: var(--amber-200);
}
.ar-page .ar-tag.ar-tag-danger {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.ar-page .ar-tag.ar-tag-muted {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}
.ar-page .ar-empty-inline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: var(--neutral-50);
  border-left: 3px solid var(--neutral-300);
  border-radius: 0 8px 8px 0;
  font-size: 12.5px;
  color: var(--neutral-600);
  line-height: 1.5;
}
.ar-page .ar-empty-inline i {
  color: var(--neutral-400);
  margin-top: 2px;
  flex-shrink: 0;
}
.ar-page .ar-suggestions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ar-page .ar-sugg {
  --sugg-accent: var(--green-600);
  --sugg-soft: var(--green-50);
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  transition: border-color 200ms, box-shadow 200ms;
}
.ar-page .ar-sugg.ar-sugg-acceptable {
  --sugg-accent: var(--amber-500);
  --sugg-soft: var(--amber-50);
}
.ar-page .ar-sugg:hover {
  border-color: var(--sugg-accent);
  box-shadow: 0 4px 14px -8px color-mix(in srgb, var(--sugg-accent) 30%, transparent);
}
.ar-page .ar-sugg-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.ar-page .ar-sugg-name {
  flex: 1;
  min-width: 200px;
  font-size: 13px;
  color: var(--neutral-700);
}
.ar-page .ar-sugg-name strong {
  display: block;
  color: var(--neutral-900);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.ar-page .ar-sugg-name-sub {
  font-size: 11.5px;
  color: var(--neutral-500);
}
.ar-page .ar-sugg-saving {
  text-align: right;
}
.ar-page .ar-sugg-saving-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-500);
  font-weight: 600;
  margin-bottom: 2px;
}
.ar-page .ar-sugg-saving-value {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--sugg-accent);
  letter-spacing: -0.5px;
}
.ar-page .ar-sugg-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--neutral-50);
  border-radius: 10px;
  margin-bottom: 12px;
}
@media (max-width: 540px) {
  .ar-page .ar-sugg-flow {
    grid-template-columns: 1fr;
  }
  .ar-page .ar-sugg-flow .ar-sugg-flow-arrow {
    transform: rotate(90deg);
    margin: 4px auto;
  }
}
.ar-page .ar-sugg-flow-side {
  min-width: 0;
}
.ar-page .ar-sugg-flow-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--neutral-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.ar-page .ar-sugg-flow-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 3px;
  word-break: break-word;
}
.ar-page .ar-sugg-flow-cost {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neutral-600);
  font-weight: 600;
}
.ar-page .ar-sugg-flow-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--sugg-accent);
  color: var(--sugg-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.ar-page .ar-sugg-breakdown {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  overflow: hidden;
}
.ar-page .ar-sugg-breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px;
  font-size: 12.5px;
  color: var(--neutral-700);
  border-bottom: 1px dashed var(--neutral-100);
}
.ar-page .ar-sugg-breakdown li:last-child {
  border-bottom: none;
}
.ar-page .ar-sugg-breakdown li strong {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
}
.ar-page .ar-sugg-breakdown-total {
  background: var(--sugg-soft);
  font-weight: 600;
}
.ar-page .ar-sugg-breakdown-total span {
  color: var(--neutral-900);
  font-weight: 700;
}
.ar-page .ar-sugg-breakdown-total strong {
  font-size: 15px !important;
}
.ar-page .ar-pos {
  color: var(--green-700);
}
.ar-page .ar-neg {
  color: var(--red-700);
}
.ar-page .ar-emph-danger {
  color: var(--red-700);
  font-weight: 700;
}
.ar-page .ar-sugg-form {
  margin: 0;
}
.ar-page .ar-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ar-page .ar-field label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ar-page .ar-field label i {
  font-size: 10px;
  color: var(--enedis-blue);
  width: 12px;
  text-align: center;
}
.ar-page .ar-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 9px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--neutral-900);
  transition: all 160ms;
}
.ar-page .ar-input::placeholder {
  color: var(--neutral-400);
}
.ar-page .ar-input:hover:not(:focus):not(:disabled) {
  border-color: var(--neutral-300);
  background: #fff;
}
.ar-page .ar-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--enedis-blue) 14%, transparent);
}
.ar-page .ar-search {
  position: relative;
  max-width: 720px;
}
.ar-page .ar-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ar-page .ar-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-400);
  font-size: 13px;
  pointer-events: none;
}
.ar-page .ar-search-input {
  width: 100%;
  padding: 11px 40px 11px 38px;
  border: 1.5px solid var(--neutral-200);
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--neutral-900);
  transition: all 160ms;
}
.ar-page .ar-search-input::placeholder {
  color: var(--neutral-400);
}
.ar-page .ar-search-input:hover:not(:focus) {
  border-color: var(--neutral-300);
}
.ar-page .ar-search-input:focus {
  outline: none;
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--enedis-blue) 14%, transparent);
}
.ar-page .ar-search-spinner {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--enedis-blue);
  font-size: 13px;
}
.ar-page .search-results-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.02);
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  /* Scrollbar discrète */
}
.ar-page .search-results-dropdown::-webkit-scrollbar {
  width: 8px;
}
.ar-page .search-results-dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.ar-page .search-results-dropdown::-webkit-scrollbar-thumb {
  background: var(--neutral-200);
  border-radius: 4px;
  border: 2px solid #fff;
}
.ar-page .search-results-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-300);
}
.ar-page .search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 120ms;
}
.ar-page .search-result-item:hover, .ar-page .search-result-item.highlighted {
  background: var(--enedis-blue-soft);
}
.ar-page .search-result-item + .search-result-item {
  margin-top: 2px;
}
.ar-page .search-result-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--enedis-blue) 0%, var(--enedis-blue-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 8px -3px color-mix(in srgb, var(--enedis-blue) 35%, transparent), inset 0 -1px 2px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.ar-page .search-result-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 50%);
  pointer-events: none;
}
.ar-page .search-result-info {
  flex: 1;
  min-width: 0;
}
.ar-page .search-result-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.2;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ar-page .search-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 11.5px;
  color: var(--neutral-500);
  line-height: 1.3;
}
.ar-page .search-result-meta > span {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}
.ar-page .badge-mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border: 1px solid var(--enedis-blue-border);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.4px;
}
.ar-page .search-no-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  text-align: center;
}
.ar-page .search-no-result > i {
  color: var(--neutral-300) !important;
  font-size: 26px !important;
}
.ar-page .search-no-result > span {
  color: var(--neutral-700);
  font-size: 13px;
  font-weight: 600;
}
.ar-page .search-no-result .btn {
  margin-top: 4px;
}
.ar-page .stagiaire-selected-card {
  margin-top: 12px;
  background: #fff;
  border: 1.5px solid var(--enedis-blue-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px -6px color-mix(in srgb, var(--enedis-blue) 25%, transparent);
}
.ar-page .stagiaire-selected-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--enedis-blue-soft) 50%, #fff) 0%, #fff 100%);
  border-bottom: 1px solid var(--enedis-blue-border);
  flex-wrap: wrap;
}
.ar-page .stagiaire-selected-avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--enedis-blue) 0%, var(--enedis-blue-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--enedis-blue) 40%, transparent), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}
.ar-page .stagiaire-selected-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 50%);
  pointer-events: none;
}
.ar-page .stagiaire-selected-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.ar-page .stagiaire-selected-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ar-page .stagiaire-selected-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: var(--neutral-100);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
}
.ar-page .stagiaire-selected-change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-700);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 150ms;
  flex-shrink: 0;
}
.ar-page .stagiaire-selected-change i {
  font-size: 10px;
  color: var(--enedis-blue);
}
.ar-page .stagiaire-selected-change:hover {
  border-color: var(--enedis-blue-border);
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
}
.ar-page .stagiaire-selected-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding: 16px 18px;
}
@media (max-width: 600px) {
  .ar-page .stagiaire-selected-body {
    grid-template-columns: 1fr;
  }
}
.ar-page .stagiaire-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ar-page .stagiaire-info-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--neutral-500);
}
.ar-page .stagiaire-info-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--neutral-900);
  word-break: break-word;
}
.ar-page .ar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 160ms;
  white-space: nowrap;
}
.ar-page .ar-btn i {
  font-size: 12px;
}
.ar-page .ar-btn:active {
  transform: translateY(1px);
}
.ar-page .ar-btn-primary {
  background: var(--enedis-blue);
  color: #fff;
  align-self: flex-start;
}
.ar-page .ar-btn-primary:hover {
  background: var(--enedis-blue-deep);
}
.ar-page .ar-btn-success {
  background: var(--green-600);
  color: #fff;
  align-self: flex-start;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--green-600) 40%, transparent);
}
.ar-page .ar-btn-success:hover {
  background: var(--green-700);
  box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--green-600) 50%, transparent);
}
.ar-page .ar-btn-danger {
  background: var(--red-600);
  color: #fff;
  align-self: flex-start;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--red-600) 40%, transparent);
}
.ar-page .ar-btn-danger:hover {
  background: var(--red-700);
  box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--red-600) 50%, transparent);
}

/* ── Animations ──────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   GESTION — page liste des stagiaires (annuaire)
   Scope : .gs-page. Hero + KPIs + toolbar (search/DR/segments) +
   table propre cliquable. Palette Enedis monochromatique.
   ═══════════════════════════════════════════════════════════════ */
.gs-page {
  --enedis-blue: #1432FA;
  --enedis-blue-soft: #EEF1FF;
  --enedis-blue-border: #C7D0FF;
  --enedis-blue-deep: #0F22B8;
  --gs-radius: 14px;
  padding-bottom: 64px;
  /* ── Breadcrumb ──────────────────────────────────────────── */
  /* ── Hero ────────────────────────────────────────────────── */
  /* ── KPI strip ───────────────────────────────────────────── */
  /* ── Toolbar ─────────────────────────────────────────────── */
  /* ── Segmented filter ────────────────────────────────────── */
  /* ── Table card ──────────────────────────────────────────── */
  /* ── Table ───────────────────────────────────────────────── */
  /* ── Cell : person ──────────────────────────────────────── */
  /* ── Cell : DR ──────────────────────────────────────────── */
  /* ── Cell : contact ─────────────────────────────────────── */
  /* ── Cell : manager ─────────────────────────────────────── */
  /* ── Cell : activity ─────────────────────────────────────── */
  /* ── Cell : empty placeholder ─────────────────────────── */
  /* ── Cell : actions ──────────────────────────────────────── */
  /* ── Empty state (table vide) ─────────────────────────── */
}
.gs-page .gs-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.gs-page .gs-crumb-link {
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 150ms, color 150ms;
}
.gs-page .gs-crumb-link:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.gs-page .gs-crumb-link i {
  font-size: 11px;
}
.gs-page .gs-crumb-sep {
  color: var(--neutral-300);
}
.gs-page .gs-crumb-step {
  color: var(--neutral-600);
}
.gs-page .gs-crumb-current {
  color: var(--neutral-900);
  font-weight: 600;
}
.gs-page .gs-hero {
  position: relative;
  border-radius: var(--gs-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neutral-200);
  margin-bottom: 24px;
}
.gs-page .gs-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 240px at 100% 0%, rgba(20, 50, 250, 0.08), transparent 60%), radial-gradient(ellipse 500px 260px at 0% 100%, rgba(20, 50, 250, 0.04), transparent 60%), linear-gradient(135deg, #FAFBFF 0%, #FFFFFF 100%);
  pointer-events: none;
}
.gs-page .gs-hero-inner {
  position: relative;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
@media (max-width: 900px) {
  .gs-page .gs-hero-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    padding: 22px;
  }
  .gs-page .gs-hero-inner .gs-hero-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
}
.gs-page .gs-hero-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--enedis-blue) 0%, var(--enedis-blue-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 10px 20px -6px color-mix(in srgb, var(--enedis-blue) 40%, transparent), inset 0 -2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.gs-page .gs-hero-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 50%);
  pointer-events: none;
}
.gs-page .gs-hero-meta {
  min-width: 0;
}
.gs-page .gs-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--enedis-blue);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gs-page .gs-eyebrow i {
  font-size: 10px;
}
.gs-page .gs-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.gs-page .gs-subline {
  margin: 0;
  color: var(--neutral-500);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 64ch;
}
.gs-page .gs-cta {
  background: var(--enedis-blue);
  white-space: nowrap;
}
.gs-page .gs-cta:hover:not(:disabled) {
  background: var(--enedis-blue-deep);
}
.gs-page .gs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .gs-page .gs-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gs-page .gs-stats {
    grid-template-columns: 1fr;
  }
}
.gs-page .gs-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--gs-radius);
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}
.gs-page .gs-stat:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 16px -8px color-mix(in srgb, var(--enedis-blue) 20%, transparent);
  transform: translateY(-1px);
}
.gs-page .gs-stat.is-warning {
  background: #FFFBF5;
  border-color: #FED7AA;
}
.gs-page .gs-stat.is-warning .gs-stat-icon {
  background: var(--amber-50);
  color: var(--amber-700);
}
.gs-page .gs-stat.is-warning .gs-stat-value {
  color: var(--amber-800);
}
.gs-page .gs-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.gs-page .gs-stat-body {
  min-width: 0;
}
.gs-page .gs-stat-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.8px;
  line-height: 1;
}
.gs-page .gs-stat-value small {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-left: 4px;
  letter-spacing: 0;
}
.gs-page .gs-stat-label {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--neutral-500);
  margin-top: 5px;
}
.gs-page .gs-toolbar {
  display: grid;
  grid-template-columns: 1fr 280px auto;
  gap: 10px;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .gs-page .gs-toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .gs-page .gs-toolbar .gs-search {
    grid-column: 1/-1;
  }
}
@media (max-width: 540px) {
  .gs-page .gs-toolbar {
    grid-template-columns: 1fr;
  }
}
.gs-page .gs-search {
  position: relative;
}
.gs-page .gs-search > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--neutral-400);
  font-size: 13px;
  pointer-events: none;
}
.gs-page .gs-search-input {
  width: 100%;
  padding: 11px 38px 11px 38px;
  border: 1.5px solid var(--neutral-200);
  background: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--neutral-900);
  transition: all 160ms;
}
.gs-page .gs-search-input::placeholder {
  color: var(--neutral-400);
}
.gs-page .gs-search-input:hover:not(:focus) {
  border-color: var(--neutral-300);
}
.gs-page .gs-search-input:focus {
  outline: none;
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--enedis-blue) 14%, transparent);
}
.gs-page .gs-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--neutral-100);
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-decoration: none;
  transition: all 150ms;
}
.gs-page .gs-search-clear:hover {
  background: var(--neutral-200);
  color: var(--neutral-900);
}
.gs-page .gs-filter-dr {
  min-width: 0;
}
.gs-page .gs-select {
  width: 100%;
  padding: 11px 38px 11px 14px;
  border: 1.5px solid var(--neutral-200);
  background: #fff;
  border-radius: 10px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--neutral-900);
  cursor: pointer;
  transition: all 160ms;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23737373' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  appearance: none;
  -webkit-appearance: none;
}
.gs-page .gs-select:hover:not(:focus) {
  border-color: var(--neutral-300);
}
.gs-page .gs-select:focus {
  outline: none;
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--enedis-blue) 14%, transparent);
}
.gs-page .gs-btn-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border: 1.5px solid var(--enedis-blue-border);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 160ms;
}
.gs-page .gs-btn-filter i {
  font-size: 11px;
  color: var(--enedis-blue);
}
.gs-page .gs-btn-filter:hover {
  background: var(--enedis-blue);
  color: #fff;
  border-color: var(--enedis-blue);
}
.gs-page .gs-btn-filter:hover i {
  color: #fff;
}
.gs-page .gs-segments {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.gs-page .gs-segment {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1.5px solid var(--neutral-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-700);
  text-decoration: none;
  transition: all 160ms;
  /* Variante "warning" pour le segment "À compléter" non actif */
}
.gs-page .gs-segment i {
  font-size: 11px;
  color: var(--neutral-400);
}
.gs-page .gs-segment:hover {
  border-color: var(--enedis-blue-border);
  color: var(--neutral-900);
}
.gs-page .gs-segment:hover i {
  color: var(--enedis-blue);
}
.gs-page .gs-segment.is-active {
  background: var(--enedis-blue);
  border-color: var(--enedis-blue);
  color: #fff;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--enedis-blue) 40%, transparent);
}
.gs-page .gs-segment.is-active i {
  color: #fff;
}
.gs-page .gs-segment.is-active .gs-segment-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.gs-page .gs-segment.gs-segment-warning:not(.is-active) i {
  color: var(--amber-700);
}
.gs-page .gs-segment.gs-segment-warning:not(.is-active) .gs-segment-count {
  background: var(--amber-50);
  color: var(--amber-800);
}
.gs-page .gs-segment-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--neutral-100);
  color: var(--neutral-600);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
  transition: all 160ms;
}
.gs-page .gs-table-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--gs-radius);
  overflow: hidden;
}
.gs-page .gs-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--neutral-100);
  flex-wrap: wrap;
}
.gs-page .gs-table-head h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gs-page .gs-table-head h2 i {
  color: var(--enedis-blue);
  font-size: 13px;
}
.gs-page .gs-table-count {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 8px;
}
.gs-page .gs-table-warn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber-50);
  color: var(--amber-800);
  border: 1px solid var(--amber-200);
  font-size: 11.5px;
  font-weight: 600;
}
.gs-page .gs-table-warn i {
  font-size: 10px;
}
.gs-page .gs-table-wrap {
  overflow-x: auto;
}
.gs-page .gs-table {
  width: 100%;
  border-collapse: collapse;
}
.gs-page .gs-table thead th {
  background: var(--neutral-50);
  color: var(--neutral-500);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
  white-space: nowrap;
}
.gs-page .gs-table .gs-th-actions {
  text-align: right;
  width: 130px;
}
.gs-page .gs-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--neutral-100);
  vertical-align: middle;
  font-size: 13px;
}
.gs-page .gs-table tbody tr:last-child td {
  border-bottom: none;
}
.gs-page .gs-row {
  cursor: pointer;
  transition: background 120ms;
}
.gs-page .gs-row:hover {
  background: var(--enedis-blue-soft);
}
.gs-page .gs-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.gs-page .gs-person-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.gs-page .gs-person-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.25), transparent 50%);
  pointer-events: none;
}
.gs-page .gs-person-info {
  min-width: 0;
  flex: 1;
}
.gs-page .gs-person-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.2;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gs-page .gs-person-nni {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.gs-page .gs-person-nni i {
  font-size: 9px;
  opacity: 0.7;
}
.gs-page .gs-person-nni.is-missing {
  color: var(--amber-700);
  font-family: inherit;
  font-style: italic;
  letter-spacing: 0;
}
.gs-page .gs-person-nni.is-missing i {
  color: var(--amber-600, #D97706);
  opacity: 1;
}
.gs-page .gs-dr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.gs-page .gs-dr-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border: 1px solid var(--enedis-blue-border);
  font-size: 11.5px;
  font-weight: 600;
  align-self: flex-start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gs-page .gs-dr-tag i {
  font-size: 9px;
  color: var(--enedis-blue);
  flex-shrink: 0;
}
.gs-page .gs-dr-lieu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--neutral-500);
}
.gs-page .gs-dr-lieu i {
  font-size: 9px;
  color: var(--neutral-400);
}
.gs-page .gs-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.gs-page .gs-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--neutral-700);
  min-width: 0;
}
.gs-page .gs-contact-line i {
  font-size: 10px;
  color: var(--neutral-400);
  width: 12px;
  flex-shrink: 0;
}
.gs-page .gs-contact-val {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}
.gs-page .gs-manager {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.gs-page .gs-manager-avatar {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gs-page .gs-manager-avatar.is-empty {
  background: var(--neutral-100);
  color: var(--text-tertiary);
  font-size: 11px;
  font-family: inherit;
}
.gs-page .gs-manager-name {
  font-size: 12.5px;
  color: var(--neutral-700);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.gs-page .gs-manager-name.is-empty {
  color: var(--text-tertiary);
  font-style: italic;
}
.gs-page .gs-activity {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.gs-page .gs-activity-bubble {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  align-self: flex-start;
  border: 1px solid transparent;
  font-family: inherit;
}
.gs-page .gs-activity-bubble i {
  font-size: 10px;
}
.gs-page .gs-activity-bubble.is-active {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.gs-page .gs-activity-bubble.is-inactive {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}
.gs-page .gs-activity-bubble.is-none {
  background: var(--neutral-50);
  color: var(--text-tertiary);
  border-color: var(--neutral-200);
}
.gs-page .gs-activity-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--neutral-500);
}
.gs-page .gs-activity-date i {
  font-size: 9px;
  opacity: 0.6;
}
.gs-page .gs-empty {
  font-size: 11.5px;
  color: var(--text-tertiary);
  font-style: italic;
}
.gs-page .gs-cell-actions {
  text-align: right;
  white-space: nowrap;
}
.gs-page .gs-cell-actions form {
  display: inline;
  margin: 0;
}
.gs-page .gs-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 11.5px;
  text-decoration: none;
  margin-left: 4px;
  transition: all 150ms;
}
.gs-page .gs-act:hover {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  border-color: var(--enedis-blue-border);
}
.gs-page .gs-act.gs-act-danger:hover {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.gs-page .gs-empty-cell {
  padding: 0 !important;
}
.gs-page .gs-empty-state {
  text-align: center;
  padding: 56px 24px;
}
.gs-page .gs-empty-state h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
}
.gs-page .gs-empty-state p {
  margin: 0;
  color: var(--neutral-500);
  font-size: 13px;
}
.gs-page .gs-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* ── Animations ──────────────────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════
   FACTURATION — page d'export
   Maquette Claude Design « Dashboard Admin › Export facturation ».
   Scope : .fx-page. En-tête + préréglages, filtres, synthèse (bandeau
   marine), aperçu paginé à gauche, panneau d'export à droite.
   ═══════════════════════════════════════════════════════════════ */
.fx-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 48px;
  color: #1A2238;
  line-height: normal;
  animation: fx-rise 0.35s ease both;
}
.fx-page h1, .fx-page h2 {
  margin: 0;
  color: #1D2D5C;
}
.fx-page h2 {
  font-size: 15px;
  font-weight: 800;
}
.fx-page button {
  font-family: inherit;
}
.fx-page [hidden] {
  display: none !important;
}

@keyframes fx-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fx-dd-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fx-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  min-width: 0;
}

.fx-pad {
  padding: 16px 18px;
}

.fx-muted {
  font-size: 12px;
  font-weight: 700;
  color: #9AA3B8;
}

.fx-strong {
  font-weight: 800;
  color: #1D2D5C;
}

.fx-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.fx-note {
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
  margin-top: 10px;
  line-height: 1.5;
}

.fx-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9AA3B8;
  margin-bottom: 6px;
}

/* ── En-tête ─────────────────────────────────────────────────── */
.fx-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.fx-head h1 {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.fx-head p {
  margin: 6px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.55;
  max-width: 680px;
}

.fx-head-txt {
  flex: 1;
  min-width: 280px;
}

.fx-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4FA235;
}
.fx-eyebrow span {
  width: 18px;
  height: 2px;
  background: #6CC04A;
}

.fx-seg {
  display: flex;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 4px;
}

.fx-seg-btn {
  height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #6B7490;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.fx-seg-btn:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.fx-seg-btn.is-on {
  background: #1D2D5C;
  color: #fff;
}

/* ── Filtres ─────────────────────────────────────────────────── */
.fx-filters {
  padding: 16px 18px;
}

.fx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
}

.fx-field {
  display: block;
  min-width: 0;
  margin: 0;
}

.fx-input,
.fx-dd-btn {
  height: 40px;
  width: 100%;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.fx-input:focus, .fx-input:focus-visible,
.fx-dd-btn:focus,
.fx-dd-btn:focus-visible {
  border-color: #1D2D5C;
}

.fx-dd {
  position: relative;
}

.fx-dd-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}
.fx-dd-btn.is-set {
  border-color: #C7D2EA;
  background: #EEF3FC;
}
.fx-dd-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.fx-dd-val {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-dd-chev {
  font-size: 11px;
  color: #6B7490;
  transition: transform 0.3s;
}

.fx-dd-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 100%;
  max-height: 300px;
  overflow: auto;
  z-index: 40;
  padding: 6px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
  animation: fx-dd-in 0.2s ease backwards;
}

.fx-dd-opt {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
  cursor: pointer;
}
.fx-dd-opt:hover, .fx-dd-opt:focus-visible {
  background: #F1F4F9;
  outline: none;
}
.fx-dd-opt.is-on {
  background: #F0FAEC;
  font-weight: 800;
}

.fx-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.fx-count {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}

.fx-chips-list {
  display: contents;
}

.fx-chip {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #C7D2EA;
  background: #EEF3FC;
  color: #34508C;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.fx-chip:hover {
  background: #E1E9F8;
}

.fx-link {
  height: 26px;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: none;
  font-size: 12px;
  font-weight: 800;
  color: #34508C;
  cursor: pointer;
}
.fx-link:hover {
  background: #F1F4F9;
}

.fx-perim {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
}

/* ── Synthèse ────────────────────────────────────────────────── */
.fx-synth {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  padding: 22px 26px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(120deg, #1D2D5C 0%, #24397A 60%, #2C4A8C 100%);
  box-shadow: 0 18px 44px rgba(29, 45, 92, 0.22);
}

.fx-synth-main {
  flex: 1 1 380px;
  min-width: 0;
}

.fx-synth-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8FD97A;
}

.fx-synth-total {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.fx-synth-big {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fx-synth-sub {
  font-size: 13.5px;
  font-weight: 700;
  color: #C7CEE3;
}

.fx-postes {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.fx-poste {
  min-width: 120px;
}

.fx-poste-l {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9FB0D8;
}

.fx-poste-sw {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

.fx-poste-v {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}

.fx-poste-s {
  font-size: 11px;
  font-weight: 600;
  color: #C7CEE3;
}

.fx-postes-bar {
  display: flex;
  gap: 2px;
  height: 8px;
  max-width: 560px;
  margin-top: 14px;
  border-radius: 4px;
  overflow: hidden;
}
.fx-postes-bar span {
  transition: flex 0.4s;
}

.fx-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  flex: 0 1 340px;
  min-width: 260px;
}

.fx-kpi {
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.fx-kpi-l, .fx-kpi-s {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-kpi-l {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8E9AC2;
}

.fx-kpi-v {
  font-size: 22px;
  font-weight: 800;
  margin-top: 5px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.fx-kpi-s {
  font-size: 10.5px;
  font-weight: 600;
  color: #C7CEE3;
  margin-top: 3px;
}

/* ── Colonnes ────────────────────────────────────────────────── */
.fx-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

@media (max-width: 1200px) {
  .fx-cols {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ── Aperçu ──────────────────────────────────────────────────── */
.fx-apercu {
  overflow: hidden;
}

.fx-apercu, .fx-synth {
  transition: opacity 0.2s;
}

.fx-page.is-loading .fx-apercu,
.fx-page.is-loading .fx-synth {
  opacity: 0.55;
}

.fx-apercu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #F1F4F9;
  flex-wrap: wrap;
}

.fx-apercu-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.fx-tabs {
  display: flex;
  gap: 4px;
  background: #F1F4F9;
  border-radius: 10px;
  padding: 3px;
}

.fx-tab {
  height: 30px;
  padding: 0 11px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #6B7490;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.fx-tab.is-on {
  background: #fff;
  color: #1D2D5C;
  box-shadow: 0 1px 3px rgba(20, 33, 71, 0.12);
}

.fx-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 220px;
  height: 36px;
  margin: 0;
  padding: 0 10px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
}
.fx-search i {
  font-size: 12px;
  color: #9AA3B8;
}
.fx-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #1D2D5C;
}
.fx-search:focus-within {
  border-color: #1D2D5C;
  background: #fff;
}

.fx-empty {
  padding: 40px 20px;
  text-align: center;
}

.fx-empty-t {
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}

.fx-empty-s {
  font-size: 12.5px;
  font-weight: 600;
  color: #7A8298;
  margin-top: 4px;
}

.fx-table-wrap {
  overflow-x: auto;
}

.fx-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  table-layout: fixed;
}
.fx-table th {
  padding: 10px;
  background: #FAFBFD;
  text-align: left;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9AA3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fx-table td {
  padding: 9px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #324063;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  vertical-align: middle;
}
.fx-table .c {
  text-align: center;
  white-space: nowrap;
  padding-left: 4px;
  padding-right: 4px;
}
.fx-table .r {
  text-align: right;
}
.fx-table tbody tr {
  border-top: 1px solid #F1F4F9;
}
.fx-table tbody tr:hover {
  background: #F8FAFD;
}
.fx-table tbody tr.is-veille {
  background: #FFFBF4;
}
.fx-table tfoot tr {
  background: #FAFBFD;
  border-top: 2px solid #E2E8F0;
}
.fx-table tfoot td {
  padding: 11px 10px;
  font-weight: 800;
  color: #1D2D5C;
}

.fx-row-nom {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-row-sub {
  font-size: 11px;
  font-weight: 600;
  color: #7A8298;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fx-row-sub .fx-mono {
  color: #9AA3B8;
}

.fx-tr-sub {
  font-size: 10px;
  font-weight: 700;
  color: #9AA3B8;
  margin-top: 1px;
  line-height: 1.3;
}

.fx-code {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #3E4A6B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-dates {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
}

.fx-zero {
  color: #B5BCCA;
}

.fx-total {
  font-size: 13.5px;
}

.fx-j1 {
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  background: #FCEFDC;
  color: #A85D00;
  vertical-align: middle;
}

.fx-statut {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  background: #F1F4F9;
  color: #324063;
}
.fx-statut.is-vert {
  background: #E7F5E0;
  color: #2F7A1E;
}
.fx-statut.is-ambre {
  background: #FCEFDC;
  color: #A85D00;
}
.fx-statut.is-bleu {
  background: #E3EAF6;
  color: #34508C;
}
.fx-statut.is-rouge {
  background: #FBE7E5;
  color: #A23A2E;
}

.fx-dot {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.fx-table tbody tr.fx-group {
  border-top-color: #EEF1F6;
}

.fx-group {
  cursor: pointer;
}
.fx-group td {
  background: #F4F6FA;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.fx-group:hover td, .fx-group:focus-visible td {
  background: #EEF3FC;
}
.fx-group:focus-visible {
  outline: none;
}

.fx-group-in {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fx-group-l {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fx-group-s {
  font-weight: 700;
  color: #9AA3B8;
}

.fx-group-go {
  font-size: 11px;
  font-weight: 800;
  color: #34508C;
  white-space: nowrap;
}

.fx-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid #F1F4F9;
  flex-wrap: wrap;
}
.fx-pager .fx-muted {
  font-weight: 600;
  color: #6B7490;
  font-size: 12.5px;
}
.fx-pager .fx-muted b {
  color: #1D2D5C;
}

.fx-per {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #6B7490;
}

.fx-per-seg {
  display: flex;
  gap: 3px;
  background: #F1F4F9;
  border-radius: 9px;
  padding: 3px;
}
.fx-per-seg button {
  height: 26px;
  padding: 0 9px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #6B7490;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}
.fx-per-seg button.is-on {
  background: #fff;
  color: #1D2D5C;
  box-shadow: 0 1px 3px rgba(20, 33, 71, 0.12);
}

.fx-pages {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Bouton de pagination. Pas « .fx-page » : c'est le conteneur de la page entière. */
.fx-pg {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 9px;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.fx-pg i {
  font-size: 10px;
}
.fx-pg:hover:not(:disabled) {
  background: #F4F6FA;
}
.fx-pg.is-on {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}
.fx-pg:disabled {
  opacity: 0.4;
  cursor: default;
}

.fx-gap {
  color: #9AA3B8;
  font-size: 12px;
  padding: 0 2px;
}

.fx-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-top: 1px solid #F1F4F9;
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
  flex-wrap: wrap;
}
.fx-legend > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fx-legend-sw {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: #FFFBF4;
  border: 1px solid #F3D48B;
}

.fx-legend-r {
  margin-left: auto;
}

/* ── Panneau d'export ────────────────────────────────────────── */
.fx-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fx-lead {
  font-size: 12.5px;
  font-weight: 600;
  color: #7A8298;
  margin-top: 3px;
  line-height: 1.5;
}

.fx-formats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.fx-format {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s;
}
.fx-format:hover {
  border-color: #1D2D5C;
}
.fx-format.is-on {
  border-color: #1D2D5C;
  background: #F7F9FC;
}
.fx-format.is-on .fx-radio {
  border-color: #1D2D5C;
  background: #1D2D5C;
}

.fx-format-ic {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 800;
}

.fx-format-ic--xls {
  background: #E7F5E0;
  color: #2F7A1E;
}

.fx-format-ic--csv {
  background: #E3EAF6;
  color: #34508C;
}

.fx-format-txt {
  flex: 1;
  min-width: 0;
}
.fx-format-txt b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.fx-format-txt span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #7A8298;
  margin-top: 1px;
  line-height: 1.4;
}

.fx-radio {
  width: 18px;
  height: 18px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #C9D0DC;
  background: #fff;
  box-shadow: inset 0 0 0 3px #fff;
}

.fx-content {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F7F9FC;
}

.fx-content-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fx-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  color: #7A8298;
  cursor: pointer;
}
.fx-opt.is-fixe {
  cursor: default;
}
.fx-opt[type=button] {
  margin-top: 7px;
}
.fx-opt.is-on {
  color: #1D2D5C;
}
.fx-opt.is-on .fx-check {
  border-color: #1D2D5C;
  background: #1D2D5C;
}

.fx-check {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 5px;
  border: 1.5px solid #C9D0DC;
  background: #fff;
}
.fx-check i {
  font-size: 10px;
  color: #fff;
}

.fx-opt-l {
  flex: 1;
}

.fx-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 999px;
  background: #E3EAF6;
  color: #34508C;
}

.fx-go {
  margin-top: 14px;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: none;
  border-radius: 12px;
  background: #4FA235;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, filter 0.2s;
}
.fx-go:hover:not(:disabled) {
  filter: brightness(1.05);
}
.fx-go.is-csv {
  background: #1D2D5C;
}
.fx-go:disabled {
  background: #C9D0DC;
  cursor: not-allowed;
}

.fx-go-sous {
  font-size: 11.5px;
  font-weight: 600;
  color: #9AA3B8;
  margin-top: 8px;
  line-height: 1.5;
  text-align: center;
}

.fx-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.fx-bar {
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}
.fx-bar:hover .fx-bar-l {
  color: #1D2D5C;
  text-decoration: underline;
}

.fx-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #324063;
}
.fx-bar-head b {
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fx-bar-l {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fx-bar-track {
  height: 6px;
  margin-top: 4px;
  border-radius: 3px;
  background: #F2F4F8;
  overflow: hidden;
}

.fx-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.4s;
}

.fx-hist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.fx-hist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid #EEF1F6;
  border-radius: 10px;
}

.fx-hist-ic {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 800;
}

.fx-hist-txt {
  flex: 1;
  min-width: 0;
}
.fx-hist-txt b, .fx-hist-txt span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fx-hist-txt b {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.fx-hist-txt span {
  font-size: 11px;
  font-weight: 600;
  color: #9AA3B8;
}

.fx-hist-btn {
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid #DEE3EC;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
  color: #34508C;
  white-space: nowrap;
  cursor: pointer;
}
.fx-hist-btn:hover {
  background: #F4F6FA;
}

@keyframes cp-dd {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes cp-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cp-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 4px 0 48px;
  color: #3E4A6B;
}
.cp-page a {
  text-decoration: none;
}
.cp-page [hidden] {
  display: none !important;
}

.cp-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.cp-head .pr-search {
  width: 300px;
  max-width: 100%;
}

.cp-titre {
  flex: 1;
  min-width: 260px;
}
.cp-titre h1 {
  margin: 2px 0 0;
  font-size: 26px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}
.cp-titre p {
  margin: 6px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #6B7490;
  max-width: 640px;
  line-height: 1.55;
}

.cp-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.cp-kpi {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cp-kpi b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cp-kpi > span:last-child > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 3px;
  white-space: nowrap;
}

.cp-kpi-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #E3EAF6;
  color: #1D2D5C;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.cp-seg {
  align-self: flex-start;
}

.cp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.cp-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cp-card:hover {
  border-color: #1D2D5C;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 33, 71, 0.1);
}
.cp-card.is-off {
  opacity: 0.72;
}

.cp-card-v {
  height: 130px;
  position: relative;
  display: grid;
  place-items: center;
}

.cp-card-ph {
  font-size: 30px;
  color: rgba(255, 255, 255, 0.35);
}

.cp-card-st {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #6B7490;
}
.cp-card-st > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.cp-card-st.is-on {
  background: #E7F5E0;
  color: #2E5320;
}

.cp-card-reg {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1D2D5C;
}

.cp-card-b {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.cp-card-n {
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1.25;
}

.cp-card-l {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 3px;
}
.cp-card-l i {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-right: 5px;
}

.cp-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.cp-tags span {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.cp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: auto;
}
.cp-stats > div {
  padding: 8px 10px;
  border-radius: 10px;
  background: #F7F9FC;
  min-width: 0;
}
.cp-stats b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cp-stats span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-card-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #F0F2F6;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
}
.cp-card-f span i {
  margin-right: 7px;
  color: #4FA235;
}
.cp-card-f > i {
  color: #C4CAD6;
}

.cpf-groups {
  overflow: hidden;
}

.cpf-group {
  padding: 18px 22px 20px;
  border-top: 1px solid #F0F2F6;
}
.cpf-group:first-child {
  border-top: none;
}
.cpf-group .pf-fields {
  padding: 0;
}

.cpf-gh {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.cpf-gh i {
  color: #1D2D5C;
  font-size: 13px;
}
.cpf-gh b {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.cpf-gh span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.cpf-lab {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cpf-lab-ic i {
  font-size: 10px;
  color: var(--text-tertiary) !important;
  margin: 0 !important;
}

.cpf-tag {
  margin-left: 4px;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #6B7490;
  text-transform: none;
  letter-spacing: 0;
}

.pf-tg-t b .cpf-tag {
  display: inline-block;
  margin-left: 6px;
  vertical-align: 1px;
}

.cpf-hint {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 6px;
  line-height: 1.45;
}

.pf-f.is-dis {
  opacity: 0.55;
}
.pf-f.is-dis .pf-num {
  background: #F7F9FC;
}

.cpf-sel {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s;
}
.cpf-sel > span {
  flex: 1;
  min-width: 0;
}
.cpf-sel b {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
}
.cpf-sel b.is-vide {
  color: var(--text-tertiary);
}
.cpf-sel b + span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 1px;
  line-height: 1.4;
}
.cpf-sel > i {
  font-size: 10px;
  color: var(--text-secondary);
  transition: transform 0.2s;
}
.cpf-sel.is-open {
  border-color: #1D2D5C;
}
.cpf-sel.is-open > i {
  transform: rotate(180deg);
}

.cpf-dd-back {
  position: fixed;
  inset: 0;
  z-index: 39;
}

.cpf-dd {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
  padding: 6px;
  animation: cp-dd 0.18s ease both;
}
.cpf-dd button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.cpf-dd button:hover, .cpf-dd button.is-on {
  background: #F1F4F9;
}
.cpf-dd button > span {
  flex: 1;
  min-width: 0;
}
.cpf-dd button b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.cpf-dd button b + span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1px;
  line-height: 1.45;
}
.cpf-dd button > i {
  font-size: 11px;
  color: #4FA235;
  margin-top: 3px;
}

.cpf-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F5F8FD;
  border: 1px solid #D3E0F5;
}
.cpf-info > i {
  color: #34508C;
  margin-top: 2px;
}
.cpf-info > span {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: #4E5A75;
  line-height: 1.55;
}
.cpf-info a {
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.cpf-info a i {
  font-size: 10px;
}

.cpf-photo-v {
  width: 240px;
  height: 130px;
}

.cpf-vide {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cpf-vide > i {
  font-size: 20px;
  color: #C4CAD6;
}
.cpf-vide b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.cpf-vide span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.cpf-gal {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cpf-gal-add {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
  padding: 13px 14px;
  background: #F7F9FC;
  border: 1px solid #E4E8F0;
  border-radius: 12px;
}

.cpf-gal-k {
  display: block;
  min-width: 220px;
}
.cpf-gal-k > span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.cpf-gal-k .pf-in, .cpf-gal-k select {
  height: 40px;
}

.cpf-gal-leg {
  flex: 1;
  min-width: 200px;
}

.cpf-gal-btn {
  height: 40px;
}

.cpf-gal-note {
  flex-basis: 100%;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.cpf-gal-h {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.cpf-gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.cpf-gal-grid figure {
  margin: 0;
  border: 1px solid #E4E8F0;
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
}
.cpf-gal-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #EEF1F6;
}
.cpf-gal-grid figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}
.cpf-gal-grid figcaption span {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 600;
  color: #5A6273;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cpf-gal-grid figcaption button {
  border: none;
  background: none;
  color: #B23A36;
  cursor: pointer;
  font-size: 12px;
}

.cpf-gal-vide {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  background: #F7F9FC;
  border-radius: 11px;
}
.cpf-gal-vide > i {
  font-size: 20px;
  color: #C4CAD6;
}
.cpf-gal-vide b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.cpf-gal-vide span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.cpf-resto {
  padding: 18px 20px;
}

.cpf-occ {
  padding: 18px 20px;
}

.cpf-occ-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cpf-occ-nav > button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid #DEE3EC;
  background: #fff;
  cursor: pointer;
  color: #324063;
  font-size: 11px;
}
.cpf-occ-nav > button:hover {
  background: #F4F6FA;
}
.cpf-occ-nav > b {
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
  min-width: 170px;
  text-align: center;
  text-transform: capitalize;
}
.cpf-occ-nav .cpf-occ-auj {
  width: auto;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}
.cpf-occ-nav > span {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}
.cpf-occ-nav > span b {
  color: #1D2D5C;
}

.cpf-leg {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cpf-leg span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #5A6273;
}
.cpf-leg i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid;
}

.cpf-cal {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.cpf-cal-h {
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding-bottom: 4px;
}

.cpf-day {
  min-height: 66px;
  border-radius: 10px;
  border: 1.5px solid;
  padding: 7px 8px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.15s;
  font-family: inherit;
  min-width: 0;
}
.cpf-day:hover {
  border-color: #1D2D5C !important;
}
.cpf-day .n {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.cpf-day .n i {
  font-size: 9px;
  color: #A85D00;
}
.cpf-day .o {
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cpf-day .b {
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.cpf-day .b > span {
  display: block;
  height: 100%;
}
.cpf-day.is-past {
  opacity: 0.7;
}
.cpf-day.is-today .n {
  color: #4FA235;
}
.cpf-day.is-out {
  background: #fff;
  border-color: #F0F2F6;
  opacity: 0.25;
  cursor: default;
}
.cpf-day.is-out:hover {
  border-color: #F0F2F6 !important;
}

@media (max-width: 700px) {
  .cpf-day {
    min-height: 54px;
    padding: 5px;
  }
  .cpf-day .o {
    font-size: 9.5px;
  }
}
.cpf-ovs {
  overflow: hidden;
}

.cpf-ovs-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid #F0F2F6;
  flex-wrap: wrap;
}
.cpf-ovs-h > i {
  color: #A85D00;
}
.cpf-ovs-h > b {
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.cpf-ovs-h .cpf-n {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #6B7490;
}
.cpf-ovs-h .cpf-ovs-aide {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.cpf-ov {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-top: 1px solid #F0F2F6;
  flex-wrap: wrap;
}
.cpf-ov:nth-child(2) {
  border-top: none;
}
.cpf-ov .d {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  min-width: 110px;
  font-variant-numeric: tabular-nums;
}
.cpf-ov .c {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: #FCEFDC;
  color: #A85D00;
  white-space: nowrap;
}
.cpf-ov .c.is-0 {
  background: #F1F4F9;
  color: #6B7490;
}
.cpf-ov .m {
  flex: 1;
  min-width: 160px;
  font-size: 13px;
  font-weight: 700;
  color: #324063;
}
.cpf-ov .m span {
  font-weight: 600;
  color: var(--text-secondary);
}

.cpf-x {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #E4E8F0;
  background: #fff;
  color: var(--text-tertiary);
  cursor: pointer;
}
.cpf-x:hover {
  color: #B23A36;
  border-color: #F2C8C5;
}

.cpf-ovs-vide {
  padding: 22px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.cpf-modal-back {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 33, 71, 0.42);
  animation: cp-fade 0.2s ease both;
}

.cpf-modal {
  position: fixed;
  z-index: 90;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 40px 90px rgba(20, 33, 71, 0.35);
}

.cpf-modal-h {
  padding: 16px 22px;
  background: #1D2D5C;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cpf-modal-h > span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  flex: none;
}
.cpf-modal-h > span i {
  color: #6CC04A;
}
.cpf-modal-h > div {
  flex: 1;
}
.cpf-modal-h > div b {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.cpf-modal-h > div span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #C7CEE3;
  margin-top: 1px;
}
.cpf-modal-h button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.cpf-modal-b {
  padding: 20px 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.cpf-modal-b > label {
  display: block;
}
.cpf-modal-b .cpf-modal-w {
  grid-column: 1/-1;
}

.cpf-modal-f {
  padding: 12px 22px;
  border-top: 1px solid #E2E8F0;
  background: #FAFBFD;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cpf-modal-f > span {
  flex: 1;
}

.cpf-del {
  height: 38px;
  padding: 0 13px;
  border-radius: 9px;
  border: 1px solid #F2C8C5;
  background: #fff;
  color: #B23A36;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.cpf-hero {
  background: #1D2D5C;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 25, 55, 0.18);
  padding: 20px 24px;
  margin-bottom: 14px;
}
.cpf-hero span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #9FB0D8;
}
.cpf-hero b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 4px 0 5px;
}
.cpf-hero span:last-child {
  font-size: 13px;
  font-weight: 600;
}

.cpf-recap-g b {
  white-space: pre-line;
}

.cpf-atts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cpf-att {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit !important;
  border-radius: 8px;
}
.cpf-att:hover em {
  color: #1D2D5C;
}
.cpf-att > span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}
.cpf-att em {
  flex: 1;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
}
.cpf-att b {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.cpf-att > i {
  font-size: 9px;
  color: #C4CAD6;
}

.cpf .pf-rail-note b {
  color: #5A6273;
}

.cpf .pf-steps {
  gap: 4px;
}

.cpf .pf-step {
  gap: 4px;
}
.cpf .pf-step button {
  padding: 6px 10px 6px 7px;
  gap: 8px;
}
.cpf .pf-step .m {
  width: 24px;
  height: 24px;
  font-size: 11px;
}
.cpf .pf-step .l {
  font-size: 12px;
}
.cpf .pf-step .s {
  font-size: 10px;
}
.cpf .pf-step .ln {
  width: 14px;
}

.pv {
  --pv-navy: #1D2D5C;
  --pv-encre: #3E4A6B;
  --pv-gris: #5A6273;
  --pv-trait: #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--pv-encre);
}
.pv p {
  margin: 0;
}

.pv-vide {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  font-weight: 600;
  color: #5A6273;
}

.pv-etiquette {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pv-gris);
}

.pv-carte {
  background: #fff;
  border: 1.5px solid var(--pv-trait);
  border-radius: 16px;
}

.pv-tete {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.pv-tete-pastille {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--pv-navy);
  color: #6CC04A;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  flex: none;
}

.pv-tete-texte {
  flex: 1;
  min-width: 280px;
}

.pv-tete-ligne {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pv-titre {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--pv-navy);
  letter-spacing: -0.02em;
}

.pv-lecture {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--pv-encre);
  border: 1.5px dashed #9AA3B8;
  border-radius: 8px;
  padding: 4px 10px;
  white-space: nowrap;
}

.pv-sous {
  font-size: 13px;
  font-weight: 600;
  color: var(--pv-gris);
  margin-top: 3px !important;
}

.pv-bouton {
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: none;
  background: var(--pv-navy);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 8px 20px rgba(29, 45, 92, 0.22);
  white-space: nowrap;
}
.pv-bouton:hover {
  background: #27376A;
}
.pv-bouton:focus-visible {
  outline: 3px solid #6CC04A;
  outline-offset: 2px;
}
.pv-bouton:disabled {
  background: #9AA3B8;
  box-shadow: none;
  cursor: not-allowed;
}
.pv-bouton i {
  font-size: 13px;
}

.pv-remplissage {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pv-remplissage-chiffres {
  flex: none;
}

.pv-remplissage-total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}

.pv-remplissage-nb {
  font-size: 30px;
  font-weight: 800;
  color: var(--pv-navy);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pv-remplissage-pct {
  font-size: 22px;
  font-weight: 800;
  color: #2E5320;
  font-variant-numeric: tabular-nums;
}

.pv-remplissage-jauge {
  flex: 1 1 260px;
  min-width: 220px;
}

.pv-jauge {
  display: flex;
  gap: 2px;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
  background: #EDF0F5;
}

.pv-jauge-occ {
  background: var(--pv-navy);
}

.pv-jauge-blk {
  background: repeating-linear-gradient(45deg, #9AA3B8, #9AA3B8 4px, #D5DBE6 4px, #D5DBE6 8px);
}

.pv-jauge-legende {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
}

.pv-hotels {
  flex: 1 1 320px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: #F4F6FA;
  border-radius: 12px;
  padding: 12px 14px;
}
.pv-hotels > i {
  color: #34508C;
  font-size: 14px;
  margin-top: 2px;
}

.pv-hotels-titre {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--pv-navy);
}

.pv-hotels-texte {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pv-gris);
  margin-top: 2px;
  line-height: 1.45;
}

.pv-barre {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.pv-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}
.pv-nav a {
  color: #34508C;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pv-nav a:hover {
  color: var(--pv-navy);
}

.pv-nav-semaine {
  font-size: 14px;
  font-weight: 800;
  color: var(--pv-navy);
  white-space: nowrap;
}

.pv-bats {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 700;
}
.pv-bats a {
  color: #34508C;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.pv-bats a span {
  font-size: 11px;
  color: var(--pv-gris);
}
.pv-bats a.is-on {
  color: var(--pv-navy);
  font-weight: 800;
  border-bottom-color: var(--pv-navy);
}

.pv-legende {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
}
.pv-legende > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pv-legende i {
  font-size: 10px;
}

.pv-puce {
  width: 22px;
  height: 12px;
  border-radius: 3px;
}

.pv-puce--occ {
  background: var(--pv-navy);
}

.pv-puce--libre {
  background: #fff;
  border: 1.5px solid #C9D2E3;
}

.pv-puce--blk {
  background: repeating-linear-gradient(45deg, #D5DBE6, #D5DBE6 4px, #E9EDF4 4px, #E9EDF4 8px);
  border: 1px solid #9AA3B8;
}

.pv-puce--pmr {
  background: #33447A;
  outline: 1.5px solid #E0A93B;
  outline-offset: -1.5px;
}

.pv-plan {
  position: relative;
}

.pv-grille-carte {
  border-radius: 18px;
  overflow: hidden;
}

.pv-defile {
  overflow-x: auto;
}

.pv-grille {
  min-width: 900px;
}

.pv-ligne {
  display: grid;
  grid-template-columns: 150px repeat(14, minmax(40px, 1fr));
}

.pv-ligne--tete {
  background: #FAFBFD;
  border-bottom: 1px solid var(--pv-trait);
}

.pv-col-chambre {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
}

.pv-jour {
  grid-column: span 2;
  padding: 7px 2px;
  text-align: center;
  border-left: 1px solid #F1F4F9;
}
.pv-jour.is-ferme {
  background: #F1F3F8;
}
.pv-jour.is-today .pv-jour-num {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.pv-jour-dow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pv-gris);
}

.pv-jour-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--pv-navy);
}

.pv-jour-taux {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--pv-encre);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pv-jour-taux.is-plein {
  color: #2E5320;
}

.pv-bat {
  padding: 7px 14px;
  background: #F2F4F9;
  border-bottom: 1px solid var(--pv-trait);
  font-size: 12px;
  font-weight: 800;
  color: var(--pv-navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.pv-bat span {
  color: var(--pv-gris);
  font-weight: 700;
}

.pv-etage {
  padding: 5px 12px;
  background: #F6F8FB;
  border-bottom: 1px solid #EAEEF5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pv-gris);
}

.pv-ligne--chambre {
  grid-auto-rows: 38px;
  border-bottom: 1px solid #F2F4F8;
  cursor: pointer;
  transition: background 0.15s;
}
.pv-ligne--chambre:hover {
  background: #EEF3FC;
}
.pv-ligne--chambre:focus-visible {
  outline: 2px solid var(--pv-navy);
  outline-offset: -2px;
}

.pv-num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--pv-navy);
  white-space: nowrap;
}

.pv-pmr {
  font-size: 9.5px;
  font-weight: 800;
  border-radius: 4px;
  padding: 1px 5px;
  background: #EFE7F8;
  color: #5B2BB5;
}

.pv-cell {
  grid-row: 1;
  border-left: 1px solid #F2F4F8;
}
.pv-cell.is-ferme {
  background: repeating-linear-gradient(135deg, #F4F6FA 0 6px, #ECEFF5 6px 12px);
}

.pv-barre-occ,
.pv-barre-pmr,
.pv-barre-blk {
  grid-row: 1;
  margin: 5px 2px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding: 0 9px;
  overflow: hidden;
  min-width: 0;
  font-size: 11px;
}
.pv-barre-occ span,
.pv-barre-pmr span,
.pv-barre-blk span {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pv-barre-occ i,
.pv-barre-pmr i,
.pv-barre-blk i {
  font-size: 10px;
  flex: none;
}

.pv-barre-occ {
  background: var(--pv-navy);
  color: #fff;
  font-weight: 700;
  cursor: default;
}

.pv-barre-pmr {
  gap: 7px;
  background: #33447A;
  outline: 1.5px solid #E0A93B;
  outline-offset: -1.5px;
  color: #fff;
  font-weight: 700;
  cursor: help;
}
.pv-barre-pmr i {
  color: #F3D48B;
}
.pv-barre-pmr .pv-barre-nom {
  flex: 1;
}
.pv-barre-pmr .pv-barre-verrou {
  flex: none;
  font-size: 9px;
  font-weight: 800;
  color: #33447A;
  background: #F3D48B;
  border-radius: 4px;
  padding: 1px 5px;
}

.pv-barre-blk {
  gap: 6px;
  background: repeating-linear-gradient(45deg, #D5DBE6, #D5DBE6 5px, #E9EDF4 5px, #E9EDF4 10px);
  border: 1px solid #9AA3B8;
  color: var(--pv-encre);
  font-weight: 800;
  cursor: help;
}

.pv-barre-pmr:focus-visible,
.pv-barre-blk:focus-visible {
  outline: 2px solid #6CC04A;
  outline-offset: 1px;
}

.pv-aide {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pv-gris);
}

.pv-bulle {
  position: absolute;
  z-index: 20;
  width: 340px;
  background: #fff;
  border: 1.5px solid var(--pv-navy);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.22);
  padding: 14px 16px;
  pointer-events: none;
}
.pv-bulle[hidden] {
  display: none;
}

.pv-bulle-tete {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pv-bulle-icone {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: none;
  background: #E6EAF1;
  color: var(--pv-encre);
}
.pv-bulle-icone.is-pmr {
  background: #EFE7F8;
  color: #5B2BB5;
}

.pv-bulle-titre {
  font-size: 15px;
  font-weight: 800;
  color: var(--pv-navy);
}

.pv-bulle-sous {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pv-gris);
}

.pv-bulle-ligne {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid #EEF1F6;
}
.pv-bulle-ligne dt {
  width: 92px;
  flex: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pv-gris);
}
.pv-bulle-ligne dd {
  flex: 1;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--pv-navy);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pv-bulle dl {
  margin: 0;
}

.pv-bulle-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 11px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #FDF6EA;
  border: 1px solid #E0A93B;
  font-size: 13px;
  font-weight: 800;
  color: #7A4A00;
  line-height: 1.4;
}
.pv-bulle-note i {
  margin-top: 2px;
}

.pv-voile {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 25, 55, 0.55);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 24px;
}
.pv-voile[hidden] {
  display: none;
}

.pv-fenetre {
  width: min(860px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  animation: pv-pop 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes pv-pop {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pv-fenetre {
    animation: none;
  }
  .pv-ligne--chambre {
    transition: none;
  }
}
.pv-fenetre-tete {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid #EEF1F6;
}
.pv-fenetre-tete > div {
  flex: 1;
}

.pv-fenetre-icone {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--pv-navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
}

.pv-fenetre-titre {
  font-size: 20px;
  font-weight: 800;
  color: var(--pv-navy);
  letter-spacing: -0.01em;
}

.pv-fenetre-sous {
  font-size: 13px;
  font-weight: 600;
  color: var(--pv-gris);
  margin-top: 1px;
}

.pv-fermer {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #F1F4F9;
  color: var(--pv-navy);
  cursor: pointer;
  font-size: 14px;
  flex: none;
}

.pv-fenetre-corps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.pv-fenetre-col {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pv-fenetre-col:first-child {
  border-right: 1px solid #EEF1F6;
}

.pv-champ {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--pv-gris);
}
.pv-champ span {
  letter-spacing: 0;
  text-transform: none;
}

.pv-periode {
  font-size: 13px;
  font-weight: 800;
  color: #B23A36;
}
.pv-periode.is-ok {
  color: var(--pv-navy);
}

.pv-oblig {
  font-size: 11.5px;
  font-weight: 800;
  color: #B23A36;
}

.pv-facultatif {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--pv-gris);
}
.pv-facultatif.is-oblig {
  color: #B23A36;
  font-weight: 800;
}

.pv-select {
  position: relative;
  display: block;
}
.pv-select select {
  appearance: none;
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--pv-trait);
  border-radius: 12px;
  padding: 0 38px 0 14px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 15px;
  font-weight: 800;
  color: var(--pv-navy);
  background: #fff;
  cursor: pointer;
  outline: none;
}
.pv-select select:focus {
  border-color: var(--pv-navy);
}
.pv-select i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--pv-gris);
  pointer-events: none;
}

.pv-cal {
  border: 1.5px solid var(--pv-trait);
  border-radius: 14px;
  padding: 12px;
}

.pv-cal-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--pv-navy);
  text-transform: capitalize;
}

.pv-cal-nav {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #34508C;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}
.pv-cal-nav:hover {
  background: #F1F4F9;
}
.pv-cal-nav:disabled {
  color: #C9D2E3;
  cursor: default;
  background: transparent;
}

.pv-cal-jours,
.pv-cal-grille {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 3px;
}

.pv-cal-jours {
  margin-bottom: 4px;
}
.pv-cal-jours span {
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--pv-gris);
}

.pv-cal-jour {
  height: 34px;
  border-radius: 9px;
  border: none;
  background: #F8FAFC;
  color: var(--pv-navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.pv-cal-jour.is-dans {
  background: #E3EAF6;
  font-weight: 800;
}
.pv-cal-jour.is-bord {
  background: var(--pv-navy);
  color: #fff;
  font-weight: 800;
}
.pv-cal-jour:disabled {
  background: transparent;
  color: #B5BCCA;
  cursor: default;
}
.pv-cal-jour:focus-visible {
  outline: 2px solid #6CC04A;
  outline-offset: 1px;
}

.pv-indication {
  font-size: 12px;
  font-weight: 600;
  color: var(--pv-gris);
  margin-top: 6px;
}

.pv-motifs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pv-motif {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 12px;
  border-radius: 12px;
  border: 2px solid var(--pv-trait);
  background: #fff;
  color: var(--pv-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.pv-motif > i {
  font-size: 13px;
  color: var(--pv-encre);
  width: 16px;
  text-align: center;
}
.pv-motif[aria-checked=true] {
  border-color: var(--pv-navy);
  background: #F1F4F9;
}
.pv-motif:focus-visible {
  outline: 2px solid #6CC04A;
  outline-offset: 1px;
}

.pv-motif-rond {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #9AA3B8;
  background: #fff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 9px;
  flex: none;
}
.pv-motif-rond i {
  opacity: 0;
}
[aria-checked=true] > .pv-motif-rond {
  border-color: var(--pv-navy);
  background: var(--pv-navy);
}
[aria-checked=true] > .pv-motif-rond i {
  opacity: 1;
}

.pv-fenetre textarea {
  width: 100%;
  border: 1.5px solid var(--pv-trait);
  border-radius: 12px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--pv-navy);
  resize: vertical;
  outline: none;
  line-height: 1.5;
}
.pv-fenetre textarea:focus {
  border-color: var(--pv-navy);
}

.pv-erreur {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 13px;
  border-radius: 11px;
  background: #FCF2F1;
  border: 1.5px solid #F2C8C5;
  font-size: 13px;
  font-weight: 700;
  color: #8A2C26;
  line-height: 1.45;
}
.pv-erreur[hidden] {
  display: none;
}
.pv-erreur i {
  margin-top: 2px;
}

.pv-fenetre-pied {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 24px;
  border-top: 1px solid #EEF1F6;
  background: #FAFBFD;
  border-radius: 0 0 22px 22px;
}

.pv-pied-texte {
  flex: 1 1 240px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pv-gris);
  line-height: 1.45;
}

.pv-annuler {
  height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid var(--pv-trait);
  background: #fff;
  color: var(--pv-navy);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.pv-fenetre .pv-bouton {
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════
   GESTION — dashboard d'administration
   Scope : .gd-page. Hero + KPI strip + tuiles de référentiels +
   activité récente (4 cards). Palette Enedis monochromatique.
   ═══════════════════════════════════════════════════════════════ */
.gd-page {
  --enedis-blue: #1432FA;
  --enedis-blue-soft: #EEF1FF;
  --enedis-blue-border: #C7D0FF;
  --enedis-blue-deep: #0F22B8;
  --gd-radius: 14px;
  padding-bottom: 64px;
  /* ── Hero ────────────────────────────────────────────────── */
  /* ── KPI strip (5 colonnes) ──────────────────────────────── */
  /* ── Section ─────────────────────────────────────────────── */
  /* ── Navigation tiles ────────────────────────────────────── */
  /* ── Activity grid ───────────────────────────────────────── */
}
.gd-page .gd-hero {
  position: relative;
  border-radius: var(--gd-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neutral-200);
  margin-bottom: 24px;
}
.gd-page .gd-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 240px at 100% 0%, rgba(20, 50, 250, 0.08), transparent 60%), radial-gradient(ellipse 500px 260px at 0% 100%, rgba(20, 50, 250, 0.04), transparent 60%), linear-gradient(135deg, #FAFBFF 0%, #FFFFFF 100%);
  pointer-events: none;
}
.gd-page .gd-hero-inner {
  position: relative;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
}
@media (max-width: 720px) {
  .gd-page .gd-hero-inner {
    padding: 22px;
  }
}
.gd-page .gd-hero-mark {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--enedis-blue) 0%, var(--enedis-blue-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 10px 20px -6px color-mix(in srgb, var(--enedis-blue) 40%, transparent), inset 0 -2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.gd-page .gd-hero-mark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 50%);
  pointer-events: none;
}
.gd-page .gd-hero-meta {
  min-width: 0;
}
.gd-page .gd-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--enedis-blue);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gd-page .gd-eyebrow i {
  font-size: 10px;
}
.gd-page .gd-title {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.gd-page .gd-subline {
  margin: 0;
  color: var(--neutral-500);
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 72ch;
}
.gd-page .gd-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 1100px) {
  .gd-page .gd-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px) {
  .gd-page .gd-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gd-page .gd-stats {
    grid-template-columns: 1fr;
  }
}
.gd-page .gd-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--gd-radius);
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}
.gd-page .gd-stat:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 16px -8px color-mix(in srgb, var(--enedis-blue) 20%, transparent);
  transform: translateY(-1px);
}
.gd-page .gd-stat.gd-stat-highlight {
  background: linear-gradient(135deg, var(--enedis-blue-soft) 0%, #fff 70%);
  border-color: var(--enedis-blue-border);
}
.gd-page .gd-stat.gd-stat-highlight .gd-stat-icon {
  background: var(--enedis-blue);
  color: #fff;
}
.gd-page .gd-stat.gd-stat-highlight .gd-stat-value {
  color: var(--enedis-blue-deep);
}
.gd-page .gd-stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 200ms;
}
.gd-page .gd-stat-body {
  min-width: 0;
}
.gd-page .gd-stat-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.6px;
  line-height: 1;
}
.gd-page .gd-stat-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--neutral-500);
  margin-top: 5px;
  line-height: 1.3;
}
.gd-page .gd-section {
  margin-bottom: 32px;
}
.gd-page .gd-section-head {
  margin-bottom: 14px;
}
.gd-page .gd-section-head h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.gd-page .gd-section-head h2 i {
  color: var(--enedis-blue);
  font-size: 14px;
}
.gd-page .gd-section-head p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-500);
}
.gd-page .gd-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.gd-page .gd-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--gd-radius);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}
.gd-page .gd-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
  opacity: 0;
  transition: opacity 200ms;
}
.gd-page .gd-tile:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--enedis-blue) 25%, transparent);
  transform: translateY(-2px);
}
.gd-page .gd-tile:hover::before {
  opacity: 0.85;
}
.gd-page .gd-tile:hover .gd-tile-icon {
  background: var(--enedis-blue);
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}
.gd-page .gd-tile:hover .gd-tile-arrow {
  color: var(--enedis-blue);
  transform: translateX(2px);
}
.gd-page .gd-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), color var(--dur-fast);
}
.gd-page .gd-tile-body {
  min-width: 0;
  flex: 1;
}
.gd-page .gd-tile-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}
.gd-page .gd-tile-desc {
  font-size: 12px;
  color: var(--neutral-500);
  line-height: 1.45;
  margin-bottom: 6px;
}
.gd-page .gd-tile-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gd-page .gd-tile-meta i {
  font-size: 10px;
  color: var(--enedis-blue);
}
.gd-page .gd-tile-count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--enedis-blue-deep);
  background: var(--enedis-blue-soft);
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.3px;
}
.gd-page .gd-tile-arrow {
  font-size: 11px;
  color: var(--neutral-300);
  flex-shrink: 0;
  transition: all 200ms;
}
.gd-page .gd-activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) {
  .gd-page .gd-activity-grid {
    grid-template-columns: 1fr;
  }
}
.gd-page .gd-act-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--gd-radius);
  overflow: hidden;
  transition: border-color 200ms, box-shadow 200ms;
}
.gd-page .gd-act-card:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 16px -8px color-mix(in srgb, var(--enedis-blue) 20%, transparent);
}
.gd-page .gd-act-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--neutral-100);
}
.gd-page .gd-act-head h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-900);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.gd-page .gd-act-head h3 i {
  color: var(--enedis-blue);
  font-size: 12px;
}
.gd-page .gd-act-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--enedis-blue-deep);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 7px;
  transition: all 150ms;
}
.gd-page .gd-act-link i {
  font-size: 9px;
}
.gd-page .gd-act-link:hover {
  background: var(--enedis-blue-soft);
}
.gd-page .gd-act-link:hover i {
  transform: translateX(2px);
}
.gd-page .gd-act-body {
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gd-page .gd-act-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: inherit;
  transition: background 120ms;
}
.gd-page .gd-act-item:hover {
  background: var(--enedis-blue-soft);
}
.gd-page .gd-act-avatar {
  width: 36px;
  height: 36px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.gd-page .gd-act-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 50%);
  pointer-events: none;
}
.gd-page .gd-act-avatar > span,
.gd-page .gd-act-avatar > i {
  position: relative;
  z-index: 1;
}
.gd-page .gd-act-avatar.gd-act-avatar-square {
  border-radius: 9px;
  background: linear-gradient(135deg, var(--enedis-blue) 0%, var(--enedis-blue-deep) 100%);
  box-shadow: 0 4px 8px -3px color-mix(in srgb, var(--enedis-blue) 35%, transparent), inset 0 -1px 2px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.gd-page .gd-act-avatar.gd-act-avatar-square::after {
  border-radius: 9px;
}
.gd-page .gd-act-avatar.gd-act-avatar-square > i {
  font-size: 14px;
}
.gd-page .gd-act-avatar.gd-act-avatar-circle {
  border-radius: 50%;
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.gd-page .gd-act-avatar.gd-act-avatar-circle::after {
  border-radius: 50%;
}
.gd-page .gd-act-info {
  min-width: 0;
  flex: 1;
}
.gd-page .gd-act-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.2;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gd-page .gd-act-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 11.5px;
  color: var(--neutral-500);
  line-height: 1.3;
}
.gd-page .gd-act-sub > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.gd-page .gd-act-sub > span i {
  font-size: 9px;
  color: var(--neutral-400);
}
.gd-page .gd-act-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  flex-shrink: 0;
}
.gd-page .gd-act-pill.is-ok {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.gd-page .gd-act-pill.is-ok .gd-act-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--green-600) 25%, transparent);
}
.gd-page .gd-act-pill.is-off {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}
.gd-page .gd-act-pill.is-off .gd-act-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neutral-400);
}
.gd-page .gd-act-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 28px 12px;
  color: var(--text-tertiary);
  font-size: 12.5px;
  font-style: italic;
}
.gd-page .gd-act-empty i {
  font-size: 16px;
  color: var(--neutral-300);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes gdPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--green-600) 35%, transparent);
  }
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--green-600) 0%, transparent);
  }
}
@keyframes pr-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pr-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  background: #1D2D5C;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.pr-cta:hover {
  background: #24397A;
}

.pr-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0 48px;
  color: #3E4A6B;
}
.pr-page a {
  text-decoration: none;
}
.pr-page [hidden] {
  display: none !important;
}

.pr-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4FA235;
}

.pr-head {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.pr-head .pr-titre {
  flex: 1;
  min-width: 220px;
}
.pr-head h1 {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}
.pr-head h1 span {
  color: #6B7490;
  font-weight: 700;
}

.pr-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  width: 280px;
  max-width: 100%;
  padding: 0 6px 0 12px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  transition: border-color 0.2s;
  cursor: text;
}
.pr-search.is-focus {
  border-color: #1D2D5C;
}
.pr-search > i {
  font-size: 12px;
  color: var(--text-tertiary);
}
.pr-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #1D2D5C;
  font-family: inherit;
}
.pr-search input::placeholder {
  color: #B4BCCB;
}
.pr-search input::-webkit-search-cancel-button {
  display: none;
}

.pr-search-x {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: none;
  background: #EEF1F6;
  color: #6B7490;
  cursor: pointer;
  font-size: 10px;
}

.pr-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pr-bar .pr-bar-k {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.pr-bar .pr-bar-sp {
  flex: 1 1 0;
  min-width: 0;
}

.pr-seg {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 4px;
  flex-wrap: wrap;
}

.pr-seg-b {
  height: 38px;
  padding: 0 14px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #5A6273;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.pr-seg-b i {
  font-size: 11px;
  color: var(--text-tertiary);
}
.pr-seg-b:hover {
  background: #F1F4F9;
}
.pr-seg-b.is-on {
  background: #1D2D5C;
  color: #fff;
}
.pr-seg-b.is-on i {
  color: #6CC04A;
}
.pr-seg-b.is-on .pr-seg-n {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.pr-seg-n {
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  background: #EEF1F6;
  color: #6B7490;
  font-variant-numeric: tabular-nums;
}

.pr-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #1D2D5C;
}
.pr-switch .pr-knob {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #D6DBE6;
  position: relative;
  flex: none;
  transition: background 0.3s;
}
.pr-switch .pr-knob > span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s;
}
.pr-switch[aria-pressed=true] .pr-knob {
  background: #4FA235;
}
.pr-switch[aria-pressed=true] .pr-knob > span {
  left: 17px;
}

.pr-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.pr-tile {
  text-align: left;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font: inherit;
  transition: all 0.2s;
}
.pr-tile:hover {
  border-color: #1D2D5C;
}
.pr-tile.is-on {
  border-color: #1D2D5C;
  background: #F5F7FC;
}
.pr-tile.is-on .pr-tile-f {
  display: inline-block;
}

.pr-tile-ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}

.pr-tile-t {
  min-width: 0;
  flex: 1;
}
.pr-tile-t b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pr-tile-t span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 3px;
  white-space: nowrap;
}

.pr-tile-f {
  display: none;
  font-size: 11px;
  color: #1D2D5C;
}

.pr-vide {
  padding: 48px;
  text-align: center;
  background: #fff;
  border: 1.5px dashed #E2E8F0;
  border-radius: 16px;
}
.pr-vide b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.pr-vide span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
}
.pr-vide a {
  color: #1D2D5C;
  font-weight: 800;
}

.pr-groupe {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pr-groupe-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.pr-groupe-h b {
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.pr-groupe-h .pr-groupe-n {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.pr-groupe-h .pr-groupe-l {
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.pr-groupe-ic {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 11px;
}

.pr-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.pr-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pr-card:hover {
  border-color: #1D2D5C;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 33, 71, 0.1);
}
.pr-card.is-off {
  opacity: 0.6;
}

.pr-card-h {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pr-card-photo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  flex: none;
  background: linear-gradient(135deg, #34508C, #6B8CC9) center/cover;
}

.pr-card-ic {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

.pr-card-t {
  flex: 1;
  min-width: 0;
}

.pr-card-n {
  font-size: 14.5px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-card-s {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr-card-s i {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-right: 5px;
}

.pr-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}

.pr-metrics {
  display: flex;
  gap: 8px;
}
.pr-metrics > div {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F7F9FC;
}
.pr-metrics span {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pr-metrics b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-card-f {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  min-width: 0;
}
.pr-card-f > i {
  font-size: 10px;
  color: #C4CAD6;
}

.pr-ini {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  font-size: 8.5px;
  font-weight: 800;
  flex: none;
}

.pr-card-c {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-card-tel {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: #1D2D5C;
  white-space: nowrap;
}

.pr-new {
  gap: 18px;
  max-width: 980px;
}

.pr-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}
.pr-crumb a {
  color: var(--text-secondary);
}
.pr-crumb a:hover {
  color: #1D2D5C;
}
.pr-crumb a i {
  margin-right: 7px;
  color: var(--text-tertiary);
}
.pr-crumb > i {
  font-size: 9px;
  color: #C4CAD6;
}
.pr-crumb b {
  color: #1D2D5C;
  font-weight: 800;
}

.pr-h1 {
  margin: 2px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}

.pr-lead {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #6B7490;
}

.pr-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.pr-type {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: inherit;
  transition: all 0.2s;
}
.pr-type:hover {
  border-color: #1D2D5C;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 33, 71, 0.1);
}
.pr-type b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.pr-type span span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  margin-top: 3px;
  line-height: 1.5;
}

.pr-type-ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid !important;
  place-items: center;
  font-size: 18px;
}

.pr-btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #6B7490 !important;
  font-size: 12.5px;
  font-weight: 700;
}
.pr-btn-ghost:hover {
  background: #F1F4F9;
}

.pf {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #EEF1F6;
  padding-bottom: 92px;
  font-family: "Montserrat", system-ui, sans-serif;
  color: #3E4A6B;
  -webkit-font-smoothing: antialiased;
}
.pf * {
  box-sizing: border-box;
}
.pf button, .pf input, .pf select, .pf textarea {
  font-family: inherit;
}
.pf input::placeholder, .pf textarea::placeholder {
  color: #B4BCCB;
}
.pf input[type=number]::-webkit-inner-spin-button {
  opacity: 0;
}
.pf a {
  color: #1D2D5C;
  text-decoration: none;
}

.pf-head {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 26px;
  flex-wrap: wrap;
}

.pf-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.pf-brand img {
  height: 26px;
  width: auto;
  display: block;
}
.pf-brand span {
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.pf-brand em {
  font-style: normal;
  color: var(--text-tertiary);
  font-weight: 600;
}

.pf-sep {
  width: 1px;
  height: 22px;
  background: #E2E8F0;
  flex: none;
}

.pf-tic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}

.pf-who {
  min-width: 0;
  flex: 1 1 180px;
}

.pf-who-n {
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-who-s {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.pf-pchips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pf-pchip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid #DEE3EC;
  background: #fff;
  color: #1D2D5C !important;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.pf-pchip:hover {
  background: #F4F6FA;
}
.pf-pchip.is-off {
  opacity: 0.7;
}
.pf-pchip > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pf-head-r {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pf-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid #DEE3EC;
  background: #fff;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  color: #5A6273;
}
.pf-switch .pf-knob {
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: #D6DBE6;
  position: relative;
  flex: none;
  transition: background 0.3s;
}
.pf-switch .pf-knob > span {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s;
}
.pf-switch.is-on .pf-knob {
  background: #4FA235;
}
.pf-switch.is-on .pf-knob > span {
  left: 13px;
}

.pf-espace {
  margin: 0;
}
.pf-espace .pf-quit {
  cursor: pointer;
}

.pf-quit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid #DEE3EC;
  background: #fff;
  color: #5A6273 !important;
  font-size: 12.5px;
  font-weight: 700;
}
.pf-quit i {
  font-size: 11px;
}
.pf-quit:hover {
  background: #F4F6FA;
}

.pf-steps {
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
  padding: 12px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.pf-step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pf-step button {
  display: flex;
  align-items: center;
  gap: 9px;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 7px 12px 7px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.pf-step button:hover {
  background: #F4F6FA;
}
.pf-step .m {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 800;
  border: 2px solid #D6DBE6;
  background: #fff;
  color: var(--text-tertiary);
  transition: all 0.25s;
}
.pf-step .m i {
  font-size: 10px;
}
.pf-step .t {
  text-align: left;
  line-height: 1.2;
}
.pf-step .l {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.pf-step .s {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.pf-step .ln {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #E2E8F0;
}
.pf-step.is-ok .m {
  background: #4FA235;
  border-color: #4FA235;
  color: #0E2A12;
}
.pf-step.is-ok .l {
  color: #324063;
}
.pf-step.is-ok .ln {
  background: #BFE3AC;
}
.pf-step.is-on button {
  background: #EDF1F8;
}
.pf-step.is-on .m {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #6CC04A;
}
.pf-step.is-on .l {
  color: #1D2D5C;
  font-weight: 800;
}
.pf-step.is-off button {
  opacity: 0.5;
  cursor: not-allowed;
}

.pf-main {
  flex: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 26px 30px;
}

.pf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

@media (max-width: 1000px) {
  .pf-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pf-rail {
    position: static !important;
  }
}
.pf-col {
  min-width: 0;
}

.pf-anim {
  animation: pr-rise 0.25s ease both;
  display: flex;
  flex-direction: column;
}

.pf-kick {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.pf-h1 {
  margin: 4px 0 0;
  font-size: 24px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.02em;
}

.pf-intro {
  margin: 6px 0 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

.pf-card {
  background: #fff;
  border: 1px solid #E4E8F0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.05);
  margin-bottom: 14px;
}

.pf-photo {
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pf-photo-v {
  width: 220px;
  height: 124px;
  border-radius: 12px;
  flex: none;
  background: linear-gradient(135deg, #34508C, #6B8CC9) center/cover;
}
.pf-photo-v.is-vide {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 26px;
}

.pf-photo-t {
  flex: 1;
  min-width: 200px;
}
.pf-photo-t b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.pf-photo-t > span {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

.pf-photo-a {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pf-link {
  font-size: 12px;
  font-weight: 800;
  color: #34508C !important;
}
.pf-link i {
  font-size: 10px;
  margin-left: 6px;
  color: var(--text-tertiary);
}

button.pf-link {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
button.pf-link i {
  margin: 0 6px 0 0;
}

.pf-muted {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.pf-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  padding: 20px 22px;
}

@media (max-width: 1100px) {
  .pf-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .pf-f-2 {
    grid-column: auto !important;
  }
  .pf-f-sp {
    display: none;
  }
}
.pf-f {
  min-width: 0;
  position: relative;
}

.pf-f-2 {
  grid-column: span 2;
}

.pf-lab {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.pf-lab i {
  font-style: normal;
  color: #C9403C;
  margin-left: 3px;
}

.pf-in {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  outline: none;
  background: #fff;
  transition: border-color 0.2s;
}
.pf-in:focus {
  border-color: #1D2D5C;
}

.pf-area {
  height: auto;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

.pf-aide {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.45;
}

.pf-num {
  display: flex;
  align-items: center;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  overflow: hidden;
}
.pf-num:focus-within {
  border-color: #1D2D5C;
}
.pf-num input {
  flex: 1;
  min-width: 0;
  width: 0;
  height: 100%;
  border: none;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  outline: none;
  font-family: "JetBrains Mono", monospace;
  background: none;
}
.pf-num span {
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  background: #F7F9FC;
  border-left: 1.5px solid #E2E8F0;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-secondary);
  white-space: nowrap;
}

.pf-time {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  padding: 0 12px;
}
.pf-time:focus-within {
  border-color: #1D2D5C;
}
.pf-time i {
  color: var(--text-tertiary);
  font-size: 12px;
}
.pf-time input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  font-family: "JetBrains Mono", monospace;
}

.pf-sel {
  position: relative;
}
.pf-sel select {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  padding: 0 34px 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.pf-sel select:focus {
  border-color: #1D2D5C;
}
.pf-sel select.is-vide {
  color: #B4BCCB;
}
.pf-sel select option {
  color: #1D2D5C;
}
.pf-sel i {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--text-secondary);
  pointer-events: none;
}

.pf-tg {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}
.pf-tg .pf-knob {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #D6DBE6;
  position: relative;
  flex: none;
  transition: background 0.3s;
}
.pf-tg .pf-knob > span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s;
}
.pf-tg.is-on {
  border-color: #BFE3AC;
  background: #F7FBF4;
}
.pf-tg.is-on .pf-knob {
  background: #4FA235;
}
.pf-tg.is-on .pf-knob > span {
  left: 19px;
}

.pf-tg-t {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.pf-tg-t b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1.3;
}
.pf-tg-t span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 1px;
  line-height: 1.4;
}

.pf-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 42px;
}
.pf-stars button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: none;
  cursor: pointer;
  color: #DCE0E8;
  font-size: 17px;
  transition: transform 0.15s;
}
.pf-stars button:hover {
  transform: scale(1.15);
}
.pf-stars button.is-on {
  color: #E0A93B;
}
.pf-stars span {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pf-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.pf-chip {
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #5A6273;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s;
}
.pf-chip i {
  font-size: 10px;
}
.pf-chip:hover {
  border-color: #C4CAD6;
}
.pf-chip.is-on {
  border-color: #1D2D5C;
  background: #1D2D5C;
  color: #fff;
}

.pf-chip-more {
  height: 34px;
  padding: 0 10px;
  border: none;
  background: none;
  color: #34508C;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.pf-routes, .pf-links {
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
}

.pf-route {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(78px, 0.7fr)) 36px;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-top: 1px solid #F0F2F6;
}
.pf-route .pf-in, .pf-route .pf-num {
  height: 36px;
  border-radius: 8px;
}
.pf-route .pf-num input {
  padding: 0 8px;
  font-size: 12.5px;
}
.pf-route .pf-num span {
  padding: 0 8px;
  font-size: 11px;
}

.pf-route-h {
  background: #F7F9FC;
  border-top: none;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

@media (max-width: 1100px) {
  .pf-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pf-route .pf-in {
    grid-column: 1/-1;
  }
  .pf-route-h {
    display: none;
  }
}
.pf-del {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: none;
  color: #B4BCCB;
  cursor: pointer;
}
.pf-del:hover {
  background: #FBE4E3;
  color: #B23A36;
}

.pf-add {
  width: 100%;
  height: 42px;
  border: none;
  border-top: 1px dashed #E2E8F0;
  background: #fff;
  color: #1D2D5C !important;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pf-add i:first-child {
  color: #4FA235;
}
.pf-add i:last-child:not(:first-child) {
  font-size: 10px;
  color: var(--text-tertiary);
}
.pf-add:hover {
  background: #F7F9FC;
}

.pf-linkrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-top: 1px solid #F0F2F6;
}
.pf-linkrow:first-child {
  border-top: none;
}

.pf-linkrow-h {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  color: #1D2D5C;
  min-width: 48px;
}

.pf-linkrow-t {
  flex: 1;
  min-width: 0;
}
.pf-linkrow-t b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-linkrow-t span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pf-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #E7F5E0;
  color: #2E5320;
  white-space: nowrap;
}

.pf-links-vide {
  padding: 18px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.pf-portail {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  flex-wrap: wrap;
}
.pf-portail > i {
  color: #34508C;
}
.pf-portail > span {
  flex: 1;
  min-width: 180px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}
.pf-portail > span b {
  color: #1D2D5C;
}

.pf-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid #DEE3EC;
  background: #fff;
  color: #324063 !important;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.pf-btn-ghost:hover {
  background: #F4F6FA;
}
.pf-btn-ghost:disabled {
  opacity: 0.6;
  cursor: default;
}

.pf-btn-bloc {
  width: 100%;
}

.pf-recap {
  padding: 18px 20px;
}

.pf-recap-h {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pf-recap-h > i {
  color: #1D2D5C;
}
.pf-recap-h h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.pf-recap-h > span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-tertiary);
}
.pf-recap-h button {
  margin-left: auto;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  color: #34508C;
}
.pf-recap-h button i {
  font-size: 10px;
  margin-right: 6px;
}
.pf-recap-h button:hover {
  color: #1D2D5C;
}

.pf-recap-g {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px 18px;
  margin-top: 12px;
}
.pf-recap-g > div {
  min-width: 0;
}
.pf-recap-g span {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.pf-recap-g b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  margin-top: 2px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.pf-recap-vide {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #B4BCCB;
  font-style: italic;
}

.pf-rail {
  background: #fff;
  border: 1px solid #E4E8F0;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, 0.05);
  padding: 17px 18px;
  position: sticky;
  top: calc(var(--topbar-h) + 20px);
  min-width: 0;
}

.pf-rail-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pf-rail-h h3 {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D2D5C;
}
.pf-rail-h span {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-secondary);
}
.pf-rail-h b {
  color: #4FA235;
}

.pf-rls {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.pf-rl {
  display: flex;
  gap: 10px;
  text-align: left;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 8px 9px;
  cursor: pointer;
  width: 100%;
  min-width: 0;
}
.pf-rl:hover {
  background: #F4F6FA;
}
.pf-rl.is-on {
  background: #EDF1F8;
}
.pf-rl > i {
  margin-top: 2px;
  width: 15px;
  text-align: center;
  flex: none;
  font-size: 13px;
  color: #4FA235;
}
.pf-rl > span {
  min-width: 0;
  flex: 1;
}
.pf-rl .k {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.pf-rl .v {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #1D2D5C;
  margin-top: 1px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.pf-rl.is-vide > i {
  color: #C4CAD6;
}
.pf-rl.is-vide .v {
  color: #B4BCCB;
  font-weight: 600;
  font-style: italic;
}

.pf-hr {
  height: 1px;
  background: #EEF1F6;
  margin: 14px 0;
}

.pf-rail-k {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.pf-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pf-contact .pf-ini {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #E3EAF6;
  color: #34508C;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  flex: none;
}
.pf-contact > div {
  min-width: 0;
  flex: 1;
}
.pf-contact b {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-contact span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-contact a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #DEE3EC;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 11px;
}
.pf-contact a:hover {
  background: #F4F6FA;
}

.pf-rail-note {
  margin: 8px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.45;
}

.pf-foot {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -4px 16px rgba(20, 30, 60, 0.06);
  padding: 12px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 30;
  flex-wrap: wrap;
}

.pf-prog {
  min-width: 180px;
}
.pf-prog > div {
  height: 5px;
  border-radius: 4px;
  background: #EDF0F5;
  overflow: hidden;
}
.pf-prog > div > div {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #6CC04A, #4FA235);
  transition: width 0.4s;
}
.pf-prog span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 5px;
}

.pf-etat {
  font-size: 12px;
  font-weight: 600;
}
.pf-etat i {
  margin-right: 6px;
}

.pf-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pf-prev, .pf-next, .pf-save {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13.5px;
  cursor: pointer;
  white-space: nowrap;
}
.pf-prev i, .pf-next i, .pf-save i {
  font-size: 11px;
}

.pf-prev {
  border: 1px solid #DEE3EC;
  background: #fff;
  color: #324063;
  font-weight: 700;
}
.pf-prev:hover {
  background: #F4F6FA;
}
.pf-prev:disabled {
  color: #C4CAD6;
  cursor: default;
}

.pf-next {
  border: none;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
  padding: 0 18px;
  box-shadow: 0 4px 12px rgba(29, 45, 92, 0.25);
}
.pf-next:hover {
  background: #27396E;
}

.pf-save {
  border: none;
  background: #4FA235;
  color: #0E2A12;
  font-weight: 800;
  padding: 0 18px;
  box-shadow: 0 4px 12px rgba(79, 162, 53, 0.3);
}
.pf-save:hover {
  background: #46922F;
}
.pf-save:disabled {
  opacity: 0.7;
  cursor: default;
}

.pf-save-mini {
  height: 42px;
}

body:has(.pf-foot) {
  --ntf-bas: 88px;
}

/* ═══════════════════════════════════════════════════════════════
   GESTION — page édition hôtel (multi-onglets)
   Scope : .ghe-page. Hero avec photo + tabs nav + 5-6 onglets
   (Infos, Photos, Conditions, Catégories, Contingents, Restau).
   Palette Enedis monochromatique.
   ═══════════════════════════════════════════════════════════════ */
.ghe-page {
  --enedis-blue: #1432FA;
  --enedis-blue-soft: #EEF1FF;
  --enedis-blue-border: #C7D0FF;
  --enedis-blue-deep: #0F22B8;
  --ghe-radius: 14px;
  padding-bottom: 96px;
  /* ── Breadcrumb ──────────────────────────────────────────── */
  /* ── Hero (photo + meta + stats) ─────────────────────────── */
  /* ── Tabs nav ────────────────────────────────────────────── */
  /* ── Section générique ──────────────────────────────────── */
  /* ── Form ───────────────────────────────────────────────── */
  /* ── Switch ──────────────────────────────────────────────── */
  /* ── Sticky actions ─────────────────────────────────────── */
  /* ── Danger zone ─────────────────────────────────────────── */
  /* ═══ ONGLET PHOTOS ═══ */
  /* ═══ ONGLET CONDITIONS ═══ */
  /* — Add new rule (details/summary) — */
  /* Override pour les form-control utilisés dans le partial _condition_form */
  /* ═══ ONGLET CATÉGORIES (table) ═══ */
  /* — Add catégorie — */
  /* ═══ ONGLET CONTINGENTS (calendrier) ═══ */
  /* ── Filtre par catégorie ─────────────────────────────── */
  /* ══════════════════════════════════════════════════════════
     CELLULES JOUR — refonte multi-catégories
     Chaque cellule contient :
     - un header (numéro + jour court + total dispo en pill)
     - un body avec une ligne par catégorie (code, dispo, prix
       + barre de remplissage en fond)
     ══════════════════════════════════════════════════════════ */
  /* ── Ligne catégorie ─────────────────────────────────── */
  /* ── Modal : badges catégories ─────────────────────────── */
  /* ── Modal contingent (calendrier) ──────────────────────── */
  /* — Panel modification massive — */
  /* ── Days picker (massif) ───────────────────────────────── */
  /* ── Empty state ─────────────────────────────────────────── */
  /* ── Restauration panel (cascade onto existing partial) ── */
}
.ghe-page .ghe-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ghe-page .ghe-crumb-link {
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 150ms, color 150ms;
}
.ghe-page .ghe-crumb-link:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.ghe-page .ghe-crumb-link i {
  font-size: 11px;
}
.ghe-page .ghe-crumb-sep {
  color: var(--neutral-300);
}
.ghe-page .ghe-crumb-current {
  color: var(--neutral-900);
  font-weight: 600;
}
.ghe-page .ghe-hero {
  position: relative;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--ghe-radius);
  overflow: hidden;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 280px 1fr;
}
@media (max-width: 900px) {
  .ghe-page .ghe-hero {
    grid-template-columns: 1fr;
  }
}
.ghe-page .ghe-hero-img {
  position: relative;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--enedis-blue-soft) 0%, var(--neutral-100) 100%);
  overflow: hidden;
}
.ghe-page .ghe-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .ghe-page .ghe-hero-img {
    min-height: 160px;
  }
}
.ghe-page .ghe-hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--enedis-blue);
  font-size: 64px;
  opacity: 0.3;
  background: radial-gradient(circle at 50% 50%, var(--enedis-blue-soft) 0%, transparent 70%);
}
.ghe-page .ghe-hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, 0.5) 100%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .ghe-page .ghe-hero-img-overlay {
    display: none;
  }
}
.ghe-page .ghe-hero-body {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 720px) {
  .ghe-page .ghe-hero-body {
    grid-template-columns: 1fr;
  }
}
.ghe-page .ghe-hero-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.ghe-page .ghe-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--enedis-blue);
  margin: 0;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
}
.ghe-page .ghe-eyebrow i {
  font-size: 10px;
}
.ghe-page .ghe-title {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.ghe-page .ghe-pills {
  margin-top: 4px;
}
.ghe-page .ghe-title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.ghe-page .ghe-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}
.ghe-page .ghe-status-pill.is-ok {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.ghe-page .ghe-status-pill.is-ok .ghe-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-600) 25%, transparent);
}
.ghe-page .ghe-status-pill.is-off {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}
.ghe-page .ghe-status-pill.is-off .ghe-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neutral-400);
}
.ghe-page .ghe-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ghe-page .ghe-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--neutral-100);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
}
.ghe-page .ghe-pill i {
  font-size: 10px;
  color: var(--neutral-500);
}
.ghe-page .ghe-pill.is-key {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-color: var(--enedis-blue-border);
}
.ghe-page .ghe-pill.is-key i {
  color: var(--enedis-blue);
}
.ghe-page .ghe-pill.is-rating {
  background: rgba(0, 0, 0, 0.7);
  color: #FBBF24;
  border-color: transparent;
}
.ghe-page .ghe-pill.is-rating i {
  color: #FBBF24;
  font-size: 9px;
}
.ghe-page .ghe-hero-stats {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .ghe-page .ghe-hero-stats {
    border-top: 1px solid var(--neutral-100);
    padding-top: 16px;
    justify-content: flex-start;
  }
}
.ghe-page .ghe-hstat {
  text-align: center;
  padding: 0 8px;
}
.ghe-page .ghe-hstat-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.6px;
  line-height: 1;
}
.ghe-page .ghe-hstat-value small {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-left: 1px;
}
.ghe-page .ghe-hstat-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--neutral-500);
  margin-top: 5px;
}
.ghe-page .ghe-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--ghe-radius);
  overflow-x: auto;
  scrollbar-width: thin;
}
.ghe-page .ghe-tabs::-webkit-scrollbar {
  height: 6px;
}
.ghe-page .ghe-tabs::-webkit-scrollbar-thumb {
  background: var(--neutral-200);
  border-radius: 3px;
}
.ghe-page .ghe-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--neutral-600);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: all 160ms;
}
.ghe-page .ghe-tab i {
  font-size: 12px;
  color: var(--neutral-400);
}
.ghe-page .ghe-tab:hover:not(.is-active) {
  background: var(--neutral-50);
  color: var(--neutral-900);
}
.ghe-page .ghe-tab:hover:not(.is-active) i {
  color: var(--enedis-blue);
}
.ghe-page .ghe-tab.is-active {
  background: var(--enedis-blue);
  color: #fff;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--enedis-blue) 40%, transparent);
}
.ghe-page .ghe-tab.is-active i {
  color: #fff;
}
.ghe-page .ghe-tab.is-active .ghe-tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.ghe-page .ghe-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 0 6px;
  height: 18px;
  border-radius: 999px;
  background: var(--neutral-100);
  color: var(--neutral-600);
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  transition: all 160ms;
}
.ghe-page .ghe-section {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--ghe-radius);
  padding: 22px 24px;
  position: relative;
  margin-bottom: 16px;
  transform: translateY(8px);
  transition: border-color 200ms, box-shadow 200ms;
}
.ghe-page .ghe-section:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 16px -8px color-mix(in srgb, var(--enedis-blue) 20%, transparent);
}
.ghe-page .ghe-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
  border-radius: var(--ghe-radius) 0 0 var(--ghe-radius);
  opacity: 0.85;
}
.ghe-page .ghe-section-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--neutral-200);
}
.ghe-page .ghe-section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--enedis-blue);
  background: var(--enedis-blue-soft);
  border: 1px solid var(--enedis-blue-border);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  margin-top: 2px;
  min-width: 32px;
  text-align: center;
}
.ghe-page .ghe-section-num i {
  font-size: 11px;
}
.ghe-page .ghe-section-titles {
  flex: 1;
  min-width: 0;
}
.ghe-page .ghe-section-titles h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ghe-page .ghe-section-titles h2 i {
  color: var(--enedis-blue);
  font-size: 14px;
}
.ghe-page .ghe-section-titles p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-500);
  line-height: 1.5;
}
.ghe-page .ghe-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ghe-page .ghe-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .ghe-page .ghe-fields {
    grid-template-columns: 1fr;
  }
}
.ghe-page .ghe-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ghe-page .ghe-field.full {
  grid-column: 1/-1;
}
.ghe-page .ghe-field label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-700);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ghe-page .ghe-field label i {
  font-size: 11px;
  color: var(--enedis-blue);
  width: 14px;
  text-align: center;
}
.ghe-page .ghe-req {
  color: var(--red-600);
  margin-left: 2px;
}
.ghe-page .ghe-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 9px;
  font-size: 14px;
  font-family: inherit;
  color: var(--neutral-900);
  transition: all 160ms;
}
.ghe-page .ghe-input::placeholder {
  color: var(--neutral-400);
}
.ghe-page .ghe-input:hover:not(:focus):not(:disabled) {
  border-color: var(--neutral-300);
  background: #fff;
}
.ghe-page .ghe-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--enedis-blue) 14%, transparent);
}
.ghe-page select.ghe-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23737373' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
}
.ghe-page .ghe-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.ghe-page .ghe-hint {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: var(--neutral-500);
  line-height: 1.4;
}
.ghe-page .ghe-hint i {
  font-size: 10px;
  color: var(--neutral-400);
  margin-top: 2px;
  flex-shrink: 0;
}
.ghe-page .ghe-input-suffix {
  position: relative;
}
.ghe-page .ghe-input-suffix > input {
  padding-right: 44px;
}
.ghe-page .ghe-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  pointer-events: none;
}
.ghe-page .ghe-switch {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-200);
  border-radius: 10px;
  cursor: pointer;
  transition: all 160ms;
  user-select: none;
}
.ghe-page .ghe-switch:hover {
  background: #fff;
  border-color: var(--neutral-300);
}
.ghe-page .ghe-switch > input[type=checkbox] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ghe-page .ghe-switch .ghe-switch-track {
  position: relative;
  width: 40px;
  height: 22px;
  background: var(--neutral-300);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 200ms;
}
.ghe-page .ghe-switch .ghe-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ghe-page .ghe-switch:has(input:checked) {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-border);
}
.ghe-page .ghe-switch:has(input:checked) .ghe-switch-track {
  background: var(--enedis-blue);
}
.ghe-page .ghe-switch:has(input:checked) .ghe-switch-thumb {
  transform: translateX(18px);
}
.ghe-page .ghe-switch .ghe-switch-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ghe-page .ghe-switch .ghe-switch-label strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ghe-page .ghe-switch .ghe-switch-label strong i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.ghe-page .ghe-switch .ghe-switch-label small {
  font-size: 11.5px;
  color: var(--neutral-500);
  line-height: 1.4;
}
.ghe-page .ghe-actions {
  position: sticky;
  bottom: 16px;
  z-index: 10;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--neutral-200);
  border-radius: var(--ghe-radius);
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.15);
}
.ghe-page .ghe-actions-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--neutral-500);
}
.ghe-page .ghe-actions-hint i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.ghe-page .ghe-actions-buttons {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.ghe-page .ghe-btn-save {
  background: var(--enedis-blue);
  white-space: nowrap;
}
.ghe-page .ghe-btn-save:hover:not(:disabled) {
  background: var(--enedis-blue-deep);
}
.ghe-page .ghe-danger {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--ghe-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.ghe-page .ghe-danger strong {
  display: block;
  font-size: 14px;
  color: var(--red-700);
  margin-bottom: 4px;
}
.ghe-page .ghe-danger p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.4;
}
.ghe-page .ghe-danger-info {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
  flex: 1;
}
.ghe-page .ghe-danger-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.ghe-page .ghe-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1.5px solid var(--red-300, #FCA5A5);
  background: #fff;
  color: var(--red-700);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 150ms;
}
.ghe-page .ghe-btn-danger:hover {
  background: var(--red-600);
  color: #fff;
  border-color: var(--red-600);
}
.ghe-page .ghe-photo-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ghe-page .ghe-photo-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 20px;
  background: var(--enedis-blue-soft);
  border: 2px dashed var(--enedis-blue-border);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 200ms;
}
.ghe-page .ghe-photo-zone:hover:not(.is-full), .ghe-page .ghe-photo-zone.is-over {
  background: color-mix(in srgb, var(--enedis-blue-soft) 80%, var(--enedis-blue));
  border-color: var(--enedis-blue);
}
.ghe-page .ghe-photo-zone:hover:not(.is-full) .ghe-photo-zone-icon, .ghe-page .ghe-photo-zone.is-over .ghe-photo-zone-icon {
  transform: scale(1.05);
  color: var(--enedis-blue-deep);
}
.ghe-page .ghe-photo-zone.is-over {
  border-style: solid;
}
.ghe-page .ghe-photo-zone:focus-visible {
  outline: 2px solid var(--enedis-blue);
  outline-offset: 3px;
}
.ghe-page .ghe-photo-zone.is-full {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--green-50);
  border-color: var(--green-200);
}
.ghe-page .ghe-photo-zone.is-full .ghe-photo-zone-icon {
  color: var(--green-600);
}
.ghe-page .ghe-photo-zone-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--enedis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 4px;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--enedis-blue) 25%, transparent);
  transition: transform 200ms;
}
.ghe-page .ghe-photo-zone-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 0;
}
.ghe-page .ghe-photo-zone-sub {
  font-size: 12px;
  color: var(--neutral-500);
  margin: 0;
}
.ghe-page .ghe-photo-zone-counter {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--enedis-blue-deep);
  font-family: var(--font-mono);
}
.ghe-page .ghe-photo-zone-counter.is-error {
  color: var(--red-700, #B91C1C);
}
.ghe-page .ghe-photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.ghe-page .ghe-photo-form-actions {
  display: flex;
  justify-content: flex-end;
}
.ghe-page .ghe-photos-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.ghe-page .ghe-photo-tile {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
}
.ghe-page .ghe-photo-tile.is-principale {
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--enedis-blue) 18%, transparent);
}
.ghe-page .ghe-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms;
}
.ghe-page .ghe-photo-tile:hover img {
  transform: scale(1.05);
}
.ghe-page .ghe-photo-tile:hover .ghe-photo-actions {
  opacity: 1;
}
.ghe-page .ghe-photo-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--enedis-blue);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ghe-page .ghe-photo-badge i {
  font-size: 9px;
}
.ghe-page .ghe-photo-actions {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transition: opacity 200ms;
}
.ghe-page .ghe-photo-actions form {
  margin: 0;
}
.ghe-page .ghe-photo-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--neutral-700);
  cursor: pointer;
  font-size: 11.5px;
  backdrop-filter: blur(6px);
  transition: all 150ms;
}
.ghe-page .ghe-photo-btn:hover {
  background: var(--enedis-blue);
  color: #fff;
}
.ghe-page .ghe-photo-btn.is-danger:hover {
  background: var(--red-600);
  color: #fff;
}
.ghe-page .ghe-cond-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ghe-page .ghe-cond {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 200ms;
}
.ghe-page .ghe-cond:hover {
  border-color: var(--enedis-blue-border);
}
.ghe-page .ghe-cond.is-inactive {
  opacity: 0.7;
}
.ghe-page .ghe-cond.is-exception {
  background: linear-gradient(135deg, color-mix(in srgb, var(--amber-50) 60%, #fff) 0%, #fff 100%);
  border-color: var(--amber-200);
}
.ghe-page .ghe-cond-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
}
.ghe-page .ghe-cond-info {
  flex: 1;
  min-width: 0;
}
.ghe-page .ghe-cond-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.ghe-page .ghe-cond-title strong {
  font-size: 14px;
  color: var(--neutral-900);
  font-weight: 700;
}
.ghe-page .ghe-cond-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.ghe-page .ghe-cond-pill i {
  font-size: 9px;
}
.ghe-page .ghe-cond-pill.is-standard {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-color: var(--enedis-blue-border);
}
.ghe-page .ghe-cond-pill.is-exception {
  background: var(--amber-50);
  color: var(--amber-800);
  border-color: var(--amber-200);
}
.ghe-page .ghe-cond-pill.is-off {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}
.ghe-page .ghe-cond-dates {
  font-size: 11.5px;
  color: var(--neutral-700);
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ghe-page .ghe-cond-dates i {
  font-size: 9px;
  opacity: 0.6;
}
.ghe-page .ghe-cond-rule {
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.ghe-page .ghe-cond-rule strong {
  font-family: var(--font-mono);
  color: var(--neutral-900);
  font-weight: 700;
}
.ghe-page .ghe-cond-rule-step {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ghe-page .ghe-cond-rule-step.is-partial strong {
  color: var(--amber-700);
}
.ghe-page .ghe-cond-rule-step.is-full strong {
  color: var(--red-700);
}
.ghe-page .ghe-cond-rule-sep {
  color: var(--neutral-300);
}
.ghe-page .ghe-cond-rule-sep i {
  font-size: 4px;
}
.ghe-page .ghe-cond-comment {
  margin-top: 8px;
  padding: 8px 12px;
  background: #fff;
  border-left: 3px solid var(--enedis-blue);
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  color: var(--neutral-700);
  line-height: 1.5;
}
.ghe-page .ghe-cond-comment i {
  color: var(--enedis-blue);
  margin-right: 5px;
}
.ghe-page .ghe-cond-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.ghe-page .ghe-cond-edit {
  padding: 16px 18px;
  background: #fff;
  border-top: 1px solid var(--neutral-100);
}
.ghe-page .ghe-cond-add {
  margin-top: 14px;
}
.ghe-page .ghe-cond-add > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--enedis-blue-soft);
  border: 1.5px dashed var(--enedis-blue-border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--enedis-blue-deep);
  transition: all 150ms;
}
.ghe-page .ghe-cond-add > summary::-webkit-details-marker {
  display: none;
}
.ghe-page .ghe-cond-add > summary:hover {
  background: color-mix(in srgb, var(--enedis-blue-soft) 80%, var(--enedis-blue));
  border-style: solid;
}
.ghe-page .ghe-cond-add > summary > i:first-child {
  font-size: 12px;
  color: var(--enedis-blue);
}
.ghe-page .ghe-cond-add .ghe-cond-add-chevron {
  margin-left: auto;
  font-size: 10px;
  transition: transform 200ms;
}
.ghe-page .ghe-cond-add[open] > summary {
  background: var(--enedis-blue);
  color: #fff;
  border-style: solid;
}
.ghe-page .ghe-cond-add[open] > summary > i:first-child,
.ghe-page .ghe-cond-add[open] > summary > .ghe-cond-add-chevron {
  color: #fff;
}
.ghe-page .ghe-cond-add[open] > summary .ghe-cond-add-chevron {
  transform: rotate(180deg);
}
.ghe-page .ghe-cond-add-form {
  margin-top: 10px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--enedis-blue-border);
  border-radius: 10px;
}
.ghe-page .ghe-cond-edit .form-control, .ghe-page .ghe-cond-add-form .form-control {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 9px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--neutral-900);
  transition: all 160ms;
}
.ghe-page .ghe-cond-edit .form-control:hover:not(:focus), .ghe-page .ghe-cond-add-form .form-control:hover:not(:focus) {
  border-color: var(--neutral-300);
  background: #fff;
}
.ghe-page .ghe-cond-edit .form-control:focus, .ghe-page .ghe-cond-add-form .form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--enedis-blue) 14%, transparent);
}
.ghe-page .ghe-cond-edit .form-label, .ghe-page .ghe-cond-add-form .form-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-700);
  display: block;
  margin-bottom: 5px;
}
.ghe-page .ghe-cond-edit .btn, .ghe-page .ghe-cond-add-form .btn {
  padding: 9px 16px;
}
.ghe-page .ghe-cond-edit .btn-primary, .ghe-page .ghe-cond-add-form .btn-primary {
  background: var(--enedis-blue);
}
.ghe-page .ghe-cond-edit .btn-primary:hover, .ghe-page .ghe-cond-add-form .btn-primary:hover {
  background: var(--enedis-blue-deep);
}
.ghe-page .ghe-table-wrap {
  overflow-x: auto;
}
.ghe-page .ghe-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.ghe-page .ghe-table thead th {
  background: var(--neutral-50);
  color: var(--neutral-500);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
  border-top: 1px solid var(--neutral-200);
  white-space: nowrap;
}
.ghe-page .ghe-table .ghe-th-actions {
  text-align: right;
  width: 110px;
}
.ghe-page .ghe-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--neutral-100);
  vertical-align: middle;
  font-size: 13px;
}
.ghe-page .ghe-table tbody tr:last-child td {
  border-bottom: none;
}
.ghe-page .ghe-table tbody tr:hover {
  background: rgba(20, 50, 250, 0.02);
}
.ghe-page .ghe-table tbody tr.is-inactive {
  opacity: 0.65;
}
.ghe-page .ghe-cell-strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.ghe-page .ghe-cell-muted {
  color: var(--neutral-500);
  font-size: 12.5px;
}
.ghe-page .ghe-cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border: 1px solid var(--enedis-blue-border);
  font-size: 12px;
  font-weight: 600;
}
.ghe-page .ghe-cap-pill i {
  font-size: 10px;
  color: var(--enedis-blue);
}
.ghe-page .ghe-cell-actions {
  text-align: right;
  white-space: nowrap;
}
.ghe-page .ghe-cell-actions form {
  display: inline;
  margin: 0;
}
.ghe-page .ghe-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 11.5px;
  margin-left: 4px;
  transition: all 150ms;
}
.ghe-page .ghe-act:hover {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  border-color: var(--enedis-blue-border);
}
.ghe-page .ghe-act.ghe-act-danger:hover {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.ghe-page .ghe-act.ghe-act-warn:hover {
  background: var(--amber-50);
  color: var(--amber-700);
  border-color: var(--amber-200);
}
.ghe-page .ghe-act.ghe-act-ok:hover {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.ghe-page .ghe-cat-add {
  background: var(--enedis-blue-soft);
  border: 1.5px dashed var(--enedis-blue-border);
  border-radius: 10px;
  padding: 14px 16px;
}
.ghe-page .ghe-cat-add-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--enedis-blue-deep);
  margin-bottom: 12px;
}
.ghe-page .ghe-cat-add-head i {
  color: var(--enedis-blue);
  font-size: 12px;
}
.ghe-page .ghe-cat-add-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}
@media (max-width: 720px) {
  .ghe-page .ghe-cat-add-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ghe-page .ghe-cat-add-grid .ghe-cat-add-submit {
    grid-column: 1/-1;
  }
}
@media (max-width: 480px) {
  .ghe-page .ghe-cat-add-grid {
    grid-template-columns: 1fr;
  }
}
.ghe-page .ghe-cat-add-submit {
  white-space: nowrap;
}
.ghe-page .ghe-cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.ghe-page .ghe-btn-mass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border: 1.5px solid var(--enedis-blue-border);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 150ms;
}
.ghe-page .ghe-btn-mass i {
  font-size: 11px;
  color: var(--enedis-blue);
}
.ghe-page .ghe-btn-mass:hover {
  background: var(--enedis-blue);
  color: #fff;
  border-color: var(--enedis-blue);
}
.ghe-page .ghe-btn-mass:hover i {
  color: #fff;
}
.ghe-page .ghe-cal-legend {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  color: var(--neutral-600);
  flex-wrap: wrap;
}
.ghe-page .ghe-lg {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-right: 4px;
  vertical-align: middle;
}
.ghe-page .ghe-lg.ghe-lg-green {
  background: var(--green-100);
  border: 1px solid var(--green-200);
}
.ghe-page .ghe-lg.ghe-lg-amber {
  background: var(--amber-100);
  border: 1px solid var(--amber-200);
}
.ghe-page .ghe-lg.ghe-lg-red {
  background: var(--red-100);
  border: 1px solid var(--red-200);
}
.ghe-page .ghe-lg.ghe-lg-empty {
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
}
.ghe-page .ghe-cal {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  overflow: hidden;
}
.ghe-page .ghe-cal-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-100);
}
.ghe-page .ghe-cal-nav {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-600);
  cursor: pointer;
  font-size: 12px;
  transition: all 150ms;
}
.ghe-page .ghe-cal-nav:hover {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  border-color: var(--enedis-blue-border);
}
.ghe-page .ghe-cal-title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.2px;
  min-width: 180px;
  text-align: center;
  text-transform: capitalize;
}
.ghe-page .ghe-cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 8px 8px 4px;
  background: var(--neutral-50);
}
.ghe-page .ghe-cal-dow > div {
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--neutral-500);
  padding: 4px 0;
}
.ghe-page .ghe-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  min-height: 240px;
}
.ghe-page .ghe-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding: 10px 12px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
}
.ghe-page .ghe-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  background: #fff;
  border: 1.5px solid var(--neutral-200);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-700);
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.ghe-page .ghe-cat-pill > i {
  font-size: 11px;
  color: var(--neutral-400);
}
.ghe-page .ghe-cat-pill:hover:not(.is-active) {
  border-color: var(--enedis-blue-border);
  color: var(--neutral-900);
}
.ghe-page .ghe-cat-pill:hover:not(.is-active) > i {
  color: var(--enedis-blue);
}
.ghe-page .ghe-cat-pill:hover:not(.is-active) .ghe-cat-pill-dot {
  transform: scale(1.15);
}
.ghe-page .ghe-cat-pill.is-active {
  background: var(--enedis-blue);
  border-color: var(--enedis-blue);
  color: #fff;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--enedis-blue) 40%, transparent);
}
.ghe-page .ghe-cat-pill.is-active > i {
  color: #fff;
}
.ghe-page .ghe-cat-pill.is-active .ghe-cat-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.ghe-page .ghe-cat-pill.is-active .ghe-cat-pill-dot {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}
.ghe-page .ghe-cat-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cat-color, var(--enedis-blue));
  flex-shrink: 0;
  transition: transform 200ms;
}
.ghe-page .ghe-cat-pill-code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.4px;
  opacity: 0.75;
}
.ghe-page .ghe-cat-pill-name {
  font-size: 12px;
  font-weight: 600;
}
.ghe-page .ghe-cat-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  padding: 0 6px;
  height: 18px;
  border-radius: 999px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  margin-left: 2px;
}
.ghe-page .ghe-cal-cell {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 130px;
  transition: border-color 150ms, box-shadow 150ms, transform 150ms;
}
.ghe-page .ghe-cal-cell:hover:not(.is-out):not(.is-empty) {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--enedis-blue) 25%, transparent);
  transform: translateY(-1px);
  z-index: 2;
}
.ghe-page .ghe-cal-cell.is-out {
  background: transparent;
  border-color: transparent;
  cursor: default;
}
.ghe-page .ghe-cal-cell.is-weekend {
  background: var(--neutral-50);
}
.ghe-page .ghe-cal-cell.is-today {
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--enedis-blue) 18%, transparent);
}
.ghe-page .ghe-cal-cell.is-today .ghe-cal-cell-num {
  background: var(--enedis-blue);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.ghe-page .ghe-cal-cell.is-empty .ghe-cal-cell-head {
  opacity: 0.5;
}
.ghe-page .ghe-cal-cell-clickhead {
  cursor: pointer;
}
.ghe-page .ghe-cal-cell-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-100);
  flex-wrap: wrap;
}
.ghe-page .ghe-cal-cell-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1;
  letter-spacing: -0.4px;
}
.ghe-page .ghe-cal-cell-dow {
  font-size: 10px;
  font-weight: 700;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ghe-page .ghe-cal-cell-tot {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.2px;
}
.ghe-page .ghe-cal-cell-tot.is-good {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}
.ghe-page .ghe-cal-cell-tot.is-warn {
  background: var(--amber-50);
  color: var(--amber-800);
  border: 1px solid var(--amber-200);
}
.ghe-page .ghe-cal-cell-tot.is-low {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid var(--red-200);
}
.ghe-page .ghe-cal-cell-tot.is-empty {
  background: var(--neutral-100);
  color: var(--neutral-500);
  border: 1px solid var(--neutral-200);
}
.ghe-page .ghe-cal-cell-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 9px;
}
.ghe-page .ghe-cal-cell-flag.is-closed {
  background: var(--neutral-200);
  color: var(--neutral-700);
}
.ghe-page .ghe-cal-cell-flag.is-full {
  background: var(--red-100);
  color: var(--red-700);
}
.ghe-page .ghe-cal-cell-body {
  flex: 1;
  padding: 5px 5px 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.ghe-page .ghe-cal-cell-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: var(--text-tertiary);
  font-size: 11px;
  font-style: italic;
}
.ghe-page .ghe-cal-row {
  --cat-color: var(--enedis-blue);
  --ratio: 0;
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 5px;
  align-items: center;
  padding: 4px 7px;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: transform 120ms, box-shadow 120ms;
  overflow: hidden;
  min-height: 22px;
  font-size: 11px;
  line-height: 1;
  /* Barre de remplissage en fond (largeur = ratio dispo) */
  /* Variantes selon ratio (couleur de la barre + bord du dot) */
}
.ghe-page .ghe-cal-row .ghe-cal-row-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cat-color) 14%, transparent) 0%, color-mix(in srgb, var(--cat-color) 8%, transparent) calc(var(--ratio) * 100%), transparent calc(var(--ratio) * 100%));
  pointer-events: none;
  z-index: 0;
}
.ghe-page .ghe-cal-row > * {
  position: relative;
  z-index: 1;
}
.ghe-page .ghe-cal-row:hover {
  box-shadow: inset 0 0 0 1.5px var(--cat-color);
}
.ghe-page .ghe-cal-row.is-good {
  --cat-color: var(--green-600);
}
.ghe-page .ghe-cal-row.is-warn {
  --cat-color: var(--amber-500);
}
.ghe-page .ghe-cal-row.is-low {
  --cat-color: var(--red-600);
}
.ghe-page .ghe-cal-row.is-more {
  grid-template-columns: auto 1fr;
  color: var(--enedis-blue-deep);
  background: var(--enedis-blue-soft);
  font-weight: 600;
  justify-content: center;
}
.ghe-page .ghe-cal-row.is-more i {
  color: var(--enedis-blue);
  font-size: 9px;
}
.ghe-page .ghe-cal-row.is-more:hover {
  background: color-mix(in srgb, var(--enedis-blue-soft) 80%, var(--enedis-blue));
}
.ghe-page .ghe-cal-row-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cat-color);
  flex-shrink: 0;
}
.ghe-page .ghe-cal-row-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--neutral-700);
}
.ghe-page .ghe-cal-row-stat {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--neutral-900);
  text-align: right;
  white-space: nowrap;
}
.ghe-page .ghe-cal-row-price {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--enedis-blue-deep);
  text-align: right;
  white-space: nowrap;
}
.ghe-page .ghe-cal-row-price.is-empty {
  color: var(--neutral-300);
}
.ghe-page .ghe-modal-cat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ghe-page .ghe-modal-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--neutral-100);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
  font-size: 11.5px;
  font-weight: 600;
}
.ghe-page .ghe-modal-cat-badge strong {
  color: var(--neutral-900);
  font-weight: 700;
}
.ghe-page .ghe-modal-cat-badge.is-active {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-color: var(--enedis-blue-border);
}
.ghe-page .ghe-modal-cat-badge.is-active strong {
  color: var(--enedis-blue-deep);
}
.ghe-page .ghe-modal-cat-hint {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 11.5px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.ghe-page .ghe-modal-cat-hint i {
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}
.ghe-page .ghe-modal-cat-hint strong {
  font-weight: 700;
}
.ghe-page .ghe-modal-cat-hint.is-info {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
}
.ghe-page .ghe-modal-cat-hint.is-info i {
  color: var(--enedis-blue);
}
.ghe-page .ghe-modal-cat-hint.is-warning {
  background: var(--amber-50);
  color: var(--amber-800);
}
.ghe-page .ghe-modal-cat-hint.is-warning i {
  color: var(--amber-700);
}
.ghe-page .ghe-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 40px;
  overflow-y: auto;
}
.ghe-page .ghe-modal[style*="display: none"], .ghe-page .ghe-modal[style*="display:none"] {
  display: none !important;
}
.ghe-page .ghe-modal-back {
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 27, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ghe-page .ghe-modal-box {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ghe-page .ghe-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--neutral-100);
  background: linear-gradient(135deg, #FAFBFF 0%, #FFFFFF 100%);
}
.ghe-page .ghe-modal-head h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
}
.ghe-page .ghe-modal-head p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-500);
}
.ghe-page .ghe-modal-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ghe-page .ghe-modal-titles {
  flex: 1;
  min-width: 0;
}
.ghe-page .ghe-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 150ms;
}
.ghe-page .ghe-modal-close:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.ghe-page .ghe-modal-body {
  padding: 18px 22px;
}
.ghe-page .ghe-modal-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.ghe-page .ghe-massif {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: min(440px, 100vw - 48px);
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
  padding: 20px;
  display: none;
}
.ghe-page .ghe-massif.is-open {
  display: block;
}
.ghe-page .ghe-massif-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--neutral-100);
}
.ghe-page .ghe-massif-head i {
  color: var(--enedis-blue);
  font-size: 14px;
}
.ghe-page .ghe-massif-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
}
.ghe-page .ghe-massif-foot {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--neutral-100);
}
.ghe-page .ghe-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  background: var(--neutral-50);
  border: 1.5px solid var(--neutral-200);
  border-radius: 10px;
  padding: 4px;
}
.ghe-page .ghe-day-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 4px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--neutral-500);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 150ms;
  user-select: none;
  position: relative;
}
.ghe-page .ghe-day-box > input[type=checkbox] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ghe-page .ghe-day-box:hover {
  color: var(--neutral-900);
  background: rgba(0, 0, 0, 0.03);
}
.ghe-page .ghe-day-box:has(input:checked) {
  background: var(--enedis-blue);
  color: #fff;
}
.ghe-page .ghe-empty {
  text-align: center;
  padding: 48px 24px;
}
.ghe-page .ghe-empty h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
}
.ghe-page .ghe-empty p {
  margin: 0;
  color: var(--neutral-500);
  font-size: 13px;
}
.ghe-page .ghe-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.ghe-page .ghe-restau-wrap .form-card,
.ghe-page .ghe-restau-wrap .restaurant-card {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.ghe-page .ghe-restau-wrap .form-section {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--ghe-radius);
  padding: 22px 24px;
  margin-bottom: 16px;
  position: relative;
}
.ghe-page .ghe-restau-wrap .form-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
  border-radius: var(--ghe-radius) 0 0 var(--ghe-radius);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes ghePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--green-600) 35%, transparent);
  }
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--green-600) 0%, transparent);
  }
}
/* ═══════════════════════════════════════════════════════════════
   RÉSERVATION — page détail dossier
   Scope : .dos-page (en plus de .fiche existant). Refonte
   complète : hero Enedis avec avatar, sidebar avec cards, tabs
   nav, panels avec stripes verticales et sections numérotées.

   Les styles existants de _fiche.scss sont overridden via
   `.dos-page .selector` (mêmes specificités, mais notre fichier
   est chargé après dans app.scss → cascade gagne).
   ═══════════════════════════════════════════════════════════════ */
.dos-page {
  --enedis-blue: #1432FA;
  --enedis-blue-soft: #EEF1FF;
  --enedis-blue-border: #C7D0FF;
  --enedis-blue-deep: #0F22B8;
  --dos-radius: 14px;
  padding-bottom: 96px;
  /* On annule le `.page-back` historique du _fiche.scss s'il existe */
  /* ── Breadcrumb ──────────────────────────────────────────── */
  /* ── Bandeau d'annulation ───────────────────────────────── */
  /* ── Bandeau Taxi requis ────────────────────────────────── */
  /* ══════════════════════════════════════════════════════════
     HERO Enedis (remplace l'identity-strip historique)
     ══════════════════════════════════════════════════════════ */
  /* ══════════════════════════════════════════════════════════
     LAYOUT GRID
     ══════════════════════════════════════════════════════════ */
  /* ══════════════════════════════════════════════════════════
     SIDEBAR
     ══════════════════════════════════════════════════════════ */
  /* ── Trajet préconisé ───────────────────────────────────── */
  /* ── Quick actions (sidebar) ────────────────────────────── */
  /* ══════════════════════════════════════════════════════════
     MAIN CARD + TABS + PANELS
     ══════════════════════════════════════════════════════════ */
  /* ── Tabs nav ────────────────────────────────────────────── */
  /* Alert numérique (notification rouge avec nombre) */
  /* ── Panels ──────────────────────────────────────────────── */
  /* ── Section headers (.section-h) → stripe + numbered look ── */
  /* ── Status flow (timeline du panel statut) ────────────── */
  /* ── Forms inside panels ────────────────────────────────── */
  /* ── Boutons ─────────────────────────────────────────────── */
  /* ── Badges sémantiques ──────────────────────────────────── */
  /* ── Charge pill (legacy class) ─────────────────────────── */
  /* ── Tables génériques dans panels ──────────────────────── */
  /* ══════════════════════════════════════════════════════════
     PANEL TRAJET — import billet, empty state, segments
     ══════════════════════════════════════════════════════════ */
  /* ── Drop zone import billet PDF ─────────────────────────── */
  /* ── Modal preview billet ────────────────────────────────── */
  /* ── Empty state trajet (choix import / manuel) ─────────── */
  /* ── Bandeau chaîne aller/retour (correspondances) ──────── */
  /* ── Sens (aller / retour) ──────────────────────────────── */
  /* ── Segment card ───────────────────────────────────────── */
  /* ── Form fields (.form-field au lieu de .form-group) ──── */
  /* ══════════════════════════════════════════════════════════
     Nuitées supplémentaires (panel statut)
     ══════════════════════════════════════════════════════════ */
  /* ── Commission / cost rows ─────────────────────────────── */
  /* ══════════════════════════════════════════════════════════
     PANEL NAVETTES — suggestions, recap, transport cards
     ══════════════════════════════════════════════════════════ */
  /* ── Suggestion transport (banner par sens) ─────────────── */
  /* ── Recap stats navettes ───────────────────────────────── */
  /* ── Transport cards (navettes / taxis disponibles) ─────── */
  /* ══════════════════════════════════════════════════════════
     PANEL REPAS — planning des dîners
     ══════════════════════════════════════════════════════════ */
  /* ── Restaurant capacité indicator ───────────────────────── */
  /* ── Récap coût dîners ──────────────────────────────────── */
  /* ── Section count badge ────────────────────────────────── */
  /* ── Alerts ──────────────────────────────────────────────── */
}
.dos-page .page-back {
  display: none;
}
.dos-page .dos-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.dos-page .dos-crumb-link {
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 150ms, color 150ms;
}
.dos-page .dos-crumb-link:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.dos-page .dos-crumb-link i {
  font-size: 11px;
}
.dos-page .dos-crumb-sep {
  color: var(--neutral-300);
}
.dos-page .dos-crumb-current {
  color: var(--neutral-900);
  font-weight: 600;
}
.dos-page .dossier-cancelled-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--dos-radius);
  margin-bottom: 18px;
  box-shadow: none !important;
}
.dos-page .dossier-cancelled-banner .dcb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--red-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.dos-page .dossier-cancelled-banner .dcb-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dos-page .dossier-cancelled-banner .dcb-body strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--red-700);
}
.dos-page .dossier-cancelled-banner .dcb-body span {
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.5;
}
.dos-page .dossier-taxi-banner {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: var(--dos-radius);
  margin-bottom: 18px;
  box-shadow: none !important;
}
.dos-page .dossier-taxi-banner .dtb-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--amber-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.dos-page .dossier-taxi-banner .dtb-body {
  flex: 1;
  min-width: 0;
}
.dos-page .dossier-taxi-banner .dtb-body > strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--amber-900, #78350F);
  margin-bottom: 8px;
}
.dos-page .dossier-taxi-banner .dtb-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dos-page .dossier-taxi-banner .dtb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--amber-200);
  border-radius: 9px;
  flex-wrap: wrap;
}
.dos-page .dossier-taxi-banner .dtb-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  background: var(--amber-100);
  color: var(--amber-800);
  letter-spacing: 0.05em;
}
.dos-page .dossier-taxi-banner .dtb-reason {
  font-size: 12.5px;
  color: var(--neutral-700);
  flex: 1;
  min-width: 200px;
}
.dos-page .dossier-taxi-banner .dtb-meta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--neutral-600);
}
.dos-page .dossier-taxi-banner .dtb-meta i {
  font-size: 10px;
  color: var(--neutral-400);
}
.dos-page .dossier-taxi-banner .dtb-row-actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.dos-page .dossier-taxi-banner .dtb-history {
  margin-top: 6px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  font-size: 11.5px;
}
.dos-page .dossier-taxi-banner .dtb-history-title {
  font-weight: 700;
  color: var(--neutral-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10.5px;
}
.dos-page .dossier-taxi-banner .dtb-history-item {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
  color: var(--neutral-600);
  flex-wrap: wrap;
}
.dos-page .dossier-taxi-banner .dtb-history-society {
  font-weight: 700;
  color: var(--neutral-900);
}
.dos-page .dossier-taxi-banner .dtb-history-motif {
  color: var(--red-600);
  font-style: italic;
}
.dos-page .dossier-taxi-banner .dtb-history-date {
  font-family: var(--font-mono);
  color: var(--neutral-500);
  font-size: 11px;
  margin-left: auto;
}
.dos-page .dos-hero {
  position: relative;
  border-radius: var(--dos-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--neutral-200);
  margin-bottom: 22px;
}
.dos-page .dos-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 240px at 100% 0%, rgba(20, 50, 250, 0.08), transparent 60%), radial-gradient(ellipse 500px 260px at 0% 100%, rgba(20, 50, 250, 0.04), transparent 60%), linear-gradient(135deg, #FAFBFF 0%, #FFFFFF 100%);
  pointer-events: none;
}
.dos-page .dos-hero-inner {
  position: relative;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
@media (max-width: 1100px) {
  .dos-page .dos-hero-inner {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    padding: 20px;
  }
  .dos-page .dos-hero-inner .dos-hero-actions {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
}
.dos-page .dos-hero-avatar {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.dos-page .dos-hero-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 50%);
  pointer-events: none;
}
.dos-page .dos-hero-avatar > span {
  position: relative;
  z-index: 1;
}
.dos-page .dos-hero-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.dos-page .dos-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--enedis-blue);
  margin: 0;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
}
.dos-page .dos-eyebrow i {
  font-size: 10px;
}
.dos-page .dos-eyebrow .dos-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--enedis-blue-deep);
  background: var(--enedis-blue-soft);
  padding: 1px 7px;
  border-radius: 4px;
  margin-left: 4px;
  letter-spacing: 0.4px;
}
.dos-page .dos-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
  line-height: 1.2;
  word-break: break-word;
}
.dos-page .dos-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.dos-page .dos-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--neutral-100);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
  white-space: nowrap;
}
.dos-page .dos-pill i {
  font-size: 10px;
  color: var(--neutral-500);
}
.dos-page .dos-pill.is-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.3px;
}
.dos-page .dos-pill.is-key {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-color: var(--enedis-blue-border);
}
.dos-page .dos-pill.is-key i {
  color: var(--enedis-blue);
}
.dos-page .dos-charge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.dos-page .dos-charge i {
  font-size: 10px;
}
.dos-page .dos-charge.is-totale {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.dos-page .dos-charge.is-totale i {
  color: var(--green-600);
}
.dos-page .dos-charge.is-encours {
  background: var(--amber-50);
  color: var(--amber-800);
  border-color: var(--amber-200);
}
.dos-page .dos-charge.is-encours i {
  color: var(--amber-700);
}
.dos-page .dos-charge.is-horsscope {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.dos-page .dos-charge.is-horsscope i {
  color: var(--red-600);
}
.dos-page .dos-charge.is-na {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}
.dos-page .dos-charge.is-na i {
  color: var(--neutral-500);
}
.dos-page .dos-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.dos-page .dos-status i {
  font-size: 9px;
}
.dos-page .dos-status.is-success {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.dos-page .dos-status.is-success .dos-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 2.5px color-mix(in srgb, var(--green-600) 25%, transparent);
}
.dos-page .dos-status.is-info {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-color: var(--enedis-blue-border);
}
.dos-page .dos-status.is-info .dos-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--enedis-blue);
}
.dos-page .dos-status.is-warning {
  background: var(--amber-50);
  color: var(--amber-800);
  border-color: var(--amber-200);
}
.dos-page .dos-status.is-warning .dos-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--amber-500);
}
.dos-page .dos-status.is-warning i {
  color: var(--amber-700);
}
.dos-page .dos-status.is-danger {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.dos-page .dos-status.is-danger .dos-dot {
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: var(--red-600);
}
.dos-page .dos-hero-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.dos-page .dos-hero-actions form {
  display: inline;
  margin: 0;
}
.dos-page .dos-btn-primary,
.dos-page .dos-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 160ms;
  border: 1.5px solid transparent;
}
.dos-page .dos-btn-primary i,
.dos-page .dos-btn-outline i {
  font-size: 12px;
}
.dos-page .dos-btn-primary {
  background: var(--enedis-blue);
  color: #fff;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--enedis-blue) 40%, transparent);
}
.dos-page .dos-btn-primary:hover {
  background: var(--enedis-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px -3px color-mix(in srgb, var(--enedis-blue) 50%, transparent);
}
.dos-page .dos-btn-outline {
  background: #fff;
  color: var(--neutral-700);
  border-color: var(--neutral-200);
}
.dos-page .dos-btn-outline:hover {
  border-color: var(--enedis-blue-border);
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
}
.dos-page .fiche-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 1000px) {
  .dos-page .fiche-grid {
    grid-template-columns: 1fr;
  }
}
.dos-page .fiche-side {
  order: 2; /* colonne latérale (contexte/actions/disclaimer) déplacée à droite ;
   le bloc principal .main-card (order 0) reste à gauche. */
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--topbar-h) + 16px);
}
@media (max-width: 1100px) {
  .dos-page .fiche-side {
    position: static;
  }
}
.dos-page .dos-qa:hover {
  background: #F4F6FA;
}
.dos-page .side-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--dos-radius);
  overflow: hidden;
  position: relative;
  transition: border-color 200ms, box-shadow 200ms;
}
.dos-page .side-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
  opacity: 0;
  transition: opacity 200ms;
}
.dos-page .side-card:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 14px -8px color-mix(in srgb, var(--enedis-blue) 25%, transparent);
}
.dos-page .side-card:hover::before {
  opacity: 0.85;
}
.dos-page .side-card .card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-100);
}
.dos-page .side-card .card-head i {
  color: var(--enedis-blue);
  font-size: 12px;
}
.dos-page .side-card .card-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.1px;
}
.dos-page .side-card .card-body {
  padding: 14px 16px;
  font-size: 12.5px;
}
.dos-page .side-card .card-body dl > div + div {
  margin-top: 10px;
}
.dos-page .side-card .card-body dt {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--neutral-500);
  margin-bottom: 3px;
}
.dos-page .side-card .card-body dd {
  margin: 0;
  color: var(--neutral-900);
  font-weight: 500;
  line-height: 1.45;
}
.dos-page .side-card .card-body .sub {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 1px;
  font-weight: 400;
}
.dos-page .side-card .card-body .mono {
  font-family: var(--font-mono);
}
.dos-page .side-card .manager {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--neutral-50);
  border-radius: 9px;
  border: 1px solid var(--neutral-100);
}
.dos-page .side-card .manager .manager-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--enedis-blue), var(--enedis-blue-deep));
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 8px -3px color-mix(in srgb, var(--enedis-blue) 35%, transparent), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}
.dos-page .side-card .manager .manager-info {
  flex: 1;
  min-width: 0;
}
.dos-page .side-card .manager .manager-name {
  font-weight: 700;
  color: var(--neutral-900);
  font-size: 13px;
}
.dos-page .side-card .manager .manager-sub {
  font-size: 11.5px;
  color: var(--neutral-500);
  font-family: var(--font-mono);
  margin-top: 1px;
}
.dos-page .side-card .manager .manager-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.dos-page .side-card .manager .icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  text-decoration: none;
  transition: all 150ms;
}
.dos-page .side-card .manager .icon-btn:hover {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  border-color: var(--enedis-blue-border);
}
.dos-page .tp {
  padding: 12px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
}
.dos-page .tp + .dos-page .tp {
  margin-top: 8px;
}
.dos-page .tp.is-reco {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-border);
}
.dos-page .tp .tp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.dos-page .tp .tp-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.dos-page .tp .tp-mode {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  flex: 1;
}
.dos-page .tp .tp-reco-badge {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--enedis-blue);
  color: #fff;
}
.dos-page .tp .tp-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.4;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.dos-page .tp .tp-route > i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.dos-page .tp .tp-meta {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  color: var(--neutral-500);
  flex-wrap: wrap;
}
.dos-page .tp .tp-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dos-page .tp .tp-meta i {
  font-size: 10px;
}
.dos-page .tp .tp-warning {
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--amber-50);
  border-left: 3px solid var(--amber-500);
  border-radius: 0 6px 6px 0;
  font-size: 11.5px;
  color: var(--amber-800);
}
.dos-page .tp .tp-warning i {
  color: var(--amber-700);
  margin-right: 6px;
}
.dos-page .tp .tp-alt-title {
  margin: 12px 0 6px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--neutral-500);
}
.dos-page .quick-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dos-page .quick-actions form {
  display: block;
  margin: 0;
}
.dos-page .quick-action {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-700);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 150ms;
}
.dos-page .quick-action i {
  font-size: 13px;
  color: var(--enedis-blue);
  width: 16px;
  text-align: center;
}
.dos-page .quick-action:hover {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-border);
  color: var(--enedis-blue-deep);
}
.dos-page .main-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--dos-radius);
  overflow: hidden;
}
.dos-page .tabs,
.dos-page .tabs-bar,
.dos-page nav.tabs,
.dos-page .tab-list {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 8px;
  background: #fff;
  border-bottom: 1px solid #E8EBF2;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.dos-page .tabs::-webkit-scrollbar,
.dos-page .tabs-bar::-webkit-scrollbar,
.dos-page nav.tabs::-webkit-scrollbar,
.dos-page .tab-list::-webkit-scrollbar {
  height: 6px;
}
.dos-page .tabs::-webkit-scrollbar-thumb,
.dos-page .tabs-bar::-webkit-scrollbar-thumb,
.dos-page nav.tabs::-webkit-scrollbar-thumb,
.dos-page .tab-list::-webkit-scrollbar-thumb {
  background: var(--neutral-200);
  border-radius: 3px;
}
.dos-page .tab,
.dos-page .tab-btn,
.dos-page a.tab-btn,
.dos-page button.tab-btn,
.dos-page .tab-link,
.dos-page a[role=tab] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 15px;
  border-radius: 0;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
  transition: color 150ms;
  position: relative;
  /* Couleur d'accent propre à chaque onglet (icône + soulignement),
     à la manière des tuiles de la page Mon Séjour. */
  /* cyan   */
  /* vert   */
  /* bleu   */
  /* orange */
  /* violet */
  /* ambre  */
}
.dos-page .tab > i,
.dos-page .tab-btn > i,
.dos-page a.tab-btn > i,
.dos-page button.tab-btn > i,
.dos-page .tab-link > i,
.dos-page a[role=tab] > i {
  font-size: 14px;
  color: var(--tab-color, #9AA1B2);
}
.dos-page .tab::after,
.dos-page .tab-btn::after,
.dos-page a.tab-btn::after,
.dos-page button.tab-btn::after,
.dos-page .tab-link::after,
.dos-page a[role=tab]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
}
.dos-page .tab:hover:not(.is-active),
.dos-page .tab-btn:hover:not(.is-active),
.dos-page a.tab-btn:hover:not(.is-active),
.dos-page button.tab-btn:hover:not(.is-active),
.dos-page .tab-link:hover:not(.is-active),
.dos-page a[role=tab]:hover:not(.is-active) {
  color: #4E5A75;
}
.dos-page .tab[data-tab=synthese],
.dos-page .tab-btn[data-tab=synthese],
.dos-page a.tab-btn[data-tab=synthese],
.dos-page button.tab-btn[data-tab=synthese],
.dos-page .tab-link[data-tab=synthese],
.dos-page a[role=tab][data-tab=synthese] {
  --tab-color: #0891B2;
}
.dos-page .tab[data-tab=hebergement],
.dos-page .tab-btn[data-tab=hebergement],
.dos-page a.tab-btn[data-tab=hebergement],
.dos-page button.tab-btn[data-tab=hebergement],
.dos-page .tab-link[data-tab=hebergement],
.dos-page a[role=tab][data-tab=hebergement] {
  --tab-color: #6CC04A;
}
.dos-page .tab[data-tab=thrips],
.dos-page .tab-btn[data-tab=thrips],
.dos-page a.tab-btn[data-tab=thrips],
.dos-page button.tab-btn[data-tab=thrips],
.dos-page .tab-link[data-tab=thrips],
.dos-page a[role=tab][data-tab=thrips] {
  --tab-color: #2563EB;
}
.dos-page .tab[data-tab=transferts],
.dos-page .tab-btn[data-tab=transferts],
.dos-page a.tab-btn[data-tab=transferts],
.dos-page button.tab-btn[data-tab=transferts],
.dos-page .tab-link[data-tab=transferts],
.dos-page a[role=tab][data-tab=transferts] {
  --tab-color: #EA580C;
}
.dos-page .tab[data-tab=mon-sejour],
.dos-page .tab-btn[data-tab=mon-sejour],
.dos-page a.tab-btn[data-tab=mon-sejour],
.dos-page button.tab-btn[data-tab=mon-sejour],
.dos-page .tab-link[data-tab=mon-sejour],
.dos-page a[role=tab][data-tab=mon-sejour] {
  --tab-color: #7C3AED;
}
.dos-page .tab[data-tab=historique],
.dos-page .tab-btn[data-tab=historique],
.dos-page a.tab-btn[data-tab=historique],
.dos-page button.tab-btn[data-tab=historique],
.dos-page .tab-link[data-tab=historique],
.dos-page a[role=tab][data-tab=historique] {
  --tab-color: #D97706;
}
.dos-page .tab.is-active,
.dos-page .tab-btn.is-active,
.dos-page a.tab-btn.is-active,
.dos-page button.tab-btn.is-active,
.dos-page .tab-link.is-active,
.dos-page a[role=tab].is-active {
  color: #1D2D5C;
}
.dos-page .tab.is-active::after,
.dos-page .tab-btn.is-active::after,
.dos-page a.tab-btn.is-active::after,
.dos-page button.tab-btn.is-active::after,
.dos-page .tab-link.is-active::after,
.dos-page a[role=tab].is-active::after {
  background: var(--tab-color, #6CC04A);
}
.dos-page .tab-alert {
  position: static;
  min-width: 18px;
  padding: 1px 7px;
  border-radius: 20px;
  background: #FBE4E3;
  color: #B23A36;
  font-size: 10.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  letter-spacing: 0;
}
.dos-page .tab-badge,
.dos-page .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  padding: 1px 7px;
  border-radius: 20px;
  background: #E3EAF6;
  color: #34508C;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.4;
  margin-left: 0;
}
.dos-page .tab-panels {
  padding: 18px 20px 22px;
}
.dos-page .panel {
  display: none;
  padding: 0;
}
.dos-page .panel.is-active {
  display: block;
  animation: dosFadeIn 280ms ease-out;
}
.dos-page .section-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 10px 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.1px;
  border-bottom: 1px dashed var(--neutral-200);
  position: relative;
}
.dos-page .section-h::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
  opacity: 0.7;
}
.dos-page .section-h > i {
  color: var(--enedis-blue);
  font-size: 13px;
  background: var(--enedis-blue-soft);
  padding: 6px 8px;
  border-radius: 7px;
  border: 1px solid var(--enedis-blue-border);
}
.dos-page .section-h + .section-h {
  margin-top: 28px;
}
.dos-page .status-flow,
.dos-page .status-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
  padding: 16px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
}
.dos-page .status-step,
.dos-page .step {
  position: relative;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  transition: all 200ms;
}
.dos-page .status-step.is-done, .dos-page .status-step.state-done,
.dos-page .step.is-done,
.dos-page .step.state-done {
  border-color: var(--green-200);
  background: var(--green-50);
}
.dos-page .status-step.is-done .step-icon, .dos-page .status-step.is-done .status-step-icon, .dos-page .status-step.state-done .step-icon, .dos-page .status-step.state-done .status-step-icon,
.dos-page .step.is-done .step-icon,
.dos-page .step.is-done .status-step-icon,
.dos-page .step.state-done .step-icon,
.dos-page .step.state-done .status-step-icon {
  background: var(--green-600);
  color: #fff;
}
.dos-page .status-step.is-done .step-label, .dos-page .status-step.is-done .status-step-label, .dos-page .status-step.state-done .step-label, .dos-page .status-step.state-done .status-step-label,
.dos-page .step.is-done .step-label,
.dos-page .step.is-done .status-step-label,
.dos-page .step.state-done .step-label,
.dos-page .step.state-done .status-step-label {
  color: var(--green-700);
}
.dos-page .status-step.is-pending, .dos-page .status-step.state-pending,
.dos-page .step.is-pending,
.dos-page .step.state-pending {
  border-color: var(--amber-200);
  background: var(--amber-50);
}
.dos-page .status-step.is-pending .step-icon, .dos-page .status-step.is-pending .status-step-icon, .dos-page .status-step.state-pending .step-icon, .dos-page .status-step.state-pending .status-step-icon,
.dos-page .step.is-pending .step-icon,
.dos-page .step.is-pending .status-step-icon,
.dos-page .step.state-pending .step-icon,
.dos-page .step.state-pending .status-step-icon {
  background: var(--amber-500);
  color: #fff;
}
.dos-page .status-step.is-pending .step-label, .dos-page .status-step.is-pending .status-step-label, .dos-page .status-step.state-pending .step-label, .dos-page .status-step.state-pending .status-step-label,
.dos-page .step.is-pending .step-label,
.dos-page .step.is-pending .status-step-label,
.dos-page .step.state-pending .step-label,
.dos-page .step.state-pending .status-step-label {
  color: var(--amber-800);
}
.dos-page .status-step.is-active, .dos-page .status-step.state-active,
.dos-page .step.is-active,
.dos-page .step.state-active {
  border-color: var(--enedis-blue-border);
  background: var(--enedis-blue-soft);
}
.dos-page .status-step.is-active .step-icon, .dos-page .status-step.is-active .status-step-icon, .dos-page .status-step.state-active .step-icon, .dos-page .status-step.state-active .status-step-icon,
.dos-page .step.is-active .step-icon,
.dos-page .step.is-active .status-step-icon,
.dos-page .step.state-active .step-icon,
.dos-page .step.state-active .status-step-icon {
  background: var(--enedis-blue);
  color: #fff;
}
.dos-page .status-step.is-active .step-label, .dos-page .status-step.is-active .status-step-label, .dos-page .status-step.state-active .step-label, .dos-page .status-step.state-active .status-step-label,
.dos-page .step.is-active .step-label,
.dos-page .step.is-active .status-step-label,
.dos-page .step.state-active .step-label,
.dos-page .step.state-active .status-step-label {
  color: var(--enedis-blue-deep);
}
.dos-page .status-step.is-todo, .dos-page .status-step.state-todo,
.dos-page .step.is-todo,
.dos-page .step.state-todo {
  opacity: 0.65;
}
.dos-page .status-step .step-icon, .dos-page .status-step .status-step-icon,
.dos-page .step .step-icon,
.dos-page .step .status-step-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--neutral-200);
  color: var(--neutral-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-bottom: 8px;
}
.dos-page .status-step .step-label, .dos-page .status-step .status-step-label,
.dos-page .step .step-label,
.dos-page .step .status-step-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 4px;
}
.dos-page .status-step .step-value, .dos-page .status-step .status-step-value,
.dos-page .step .step-value,
.dos-page .step .status-step-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 4px;
}
.dos-page .status-step .step-date, .dos-page .status-step .status-step-date,
.dos-page .step .step-date,
.dos-page .step .status-step-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--neutral-500);
}
.dos-page .panel {
  /* Radios stylés en pill toggle */
}
.dos-page .panel .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.dos-page .panel .form-group label,
.dos-page .panel .form-group .form-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-700);
}
.dos-page .panel .form-group label .required,
.dos-page .panel .form-group .form-label .required {
  color: var(--red-600);
  margin-left: 2px;
}
.dos-page .panel .form-control {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--neutral-200);
  background: var(--neutral-50);
  border-radius: 9px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--neutral-900);
  transition: all 160ms;
}
.dos-page .panel .form-control:hover:not(:focus):not(:disabled) {
  border-color: var(--neutral-300);
  background: #fff;
}
.dos-page .panel .form-control:focus {
  outline: none;
  background: #fff;
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--enedis-blue) 14%, transparent);
}
.dos-page .panel textarea.form-control {
  min-height: 80px;
  line-height: 1.5;
  resize: vertical;
}
.dos-page .panel .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .dos-page .panel .form-grid {
    grid-template-columns: 1fr;
  }
}
.dos-page .panel .form-group.full,
.dos-page .panel .form-grid > .full {
  grid-column: 1/-1;
}
.dos-page .panel .form-actions,
.dos-page .panel .form-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px dashed var(--neutral-200);
}
.dos-page .panel .form-actions > .footer-hint,
.dos-page .panel .form-footer > .footer-hint {
  margin-right: auto;
  font-size: 11.5px;
  color: var(--neutral-500);
  align-self: center;
}
.dos-page .panel .form-toggle-card,
.dos-page .panel .toggle-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--neutral-50);
  padding: 4px;
  border-radius: 10px;
  border: 1.5px solid var(--neutral-200);
  margin-bottom: 14px;
}
.dos-page .panel .form-toggle-card label,
.dos-page .panel .toggle-radios label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-500);
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: all 150ms;
}
.dos-page .panel .form-toggle-card label input[type=radio],
.dos-page .panel .toggle-radios label input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dos-page .panel .form-toggle-card label:has(input:checked),
.dos-page .panel .toggle-radios label:has(input:checked) {
  background: #fff;
  color: var(--neutral-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--neutral-200);
}
.dos-page .btn-primary {
  background: var(--enedis-blue) !important;
  color: #fff !important;
}
.dos-page .btn-primary:hover:not(:disabled) {
  background: var(--enedis-blue-deep) !important;
}
.dos-page .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}
.dos-page .badge.b-green, .dos-page .badge.b-success {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.dos-page .badge.b-amber, .dos-page .badge.b-warning {
  background: var(--amber-50);
  color: var(--amber-800);
  border-color: var(--amber-200);
}
.dos-page .badge.b-red, .dos-page .badge.b-danger {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.dos-page .badge.b-blue, .dos-page .badge.b-info {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-color: var(--enedis-blue-border);
}
.dos-page .badge.b-grey, .dos-page .badge.b-gray, .dos-page .badge.b-muted {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}
.dos-page .charge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.dos-page .charge-pill.c-totale {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.dos-page .charge-pill.c-encours {
  background: var(--amber-50);
  color: var(--amber-800);
  border-color: var(--amber-200);
}
.dos-page .charge-pill.c-horsscope {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.dos-page .charge-pill.c-na {
  background: var(--neutral-100);
  color: var(--neutral-600);
  border-color: var(--neutral-200);
}
.dos-page .panel .data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dos-page .panel .data-table thead th {
  background: var(--neutral-50);
  color: var(--neutral-500);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--neutral-200);
  border-top: 1px solid var(--neutral-200);
}
.dos-page .panel .data-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--neutral-100);
  vertical-align: middle;
}
.dos-page .panel .data-table tbody tr:last-child td {
  border-bottom: none;
}
.dos-page .panel .data-table tbody tr:hover {
  background: rgba(20, 50, 250, 0.02);
}
.dos-page .billet-import {
  margin-bottom: 18px;
}
.dos-page .billet-drop {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: var(--enedis-blue-soft);
  border: 2px dashed var(--enedis-blue-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 200ms;
}
.dos-page .billet-drop:hover, .dos-page .billet-drop.is-dragover {
  background: color-mix(in srgb, var(--enedis-blue-soft) 80%, var(--enedis-blue));
  border-color: var(--enedis-blue);
  border-style: solid;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--enedis-blue) 35%, transparent);
}
.dos-page .billet-drop:hover .billet-drop-icon, .dos-page .billet-drop.is-dragover .billet-drop-icon {
  transform: scale(1.05);
}
.dos-page .billet-drop-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  color: var(--enedis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--enedis-blue) 25%, transparent);
  transition: transform 200ms;
}
.dos-page .billet-drop-text {
  flex: 1;
  min-width: 0;
}
.dos-page .billet-drop-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 3px;
}
.dos-page .billet-drop-text span {
  font-size: 12px;
  color: var(--neutral-600);
  line-height: 1.4;
}
.dos-page .billet-drop-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: var(--enedis-blue);
  color: #fff;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.dos-page .billet-drop-cta i {
  font-size: 12px;
}
.dos-page .billet-status {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--neutral-700);
}
.dos-page .billet-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex !important;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 40px;
  overflow-y: auto;
}
.dos-page .billet-modal[style*="display: none"], .dos-page .billet-modal[style*="display:none"] {
  display: none !important;
}
.dos-page .billet-modal-backdrop {
  animation: fade var(--dur-base) var(--ease-out) both;
  position: fixed;
  inset: 0;
  background: rgba(13, 16, 27, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dos-page .billet-modal-box {
  animation: rise var(--dur-base) var(--ease-out) both;
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dos-page .billet-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--neutral-100);
  background: linear-gradient(135deg, #FAFBFF 0%, #FFFFFF 100%);
}
.dos-page .billet-modal-head h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-900);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dos-page .billet-modal-head h3 i {
  color: var(--enedis-blue);
  font-size: 13px;
}
.dos-page .billet-modal-head > div:first-child {
  flex: 1;
}
.dos-page .billet-modal-head span {
  font-size: 11.5px;
  color: var(--neutral-500);
}
.dos-page .billet-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition: all 150ms;
}
.dos-page .billet-modal-close:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.dos-page .billet-modal-body {
  padding: 18px 22px;
  max-height: 60vh;
  overflow-y: auto;
  font-size: 13px;
}
.dos-page .billet-modal-foot {
  padding: 14px 22px;
  border-top: 1px solid var(--neutral-100);
  background: var(--neutral-50);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.dos-page .trajet-empty {
  margin-top: 14px;
  padding: 22px;
  background: linear-gradient(135deg, var(--enedis-blue-soft) 0%, #fff 100%);
  border: 1px solid var(--enedis-blue-border);
  border-radius: var(--dos-radius);
}
.dos-page .te-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.dos-page .te-header h3 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
}
.dos-page .te-header p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-600);
}
.dos-page .te-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--enedis-blue) 0%, var(--enedis-blue-deep) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 12px -4px color-mix(in srgb, var(--enedis-blue) 35%, transparent), inset 0 -1px 2px rgba(0, 0, 0, 0.15);
}
.dos-page .te-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .dos-page .te-choices {
    grid-template-columns: 1fr;
  }
}
.dos-page .te-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--neutral-200);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  position: relative;
  transition: all 200ms;
}
.dos-page .te-choice:hover {
  border-color: var(--enedis-blue);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--enedis-blue) 30%, transparent);
}
.dos-page .te-choice:hover .te-choice-icon {
  transform: scale(1.05) rotate(-3deg);
}
.dos-page .te-choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.dos-page .te-choice-pdf .te-choice-icon {
  background: var(--enedis-blue);
  color: #fff;
  box-shadow: 0 4px 10px -3px color-mix(in srgb, var(--enedis-blue) 35%, transparent);
}
.dos-page .te-choice-body {
  flex: 1;
  min-width: 0;
}
.dos-page .te-choice-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 3px;
}
.dos-page .te-choice-sub {
  font-size: 11.5px;
  color: var(--neutral-500);
  line-height: 1.4;
}
.dos-page .te-choice-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  background: var(--enedis-blue);
  color: #fff;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dos-page .trajet-chain {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--enedis-blue-soft);
  border: 1px solid var(--enedis-blue-border);
  border-radius: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.dos-page .trajet-chain.chain-aller .chain-label > i {
  transform: none;
}
.dos-page .trajet-chain.chain-retour .chain-label > i {
  transform: none;
}
.dos-page .chain-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  background: var(--enedis-blue);
  color: #fff;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dos-page .chain-label i {
  font-size: 10px;
}
.dos-page .chain-path {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-800);
}
.dos-page .chain-station {
  padding: 3px 9px;
  background: #fff;
  border: 1px solid var(--enedis-blue-border);
  border-radius: 6px;
  color: var(--enedis-blue-deep);
}
.dos-page .chain-station.chain-end {
  background: var(--enedis-blue);
  color: #fff;
  border-color: var(--enedis-blue);
}
.dos-page .chain-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--enedis-blue);
  font-size: 11px;
}
.dos-page .chain-arrow small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neutral-500);
  font-weight: 600;
}
.dos-page .chain-count {
  font-size: 11px;
  color: var(--enedis-blue-deep);
  font-weight: 600;
  padding: 3px 9px;
  background: #fff;
  border-radius: 999px;
  flex-shrink: 0;
}
.dos-page .trajet-sens {
  margin-bottom: 16px;
}
.dos-page .trajet-sens-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-100);
  border-radius: 9px;
}
.dos-page .trajet-sens-head h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dos-page .trajet-sens-head h4 i {
  color: var(--enedis-blue);
  background: var(--enedis-blue-soft);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}
.dos-page .trajet-segments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dos-page .trajet-segment {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 16px 18px;
  position: relative;
  transition: border-color 200ms, box-shadow 200ms;
}
.dos-page .trajet-segment:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--enedis-blue) 20%, transparent);
}
.dos-page .trajet-segment::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
  border-radius: 12px 0 0 12px;
  opacity: 0.85;
}
.dos-page .trajet-segment-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--neutral-200);
}
.dos-page .trajet-segment-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border: 1px solid var(--enedis-blue-border);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
}
.dos-page .trajet-segment-label i {
  font-size: 10px;
  color: var(--enedis-blue);
}
.dos-page .trajet-segment-remove {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid var(--neutral-200);
  background: #fff;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 11px;
  transition: all 150ms;
}
.dos-page .trajet-segment-remove:hover {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.dos-page .panel .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.dos-page .panel .form-field.full {
  grid-column: 1/-1;
}
.dos-page .panel .form-field .form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dos-page .nuitee-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  transition: all 150ms;
}
.dos-page .nuitee-card:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--enedis-blue) 20%, transparent);
}
.dos-page .nuitee-card.confirme {
  border-color: var(--green-200);
  background: var(--green-50);
}
.dos-page .nuitee-card.suggere {
  border-color: var(--amber-200);
  background: var(--amber-50);
}
.dos-page .nuitee-card strong {
  font-family: var(--font-mono);
  color: var(--neutral-900);
  font-size: 13px;
}
.dos-page .nuitee-card .sub {
  font-size: 12px;
  color: var(--neutral-600);
}
.dos-page .nuitee-card .actions {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.dos-page .transport-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dos-page .commission {
  margin-bottom: 14px;
}
.dos-page .commission .commission-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--neutral-700);
  border-bottom: 1px dashed var(--neutral-100);
}
.dos-page .commission .commission-row:last-child {
  border-bottom: none;
}
.dos-page .commission .commission-row > span:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neutral-900);
}
.dos-page .commission .commission-row.total {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-radius: 8px;
  margin-top: 6px;
  border-bottom: none;
  font-weight: 700;
}
.dos-page .commission .commission-row.total > span:last-child {
  color: var(--enedis-blue-deep);
  font-size: 14px;
}
.dos-page .commission.commission-grand-total {
  margin-top: 10px;
}
.dos-page .commission.commission-grand-total .commission-row.total {
  background: var(--enedis-blue);
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
}
.dos-page .commission.commission-grand-total .commission-row.total > span:last-child {
  color: #fff;
  font-size: 16px;
}
.dos-page .commission.commission-grand-total .commission-row.total i {
  margin-right: 6px;
  opacity: 0.85;
}
.dos-page .commission-warn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 8px;
  font-size: 12px;
  color: var(--amber-800);
  margin: 6px 0;
}
.dos-page .commission-warn i {
  color: var(--amber-700);
  font-size: 11px;
}
.dos-page .suggestion-transport {
  display: flex;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 12px;
  align-items: flex-start;
  border: 1px solid transparent;
  /* — Variantes — */
}
.dos-page .suggestion-transport > i:first-child {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.dos-page .suggestion-transport > div:last-child {
  flex: 1;
  min-width: 0;
}
.dos-page .suggestion-transport strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.dos-page .suggestion-transport p {
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.5;
}
.dos-page .suggestion-transport.suggestion-navette {
  background: var(--green-50);
  border-color: var(--green-200);
}
.dos-page .suggestion-transport.suggestion-navette > i:first-child {
  color: var(--green-700);
}
.dos-page .suggestion-transport.suggestion-navette strong {
  color: var(--green-800, #166534);
}
.dos-page .suggestion-transport.suggestion-navette p {
  color: var(--neutral-700);
}
.dos-page .suggestion-transport.suggestion-taxi {
  background: var(--amber-50);
  border-color: var(--amber-200);
}
.dos-page .suggestion-transport.suggestion-taxi > i:first-child {
  color: var(--amber-700);
}
.dos-page .suggestion-transport.suggestion-taxi strong {
  color: var(--amber-900, #78350F);
}
.dos-page .suggestion-transport.suggestion-taxi p {
  color: var(--amber-800);
}
.dos-page .suggestion-transport.suggestion-aucun {
  background: var(--neutral-50, #f8fafc);
  border-color: var(--neutral-200, #e2e8f0);
}
.dos-page .suggestion-transport.suggestion-aucun > i:first-child {
  color: var(--neutral-500, #64748b);
}
.dos-page .suggestion-transport.suggestion-aucun strong {
  color: var(--neutral-700, #334155);
}
.dos-page .suggestion-transport.suggestion-aucun p {
  color: var(--neutral-600, #475569);
}
.dos-page .suggestion-transport.suggestion-nuitee_veille, .dos-page .suggestion-transport.suggestion-nuitee_lendemain {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-border);
}
.dos-page .suggestion-transport.suggestion-nuitee_veille > i:first-child, .dos-page .suggestion-transport.suggestion-nuitee_lendemain > i:first-child {
  color: var(--enedis-blue);
}
.dos-page .suggestion-transport.suggestion-nuitee_veille strong, .dos-page .suggestion-transport.suggestion-nuitee_lendemain strong {
  color: var(--enedis-blue-deep);
}
.dos-page .suggestion-transport.suggestion-nuitee_veille p, .dos-page .suggestion-transport.suggestion-nuitee_lendemain p {
  color: var(--neutral-700);
}
.dos-page .suggestion-transport.suggestion-empty {
  background: var(--neutral-50);
  border-color: var(--neutral-200);
  border-style: dashed;
}
.dos-page .suggestion-transport.suggestion-empty > i:first-child {
  color: var(--neutral-500);
  background: #fff;
}
.dos-page .suggestion-transport.suggestion-empty strong {
  color: var(--neutral-900);
}
.dos-page .suggestion-transport.suggestion-empty p {
  color: var(--neutral-600);
}
.dos-page .navettes-recap {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.dos-page .nav-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--neutral-600);
}
.dos-page .nav-stat i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.dos-page .nav-stat strong {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neutral-900);
  font-size: 14px;
}
.dos-page .nav-stat span {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--neutral-500);
  font-size: 11px;
}
.dos-page .nav-stat.affected {
  background: var(--green-50);
  border-color: var(--green-200);
}
.dos-page .nav-stat.affected i {
  color: var(--green-600);
}
.dos-page .nav-stat.affected strong {
  color: var(--green-700);
}
.dos-page .nav-stat.affected span {
  color: var(--green-700);
}
.dos-page .transport-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dos-page .transport-card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  transition: border-color 200ms, box-shadow 200ms;
}
.dos-page .transport-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
  border-radius: 12px 0 0 12px;
  opacity: 0;
  transition: opacity 200ms;
}
.dos-page .transport-card:hover {
  border-color: var(--enedis-blue-border);
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--enedis-blue) 20%, transparent);
}
.dos-page .transport-card:hover::before {
  opacity: 0.85;
}
.dos-page .transport-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.dos-page .transport-sens {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}
.dos-page .transport-sens.aller {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-color: var(--enedis-blue-border);
}
.dos-page .transport-sens.retour {
  background: var(--neutral-100);
  color: var(--neutral-700);
  border-color: var(--neutral-200);
}
.dos-page .transport-time {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.4px;
}
.dos-page .transport-date {
  font-size: 12px;
  color: var(--neutral-600);
  font-weight: 600;
  text-transform: capitalize;
}
.dos-page .transport-places {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid var(--green-200);
  font-size: 11px;
  font-weight: 700;
}
.dos-page .transport-places.low {
  background: var(--amber-50);
  color: var(--amber-800);
  border-color: var(--amber-200);
}
.dos-page .transport-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--neutral-800);
  font-weight: 600;
  margin-bottom: 8px;
  flex-wrap: wrap;
  line-height: 1.4;
}
.dos-page .transport-route > i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.dos-page .transport-extras {
  font-size: 11.5px;
  color: var(--neutral-500);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.dos-page .transport-extras > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dos-page .transport-extras > span i {
  font-size: 10px;
  color: var(--neutral-400);
}
.dos-page .transport-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px dashed var(--neutral-200);
  flex-wrap: wrap;
}
.dos-page .transport-footer .info {
  font-size: 11.5px;
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dos-page .transport-footer .info i {
  font-size: 10px;
}
.dos-page .repas-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.dos-page .repas-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  position: relative;
  transition: border-color 200ms, box-shadow 200ms;
}
.dos-page .repas-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 12px 0 0 12px;
  opacity: 0.85;
}
.dos-page .repas-row.has-choice {
  background: #fff;
  border-color: var(--green-200);
}
.dos-page .repas-row.has-choice::before {
  background: var(--green-600);
}
.dos-page .repas-row.has-choice .repas-date {
  background: var(--green-50);
  border-color: var(--green-200);
}
.dos-page .repas-row.has-choice .repas-day-num {
  color: var(--green-700);
}
.dos-page .repas-row.pending {
  background: #fff;
}
.dos-page .repas-row.pending::before {
  background: var(--enedis-blue);
}
.dos-page .repas-row.pending .repas-date {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-border);
}
.dos-page .repas-row.pending .repas-day-num {
  color: var(--enedis-blue);
}
.dos-page .repas-row:hover {
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--enedis-blue) 20%, transparent);
  border-color: var(--enedis-blue-border);
}
@media (max-width: 600px) {
  .dos-page .repas-row {
    grid-template-columns: 1fr;
  }
}
.dos-page .repas-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  min-width: 90px;
  background: var(--neutral-50);
}
@media (max-width: 600px) {
  .dos-page .repas-date {
    flex-direction: row;
    gap: 10px;
    min-width: 0;
  }
}
.dos-page .repas-day-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -1px;
  line-height: 1;
}
.dos-page .repas-day-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--neutral-700);
  margin-top: 6px;
}
.dos-page .repas-day-month {
  font-size: 10.5px;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.dos-page .repas-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dos-page .repas-body > .form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dos-page .restaurant-capacite {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  border: 1px solid transparent;
  flex-wrap: wrap;
}
.dos-page .restaurant-capacite > i {
  font-size: 12px;
}
.dos-page .restaurant-capacite .capacite-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dos-page .restaurant-capacite .capacite-dispo {
  font-weight: 700;
}
.dos-page .restaurant-capacite .capacite-total {
  color: var(--neutral-500);
  font-size: 11px;
}
.dos-page .restaurant-capacite.is-illimite {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-border);
  color: var(--enedis-blue-deep);
}
.dos-page .restaurant-capacite.is-illimite > i {
  color: var(--enedis-blue);
}
.dos-page .restaurant-capacite.is-ok {
  background: var(--green-50);
  border-color: var(--green-200);
  color: var(--green-700);
}
.dos-page .restaurant-capacite.is-ok .capacite-bullet {
  background: var(--green-600);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-600) 25%, transparent);
}
.dos-page .restaurant-capacite.is-ok .capacite-total {
  color: var(--green-700);
  opacity: 0.7;
}
.dos-page .restaurant-capacite.is-low {
  background: var(--amber-50);
  border-color: var(--amber-200);
  color: var(--amber-800);
}
.dos-page .restaurant-capacite.is-low .capacite-bullet {
  background: var(--amber-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber-500) 25%, transparent);
}
.dos-page .restaurant-capacite.is-low .capacite-total {
  color: var(--amber-700);
  opacity: 0.7;
}
.dos-page .restaurant-capacite.is-full {
  background: var(--red-50);
  border-color: var(--red-200);
  color: var(--red-700);
}
.dos-page .restaurant-capacite.is-full .capacite-bullet {
  background: var(--red-600);
}
.dos-page .restaurant-capacite.is-full .capacite-total {
  color: var(--red-700);
  opacity: 0.7;
}
.dos-page .repas-extra {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.dos-page .form-label-sm {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.dos-page .repas-cost-summary {
  margin-top: 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--enedis-blue-soft) 0%, #fff 100%);
  border: 1px solid var(--enedis-blue-border);
  border-radius: 12px;
}
.dos-page .repas-cost-summary .rcs-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--enedis-blue-deep);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dos-page .repas-cost-summary .rcs-title i {
  color: var(--enedis-blue);
  font-size: 12px;
}
.dos-page .repas-cost-summary .rcs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  font-size: 12.5px;
  color: var(--neutral-700);
  border-bottom: 1px dashed var(--enedis-blue-border);
}
.dos-page .repas-cost-summary .rcs-row:last-child {
  border-bottom: none;
}
.dos-page .repas-cost-summary .rcs-row.rcs-total {
  margin-top: 8px;
  padding: 12px 14px;
  background: var(--enedis-blue);
  color: #fff;
  border-radius: 9px;
  border-bottom: none;
  font-weight: 700;
  font-size: 13px;
}
.dos-page .repas-cost-summary .rcs-row.rcs-total strong {
  font-family: var(--font-mono);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.dos-page .repas-cost-summary .rcs-warn {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--amber-800);
}
.dos-page .repas-cost-summary .rcs-warn i {
  color: var(--amber-700);
  font-size: 11px;
}
.dos-page .section-h .count {
  margin-left: auto;
  padding: 2px 9px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border: 1px solid var(--enedis-blue-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}
.dos-page .alert {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
  border: 1px solid transparent;
}
.dos-page .alert > i:first-child {
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.dos-page .alert > div {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
  font-size: 13px;
}
.dos-page .alert.alert-info {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-deep);
  border-color: var(--enedis-blue-border);
}
.dos-page .alert.alert-info > i {
  color: var(--enedis-blue);
}
.dos-page .alert.alert-warning {
  background: var(--amber-50);
  color: var(--amber-800);
  border-color: var(--amber-200);
}
.dos-page .alert.alert-warning > i {
  color: var(--amber-700);
}
.dos-page .alert.alert-success {
  background: var(--green-50);
  color: var(--green-700);
  border-color: var(--green-200);
}
.dos-page .alert.alert-success > i {
  color: var(--green-600);
}
.dos-page .alert.alert-danger {
  background: var(--red-50);
  color: var(--red-700);
  border-color: var(--red-200);
}
.dos-page .alert.alert-danger > i {
  color: var(--red-600);
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes dosFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dosPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--green-600) 35%, transparent);
  }
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--green-600) 0%, transparent);
  }
}
.dos-page {
  /* ══════════════════════════════════════════════════════════
     PANEL TRANSFERTS — refonte
     Un transfert se lit comme un trajet : billet -> prise en charge -> destination.
     D'ou la frise verticale, l'etape du milieu portant l'etat.
     Palette volontairement sobre : navy + neutres. Le vert ne signale qu'un
     transfert pose, l'ambre qu'une anomalie reelle. Pas de couleur decorative,
     sans quoi « urgent », « propose » et « confirme » criaient aussi fort.
     ══════════════════════════════════════════════════════════ */
  /* ── Frise : billet -> prise en charge -> destination ── */
  /* ── Anomalie : seul endroit ou la couleur alerte ── */
  /* ── Gestes ── */
  /* Transfert annulé : dire pourquoi les gestes changent, avant de les proposer. */
  /* ── En attente du trajet ── */
  /* ── Navettes du trajet (repliable) ── */
  /* ── Recours taxi urgent : en pied, en neutre ── */
}
.dos-page .hb-hotel-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 16px;
  border: 1px solid var(--neutral-100);
  border-radius: 11px;
}
.dos-page .hb-hotel-row .hb-hotel-ico {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #EDF1F8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.dos-page .hb-hotel-row .hb-hotel-ico i {
  color: #1D2D5C;
  font-size: 19px;
}
.dos-page .hb-hotel-row .hb-hotel-main {
  flex: 1;
  min-width: 0;
}
.dos-page .hb-hotel-row .hb-hotel-name {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dos-page .hb-hotel-row .hb-stars i {
  color: #E0A93B;
  font-size: 10.5px;
  margin-right: 1px;
}
.dos-page .hb-hotel-row .hb-hotel-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 3px;
}
.dos-page .hb-hotel-row .hb-formule-badge {
  flex: 0 0 auto;
  white-space: nowrap;
}
.dos-page .hb-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}
.dos-page .hb-stat-grid .hb-stat-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page .hb-stat-grid .hb-stat-v {
  font-size: 13.5px;
  font-weight: 700;
  color: #1D2D5C;
  margin-top: 3px;
}
.dos-page .hb-stat-grid .hb-stat-v.is-green {
  color: var(--green-700);
}
.dos-page .hb-resto-intro {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
}
.dos-page .hb-soirs-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.dos-page .hb-soirs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.dos-page .hb-soir {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.dos-page .hb-soir input {
  display: none;
}
.dos-page .hb-soir .hb-soir-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #CBD3E1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background 0.1s, border-color 0.1s;
}
.dos-page .hb-soir .hb-soir-box i {
  color: #fff;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.1s;
}
.dos-page .hb-soir .hb-soir-label {
  font-size: 13px;
  font-weight: 700;
  color: #5A6273;
}
.dos-page .hb-soir:has(input:checked) {
  background: var(--green-50);
  border-color: var(--green-200);
}
.dos-page .hb-soir:has(input:checked) .hb-soir-box {
  background: var(--green-600);
  border-color: var(--green-600);
}
.dos-page .hb-soir:has(input:checked) .hb-soir-box i {
  opacity: 1;
}
.dos-page .hb-soir:has(input:checked) .hb-soir-label {
  color: var(--green-800, #2E5320);
}
.dos-page .hb-soirs-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--neutral-100);
}
.dos-page .hb-soirs-foot .hb-soirs-count {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}
.dos-page .hb-soirs-foot .hb-soirs-count b {
  color: #1D2D5C;
}
.dos-page .hb-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border: none;
  border-radius: 9px;
  background: var(--green-600);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s;
}
.dos-page .hb-btn-green:hover {
  background: var(--green-500, #5BB33E);
}
.dos-page .hb-btn-green i {
  font-size: 13px;
}
.dos-page .tp-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  margin-bottom: 16px;
  background: #EEF3FC;
  border: 1px solid #D3E0F5;
  border-radius: 11px;
}
.dos-page .tp-info > i {
  color: #34508C;
  font-size: 15px;
  margin-top: 2px;
  flex: 0 0 auto;
}
.dos-page .tp-info .tp-info-title {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page .tp-info .tp-info-sub {
  font-size: 12px;
  font-weight: 600;
  color: #4E5A75;
  margin-top: 2px;
  line-height: 1.5;
}
.dos-page .tp-pnr {
  display: flex;
  align-items: stretch;
  gap: 11px;
  flex-wrap: wrap;
}
.dos-page .tp-pnr .tp-pnr-field {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #DEE3EC;
  border-radius: 10px;
  background: #F7F8FB;
  transition: border-color 0.12s, background 0.12s;
}
.dos-page .tp-pnr .tp-pnr-field > i {
  color: #9AA1B2;
  font-size: 15px;
  flex: 0 0 auto;
}
.dos-page .tp-pnr .tp-pnr-field input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-weight: 700;
  color: #1D2D5C;
  letter-spacing: 0.03em;
}
.dos-page .tp-pnr .tp-pnr-field:focus-within {
  border-color: var(--enedis-blue);
  background: #fff;
}
.dos-page .tp-pnr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 17px;
  border: none;
  border-radius: 10px;
  background: #1D2D5C;
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.12s;
}
.dos-page .tp-pnr-btn:hover {
  background: #27396E;
}
.dos-page .tp-empty {
  border: 1.5px dashed #D2D8E2;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
}
.dos-page .tp-empty-ico {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: #F2F4F8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.dos-page .tp-empty-ico i {
  color: #9AA1B2;
  font-size: 22px;
}
.dos-page .tp-empty-title {
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page .tp-empty-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  max-width: 360px;
  margin: 5px auto 0;
  line-height: 1.5;
}
.dos-page .tp-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1px solid #DEE3EC;
  background: #fff;
  color: #324063;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s;
}
.dos-page .tp-empty-btn:hover {
  background: #F4F6FA;
}
.dos-page .tp-empty-btn.is-ghost {
  color: var(--text-secondary);
}
.dos-page .tp-transferts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) {
  .dos-page .tp-transferts {
    grid-template-columns: 1fr;
  }
}
.dos-page .tp-trf-locked {
  border: 1.5px dashed #D2D8E2;
  border-radius: 11px;
  padding: 22px 16px;
  text-align: center;
}
.dos-page .tp-trf-locked .tp-trf-locked-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-tertiary);
}
.dos-page .tp-trf-locked .tp-trf-locked-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 4px;
  line-height: 1.5;
}
.dos-page .tp-trf-when {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 11px;
}
.dos-page .tp-trf-when b {
  color: #1D2D5C;
}
.dos-page .trf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 900px) {
  .dos-page .trf-grid {
    grid-template-columns: 1fr;
  }
}
.dos-page .trf-card {
  background: #fff;
  border: 1px solid #E2E7F0;
  border-radius: 14px;
  padding: 16px 18px 15px;
  box-shadow: 0 1px 2px rgba(29, 45, 92, 0.05);
  border-left: 3px solid #D8DEEA;
}
.dos-page .trf-card.is-confirme {
  border-left-color: #6CC04A;
}
.dos-page .trf-card.is-decale {
  border-left-color: #E0A33A;
}
.dos-page .trf-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.dos-page .trf-card-head h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.01em;
}
.dos-page .trf-card-head .badge, .dos-page .trf-card-head .trf-pill {
  margin-left: auto;
}
.dos-page .trf-card-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #EEF2FA;
  color: #34508C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.dos-page .trf-pill {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.dos-page .trf-pill.trf-pill-todo {
  color: #8A5B0B;
  background: #FBF1DC;
}
.dos-page .trf-pill.trf-pill-wait {
  color: var(--text-secondary);
  background: #F1F3F8;
}
.dos-page .trf-rail {
  list-style: none;
  margin: 0;
  padding: 0 0 0 22px;
  position: relative;
}
.dos-page .trf-rail::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  bottom: 12px;
  width: 2px;
  background: #E4E9F2;
  border-radius: 2px;
}
.dos-page .trf-stop {
  position: relative;
  padding-bottom: 14px;
}
.dos-page .trf-stop:last-child {
  padding-bottom: 0;
}
.dos-page .trf-dot {
  position: absolute;
  left: -22px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #C6CEDD;
  box-shadow: 0 0 0 3px #fff;
}
.dos-page .trf-stop-pivot .trf-dot {
  border-color: #1D2D5C;
  background: #1D2D5C;
}
.dos-page .is-confirme .trf-stop-pivot .trf-dot {
  border-color: #6CC04A;
  background: #6CC04A;
}
.dos-page .trf-stop-k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 2px;
}
.dos-page .trf-stop-v {
  font-size: 13px;
  font-weight: 600;
  color: #34405C;
  line-height: 1.45;
}
.dos-page .trf-stop-v b {
  font-weight: 800;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.dos-page .trf-stop-pivot .trf-stop-v {
  font-size: 14px;
}
.dos-page .trf-stop-v-sug b {
  color: #34508C;
}
.dos-page .trf-stop-n {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-top: 3px;
}
.dos-page .trf-sep {
  color: #C3CAD8;
  margin: 0 5px;
}
.dos-page .trf-retard {
  color: #A8342C;
  font-weight: 700;
}
.dos-page .trf-muted {
  color: var(--text-tertiary);
  font-weight: 600;
}
.dos-page .trf-dest-i {
  color: #7A8AA8;
  margin-right: 4px;
  font-size: 12px;
}
.dos-page .trf-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 5px;
  color: #5C6580;
  background: #EFF2F7;
}
.dos-page .trf-tag.trf-tag-ok {
  color: #3F7B2C;
  background: #E9F6E2;
}
.dos-page .trf-alerte {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #F0D69B;
  background: #FDF7EA;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6A5330;
  line-height: 1.5;
}
.dos-page .trf-alerte i {
  color: #B8830F;
  margin-top: 2px;
  flex: 0 0 auto;
}
.dos-page .trf-alerte b {
  color: #4A3A1C;
}
.dos-page .trf-alerte .trf-alerte-pq {
  display: block;
  margin-top: 5px;
  font-weight: 500;
  color: #7E6A48;
}
.dos-page .trf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
  margin-top: 14px;
}
.dos-page .trf-actions form {
  margin: 0;
}
.dos-page .trf-actions:empty {
  display: none;
}
.dos-page .trf-actions .trf-annuler {
  margin-left: auto;
}
.dos-page .trf-retablir-note {
  flex: 1 1 100%;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #E9ECF3;
  border-radius: 10px;
  background: #F7F8FB;
  padding: 9px 12px;
  margin-bottom: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.55;
}
.dos-page .trf-retablir-note i {
  color: #99A1B3;
  margin-top: 2px;
}
.dos-page .trf-retablir-note b {
  color: #1D2D5C;
}
.dos-page .trf-ajuster {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.dos-page .trf-ajuster label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dos-page .trf-ajuster .form-control {
  height: 34px;
  font-size: 13px;
}
.dos-page .trf-lab {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page .trf-locked {
  border: 1.5px dashed #D9DFE9;
  border-radius: 11px;
  padding: 22px 16px;
  text-align: center;
}
.dos-page .trf-locked i {
  font-size: 17px;
  color: #C3CAD8;
  margin-bottom: 8px;
  display: block;
}
.dos-page .trf-locked .trf-locked-t {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-tertiary);
}
.dos-page .trf-locked .trf-locked-s {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  margin-top: 4px;
  line-height: 1.5;
}
.dos-page .trf-nav {
  margin-top: 14px;
  border: 1px solid #E4E9F2;
  border-radius: 11px;
  overflow: hidden;
}
.dos-page .trf-nav > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  background: #F7F9FC;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5A6480;
}
.dos-page .trf-nav > summary::-webkit-details-marker {
  display: none;
}
.dos-page .trf-nav > summary:hover {
  background: #F1F4FA;
}
.dos-page .trf-nav .trf-nav-n {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 20px;
  background: #E3E9F4;
  color: #45527A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dos-page .trf-nav .trf-nav-chev {
  font-size: 10px;
  color: #98A1B5;
  transition: transform 0.15s ease;
}
.dos-page .trf-nav[open] .trf-nav-chev {
  transform: rotate(180deg);
}
.dos-page .trf-nav .nav-liste {
  border: 0;
  border-radius: 0;
  margin-top: 0;
}
.dos-page .trf-secours {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid #E2E7F0;
  border-radius: 12px;
  background: #F9FAFC;
}
.dos-page .trf-secours .trf-secours-txt {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dos-page .trf-secours .trf-secours-t {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page .trf-secours .trf-secours-t i {
  color: #B8830F;
  margin-right: 5px;
}
.dos-page .trf-secours .trf-secours-s {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.dos-page .trf-secours .trf-secours-warn {
  display: block;
  color: #8A5B0B;
  margin-top: 2px;
}
.dos-page .trf-secours .trf-secours-actions {
  display: flex;
  gap: 8px;
}
.dos-page .ms-link {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #DEE3EC;
  border-radius: 10px;
  background: #F7F8FB;
}
.dos-page .ms-link:has(:focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.dos-page .ms-link input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 12.5px;
  font-weight: 600;
  color: #34508C;
  font-family: ui-monospace, monospace;
}
.dos-page .ms-copy {
  flex: 0 0 auto;
  border: none;
  background: #1D2D5C;
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  border-radius: 7px;
  padding: 6px 10px;
  cursor: pointer;
}
.dos-page .ms-copy:hover {
  background: #27396E;
}
.dos-page .trajet-sens {
  margin-bottom: 18px;
}
.dos-page .trajet-sens-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.dos-page .trajet-sens-head h4 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.dos-page .trajet-sens-head .ts-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  color: #34508C;
  background: #E3EAF6;
  border-radius: 7px;
  padding: 4px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dos-page .trajet-sens-head .ts-chip i {
  font-size: 11px;
}
.dos-page .trajet-sens-head .ts-date {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
}
.dos-page .trajet-sens-head .btn {
  height: 32px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid #DEE3EC;
  background: #fff;
  color: #324063;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}
.dos-page .trajet-sens-head .btn i {
  color: #6CC04A;
}
.dos-page .trajet-sens-head .btn:hover {
  background: #F4F6FA;
  border-color: #DEE3EC;
  color: #324063;
}
.dos-page .trajet-segment {
  position: relative;
  border: 1px solid #E4E8F0;
  border-left: 3px solid #6CC04A;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: none;
}
.dos-page .trajet-segment::before {
  display: none;
}
.dos-page .trajet-segment:hover {
  box-shadow: none;
  border-color: #E4E8F0;
  border-left-color: #6CC04A;
}
.dos-page .trajet-segment + .trajet-segment {
  margin-top: 12px;
}
.dos-page .trajet-sens[data-sens=retour] .trajet-segment {
  border-left-color: #34508C;
}
.dos-page .trajet-sens[data-sens=retour] .trajet-segment:hover {
  border-left-color: #34508C;
}
.dos-page .trajet-segment .trajet-segment-head {
  display: none;
}
.dos-page .trajet-segment .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.dos-page .trajet-segment .form-field {
  margin: 0;
}
.dos-page .trajet-segment .form-field.full {
  grid-column: 1/-1;
}
.dos-page .trajet-segment .form-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}
.dos-page .trajet-segment .form-control {
  width: 100%;
  height: 40px;
  border: 1px solid #DEE3EC;
  border-radius: 9px;
  background: #F7F8FB;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1D2D5C;
  outline: none;
  box-shadow: none;
}
.dos-page .trajet-segment .form-control:focus {
  border-color: #6CC04A;
  background: #fff;
}
.dos-page .trajet-segment .form-control.mono {
  font-family: ui-monospace, monospace;
}
.dos-page .trajet-segment select.form-control {
  font-weight: 700;
  cursor: pointer;
}
.dos-page .trajet-segment .input-with-suffix {
  display: flex;
  align-items: center;
  height: 40px;
  border: 1px solid #DEE3EC;
  border-radius: 9px;
  background: #F7F8FB;
  padding: 0 4px 0 12px;
}
.dos-page .trajet-segment .input-with-suffix .form-control {
  border: none;
  background: transparent;
  height: 38px;
  padding: 0;
}
.dos-page .trajet-segment .input-with-suffix .input-suffix {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  border-left: 1px solid #DEE3EC;
  line-height: 40px;
}
.dos-page .trajet-costs {
  border: 1px solid #D3E0F5;
  background: #F5F8FD;
  border-radius: 12px;
  padding: 14px 16px;
}
.dos-page .trajet-costs .tc-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #34508C;
  margin-bottom: 8px;
}
.dos-page .trajet-costs .tc-title i {
  color: #34508C;
}
.dos-page .trajet-costs .tc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}
.dos-page .trajet-costs .tc-row span {
  color: #5A6273;
  font-weight: 700;
}
.dos-page .trajet-costs .tc-row strong {
  color: #1D2D5C;
  font-weight: 800;
}
.dos-page .trajet-costs .tc-total {
  padding-top: 9px;
  margin-top: 2px;
  font-size: 14px;
  border-top: 1px solid #DCE4F2;
}
.dos-page .trajet-costs .tc-total span {
  color: #34508C;
  font-weight: 800;
}
.dos-page .tp-trajet-foot {
  display: flex;
  gap: 16px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 26px;
}
.dos-page .tp-trajet-foot .thrips-proof {
  position: relative;
  flex: 1 1 300px;
  min-width: 0;
  margin: 0;
}
.dos-page .tp-trajet-foot .trajet-costs {
  flex: 0 0 300px;
  margin-top: 0;
}
.dos-page .tp-cap-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.dos-page .tp-cap-thumb {
  display: block;
  border: 1px solid #E4E8F0;
  border-radius: 11px;
  overflow: hidden;
  max-height: 150px;
  cursor: pointer;
}
.dos-page .tp-cap-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: cover;
  object-position: top;
}
.dos-page .tp-cap-thumb:hover {
  border-color: #6CC04A;
}
.dos-page .tp-cap-cap {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.dos-editcard [hidden] {
  display: none !important;
}
.dos-editcard .card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dos-editcard .dos-edit-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border: 1px solid #DEE3EC;
  border-radius: 8px;
  background: #fff;
  color: #34508C;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.dos-editcard .dos-edit-toggle i {
  font-size: 11px;
}
.dos-editcard .dos-edit-toggle:hover {
  background: #F5F8FD;
  border-color: #C7D6EE;
}
.dos-editcard .dos-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #EEF1F6;
}
.dos-editcard .dos-checks {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dos-editcard .dos-checks .dos-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #324063;
  cursor: pointer;
}
.dos-editcard .dos-checks .dos-check input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: #6CC04A;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   FICHE DOSSIER — refonte maquette Claude Design « Dossier ».
   Coque commune : fil d'Ariane, points à retraiter, en-tête + contexte,
   barre d'onglets, bulle d'actions rapides. Chargé APRÈS _dossier_show.scss.
   Scope : .dos-page.
   ═══════════════════════════════════════════════════════════════ */
@keyframes dv-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dv-dd-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dos-page {
  font-family: "Montserrat", system-ui, sans-serif;
  color: #1A2238;
  /* ── Boutons communs ── */
  /* ── Fil d'Ariane ── */
  /* ── Points à retraiter : bouton flottant + pop-up (<dialog>) ── */
  /* ── Dossier annulé ── */
  /* ── Stagiaire désinscrit (maquette « Dossier - Désinscrit ») ──
     Bleu marine et ardoise : une information importante, pas une erreur. L'état se lit
     au texte et aux pictos, jamais à la seule couleur. */
  /* ── En-tête ── */
  /* Contexte intégré au bandeau */
  /* ── Corps : une seule colonne (la colonne Contexte est intégrée à l'en-tête) ── */
  /* Carte principale : n'est plus une carte, les onglets et panneaux portent leurs propres cartes.
     Animation sans fill « forwards » : un transform résiduel fausserait les modales en position fixe. */
  /* ── Barre d'onglets en pastilles ── */
  /* Alerte d'onglet : un point rouge (le nombre reste lisible au survol via title). */
  /* ── Bulle « Actions rapides » ── */
}
.dos-page .mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.dos-page .dos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}
.dos-page .dos-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page .dos-btn-ghost:hover {
  border-color: #1D2D5C;
  background: #fff;
  color: #1D2D5C;
}
.dos-page .dos-btn-navy {
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(29, 45, 92, 0.2);
}
.dos-page .dos-btn-navy:hover {
  background: #24397A;
  color: #fff;
  transform: translateY(-1px);
}
.dos-page .dos-btn-amber {
  border: 0;
  background: #9C6210;
  color: #fff;
  font-weight: 800;
}
.dos-page .dos-btn-amber:hover {
  background: #7A4A00;
  color: #fff;
}
.dos-page .dos-btn-lg {
  height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 13px;
  width: 100%;
}
.dos-page .dos-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #6B7490;
  flex-wrap: wrap;
}
.dos-page .dos-crumb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #1D2D5C;
  text-decoration: none;
}
.dos-page .dos-crumb-link:hover {
  color: #4FA235;
}
.dos-page .dos-crumb-sep {
  color: #CBD2E0;
}
.dos-page .dos-crumb-current {
  color: #1D2D5C;
  font-weight: 700;
}
@keyframes dv-flag-pulse {
  0%, 100% {
    box-shadow: 0 14px 34px rgba(156, 98, 16, 0.32), 0 0 0 0 rgba(217, 164, 65, 0.55);
  }
  50% {
    box-shadow: 0 14px 34px rgba(156, 98, 16, 0.32), 0 0 0 10px rgba(217, 164, 65, 0);
  }
}
.dos-page .dos-flags-fab {
  position: fixed;
  right: 96px;
  bottom: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 8px;
  border: 0;
  border-radius: 999px;
  background: #D9A441;
  color: #3D2600;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(156, 98, 16, 0.32);
  animation: dv-flag-pulse 2.4s ease 3;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s;
}
.dos-page .dos-flags-fab:hover {
  transform: translateY(-2px);
  background: #C99332;
}
.dos-page .dos-flags-fab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(217, 164, 65, 0.45), 0 14px 34px rgba(156, 98, 16, 0.32);
}
.dos-page .dos-flags-fab .ic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}
.dos-page .dos-flags-fab .t {
  font-size: 13.5px;
  font-weight: 800;
}
.dos-page .dos-flags-modal {
  width: 720px;
  max-width: calc(100% - 48px);
  max-height: calc(100% - 48px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  color: #1A2238;
  box-shadow: 0 40px 90px rgba(20, 33, 71, 0.35);
}
.dos-page .dos-flags-modal[open] {
  display: flex;
  flex-direction: column;
  animation: dv-rise 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.dos-page .dos-flags-modal::backdrop {
  background: rgba(20, 33, 71, 0.4);
}
.dos-page .dos-flags-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #9C6210, #D9A441);
  color: #fff;
}
.dos-page .dos-flags-head .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 17px;
}
.dos-page .dos-flags-head .txt {
  flex: 1;
  min-width: 0;
}
.dos-page .dos-flags-head .eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FBEBD0;
}
.dos-page .dos-flags-head .t {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 800;
}
.dos-page .dos-flags-head form {
  margin: 0;
}
.dos-page .dos-flags-head .close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.dos-page .dos-flags-head .close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.dos-page .dos-flags-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 24px;
  overflow: auto;
}
.dos-page .dos-flag {
  border: 1.5px solid #F3D48B;
  border-radius: 16px;
  overflow: hidden;
}
.dos-page .dos-flag form {
  margin: 0;
}
.dos-page .dos-flag-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #FFFCF5;
  border-bottom: 1px solid #F4EAD5;
}
.dos-page .dos-flag-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
}
.dos-page .dos-flag-txt {
  flex: 1;
  min-width: 0;
}
.dos-page .dos-flag-txt .t {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page .dos-flag-txt .d {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #9C6210;
}
.dos-page .dos-flag-st {
  padding: 4px 10px;
  border-radius: 999px;
  background: #FCEFDC;
  color: #A85D00;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.dos-page .dos-flag-st.is-asked {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page .dos-flag-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  padding: 16px 18px 0;
}
.dos-page .dos-flag-infos .k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.dos-page .dos-flag-infos .v {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.45;
  color: #1D2D5C;
}
.dos-page .dos-flag-infos .s {
  margin-top: 1px;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page .dos-flag-why {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  color: #3E4A6B;
}
.dos-page .dos-flag-why strong {
  color: #1D2D5C;
  font-weight: 800;
}
.dos-page .dos-flag-why .bang {
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 7px;
  background: #F3D48B;
  color: #7A4A00;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
}
.dos-page .dos-flag-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 18px;
  border-top: 1px solid #F4EAD5;
  background: #FAFBFD;
}
.dos-page .dos-flag-actions .push {
  margin-left: auto;
}
.dos-page .dos-btn-xl {
  height: 40px;
  padding: 0 16px;
  font-size: 13px;
}
.dos-page .dos-btn-amber:disabled {
  background: #E7F5E0;
  color: #2E5320;
  cursor: default;
}
.dos-page .dos-btn-done {
  border-color: #CFE9C2;
  background: #F2FAEF;
  color: #2E5320;
  font-weight: 800;
}
.dos-page .dos-btn-done:hover {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page .dos-cancelled {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px 20px;
  border: 1.5px solid #F0C6C2;
  border-radius: 18px;
  background: #FBE4E3;
}
.dos-page .dos-cancelled .t {
  font-size: 14.5px;
  font-weight: 800;
  color: #8A2C26;
}
.dos-page .dos-cancelled .d {
  margin-top: 2px;
  font-size: 12.5px;
  color: #8A2F2C;
}
.dos-page .dos-cancelled-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #B23A36;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.dos-page .dos-desi {
  margin-bottom: 18px;
  overflow: hidden;
  background: #fff;
  border: 2px solid #1D2D5C;
  border-radius: 20px;
}
.dos-page .dos-desi-head {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: #1D2D5C;
  color: #fff;
}
.dos-page .dos-desi-head .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  font-size: 19px;
  flex: none;
}
.dos-page .dos-desi-head .txt {
  flex: 1;
  min-width: 260px;
}
.dos-page .dos-desi-head .t {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.dos-page .dos-desi-head .d {
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #DDE3F2;
}
.dos-page .dos-desi-head .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #1D2D5C;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.dos-page .dos-desi-head .pill i {
  font-size: 12px;
}
.dos-page .dos-desi-head .pill.is-done {
  color: #2E5320;
}
.dos-page .dos-desi-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.dos-page .dos-desi-col {
  padding: 18px 24px;
  border-right: 1px solid #EEF1F6;
  min-width: 0;
}
.dos-page .dos-desi-col.is-todo {
  background: #FAFBFD;
  border-right: 0;
}
.dos-page .dos-desi-col > .k {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5A6273;
}
.dos-page .dos-desi-col > .k .c {
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: #1D2D5C;
}
.dos-page .dos-desi-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
}
.dos-page .dos-desi-item + .dos-desi-item {
  border-top: 1px solid #EEF1F6;
}
.dos-page .dos-desi-item .ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F1F4F9;
  color: #3E4A6B;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex: none;
}
.dos-page .dos-desi-item .b {
  flex: 1;
  min-width: 0;
}
.dos-page .dos-desi-item .h {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dos-page .dos-desi-item .n {
  font-size: 14.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page .dos-desi-item .st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #F1F4F9;
  color: #3E4A6B;
  font-size: 11px;
  font-weight: 800;
}
.dos-page .dos-desi-item .st i {
  font-size: 9px;
}
.dos-page .dos-desi-item .v {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #3E4A6B;
}
.dos-page .dos-desi-item .s {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #5A6273;
}
.dos-page .dos-desi-vide {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #5A6273;
}
.dos-page .dos-desi-todo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 13px 14px;
  border: 1.5px solid #1D2D5C;
  border-radius: 14px;
  background: #fff;
}
.dos-page .dos-desi-todo .box {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 2px solid #1D2D5C;
  border-radius: 7px;
  background: #fff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}
.dos-page .dos-desi-todo .b {
  flex: 1;
  min-width: 0;
}
.dos-page .dos-desi-todo .n {
  font-size: 14.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page .dos-desi-todo .s {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #5A6273;
}
.dos-page .dos-desi-todo .st {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.dos-page .dos-desi-todo form {
  margin: 0;
  flex: none;
}
.dos-page .dos-desi-todo .dos-btn {
  flex: none;
  white-space: nowrap;
}
.dos-page .dos-desi-todo.is-done {
  border-color: #E2E8F0;
  background: #F4F6FA;
}
.dos-page .dos-desi-todo.is-done .box {
  border-color: #3F7D2B;
  background: #3F7D2B;
}
.dos-page .dos-desi-todo.is-done .n {
  color: #5A6273;
  text-decoration: line-through;
}
.dos-page .dos-desi-todo.is-done .st {
  color: #2E5320;
}
.dos-page .dos-desi-ok {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2E5320;
}
.dos-page .dos-hero-name {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.dos-page .dos-hero-name h1 {
  margin: 0;
}
.dos-page .dos-desi-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: #3E4A6B;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.dos-page .dos-desi-tag i {
  font-size: 11px;
}
.dos-page .dos-chip.is-slate {
  background: #3E4A6B;
  color: #fff;
  font-weight: 800;
}
.dos-page .dos-hero {
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
  opacity: 1;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
}
.dos-page .dos-hero-bar {
  height: 6px;
  background: linear-gradient(90deg, #1D2D5C, #6CC04A);
}
.dos-page .dos-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 26px;
}
.dos-page .dos-hero-av {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: #1D2D5C;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 800;
}
.dos-page .dos-hero-id {
  flex: 1;
  min-width: 240px;
}
.dos-page .dos-hero-id h1 {
  margin: 8px 0 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1D2D5C;
}
.dos-page .dos-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7490;
}
.dos-page .dos-hero-eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #6CC04A;
}
.dos-page .dos-hero-eyebrow .mono {
  color: #34508C;
  letter-spacing: 0;
}
.dos-page .dos-hero-visiteur {
  padding: 2px 8px;
  border-radius: 999px;
  background: #FCEFDC;
  color: #8A5A00;
  letter-spacing: 0.04em;
}
.dos-page .dos-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.dos-page .dos-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: #F1F4F9;
  color: #3E4A6B;
}
.dos-page .dos-chip.is-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 800;
}
.dos-page .dos-chip.is-green {
  background: #E7F5E0;
  color: #2E5320;
  font-weight: 800;
}
.dos-page .dos-chip.is-amber {
  background: #FCEFDC;
  color: #A85D00;
  font-weight: 800;
}
.dos-page .dos-chip.is-red {
  background: #FBE4E3;
  color: #B23A36;
  font-weight: 800;
}
.dos-page .dos-chip.is-blue {
  background: #E3EAF6;
  color: #34508C;
  font-weight: 800;
}
.dos-page .dos-chip.is-grey {
  background: #F2F4F8;
  color: var(--text-secondary);
  font-weight: 800;
}
.dos-page .dos-chip.is-pill {
  border-radius: 999px;
  padding: 5px 11px;
}
.dos-page .dos-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.dos-page a.dos-chip {
  text-decoration: none;
}
.dos-page a.dos-chip:hover {
  filter: brightness(0.96);
}
.dos-page a.dos-chip:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.dos-page .dos-hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 9px;
  flex: 0 0 auto;
  min-width: 220px;
}
.dos-page .dos-hero-actions form {
  margin: 0;
}
.dos-page .dos-ctx {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid #F1F4F9;
  background: #FAFBFD;
}
.dos-page .dos-ctx-item {
  min-width: 0;
  padding: 14px 20px;
  border-right: 1px solid #F1F4F9;
}
.dos-page .dos-ctx-item:last-child {
  border-right: 0;
}
.dos-page .dos-ctx-item .k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9AA3B8;
}
.dos-page .dos-ctx-item .v {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dos-page .dos-ctx-item .s {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  color: #9AA3B8;
  white-space: nowrap;
}
.dos-page .dos-ctx-mgr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
}
.dos-page .dos-ctx-av {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #34508C;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 800;
}
.dos-page .dos-ctx-mgr-txt {
  flex: 1;
  min-width: 0;
}
.dos-page .dos-ctx-mgr-act {
  display: flex;
  gap: 5px;
}
.dos-page .dos-ctx-mgr-act a {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  display: grid;
  place-items: center;
  color: #1D2D5C;
  font-size: 12px;
  text-decoration: none;
}
.dos-page .dos-ctx-mgr-act a:hover {
  border-color: #1D2D5C;
}
.dos-page .dos-ctx-mgr-act a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page .dos-body {
  display: block;
}
.dos-page .main-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  opacity: 1;
}
.dos-page .tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 5px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.dos-page .tabs::-webkit-scrollbar {
  display: none;
}
.dos-page .tab, .dos-page a[role=tab] {
  flex: 1 0 auto;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1.5px solid transparent;
  font-size: 12.5px;
  font-weight: 700;
  color: #3E4A6B;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dos-page .tab > i, .dos-page a[role=tab] > i {
  display: none;
}
.dos-page .tab::after, .dos-page a[role=tab]::after {
  display: none;
}
.dos-page .tab::before, .dos-page a[role=tab]::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex-shrink: 0;
  background: var(--tab-color, #6CC04A);
  transition: transform 0.25s;
}
.dos-page .tab[data-tab=synthese], .dos-page a[role=tab][data-tab=synthese] {
  --tab-tint: #E6F6FA;
}
.dos-page .tab[data-tab=thrips], .dos-page a[role=tab][data-tab=thrips] {
  --tab-tint: #EAF0FE;
}
.dos-page .tab[data-tab=transferts], .dos-page a[role=tab][data-tab=transferts] {
  --tab-tint: #FEF0E7;
}
.dos-page .tab[data-tab=hebergement], .dos-page a[role=tab][data-tab=hebergement] {
  --tab-tint: #EEF8E8;
}
.dos-page .tab[data-tab=mon-sejour], .dos-page a[role=tab][data-tab=mon-sejour] {
  --tab-tint: #F2EBFD;
}
.dos-page .tab[data-tab=historique], .dos-page a[role=tab][data-tab=historique] {
  --tab-tint: #FDF3E3;
}
.dos-page .tab:hover:not(.is-active), .dos-page a[role=tab]:hover:not(.is-active) {
  background: #F1F4F9;
  color: #1D2D5C;
}
.dos-page .tab:focus-visible, .dos-page a[role=tab]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page .tab.is-active, .dos-page a[role=tab].is-active {
  background: var(--tab-tint, #F4FAF0);
  border-color: var(--tab-color, #6CC04A);
  color: #1D2D5C;
  font-weight: 800;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--tab-color, #6CC04A) 20%, transparent);
}
.dos-page .tab.is-active::before, .dos-page a[role=tab].is-active::before {
  transform: scale(1.25);
}
.dos-page .tab .tab-alert, .dos-page .tabs .tab-alert {
  position: static;
  display: inline-block;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
  line-height: 0;
  background: #D9534F;
  color: transparent;
  font-size: 0;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(217, 83, 79, 0.2);
}
.dos-page .tab.is-active .tab-alert {
  display: none;
}
.dos-page .tab-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #F1F4F9;
  color: #6B7490;
  font-size: 10.5px;
  font-weight: 800;
}
.dos-page .tab.is-active .tab-badge {
  background: var(--tab-color, #6CC04A);
  color: #fff;
}
.dos-page .tab-panels {
  padding: 0;
}
.dos-page .dos-quick > summary {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  list-style: none;
  cursor: pointer;
  background: #6CC04A;
  color: #0E2A12;
  font-size: 20px;
  box-shadow: 0 14px 34px rgba(29, 45, 92, 0.35);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s;
}
.dos-page .dos-quick > summary::-webkit-details-marker {
  display: none;
}
.dos-page .dos-quick > summary:hover {
  transform: scale(1.06);
}
.dos-page .dos-quick > summary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(108, 192, 74, 0.4), 0 14px 34px rgba(29, 45, 92, 0.35);
}
.dos-page .dos-quick[open] > summary {
  background: #1D2D5C;
  transform: rotate(15deg);
}
.dos-page .dos-quick-pop {
  position: fixed;
  right: 28px;
  bottom: 96px;
  z-index: 90;
  width: 300px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(20, 33, 71, 0.28);
  animation: dv-dd-in 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.dos-page .dos-quick-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #1D2D5C, #2A4080);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dos-page .dos-quick-head .n {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #C7CEE3;
}
.dos-page .dos-quick-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
}
.dos-page .dos-quick-list form {
  margin: 0;
}
.dos-page .dos-qa {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 11px;
  background: none;
  text-align: left;
  text-decoration: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #1D2D5C;
  cursor: pointer;
  transition: background 0.15s;
}
.dos-page .dos-qa:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.dos-page .dos-qa:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(29, 45, 92, 0.25);
}
.dos-page .dos-qa .ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.dos-page .dos-qa .ic.is-green {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page .dos-qa .ic.is-cyan {
  background: #E6F6FA;
  color: #0891B2;
}
.dos-page .dos-qa .ic.is-violet {
  background: #F2EBFD;
  color: #7C3AED;
}
.dos-page .dos-quick-note {
  padding: 10px 16px 14px;
  border-top: 1px solid #F1F4F9;
  background: #FAFBFD;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: #6B7490;
}
@media (max-width: 760px) {
  .dos-page .dos-hero-main {
    padding: 18px;
  }
  .dos-page .dos-hero-actions {
    width: 100%;
  }
  .dos-page .dos-quick-pop {
    right: 16px;
    left: 16px;
    width: auto;
  }
  .dos-page .dos-quick > summary {
    right: 16px;
    bottom: 16px;
  }
  .dos-page .dos-flags-fab {
    right: 84px;
    bottom: 16px;
    padding: 0 8px;
  }
  .dos-page .dos-flags-fab .t {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dos-page .dos-flags-fab, .dos-page .dos-flags-modal[open], .dos-page .dos-hero, .dos-page .main-card, .dos-page .dos-quick-pop {
    animation: none;
  }
}

/* Fiche dossier — onglet(s) « synthese », refonte maquette Claude Design. Scope : .dos-page. */
@keyframes syn-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dos-page [data-panel=synthese] {
  /* ── Cartes ── */
  /* ── Listes clé / valeur ── */
  /* ── Libellés, champs ── */
  /* ── Boutons ── */
  /* ── Urgence — hébergement ── */
  /* ── Suivi du dossier : lecture ── */
  /* ── Suivi du dossier : édition ── */
  /* ── Responsive ── */
}
.dos-page [data-panel=synthese].is-active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dos-page [data-panel=synthese] [hidden] {
  display: none !important;
}
.dos-page [data-panel=synthese] .syn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.dos-page [data-panel=synthese] .syn-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.dos-page [data-panel=synthese] .syn-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 18px;
  min-height: 50px;
  border-bottom: 1px solid #F1F4F9;
  background: #fff;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: 0;
  text-transform: none;
}
.dos-page [data-panel=synthese] .syn-head h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.dos-page [data-panel=synthese] .syn-body {
  padding: 16px 18px;
}
.dos-page [data-panel=synthese] .syn-kv {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dos-page [data-panel=synthese] .syn-card > .syn-kv {
  padding: 16px 18px;
}
.dos-page [data-panel=synthese] .syn-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
}
.dos-page [data-panel=synthese] .syn-row dt {
  margin: 0;
  color: #6B7490;
  font-weight: 600;
  font-size: inherit;
  text-transform: none;
  letter-spacing: 0;
  flex-shrink: 0;
}
.dos-page [data-panel=synthese] .syn-row dd {
  margin: 0;
  min-width: 0;
  color: #1A2238;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}
.dos-page [data-panel=synthese] .syn-row dd.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 600;
  color: #1D2D5C;
}
.dos-page [data-panel=synthese] .syn-row dd.is-link {
  color: #34508C;
}
.dos-page [data-panel=synthese] .syn-sub {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dos-page [data-panel=synthese] .syn-sub-t {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3F8A26;
}
.dos-page [data-panel=synthese] .syn-text {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #3E4A6B;
  line-height: 1.5;
  white-space: pre-line;
}
.dos-page [data-panel=synthese] .syn-empty {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.5;
}
.dos-page [data-panel=synthese] .syn-label {
  display: block;
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=synthese] .syn-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
}
.dos-page [data-panel=synthese] .syn-control {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dos-page [data-panel=synthese] .syn-control::placeholder {
  color: #A6AEC2;
  font-weight: 500;
}
.dos-page [data-panel=synthese] .syn-control:hover:not(:focus):not(:disabled) {
  border-color: #CBD3E1;
}
.dos-page [data-panel=synthese] .syn-control:focus, .dos-page [data-panel=synthese] .syn-control:focus-visible {
  border-color: #1D2D5C;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.16);
}
.dos-page [data-panel=synthese] select.syn-control {
  appearance: none;
  cursor: pointer;
  font-weight: 700;
  padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7490' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.dos-page [data-panel=synthese] textarea.syn-control {
  height: auto;
  min-height: 46px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}
.dos-page [data-panel=synthese] .ts-wrapper.syn-control {
  height: auto;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.dos-page [data-panel=synthese] .ts-wrapper.syn-control .ts-control {
  min-height: 44px;
  padding: 0 38px 0 13px !important;
  border: 1.5px solid #E2E8F0 !important;
  border-radius: 11px !important;
  font-size: 13px !important;
  font-weight: 700;
  color: #1D2D5C !important;
}
.dos-page [data-panel=synthese] .ts-wrapper.syn-control .ts-control .item {
  font-weight: 700;
  color: #1D2D5C;
}
.dos-page [data-panel=synthese] .ts-wrapper.syn-control .ts-control input {
  font-size: 13px !important;
}
.dos-page [data-panel=synthese] .ts-wrapper.syn-control .ts-control:hover {
  border-color: #CBD3E1 !important;
}
.dos-page [data-panel=synthese] .ts-wrapper.syn-control.focus .ts-control {
  border-color: #1D2D5C !important;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.16) !important;
}
.dos-page [data-panel=synthese] .ts-wrapper.syn-control:not(.multi)::after {
  right: 15px;
  color: #6B7490;
}
.dos-page [data-panel=synthese] .syn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin: 0;
  padding: 0 14px;
  border-radius: 11px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s;
}
.dos-page [data-panel=synthese] .syn-btn:hover {
  border-color: #1D2D5C;
  background: #fff;
  color: #1D2D5C;
}
.dos-page [data-panel=synthese] .syn-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.16);
}
.dos-page [data-panel=synthese] .syn-btn.is-sm {
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}
.dos-page [data-panel=synthese] .syn-btn.is-navy {
  padding: 0 16px;
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
}
.dos-page [data-panel=synthese] .syn-btn.is-navy:hover {
  background: #24397A;
  color: #fff;
}
.dos-page [data-panel=synthese] .syn-btn.is-green {
  padding: 0 16px;
  border: 0;
  background: #6CC04A;
  color: #0E2A12;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(108, 192, 74, 0.3);
}
.dos-page [data-panel=synthese] .syn-btn.is-green:hover {
  background: #5DB33B;
  color: #0E2A12;
  transform: translateY(-1px);
}
.dos-page [data-panel=synthese] .syn-btn.is-green:focus-visible {
  box-shadow: 0 0 0 3px rgba(108, 192, 74, 0.35);
}
.dos-page [data-panel=synthese] .dos-editcard .syn-head .dos-edit-toggle {
  margin-left: auto;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=synthese] .dos-editcard .syn-head .dos-edit-toggle:hover {
  border-color: #1D2D5C;
  background: #fff;
}
.dos-page [data-panel=synthese] .syn-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.dos-page [data-panel=synthese] .syn-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.dos-page [data-panel=synthese] .syn-chip.is-none {
  background: #F1F4F9;
  color: #6B7490;
}
.dos-page [data-panel=synthese] .syn-alert-form {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.dos-page [data-panel=synthese] .syn-alert-foot {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dos-page [data-panel=synthese] .syn-meta {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.dos-page [data-panel=synthese] .syn-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px 16px;
}
.dos-page [data-panel=synthese] .syn-fact .syn-label {
  margin-bottom: 3px;
}
.dos-page [data-panel=synthese] .syn-fact-v {
  font-size: 13.5px;
  font-weight: 700;
  color: #1D2D5C;
  overflow-wrap: anywhere;
}
.dos-page [data-panel=synthese] .syn-notes {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dos-page [data-panel=synthese] .syn-notes .syn-label {
  margin-bottom: 0;
}
.dos-page [data-panel=synthese] .dos-edit-form:not([hidden]) {
  animation: syn-rise 0.25s ease backwards;
}
.dos-page [data-panel=synthese] .syn-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}
.dos-page [data-panel=synthese] .syn-form-grid.is-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}
.dos-page [data-panel=synthese] .syn-switches {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid #F1F4F9;
  min-width: 0;
}
.dos-page [data-panel=synthese] .syn-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.dos-page [data-panel=synthese] .syn-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
  cursor: pointer;
}
.dos-page [data-panel=synthese] .syn-switch input {
  position: absolute;
  opacity: 0;
  width: 38px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}
.dos-page [data-panel=synthese] .syn-switch-track {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #D5DBE6;
  transition: background 0.3s;
}
.dos-page [data-panel=synthese] .syn-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dos-page [data-panel=synthese] .syn-switch input:checked + .syn-switch-track {
  background: #6CC04A;
}
.dos-page [data-panel=synthese] .syn-switch input:checked + .syn-switch-track::after {
  left: 19px;
}
.dos-page [data-panel=synthese] .syn-switch input:focus-visible + .syn-switch-track {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.16);
}
.dos-page [data-panel=synthese] .dos-editcard .syn-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}
@media (max-width: 1100px) {
  .dos-page [data-panel=synthese] .syn-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .dos-page [data-panel=synthese] .syn-alert-form, .dos-page [data-panel=synthese] .syn-form-grid.is-wide {
    grid-template-columns: minmax(0, 1fr);
  }
  .dos-page [data-panel=synthese] .syn-row {
    flex-wrap: wrap;
  }
  .dos-page [data-panel=synthese] .syn-row dd {
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dos-page [data-panel=synthese] .syn-card, .dos-page [data-panel=synthese] .dos-edit-form:not([hidden]) {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Fiche dossier — onglets « Trajets » (data-panel="trajet") et
   « Transferts » (data-panel="transferts"), refonte maquette Claude Design.
   Chargé APRÈS _dossier_show.scss et _dossier_v2.scss : on surcharge ici,
   sans toucher aux feuilles communes. Scope : .dos-page.
   ═══════════════════════════════════════════════════════════════ */
@keyframes tj-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.dos-page {
  /* ═══════════════════════ TRAJETS ═══════════════════════
     Maquette : carte « Référence THRIPS », puis une carte par sens lue comme une frise
     (heure · point · gare), ligne de détail du billet, crayon → « Corriger les horaires ». */
  /* ═══════════════════════ TRANSFERTS ═══════════════════════
     Maquette : deux cartes Arrivée / Départ (frise, gestes, navettes repliables),
     puis le recours « taxi dans l'urgence » en carte pointillée. */
}
.dos-page [data-panel=trajet] {
  /* ── Référence THRIPS ── */
  /* ── Auto-complétion gares / aéroports (position fixe, posée par gare-autocomplete) ── */
  /* ── Liste des sens ── */
  /* ── Sens en voiture (maquette) : bandeau, trajet routier, ce qui en découle ──
     Les segments restent dans le formulaire, masqués ; « Modifier » les montre à la place. */
  /* ── Panneau « Corriger les horaires » ── */
  /* ── État vide (style carte maquette) ── */
  /* ── Capture + coût ── */
  /* ── Gestes globaux : seulement s'il reste une modification hors panneau ── */
}
.dos-page [data-panel=trajet] .tj-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dos-page [data-panel=trajet] .tj-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.dos-page [data-panel=trajet] .tj-pnr {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
}
.dos-page [data-panel=trajet] .tj-pnr-badge {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #F0FAEC;
  color: #4FA235;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.dos-page [data-panel=trajet] .tj-pnr-main {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dos-page [data-panel=trajet] .tj-pnr-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  line-height: normal;
  margin: 0;
  cursor: pointer;
}
.dos-page [data-panel=trajet] .tj-pnr-input {
  width: 100%;
  max-width: 360px;
  height: 24px;
  padding: 0 6px;
  margin: 2px 0 0 -7px;
  border: 1.5px solid transparent;
  border-radius: 7px;
  background: transparent;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.dos-page [data-panel=trajet] .tj-pnr-input::placeholder {
  color: #B5BCCA;
  font-weight: 600;
}
.dos-page [data-panel=trajet] .tj-pnr-input:hover {
  border-color: #E2E8F0;
  background: #F8FAFC;
}
.dos-page [data-panel=trajet] .tj-pnr-input:focus {
  border-color: #1D2D5C;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .tj-pnr-value {
  margin-top: 2px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tj-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.dos-page [data-panel=trajet] .tj-pill.tj-pill-ok {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page [data-panel=trajet] .tj-pill.tj-pill-mute {
  background: #F1F4F9;
  color: #6B7490;
}
.dos-page [data-panel=trajet] .tj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  padding: 0 13px;
}
.dos-page [data-panel=trajet] .tj-btn:hover {
  background: #F1F4F9;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tj-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .tj-btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(29, 45, 92, 0.18);
  cursor: pointer;
  transition: background 0.15s;
}
.dos-page [data-panel=trajet] .tj-btn-navy:hover {
  background: #24397A;
  color: #fff;
}
.dos-page [data-panel=trajet] .tj-btn-navy:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .thrips-status {
  flex: 1 1 100%;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
}
.dos-page [data-panel=trajet] .thrips-status.is-success {
  color: #2E5320;
}
.dos-page [data-panel=trajet] .thrips-status.is-warn {
  color: #7A4A00;
  padding: 9px 12px;
  border-radius: 10px;
  background: #FCEFDC;
  border: 1px solid #F3D48B;
}
.dos-page [data-panel=trajet] .thrips-status.is-loading {
  color: #6B7490;
}
.dos-page [data-panel=trajet] .thrips-status.is-error {
  color: #8F2C29;
  align-items: flex-start;
  padding: 9px 12px;
  border-radius: 10px;
  background: #FBE4E3;
  border: 1px solid #E9C4C2;
}
.dos-page [data-panel=trajet] .thrips-status .thrips-names {
  flex-basis: 100%;
}
.dos-page [data-panel=trajet] .thrips-status .thrips-force {
  flex-basis: 100%;
  align-self: flex-start;
  margin-top: 4px;
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: #B23A36;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.dos-page [data-panel=trajet] .thrips-status .thrips-force:hover {
  background: #8F2C29;
}
.dos-page [data-panel=trajet] .thrips-status .thrips-force:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 58, 54, 0.25);
}
.dos-page [data-panel=trajet] .gare-ac-list {
  position: fixed;
  z-index: 1200;
  width: 320px;
  max-width: min(360px, 86vw);
  max-height: 262px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(20, 33, 71, 0.16);
  padding: 6px;
}
.dos-page [data-panel=trajet] .gare-ac-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}
.dos-page [data-panel=trajet] .gare-ac-item:hover, .dos-page [data-panel=trajet] .gare-ac-item.is-active {
  background: #F1F4F9;
}
.dos-page [data-panel=trajet] .gare-ac-item i {
  flex: 0 0 auto;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .gare-ac-nom {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dos-page [data-panel=trajet] .gare-ac-sub {
  flex: 0 0 auto;
  max-width: 42%;
  margin-left: auto;
  padding-left: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dos-page [data-panel=trajet] .gare-ac-empty {
  padding: 11px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .tj-legs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dos-page [data-panel=trajet] .trajet-sens.tj-leg {
  --tj-leg: #34508C;
  position: relative;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
}
.dos-page [data-panel=trajet] .trajet-sens.tj-leg.tj-leg-retour {
  --tj-leg: #A85D00;
}
.dos-page [data-panel=trajet] .trajet-sens.tj-leg:has(.tj-seg.is-editing) {
  z-index: 2;
}
.dos-page [data-panel=trajet] .trajet-sens-head.tj-leg-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 14px 20px;
  background: none;
  border: 0;
  border-bottom: 1px solid #F1F4F9;
  border-radius: 0;
}
.dos-page [data-panel=trajet] .tj-leg-badge {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: var(--tj-leg);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.dos-page [data-panel=trajet] .tj-leg-titles {
  flex: 1 1 160px;
  min-width: 160px;
}
.dos-page [data-panel=trajet] .tj-leg-head .tj-leg-title {
  display: block;
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  line-height: normal;
  letter-spacing: 0;
  text-transform: none;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tj-leg-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .tj-leg-resume {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #3E4A6B;
  white-space: nowrap;
}
.dos-page [data-panel=trajet] .tj-btn-dashed {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  margin: 0;
  border-radius: 9px;
  border: 1.5px dashed #1D2D5C;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s;
}
.dos-page [data-panel=trajet] .tj-btn-dashed:hover {
  background: #F1F4F9;
}
.dos-page [data-panel=trajet] .tj-btn-dashed:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .trajet-segments-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px 22px 8px;
}
.dos-page [data-panel=trajet] .trajet-segments-list[hidden] {
  display: none;
}
.dos-page [data-panel=trajet] .tj-car {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 22px 20px;
}
.dos-page [data-panel=trajet] .tj-leg-car.is-car-editing .tj-car {
  display: none;
}
.dos-page [data-panel=trajet] .tj-leg-car .tj-btn[aria-expanded=true] {
  border-color: #1D2D5C;
  background: #1D2D5C;
  color: #fff;
}
.dos-page [data-panel=trajet] .tj-car-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F8FAFC, #EEF3FC);
  border: 1.5px solid #D3E0F5;
}
.dos-page [data-panel=trajet] .tj-car-ic {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #1D2D5C;
  color: #fff;
  display: grid;
  place-items: center;
}
.dos-page [data-panel=trajet] .tj-car-main {
  flex: 1 1 220px;
  min-width: 0;
}
.dos-page [data-panel=trajet] .tj-car-title {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tj-car-sub {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}
.dos-page [data-panel=trajet] .tj-car-origin {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #E3EAF6;
  color: #34508C;
  white-space: nowrap;
}
.dos-page [data-panel=trajet] .tj-line-road {
  width: 0;
  min-height: 44px;
  background: none;
  border-left: 3px dashed var(--tj-leg);
  border-radius: 0;
  opacity: 0.45;
}
.dos-page [data-panel=trajet] .tj-car-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page [data-panel=trajet] .tj-car-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.dos-page [data-panel=trajet] .tj-car-fact {
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid;
}
.dos-page [data-panel=trajet] .tj-car-fact.is-neutre {
  background: #F1F4F9;
  border-color: #E4E8F0;
}
.dos-page [data-panel=trajet] .tj-car-fact.is-neutre .tj-car-fact-k {
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .tj-car-fact.is-neutre .tj-car-fact-v {
  color: #5A6273;
}
.dos-page [data-panel=trajet] .tj-car-fact.is-ok {
  background: #E7F5E0;
  border-color: #CFE9C2;
}
.dos-page [data-panel=trajet] .tj-car-fact.is-ok .tj-car-fact-k {
  color: #367323;
}
.dos-page [data-panel=trajet] .tj-car-fact.is-ok .tj-car-fact-v {
  color: #2E5320;
}
.dos-page [data-panel=trajet] .tj-car-fact.is-frais {
  background: #FFFBF4;
  border-color: #F4E4C7;
}
.dos-page [data-panel=trajet] .tj-car-fact.is-frais .tj-car-fact-k {
  color: #A85D00;
}
.dos-page [data-panel=trajet] .tj-car-fact.is-frais .tj-car-fact-v {
  color: #7A4A00;
}
.dos-page [data-panel=trajet] .tj-car-fact-k {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dos-page [data-panel=trajet] .tj-car-fact-v {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}
.dos-page [data-panel=trajet] .tj-leg .trajet-segment.tj-seg {
  position: relative;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.dos-page [data-panel=trajet] .tj-leg .trajet-segment.tj-seg::before {
  display: none;
}
.dos-page [data-panel=trajet] .tj-leg .trajet-segment.tj-seg:hover {
  box-shadow: none;
  border: 0;
}
.dos-page [data-panel=trajet] .tj-leg .trajet-segment.tj-seg + .trajet-segment {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.dos-page [data-panel=trajet] .tj-row {
  display: grid;
  grid-template-columns: 64px 22px minmax(0, 1fr);
  gap: 0 14px;
}
.dos-page [data-panel=trajet] .tj-h {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #1D2D5C;
  text-align: right;
  line-height: 22px;
  white-space: nowrap;
}
.dos-page [data-panel=trajet] .tj-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dos-page [data-panel=trajet] .tj-node {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--tj-leg);
  display: grid;
  place-items: center;
}
.dos-page [data-panel=trajet] .tj-node > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tj-leg);
}
.dos-page [data-panel=trajet] .tj-line {
  width: 3px;
  flex: 1;
  min-height: 52px;
  margin: 2px 0;
  border-radius: 2px;
  background: var(--tj-leg);
  opacity: 0.35;
}
.dos-page [data-panel=trajet] .tj-node-corr {
  border-style: dashed;
  border-color: #34508C;
}
.dos-page [data-panel=trajet] .tj-line-dash {
  width: 3px;
  min-height: 30px;
  background: none;
  opacity: 1;
  border-left: 3px dashed #CBD2E0;
  border-radius: 0;
}
.dos-page [data-panel=trajet] .tj-row-corr:has(.tj-wait.is-short) .tj-node-corr {
  border-color: #B23A36;
}
.dos-page [data-panel=trajet] .tj-node-end {
  border: 0;
  background: var(--tj-leg);
}
.dos-page [data-panel=trajet] .tj-body {
  min-width: 0;
  padding-bottom: 14px;
}
.dos-page [data-panel=trajet] .tj-row-last .tj-body {
  padding-bottom: 12px;
}
.dos-page [data-panel=trajet] .tj-stop {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.dos-page [data-panel=trajet] .tj-stop-name {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 22px;
}
.dos-page [data-panel=trajet] .tj-stop-date {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .tj-seg:last-child .tj-row-corr,
.dos-page [data-panel=trajet] .tj-seg:not(:last-child) .tj-row-last {
  display: none;
}
.dos-page [data-panel=trajet] .tj-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #F1F4F9;
}
.dos-page [data-panel=trajet] .tj-mode {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  background: #1D2D5C;
  color: #fff;
}
.dos-page [data-panel=trajet] .tj-mode[hidden] {
  display: none;
}
.dos-page [data-panel=trajet] .tj-train {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tj-duree {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page [data-panel=trajet] .tj-spacer {
  flex: 1;
}
.dos-page [data-panel=trajet] .tj-meta {
  font-size: 11px;
  font-weight: 700;
  color: #3E4A6B;
  white-space: nowrap;
}
.dos-page [data-panel=trajet] .tj-meta-k {
  margin-right: 4px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .tj-meta-v {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.dos-page [data-panel=trajet] .tj-seg-edit-btn,
.dos-page [data-panel=trajet] .tj-leg .trajet-segment-remove {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dos-page [data-panel=trajet] .tj-seg-edit-btn:focus-visible,
.dos-page [data-panel=trajet] .tj-leg .trajet-segment-remove:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .tj-seg-edit-btn {
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tj-seg-edit-btn:hover {
  background: #F1F4F9;
}
.dos-page [data-panel=trajet] .tj-seg-edit-btn[aria-expanded=true] {
  border-color: #1D2D5C;
  background: #1D2D5C;
  color: #fff;
}
.dos-page [data-panel=trajet] .tj-leg .trajet-segment-remove {
  border: 1.5px solid #E9C4C2;
  background: #fff;
  color: #B23A36;
  font-size: inherit;
}
.dos-page [data-panel=trajet] .tj-leg .trajet-segment-remove:hover {
  background: #FBE4E3;
  border-color: #E9C4C2;
  color: #B23A36;
}
.dos-page [data-panel=trajet] .tj-seg:only-child:not(.is-editing) .trajet-segment-remove {
  display: none;
}
.dos-page [data-panel=trajet] .tj-wait {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #EEF3FC;
  color: #34508C;
}
.dos-page [data-panel=trajet] .tj-wait.is-short {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=trajet] .tj-wait[hidden] {
  display: none;
}
.dos-page [data-panel=trajet] .tj-edit {
  margin-top: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  animation: tj-rise 0.25s ease backwards;
}
.dos-page [data-panel=trajet] .tj-edit[hidden] {
  display: none;
}
.dos-page [data-panel=trajet] .tj-edit-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.dos-page [data-panel=trajet] .tj-edit-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tj-edit-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page [data-panel=trajet] .tj-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.dos-page [data-panel=trajet] .tj-f {
  min-width: 0;
  position: relative;
}
.dos-page [data-panel=trajet] .tj-f-full {
  grid-column: 1/-1;
}
.dos-page [data-panel=trajet] .tj-f-dt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dos-page [data-panel=trajet] .tj-f-label {
  display: block;
  margin: 0 0 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .tj-ctl {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  color: #1D2D5C;
  box-shadow: none;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dos-page [data-panel=trajet] .tj-ctl::placeholder {
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .tj-ctl:focus {
  border-color: #1D2D5C;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .tj-ctl.is-prefilled {
  border-color: #A7D88F;
  background: #F6FBF3;
}
.dos-page [data-panel=trajet] .tj-ctl-strong {
  font-weight: 700;
}
.dos-page [data-panel=trajet] .tj-ctl-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
}
.dos-page [data-panel=trajet] .tj-chev {
  position: absolute;
  z-index: 1;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6B7490;
  pointer-events: none;
}
.dos-page [data-panel=trajet] .tj-gare .tj-ctl {
  padding-right: 32px;
}
.dos-page [data-panel=trajet] .tj-gare .tj-chev {
  top: 22px;
}
.dos-page [data-panel=trajet] .tj-select, .dos-page [data-panel=trajet] .tj-date, .dos-page [data-panel=trajet] .tj-time {
  position: relative;
}
.dos-page [data-panel=trajet] .tj-select .r-trigger, .dos-page [data-panel=trajet] .tj-date .r-trigger, .dos-page [data-panel=trajet] .tj-time .r-trigger {
  width: 100%;
}
.dos-page [data-panel=trajet] .tj-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.dos-page [data-panel=trajet] .tj-tarif {
  position: relative;
}
.dos-page [data-panel=trajet] .tj-tarif .tj-ctl {
  padding-right: 34px;
}
.dos-page [data-panel=trajet] .tj-tarif-eur {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-tertiary);
  pointer-events: none;
}
.dos-page [data-panel=trajet] .tj-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.dos-page [data-panel=trajet] .tj-edit-cancel,
.dos-page [data-panel=trajet] .tj-edit-save {
  height: 40px;
  border-radius: 11px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.dos-page [data-panel=trajet] .tj-edit-cancel:focus-visible,
.dos-page [data-panel=trajet] .tj-edit-save:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .tj-edit-cancel {
  padding: 0 14px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-weight: 700;
}
.dos-page [data-panel=trajet] .tj-edit-cancel:hover {
  background: #F1F4F9;
}
.dos-page [data-panel=trajet] .tj-edit-save {
  padding: 0 16px;
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
}
.dos-page [data-panel=trajet] .tj-edit-save:hover {
  background: #24397A;
}
.dos-page [data-panel=trajet] .tp-empty {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
  text-align: left;
  background: #fff;
  border: 1.5px dashed #CBD2E0;
  border-radius: 18px;
}
.dos-page [data-panel=trajet] .tp-empty-ic {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #F1F4F9;
  color: #3E4A6B;
  display: grid;
  place-items: center;
}
.dos-page [data-panel=trajet] .tp-empty-main {
  flex: 1 1 260px;
  min-width: 0;
}
.dos-page [data-panel=trajet] .tp-empty-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tp-empty-sub {
  max-width: none;
  margin: 2px 0 0;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .tp-empty-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}
.dos-page [data-panel=trajet] .tp-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  border-style: dashed;
  border-color: #1D2D5C;
  font-weight: 800;
}
.dos-page [data-panel=trajet] .tp-empty-btn:hover {
  background: #F1F4F9;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tp-empty-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .tp-empty-btn.is-ghost {
  border-style: solid;
  border-color: #E2E8F0;
  font-weight: 700;
}
.dos-page [data-panel=trajet] .tp-trajet-foot {
  display: flex;
  gap: 16px;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0;
}
.dos-page [data-panel=trajet] .tp-trajet-foot:not(:has(> :not([style*="display:none"]))) {
  display: none;
}
.dos-page [data-panel=trajet] .tp-trajet-foot .thrips-proof {
  position: static;
  flex: 1 1 300px;
  min-width: 0;
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
}
.dos-page [data-panel=trajet] .tp-trajet-foot .trajet-costs {
  flex: 0 1 300px;
  margin: 0;
}
.dos-page [data-panel=trajet] .tp-cap-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 10px;
}
.dos-page [data-panel=trajet] .tp-cap-thumb {
  display: block;
  max-height: 160px;
  overflow: hidden;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
}
.dos-page [data-panel=trajet] .tp-cap-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: cover;
  object-position: top;
}
.dos-page [data-panel=trajet] .tp-cap-thumb:hover {
  border-color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tp-cap-thumb:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=trajet] .tp-cap-cap {
  position: static;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .trajet-costs {
  padding: 16px 18px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
}
.dos-page [data-panel=trajet] .trajet-costs .tc-title {
  display: block;
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=trajet] .trajet-costs .tc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
}
.dos-page [data-panel=trajet] .trajet-costs .tc-row span {
  font-weight: 600;
  color: #6B7490;
}
.dos-page [data-panel=trajet] .trajet-costs .tc-row strong {
  font-weight: 800;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.dos-page [data-panel=trajet] .trajet-costs .tc-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #F1F4F9;
  font-size: 14px;
}
.dos-page [data-panel=trajet] .trajet-costs .tc-total span {
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=trajet] .tj-actions {
  display: none;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
}
.dos-page [data-panel=trajet] .tj-actions .tj-btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 13px;
}
.dos-page [data-panel=trajet] .tj-actions .tj-btn-navy {
  border-radius: 11px;
  font-size: 13px;
  box-shadow: none;
}
.dos-page [data-panel=trajet] .tj-form.is-dirty > .tj-actions {
  display: flex;
}
.dos-page [data-panel=trajet] .tj-actions-hint {
  flex: 1 1 260px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
}
@media (max-width: 760px) {
  .dos-page [data-panel=trajet] .tj-pnr {
    padding: 14px 16px;
  }
  .dos-page [data-panel=trajet] .trajet-sens-head.tj-leg-head {
    padding: 14px 16px;
  }
  .dos-page [data-panel=trajet] .trajet-segments-list {
    padding: 16px 14px 6px;
  }
  .dos-page [data-panel=trajet] .tj-row {
    grid-template-columns: 46px 22px minmax(0, 1fr);
    gap: 0 10px;
  }
  .dos-page [data-panel=trajet] .tj-h {
    font-size: 12.5px;
  }
  .dos-page [data-panel=trajet] .tj-spacer {
    flex-basis: 100%;
    height: 0;
  }
  .dos-page [data-panel=trajet] .tp-trajet-foot .trajet-costs {
    flex: 1 1 100%;
  }
}
@media (max-width: 480px) {
  .dos-page [data-panel=trajet] .tj-edit {
    padding: 12px;
  }
  .dos-page [data-panel=trajet] .tj-edit-actions > button,
  .dos-page [data-panel=trajet] .tj-actions > .tj-btn {
    flex: 1 1 auto;
  }
}
.dos-page [data-panel=transferts] {
  /* ── En-tête : pastille ARR/DÉP, titre + sous-titre, statut ── */
  /* ── Vient en voiture : même bandeau que l'onglet Trajets, puis « Ajouter un transfert » ── */
  /* ── Frise : points ronds de 22px reliés par un filet ── */
  /* ── Écart billet / transfert : pastille « ! » ambre ── */
  /* ── Gestes : rangée de boutons, panneau « Ajuster » dessous ── */
  /* ── En attente du trajet ── */
  /* ── Navettes de ce trajet : bloc repliable (composant partagé habillé ici) ── */
  /* ── Recours taxi urgent : carte pointillée en pied ── */
}
.dos-page [data-panel=transferts] .trf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
@media (max-width: 1100px) {
  .dos-page [data-panel=transferts] .trf-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.dos-page [data-panel=transferts] .trf-card {
  --trf-sens: #34508C;
  padding: 0;
  overflow: visible;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.dos-page [data-panel=transferts] .trf-card.trf-card-depart {
  --trf-sens: #A85D00;
}
.dos-page [data-panel=transferts] .trf-card.is-confirme, .dos-page [data-panel=transferts] .trf-card.is-decale, .dos-page [data-panel=transferts] .trf-card.is-annule {
  border-left-color: #E2E8F0;
  border-left-width: 1.5px;
}
.dos-page [data-panel=transferts] .trf-card.is-decale {
  border-color: #F3D48B;
  box-shadow: 0 0 0 4px #FCEFDC;
}
.dos-page [data-panel=transferts] .trf-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid #F1F4F9;
}
.dos-page [data-panel=transferts] .trf-card-head h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: 0;
  line-height: 1.3;
}
.dos-page [data-panel=transferts] .trf-card-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--trf-sens);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}
.dos-page [data-panel=transferts] .trf-card-titre {
  min-width: 0;
}
.dos-page [data-panel=transferts] .trf-card-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  line-height: 1.4;
}
.dos-page [data-panel=transferts] .trf-pill {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.dos-page [data-panel=transferts] .trf-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.dos-page [data-panel=transferts] .trf-pill.trf-pill-ok {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page [data-panel=transferts] .trf-pill.trf-pill-todo {
  background: #FCEFDC;
  color: #A85D00;
}
.dos-page [data-panel=transferts] .trf-pill.trf-pill-ko {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=transferts] .trf-pill.trf-pill-wait {
  background: #F1F4F9;
  color: #6B7490;
}
.dos-page [data-panel=transferts] .trf-pill.trf-pill-car {
  background: #E3EAF6;
  color: #34508C;
}
.dos-page [data-panel=transferts] .trf-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.dos-page [data-panel=transferts] .trf-car {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F8FAFC, #EEF3FC);
  border: 1.5px solid #D3E0F5;
}
.dos-page [data-panel=transferts] .trf-car-ic {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #1D2D5C;
  color: #fff;
  display: grid;
  place-items: center;
}
.dos-page [data-panel=transferts] .trf-car-txt {
  min-width: 0;
}
.dos-page [data-panel=transferts] .trf-car-t {
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-car-s {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.5;
}
.dos-page [data-panel=transferts] .trf-ajout {
  margin-top: 14px;
  border: 1.5px dashed #CBD2E0;
  border-radius: 14px;
  background: #fff;
}
.dos-page [data-panel=transferts] .trf-ajout > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  cursor: pointer;
  list-style: none;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-ajout > summary::-webkit-details-marker {
  display: none;
}
.dos-page [data-panel=transferts] .trf-ajout > summary:hover {
  background: #F8FAFC;
}
.dos-page [data-panel=transferts] .trf-ajout > summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .trf-ajout .trf-ajout-plus {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #F1F4F9;
  color: #1D2D5C;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}
.dos-page [data-panel=transferts] .trf-ajout .trf-nav-chev {
  margin-left: auto;
  font-size: 12px;
  color: #6B7490;
  transition: transform 0.3s;
}
.dos-page [data-panel=transferts] .trf-ajout[open] {
  border-style: solid;
  border-color: #E2E8F0;
}
.dos-page [data-panel=transferts] .trf-ajout[open] .trf-nav-chev {
  transform: rotate(180deg);
}
.dos-page [data-panel=transferts] .trf-ajout[open] > summary {
  border-bottom: 1px solid #F1F4F9;
  border-radius: 12px 12px 0 0;
}
.dos-page [data-panel=transferts] .trf-ajout-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  animation: tj-rise 0.25s ease backwards;
}
.dos-page [data-panel=transferts] .trf-ajout-t {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-ajout-taxi {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}
.dos-page [data-panel=transferts] .trf-ajout-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dos-page [data-panel=transferts] .trf-ajout-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
}
.dos-page [data-panel=transferts] .trf-ajout-nav li b {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.dos-page [data-panel=transferts] .trf-ajout-nav form {
  margin: 0 0 0 auto;
}
.dos-page [data-panel=transferts] .trf-ajout-nav .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .trf-ajout-nav .btn:hover {
  background: #F1F4F9;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-ajout-nav .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .trf-ajout-nav-l {
  min-width: 0;
  font-size: 12.5px;
  font-weight: 700;
  color: #3E4A6B;
}
.dos-page [data-panel=transferts] .trf-ajout .trf-nav-vide {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page [data-panel=transferts] .trf-rail {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dos-page [data-panel=transferts] .trf-rail::before {
  display: none;
}
.dos-page [data-panel=transferts] .trf-stop {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 16px;
  min-height: 0;
}
.dos-page [data-panel=transferts] .trf-stop::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 26px;
  bottom: 4px;
  width: 2px;
  background: #E2E8F0;
}
.dos-page [data-panel=transferts] .trf-stop:last-child {
  padding-bottom: 0;
}
.dos-page [data-panel=transferts] .trf-stop:last-child::before {
  display: none;
}
.dos-page [data-panel=transferts] .trf-dot {
  position: static;
  grid-column: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: none;
  background: #fff;
  border: 2px solid #CBD2E0;
  display: grid;
  place-items: center;
}
.dos-page [data-panel=transferts] .trf-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #CBD2E0;
}
.dos-page [data-panel=transferts] .trf-stop-pivot .trf-dot {
  background: #EEF3FC;
  border-color: #34508C;
}
.dos-page [data-panel=transferts] .trf-stop-pivot .trf-dot::after {
  background: #34508C;
}
.dos-page [data-panel=transferts] .trf-stop-pivot.is-ok .trf-dot {
  background: #E7F5E0;
  border-color: #6CC04A;
}
.dos-page [data-panel=transferts] .trf-stop-pivot.is-ok .trf-dot::after {
  background: #6CC04A;
}
.dos-page [data-panel=transferts] .trf-stop-pivot.is-ko .trf-dot {
  background: #FBE4E3;
  border-color: #B23A36;
}
.dos-page [data-panel=transferts] .trf-stop-pivot.is-ko .trf-dot::after {
  background: #B23A36;
}
.dos-page [data-panel=transferts] .trf-stop-pivot.is-vide .trf-dot {
  background: #fff;
  border-color: #CBD2E0;
}
.dos-page [data-panel=transferts] .trf-stop-pivot.is-vide .trf-dot::after {
  background: #CBD2E0;
}
.dos-page [data-panel=transferts] .trf-stop-dest .trf-dot {
  background: #1D2D5C;
  border-color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-stop-dest .trf-dot::after {
  background: #fff;
}
.dos-page [data-panel=transferts] .trf-stop-billet .trf-dot {
  background: #fff;
  border-color: #CBD2E0;
}
.dos-page [data-panel=transferts] .trf-stop-billet .trf-dot::after {
  background: #CBD2E0;
}
.dos-page [data-panel=transferts] .trf-stop-body {
  grid-column: 2;
  min-width: 0;
}
.dos-page [data-panel=transferts] .trf-stop-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.4;
}
.dos-page [data-panel=transferts] .trf-stop-v {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.45;
}
.dos-page [data-panel=transferts] .trf-stop-v b {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.dos-page [data-panel=transferts] .trf-stop-v b.trf-muted {
  color: var(--text-tertiary);
}
.dos-page [data-panel=transferts] .trf-stop-pivot .trf-stop-v {
  font-size: 12.5px;
}
.dos-page [data-panel=transferts] .trf-stop-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page [data-panel=transferts] .trf-stop-v-sug b {
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-stop-n {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #6B7490;
  line-height: 1.5;
}
.dos-page [data-panel=transferts] .trf-retard {
  color: #B23A36;
}
.dos-page [data-panel=transferts] .trf-muted {
  color: var(--text-tertiary);
}
.dos-page [data-panel=transferts] .trf-tag {
  display: inline-block;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  background: #EEF3FC;
  color: #34508C;
}
.dos-page [data-panel=transferts] .trf-tag.trf-tag-ok {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page [data-panel=transferts] .trf-tag.trf-tag-ko {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=transferts] .trf-alerte {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #FCEFDC;
  border: 1px solid #F3D48B;
  font-size: 12.5px;
  font-weight: 600;
  color: #7A4A00;
  line-height: 1.5;
}
.dos-page [data-panel=transferts] .trf-alerte + .trf-alerte {
  margin-top: 8px;
}
.dos-page [data-panel=transferts] .trf-alerte b {
  color: #5E3900;
}
.dos-page [data-panel=transferts] .trf-alerte .trf-alerte-pq {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  color: #8A5B0B;
}
.dos-page [data-panel=transferts] .trf-rail + .trf-alerte, .dos-page [data-panel=transferts] .trf-rail + .trf-retablir-note {
  margin-top: 16px;
}
.dos-page [data-panel=transferts] .trf-alerte-ic {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: #F3D48B;
  font-size: 12px;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .trf-retablir-note {
  display: block;
  margin-top: 6px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #FBE4E3;
  border: 1px solid #F0C6C2;
  font-size: 12.5px;
  font-weight: 600;
  color: #8A2C26;
  line-height: 1.5;
}
.dos-page [data-panel=transferts] .trf-retablir-note b {
  color: #8A2C26;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .trf-gestes {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #F1F4F9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dos-page [data-panel=transferts] .trf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.dos-page [data-panel=transferts] .trf-actions form {
  margin: 0;
}
.dos-page [data-panel=transferts] .trf-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  padding: 0 13px;
  gap: 7px;
}
.dos-page [data-panel=transferts] .trf-actions .btn:hover {
  background: #F1F4F9;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-actions .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .trf-actions .btn i {
  font-size: 11px;
}
.dos-page [data-panel=transferts] .trf-actions .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(29, 45, 92, 0.18);
  cursor: pointer;
  transition: background 0.15s;
  padding: 0 13px;
  gap: 7px;
  box-shadow: none;
}
.dos-page [data-panel=transferts] .trf-actions .btn.btn-primary:hover {
  background: #24397A;
  color: #fff;
}
.dos-page [data-panel=transferts] .trf-actions .btn.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .trf-actions .trf-annuler {
  margin-left: auto;
}
.dos-page [data-panel=transferts] .trf-actions .btn.btn-primary:not(.trf-cta-taxi) {
  background: #1D2D5C !important;
  color: #fff !important;
}
.dos-page [data-panel=transferts] .trf-actions .btn.btn-primary:not(.trf-cta-taxi):hover {
  background: #24397A !important;
}
.dos-page [data-panel=transferts] .trf-actions .trf-annuler .btn {
  padding: 0 12px;
  border-color: #E9C4C2;
  color: #B23A36;
}
.dos-page [data-panel=transferts] .trf-actions .trf-annuler .btn:hover {
  background: #FBE4E3;
  border-color: #E9C4C2;
  color: #B23A36;
}
.dos-page [data-panel=transferts] .trf-ajust-toggle .trf-ajust-chev {
  color: #6B7490;
  transition: transform 0.3s;
}
.dos-page [data-panel=transferts] .trf-ajust-toggle[aria-expanded=true] {
  border-color: #1D2D5C;
  background: #F1F4F9;
}
.dos-page [data-panel=transferts] .trf-ajust-toggle[aria-expanded=true] .trf-ajust-chev {
  transform: rotate(180deg);
}
.dos-page [data-panel=transferts] .trf-actions .btn.trf-cta {
  height: 42px;
  padding: 0 15px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .trf-actions .btn.btn-success.trf-cta {
  border: 0;
  background: #6CC04A;
  color: #0E2A12;
  box-shadow: 0 8px 18px rgba(108, 192, 74, 0.3);
}
.dos-page [data-panel=transferts] .trf-actions .btn.btn-success.trf-cta:hover {
  background: #5DB13A;
  color: #0E2A12;
}
.dos-page [data-panel=transferts] .trf-actions .btn.btn-success.trf-cta i {
  font-size: 12px;
}
.dos-page [data-panel=transferts] .trf-actions .btn.trf-cta-taxi {
  border: 1.5px solid #1D2D5C;
  background: #fff !important;
  color: #1D2D5C !important;
  box-shadow: none;
}
.dos-page [data-panel=transferts] .trf-actions .btn.trf-cta-taxi:hover {
  background: #F1F4F9 !important;
  color: #1D2D5C !important;
}
.dos-page [data-panel=transferts] .trf-actions > .trf-taxi-form {
  flex: 1 1 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.dos-page [data-panel=transferts] .trf-actions > .trf-taxi-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 170px;
  min-width: 0;
  margin: 0;
}
.dos-page [data-panel=transferts] .trf-actions > .trf-taxi-form .form-control {
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dos-page [data-panel=transferts] .trf-ajuster {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  flex: none;
  padding: 14px;
  border-radius: 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  animation: tj-rise 0.25s ease backwards;
}
.dos-page [data-panel=transferts] .trf-ajuster[hidden] {
  display: none;
}
.dos-page [data-panel=transferts] .trf-ajuster-t {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-ajuster-champs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.dos-page [data-panel=transferts] .trf-ajuster-champs label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.dos-page [data-panel=transferts] .trf-ajuster-pied {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.dos-page [data-panel=transferts] .trf-ajuster-pied .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  padding: 0 13px;
}
.dos-page [data-panel=transferts] .trf-ajuster-pied .btn:hover {
  background: #F1F4F9;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-ajuster-pied .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .trf-ajuster-pied .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(29, 45, 92, 0.18);
  cursor: pointer;
  transition: background 0.15s;
  padding: 0 15px;
  box-shadow: none;
  background: #1D2D5C !important;
  color: #fff !important;
}
.dos-page [data-panel=transferts] .trf-ajuster-pied .btn.btn-primary:hover {
  background: #24397A;
  color: #fff;
}
.dos-page [data-panel=transferts] .trf-ajuster-pied .btn.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .trf-ajuster-pied .btn.btn-primary:hover {
  background: #24397A !important;
}
.dos-page [data-panel=transferts] .trf-lab {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1.2;
}
.dos-page [data-panel=transferts] .trf-ajuster .form-control, .dos-page [data-panel=transferts] .trf-taxi-form .form-control {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  background-color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  box-shadow: none;
}
.dos-page [data-panel=transferts] .trf-ajuster .form-control:hover, .dos-page [data-panel=transferts] .trf-taxi-form .form-control:hover {
  border-color: #CBD2E0;
}
.dos-page [data-panel=transferts] .trf-ajuster .form-control:focus, .dos-page [data-panel=transferts] .trf-taxi-form .form-control:focus {
  outline: none;
  border-color: #1D2D5C;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .trf-ajuster select.form-control, .dos-page [data-panel=transferts] .trf-taxi-form select.form-control {
  padding-right: 34px;
  text-overflow: ellipsis;
}
.dos-page [data-panel=transferts] .trf-ajuster input[type=datetime-local].form-control, .dos-page [data-panel=transferts] .trf-taxi-form input[type=datetime-local].form-control {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13.5px;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .trf-locked {
  padding: 22px 16px;
  border: 1.5px dashed #CBD2E0;
  border-radius: 14px;
  background: #F8FAFC;
}
.dos-page [data-panel=transferts] .trf-locked i {
  color: #B5BCCA;
}
.dos-page [data-panel=transferts] .trf-locked .trf-locked-t {
  color: #3E4A6B;
  font-size: 13.5px;
}
.dos-page [data-panel=transferts] .trf-locked .trf-locked-s {
  color: #6B7490;
  font-size: 12px;
}
.dos-page [data-panel=transferts] .trf-nav {
  margin-top: 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.dos-page [data-panel=transferts] .trf-nav > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #FAFBFD;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-nav > summary::-webkit-details-marker {
  display: none;
}
.dos-page [data-panel=transferts] .trf-nav > summary:hover {
  background: #F1F4F9;
}
.dos-page [data-panel=transferts] .trf-nav > summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .trf-nav .trf-nav-ic {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #1D2D5C;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .trf-nav .trf-nav-n {
  margin-left: 0;
  min-width: 0;
  height: auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #EEF3FC;
  color: #34508C;
}
.dos-page [data-panel=transferts] .trf-nav .trf-nav-chev {
  margin-left: auto;
  font-size: 12px;
  color: #6B7490;
  transition: transform 0.3s;
}
.dos-page [data-panel=transferts] .trf-nav[open] .trf-nav-chev {
  transform: rotate(180deg);
}
.dos-page [data-panel=transferts] .trf-nav[open] > summary {
  border-bottom: 0;
}
.dos-page [data-panel=transferts] .trf-nav .nav-liste {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: #fff;
  animation: tj-rise 0.25s ease backwards;
}
.dos-page [data-panel=transferts] .trf-nav .trf-nav-vide {
  margin: 0;
  padding: 12px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page [data-panel=transferts] .nav-ligne {
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}
.dos-page [data-panel=transferts] .nav-ligne + .nav-ligne {
  border-top: 1.5px solid #E2E8F0;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-corps {
  order: 1;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-tag {
  order: 2;
  align-self: center;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-pick {
  order: 3;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-titre {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-titre b {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-titre .nav-trajet {
  font-size: 12.5px;
  font-weight: 700;
  color: #3E4A6B;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-titre .nav-trajet::before {
  display: none;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-titre .nav-depose {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}
.dos-page [data-panel=transferts] .nav-ligne .nav-titre .nav-depose::before {
  display: none;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-verdict {
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #2E5320;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-verdict i {
  color: #2E5320;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 6px;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-tag.nav-tag-reco {
  background: #6CC04A;
  color: #0E2A12;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-pick .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-pick .btn:hover {
  background: #F1F4F9;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-pick .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .nav-ligne .nav-pick .btn.btn-success {
  border-color: #6CC04A;
  background: #6CC04A;
  color: #0E2A12;
}
.dos-page [data-panel=transferts] .nav-ligne .nav-pick .btn.btn-success:hover {
  background: #5DB13A;
  border-color: #5DB13A;
  color: #0E2A12;
}
.dos-page [data-panel=transferts] .nav-ligne.is-ecartee {
  border-color: #F3D48B;
  background: #fff;
  opacity: 0.85;
}
.dos-page [data-panel=transferts] .nav-ligne.is-ecartee .nav-titre b, .dos-page [data-panel=transferts] .nav-ligne.is-ecartee .nav-trajet {
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .nav-ligne.is-ecartee .nav-verdict {
  color: #A85D00;
}
.dos-page [data-panel=transferts] .nav-ligne.is-ecartee .nav-verdict i {
  color: #A85D00;
}
.dos-page [data-panel=transferts] .nav-ligne.is-retenue {
  border-color: #6CC04A;
  background: #F4FAF0;
  box-shadow: none;
  opacity: 1;
}
.dos-page [data-panel=transferts] .nav-ligne.is-retenue .nav-tag-reco {
  display: none;
}
.dos-page [data-panel=transferts] .nav-ligne.is-retenue .nav-titre::after {
  content: "Retenue";
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  background: #1D2D5C;
  color: #fff;
}
.dos-page [data-panel=transferts] .nav-ligne.is-retenue .nav-pick .btn, .dos-page [data-panel=transferts] .nav-ligne.is-retenue .nav-pick .btn.btn-success {
  border: 1.5px solid #6CC04A;
  background: #fff;
  color: #2E5320;
}
.dos-page [data-panel=transferts] .nav-ligne.is-retenue .nav-pick .btn:hover, .dos-page [data-panel=transferts] .nav-ligne.is-retenue .nav-pick .btn.btn-success:hover {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page [data-panel=transferts] .trf-secours {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1.5px dashed #CBD2E0;
  border-radius: 16px;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-ic {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #FCEFDC;
  color: #A85D00;
  font-size: 9.5px;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-txt {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-t {
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-s {
  font-size: 12.5px;
  font-weight: 500;
  color: #6B7490;
  line-height: 1.5;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-s b {
  color: #3E4A6B;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-s b.trf-secours-warn {
  display: block;
  color: #7A4A00;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-actions {
  display: flex;
  gap: 8px;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  padding: 0 13px;
  font-weight: 800;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-actions .btn:hover {
  background: #F1F4F9;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .trf-secours .trf-secours-actions .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .quick-modal-box {
  border-radius: 20px;
}
.dos-page [data-panel=transferts] .quick-modal-footer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.dos-page [data-panel=transferts] .quick-modal-footer .btn:hover {
  background: #F1F4F9;
  border-color: #E2E8F0;
  color: #1D2D5C;
}
.dos-page [data-panel=transferts] .quick-modal-footer .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=transferts] .quick-modal-footer .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(29, 45, 92, 0.18);
  cursor: pointer;
  transition: background 0.15s;
}
.dos-page [data-panel=transferts] .quick-modal-footer .btn.btn-primary:hover {
  background: #24397A;
  color: #fff;
}
.dos-page [data-panel=transferts] .quick-modal-footer .btn.btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
@media (max-width: 560px) {
  .dos-page [data-panel=transferts] .trf-card-head {
    padding: 12px 14px;
  }
  .dos-page [data-panel=transferts] .trf-card-body {
    padding: 14px;
  }
  .dos-page [data-panel=transferts] .trf-actions .trf-annuler {
    margin-left: 0;
  }
  .dos-page [data-panel=transferts] .nav-ligne {
    flex-wrap: wrap;
  }
  .dos-page [data-panel=transferts] .nav-ligne .nav-corps {
    flex-basis: 100%;
  }
  .dos-page [data-panel=transferts] .trf-secours {
    padding: 14px;
  }
  .dos-page [data-panel=transferts] .trf-secours-actions {
    flex: 1 1 100%;
  }
  .dos-page [data-panel=transferts] .trf-secours-actions .btn {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dos-page [data-panel=trajet] .tj-form,
  .dos-page [data-panel=trajet] .tj-edit,
  .dos-page [data-panel=transferts] > .trf-grid,
  .dos-page [data-panel=transferts] > .trf-secours,
  .dos-page [data-panel=transferts] .trf-ajuster,
  .dos-page [data-panel=transferts] .trf-nav .nav-liste {
    animation: none;
  }
  .dos-page [data-panel=transferts] .trf-ajust-chev,
  .dos-page [data-panel=transferts] .trf-nav-chev {
    transition: none;
  }
}
/* Fiche dossier — onglet « hebergement », maquette Claude Design (v3). Scope : .dos-page. */
/* Colonne principale (bandeau, restauration, nuits) + colonne d'actions qui ouvrent des tiroirs latéraux. */
html.hb-drawer-lock {
  overflow: hidden;
}

.dos-page [data-panel=hebergement] {
  /* ═══ Grille : contenu | colonne d'actions 300px ═══ */
  /* ── Cartes : blanches, bord fin, titre sobre ── */
  /* ── Libellés petites capitales, textes d'aide ── */
  /* ── Pastilles de statut ── */
  /* ── Boutons ── */
  /* ── Champs de formulaire ── */
  /* ═══ Bandeau hébergement ═══ */
  /* Liste clé/valeur sur 3 colonnes : clé grise à gauche, valeur en gras à droite, filets */
  /* Sans hébergement : carte unique avec le formulaire « Rétablir » */
  /* Encarts (constat, info, alerte) */
  /* Réponse du campus tiers (Store) */
  /* ═══ Restauration — soirs en tuiles ═══ */
  /* ═══ Nuits supplémentaires ═══ */
  /* ── Nuits supplémentaires : cartes d'état (maquette Dossier, 04/11) ── */
  /* Choix des autres hôtels : une carte cochable par hôtel, un e-mail chacun. */
  /* Saclay : un seul hôtel partenaire, verdict lisible avant de choisir. */
  /* Accord direct de l'hôtel (super admin, 18/11) : geste hors règle, toujours signalé comme tel. */
  /* Saclay : où loger les nuits, avant le calendrier. */
  /* ── Ajouter des nuits : calendrier de disponibilités ── */
  /* Le panneau de droite : nuits cochées, verdict avant d'envoyer. */
  /* ═══ Colonne d'actions ═══ */
  /* ═══ Tiroirs latéraux ═══ */
  /* ── Responsive : la colonne d'actions passe dessous ── */
}
.dos-page [data-panel=hebergement].is-active {
  display: block;
}
.dos-page [data-panel=hebergement] .mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.dos-page [data-panel=hebergement] .hb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}
.dos-page [data-panel=hebergement] .hb-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dos-page [data-panel=hebergement] .card.hb-card {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  box-shadow: none;
  overflow: hidden;
}
.dos-page [data-panel=hebergement] .card.hb-card::before {
  display: none;
}
.dos-page [data-panel=hebergement] .card.hb-card:hover {
  border-color: #E2E8F0;
  box-shadow: none;
}
.dos-page [data-panel=hebergement] .card.hb-card > .card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: #fff;
  border-bottom: 1px solid #F1F4F9;
}
.dos-page [data-panel=hebergement] .card.hb-card > .card-head h3 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: 0;
  text-transform: none;
}
.dos-page [data-panel=hebergement] .card.hb-card > .card-body {
  padding: 16px 18px;
  font-size: 13px;
}
.dos-page [data-panel=hebergement] .hb-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: #34508C;
  background: #EEF3FC;
  border-radius: 999px;
  padding: 3px 9px;
}
.dos-page [data-panel=hebergement] .hb-head-pill {
  margin-left: auto;
  font-size: 11.5px;
  padding: 4px 10px;
}
.dos-page [data-panel=hebergement] .hb-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .hb-label--section {
  font-size: 11px;
}
.dos-page [data-panel=hebergement] .hb-label-opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}
.dos-page [data-panel=hebergement] .hb-hint {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .hb-hint.is-danger {
  color: #B23A36;
  font-weight: 700;
}
.dos-page [data-panel=hebergement] .hb-text {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #6E7790;
}
.dos-page [data-panel=hebergement] .hb-text b {
  color: inherit;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-text .hb-text-red {
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  padding: 3px 10px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-pill.is-green {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-pill.is-amber {
  background: #FCEFDC;
  color: #8F4F00;
}
.dos-page [data-panel=hebergement] .hb-pill.is-red {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-pill.is-grey {
  background: #EDF1F8;
  color: #44506B;
}
.dos-page [data-panel=hebergement] .hb-pill.hb-pill--dot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.dos-page [data-panel=hebergement] .hb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.dos-page [data-panel=hebergement] .hb-btn i {
  font-size: 12px;
}
.dos-page [data-panel=hebergement] .hb-btn:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.dos-page [data-panel=hebergement] .hb-btn--sm {
  height: 32px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 12px;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-btn--lg {
  height: 44px;
  padding: 0 16px;
  border-radius: 11px;
}
.dos-page [data-panel=hebergement] .hb-btn--md {
  height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  font-size: 12.5px;
}
.dos-page [data-panel=hebergement] .hb-btn--cancel {
  height: 42px;
  padding: 0 16px;
  border-radius: 11px;
}
.dos-page [data-panel=hebergement] .hb-btn--attente {
  height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 12.5px;
}
.dos-page [data-panel=hebergement] .hb-btn--glow {
  box-shadow: 0 6px 14px rgba(108, 192, 74, 0.3);
}
.dos-page [data-panel=hebergement] .hb-btn--navy {
  border-color: #1D2D5C;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-btn--navy:hover {
  background: #24397A;
  border-color: #24397A;
  color: #fff;
}
.dos-page [data-panel=hebergement] .hb-btn--accept {
  border-color: #6CC04A;
  background: #6CC04A;
  color: #0E2A12;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-btn--accept:hover {
  background: #5DB03C;
  border-color: #5DB03C;
  color: #0E2A12;
}
.dos-page [data-panel=hebergement] .hb-btn--soft-green {
  border-color: #BFD8B8;
  color: #2E5320;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-btn--soft-green:hover {
  background: #F1F8EC;
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-btn--danger {
  border-color: #E4B7B4;
  color: #B23A36;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-btn--danger:hover {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-btn--danger-soft {
  border-color: #F2C8C5;
  background: #FCF2F1;
  color: #B23A36;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-btn--danger-soft:hover {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-btn--danger-line {
  border-color: #E9C4C2;
  color: #B23A36;
  padding: 0 14px;
}
.dos-page [data-panel=hebergement] .hb-btn--danger-line:hover {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-field--grow {
  flex: 1 1 220px;
  min-width: 180px;
}
.dos-page [data-panel=hebergement] .form-control {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  background-color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dos-page [data-panel=hebergement] .form-control::placeholder {
  color: #8E97AB;
  font-weight: 500;
}
.dos-page [data-panel=hebergement] .form-control:focus {
  outline: none;
  border-color: #1D2D5C;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.12);
}
.dos-page [data-panel=hebergement] input[type=date].form-control {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-weight: 600;
}
.dos-page [data-panel=hebergement] .hb-select-wide {
  min-width: 260px;
}
.dos-page [data-panel=hebergement] .hb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin: 0;
}
.dos-page [data-panel=hebergement] .hb-row > .hb-row-hint {
  flex: 1 1 100%;
}
.dos-page [data-panel=hebergement] .hb-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}
.dos-page [data-panel=hebergement] .hb-sep {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-sep--dashed {
  border-top-style: dashed;
  border-top-color: #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-hero {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 40px 22px 18px;
  background: linear-gradient(135deg, #4FA235, #62B543);
  color: #fff;
  text-shadow: 0 1px 2px rgba(20, 60, 10, 0.25);
}
.dos-page [data-panel=hebergement] .hb-hero.is-campus {
  background: linear-gradient(135deg, #1D2D5C, #34508C);
}
.dos-page [data-panel=hebergement] .hb-hero.is-empty {
  background: linear-gradient(135deg, #4A5578, #6B7490);
}
.dos-page [data-panel=hebergement] .hb-hero-kicker {
  position: absolute;
  top: 14px;
  left: 18px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.dos-page [data-panel=hebergement] .hb-hero-title {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 6px 12px;
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-hero-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.2;
}
.dos-page [data-panel=hebergement] .hb-stars {
  color: #FDE68A;
  letter-spacing: 2px;
  font-size: 13px;
}
.dos-page [data-panel=hebergement] .hb-hero-sub {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}
.dos-page [data-panel=hebergement] .hb-hero-pill {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  color: #2E5320;
  text-shadow: none;
}
.dos-page [data-panel=hebergement] .hb-main-body {
  padding: 6px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dos-page [data-panel=hebergement] .hb-info {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
}
.dos-page [data-panel=hebergement] .hb-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  padding: 12px 0;
  border-bottom: 1px solid #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-info-row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #5F6884;
  white-space: nowrap;
}
.dos-page [data-panel=hebergement] .hb-info-row dd {
  margin: 0;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  text-align: right;
  overflow-wrap: anywhere;
}
.dos-page [data-panel=hebergement] .hb-info-row dd.is-green {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-info-muted {
  color: #5F6884;
  font-weight: 600;
}
.dos-page [data-panel=hebergement] .hb-stat-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .card.hb-card.hb-none {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 22px;
}
.dos-page [data-panel=hebergement] .hb-none-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #F1F4F9;
  color: #3E4A6B;
  font-size: 10px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-none-text {
  flex: 1 1 220px;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-none-title {
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-none-sub {
  margin-top: 3px;
  font-size: 13px;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-none-form {
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-constat {
  margin-top: 2px;
}
.dos-page [data-panel=hebergement] .hb-constat, .dos-page [data-panel=hebergement] .hb-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F7F9FC;
  border: 1px solid #E2E8F0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-constat-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #F1F4F9;
  color: #5F6884;
  font-size: 10px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-constat-text {
  flex: 1;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-constat-text b {
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-constat-warn {
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #8E2F2B;
}
.dos-page [data-panel=hebergement] .hb-constat.is-ok .hb-constat-ico {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-constat.is-absent {
  background: #FCF2F1;
  border-color: #F0C6C2;
}
.dos-page [data-panel=hebergement] .hb-constat.is-absent .hb-constat-ico {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-note > i {
  margin-top: 2px;
  font-size: 14px;
  color: #34508C;
}
.dos-page [data-panel=hebergement] .hb-note b {
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-note.is-info {
  background: #EEF3FC;
  border-color: #D3E0F5;
  color: #4E5A75;
}
.dos-page [data-panel=hebergement] .hb-note.is-warn {
  background: #FFF8EC;
  border-color: #F4E4C7;
  color: #6E4B12;
}
.dos-page [data-panel=hebergement] .hb-note.is-warn > i {
  color: #A85D00;
}
.dos-page [data-panel=hebergement] .hb-note.is-danger {
  background: #FCF2F1;
  border-color: #F2C8C5;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-note.is-danger > i {
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-note.is-danger b {
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-note--i {
  padding: 14px 16px;
  border-radius: 14px;
}
.dos-page [data-panel=hebergement] .hb-note-i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #34508C;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-store {
  padding: 14px 16px;
  border-radius: 14px;
  background: #FBFCFE;
  border: 1.5px solid #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-store-head {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-store-head strong {
  font-size: 13.5px;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-store-head .hb-pill {
  font-size: 11.5px;
}
.dos-page [data-panel=hebergement] .hb-store-text {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #6E7790;
}
.dos-page [data-panel=hebergement] .hb-store-text b {
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-store-actions {
  margin: 10px 0 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-resto-intro {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-soirs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.dos-page [data-panel=hebergement] .hb-soir {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  margin: 0;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.dos-page [data-panel=hebergement] .hb-soir:hover {
  border-color: #C9D2E0;
}
.dos-page [data-panel=hebergement] .hb-soir input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.dos-page [data-panel=hebergement] .hb-soir .hb-soir-box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid #CBD2E0;
  background: #fff;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.dos-page [data-panel=hebergement] .hb-soir .hb-soir-box svg {
  opacity: 0;
  transition: opacity 0.2s;
}
.dos-page [data-panel=hebergement] .hb-soir .hb-soir-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-soir .hb-soir-jour {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-soir .hb-soir-date {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11.5px;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-soir:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
  border-color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-soir:has(input:checked) {
  border-color: #6CC04A;
  background: #F4FAF0;
}
.dos-page [data-panel=hebergement] .hb-soir:has(input:checked) .hb-soir-box {
  background: #6CC04A;
  border-color: #6CC04A;
}
.dos-page [data-panel=hebergement] .hb-soir:has(input:checked) .hb-soir-box svg {
  opacity: 1;
}
.dos-page [data-panel=hebergement] .hb-soirs-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 0;
  border-top: 0;
}
.dos-page [data-panel=hebergement] .hb-soirs-help {
  font-size: 12.5px;
  font-weight: 600;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-kv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.dos-page [data-panel=hebergement] .hb-kv-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.dos-page [data-panel=hebergement] .hb-kv-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .hb-kv-v {
  font-size: 13.5px;
  font-weight: 700;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nuits-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dos-page [data-panel=hebergement] .hb-nuits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dos-page [data-panel=hebergement] .hb-nuit {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
}
.dos-page [data-panel=hebergement] .hb-nuit.is-suggere {
  border-color: #F3D48B;
  background: #FFFCF5;
}
.dos-page [data-panel=hebergement] .hb-nuit.is-refuse {
  opacity: 0.6;
}
.dos-page [data-panel=hebergement] .hb-restaurer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 11px 13px;
  background: #F7F8FB;
  border: 1px solid #E4E8F0;
  border-radius: 10px;
}
.dos-page [data-panel=hebergement] .hb-restaurer span {
  flex: 1;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-nuit-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: #F2EBFD;
  color: #7C3AED;
}
.dos-page [data-panel=hebergement] .hb-nuit-main {
  flex: 1 1 180px;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-nuit-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-nuit-title .mono {
  font-size: 13.5px;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nuit-lieu {
  font-size: 13px;
  font-weight: 700;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-nuit-hors {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  background: #FCEFDC;
  color: #8F4F00;
}
.dos-page [data-panel=hebergement] .hb-nuit-sub {
  margin-top: 2px;
  font-size: 12px;
  font-style: italic;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nuit .hb-pill {
  font-size: 11.5px;
  padding: 4px 10px;
}
.dos-page [data-panel=hebergement] .hb-nuit-help {
  font-size: 12px;
  font-weight: 500;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nuit-actions {
  display: flex;
  gap: 6px;
}
.dos-page [data-panel=hebergement] .hb-nuit-actions form {
  margin: 0;
}
.dos-page [data-panel=hebergement] .hb-nuit-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin: 0;
}
.dos-page [data-panel=hebergement] .hb-nuit-form.has-sep {
  padding-top: 12px;
  border-top: 1px dashed #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-nuit-form .hb-field--date {
  flex: 0 1 170px;
  min-width: 150px;
}
.dos-page [data-panel=hebergement] .hb-nuit-form .hb-field--heb {
  flex: 1 1 200px;
}
.dos-page [data-panel=hebergement] .hb-nuit-form .hb-field--motif {
  flex: 1 1 180px;
}
.dos-page [data-panel=hebergement] .hb-nx-kicker {
  font-size: 12px;
  font-weight: 700;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nx-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dos-page [data-panel=hebergement] .hb-nx-card {
  border-radius: 14px;
  border: 1.5px solid #CFE9C2;
  background: #FBFEF9;
  overflow: hidden;
  animation: hbPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  --nx-bd: #CFE9C2;
}
.dos-page [data-panel=hebergement] .hb-nx-card.is-amber {
  --nx-bd: #F3D48B;
  border-color: #F3D48B;
  background: #FFFDF8;
}
.dos-page [data-panel=hebergement] .hb-nx-card.is-red {
  --nx-bd: #F2C8C5;
  border-color: #F2C8C5;
  background: #FFFBFB;
}
.dos-page [data-panel=hebergement] .hb-nx-card.is-grey {
  --nx-bd: #E2E8F0;
  border-color: #E2E8F0;
  background: #FAFBFD;
}
.dos-page [data-panel=hebergement] .hb-nx-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
}
.dos-page [data-panel=hebergement] .hb-nx-statut {
  font-size: 11.5px;
  padding: 5px 11px;
}
.dos-page [data-panel=hebergement] .hb-nx-foot {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px 12px;
  border-top: 1px solid var(--nx-bd);
}
.dos-page [data-panel=hebergement] .hb-nx-detail {
  flex: 1 1 240px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #4E5A75;
}
.dos-page [data-panel=hebergement] .hb-nx-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.dos-page [data-panel=hebergement] .hb-nx-actions form {
  margin: 0;
}
.dos-page [data-panel=hebergement] .hb-nx-actions [hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-nx-envois {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 14px 12px;
}
.dos-page [data-panel=hebergement] .hb-nx-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F1F4F9;
  color: #6B7490;
  border: 1px solid #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-nx-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.dos-page [data-panel=hebergement] .hb-nx-chip.is-amber {
  background: #FCEFDC;
  color: #8F4F00;
  border-color: #F3D48B;
}
.dos-page [data-panel=hebergement] .hb-nx-chip.is-green {
  background: #E7F5E0;
  color: #2E5320;
  border-color: #CFE9C2;
}
.dos-page [data-panel=hebergement] .hb-nx-chip.is-red {
  background: #FBE4E3;
  color: #B23A36;
  border-color: #F2C8C5;
}
.dos-page [data-panel=hebergement] .hb-nx-picker {
  margin: 0;
  padding: 12px 14px 14px;
  border-top: 1px dashed #E07A75;
  background: #fff;
  animation: hbFade 0.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.dos-page [data-panel=hebergement] .hb-nx-picker[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-nx-picker-t {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-picker-d {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nx-hotels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel:hover {
  border-color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel:has(input:checked) {
  border-color: #6CC04A;
  background: #F2FAEF;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel:has(input:checked) .hb-nx-box {
  border-color: #6CC04A;
  background: #6CC04A;
  color: #fff;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.dos-page [data-panel=hebergement] .hb-nx-box {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 5px;
  border: 1.5px solid #C4CAD6;
  background: #fff;
  color: transparent;
  font-size: 10px;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel-t {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel-t b {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel-t .mono {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-tertiary);
  overflow-wrap: anywhere;
}
.dos-page [data-panel=hebergement] .hb-nx-stock {
  font-size: 11.5px;
  font-weight: 600;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nx-stock.is-vert {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-nx-stock.is-rouge {
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-nx-picker-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.dos-page [data-panel=hebergement] .hb-nx-picker-foot .hb-nx-compte {
  margin-right: auto;
  font-size: 12px;
  font-weight: 700;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nx-picker-foot .hb-btn:disabled {
  background: #CBD2E0;
  border-color: #CBD2E0;
  color: #fff;
  cursor: not-allowed;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel.is-radio .hb-nx-box {
  border-radius: 50%;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel.is-off {
  opacity: 0.55;
  cursor: not-allowed;
}
.dos-page [data-panel=hebergement] .hb-nx-hotel.is-off:hover {
  border-color: #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-nx-verdict {
  font-size: 11.5px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-nx-verdict.is-ok {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-nx-verdict.is-or {
  color: #A85D00;
}
.dos-page [data-panel=hebergement] .hb-nx-store {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-nx-sa {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #E6E9F2;
  color: #1D2D5C;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-t .hb-nx-sa {
  margin: 0 0 0 6px;
}
.dos-page [data-panel=hebergement] .hb-btn--sa {
  border-color: #C9D3EA;
  background: #F5F7FC;
  color: #1D2D5C;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-btn--sa:hover {
  border-color: #1D2D5C;
  background: #EDF1FA;
}
.dos-page [data-panel=hebergement] .hb-nx-accord {
  border-top-color: #9FB0D6;
  background: #FBFCFE;
}
.dos-page [data-panel=hebergement] .hb-nx-accord-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 520px;
  margin-top: 12px;
}
.dos-page [data-panel=hebergement] .hb-nx-accord-note > span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .hb-nx-accord-note .form-control {
  height: 40px;
  border-radius: 10px;
  font-size: 12.5px;
}
.dos-page [data-panel=hebergement] .hb-nx-accord-note[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opt.is-sa:has(input:checked) {
  border-color: #1D2D5C;
  background: #EEF2FB;
}
.dos-page [data-panel=hebergement] .hb-nx-card.is-accord {
  --nx-bd: #C9D3EA;
  border-color: #C9D3EA;
  background: #F8FAFE;
}
.dos-page [data-panel=hebergement] .hb-nx-card.is-accord .hb-nx-statut {
  background: #E6E9F2;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-heb {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-t {
  margin-bottom: 8px;
  padding: 0;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opt:hover {
  border-color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opt:has(input:checked) {
  border-color: #1D2D5C;
  background: #F5F7FC;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opt:has(input:checked) .hb-nx-heb-box {
  border-color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opt:has(input:checked) .hb-nx-heb-box::after {
  opacity: 1;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-opt:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.dos-page [data-panel=hebergement] .hb-nx-heb-box {
  flex: none;
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid #C4CAD6;
  background: #fff;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-box::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #1D2D5C;
  opacity: 0;
  transition: opacity 0.15s;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-txt {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-txt b {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-txt small {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-hotel {
  max-width: 420px;
  margin-top: 8px;
}
.dos-page [data-panel=hebergement] .hb-nx-heb-hotel[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-nx-add[data-choix=attente] .hb-nx-nav, .dos-page [data-panel=hebergement] .hb-nx-add[data-choix=attente] .hb-nx-cal {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-nx-add {
  margin: 0;
}
.dos-page [data-panel=hebergement] .hb-nx-add.has-sep {
  padding-top: 14px;
  border-top: 1px dashed #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-nx-add-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.dos-page [data-panel=hebergement] .hb-nx-add-t {
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-add-d {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nx-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 36px;
  padding: 0 3px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
}
.dos-page [data-panel=hebergement] .hb-nx-nav button {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 7px;
  background: none;
  color: #324063;
  font-size: 11px;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .hb-nx-nav button:hover {
  background: #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-nx-nav button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.dos-page [data-panel=hebergement] .hb-nx-nav span {
  min-width: 120px;
  padding: 0 8px;
  text-align: center;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  text-transform: capitalize;
}
.dos-page [data-panel=hebergement] .hb-nx-cal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 14px;
  align-items: start;
}
.dos-page [data-panel=hebergement] .hb-nx-wd, .dos-page [data-panel=hebergement] .hb-nx-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.dos-page [data-panel=hebergement] .hb-nx-wd {
  margin-bottom: 4px;
}
.dos-page [data-panel=hebergement] .hb-nx-wd span {
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .hb-nx-grid[aria-busy=true]:empty {
  min-height: 320px;
  border-radius: 11px;
  background: #F7F9FC;
}
.dos-page [data-panel=hebergement] .hb-nx-erreur {
  grid-column: 1/-1;
  margin: 0;
  padding: 18px;
  font-size: 12.5px;
  font-weight: 700;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-nx-day {
  position: relative;
  min-width: 0;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 6px;
  border-radius: 11px;
  border: 1.5px solid #CFE9C2;
  background: #F7FCF4;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.dos-page [data-panel=hebergement] .hb-nx-day:hover:not(:disabled) {
  border-color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-day:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.dos-page [data-panel=hebergement] .hb-nx-day:disabled {
  cursor: default;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-vide {
  border-color: transparent;
  background: transparent;
  cursor: default;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-passe {
  border-color: #F1F4F9;
  background: #FAFBFD;
  opacity: 0.6;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-passe .hb-nx-day-num {
  color: #C4CAD6;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-passe:not(:disabled) {
  opacity: 1;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-passe:not(:disabled):not(.is-on) {
  border-color: #D6DCE7;
  border-style: dashed;
  background: #fff;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-passe:not(:disabled):not(.is-on) .hb-nx-day-num {
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-passe:not(:disabled):not(.is-on) .hb-nx-day-l {
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-sejour {
  border-color: #D3E0F5;
  background: #EEF3FC;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-sejour .hb-nx-day-l {
  color: #34508C;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-prise {
  border-color: #E3D5FA;
  background: #F7F2FE;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-prise .hb-nx-day-l {
  color: #7C3AED;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-libre .hb-nx-day-l {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-peu .hb-nx-day-l {
  color: #A85D00;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-complet, .dos-page [data-panel=hebergement] .hb-nx-day.is-hors {
  border-color: #F2C8C5;
  background: #FDF6F5;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-complet .hb-nx-day-l, .dos-page [data-panel=hebergement] .hb-nx-day.is-hors .hb-nx-day-l {
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-store {
  border-color: #BFE0DC;
  background: #F3FAF9;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-store .hb-nx-day-l {
  color: #1F6F68;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-gele:not(.is-on) {
  border-style: dashed;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-on {
  border-color: #6CC04A;
  border-style: solid;
  background: #F2FAEF;
}
.dos-page [data-panel=hebergement] .hb-nx-day.is-on .hb-nx-day-check {
  display: grid;
}
.dos-page [data-panel=hebergement] .hb-nx-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.dos-page [data-panel=hebergement] .hb-nx-day-num {
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-day-check {
  display: none;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6CC04A;
  animation: hbPop 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.dos-page [data-panel=hebergement] .hb-nx-day-check::after {
  content: "";
  width: 7px;
  height: 4px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}
.dos-page [data-panel=hebergement] .hb-nx-day-l {
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.dos-page [data-panel=hebergement] .hb-nx-day-sub {
  font-size: 9.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #A85D00;
}
.dos-page [data-panel=hebergement] .hb-nx-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #5F6884;
}
.dos-page [data-panel=hebergement] .hb-nx-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 5px;
  vertical-align: -1px;
  border-radius: 3px;
  border: 1px solid;
}
.dos-page [data-panel=hebergement] .hb-nx-legend .is-libre {
  background: #E7F5E0;
  border-color: #CFE9C2;
}
.dos-page [data-panel=hebergement] .hb-nx-legend .is-complet {
  background: #FBE4E3;
  border-color: #F2C8C5;
}
.dos-page [data-panel=hebergement] .hb-nx-legend .is-sejour {
  background: #EEF3FC;
  border-color: #D3E0F5;
}
.dos-page [data-panel=hebergement] .hb-nx-legend .is-store {
  background: #E3F3F1;
  border-color: #BFE0DC;
}
.dos-page [data-panel=hebergement] .hb-nx-legend .is-att {
  color: #A85D00;
}
.dos-page [data-panel=hebergement] .hb-nx-sel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  background: #FBFCFE;
}
.dos-page [data-panel=hebergement] .hb-nx-sel .form-control {
  height: 40px;
  border-radius: 10px;
  font-size: 12.5px;
}
.dos-page [data-panel=hebergement] .hb-nx-sel .hb-btn:disabled {
  background: #CBD2E0;
  border-color: #CBD2E0;
  color: #fff;
  cursor: not-allowed;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-t {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-vide {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .hb-nx-sel-vide[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-list:empty {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #EEF1F6;
  animation: hbPop 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-type {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  background: #F2EBFD;
  color: #7C3AED;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-corps {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-date {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-verdict {
  font-size: 10.5px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-verdict.is-ok {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-verdict.is-or {
  color: #A85D00;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-verdict.is-store {
  color: #1F6F68;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-verdict.is-sa {
  color: #34508C;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-x {
  flex: none;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 7px;
  background: #F1F4F9;
  color: #6B7490;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-x:hover {
  background: #E4E9F2;
}
.dos-page [data-panel=hebergement] .hb-nx-sel-x:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.dos-page [data-panel=hebergement] .hb-nx-sel-note {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .hb-nx-sel-note:empty {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: calc(var(--topbar-h) + 18px);
}
.dos-page [data-panel=hebergement] .hb-acts {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
}
.dos-page [data-panel=hebergement] .hb-acts.is-danger {
  border-color: #E9C4C2;
}
.dos-page [data-panel=hebergement] .hb-acts.is-danger .hb-acts-head {
  color: #B23A36;
  border-bottom-color: #F8ECEB;
}
.dos-page [data-panel=hebergement] .hb-acts.is-danger .hb-act:hover {
  background: #FDF3F2;
}
.dos-page [data-panel=hebergement] .hb-acts.is-danger .hb-act-ic {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-acts-head {
  padding: 13px 16px;
  border-bottom: 1px solid #F1F4F9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-acts-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dos-page [data-panel=hebergement] .hb-act {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 10px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.dos-page [data-panel=hebergement] .hb-act:hover {
  background: #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-act:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-act[aria-expanded=true] {
  background: #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-act-ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #E7F5E0;
  color: #2E5320;
  font-size: 9.5px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-act-txt {
  flex: 1;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-act-label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-act-sum {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #5F6884;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dos-page [data-panel=hebergement] .hb-act-chev {
  flex-shrink: 0;
  color: #B5BCCA;
}
.dos-page [data-panel=hebergement] .hb-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(20, 33, 71, 0.5);
  backdrop-filter: blur(5px);
  animation: hbFade 0.2s ease backwards;
}
.dos-page [data-panel=hebergement] .hb-drawer-backdrop[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1110;
  width: min(560px, 100vw);
  display: flex;
  flex-direction: column;
  background: #F4F6FA;
  box-shadow: -30px 0 80px rgba(20, 33, 71, 0.3);
  animation: hbSlideIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  --leave: exit-right;
}
.dos-page [data-panel=hebergement] .hb-drawer[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-drawer:focus {
  outline: none;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal {
  inset: 0;
  margin: auto;
  width: min(980px, 100vw - 48px);
  height: fit-content;
  max-height: 90vh;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
  animation: hbPop 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  --leave: exit-scale;
}
.dos-page [data-panel=hebergement] .hb-drawer-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #1D2D5C, #2A4080);
  color: #fff;
}
.dos-page [data-panel=hebergement] .hb-drawer-ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #6CC04A;
  color: #0E2A12;
  font-size: 9.5px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-drawer-ic.is-danger {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-drawer-titles {
  flex: 1;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-drawer-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C7CEE3;
}
.dos-page [data-panel=hebergement] .hb-drawer-title {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}
.dos-page [data-panel=hebergement] .hb-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.dos-page [data-panel=hebergement] .hb-drawer-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.dos-page [data-panel=hebergement] .hb-drawer-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.dos-page [data-panel=hebergement] .hb-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dos-page [data-panel=hebergement] .hb-drawer-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px;
}
.dos-page [data-panel=hebergement] .hb-drawer-card--tight {
  padding: 16px 18px;
}
.dos-page [data-panel=hebergement] .hb-sec-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] .hb-grid2--fixed {
  grid-template-columns: 1fr 1fr;
  align-items: end;
}
.dos-page [data-panel=hebergement] .hb-modif {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 24px;
  align-items: start;
}
.dos-page [data-panel=hebergement] .hb-modif-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-modif-col--left {
  gap: 14px;
  align-self: stretch;
  padding-right: 24px;
  border-right: 1px solid #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-modif-dates {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.dos-page [data-panel=hebergement] .hb-modif-act {
  display: flex;
  gap: 10px;
  align-items: center;
}
.dos-page [data-panel=hebergement] .hb-modif-act .hb-btn {
  padding: 0 14px;
  font-weight: 700;
}
.dos-page [data-panel=hebergement] .hb-modif-act .hb-hint {
  line-height: 1.4;
}
.dos-page [data-panel=hebergement] .hb-field--chambre {
  flex: 1 1 200px;
}
.dos-page [data-panel=hebergement] .hb-modif-sans {
  margin-top: auto;
}
.dos-page [data-panel=hebergement] .hb-switches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dos-page [data-panel=hebergement] .hb-modif-autre {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.dos-page [data-panel=hebergement] .hb-modif-autre .hb-field {
  flex: 1;
}
.dos-page [data-panel=hebergement] .hb-drawer-split {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-drawer-split .hb-text {
  flex: 1 1 240px;
}
.dos-page [data-panel=hebergement] .hb-drawer-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.dos-page [data-panel=hebergement] .hb-drawer-stack .hb-text {
  margin-top: 4px;
}
.dos-page [data-panel=hebergement] .hb-drawer-stack .hb-btn {
  padding: 0 14px;
}
.dos-page [data-panel=hebergement] .hb-switch {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.dos-page [data-panel=hebergement] .hb-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}
.dos-page [data-panel=hebergement] .hb-switch .hb-switch-track {
  position: relative;
  flex: 0 0 auto;
  margin-top: 1px;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #CBD2E0;
  transition: background 0.3s;
}
.dos-page [data-panel=hebergement] .hb-switch .hb-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dos-page [data-panel=hebergement] .hb-switch .hb-switch-txt {
  font-size: 13px;
  line-height: 1.5;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-switch .hb-switch-txt b {
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-switch:has(input:checked) {
  border-color: #6CC04A;
  background: #F4FAF0;
}
.dos-page [data-panel=hebergement] .hb-switch input:checked + .hb-switch-track {
  background: #6CC04A;
}
.dos-page [data-panel=hebergement] .hb-switch input:checked + .hb-switch-track::after {
  left: 19px;
}
.dos-page [data-panel=hebergement] .hb-switch:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
  border-color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-drawer-card.hb-resa {
  padding: 0;
}
.dos-page [data-panel=hebergement] .hb-resa-top {
  display: flex;
  justify-content: flex-end;
  padding: 10px 18px 0;
}
.dos-page [data-panel=hebergement] .hb-resa [data-editcard-display], .dos-page [data-panel=hebergement] .hb-resa-form {
  padding: 16px 18px;
}
.dos-page [data-panel=hebergement] .dos-editcard .dos-edit-toggle {
  height: 32px;
  padding: 0 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  background: #fff;
  color: #1D2D5C;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .dos-editcard .dos-edit-toggle:hover {
  background: #F1F4F9;
}
.dos-page [data-panel=hebergement] .dos-editcard .dos-edit-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.dos-page [data-panel=hebergement] .dos-editcard .dos-edit-toggle[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-resa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 16px;
}
.dos-page [data-panel=hebergement] .hb-resa-v {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-resa-v.mono {
  font-weight: 600;
}
.dos-page [data-panel=hebergement] .hb-resa-v .hb-pill {
  margin-top: 1px;
  font-size: 11.5px;
  padding: 4px 10px;
}
.dos-page [data-panel=hebergement] .hb-resa-form .hb-grid2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.dos-page [data-panel=hebergement] .hb-resa-form {
  margin: 0;
}
.dos-page [data-panel=hebergement] .hb-resa-form .dos-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  border: 0;
}
.dos-page [data-panel=hebergement] .hb-attente {
  padding: 14px 16px;
  border-radius: 14px;
  background: #FFFCF5;
  border: 1.5px solid #F3D48B;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dos-page [data-panel=hebergement] .hb-attente-k {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8F4F00;
}
.dos-page [data-panel=hebergement] .hb-attente-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E0A93B;
  box-shadow: 0 0 0 3px rgba(224, 169, 59, 0.25);
}
.dos-page [data-panel=hebergement] .hb-attente-t {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-attente-src {
  color: #5F6884;
  font-weight: 600;
}
.dos-page [data-panel=hebergement] .hb-attente-motif {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-attente-form {
  margin: 8px 0 0;
}
.dos-page [data-panel=hebergement] .hb-attente .hb-hint {
  color: var(--text-tertiary);
}
.dos-page [data-panel=hebergement] #hb-delogement .hb-text {
  margin-bottom: 12px;
}
.dos-page [data-panel=hebergement] .hb-histo {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-histo .hb-label {
  margin-bottom: 8px;
}
.dos-page [data-panel=hebergement] .hb-histo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12.5px;
}
.dos-page [data-panel=hebergement] .hb-histo-h {
  font-weight: 700;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-histo-d {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  color: #5F6884;
}
@media (max-width: 1100px) {
  .dos-page [data-panel=hebergement] .hb-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .dos-page [data-panel=hebergement] .hb-aside {
    position: static;
  }
}
@media (max-width: 1400px) {
  .dos-page [data-panel=hebergement] .hb-nx-cal {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .dos-page [data-panel=hebergement] .hb-modif {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .dos-page [data-panel=hebergement] .hb-modif-col--left {
    padding-right: 0;
    border-right: 0;
  }
  .dos-page [data-panel=hebergement] .hb-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .dos-page [data-panel=hebergement] .hb-hero {
    padding: 40px 16px 16px;
  }
  .dos-page [data-panel=hebergement] .hb-hero-kicker {
    left: 16px;
  }
  .dos-page [data-panel=hebergement] .hb-hero-pill {
    margin-left: 0;
  }
  .dos-page [data-panel=hebergement] .hb-main-body {
    padding: 16px;
  }
  .dos-page [data-panel=hebergement] .card.hb-card > .card-head, .dos-page [data-panel=hebergement] .card.hb-card > .card-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .dos-page [data-panel=hebergement] .card.hb-card > .card-head {
    flex-wrap: wrap;
  }
  .dos-page [data-panel=hebergement] .hb-select-wide {
    min-width: 0;
    width: 100%;
  }
  .dos-page [data-panel=hebergement] .hb-row > .hb-field, .dos-page [data-panel=hebergement] .hb-nuit-form > .hb-field {
    flex: 1 1 100%;
  }
  .dos-page [data-panel=hebergement] .hb-info {
    grid-template-columns: minmax(0, 1fr);
  }
  .dos-page [data-panel=hebergement] .hb-modif-autre {
    flex-wrap: wrap;
  }
  .dos-page [data-panel=hebergement] .hb-modif-autre .hb-field, .dos-page [data-panel=hebergement] .hb-modif-autre .hb-btn {
    flex: 1 1 100%;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 20px;
  }
  .dos-page [data-panel=hebergement] .hb-nuit-add, .dos-page [data-panel=hebergement] .hb-none-form .hb-btn {
    width: 100%;
  }
  .dos-page [data-panel=hebergement] .hb-drawer-body {
    padding: 12px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer-card {
    padding: 16px;
  }
  .dos-page [data-panel=hebergement] .hb-btn--lg {
    white-space: normal;
    height: auto;
    min-height: 44px;
    padding: 8px 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dos-page [data-panel=hebergement] .hb-drawer, .dos-page [data-panel=hebergement] .hb-drawer.is-modal, .dos-page [data-panel=hebergement] .hb-drawer-backdrop {
    animation: none;
  }
  .dos-page [data-panel=hebergement] .hb-switch .hb-switch-track, .dos-page [data-panel=hebergement] .hb-switch .hb-switch-track::after, .dos-page [data-panel=hebergement] .hb-soir, .dos-page [data-panel=hebergement] .hb-soir .hb-soir-box {
    transition: none;
  }
  .dos-page [data-panel=hebergement] .hb-nx-card, .dos-page [data-panel=hebergement] .hb-nx-picker, .dos-page [data-panel=hebergement] .hb-nx-day-check, .dos-page [data-panel=hebergement] .hb-nx-sel-item {
    animation: none;
  }
  .dos-page [data-panel=hebergement] .hb-nx-day, .dos-page [data-panel=hebergement] .hb-nx-hotel, .dos-page [data-panel=hebergement] .hb-nx-heb-opt, .dos-page [data-panel=hebergement] .hb-nx-heb-box::after {
    transition: none;
  }
}

@keyframes hbSlideIn {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes hbFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hbPop {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Fiche dossier — pop-up « Gérer les nuits » (maquette « Dossier - Choix hôtel nuitée », 03/12/2026).
   Calendrier à gauche, hébergements classés à droite ; rendu par gestion_nuits_controller.js.
   Tient sans défilement interne sur un portable 1366 × 768 : la grille du mois se partage la
   hauteur disponible. Sous 1150px, la liste d'hôtels passe sous le calendrier. */
.dos-page [data-panel=hebergement] .hb-nx-gerer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-nx-gerer.has-sep {
  padding-top: 14px;
  border-top: 1px dashed #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-nx-gerer .hb-nx-gerer-txt {
  flex: 1;
  min-width: 220px;
}
.dos-page [data-panel=hebergement] .hb-nx-gerer .hb-btn i {
  margin-right: 8px;
  font-size: 12px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx {
  width: min(1200px, 100vw - 48px);
  height: min(760px, 100vh - 24px);
  max-height: none;
  border-radius: 24px;
  color: #1A2238;
  /* ── En-tête ── */
  /* ── Corps : calendrier | hébergements ── */
  /* Une case par nuit */
  /* Modifications à enregistrer */
  /* ── Où dort le stagiaire ── */
  /* ── Barre du bas ── */
  /* Portable 1366 × 768 : on resserre pour que tout tienne sans défilement interne. */
  /* Fenêtre étroite : la liste d'hôtels passe sous le calendrier, le corps défile d'un bloc. */
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx button {
  font-family: inherit;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx button:focus-visible, .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  background: #fff;
  border-bottom: 1px solid #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-head-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #1D2D5C;
  color: #6CC04A;
  font-size: 16px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-head-txt {
  flex: 1;
  min-width: 0;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-head-t {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: -0.01em;
  text-transform: none;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-head-d {
  margin-top: 1px;
  font-size: 13px;
  font-weight: 600;
  color: #5A6273;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-j30 {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #FFF4E0;
  border: 1.5px solid #D98A1F;
  color: #7A4A00;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-j30[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-close {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #F1F4F9;
  color: #1D2D5C;
  font-size: 14px;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-close:hover {
  background: #E4E9F2;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  grid-template-rows: minmax(0, 1fr);
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cal {
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 20px 14px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cal-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: wrap;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-nav button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 10px;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-nav button:hover {
  background: #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-nav-t {
  min-width: 112px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cal-hint {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-legend {
  margin-left: auto;
  display: flex;
  gap: 9px;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 700;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-legend i {
  font-size: 10px;
  color: #34508C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-legend i.is-campus {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-legend i.is-form {
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-wd {
  flex: none;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-wd span {
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-grid {
  flex: 1 1 auto;
  min-height: calc(var(--hx-rows, 5) * 56px);
  max-height: calc(var(--hx-rows, 5) * 98px);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(var(--hx-rows, 5), minmax(0, 1fr));
  gap: 6px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-grid[aria-busy=true] {
  opacity: 0.55;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-erreur {
  grid-column: 1/-1;
  margin: 0;
  padding: 18px;
  font-size: 13px;
  font-weight: 700;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px 7px;
  text-align: left;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-vide {
  border-color: transparent;
  background: transparent;
  cursor: default;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-we {
  background: #F4F6FA;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell:hover:not(:disabled):not(.is-vide) {
  border-color: #B9C4DA;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-add {
  border: 2px dashed #5B2BB5;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-mod {
  border: 2px dashed #D98A1F;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-rq {
  border: 2px dashed #D98A1F;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-del {
  border: 2px dashed #B23A36;
  background: repeating-linear-gradient(135deg, #fff 0 8px, #F4F6FA 8px 16px);
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-del .hx-cell-nom {
  color: #5A6273;
  border-left-color: #5A6273;
  text-decoration: line-through;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-del .hx-cell-ic {
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-on {
  border: 2px solid #1D2D5C;
  box-shadow: 0 6px 16px rgba(29, 45, 92, 0.18);
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-off {
  cursor: not-allowed;
  background: #F7F8FB;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-off .hx-cell-num, .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-off .hx-cell-nom {
  color: #7A8399;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-off .hx-cell-nom {
  border-left-color: #C9D2E3;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-off .hx-cell-ic {
  color: #7A8399;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-campus .hx-cell-nom {
  color: #2E5320;
  border-left-color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell.is-campus .hx-cell-ic {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-top {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  height: 17px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-num {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-ic {
  font-size: 10px;
  color: #27437E;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-form {
  font-size: 10px;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-check {
  margin-left: auto;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1D2D5C;
  color: #fff;
  font-size: 8px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-nom {
  min-height: 0;
  padding-left: 5px;
  border-left: 3px solid #27437E;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.25;
  color: #27437E;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-add {
  font-size: 11px;
  font-weight: 700;
  color: #5A6273;
  white-space: nowrap;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-add i {
  font-size: 9px;
  margin-right: 4px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-tag {
  margin-top: auto;
  flex: none;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-tag i {
  font-size: 8px;
  margin-right: 4px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-tag.is-add {
  color: #5B2BB5;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-tag.is-mod, .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-tag.is-rq {
  color: #7A4A00;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-tag.is-del {
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-changes {
  flex: none;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 9px 14px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-changes-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-changes-t {
  flex: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-motif.form-control {
  flex: 1;
  min-width: 0;
  height: 30px;
  padding: 0 10px;
  font-size: 12.5px;
  border-radius: 8px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-changes-list {
  max-height: 160px;
  overflow-y: auto;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-vide {
  margin: 5px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.45;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-tag {
  flex: none;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-tag.is-add {
  background: #F2EBFD;
  color: #5B2BB5;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-tag.is-mod, .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-tag.is-rq {
  background: #FFF4E0;
  color: #7A4A00;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-tag.is-del {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-txt {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-txt b {
  font-weight: 700;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-undo {
  flex: none;
  height: 26px;
  padding: 0 9px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #34508C;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-undo:hover {
  background: #EEF3FC;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side {
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 18px;
  background: #fff;
  border-left: 1px solid #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-vide {
  margin: auto;
  max-width: 340px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-vide-ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #F1F4F9;
  color: #3E4A6B;
  font-size: 20px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-vide-t {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-vide-d {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-vide .hx-accord {
  margin-top: 18px;
  text-align: left;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-head {
  margin-bottom: 4px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-kicker.is-add {
  color: #5B2BB5;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-kicker.is-sejour {
  color: #3F7D2B;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-title {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-sub {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-sub.is-warn {
  font-weight: 800;
  color: #7A4A00;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 4px 12px;
  min-height: 44px;
  text-align: left;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt:hover:not(:disabled) {
  border-color: #B9C4DA;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-on {
  border-color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-on .hx-opt-mark {
  border-color: #1D2D5C;
  background: #1D2D5C;
  color: #fff;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-check .hx-opt-mark {
  border-radius: 6px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-full:not(.is-off) {
  background: #F4F6FA;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-full:not(.is-off):not(.is-on) {
  border: 2px dashed #C9D2E3;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-full:not(.is-off) .hx-opt-nom {
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-full:not(.is-off) .hx-reco {
  background: #E6EAF1;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-off {
  border: 2px dashed #C9D2E3;
  background: #F4F6FA;
  cursor: not-allowed;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-off .hx-opt-nom {
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-off .hx-opt-mark {
  border-color: #C9D2E3;
  background: #E6EAF1;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt.is-off .hx-reco {
  background: #E6EAF1;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-mark {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #9AA3B8;
  background: #fff;
  color: transparent;
  font-size: 10px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-rank {
  flex: none;
  width: 16px;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-nom {
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 1px;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  white-space: nowrap;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-reco {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 19px;
  padding: 0 8px;
  border-radius: 999px;
  background: #E7F5E0;
  color: #2E5320;
  font-size: 10.5px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-reco i {
  font-size: 8px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-right {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-reste {
  font-size: 12.5px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-reste.is-ok {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-reste.is-rq {
  color: #7A4A00;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-reste.is-off {
  color: #5A6273;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-mention {
  min-height: 16px;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 800;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-mention.is-why {
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-mention.is-actuel {
  color: #34508C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt-mention.is-choisi {
  color: #2E5320;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-accord {
  margin-top: 6px;
  padding: 8px 10px;
  border: 1.5px dashed #B9C4DA;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-accord .form-control {
  height: 32px;
  font-size: 12.5px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-accord-l {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #3E4A6B;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-accord-l b {
  color: #1D2D5C;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-accord-l input {
  margin-top: 2px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-send {
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: #1D2D5C;
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-send i {
  font-size: 11px;
  margin-right: 8px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-send:disabled {
  background: #9AA3B8;
  cursor: not-allowed;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-send-note {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #7A4A00;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  background: #fff;
  border-top: 1px solid #E2E8F0;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-foot-resume {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  color: #3E4A6B;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn {
  flex: none;
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn i {
  font-size: 12px;
  margin-right: 8px;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn[hidden] {
  display: none;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn:hover:not(:disabled) {
  background: #F1F4F9;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn--del {
  border-color: #F2C8C5;
  color: #B23A36;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn--del:hover:not(:disabled) {
  background: #FCF2F1;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn--save {
  padding: 0 20px;
  border: 0;
  background: #3F8A2B;
  color: #fff;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn--save:hover:not(:disabled) {
  background: #357524;
}
.dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn--save:disabled {
  background: #9AA3B8;
  cursor: not-allowed;
}
@media (max-height: 720px) {
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-head {
    padding: 8px 20px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-head-ic {
    width: 38px;
    height: 38px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cal {
    padding: 8px 18px 10px;
    gap: 6px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-grid {
    gap: 5px;
    min-height: calc(var(--hx-rows, 5) * 50px);
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell {
    padding: 3px 6px;
    gap: 1px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell-nom {
    -webkit-line-clamp: 1;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side {
    padding: 8px 16px;
    gap: 3px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opts {
    gap: 3px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt {
    min-height: 42px;
    padding: 2px 12px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-foot {
    padding: 8px 20px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-btn {
    height: 40px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-changes {
    padding: 7px 14px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-changes-list {
    max-height: 120px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-vide {
    margin-top: 3px;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-chg-vide-long {
    display: none;
  }
}
@media (max-width: 1280px) {
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-body {
    grid-template-columns: minmax(0, 1fr) 460px;
  }
}
@media (max-width: 1150px) {
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-body {
    display: block;
    overflow-y: auto;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cal, .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side {
    overflow: visible;
    min-height: max-content;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-side {
    border-left: 0;
    border-top: 1px solid #E2E8F0;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-grid {
    min-height: calc(var(--hx-rows, 5) * 64px);
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-legend {
    margin-left: 0;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-j30 {
    white-space: normal;
    height: auto;
    padding: 6px 12px;
  }
}
@media (max-width: 760px) {
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-head-d, .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cal-hint {
    display: none;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-foot {
    flex-wrap: wrap;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-foot-resume {
    flex: 1 1 100%;
  }
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-changes-head {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-cell, .dos-page [data-panel=hebergement] .hb-drawer.is-modal.hx .hx-opt {
    transition: none;
  }
}

/* Fiche dossier — onglets « Mon Séjour » et « Historique & Qualité », refonte maquette Claude Design.
   Scope : .dos-page [data-panel="mon-sejour"] et [data-panel="sessions"]. Préfixe de classes : dsh-. */
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) {
  /* ── Empilement + grille 2 colonnes ── */
  /* ── Carte ── */
  /* ══ MON SÉJOUR ══ */
  /* ══ HISTORIQUE & QUALITÉ ══ */
  /* ── Historique & traçabilité (refonte 18/11) : frise jour par jour, filtrable ── */
  /* ── Qualité hôteliers (18/11) : incidents déclarés, pénalités, délais relevés ── */
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-faint {
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 900px) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-card-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 13px 18px;
  border-bottom: 1px solid #F1F4F9;
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: 0;
  text-transform: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-card-h h3 {
  margin: 0;
  font: inherit;
  color: inherit;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-card-meta {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: #6B7490;
  text-align: right;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: #34508C;
  background: #EEF3FC;
  border-radius: 999px;
  padding: 3px 9px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-card-b {
  padding: 18px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-empty {
  font-size: 12.5px;
  font-weight: 600;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-intro {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: #EEF3FC;
  border: 1px solid #D3E0F5;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-intro-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: #34508C;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-intro-t {
  font-size: 13.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-intro-s {
  font-size: 12.5px;
  color: #4E5A75;
  margin-top: 3px;
  line-height: 1.5;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-input {
  flex: 1 1 260px;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  background: #F8FAFC;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  color: #3E4A6B;
  outline: none;
  transition: border-color 0.2s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-input:focus-visible {
  border-color: #1D2D5C;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-copy, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 13px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-copy:focus-visible, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-open:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-copy {
  min-width: 96px;
  border: 0;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-copy:hover {
  background: #24397A;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-open {
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-weight: 700;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-open i {
  font-size: 10px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-open:hover {
  background: #F1F4F9;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-exp {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-kpi-k {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-kpi-v {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 11px;
  background: #E7F5E0;
  border: 1px solid #DCEFD2;
  font-size: 12.5px;
  font-weight: 600;
  color: #2E5320;
  line-height: 1.5;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sent-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #6CC04A;
  flex-shrink: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-note {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  line-height: 1.5;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-send-form {
  margin: 12px 0 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 11px;
  border: 1.5px solid #1D2D5C;
  background: #1D2D5C;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-send-btn i {
  font-size: 12px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-send-btn:hover {
  background: #24397A;
  border-color: #24397A;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-send-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-send-btn.is-ghost {
  border-color: #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-weight: 700;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-send-btn.is-ghost:hover {
  background: #F1F4F9;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-send-to {
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-warn {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 11px;
  background: #FFF6E6;
  border: 1px solid #F3D48B;
  font-size: 12.5px;
  font-weight: 600;
  color: #7A4A00;
  line-height: 1.5;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-warn i {
  margin-top: 3px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table-wrap {
  overflow-x: auto;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table th {
  padding: 11px 14px;
  background: #FAFBFD;
  text-align: left;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table td {
  padding: 12px 14px;
  border-top: 1px solid #F1F4F9;
  vertical-align: middle;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table th:first-child, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table td:first-child {
  padding-left: 18px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table th:last-child, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table td:last-child {
  padding-right: 18px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table tbody tr {
  transition: background 0.15s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-table tbody tr:hover {
  background: #FAFBFD;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-nom {
  font-weight: 700;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-code {
  font-size: 11.5px;
  font-weight: 600;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-campus {
  font-weight: 600;
  color: #3E4A6B;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-dates {
  font-weight: 600;
  color: #5A6273;
  white-space: nowrap;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-dates .dsh-mono {
  font-size: 12px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-go {
  text-align: right;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-go a {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1.5px solid #E2E8F0;
  color: #1D2D5C;
  font-size: 12px;
  transition: background 0.2s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-go a:hover {
  background: #F1F4F9;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sess-go a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-pill--ok {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-pill--ko {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-pill--mod {
  background: #E3EAF6;
  color: #34508C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-pill--wait {
  background: #FCEFDC;
  color: #A85D00;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 1100px) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-aside {
  position: sticky;
  top: calc(var(--topbar-h, 64px) + 18px);
  max-height: calc(100vh - var(--topbar-h, 64px) - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
@media (max-width: 1100px) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-sum {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: #F1F4F9;
  border-bottom: 1px solid #F1F4F9;
}
@media (max-width: 760px) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-sum {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum {
  min-width: 0;
  padding: 12px 18px;
  background: #fff;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum dt {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum dd {
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum b {
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum span {
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum.is-wide b {
  font-size: 13px;
  line-height: 1.35;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum.is-ko b, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum.is-ko span {
  color: #B23A36;
}
@media (max-width: 760px) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum.is-wide, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum:last-child {
    grid-column: 1/-1;
  }
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #F1F4F9;
  background: #FCFDFE;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip i {
  font-size: 10.5px;
  color: var(--c, #8A93AA);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip b {
  font-size: 11px;
  font-weight: 800;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip:hover {
  border-color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip.is-on {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip.is-on i, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip.is-on b {
  color: rgba(255, 255, 255, 0.85);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #3E4A6B;
  cursor: pointer;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle:has(input:focus-visible) .dsh-toggle-track {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle:has(input:checked) .dsh-toggle-track {
  background: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle:has(input:checked) .dsh-toggle-track::after {
  transform: translateX(12px);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle-track {
  position: relative;
  flex: none;
  width: 30px;
  height: 18px;
  border-radius: 999px;
  background: #CBD2E0;
  transition: background 0.15s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-search {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-search > i {
  position: absolute;
  left: 11px;
  font-size: 11px;
  color: #8A93AA;
  pointer-events: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-search input {
  width: 250px;
  max-width: 100%;
  height: 32px;
  padding: 0 12px 0 30px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 12.5px;
  color: #1D2D5C;
  outline: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-search input:focus-visible {
  border-color: #1D2D5C;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
@media (max-width: 560px) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-search {
    flex: 1 1 100%;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-search input {
    width: 100%;
  }
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-b {
  padding: 4px 18px 16px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-day[hidden] {
  display: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-day-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 6px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #E2E8F0;
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  letter-spacing: 0;
  text-transform: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-day-d {
  font-size: 11px;
  font-weight: 600;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-day-n {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #F1F4F9;
  font-size: 10.5px;
  font-weight: 800;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-evs {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev {
  position: relative;
  display: grid;
  grid-template-columns: 40px 24px minmax(0, 1fr);
  gap: 10px;
  padding: 8px 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev[hidden] {
  display: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 61px;
  top: 38px;
  bottom: -6px;
  width: 2px;
  border-radius: 2px;
  background: #F1F4F9;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev.is-auto .dsh-ev-t {
  font-weight: 700;
  color: #3E4A6B;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-h {
  padding-top: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #8A93AA;
  text-align: right;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-dot {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  background: color-mix(in srgb, var(--c, #8A93AA) 13%, #fff);
  color: var(--c, #8A93AA);
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--c, #8A93AA) 30%, #fff);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-b {
  min-width: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-t {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-st {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-st.is-ok {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-st.is-ko {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-st.is-wait {
  background: #FCEFDC;
  color: #A85D00;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-meta {
  display: flex;
  align-items: center;
  gap: 4px 8px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-meta b {
  font-weight: 800;
  color: #3E4A6B;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-role {
  padding: 2px 7px;
  border-radius: 6px;
  background: #F1F4F9;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-role.is-sa {
  background: #E6E9F2;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-role.is-auto {
  background: #F4F5F8;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-resa {
  padding: 2px 6px;
  border-radius: 6px;
  background: #EEF3FC;
  font-size: 10.5px;
  font-weight: 700;
  color: #34508C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-d {
  margin: 5px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #4E5A75;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-f {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  margin: 8px 0 0;
  border: 1px solid #EEF1F6;
  border-radius: 10px;
  overflow: hidden;
  background: #FAFBFD;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-f > div {
  min-width: 0;
  padding: 7px 10px;
  background: #FAFBFD;
  box-shadow: -1px -1px 0 #EEF1F6;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-f dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-f dd {
  margin: 2px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  color: #3E4A6B;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-vide {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 18px 0 4px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-vide[hidden] {
  display: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-vide > i {
  margin-top: 2px;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-vide b {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-vide span {
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-foot {
  margin: 0;
  padding: 10px 18px 14px;
  border-top: 1px solid #F1F4F9;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-who {
  list-style: none;
  margin: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-who li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 10px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-who-av {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #EEF3FC;
  color: #34508C;
  font-size: 10.5px;
  font-weight: 800;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-who-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-who-t b {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-who-t small {
  font-size: 11px;
  font-weight: 600;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-who-n {
  padding: 2px 8px;
  border-radius: 999px;
  background: #F1F4F9;
  font-size: 11px;
  font-weight: 800;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-attache {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 700;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-attache b {
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-none {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-none > i {
  color: #8A93AA;
  margin-top: 3px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-none-t {
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-none-s {
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: #6B7490;
  line-height: 1.5;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-count.is-ko {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-count.is-ok {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sum {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: #F1F4F9;
  border-bottom: 1px solid #F1F4F9;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sum > div {
  min-width: 0;
  padding: 10px 12px;
  background: #fff;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sum dt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sum dd {
  margin: 3px 0 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sum b {
  font-size: 16px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sum span {
  font-size: 11px;
  font-weight: 600;
  color: #6B7490;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sum .is-ko b {
  color: #B23A36;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sum .is-wait b {
  color: #A85D00;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-b {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-new {
  min-height: 38px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-vide {
  margin: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-inc {
  padding: 12px;
  border: 1.5px solid #F1D5D3;
  border-radius: 14px;
  background: #FFFBFB;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-inc.is-clos {
  border-color: #E2E8F0;
  background: #FAFBFD;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-inc-h {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-ic {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: #EEF3FC;
  color: #34508C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-ic.is-wait {
  background: #FCEFDC;
  color: #A85D00;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-ic.is-ko {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .is-clos .dsh-q-ic {
  background: #F1F4F9;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-inc-t {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-inc-t b {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  line-height: 1.35;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-inc-t small {
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  background: #F1F4F9;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-tag.is-info {
  background: #EEF3FC;
  color: #34508C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-tag.is-ok {
  background: #E7F5E0;
  color: #2E5320;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-tag.is-wait {
  background: #FCEFDC;
  color: #A85D00;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-tag.is-ko {
  background: #FBE4E3;
  color: #B23A36;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-tag.is-off {
  background: #F1F3F7;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-desc {
  margin: 8px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #4E5A75;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-res {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #F2FAEF;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #2E5320;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-res b {
  font-weight: 800;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-inc-f {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-inc-f > span {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-suivre {
  flex: none;
  height: 28px;
  padding: 0 11px;
  border: 1.5px solid #E2E8F0;
  border-radius: 9px;
  background: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #1D2D5C;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-suivre:hover {
  background: #F1F4F9;
  border-color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-suivre:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sec {
  padding-top: 12px;
  border-top: 1px solid #F1F4F9;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sec .dsh-label {
  margin: 0 0 8px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-hotel + .dsh-q-hotel {
  margin-top: 12px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-hotel-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-hotel-h b {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-hotel-h span {
  flex: none;
  font-size: 10.5px;
  font-weight: 700;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-hotel .dsh-empty {
  margin: 0;
  font-size: 12px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 7px 9px;
  border-radius: 10px;
  background: #FAFBFD;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li > i {
  margin-top: 2px;
  font-size: 12px;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li b {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  color: #3E4A6B;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li span {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  color: #6B7490;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li.is-ok > i {
  color: #4FA235;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li.is-wait {
  background: #FFFBF4;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li.is-wait > i {
  color: #A85D00;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li.is-ko {
  background: #FDF3F2;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li.is-ko > i {
  color: #B23A36;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-sla li.is-ko b {
  color: #8A2C26;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal {
  width: 600px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 48px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  color: #1A2238;
  box-shadow: 0 40px 90px rgba(20, 33, 71, 0.35);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal[open] {
  display: flex;
  flex-direction: column;
  animation: dv-rise 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal::backdrop {
  background: rgba(20, 33, 71, 0.4);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-in {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  flex-shrink: 0;
  background: #1D2D5C;
  color: #fff;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-h .ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-h .txt {
  flex: 1;
  min-width: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-h .eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9D3EC;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-h .t {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-h .close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-h .close:hover {
  background: rgba(255, 255, 255, 0.26);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-h .close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-b {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  overflow: auto;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-f {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
  padding: 12px 20px;
  border-top: 1px solid #F1F4F9;
  background: #FAFBFD;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-note {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal-note i {
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: #1D2D5C;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-btn:hover {
  background: #F1F4F9;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-btn.is-primary {
  border-color: #1D2D5C;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-btn.is-primary:hover {
  background: #24397A;
  border-color: #24397A;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-l {
  padding: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3E4A6B;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-l span {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: #8A93AA;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-in {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #1D2D5C;
  outline: none;
  transition: border-color 0.15s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-in:focus {
  border-color: #1D2D5C;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-in:user-invalid {
  border-color: #D9534F;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) textarea.dsh-f-in {
  resize: vertical;
  line-height: 1.5;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-fixe {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 11px;
  background: #F1F4F9;
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-fixe span {
  margin-left: 4px;
  font-weight: 600;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}
@media (max-width: 560px) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-euro {
  position: relative;
  display: flex;
  align-items: center;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-euro .dsh-f-in {
  padding-right: 52px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-euro span {
  position: absolute;
  right: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #8A93AA;
  pointer-events: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-f-a {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 6px;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o {
  position: relative;
  display: flex;
  cursor: pointer;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o > span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border: 1.5px solid #E2E8F0;
  border-radius: 11px;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o b {
  font-size: 12.5px;
  font-weight: 800;
  color: #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o small {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: #6B7490;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o:hover > span {
  border-color: #B9C2D6;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.2);
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o input:checked + span {
  border-color: #1D2D5C;
  background: #F3F6FC;
  box-shadow: inset 0 0 0 1px #1D2D5C;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o.is-wait input:checked + span {
  border-color: #A85D00;
  background: #FFFBF4;
  box-shadow: inset 0 0 0 1px #A85D00;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o.is-ko input:checked + span {
  border-color: #B23A36;
  background: #FDF3F2;
  box-shadow: inset 0 0 0 1px #B23A36;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o.is-ko input:checked + span b {
  color: #8A2C26;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-seg-o.is-ok input:checked + span {
  border-color: #2E5320;
  background: #F2FAEF;
  box-shadow: inset 0 0 0 1px #2E5320;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-rappel {
  padding: 12px 14px;
  border-radius: 12px;
  background: #F1F4F9;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-rappel p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: #3E4A6B;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-q-rappel > span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: #6B7490;
}
@media (max-width: 560px) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-card-b {
    padding: 14px;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-card-h {
    padding: 12px 14px;
    flex-wrap: wrap;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-copy, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-link-open {
    flex: 1 1 auto;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-kpis {
    grid-template-columns: 1fr;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-sum, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-bar {
    padding-left: 14px;
    padding-right: 14px;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-trace-b {
    padding: 2px 14px 14px;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev {
    grid-template-columns: 34px 22px minmax(0, 1fr);
    gap: 8px;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev:not(:last-child)::before {
    left: 52px;
    top: 36px;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-dot {
    width: 22px;
    height: 22px;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-ev-h {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) > .dsh-stack {
    animation: none;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-chip, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle-track, .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-toggle-track::after {
    transition: none;
  }
  .dos-page :is([data-panel=mon-sejour], [data-panel=sessions]) .dsh-modal[open] {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MON SÉJOUR — Landing page full-width (refonte-v2)
   Scope : .lp-stagiaire — page publique stagiaire (token).
   Le wrapper prend tout le viewport, header public Enedis +
   contenu en max-width 1600px centré.
   ═══════════════════════════════════════════════════════════════ */
.lp-stagiaire {
  --n-0: #FFFFFF;
  --n-25: #FCFCFD;
  --n-50: #F8F9FB;
  --n-100: #EFF1F4;
  --n-200: #DCDFE5;
  --n-300: #C2C7D1;
  --n-400: #8E96A4;
  --n-500: #646C7A;
  --n-600: #4A515E;
  --n-700: #363B45;
  --n-800: #23272F;
  --n-900: #13161B;
  --accent-50: #FFF1F2;
  --accent-100: #FFE4E6;
  --accent-300: #FDA4AF;
  --accent-500: #F43F5E;
  --accent-600: #E11D48;
  --accent-700: #BE123C;
  --green-50: #ECFDF5;
  --green-100: #D1FAE5;
  --green-500: #10B981;
  --green-600: #059669;
  --green-700: #047857;
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-700: #B45309;
  --red-50: #FEF2F2;
  --red-100: #FEE2E2;
  --red-500: #EF4444;
  --red-600: #DC2626;
  --red-700: #B91C1C;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-500: #3B82F6;
  --blue-700: #1D4ED8;
  --violet-50: #F5F3FF;
  --violet-100: #EDE9FE;
  --violet-500: #8B5CF6;
  --violet-700: #6D28D9;
  --shadow-sm: 0 1px 2px rgba(13, 16, 27, .05);
  --shadow: 0 1px 3px rgba(13, 16, 27, .06), 0 1px 2px rgba(13, 16, 27, .04);
  --shadow-md: 0 4px 8px -2px rgba(13, 16, 27, .08), 0 2px 4px -2px rgba(13, 16, 27, .06);
  --shadow-lg: 0 12px 24px -8px rgba(13, 16, 27, .12), 0 4px 8px -4px rgba(13, 16, 27, .06);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--n-50);
  color: var(--n-900);
  font-family: var(--font-family);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* ───────── PUBLIC HEADER ───────── */
  /* ───────── PAGE / FULL WIDTH ───────── */
  /* ───────── HERO ───────── */
  /* Hero right — countdown */
  /* ───────── SECTION HEADER ───────── */
  /* ───────── QUICK FACTS ───────── */
  /* ───────── CARDS ───────── */
  /* ───────── BADGES ───────── */
  /* ───────── PROMO ───────── */
  /* ── Carte formateur "premium" (validée via Impeccable live) ───── */
  /* ───────── 2-COL ROW ───────── */
  /* ───────── FORMATION ───────── */
  /* ───────── HÉBERGEMENT ───────── */
  /* ───────── BTN ───────── */
  /* ───────── TRAJET (web card, pas boarding pass) ───────── */
  /* ───────── ALERT STRIP (navette en attente) ───────── */
  /* ───────── REPAS ───────── */
  /* ───────── SUPPORT FOOTER ───────── */
  /* ───────── PROMO CHAT (Espace promo) ───────── */
  /* ───────── PHOTOS SOUVENIRS (galerie) ───────── */
  /* Lightbox plein écran */
  /* ───────── INLINE CONTACT FORM (déroule sous Support) ───────── */
  /* ───────── BREAKPOINTS ───────── */
  /* ───────── NAVIGATION DU MINI-SITE ───────── */
  /* ───────── TUILES D'ACCÈS (ACCUEIL) ───────── */
}
.lp-stagiaire .text-mono {
  font-family: var(--font-mono);
}
.lp-stagiaire .tnum {
  font-variant-numeric: tabular-nums;
}
.lp-stagiaire .lp-hd {
  background: var(--n-0);
  border-bottom: 1px solid var(--n-100);
  padding: 14px 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lp-stagiaire .lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.lp-stagiaire .lp-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1E40AF, #0EA5E9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.lp-stagiaire .lp-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.lp-stagiaire .lp-logo-text {
  font-size: 14px;
  font-weight: 800;
  color: #1E40AF;
  letter-spacing: 0.3px;
  line-height: 1;
}
.lp-stagiaire .lp-logo-text small {
  display: block;
  font-size: 10.5px;
  color: var(--n-500);
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-top: 3px;
  text-transform: uppercase;
}
.lp-stagiaire .lp-spacer {
  flex: 1;
}
.lp-stagiaire .lp-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--n-500);
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--n-50);
  border: 1px solid var(--n-100);
}
.lp-stagiaire .lp-secure i {
  color: var(--green-600);
  font-size: 11px;
}
.lp-stagiaire .lp-help {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--n-700);
  cursor: pointer;
  font-weight: 500;
  border: 1px solid var(--n-200);
  background: var(--n-0);
  text-decoration: none;
  font-family: inherit;
}
.lp-stagiaire .lp-help:hover {
  border-color: var(--n-300);
}
.lp-stagiaire .lp-help i {
  color: var(--n-500);
}
.lp-stagiaire .page {
  padding: 32px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.lp-stagiaire .page-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.lp-stagiaire .hero {
  background: linear-gradient(120deg, #1e3a8a 0%, #0d9488 55%, #06b6d4 110%);
  border-radius: 16px;
  padding: 32px 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.lp-stagiaire .hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.lp-stagiaire .hero::before {
  content: "";
  position: absolute;
  right: 80px;
  bottom: -100px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.lp-stagiaire .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.lp-stagiaire .hero-eyebrows {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.lp-stagiaire .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.lp-stagiaire .hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
}
.lp-stagiaire .hero h1 {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.05;
}
.lp-stagiaire .hero h1 .wave {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: lp-wave 2.5s ease-in-out infinite;
}
@keyframes lp-wave {
  0%, 100% {
    transform: rotate(0);
  }
  15% {
    transform: rotate(14deg);
  }
  30% {
    transform: rotate(-8deg);
  }
  45% {
    transform: rotate(14deg);
  }
  60% {
    transform: rotate(-4deg);
  }
  75% {
    transform: rotate(10deg);
  }
}
.lp-stagiaire .hero p {
  margin: 0 0 20px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  max-width: 480px;
}
.lp-stagiaire .hero p mark {
  background: rgba(255, 255, 255, 0.22);
  color: white;
  padding: 1px 8px;
  border-radius: 6px;
  font-weight: 600;
}
.lp-stagiaire .hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.lp-stagiaire .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms;
  border: none;
  font-family: inherit;
}
.lp-stagiaire .hero-btn-primary {
  background: white;
  color: var(--accent-700);
}
.lp-stagiaire .hero-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.2);
}
.lp-stagiaire .hero-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.lp-stagiaire .hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lp-stagiaire .hero-right {
  align-self: stretch; /* s'étire sur la hauteur du contenu de gauche */
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 0; /* l'image du campus remplit la carte */
  overflow: hidden;
  min-height: 240px;
}
.lp-stagiaire .hero-campus-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
.lp-stagiaire .hero-campus-ph {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}
.lp-stagiaire .hero-campus-ph i {
  font-size: 42px;
  opacity: 0.7;
}
.lp-stagiaire .hero-campus-ph span {
  font-size: 15.5px;
  font-weight: 700;
  text-wrap: balance;
}
.lp-stagiaire .hero-right-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.lp-stagiaire .hero-countdown {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}
.lp-stagiaire .hero-countdown .num {
  font-size: 64px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.lp-stagiaire .hero-countdown .lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  padding-bottom: 8px;
  font-weight: 500;
}
.lp-stagiaire .hero-dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.lp-stagiaire .hero-date {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.lp-stagiaire .hero-date-v {
  font-size: 18px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.lp-stagiaire .hero-date-d {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}
.lp-stagiaire .hero-arrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
}
.lp-stagiaire .sect-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
  padding: 0 4px;
}
.lp-stagiaire .sect-h h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--n-900);
  letter-spacing: -0.2px;
}
.lp-stagiaire .sect-h .sect-ic {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.lp-stagiaire .sect-h .badge {
  margin-left: 6px;
}
.lp-stagiaire .sect-h .sub {
  color: var(--n-500);
  font-size: 12.5px;
  font-weight: 500;
  margin-left: auto;
}
.lp-stagiaire .sect-h a.sub {
  color: var(--accent-600);
  text-decoration: none;
  cursor: pointer;
}
.lp-stagiaire .facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: 12px;
  overflow: hidden;
}
.lp-stagiaire .fact {
  padding: 18px 20px;
  border-right: 1px solid var(--n-100);
  display: flex;
  align-items: center;
  gap: 14px;
}
.lp-stagiaire .fact:last-child {
  border-right: none;
}
.lp-stagiaire .fact-ic {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.lp-stagiaire .fact-l {
  font-size: 11px;
  color: var(--n-500);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.lp-stagiaire .fact-v {
  font-size: 18px;
  font-weight: 700;
  color: var(--n-900);
  letter-spacing: -0.3px;
  line-height: 1.1;
}
.lp-stagiaire .fact-v small {
  font-size: 12px;
  font-weight: 500;
  color: var(--n-500);
  margin-left: 4px;
}
.lp-stagiaire .card {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: 12px;
  overflow: hidden;
}
.lp-stagiaire .card-h {
  padding: 14px 18px;
  border-bottom: 1px solid var(--n-100);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-stagiaire .card-h h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--n-900);
}
.lp-stagiaire .card-h .sub {
  color: var(--n-500);
  font-size: 11.5px;
  margin-left: auto;
}
.lp-stagiaire .card-b {
  padding: 18px;
}
.lp-stagiaire .badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.lp-stagiaire .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.lp-stagiaire .badge.badge-flat {
  padding: 2px 8px;
}
.lp-stagiaire .badge.badge-flat::before {
  display: none;
}
.lp-stagiaire .badge.b-success {
  background: var(--green-50);
  color: var(--green-700);
}
.lp-stagiaire .badge.b-warn {
  background: var(--amber-50);
  color: var(--amber-700);
}
.lp-stagiaire .badge.b-info {
  background: var(--blue-50);
  color: var(--blue-700);
}
.lp-stagiaire .badge.b-violet {
  background: var(--violet-50);
  color: var(--violet-700);
}
.lp-stagiaire .badge.b-neutral {
  background: var(--n-100);
  color: var(--n-700);
}
.lp-stagiaire .badge.b-danger {
  background: var(--red-50);
  color: var(--red-700);
}
.lp-stagiaire .promo-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 16px;
}
.lp-stagiaire .pf-card {
  background: linear-gradient(135deg, #fdf2f8, #fff7ed);
  border: 1px solid var(--accent-100);
  border-radius: 16px;
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lp-stagiaire .pf-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.08), transparent 65%);
  pointer-events: none;
}
.lp-stagiaire .pf-row {
  display: flex;
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.lp-stagiaire .pf-av {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  box-shadow: 0 10px 24px -8px rgba(168, 85, 247, 0.5);
  flex-shrink: 0;
  border: 4px solid white;
}
.lp-stagiaire .pf-info {
  flex: 1;
  min-width: 0;
}
.lp-stagiaire .pf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-700);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: white;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.lp-stagiaire .pf-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--n-900);
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 8px 0 4px;
}
.lp-stagiaire .pf-formation {
  font-size: 12.5px;
  color: var(--n-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lp-stagiaire .pf-formation i {
  color: var(--n-400);
}
.lp-stagiaire .pf-quote {
  font-size: 13px;
  color: var(--n-700);
  line-height: 1.55;
  padding: 14px 16px;
  background: white;
  border-left: 3px solid var(--accent-500);
  border-radius: 6px;
  font-style: italic;
  position: relative;
  z-index: 1;
}
.lp-stagiaire .pf-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--accent-600);
  color: white;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.12s, background 0.12s;
}
.lp-stagiaire .pf-cta:hover {
  transform: translateY(-1px);
  background: var(--accent-700);
}
.lp-stagiaire .promo-formateur {
  background: linear-gradient(135deg, #fdf2f8, #fff7ed);
  border: 1px solid var(--accent-100);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.lp-stagiaire .promo-formateur::after {
  content: "FORMATEUR";
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-600);
  letter-spacing: 1px;
}
.lp-stagiaire .promo-av-lg {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  box-shadow: 0 6px 12px -4px rgba(168, 85, 247, 0.4);
  flex-shrink: 0;
}
.lp-stagiaire .promo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--n-900);
  letter-spacing: -0.3px;
}
.lp-stagiaire .promo-meta {
  font-size: 12.5px;
  color: var(--n-600);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-stagiaire .promo-meta i {
  color: var(--n-400);
  width: 14px;
}
.lp-stagiaire .promo-mates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lp-stagiaire .promo-mate {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 150ms;
  cursor: pointer;
  position: relative;
}
.lp-stagiaire .promo-mate:hover {
  border-color: var(--n-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.lp-stagiaire .promo-mate.is-me {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border-color: var(--green-100);
}
.lp-stagiaire .promo-mate.is-placeholder {
  background: var(--n-50);
  border-style: dashed;
  justify-content: center;
  cursor: default;
}
.lp-stagiaire .promo-mate.is-placeholder:hover {
  transform: none;
  box-shadow: none;
}
.lp-stagiaire .promo-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.lp-stagiaire .promo-mate-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--n-900);
}
.lp-stagiaire .promo-mate-meta {
  font-size: 11.5px;
  color: var(--n-500);
  margin-top: 2px;
}
.lp-stagiaire .promo-mate-meta .dr {
  font-weight: 600;
  color: var(--n-700);
}
.lp-stagiaire .promo-mate-tag-me {
  font-size: 9px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}
.lp-stagiaire .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lp-stagiaire .form-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-stagiaire .form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--n-900);
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.lp-stagiaire .form-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--n-100);
  color: var(--n-700);
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  align-self: flex-start;
}
.lp-stagiaire .kv-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  font-size: 13px;
}
.lp-stagiaire .kv-grid .k {
  color: var(--n-500);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.lp-stagiaire .kv-grid .k i {
  color: var(--n-400);
  width: 14px;
  text-align: center;
  font-size: 12px;
}
.lp-stagiaire .kv-grid .v {
  color: var(--n-900);
  font-weight: 600;
}
.lp-stagiaire .kv-grid .v.tnum {
  font-variant-numeric: tabular-nums;
}
.lp-stagiaire .hot-img {
  height: 120px;
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.lp-stagiaire .hot-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='white' stroke-opacity='.15' stroke-width='1'><rect x='10' y='30' width='100' height='80'/><line x1='10' y1='50' x2='110' y2='50'/><line x1='10' y1='70' x2='110' y2='70'/><line x1='10' y1='90' x2='110' y2='90'/><line x1='30' y1='30' x2='30' y2='110'/><line x1='60' y1='30' x2='60' y2='110'/><line x1='90' y1='30' x2='90' y2='110'/></g></svg>");
}
.lp-stagiaire .hot-img i {
  position: relative;
  z-index: 1;
}
.lp-stagiaire .hot-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--n-900);
  margin-bottom: 4px;
}
.lp-stagiaire .hot-addr {
  font-size: 12.5px;
  color: var(--n-600);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 12px;
}
.lp-stagiaire .hot-addr i {
  color: var(--accent-500);
  margin-top: 2px;
}
.lp-stagiaire .hot-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: var(--n-50);
  border-radius: 10px;
  margin-bottom: 12px;
}
.lp-stagiaire .hot-check-l {
  font-size: 10px;
  font-weight: 700;
  color: var(--n-500);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.lp-stagiaire .hot-check-v {
  font-size: 14px;
  font-weight: 700;
  color: var(--n-900);
}
.lp-stagiaire .hot-check-d {
  font-size: 11.5px;
  color: var(--n-500);
  margin-top: 1px;
  font-variant-numeric: tabular-nums;
}
.lp-stagiaire .hot-actions {
  display: flex;
  gap: 8px;
}
.lp-stagiaire .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 120ms;
  white-space: nowrap;
  font-family: inherit;
}
.lp-stagiaire .btn-primary {
  background: var(--n-900);
  color: white;
}
.lp-stagiaire .btn-primary:hover {
  background: var(--n-800);
}
.lp-stagiaire .btn-accent {
  background: var(--accent-600);
  color: white;
}
.lp-stagiaire .btn-accent:hover {
  background: var(--accent-700);
}
.lp-stagiaire .btn-outline {
  background: var(--n-0);
  color: var(--n-700);
  border-color: var(--n-200);
}
.lp-stagiaire .btn-outline:hover {
  background: var(--n-50);
  border-color: var(--n-300);
  color: var(--n-900);
}
.lp-stagiaire .btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}
.lp-stagiaire .btn-block {
  width: 100%;
}
.lp-stagiaire .trip {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-stagiaire .trip-mode {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--violet-500));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.lp-stagiaire .trip-mode.is-retour {
  background: linear-gradient(135deg, var(--violet-500), var(--blue-500));
}
.lp-stagiaire .trip-mode.is-avion {
  background: linear-gradient(135deg, #0EA5E9, var(--violet-500));
}
.lp-stagiaire .trip-mode.is-voiture {
  background: linear-gradient(135deg, var(--amber-500), #F97316);
}
.lp-stagiaire .trip-train {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--violet-700);
  background: var(--violet-50);
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.lp-stagiaire .trip-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
}
.lp-stagiaire .trip-station {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lp-stagiaire .trip-station.right {
  text-align: right;
}
.lp-stagiaire .trip-time {
  font-size: 24px;
  font-weight: 700;
  color: var(--n-900);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.lp-stagiaire .trip-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--n-500);
  letter-spacing: 0.5px;
}
.lp-stagiaire .trip-station-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--n-800);
}
.lp-stagiaire .trip-station-meta {
  font-size: 11.5px;
  color: var(--n-500);
}
.lp-stagiaire .trip-line-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
  min-width: 80px;
  gap: 6px;
}
.lp-stagiaire .trip-duration {
  font-size: 11px;
  font-weight: 600;
  color: var(--n-500);
}
.lp-stagiaire .trip-track {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--violet-500));
  position: relative;
  border-radius: 1px;
}
.lp-stagiaire .trip-track::before, .lp-stagiaire .trip-track::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.lp-stagiaire .trip-track::before {
  left: 0;
  background: var(--blue-500);
}
.lp-stagiaire .trip-track::after {
  right: 0;
  background: var(--violet-500);
}
.lp-stagiaire .trip-track.is-retour {
  background: linear-gradient(90deg, var(--violet-500), var(--blue-500));
}
.lp-stagiaire .trip-track.is-retour::before {
  background: var(--violet-500);
}
.lp-stagiaire .trip-track.is-retour::after {
  background: var(--blue-500);
}
.lp-stagiaire .trip-arrow-ic {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--n-600);
  font-size: 11px;
}
.lp-stagiaire .trip-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--n-200);
  font-size: 12px;
  color: var(--n-600);
}
.lp-stagiaire .trip-foot-l {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-stagiaire .trip-foot-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-stagiaire .trip-foot-item i {
  color: var(--n-400);
}
.lp-stagiaire .trip-foot-item .v {
  font-weight: 600;
  color: var(--n-800);
}
.lp-stagiaire .alert-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--amber-50);
  border: 1px solid var(--amber-100);
  border-left: 3px solid var(--amber-500);
  border-radius: 10px;
}
.lp-stagiaire .alert-strip-ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--amber-100);
  color: var(--amber-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.lp-stagiaire .alert-strip-body {
  flex: 1;
}
.lp-stagiaire .alert-strip-t {
  font-size: 13px;
  font-weight: 700;
  color: var(--n-900);
}
.lp-stagiaire .alert-strip-d {
  font-size: 12px;
  color: var(--n-600);
  margin-top: 2px;
}
.lp-stagiaire .meals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.lp-stagiaire .meal {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lp-stagiaire .meal-day {
  font-size: 10px;
  font-weight: 700;
  color: var(--n-500);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.lp-stagiaire .meal-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--n-900);
}
.lp-stagiaire .meal-name.is-pending {
  color: var(--n-500);
  font-style: italic;
}
.lp-stagiaire .meal-resto {
  font-size: 11.5px;
  color: var(--n-600);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lp-stagiaire .meal-resto i {
  color: var(--accent-500);
}
.lp-stagiaire .meal-horaire {
  font-size: 11.5px;
  color: var(--n-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.lp-stagiaire .meal-horaire i {
  color: var(--accent-500);
  font-size: 10.5px;
}
.lp-stagiaire .meal-horaire strong {
  font-weight: 700;
  color: var(--n-900);
  font-variant-numeric: tabular-nums;
}
.lp-stagiaire .support {
  background: linear-gradient(135deg, var(--n-900), #312E81);
  color: white;
  border-radius: 14px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
}
.lp-stagiaire .support-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.lp-stagiaire .support-l {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.lp-stagiaire .support-t {
  font-size: 18px;
  font-weight: 700;
  margin-top: 3px;
}
.lp-stagiaire .support-d {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 2px;
}
.lp-stagiaire .support-tel {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
}
.lp-stagiaire .support-actions {
  display: flex;
  gap: 8px;
}
.lp-stagiaire .support-actions .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.lp-stagiaire .support-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}
.lp-stagiaire .support-actions .btn-accent {
  background: white;
  color: var(--n-900);
}
.lp-stagiaire .support-actions .btn-accent:hover {
  background: var(--n-100);
}
.lp-stagiaire .lp-foot {
  text-align: center;
  color: var(--n-400);
  font-size: 11.5px;
  padding: 14px 0;
}
.lp-stagiaire .lp-foot i {
  font-size: 10px;
}
.lp-stagiaire .promo-mate.is-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.lp-stagiaire .promo-mate.is-link:hover {
  background: var(--accent-50);
  border-color: var(--accent-300);
}
.lp-stagiaire .promo-chat {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-stagiaire .promo-chat-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--n-500);
  font-size: 13px;
  font-style: italic;
}
.lp-stagiaire .msg-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}
.lp-stagiaire .msg-list::-webkit-scrollbar {
  width: 6px;
}
.lp-stagiaire .msg-list::-webkit-scrollbar-thumb {
  background: var(--n-200);
  border-radius: 3px;
}
.lp-stagiaire .msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lp-stagiaire .msg-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--n-0);
  box-shadow: var(--shadow-sm);
}
.lp-stagiaire .msg-body {
  flex: 1;
  min-width: 0;
  background: var(--n-50);
  border: 1px solid var(--n-100);
  border-radius: 10px;
  padding: 10px 12px 12px;
}
.lp-stagiaire .msg.is-mine .msg-body {
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border-color: var(--green-100);
}
.lp-stagiaire .msg-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.lp-stagiaire .msg-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--n-900);
}
.lp-stagiaire .msg-tag {
  font-size: 9px;
  font-weight: 800;
  background: var(--green-700);
  color: white;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}
.lp-stagiaire .msg-dr {
  font-size: 11px;
  color: var(--n-500);
  font-weight: 500;
}
.lp-stagiaire .msg-time {
  font-size: 11px;
  color: var(--n-400);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.lp-stagiaire .msg-content {
  font-size: 13px;
  color: var(--n-800);
  line-height: 1.55;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.lp-stagiaire .msg-del {
  display: inline;
  margin: 0;
}
.lp-stagiaire .msg-del button {
  background: transparent;
  border: none;
  color: var(--n-300);
  cursor: pointer;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 120ms;
  font-family: inherit;
}
.lp-stagiaire .msg-del button:hover {
  color: var(--red-600);
  background: var(--red-50);
}
.lp-stagiaire .msg-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--n-100);
}
.lp-stagiaire .msg-form textarea {
  width: 100%;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid var(--n-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--n-900);
  resize: vertical;
}
.lp-stagiaire .msg-form textarea::placeholder {
  color: var(--n-400);
}
.lp-stagiaire .msg-form textarea:focus {
  outline: none;
  border-color: var(--accent-300);
  box-shadow: 0 0 0 3px var(--accent-50);
}
.lp-stagiaire .msg-form .msg-form-actions {
  display: flex;
  justify-content: flex-end;
}
.lp-stagiaire .photo-upload {
  margin-bottom: 14px;
}
.lp-stagiaire .photo-drop {
  display: block;
  cursor: pointer;
  border: 2px dashed var(--violet-300, #c4b5fd);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  background: var(--violet-50);
  transition: all 150ms;
}
.lp-stagiaire .photo-drop:hover {
  border-color: var(--violet-500);
  background: rgba(139, 92, 246, 0.07);
}
.lp-stagiaire .photo-drop-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.lp-stagiaire .photo-drop-t {
  font-size: 14px;
  font-weight: 700;
  color: var(--n-900);
}
.lp-stagiaire .photo-drop-d {
  font-size: 11.5px;
  color: var(--n-500);
}
.lp-stagiaire .photo-drop-progress {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--violet-700);
  font-weight: 600;
}
.lp-stagiaire .photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.lp-stagiaire .photo {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--n-100);
  border: 1px solid var(--n-200);
  transition: transform 150ms, box-shadow 150ms;
}
.lp-stagiaire .photo:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.lp-stagiaire .photo:hover .photo-meta {
  opacity: 1;
}
.lp-stagiaire .photo:hover .photo-del {
  opacity: 1;
}
.lp-stagiaire .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-stagiaire .photo.is-mine {
  border-color: var(--green-300, #6EE7B7);
}
.lp-stagiaire .photo-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 10px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: white;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  opacity: 0;
  transition: opacity 150ms;
}
.lp-stagiaire .photo-meta .photo-author {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-stagiaire .photo-meta .photo-date {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}
.lp-stagiaire .photo-del {
  position: absolute;
  top: 6px;
  right: 6px;
  margin: 0;
  opacity: 0;
  transition: opacity 150ms;
}
.lp-stagiaire .photo-del button {
  background: rgba(0, 0, 0, 0.55);
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms;
  font-family: inherit;
}
.lp-stagiaire .photo-del button:hover {
  background: var(--red-600);
}
.lp-stagiaire .photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lp-stagiaire .photo-lightbox figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: default;
}
.lp-stagiaire .photo-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.lp-stagiaire .photo-lightbox figcaption {
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
}
.lp-stagiaire .photo-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  z-index: 1;
}
.lp-stagiaire .photo-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lp-stagiaire .contact-inline {
  background: var(--n-0);
  border: 1px solid var(--n-200);
  border-radius: 12px;
  padding: 18px;
  margin-top: -8px;
}
.lp-stagiaire .contact-inline textarea {
  width: 100%;
  min-height: 80px;
  padding: 10px 12px;
  border: 1px solid var(--n-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  color: var(--n-900);
  resize: vertical;
}
.lp-stagiaire .contact-inline textarea:focus {
  outline: none;
  border-color: var(--accent-300);
  box-shadow: 0 0 0 3px var(--accent-50);
}
.lp-stagiaire .contact-inline .contact-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}
.lp-stagiaire .contact-inline .contact-confirm {
  padding: 10px 14px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 8px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 600;
}
.lp-stagiaire .contact-error {
  padding: 10px 14px;
  background: var(--red-50);
  border: 1px solid var(--red-100);
  border-radius: 8px;
  color: var(--red-700);
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
}
.lp-stagiaire .contact-error::before {
  content: "\f071"; /* fa-triangle-exclamation */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
}
@media (max-width: 1280px) {
  .lp-stagiaire .hero-inner {
    grid-template-columns: 1fr;
  }
  .lp-stagiaire .promo-grid {
    grid-template-columns: 1fr;
  }
  .lp-stagiaire .two-col {
    grid-template-columns: 1fr;
  }
  .lp-stagiaire .meals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-stagiaire .facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-stagiaire .fact:nth-child(2) {
    border-right: none;
  }
  .lp-stagiaire .fact:nth-child(1), .lp-stagiaire .fact:nth-child(2) {
    border-bottom: 1px solid var(--n-100);
  }
}
@media (max-width: 760px) {
  .lp-stagiaire .lp-hd {
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .lp-stagiaire .page {
    padding: 16px 16px 32px;
  }
  .lp-stagiaire .hero {
    padding: 22px 20px;
  }
  .lp-stagiaire .hero h1 {
    font-size: 28px;
  }
  .lp-stagiaire .hero-countdown .num {
    font-size: 48px;
  }
  .lp-stagiaire .promo-mates {
    grid-template-columns: 1fr;
  }
  .lp-stagiaire .meals-grid {
    grid-template-columns: 1fr;
  }
  .lp-stagiaire .support {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .lp-stagiaire .support-actions {
    justify-content: center;
  }
  .lp-stagiaire .ms-nav-inner {
    padding: 0 16px;
  }
}
.lp-stagiaire .ms-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--n-100);
}
.lp-stagiaire .ms-nav-inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lp-stagiaire .ms-nav-inner::-webkit-scrollbar {
  display: none;
}
.lp-stagiaire .ms-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 15px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--n-500);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lp-stagiaire .ms-nav-link i {
  font-size: 14px;
}
.lp-stagiaire .ms-nav-link:hover {
  color: var(--n-900);
}
.lp-stagiaire .ms-nav-link.is-active {
  color: var(--accent-700);
  border-bottom-color: var(--accent-600);
}
.lp-stagiaire .ms-tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-content: start;
}
.lp-stagiaire .ms-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--n-0);
  border: 1px solid var(--n-100);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.lp-stagiaire .ms-tile:hover {
  border-color: var(--n-200);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.lp-stagiaire .ms-tile-ic {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.lp-stagiaire .ms-tile-body {
  flex: 1;
  min-width: 0;
}
.lp-stagiaire .ms-tile-t {
  font-size: 14px;
  font-weight: 700;
  color: var(--n-900);
}
.lp-stagiaire .ms-tile-d {
  font-size: 12.5px;
  color: var(--n-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-stagiaire .ms-tile-arw {
  color: var(--n-300);
  font-size: 13px;
  flex: none;
}

/* ═══════════════════════════════════════════════════════════════
   MES RÉSERVATIONS EFFECTUÉES — /reservations
   Maquette Claude Design « Dashboard Admin ». Scope : .rse-page, posé avec .pec-page
   dont la page reprend l'en-tête, les indicateurs, la recherche et les listes.
   ═══════════════════════════════════════════════════════════════ */
@keyframes rse-abandon-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rse-bulk-in {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.rse-page {
  padding-bottom: 96px;
  /* ── Raccourcis de période ── */
  /* ── Réservations « En cours » : tunnels commencés, pas encore validés ──
     Tout ce qui les désigne est ambre et en pointillé, pour ne jamais être pris pour une
     réservation validée (pastilles pleines, vertes). */
  /* État vide du filtre « En cours » */
  /* Confirmation d'abandon */
  /* ── Filtres ── */
  /* ── Bandeau de comptage ── */
  /* ── Tableau ── */
  /* Case à cocher de la maquette : carré arrondi, coché en bleu nuit. */
  /* Hébergement : l'accent de la ligne, repris par le bouton du dossier. */
  /* ── Vide ── */
  /* ── Pied : par page et pagination ── */
  /* ── Barre de sélection ── */
}
.rse-page .rse-quick {
  display: flex;
  gap: 8px;
  align-self: flex-end;
  padding-bottom: 4px;
}
.rse-page .rse-pill {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
.rse-page .rse-pill:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.rse-page .rse-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.12);
}
.rse-page .rse-pill.is-on {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}
.rse-page .rse-kpi-encours.is-on {
  background: #FFFBF4;
  border-color: #D98A1F;
  box-shadow: 0 12px 30px rgba(217, 138, 31, 0.16);
}
.rse-page .rse-kpi-encours .pec-kpi-dot {
  background: transparent;
  border: 2px dashed #D98A1F;
  border-radius: 50%;
}
.rse-page .rse-table tbody tr.rse-encours {
  background: #FFFBF4;
}
.rse-page .rse-table tbody tr.rse-encours > td:first-child {
  background-image: repeating-linear-gradient(180deg, #D98A1F 0 6px, transparent 6px 10px);
  background-size: 4px 100%;
  background-repeat: no-repeat;
}
.rse-page .rse-table tbody tr.rse-encours:hover {
  background: #FFF7EA;
}
.rse-page .rse-encours-num {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #6B7490;
}
.rse-page .rse-encours-vide {
  color: #6B7490;
  font-weight: 600;
  font-style: italic;
}
.rse-page .rse-encours-sem {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.rse-page .rse-encours-sub {
  margin-top: 1px;
  font-size: 12px;
  font-weight: 600;
  color: #6B7490;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.rse-page .rse-encours-st {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rse-page .rse-encours-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: #FFF4E0;
  border: 1.5px dashed #D98A1F;
  color: #7A4A00;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.rse-page .rse-encours-pill i {
  font-size: 10px;
}
.rse-page .rse-encours-etape {
  font-size: 13px;
  font-weight: 800;
  color: #1D2D5C;
  white-space: nowrap;
}
.rse-page .rse-encours-prog {
  display: flex;
  gap: 3px;
  margin-top: 8px;
  max-width: 210px;
}
.rse-page .rse-encours-prog span {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: #E6EAF1;
}
.rse-page .rse-encours-prog .is-fait {
  background: #D98A1F;
}
.rse-page .rse-encours-prog .is-ici {
  background: #F0C97A;
}
.rse-page .rse-encours-acts {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.rse-page .rse-encours-drop {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  border: 1.5px solid #F2C8C5;
  background: #fff;
  color: #B23A36;
  font-size: 13px;
}
.rse-page .rse-encours-drop:hover {
  background: #FCF2F1;
}
.rse-page .rse-encours-drop:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(178, 58, 54, 0.2);
}
.rse-page .rse-encours-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  flex: none;
  background: #1D2D5C;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}
.rse-page .rse-encours-go i {
  font-size: 10px;
}
.rse-page .rse-encours-go:hover {
  background: #27376A;
  color: #fff;
}
.rse-page .rse-encours-go:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.25);
}
.rse-page .rse-empty-encours {
  margin: 14px;
  padding: 56px 32px;
  border: 1.5px dashed #C9D2E3;
  border-radius: 18px;
}
.rse-page .rse-empty-encours .pec-empty-t {
  margin-top: 18px;
  font-size: 22px;
}
.rse-page .rse-empty-encours .pec-empty-s {
  max-width: 520px;
  margin: 8px auto 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}
.rse-page .rse-empty-ic {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #E7F5E0;
  color: #2E5320;
  font-size: 24px;
}
.rse-page .rse-empty-acts {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.rse-page .rse-abandon {
  width: calc(100% - 48px);
  max-width: 520px;
  padding: 0;
  border: none;
  border-radius: 20px;
  background: #fff;
  color: #5A6273;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.35);
}
.rse-page .rse-abandon::backdrop {
  background: rgba(15, 25, 55, 0.55);
  backdrop-filter: blur(5px);
}
.rse-page .rse-abandon[open] {
  animation: rse-abandon-in 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.rse-page .rse-abandon form {
  margin: 0;
  padding: 26px 26px 24px;
}
.rse-page .rse-abandon h2 {
  margin: 16px 0 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #1D2D5C;
}
.rse-page .rse-abandon-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #FBE4E3;
  color: #B23A36;
  font-size: 18px;
}
.rse-page .rse-abandon-txt {
  margin: 8px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}
.rse-page .rse-abandon-card {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px dashed #D98A1F;
  background: #FFFBF4;
}
.rse-page .rse-abandon-card .n {
  font-size: 15px;
  font-weight: 800;
  color: #1D2D5C;
}
.rse-page .rse-abandon-card .c {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 600;
}
.rse-page .rse-abandon-card .e {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #7A4A00;
}
.rse-page .rse-abandon-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.rse-page .rse-abandon-info i {
  margin-top: 3px;
  color: #34508C;
}
.rse-page .rse-abandon-acts {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.rse-page .rse-abandon-acts button {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
}
.rse-page .rse-abandon-keep {
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
}
.rse-page .rse-abandon-keep:hover {
  border-color: #1D2D5C;
}
.rse-page .rse-abandon-go {
  border: none;
  background: #B23A36;
  color: #fff;
}
.rse-page .rse-abandon-go:hover {
  background: #9A302C;
}
.rse-page .rse-abandon button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(29, 45, 92, 0.18);
}
.rse-page .rse-filters {
  margin-bottom: 14px;
}
.rse-page .rse-reset {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #6B7490;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}
.rse-page .rse-reset:hover {
  background: #F1F4F9;
  color: #6B7490;
}
.rse-page .rse-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: #6B7490;
}
.rse-page .rse-count b {
  color: #1D2D5C;
}
.rse-page .rse-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #F3D9D6;
  background: #FDF3F2;
  color: #B23A36;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s;
}
.rse-page .rse-soon .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D9534F;
}
.rse-page .rse-soon:hover {
  border-color: #E9B9B5;
  color: #B23A36;
}
.rse-page .rse-soon.is-on {
  background: #B23A36;
  border-color: #B23A36;
  color: #fff;
}
.rse-page .rse-soon.is-on .dot {
  background: #fff;
}
.rse-page .rse-card {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
}
.rse-page .rse-table {
  min-width: 980px;
}
.rse-page .rse-table th {
  padding: 12px 11px;
}
.rse-page .rse-table td {
  padding: 12px 11px;
}
.rse-page .rse-table th.rse-chk-col, .rse-page .rse-table td.rse-chk-col {
  width: 40px;
  padding: 12px 0 12px 20px;
}
.rse-page .rse-table tbody tr {
  animation: pec-rise 0.35s ease backwards;
  animation-delay: calc(var(--i, 0) * 18ms);
}
.rse-page .rse-table tbody tr.is-selected {
  background: #F5F8FD;
}
.rse-page .rse-table tbody tr.is-hidden {
  display: none;
}
.rse-page .rse-chk {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 5px;
  cursor: pointer;
  display: grid;
  place-items: center;
  border: 1.5px solid #CBD2E0;
  background: #fff;
  transition: all 0.2s;
}
.rse-page .rse-chk::after {
  content: "";
  width: 10px;
  height: 10px;
  opacity: 0;
  transition: opacity 0.15s;
  background: #fff;
  clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%);
}
.rse-page .rse-chk:checked, .rse-page .rse-chk:indeterminate {
  background: #1D2D5C;
  border-color: #1D2D5C;
}
.rse-page .rse-chk:checked::after {
  opacity: 1;
}
.rse-page .rse-chk:indeterminate::after {
  opacity: 1;
  height: 2.5px;
  clip-path: none;
  border-radius: 2px;
}
.rse-page .rse-chk:hover {
  border-color: #1D2D5C;
}
.rse-page .rse-chk:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.rse-page .rse-num {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: #3E4A6B;
}
.rse-page .rse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #E8A33D;
  box-shadow: 0 0 0 3px #FCEFDC;
}
.rse-page .rse-dot.is-red {
  background: #D9534F;
  box-shadow: 0 0 0 3px #FBE4E3;
}
.rse-page .pec-form-t {
  font-size: 12.5px;
  font-weight: 600;
}
.rse-page .rse-dates {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rse-page .rse-dates > span:first-child {
  font-weight: 700;
  color: #1D2D5C;
  font-variant-numeric: tabular-nums;
}
.rse-page .rse-nuits {
  padding: 2px 7px;
  border-radius: 6px;
  background: #F1F4F9;
  font-size: 10.5px;
  font-weight: 800;
  color: #5A6273;
}
.rse-page .pec-campus {
  font-size: 12.5px;
}
.rse-page .rse-none {
  color: #B5BCCA;
}
.rse-page .rse-created {
  font-size: 12.5px;
  font-weight: 600;
  color: #5A6273;
  font-variant-numeric: tabular-nums;
}
.rse-page .rse-heb, .rse-page .rse-open {
  --c: #6B7490;
  --bg: #F1F4F9;
}
.rse-page .rse-heb.is-hotel, .rse-page .rse-open.is-hotel {
  --c: #2F7A1A;
  --bg: #E8F5E1;
}
.rse-page .rse-heb.is-campus, .rse-page .rse-open.is-campus {
  --c: #34508C;
  --bg: #EEF3FB;
}
.rse-page .rse-heb.is-aucun, .rse-page .rse-heb.is-off, .rse-page .rse-open.is-aucun, .rse-page .rse-open.is-off {
  --c: #8A93A8;
  --bg: #F1F4F9;
}
.rse-page .rse-heb {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 190px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg);
  color: var(--c);
  font-size: 12px;
  font-weight: 700;
}
.rse-page .rse-heb .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--c);
}
.rse-page .rse-heb .t {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rse-page .rse-st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
}
.rse-page .rse-st .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.rse-page .rse-st.is-ok {
  background: #E8F5E1;
  color: #2F7A1A;
}
.rse-page .rse-st.is-wait {
  background: #FCEFDC;
  color: #A85D00;
}
.rse-page .rse-st.is-ko {
  background: #FDF3F2;
  color: #B23A36;
}
.rse-page .rse-st.is-mod {
  background: #EEF3FB;
  color: #34508C;
}
.rse-page .rse-open {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  margin-left: auto;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--c);
  background: #fff;
  color: var(--c);
  transition: background 0.2s;
}
.rse-page .rse-open:hover {
  background: var(--bg);
  color: var(--c);
}
.rse-page .rse-open:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.rse-page .rse-open.is-none {
  --c: #CBD2E0;
  cursor: not-allowed;
}
.rse-page .rse-open.is-none:hover {
  background: #fff;
}
.rse-page .rse-empty-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.rse-page .rse-empty-btn:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.rse-page .rse-empty-btn.is-navy {
  border-color: #1D2D5C;
  background: #1D2D5C;
  color: #fff;
  font-weight: 800;
}
.rse-page .rse-empty-btn.is-navy:hover {
  background: #27376A;
  color: #fff;
}
.rse-page .rse-empty-btn.is-green {
  gap: 8px;
  border-color: #4FA235;
  background: #4FA235;
  color: #fff;
  font-weight: 800;
}
.rse-page .rse-empty-btn.is-green:hover {
  background: #45903E;
  border-color: #45903E;
  color: #fff;
}
.rse-page .rse-foot {
  justify-content: space-between;
}
.rse-page .rse-per {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.rse-page .rse-pages {
  display: flex;
  align-items: center;
  gap: 6px;
}
.rse-page .rse-pg {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  color: #1D2D5C;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: all 0.2s;
}
.rse-page .rse-pg:hover {
  border-color: #1D2D5C;
  color: #1D2D5C;
}
.rse-page .rse-pg:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 45, 92, 0.18);
}
.rse-page .rse-pg.is-on {
  background: #1D2D5C;
  border-color: #1D2D5C;
  color: #fff;
}
.rse-page .rse-pg.is-nav {
  width: 32px;
  padding: 0;
}
.rse-page .rse-pg.is-off {
  opacity: 0.4;
  pointer-events: none;
}
.rse-page .rse-per .rse-pg {
  min-width: 34px;
  height: 30px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}
.rse-page .rse-gap {
  padding: 0 2px;
  font-size: 12px;
  color: #9AA3B8;
}
.rse-page .rse-bulk {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 120;
  display: none;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  width: max-content;
  max-width: calc(100vw - 48px);
  padding: 10px 10px 10px 18px;
  border-radius: 16px;
  background: #1D2D5C;
  color: #fff;
  box-shadow: 0 24px 60px rgba(20, 33, 71, 0.4);
  transform: translateX(-50%);
}
.rse-page .rse-bulk.is-visible {
  display: flex;
  animation: rse-bulk-in 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.rse-page .rse-bulk input {
  width: 240px;
  max-width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: inherit;
  font-size: 12.5px;
  outline: none;
}
.rse-page .rse-bulk input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.rse-page .rse-bulk input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}
.rse-page .rse-bulk-n {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.rse-page .rse-bulk-c {
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #6CC04A;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.rse-page .rse-bulk-sep {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}
.rse-page .rse-bulk-clear, .rse-page .rse-bulk-cancel {
  height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
}
.rse-page .rse-bulk-clear:focus-visible, .rse-page .rse-bulk-cancel:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.rse-page .rse-bulk-clear {
  background: #fff;
  color: #1D2D5C;
}
.rse-page .rse-bulk-cancel {
  padding: 0 14px;
  background: #D9534F;
  color: #fff;
}
.rse-page .rse-bulk-cancel:hover {
  background: #B23A36;
}
@media (max-width: 760px) {
  .rse-page .rse-quick {
    flex-wrap: wrap;
    align-self: flex-start;
  }
  .rse-page .rse-bulk input {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TAXIS / COURSES — page index "Courses taxi"
   Scope : .tcx-page. Refonte complète sur le système Enedis :
   bleu Enedis dominant, neutres, FontAwesome partout, hero avec
   mark, KPI strip, sticky filters, cards courses avec stripe
   verticale par statut.

   Stimulus (quick-modal) préservé.
   ═══════════════════════════════════════════════════════════════ */
.tcx-page {
  --enedis-blue: #1432FA;
  --enedis-blue-700: #0F26C4;
  --enedis-blue-soft: rgba(20, 50, 250, 0.08);
  --enedis-blue-line: rgba(20, 50, 250, 0.18);
  --tcx-radius: 14px;
  --tcx-radius-sm: 8px;
  padding-bottom: 80px;
  /* ── Breadcrumb ──────────────────────────────────────────── */
  /* ── HERO ────────────────────────────────────────────────── */
  /* ── KPI strip (cliquable) ───────────────────────────────── */
  /* ── Regroupement banner ─────────────────────────────────── */
  /* ── Week pager wrapper ──────────────────────────────────── */
  /* Styles du composant _week_pager (scope tcx-page) */
  /* ── Filters bar (sticky) ────────────────────────────────── */
  /* ── Day group ───────────────────────────────────────────── */
  /* ── COURSE CARD ─────────────────────────────────────────── */
  /* ── Status badge ────────────────────────────────────────── */
  /* ── Empty state ─────────────────────────────────────────── */
  /* ── Responsive ──────────────────────────────────────────── */
}
.tcx-page .page-back {
  display: none;
}
.tcx-page .tcx-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tcx-page .tcx-crumb a {
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 150ms, color 150ms;
}
.tcx-page .tcx-crumb a:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.tcx-page .tcx-crumb a i {
  font-size: 11px;
}
.tcx-page .tcx-crumb .sep {
  color: var(--neutral-300);
  font-size: 9px;
}
.tcx-page .tcx-crumb strong {
  color: var(--neutral-900);
  font-weight: 600;
}
.tcx-page .tcx-hero {
  position: relative;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--tcx-radius);
  padding: 26px 28px 0;
  margin-bottom: 22px;
  overflow: hidden;
}
.tcx-page .tcx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 320px at 100% -20%, var(--enedis-blue-soft), transparent 60%);
  pointer-events: none;
}
.tcx-page .tcx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 50, 250, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 50, 250, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 70%);
  pointer-events: none;
}
.tcx-page .tcx-hero > * {
  position: relative;
  z-index: 1;
}
.tcx-page .tcx-hero-top {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.tcx-page .tcx-hero-id {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}
.tcx-page .tcx-mark {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: linear-gradient(160deg, var(--enedis-blue) 0%, var(--enedis-blue-700) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px -10px rgba(20, 50, 250, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.tcx-page .tcx-mark i {
  font-size: 22px;
}
.tcx-page .tcx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--enedis-blue);
  padding: 4px 10px;
  background: var(--enedis-blue-soft);
  border: 1px solid var(--enedis-blue-line);
  border-radius: 999px;
  margin-bottom: 8px;
}
.tcx-page .tcx-eyebrow i {
  font-size: 6px;
}
.tcx-page .tcx-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--neutral-900);
  line-height: 1.1;
  margin: 0;
}
.tcx-page .tcx-subtitle {
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--neutral-500);
  font-weight: 500;
}
.tcx-page .tcx-hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tcx-page .tcx-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  color: var(--neutral-700);
  font-size: 12px;
  font-weight: 600;
}
.tcx-page .tcx-pill i {
  font-size: 10px;
  color: var(--neutral-500);
}
.tcx-page .tcx-pill.is-blue {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-line);
  color: var(--enedis-blue-700);
}
.tcx-page .tcx-pill.is-blue i {
  color: var(--enedis-blue);
}
.tcx-page .tcx-hero-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.tcx-page .tcx-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(160deg, var(--enedis-blue) 0%, var(--enedis-blue-700) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms ease;
  box-shadow: 0 6px 18px -6px rgba(20, 50, 250, 0.5);
}
.tcx-page .tcx-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(20, 50, 250, 0.6);
}
.tcx-page .tcx-btn-primary i {
  font-size: 12px;
}
.tcx-page .tcx-kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 22px -28px 0;
  border-top: 1px solid var(--card-border);
}
.tcx-page .tcx-kpi {
  padding: 16px 18px;
  border-right: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background 150ms;
}
.tcx-page .tcx-kpi:last-child {
  border-right: none;
}
.tcx-page .tcx-kpi:hover {
  background: var(--neutral-50);
}
.tcx-page .tcx-kpi.is-active {
  background: var(--enedis-blue-soft);
}
.tcx-page .tcx-kpi.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--enedis-blue);
}
.tcx-page .tcx-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tcx-page .tcx-kpi-ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  flex-shrink: 0;
}
.tcx-page .tcx-kpi-ic.is-grey {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.tcx-page .tcx-kpi-ic.is-amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.tcx-page .tcx-kpi-ic.is-green {
  background: var(--green-50);
  color: var(--green-700);
}
.tcx-page .tcx-kpi-ic.is-red {
  background: var(--red-50);
  color: var(--red-700);
}
.tcx-page .tcx-kpi-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 4px;
}
.tcx-page .tcx-kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-500);
}
.tcx-page .tcx-rb {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--tcx-radius);
  margin-bottom: 18px;
}
.tcx-page .tcx-rb-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.tcx-page .tcx-rb-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  color: var(--amber-700);
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}
.tcx-page .tcx-rb-body {
  flex: 1;
  min-width: 200px;
}
.tcx-page .tcx-rb-body strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--amber-700);
  margin-bottom: 2px;
}
.tcx-page .tcx-rb-body span {
  font-size: 12.5px;
  color: var(--neutral-700);
  line-height: 1.45;
}
.tcx-page .tcx-rb-body span strong {
  display: inline;
  font-family: var(--font-mono);
  color: var(--green-700);
  font-weight: 700;
}
.tcx-page .tcx-rb-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--amber-200);
  border-radius: 7px;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  color: var(--amber-700);
  cursor: pointer;
  list-style: none;
}
.tcx-page .tcx-rb-toggle::-webkit-details-marker {
  display: none;
}
.tcx-page .tcx-rb-toggle:hover {
  background: var(--amber-50);
  border-color: var(--amber-400);
}
.tcx-page .tcx-rb-toggle i {
  font-size: 10px;
}
.tcx-page .tcx-rb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tcx-page .tcx-rb-item {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--amber-200);
  border-radius: 10px;
}
.tcx-page .tcx-rb-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.tcx-page .tcx-rb-item-head > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tcx-page .tcx-rb-item-head .campus {
  font-weight: 700;
  color: var(--neutral-900);
}
.tcx-page .tcx-rb-item-head .campus i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.tcx-page .tcx-rb-item-head .sens {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  background: var(--neutral-100);
  border-radius: 999px;
  color: var(--neutral-700);
}
.tcx-page .tcx-rb-item-head .economie {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-700);
  padding: 2px 8px;
  background: var(--green-50);
  border: 1px solid rgba(21, 128, 61, 0.22);
  border-radius: 999px;
}
.tcx-page .tcx-rb-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tcx-page .tcx-rb-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--enedis-blue-soft);
  border: 1px solid var(--enedis-blue-line);
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--enedis-blue-700);
  text-decoration: none;
  font-weight: 600;
  transition: all 150ms;
}
.tcx-page .tcx-rb-pill:hover {
  background: var(--enedis-blue);
  color: #fff;
  transform: translateY(-1px);
}
.tcx-page .tcx-rb-pill small {
  font-weight: 500;
  opacity: 0.8;
}
.tcx-page .tcx-week {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.tcx-page .tcx-week > .week-pager-wrap {
  flex: 1;
  margin-bottom: 0;
}
.tcx-page .week-pager-wrap {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--tcx-radius);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tcx-page .week-pager {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--neutral-50);
  border: 1px solid var(--card-border);
  border-radius: 9px;
  padding: 3px;
}
.tcx-page .week-pager .pager-btn {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--neutral-600);
  cursor: pointer;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 150ms ease;
}
.tcx-page .week-pager .pager-btn:hover {
  background: #fff;
  color: var(--enedis-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.tcx-page .week-pager .current {
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--neutral-900);
  min-width: 140px;
  text-align: center;
  letter-spacing: 0.5px;
}
.tcx-page .week-pager .current small {
  display: block;
  font-size: 10px;
  color: var(--neutral-500);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: var(--font-family);
}
.tcx-page .week-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--enedis-blue-soft);
  cursor: pointer;
  transition: all 150ms ease;
  overflow: hidden;
}
.tcx-page .week-picker:has(:focus-visible) {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.tcx-page .week-picker:hover {
  border-color: var(--enedis-blue);
}
.tcx-page .week-picker > i {
  color: var(--enedis-blue);
  font-size: 12px;
  flex-shrink: 0;
}
.tcx-page .week-picker input[type=week] {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: var(--enedis-blue-700);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 0;
  cursor: pointer;
  min-width: 120px;
}
.tcx-page .week-picker input[type=week]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  padding: 0;
  margin: 0;
  background: transparent;
}
.tcx-page .week-picker input[type=week]::-webkit-inner-spin-button, .tcx-page .week-picker input[type=week]::-webkit-clear-button {
  display: none;
}
.tcx-page .week-picker input[type=week]:focus {
  outline: none;
}
.tcx-page .year-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--neutral-500);
  letter-spacing: 0.3px;
}
.tcx-page .quick-weeks {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.tcx-page .quick-week {
  padding: 5px 11px;
  border-radius: 7px;
  border: 1px solid var(--card-border);
  background: #fff;
  font-family: var(--font-family);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-700);
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease;
}
.tcx-page .quick-week:hover {
  border-color: var(--enedis-blue-line);
  color: var(--enedis-blue-700);
  background: var(--enedis-blue-soft);
}
.tcx-page .quick-week.is-active {
  background: var(--enedis-blue);
  color: #fff;
  border-color: var(--enedis-blue);
  box-shadow: 0 4px 10px -2px rgba(20, 50, 250, 0.35);
}
.tcx-page .today-btn {
  margin-left: auto;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: #fff;
  color: var(--neutral-700);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 150ms ease;
}
.tcx-page .today-btn i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.tcx-page .today-btn:hover {
  border-color: var(--enedis-blue);
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
}
.tcx-page .tcx-week-clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--red-50);
  border: 1px solid rgba(185, 28, 28, 0.22);
  border-radius: var(--tcx-radius);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  color: var(--red-700);
  text-decoration: none;
  transition: all 150ms;
  white-space: nowrap;
}
.tcx-page .tcx-week-clear:hover {
  background: var(--red-100);
  border-color: var(--red-600);
}
.tcx-page .tcx-week-clear i {
  font-size: 10px;
}
.tcx-page .tcx-filters {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--tcx-radius);
  padding: 12px 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  position: sticky;
  top: var(--topbar-h);
  z-index: 10;
  box-shadow: 0 2px 8px -4px rgba(11, 16, 32, 0.06);
}
.tcx-page .tcx-segment {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: var(--neutral-100);
  border-radius: 10px;
}
.tcx-page .tcx-segment a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-600);
  text-decoration: none;
  border-radius: 7px;
  transition: all 150ms ease;
  white-space: nowrap;
}
.tcx-page .tcx-segment a:hover {
  color: var(--neutral-900);
  background: rgba(255, 255, 255, 0.6);
}
.tcx-page .tcx-segment a.is-active {
  background: #fff;
  color: var(--enedis-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.tcx-page .tcx-divider {
  width: 1px;
  height: 22px;
  background: var(--card-border);
}
.tcx-page .tcx-spacer {
  flex: 1;
}
.tcx-page .tcx-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tcx-page .tcx-field label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.tcx-page .tcx-field label i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.tcx-page .tcx-field select {
  appearance: none;
  -webkit-appearance: none;
  padding: 7px 32px 7px 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B7390' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center/10px 7px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--neutral-900);
  cursor: pointer;
  transition: all 150ms ease;
}
.tcx-page .tcx-field select:hover {
  border-color: var(--enedis-blue-line);
}
.tcx-page .tcx-field select:focus {
  outline: none;
  border-color: var(--enedis-blue);
  box-shadow: 0 0 0 3px var(--enedis-blue-soft);
}
.tcx-page .tcx-group {
  margin-bottom: 22px;
}
.tcx-page .tcx-group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding-left: 14px;
  position: relative;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--neutral-700);
}
.tcx-page .tcx-group-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: var(--enedis-blue);
  border-radius: 2px;
}
.tcx-page .tcx-group-title.is-past::before {
  background: var(--neutral-400);
}
.tcx-page .tcx-group-title.is-today::before {
  background: var(--enedis-blue);
  box-shadow: 0 0 0 2px var(--enedis-blue-soft);
}
.tcx-page .tcx-group-count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: none;
}
.tcx-page .tcx-group-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tcx-page .tcx-card {
  display: grid;
  grid-template-columns: 86px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--tcx-radius);
  text-decoration: none;
  color: inherit;
  transition: all 150ms ease;
  position: relative;
  overflow: hidden;
}
.tcx-page .tcx-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
}
.tcx-page .tcx-card:hover {
  border-color: var(--enedis-blue-line);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -16px rgba(20, 50, 250, 0.2);
}
.tcx-page .tcx-card.retour::before {
  background: var(--neutral-700);
}
.tcx-page .tcx-card.aller::before {
  background: var(--enedis-blue);
}
.tcx-page .tcx-card-date {
  text-align: center;
  padding: 8px 6px;
  background: var(--neutral-50);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}
.tcx-page .tcx-card-date .day {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1;
}
.tcx-page .tcx-card-date .month {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--enedis-blue);
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.tcx-page .tcx-card-date .time {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--neutral-700);
  padding: 2px 8px;
  background: #fff;
  border-radius: 999px;
  display: inline-block;
}
.tcx-page .tcx-card-route {
  min-width: 0;
}
.tcx-page .tcx-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.tcx-page .tcx-sens {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.tcx-page .tcx-sens i {
  font-size: 9px;
}
.tcx-page .tcx-sens.aller {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  border: 1px solid var(--enedis-blue-line);
}
.tcx-page .tcx-sens.retour {
  background: var(--neutral-100);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
}
.tcx-page .tcx-sens.retour i {
  transform: rotate(180deg);
}
.tcx-page .tcx-campus {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--neutral-600);
}
.tcx-page .tcx-campus i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.tcx-page .tcx-card-points {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.tcx-page .tcx-card-points .pt {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tcx-page .tcx-card-points .arrow {
  color: var(--enedis-blue);
  font-size: 12px;
}
.tcx-page .tcx-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--neutral-600);
  flex-wrap: wrap;
}
.tcx-page .tcx-card-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tcx-page .tcx-card-meta > span i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.tcx-page .tcx-card-meta .empty {
  color: var(--text-tertiary);
  font-style: italic;
}
.tcx-page .tcx-card-meta .empty i {
  color: var(--neutral-400);
}
.tcx-page .tcx-card-meta .plate {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neutral-500);
  padding: 1px 7px;
  background: var(--neutral-100);
  border-radius: 5px;
}
.tcx-page .tcx-card-meta .dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--neutral-300);
}
.tcx-page .tcx-card-pax {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 80px;
}
.tcx-page .tcx-avatars {
  display: flex;
  align-items: center;
}
.tcx-page .tcx-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid #fff;
  margin-left: -8px;
  font-family: var(--font-family);
}
.tcx-page .tcx-avatar:first-child {
  margin-left: 0;
}
.tcx-page .tcx-avatar.is-more {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.tcx-page .tcx-pax-count {
  font-size: 11px;
  color: var(--neutral-500);
  font-weight: 500;
}
.tcx-page .tcx-pax-count strong {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neutral-900);
  font-size: 13px;
}
.tcx-page .tcx-pax-count span {
  display: block;
  text-transform: uppercase;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-top: 1px;
}
.tcx-page .tcx-card-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tcx-page .tcx-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.tcx-page .tcx-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tcx-page .tcx-status.is-success {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid rgba(21, 128, 61, 0.22);
}
.tcx-page .tcx-status.is-warning {
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid rgba(180, 83, 9, 0.22);
}
.tcx-page .tcx-status.is-danger {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid rgba(185, 28, 28, 0.22);
}
.tcx-page .tcx-status.is-info {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  border: 1px solid var(--enedis-blue-line);
}
.tcx-page .tcx-status.is-neutral {
  background: var(--neutral-100);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
}
.tcx-page .tcx-chevron {
  color: var(--neutral-300);
  font-size: 12px;
  transition: all 150ms ease;
}
.tcx-page .tcx-card:hover .tcx-chevron {
  color: var(--enedis-blue);
  transform: translateX(3px);
}
.tcx-page .tcx-empty {
  padding: 64px 24px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--card-border);
  border-radius: var(--tcx-radius);
}
.tcx-page .tcx-empty .ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  border-radius: 18px;
  font-size: 24px;
}
.tcx-page .tcx-empty .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 6px;
}
.tcx-page .tcx-empty .desc {
  font-size: 13px;
  color: var(--neutral-500);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}
@media (max-width: 1100px) {
  .tcx-page .tcx-kpis {
    grid-template-columns: repeat(5, 1fr);
  }
  .tcx-page .tcx-kpi-value {
    font-size: 20px;
  }
}
@media (max-width: 900px) {
  .tcx-page .tcx-kpis {
    grid-template-columns: repeat(3, 1fr);
  }
  .tcx-page .tcx-kpi {
    border-right: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
  }
  .tcx-page .tcx-kpi:nth-child(3n) {
    border-right: none;
  }
  .tcx-page .tcx-kpi:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .tcx-page .tcx-card {
    grid-template-columns: 72px 1fr;
    gap: 12px;
  }
  .tcx-page .tcx-card .tcx-card-pax,
  .tcx-page .tcx-card .tcx-card-status {
    grid-column: 2;
    margin-top: 4px;
  }
  .tcx-page .tcx-card .tcx-card-status {
    justify-content: space-between;
  }
  .tcx-page .tcx-card .tcx-card-pax {
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .tcx-page .tcx-hero {
    padding: 20px 18px 0;
  }
  .tcx-page .tcx-mark {
    width: 50px;
    height: 50px;
  }
  .tcx-page .tcx-mark i {
    font-size: 18px;
  }
  .tcx-page .tcx-title {
    font-size: 21px;
  }
  .tcx-page .tcx-kpis {
    margin: 18px -18px 0;
    grid-template-columns: repeat(2, 1fr);
  }
  .tcx-page .tcx-kpi:nth-child(3n) {
    border-right: 1px solid var(--card-border);
  }
  .tcx-page .tcx-kpi:nth-child(2n) {
    border-right: none;
  }
  .tcx-page .tcx-kpi:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .tcx-page .tcx-filters {
    padding: 10px;
    gap: 10px;
  }
  .tcx-page .tcx-segment {
    width: 100%;
  }
  .tcx-page .tcx-segment a {
    flex: 1;
    justify-content: center;
  }
  .tcx-page .tcx-divider {
    display: none;
  }
  .tcx-page .tcx-spacer {
    display: none;
  }
  .tcx-page .tcx-card {
    grid-template-columns: 64px 1fr;
    padding: 12px 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TAXI COURSE — page détail "/taxis/courses/{id}"
   Scope : .tcs-page. Système Enedis : bleu Enedis dominant,
   neutres, FontAwesome partout, hero avec mark + route, sidebar
   d'informations, section passagers + historique demandes.

   Stimulus (quick-modal) préservé.
   ═══════════════════════════════════════════════════════════════ */
.tcs-page {
  --enedis-blue: #1432FA;
  --enedis-blue-700: #0F26C4;
  --enedis-blue-soft: rgba(20, 50, 250, 0.08);
  --enedis-blue-line: rgba(20, 50, 250, 0.18);
  --tcs-radius: 14px;
  padding-bottom: 80px;
  /* ── Breadcrumb ──────────────────────────────────────────── */
  /* ── HERO ────────────────────────────────────────────────── */
  /* ── Status badge ────────────────────────────────────────── */
  /* ── Grid 2 colonnes (main + sidebar) ────────────────────── */
  /* ── Card section ────────────────────────────────────────── */
  /* ── Passagers table ─────────────────────────────────────── */
  /* ── Sidebar : Informations (dl compacte) ────────────────── */
  /* ── Bouton primary ──────────────────────────────────────── */
  /* ── Empty state ─────────────────────────────────────────── */
  /* ── Historique demandes ─────────────────────────────────── */
  /* ── Modal "Ajouter passagers" override ──────────────────── */
  /* ── Responsive ──────────────────────────────────────────── */
}
.tcs-page .page-back {
  display: none;
}
.tcs-page .tcs-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.tcs-page .tcs-crumb a {
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 150ms, color 150ms;
}
.tcs-page .tcs-crumb a:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.tcs-page .tcs-crumb a i {
  font-size: 11px;
}
.tcs-page .tcs-crumb .sep {
  color: var(--neutral-300);
  font-size: 9px;
}
.tcs-page .tcs-crumb strong {
  color: var(--neutral-900);
  font-weight: 600;
}
.tcs-page .tcs-hero {
  position: relative;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--tcs-radius);
  padding: 18px 22px;
  margin-bottom: 16px;
  overflow: hidden;
}
.tcs-page .tcs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 320px at 100% -30%, var(--enedis-blue-soft), transparent 60%);
  pointer-events: none;
}
.tcs-page .tcs-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
}
.tcs-page .tcs-hero.retour::after {
  background: var(--neutral-700);
}
.tcs-page .tcs-hero > * {
  position: relative;
  z-index: 1;
}
.tcs-page .tcs-hero-top {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.tcs-page .tcs-hero-id {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}
.tcs-page .tcs-mark {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(160deg, var(--enedis-blue) 0%, var(--enedis-blue-700) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 22px -10px rgba(20, 50, 250, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.tcs-page .tcs-mark i {
  font-size: 19px;
}
.tcs-page .tcs-hero-body {
  flex: 1;
  min-width: 0;
}
.tcs-page .tcs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--enedis-blue);
  padding: 3px 9px;
  background: var(--enedis-blue-soft);
  border: 1px solid var(--enedis-blue-line);
  border-radius: 999px;
  margin-bottom: 8px;
}
.tcs-page .tcs-eyebrow i {
  font-size: 5px;
}
.tcs-page .tcs-eyebrow .sens {
  font-weight: 800;
}
.tcs-page .tcs-eyebrow .dot {
  color: var(--neutral-400);
}
.tcs-page .tcs-eyebrow .id {
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--enedis-blue-line);
  color: var(--neutral-500);
  font-weight: 600;
}
.tcs-page .tcs-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--neutral-900);
  line-height: 1.25;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tcs-page .tcs-title .pt {
  max-width: 320px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tcs-page .tcs-title .arrow {
  color: var(--enedis-blue);
  font-size: 14px;
}
.tcs-page .tcs-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tcs-page .tcs-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  color: var(--neutral-700);
  font-size: 11.5px;
  font-weight: 600;
}
.tcs-page .tcs-meta-pill i {
  font-size: 10px;
  color: var(--neutral-500);
}
.tcs-page .tcs-meta-pill.is-blue {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue-line);
  color: var(--enedis-blue-700);
}
.tcs-page .tcs-meta-pill.is-blue i {
  color: var(--enedis-blue);
}
.tcs-page .tcs-meta-pill .plate {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  background: #fff;
  border-radius: 4px;
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
  margin-left: 4px;
}
.tcs-page .tcs-hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.tcs-page .tcs-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.tcs-page .tcs-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}
.tcs-page .tcs-status.is-success {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid rgba(21, 128, 61, 0.22);
}
.tcs-page .tcs-status.is-warning {
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid rgba(180, 83, 9, 0.22);
}
.tcs-page .tcs-status.is-danger {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid rgba(185, 28, 28, 0.22);
}
.tcs-page .tcs-status.is-info {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  border: 1px solid var(--enedis-blue-line);
}
.tcs-page .tcs-status.is-neutral {
  background: var(--neutral-100);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
}
.tcs-page .tcs-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 14px;
  margin-bottom: 16px;
  align-items: start;
}
.tcs-page .tcs-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--tcs-radius);
  overflow: hidden;
}
.tcs-page .tcs-card-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.tcs-page .tcs-card-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: var(--enedis-blue);
  border-radius: 0 2px 2px 0;
}
.tcs-page .tcs-card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-900);
  margin: 0;
}
.tcs-page .tcs-card-title i {
  color: var(--enedis-blue);
  font-size: 11px;
  width: 16px;
  text-align: center;
}
.tcs-page .tcs-card-title .count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 4px;
}
.tcs-page .tcs-card-body {
  padding: 12px 18px;
}
.tcs-page .tcs-pax-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.tcs-page .tcs-pax-table thead th {
  padding: 9px 16px;
  background: var(--neutral-50);
  color: var(--neutral-500);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}
.tcs-page .tcs-pax-table tbody tr {
  border-bottom: 1px solid var(--neutral-100);
  transition: background 120ms;
}
.tcs-page .tcs-pax-table tbody tr:last-child {
  border-bottom: none;
}
.tcs-page .tcs-pax-table tbody tr:hover {
  background: var(--enedis-blue-soft);
}
.tcs-page .tcs-pax-table tbody td {
  padding: 10px 16px;
  color: var(--neutral-700);
  vertical-align: middle;
}
.tcs-page .tcs-pax-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tcs-page .tcs-pax-name .stagiaire-avatar {
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--font-family);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.tcs-page .tcs-pax-name .meta {
  min-width: 0;
}
.tcs-page .tcs-pax-name .meta strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.005em;
}
.tcs-page .tcs-pax-name .meta .dr {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--neutral-500);
  margin-top: 1px;
}
.tcs-page .tcs-pax-name .meta .deleted {
  font-style: italic;
  color: var(--text-tertiary);
  font-size: 12px;
}
.tcs-page .tcs-formation {
  font-size: 12.5px;
  color: var(--neutral-700);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}
.tcs-page .tcs-nni {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neutral-700);
  font-weight: 600;
  padding: 2px 8px;
  background: var(--neutral-100);
  border-radius: 6px;
  display: inline-block;
}
.tcs-page .tcs-pax-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.tcs-page .tcs-pax-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.tcs-page .tcs-pax-status.is-confirme {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid rgba(21, 128, 61, 0.22);
}
.tcs-page .tcs-pax-status.is-annule {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid rgba(185, 28, 28, 0.22);
}
.tcs-page .tcs-pax-status.is-attente {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  border: 1px solid var(--enedis-blue-line);
}
.tcs-page .tcs-row-btn {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 7px;
  color: var(--neutral-600);
  font-size: 12px;
  cursor: pointer;
  transition: all 150ms ease;
}
.tcs-page .tcs-row-btn:hover {
  background: var(--red-50);
  border-color: var(--red-600);
  color: var(--red-700);
}
.tcs-page .tcs-info {
  display: flex;
  flex-direction: column;
}
.tcs-page .tcs-info-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--neutral-100);
}
.tcs-page .tcs-info-row:last-child {
  border-bottom: none;
}
.tcs-page .tcs-info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-500);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tcs-page .tcs-info-label i {
  color: var(--enedis-blue);
  font-size: 10px;
  width: 12px;
  text-align: center;
}
.tcs-page .tcs-info-value {
  font-size: 12.5px;
  color: var(--neutral-900);
  font-weight: 600;
  word-break: break-word;
  text-align: right;
}
.tcs-page .tcs-info-value.is-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.tcs-page .tcs-info-value.is-empty {
  color: var(--text-tertiary);
  font-style: italic;
  font-weight: 500;
}
.tcs-page .tcs-info-value.is-cost {
  color: var(--green-700);
  font-family: var(--font-mono);
}
.tcs-page .tcs-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: linear-gradient(160deg, var(--enedis-blue) 0%, var(--enedis-blue-700) 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms ease;
  box-shadow: 0 4px 12px -4px rgba(20, 50, 250, 0.5);
}
.tcs-page .tcs-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(20, 50, 250, 0.6);
}
.tcs-page .tcs-btn i {
  font-size: 11px;
}
.tcs-page .tcs-btn.is-ghost {
  background: #fff;
  color: var(--neutral-700);
  border: 1px solid var(--card-border);
  box-shadow: none;
}
.tcs-page .tcs-btn.is-ghost:hover {
  background: var(--neutral-50);
  border-color: var(--enedis-blue-line);
  color: var(--enedis-blue-700);
  transform: none;
}
.tcs-page .tcs-empty {
  padding: 24px 20px;
  text-align: center;
}
.tcs-page .tcs-empty .ic {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  border-radius: 12px;
  font-size: 16px;
}
.tcs-page .tcs-empty .title {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 3px;
}
.tcs-page .tcs-empty .desc {
  font-size: 12px;
  color: var(--neutral-500);
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.45;
}
.tcs-page .tcs-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.tcs-page .tcs-history-table thead th {
  padding: 10px 16px;
  background: var(--neutral-50);
  color: var(--neutral-500);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: left;
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}
.tcs-page .tcs-history-table tbody tr {
  border-bottom: 1px solid var(--neutral-100);
}
.tcs-page .tcs-history-table tbody tr:last-child {
  border-bottom: none;
}
.tcs-page .tcs-history-table tbody td {
  padding: 12px 16px;
  color: var(--neutral-700);
  vertical-align: middle;
}
.tcs-page .tcs-history-table tbody td.prest {
  font-weight: 700;
  color: var(--neutral-900);
}
.tcs-page .tcs-history-table tbody td.date {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--neutral-500);
}
.tcs-page .tcs-history-table tbody td.empty {
  color: var(--text-tertiary);
  font-style: italic;
}
.tcs-page .quick-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 16, 32, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.tcs-page .quick-modal-box {
  background: #fff;
  border-radius: var(--tcs-radius);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px -20px rgba(11, 16, 32, 0.3);
  position: relative;
  animation: tcsModalIn var(--dur-base) var(--ease-out);
}
@keyframes tcsModalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.tcs-page .quick-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--card-border);
}
.tcs-page .quick-modal-header h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
}
.tcs-page .quick-modal-header p {
  margin: 0;
  font-size: 12.5px;
  color: var(--neutral-500);
}
.tcs-page .quick-modal-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--enedis-blue) 0%, var(--enedis-blue-700) 100%) !important;
  color: #fff !important;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px -6px rgba(20, 50, 250, 0.45);
}
.tcs-page .quick-modal-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--neutral-500);
  cursor: pointer;
  font-size: 13px;
  transition: all 150ms;
}
.tcs-page .quick-modal-close:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.tcs-page .quick-modal-form {
  padding: 18px 22px 20px;
}
.tcs-page .quick-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
}
.tcs-page .pax-candidate-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 380px;
  overflow-y: auto;
  padding: 2px;
}
.tcs-page .pax-candidate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 150ms ease;
}
.tcs-page .pax-candidate:hover {
  border-color: var(--enedis-blue-line);
  background: var(--neutral-50);
}
.tcs-page .pax-candidate:has(input:checked) {
  border-color: var(--enedis-blue);
  background: var(--enedis-blue-soft);
}
.tcs-page .pax-candidate input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--enedis-blue);
  cursor: pointer;
  flex-shrink: 0;
}
.tcs-page .pax-cand-body {
  flex: 1;
  min-width: 0;
}
.tcs-page .pax-cand-name {
  font-size: 13px;
  margin-bottom: 4px;
}
.tcs-page .pax-cand-name strong {
  font-weight: 700;
  color: var(--neutral-900);
}
.tcs-page .pax-cand-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--neutral-600);
}
.tcs-page .pax-cand-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tcs-page .pax-cand-meta > span i {
  color: var(--enedis-blue);
  font-size: 10px;
}
.tcs-page .pax-cand-meta .sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--neutral-300);
}
.tcs-page .pax-cand-hint {
  display: block;
  margin-top: 12px;
  padding: 8px 12px;
  background: var(--enedis-blue-soft);
  border: 1px solid var(--enedis-blue-line);
  border-radius: 7px;
  color: var(--enedis-blue-700);
  font-size: 11.5px;
  font-weight: 600;
}
.tcs-page .pax-cand-hint strong {
  font-family: var(--font-mono);
}
@media (max-width: 920px) {
  .tcs-page .tcs-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .tcs-page .tcs-hero {
    padding: 20px 18px;
  }
  .tcs-page .tcs-mark {
    width: 54px;
    height: 54px;
  }
  .tcs-page .tcs-mark i {
    font-size: 20px;
  }
  .tcs-page .tcs-title {
    font-size: 20px;
  }
  .tcs-page .tcs-title .pt {
    max-width: 100%;
  }
  .tcs-page .tcs-hero-side {
    width: 100%;
    align-items: flex-start;
  }
  .tcs-page .tcs-card-head, .tcs-page .tcs-card-body {
    padding: 14px 16px;
  }
  .tcs-page .tcs-pax-table thead {
    display: none;
  }
  .tcs-page .tcs-pax-table tbody tr {
    display: block;
    padding: 12px 0;
  }
  .tcs-page .tcs-pax-table tbody td {
    display: block;
    padding: 4px 16px;
  }
  .tcs-page .tcs-history-table thead {
    display: none;
  }
  .tcs-page .tcs-history-table tbody tr {
    display: block;
    padding: 12px 16px;
  }
  .tcs-page .tcs-history-table tbody td {
    display: block;
    padding: 3px 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PROFIL STAGIAIRE — page /reservations/stagiaire/{id}
   Scope : .psx-page. Hero avec avatar + KPIs intégrés + grid
   main (timeline + historique formations) / sidebar (Mon Séjour,
   contexte, spécificités).
   ═══════════════════════════════════════════════════════════════ */
.psx-page {
  --enedis-blue: #1432FA;
  --enedis-blue-700: #0F26C4;
  --enedis-blue-soft: rgba(20, 50, 250, 0.08);
  --enedis-blue-line: rgba(20, 50, 250, 0.18);
  --psx-radius: 14px;
  padding-bottom: 80px;
  /* ── Breadcrumb ──────────────────────────────────────────── */
  /* ── HERO ────────────────────────────────────────────────── */
  /* ── Boutons ─────────────────────────────────────────────── */
  /* ── KPI strip intégré au hero ───────────────────────────── */
  /* ── Grid main / side ────────────────────────────────────── */
  /* ── Card section ────────────────────────────────────────── */
  /* ── Empty inside card ───────────────────────────────────── */
  /* ── Timeline ────────────────────────────────────────────── */
  /* ── Historique formations ───────────────────────────────── */
  /* ── Access Mon Séjour card ──────────────────────────────── */
  /* ── Contexte (DR + lieu + email + tel + manager) ────────── */
  /* ── Manager block ───────────────────────────────────────── */
  /* ── Spécificités ────────────────────────────────────────── */
}
.psx-page .psx-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--neutral-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.psx-page .psx-crumb a {
  color: var(--neutral-600);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 150ms, color 150ms;
}
.psx-page .psx-crumb a:hover {
  background: var(--neutral-100);
  color: var(--neutral-900);
}
.psx-page .psx-crumb a i {
  font-size: 11px;
}
.psx-page .psx-crumb .sep {
  color: var(--neutral-300);
  font-size: 9px;
}
.psx-page .psx-crumb strong {
  color: var(--neutral-900);
  font-weight: 600;
}
.psx-page .psx-hero {
  position: relative;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--psx-radius);
  padding: 26px 28px 0;
  margin-bottom: 18px;
  overflow: hidden;
}
.psx-page .psx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 280px at 100% -20%, var(--enedis-blue-soft), transparent 60%);
  pointer-events: none;
}
.psx-page .psx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 50, 250, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 50, 250, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 80%);
  pointer-events: none;
}
.psx-page .psx-hero > * {
  position: relative;
  z-index: 1;
}
.psx-page .psx-hero-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .psx-page .psx-hero-top {
    grid-template-columns: auto 1fr;
  }
  .psx-page .psx-hero-top .psx-hero-actions {
    grid-column: 1/-1;
    justify-content: flex-end;
    margin-top: 4px;
  }
}
@media (max-width: 640px) {
  .psx-page .psx-hero-top {
    grid-template-columns: 1fr;
  }
  .psx-page .psx-hero-top .psx-avatar {
    margin: 0 auto;
  }
}
.psx-page .psx-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 12px 30px -10px rgba(11, 16, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.15);
  position: relative;
}
.psx-page .psx-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.3), transparent 50%);
  pointer-events: none;
}
.psx-page .psx-hero-body {
  min-width: 0;
}
.psx-page .psx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--enedis-blue);
  padding: 3px 9px;
  background: var(--enedis-blue-soft);
  border: 1px solid var(--enedis-blue-line);
  border-radius: 999px;
  margin-bottom: 8px;
}
.psx-page .psx-eyebrow i {
  font-size: 5px;
}
.psx-page .psx-name {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 800;
  color: var(--neutral-900);
  letter-spacing: -0.025em;
  line-height: 1.15;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.psx-page .psx-nni {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  color: var(--neutral-700);
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.psx-page .psx-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--neutral-600);
}
.psx-page .psx-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.psx-page .psx-meta > span i {
  color: var(--enedis-blue);
  font-size: 11px;
}
.psx-page .psx-meta > span a {
  color: var(--neutral-700);
  text-decoration: none;
  font-weight: 500;
}
.psx-page .psx-meta > span a:hover {
  color: var(--enedis-blue);
  text-decoration: underline;
}
.psx-page .psx-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.psx-page .psx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.psx-page .psx-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.psx-page .psx-badge.is-blue {
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  border: 1px solid var(--enedis-blue-line);
}
.psx-page .psx-badge.is-green {
  background: var(--green-50);
  color: var(--green-700);
  border: 1px solid rgba(21, 128, 61, 0.22);
}
.psx-page .psx-badge.is-amber {
  background: var(--amber-50);
  color: var(--amber-700);
  border: 1px solid rgba(180, 83, 9, 0.22);
}
.psx-page .psx-badge.is-red {
  background: var(--red-50);
  color: var(--red-700);
  border: 1px solid rgba(185, 28, 28, 0.22);
}
.psx-page .psx-badge.is-purple {
  background: var(--purple-50);
  color: var(--purple-700);
  border: 1px solid var(--purple-200);
}
.psx-page .psx-badge.is-neutral {
  background: var(--neutral-100);
  color: var(--neutral-700);
  border: 1px solid var(--neutral-200);
}
.psx-page .psx-badge.has-icon::before {
  display: none;
}
.psx-page .psx-badge i {
  font-size: 9.5px;
}
.psx-page .psx-hero-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.psx-page .psx-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 9px;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--neutral-700);
  cursor: pointer;
  text-decoration: none;
  transition: all 150ms ease;
  white-space: nowrap;
}
.psx-page .psx-btn:hover {
  border-color: var(--enedis-blue);
  color: var(--enedis-blue);
  background: var(--enedis-blue-soft);
}
.psx-page .psx-btn i {
  font-size: 11px;
  color: var(--enedis-blue);
}
.psx-page .psx-btn.is-primary {
  background: linear-gradient(160deg, var(--enedis-blue) 0%, var(--enedis-blue-700) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px -6px rgba(20, 50, 250, 0.5);
}
.psx-page .psx-btn.is-primary i {
  color: #fff;
}
.psx-page .psx-btn.is-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(20, 50, 250, 0.65);
  color: #fff;
}
.psx-page .psx-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px -28px 0;
  border-top: 1px solid var(--card-border);
}
@media (max-width: 900px) {
  .psx-page .psx-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .psx-page .psx-kpis {
    grid-template-columns: 1fr;
  }
}
.psx-page .psx-kpi {
  padding: 16px 18px;
  border-right: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.psx-page .psx-kpi:last-child {
  border-right: none;
}
@media (max-width: 900px) {
  .psx-page .psx-kpi:nth-child(2n) {
    border-right: none;
  }
  .psx-page .psx-kpi:nth-child(-n+2) {
    border-bottom: 1px solid var(--card-border);
  }
}
@media (max-width: 540px) {
  .psx-page .psx-kpi {
    border-right: none !important;
    border-bottom: 1px solid var(--card-border);
  }
  .psx-page .psx-kpi:last-child {
    border-bottom: none;
  }
}
.psx-page .psx-kpi-ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  display: grid;
  place-items: center;
  font-size: 14px;
  flex-shrink: 0;
}
.psx-page .psx-kpi-ic.is-purple {
  background: var(--purple-50);
  color: var(--purple-700);
}
.psx-page .psx-kpi-ic.is-green {
  background: var(--green-50);
  color: var(--green-700);
}
.psx-page .psx-kpi-ic.is-teal {
  background: rgba(20, 184, 166, 0.1);
  color: #0F766E;
}
.psx-page .psx-kpi-info {
  min-width: 0;
  flex: 1;
}
.psx-page .psx-kpi-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-500);
}
.psx-page .psx-kpi-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 2px 0 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.psx-page .psx-kpi-sub {
  font-size: 11px;
  color: var(--neutral-500);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.psx-page .psx-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}
@media (max-width: 960px) {
  .psx-page .psx-grid {
    grid-template-columns: 1fr;
  }
}
.psx-page .psx-main,
.psx-page .psx-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.psx-page .psx-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--psx-radius);
  overflow: hidden;
}
.psx-page .psx-card-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.psx-page .psx-card-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: var(--enedis-blue);
  border-radius: 0 2px 2px 0;
}
.psx-page .psx-card-head h3 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-900);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.psx-page .psx-card-head h3 i {
  color: var(--enedis-blue);
  font-size: 12px;
}
.psx-page .psx-card-head .count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue-700);
  border-radius: 999px;
}
.psx-page .psx-card-body {
  padding: 16px 18px;
}
.psx-page .psx-card-empty {
  padding: 14px 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--neutral-500);
}
.psx-page .psx-card-empty i {
  display: block;
  font-size: 22px;
  color: var(--neutral-300);
  margin-bottom: 8px;
}
.psx-page .psx-tl {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.psx-page .psx-tl-day {
  margin: 6px 0 2px;
  padding-left: 4px;
}
.psx-page .psx-tl-day:first-child {
  margin-top: 0;
}
.psx-page .psx-tl-day span {
  display: inline-block;
  padding: 3px 10px;
  background: var(--neutral-100);
  border: 1px solid var(--neutral-200);
  color: var(--neutral-700);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.psx-page .psx-tl-event {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: flex-start;
  position: relative;
  padding: 6px 0;
}
.psx-page .psx-tl-dot {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  font-size: 12px;
  position: relative;
  flex-shrink: 0;
}
.psx-page .psx-tl-dot.is-green {
  background: var(--green-50);
  color: var(--green-700);
}
.psx-page .psx-tl-dot.is-amber {
  background: var(--amber-50);
  color: var(--amber-700);
}
.psx-page .psx-tl-dot.is-red {
  background: var(--red-50);
  color: var(--red-700);
}
.psx-page .psx-tl-dot.is-purple {
  background: var(--purple-50);
  color: var(--purple-700);
}
.psx-page .psx-tl-dot.is-neutral {
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.psx-page .psx-tl-content {
  min-width: 0;
  padding: 4px 12px 8px 0;
}
.psx-page .psx-tl-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.psx-page .psx-tl-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.005em;
}
.psx-page .psx-tl-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--neutral-500);
  font-weight: 600;
  margin-left: auto;
  white-space: nowrap;
}
.psx-page .psx-tl-detail {
  font-size: 12px;
  color: var(--neutral-600);
  margin-top: 2px;
  line-height: 1.5;
}
.psx-page .psx-hist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.psx-page .psx-hist-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 11px;
  text-decoration: none;
  color: inherit;
  transition: all 150ms ease;
  position: relative;
  overflow: hidden;
}
.psx-page .psx-hist-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--neutral-300);
  transition: background 150ms;
}
.psx-page .psx-hist-card:hover {
  border-color: var(--enedis-blue-line);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -10px rgba(20, 50, 250, 0.15);
}
.psx-page .psx-hist-card:hover::before {
  background: var(--enedis-blue);
}
.psx-page .psx-hist-card:hover .psx-hist-arrow {
  color: var(--enedis-blue);
  transform: translateX(3px);
}
.psx-page .psx-hist-card.is-current {
  border-color: var(--amber-400, #FBBF24);
  background: var(--amber-50);
}
.psx-page .psx-hist-card.is-current::before {
  background: var(--amber-500);
}
.psx-page .psx-hist-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
}
.psx-page .psx-hist-ic.is-done {
  background: var(--green-50);
  color: var(--green-700);
}
.psx-page .psx-hist-ic.is-active {
  background: var(--amber-50);
  color: var(--amber-700);
}
.psx-page .psx-hist-ic.is-cancel {
  background: var(--red-50);
  color: var(--red-700);
}
.psx-page .psx-hist-info {
  min-width: 0;
}
.psx-page .psx-hist-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--neutral-900);
  letter-spacing: -0.005em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.psx-page .psx-hist-meta {
  display: flex;
  gap: 6px 14px;
  flex-wrap: wrap;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--neutral-500);
}
.psx-page .psx-hist-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.psx-page .psx-hist-meta > span i {
  color: var(--enedis-blue);
  font-size: 10px;
}
.psx-page .psx-hist-meta > span.code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--neutral-700);
  padding: 1px 6px;
  background: var(--neutral-100);
  border-radius: 5px;
}
.psx-page .psx-hist-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.psx-page .psx-hist-arrow {
  font-size: 12px;
  color: var(--neutral-300);
  transition: all 150ms ease;
  align-self: center;
}
.psx-page .psx-access {
  background: linear-gradient(135deg, var(--enedis-blue-soft) 0%, #fff 100%);
  border: 1px solid var(--enedis-blue-line);
  border-radius: var(--psx-radius);
  overflow: hidden;
  position: relative;
}
.psx-page .psx-access::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--enedis-blue);
}
.psx-page .psx-access-head {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--enedis-blue-line);
}
.psx-page .psx-access-head h3 {
  margin: 0;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-900);
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.psx-page .psx-access-head h3 i {
  color: var(--enedis-blue);
  font-size: 12px;
}
.psx-page .psx-access-head .pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--green-600);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.psx-page .psx-access-head .pill.is-expired {
  background: var(--red-600);
}
.psx-page .psx-access-body {
  padding: 14px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.psx-page .psx-access-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--enedis-blue-line);
}
.psx-page .psx-access-stat:last-of-type {
  border-bottom: none;
}
.psx-page .psx-access-stat-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-500);
}
.psx-page .psx-access-stat-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.psx-page .psx-access-stat-value .sub {
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 500;
  color: var(--neutral-500);
}
.psx-page .psx-access-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  background: linear-gradient(160deg, var(--enedis-blue) 0%, var(--enedis-blue-700) 100%);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-family: var(--font-family);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 150ms ease;
  margin-top: 4px;
  box-shadow: 0 8px 20px -6px rgba(20, 50, 250, 0.5);
}
.psx-page .psx-access-cta i {
  font-size: 11px;
}
.psx-page .psx-access-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -8px rgba(20, 50, 250, 0.65);
}
.psx-page .psx-ctx-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed var(--neutral-100);
}
.psx-page .psx-ctx-row:last-of-type {
  border-bottom: none;
}
.psx-page .psx-ctx-ic {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--enedis-blue-soft);
  color: var(--enedis-blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}
.psx-page .psx-ctx-content {
  min-width: 0;
}
.psx-page .psx-ctx-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-500);
}
.psx-page .psx-ctx-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--neutral-900);
  margin-top: 2px;
  word-break: break-word;
}
.psx-page .psx-ctx-value a {
  color: var(--enedis-blue);
  text-decoration: none;
}
.psx-page .psx-ctx-value a:hover {
  text-decoration: underline;
}
.psx-page .psx-ctx-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--neutral-500);
  margin-top: 1px;
}
.psx-page .psx-mgr-title {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--neutral-100);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neutral-500);
  margin-bottom: 10px;
}
.psx-page .psx-mgr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-100);
  border-radius: 10px;
}
.psx-page .psx-mgr-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--enedis-blue) 0%, var(--enedis-blue-700) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.psx-page .psx-mgr-info {
  flex: 1;
  min-width: 0;
}
.psx-page .psx-mgr-info .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  line-height: 1.2;
}
.psx-page .psx-mgr-info .sub {
  font-size: 11px;
  color: var(--neutral-500);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.psx-page .psx-mgr-actions {
  display: flex;
  gap: 4px;
}
.psx-page .psx-mgr-actions a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--neutral-600);
  text-decoration: none;
  font-size: 12px;
  transition: all 150ms;
}
.psx-page .psx-mgr-actions a:hover {
  background: var(--enedis-blue-soft);
  border-color: var(--enedis-blue);
  color: var(--enedis-blue);
  transform: translateY(-1px);
}
.psx-page .psx-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 540px) {
  .psx-page .psx-spec-grid {
    grid-template-columns: 1fr;
  }
}
.psx-page .psx-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-100);
  border-radius: 10px;
}
.psx-page .psx-spec.is-positive {
  background: var(--green-50);
  border-color: rgba(21, 128, 61, 0.22);
}
.psx-page .psx-spec.is-positive .psx-spec-ic {
  background: var(--green-100, #DCFCE7);
  color: var(--green-700);
}
.psx-page .psx-spec.is-positive .psx-spec-value {
  color: var(--green-700);
}
.psx-page .psx-spec.is-warning {
  background: var(--amber-50);
  border-color: rgba(180, 83, 9, 0.22);
}
.psx-page .psx-spec.is-warning .psx-spec-ic {
  background: var(--amber-100, #FEF3C7);
  color: var(--amber-700);
}
.psx-page .psx-spec.is-warning .psx-spec-value {
  color: var(--amber-700);
}
.psx-page .psx-spec-ic {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--neutral-100);
  color: var(--neutral-500);
  display: grid;
  place-items: center;
  font-size: 12px;
  flex-shrink: 0;
}
.psx-page .psx-spec-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-500);
}
.psx-page .psx-spec-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-top: 2px;
}
.psx-page .psx-cas {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  background: var(--enedis-blue-soft);
  border: 1px solid var(--enedis-blue-line);
  border-left: 3px solid var(--enedis-blue);
  border-radius: 10px;
  margin-top: 12px;
}
.psx-page .psx-cas.is-neutral {
  background: var(--neutral-50);
  border-color: var(--neutral-200);
  border-left-color: var(--neutral-400);
}
.psx-page .psx-cas > i {
  color: var(--enedis-blue);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.is-neutral .psx-page .psx-cas > i {
  color: var(--neutral-500);
}
.psx-page .psx-cas strong {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--neutral-900);
  margin-bottom: 3px;
}
.psx-page .psx-cas p {
  margin: 0;
  font-size: 12px;
  color: var(--neutral-700);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .fa-spin, .fa-spinner, button.is-submitting::after, [style*="spin "] {
    animation-duration: 1.6s !important;
    animation-iteration-count: infinite !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  *, *::before, *::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .layout-topbar {
    background: #fff !important;
  }
}
@media (prefers-contrast: more) {
  :focus-visible {
    outline-width: 3px !important;
  }
  .form-control {
    border-color: var(--neutral-500);
  }
  .form-control:focus {
    box-shadow: 0 0 0 3px var(--blue-600);
  }
}

/*# sourceMappingURL=app.output.css.map */
