/* Refonte des écrans de relance d'EMCC (31/10/2026, drapeau emcc_relances_v2, créé éteint) : « Renouvellements
   impayés » (#sEr2, écran pilote, tableau et fiche à droite, mode série) et « Paniers non finalisés » (#sEp2).
   Maquettes validées par la direction : workspace/Desk-Refonte-globale/emcc-refonte-3110/ (classes f2- de la
   maquette reprises ici sous le préfixe rv2-). Tout est scopé sous #sEr2 / #sEp2 (et #uiDlg .rv2- pour les boîtes
   du Desk). Couleurs : rouge de marque pour LE bouton principal de l'écran (en-tête), marine pour les autres
   boutons pleins, vert pour ce qui est fait, ambre seulement pour ce qui bloque, violet pour l'IA (jetons du Desk). */
:is(#sEr2,#sEp2){--rv2-mut:#56656f;--rv2-blue:#2563eb;--rv2-blue-soft:#e8f0fe;--rv2-blue-ink:#1b5fa8;
  --rv2-green:#18794e;--rv2-green-soft:#e3f4ea;--rv2-amber:#9a5b0b;--rv2-amber-soft:#fdf2df;--rv2-red:#c42b37;--rv2-red-soft:#fdecee;
  --rv2-shadow:0 1px 2px rgba(15,29,51,.05);--rv2-row:58px;--rv2-pri:var(--navy);--rv2-pri-h:var(--navy2);
  --rv2-brand:#c92d3a;--rv2-brand-h:#b8242f;--rv2-mail:var(--card2);--rv2-dot:#b6c3cb;--rv2-apart:#c3cfd6}
html.theme-dark :is(#sEr2,#sEp2){--rv2-mut:#a3b6c1;--rv2-blue:#2f66d8;--rv2-blue-soft:#1f4560;--rv2-blue-ink:#9ccaf5;
  --rv2-green:#6fd896;--rv2-green-soft:#173f2e;--rv2-amber:#f2c06e;--rv2-amber-soft:#3a3218;--rv2-red:#ff9aa2;--rv2-red-soft:#3a2229;
  --rv2-shadow:none;--rv2-pri:#2b5a70;--rv2-pri-h:#336a83;--rv2-brand:#c92d3a;--rv2-brand-h:#b8242f;--rv2-mail:#13303b;--rv2-dot:#5c7a89;
  --rv2-apart:#3d6272}
:is(#sEr2,#sEp2).wrap{max-width:none;margin:0;padding:0}
:is(#sEr2,#sEp2).screen.on{container-type:inline-size;display:flex;flex-direction:column;height:calc(100vh - var(--topdock,0px));min-height:600px;overflow:hidden;
  padding:14px 112px 16px 28px;box-sizing:border-box;font-family:'Montserrat',system-ui,sans-serif;color:var(--txt);font-size:13px;line-height:1.35;
  -webkit-font-smoothing:antialiased}
/* la marge de droite (112 px) laisse 19 px entre l'écran et les boutons flottants du Desk (téléphone, messagerie, copilote) */
:is(#sEr2,#sEp2) *,:is(#sEr2,#sEp2) *::before,:is(#sEr2,#sEp2) *::after{box-sizing:border-box}
:is(#sEr2,#sEp2) svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
:is(#sEr2,#sEp2) button,:is(#sEr2,#sEp2) input,:is(#sEr2,#sEp2) select,:is(#sEr2,#sEp2) textarea{font-family:inherit}
:is(#sEr2,#sEp2) a{cursor:pointer}

/* ---------- en-tête ---------- */
:is(#sEr2,#sEp2) .rv2-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;height:58px;margin:0 0 14px;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-crumb{font-size:12px;font-weight:500;color:var(--rv2-mut);height:16px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-crumb a{color:var(--rv2-mut);text-decoration:none}
:is(#sEr2,#sEp2) .rv2-crumb a:hover{color:var(--ink);text-decoration:underline}
:is(#sEr2,#sEp2) .rv2-titre{display:flex;align-items:center;gap:12px;margin-top:6px;height:34px;min-width:0}
:is(#sEr2,#sEp2) .rv2-h1{font-size:21px;font-weight:800;color:var(--ink);letter-spacing:.02em;line-height:30px;margin:0;white-space:nowrap;text-transform:uppercase}
:is(#sEr2,#sEp2) .rv2-per{display:inline-flex;align-items:center;gap:2px;height:30px;border:1px solid var(--line);border-radius:10px;background:var(--card);
  padding:0 4px;font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-per span{padding:0 6px}
:is(#sEr2,#sEp2) .rv2-per button{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;color:var(--rv2-mut);border-radius:6px;
  border:0;background:transparent;padding:0;cursor:pointer}
:is(#sEr2,#sEp2) .rv2-per button:hover:not(:disabled){background:var(--card2);color:var(--ink)}
:is(#sEr2,#sEp2) .rv2-per button:disabled{opacity:.35;cursor:default}
:is(#sEr2,#sEp2) .rv2-per svg{width:14px;height:14px}
:is(#sEr2,#sEp2) .rv2-acts{display:flex;align-items:center;gap:8px;flex:0 0 auto;position:relative}

/* ---------- boutons ---------- */
:is(#sEr2,#sEp2) .rv2-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:36px;padding:0 14px;border-radius:10px;
  border:1px solid var(--line);background:var(--card);color:var(--ink);font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer;
  text-decoration:none;line-height:1;font-family:inherit}
:is(#sEr2,#sEp2) .rv2-btn svg{width:16px;height:16px}
:is(#sEr2,#sEp2) .rv2-btn:hover:not(:disabled){background:var(--card2);color:var(--ink)}
:is(#sEr2,#sEp2) .rv2-btn:disabled{opacity:.55;cursor:default}
:is(#sEr2,#sEp2) .rv2-btn.p{background:var(--rv2-pri);border-color:var(--rv2-pri);color:#fff}
:is(#sEr2,#sEp2) .rv2-btn.p:hover:not(:disabled){background:var(--rv2-pri-h);border-color:var(--rv2-pri-h);color:#fff}
:is(#sEr2,#sEp2) .rv2-head .rv2-btn.p{background:var(--rv2-brand);border-color:var(--rv2-brand);color:#fff}
:is(#sEr2,#sEp2) .rv2-head .rv2-btn.p:hover:not(:disabled){background:var(--rv2-brand-h);border-color:var(--rv2-brand-h);color:#fff}
:is(#sEr2,#sEp2) .rv2-btn.ic{width:32px;height:32px;padding:0;color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-btn.ic:hover:not(:disabled){color:var(--ink)}
:is(#sEr2,#sEp2) .rv2-btn.aide{border-radius:18px;padding:0 13px 0 6px;color:var(--ink);font-weight:600}
:is(#sEr2,#sEp2) .rv2-btn.aide .q{width:24px;height:24px;border-radius:50%;background:var(--navy);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}
html.theme-dark :is(#sEr2,#sEp2) .rv2-btn.aide .q{background:#2b5a70}
:is(#sEr2,#sEp2) .rv2-btn.sm{height:34px;font-size:12.5px;padding:0 12px}
:is(#sEr2,#sEp2) .rv2-btn.row{width:132px;height:36px;font-size:12.5px;padding:0}
:is(#sEr2,#sEp2) .rv2-btn.lien{border-color:transparent;background:transparent;color:var(--rv2-blue-ink);padding:0 6px;height:30px}
:is(#sEr2,#sEp2) .rv2-btn.lien:hover:not(:disabled){background:var(--rv2-blue-soft);color:var(--rv2-blue-ink)}
:is(#sEr2,#sEp2) .rv2-lienia{color:var(--ia-ink);font-weight:700;font-size:12.5px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
  background:transparent;border:0;padding:0;cursor:pointer;font-family:inherit;text-decoration:none}
:is(#sEr2,#sEp2) .rv2-lienia:hover{text-decoration:underline}
:is(#sEr2,#sEp2) .rv2-lienia svg{width:14px;height:14px}
:is(#sEr2,#sEp2) .rv2-a{color:var(--rv2-blue-ink);font-weight:700;text-decoration:none}
:is(#sEr2,#sEp2) .rv2-a:hover{text-decoration:underline}

/* menu « ⋯ » */
:is(#sEr2,#sEp2) .rv2-menu{position:absolute;top:42px;right:0;z-index:40;min-width:230px;background:var(--card);border:1px solid var(--line);border-radius:12px;
  box-shadow:0 10px 30px rgba(15,29,51,.16);padding:6px;display:flex;flex-direction:column}
:is(#sEr2,#sEp2) .rv2-menu a,:is(#sEr2,#sEp2) .rv2-menu button{display:flex;align-items:center;gap:10px;height:36px;padding:0 10px;border-radius:8px;border:0;background:transparent;
  font-size:13px;font-weight:600;color:var(--ink);text-decoration:none;cursor:pointer;white-space:nowrap;text-align:left;font-family:inherit}
:is(#sEr2,#sEp2) .rv2-menu a:hover,:is(#sEr2,#sEp2) .rv2-menu button:hover{background:var(--card2)}
:is(#sEr2,#sEp2) .rv2-menu svg{color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-menu.onglets{top:40px;left:0;right:auto}
:is(#sEr2,#sEp2) .rv2-menu.onglets button{justify-content:space-between;gap:18px}

/* ---------- indicateurs (4 cartes avec icône, cliquables) ---------- */
:is(#sEr2,#sEp2) .rv2-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-kpi{display:grid;grid-template-columns:36px minmax(0,1fr) 14px;align-items:center;column-gap:11px;height:68px;padding:0 14px;
  background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--rv2-shadow);cursor:pointer;position:relative;text-align:left;
  font-family:inherit;color:inherit;width:100%}
:is(#sEr2,#sEp2) .rv2-kpi:hover{border-color:#b9c6cf}
html.theme-dark :is(#sEr2,#sEp2) .rv2-kpi:hover{border-color:#4c7486}
:is(#sEr2,#sEp2) .rv2-kpi.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
:is(#sEr2,#sEp2) .rv2-kpi > svg{width:14px;height:14px;color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-kpi .t{min-width:0}
:is(#sEr2,#sEp2) .rv2-kpi .v{display:flex;align-items:baseline;gap:8px;font-size:22px;font-weight:800;color:var(--ink);line-height:26px;white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-kpi .v small{font-size:12.5px;font-weight:700;color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-kpi .l{font-size:12px;font-weight:600;color:var(--rv2-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:17px}
:is(#sEr2,#sEp2) .rv2-ico{width:36px;height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-ico svg{width:17px;height:17px}
:is(#sEr2,#sEp2) .rv2-ico.b{background:var(--rv2-blue-soft);color:var(--rv2-blue-ink)}
:is(#sEr2,#sEp2) .rv2-ico.g{background:var(--rv2-green-soft);color:var(--rv2-green)}
:is(#sEr2,#sEp2) .rv2-ico.n{background:var(--card2);color:var(--rv2-mut)}

/* bandeau de l'alerte des paiements rejetés (veille des boîtes) : information, une ligne */
:is(#sEr2,#sEp2) .rv2-bandeau{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 14px;margin:-4px 0 12px;border-radius:12px;flex:0 0 auto;
  background:var(--rv2-amber-soft);color:var(--rv2-amber);font-size:12.5px;line-height:18px}
:is(#sEr2,#sEp2) .rv2-bandeau b{color:inherit}

/* ---------- zone de travail (hauteur restante, chaque côté défile seul) ---------- */
:is(#sEr2,#sEp2) .rv2-zone{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
:is(#sEr2,#sEp2) .rv2-carte{background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--rv2-shadow);position:relative;min-width:0;
  display:flex;flex-direction:column;max-height:100%;min-height:0;overflow:hidden;flex:0 1 auto}
:is(#sEr2,#sEp2) .rv2-carte:has(.rv2-menu){overflow:visible}
:is(#sEr2,#sEp2) .rv2-bar{display:flex;align-items:center;gap:10px;height:54px;padding:0 12px;border-bottom:1px solid var(--line);flex:0 0 auto;position:relative}
:is(#sEr2,#sEp2) .rv2-tabs{display:inline-flex;gap:2px;padding:3px;background:var(--card2);border:1px solid var(--line);border-radius:10px;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-tab{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 10px;border-radius:8px;font-size:12.5px;font-weight:700;color:var(--rv2-mut);
  white-space:nowrap;cursor:pointer;border:0;background:transparent;font-family:inherit}
:is(#sEr2,#sEp2) .rv2-tab:hover{color:var(--ink)}
:is(#sEr2,#sEp2) .rv2-tab.on{background:var(--card);color:var(--ink);box-shadow:0 1px 3px rgba(15,29,51,.14)}
html.theme-dark :is(#sEr2,#sEp2) .rv2-tab.on{background:#24485a;box-shadow:none}
:is(#sEr2,#sEp2) .rv2-tabsep{width:1px;height:22px;background:var(--line);margin:0 2px;flex:0 0 auto;align-self:center}
:is(#sEr2,#sEp2) .rv2-cnt{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;font-size:11px;font-weight:800;line-height:1;flex:0 0 auto;
  background:var(--card);color:var(--rv2-mut);border:1px solid var(--line);padding-top:1px;font-variant-numeric:tabular-nums}
:is(#sEr2,#sEp2) .rv2-cnt.p3{font-size:9.5px;letter-spacing:-.02em}
:is(#sEr2,#sEp2) .rv2-tab.on .rv2-cnt,:is(#sEr2,#sEp2) .rv2-cnt.b{background:var(--rv2-blue-soft);color:var(--rv2-blue-ink);border-color:transparent}
:is(#sEr2,#sEp2) .rv2-search{flex:1;min-width:120px;display:flex;align-items:center;gap:8px;height:34px;border:1px solid var(--line);border-radius:10px;padding:0 11px;
  color:var(--rv2-mut);font-size:12.5px;background:var(--card)}
:is(#sEr2,#sEp2) .rv2-search svg{width:15px;height:15px}
:is(#sEr2,#sEp2) .rv2-search input{border:0;outline:0;background:transparent;color:var(--txt);font-size:12.5px;flex:1;min-width:0;height:30px;padding:0}
:is(#sEr2,#sEp2) .rv2-search input::placeholder{color:var(--rv2-mut);opacity:1}
:is(#sEr2,#sEp2) .rv2-filtre{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 6px 0 12px;border-radius:10px;background:var(--rv2-blue-soft);
  color:var(--rv2-blue-ink);font-size:12.5px;font-weight:700;white-space:nowrap;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-filtre button{width:24px;height:24px;border:0;border-radius:6px;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
:is(#sEr2,#sEp2) .rv2-filtre button:hover{background:rgba(27,95,168,.12)}
:is(#sEr2,#sEp2) .rv2-filtre svg{width:14px;height:14px}

/* ---------- tableau ---------- */
:is(#sEr2,#sEp2) .rv2-cols,:is(#sEr2,#sEp2) .rv2-r{display:grid;align-items:center;column-gap:16px;padding:0 16px}
:is(#sEr2,#sEp2) .rv2-cols{height:36px;border-bottom:1px solid var(--line);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--rv2-mut);flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-cols span{white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-cols .d,:is(#sEr2,#sEp2) .rv2-r .d{text-align:right}
:is(#sEr2,#sEp2) .rv2-defile{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
:is(#sEr2,#sEp2) .rv2-g{display:flex;align-items:center;gap:10px;height:38px;padding:0 16px;background:var(--card2);border-bottom:1px solid var(--line);font-size:12.5px;font-weight:800;color:var(--ink);
  white-space:nowrap;overflow:hidden}
:is(#sEr2,#sEp2) .rv2-g > span:not(.rv2-cnt){font-weight:600;color:var(--rv2-mut);overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-g .rv2-cnt{margin-left:auto}
:is(#sEr2,#sEp2) .rv2-r{height:var(--rv2-row);border-bottom:1px solid var(--line);cursor:pointer;position:relative}
:is(#sEr2,#sEp2) .rv2-r:hover{background:color-mix(in srgb,var(--card2) 55%,transparent)}
:is(#sEr2,#sEp2) .rv2-r.on{background:var(--sel)}
:is(#sEr2,#sEp2) .rv2-r.on::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--rv2-blue)}
html.theme-dark :is(#sEr2,#sEp2) .rv2-r.on .sb{color:#c6d5dc}
:is(#sEr2,#sEp2) .rv2-r .p{min-width:0}
:is(#sEr2,#sEp2) .rv2-r .nm{font-size:13.5px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:18px}
:is(#sEr2,#sEp2) .rv2-r .sb{font-size:12px;color:var(--rv2-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:17px;margin-top:2px}
:is(#sEr2,#sEp2) .rv2-r .m{font-size:13.5px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-r .dt{min-width:0}
:is(#sEr2,#sEp2) .rv2-r .dt b{display:block;font-size:13px;font-weight:700;color:var(--ink);line-height:18px;white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-r .dt span{display:block;font-size:12px;color:var(--rv2-mut);line-height:17px;white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-r .act{display:flex;justify-content:flex-end}
:is(#sEr2,#sEp2) .rv2-r > div{min-width:0}
:is(#sEr2,#sEp2) .rv2-chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 9px;border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap;
  background:var(--card2);color:var(--ink);border:1px solid var(--line);max-width:100%;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-chip.g{background:var(--rv2-green-soft);color:var(--rv2-green);border-color:transparent}
:is(#sEr2,#sEp2) .rv2-chip.a{background:var(--rv2-amber-soft);color:var(--rv2-amber);border-color:transparent}
:is(#sEr2,#sEp2) .rv2-chip.b{background:var(--rv2-blue-soft);color:var(--rv2-blue-ink);border-color:transparent}
:is(#sEr2,#sEp2) .rv2-suivi{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;color:var(--rv2-mut);overflow:hidden}
:is(#sEr2,#sEp2) .rv2-suivi i{width:9px;height:9px;border-radius:50%;background:var(--card);border:1.5px solid var(--rv2-dot);flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-suivi i.f{background:var(--rv2-blue);border-color:var(--rv2-blue)}
:is(#sEr2,#sEp2) .rv2-suivi em{font-style:normal;margin-left:4px;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-pied{display:flex;align-items:center;justify-content:space-between;gap:12px;height:48px;padding:0 16px;font-size:12.5px;color:var(--rv2-mut);
  border-bottom:1px solid var(--line)}
:is(#sEr2,#sEp2) .rv2-pied:last-child{border-bottom:0}
:is(#sEr2,#sEp2) .rv2-pied > span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-vide{padding:26px 18px;font-size:13px;color:var(--rv2-mut);line-height:20px}
:is(#sEr2,#sEp2) .rv2-vide b{color:var(--ink)}
:is(#sEr2,#sEp2) .rv2-load{display:flex;align-items:center;gap:10px;padding:22px 18px;font-size:13px;color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-spin{width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--rv2-blue);border-radius:50%;animation:rv2Spin .8s linear infinite;flex:0 0 auto}
@keyframes rv2Spin{to{transform:rotate(360deg)}}
:is(#sEr2,#sEp2) .rv2-err{color:var(--rv2-red)}

/* ---------- vue scindée : liste + fiche ---------- */
:is(#sEr2,#sEp2) .rv2-split{display:grid;grid-template-columns:minmax(0,460px) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:14px;flex:1 1 auto;min-height:0}
:is(#sEr2,#sEp2) .rv2-col-g{min-width:0;min-height:0;display:flex;flex-direction:column}
:is(#sEr2,#sEp2) .rv2-col-g > .rv2-carte{flex:0 1 auto}
:is(#sEr2,#sEp2) .rv2-select.rv2-etroit{display:none}
:is(#sEr2,#sEp2) .rv2-select{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 10px 0 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);
  font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap;flex:0 0 auto;cursor:pointer;font-family:inherit}
:is(#sEr2,#sEp2) .rv2-select > svg{width:15px;height:15px;color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-fiche{background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--rv2-shadow);display:flex;flex-direction:column;overflow:hidden;min-height:0;min-width:0}
:is(#sEr2,#sEp2) .rv2-fh{display:grid;grid-template-columns:44px minmax(0,1fr) auto;column-gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--line);flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-av{width:44px;height:44px;border-radius:50%;background:var(--card2);color:var(--ink);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line)}
:is(#sEr2,#sEp2) .rv2-fh .nm{font-size:16px;font-weight:800;color:var(--ink);line-height:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-fh .sb{font-size:12.5px;color:var(--rv2-mut);line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
:is(#sEr2,#sEp2) .rv2-fh .acts{display:flex;gap:6px}
:is(#sEr2,#sEp2) .rv2-faits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line);flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-faits.ren{grid-template-columns:minmax(0,.8fr) minmax(0,.9fr) minmax(0,1.25fr) minmax(0,1.05fr)}
:is(#sEr2,#sEp2) .rv2-faits.pan{grid-template-columns:minmax(0,.7fr) minmax(0,.85fr) minmax(0,1.5fr) minmax(0,1.05fr)}
:is(#sEr2,#sEp2) .rv2-faits div{padding:10px 10px;border-right:1px solid var(--line);min-width:0}
:is(#sEr2,#sEp2) .rv2-faits div:last-child{border-right:0}
:is(#sEr2,#sEp2) .rv2-faits span{display:block;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--rv2-mut);line-height:15px;white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-faits b{display:block;font-size:12.5px;font-weight:700;color:var(--ink);line-height:19px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-fb{padding:14px 16px;display:flex;flex-direction:column;gap:12px}
:is(#sEr2,#sEp2) .rv2-fiche > .rv2-defile{flex:1 1 auto}
:is(#sEr2,#sEp2) .rv2-sec{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:var(--card);flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-sec.focus{border-color:color-mix(in srgb,var(--rv2-blue) 55%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--rv2-blue) 10%,transparent)}
:is(#sEr2,#sEp2) .rv2-sec.bloque{border-color:color-mix(in srgb,var(--rv2-amber) 50%,var(--line));background:var(--rv2-amber-soft)}
:is(#sEr2,#sEp2) .rv2-sech{display:flex;align-items:center;gap:10px;margin-bottom:10px;height:22px}
:is(#sEr2,#sEp2) .rv2-sech h4{margin:0;font-size:13.5px;font-weight:800;color:var(--ink);white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-sech .r{margin-left:auto;display:flex;align-items:center;gap:10px;min-width:0}
:is(#sEr2,#sEp2) .rv2-sech .rv2-meta{font-size:12px;color:var(--rv2-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-texte{font-size:13px;line-height:19px;color:var(--txt)}
:is(#sEr2,#sEp2) .rv2-texte + .rv2-ligne-act{margin-top:10px}
:is(#sEr2,#sEp2) .rv2-sec.bloque .rv2-texte{color:var(--rv2-amber)}
:is(#sEr2,#sEp2) .rv2-sec.bloque .rv2-sech h4{color:var(--rv2-amber)}
:is(#sEr2,#sEp2) .rv2-mail{border:1px solid var(--line);border-radius:10px;background:var(--rv2-mail);padding:10px 12px}
:is(#sEr2,#sEp2) .rv2-mail .ln{display:grid;grid-template-columns:52px minmax(0,1fr);font-size:12.5px;line-height:20px;align-items:center}
:is(#sEr2,#sEp2) .rv2-mail .ln span{color:var(--rv2-mut);font-weight:600}
:is(#sEr2,#sEp2) .rv2-mail .ln b{font-weight:600;color:var(--txt);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-mail .ln input{height:28px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--txt);font-size:12.5px;font-weight:600;padding:0 8px;min-width:0;width:100%}
:is(#sEr2,#sEp2) .rv2-mail .corps{margin-top:8px;padding-top:8px;border-top:1px solid var(--line);font-size:13px;line-height:19px;color:var(--txt);overflow-wrap:anywhere}
:is(#sEr2,#sEp2) .rv2-mail .corps p{margin:0 0 5px}
:is(#sEr2,#sEp2) .rv2-mail .corps p:last-child{margin-bottom:0}
:is(#sEr2,#sEp2) .rv2-mail textarea{display:block;width:100%;margin-top:8px;min-height:190px;resize:vertical;border:1px solid var(--line);border-radius:8px;background:var(--card);
  color:var(--txt);font-size:13px;line-height:19px;padding:8px 10px}
:is(#sEr2,#sEp2) .rv2-mail .sig{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);font-size:12.5px;line-height:19px;color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-mail .sig span{display:block;font-size:12px;font-style:italic}
:is(#sEr2,#sEp2) .rv2-mail .sig iframe{display:block;max-width:100%;margin-bottom:6px}
:is(#sEr2,#sEp2) .rv2-alerte{margin-top:8px;padding:7px 10px;border-radius:8px;background:var(--rv2-amber-soft);color:var(--rv2-amber);font-size:12.5px;line-height:18px}
:is(#sEr2,#sEp2) .rv2-alerte.ko{background:var(--rv2-red-soft);color:var(--rv2-red)}
:is(#sEr2,#sEp2) .rv2-info{padding:9px 12px;border-radius:10px;background:var(--card2);color:var(--txt);font-size:12.5px;line-height:18px;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-info.ok{background:var(--rv2-green-soft);color:var(--rv2-green)}
:is(#sEr2,#sEp2) .rv2-info.ok .rv2-a{color:inherit;text-decoration:underline}
:is(#sEr2,#sEp2) .rv2-ligne-act{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
:is(#sEr2,#sEp2) .rv2-ligne-act .rv2-note{font-size:12px;color:var(--rv2-mut);line-height:17px;min-width:0}
:is(#sEr2,#sEp2) .rv2-ligne-act .bt{display:flex;align-items:center;gap:8px;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-tel{display:flex;align-items:center;gap:14px}
:is(#sEr2,#sEp2) .rv2-tel .num{font-size:20px;font-weight:800;color:var(--ink);letter-spacing:.01em;white-space:nowrap;min-width:0}
:is(#sEr2,#sEp2) .rv2-tel .num small{display:block;font-size:12px;font-weight:500;color:var(--rv2-mut);letter-spacing:0;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-tel .rv2-btn{margin-left:auto}
:is(#sEr2,#sEp2) .rv2-res{display:grid;grid-template-columns:1fr 1fr;gap:8px}
:is(#sEr2,#sEp2) .rv2-sec .rv2-res{margin-top:12px}
:is(#sEr2,#sEp2) .rv2-sech + .rv2-res{margin-top:0}
:is(#sEr2,#sEp2) .rv2-res button{height:52px;border:1px solid var(--line);border-radius:10px;background:var(--card);text-align:left;padding:0 14px;cursor:pointer;display:flex;
  flex-direction:column;justify-content:center;gap:2px;font-family:inherit;min-width:0}
:is(#sEr2,#sEp2) .rv2-res button:hover:not(:disabled),:is(#sEr2,#sEp2) .rv2-res button.on{border-color:var(--ink)}
:is(#sEr2,#sEp2) .rv2-res button:disabled{opacity:.55;cursor:default}
:is(#sEr2,#sEp2) .rv2-res b{font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-res span{font-size:12px;color:var(--rv2-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
:is(#sEr2,#sEp2) .rv2-pli{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px;border:1px solid var(--line);border-radius:12px;font-size:13px;font-weight:700;color:var(--ink);
  flex:0 0 auto;cursor:pointer;background:var(--card)}
:is(#sEr2,#sEp2) .rv2-pli:hover{border-color:#b9c6cf}
html.theme-dark :is(#sEr2,#sEp2) .rv2-pli:hover{border-color:#4c7486}
:is(#sEr2,#sEp2) .rv2-pli > svg{color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-pli > span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
:is(#sEr2,#sEp2) .rv2-pli .r{margin-left:auto;display:flex;align-items:center;gap:12px}
:is(#sEr2,#sEp2) .rv2-pli .r > svg{color:var(--rv2-mut);transition:transform .15s}
:is(#sEr2,#sEp2) .rv2-pli.ouvert{border-radius:12px 12px 0 0;border-bottom-color:transparent}
:is(#sEr2,#sEp2) .rv2-pli.ouvert .r > svg{transform:rotate(180deg)}
:is(#sEr2,#sEp2) .rv2-plic{border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;padding:2px 16px 14px;margin-top:-12px;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-ul{margin:0;padding-left:18px;font-size:12.5px;line-height:19px;color:var(--txt)}
:is(#sEr2,#sEp2) .rv2-ul li{margin:3px 0}
:is(#sEr2,#sEp2) .rv2-hist{display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:14px;row-gap:8px;font-size:12.5px;color:var(--txt);line-height:18px}
:is(#sEr2,#sEp2) .rv2-hist > div{display:contents}
:is(#sEr2,#sEp2) .rv2-hist > div > span:first-child{color:var(--rv2-mut);white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-hist > .rv2-info{grid-column:1/-1;display:block}
:is(#sEr2,#sEp2) .rv2-hist .par{color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-plic h5{margin:14px 0 6px;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-plic .rv2-mod{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
:is(#sEr2,#sEp2) .rv2-kv{display:grid;grid-template-columns:120px minmax(0,1fr);row-gap:8px;font-size:13px}
:is(#sEr2,#sEp2) .rv2-kv span{color:var(--rv2-mut);font-weight:600}
:is(#sEr2,#sEp2) .rv2-kv b{color:var(--ink);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-fpied{display:flex;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid var(--line);background:var(--card);flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-fpied .rv2-note{font-size:12px;color:var(--rv2-mut);margin-right:auto;line-height:17px}
:is(#sEr2,#sEp2) .rv2-fpied .rv2-btn{width:132px}
:is(#sEr2,#sEp2) .rv2-fpied.n3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
:is(#sEr2,#sEp2) .rv2-fpied.n3.large{grid-template-columns:1fr 1fr 1.45fr}
:is(#sEr2,#sEp2) .rv2-fpied.n3 .rv2-btn{width:100%}
:is(#sEr2,#sEp2) .rv2-fpied.n3.large .rv2-btn{padding:0 10px}
:is(#sEr2,#sEp2) .rv2-dernier{display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:10px;background:var(--card2);font-size:12.5px;color:var(--txt);flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-dernier span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(#sEr2,#sEp2) .rv2-dernier .rv2-btn{margin-left:auto;flex:0 0 auto}

/* formulaires (résultat d'appel, motif, note) */
:is(#sEr2,#sEp2) .rv2-form{display:flex;flex-direction:column;gap:10px}
:is(#sEr2,#sEp2) .rv2-form .l2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
:is(#sEr2,#sEp2) .rv2-lab{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-lab input,:is(#sEr2,#sEp2) .rv2-lab select,:is(#sEr2,#sEp2) .rv2-lab textarea,:is(#sEr2,#sEp2) .rv2-note-f textarea{height:34px;border:1px solid var(--line);
  border-radius:8px;background:var(--card);color:var(--txt);font-size:13px;font-weight:500;padding:0 10px;width:100%}
:is(#sEr2,#sEp2) .rv2-lab textarea,:is(#sEr2,#sEp2) .rv2-note-f textarea{height:auto;min-height:56px;padding:7px 10px;line-height:18px;resize:vertical}
:is(#sEr2,#sEp2) .rv2-motifs{display:grid;grid-template-columns:1fr 1fr;gap:6px}
:is(#sEr2,#sEp2) .rv2-radio{display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;border:1px solid var(--line);border-radius:8px;font-size:12.5px;font-weight:600;
  color:var(--ink);cursor:pointer;min-width:0}
:is(#sEr2,#sEp2) .rv2-radio span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-radio:has(input:checked){border-color:var(--ink);background:var(--card2)}
:is(#sEr2,#sEp2) .rv2-form .pied{display:flex;justify-content:flex-end;gap:8px}
:is(#sEr2,#sEp2) .rv2-form .pied .rv2-btn{width:132px}
:is(#sEr2,#sEp2) .rv2-note-f{display:flex;gap:8px;align-items:flex-start;margin-top:12px}
:is(#sEr2,#sEp2) .rv2-note-f textarea{flex:1}
:is(#sEr2,#sEp2) .rv2-note-f .rv2-btn{width:90px}

/* ---------- mode série (une personne à la fois) ---------- */
:is(#sEr2,#sEp2) .rv2-prog{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:20px;height:76px;padding:0 18px;margin-bottom:14px;flex:0 0 auto;
  background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--rv2-shadow)}
:is(#sEr2,#sEp2) .rv2-prog .t{font-size:15px;font-weight:800;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-prog .t span{font-weight:600;color:var(--rv2-mut);font-size:13px;margin-left:8px}
:is(#sEr2,#sEp2) .rv2-prog .barre{height:8px;border-radius:4px;background:var(--card2);margin-top:10px;overflow:hidden;display:flex}
:is(#sEr2,#sEp2) .rv2-prog .barre i{display:block;height:100%;background:var(--rv2-blue)}
:is(#sEr2,#sEp2) .rv2-prog .barre i.g{background:var(--rv2-green)}
:is(#sEr2,#sEp2) .rv2-prog .rv2-nav{display:flex;gap:8px;align-self:center}
:is(#sEr2,#sEp2) .rv2-prog .rv2-nav .rv2-btn{width:132px}
:is(#sEr2,#sEp2) .rv2-serie{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);grid-template-rows:minmax(0,1fr);gap:14px;align-items:stretch;flex:1 1 auto;min-height:0}
:is(#sEr2,#sEp2) .rv2-serie > .rv2-fiche > .rv2-fb{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain}
:is(#sEr2,#sEp2) .rv2-ensuite{margin-top:14px;display:grid;grid-template-columns:auto repeat(4,minmax(0,1fr));gap:10px;align-items:center;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-ensuite > span{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--rv2-mut);padding-right:4px}
:is(#sEr2,#sEp2) .rv2-nx{height:52px;border:1px solid var(--line);border-radius:12px;background:var(--card);padding:0 12px;display:flex;flex-direction:column;justify-content:center;min-width:0}
:is(#sEr2,#sEp2) .rv2-nx b{font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-nx span{font-size:12px;color:var(--rv2-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
:is(#sEr2,#sEp2) .rv2-fin{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:26px 24px;background:var(--card);border:1px solid var(--line);border-radius:12px;max-width:640px}
:is(#sEr2,#sEp2) .rv2-fin b{font-size:16px;color:var(--ink)}
:is(#sEr2,#sEp2) .rv2-fin span{font-size:13px;color:var(--rv2-mut);line-height:20px}

/* ---------- bandeau « à part » (information, jamais en rouge) ---------- */
:is(#sEr2,#sEp2) .rv2-apart{display:flex;align-items:center;gap:12px;min-height:52px;padding:6px 16px;margin-top:12px;background:var(--card);border:1px dashed var(--rv2-apart);border-radius:12px;
  font-size:13px;color:var(--txt);flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-apart b{color:var(--ink)}
:is(#sEr2,#sEp2) .rv2-apart .rv2-btn{margin-left:auto;flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-apart > svg{color:var(--rv2-mut)}

/* ---------- écran étroit : une colonne, un seul défilement ---------- */
@media (max-width:1100px){
  :is(#sEr2,#sEp2).screen.on{height:auto;overflow:visible;padding:14px 16px 90px}
  :is(#sEr2,#sEp2) .rv2-head{height:auto;flex-wrap:wrap}
  :is(#sEr2,#sEp2) .rv2-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  :is(#sEr2,#sEp2) .rv2-split,:is(#sEr2,#sEp2) .rv2-serie{grid-template-columns:minmax(0,1fr)}
  :is(#sEr2,#sEp2) .rv2-defile{overflow:visible}
  :is(#sEr2,#sEp2) .rv2-ensuite{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
/* combiné du Desk ouvert à droite : la colonne lui est réservée, l'écran se resserre */
.mainarea.sfp-docked :is(#sEr2,#sEp2).screen.on{padding-right:24px}
#uiDlg .rv2-regl{display:flex;flex-direction:column;gap:10px;text-align:left}
#uiDlg .rv2-regl label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:var(--mut)}
#uiDlg .rv2-regl input,#uiDlg .rv2-regl select,#uiDlg .rv2-regl textarea{border:1px solid var(--line);border-radius:8px;padding:6px 8px;font:inherit;font-size:12.5px;background:var(--card);color:var(--txt)}
#uiDlg .rv2-guide{text-align:left;font-size:13px;line-height:20px}
#uiDlg .rv2-guide ol{padding-left:18px;margin:8px 0}
#uiDlg .rv2-guide li{margin:4px 0}
/* écran étroit (combiné du Desk ancré à droite, petite fenêtre) : mesuré sur la largeur de l'écran lui-même */
@container (max-width:1000px){
  :is(#sEr2,#sEp2) .rv2-head{flex-wrap:wrap;height:auto;row-gap:8px;align-items:center}
  :is(#sEr2,#sEp2) .rv2-h1{font-size:18px}
  :is(#sEr2,#sEp2) .rv2-btn.aide .lib{display:none}
  :is(#sEr2,#sEp2) .rv2-btn.aide{padding:0 5px}
  :is(#sEr2,#sEp2) .rv2-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  :is(#sEr2,#sEp2) .rv2-tabs,:is(#sEr2,#sEp2) .rv2-tabsep{display:none}
  :is(#sEr2,#sEp2) .rv2-select.rv2-etroit{display:inline-flex}
  :is(#sEr2,#sEp2) .rv2-cols,:is(#sEr2,#sEp2) .rv2-zone > .rv2-carte .rv2-r{grid-template-columns:minmax(0,1fr) 96px 112px 132px!important}
  :is(#sEr2,#sEp2) .rv2-cols > :nth-child(4),:is(#sEr2,#sEp2) .rv2-cols > :nth-child(5),
  :is(#sEr2,#sEp2) .rv2-zone > .rv2-carte .rv2-r > :nth-child(4),:is(#sEr2,#sEp2) .rv2-zone > .rv2-carte .rv2-r > :nth-child(5){display:none}
  :is(#sEr2,#sEp2) .rv2-split{grid-template-columns:minmax(0,300px) minmax(0,1fr)}
  :is(#sEr2,#sEp2) .rv2-col-g .rv2-r{grid-template-columns:minmax(0,1fr)!important}
  :is(#sEr2,#sEp2) .rv2-col-g .rv2-r .act{display:none}
  :is(#sEr2,#sEp2) .rv2-faits{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  :is(#sEr2,#sEp2) .rv2-faits div:nth-child(2){border-right:0}
  :is(#sEr2,#sEp2) .rv2-faits div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  :is(#sEr2,#sEp2) .rv2-fpied.n3 .rv2-btn{padding:0 8px}
  :is(#sEr2,#sEp2) .rv2-fpied.n3.large{grid-template-columns:1fr 1fr}
  :is(#sEr2,#sEp2) .rv2-fpied.n3.large .rv2-btn:last-child{grid-column:1/-1}
  :is(#sEr2,#sEp2) .rv2-tel{flex-wrap:wrap;row-gap:8px}
  :is(#sEr2,#sEp2) .rv2-col-g .rv2-pied > span{display:none}
  :is(#sEr2,#sEp2) .rv2-col-g .rv2-pied{justify-content:flex-end}
  :is(#sEr2,#sEp2) .rv2-fh .opt{display:none}
  :is(#sEr2,#sEp2) .rv2-mail .ln b{white-space:normal;overflow:visible;text-overflow:clip}
  :is(#sEr2,#sEp2) .rv2-ligne-act{flex-wrap:wrap;row-gap:8px}
  :is(#sEr2,#sEp2) .rv2-ligne-act .bt{margin-left:auto}
  :is(#sEr2,#sEp2) .rv2-sech{height:auto;min-height:22px;flex-wrap:wrap;row-gap:4px}
  :is(#sEr2,#sEp2) .rv2-sech .r{margin-left:0}
  :is(#sEr2,#sEp2) .rv2-prog{height:auto;padding:12px 16px;row-gap:10px;grid-template-columns:minmax(0,1fr)}
  :is(#sEr2,#sEp2) .rv2-prog .t span{display:block;margin:4px 0 0}
  :is(#sEr2,#sEp2) .rv2-ensuite{grid-template-columns:auto repeat(3,minmax(0,1fr))}
  :is(#sEr2,#sEp2) .rv2-ensuite > .rv2-nx:nth-of-type(4),:is(#sEr2,#sEp2) .rv2-ensuite > div:last-child:not(.rv2-nx){display:none}
}
/* (02/11/2026) ligne « Stripe » de la fiche (statut de la commande dans le compte Stripe d'EMCC, lecture seule) */
:is(#sEr2,#sEp2) .rv2-stripe{display:flex;align-items:baseline;gap:10px;padding:8px 12px;border-radius:10px;background:var(--card2);color:var(--txt);font-size:12.5px;line-height:18px;flex:0 0 auto;margin-top:8px}
:is(#sEr2,#sEp2) .rv2-stripe > b{flex:0 0 auto;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:#3d5a80}
html.theme-dark :is(#sEr2,#sEp2) .rv2-stripe > b{color:#9db8d9}
:is(#sEr2,#sEp2) .rv2-stripe > span{flex:1 1 auto;min-width:0}
:is(#sEr2,#sEp2) .rv2-stripe > span .par{color:var(--rv2-mut)}
:is(#sEr2,#sEp2) .rv2-stripe > a{flex:0 0 auto}
:is(#sEr2,#sEp2) .rv2-stripe.ok{background:var(--rv2-green-soft)}
:is(#sEr2,#sEp2) .rv2-stripe.ko{background:var(--rv2-red-soft)}
:is(#sEr2,#sEp2) .rv2-stripe.attente{background:var(--rv2-amber-soft)}
:is(#sEr2,#sEp2) .rv2-stripe.ok > span{color:var(--rv2-green)}
:is(#sEr2,#sEp2) .rv2-stripe.ko > span{color:var(--rv2-red)}
:is(#sEr2,#sEp2) .rv2-stripe.attente > span{color:var(--rv2-amber)}
