/* =============================================================================
   coach.css — Carnet du coach (/coach et SPA #coach)
   Harmonisé avec la DA « Sport éditorial » de laboping (labo-edito.css).
   ============================================================================= */:root {

  --paper: var(--le-paper, #F2EDE2);
  /* Surfaces du Planning et du Suivi : cartes blanches sur fond crème. */
  --surface: #ffffff;
  --surface-2: #EFE9DC;
  --ink: var(--le-ink, #10182E);
  --body: var(--le-body, #2b3146);
  --muted: var(--le-muted, #6F6A61);
  --line: var(--le-line, #CFC6B2);
  --rose: var(--le-rose, #D8466F);
  --rose-text: var(--le-rose-text, #B5365B);
  --rose-soft: #f6dde4;
  --navy: var(--le-navy, #122A52);
  --ok: #1a7f4b;
  --ok-soft: #e3f3ea;
  --warn: #8a5d00;
  --warn-soft: #f4e8cc;
  --danger: #B3261E;
  --danger-soft: #FBE7E5;
  --white: #fff;
  --cond: var(--le-cond, "Saira Condensed", "Arial Narrow", sans-serif);
  --sans: var(--le-sans, "DM Sans", system-ui, -apple-system, sans-serif);
  --mono: var(--le-mono, "Space Mono", ui-monospace, monospace);
  --radius: 14px;
  --radius-s: 8px;
  --ombre: 0 1px 2px rgba(16, 24, 46, .05), 0 10px 28px -16px rgba(16, 24, 46, .28);

}
html.dark .lp-coach-section, html.dark body.page-coach {

  --paper: #0B1020;
  --surface: #121A2E;
  --surface-2: #1e2842;
  --ink: #F0ECE1;
  --body: rgba(240, 236, 225, .78);
  --muted: rgba(240, 236, 225, .62);
  --line: rgba(240, 236, 225, .16);
  --rose-text: #F07B9F;
  --rose-soft: #2a1c20;
  --navy: #16223C;
  --ok: #4ade80;
  --ok-soft: #0e2018;
  --warn: #e8c37a;
  --warn-soft: #2a2110;
  --danger: #f2a0a6;
  --danger-soft: #2a1416;
  --white: #121A2E;
  --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -16px rgba(0, 0, 0, .6);

}
/* Base de la section Coach */
.lp-coach-section, body.page-coach {

  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;

}
/* L'animation SPA garde un transform en fin de course ; il rendrait la barre
   fixe du coach relative à la section au lieu de la fenêtre. */
.lp-coach-section.section-animate { animation: none; transform: none; }
[hidden],
:is(.lp-coach-section, body.page-coach) [hidden],
:is(.lp-coach-section, body.page-coach)[hidden] {
  display: none !important;
}
body.page-coach {

  background: var(--paper);
  background-image: radial-gradient(rgba(21,18,12,0.035) 1px, transparent 1.2px);
  background-size: 22px 22px;
  margin: 0;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom);

}
html.dark body.page-coach {

  background-color: #0c0a08;
  background-image: radial-gradient(rgba(255,255,255,0.028) 1px, transparent 1.2px);

}
.lp-coach-section .wrap, body.page-coach .wrap {

  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;

}
@media (max-width: 640px) {

  .lp-coach-section .wrap, body.page-coach .wrap {
    padding: 0 20px;
  }

}
/* ── En-tête éditorial ───────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .cc-head {

  background: transparent;
  color: var(--ink);
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .cc-head-in {

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;

}
:is(.lp-coach-section, body.page-coach) .cc-eyebrow {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose-text);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;

}
:is(.lp-coach-section, body.page-coach) .cc-head h1 {

  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .95;
  color: var(--ink);
  margin: 4px 0 8px;

}
:is(.lp-coach-section, body.page-coach) .cc-head h1 span {

  color: var(--rose);

}
:is(.lp-coach-section, body.page-coach) .cc-head p {

  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);

}
:is(.lp-coach-section, body.page-coach) .cc-me {

  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 14px 8px 8px;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--ombre);

}
:is(.lp-coach-section, body.page-coach) .cc-me .av {

  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--rose);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: var(--radius-s);

}
:is(.lp-coach-section, body.page-coach) .cc-me b {

  display: block;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .cc-me small {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
/* ── Barre d'onglets collante ────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .cc-appbar {

  position: sticky;
  top: 78px;
  z-index: 25;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: top .22s ease;

}
.lp-mast.lp-mast-hidden ~ main .cc-appbar,
.lp-mast.lp-mast-hidden ~ .cc-appbar {

  top: 0;

}
:is(.lp-coach-section, body.page-coach) .cc-appbar-in {

  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;

}
:is(.lp-coach-section, body.page-coach) .cc-tabs {

  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;

}
:is(.lp-coach-section, body.page-coach) .cc-tabs::-webkit-scrollbar {

  display: none;

}
:is(.lp-coach-section, body.page-coach) .cc-tabs button {

  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  padding: 13px 18px 11px;
  background: transparent;
  color: var(--muted);
  border: 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s;

}
:is(.lp-coach-section, body.page-coach) .cc-tabs button:hover {

  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .cc-tabs button[aria-selected="true"] {

  color: var(--ink);
  border-bottom-color: var(--rose);

}
:is(.lp-coach-section, body.page-coach) .cc-tabs .n {

  font-family: var(--sans);
  font-size: 10px;
  background: var(--ink);
  color: var(--paper);
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: var(--radius-s);
  vertical-align: 1px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cc-tabs button[aria-selected="true"] .n {

  background: var(--rose);
  color: #fff;

}
:is(.lp-coach-section, body.page-coach) .cc-palbtn {

  align-self: center;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 7px 12px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11.7px;
  color: var(--ink);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: box-shadow .12s, transform .12s;

}
:is(.lp-coach-section, body.page-coach) .cc-palbtn:hover {

  box-shadow: var(--ombre);
  transform: translate(-1px, -1px);

}
:is(.lp-coach-section, body.page-coach) kbd {

  font-family: var(--mono);
  font-size: 10px;
  border: 1.5px solid currentColor;
  padding: 1px 5px;
  line-height: 1.4;
  color: var(--muted);
  border-radius: var(--radius-s);

}
:is(.lp-coach-section, body.page-coach) #cc-main {

  padding-top: 24px;
  padding-bottom: 60px;

}
/* ── Écrans d'accès (gate) ───────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .gate {

  max-width: 620px;
  margin: 36px auto;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .gate .hd {

  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.35rem;
  padding: 14px 18px;

}
:is(.lp-coach-section, body.page-coach) .gate .bd {

  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.55;

}
:is(.lp-coach-section, body.page-coach) .gate .mono {

  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);

}
/* ── Boutons, champs & formulaires ──────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .btn {

  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;

}
:is(.lp-coach-section, body.page-coach) .btn:hover {

  background: var(--rose);
  border-color: var(--rose);
  color: #fff;

}
:is(.lp-coach-section, body.page-coach) .btn:active {

  transform: scale(.98);

}
:is(.lp-coach-section, body.page-coach) .btn.ghost {

  background: transparent;
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .btn.ghost:hover {

  background: var(--ink);
  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .btn.rose {

  background: var(--rose);
  border-color: var(--rose);
  color: #fff;

}
:is(.lp-coach-section, body.page-coach) .btn.rose:hover {

  background: var(--ink);
  border-color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .btn.sm {

  font-size: 13px;
  padding: 6px 12px;

}
:is(.lp-coach-section, body.page-coach) .btn.danger {

  color: var(--danger);
  border-color: var(--danger);
  background: transparent;

}
:is(.lp-coach-section, body.page-coach) .btn.danger:hover {

  background: var(--danger);
  color: #fff;

}
:is(.lp-coach-section, body.page-coach) .btn:disabled {

  opacity: .5;
  cursor: not-allowed;

}
:is(.lp-coach-section, body.page-coach) .fld {

  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;

}
:is(.lp-coach-section, body.page-coach) .fld label, :is(.lp-coach-section, body.page-coach) .lbl {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;

}
:is(.lp-coach-section, body.page-coach) .fld input, :is(.lp-coach-section, body.page-coach) .fld textarea, :is(.lp-coach-section, body.page-coach) .fld select, :is(.lp-coach-section, body.page-coach) .inp {

  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 12px;
  font-size: 15px;
  border-radius: var(--radius);
  outline: none;
  width: 100%;
  min-width: 0;
  font-family: var(--sans);

}
:is(.lp-coach-section, body.page-coach) .fld input:focus, :is(.lp-coach-section, body.page-coach) .fld textarea:focus, :is(.lp-coach-section, body.page-coach) .fld select:focus, :is(.lp-coach-section, body.page-coach) .inp:focus {

  border-color: var(--rose);
  box-shadow: 0 0 0 1px var(--rose);

}
:is(.lp-coach-section, body.page-coach) .fld textarea {

  min-height: 96px;
  resize: vertical;
  line-height: 1.5;

}
:is(.lp-coach-section, body.page-coach) .fld textarea.big {

  min-height: 280px;

}
:is(.lp-coach-section, body.page-coach) .frow {

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;

}
:is(.lp-coach-section, body.page-coach) .toast {

  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.6px;
  padding: 10px 20px;
  z-index: 80;
  opacity: 0;
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(0,0,0,.25);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;

}
:is(.lp-coach-section, body.page-coach) .toast.on {

  opacity: 1;

}
:is(.lp-coach-section, body.page-coach) .empty {

  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
  grid-column: 1/-1;

}
:is(.lp-coach-section, body.page-coach) .empty b {

  display: block;
  font-family: var(--sans);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 6px;

}
/* ── Barre d'outils du carnet ────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .toolbar {

  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 8px;
  flex-wrap: wrap;

}
:is(.lp-coach-section, body.page-coach) .quick-filter-chips {

  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  margin-bottom: 6px;
  scrollbar-width: none;

}
:is(.lp-coach-section, body.page-coach) .quick-filter-chips::-webkit-scrollbar {

  display: none;

}
:is(.lp-coach-section, body.page-coach) .qchip {

  font-family: var(--sans);
  font-weight: 700;
  font-size: 11.7px;
  padding: 6px 12px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s ease;

}
:is(.lp-coach-section, body.page-coach) .qchip:hover {

  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .qchip.on {

  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .search {

  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);

}
:is(.lp-coach-section, body.page-coach) .search:focus-within {

  box-shadow: 4px 4px 0 var(--rose);
  color: var(--ink);
  border-color: var(--rose);

}
:is(.lp-coach-section, body.page-coach) .search input {

  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 11px 0;
  font-size: 15px;
  outline: none;
  color: var(--ink);
  font-family: var(--sans);

}
:is(.lp-coach-section, body.page-coach) .search.big input {

  font-size: 1.15rem;
  padding: 14px 0;

}
:is(.lp-coach-section, body.page-coach) .tbtn {

  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.6px;
  padding: 9px 14px;
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  transition: background .12s;

}
:is(.lp-coach-section, body.page-coach) .tbtn:hover {

  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .tbtn[aria-expanded="true"], :is(.lp-coach-section, body.page-coach) .tbtn[aria-pressed="true"] {

  background: var(--ink);
  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .tbtn.ic {

  padding: 9px 11px;

}
:is(.lp-coach-section, body.page-coach) .tbtn .badge {

  font-family: var(--sans);
  font-size: 10px;
  background: var(--rose);
  color: #fff;
  padding: 2px 7px;
  border-radius: var(--radius-s);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .viewsw {

  display: flex;

}
:is(.lp-coach-section, body.page-coach) .viewsw .tbtn + .tbtn {

  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;

}
:is(.lp-coach-section, body.page-coach) .viewsw .tbtn:first-child {

  border-top-right-radius: 0;
  border-bottom-right-radius: 0;

}
:is(.lp-coach-section, body.page-coach) .filters {

  border: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 12px;

}
:is(.lp-coach-section, body.page-coach) .frow2 {

  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  align-items: center;

}
:is(.lp-coach-section, body.page-coach) .frow2 .chips {

  margin-bottom: 0;
  flex-wrap: wrap;

}
:is(.lp-coach-section, body.page-coach) .frow2 .seg, :is(.lp-coach-section, body.page-coach) .frow2 select {

  justify-self: start;
  max-width: 100%;

}
:is(.lp-coach-section, body.page-coach) .seg {

  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  flex-wrap: wrap;

}
:is(.lp-coach-section, body.page-coach) .seg button {

  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.6px;
  padding: 8px 13px;
  background: var(--paper);
  border: 0;
  border-right: 1px solid var(--line);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;

}
:is(.lp-coach-section, body.page-coach) .seg button:last-child {

  border-right: 0;

}
:is(.lp-coach-section, body.page-coach) .seg button[aria-pressed="true"] {

  background: var(--ink);
  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .seg .c {

  font-family: var(--sans);
  font-size: 10px;
  opacity: .8;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .chips {

  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 14px;
  scrollbar-width: thin;

}
:is(.lp-coach-section, body.page-coach) .chip {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .04em;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 6px 11px;
  white-space: nowrap;
  border-radius: var(--radius-s);
  cursor: pointer;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .chip[aria-pressed="true"] {

  background: var(--ink);
  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .chip .c {

  opacity: .7;
  margin-left: 4px;

}
:is(.lp-coach-section, body.page-coach) .active {

  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;

}
:is(.lp-coach-section, body.page-coach) .afc {

  display: inline-flex;
  gap: 8px;
  align-items: center;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 5px 9px;
  border-radius: var(--radius-s);
  cursor: pointer;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .afc span {

  font-size: 13px;
  line-height: 1;

}
:is(.lp-coach-section, body.page-coach) .afc:hover {

  background: var(--rose);
  border-color: var(--rose);

}
:is(.lp-coach-section, body.page-coach) .afc.clear {

  background: transparent;
  color: var(--ink);

}
/* ── Compteurs & statistiques ───────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .stats {

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--paper);
  box-shadow: var(--ombre);

}
:is(.lp-coach-section, body.page-coach) .stats[hidden],
:is(.lp-coach-section, body.page-coach) .stats:empty {

  display: none;

}
:is(.lp-coach-section, body.page-coach) .stats .st {

  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;

}
:is(.lp-coach-section, body.page-coach) .stats .st:nth-child(5) {

  border-right: 0;

}
:is(.lp-coach-section, body.page-coach) .stats .st b {

  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;

}
:is(.lp-coach-section, body.page-coach) .stats .st span {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .stats .st.ok b {

  color: var(--ok);

}
:is(.lp-coach-section, body.page-coach) .stats .st.warn b {

  color: var(--warn);

}
:is(.lp-coach-section, body.page-coach) .stats .st.bad b {

  color: var(--danger);

}
:is(.lp-coach-section, body.page-coach) .stats button.st:hover {

  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .stats button.st[aria-pressed="true"] {

  background: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .stats button.st[aria-pressed="true"] b, :is(.lp-coach-section, body.page-coach) .stats button.st[aria-pressed="true"] span {

  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .stbar {

  grid-column: 1/-1;
  display: flex;
  height: 6px;
  border-top: 1px solid var(--line);
  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .stbar i {

  display: block;
  height: 100%;
  transition: width .3s;

}
:is(.lp-coach-section, body.page-coach) .stbar .valide {

  background: var(--ok);

}
:is(.lp-coach-section, body.page-coach) .stbar .a_tester {

  background: var(--warn);

}
:is(.lp-coach-section, body.page-coach) .stbar .inefficace {

  background: var(--danger);

}
@media (max-width: 640px) {

  :is(.lp-coach-section, body.page-coach) .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  :is(.lp-coach-section, body.page-coach) .stats .st:nth-child(1), :is(.lp-coach-section, body.page-coach) .stats .st:nth-child(2) {
    display: none;
  }
  :is(.lp-coach-section, body.page-coach) .stats .st:nth-child(5) {
    border-right: 0;
  }
  :is(.lp-coach-section, body.page-coach) .stats .st b {
    font-size: 1.6rem;
  }

}
/* ── Menu Ajouter ────────────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .addmenu {

  position: relative;

}
:is(.lp-coach-section, body.page-coach) .addmenu .menu {

  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 30;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--ombre);
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .addmenu .menu button {

  border: 0;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  transition: background .12s;

}
:is(.lp-coach-section, body.page-coach) .addmenu .menu button:last-child {

  border-bottom: 0;

}
:is(.lp-coach-section, body.page-coach) .addmenu .menu button:hover {

  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .addmenu .menu b {

  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .addmenu .menu small {

  font-size: .82rem;
  color: var(--muted);

}
/* ── Grille de fiches ────────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .grid {

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;

}
:is(.lp-coach-section, body.page-coach) .card {

  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  min-width: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;

}
:is(.lp-coach-section, body.page-coach) .card:hover, :is(.lp-coach-section, body.page-coach) .card:focus-visible {

  box-shadow: var(--ombre);
  transform: translate(-2px, -2px);

}
:is(.lp-coach-section, body.page-coach) .card .thumb {

  aspect-ratio: 16/9;
  background: var(--surface) center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  max-width: 100%;

}
:is(.lp-coach-section, body.page-coach) .card .bd {

  padding: 13px 15px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;

}
:is(.lp-coach-section, body.page-coach) .card .row {

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;

}
:is(.lp-coach-section, body.page-coach) .card .kind {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-text);
  font-weight: 700;

}
:is(.lp-coach-section, body.page-coach) .card h3 {

  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .card p {

  font-size: .95rem;
  line-height: 1.5;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .card .stripe {

  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;

}
:is(.lp-coach-section, body.page-coach) .card .stripe.valide {

  background: var(--ok);

}
:is(.lp-coach-section, body.page-coach) .card .stripe.a_tester {

  background: var(--warn);

}
:is(.lp-coach-section, body.page-coach) .card .stripe.inefficace {

  background: var(--danger);

}
:is(.lp-coach-section, body.page-coach) .meta {

  display: flex;
  flex-wrap: wrap;
  gap: 6px;

}
:is(.lp-coach-section, body.page-coach) .tag {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border: 1.5px solid var(--line);
  color: var(--muted);
  border-radius: var(--radius-s);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .tag.lock {

  border-color: var(--ink);
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .status {

  font-family: var(--sans);
  font-weight: 700;
  font-size: 11.7px;
  padding: 3px 8px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  border-radius: var(--radius-s);

}
:is(.lp-coach-section, body.page-coach) .status.valide {

  background: var(--ok-soft);
  color: var(--ok);

}
:is(.lp-coach-section, body.page-coach) .status.a_tester {

  background: var(--warn-soft);
  color: var(--warn);

}
:is(.lp-coach-section, body.page-coach) .status.inefficace {

  background: var(--danger-soft);
  color: var(--danger);

}
:is(.lp-coach-section, body.page-coach) .stars {

  color: var(--rose);
  letter-spacing: 1px;
  font-size: .92rem;

}
:is(.lp-coach-section, body.page-coach) .by {

  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cnt {

  font-family: var(--sans);
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
/* ── Vue Liste ───────────────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .grid.list {

  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .grid.list .card {

  border: 0;
  border-bottom: 1.5px solid var(--line);
  border-radius: 0;
  flex-direction: row;
  align-items: stretch;

}
:is(.lp-coach-section, body.page-coach) .grid.list .card:last-child {

  border-bottom: 0;

}
:is(.lp-coach-section, body.page-coach) .grid.list .card:hover, :is(.lp-coach-section, body.page-coach) .grid.list .card:focus-visible {

  box-shadow: none;
  transform: none;
  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .grid.list .card .thumb {

  width: 96px;
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1.5px solid var(--line);
  flex: none;

}
:is(.lp-coach-section, body.page-coach) .grid.list .card .bd {

  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 11px 14px 11px 18px;

}
:is(.lp-coach-section, body.page-coach) .grid.list .card h3 {

  font-size: 1.15rem;
  flex: 1 1 240px;
  order: -1;

}
:is(.lp-coach-section, body.page-coach) .grid.list .card p, :is(.lp-coach-section, body.page-coach) .grid.list .card .meta {

  display: none;

}
:is(.lp-coach-section, body.page-coach) .grid.list .card .row {

  flex-wrap: nowrap;

}
:is(.lp-coach-section, body.page-coach) .grid.list .card .row[style] {

  margin-top: 0!important;

}
@media (max-width: 640px) {

  :is(.lp-coach-section, body.page-coach) .grid.list .card .thumb {
    display: none;
  }
  :is(.lp-coach-section, body.page-coach) .grid.list .card .row:first-of-type .kind {
    display: none;
  }

}
/* ── Tiroir latéral (drawer) ─────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .scrim {

  position: fixed;
  inset: 0;
  background: rgba(16, 24, 46, .55);
  z-index: 50;

}
:is(.lp-coach-section, body.page-coach) .drawer {

  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(720px, 100%);
  background: var(--paper);
  z-index: 51;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: -8px 0 24px rgba(16, 24, 46, .2);

}
:is(.lp-coach-section, body.page-coach) .dr-hd {

  background: var(--ink);
  color: var(--paper);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;

}
:is(.lp-coach-section, body.page-coach) .dr-hd .kind {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #F09BB4;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .dr-hd h2 {

  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.05;
  color: var(--paper);
  margin-top: 4px;
  overflow-wrap: anywhere;

}
:is(.lp-coach-section, body.page-coach) .dr-hd button {

  background: transparent;
  border: 2px solid var(--paper);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11.7px;
  padding: 6px 12px;
  border-radius: var(--radius);
  cursor: pointer;

}
:is(.lp-coach-section, body.page-coach) .dr-bd {

  flex: 1;
  overflow: auto;
  padding: 20px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;

}
:is(.lp-coach-section, body.page-coach) .dr-ft {

  border-top: 1px solid var(--line);
  padding: 12px 20px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .dr-ft .grp {

  display: flex;
  gap: 8px;
  flex-wrap: wrap;

}
:is(.lp-coach-section, body.page-coach) .vb h4 {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 600;

}
:is(.lp-coach-section, body.page-coach) .vb div {

  white-space: pre-wrap;
  font-size: 1rem;
  color: var(--ink);
  overflow-wrap: anywhere;
  line-height: 1.55;

}
:is(.lp-coach-section, body.page-coach) .vb-pedago {

  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin: 10px 0;

}
:is(.lp-coach-section, body.page-coach) .vb-pedago h4 {

  color: var(--ink);
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;

}
:is(.lp-coach-section, body.page-coach) .vb-pedago .vb-icon {

  font-size: 1.05rem;

}
:is(.lp-coach-section, body.page-coach) .vis {

  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .vis button {

  border: 0;
  background: var(--paper);
  padding: 11px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;

}
:is(.lp-coach-section, body.page-coach) .vis button + button {

  border-left: 1px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .vis button b {

  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .vis button small {

  font-size: .8rem;
  color: var(--muted);

}
:is(.lp-coach-section, body.page-coach) .vis button[aria-pressed="true"] {

  background: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .vis button[aria-pressed="true"] b, :is(.lp-coach-section, body.page-coach) .vis button[aria-pressed="true"] small {

  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .pick3 {

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .pick3 button {

  border: 0;
  border-right: 1px solid var(--line);
  background: var(--paper);
  padding: 10px 6px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 12.6px;
  cursor: pointer;

}
:is(.lp-coach-section, body.page-coach) .pick3 button:last-child {

  border-right: 0;

}
:is(.lp-coach-section, body.page-coach) .pick3 button[aria-pressed="true"].valide {

  background: var(--ok);
  color: #fff;

}
:is(.lp-coach-section, body.page-coach) .pick3 button[aria-pressed="true"].a_tester {

  background: var(--warn);
  color: #fff;

}
:is(.lp-coach-section, body.page-coach) .pick3 button[aria-pressed="true"].inefficace {

  background: var(--danger);
  color: #fff;

}
:is(.lp-coach-section, body.page-coach) .starpick {

  display: flex;
  gap: 3px;

}
:is(.lp-coach-section, body.page-coach) .starpick button {

  background: none;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--line);
  padding: 0 2px;
  cursor: pointer;

}
:is(.lp-coach-section, body.page-coach) .starpick button.on {

  color: var(--rose);

}
:is(.lp-coach-section, body.page-coach) .votes {

  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  color: var(--muted);
  align-items: center;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .votes span {

  display: inline-flex;
  gap: 6px;
  align-items: center;

}
/* ── Fichiers & Pièces jointes ───────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .files {

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;

}
:is(.lp-coach-section, body.page-coach) .file {

  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .file .pv {

  aspect-ratio: 4/3;
  background: var(--surface-2) center/contain no-repeat;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--muted);
  cursor: pointer;
  border: 0;
  width: 100%;

}
:is(.lp-coach-section, body.page-coach) .file .nm {

  font-size: .8rem;
  padding: 6px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-top: 1.5px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .file .acts {

  display: flex;
  border-top: 1.5px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .file .acts button {

  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  padding: 6px 4px;
  cursor: pointer;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .file .acts button + button {

  border-left: 1.5px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .file .acts button:hover {

  background: var(--ink);
  color: var(--paper);

}
/* ── Commentaires ────────────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .comments {

  display: flex;
  flex-direction: column;
  gap: 12px;

}
:is(.lp-coach-section, body.page-coach) .cmt {

  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px 14px;

}
:is(.lp-coach-section, body.page-coach) .cmt.me {

  border-color: var(--ink);
  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .cmt .h {

  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cmt .h b {

  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .cmt .t {

  white-space: pre-wrap;
  font-size: .95rem;
  line-height: 1.5;
  overflow-wrap: anywhere;

}
:is(.lp-coach-section, body.page-coach) .cmt .del {

  background: none;
  border: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cadd {

  display: flex;
  gap: 10px;
  align-items: flex-end;

}
:is(.lp-coach-section, body.page-coach) .cadd textarea {

  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px 12px;
  font-size: 15px;
  resize: vertical;
  min-height: 50px;
  max-height: 220px;
  font-family: var(--sans);

}
/* ── Points techniques ───────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) #points-hit {

  margin-bottom: 16px;

}
:is(.lp-coach-section, body.page-coach) .pgrid {

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
  align-items: start;

}
:is(.lp-coach-section, body.page-coach) .pcard {

  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .pcard.open {

  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .pc-hd {

  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-bottom: 1.5px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .pc-hd .kind {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-text);
  font-weight: 700;

}
:is(.lp-coach-section, body.page-coach) .pc-hd b {

  font-family: var(--sans);
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.1;

}
:is(.lp-coach-section, body.page-coach) .pc-bd {

  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .95rem;
  line-height: 1.5;

}
:is(.lp-coach-section, body.page-coach) .pc-ft {

  padding: 10px 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  border-top: 1.5px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .plist {

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;

}
:is(.lp-coach-section, body.page-coach) .pitem {

  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  padding: 11px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  transition: background .12s, color .12s;

}
:is(.lp-coach-section, body.page-coach) .pitem:hover {

  background: var(--ink);
  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .pitem:hover b, :is(.lp-coach-section, body.page-coach) .pitem:hover small {

  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .pitem b {

  display: block;
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.1;

}
:is(.lp-coach-section, body.page-coach) .pitem small {

  display: block;
  font-size: .84rem;
  color: var(--muted);
  margin-top: 3px;

}
:is(.lp-coach-section, body.page-coach) .pitem .pn {

  font-family: var(--sans);
  font-size: 12px;
  border: 1.5px solid currentColor;
  padding: 2px 7px;
  border-radius: var(--radius-s);
  flex: none;
  font-weight: 700;
}
/* ── Séance & Accès ──────────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .panel {

  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  margin-bottom: 18px;
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .panel .hd {

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  flex-wrap: wrap;

}
:is(.lp-coach-section, body.page-coach) .panel .hd b {

  font-family: var(--sans);
  font-size: 1.25rem;
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .panel .bd {

  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;

}
:is(.lp-coach-section, body.page-coach) .timebar {

  display: flex;
  height: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--surface);
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .timebar span {

  height: 100%;

}
:is(.lp-coach-section, body.page-coach) .sess-item {

  display: grid;
  grid-template-columns: auto 8px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 10px 6px;
  background: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .sess-grip {

  align-self: stretch;
  width: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: grab;
  touch-action: none;

}
:is(.lp-coach-section, body.page-coach) .sess-grip:hover, :is(.lp-coach-section, body.page-coach) .sess-grip:focus-visible {

  color: var(--ink);
  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .sess-item.drag {

  border: 1px solid var(--line);
  box-shadow: var(--ombre);
  position: relative;
  z-index: 1;

}
:is(.lp-coach-section, body.page-coach) .sess-item.drag .sess-grip {

  cursor: grabbing;
  color: var(--rose);

}
:is(.lp-coach-section, body.page-coach) .sess-item .ph {

  width: 8px;
  align-self: stretch;
  border-radius: var(--radius-s);

}
:is(.lp-coach-section, body.page-coach) .sess-item h4 {

  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .sess-item .ctl {

  display: flex;
  gap: 6px;
  align-items: center;

}
:is(.lp-coach-section, body.page-coach) .sess-item input {

  width: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 6px;
  font-size: 14px;
  text-align: right;
  font-variant-numeric: tabular-nums;

}
:is(.lp-coach-section, body.page-coach) .sess-item select {

  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 4px 8px;
  font-size: .84rem;
  margin-top: 4px;
  max-width: 100%;

}
:is(.lp-coach-section, body.page-coach) pre.sheet {

  white-space: pre-wrap;
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1.6;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 16px;

}
:is(.lp-coach-section, body.page-coach) .inv {

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1.5px solid var(--line);
  padding: 10px 0;

}
:is(.lp-coach-section, body.page-coach) .inv:last-child {

  border-bottom: 0;

}
:is(.lp-coach-section, body.page-coach) .inv .e {

  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;

}
:is(.lp-coach-section, body.page-coach) .inv .s {

  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .inv .s.ok {

  color: var(--ok);

}
/* ── Guide de l'entraîneur ───────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .guide {

  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 40px;

}
:is(.lp-coach-section, body.page-coach) .toc {

  position: sticky;
  top: 140px;
  align-self: start;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 160px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .toc a {

  display: flex;
  gap: 10px;
  padding: 10px 12px;
  color: var(--body);
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.3;
  border-bottom: 1.5px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .toc a:last-child {

  border-bottom: 0;

}
:is(.lp-coach-section, body.page-coach) .toc a b {

  font-family: var(--sans);
  color: var(--rose-text);
  font-size: 11px;
  min-width: 24px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .toc a:hover, :is(.lp-coach-section, body.page-coach) .toc a.on {

  background: var(--ink);
  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .toc-mobile {

  display: none;
  margin-bottom: 16px;

}
@media (max-width: 900px) {

  :is(.lp-coach-section, body.page-coach) .guide {
    grid-template-columns: minmax(0, 1fr);
  }
  :is(.lp-coach-section, body.page-coach) .toc {
    display: none;
  }
  :is(.lp-coach-section, body.page-coach) .toc-mobile {
    display: flex;
  }

}
:is(.lp-coach-section, body.page-coach) .g-sec {

  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  scroll-margin-top: 140px;

}
:is(.lp-coach-section, body.page-coach) .g-sec:last-child {

  border-bottom: 0;

}
:is(.lp-coach-section, body.page-coach) .g-head {

  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 16px;

}
:is(.lp-coach-section, body.page-coach) .g-head .num {

  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--rose-text);
  font-weight: 700;

}
:is(.lp-coach-section, body.page-coach) .g-head h2 {

  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: .95;
  color: var(--ink);

}
:is(.lp-coach-section, body.page-coach) .g-head .kick {

  display: block;
  font-family: var(--sans);
  text-transform: none;
  font-weight: 400;
  font-size: .92rem;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.45;

}
:is(.lp-coach-section, body.page-coach) .prose {

  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 72ch;

}
:is(.lp-coach-section, body.page-coach) .prose p {

  margin: 0 0 12px;

}
:is(.lp-coach-section, body.page-coach) h3.sub {

  font-family: var(--sans);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 24px 0 12px;

}
:is(.lp-coach-section, body.page-coach) .rules {

  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;

}
:is(.lp-coach-section, body.page-coach) .rules li {

  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  background: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .rules li b {

  font-family: var(--sans);
  font-size: 1.8rem;
  color: var(--rose);
  line-height: 1;
  min-width: 28px;

}
:is(.lp-coach-section, body.page-coach) .rules li strong {

  display: block;
  font-family: var(--sans);
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 4px;

}
:is(.lp-coach-section, body.page-coach) .rules li span {

  font-size: .92rem;
  line-height: 1.45;

}
:is(.lp-coach-section, body.page-coach) .cycle {

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .cycle div {

  padding: 14px;
  border-right: 1px solid var(--line);

}
:is(.lp-coach-section, body.page-coach) .cycle div:last-child {

  border-right: 0;
  background: var(--rose-soft);

}
:is(.lp-coach-section, body.page-coach) .cycle h4 {

  font-family: var(--sans);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 4px;

}
:is(.lp-coach-section, body.page-coach) .cycle p {

  font-size: .88rem;
  line-height: 1.45;

}
@media (max-width: 760px) {

  :is(.lp-coach-section, body.page-coach) .cycle {
    grid-template-columns: minmax(0, 1fr);
  }
  :is(.lp-coach-section, body.page-coach) .cycle div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  :is(.lp-coach-section, body.page-coach) .cycle div:last-child {
    border-bottom: 0;
  }

}
:is(.lp-coach-section, body.page-coach) .tbl {

  overflow-x: auto;
  margin: 8px 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);

}
:is(.lp-coach-section, body.page-coach) .tbl table {

  border-collapse: collapse;
  width: 100%;
  font-size: .92rem;
  min-width: 560px;

}
:is(.lp-coach-section, body.page-coach) .tbl th, :is(.lp-coach-section, body.page-coach) .tbl td {

  text-align: left;
  padding: 10px 13px;
  border-bottom: 1.5px solid var(--line);
  vertical-align: top;

}
:is(.lp-coach-section, body.page-coach) .tbl th {

  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 700;
  font-size: .95rem;

}
:is(.lp-coach-section, body.page-coach) .tbl tr:last-child td {

  border-bottom: 0;

}
:is(.lp-coach-section, body.page-coach) .tbl td.t {

  font-family: var(--sans);
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .two {

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;

}
:is(.lp-coach-section, body.page-coach) .three {

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;

}
@media (max-width: 760px) {

  :is(.lp-coach-section, body.page-coach) .two, :is(.lp-coach-section, body.page-coach) .three {
    grid-template-columns: minmax(0, 1fr);
  }

}
:is(.lp-coach-section, body.page-coach) .box {

  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 0;
  background: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .box h4 {

  font-family: var(--sans);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 6px;

}
:is(.lp-coach-section, body.page-coach) .box ul {

  padding-left: 20px;

}
:is(.lp-coach-section, body.page-coach) .box li {

  margin: 4px 0;
  font-size: .92rem;

}
:is(.lp-coach-section, body.page-coach) .do {

  border-top-width: 6px;
  border-top-color: var(--ok);

}
:is(.lp-coach-section, body.page-coach) .dont {

  border-top-width: 6px;
  border-top-color: var(--danger);

}
:is(.lp-coach-section, body.page-coach) .do h4 {

  color: var(--ok);

}
:is(.lp-coach-section, body.page-coach) .dont h4 {

  color: var(--danger);

}
:is(.lp-coach-section, body.page-coach) .swap {

  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 8px 0;

}
:is(.lp-coach-section, body.page-coach) .swap div {

  padding: 9px 12px;
  font-size: .92rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);

}
:is(.lp-coach-section, body.page-coach) .swap .no {

  background: var(--danger-soft);

}
:is(.lp-coach-section, body.page-coach) .swap .yes {

  background: var(--ok-soft);

}
:is(.lp-coach-section, body.page-coach) .swap i {

  text-align: center;
  font-style: normal;
  color: var(--muted);

}
@media (max-width: 560px) {

  :is(.lp-coach-section, body.page-coach) .swap {
    grid-template-columns: minmax(0, 1fr);
  }
  :is(.lp-coach-section, body.page-coach) .swap i {
    display: none;
  }

}
:is(.lp-coach-section, body.page-coach) .quote {

  border-left: 6px solid var(--rose);
  padding: 8px 0 8px 16px;
  margin: 14px 0;
  font-style: italic;
  max-width: 72ch;
  font-size: 1.02rem;

}
/* ── Recherche rapide (palette Ctrl+/ ou /) ─────────────────────── */
:is(.lp-coach-section, body.page-coach) .cc-pal {

  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(16, 24, 46, .6);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10vh 16px 16px;

}
:is(.lp-coach-section, body.page-coach) .cc-pal[hidden] {

  display: none !important;

}
:is(.lp-coach-section, body.page-coach) .cc-pal-in {

  width: min(660px, 100%);
  max-height: 78vh;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  display: flex;
  flex-direction: column;
  overflow: hidden;

}
:is(.lp-coach-section, body.page-coach) .cc-pal .search {

  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  flex: none;

}
:is(.lp-coach-section, body.page-coach) .cc-pal .search:focus-within {

  box-shadow: none;

}
:is(.lp-coach-section, body.page-coach) .pal-res {

  overflow: auto;
  flex: 1;
  padding: 6px 0;

}
:is(.lp-coach-section, body.page-coach) .pal-g {

  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px 4px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .pal-o {

  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 16px;
  color: var(--ink);
  cursor: pointer;

}
:is(.lp-coach-section, body.page-coach) .pal-o b {

  display: block;
  font-family: var(--sans);
  font-size: 1.1rem;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

}
:is(.lp-coach-section, body.page-coach) .pal-o small {

  display: block;
  font-size: .84rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

}
:is(.lp-coach-section, body.page-coach) .pal-o .pal-i {

  width: 10px;
  height: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);

}
:is(.lp-coach-section, body.page-coach) .pal-o kbd {

  visibility: hidden;

}
:is(.lp-coach-section, body.page-coach) .pal-o[aria-selected="true"] {

  background: var(--ink);
  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .pal-o[aria-selected="true"] b, :is(.lp-coach-section, body.page-coach) .pal-o[aria-selected="true"] small, :is(.lp-coach-section, body.page-coach) .pal-o[aria-selected="true"] kbd {

  color: var(--paper);

}
:is(.lp-coach-section, body.page-coach) .pal-o[aria-selected="true"] kbd {

  visibility: visible;

}
:is(.lp-coach-section, body.page-coach) .pal-o[aria-selected="true"] .pal-i {

  border-color: var(--rose);
  background: var(--rose);

}
:is(.lp-coach-section, body.page-coach) .pal-ft {

  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 9px 16px;
  background: var(--surface);
  font-size: .8rem;
  color: var(--muted);

}
:is(.lp-coach-section, body.page-coach) .pal-ft kbd {

  margin-right: 4px;

}
/* Sur téléphone, la barre du bas reste celle du site (avec son Menu) et les
   onglets du carnet restent visibles en haut, comme sur ordinateur : la barre
   basse propre au carnet et son tiroir « Plus » doublaient le menu du site et
   cachaient Ma séance, Repères et la recherche. La barre défile et
   js/pages/coach.js y ramène l'onglet actif. */
:is(.lp-coach-section, body.page-coach) .cc-tabs { position: relative; }
@media (max-width: 860px) {
  :is(.lp-coach-section, body.page-coach) .cc-tabs button[hidden] { display: none !important; }
  :is(.lp-coach-section, body.page-coach) .cc-appbar-in { gap: 8px; padding-inline: 0 12px; }
  :is(.lp-coach-section, body.page-coach) .cc-tabs button { font-size: 14px; padding: 12px 12px 10px; }
  :is(.lp-coach-section, body.page-coach) .cc-palbtn { padding: 7px; }
  :is(.lp-coach-section, body.page-coach) .cc-palbtn span,
  :is(.lp-coach-section, body.page-coach) .cc-palbtn kbd { display: none; }
}
/* ── Lightbox ────────────────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .lightbox {

  position: fixed;
  inset: 0;
  background: rgba(8, 12, 24, .92);
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;

}
:is(.lp-coach-section, body.page-coach) .lightbox img {

  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);

}
:is(.lp-coach-section, body.page-coach) .lightbox button {

  position: absolute;
  top: calc(14px + env(safe-area-inset-top));
  right: 14px;

}
/* ── Squelettes de chargement ────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .skel-bar {

  height: 72px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;

}
:is(.lp-coach-section, body.page-coach) .card.skel {

  cursor: default;
  border-color: var(--line);
  min-height: 180px;

}
:is(.lp-coach-section, body.page-coach) .card.skel:hover {

  box-shadow: none;
  transform: none;

}
:is(.lp-coach-section, body.page-coach) .card.skel i, :is(.lp-coach-section, body.page-coach) .skel-bar {

  display: block;
  background: var(--surface);

}
:is(.lp-coach-section, body.page-coach) .card.skel i {

  height: 14px;
  width: 100%;
  border-radius: var(--radius-s);

}
:is(.lp-coach-section, body.page-coach) .card.skel i:first-child {

  width: 40%;
  height: 10px;

}
:is(.lp-coach-section, body.page-coach) .card.skel i:nth-child(2) {

  height: 24px;
  width: 80%;

}
:is(.lp-coach-section, body.page-coach) .card.skel i.s {

  width: 55%;

}
/* ── Animations fluides ──────────────────────────────────────────── */
/* ── Questions de terrain ────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .cp-intro {
  border-bottom: 1px solid var(--line);
  padding: 10px 0 18px;
  margin-bottom: 22px;
}
:is(.lp-coach-section, body.page-coach) .cp-intro h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0 0 8px;
}
:is(.lp-coach-section, body.page-coach) .cp-intro p {
  max-width: 68ch;
  margin: 0;
  color: var(--body);
}
:is(.lp-coach-section, body.page-coach) .cp-layout {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
:is(.lp-coach-section, body.page-coach) .cp-layout textarea {
  display: block;
  width: 100%;
  resize: vertical;
  box-sizing: border-box;
  padding: 12px;
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
:is(.lp-coach-section, body.page-coach) .cp-layout textarea:focus-visible,
:is(.lp-coach-section, body.page-coach) .cp-entry:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 2px;
}
:is(.lp-coach-section, body.page-coach) .cp-compose-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}
:is(.lp-coach-section, body.page-coach) .cp-compose-foot small,
:is(.lp-coach-section, body.page-coach) .cp-entry small {
  color: var(--muted);
  font: 11px var(--sans);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cp-list-title {
  font-family: var(--sans);
  font-size: 1.55rem;
  margin: 22px 0 10px;
}
:is(.lp-coach-section, body.page-coach) .cp-list {
  display: grid;
  gap: 8px;
}
:is(.lp-coach-section, body.page-coach) .cp-entry {
  display: grid;
  gap: 5px;
  width: 100%;
  text-align: left;
  padding: 12px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--line);
  border-radius: var(--radius-s);
  cursor: pointer;
}
:is(.lp-coach-section, body.page-coach) .cp-entry[aria-current="true"] {
  border-color: var(--rose);
  box-shadow: var(--ombre);
}
:is(.lp-coach-section, body.page-coach) .cp-entry strong {
  font-weight: 700;
  overflow-wrap: anywhere;
}
:is(.lp-coach-section, body.page-coach) .cp-main .bd {
  display: grid;
  gap: 12px;
}
:is(.lp-coach-section, body.page-coach) #cp-detail {
  display: grid;
  gap: 12px;
  justify-items: start;
  min-width: 0;
}
:is(.lp-coach-section, body.page-coach) #cp-detail .cp-answer,
:is(.lp-coach-section, body.page-coach) #cp-detail .cp-result { width: 100%; }
:is(.lp-coach-section, body.page-coach) .cp-main h3,
:is(.lp-coach-section, body.page-coach) .cp-result h4 {
  font-family: var(--sans);
  margin: 0;
}
:is(.lp-coach-section, body.page-coach) .cp-main h3 { font-size: 1.55rem; }
:is(.lp-coach-section, body.page-coach) .cp-result h4 { font-size: 1.2rem; }
:is(.lp-coach-section, body.page-coach) .cp-note,
:is(.lp-coach-section, body.page-coach) .cp-result p {
  margin: 3px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
:is(.lp-coach-section, body.page-coach) .cp-result {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
:is(.lp-coach-section, body.page-coach) .cp-answer {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cp-answer textarea { font-weight: 400; }
:is(.lp-coach-section, body.page-coach) .cp-status:not(:empty) {
  border-left: 4px solid var(--rose);
  padding-left: 10px;
  margin: 0;
}
:is(.lp-coach-section, body.page-coach) .cp-empty { color: var(--muted); }
:is(.lp-coach-section, body.page-coach) .cp-delete {
  display: block;
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--danger);
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 800px) {
  :is(.lp-coach-section, body.page-coach) .cp-layout { grid-template-columns: 1fr; }
}
/* ── Parcours de cours ────────────────────────────────────────────── */
:is(.lp-coach-section, body.page-coach) .cl-view { max-width: 1120px; margin-inline: auto; scroll-margin-top: 125px; }
:is(.lp-coach-section, body.page-coach) .cl-intro,
:is(.lp-coach-section, body.page-coach) .cl-course-head {
  padding: 10px 0 22px;
  border-bottom: 1px solid var(--line);
}
:is(.lp-coach-section, body.page-coach) .cl-intro h2,
:is(.lp-coach-section, body.page-coach) .cl-course-head h2 {
  font: 800 clamp(2.2rem, 5vw, 4.2rem)/.98 var(--sans);
  margin: 12px 0;
  max-width: 18ch;
}
:is(.lp-coach-section, body.page-coach) .cl-intro p,
:is(.lp-coach-section, body.page-coach) .cl-course-head p {
  max-width: 65ch; margin: 0; color: var(--body); font-size: 1rem;
}
:is(.lp-coach-section, body.page-coach) .cl-progress {
  margin: 18px 0; font: 12px var(--sans); color: var(--body);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-layout {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr); margin-top: 24px;
  gap: 26px; align-items: start;
}
:is(.lp-coach-section, body.page-coach) .cl-lessons { display: grid; gap: 12px; }
:is(.lp-coach-section, body.page-coach) .cl-lesson {
  border: 1px solid var(--line); background: var(--paper); padding: 22px;
  box-shadow: var(--ombre);
}
:is(.lp-coach-section, body.page-coach) .cl-meta {
  display: block; font: 11px/1.5 var(--sans); color: var(--muted);
  letter-spacing: .04em;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-lesson h3,
:is(.lp-coach-section, body.page-coach) .cl-map h3,
:is(.lp-coach-section, body.page-coach) .cl-panel h3 {
  font-family: var(--sans); text-transform: uppercase; line-height: 1.05;
}
:is(.lp-coach-section, body.page-coach) .cl-lesson h3 { font-size: 2rem; margin: 9px 0; }
:is(.lp-coach-section, body.page-coach) .cl-lesson p { margin: 0; color: var(--body); max-width: 52ch; }
:is(.lp-coach-section, body.page-coach) .cl-lesson-foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 22px;
}
:is(.lp-coach-section, body.page-coach) .cl-state { font: 11px var(--sans); color: var(--body);
  font-weight: 700;
}
/* Carte de parcours des huit domaines */
:is(.lp-coach-section, body.page-coach) .cl-map { align-self: start; }
:is(.lp-coach-section, body.page-coach) .cl-map-head { background: var(--navy); color: #fff; padding: 18px 20px 20px; border: 1px solid var(--line); }
:is(.lp-coach-section, body.page-coach) .cl-map-kicker { font: 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .72);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-map-count { margin: 6px 0 12px; display: flex; align-items: baseline; gap: 6px; }
:is(.lp-coach-section, body.page-coach) .cl-map-count strong { font: 800 3.4rem/.9 var(--sans); }
:is(.lp-coach-section, body.page-coach) .cl-map-count span { font-size: .9rem; color: rgba(255, 255, 255, .82); }
:is(.lp-coach-section, body.page-coach) .cl-map-bar { height: 8px; background: rgba(255, 255, 255, .18); }
:is(.lp-coach-section, body.page-coach) .cl-track { position: relative; list-style: none; margin: 0; padding: 18px 0 0; }
:is(.lp-coach-section, body.page-coach) .cl-track::before { content: ''; position: absolute; left: 21px; top: 18px; bottom: 30px; width: 3px; background: var(--line); }
:is(.lp-coach-section, body.page-coach) .cl-stop { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 12px; align-items: start; padding: 6px 0; }
:is(.lp-coach-section, body.page-coach) .cl-stop-node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
:is(.lp-coach-section, body.page-coach) .cl-stop.is-encours .cl-stop-node { background: var(--ink); color: var(--paper); }
:is(.lp-coach-section, body.page-coach) .cl-stop.is-fini .cl-stop-node { background: var(--rose); border-color: var(--rose); color: #fff; }
:is(.lp-coach-section, body.page-coach) .cl-stop.is-prep .cl-stop-node { border-style: dashed; border-color: var(--muted); color: var(--muted); background: var(--surface); }
:is(.lp-coach-section, body.page-coach) .cl-stop-body {
  display: block; width: 100%; padding: 10px 12px; text-align: left; font: inherit; color: var(--ink);
  border: 1px solid var(--line); background: var(--paper);
}
:is(.lp-coach-section, body.page-coach) button.cl-stop-body { cursor: pointer; }
:is(.lp-coach-section, body.page-coach) button.cl-stop-body:hover, :is(.lp-coach-section, body.page-coach) button.cl-stop-body:focus-visible { box-shadow: var(--ombre); transform: translate(-2px, -2px); }
:is(.lp-coach-section, body.page-coach) button.cl-stop-body:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
:is(.lp-coach-section, body.page-coach) .cl-stop.is-prep .cl-stop-body { border: 2px dashed var(--line); background: transparent; color: var(--muted); }
:is(.lp-coach-section, body.page-coach) .cl-stop-n { margin-right: 8px; font: 11px var(--sans); color: var(--rose-text);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-stop-body b { font: 800 1.15rem/1.1 var(--sans); text-transform: uppercase; }
:is(.lp-coach-section, body.page-coach) .cl-stop-body small { display: block; margin-top: 4px; font: 11px var(--sans); color: var(--muted);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-stop.is-fini .cl-stop-body small { color: var(--rose-text); }
:is(.lp-coach-section, body.page-coach) .cl-stop-bar { height: 4px; margin-top: 8px; }
:is(.lp-coach-section, body.page-coach) .cl-domain-head { scroll-margin-top: 140px; }
@media (min-width: 761px) {
  :is(.lp-coach-section, body.page-coach) .cl-map { position: sticky; top: 140px; }
}
/* Cartes de cours : vignette du schéma */
:is(.lp-coach-section, body.page-coach) .cl-lesson { display: grid; grid-template-columns: minmax(0, 1fr) 168px; column-gap: 20px; }
:is(.lp-coach-section, body.page-coach) .cl-lesson > :not(.cl-thumb) { grid-column: 1; }
:is(.lp-coach-section, body.page-coach) .cl-lesson > .cl-thumb { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; padding: 6px; border-width: 1.5px; }
:is(.lp-coach-section, body.page-coach) .cl-thumb * { animation: none !important; }
:is(.lp-coach-section, body.page-coach) .cl-lesson.is-done { border-left: 8px solid var(--rose); }
:is(.lp-coach-section, body.page-coach) .cl-lesson.is-done .cl-state { color: var(--rose-text); font-weight: 700; }
:is(.lp-coach-section, body.page-coach) .cl-lesson.is-done .cl-state::before { content: '✓ '; }
@media (max-width: 760px) {
  :is(.lp-coach-section, body.page-coach) .cl-lesson { grid-template-columns: minmax(0, 1fr); }
  :is(.lp-coach-section, body.page-coach) .cl-map { order: -1; }
  :is(.lp-coach-section, body.page-coach) .cl-stop { padding: 4px 0; }
  :is(.lp-coach-section, body.page-coach) .cl-stop-body { padding: 8px 10px; }
  :is(.lp-coach-section, body.page-coach) .cl-lesson > .cl-thumb { grid-column: 1; grid-row: auto; max-width: 240px; margin-top: 14px; }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.lp-coach-section, body.page-coach) button.cl-stop-body, :is(.lp-coach-section, body.page-coach) .cl-lesson { transition: transform .15s ease, box-shadow .15s ease; }
  :is(.lp-coach-section, body.page-coach) .cl-lesson:hover { transform: translate(-2px, -2px); box-shadow: var(--ombre); }
  :is(.lp-coach-section, body.page-coach) .cl-stop { animation: cl-entree .4s ease both; }
  :is(.lp-coach-section, body.page-coach) .cl-stop:nth-child(2) { animation-delay: .05s; }
  :is(.lp-coach-section, body.page-coach) .cl-stop:nth-child(3) { animation-delay: .1s; }
  :is(.lp-coach-section, body.page-coach) .cl-stop:nth-child(4) { animation-delay: .15s; }
  :is(.lp-coach-section, body.page-coach) .cl-stop:nth-child(5) { animation-delay: .2s; }
  :is(.lp-coach-section, body.page-coach) .cl-stop:nth-child(6) { animation-delay: .25s; }
  :is(.lp-coach-section, body.page-coach) .cl-stop:nth-child(7) { animation-delay: .3s; }
  :is(.lp-coach-section, body.page-coach) .cl-stop:nth-child(8) { animation-delay: .35s; }
}
:is(.lp-coach-section, body.page-coach) .cl-back {
  display: inline-block; border: 0; border-bottom: 1px solid currentColor;
  background: none; padding: 0 0 2px; margin: 0 0 22px;
  color: var(--ink); font: 600 13px var(--sans); cursor: pointer;
}
:is(.lp-coach-section, body.page-coach) .cl-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); list-style: none;
  margin: 20px 0; padding: 0; gap: 4px;
}
:is(.lp-coach-section, body.page-coach) .cl-steps li {
  padding: 10px 12px; border-bottom: 3px solid var(--line);
  color: var(--muted); font: 11px var(--sans);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-steps li[aria-current='step'] {
  color: var(--ink); border-color: var(--rose); background: var(--surface);
}
:is(.lp-coach-section, body.page-coach) .cl-panel {
  max-width: 780px; padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line); background: var(--paper);
  box-shadow: var(--ombre);
}
:is(.lp-coach-section, body.page-coach) .cl-panel h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 14px 0; }
:is(.lp-coach-section, body.page-coach) .cl-lead,
:is(.lp-coach-section, body.page-coach) .cl-case { font-size: 1.1rem; line-height: 1.55; max-width: 65ch; }
:is(.lp-coach-section, body.page-coach) .cl-case { border-left: 4px solid var(--rose); padding: 8px 0 8px 18px; }
:is(.lp-coach-section, body.page-coach) .cl-domain-head { padding-top: 14px; border-top: 4px solid var(--ink); }
:is(.lp-coach-section, body.page-coach) .cl-lessons > .cl-domain-head:not(:first-child) { margin-top: 18px; }
:is(.lp-coach-section, body.page-coach) .cl-domain-head h3 {
  font-family: var(--sans); text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; margin: 4px 0 0;
}
:is(.lp-coach-section, body.page-coach) .cl-section { max-width: 65ch; margin-top: 22px; }
:is(.lp-coach-section, body.page-coach) .cl-section h4,
:is(.lp-coach-section, body.page-coach) .cl-subhead {
  font: 700 1rem var(--sans); margin: 0 0 6px;
}
:is(.lp-coach-section, body.page-coach) .cl-subhead { margin-top: 26px; }
:is(.lp-coach-section, body.page-coach) .cl-section p { margin: 0; line-height: 1.6; color: var(--body); }
:is(.lp-coach-section, body.page-coach) .cl-example {
  max-width: 65ch; margin-top: 24px; padding: 16px 20px;
  border: 2px solid var(--line); background: var(--surface);
}
:is(.lp-coach-section, body.page-coach) .cl-example strong { font: 11px var(--sans); color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-example p { margin: 6px 0 0; line-height: 1.55; }
:is(.lp-coach-section, body.page-coach) .cl-drill { padding-left: 1.4rem; max-width: 65ch; }
:is(.lp-coach-section, body.page-coach) .cl-drill li { margin: 10px 0; line-height: 1.5; }
:is(.lp-coach-section, body.page-coach) .cl-reperes { padding-left: 1.2rem; max-width: 65ch; }
:is(.lp-coach-section, body.page-coach) .cl-reperes li { margin: 12px 0; }
:is(.lp-coach-section, body.page-coach) .cl-options { display: grid; gap: 10px; }
:is(.lp-coach-section, body.page-coach) .cl-option {
  width: 100%; text-align: left; border: 2px solid var(--line);
  color: var(--ink); background: var(--surface); padding: 13px 16px;
  font: inherit; cursor: pointer;
}
:is(.lp-coach-section, body.page-coach) .cl-option[aria-pressed='true'] {
  border-color: var(--rose); box-shadow: var(--ombre);
}
:is(.lp-coach-section, body.page-coach) .cl-feedback {
  margin-top: 20px; padding: 16px 20px; border-left: 4px solid var(--rose);
  background: var(--surface);
}
:is(.lp-coach-section, body.page-coach) .cl-feedback strong { font-family: var(--sans); text-transform: uppercase; font-size: 1.25rem; }
:is(.lp-coach-section, body.page-coach) .cl-feedback p { margin: 5px 0 0; max-width: 65ch; }
:is(.lp-coach-section, body.page-coach) .cl-answer-label { display: block; font-weight: 700; margin: 20px 0 7px; }
:is(.lp-coach-section, body.page-coach) .cl-answer {
  display: block; width: 100%; box-sizing: border-box; padding: 12px;
  border: 2px solid var(--line); border-radius: 0; background: var(--surface);
  color: var(--ink); font: inherit; resize: vertical; margin-bottom: 14px;
}
:is(.lp-coach-section, body.page-coach) .cl-nav,
:is(.lp-coach-section, body.page-coach) .cl-finish {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
:is(.lp-coach-section, body.page-coach) .cl-finish-note { color: var(--muted); font-size: .9rem; }
:is(.lp-coach-section, body.page-coach) .cl-sources {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline;
  margin: 28px 0 10px; font-size: .84rem;
}
:is(.lp-coach-section, body.page-coach) .cl-sources strong { font-family: var(--sans); text-transform: uppercase; font-size: 1.2rem; }
:is(.lp-coach-section, body.page-coach) .cl-sources a { color: var(--rose-text); text-decoration: underline; }
/* Questions interactives et quiz de domaine */
:is(.lp-coach-section, body.page-coach) .cl-panel h3[tabindex='-1']:focus { outline: none; }
:is(.lp-coach-section, body.page-coach) .cl-panel h3.cl-score { font-size: clamp(2.6rem, 8vw, 4rem); margin: 6px 0 10px; }
:is(.lp-coach-section, body.page-coach) .cl-option.is-ok:disabled { opacity: 1; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; }
:is(.lp-coach-section, body.page-coach) .cl-table {
  max-width: 440px; background: var(--ink); border: 1px solid var(--line); padding: 0 10px 12px;
}
:is(.lp-coach-section, body.page-coach) .cl-table-net {
  margin: 0 -10px 8px; padding: 6px 0; border-bottom: 4px solid var(--paper);
  color: var(--paper); font: 10px var(--sans); text-align: center; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-table-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-left: 70px;
  color: var(--paper); font: 10px/1.3 var(--sans); text-align: center;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-table-row {
  display: grid; grid-template-columns: 64px repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 6px;
}
:is(.lp-coach-section, body.page-coach) .cl-table-label { align-self: center; color: var(--paper); font: 10px var(--sans);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-zone {
  min-height: 56px; border: 2px dashed var(--muted); background: transparent; cursor: pointer;
}
:is(.lp-coach-section, body.page-coach) .cl-zone[aria-pressed='true'] { background: var(--rose); border: 2px solid var(--rose); }
:is(.lp-coach-section, body.page-coach) .cl-zone:disabled { cursor: default; }
:is(.lp-coach-section, body.page-coach) .cl-zone:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
:is(.lp-coach-section, body.page-coach) .cl-check-zone { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
:is(.lp-coach-section, body.page-coach) .cl-option:disabled { cursor: default; }
:is(.lp-coach-section, body.page-coach) .cl-option:disabled:not([aria-pressed='true']) { opacity: .6; }
:is(.lp-coach-section, body.page-coach) .cl-vf { grid-template-columns: 1fr 1fr; }
:is(.lp-coach-section, body.page-coach) .cl-vf .cl-option { text-align: center; font-weight: 700; }
:is(.lp-coach-section, body.page-coach) .cl-hint { color: var(--muted); font-size: .9rem; margin: -6px 0 12px; }
:is(.lp-coach-section, body.page-coach) .cl-order { list-style: none; counter-reset: ordre; margin: 0; padding: 0; display: grid; gap: 8px; }
:is(.lp-coach-section, body.page-coach) .cl-order li {
  counter-increment: ordre; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto;
  align-items: center; gap: 8px; padding: 10px 12px;
  border: 2px solid var(--line); background: var(--surface);
}
:is(.lp-coach-section, body.page-coach) .cl-order li::before { content: counter(ordre); font: 11px var(--sans); color: var(--rose);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-order li:has(.cl-mark) { grid-template-columns: 26px minmax(0, 1fr) auto; }
:is(.lp-coach-section, body.page-coach) .cl-move {
  width: 40px; height: 40px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); font: 700 1rem var(--sans); cursor: pointer;
}
:is(.lp-coach-section, body.page-coach) .cl-move:disabled { opacity: .3; cursor: default; }
:is(.lp-coach-section, body.page-coach) .is-ok { border-color: var(--ok) !important; background: var(--ok-soft) !important; }
:is(.lp-coach-section, body.page-coach) .is-ko { border-color: var(--danger) !important; background: var(--danger-soft) !important; }
:is(.lp-coach-section, body.page-coach) .cl-mark { font: 11px var(--sans); color: var(--body);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-correction { margin: 8px 0 0; padding-left: 1.3rem; }
:is(.lp-coach-section, body.page-coach) .cl-assoc,
:is(.lp-coach-section, body.page-coach) .cl-tri { display: grid; gap: 10px; }
:is(.lp-coach-section, body.page-coach) .cl-assoc-row,
:is(.lp-coach-section, body.page-coach) .cl-tri-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 6px 14px;
  align-items: center; padding: 10px 12px; border: 2px solid var(--line); background: var(--surface);
}
:is(.lp-coach-section, body.page-coach) .cl-assoc-row .cl-mark,
:is(.lp-coach-section, body.page-coach) .cl-tri-row .cl-mark { grid-column: 1 / -1; }
:is(.lp-coach-section, body.page-coach) .cl-assoc-left { font-weight: 700; }
:is(.lp-coach-section, body.page-coach) .cl-assoc-select {
  width: 100%; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 0;
  background: var(--paper); color: var(--ink); font: inherit;
}
:is(.lp-coach-section, body.page-coach) .cl-tri-text { margin: 0; }
:is(.lp-coach-section, body.page-coach) .cl-tri-choices { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
:is(.lp-coach-section, body.page-coach) .cl-chip {
  min-height: 40px; padding: 6px 12px; border: 2px solid var(--line); background: var(--paper);
  color: var(--ink); font: 600 .85rem var(--sans); cursor: pointer;
}
:is(.lp-coach-section, body.page-coach) .cl-chip[aria-pressed='true'] { border-color: var(--rose); box-shadow: var(--ombre); }
:is(.lp-coach-section, body.page-coach) .cl-chip:disabled { cursor: default; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-card {
  border: 2px dashed var(--ink); background: var(--surface); padding: 22px;
}
:is(.lp-coach-section, body.page-coach) .cl-quiz-card h3 {
  font-family: var(--sans); text-transform: uppercase; line-height: 1.05; font-size: 1.7rem; margin: 9px 0;
}
:is(.lp-coach-section, body.page-coach) .cl-quiz-card p { margin: 0 0 16px; color: var(--body); max-width: 52ch; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-bar { height: 6px; background: var(--line); margin: 10px 0 4px; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-bar span { display: block; height: 100%; background: var(--rose); }
:is(.lp-coach-section, body.page-coach) .cl-quiz-misses { padding-left: 1.2rem; max-width: 65ch; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-misses li { margin: 12px 0; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-misses p { margin: 0 0 6px; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-misses .cl-back { margin: 0; }
:is(.lp-coach-section, body.page-coach) .cl-move:focus-visible,
:is(.lp-coach-section, body.page-coach) .cl-chip:focus-visible,
:is(.lp-coach-section, body.page-coach) .cl-assoc-select:focus-visible,
:is(.lp-coach-section, body.page-coach) .cl-option:focus-visible,
:is(.lp-coach-section, body.page-coach) .cl-back:focus-visible,
:is(.lp-coach-section, body.page-coach) .cl-answer:focus-visible {
  outline: 3px solid var(--rose); outline-offset: 3px;
}
@media (max-width: 760px) {
  :is(.lp-coach-section, body.page-coach) .cl-layout { grid-template-columns: 1fr; }
  :is(.lp-coach-section, body.page-coach) .cl-steps li { padding: 8px 4px; font-size: 10px; }
  :is(.lp-coach-section, body.page-coach) .cl-assoc-row,
  :is(.lp-coach-section, body.page-coach) .cl-tri-row { grid-template-columns: 1fr; }
  :is(.lp-coach-section, body.page-coach) .cl-tri-choices { justify-content: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {

  .section-animate {
    animation: cc-fade-slide .2s cubic-bezier(.22,.68,0,1.2) forwards;
  }
  @keyframes cc-fade-slide {
    from {
      opacity: 0;
      transform: translateY(6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .drawer {
    animation: cc-in .2s ease-out;
  }
  @keyframes cc-in {
    from {
      transform: translateX(32px);
    }
  }
  .card.skel i, .skel-bar {
    animation: cc-pulse 1.1s ease-in-out infinite alternate;
  }
  @keyframes cc-pulse {
    to {
      opacity: .45;
    }
  }
  .cc-pal-in {
    animation: cc-drop .14s ease-out;
  }
  @keyframes cc-drop {
    from {
      transform: translateY(-8px);
      opacity: 0;
    }
  }

}


/* ── Cours : schémas, bilan de fin et animations ─────────────────── */
:is(.lp-coach-section, body.page-coach) .cl-schema {
  position: relative;
  max-width: 560px; margin: 22px 0 8px; padding: clamp(6px, 2vw, 14px);
  border: 1px solid var(--line); background: var(--paper);
}
:is(.lp-coach-section, body.page-coach) .cl-schema svg { display: block; width: 100%; height: auto; stroke-width: 2; }
:is(.lp-coach-section, body.page-coach) .cl-schema figcaption { margin-top: 8px; font: 11px/1.5 var(--sans); color: var(--muted);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-schema-actions { display: flex; justify-content: flex-end; margin: 6px 0 2px; }
:is(.lp-coach-section, body.page-coach) .cl-schema-replay {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--muted);
  font: 600 11px/1.2 var(--sans); padding: 4px 10px; border-radius: 999px;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-schema-replay:hover {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
:is(.lp-coach-section, body.page-coach) .cl-schema-replay .cl-replay-icon {
  display: inline-block; font-size: 13px; line-height: 1; transition: transform .45s ease;
}
:is(.lp-coach-section, body.page-coach) .cl-schema-replay.is-active .cl-replay-icon {
  transform: rotate(360deg);
}
:is(.lp-coach-section, body.page-coach) :is(.cl-schema, .cl-check-mark) .sk { stroke: var(--ink); }
:is(.lp-coach-section, body.page-coach) :is(.cl-schema, .cl-check-mark) .sa { stroke: var(--rose); }
:is(.lp-coach-section, body.page-coach) .cl-schema .sl { stroke: var(--muted); }
:is(.lp-coach-section, body.page-coach) .cl-schema .fp { fill: var(--paper); }
:is(.lp-coach-section, body.page-coach) .cl-schema .fs { fill: var(--surface); }
:is(.lp-coach-section, body.page-coach) .cl-schema .fi { fill: var(--ink); }
:is(.lp-coach-section, body.page-coach) .cl-schema .fa { fill: var(--rose); }
:is(.lp-coach-section, body.page-coach) .cl-schema .fa-soft { fill: var(--rose-soft); }
:is(.lp-coach-section, body.page-coach) .cl-schema .fok { fill: var(--ok-soft); }
:is(.lp-coach-section, body.page-coach) .cl-schema .fko { fill: var(--danger-soft); }
:is(.lp-coach-section, body.page-coach) .cl-schema .tc { font: 600 14px var(--sans); fill: var(--ink); }
:is(.lp-coach-section, body.page-coach) .cl-schema .tcr { font: 700 14px var(--sans); fill: var(--rose-text); }
:is(.lp-coach-section, body.page-coach) .cl-schema .tw { font: 700 14px var(--sans); fill: #fff; }
:is(.lp-coach-section, body.page-coach) .cl-schema .ts { font: 12.5px var(--sans); fill: var(--muted); }
:is(.lp-coach-section, body.page-coach) .cl-schema .tsr { font: 600 12.5px var(--sans); fill: var(--rose-text); }
:is(.lp-coach-section, body.page-coach) .cl-step-bar { height: 4px; margin: -14px 0 18px; }
:is(.lp-coach-section, body.page-coach) .cl-domain-bar { height: 4px; max-width: 260px; margin: 8px 0 0; }
:is(.lp-coach-section, body.page-coach) .cl-score-bar { height: 10px; max-width: 420px; margin: 0 0 14px; }
:is(.lp-coach-section, body.page-coach) .cl-steps li.is-done { color: var(--ink); border-color: var(--ink); }
:is(.lp-coach-section, body.page-coach) .cl-option.is-good { border-color: var(--ok); background: var(--ok-soft); }
:is(.lp-coach-section, body.page-coach) .cl-option.is-bad { border-color: var(--danger); background: var(--danger-soft); }
:is(.lp-coach-section, body.page-coach) .cl-bilan { text-align: left; }
:is(.lp-coach-section, body.page-coach) .cl-check-mark { display: block; width: 64px; height: 64px; stroke-width: 5; }
:is(.lp-coach-section, body.page-coach) .cl-bilan h3 { font-size: clamp(2rem, 6vw, 3rem); margin: 14px 0 4px; }
:is(.lp-coach-section, body.page-coach) .cl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 18px 0; }
:is(.lp-coach-section, body.page-coach) .cl-tile { border: 1px solid var(--line); padding: 12px 14px; background: var(--surface); }
:is(.lp-coach-section, body.page-coach) .cl-tile strong { display: block; font: 800 2rem/1 var(--sans); }
:is(.lp-coach-section, body.page-coach) .cl-tile span { display: block; margin-top: 6px; font-size: .85rem; color: var(--body); }
:is(.lp-coach-section, body.page-coach) .cl-domain-progress { margin: 6px 0 14px; max-width: 420px; }
:is(.lp-coach-section, body.page-coach) .cl-save { margin: 8px 0; padding: 10px 14px; border-left: 4px solid var(--line); font-size: .92rem; }
:is(.lp-coach-section, body.page-coach) .cl-save.is-ok { border-color: var(--ok); color: var(--ok); }
:is(.lp-coach-section, body.page-coach) .cl-save.is-erreur { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }
:is(.lp-coach-section, body.page-coach) .cl-save.is-compte { border-color: var(--warn); }

/* Erreurs typiques du joueur vs Pièges de l’entraîneur */
:is(.lp-coach-section, body.page-coach) .cl-pieges {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
:is(.lp-coach-section, body.page-coach) .cl-pieges .cl-subhead {
  margin-top: 0;
  margin-bottom: 12px;
}
:is(.lp-coach-section, body.page-coach) .cl-pieges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 620px) {
  :is(.lp-coach-section, body.page-coach) .cl-pieges-grid {
    grid-template-columns: 1fr;
  }
}
:is(.lp-coach-section, body.page-coach) .cl-piege-col {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1.5px solid var(--line);
}
:is(.lp-coach-section, body.page-coach) .cl-piege-joueur {
  border-left: 4px solid #f59e0b;
}
:is(.lp-coach-section, body.page-coach) .cl-piege-coach {
  border-left: 4px solid var(--danger);
}
:is(.lp-coach-section, body.page-coach) .cl-piege-tag {
  font: 700 11px/1.3 var(--sans);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-piege-col p,
:is(.lp-coach-section, body.page-coach) .cl-piege-juste p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
:is(.lp-coach-section, body.page-coach) .cl-piege-juste {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--ok) 9%, var(--paper));
  border: 1.5px solid color-mix(in srgb, var(--ok) 35%, var(--line));
  border-left: 4px solid var(--ok);
}
:is(.lp-coach-section, body.page-coach) .cl-piege-juste .cl-piege-tag {
  color: var(--ok-text, var(--ink));
}

@media (prefers-reduced-motion: no-preference) {
  :is(.lp-coach-section, body.page-coach) .cl-enter { animation: cl-entree .35s cubic-bezier(.2, .7, .2, 1) both; }
  :is(.lp-coach-section, body.page-coach) .cl-enter :is(.cl-section, .cl-example, .cl-drill li, .cl-tile) { animation: cl-entree .4s ease both; }
  :is(.lp-coach-section, body.page-coach) .cl-enter :is(.cl-section, .cl-drill li, .cl-tile):nth-child(2) { animation-delay: .08s; }
  :is(.lp-coach-section, body.page-coach) .cl-enter :is(.cl-section, .cl-drill li, .cl-tile):nth-child(3) { animation-delay: .16s; }
  :is(.lp-coach-section, body.page-coach) .cl-enter :is(.cl-section, .cl-drill li):nth-child(4) { animation-delay: .24s; }
  :is(.lp-coach-section, body.page-coach) .cl-enter :is(.cl-section, .cl-drill li):nth-child(5) { animation-delay: .32s; }
  :is(.lp-coach-section, body.page-coach) .cl-feedback { animation: cl-revele .3s ease both; }
  :is(.lp-coach-section, body.page-coach) :is(.cl-option, .cl-zone).is-good,
  :is(.lp-coach-section, body.page-coach) .cl-zone.is-ok { animation: cl-pop .35s ease; }
  :is(.lp-coach-section, body.page-coach) :is(.cl-option, .cl-zone).is-bad,
  :is(.lp-coach-section, body.page-coach) :is(.cl-option, .cl-zone).is-ko { animation: cl-secoue .4s ease; }
  :is(.lp-coach-section, body.page-coach) .cl-quiz-bar span { transition: width .6s cubic-bezier(.2, .7, .2, 1); }
  :is(.lp-coach-section, body.page-coach) :is(.cl-schema, .cl-check-mark) .draw { stroke-dasharray: 1; animation: cl-trace .9s ease both; }
  :is(.lp-coach-section, body.page-coach) .cl-schema .pop { animation: cl-entree .4s ease both; }
  :is(.lp-coach-section, body.page-coach) .cl-schema .cl-balle-impact {
    transform-box: fill-box;
    transform-origin: center center;
    animation: cl-balle-impact .45s cubic-bezier(.17, .89, .32, 1.25) both;
  }
  :is(.lp-coach-section, body.page-coach) .cl-schema .cl-onde {
    stroke: var(--rose);
    stroke-width: 2;
    transform-box: fill-box;
    transform-origin: center center;
    animation: cl-onde-impact 1s ease-out both;
  }
  :is(.lp-coach-section, body.page-coach) .cl-schema .grow { transform-box: fill-box; transform-origin: left center; animation: cl-croit .7s cubic-bezier(.2, .7, .2, 1) both; }
  :is(.lp-coach-section, body.page-coach) .cl-schema .rise { transform-box: fill-box; transform-origin: center bottom; animation: cl-monte .6s cubic-bezier(.2, .7, .2, 1) both; }
  :is(.lp-coach-section, body.page-coach) .cl-schema .slide { animation: cl-glisse .8s cubic-bezier(.2, .7, .2, 1) both; }
  :is(.lp-coach-section, body.page-coach) .cl-check-mark { animation: cl-pop .5s ease .9s both; }
  @keyframes cl-entree { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes cl-revele { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
  @keyframes cl-pop { 0% { transform: scale(1); } 45% { transform: scale(1.04); } 100% { transform: scale(1); } }
  @keyframes cl-secoue { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
  @keyframes cl-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes cl-croit { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes cl-monte { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes cl-glisse { from { transform: translateX(-120px); opacity: 0; } to { transform: none; opacity: 1; } }
  @keyframes cl-balle-impact {
    0% { transform: scale(0.3); opacity: 0; }
    60% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
  }
  @keyframes cl-onde-impact {
    0% { transform: scale(0.6); opacity: 0.9; stroke-width: 2.5px; }
    100% { transform: scale(2.4); opacity: 0; stroke-width: 0.5px; }
  }
}
:is(.lp-coach-section, body.page-coach) .cl-finish .btn { max-width: 100%; white-space: normal; text-align: left; }

/* Sous-navigation des onglets regroupés (Exercices, Repères) */
:is(.lp-coach-section, body.page-coach) .cc-subnav { display: flex; width: fit-content; max-width: 100%; margin: 4px 0 18px; }
:is(.lp-coach-section, body.page-coach) .cc-subnav[hidden] { display: none; }
@media (max-width: 760px) {
  :is(.lp-coach-section, body.page-coach) .cc-subnav { width: 100%; }
  :is(.lp-coach-section, body.page-coach) .cc-subnav button { flex: 1 1 0; justify-content: center; }
  :is(.lp-coach-section, body.page-coach) .cc-subnav .cc-long { display: none; }
  :is(.lp-coach-section, body.page-coach) .cc-subnav button { white-space: nowrap; }
}

/* Écran « Domaine terminé » */
:is(.lp-coach-section, body.page-coach) .cl-bilan.is-domaine { border-top: 10px solid var(--rose); }
:is(.lp-coach-section, body.page-coach) .cl-domain-badge {
  display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: 14px;
  background: var(--rose); color: #fff; border: 1px solid var(--line); box-shadow: var(--ombre);
}
:is(.lp-coach-section, body.page-coach) .cl-domain-badge svg { width: 48px; height: 48px; }
:is(.lp-coach-section, body.page-coach) .cl-domain-name { font: 800 clamp(1.6rem, 5vw, 2.4rem)/1 var(--sans); text-transform: uppercase; color: var(--rose-text); }
:is(.lp-coach-section, body.page-coach) .cl-domain-done { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 6px; max-width: 520px; }
:is(.lp-coach-section, body.page-coach) .cl-domain-done li { padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; }
:is(.lp-coach-section, body.page-coach) .cl-domain-done li::before { content: '✓'; margin-right: 10px; color: var(--rose-text); font-weight: 800; }
@media (prefers-reduced-motion: no-preference) {
  :is(.lp-coach-section, body.page-coach) .cl-domain-badge { animation: cl-tampon .55s cubic-bezier(.2, .7, .2, 1.3) .15s both; }
  :is(.lp-coach-section, body.page-coach) .cl-domain-done li { animation: cl-entree .35s ease both; }
  :is(.lp-coach-section, body.page-coach) .cl-domain-done li:nth-child(1) { animation-delay: .5s; }
  :is(.lp-coach-section, body.page-coach) .cl-domain-done li:nth-child(2) { animation-delay: .65s; }
  :is(.lp-coach-section, body.page-coach) .cl-domain-done li:nth-child(3) { animation-delay: .8s; }
  :is(.lp-coach-section, body.page-coach) .cl-domain-done li:nth-child(4) { animation-delay: .95s; }
  @keyframes cl-tampon { from { opacity: 0; transform: scale(1.6) rotate(-10deg); } to { opacity: 1; transform: none; } }
}

/* Scores de quiz, rappels de révision */
:is(.lp-coach-section, body.page-coach) .cl-quiz-score { margin: -6px 0 10px; font: 12px var(--sans); color: var(--ink);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-chip-rappel {
  display: inline-block; margin: 0 0 12px; padding: 4px 10px; border: 2px solid var(--rose);
  font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--rose-text);
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-score.is-record { color: var(--rose-text); }
:is(.lp-coach-section, body.page-coach) .cl-pastille[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  :is(.lp-coach-section, body.page-coach) .cl-chip-rappel { animation: cl-pop .6s ease 2; }
}
:is(.lp-coach-section, body.page-coach) .cc-tabs .cl-pastille { background: var(--rose); color: #fff; }
:is(.lp-coach-section, body.page-coach) .cl-ajout { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ── Mode jeu : quiz et réponses. Hors charte, voulu par Timothé (13/10) ; réutilisable pour des quiz enfants. ── */
.lp-jeu-couche { position: fixed; inset: 0; z-index: 9999; overflow: hidden; pointer-events: none; }
.lp-jeu-carre { position: absolute; display: block; border-radius: var(--radius-s); }
.lp-jeu-carre.rond { border-radius: 50%; }
.lp-jeu-points { position: absolute; font: 800 24px/1 "DM Sans", system-ui, sans-serif; color: #06D6A0; text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
:is(.lp-coach-section, body.page-coach) { --jeu-ok: #06D6A0; --jeu-ko: #FF4D6D; --jeu-or: #FFB703; --jeu-bleu: #3A86FF; --jeu-violet: #8338EC; }
:is(.lp-coach-section, body.page-coach) .cl-panel.cl-quiz-panel {
  position: relative; overflow: hidden; border: 0; border-radius: 24px; padding-top: clamp(26px, 4vw, 40px);
  box-shadow: 0 18px 50px -18px rgba(16, 24, 46, .38), 0 1px 0 rgba(16, 24, 46, .06);
}
:is(.lp-coach-section, body.page-coach) .cl-quiz-panel::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 7px;
  background: linear-gradient(90deg, var(--jeu-violet), var(--jeu-bleu), var(--jeu-ok), var(--jeu-or), var(--jeu-ko));
}
:is(.lp-coach-section, body.page-coach) .cl-quiz-panel h3 { font-family: var(--sans); font-weight: 800; text-transform: none; letter-spacing: -.01em; line-height: 1.2; }
/* Réponses : cartes arrondies avec pastille A, B, C */
:is(.lp-coach-section, body.page-coach) .cl-options { counter-reset: choix; gap: 12px; }
:is(.lp-coach-section, body.page-coach) .cl-option {
  position: relative; border-radius: 16px; border: 2px solid var(--line); padding: 14px 16px 14px 58px; font-weight: 600; line-height: 1.4;
}
:is(.lp-coach-section, body.page-coach) .cl-option::before {
  counter-increment: choix; content: counter(choix, upper-alpha);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 10px; border: 2px solid var(--line); background: var(--paper);
  font: 800 14px var(--sans); color: var(--ink);
}
:is(.lp-coach-section, body.page-coach) .cl-vf .cl-option { padding-left: 16px; font-size: 1.05rem; }
:is(.lp-coach-section, body.page-coach) .cl-vf .cl-option::before { display: none; }
:is(.lp-coach-section, body.page-coach) .cl-option[aria-pressed='true'] { border-color: var(--jeu-bleu); box-shadow: none; }
:is(.lp-coach-section, body.page-coach) .cl-options .cl-option:is(.is-good, .is-ok) { border-color: var(--jeu-ok) !important; background: color-mix(in srgb, var(--jeu-ok) 15%, var(--paper)) !important; }
:is(.lp-coach-section, body.page-coach) .cl-options .cl-option:is(.is-bad, .is-ko) { border-color: var(--jeu-ko) !important; background: color-mix(in srgb, var(--jeu-ko) 13%, var(--paper)) !important; }
:is(.lp-coach-section, body.page-coach) .cl-option:is(.is-good, .is-ok)::before { content: '✓'; background: var(--jeu-ok); border-color: var(--jeu-ok); color: #fff; }
:is(.lp-coach-section, body.page-coach) .cl-option:is(.is-bad, .is-ko)::before { content: '✕'; background: var(--jeu-ko); border-color: var(--jeu-ko); color: #fff; }
:is(.lp-coach-section, body.page-coach) .cl-zone { border-radius: 10px; }
:is(.lp-coach-section, body.page-coach) .cl-chip { border-radius: 999px; }
:is(.lp-coach-section, body.page-coach) .cl-move { border-radius: 12px; }
:is(.lp-coach-section, body.page-coach) .cl-assoc-select { border-radius: 10px; }
:is(.lp-coach-section, body.page-coach) :is(.cl-order li, .cl-assoc-row, .cl-tri-row) { border-radius: 14px; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-panel .cl-feedback { border-left: 0; border-radius: 16px; }
/* Barre de jeu : pastilles, série, points */
:is(.lp-coach-section, body.page-coach) .cl-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 8px; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-dots { display: flex; flex: 1 1 200px; gap: 6px; margin: 0; padding: 0; list-style: none; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-dots li { flex: 1 1 0; height: 10px; border-radius: 999px; background: var(--line); }
:is(.lp-coach-section, body.page-coach) .cl-quiz-dots li.is-current { background: var(--jeu-bleu); }
:is(.lp-coach-section, body.page-coach) .cl-quiz-dots li.is-ok { background: var(--jeu-ok) !important; border-color: transparent !important; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-dots li.is-ko { background: var(--jeu-ko) !important; border-color: transparent !important; }
:is(.lp-coach-section, body.page-coach) .cl-hud-score { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 800 1rem var(--sans); }
:is(.lp-coach-section, body.page-coach) .cl-hud-serie { padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--jeu-or), var(--jeu-ko)); color: #fff; font: 800 .9rem var(--sans); }
:is(.lp-coach-section, body.page-coach) .cl-hud-serie[hidden] { display: none; }
/* Résultat : anneau, étoiles, statistiques */
:is(.lp-coach-section, body.page-coach) .cl-result { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin: 4px 0 18px; }
:is(.lp-coach-section, body.page-coach) .cl-ring { position: relative; flex: none; width: 168px; height: 168px; }
:is(.lp-coach-section, body.page-coach) .cl-ring .cl-score { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; text-align: center; }
:is(.lp-coach-section, body.page-coach) .cl-ring .cl-score strong { font: 800 3.2rem/1 var(--sans); }
:is(.lp-coach-section, body.page-coach) .cl-ring .cl-score span { margin-top: 2px; font: 600 .95rem var(--sans); color: var(--muted); }
.lp-jeu-anneau { display: block; width: 100%; height: 100%; }
.lp-jeu-anneau .fond { stroke: rgba(127, 127, 127, .22); stroke-width: 12; }
.lp-jeu-anneau .arc { stroke: #06D6A0; stroke-width: 12; stroke-linecap: round; }
.lp-jeu-etoiles { display: flex; gap: 8px; }
.lp-jeu-etoiles svg { width: 48px; height: 48px; }
.lp-jeu-etoiles .pleine path { fill: #FFB703; stroke: #E39A00; stroke-width: 1; stroke-linejoin: round; }
.lp-jeu-etoiles .vide path { fill: rgba(127, 127, 127, .22); }
:is(.lp-coach-section, body.page-coach) .cl-result-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
:is(.lp-coach-section, body.page-coach) .cl-result-stats p { margin: 0; color: var(--body); }
:is(.lp-coach-section, body.page-coach) .cl-result-stats strong { font: 800 1.7rem/1 var(--sans); color: var(--ink); }
@media (max-width: 760px) {
  :is(.lp-coach-section, body.page-coach) .cl-quiz-dots { flex-basis: 100%; }
  :is(.lp-coach-section, body.page-coach) .cl-ring { width: 140px; height: 140px; }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.lp-coach-section, body.page-coach) .cl-option { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .2s ease; }
  :is(.lp-coach-section, body.page-coach) .cl-option:not(:disabled):hover { transform: translateY(-2px); border-color: var(--jeu-bleu); box-shadow: 0 10px 22px -12px rgba(16, 24, 46, .45); }
  :is(.lp-coach-section, body.page-coach) .cl-panel.cl-quiz-panel.cl-enter { animation: cl-glisse-q .45s cubic-bezier(.2, .8, .2, 1) both; }
  :is(.lp-coach-section, body.page-coach) .cl-quiz-dots li { transition: background-color .3s ease; }
  :is(.lp-coach-section, body.page-coach) .cl-quiz-dots li.is-current { animation: cl-pouls 1.2s ease-in-out infinite; }
  @keyframes cl-glisse-q { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
  @keyframes cl-pouls { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
}
:is(.lp-coach-section, body.page-coach) .cl-options .cl-option:is(.is-ok, .is-good, .is-ko, .is-bad):disabled { opacity: 1; }

/* ── Carte du parcours en mode jeu (hors charte, voulu par Timothé le 13/10) ──
   Fond aux couleurs du site depuis le 04/11 : bleu nuit, pas de dégradé violet. */
:is(.lp-coach-section, body.page-coach) .cl-map-head {
  border: 0; border-radius: 22px; color: #fff;
  background: #122A52;
  box-shadow: 0 16px 34px -18px rgba(18, 42, 82, .8);
}
:is(.lp-coach-section, body.page-coach) .cl-map-kicker { font: 800 12px var(--sans); letter-spacing: .08em; color: rgba(255, 255, 255, .85); }
:is(.lp-coach-section, body.page-coach) .cl-map-count { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 8px 0 14px; }
:is(.lp-coach-section, body.page-coach) .cl-map-count p { margin: 0; }
:is(.lp-coach-section, body.page-coach) .cl-map-count strong { font: 800 2.4rem/1 var(--sans); }
:is(.lp-coach-section, body.page-coach) .cl-map-count span { font: 600 .95rem var(--sans); color: rgba(255, 255, 255, .85); }
:is(.lp-coach-section, body.page-coach) .cl-map-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .25); overflow: hidden; }
:is(.lp-coach-section, body.page-coach) .cl-map-bar span { border-radius: 999px; background: var(--rose); }
:is(.lp-coach-section, body.page-coach) .cl-track { padding-top: 22px; }
:is(.lp-coach-section, body.page-coach) .cl-track::before { left: 30px; top: 30px; bottom: 40px; width: 0; background: none; border-left: 4px dotted var(--line); }
:is(.lp-coach-section, body.page-coach) .cl-stop { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px 0; }
:is(.lp-coach-section, body.page-coach) .cl-stop-node {
  width: 64px; height: 64px; border: 0; border-radius: 50%; color: #fff;
  background: var(--dom); box-shadow: 0 8px 18px -8px var(--dom);
}
:is(.lp-coach-section, body.page-coach) .cl-stop-node > svg:not(.cl-stop-ring) { position: relative; z-index: 1; width: 26px; height: 26px; }
:is(.lp-coach-section, body.page-coach) .cl-stop.is-ouvert .cl-stop-node,
:is(.lp-coach-section, body.page-coach) .cl-stop.is-encours .cl-stop-node,
:is(.lp-coach-section, body.page-coach) .cl-stop.is-fini .cl-stop-node { background: var(--dom); border: 0; color: var(--dom-ink, #fff); }
:is(.lp-coach-section, body.page-coach) .cl-stop.is-prep .cl-stop-node { background: var(--surface); color: var(--muted); border: 3px dashed var(--line); box-shadow: none; }
:is(.lp-coach-section, body.page-coach) .cl-stop-ring { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); }
:is(.lp-coach-section, body.page-coach) .cl-stop-ring .fond { stroke: rgba(127, 127, 127, .18); stroke-width: 4; }
:is(.lp-coach-section, body.page-coach) .cl-stop-ring .arc { stroke: var(--dom); stroke-width: 4; stroke-linecap: round; }
:is(.lp-coach-section, body.page-coach) .cl-stop.is-prep .cl-stop-ring { display: none; }
:is(.lp-coach-section, body.page-coach) .cl-stop-badge {
  position: absolute; z-index: 2; top: -6px; right: -6px; display: grid; place-items: center; width: 24px; height: 24px;
  border: 2px solid var(--paper); border-radius: 50%; background: #06D6A0; color: #fff; font: 800 12px var(--sans);
}
:is(.lp-coach-section, body.page-coach) .cl-stop-cadenas { position: absolute; z-index: 2; right: -6px; bottom: -4px; font-size: 16px; }
:is(.lp-coach-section, body.page-coach) .cl-stop-body {
  padding: 12px 14px; border-radius: 18px;
  border: 2px solid color-mix(in srgb, var(--dom) 35%, transparent);
  background: color-mix(in srgb, var(--dom) 9%, var(--paper));
}
:is(.lp-coach-section, body.page-coach) button.cl-stop-body:hover,
:is(.lp-coach-section, body.page-coach) button.cl-stop-body:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 26px -16px var(--dom); border-color: var(--dom); }
:is(.lp-coach-section, body.page-coach) button.cl-stop-body:focus-visible { outline: 3px solid var(--dom); outline-offset: 2px; }
:is(.lp-coach-section, body.page-coach) .cl-stop.is-prep .cl-stop-body { border: 2px dashed var(--line); background: transparent; }
:is(.lp-coach-section, body.page-coach) .cl-stop-n { display: block; margin: 0 0 2px; font: 800 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: color-mix(in srgb, var(--dom) 70%, var(--ink)); }
:is(.lp-coach-section, body.page-coach) .cl-stop.is-prep .cl-stop-n { color: var(--muted); }
:is(.lp-coach-section, body.page-coach) .cl-stop-body b { font: 800 1.12rem/1.2 var(--sans); text-transform: none; }
:is(.lp-coach-section, body.page-coach) .cl-stop-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-top: 4px; }
:is(.lp-coach-section, body.page-coach) .cl-stop-body small,
:is(.lp-coach-section, body.page-coach) .cl-stop.is-fini .cl-stop-body small { margin: 0; font: 600 12.5px var(--sans); color: var(--body); }
:is(.lp-coach-section, body.page-coach) .cl-stop-etoiles { display: inline-flex; gap: 1px; font-size: 16px; line-height: 1; }
:is(.lp-coach-section, body.page-coach) .cl-stop-etoiles .pleine { color: #FFB703; }
:is(.lp-coach-section, body.page-coach) .cl-stop-etoiles .vide { color: rgba(127, 127, 127, .3); }
:is(.lp-coach-section, body.page-coach) .cl-stop-bar { height: 8px; margin-top: 10px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--dom) 16%, transparent); }
:is(.lp-coach-section, body.page-coach) .cl-stop-bar span { border-radius: 999px; background: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-stop-ici {
  display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px;
  background: var(--dom); color: var(--dom-ink, #fff); font: 800 11px var(--sans); letter-spacing: .05em; text-transform: uppercase;
}
:is(.lp-coach-section, body.page-coach) .cl-stop[data-ici] .cl-stop-node::after {
  content: ''; position: absolute; inset: -12px; border: 3px solid var(--dom); border-radius: 50%; opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  :is(.lp-coach-section, body.page-coach) .cl-stop[data-ici] .cl-stop-node::after { animation: cl-halo 1.8s ease-out infinite; }
  :is(.lp-coach-section, body.page-coach) .cl-stop[data-ici] .cl-stop-node { animation: cl-flotte 2.6s ease-in-out infinite; }
  @keyframes cl-halo { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.3); opacity: 0; } }
  @keyframes cl-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
}

/* ── Catalogue des cours en mode jeu : couleurs de domaine, cartes arrondies ── */
:is(.lp-coach-section, body.page-coach) .cl-lessons { gap: 16px; }
:is(.lp-coach-section, body.page-coach) .cl-domain-head { position: relative; min-height: 52px; padding: 18px 0 6px 66px; border-top: 0; }
:is(.lp-coach-section, body.page-coach) .cl-lessons > .cl-domain-head:not(:first-child) { margin-top: 26px; }
:is(.lp-coach-section, body.page-coach) .cl-dom-ico {
  position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 16px; background: var(--dom); color: var(--dom-ink, #fff); box-shadow: 0 10px 18px -10px var(--dom);
}
:is(.lp-coach-section, body.page-coach) .cl-dom-ico svg { width: 26px; height: 26px; }
:is(.lp-coach-section, body.page-coach) .cl-domain-head .cl-meta { font: 800 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: color-mix(in srgb, var(--dom) 70%, var(--ink)); }
:is(.lp-coach-section, body.page-coach) .cl-domain-head h3 { margin: 2px 0; font: 800 1.55rem/1.15 var(--sans); text-transform: none; }
:is(.lp-coach-section, body.page-coach) .cl-domain-bar { height: 8px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--dom) 16%, transparent); }
:is(.lp-coach-section, body.page-coach) .cl-domain-bar span { border-radius: 999px; background: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-lesson {
  border: 2px solid color-mix(in srgb, var(--dom) 22%, var(--line)); border-radius: 22px;
  background: var(--paper); box-shadow: 0 12px 30px -22px rgba(16, 24, 46, .55);
}
:is(.lp-coach-section, body.page-coach) .cl-lesson.is-done {
  border: 2px solid color-mix(in srgb, #06D6A0 45%, var(--line));
  background: color-mix(in srgb, #06D6A0 7%, var(--paper));
}
:is(.lp-coach-section, body.page-coach) .cl-lesson .cl-meta { font: 700 12px var(--sans); color: color-mix(in srgb, var(--dom) 65%, var(--ink)); }
:is(.lp-coach-section, body.page-coach) .cl-lesson h3 { font: 800 1.45rem/1.15 var(--sans); text-transform: none; }
:is(.lp-coach-section, body.page-coach) .cl-lesson-foot { border-top: 1px dashed color-mix(in srgb, var(--dom) 30%, var(--line)); }
:is(.lp-coach-section, body.page-coach) .cl-lesson.is-done .cl-state { color: #0a9c74; }
:is(.lp-coach-section, body.page-coach) :is(.cl-lesson, .cl-quiz-card) .btn {
  border-radius: 999px; border-color: var(--dom); background: var(--dom); color: var(--dom-ink, #fff);
}
:is(.lp-coach-section, body.page-coach) :is(.cl-lesson, .cl-quiz-card) .btn.ghost { background: transparent; color: var(--ink); }
:is(.lp-coach-section, body.page-coach) .cl-lesson > .cl-thumb { border: 1.5px solid color-mix(in srgb, var(--dom) 25%, var(--line)); border-radius: 14px; }
:is(.lp-coach-section, body.page-coach) .cl-quiz-card {
  border: 2px dashed color-mix(in srgb, var(--dom) 55%, transparent); border-radius: 22px;
  background: color-mix(in srgb, var(--dom) 8%, var(--paper));
}
:is(.lp-coach-section, body.page-coach) .cl-quiz-card h3 { font: 800 1.35rem/1.2 var(--sans); text-transform: none; }
@media (prefers-reduced-motion: no-preference) {
  :is(.lp-coach-section, body.page-coach) .cl-lesson:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -22px var(--dom); }
  :is(.lp-coach-section, body.page-coach) :is(.cl-lesson, .cl-quiz-card) .btn { transition: transform .15s ease, filter .15s ease; }
  :is(.lp-coach-section, body.page-coach) :is(.cl-lesson, .cl-quiz-card) .btn:hover { transform: scale(1.04); filter: brightness(1.06); }
}

/* ── Intérieur des cours en mode jeu (hors charte, voulu par Timothé le 13/10) ── */
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-course-head { border-bottom: 0; padding-bottom: 8px; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-back {
  margin-bottom: 16px; padding: 7px 14px; border: 2px solid var(--line); border-radius: 999px; font: 700 13px var(--sans);
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-back:hover { border-color: var(--dom); color: var(--dom); }
/* Bouton retour et pastille du domaine côte à côte, centrés et espacés (ils se touchaient sur téléphone). */
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-back { vertical-align: middle; margin-right: 8px; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-course-head .cl-dom-chip { vertical-align: middle; margin-bottom: 16px; }
:is(.lp-coach-section, body.page-coach) .cl-dom-chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 12px 6px 6px;
  border-radius: 999px; background: color-mix(in srgb, var(--dom) 14%, var(--paper)); color: color-mix(in srgb, var(--dom) 70%, var(--ink));
  font: 800 12px var(--sans); letter-spacing: .04em; text-transform: uppercase;
}
:is(.lp-coach-section, body.page-coach) .cl-dom-chip svg { box-sizing: content-box; width: 16px; height: 16px; padding: 5px; border-radius: 50%; background: var(--dom); color: var(--dom-ink, #fff); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-course-head .cl-meta { font: 700 13px var(--sans); color: var(--muted); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-course-head h2 { font: 800 clamp(2rem, 5vw, 3.2rem)/1.05 var(--sans); text-transform: none; letter-spacing: -.02em; max-width: 22ch; }
/* Étapes en pastilles */
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps { gap: 8px; margin: 18px 0 10px; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li {
  display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--muted); font: 700 12px var(--sans);
}
:is(.lp-coach-section, body.page-coach) .cl-step-n {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); font: 800 12px var(--sans);
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li.is-done { border-color: color-mix(in srgb, #06D6A0 50%, transparent); color: var(--ink); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li.is-done .cl-step-n { background: #06D6A0; color: #10182E; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li[aria-current='step'] { border-color: var(--dom); background: var(--dom); color: var(--dom-ink, #fff); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li[aria-current='step'] .cl-step-n { background: var(--dom-ink, #fff); color: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-step-bar { height: 8px; margin: 0 0 22px; border-radius: 999px; overflow: hidden; background: color-mix(in srgb, var(--dom) 15%, transparent); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-step-bar span { border-radius: 999px; background: var(--dom); }
/* Panneau de l'étape */
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-panel {
  position: relative; overflow: hidden; border: 0; border-radius: 24px; padding-top: clamp(26px, 4vw, 40px);
  box-shadow: 0 18px 50px -20px rgba(16, 24, 46, .4), 0 1px 0 rgba(16, 24, 46, .06);
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-panel:not(.cl-quiz-panel)::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 7px; background: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-panel > .cl-meta { font: 800 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: color-mix(in srgb, var(--dom) 70%, var(--ink)); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-panel h3 { font-family: var(--sans); font-weight: 800; text-transform: none; letter-spacing: -.01em; line-height: 1.2; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-panel h4 { font-family: var(--sans); font-weight: 800; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-lead { font-size: 1.15rem; line-height: 1.6; }
/* Sections numérotées, exemple, repères */
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-panel { counter-reset: section; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-section {
  position: relative; margin-top: 14px; padding: 16px 18px 16px 62px; border-radius: 18px;
  background: color-mix(in srgb, var(--dom) 6%, var(--paper)); border: 1.5px solid color-mix(in srgb, var(--dom) 18%, transparent);
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-section::before {
  counter-increment: section; content: counter(section);
  position: absolute; left: 16px; top: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--dom); color: var(--dom-ink, #fff); font: 800 15px var(--sans);
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-section h4 { margin-bottom: 6px; font-size: 1.05rem; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-example {
  margin-top: 18px; border: 2px dashed color-mix(in srgb, var(--dom) 45%, transparent); border-radius: 18px;
  background: color-mix(in srgb, var(--dom) 10%, var(--paper));
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-example strong {
  display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--dom); color: var(--dom-ink, #fff);
  font: 800 11px var(--sans); letter-spacing: .05em;
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-example p { margin-top: 10px; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-reperes { list-style: none; padding: 0; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-reperes li { position: relative; margin: 10px 0; padding: 10px 14px 10px 46px; border-radius: 14px; background: var(--surface); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-reperes li::before {
  content: '★'; position: absolute; left: 12px; top: 9px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: #FFB703; color: #fff; font-size: 13px;
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-schema { border: 1.5px solid color-mix(in srgb, var(--dom) 25%, var(--line)); border-radius: 18px; }
/* Cas, réponse libre, essai, retours */
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-case {
  position: relative; padding: 16px 18px 16px 52px; border-left: 0; border-radius: 18px;
  background: color-mix(in srgb, var(--dom) 9%, var(--paper));
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-case::before { content: '“'; position: absolute; left: 14px; top: 2px; font: 800 3rem/1 Georgia, serif; color: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-feedback { border-left: 0; border-radius: 16px; background: var(--surface); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-feedback strong { font-family: var(--sans); font-weight: 800; text-transform: none; font-size: 1.05rem; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-answer { border-radius: 16px; border-color: var(--line); padding: 14px; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-answer:focus-visible { outline: 3px solid color-mix(in srgb, var(--dom) 60%, transparent); outline-offset: 2px; border-color: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-drill { list-style: none; padding: 0; counter-reset: essai; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-drill li { position: relative; margin: 10px 0; padding: 12px 14px 12px 54px; border-radius: 16px; background: var(--surface); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-drill li::before {
  counter-increment: essai; content: counter(essai);
  position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--dom); color: var(--dom-ink, #fff); font: 800 14px var(--sans);
}
/* Boutons et sources */
:is(.lp-coach-section, body.page-coach) .cl-jeu .btn { border-radius: 999px; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .btn.rose { border-color: var(--dom); background: var(--dom); color: var(--dom-ink, #fff); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .btn.ghost { border-color: color-mix(in srgb, var(--dom) 40%, var(--line)); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-sources a {
  padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--dom) 10%, var(--paper));
  color: color-mix(in srgb, var(--dom) 70%, var(--ink)); text-decoration: none; font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-sources strong { font-family: var(--sans); font-weight: 800; text-transform: none; font-size: 1rem; }
/* Bilan de fin de cours */
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-check-mark .sa { stroke: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-tile { border: 0; border-radius: 18px; background: color-mix(in srgb, var(--dom) 10%, var(--paper)); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-tile strong { font-family: var(--sans); color: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-domain-progress .cl-quiz-bar { height: 10px; border-radius: 999px; overflow: hidden; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-domain-progress .cl-quiz-bar span { border-radius: 999px; background: var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-save { border-left: 0; border-radius: 14px; background: var(--surface); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-bilan.is-domaine { border-top: 0; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-domain-badge { border: 0; border-radius: 50%; background: var(--dom); box-shadow: 0 14px 30px -12px var(--dom); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-domain-name { color: color-mix(in srgb, var(--dom) 75%, var(--ink)); font-family: var(--sans); text-transform: none; }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-domain-done li { border: 0; border-radius: 14px; background: color-mix(in srgb, #06D6A0 12%, var(--paper)); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-domain-done li::before { color: #06D6A0; }
@media (max-width: 760px) {
  :is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li { justify-content: center; padding: 6px; }
  :is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li .cl-step-nom { display: none; }
  :is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li[aria-current='step'] { grid-column: span 1; }
  :is(.lp-coach-section, body.page-coach) .cl-jeu .cl-section { padding-left: 18px; padding-top: 58px; }
}
@media (prefers-reduced-motion: no-preference) {
  :is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
  :is(.lp-coach-section, body.page-coach) .cl-jeu .cl-steps li[aria-current='step'] .cl-step-n { animation: cl-pop .5s ease; }
  :is(.lp-coach-section, body.page-coach) .cl-jeu .btn { transition: transform .15s ease, filter .15s ease; }
  :is(.lp-coach-section, body.page-coach) .cl-jeu .btn:hover { transform: scale(1.04); filter: brightness(1.06); }
}

:is(.lp-coach-section, body.page-coach) .cl-source-texte { font-size: .84rem; color: var(--body); }
:is(.lp-coach-section, body.page-coach) .cl-jeu .cl-source-texte { padding: 5px 12px; border-radius: 999px; background: var(--surface); font-weight: 600; }

/* ── Catalogue : un domaine à la fois, carte en bandeau sur téléphone ── */
:is(.lp-coach-section, body.page-coach) .cl-stop.is-vu .cl-stop-body { border-color: var(--dom); background: color-mix(in srgb, var(--dom) 18%, var(--paper)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dom) 30%, transparent); }
:is(.lp-coach-section, body.page-coach) .cl-dom-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 8px; }
:is(.lp-coach-section, body.page-coach) .cl-dom-nav button {
  display: grid; gap: 2px; padding: 14px 18px; border: 2px solid color-mix(in srgb, var(--dom) 40%, transparent); border-radius: 18px;
  background: color-mix(in srgb, var(--dom) 10%, var(--paper)); color: var(--ink); text-align: left; cursor: pointer; font: inherit;
}
:is(.lp-coach-section, body.page-coach) .cl-dom-nav .cl-dom-nav-suiv { text-align: right; grid-column: -2; }
:is(.lp-coach-section, body.page-coach) .cl-dom-nav small { font: 800 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: color-mix(in srgb, var(--dom) 70%, var(--ink)); }
:is(.lp-coach-section, body.page-coach) .cl-dom-nav b { font: 800 1.05rem/1.2 var(--sans); }
:is(.lp-coach-section, body.page-coach) .cl-dom-nav button:hover,
:is(.lp-coach-section, body.page-coach) .cl-dom-nav button:focus-visible { border-color: var(--dom); outline-offset: 2px; }
@media (max-width: 760px) {
  :is(.lp-coach-section, body.page-coach) .cl-track { display: flex; gap: 10px; overflow-x: auto; padding: 16px 2px 8px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  :is(.lp-coach-section, body.page-coach) .cl-track::before { display: none; }
  :is(.lp-coach-section, body.page-coach) .cl-stop { flex: 0 0 128px; display: grid; grid-template-columns: 1fr; justify-items: center; gap: 8px; padding: 4px 0; scroll-snap-align: center; }
  :is(.lp-coach-section, body.page-coach) .cl-stop-node { width: 52px; height: 52px; }
  :is(.lp-coach-section, body.page-coach) .cl-stop-body { width: 100%; padding: 8px 10px; text-align: center; }
  :is(.lp-coach-section, body.page-coach) .cl-stop-body b { font-size: .92rem; }
  :is(.lp-coach-section, body.page-coach) .cl-stop-ligne small,
  :is(.lp-coach-section, body.page-coach) .cl-stop-ici { display: none; }
  :is(.lp-coach-section, body.page-coach) .cl-stop-ligne { justify-content: center; }
  :is(.lp-coach-section, body.page-coach) .cl-dom-nav .cl-dom-nav-suiv { grid-column: auto; }
  :is(.lp-coach-section, body.page-coach) .cl-layout { grid-template-columns: minmax(0, 1fr); }
  :is(.lp-coach-section, body.page-coach) .cl-map { min-width: 0; }
}
@media (min-width: 761px) {
  :is(.lp-coach-section, body.page-coach) .cl-map { max-height: calc(100vh - 160px); overflow-y: auto; scrollbar-width: thin; padding: 0 4px 12px 10px; }
}

/* ── Recherche dans le catalogue de cours ── */
:is(.lp-coach-section, body.page-coach) .cl-search-wrap {
  display: flex; gap: 10px; align-items: center; margin: 16px 0 4px;
}
:is(.lp-coach-section, body.page-coach) .cl-search-wrap .search {
  max-width: 100%; width: 100%;
}
:is(.lp-coach-section, body.page-coach) .cl-search-wrap .search input {
  padding: 10px 0; font-size: 14px;
}
:is(.lp-coach-section, body.page-coach) .cl-search-results-head {
  border-left: 4px solid var(--rose);
}
:is(.lp-coach-section, body.page-coach) .cl-empty-search {
  padding: 24px 20px; border: 2px dashed var(--line); background: var(--surface);
  text-align: center;
}
:is(.lp-coach-section, body.page-coach) .cl-empty-search p { margin: 6px 0; color: var(--body); }
:is(.lp-coach-section, body.page-coach) .cl-lesson-domain-badge {
  display: inline-block; font: 700 11px/1 var(--sans); text-transform: uppercase;
  letter-spacing: .08em; margin-bottom: 6px;
  font-weight: 700;
}

/* ── Outils d'aide à la formulation (Atelier) ── */
:is(.lp-coach-section, body.page-coach) .cl-amorces {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 10px;
}
:is(.lp-coach-section, body.page-coach) .cl-amorces-label {
  font: 11px var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-right: 4px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-amorce-chip {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  padding: 5px 10px; font-size: 12px; border-radius: 14px; cursor: pointer;
  transition: all .15s ease;
}
:is(.lp-coach-section, body.page-coach) .cl-amorce-chip:hover {
  border-color: var(--rose); color: var(--rose); transform: translateY(-1px);
}
:is(.lp-coach-section, body.page-coach) .cl-answer-tools {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 12px;
}
:is(.lp-coach-section, body.page-coach) .cl-voice-btn {
  display: inline-flex; align-items: center; gap: 6px;
}
:is(.lp-coach-section, body.page-coach) .cl-voice-btn.is-listening {
  background: var(--rose); color: #fff; border-color: var(--rose);
  animation: cl-voice-pulse 1.2s infinite ease-in-out;
}
@keyframes cl-voice-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, .6); }
  50% { box-shadow: 0 0 0 6px rgba(225, 29, 72, 0); }
}

/* ── Simulateur interactif d'angle & timing ── */
:is(.lp-coach-section, body.page-coach) .cl-simulateur {
  margin: 20px 0;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius, 12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04);
}
:is(.lp-coach-section, body.page-coach) .cl-sim-head { margin-bottom: 14px; }
:is(.lp-coach-section, body.page-coach) .cl-sim-tag {
  display: inline-block; font: 700 11px var(--sans); text-transform: uppercase;
  color: var(--rose-text); letter-spacing: .06em; margin-bottom: 4px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-head h4 {
  font-family: var(--cond, inherit); font-size: 19px; font-weight: 700; margin: 0 0 4px;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-head p {
  font-size: 13px; color: var(--muted, #666); margin: 0; line-height: 1.4;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-svg {
  width: 100%; max-width: 440px; height: auto; display: block; margin: 10px auto;
  background: var(--surface); border-radius: 8px;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-controls {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px; margin: 16px 0 14px;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-grp-lbl {
  display: block; font: 700 12px var(--sans); text-transform: uppercase;
  color: var(--ink, #111); margin-bottom: 6px; letter-spacing: .03em;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-btn-row {
  display: flex; gap: 6px; flex-wrap: wrap;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-btn {
  font-size: 12px !important; padding: 6px 10px !important; border-radius: 8px !important;
  transition: all .15s ease !important;
  background: transparent !important; color: var(--ink) !important; border: 1.5px solid var(--line) !important;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-btn:hover { border-color: var(--ink) !important; }
/* Raquette dessinée à l'échelle (joueur-raquette.js) */
:is(.lp-coach-section, body.page-coach) .rq-manche { fill: #C8955A; stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
:is(.lp-coach-section, body.page-coach) .rq-manche-ligne { stroke: rgba(16, 24, 46, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
:is(.lp-coach-section, body.page-coach) .rq-bois { fill: #E4C590; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
:is(.lp-coach-section, body.page-coach) .rq-coupdroit { fill: #D62828; stroke: #7A1010; stroke-width: 1; vector-effect: non-scaling-stroke; }
:is(.lp-coach-section, body.page-coach) .rq-revers { fill: #1C1C1C; stroke: #000; stroke-width: 1; vector-effect: non-scaling-stroke; }
html.dark :is(.lp-coach-section, body.page-coach) .rq-revers { fill: #3A3A3A; }
:is(.lp-coach-section, body.page-coach) .rq-reflet { fill: rgba(255, 255, 255, .18); }
:is(.lp-coach-section, body.page-coach) .cl-sim-btn.is-active {
  background: #B5365B !important; color: #fff !important;
  border-color: #B5365B !important; font-weight: 700 !important;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-diag {
  padding: 12px 14px; border-radius: 8px; border-left: 4px solid #3a86ff;
  background: rgba(58, 134, 255, .06); transition: all .2s ease;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-diag.is-ok {
  border-left-color: #06d6a0; background: rgba(6, 214, 160, .08);
}
:is(.lp-coach-section, body.page-coach) .cl-sim-diag.is-warn {
  border-left-color: #fb5607; background: rgba(251, 86, 7, .08);
}
:is(.lp-coach-section, body.page-coach) .cl-sim-diag.is-ko {
  border-left-color: #e63946; background: rgba(230, 57, 70, .08);
}
:is(.lp-coach-section, body.page-coach) .cl-sim-badge {
  display: inline-block; font-weight: 700; font-size: 13px; margin-bottom: 4px;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-text {
  font-size: 13px; margin: 0 0 6px; line-height: 1.45;
}
:is(.lp-coach-section, body.page-coach) .cl-sim-conseil {
  font-size: 12.5px; font-weight: 600; color: var(--ink, #111); margin: 0;
}

/* ── Biomécanique & Repères sensoriels ── */
:is(.lp-coach-section, body.page-coach) .cl-biomeca {
  margin: 20px 0; padding: 16px; background: rgba(0, 0, 0, .02);
  border: 1px solid var(--line, #e5e7eb); border-radius: var(--radius, 12px);
}
:is(.lp-coach-section, body.page-coach) .cl-biomeca-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px; margin-top: 10px;
}
:is(.lp-coach-section, body.page-coach) .cl-biomeca-col {
  padding: 12px; background: var(--white); border-radius: 8px;
  border: 1px solid var(--line, #e5e7eb);
}
:is(.lp-coach-section, body.page-coach) .cl-biomeca-tag {
  font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .04em;
  color: var(--rose-text); margin-bottom: 6px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-biomeca-col p {
  font-size: 13px; margin: 0; line-height: 1.45; color: var(--ink, #222);
}

/* ── Règle d'or & Mot-clé de coaching ── */
:is(.lp-coach-section, body.page-coach) .cl-regle-or {
  margin: 22px 0; padding: 18px; border-radius: var(--radius, 12px);
  background: linear-gradient(135deg, rgba(255, 183, 3, .12), rgba(251, 86, 7, .06));
  border: 2px solid #ffb703;
}
:is(.lp-coach-section, body.page-coach) .cl-regle-badge {
  display: inline-block; font: 700 11px var(--sans); letter-spacing: .08em;
  color: #d97706; text-transform: uppercase; margin-bottom: 6px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-regle-mot {
  font-size: 16px; margin-bottom: 10px; color: var(--ink, #111);
}
:is(.lp-coach-section, body.page-coach) .cl-regle-mot strong {
  font-family: var(--cond, inherit); font-size: 20px; color: var(--rose-text);
  letter-spacing: .04em; text-transform: uppercase;
}
:is(.lp-coach-section, body.page-coach) .cl-regle-list {
  margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.5; font-weight: 500;
}
:is(.lp-coach-section, body.page-coach) .cl-regle-list li { margin-bottom: 6px; }

/* ── Rebondissement tactique (« Décider ») ── */
:is(.lp-coach-section, body.page-coach) .cl-rebondissement {
  margin-top: 14px; padding: 14px; border-radius: 8px;
  background: rgba(230, 57, 70, .05); border: 1.5px dashed var(--rose, #e63946);
  animation: cl-enter .35s ease;
}
:is(.lp-coach-section, body.page-coach) .cl-reb-badge {
  display: inline-block; font: 700 11px var(--sans); color: var(--rose-text);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px;
  font-weight: 700;
}
:is(.lp-coach-section, body.page-coach) .cl-reb-head h4 {
  font-family: var(--cond, inherit); font-size: 17px; margin: 0 0 6px;
}
:is(.lp-coach-section, body.page-coach) .cl-reb-texte {
  font-size: 13px; line-height: 1.45; margin: 0 0 10px;
}
:is(.lp-coach-section, body.page-coach) .cl-reb-sol {
  padding: 8px 12px; background: var(--white); border-radius: 6px;
  font-size: 13px; border-left: 3px solid #06d6a0;
}
:is(.lp-coach-section, body.page-coach) .cl-reb-sol strong {
  display: block; color: #06d6a0; font-size: 12px; margin-bottom: 2px;
}
:is(.lp-coach-section, body.page-coach) .cl-reb-sol p { margin: 0; }

/* ── Barème FFTT chiffré & Adaptation matérielle ── */
:is(.lp-coach-section, body.page-coach) .cl-bareme {
  margin: 18px 0; padding: 14px; background: rgba(0, 0, 0, .02);
  border: 1px solid var(--line, #e5e7eb); border-radius: 8px;
}
:is(.lp-coach-section, body.page-coach) .cl-bareme-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px; margin-top: 8px;
}
:is(.lp-coach-section, body.page-coach) .cl-bar-col {
  padding: 10px; background: var(--white); border-radius: 6px;
  border: 1px solid var(--line, #e5e7eb);
}
:is(.lp-coach-section, body.page-coach) .cl-bar-col strong {
  display: block; font-size: 13px; margin-bottom: 4px;
}
:is(.lp-coach-section, body.page-coach) .cl-bar-col.cl-bar-club strong { color: #d97706; }
:is(.lp-coach-section, body.page-coach) .cl-bar-col.cl-bar-reg strong { color: #3a86ff; }
:is(.lp-coach-section, body.page-coach) .cl-bar-col.cl-bar-nat strong { color: #06d6a0; }
:is(.lp-coach-section, body.page-coach) .cl-bar-col p { font-size: 12.5px; margin: 0; line-height: 1.4; }
:is(.lp-coach-section, body.page-coach) .cl-adaptation {
  margin: 14px 0; padding: 12px 14px; border-radius: 8px;
  background: rgba(131, 56, 236, .06); border-left: 3px solid #8338ec;
}
:is(.lp-coach-section, body.page-coach) .cl-adaptation strong {
  display: block; color: #8338ec; font-size: 13px; margin-bottom: 4px;
}
:is(.lp-coach-section, body.page-coach) .cl-adaptation p {
  font-size: 13px; margin: 0; line-height: 1.45;
}

/* ── Lecteur vidéo de situation YouTube ── */
:is(.lp-coach-section, body.page-coach) .cl-video-block {
  margin: 18px 0; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line, #e5e7eb); background: var(--white);
}
:is(.lp-coach-section, body.page-coach) .cl-video-head {
  padding: 10px 14px; background: rgba(0, 0, 0, .02);
  border-bottom: 1px solid var(--line, #e5e7eb);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
:is(.lp-coach-section, body.page-coach) .cl-video-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  padding: 3px 8px; border-radius: var(--radius-s); background: rgba(230, 57, 70, .1); color: var(--rose-text);
}
:is(.lp-coach-section, body.page-coach) .cl-video-head h4 {
  margin: 0; font-size: 14px; font-weight: 700; flex: 1 1 auto;
}
:is(.lp-coach-section, body.page-coach) .cl-video-frame-wrap {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 ratio */
  background: #000; overflow: hidden;
}
:is(.lp-coach-section, body.page-coach) .cl-video-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background-size: cover; background-position: center;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
:is(.lp-coach-section, body.page-coach) .cl-video-facade::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0, 0, 0, .35); transition: background .2s;
}
:is(.lp-coach-section, body.page-coach) .cl-video-facade:hover::before,
:is(.lp-coach-section, body.page-coach) .cl-video-facade:focus-visible::before {
  background: rgba(0, 0, 0, .15);
}
:is(.lp-coach-section, body.page-coach) .cl-video-play-btn {
  position: relative; z-index: 2; width: 56px; height: 56px; border-radius: 50%;
  background: var(--rose, #e63946); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .18s, background .18s;
}
:is(.lp-coach-section, body.page-coach) .cl-video-facade:hover .cl-video-play-btn {
  transform: scale(1.1); background: #d00000;
}
:is(.lp-coach-section, body.page-coach) .cl-video-iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
:is(.lp-coach-section, body.page-coach) .cl-video-foot {
  padding: 10px 14px; font-size: 13px; line-height: 1.45;
  background: rgba(0, 0, 0, .015); border-top: 1px solid var(--line, #e5e7eb);
}
:is(.lp-coach-section, body.page-coach) .cl-video-tip {
  display: block; margin-top: 6px; font-size: 11.5px; color: var(--muted, #6c757d);
}
/* La règle globale « html.dark input » (laboping.css) peint un fond ardoise dans le champ : le cadre .search porte déjà le fond. */
html.dark :is(.lp-coach-section, body.page-coach) .search input { background: transparent !important; border: 0 !important; }
html.dark :is(.lp-coach-section, body.page-coach) .cl-adaptation strong { color: #B99AF5; }

/* ── Suivi des joueurs (js/pages/coach-suivi.js) ─────────────────────
 * Même interface d'appli que le Planning (jetons --pl-*, plus bas) :
 * cartes arrondies, ombres douces, pastilles, aux couleurs du site. */
#view-suivi {
  --d-technique: #2f5d9e;
  --d-tactique: #d8466f;
  --d-physique: #1a7f4b;
  --d-mental: #b26b00;
}
html.dark #view-suivi {
  --d-technique: #7ea6e0;
  --d-tactique: #f07b9f;
  --d-physique: #4ade80;
  --d-mental: #f5b041;
}
#view-suivi .d-technique { --d: var(--d-technique); }
#view-suivi .d-tactique { --d: var(--d-tactique); }
#view-suivi .d-physique { --d: var(--d-physique); }
#view-suivi .d-mental { --d: var(--d-mental); }
#view-suivi #su-root { background: var(--pl-bg); color: var(--pl-ink); border-radius: 28px; padding: clamp(12px, 2.4vw, 26px); font-family: var(--sans); }
#view-suivi h2 { font: 800 clamp(1.6rem, 3.4vw, 2.2rem)/1.1 var(--sans); letter-spacing: -.01em; text-transform: none; margin: 4px 0 8px; color: var(--pl-ink); }
#view-suivi h3, #view-suivi h4 { margin: 0; }
#view-suivi .cc-eyebrow { font: 600 .7rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--pl-muted); }
#view-suivi .su-empty { color: var(--pl-muted); font-size: .92rem; padding: 14px 0; }
#view-suivi .by { font: 500 .78rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--pl-muted); }

/* Boutons, panneaux et champs façon appli */
#view-suivi .btn { min-height: 40px; padding: 0 16px; border: 1px solid var(--pl-ink); border-radius: 999px; background: var(--pl-ink); color: var(--pl-surface); font: 600 .88rem var(--sans); text-transform: none; letter-spacing: 0; justify-content: center; }
#view-suivi .btn:hover { background: var(--pl-ink); border-color: var(--pl-ink); color: var(--pl-surface); box-shadow: var(--pl-ombre); }
#view-suivi .btn.ghost { background: var(--pl-surface); border-color: var(--pl-line); color: var(--pl-ink); }
#view-suivi .btn.ghost:hover { background: var(--pl-surface-2); color: var(--pl-ink); }
#view-suivi .btn.rose, #view-suivi .btn.rose:hover { background: var(--pl-accent); border-color: var(--pl-accent); color: #fff; }
#view-suivi .btn.sm { min-height: 32px; padding: 0 12px; font-size: .8rem; }
#view-suivi .btn.danger { background: var(--pl-surface); border-color: var(--pl-line); color: var(--danger); }
#view-suivi .btn.danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
#view-suivi .btn:active { transform: scale(.97); }
#view-suivi .panel { background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 22px; box-shadow: var(--pl-ombre); }
#view-suivi .panel .hd { background: transparent; border-bottom: 1px solid var(--pl-line); padding: 14px 18px; }
#view-suivi .panel .hd b { font: 700 1.05rem var(--sans); text-transform: none; color: var(--pl-ink); }
#view-suivi .panel .bd { padding: 16px 18px; }
#view-suivi .fld label { font: 600 .8rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--pl-muted); }
#view-suivi :is(.fld input, .fld textarea, .fld select, .inp) { background: var(--pl-surface-2); border: 1px solid transparent; border-radius: 12px; color: var(--pl-ink); font: .95rem var(--sans); }
#view-suivi :is(.fld input, .fld textarea, .fld select, .inp):focus { border-color: var(--pl-accent); background: var(--pl-surface); box-shadow: none; }
#view-suivi :is(button, input, textarea, select):focus-visible { outline: 2px solid var(--pl-accent); outline-offset: 2px; }

/* Liste */
#view-suivi .su-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
#view-suivi .su-top p { max-width: 60ch; font-size: .95rem; color: var(--pl-muted); margin: 0; }
#view-suivi .su-top .btn { display: inline-flex; align-items: center; gap: 8px; }
#view-suivi .su-top-act { display: flex; gap: 8px; flex-wrap: wrap; }
#view-suivi .su-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
#view-suivi .su-stats > div { padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 18px; box-shadow: var(--pl-ombre); }
#view-suivi .su-stats b { font: 800 1.8rem/1 var(--sans); color: var(--pl-ink); }
#view-suivi .su-stats span { font-size: .75rem; color: var(--pl-muted); }
#view-suivi .su-tools { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
#view-suivi .su-search { flex: 1 1 220px; margin-bottom: 0; min-height: 46px; border: 1px solid var(--pl-line); border-radius: 999px; background: var(--pl-surface); padding: 0 16px; color: var(--pl-muted); }
#view-suivi .su-search:focus-within { border-color: var(--pl-accent); box-shadow: none; color: var(--pl-ink); }
#view-suivi .su-search input { border: 0; background: transparent; outline: none; flex: 1; font: inherit; color: var(--pl-ink); min-height: 42px; }
#view-suivi .su-search input:focus-visible { outline: none; }
#view-suivi .su-tri { display: flex; align-items: center; gap: 8px; border: 1px solid var(--pl-line); border-radius: 999px; background: var(--pl-surface); padding: 0 6px 0 16px; }
#view-suivi .su-tri span { font-size: .75rem; font-weight: 600; color: var(--pl-muted); }
#view-suivi .su-tri select { border: 0; min-height: 44px; background: transparent; color: var(--pl-ink); font: 600 .88rem var(--sans); }
#view-suivi .su-grid { list-style: none; margin: 0; padding: 0; }
#view-suivi .su-card { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; }
#view-suivi .su-card:focus-visible { outline: 2px solid var(--pl-accent); outline-offset: 2px; }
/* Vue « Liste » : une ligne par joueur */
#view-suivi .su-grid.liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
#view-suivi .su-ligne { background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 16px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; min-height: 64px; transition: border-color .15s; }
#view-suivi .su-ligne:hover { border-color: var(--pl-ink); }
#view-suivi .su-ligne .su-card-id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
#view-suivi .su-ligne .su-card-id b { font: 700 1.05rem/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-suivi .su-card-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#view-suivi .su-ligne .su-card-id small { color: var(--pl-muted); font-size: .8rem; white-space: nowrap; }
#view-suivi .su-card-cl { flex: none; font-size: .82rem; font-weight: 600; color: var(--pl-muted); font-variant-numeric: tabular-nums; }
#view-suivi .su-alerte { white-space: nowrap; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
#view-suivi .su-chev { flex: none; font-size: 1.4rem; line-height: 1; color: var(--pl-muted); }
#view-suivi .su-cat { margin: 18px 0 8px; font: 700 .85rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--pl-muted); }
#view-suivi .su-cat small { font-weight: 600; margin-left: 4px; }
#view-suivi .su-vuel { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--pl-line); border-radius: 999px; background: var(--pl-surface); }
#view-suivi .su-vuel button { min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--pl-muted); font: 600 .85rem var(--sans); cursor: pointer; }
#view-suivi .su-vuel button[aria-pressed="true"] { background: var(--pl-ink); color: var(--pl-surface); }
/* Vue « Cartes » : le détail de chaque joueur */
#view-suivi .su-grid.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
#view-suivi .su-carte { text-align: left; font: inherit; color: inherit; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 22px; box-shadow: var(--pl-ombre); padding: 16px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; transition: transform .15s, box-shadow .15s; }
#view-suivi .su-carte:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 24, 46, .06), 0 18px 36px -16px rgba(16, 24, 46, .32); }
#view-suivi .su-card-top { display: flex; align-items: center; gap: 12px; }
#view-suivi .su-carte .su-card-id { display: flex; flex-direction: column; min-width: 0; }
#view-suivi .su-carte .su-card-id b { font: 700 1.15rem/1.2 var(--sans); }
#view-suivi .su-carte .su-card-id small { color: var(--pl-muted); font-size: .8rem; }
#view-suivi .su-card-mid { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; }
#view-suivi .su-card-dom { display: flex; flex-direction: column; gap: 7px; }
#view-suivi .su-card-dom i { font-style: normal; display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 6px; }
#view-suivi .su-card-dom em { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--pl-muted); }
#view-suivi .su-card-dom s { display: block; height: 6px; border-radius: 999px; background: var(--pl-surface-2); position: relative; overflow: hidden; text-decoration: none; }
#view-suivi .su-card-dom s::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 999px; background: var(--d); }
#view-suivi .su-card-meta { display: flex; gap: 6px; flex-wrap: wrap; font-size: .72rem; font-weight: 600; }
#view-suivi .su-card-meta span { border-radius: 999px; padding: 3px 9px; background: var(--pl-surface-2); color: var(--pl-muted); }
#view-suivi .su-card-meta .f { color: var(--pl-ok); background: var(--pl-ok-soft); }
#view-suivi .su-card-meta .w { color: var(--rose-text); background: var(--pl-accent-soft); }
#view-suivi .su-card-meta .o { color: var(--pl-ink); }
#view-suivi .su-card-meta .p { color: var(--pl-entr); background: var(--pl-entr-soft); }
#view-suivi .su-card-meta :is(.o.retard, .late, .p.bas) { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
#view-suivi .su-card-last { font-size: .84rem; color: var(--pl-muted); border-top: 1px solid var(--pl-line); padding-top: 10px; }
#view-suivi .su-card-last b { font-size: .72rem; font-weight: 700; color: var(--rose-text); margin-right: 4px; }
#view-suivi .su-card-objs { display: flex; flex-direction: column; gap: 4px; }
#view-suivi .su-card-objs > span { display: flex; gap: 6px; align-items: baseline; font-size: .84rem; font-weight: 600; color: var(--pl-ink); text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-suivi .su-card-objs i { font-style: normal; color: var(--d, var(--pl-muted)); flex: none; }
#view-suivi .su-card-objs .prio i { color: #c98a00; }
#view-suivi .su-card-objs .retard { color: var(--danger); }
#view-suivi .su-card-objs small { font-size: .74rem; color: var(--pl-muted); text-align: left; }
#view-suivi .su-card-objs em { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--pl-muted); margin-left: auto; padding-left: 6px; flex: none; }
#view-suivi .su-vide { background: var(--pl-surface); border: 1px dashed var(--pl-line); border-radius: 22px; padding: 32px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
#view-suivi .su-vide h3 { font: 700 1.3rem var(--sans); }
#view-suivi .su-vide p { max-width: 46ch; color: var(--pl-muted); }
#view-suivi .su-vide-art { width: 150px; opacity: .85; }
#view-suivi .su-newform-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* Avatar */
#view-suivi .su-av { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: hsl(var(--h) 45% 38%); color: #fff; font: 700 1.05rem var(--sans); }
#view-suivi .su-av.lg { width: 76px; height: 76px; font-size: 1.7rem; }
#view-suivi .su-av.sm { width: 30px; height: 30px; font-size: .78rem; }

/* Radar et évolution */
#view-suivi .su-radar { width: 100%; height: auto; display: block; overflow: visible; }
#view-suivi .su-radar .ring { fill: none; stroke: var(--pl-line); stroke-width: 1; }
#view-suivi .su-radar .ring.out { stroke: var(--pl-muted); stroke-width: 1.2; }
#view-suivi .su-radar .axis { stroke: var(--pl-line); stroke-width: 1; }
/* Regard de l'entraîneur en bleu, celui du joueur en rouge (même code sur /mon-suivi). */
#view-suivi .su-radar .cur { fill: color-mix(in srgb, var(--pl-entr) 20%, transparent); stroke: var(--pl-entr); stroke-width: 2.5; stroke-linejoin: round; }
#view-suivi .su-radar .joueur { fill: color-mix(in srgb, var(--pl-accent) 12%, transparent); stroke: var(--pl-accent); stroke-width: 2; stroke-dasharray: 5 3; stroke-linejoin: round; }
#view-suivi .su-radar .pt, #view-suivi .su-evo .pt { fill: var(--d); stroke: var(--pl-surface); stroke-width: 1.5; }
#view-suivi .su-radar .lbl { font-family: var(--sans); font-size: 11px; font-weight: 700; fill: var(--d); }
#view-suivi .su-radar .lbl tspan { fill: var(--pl-ink); }
#view-suivi .su-radar-wrap { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 20px; align-items: center; }
#view-suivi .su-levels { display: flex; flex-direction: column; gap: 10px; }
#view-suivi .su-lvrow { display: grid; grid-template-columns: 104px 1fr 1fr; gap: 6px 12px; align-items: center; }
#view-suivi .su-lvname { display: inline-flex; gap: 6px; align-items: center; font: 700 .92rem var(--sans); color: var(--d); }
#view-suivi .su-cmp { display: grid; grid-template-columns: 1fr 2.2em; gap: 8px; align-items: center; }
#view-suivi .su-cmp s { display: block; height: 8px; border-radius: 999px; background: var(--pl-surface-2); position: relative; overflow: hidden; text-decoration: none; }
#view-suivi .su-cmp s::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 999px; background: var(--pl-entr); }
#view-suivi .su-cmp.j s::after { background: var(--pl-accent); }
#view-suivi .su-cmp b { font: 800 .88rem var(--sans); color: var(--pl-entr); text-align: right; }
#view-suivi .su-cmp.j b { color: var(--pl-accent); }
#view-suivi .su-ecart { grid-column: 2 / -1; font-size: .78rem; font-weight: 600; color: var(--pl-ink); background: var(--pl-surface-2); border-radius: 10px; padding: 5px 9px; }
#view-suivi .su-leg { display: inline-flex; gap: 12px; }
#view-suivi .su-leg i { display: inline-block; width: 16px; vertical-align: middle; margin-right: 5px; border-top: 3px solid var(--pl-entr); }
#view-suivi .su-leg i.j { border-top: 3px dashed var(--pl-accent); }
#view-suivi .su-vue { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 18px 0 0; padding: 4px; border-radius: 999px; background: var(--pl-surface-2); }
#view-suivi .su-vue button { min-height: 42px; border: 0; border-radius: 999px; background: transparent; color: var(--pl-muted); font: 700 .88rem var(--sans); cursor: pointer; transition: background .15s, color .15s; }
#view-suivi .su-vue button small { font-weight: 600; opacity: .75; margin-left: 4px; }
#view-suivi .su-vue button[aria-pressed="true"] { background: var(--pl-surface); color: var(--pl-entr); box-shadow: var(--pl-ombre); }
#view-suivi .su-vue button.j[aria-pressed="true"] { color: var(--pl-accent); }
#view-suivi .su-lien { margin: 12px 0 0; padding: 14px 16px; border-radius: 18px; background: var(--pl-entr-soft); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
#view-suivi .su-lien p { margin: 0; font-size: .88rem; color: var(--pl-ink); }
#view-suivi .su-lien p.by { font-size: .8rem; color: var(--pl-muted); }
#view-suivi .su-lien-url { display: flex; gap: 8px; width: 100%; }
#view-suivi .su-lien-url input { flex: 1; min-width: 0; min-height: 40px; border: 1px solid var(--pl-line); border-radius: 999px; padding: 0 14px; background: var(--pl-surface); color: var(--pl-ink); font: 500 .8rem var(--sans); }
#view-suivi .su-evo-wrap { margin-top: 16px; border-top: 1px solid var(--pl-line); padding-top: 12px; }
#view-suivi .su-evo-wrap h4 { font: 700 .95rem var(--sans); margin-bottom: 6px; }
#view-suivi .su-evo-wrap h4 small { font-size: .72rem; font-weight: 500; color: var(--pl-muted); margin-left: 6px; }
#view-suivi .su-evo { width: 100%; max-height: 170px; display: block; }
#view-suivi .su-evo .grid { stroke: var(--pl-line); stroke-width: 1; }
#view-suivi .su-evo .ln { fill: none; stroke: var(--d); stroke-width: 2.2; stroke-linejoin: round; }
#view-suivi .su-evo .dt { font-family: var(--sans); font-size: 9px; fill: var(--pl-muted); }
#view-suivi .su-evo-leg { display: flex; gap: 12px; flex-wrap: wrap; font-size: .72rem; font-weight: 600; color: var(--pl-muted); }
#view-suivi .su-evo-leg i { display: inline-block; width: 14px; height: 3px; border-radius: var(--radius-s); background: var(--d); vertical-align: middle; margin-right: 5px; }

/* Fiche */
#view-suivi .su-bar { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
#view-suivi .su-bar-r { display: flex; gap: 8px; flex-wrap: wrap; }
#view-suivi .su-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; margin-bottom: 14px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 22px; box-shadow: var(--pl-ombre); }
#view-suivi .su-hero h2 { margin: 0 0 6px; }
#view-suivi .su-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
#view-suivi .su-chips span { font-size: .75rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: var(--pl-surface-2); color: var(--pl-ink); }
#view-suivi .su-obj { margin-top: 8px; font-size: .92rem; }
#view-suivi .su-obj b { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rose-text); margin-right: 6px; }
#view-suivi .su-kpis { display: flex; gap: 8px; }
#view-suivi .su-kpis > div { padding: 8px 14px; min-width: 64px; text-align: center; display: flex; flex-direction: column; border-radius: 16px; background: var(--pl-surface-2); }
#view-suivi .su-kpis b { font: 800 1.5rem/1.1 var(--sans); }
#view-suivi .su-kpis .f b { color: var(--pl-ok); }
#view-suivi .su-kpis .w b { color: var(--rose-text); }
#view-suivi .su-kpis span { font-size: .7rem; color: var(--pl-muted); }
#view-suivi .su-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; align-items: start; }
#view-suivi .su-now { display: flex; flex-direction: column; gap: 2px; margin: 0 0 14px; padding: 12px 14px; border-radius: 18px; background: var(--pl-surface); border: 1px solid var(--pl-line); }
#view-suivi .su-now h3 { margin: 0 0 4px; font: 700 .75rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--pl-muted); }
#view-suivi .su-now-l { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; align-items: baseline; text-align: left; padding: 6px 0; border: 0; border-top: 1px solid var(--pl-line); background: transparent; color: var(--pl-ink); font: inherit; cursor: pointer; }
#view-suivi .su-now h3 + .su-now-l { border-top: 0; }
#view-suivi .su-now-l span { font-size: .75rem; font-weight: 600; color: var(--pl-muted); }
#view-suivi .su-now-l b { font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
#view-suivi .su-now-l.vide b { font-weight: 400; color: var(--pl-muted); }
#view-suivi .su-onglets { display: flex; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid var(--pl-line); }
#view-suivi .su-onglets button { flex: 0 1 auto; min-height: 44px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: transparent; color: var(--pl-muted); font: 700 .95rem var(--sans); cursor: pointer; }
#view-suivi .su-onglets button[aria-selected="true"] { color: var(--pl-ink); border-bottom-color: var(--pl-entr); }
#view-suivi .su-onglets small { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 4px; border-radius: 999px; background: var(--danger); color: #fff; font-size: .72rem; }
#view-suivi .su-onglets small:empty { display: none; }
#view-suivi #su-tab-phys .su-phys { margin-top: 0; }
#view-suivi .su-bloc, #view-suivi .su-radar-panel { margin-top: 0; }
#view-suivi .su-bloc { position: sticky; top: 76px; }
#view-suivi .su-danger { margin-top: 8px; display: flex; justify-content: flex-end; }

/* Présences (venues du Planning) */
#view-suivi .su-pres { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 14px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 22px; box-shadow: var(--pl-ombre); }
#view-suivi .su-pres.vide { box-shadow: none; background: transparent; border-style: dashed; }
#view-suivi .su-pres.vide p { margin: 0; font-size: .86rem; color: var(--pl-muted); }
#view-suivi .su-pres.vide b { color: var(--pl-ink); margin-right: 6px; }
#view-suivi .su-pres-n { display: flex; flex-direction: column; padding: 8px 16px; border-radius: 16px; background: var(--pl-entr-soft); }
#view-suivi .su-pres-n b { font: 800 1.6rem/1.1 var(--sans); color: var(--pl-entr); }
#view-suivi .su-pres-n span { font-size: .75rem; color: var(--pl-muted); }
#view-suivi .su-pres.bas .su-pres-n { background: color-mix(in srgb, var(--danger) 12%, transparent); }
#view-suivi .su-pres.bas .su-pres-n b { color: var(--danger); }
#view-suivi .su-pres-d { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
#view-suivi .su-pres-d p { margin: 0; font-size: .86rem; color: var(--pl-muted); }
#view-suivi .su-pres-serie { list-style: none; margin: 0; padding: 0; display: flex; gap: 5px; flex-wrap: wrap; }
#view-suivi .su-pres-serie li { width: 18px; height: 18px; border-radius: 50%; background: var(--pl-entr); }
#view-suivi .su-pres-serie li.abs { background: transparent; border: 2px solid var(--danger); }

/* Bloc-notes */
#view-suivi .su-compose { background: var(--pl-surface-2); border: 1px solid transparent; border-radius: 18px; position: relative; overflow: hidden; transition: border-color .2s, box-shadow .2s, background .2s; }
#view-suivi .su-compose:focus-within { border-color: var(--pl-accent); background: var(--pl-surface); }
#view-suivi .su-compose.ecoute { border-color: var(--pl-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--pl-accent) 20%, transparent); }
#view-suivi .su-compose textarea { display: block; width: 100%; border: 0; background: transparent; resize: vertical; min-height: 130px; padding: 14px 16px; font: 1rem/1.5 var(--sans); color: var(--pl-ink); outline: none; }
#view-suivi .su-compose textarea:focus-visible { outline: none; }
#view-suivi .su-ondes { display: none; position: absolute; top: 12px; right: 14px; gap: 3px; align-items: center; height: 18px; }
#view-suivi .su-compose.ecoute .su-ondes { display: flex; }
#view-suivi .su-ondes i { width: 3px; height: 100%; border-radius: var(--radius-s); background: var(--pl-accent); animation: su-onde 1s ease-in-out infinite; }
#view-suivi .su-ondes i:nth-child(2) { animation-delay: .15s; }
#view-suivi .su-ondes i:nth-child(3) { animation-delay: .3s; }
#view-suivi .su-ondes i:nth-child(4) { animation-delay: .45s; }
#view-suivi .su-ondes i:nth-child(5) { animation-delay: .6s; }
@keyframes su-onde { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
#view-suivi .su-tagsel { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 12px 10px; }
#view-suivi .su-tag { font: 600 .75rem var(--sans); border: 1px solid var(--d, var(--pl-line)); border-radius: 999px; color: var(--d, var(--pl-ink)); background: var(--pl-surface); padding: 5px 11px; cursor: pointer; }
#view-suivi .su-tag[aria-pressed="true"] { background: var(--d, var(--pl-ink)); border-color: var(--d, var(--pl-ink)); color: var(--pl-surface); }
#view-suivi .su-compose-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--pl-line); padding: 8px 10px; }
#view-suivi .su-compose-foot small { margin-left: auto; font-size: .72rem; color: var(--pl-muted); }
#view-suivi .su-mic { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; border: 0; background: var(--pl-ink); color: var(--pl-surface); padding: 0 14px; font: 600 .82rem var(--sans); cursor: pointer; border-radius: 999px; }
#view-suivi .su-mic[aria-pressed="true"] { background: var(--pl-accent); color: #fff; animation: su-pulse 1.4s ease-out infinite; }
@keyframes su-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pl-accent) 55%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
#view-suivi .su-nfilter { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 4px; }
#view-suivi .su-nfilter small { opacity: .7; margin-left: 2px; }
#view-suivi .su-nfilter .qchip { min-height: 32px; padding: 0 12px; border: 1px solid var(--pl-line); border-radius: 999px; background: var(--pl-surface); color: var(--pl-ink); font: 600 .78rem var(--sans); text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer; }
#view-suivi .su-nfilter .qchip.on { background: var(--pl-ink); border-color: var(--pl-ink); color: var(--pl-surface); }
#view-suivi .su-day { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-muted); margin: 14px 0 6px; }
#view-suivi .su-tl { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--pl-line); display: flex; flex-direction: column; gap: 8px; }
#view-suivi .su-note { position: relative; border: 1px solid var(--pl-line); border-radius: 14px; background: var(--pl-surface); padding: 10px 14px; }
#view-suivi .su-note::before { content: ""; position: absolute; left: -23px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--d, var(--pl-muted)); border: 2px solid var(--pl-surface); }
#view-suivi .su-note.edit { outline: 2px solid var(--pl-accent); }
#view-suivi .su-note p { white-space: pre-wrap; font-size: .94rem; margin: 4px 0 0; overflow-wrap: anywhere; }
#view-suivi .su-note-hd { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
#view-suivi .su-note-hd time { font-size: .74rem; color: var(--pl-muted); }
#view-suivi .su-dtag { display: inline-flex; align-items: center; gap: 4px; font: 700 .7rem var(--sans); color: var(--d); }
#view-suivi .su-note-act { margin-left: auto; display: flex; gap: 10px; }
#view-suivi .su-note-act button { border: 0; background: none; padding: 2px 0; font: 600 .74rem var(--sans); color: var(--pl-muted); cursor: pointer; }
#view-suivi .su-note-act button:hover { color: var(--rose-text); text-decoration: underline; }

/* Domaines */
#view-suivi .su-doms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#view-suivi .su-dom { background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 22px; box-shadow: var(--pl-ombre); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
#view-suivi .su-dom header { display: flex; align-items: center; gap: 10px; }
#view-suivi .su-dom-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--d); color: #fff; }
#view-suivi .su-dom h3 { font: 700 1.05rem var(--sans); flex: 1; }
#view-suivi .su-dom-lv { font: 800 1.05rem var(--sans); color: var(--d); }
#view-suivi .su-pf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
#view-suivi .su-pfcol h4 { font: 700 .72rem var(--sans); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
#view-suivi .su-pfcol.f h4 { color: var(--pl-ok); }
#view-suivi .su-pfcol.w h4 { color: var(--rose-text); }
#view-suivi .su-pfcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
#view-suivi .su-pfcol li { display: flex; align-items: flex-start; gap: 4px; font-size: .86rem; padding: 6px 8px; line-height: 1.3; border-radius: 10px; }
#view-suivi .su-pfcol.f li { background: var(--pl-ok-soft); }
#view-suivi .su-pfcol.w li { background: var(--pl-accent-soft); }
#view-suivi .su-pfcol li span { flex: 1; overflow-wrap: anywhere; }
#view-suivi .su-pfcol li button { border: 0; background: none; cursor: pointer; color: var(--pl-muted); padding: 0 3px; font-size: .9rem; line-height: 1.3; }
#view-suivi .su-pfcol li button:hover { color: var(--pl-ink); }
#view-suivi .su-pfcol li .su-pobj[aria-pressed="true"] { color: var(--rose-text); cursor: default; }
#view-suivi .su-none { color: var(--pl-muted); font-size: .9rem; margin: 0; }
#view-suivi .su-add { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: var(--pl-surface-2); }
#view-suivi .su-add input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 6px 8px; font: .9rem var(--sans); color: var(--pl-ink); outline: none; }
#view-suivi .su-add button { border: 0; border-radius: 10px; font: 600 .75rem var(--sans); padding: 0 10px; min-height: 32px; cursor: pointer; color: #fff; white-space: nowrap; }
#view-suivi .su-add button.f { background: var(--pl-ok); }
#view-suivi .su-add button.w { background: var(--pl-accent); }
#view-suivi .su-sugg { display: flex; flex-wrap: wrap; gap: 5px; }
#view-suivi .su-sugg button { border: 1px dashed var(--d); border-radius: 999px; background: transparent; color: var(--d); font-size: .74rem; padding: 3px 9px; cursor: pointer; }
#view-suivi .su-sugg button:hover { background: color-mix(in srgb, var(--d) 12%, transparent); }

/* Note de groupe */
#view-suivi .su-groupe { margin: 0 0 18px; border-color: var(--pl-accent); }
#view-suivi .su-groupe .hd, #view-suivi .su-objs-panel .hd { display: flex; align-items: center; gap: 10px; }
#view-suivi .su-glink { border: 0; background: none; padding: 2px 0; font: 600 .75rem var(--sans); color: var(--pl-muted); cursor: pointer; }
#view-suivi .su-glink:hover { color: var(--rose-text); text-decoration: underline; }
#view-suivi .su-groupe .hd .su-glink { margin-left: auto; }
#view-suivi .su-gpick-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
#view-suivi .su-gpick-hd span { font: 700 .75rem var(--sans); color: var(--pl-ink); margin-right: auto; }
#view-suivi .su-gpick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
#view-suivi .su-gj { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 4px 14px 4px 4px; border: 1px solid var(--pl-line); border-radius: 999px; background: var(--pl-surface); color: var(--pl-ink); font: 600 .9rem var(--sans); cursor: pointer; }
#view-suivi .su-gj[aria-pressed="true"] { border-color: var(--pl-ink); background: var(--pl-ink); color: var(--pl-surface); }
#view-suivi .su-groupe .by { margin-top: 8px; }
#view-suivi #su-g-ok:disabled { opacity: .55; cursor: not-allowed; }

/* Objectifs */
#view-suivi .su-objs-panel { margin: 0 0 18px; }
#view-suivi .su-objs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#view-suivi .su-objc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; border: 1px solid var(--pl-line); border-left: 4px solid var(--d); border-radius: 14px; background: var(--pl-surface); padding: 8px 10px 8px 12px; }
#view-suivi .su-objc-main p { margin: 2px 0 0; font-size: .95rem; overflow-wrap: anywhere; }
#view-suivi .su-prio { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pl-line); background: var(--pl-surface); color: var(--pl-line); font-size: 1.05rem; line-height: 1; cursor: pointer; }
#view-suivi .su-prio[aria-pressed="true"] { background: #fff4d6; border-color: #e8a400; color: #c98a00; }
html.dark #view-suivi .su-prio[aria-pressed="true"] { background: rgba(232, 164, 0, .16); color: #ffc53d; }
#view-suivi .su-objc.prio { box-shadow: inset 0 0 0 1px #e8a400; }
#view-suivi .su-o-ech, #view-suivi .su-o-prio { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; font: .8rem var(--sans); color: var(--pl-muted); cursor: pointer; }
#view-suivi .su-o-ech small { font-size: .7rem; }
#view-suivi .su-o-ech span, #view-suivi .su-o-prio span { white-space: nowrap; }
#view-suivi .su-oform .su-o-ech input { border: 0; background: transparent; color: var(--pl-ink); font: .85rem var(--sans); padding: 0; min-height: 0; }
#view-suivi .su-oform .su-o-prio input:first-child { flex: none; width: 16px; height: 16px; padding: 0; accent-color: #c98a00; }
#view-suivi .su-oform .su-o-ech input { min-width: 0; flex: 0 1 auto; }
#view-suivi .su-paliers { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px dashed var(--pl-line); }
#view-suivi .su-pal { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 8px; }
#view-suivi .su-pal-qui { font: 700 .76rem var(--sans); color: var(--pl-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-suivi .su-pal-b { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
#view-suivi .su-pal-b button { min-height: 34px; padding: 3px 2px; border-radius: 9px; border: 1px solid var(--pl-line); background: var(--pl-surface); color: var(--pl-ink); font: 600 .72rem/1.1 var(--sans); cursor: pointer; }
#view-suivi .su-pal-b button[aria-pressed="true"] { background: var(--d); border-color: var(--d); color: #fff; }
#view-suivi .su-pal:nth-child(2) .su-pal-b button[aria-pressed="true"] { background: var(--pl-entr); border-color: var(--pl-entr); }
#view-suivi .su-pal-b button:disabled { cursor: default; opacity: .75; }
#view-suivi .su-pal-b button:disabled[aria-pressed="true"] { opacity: 1; }
#view-suivi .su-pal-note { margin: 0; font-size: .74rem; color: var(--pl-muted); }
#view-suivi .su-cours { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: .86rem; }
#view-suivi .su-cours span, #view-suivi .su-cours-idees > span { font: 700 .7rem var(--sans); text-transform: uppercase; letter-spacing: .04em; color: var(--pl-muted); }
#view-suivi .su-cours-idees { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#view-suivi .su-cours-idees > span { flex: 1 1 100%; }
#view-suivi .su-cours-idees button { padding: 6px 12px; border-radius: 999px; border: 1px dashed var(--pl-line); background: var(--pl-surface); color: var(--pl-ink); font: 600 .8rem var(--sans); cursor: pointer; text-align: left; }
#view-suivi .su-etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; font-size: .76rem; color: var(--pl-muted); }
#view-suivi .su-etapes li { display: flex; flex-wrap: wrap; gap: 2px 10px; }
#view-suivi .su-etapes time { font-weight: 700; color: var(--pl-ink); min-width: 52px; }
#view-suivi .su-etapes .j { color: var(--pl-entr); }
#view-suivi .su-ech { display: flex; flex-direction: column; gap: 2px; font-size: .72rem; color: var(--pl-muted); }
#view-suivi .su-objc.proche .su-ech span { color: var(--rose-text); font-weight: 700; }
#view-suivi .su-objc.retard { border-color: var(--danger); border-left-color: var(--danger); }
#view-suivi .su-objc.retard .su-ech span { color: var(--danger); font-weight: 700; }
#view-suivi .su-ech input { border: 1px solid var(--pl-line); border-radius: 8px; background: var(--pl-surface); color: var(--pl-ink); font: .82rem var(--sans); padding: 4px 6px; }
#view-suivi .su-objc-act { display: flex; align-items: center; gap: 6px; }
#view-suivi .btn.su-ok, #view-suivi .btn.su-ok:hover { background: var(--pl-ok); border-color: var(--pl-ok); color: #fff; }
#view-suivi .su-x { border: 0; background: none; color: var(--pl-muted); font-size: 1.2rem; line-height: 1; padding: 4px 6px; cursor: pointer; }
#view-suivi .su-x:hover { color: var(--danger); }
#view-suivi .su-oform { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; border-radius: 16px; background: var(--pl-surface-2); }
#view-suivi .su-oform > :not(.btn) { border: 0; border-radius: 12px; background: var(--pl-surface); color: var(--pl-ink); min-height: 40px; }
#view-suivi .su-oform input:first-child { flex: 1 1 240px; min-width: 0; padding: 8px 12px; font: .92rem var(--sans); outline: none; }
#view-suivi .su-oform select, #view-suivi .su-oform input[type="date"] { width: auto; padding: 0 10px; font: .85rem var(--sans); }
#view-suivi .su-oacq { margin-top: 12px; }
#view-suivi .su-oacq summary { cursor: pointer; font: 700 .75rem var(--sans); color: var(--pl-ok); }
#view-suivi .su-oacq summary small { color: var(--pl-muted); margin-left: 4px; }
#view-suivi .su-oacq ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
#view-suivi .su-oacq li { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: .88rem; padding: 6px 10px; border-radius: 10px; background: var(--pl-ok-soft); }
#view-suivi .su-oacq li > span:nth-child(2) { flex: 1; }
#view-suivi .su-oacq time { font-size: .72rem; color: var(--pl-muted); }

/* Bilan physique */
#view-suivi .su-phys { margin: 18px 0 0; }
#view-suivi .su-phys h4 { margin: 18px 0 8px; font: 700 .9rem var(--sans); color: var(--pl-ink); }
#view-suivi .su-phys h4:first-child { margin-top: 0; }
#view-suivi .su-phys h4 small { font-weight: 400; font-size: .75rem; color: var(--pl-muted); margin-left: 6px; }
#view-suivi .su-travail { padding: 10px 14px; border-radius: 14px; background: color-mix(in srgb, var(--danger) 9%, transparent); margin-bottom: 4px; }
#view-suivi .su-travail b { font: 700 .8rem var(--sans); color: var(--danger); }
#view-suivi .su-travail ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: .86rem; display: flex; flex-direction: column; }
#view-suivi .su-travail li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid color-mix(in srgb, var(--danger) 18%, transparent); }
#view-suivi .su-travail li:first-child { border-top: 0; }
#view-suivi .su-travail li p { margin: 0; flex: 1; min-width: 0; }
#view-suivi .su-travail li p span { font-weight: 700; }
#view-suivi .su-travail li.n3 p span { color: var(--danger); }
#view-suivi .su-tobj { flex: none; display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--danger); background: var(--pl-surface); color: var(--danger); font: 700 .72rem var(--sans); cursor: pointer; }
#view-suivi .su-tobj[aria-pressed="true"] { border-color: var(--pl-line); color: var(--pl-muted); }
#view-suivi .su-evol { margin-top: 10px; padding: 10px 14px; border-radius: 14px; background: var(--pl-surface-2); font-size: .86rem; }
#view-suivi .su-evol summary { cursor: pointer; }
#view-suivi .su-evol summary .up { color: var(--su-ok); }
#view-suivi .su-evol summary .down { color: var(--danger); }
#view-suivi .su-evol ul { margin: 8px 0 0; padding-left: 18px; }
#view-suivi .su-evol ul.up li::marker { color: var(--su-ok); }
#view-suivi .su-evol ul.down li::marker { color: var(--danger); }
#view-suivi .su-evol li span { font-weight: 700; }
#view-suivi .su-evol-1 { margin: 10px 0 0; font-size: .8rem; color: var(--pl-muted); }
#view-suivi .su-cotes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--pl-surface-2); margin-top: 12px; }
#view-suivi .su-cotes button { min-height: 40px; border: 0; border-radius: 12px; background: transparent; color: var(--pl-muted); font: 700 .92rem var(--sans); cursor: pointer; }
#view-suivi .su-cotes button[aria-pressed="true"] { background: var(--pl-surface); color: var(--pl-ink); box-shadow: var(--pl-ombre); }
#view-suivi .su-cotes small { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 4px; border-radius: 999px; background: var(--su-moyen); color: #fff; font-size: .72rem; }
#view-suivi .su-phys { --su-ok: #1a7f4b; --su-moyen: #c26a00; --su-faible: var(--danger); }
html.dark #view-suivi .su-phys { --su-ok: #4ade80; --su-moyen: #f5b041; }
#view-suivi .su-leg-q { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 10px 0; font-size: .76rem; color: var(--pl-muted); }
#view-suivi .su-leg-q .su-q { min-height: 0; padding: 2px 8px; cursor: default; }
#view-suivi .su-coups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
#view-suivi .su-coup { padding: 10px 12px; border: 1px solid var(--pl-line); border-left: 5px solid var(--pl-line); border-radius: 14px; background: var(--pl-surface); }
#view-suivi .su-coup.ok { border-left-color: var(--su-ok); }
#view-suivi .su-coup.moyen { border-left-color: var(--su-moyen); }
#view-suivi .su-coup.faible { border-left-color: var(--su-faible); }
#view-suivi .su-coup h5 { margin: 0 0 8px; font: 700 .95rem var(--sans); }
#view-suivi .su-qs { display: flex; flex-wrap: wrap; gap: 6px; }
#view-suivi .su-q { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 999px; border: 1px dashed var(--pl-line); background: transparent; color: var(--pl-muted); font: 600 .8rem var(--sans); cursor: pointer; }
#view-suivi .su-q.ok { border: 1px solid var(--su-ok); background: color-mix(in srgb, var(--su-ok) 14%, transparent); color: var(--pl-ink); }
#view-suivi .su-q.moyen { border: 1px solid var(--su-moyen); background: color-mix(in srgb, var(--su-moyen) 18%, transparent); color: var(--pl-ink); }
#view-suivi .su-q.faible { border: 1px solid var(--su-faible); background: var(--su-faible); color: #fff; }
html.dark #view-suivi .su-q.faible { color: #1a0a0a; }
#view-suivi .su-tests-wrap { margin-top: 16px; }
#view-suivi .su-tests-wrap > summary { cursor: pointer; font: 700 .9rem var(--sans); padding: 6px 0; }
#view-suivi .su-tests-wrap > summary small { font-weight: 400; font-size: .75rem; color: var(--pl-muted); margin-left: 6px; }
#view-suivi .su-tests-wrap[open] > summary { margin-bottom: 8px; }
#view-suivi .su-tests { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
#view-suivi .su-test { border: 1px solid var(--pl-line); border-radius: 14px; background: var(--pl-surface); }
#view-suivi .su-test summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 8px 12px; cursor: pointer; font-size: .88rem; }
#view-suivi .su-test-l { flex: 1 1 180px; font-weight: 600; }
#view-suivi .su-test-v { color: var(--pl-muted); font-size: .8rem; }
#view-suivi .su-test-v b { color: var(--pl-ink); font-size: .95rem; }
#view-suivi .su-prog, #view-suivi .su-asym { font: 700 .72rem var(--sans); padding: 2px 8px; border-radius: 999px; }
#view-suivi .su-prog.up { color: var(--pl-ok); background: var(--pl-ok-soft); }
#view-suivi .su-prog.down, #view-suivi .su-asym { color: var(--danger); background: color-mix(in srgb, var(--danger) 12%, transparent); }
#view-suivi .su-test ol { list-style: none; margin: 0; padding: 0 12px 10px; display: flex; flex-direction: column; gap: 4px; }
#view-suivi .su-test li { display: flex; align-items: center; gap: 10px; font-size: .84rem; padding: 4px 0; border-top: 1px solid var(--pl-line); }
#view-suivi .su-test li time { width: 56px; color: var(--pl-muted); font-size: .76rem; }
#view-suivi .su-test li span { flex: 1; }
#view-suivi .su-test li small { color: var(--pl-muted); font-size: .72rem; }
#view-suivi .su-tform { display: flex; gap: 6px; flex-wrap: wrap; padding: 4px; border-radius: 16px; background: var(--pl-surface-2); }
#view-suivi .su-tform > :is(select, input) { border: 0; border-radius: 12px; background: var(--pl-surface); color: var(--pl-ink); min-height: 40px; padding: 0 10px; font: .88rem var(--sans); min-width: 0; }
#view-suivi .su-tform select { flex: 1 1 240px; width: auto; }
#view-suivi .su-tform input:not([type="date"]) { flex: 1 1 90px; width: 90px; }
#view-suivi .su-tform input[hidden] { display: none; }
#view-suivi .su-tform .by { flex-basis: 100%; margin: 0 6px 2px; font-size: .74rem; color: var(--pl-muted); }
#view-suivi .su-tform .by:empty { display: none; }

@media (max-width: 1000px) {
  #view-suivi .su-cols { grid-template-columns: minmax(0, 1fr); }
  #view-suivi .su-bloc { position: static; }
}
@media (max-width: 640px) {
  #view-suivi .su-hero { grid-template-columns: auto 1fr; padding: 14px; }
  #view-suivi .su-av.lg { width: 58px; height: 58px; font-size: 1.4rem; }
  #view-suivi .su-kpis { grid-column: 1 / -1; }
  #view-suivi .su-kpis > div { flex: 1; }
  #view-suivi .su-radar-wrap { grid-template-columns: 1fr; }
  #view-suivi .su-radar-wrap .su-radar { max-width: 300px; margin: 0 auto; }
  #view-suivi .su-doms { grid-template-columns: minmax(0, 1fr); }
  #view-suivi .su-lvrow { grid-template-columns: 88px 1fr 1fr; gap: 6px 8px; }
  #view-suivi .su-stats { gap: 8px; }
  #view-suivi .su-stats > div { padding: 12px; }
  #view-suivi .su-stats b { font-size: 1.5rem; }
  #view-suivi .su-groupe .su-compose-foot { flex-wrap: wrap; }
  #view-suivi #su-g-ok { flex: 1 0 100%; }
  #view-suivi .su-objc { grid-template-columns: auto minmax(0, 1fr) auto; }
  #view-suivi .su-objc-main { grid-column: 2 / -1; }
  #view-suivi .su-objc .su-ech { grid-column: 1 / 3; }
  #view-suivi .su-oform input:first-child { flex-basis: 100%; }
  #view-suivi .su-oform select { flex: 1 1 45%; min-width: 0; }
  #view-suivi .su-oform .su-o-prio { flex: 1 1 40%; justify-content: center; }
  #view-suivi .su-oform .su-o-ech { flex: 1 1 100%; justify-content: space-between; }
  #view-suivi .su-oform .btn { flex: 1 0 100%; }
  #view-suivi .su-tform .btn { flex: 1 0 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #view-suivi .su-ondes i, #view-suivi .su-mic[aria-pressed="true"] { animation: none; }
}

/* ── Planning (js/pages/coach-planning.js) ─────────────────────────────
 * Espace privé du coach : interface d'appli, hors de la DA éditoriale du
 * site public (arrondis, ombres douces, pastilles), à la demande du coach,
 * mais aux couleurs du site : encre, papier, rose, cyan ; pas de dégradé.
 * Les mêmes jetons servent au Suivi des joueurs. */
/* ── Habillage appli du carnet ─────────────────────────────────────────
   Le carnet est un outil privé, hors charte du site (voir docs/carnet-coach.md) :
   mêmes couleurs, mais coins arrondis, ombres douces et commandes en pastilles,
   comme le Planning et le Suivi. Le grand titre garde la police du site. */
:is(.lp-coach-section, body.page-coach) .cc-appbar { border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px -18px rgba(16, 24, 46, .35); }
:is(.lp-coach-section, body.page-coach) .cc-appbar-in { padding-block: 8px; align-items: center; }
:is(.lp-coach-section, body.page-coach) .cc-tabs { gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); }
:is(.lp-coach-section, body.page-coach) .cc-tabs button { padding: 9px 18px; border: 0; border-radius: 999px; font-size: 15px; font-weight: 700; transition: background .15s, color .15s; }
:is(.lp-coach-section, body.page-coach) .cc-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
:is(.lp-coach-section, body.page-coach) .cc-tabs .n { border-radius: 999px; font-family: var(--sans); font-weight: 700; }
:is(.lp-coach-section, body.page-coach) .cc-palbtn { border-radius: 999px; padding: 9px 14px; background: var(--surface); border-color: transparent; }
:is(.lp-coach-section, body.page-coach) .btn { border-radius: 999px; border-width: 1px; font-size: 14px; padding: 10px 18px; }
:is(.lp-coach-section, body.page-coach) .btn.sm { font-size: 13px; padding: 7px 14px; }
:is(.lp-coach-section, body.page-coach) .btn.ghost { background: var(--surface); border-color: var(--line); }
:is(.lp-coach-section, body.page-coach) .btn.ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
:is(.lp-coach-section, body.page-coach) .seg { gap: 4px; padding: 4px; border: 0; border-radius: 999px; background: var(--surface-2); }
:is(.lp-coach-section, body.page-coach) .seg button { border: 0; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--muted); background: transparent; }
:is(.lp-coach-section, body.page-coach) .seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 46, .08), 0 4px 12px -6px rgba(16, 24, 46, .25); }
:is(.lp-coach-section, body.page-coach) :is(.qchip, .chip) { border-radius: 999px; }
:is(.lp-coach-section, body.page-coach) :is(.panel, .card, .gate, .stats .st, .drawer, .addmenu .menu, .empty) { border-radius: var(--radius); }
:is(.lp-coach-section, body.page-coach) :is(.panel, .card, .gate, .addmenu .menu) { box-shadow: var(--ombre); }
:is(.lp-coach-section, body.page-coach) :is(.search, .tbtn, .fld input, .fld textarea, .fld select, .inp) { border-radius: 12px; }
:is(.lp-coach-section, body.page-coach) .viewsw { border-radius: 12px; overflow: hidden; }
@media (max-width: 640px) {
  :is(.lp-coach-section, body.page-coach) .cc-tabs { flex: 1; }
  :is(.lp-coach-section, body.page-coach) .cc-tabs button { flex: 1 1 auto; padding: 9px 10px; font-size: 14px; }
  :is(.lp-coach-section, body.page-coach) .cc-palbtn { padding: 9px; }
  :is(.lp-coach-section, body.page-coach) .seg { flex-wrap: nowrap; }
  :is(.lp-coach-section, body.page-coach) .seg button { padding: 8px 6px; font-size: 13px; min-width: 0; }
}

:is(#view-planning, #view-suivi, #view-groupes) {
  --pl-bg: #f7f4ec; --pl-surface: #ffffff; --pl-surface-2: #f1ece0; --pl-ink: #10182e; --pl-muted: #5e6475; --pl-line: #e6dfd0;
  --pl-accent: #d8466f; --pl-accent-soft: #fbe7ed; --pl-entr: #0b7f9c; --pl-entr-soft: #e2f2f6; --pl-vac: #f2b02f; --pl-ok: #1a7f4b; --pl-ok-soft: #e3f2e8;
  --pl-hero: #10182e;
  --pl-ombre: 0 1px 2px rgba(16, 24, 46, .05), 0 10px 30px -14px rgba(16, 24, 46, .22);
  --pl-0: #122a52; --pl-1: #d8466f; --pl-2: #0b7f9c; --pl-3: #1a7f4b; --pl-4: #5b6b8c; --pl-5: #b26b00;
}
html.dark :is(#view-planning, #view-suivi, #view-groupes) {
  --pl-bg: #0b1020; --pl-surface: #121a2e; --pl-surface-2: #1a2440; --pl-ink: #f0ece1; --pl-muted: #9aa3b5; --pl-line: rgba(240, 236, 225, .1);
  --pl-accent: #f07b9f; --pl-accent-soft: rgba(240, 123, 159, .14); --pl-entr: #38c6e4; --pl-entr-soft: rgba(56, 198, 228, .12); --pl-ok: #4ade80; --pl-ok-soft: rgba(74, 222, 128, .12);
  --pl-hero: #1a2440;
  --pl-ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --pl-0: #8fa8d6; --pl-1: #f07b9f; --pl-2: #4cc4e0; --pl-3: #4ade80; --pl-4: #a9b4cc; --pl-5: #f5a742;
}
:is(#view-planning, #view-groupes) .c0 { --c: var(--pl-0); } :is(#view-planning, #view-groupes) .c1 { --c: var(--pl-1); } :is(#view-planning, #view-groupes) .c2 { --c: var(--pl-2); }
:is(#view-planning, #view-groupes) .c3 { --c: var(--pl-3); } :is(#view-planning, #view-groupes) .c4 { --c: var(--pl-4); } :is(#view-planning, #view-groupes) .c5 { --c: var(--pl-5); }
:is(#view-planning, #view-groupes) .pl-app { background: var(--pl-bg); color: var(--pl-ink); border-radius: 28px; padding: clamp(12px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 16px; font-family: var(--sans); }
:is(#view-planning, #view-groupes) .pl-app h2, :is(#view-planning, #view-groupes) .pl-app h3 { font-family: var(--sans); text-transform: none; letter-spacing: -.01em; color: var(--pl-ink); margin: 0; }
:is(#view-planning, #view-groupes) .pl-app h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; line-height: 1.1; }
:is(#view-planning, #view-groupes) .pl-app h3 { font-size: 1.1rem; font-weight: 700; }
:is(#view-planning, #view-groupes) .pl-k { display: block; font: 600 .7rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-aide { color: var(--pl-muted); font-size: .85rem; margin: 0; }
:is(#view-planning, #view-groupes) .pl-sp { flex: 1; }
:is(#view-planning, #view-groupes) .pl-carte { background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 22px; box-shadow: var(--pl-ombre); }

/* Boutons */
:is(#view-planning, #view-groupes) .pl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--pl-line); background: var(--pl-surface); color: var(--pl-ink); font: 600 .88rem var(--sans); cursor: pointer; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-btn:active { transform: scale(.97); }
:is(#view-planning, #view-groupes) .pl-btn[aria-expanded="true"] { background: var(--pl-surface-2); border-color: var(--pl-ink); }
:is(#view-planning, #view-groupes) .pl-btn.plein { background: var(--pl-ink); border-color: var(--pl-ink); color: var(--pl-surface); }
:is(#view-planning, #view-groupes) .pl-btn.danger { color: #d92d20; }
:is(#view-planning, #view-groupes) .pl-btn.petit { min-height: 32px; padding: 0 12px; font-size: .8rem; }
:is(#view-planning, #view-groupes) .pl-btn:disabled { opacity: .45; cursor: default; }
:is(#view-planning, #view-groupes) .pl-cal-hd .pl-btn:disabled { display: none; }
:is(#view-planning, #view-groupes) .pl-rond { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--pl-line); background: var(--pl-surface); color: var(--pl-ink); font-size: 1.2rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s; }
:is(#view-planning, #view-groupes) .pl-lien { border: 0; background: none; padding: 0; color: var(--pl-accent); font: 600 .8rem var(--sans); cursor: pointer; }
:is(#view-planning, #view-groupes) .pl-lien:hover { text-decoration: underline; }
:is(#view-planning, #view-groupes) :is(button, input, textarea, select):focus-visible { outline: 2px solid var(--pl-accent); outline-offset: 2px; }

/* En-tête et formulaires */
:is(#view-planning, #view-groupes) .pl-tete { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
:is(#view-planning, #view-groupes) .pl-tete-act { display: flex; gap: 8px; flex-wrap: wrap; }
:is(#view-planning, #view-groupes) .pl-form, :is(#view-planning, #view-groupes) .pl-import { padding: 18px; display: flex; flex-direction: column; gap: 12px; animation: pl-monte .2s ease-out; }
:is(#view-planning, #view-groupes) .pl-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
:is(#view-planning, #view-groupes) .pl-champs label { display: flex; flex-direction: column; gap: 5px; }
:is(#view-planning, #view-groupes) .pl-champs .l2 { grid-column: 1 / -1; }
:is(#view-planning, #view-groupes) .pl-champs span { font-size: .8rem; font-weight: 600; color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-app :is(input:not([type="checkbox"]), textarea, select) { font: .95rem var(--sans); color: var(--pl-ink); background: var(--pl-surface-2); border: 1px solid transparent; border-radius: 12px; padding: 10px 12px; transition: border-color .15s, background .15s; }
:is(#view-planning, #view-groupes) .pl-app :is(input:not([type="checkbox"]), textarea, select):focus { outline: none; border-color: var(--pl-accent); background: var(--pl-surface); }
:is(#view-planning, #view-groupes) .pl-app textarea { resize: vertical; width: 100%; }
:is(#view-planning, #view-groupes) .pl-pied-form { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
:is(#view-planning, #view-groupes) .pl-import textarea { font-family: var(--mono); font-size: .82rem; }
:is(#view-planning, #view-groupes) .pl-i-liste { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow: auto; border-radius: 14px; border: 1px solid var(--pl-line); }
:is(#view-planning, #view-groupes) .pl-i-liste li + li { border-top: 1px solid var(--pl-line); }
:is(#view-planning, #view-groupes) .pl-i-liste label { display: grid; grid-template-columns: auto minmax(0, 11em) minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 8px 12px; cursor: pointer; font-size: .88rem; }
:is(#view-planning, #view-groupes) .pl-i-liste input { accent-color: var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-i-liste small { color: var(--pl-muted); font-size: .72rem; }
:is(#view-planning, #view-groupes) .pl-i-liste .dbl { opacity: .5; }

/* Cette semaine */
:is(#view-planning, #view-groupes) .pl-resume { display: grid; grid-template-columns: minmax(0, 1.6fr) auto minmax(0, 1fr); gap: 12px; }
:is(#view-planning, #view-groupes) .pl-resume > button { font: inherit; text-align: left; cursor: pointer; border: 0; border-radius: 22px; transition: transform .15s, box-shadow .15s; }
:is(#view-planning, #view-groupes) .pl-r-sem { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; color: #fff; background: var(--pl-hero); box-shadow: var(--pl-ombre); }
:is(#view-planning, #view-groupes) .pl-r-sem .pl-k { color: rgba(255, 255, 255, .72); }
:is(#view-planning, #view-groupes) .pl-r-obj { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.3; }
:is(#view-planning, #view-groupes) .pl-r-obj.vide { font-weight: 500; opacity: .75; }
:is(#view-planning, #view-groupes) .pl-r-cyc { font-size: .82rem; color: rgba(255, 255, 255, .82); }
:is(#view-planning, #view-groupes) .pl-r-seances { display: flex; gap: 8px; padding: 10px; background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 22px; box-shadow: var(--pl-ombre); }
:is(#view-planning, #view-groupes) .pl-r-seances button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 64px; padding: 10px 8px; border: 1px solid transparent; border-radius: 16px; background: var(--pl-entr-soft); color: var(--pl-ink); font: inherit; cursor: pointer; transition: transform .12s, border-color .15s; }
:is(#view-planning, #view-groupes) .pl-r-seances span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-entr); }
:is(#view-planning, #view-groupes) .pl-r-seances b { font-size: 1.35rem; line-height: 1; }
:is(#view-planning, #view-groupes) .pl-r-seances em { font-style: normal; font-size: .7rem; color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-r-seances .auj { border-color: var(--pl-accent); background: var(--pl-accent-soft); }
:is(#view-planning, #view-groupes) .pl-r-seances .auj span { color: var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-r-seances .passe { opacity: .55; }
:is(#view-planning, #view-groupes) .pl-r-seances .obj em { color: var(--pl-ink); font-weight: 600; }
:is(#view-planning, #view-groupes) .pl-r-ech { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 16px 18px; background: var(--pl-surface); border: 1px solid var(--pl-line) !important; box-shadow: var(--pl-ombre); position: relative; overflow: hidden; color: var(--pl-ink); }
:is(#view-planning, #view-groupes) .pl-r-ech::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--c); }
:is(#view-planning, #view-groupes) .pl-r-ech b { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--c); }
:is(#view-planning, #view-groupes) .pl-r-ech span { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-r-ech small { color: var(--pl-muted); font-size: .8rem; }

/* Calendrier + panneau de détail */
:is(#view-planning, #view-groupes) .pl-main { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
:is(#view-planning, #view-groupes) .pl-cal { padding: 16px; min-width: 0; }
:is(#view-planning, #view-groupes) .pl-cal-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
:is(#view-planning, #view-groupes) .pl-cal-hd h3 { flex: 1; font-size: 1.35rem; text-transform: capitalize; }
:is(#view-planning, #view-groupes) .pl-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
:is(#view-planning, #view-groupes) .pl-dow span { text-align: center; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-muted); padding: 4px 0; }
:is(#view-planning, #view-groupes) .pl-dow .entr { color: var(--pl-entr); }
:is(#view-planning, #view-groupes) .pl-grille { display: flex; flex-direction: column; gap: 6px; touch-action: pan-y; }
:is(#view-planning, #view-groupes) .pl-grille.vers-g { animation: pl-vers-g .25s ease-out; }
:is(#view-planning, #view-groupes) .pl-grille.vers-d { animation: pl-vers-d .25s ease-out; }
:is(#view-planning, #view-groupes) .pl-wk { border-radius: 16px; padding: 3px; transition: background .15s; }
:is(#view-planning, #view-groupes) .pl-wk.sel { background: var(--pl-accent-soft); }
:is(#view-planning, #view-groupes) .pl-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
:is(#view-planning, #view-groupes) .pl-day { position: relative; min-height: 76px; padding: 5px; border-radius: 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; background: var(--pl-surface); transition: background .15s, box-shadow .15s; }
:is(#view-planning, #view-groupes) .pl-day.entr { background: var(--pl-entr-soft); }
:is(#view-planning, #view-groupes) .pl-day:active { transform: scale(.96); }
:is(#view-planning, #view-groupes) .pl-day { transition: background .15s, box-shadow .15s, transform .08s; }
:is(#view-planning, #view-groupes) :is(button, .pl-day) { -webkit-tap-highlight-color: transparent; }
:is(#view-planning, #view-groupes) .pl-day.vac { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--pl-vac) 22%, transparent) 0 5px, transparent 5px 11px); }
:is(#view-planning, #view-groupes) .pl-day.hors { opacity: .4; }
:is(#view-planning, #view-groupes) .pl-day.sel { box-shadow: 0 0 0 2px var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-day.cible { box-shadow: 0 0 0 2px var(--pl-accent); background: var(--pl-accent-soft); }
:is(#view-planning, #view-groupes) .pl-num { align-self: flex-start; width: 28px; height: 28px; border-radius: 50%; border: 0; background: none; color: var(--pl-ink); font: 600 .85rem var(--sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
:is(#view-planning, #view-groupes) .pl-num::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
/* Le bouton du site s'enfonce au clic (laboping.css) : ici il doit rester fixe, sinon sa zone
   cliquable (::after, toute la case) se réduit au chiffre pendant l'appui. */
:is(#view-planning, #view-groupes) .pl-num:active { transform: none; }
:is(#view-planning, #view-groupes) .pl-day.passe .pl-num { color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-day.auj .pl-num { background: var(--pl-accent); color: #fff; }
:is(#view-planning, #view-groupes) .pl-chip { position: relative; z-index: 1; display: block; width: 100%; text-align: left; font: 700 .7rem/1.25 var(--sans); color: #fff; background: var(--c); border: 0; border-radius: 7px; padding: 3px 6px; cursor: grab; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; touch-action: none; user-select: none; box-shadow: 0 2px 6px -2px color-mix(in srgb, var(--c) 70%, transparent); }
:is(#view-planning, #view-groupes) .pl-chip.drag { z-index: 5; cursor: grabbing; pointer-events: none; box-shadow: 0 12px 24px -8px rgba(16, 24, 40, .45); }
:is(#view-planning, #view-groupes) .pl-dmark { position: absolute; right: 5px; bottom: 5px; display: inline-flex; align-items: center; gap: 4px; pointer-events: none; }
:is(#view-planning, #view-groupes) .pl-dmark i { width: 7px; height: 7px; border-radius: 50%; background: var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-eff { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font: 700 .68rem var(--sans); color: #fff; background: var(--pl-entr); }
:is(#view-planning, #view-groupes) .pl-bars { display: flex; flex-direction: column; gap: 3px; padding: 4px 1px 2px; }
:is(#view-planning, #view-groupes) .pl-bar { display: flex; align-items: center; gap: 8px; min-width: 0; height: 26px; padding: 0 10px; border-radius: 8px; border: 0; background: color-mix(in srgb, var(--c) 14%, var(--pl-surface)); color: var(--pl-ink); font: .8rem var(--sans); cursor: pointer; text-align: left; transition: background .15s; }
:is(#view-planning, #view-groupes) .pl-bar .k { flex: none; font-weight: 700; font-size: .72rem; color: var(--c); max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-bar .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-bar.vide { background: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-bar.cyc { --c: var(--pl-ink); background: var(--pl-surface-2); }
:is(#view-planning, #view-groupes) .pl-bar.cyc .k::before { content: "↻ "; }
:is(#view-planning, #view-groupes) .pl-cal-pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--pl-line); font-size: .8rem; color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-pied-g { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
:is(#view-planning, #view-groupes) .pl-entr { display: inline-flex; gap: 4px; flex-wrap: wrap; }
:is(#view-planning, #view-groupes) .pl-entr b { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--pl-entr-soft); color: var(--pl-entr); font: 700 .74rem var(--sans); }
:is(#view-planning, #view-groupes) .pl-entr em { font-style: normal; color: var(--pl-ink); }
:is(#view-planning, #view-groupes) .pl-groupes { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--pl-surface-2); overflow-x: auto; scrollbar-width: none; width: fit-content; max-width: 100%; }
:is(#view-planning, #view-groupes) .pl-groupes::-webkit-scrollbar { display: none; }
:is(#view-planning, #view-groupes) .pl-groupes button { flex: none; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--pl-muted); font: 700 .86rem var(--sans); cursor: pointer; white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-groupes button[aria-pressed="true"] { background: var(--pl-ink); color: var(--pl-surface); }
:is(#view-planning, #view-groupes) .pl-groupes { margin: 0 0 12px; }
#view-planning .pl-autres-g { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 600 .8rem var(--sans); color: var(--pl-muted); }
#view-planning .pl-autres-g button { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--pl-line); background: var(--pl-surface); color: var(--pl-ink); font: 700 .8rem var(--sans); cursor: pointer; }
:is(#view-planning, #view-groupes) .pl-tous .pl-sj-t b { display: block; color: var(--pl-ink); }
/* Écran « Joueurs et groupes » */
#view-groupes .gr-app { display: flex; flex-direction: column; gap: 16px; }
#view-groupes .gr-bloc, #view-groupes .gr-carte { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
#view-groupes .gr-bloc h3 { margin: 0; font: 800 1.2rem var(--sans); color: var(--pl-ink); }
#view-groupes .gr-bloc h3 small { margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--pl-surface-2); font: 700 .8rem var(--sans); color: var(--pl-muted); }
#view-groupes .gr-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 420px; overflow: auto; }
#view-groupes .gr-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto 32px; align-items: center; gap: 8px; }
#view-groupes .pl-app .gr-liste input[data-gr-nom] { min-width: 0; padding: 8px 12px; font-weight: 600; background: var(--pl-surface-2); }
#view-groupes .gr-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 46vw; }
#view-groupes .gr-tags em { font: 700 .7rem var(--sans); font-style: normal; padding: 3px 8px; border-radius: 999px; background: var(--pl-entr-soft); color: var(--pl-entr); white-space: nowrap; }
#view-groupes .gr-tags i { font-size: .74rem; color: var(--pl-muted); }
#view-groupes .gr-liste .pl-rond { width: 32px; height: 32px; }
#view-groupes .gr-groupes { display: flex; flex-direction: column; gap: 12px; }
#view-groupes .gr-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
#view-groupes .gr-hd h3 { margin: 0; font: 800 1.2rem var(--sans); color: var(--pl-ink); }
#view-groupes .gr-c-hd { display: flex; align-items: center; gap: 10px; }
#view-groupes .pl-app input.gr-gnom { flex: 1; min-width: 0; padding: 8px 12px; border: 1px solid transparent; border-radius: 12px; background: var(--pl-surface-2); font: 800 1.1rem var(--sans); color: var(--pl-ink); }
#view-groupes .pl-app input.gr-gnom:focus { border-color: var(--pl-accent); background: var(--pl-surface); }
#view-groupes .gr-n { flex: none; font: 700 .8rem var(--sans); color: var(--pl-muted); }
#view-groupes .gr-k { margin: 0; font: 700 .7rem var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--pl-muted); }
#view-groupes .gr-membres { display: flex; flex-wrap: wrap; gap: 6px; }
#view-groupes .gr-membres button { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--pl-line); background: transparent; color: var(--pl-muted); font: 600 .85rem var(--sans); cursor: pointer; }
#view-groupes .gr-membres button[aria-pressed="true"] { border: 1px solid var(--pl-entr); background: var(--pl-entr); color: #fff; }
#view-groupes .gr-eff { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .84rem; color: var(--pl-muted); }
#view-groupes .gr-eff label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--pl-ink); }
#view-groupes .pl-app .gr-eff input { width: 64px; padding: 6px; text-align: center; font-weight: 700; }
#view-groupes .gr-detail summary { cursor: pointer; font: 700 .84rem var(--sans); color: var(--pl-accent); }
#view-groupes .gr-detail .pl-gj { margin-top: 8px; }
#view-groupes .gr-detail tbody th { font: 600 .86rem var(--sans); color: var(--pl-ink); }
#view-groupes .gr-suppr { align-self: flex-start; }
#view-groupes .gr-suivi { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--pl-line); border-radius: 14px; background: var(--pl-surface); text-align: left; cursor: pointer; }
#view-groupes .gr-suivi b { display: block; font: 700 .9rem var(--sans); color: var(--pl-ink); }
#view-groupes .gr-suivi small { font-size: .78rem; color: var(--pl-muted); }
#view-groupes .gr-sw { flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--pl-line); position: relative; transition: background .15s; }
#view-groupes .gr-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 46, .3); transition: transform .15s; }
#view-groupes .gr-suivi[aria-pressed="true"] { border-color: var(--pl-accent); background: var(--pl-accent-soft); }
#view-groupes .gr-suivi[aria-pressed="true"] .gr-sw { background: var(--pl-accent); }
#view-groupes .gr-suivi[aria-pressed="true"] .gr-sw::after { transform: translateX(16px); }
#view-suivi .su-lie { margin: 4px 0 6px; font-size: .86rem; color: var(--pl-muted); }
#view-groupes .gr-import { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--pl-accent-soft); font: 600 .88rem var(--sans); color: var(--pl-ink); }
:is(#view-planning, #view-groupes) .pl-presences { display: flex; flex-direction: column; gap: 16px; }
:is(#view-planning, #view-groupes) .pl-pr-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
:is(#view-planning, #view-groupes) .pl-pr-g h4 { margin: 0 0 8px; font: 800 1rem var(--sans); color: var(--pl-ink); }
:is(#view-planning, #view-groupes) .pl-pr-g h4 small { display: block; font: 600 .78rem var(--sans); color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-pr-l { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
:is(#view-planning, #view-groupes) .pl-pr-l li { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; align-items: center; gap: 4px 10px; padding: 8px 12px; border-radius: 12px; background: var(--pl-surface-2); }
:is(#view-planning, #view-groupes) .pl-pr-l b { font: 700 .9rem var(--sans); color: var(--pl-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-pr-bar { height: 8px; border-radius: 999px; background: var(--pl-line); overflow: hidden; }
:is(#view-planning, #view-groupes) .pl-pr-bar s { display: block; height: 100%; border-radius: 999px; background: var(--pl-entr); }
:is(#view-planning, #view-groupes) .pl-pr-l li.bas .pl-pr-bar s { background: var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-pr-n { font: 700 .8rem var(--sans); color: var(--pl-muted); white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-pr-l li.bas .pl-pr-n { color: var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-pr-l small { grid-column: 1 / -1; font-size: .74rem; color: var(--pl-muted); }
@media (max-width: 640px) { :is(#view-planning, #view-groupes) .pl-pr-l li { grid-template-columns: minmax(0, 1fr) auto; } :is(#view-planning, #view-groupes) .pl-pr-bar { grid-column: 1 / -1; grid-row: 2; } }
:is(#view-planning, #view-groupes) .pl-reg-jours { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
:is(#view-planning, #view-groupes) .pl-reg-j { min-width: 44px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--pl-line); background: var(--pl-surface); color: var(--pl-muted); font: 700 .85rem var(--sans); cursor: pointer; transition: background .15s, color .15s; }
:is(#view-planning, #view-groupes) .pl-reg-j[aria-pressed="true"] { background: var(--pl-entr); border-color: var(--pl-entr); color: #fff; }
:is(#view-planning, #view-groupes) .pl-reg-jours .pl-aide { margin-left: 4px; }
:is(#view-planning, #view-groupes) .pl-gj { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
:is(#view-planning, #view-groupes) .pl-gj table { width: 100%; border-collapse: separate; border-spacing: 0 4px; font-size: .88rem; }
:is(#view-planning, #view-groupes) .pl-gj th, :is(#view-planning, #view-groupes) .pl-gj td { padding: 2px 3px; text-align: center; font-weight: 600; }
:is(#view-planning, #view-groupes) .pl-gj thead th { font: 700 .72rem var(--sans); color: var(--pl-muted); text-transform: uppercase; letter-spacing: .04em; }
:is(#view-planning, #view-groupes) .pl-gj thead th:first-child, :is(#view-planning, #view-groupes) .pl-gj tbody th, :is(#view-planning, #view-groupes) .pl-gj tfoot th { text-align: left; }
:is(#view-planning, #view-groupes) .pl-gj .n { color: var(--pl-entr); font-weight: 800; }
:is(#view-planning, #view-groupes) .pl-gj thead .n { font-size: .62rem; line-height: 1.1; }
:is(#view-planning, #view-groupes) .pl-app .pl-gj tbody input { width: 100%; min-width: 0; padding: 7px 8px; font-weight: 600; background: var(--pl-surface-2); text-overflow: ellipsis; }
:is(#view-planning, #view-groupes) .pl-gj tbody th { width: 100%; }
:is(#view-planning, #view-groupes) .pl-gj .pl-rond { width: 28px; height: 28px; font-size: .9rem; }
:is(#view-planning, #view-groupes) .pl-cc { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--pl-line); background: var(--pl-surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
:is(#view-planning, #view-groupes) .pl-cc[aria-pressed="true"] { background: var(--pl-entr); border-color: var(--pl-entr); }
:is(#view-planning, #view-groupes) .pl-cc[aria-pressed="true"]::after { content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-2px) rotate(-45deg); }
:is(#view-planning, #view-groupes) .pl-gj tfoot th { font: 700 .78rem var(--sans); color: var(--pl-muted); padding-top: 8px; }
:is(#view-planning, #view-groupes) .pl-gj tfoot b { font-size: 1rem; color: var(--pl-ink); }
:is(#view-planning, #view-groupes) .pl-app .pl-gj tfoot input { width: 52px; text-align: center; font-weight: 700; padding: 7px 4px; background: var(--pl-surface); }
:is(#view-planning, #view-groupes) .pl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-pres-l { display: flex; flex-wrap: wrap; gap: 6px; }
:is(#view-planning, #view-groupes) .pl-pres-l button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--pl-line); background: var(--pl-entr-soft); color: var(--pl-ink); font: 600 .86rem var(--sans); cursor: pointer; }
:is(#view-planning, #view-groupes) .pl-pres-l button[aria-pressed="true"] { background: #fdecec; border-color: #e5484d; color: #b42318; text-decoration: line-through; }
html.dark :is(#view-planning, #view-groupes) .pl-pres-l button[aria-pressed="true"] { background: rgba(229, 72, 77, .16); color: #ff9592; }
:is(#view-planning, #view-groupes) .pl-ajout { display: flex; gap: 8px; align-items: stretch; }
:is(#view-planning, #view-groupes) .pl-abs-hd { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
:is(#view-planning, #view-groupes) .pl-eff-j { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-eff-j b { color: var(--pl-ink); }
:is(#view-planning, #view-groupes) .pl-abs-l { display: flex; flex-wrap: wrap; gap: 6px; }
:is(#view-planning, #view-groupes) .pl-abs-l button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 8px 0 12px; border-radius: 999px; border: 1px solid #e5484d; background: #fdecec; color: #b42318; font: 600 .85rem var(--sans); cursor: pointer; }
:is(#view-planning, #view-groupes) .pl-abs-l button span { font-size: 1.05rem; line-height: 1; opacity: .7; }
html.dark :is(#view-planning, #view-groupes) .pl-abs-l button { background: rgba(229, 72, 77, .16); color: #ff9592; }
:is(#view-planning, #view-groupes) .pl-app .pl-ajout input { flex: 1; min-width: 0; }
:is(#view-planning, #view-groupes) .pl-cal-pied i.vac { width: 22px; height: 12px; border-radius: 4px; background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--pl-vac) 50%, transparent) 0 4px, transparent 4px 8px); }
:is(#view-planning, #view-groupes) .pl-cal-pied select { padding: 4px 8px; border-radius: 8px; }

:is(#view-planning, #view-groupes) .pl-insp { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding: 16px; overscroll-behavior: contain; }
:is(#view-planning, #view-groupes) .pl-poignee, :is(#view-planning, #view-groupes) .pl-x, :is(#view-planning, #view-groupes) .pl-fini { display: none; }
:is(#view-planning, #view-groupes) .pl-voile { display: none; }
:is(#view-planning, #view-groupes) .pl-i-hd { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
:is(#view-planning, #view-groupes) .pl-i-titre { flex: 1; min-width: 0; text-align: center; }
:is(#view-planning, #view-groupes) .pl-i-titre h3 { font-size: 1.15rem; }
:is(#view-planning, #view-groupes) .pl-i-titre h3::first-letter { text-transform: uppercase; }
:is(#view-planning, #view-groupes) .pl-i-corps { display: flex; flex-direction: column; gap: 10px; }
:is(#view-planning, #view-groupes) .pl-ctx { --c: var(--pl-accent); display: block; padding: 10px 12px; border-radius: 16px; background: color-mix(in srgb, var(--c) 8%, var(--pl-surface)); border-left: 4px solid var(--c); transition: box-shadow .15s; }
:is(#view-planning, #view-groupes) .pl-ctx:focus-within { box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 45%, transparent); }
:is(#view-planning, #view-groupes) .pl-ctx.cyc { --c: var(--pl-ink); background: var(--pl-surface-2); }
:is(#view-planning, #view-groupes) .pl-ctx-hd { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
:is(#view-planning, #view-groupes) .pl-ctx .pl-k { color: var(--c); }
:is(#view-planning, #view-groupes) .pl-ctx p { margin: 4px 0 0; font-size: .95rem; }
:is(#view-planning, #view-groupes) .pl-ctx p i { color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-app .pl-ctx textarea { background: transparent; border: 0; padding: 4px 0 0; min-height: 44px; border-radius: 0; resize: none; field-sizing: content; }
:is(#view-planning, #view-groupes) .pl-app .pl-ctx textarea:focus { background: transparent; }
:is(#view-planning, #view-groupes) .pl-pres { border: 0; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
:is(#view-planning, #view-groupes) .pl-pres legend { display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
:is(#view-planning, #view-groupes) .pl-pres legend b { min-width: 30px; height: 26px; padding: 0 8px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--pl-entr); color: #fff; font-size: .85rem; }
:is(#view-planning, #view-groupes) .pl-i-pied { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--pl-line); }
:is(#view-planning, #view-groupes) .pl-statut { flex: 1; min-width: 8em; font-size: .78rem; color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-statut.ok { color: var(--pl-ok); }
:is(#view-planning, #view-groupes) .pl-statut.ok::before { content: "✓ "; }
:is(#view-planning, #view-groupes) .pl-sjours { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
:is(#view-planning, #view-groupes) .pl-sjours button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border-radius: 14px; border: 0; background: none; color: var(--pl-ink); font: inherit; text-align: left; cursor: pointer; }
:is(#view-planning, #view-groupes) .pl-sj-d { flex: none; width: 42px; display: flex; flex-direction: column; align-items: center; font-size: 1.1rem; font-weight: 700; line-height: 1.1; }
:is(#view-planning, #view-groupes) .pl-sj-d b { font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-entr); }
:is(#view-planning, #view-groupes) .pl-sj-t { flex: 1; min-width: 0; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(#view-planning, #view-groupes) .pl-sj-t i { color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-sj-t em { font-style: normal; font-weight: 700; font-size: .72rem; color: #fff; background: var(--c); padding: 2px 6px; border-radius: 6px; margin-right: 6px; }
:is(#view-planning, #view-groupes) .pl-sj-n { flex: none; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--pl-entr); color: #fff; font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Détail d'une échéance */
:is(#view-planning, #view-groupes) .pl-back { align-self: flex-start; }
:is(#view-planning, #view-groupes) .pl-hero { padding: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; position: relative; overflow: hidden; }
:is(#view-planning, #view-groupes) .pl-hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--c); }
:is(#view-planning, #view-groupes) .pl-hero p { margin: 4px 0 0; color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-hero.proche .pl-k { color: var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-hero-act { display: flex; gap: 8px; flex-wrap: wrap; }
:is(#view-planning, #view-groupes) .pl-frise { flex: 1 0 100%; display: flex; gap: 4px; }
:is(#view-planning, #view-groupes) .pl-frise a { flex: 1; min-width: 0; height: 12px; border-radius: 6px; background: var(--pl-surface-2); transition: transform .15s; }
:is(#view-planning, #view-groupes) .pl-frise .ok { background: var(--c); }
:is(#view-planning, #view-groupes) .pl-frise .passe { opacity: .45; }
:is(#view-planning, #view-groupes) .pl-frise .ech { background: var(--pl-accent); opacity: 1; }
:is(#view-planning, #view-groupes) .pl-frise .now { box-shadow: 0 0 0 2px var(--pl-surface), 0 0 0 4px var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-avance { margin: 0; font-size: .8rem; color: var(--pl-muted); }
:is(#view-planning, #view-groupes) .pl-sems { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
:is(#view-planning, #view-groupes) .pl-sem { padding: 12px 14px; scroll-margin-top: 90px; }
:is(#view-planning, #view-groupes) .pl-sem.passe { opacity: .65; }
:is(#view-planning, #view-groupes) .pl-sem.now { box-shadow: 0 0 0 2px var(--pl-accent), var(--pl-ombre); }
:is(#view-planning, #view-groupes) .pl-sem.ech { background: var(--pl-accent-soft); }
:is(#view-planning, #view-groupes) .pl-sem-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; font-size: .9rem; }
:is(#view-planning, #view-groupes) .pl-sem-hd span { font-size: .75rem; color: var(--pl-muted); display: flex; gap: 8px; }
:is(#view-planning, #view-groupes) .pl-sem-hd em { font-style: normal; font-weight: 700; color: var(--pl-accent); }
:is(#view-planning, #view-groupes) .pl-vide { padding: 24px; text-align: center; color: var(--pl-muted); }

/* Survol seulement avec une souris : au doigt, l'état resterait collé après l'appui. */
@media (hover: hover) {
  :is(#view-planning, #view-groupes) .pl-btn:hover { background: var(--pl-surface-2); }
  :is(#view-planning, #view-groupes) .pl-btn.plein:hover { background: var(--pl-accent); border-color: var(--pl-accent); color: #fff; }
  :is(#view-planning, #view-groupes) .pl-rond:hover { background: var(--pl-surface-2); }
  :is(#view-planning, #view-groupes) .pl-resume > button:hover { transform: translateY(-2px); }
  :is(#view-planning, #view-groupes) .pl-r-seances button:hover { transform: translateY(-2px); border-color: var(--pl-entr); }
  :is(#view-planning, #view-groupes) .pl-day:hover { background: var(--pl-surface-2); }
  :is(#view-planning, #view-groupes) .pl-bar:hover { background: color-mix(in srgb, var(--c) 24%, var(--pl-surface)); }
  :is(#view-planning, #view-groupes) .pl-sjours button:hover { background: var(--pl-surface-2); }
  :is(#view-planning, #view-groupes) .pl-frise a:hover { transform: scaleY(1.4); }
}
@keyframes pl-vers-g { from { opacity: 0; transform: translateX(28px); } }
@keyframes pl-vers-d { from { opacity: 0; transform: translateX(-28px); } }
@keyframes pl-monte { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 1100px) {
  :is(#view-planning, #view-groupes) .pl-resume { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  :is(#view-planning, #view-groupes) .pl-r-sem { grid-column: 1 / -1; }
}
/* Tablette : le détail reste à côté du calendrier, plus étroit, pour passer d'une case à l'autre. */
@media (max-width: 900px) {
  :is(#view-planning, #view-groupes) .pl-main { grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; }
}
/* Téléphone : le détail devient un tiroir qui monte du bas. */
@media (max-width: 640px) {
  :is(#view-planning, #view-groupes) .pl-main { grid-template-columns: minmax(0, 1fr); }
  :is(#view-planning, #view-groupes) .pl-insp { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 2001; max-height: 62vh; border-radius: 26px 26px 0 0; box-shadow: 0 -18px 40px -12px rgba(8, 12, 28, .35); padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(105%); visibility: hidden; transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; }
  :is(#view-planning, #view-groupes) .pl-insp.ouvert { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  :is(#view-planning, #view-groupes) .pl-poignee { display: block; width: 44px; height: 5px; border-radius: 999px; background: var(--pl-line); margin: 0 auto 10px; }
  :is(#view-planning, #view-groupes) .pl-x, :is(#view-planning, #view-groupes) .pl-fini { display: inline-flex; }
  /* Tiroir non bloquant : le calendrier reste utilisable au-dessus, et la marge du bas
     permet d'amener n'importe quelle semaine au-dessus du tiroir. */
  html.pl-feuille-ouverte #view-planning .pl-app { padding-bottom: calc(62vh + 16px); }
}
@media (max-width: 640px) {
  :is(#view-planning, #view-groupes) .pl-app { border-radius: 20px; padding: 12px; margin: 0 -8px; }
  :is(#view-planning, #view-groupes) .pl-tete-act { width: 100%; }
  :is(#view-planning, #view-groupes) .pl-tete-act .pl-btn { flex: 1; padding: 0 10px; }
  :is(#view-planning, #view-groupes) .pl-resume { grid-template-columns: minmax(0, 1fr); }
  :is(#view-planning, #view-groupes) .pl-r-seances { overflow-x: auto; }
  :is(#view-planning, #view-groupes) .pl-r-seances button { flex: 1; min-width: 58px; }
  :is(#view-planning, #view-groupes) .pl-cal { padding: 10px 6px; border-radius: 18px; }
  :is(#view-planning, #view-groupes) .pl-cal-hd { padding: 0 4px; }
  :is(#view-planning, #view-groupes) .pl-cal-hd h3 { font-size: 1.15rem; }
  :is(#view-planning, #view-groupes) .pl-days { gap: 2px; }
  :is(#view-planning, #view-groupes) .pl-day { min-height: 54px; padding: 3px 2px; border-radius: 9px; }
  :is(#view-planning, #view-groupes) .pl-num { width: 24px; height: 24px; font-size: .78rem; }
  :is(#view-planning, #view-groupes) .pl-chip { font-size: .58rem; padding: 2px 3px; border-radius: 5px; }
  :is(#view-planning, #view-groupes) .pl-eff { min-width: 16px; height: 16px; padding: 0 4px; font-size: .58rem; }
  :is(#view-planning, #view-groupes) .pl-dmark { right: 2px; bottom: 2px; gap: 2px; }
  :is(#view-planning, #view-groupes) .pl-dmark i { width: 5px; height: 5px; }
  :is(#view-planning, #view-groupes) .pl-bar { height: 24px; padding: 0 8px; font-size: .74rem; }
  :is(#view-planning, #view-groupes) .pl-champs { grid-template-columns: minmax(0, 1fr); }
  :is(#view-planning, #view-groupes) .pl-i-liste label { grid-template-columns: auto minmax(0, 1fr); }
  :is(#view-planning, #view-groupes) .pl-i-liste span, :is(#view-planning, #view-groupes) .pl-i-liste small { grid-column: 2; }
  :is(#view-planning, #view-groupes) .pl-hero-act { width: 100%; }
  :is(#view-planning, #view-groupes) .pl-hero-act .pl-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  :is(#view-planning, #view-groupes) *, :is(#view-planning, #view-groupes) *::before, :is(#view-planning, #view-groupes) *::after { animation: none !important; transition: none !important; }
}
