/* FeelEat — DA « salle de sport » : fond gris clair, barres anthracite, titres condensés italiques, une couleur d'accent. */
:root {
  --bar: #24292d; --bar-2: #1b1f23; --bg: #f3f3f3; --card: #fff; --ink: #24292d; --strong: #000;
  --muted: #5b6167; --line: #e3e5e8; --field: #f0f1f2; --off: #d4d7da;
  --hero: linear-gradient(135deg, #101a2e 0%, #0b1220 60%, #1d3a6b 100%);
  --tile: linear-gradient(160deg, #343a40, #16191c);
  --prot: #3aa0ff; --gluc: #ffd600; --lip: #ff5fa2;
  --prot-ink: #1f6fc4; --gluc-ink: #8a6d00; --lip-ink: #c22f72;
  --ok: #24292d;
  --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px);
  --cond: "Barlow Condensed", system-ui, sans-serif;
  font-family: Montserrat, -apple-system, system-ui, sans-serif;
  color-scheme: light;
}
/* Accent choisi dans Paramètres (couleur vive + version claire pour texte sur fond sombre) */
body { --acc: #ffd600; --acc-soft: #ffd600; --acc-ink: #000; }
body[data-accent="rose"] { --acc: #ff5fa2; --acc-soft: #ff8fbf; }
body[data-accent="bleu"] { --acc: #3aa0ff; --acc-soft: #7cc0ff; }
body[data-accent="rouge"] { --acc: #ff4646; --acc-soft: #ff8080; }
body[data-accent="vert"] { --acc: #34a865; --acc-soft: #6fd39a; }
body[data-accent="orange"] { --acc: #ff8a1f; --acc-soft: #ffad66; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--bar); }
body { margin: 0; min-height: 100dvh; background: var(--bg); color: var(--ink);
  padding: 0 0 calc(var(--safe-bottom) + 76px); overscroll-behavior-y: none;
  font-size: 15px; line-height: 1.4; -webkit-font-smoothing: antialiased; }
main { padding: 14px 16px 8px; }
h1, h2, h3, h4, p { margin: 0; }
.cond, .num, h1, h2, .ex-name, .big-num, .t-title { font-family: var(--cond); font-style: italic; font-weight: 800; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.acc-fill { fill: var(--acc); }
.acc-stroke { stroke: var(--acc); }

/* ---------- Barre du haut ---------- */
.top { position: sticky; top: 0; z-index: 4; background: var(--bar); padding: calc(var(--safe-top) + 10px) 16px 10px;
  display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-ico { width: 34px; height: 34px; }
.logo-eat { fill: var(--acc); }
.logo-word { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 26px; color: #fff; line-height: 1; letter-spacing: .5px;
  border-bottom: 3px solid var(--acc); padding-bottom: 1px; }
.logo-word span { color: var(--acc); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.sync { width: 8px; height: 8px; border-radius: 50%; }
.sync[data-state="ok"] { background: #3ddc84; } .sync[data-state="sync"] { background: #ffd166; } .sync[data-state="error"] { background: #ff5a5a; }
.btn-acc { appearance: none; border: 0; background: var(--acc); color: var(--acc-ink); font-family: var(--cond); font-style: italic; font-weight: 800;
  font-size: 18px; text-transform: uppercase; padding: 0 14px; min-height: 40px; border-radius: 8px; }
.banner { background: var(--acc); color: var(--acc-ink); text-align: center; font-size: 11px; font-weight: 700; padding: 8px 16px; text-transform: uppercase;
  display: flex; justify-content: center; gap: 12px; }
.banner:empty { display: none; }
.banner b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 16px; line-height: 1; }

/* ---------- Blocs ---------- */
.card { background: var(--card); border-radius: 12px; padding: 14px; margin-bottom: 10px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.card-head h3 { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.card-head h3 span { font-family: Montserrat, system-ui, sans-serif; font-style: normal; text-transform: none; font-weight: 700; font-size: 13px; color: var(--muted); margin-left: 6px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 18px 0 8px; }
.sec-head h2 { font-size: 36px; line-height: 1; color: var(--strong); }
.row { display: flex; align-items: center; gap: 10px; }
.dark { background: var(--hero); color: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 10px; }
.dark .muted { color: #c9cdd1; }
.tag { display: inline-block; background: var(--acc); color: var(--acc-ink); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; }
.tag.grey { background: #e3e5e8; color: var(--muted); }

.btn { appearance: none; border: 0; background: #e3e5e8; color: var(--ink); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 19px;
  text-transform: uppercase; padding: 0 16px; border-radius: 8px; min-height: 46px; }
.btn.primary { background: var(--acc); color: var(--acc-ink); }
.btn.dark-btn { background: var(--bar); color: var(--acc-soft); }
.btn.full { width: 100%; }
.btn.small-btn { min-height: 36px; padding: 0 12px; font-size: 16px; }
.btn:active, .btn-acc:active { transform: scale(.97); }
.btn:disabled { opacity: .45; }
.link { appearance: none; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 600; padding: 8px 0; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--strong); outline-offset: 2px; }

/* ---------- Calories (carte sombre) ---------- */
.hero h1 { font-size: 46px; line-height: .95; }
.hero h1 .acc { color: var(--acc-soft); }
.hero.over h1 .acc { color: #ff8080; }
.hero .equation { margin-top: 6px; font-size: 12px; color: #c9cdd1; }
.macros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.macro span { display: block; font-size: 11px; color: #c9cdd1; text-transform: uppercase; font-weight: 700; }
.macro b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 24px; line-height: 1.05; }
.macro b small { font-size: 14px; color: #c9cdd1; }
.track { height: 5px; border-radius: 3px; background: #4a5056; overflow: hidden; margin-top: 6px; }
.track i { display: block; height: 100%; background: var(--acc); border-radius: inherit; transition: width .4s ease; }
.macro.p .track i { background: var(--prot); } .macro.g .track i { background: var(--gluc); } .macro.l .track i { background: var(--lip); }

/* ---------- Exos animés ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile .pic { position: relative; height: 118px; border-radius: 16px; background: var(--tile); overflow: hidden; }
.tile .pic .fig { width: 100%; height: 100%; }
.tile .pic span { position: absolute; left: 10px; bottom: 8px; color: var(--acc-soft); font-size: 11px; font-weight: 700; }
.tile h3 { margin-top: 6px; font-family: var(--cond); font-style: italic; font-weight: 700; font-size: 21px; text-transform: uppercase; line-height: 1.05; }
.tile p { font-size: 11px; color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); margin: -4px 0 10px; }

/* Jour sans salle */
.today { display: flex; align-items: center; gap: 14px; }
.today .badge { width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--bar); color: var(--acc-soft); display: grid; place-items: center;
  font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 26px; }
.today .info { flex: 1; min-width: 0; }
.today .info b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 22px; text-transform: uppercase; }
.today .info span { font-size: 13px; color: var(--muted); }
.today-cta { margin-top: 12px; }

/* Semaine */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.wd { padding: 6px 0 8px; border-radius: 8px; font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.wd b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 22px; color: var(--ink); line-height: 1.15; }
.wd.now { background: var(--bar); color: #c9cdd1; } .wd.now b { color: var(--acc-soft); }
.wd.done b::after { content: ""; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); margin: 2px auto 0; }

/* Carte du corps */
.body-map { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.body-view { margin: 0; text-align: center; }
.body-view svg { width: 100%; max-height: 300px; }
.body-map.compact .body-view svg { max-height: 200px; }
.body-view figcaption { font-size: 12px; color: var(--muted); }
.skeleton { fill: #c4c8cc; }
.muscle path { stroke: rgba(255,255,255,.8); stroke-width: .8; transition: fill .4s ease; }
:root { --muscle-off: #dde0e3; }
.legend { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.legend .grad { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--muscle-off), hsl(48 95% 55%), hsl(4 90% 50%)); }
.mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mlist li { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; font-size: 13px; }
.mlist .track { margin: 0; height: 6px; background: var(--off); } .mlist .track i { background: linear-gradient(90deg, hsl(48 95% 55%), hsl(4 90% 50%)); }

/* ---------- Séance ---------- */
.ex-card { background: var(--card); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.ex-top { display: flex; align-items: center; gap: 4px; background: var(--tile); color: #fff; padding: 8px 14px 8px 2px; }
.ex-top .fig { width: 132px; height: 108px; flex: none; }
.ex-top .info { min-width: 0; }
.ex-name { font-size: 32px; line-height: .95; margin-top: 4px; }
.ex-sub { font-size: 12px; color: #c9cdd1; margin-top: 4px; }
.ex-sub b { color: var(--acc-soft); }
.ex-body { padding: 8px 10px 10px; }
.tip { font-size: 13px; margin: 2px 4px 6px; padding: 8px 10px; border-radius: 8px; background: var(--acc); color: var(--acc-ink); font-weight: 600; }
.sets { width: 100%; border-collapse: separate; border-spacing: 0 6px; }
.sets th { font-size: 10px; font-weight: 700; color: var(--muted); text-align: center; padding: 0 2px; text-transform: uppercase; }
.sets th:nth-child(2) { text-align: left; }
.sets td { text-align: center; padding: 4px 2px; background: var(--bg); }
.sets td:first-child { border-radius: 10px 0 0 10px; } .sets td:last-child { border-radius: 0 10px 10px 0; padding-right: 6px; }
.sets td.n { width: 30px; font-family: var(--cond); font-style: italic; font-size: 22px; font-weight: 800; }
.sets td.prev { text-align: left; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sets input { width: 64px; height: 40px; border: 0; border-radius: 6px; background: #fff; color: var(--strong); text-align: center;
  font-family: var(--cond); font-style: italic; font-size: 22px; font-weight: 800; outline: none; }
.sets input::placeholder { color: var(--muted); opacity: .5; }
.sets input:focus { box-shadow: inset 0 0 0 2px var(--bar); }
.sets .check { width: 40px; height: 40px; border-radius: 8px; border: 2px solid var(--bar); background: #fff; color: var(--bar); font-size: 0; display: grid; place-items: center; margin-left: auto; }
.sets .check svg { width: 18px; height: 18px; opacity: .25; }
.sets tr.done td { background: #fff; }
.sets tr.done .check { background: var(--bar); color: var(--acc-soft); } .sets tr.done .check svg { opacity: 1; }
.sets tr.done input { background: transparent; }
.empty { text-align: center; padding: 24px 8px; }
.empty p { margin-bottom: 14px; }
.empty .row { justify-content: center; }

/* Minuteur de repos */
.rest { position: fixed; left: 12px; right: 12px; bottom: calc(var(--safe-bottom) + 66px); z-index: 6;
  background: var(--bar); color: #fff; border-radius: 12px; padding: 10px 12px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.rest .t { font-family: var(--cond); font-style: italic; font-size: 32px; font-weight: 800; min-width: 64px; font-variant-numeric: tabular-nums; }
.rest .lbl { flex: 1; font-size: 11px; color: #c9cdd1; text-transform: uppercase; font-weight: 700; }
.rest .lbl .track { margin-top: 6px; height: 4px; }
.rest button { border: 2px solid var(--acc-soft); background: none; color: var(--acc-soft); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 16px; height: 36px; min-width: 44px; border-radius: 8px; padding: 0 8px; }
.rest.end { background: var(--acc); color: var(--acc-ink); } .rest.end .lbl { color: var(--acc-ink); } .rest.end button { border-color: var(--acc-ink); color: var(--acc-ink); }
.rest[hidden] { display: none; }

/* ---------- Nutrition ---------- */
.meal-sec .card-head { margin-bottom: 2px; }
.meal-sec.empty-meal { background: transparent; border: 2px dashed #b9bec3; }
.add-btn { min-height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; }
.add-btn svg { width: 18px; height: 18px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: 1fr auto 30px; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); }
.items li:first-child { border-top: 0; }
.items .nm { font-size: 14px; } .items .mc { display: flex; gap: 8px; font-size: 11px; font-weight: 700; }
.mc .p { color: var(--prot-ink); } .mc .g { color: var(--gluc-ink); } .mc .l { color: var(--lip-ink); }
.items .kc { font-family: var(--cond); font-style: italic; font-size: 19px; font-weight: 800; }
.x { border: 0; background: none; color: var(--muted); width: 30px; height: 30px; font-size: 22px; padding: 0; }
.meal-empty { font-size: 13px; color: var(--muted); padding: 2px 0; }
.food-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.food-tools .btn { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.food-tools svg { width: 20px; height: 20px; }

/* Feuille d'ajout d'aliment */
.search { width: 100%; height: 46px; border-radius: 8px; border: 0; background: var(--field); color: var(--ink); font: inherit; font-size: 16px; padding: 0 14px; outline: none; }
.food-list { list-style: none; padding: 0; margin: 8px 0 0; }
.food-list li button { width: 100%; display: grid; grid-template-columns: 1fr auto 30px; gap: 10px; align-items: center; text-align: left;
  border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; padding: 10px 2px; }
.food-list .fn { font-size: 14px; } .food-list .fm { display: block; font-size: 11px; color: var(--muted); }
.food-list .fk { font-family: var(--cond); font-style: italic; font-size: 19px; font-weight: 800; }
.food-list .fa { width: 30px; height: 30px; border-radius: 8px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-size: 20px; line-height: 1; font-weight: 700; }
.food-list button.added .fa { background: var(--bar); color: var(--acc-soft); }
.seg { display: grid; grid-template-columns: repeat(4, auto); gap: 6px; margin: 2px 0 12px; }
.seg button { border: 0; border-radius: 8px; background: var(--field); color: var(--ink); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 16px; text-transform: uppercase; padding: 8px 4px; }
.seg button.on { background: var(--bar); color: var(--acc-soft); }
details.manual { margin-top: 14px; }
details.manual summary { cursor: pointer; font-weight: 700; padding: 8px 0; list-style: none; }
details.manual summary::-webkit-details-marker { display: none; }
.scan-box { position: relative; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 4 / 3; }
.scan-box video { width: 100%; height: 100%; object-fit: cover; display: block; }
.scan-line { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: var(--acc); box-shadow: 0 0 12px var(--acc); }
.portion-line { font-size: 14px; margin-top: 2px; } .portion-line b { font-family: var(--cond); font-style: italic; font-size: 19px; }

/* ---------- Formulaires ---------- */
.grid2, .grid3 { display: grid; gap: 10px; }
.grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: 1fr 1fr 1fr; }
.span2 { grid-column: 1 / -1; }
form label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
form input:not(.search) { width: 100%; background: var(--field); border: 0; color: var(--strong); font: inherit; font-size: 17px; padding: 11px 12px; border-radius: 8px; outline: none; text-transform: none; font-weight: 500; }
form input:focus { box-shadow: inset 0 0 0 2px var(--bar); }
.stack { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Suivi ---------- */
.weight h1 { font-size: 46px; line-height: .95; }
.chart { width: 100%; height: 110px; display: block; margin-top: 6px; }
.chart .line { fill: none; stroke: var(--acc); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.chart circle { fill: var(--acc); }
.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.stat-tiles div { background: var(--card); border-radius: 12px; padding: 10px 12px; }
.stat-tiles span { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.stat-tiles b { display: block; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 26px; line-height: 1.05; }
.stat-tiles small { font-size: 11px; color: var(--muted); }
.charges { list-style: none; margin: 0; padding: 0; }
.charges li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.charges li:first-child { border-top: 0; }
.charges .nm { font-family: var(--cond); font-style: italic; font-weight: 700; font-size: 19px; text-transform: uppercase; }
.charges .vals { display: flex; gap: 8px; align-items: center; font-size: 13px; white-space: nowrap; }
.checks { list-style: none; padding: 0; margin: 10px 0 0; font-size: 13px; }
.checks li { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 7px 0; border-top: 1px solid var(--line); }

/* ---------- Paramètres ---------- */
.accents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.accent { border: 2px solid transparent; border-radius: 10px; background: var(--bar); color: #fff; padding: 10px 8px; display: flex; align-items: center; gap: 8px;
  font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 15px; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.accent i { width: 18px; height: 18px; border-radius: 4px; flex: none; }
.accent.on { border-color: var(--strong); box-shadow: 0 0 0 2px var(--acc); }
.back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--ink); font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 18px; text-transform: uppercase; padding: 2px 0 10px; }

/* ---------- Barre d'onglets ---------- */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 4px 6px calc(var(--safe-bottom) + 4px); background: var(--bar); }
.tabs button { appearance: none; border: 0; background: none; color: #c9cdd1; font-family: var(--cond); font-style: italic; font-weight: 700; font-size: 17px;
  text-transform: uppercase; min-height: 50px; padding: 0; }
.tabs button.active { color: var(--acc-soft); }

/* ---------- Feuille du bas ---------- */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 10; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 11; max-height: 88dvh; overflow-y: auto; background: #fff;
  border-top-left-radius: 18px; border-top-right-radius: 18px; padding: 8px 16px calc(var(--safe-bottom) + 20px);
  transform: translateY(100%); transition: transform .22s ease; }
.sheet.open { transform: none; }
.sheet h3 { margin: 6px 0 12px; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 28px; text-transform: uppercase; }
.grab { width: 40px; height: 5px; border-radius: 3px; background: var(--off); margin: 0 auto 8px; }
.quick { display: grid; gap: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .fig animate, .fig animateTransform { display: none; } }

/* Format téléphone partout : sur PC, l'appli reste une colonne de 430 px centrée */
@media (min-width: 480px) {
  body { max-width: 430px; margin: 0 auto; }
  .tabs, .sheet, .rest { left: 50%; right: auto; width: 430px; }
  .rest { width: 406px; }
  .tabs, .rest { transform: translateX(-50%); }
  .sheet { transform: translate(-50%, 100%); } .sheet.open { transform: translateX(-50%); }
  .sheet-backdrop { left: 50%; right: auto; width: 430px; transform: translateX(-50%); }
}

/* ---------- Première configuration ---------- */
body.onboarding .tabs, body.onboarding .btn-acc, body.onboarding .banner, body.onboarding .sync { display: none; }
.ob { padding-top: 6px; }
.ob-steps { display: flex; gap: 4px; margin-bottom: 18px; }
.ob-steps i { flex: 1; height: 5px; border-radius: 3px; background: var(--off); }
.ob-steps i.on { background: var(--acc); }
.ob h1 { font-size: 48px; line-height: .92; color: var(--strong); }
.ob h1 .acc { color: var(--bar); background: var(--acc); padding: 0 6px; }
.ob-lead { margin: 10px 0 16px; color: var(--muted); font-size: 14px; }
.ob-lead b { color: var(--strong); }
.ob form { margin-top: 14px; }
.ob-nav { display: flex; gap: 10px; margin-top: 10px; }
.ob-nav .btn.primary { flex: 1; }
.ob-label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.ob input:not([type=checkbox]):not([type=radio]), select { width: 100%; background: #fff; border: 0; color: var(--strong); font: inherit; font-size: 17px; padding: 11px 12px; border-radius: 8px; outline: none; }
select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2324292d' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; padding-right: 32px !important; }
.span3 { grid-column: 1 / -1; }
.choices { display: grid; gap: 8px; }
.choice input, .day input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; background: #fff; border-radius: 10px; padding: 14px; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 21px; text-transform: uppercase; border: 2px solid transparent; }
.choice input:checked + span { border-color: var(--bar); background: var(--acc); color: var(--acc-ink); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day span { display: block; text-align: center; background: #fff; border-radius: 8px; padding: 10px 0; font-weight: 700; font-size: 12px; text-transform: uppercase; }
.day input:checked + span { background: var(--bar); color: var(--acc-soft); }
.choice input:focus-visible + span, .day input:focus-visible + span { outline: 2px solid var(--strong); outline-offset: 2px; }
.offer { background: #fff; border-radius: 12px; padding: 14px; }
.offer.premium { background: var(--bar); color: #fff; }
.offer ul { margin: 10px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }
.offer .small { margin-top: 8px; color: #c9cdd1; }
.tuto { display: grid; gap: 8px; margin-top: 14px; }
.tuto div { background: #fff; border-radius: 10px; padding: 12px 14px; border-left: 5px solid var(--acc); }
.tuto b { font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; }
.tuto p { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Repos réglable */
.rest-pick { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); margin: 0 4px 2px; }
.rest-pick select { width: auto; font-size: 15px; padding: 6px 10px; background-color: var(--bg); }
.rest-pick.big { justify-content: space-between; margin: 0; }
.rest-pick.big select { font-size: 17px; }

/* Éditeur de séances */
.sess { border-top: 1px solid var(--line); padding: 12px 0; }
.sess:first-of-type { border-top: 0; padding-top: 0; }
.sess-name { width: 100%; border: 0; background: var(--field); border-radius: 8px; padding: 8px 10px; font-family: var(--cond); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--strong); }
.sess-list { list-style: none; margin: 0 0 8px; padding: 0; }
.sess-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 0; font-size: 14px; border-top: 1px solid var(--line); }
.sess-list li:first-child { border-top: 0; }
.sess-btns { display: flex; gap: 4px; }
.sess-btns button { width: 32px; height: 32px; border: 0; border-radius: 6px; background: var(--field); color: var(--ink); font-size: 16px; font-weight: 700; }
.sess-btns button:disabled { opacity: .3; }
.groups { grid-template-columns: repeat(4, 1fr); }
.ex-pick { list-style: none; padding: 0; margin: 8px 0 0; }
.ex-pick button { width: 100%; display: grid; grid-template-columns: 64px 1fr 30px; gap: 10px; align-items: center; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; padding: 8px 2px; }
.ex-pick b { display: block; font-size: 14px; } .ex-pick small { font-size: 11px; color: var(--muted); }
.ex-pick .mini { width: 64px; height: 52px; border-radius: 8px; background: var(--tile); overflow: hidden; }
.ex-pick .mini .fig { width: 100%; height: 100%; }
.ex-pick .fa { width: 30px; height: 30px; border-radius: 8px; background: var(--acc); color: var(--acc-ink); display: grid; place-items: center; font-weight: 700; }
.ex-pick button.added .fa { background: var(--bar); color: var(--acc-soft); }
