/* =====================================================================
   Magasin XM : barre récapitulative, rangée des forfaits, comparatif et
   tiroir « Ma sélection » (lot L05, xm-bar.js).
   ---------------------------------------------------------------------
   - Téléphone d'abord : la barre est FIXE en bas (< 900 px) ; elle s'efface
     (.is-away + inert) hors de la zone du magasin et pendant la saisie. À
     l'ordinateur (>= 900 px), son emplacement colle en haut, sous l'en-tête
     (z 4000 < en-tête 5000) ; xm-bar.js le place avant la zone liste + carte.
   - Jetons hérités de .xm-root / .xm-dialog (xm-store.css). Préfixe xm-
     uniquement : aucune ancienne classe repeinte par brand-creme.css.
   - Variables posées par xm-bar.js : --xm-bar-h sur .xm-root (hauteur de la
     barre du bas, 0 à l'ordinateur), --xm-bar-top (.xm-root et html : barre du
     haut), --xm-bar-hp (html : barre du bas, pour scroll-padding-bottom).
   - html.xm-bar-zone (zone du magasin visible) : la barre remplace le bouton
     flottant hérité et le retour en haut.
   - Aucun prix barré (ni <s>, ni <del>, ni line-through).
   ===================================================================== */

/* ---- Emplacement de la barre ---- */
@media (max-width: 899px) {
  /* Barre fixe : l'emplacement ne prend aucune place (ni hauteur, ni écart du gabarit). */
  .xm-root > [data-xm-slot="bar"] { display: contents; }
}
@media (min-width: 900px) {
  .xm-root > [data-xm-slot="bar"] {
    position: sticky;
    top: var(--xm-header-h, 72px);
    z-index: var(--xm-z-bar, 4000);
  }
}

/* ---- Barre : téléphone (fixe en bas) ---- */
.xm-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--xm-z-bar, 4000);
  margin: 0;
  padding: 6px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--xm-surface, #FFFCF8);
  border-top: 1px solid var(--xm-line, #E7DECF);
  box-shadow: 0 -8px 24px rgba(46, 26, 71, .10);
  font-family: var(--xm-font);
  color: var(--xm-ink);
  transform: translateY(0);
  visibility: visible;
  transition: transform .25s ease, visibility 0s linear 0s;
}
.xm-bar.is-away {
  transform: translateY(calc(100% + 24px));
  visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.xm-bar__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "status cta" "price price" "months months";
  align-items: center;
  gap: 2px 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.xm-bar__status {
  grid-area: status;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.xm-root .xm-bar__line {
  display: block;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}
.xm-root button.xm-bar__open {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin: 0;
  padding: 0 4px 0 0;
  vertical-align: middle;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--xm-ink);
  font-family: var(--xm-font-title);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}
.xm-root button.xm-bar__open:hover .xm-bar__tier { text-decoration: underline; text-underline-offset: 3px; }
.xm-bar__open .xm-ico--chevron { flex: none; color: var(--xm-mauve); }
.xm-bar__why { display: inline-block; max-width: 100%; vertical-align: middle; }
.xm-bar__sep { color: var(--xm-muted); }
/* Téléphone : la raison passe souvent à la ligne ; le « · » visible en début de ligne serait
   orphelin. Il reste dans le texte (aria-hidden) mais sort du rendu ; le chevron sépare. */
@media (max-width: 899px) {
  .xm-bar__sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .xm-bar__why { margin-left: 2px; }
}
.xm-bar__reason { color: var(--xm-muted); font-weight: 600; }
.xm-bar__reason .xm-ico { margin-right: 3px; vertical-align: -2px; }
.xm-bar[data-state="ready"] .xm-bar__reason { color: var(--xm-green); font-weight: 700; }
.xm-root .xm-bar .xm-bar__network { min-height: 44px; padding: 0 14px; font-size: 14px; }
/* Téléphone : la durée s'affiche dans la barre quand la sélection est prête (dernier choix avant
   Continuer) ; pendant la sélection, la barre reste basse et la durée reste dans « Ma sélection ». */
.xm-root .xm-bar .xm-bar__months { grid-area: months; display: none; width: 100%; margin-top: 4px; }
.xm-root .xm-bar[data-state="ready"] .xm-bar__months { display: flex; }
.xm-root .xm-bar .xm-bar__months .xm-seg__label { min-height: 44px; }
.xm-root .xm-bar .xm-bar__selection { display: none; }
.xm-root .xm-bar__price {
  grid-area: price;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--xm-muted);
  font-variant-numeric: tabular-nums;
}
.xm-bar__price .xm-price__monthly { color: var(--xm-ink); font-size: 14px; font-weight: 800; }
.xm-price__nw { white-space: nowrap; }
/* Prix par emplacement (forfait ÷ ses emplacements) : ligne à part, plus discrète. */
.xm-price__pp { display: block; font-size: 12px; line-height: 1.35; color: var(--xm-muted); }
.xm-root .xm-bar .xm-bar__continue {
  grid-area: cta;
  min-height: 48px;
  padding: 0 20px;
  white-space: nowrap;
}

