.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease-out);
}
.drawer-scrim.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  max-width: 92vw;
  z-index: 81;
}
.drawer-head {
  display: flex;
  gap: 12px;
  padding: 20px 20px 16px;
}
.drawer-av {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-head .dh-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.drawer-close {
  margin-left: auto;
  border-radius: var(--r-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
.drawer-close svg {
  width: 13px;
  height: 13px;
  stroke: var(--text-secondary);
  fill: none;
  stroke-width: 2;
}
.drawer-body {
  flex: 1;
  padding: 18px 20px 28px;
}
.drawer-section {
  margin-bottom: 22px;
}
.drawer-section .ds-label {
  margin-bottom: 10px;
}
.drawer-etat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer-etat b {
  font-size: 14px;
}
.drawer-etat.ok {
  border-left-color: var(--success);
}
.drawer-etat.info {
  border-left-color: var(--accent);
}
.drawer-det > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-det > summary::-webkit-details-marker {
  display: none;
}
.drawer-det > summary::after {
  content: "";
  margin-left: auto;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transition: transform .15s;
}
.drawer-det[open] > summary::after {
  transform: rotate(-135deg);
}
.drawer {
  overflow: hidden;
}
.drawer-etat {
  border-radius: 16px;
}
.drawer-close {
  width: 32px;
  height: 32px;
}
.drawer {
  top: 50%;
  left: 50%;
  right: auto;
  height: auto;
  max-height: 88vh;
  width: 540px;
  transform: translate(-50%,-46%) scale(.97);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.drawer-head {
  border-radius: 26px 26px 0 0;
}
.drawer-body {
  overflow-y: auto;
  min-height: 0;
}
.drawer {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.rj-bloc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
}
.rj-ligne {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  gap: 6px;
  align-items: start;
}
.rj-ligne b {
  color: var(--text-primary);
  font-weight: var(--fw-semibold);
}
.rj-sym {
  display: inline-flex;
  justify-content: center;
  font-weight: 700;
}
.rj-success .rj-sym {
  color: var(--success);
}
.rj-danger .rj-sym {
  color: var(--danger);
}
.rj-warning .rj-sym {
  color: var(--warning);
}
.rj-accent .rj-sym {
  color: var(--accent-t);
}
.rj-info .rj-sym,
.rj-muted .rj-sym {
  color: var(--text-muted);
}
.gr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gr-notes {
  margin: 14px 0 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}
.gr-notes-titre {
  margin-bottom: 8px;
}
.gr-note {
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--bg-surface-raised);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-primary);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.gr-note time {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--text-muted);
}
.gr-vide {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.gr-ajout {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gc-l {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12.5px;
  line-height: 1.45;
}
.gc-l span {
  color: var(--text-muted);
  flex: none;
}
.gc-l b {
  font-weight: var(--fw-medium);
  text-align: right;
  overflow-wrap: anywhere;
}
.gc-l small {
  color: var(--text-muted);
  font-weight: 400;
}
.gc-alerte {
  margin: 0 0 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--danger) 12%, transparent);
  color: var(--text-primary);
  font-size: 12.5px;
}
.gc-tel {
  display: grid;
  grid-template-columns: minmax(0,1fr) 110px 38px;
  gap: 8px;
  margin-bottom: 8px;
}
.gc-retirer {
  padding: 0;
  font-size: 18px;
  line-height: 1;
}
.gc-case {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  cursor: pointer;
}
.gc-case input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.gc-case small {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 400;
}
@media (max-width:520px) {
  .gc-tel {
    grid-template-columns: minmax(0,1fr) 118px 38px;
  }
}
.imp-carte {
  max-width: 620px;
}
.imp-texte {
  resize: vertical;
}
.imp-resultat {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-surface-raised);
  font-size: 12.5px;
}
.imp-ok {
  color: var(--success);
  font-weight: 600;
}
.imp-ko {
  margin-top: 8px;
  color: var(--text-secondary, var(--text-primary));
}
.imp-ko ul {
  margin: 6px 0 0 18px;
  padding: 0;
}
.imp-ko li {
  margin: 2px 0;
}
@media (max-width: 767px) {
  .drawer,
  .drawer.open {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 24px);
    border-radius: 22px 22px 0 0;
    border: 0;
    opacity: 1;
    transform: translateY(100%);
    transition: transform 300ms var(--ease-out);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg-surface);
  }
  .drawer.open {
    transform: none;
  }
  .drawer-head {
    padding: 16px 18px 12px;
  }
  .drawer-head::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 4px;
    background: var(--border-strong);
  }
  .drawer-close {
    width: 44px;
    height: 44px;
  }
  .drawer-body {
    padding: 14px 18px calc(20px + env(safe-area-inset-bottom));
  }
}
.drawer-scrim,
.cmdk-overlay,
.a21-voile {
  background: var(--ds-overlay);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.drawer {
  transition: transform 260ms var(--ds-ease);
}
.drawer-section {
  border-color: var(--ds-border);
}
.drawer,
.drawer.open {
  border-radius: var(--ds-r-xl);
}
.drawer-av {
  font: 600 15px/1 var(--ds-font);
}
.drawer-head h3 {
  font: 600 16px/1.3 var(--ds-font);
  letter-spacing: -.012em;
}
.drawer .ds-label {
  letter-spacing: 0;
  text-transform: none;
  color: var(--ds-text-3);
}
.drawer-etat .bd {
  max-width: max-content;
}
.drawer h4,
.drawer [class*="label"],
.drawer [class*="titre"] {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--ds-text-3);
  font-size: 12.5px;
}
:root[data-theme="light"] :is(.btn-secondary, .gr-btn, .al-btn, .cal-today-btn, .a21-aller, .a21-petit-lien):hover {
  background: #DCDCDC !important;
}
.drawer,
.cal-modal-card,
.cmdk-box,
.a21-panneau {
  background: var(--ds-surface);
  border: 0;
  border-radius: var(--ds-r-lg);
  box-shadow: var(--ds-shadow-pop);
}
.drawer-head,
.cal-modal-head,
.cal-modal-foot {
  border: 0;
}
html:root body :is(.drawer, .modal, [role="dialog"], .cal-modal) :is(.bd, .a21-puce) {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--ds-text-2) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
:is(.drawer, .modal, [role="dialog"], .cal-modal) .bd-success .d {
  background: var(--ds-success);
}
html:root body :is(.drawer, .modal, [role="dialog"], .cal-modal) .bd-warning .d {
  background: var(--ds-warning) !important;
}
:is(.drawer, .modal, [role="dialog"], .cal-modal) .bd-danger .d {
  background: var(--ds-danger);
}
html:root body .drawer .tl-dot {
  background: var(--ds-raised) !important;
}
html:root body .imp-carte {
  max-width: 620px !important;
  width: calc(100vw - 32px) !important;
}
.imp-carte .imp-depot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 26px 18px;
  border: 1.5px dashed var(--ds-border-strong);
  border-radius: 14px;
  background: var(--ds-hover);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.imp-carte .imp-depot:hover,