/* ---- Jauge n/cap (décorative : le texte porte l'information) ---- */
.xm-gauge {
  display: flex;
  gap: 3px;
  width: 100%;
  max-width: 220px;
  height: 6px;
}
.xm-gauge__seg { flex: 1 1 0; min-width: 2px; border-radius: 3px; background: var(--xm-line); }
.xm-gauge__seg.is-on { background: var(--xm-mauve); }
.xm-gauge[data-shape="fill"] { overflow: hidden; border-radius: 3px; background: var(--xm-line); }
.xm-gauge__fill { display: block; height: 100%; border-radius: 3px; background: var(--xm-mauve); transition: width .2s ease; }
.xm-gauge.is-ready .xm-gauge__seg.is-on,
.xm-gauge.is-ready .xm-gauge__fill { background: var(--xm-green); }

/* ---- Barre : ordinateur (collante en haut) ---- */
@media (min-width: 900px) {
  .xm-bar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 10px 16px;
    border: 1px solid var(--xm-line);
    border-radius: var(--xm-radius-lg);
    box-shadow: var(--xm-shadow);
    transform: none;
    visibility: visible;
    transition: none;
  }
  .xm-bar.is-away { transform: none; visibility: visible; }
  .xm-bar__inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto auto;
    grid-template-areas: "status months price selection cta";
    gap: 6px 16px;
  }
  .xm-root .xm-bar .xm-bar__months { display: inline-flex; width: auto; margin-top: 0; }
  .xm-root .xm-bar .xm-bar__months .xm-seg__label { min-height: 40px; }
  .xm-root .xm-bar__price { max-width: 300px; }
  .xm-root .xm-bar .xm-bar__selection { display: inline-flex; grid-area: selection; padding: 0 16px; }
  .xm-root button.xm-bar__open { min-height: 32px; }
  .xm-root .xm-bar .xm-bar__network { min-height: 36px; }
  .xm-bar__price .xm-price__monthly { font-size: 18px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  /* Le panier de l'en-tête ouvre déjà le tiroir : on garde la place pour l'essentiel. */
  .xm-bar__inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas: "status months price cta";
  }
  .xm-root .xm-bar__price { max-width: 230px; }
  .xm-root .xm-bar .xm-bar__selection { display: none; }
}
/* Ordinateur : la carte collante et les ancres tiennent compte de la barre du haut. */
@media (min-width: 900px) {
  .xm-root.xm-has-bar [data-xm-slot] { scroll-margin-top: calc(var(--xm-header-h, 72px) + var(--xm-bar-top, 72px) + 24px); }
  .xm-root.xm-has-bar .xm-browse > [data-xm-slot="map"] { top: calc(var(--xm-header-h, 72px) + var(--xm-bar-top, 72px) + 16px); }
}