.imp-carte .imp-depot:focus-visible {
  border-color: var(--ds-text-2);
  background: var(--ds-active);
  outline: none;
}
.imp-carte .imp-depot svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ds-text-2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 4px;
  transition: transform 200ms cubic-bezier(.16, 1, .3, 1);
}
.imp-carte .imp-depot b {
  font: 500 14px/1.35 var(--ds-font);
}
.imp-carte .imp-depot span {
  font: 400 12.5px/1.4 var(--ds-font);
  color: var(--ds-text-3);
}
.imp-carte .imp-depot.imp-depot-survol {
  border-color: var(--ds-text);
  background: var(--ds-active);
  transform: scale(1.01);
}
.imp-carte .imp-depot.imp-depot-survol svg {
  transform: translateY(-3px);
}
.imp-carte .imp-depot.imp-depot-plein {
  border-style: solid;
  border-color: var(--ds-border);
  background: var(--ds-surface);
}
.imp-carte .imp-texte {
  min-height: 76px;
}
.imp-carte .imp-apercu {
  margin-top: 14px;
  border: 1px solid var(--ds-border);
  border-radius: 12px;
  overflow: hidden;
}
.imp-carte .imp-apercu-tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 12px;
  font: 400 12.5px/1.3 var(--ds-font);
  color: var(--ds-text-3);
  border-bottom: 1px solid var(--ds-border);
}
.imp-carte .imp-apercu-tete b {
  font-weight: 600;
  color: var(--ds-text);
}
.imp-carte .imp-tableau {
  overflow-x: auto;
}
.imp-carte .imp-tableau table {
  width: 100%;
  border-collapse: collapse;
  font: 400 12.5px/1.35 var(--ds-font);
}
.imp-carte .imp-tableau th {
  text-align: left;
  font-weight: 400;
  color: var(--ds-text-3);
  padding: 7px 12px;
  white-space: nowrap;
}
.imp-carte .imp-tableau td {
  padding: 7px 12px;
  border-top: 1px solid var(--ds-border);
  color: var(--ds-text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.imp-carte .imp-tableau td i {
  font-style: normal;
  color: var(--ds-text-3);
}
@media (prefers-reduced-motion: reduce) {
  .imp-carte .imp-depot,
  .imp-carte .imp-depot svg {
    transition: none;
  }
}
html:root body .imp-carte .imp-depot:focus,
html:root body .imp-carte .imp-depot:focus-visible {
  box-shadow: none !important;
}
.gc-case input[type="checkbox"] {
  margin-top: 1px;
}
@media (max-width: 767px) {
  .drawer:not(.open) {
    box-shadow: none;
  }
}
.drawer .drawer-head {
  align-items: center;
  padding-bottom: 10px;
}
.drawer .drawer-head h3 {
  margin: 0;
}
.drawer .drawer-etat {
  margin: 0 0 20px;
}
.drawer .drawer-det > summary {
  text-transform: none;
  letter-spacing: 0;
  font: 500 13px/1.4 var(--ds-font);
}
.drawer .drawer-det .alert-body b {
  display: none;
}
.drawer .drawer-det .alert-body span {
  color: var(--ds-text);
  font-size: 13px;
}
.drawer textarea.gr-champ {
  resize: none;
}
.drawer.drawer--profil .drawer-head {
  padding-bottom: 0;
  min-height: 0;
  justify-content: flex-end;
}
.drawer.drawer--profil .drawer-head > :not(.drawer-close) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.drawer .fp {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--ds-border, #ebebed);
  background: var(--ds-surface, #fff);
}
.drawer .fp-av {
  width: 88px;
  height: 88px;
  padding: 4px;
  border-radius: 50%;
  border: 2px solid var(--ds-border, #ebebed);
}
.drawer .fp-av span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--ds-text, #18181b);
  color: var(--ds-surface, #fff);
  font-size: 26px;
  letter-spacing: -.02em;
}
.drawer .fp-nom {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  text-wrap: balance;
}
.drawer .fp-role {
  margin-top: 4px;
}
.drawer .fp-bio {
  margin: 14px 0 0;
  color: var(--ds-text-3, #71717a);
}
.drawer .fp-bio::first-letter {
  text-transform: uppercase;
}
.drawer .fp-etat {
  margin-top: 8px;
}
.drawer .fp-ronds {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.drawer .fp-rond {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  background: var(--ds-raised, rgba(24, 24, 27, .045));
  color: var(--ds-text-2, #52525b);
  transition: background .25s ease-out, color .2s ease-out, transform .15s ease-out;
}
.drawer .fp-rond:hover {
  background: color-mix(in srgb, var(--ds-text, #18181b) 9%, transparent);
  color: var(--ds-text, #18181b);
}
.drawer .fp-rond:active {
  transform: scale(.94);
}
.drawer .fp-rond:focus-visible {
  outline-offset: 2px;
}
.drawer .fp-rond svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.drawer .fp-rond::after {
  content: attr(data-bulle);
  position: absolute;
  left: 50%;
  background: var(--ds-text, #18181b);
  color: var(--ds-surface, #fff);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity .25s ease-out, transform .25s ease-out;
  z-index: 5;
}
.drawer .fp-rond:hover::after,
.drawer .fp-rond:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.drawer .fp-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ds-text, #18181b);
  color: var(--ds-surface, #fff);
  text-decoration: none;
}
.drawer .fp-action svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .drawer .fp-rond,
  .drawer .fp-rond::after,
  .drawer .fp-action,
  .drawer .fp-action svg {
    transition: none;
  }
}
.drawer .fp-chiffres {
  display: flex;
  align-self: stretch;
  justify-content: center;
  border-top: 1px solid var(--ds-border, #ebebed);
  border-bottom: 1px solid var(--ds-border, #ebebed);
}
.drawer .fp-chiffres > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
}
.drawer .fp-chiffres > div + div {
  border-left: 1px solid var(--ds-border, #ebebed);
}
.drawer .fp-chiffres b {
  font-size: 17px;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.drawer .fp-chiffres span {
  font-size: 12px;
  color: var(--ds-text-3, #71717a);
}
.drawer.drawer--profil .drawer-body > .drawer-section,
.drawer.drawer--profil .drawer-body > .drawer-det {
  border: 1px solid var(--ds-border, #ebebed);
  background: var(--ds-surface, #fff);
}
.drawer.drawer--profil .drawer-body > .drawer-section > .ds-label,
.drawer.drawer--profil .drawer-det > summary {
  font-size: 13.5px;
  color: var(--ds-text, #18181b);
}
.drawer.drawer--profil .drawer-section > .ds-label {
  margin-bottom: 12px;
}
.drawer.drawer--profil .drawer-det[open] > summary {
  margin-bottom: 8px;
}
.drawer.drawer--profil .drawer-section > div:last-child {
  margin-bottom: 0 !important;
}
.drawer.drawer--profil .gr-notes .gr-vide {
  display: none;
}
.drawer.drawer--profil .gr-ajout {
  align-items: flex-end;
}
.drawer.drawer--profil .gr-ajout textarea {
  flex: 1;
  min-width: 0;
  min-height: 40px;
}
.drawer.drawer--profil .gr-ajout .btn {
  flex: none;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .drawer .fp-chiffres b {
    font-size: 15px;
  }
  .drawer.drawer--profil .gr-ajout {
    align-items: stretch;
  }
}
@media (max-width: 767px) {
  .drawer .fp-rond::after {
    display: none;
  }
  .drawer .fp-action {
    align-self: stretch;
    justify-content: center;
  }
}
.drawer .fp {
  margin: 0 0 16px;
  padding: 24px;
  border-radius: 20px;
}
.drawer .fp-av {
  margin-bottom: 12px;
}
.drawer .fp-av span {
  font-weight: 500;
}
.drawer .fp-nom {
  font-weight: 600;
  letter-spacing: -.02em;
}
.drawer .fp-role {
  color: var(--ds-text-2, #52525b);
}
.drawer .fp-bio {
  margin-top: 12px;
}
.drawer .fp-chiffres {
  margin: 20px 0;
  padding: 12px 0;
}
.drawer .fp-chiffres b {
  font-weight: 500;
}
.drawer .fp-rond {
  width: 44px;
  height: 44px;
}
.drawer .fp-rond svg {
  stroke-width: 1.600;
}
.drawer .fp-rond::after {
  padding: 4px 8px;
  border-radius: 6px;
  bottom: calc(100% + 8px);
}
.drawer .fp-action {
  margin-top: 20px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  transition: opacity .15s ease-out, transform .1s ease-out;
}
.drawer .fp-action:hover {
  opacity: .88;
}
.drawer .fp-action:active {
  transform: scale(.97);
}
.drawer.drawer--profil .drawer-body > .drawer-section,
.drawer.drawer--profil .drawer-body > .drawer-det {
  margin: 0 0 12px;
  padding: 16px 20px;
  border-radius: 16px;
}
@media (max-width: 767px) {
  .drawer.drawer--profil .fp {
    margin-top: 12px;
    padding: 24px 16px 20px;
  }
}
html:root:root body :is(#page-root, .drawer, .ag-survol) .bd .d {
  box-shadow: none !important;
  width: 7px !important;
  height: 7px !important;
}
html:root:root body :is(#page-root, .drawer) .bd {
  gap: 8px;
}
:is(#page-root, .drawer, .ag-survol) .bd .d::after,
:is(#page-root, .drawer, .ag-survol) .bd .d::before {
  display: none;
  animation: none;
}

/* ===== Fiche client v2 (22/11) : en-tête compact, résumé, liens discrets ===== */
.drawer:focus { outline: none; }
html:root body .drawer .fp.fp2 {
  display: block;
  text-align: left;
  padding: 20px;
  margin: 0 0 12px;
  border-radius: 16px;
}
.drawer .fp2-haut {
  display: flex;
  align-items: center;
  gap: 14px;
}
html:root body .drawer .fp2 .fp-av {
  width: 52px;
  height: 52px;
  padding: 0;
  margin: 0;
  border: 0;
  flex: none;
}
html:root body .drawer .fp2 .fp-av span { font-size: 17px; }
.drawer .fp2-id { flex: 1; min-width: 0; }
html:root body .drawer .fp2 .fp-nom { font-size: 19px; }
html:root body .drawer .fp2 .fp-role {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ds-text-3, #71717a);
}
.drawer .fp2-tel {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ds-text, #18181b);
  cursor: pointer;
  border-radius: 6px;
}
.drawer .fp2-tel svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--ds-text-3, #71717a);
  transition: color .15s ease-out;
}
.drawer .fp2-tel:hover svg { color: var(--ds-text, #18181b); }
.drawer .fp2-tel:focus-visible { outline: 2px solid var(--ds-text, #18181b); outline-offset: 2px; }
.drawer .fp2-tel::after {
  content: attr(data-bulle);
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--ds-text, #18181b);
  color: var(--ds-surface, #fff);
  font-size: 11.5px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-4px, -50%);
  transition: opacity .2s ease-out, transform .2s ease-out;
}
.drawer .fp2-tel:hover::after,
.drawer .fp2-tel.copie::after { opacity: 1; transform: translate(0, -50%); }
html:root body .drawer .fp2 .fp-action {
  flex: none;
  align-self: center;
  margin: 0;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13.5px;
  gap: 7px;
}
html:root body .drawer .fp2 .fp-action svg { width: 15px; height: 15px; stroke-width: 1.8; }
.drawer .fp2-resume {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--ds-border, #ebebed);
}
.drawer .fp2-resume > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 12px;
}
.drawer .fp2-resume > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--ds-border, #ebebed);
}
.drawer .fp2-resume span {
  font-size: 12px;
  color: var(--ds-text-3, #71717a);
}
.drawer .fp2-resume b {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ds-text, #18181b);
  font-variant-numeric: tabular-nums;
}
.drawer .fp2-resume b::first-letter { text-transform: uppercase; }
.drawer .fp2-resume b .bd { font-size: 13px; }
/* Coordonnées : actions en liens dans l'en-tête */
html:root body .drawer .gc-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.drawer .gc-liens { display: flex; gap: 14px; }
.drawer .gc-lien {
  all: unset;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ds-text-2, #52525b);
  transition: color .15s ease-out;
}
.drawer .gc-lien:hover { color: var(--ds-text, #18181b); text-decoration: underline; text-underline-offset: 3px; }
.drawer .gc-lien-danger { color: var(--danger, #EF4444); }
.drawer .gc-lien-danger:hover { color: var(--danger, #EF4444); }
.drawer .gc-lien:focus-visible { outline: 2px solid var(--ds-text, #18181b); outline-offset: 2px; border-radius: 4px; }
.drawer .gc-lien:disabled { opacity: .5; cursor: default; }
.drawer .gc-bloc .gc-l:last-child { border-bottom: 0; padding-bottom: 0; }
/* Bloc rendez-vous */
.drawer .fr-rdv + .fr-rdv { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ds-border, #ebebed); }
.drawer .fr-tete { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.drawer .fr-quand { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.drawer .fr-quand b { font-size: 14px; font-weight: 600; }
.drawer .fr-quand b::first-letter { text-transform: uppercase; }
.drawer .fr-quand span { font-size: 12.5px; color: var(--ds-text-3, #71717a); }
.drawer .fr-etat { flex: none; }
html:root body .drawer .fr-rdv .rj-bloc {
  padding: 0;
  margin: 0 0 14px;
  background: none;
  border: 0;
  font-size: 13px;
}
.drawer .fr-rdv > .gr-actions { margin-bottom: 14px; }
.drawer .gr-notes-titre { font-size: 12.5px; font-weight: 500; color: var(--ds-text-2, #52525b); }
.drawer .drawer-det > summary em {
  font-style: normal;
  margin-left: 6px;
  color: var(--ds-text-3, #71717a);
  font-weight: 400;
}
@media (max-width: 520px) {
  html:root body .drawer .fp.fp2 { padding: 16px; }
  .drawer .fp2-haut { flex-wrap: wrap; }
  html:root body .drawer .fp2 .fp-action { order: 3; width: 100%; justify-content: center; height: 42px; }
  .drawer .fp2-resume { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .drawer .fp2-resume > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 12px; border-top: 1px solid var(--ds-border, #ebebed); }
  .drawer .fp2-tel::after { display: none; }
}
/* Fiche v2 : pas d'anneau bleu à l'ouverture, en-tête plus serré, résumé qui respire */
html:root body .drawer:focus,
html:root body .drawer:focus-visible { outline: none !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .12) !important; }
html:root body .drawer.drawer--profil .drawer-head { padding: 12px 14px 0; }
html:root body .drawer.drawer--profil .drawer-body { padding-top: 8px; }
.drawer .fp2-resume { grid-template-columns: auto auto minmax(0, 1fr); }
.drawer .fp2-resume > div { padding-right: 20px; }
.drawer .fp2-resume > div + div { padding-left: 20px; }
.drawer .fp2-resume b { white-space: nowrap; }
@media (max-width: 520px) {
  .drawer .fp2-resume { grid-template-columns: 1fr; row-gap: 0; padding-top: 4px; }
  html:root body .drawer .fp2-resume > div,
  html:root body .drawer .fp2-resume > div:nth-child(3) {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    grid-column: auto;
    padding: 10px 0 0;
    border: 0;
    border-top: 0;
  }
  .drawer .fp2-resume b { white-space: normal; text-align: right; }
}
.drawer .fp2-resume > div:last-child { padding-right: 0; }
.drawer .fp2-resume > div:last-child b { white-space: normal; }