/* ---- Sélecteur de durée 12 · 6 · 1 mois (radios natives) ---- */
.xm-root .xm-seg,
.xm-dialog .xm-seg {
  display: inline-flex;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  margin: 0;
  padding: 3px;
  border: 1.5px solid var(--xm-line-strong);
  border-radius: 12px;
  background: var(--xm-white);
}
.xm-seg__opt { position: relative; display: flex; flex: 1 1 auto; margin: 0; cursor: pointer; }
.xm-seg__opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.xm-seg__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 9px;
  color: var(--xm-ink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.xm-seg__opt:hover .xm-seg__label { background: var(--xm-mauve-soft); }
.xm-seg__opt input:checked + .xm-seg__label { background: var(--xm-mauve); color: #fff; }
.xm-seg__opt input:focus-visible + .xm-seg__label { box-shadow: var(--xm-focus); }

/* ---- Rangée « 5 · 10 · 15 · Tout le réseau » ---- */
.xm-tiers { display: flex; flex-direction: column; gap: 14px; }
.xm-tiers__head { display: flex; flex-direction: column; gap: 4px; }
.xm-root .xm-tiers__title { font-size: clamp(20px, 2.2vw, 24px); font-weight: 800; }
.xm-tiers__text { display: flex; flex-direction: column; gap: 2px; }
.xm-root .xm-tiers__lead { color: var(--xm-ink); font-size: 15px; font-weight: 600; }
.xm-root .xm-tiers__note { color: var(--xm-muted); font-size: 14px; }
.xm-tiers__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.xm-root button.xm-tier {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid var(--xm-line);
  border-radius: var(--xm-radius);
  background: var(--xm-surface);
  color: var(--xm-ink);
  font-family: var(--xm-font);
  text-align: left;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.xm-root button.xm-tier:hover { border-color: var(--xm-mauve); background: var(--xm-white); }
.xm-root button.xm-tier[aria-pressed="true"] {
  border-color: var(--xm-mauve);
  background: var(--xm-mauve-soft);
  box-shadow: 0 0 0 1px var(--xm-mauve);
}
.xm-root button.xm-tier:focus-visible { box-shadow: var(--xm-focus); }
.xm-tier__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.xm-tier__count { font-family: var(--xm-font-title); font-size: 26px; font-weight: 800; line-height: 1.1; }
.xm-tier--network .xm-tier__count { padding-top: 4px; font-size: 18px; line-height: 1.2; }
.xm-tier__unit { color: var(--xm-muted); font-size: 14px; }
.xm-tier__name { color: var(--xm-mauve); font-size: 14px; font-weight: 700; }
.xm-tier__price { color: var(--xm-ink); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.xm-tier__pp { color: var(--xm-muted); font-size: 12px; line-height: 1.3; font-variant-numeric: tabular-nums; }

/* ---- Comparatif compact des forfaits (repliable) ---- */
.xm-compare {
  border: 1px solid var(--xm-line);
  border-radius: var(--xm-radius);
  background: var(--xm-surface);
}
.xm-compare__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--xm-radius);
  color: var(--xm-ink);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.xm-compare__summary::-webkit-details-marker { display: none; }
.xm-compare__summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid var(--xm-mauve);
  border-bottom: 2px solid var(--xm-mauve);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s;
}
.xm-compare[open] .xm-compare__summary::after { transform: translateY(2px) rotate(-135deg); }
.xm-compare__summary:hover { background: var(--xm-white); }
.xm-compare__scroll { overflow-x: auto; padding: 0 16px 14px; }
.xm-compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.xm-compare__caption { padding: 0 0 8px; caption-side: top; color: var(--xm-muted); font-size: 14px; text-align: left; }
.xm-compare__table th,
.xm-compare__table td { padding: 10px 8px; border-bottom: 1px solid var(--xm-line); text-align: left; white-space: nowrap; }
.xm-compare__table thead th { color: var(--xm-muted); font-size: 13px; font-weight: 700; }
.xm-compare__table tbody th { color: var(--xm-ink); font-weight: 700; }
.xm-compare__table .xm-num { text-align: right; }
.xm-compare__table tr.is-current th,
.xm-compare__table tr.is-current td { background: var(--xm-mauve-soft); }
.xm-compare__badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--xm-mauve);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

/* ---- Tiroir « Ma sélection » (XmUI.sheet, classe xm-dialog--drawer) ---- */
.xm-dialog--drawer .xm-dialog__box {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 0;
}
.xm-dialog--drawer .xm-dialog__body { flex: 1 0 auto; }
.xm-dialog--drawer .xm-dialog__body > .xm-drawer { flex: 1 0 auto; }
@media (min-width: 900px) {
  /* Panneau latéral droit, pleine hauteur. */
  dialog.xm-dialog.xm-dialog--drawer {
    width: min(480px, 100vw);
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0 0 0 auto;
  }
  .xm-dialog--drawer .xm-dialog__box {
    max-width: none;
    height: 100%;
    max-height: none;
    border-right: 0;
    border-radius: var(--xm-radius-lg) 0 0 var(--xm-radius-lg);
  }
}
@media (max-width: 899px) {
  /* Feuille du bas. */
  dialog.xm-dialog.xm-dialog--drawer {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    margin: auto 0 0;
  }
  .xm-dialog--drawer .xm-dialog__box {
    max-width: none;
    max-height: 92vh;
    max-height: 92dvh;
    padding: 26px 18px 0;
    border-radius: 18px 18px 0 0;
  }
  .xm-dialog--drawer .xm-dialog__box::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 2px;
    background: var(--xm-line-strong);
  }
}
.xm-drawer { display: flex; flex-direction: column; gap: 12px; }
.xm-dialog .xm-drawer__state {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--xm-radius);
  background: var(--xm-mauve-soft);
  color: var(--xm-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.xm-dialog .xm-drawer__state.is-ready { background: var(--xm-green-soft); color: var(--xm-green); }
.xm-drawer__state .xm-ico { flex: none; margin-top: 2px; }
.xm-dialog .xm-drawer__state:focus { outline: none; }
.xm-dialog .xm-drawer__state:focus-visible { box-shadow: var(--xm-focus); }
.xm-dialog .xm-drawer__network { align-self: flex-start; min-height: 44px; }
.xm-drawer__list { margin: 0; padding: 0; list-style: none; }
.xm-drawer__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-areas: "thumb info acts" "swap swap swap";
  align-items: center;
  gap: 4px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--xm-line);
}
.xm-drawer__thumb {
  grid-area: thumb;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--xm-mauve-soft);
  color: var(--xm-mauve);
}
.xm-drawer__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.xm-drawer__info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.xm-drawer__name { color: var(--xm-ink); font-size: 15px; font-weight: 700; line-height: 1.3; }
.xm-drawer__meta { color: var(--xm-muted); font-size: 13px; line-height: 1.35; }
.xm-drawer__acts { grid-area: acts; display: flex; flex-wrap: wrap; gap: 6px; }
.xm-dialog .xm-drawer__acts .xm-btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
.xm-drawer__swap {
  grid-area: swap;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--xm-line);
  border-radius: var(--xm-radius);
  background: var(--xm-white);
}
.xm-dialog .xm-drawer__swapTitle { color: var(--xm-ink); font-size: 15px; font-weight: 700; }
.xm-dialog .xm-drawer__swapHint { font-size: 13px; }
.xm-drawer__cands {
  max-height: 264px;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  border-top: 1px solid var(--xm-line);
  list-style: none;
}
.xm-dialog button.xm-drawer__cand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid var(--xm-line);
  border-radius: 0;
  background: transparent;
  color: var(--xm-ink);
  font-family: var(--xm-font);
  text-align: left;
  cursor: pointer;
}
.xm-dialog button.xm-drawer__cand:hover { background: var(--xm-mauve-soft); }
.xm-dialog button.xm-drawer__cand:focus-visible { box-shadow: inset 0 0 0 3px var(--xm-mauve); }
.xm-drawer__candName { font-size: 15px; font-weight: 700; line-height: 1.3; }
.xm-drawer__candMeta { color: var(--xm-muted); font-size: 13px; line-height: 1.35; }
.xm-dialog .xm-drawer__swapCancel { align-self: flex-start; min-height: 44px; }
.xm-drawer__empty { padding: 24px 4px; text-align: center; }
.xm-dialog .xm-drawer__emptyTitle { color: var(--xm-ink); font-size: 17px; font-weight: 700; }
.xm-dialog .xm-drawer__emptyHint { font-size: 15px; }
.xm-dialog .xm-drawer__empty:focus { outline: none; }
.xm-dialog .xm-drawer__empty:focus-visible { box-shadow: var(--xm-focus); border-radius: var(--xm-radius); }
.xm-drawer__foot {
  position: sticky;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: auto -20px 0;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--xm-surface);
  border-top: 1px solid var(--xm-line);
  box-shadow: 0 -8px 20px rgba(46, 26, 71, .06);
}
.xm-dialog .xm-drawer__months { display: flex; width: 100%; }
.xm-dialog .xm-drawer__months .xm-seg__label { min-height: 44px; }
.xm-dialog .xm-drawer__price { margin: 0; color: var(--xm-muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.xm-dialog .xm-drawer__price .xm-price__monthly { color: var(--xm-ink); font-family: var(--xm-font-title); font-size: 22px; font-weight: 800; }
.xm-dialog .xm-drawer__note { font-size: 13px; line-height: 1.45; }
.xm-dialog .xm-drawer__continue { width: 100%; min-height: 52px; font-size: 17px; }
.xm-drawer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
}
.xm-dialog button.xm-drawer__clear {
  min-height: 44px;
  margin: 0;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--xm-ink);
  font-family: var(--xm-font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.xm-dialog button.xm-drawer__clear:hover { color: var(--xm-red-dark); }
.xm-dialog .xm-drawer__links a.xm-tel { font-size: 15px; }

/* ---- Téléphone ---- */
@media (max-width: 899px) {
  .xm-drawer__foot { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .xm-drawer__item {
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas: "thumb info" "thumb acts" "swap swap";
  }
  .xm-drawer__thumb { align-self: start; width: 48px; height: 48px; }
  .xm-dialog .xm-drawer__acts .xm-btn { min-height: 44px; }
}
@media (max-width: 599px) {
  .xm-tiers__row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .xm-root button.xm-tier { min-height: 84px; padding: 12px 14px; }
  .xm-tier__count { font-size: 22px; }
  .xm-compare__scroll { padding: 0 10px 12px; }
  .xm-compare__table th,
  .xm-compare__table td { padding: 8px 6px; white-space: normal; }
  /* La colonne « Par emplacement par mois » reste visible au téléphone (prix par emplacement exigé partout). */
  .xm-compare__table { font-size: 12px; }
  .xm-compare__table th,
  .xm-compare__table td { padding: 7px 3px; }
  .xm-compare__table thead th { font-size: 11px; -webkit-hyphens: auto; hyphens: auto; }
}

/* ---- La barre remplace le bouton flottant hérité et, sur la zone du magasin, le retour en haut ----
   Spécificité d'ID + !important : seule façon de battre les règles des pages et de brand-creme.css. */
html.xm-on #floating-add-to-cart { display: none !important; }
html.xm-on.xm-bar-zone #back-to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* Le focus clavier n'est jamais caché sous la barre (WCAG 2.4.11). */
@media (max-width: 899px) {
  html.xm-bar-zone { scroll-padding-bottom: calc(var(--xm-bar-hp, 96px) + 16px); }
}
@media (min-width: 900px) {
  html.xm-bar-zone { scroll-padding-top: calc(var(--xh-h, 72px) + var(--xm-bar-top, 72px) + 16px); }
}

/* ---- Préférences du système ---- */
@media (prefers-reduced-motion: reduce) {
  .xm-bar,
  .xm-bar.is-away,
  .xm-gauge__fill,
  .xm-seg__label,
  .xm-root button.xm-tier,
  .xm-compare__summary::after { transition: none !important; }
}
@media (forced-colors: active) {
  .xm-seg__opt input:checked + .xm-seg__label { outline: 2px solid CanvasText; }
  .xm-root button.xm-tier[aria-pressed="true"] { outline: 3px solid Highlight; }
  .xm-gauge__seg.is-on,
  .xm-gauge__fill { background: Highlight; }
}
