/* Séance V2 — accueil, création, planification, calendrier. */
.s2, .s2-sheet {
  --s2-ink: #07102a; --s2-muted: #4f5f7c; --s2-faint: #8b97ad; --s2-blue: #0866ff; --s2-link: #0757de;
  --s2-glass: #ffffffd1; --s2-glass-hi: #ffffffeb; --s2-edge: #ffffffc4; --s2-line: #07102a14; --s2-hair: #07102a0b;
  --s2-soft: #0866ff17; --s2-soft2: #0866ff2b; --s2-field: #edf1f7; --s2-page: #edf3fa;
  --s2-green: #0f7a4d; --s2-green-bg: #0f7a4d1a; --s2-gold: #9a6d12; --s2-gold-bg: #c4932f24; --s2-orange: #b4520f; --s2-orange-bg: #e8955829;
  --s2-violet: #6d4fd6; --s2-violet-bg: #8370c91f; --s2-danger: #b3362e;
  --s2-shadow: 0 26px 60px -34px #14386e57, 0 2px 6px -2px #14386e0f; --s2-ease: cubic-bezier(.22,1,.36,1);
  font-family: TodayJakarta, 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--s2-ink);
}
html[data-today-theme="dark"] :is(.s2, .s2-sheet) {
  --s2-ink: #eef4ff; --s2-muted: #a9bdd8; --s2-faint: #7d90ad; --s2-blue: #3d8bff; --s2-link: #6aa6ff;
  --s2-glass: #12304acc; --s2-glass-hi: #16344cf0; --s2-edge: #ffffff17; --s2-line: #ffffff17; --s2-hair: #ffffff0d;
  --s2-soft: #3d8bff24; --s2-soft2: #3d8bff3d; --s2-field: #ffffff12; --s2-page: #0b2436;
  --s2-green: #5fd3a3; --s2-green-bg: #5fd3a31f; --s2-gold: #e0b45a; --s2-gold-bg: #e0b45a24; --s2-orange: #f3a56b; --s2-orange-bg: #f3a56b24;
  --s2-violet: #b4a3f0; --s2-violet-bg: #b4a3f024; --s2-danger: #ff8f86; --s2-shadow: 0 26px 60px -30px #0009;
}
:where(.s2, .s2-sheet) button { font: inherit; color: inherit; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; flex: none; gap: 0; box-shadow: none; cursor: pointer; }
:where(.s2, .s2-sheet) button:hover { background: none; }
:where(.s2, .s2-sheet) button:disabled { opacity: .5; cursor: default; }
:where(.s2, .s2-sheet) a { color: inherit; text-decoration: none; }
:where(.s2, .s2-sheet) :is(h1, h2, h3, p) { margin: 0; }
:where(.s2, .s2-sheet) p { color: inherit; line-height: inherit; }
:where(.s2, .s2-sheet) label { margin: 0; font-size: inherit; font-weight: inherit; color: inherit; display: block; }
.s2 .wellness-icon, .s2-sheet .wellness-icon { width: 20px; height: 20px; }
.s2 :focus-visible, .s2-sheet :focus-visible { outline: 3px solid #75a7ff; outline-offset: 2px; }
body[data-session-v2] main { max-width: 1280px; }
.s2-root { padding-bottom: 20px; }
.s2-loading { padding: 40px 0; color: var(--s2-muted, #596473); }

/* Boutons */
.s2-btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px !important; min-height: 48px !important; padding: 0 18px !important; border-radius: 999px !important; background: var(--s2-glass-hi) !important; border: 1px solid var(--s2-edge) !important; color: var(--s2-ink) !important; font-size: 14px; font-weight: 650; white-space: nowrap; box-shadow: 0 8px 20px -14px #14386e73 !important; transition: transform .3s var(--s2-ease); }
.s2-btn:active { transform: scale(.97); }
.s2-btn .wellness-icon { width: 18px; height: 18px; color: var(--s2-link); }
.s2-btn.is-primary { background: var(--s2-blue) !important; color: #fff !important; border-color: transparent !important; box-shadow: 0 14px 30px -14px #0866ffa6 !important; }
.s2-btn.is-primary .wellness-icon { color: #fff; }
.s2-btn.is-soft { background: var(--s2-soft) !important; border-color: transparent !important; color: var(--s2-link) !important; box-shadow: none !important; }
.s2-btn.is-quiet { background: transparent !important; border-color: transparent !important; box-shadow: none !important; color: var(--s2-muted) !important; }
.s2-btn.is-danger { background: #b3362e1a !important; color: var(--s2-danger) !important; border-color: transparent !important; box-shadow: none !important; }
.s2-btn.is-danger-text, .s2-btn.is-danger-text .wellness-icon { color: var(--s2-danger) !important; }
.s2-btn.is-small { min-height: 40px !important; padding: 0 12px !important; font-size: 13px; }
.s2-icon { display: inline-grid !important; place-items: center; width: 44px; height: 44px; border-radius: 50% !important; background: var(--s2-hair) !important; color: var(--s2-ink) !important; flex-shrink: 0 !important; }
.s2-icon.is-plain { background: transparent !important; }
.s2-icon.is-glass { background: var(--s2-glass-hi) !important; box-shadow: 0 6px 18px -12px #14386e80; }
.s2-icon.is-soft { background: var(--s2-soft) !important; color: var(--s2-link) !important; }
.s2-icon.is-primary { background: var(--s2-blue) !important; color: #fff !important; }
.s2-icon.is-big { width: 52px; height: 52px; }
.s2-icon.is-disabled { opacity: .35; pointer-events: none; }
.s2-cta { display: flex !important; align-items: center; gap: 14px !important; min-height: 58px !important; padding: 6px 6px 6px 8px !important; border-radius: 999px !important; background: var(--s2-blue) !important; color: #fff !important; font-size: 15px; font-weight: 700; box-shadow: 0 14px 30px -12px #0866ffa6 !important; transition: transform .3s var(--s2-ease); }
.s2-cta:active { transform: scale(.98); }
.s2-cta-lead, .s2-cta-tail { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #ffffff2e; flex-shrink: 0; }
.s2-cta-tail { margin-left: auto; background: #fff; color: #0866ff; }
.s2-cta .wellness-icon { width: 18px; height: 18px; }
.s2-cta.is-plain { justify-content: center; padding: 0 24px !important; min-height: 52px !important; }
.s2-play { display: grid !important; place-items: center; width: 44px; height: 44px; border-radius: 50% !important; background: var(--s2-blue) !important; color: #fff !important; box-shadow: 0 10px 20px -10px #0866ffcc; flex-shrink: 0; }
.s2-play .wellness-icon { width: 16px; height: 16px; }
.s2-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--s2-link); font-size: 13.5px; font-weight: 650; }
.s2-more .wellness-icon { width: 16px; height: 16px; }
.s2-more.is-back { min-height: 32px; }

/* Typo */
.s2-eyebrow { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--s2-glass); border: 1px solid var(--s2-edge); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--s2-muted); }
.s2-h1 { margin-top: 12px !important; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; letter-spacing: -2px; font-weight: 300; text-wrap: balance; }
.s2-h1 strong { font-weight: 800; }
.s2-big { font-size: clamp(32px, 4vw, 46px); line-height: 1.02; font-weight: 800; letter-spacing: -1.6px; }
.s2-t2 { font-size: 24px; font-weight: 800; letter-spacing: -.6px; }
.s2-t3 { font-size: 17px; font-weight: 750; letter-spacing: -.25px; }
.s2-desc { font-size: 14.5px; line-height: 1.55; color: var(--s2-muted); }
.s2-small { font-size: 13px; color: var(--s2-muted); line-height: 1.45; }
.s2-tiny { font-size: 12px; color: var(--s2-muted); line-height: 1.45; }
.s2-k { font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--s2-muted); }
.s2-k.is-blue { color: var(--s2-link); }
.s2-empty { padding: 18px 8px; text-align: center; color: var(--s2-muted); font-size: 14px; }

/* Mise en page */
.s2-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 6px 24px; width: 100%; max-width: none; margin: 0; }
.s2-head-acts { display: flex; gap: 10px; flex-wrap: wrap; }
.s2-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.s2-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.s2-stack { display: flex; flex-direction: column; gap: 18px; }
.s2-card { min-width: 0; padding: 22px 24px; border-radius: 30px; background: var(--s2-glass); border: 1px solid var(--s2-edge); box-shadow: inset 0 1px 0 #ffffff8c, var(--s2-shadow); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%); }
.s2-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-bottom: 12px; flex-wrap: wrap; }
.s2-card-head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; letter-spacing: -.35px; }
.s2-card-head h2 .wellness-icon { width: 22px; height: 22px; color: var(--s2-link); }
.s2-card-tools { display: flex; align-items: center; gap: 8px; }
.s2-week-card, .s2-plan-card { grid-column: 1 / -1; }
.s2-mtop { display: none; }
.s2-spacer { width: 44px; }
.s2-row-between { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

/* Puces */
.s2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.s2-chip { display: inline-flex !important; align-items: center; gap: 6px !important; min-height: 32px !important; padding: 0 12px !important; border-radius: 999px !important; background: var(--s2-hair) !important; color: var(--s2-muted) !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.s2-chip .wellness-icon { width: 15px; height: 15px; }
.s2-chip.is-blue { background: var(--s2-soft) !important; color: var(--s2-link) !important; }
.s2-chip.is-small { min-height: 24px !important; padding: 0 9px !important; font-size: 11.5px; }
.s2-chip.is-btn { min-height: 36px !important; cursor: pointer; }
.s2-chip.is-drop { background: var(--s2-orange-bg) !important; color: var(--s2-orange) !important; }
.s2-chip.is-warm { background: var(--s2-gold-bg) !important; color: var(--s2-gold) !important; }
.s2-chip.is-outline { background: transparent !important; box-shadow: inset 0 0 0 1px var(--s2-line) !important; min-height: 32px !important; }
.s2-minis { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.s2-minis i { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 7px; background: var(--s2-soft); color: var(--s2-link); font-style: normal; font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.s2-minis i.is-warm { background: var(--s2-gold-bg); color: var(--s2-gold); }
.s2-minis i.is-drop { background: var(--s2-orange-bg); color: var(--s2-orange); }
.s2-minis i.is-rp { background: var(--s2-green-bg); color: var(--s2-green); }
.s2-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--s2-soft); color: var(--s2-link); font-size: 12px; font-weight: 750; flex-shrink: 0; }

/* Lignes d’option */
.s2-rows { display: grid; gap: 8px; }
.s2-rows.is-scroll { max-height: 50dvh; overflow: auto; }
.s2-option { display: flex !important; align-items: center; gap: 14px !important; width: 100%; min-height: 64px !important; padding: 10px 12px 10px 10px !important; border-radius: 20px !important; background: var(--s2-hair) !important; text-align: left; transition: background .3s, transform .3s var(--s2-ease); }
.s2-option:hover { background: var(--s2-glass-hi) !important; }
.s2-option > .wellness-icon:last-child { width: 16px; height: 16px; color: var(--s2-muted); }
.s2-tile { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--s2-glass-hi); color: var(--s2-link); flex-shrink: 0; }
.s2-tile .wellness-icon { width: 22px; height: 22px; }
.s2-grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.s2-grow > strong { font-size: 15px; font-weight: 700; }
.s2-grow > span { font-size: 13px; color: var(--s2-muted); margin-top: 1px; }
.s2-option.is-hl { background: linear-gradient(135deg, #0866ff, #4f95ff) !important; color: #fff !important; box-shadow: 0 18px 34px -16px #0866ffb3; }
.s2-option.is-hl .s2-grow > span, .s2-option.is-hl > .wellness-icon:last-child { color: #ffffffd9; }
.s2-option.is-hl .s2-tile { background: #ffffff33; color: #fff; }
.s2-option.is-danger, .s2-option.is-danger .s2-tile { color: var(--s2-danger); }

/* Accueil */
.s2-hero { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 16px; padding: 26px 28px; }
.s2-hero.is-empty { grid-template-columns: 1fr; }
.s2-hero-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.s2-today { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--s2-link); }
.s2-today i { width: 8px; height: 8px; border-radius: 50%; background: var(--s2-blue); box-shadow: 0 0 0 4px var(--s2-soft); }
.s2-exlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; padding: 12px 14px; border-radius: 22px; background: var(--s2-hair); }
.s2-ex { display: flex; align-items: center; gap: 10px; min-height: 38px; min-width: 0; font-size: 14px; font-weight: 650; }
.s2-ex .s2-n { width: 24px; height: 24px; font-size: 11px; }
.s2-ex-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s2-ex em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--s2-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.s2-hero-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.s2-hero-acts .s2-cta { min-width: 270px; }
.s2-hero-side { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.s2-pico { display: grid; place-items: center; height: 180px; border-radius: 26px; background: radial-gradient(circle at 50% 42%, var(--s2-soft2), transparent 70%); }
.s2-pico img { width: 140px; height: auto; filter: drop-shadow(0 18px 24px #08286e40); animation: s2-float 5s ease-in-out infinite; }
.s2-why { padding: 14px 16px; border-radius: 20px; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); font-size: 13.5px; line-height: 1.5; }
.s2-why b { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--s2-link); margin-bottom: 3px; }

/* Semaine */
.s2-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.s2-day { display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 12px; border-radius: 22px; background: var(--s2-hair); border: 1px solid transparent; transition: background .2s, border-color .2s; }
.s2-day.is-today { background: var(--s2-glass-hi); border-color: var(--s2-blue); box-shadow: 0 14px 30px -18px #0866ff8c; }
.s2-day.is-past { opacity: .85; }
.s2-dh { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; font-weight: 650; color: var(--s2-muted); }
.s2-dh b { font-size: 13px; font-weight: 800; color: var(--s2-ink); }
.is-today .s2-dh b { color: var(--s2-link); }
.s2-pill { position: relative; display: flex !important; flex-direction: column; align-items: flex-start; gap: 2px !important; width: 100%; padding: 10px 11px !important; border-radius: 16px !important; background: var(--s2-glass-hi) !important; border: 1px solid var(--s2-edge) !important; font-size: 13px; font-weight: 750; text-align: left; box-shadow: 0 8px 18px -14px #14386e80; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
.s2-pill-name { display: flex; align-items: center; justify-content: space-between; gap: 6px; width: 100%; overflow: hidden; text-overflow: ellipsis; }
.s2-pill small { font-size: 11.5px; font-weight: 600; color: var(--s2-muted); }
.s2-pill.is-done { background: var(--s2-blue) !important; color: #fff; border-color: transparent !important; }
.s2-pill.is-done small { color: #ffffffcc; }
.s2-pill.is-done .wellness-icon { position: absolute; right: 10px; top: 10px; width: 15px; height: 15px; }
.s2-pill.is-plan { box-shadow: inset 0 0 0 1.5px var(--s2-blue), 0 8px 18px -14px #14386e80; cursor: grab; }
.s2-pill.is-skipped { background: var(--s2-gold-bg) !important; color: var(--s2-gold); border-color: transparent !important; text-decoration: line-through; }
.s2-pill-x { position: absolute !important; right: 4px; top: 4px; display: grid !important; place-items: center; width: 28px; height: 28px; border-radius: 50% !important; color: var(--s2-muted) !important; }
.s2-pill-x .wellness-icon { width: 14px; height: 14px; }
.s2-rest { font-size: 12.5px; font-weight: 650; color: var(--s2-muted); padding: 2px; }
.s2-drop { display: grid !important; place-items: center; flex: 1; min-height: 48px; border-radius: 16px !important; border: 1.5px dashed var(--s2-soft2) !important; color: var(--s2-link) !important; font-size: 12.5px; font-weight: 700; }
.s2-drop .wellness-icon { width: 18px; height: 18px; }
.s2-week-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.s2-week-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s2-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--s2-muted); }
.s2-hint .wellness-icon { width: 16px; height: 16px; color: var(--s2-link); }
.s2-mweek { display: none; }
.dk-over { background: var(--s2-soft) !important; border-color: var(--s2-blue) !important; }
.dk-source { opacity: .35; }
.dk-lifted { transform: rotate(-1.5deg) scale(1.04); box-shadow: 0 26px 40px -18px #08286e8c, 0 0 0 1.5px #0866ff !important; transition: transform .18s; pointer-events: none; }
.dk-placeholder { border: 1.5px dashed #0866ff4d; border-radius: 22px; background: #0866ff12; }
body.dk-dragging, body.dk-dragging * { cursor: grabbing !important; user-select: none !important; -webkit-user-select: none !important; }
body.dk-dragging .s2-linker { visibility: hidden; }

/* Mes séances */
.s2-tpls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.s2-tpl { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 24px; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); box-shadow: 0 14px 30px -24px #14386e80; cursor: pointer; transition: transform .3s var(--s2-ease); }
.s2-tpl:hover { transform: translateY(-2px); }
.s2-tpl-top { display: flex; align-items: flex-start; gap: 12px; }
.s2-tpl h3 { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.s2-tpl-bot { display: flex; align-items: center; gap: 8px; }
.s2-tpl-bot .s2-tiny { flex: 1; }
.s2-cov { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(140deg, var(--s2-soft2), var(--s2-soft)); color: var(--s2-link); flex-shrink: 0; }
.s2-cov .wellness-icon { width: 24px; height: 24px; }
.s2-cov.is-green { background: var(--s2-green-bg); color: var(--s2-green); }
.s2-cov.is-violet { background: var(--s2-violet-bg); color: var(--s2-violet); }
.s2-cov.is-orange { background: var(--s2-orange-bg); color: var(--s2-orange); }
.s2-new { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px !important; min-height: 148px; border-radius: 24px !important; border: 1.5px dashed var(--s2-soft2) !important; color: var(--s2-link) !important; font-weight: 750; font-size: 14px; text-align: center; grid-column: 1 / -1; }
.s2-new small { font-weight: 550; color: var(--s2-muted); font-size: 12.5px; }
.s2-new-plus { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--s2-soft); }
.s2-input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 16px; border: 1px solid var(--s2-line); background: var(--s2-glass-hi); color: var(--s2-ink); font: 500 16px/1.4 TodayJakarta, 'Plus Jakarta Sans', sans-serif; }
textarea.s2-input { padding: 12px 14px; resize: vertical; }
.s2-input.is-search { max-width: 240px; min-height: 44px; }
.s2-field { display: flex; flex-direction: column; gap: 8px; }
.s2-label { font-size: 12.5px; font-weight: 650; color: var(--s2-muted); }

/* Feuilles */
.s2-sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: 560px; max-height: min(92dvh, 900px); margin: auto auto 0; padding: 0; border: 0; border-radius: 30px 30px 0 0; background: var(--s2-page); color: var(--s2-ink); box-shadow: 0 -20px 60px -20px #04101e66; overflow: auto; overscroll-behavior: contain; animation: s2-up .32s var(--s2-ease) both; }
.s2-sheet::backdrop { background: #04101e59; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.s2-sheet.is-tall { height: min(92dvh, 900px); }
.s2-sheet-inner { display: flex; flex-direction: column; min-height: 100%; padding: 8px 18px calc(18px + env(safe-area-inset-bottom)); }
.s2-grab { display: block; width: 40px; height: 5px; margin: 2px auto 8px; border-radius: 3px; background: var(--s2-line); }
.s2-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; max-width: none; margin: 0; padding: 0; }
.s2-sheet-head h2 { font-size: 21px; font-weight: 800; letter-spacing: -.5px; }
.s2-sheet-sub { margin: 2px 0 14px !important; font-size: 14px; color: var(--s2-muted); line-height: 1.45; }
.s2-sheet-body { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; flex: 1; }
.s2-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.s2-actions .s2-btn.is-primary { flex: 1; }
.s2-mini { display: grid; grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); gap: 6px; }
.s2-mini button { display: flex !important; flex-direction: column; align-items: center; gap: 6px !important; min-height: 72px; padding: 10px 4px !important; border-radius: 18px !important; background: var(--s2-hair) !important; font-size: 12.5px; font-weight: 700; }
.s2-mini .wellness-icon { color: var(--s2-link); }
.s2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.s2-stat { padding: 12px 14px; border-radius: 18px; background: var(--s2-hair); }
.s2-stat span { font-size: 12px; font-weight: 600; color: var(--s2-muted); }
.s2-stat b { display: block; margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.s2-stat small { font-size: 13px; color: var(--s2-muted); font-weight: 600; letter-spacing: 0; }
.s2-list { list-style: none; margin: 0; padding: 6px; border-radius: 22px; background: var(--s2-hair); }
.s2-list li { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; }
.s2-list li + li { box-shadow: 0 -1px 0 var(--s2-line); }
.s2-list li .s2-grow strong { font-size: 14px; font-weight: 700; }
.s2-list li em { font-style: normal; font-size: 12.5px; color: var(--s2-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.s2-history summary { min-height: 44px; padding: 12px 4px; color: var(--s2-link); font-weight: 650; cursor: pointer; }
.s2-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 4px; border-top: 1px solid var(--s2-line); font-size: 14px; }
.s2-row small { color: var(--s2-muted); }
.s2-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: var(--s2-hair); }
.s2-seg > * { display: inline-flex !important; align-items: center; min-height: 40px; padding: 0 16px !important; border-radius: 999px !important; color: var(--s2-muted) !important; font-size: 13px; font-weight: 650; }
.s2-seg > .is-on { background: var(--s2-glass-hi) !important; color: var(--s2-ink) !important; box-shadow: 0 4px 12px -6px #14386e66; }
.s2-seg.is-full { display: flex; }
.s2-seg.is-full > * { flex: 1; justify-content: center; }
.s2-seg.is-wrap { display: flex; border-radius: 20px; }
.s2-seg.is-wrap > * { flex: 1 1 auto; justify-content: center; }
.s2-stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px; border-radius: 22px; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); }
.s2-step-val { flex: 1; text-align: center; font-size: 32px; font-weight: 800; letter-spacing: -1px; font-variant-numeric: tabular-nums; line-height: 1; }
.s2-step-val small { display: block; margin-top: 4px; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--s2-muted); }
.s2-toggle { position: relative; display: flex !important; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border-radius: 20px; background: var(--s2-hair); cursor: pointer; }
.s2-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.s2-toggle .s2-grow strong { font-size: 14px; }
.s2-toggle .s2-grow span { font-size: 12px; }
.s2-switch { position: relative; flex-shrink: 0; width: 52px; height: 32px; border-radius: 999px; background: var(--s2-line); transition: background .25s; }
.s2-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px #07102a40; transition: transform .3s var(--s2-ease); }
.s2-toggle input:checked + .s2-switch { background: var(--s2-green); }
.s2-toggle input:checked + .s2-switch::after { transform: translateX(20px); }
.s2-toggle input:focus-visible + .s2-switch { outline: 3px solid #75a7ff; outline-offset: 2px; }
.s2-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.s2-type { display: flex !important; flex-direction: column; align-items: flex-start; gap: 6px !important; padding: 12px !important; border-radius: 20px !important; background: var(--s2-glass-hi) !important; border: 1px solid var(--s2-edge) !important; font-size: 12px; color: var(--s2-muted) !important; line-height: 1.35; text-align: left; }
.s2-type-top { display: flex; align-items: center; gap: 8px; }
.s2-type strong { font-size: 14px; color: var(--s2-ink); font-weight: 800; }
.s2-type.is-on { box-shadow: 0 0 0 2px var(--s2-blue); }
.s2-drop-opts { display: flex; flex-direction: column; gap: 8px; }
.s2-drop-opts[hidden] { display: none; }

/* Pastilles de série */
.is-warm { --s2-tone: var(--s2-gold); --s2-tone-bg: var(--s2-gold-bg); }
.is-work { --s2-tone: var(--s2-link); --s2-tone-bg: var(--s2-soft); }
.is-drop { --s2-tone: var(--s2-orange); --s2-tone-bg: var(--s2-orange-bg); }
.is-rp { --s2-tone: var(--s2-green); --s2-tone-bg: var(--s2-green-bg); }
.is-ss { --s2-tone: #fff; --s2-tone-bg: var(--s2-violet); }
.s2-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 650; color: var(--s2-muted); }
.s2-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.s2-legend b, .s2-type b { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 8px; background: var(--s2-tone-bg); color: var(--s2-tone); font-size: 11.5px; font-weight: 800; }

/* Créateur */
html[data-today-theme="dark"] body:is([data-session-v2="session-edit"], [data-session-v2="session-done"]) {
  --page: #051b28; --ink: #eef4ff; --muted: #a9bdd8; color-scheme: dark; background: var(--page);
  --nav-glass: #091e2e80; --nav-glass-hi: #16344cbf; --nav-edge: #ffffff17; --nav-hair: #ffffff12;
  --nav-link: #6aa6ff; --nav-shadow: 0 30px 80px -30px #0009; --nav-inset: inset 0 1px 0 #ffffff0f;
}
html[data-today-theme="dark"] body:is([data-session-v2="session-edit"], [data-session-v2="session-done"]) #notice { background: #16344c; color: #eef4ff; }
.s2-editor, .s2-sheet.is-catalogue {
  --s2-glass: var(--nav-glass); --s2-glass-hi: var(--nav-glass-hi); --s2-edge: var(--nav-edge);
  --s2-core: #ffffffa8; --s2-shadow: var(--nav-shadow);
}
html[data-today-theme="dark"] :is(.s2-editor, .s2-sheet.is-catalogue) {
  --s2-glass: #091e2e80; --s2-glass-hi: #16344cbf; --s2-edge: #ffffff17; --s2-core: #081c2b9e;
  --s2-shadow: 0 30px 80px -30px #0009;
}
.s2-editor .s2-card {
  border: 6px solid var(--s2-glass); background: var(--s2-core) padding-box;
  box-shadow: 0 0 0 1px var(--s2-edge), var(--s2-shadow);
  backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%);
}
.s2-editor .s2-head { padding-top: 12px; padding-bottom: 18px; }
.s2-editor .s2-h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -1.3px; }
.s2-edit-grid { display: grid; grid-template-columns: minmax(320px, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
/* Le catalogue tient dans la fenêtre : il reste visible à côté de la séance et seule la liste défile. */
.s2-catalogue { display: flex; flex-direction: column; gap: 12px; }
.s2-edit-grid > .s2-catalogue { position: sticky; top: 20px; max-height: max(180px, calc(100dvh - var(--s2-editor-top, 280px) - 20px)); padding: 16px 18px; gap: 8px; overflow: auto; }
.s2-edit-grid > .s2-catalogue > * { flex-shrink: 0; }
.s2-catalogue .s2-cat-list { max-height: 720px; overflow: auto; margin: 0 -6px; padding: 0 6px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--s2-line) transparent; }
.s2-edit-grid > .s2-catalogue > .s2-cat-list { flex: 1 1 auto; min-height: 62px; max-height: 360px; }
.s2-catalogue .s2-card-head { min-height: 32px; margin-bottom: 0; }
.s2-catalogue > .s2-k { margin: 0; }
.s2-edit-grid > .s2-catalogue .s2-custom summary .s2-grow > span { display: none; }
.s2-catalogue .s2-seg { display: flex; border-radius: 20px; }
.s2-catalogue .s2-seg > * { padding: 0 12px !important; min-height: 36px; }
.s2-catalogue .s2-input.is-search { max-width: none; }
.s2-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.s2-fchip { min-height: 40px; padding: 0 14px !important; border-radius: 999px !important; background: var(--s2-hair) !important; color: var(--s2-muted) !important; font-size: 13px; font-weight: 700; }
.s2-fchip.is-on { background: var(--s2-ink) !important; color: var(--s2-page) !important; }
.s2-cat-list { display: flex; flex-direction: column; }
/* Dans le panneau mobile, seul le panneau défile : pas de seconde barre de défilement autour de la liste. */
.s2-sheet .s2-catalogue .s2-cat-list { max-height: none; overflow: visible; }
.s2-sheet.is-catalogue { overflow: hidden; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); backdrop-filter: blur(26px) saturate(170%); -webkit-backdrop-filter: blur(26px) saturate(170%); }
.s2-sheet.is-catalogue .s2-sheet-inner { height: 100%; min-height: 0; }
.s2-sheet.is-catalogue .s2-sheet-head, .s2-sheet.is-catalogue .s2-grab { flex-shrink: 0; }
.s2-sheet.is-catalogue .s2-sheet-body { min-height: 0; overflow: auto; overscroll-behavior: contain; }
.s2-sheet.is-catalogue .s2-catalogue { padding: 4px 0 12px; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.s2-sheet.is-catalogue .s2-cta { flex-shrink: 0; margin-top: 12px; }
.s2-cat-list > .s2-cat-more { align-self: center; margin: 10px 0 6px; min-height: 44px !important; font-size: 13.5px; }
.s2-cat { display: flex !important; align-items: center; gap: 12px !important; width: 100%; min-height: 62px; padding: 8px 10px 8px 8px !important; border-radius: 18px !important; text-align: left; }
.s2-desk-only .s2-cat { cursor: grab; user-select: none; -webkit-user-select: none; }
.s2-cat-list > button { scroll-margin: 0; }
.s2-cat.dk-lifted { background: var(--s2-glass-hi) !important; border: 1px solid var(--s2-edge); }
.s2-editor .s2-plan.dk-over { outline: 2px dashed var(--s2-blue); outline-offset: -8px; }
.s2-cat + .s2-cat { box-shadow: 0 -1px 0 var(--s2-line); }
.s2-cat.is-on { background: var(--s2-soft) !important; }
.s2-th { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--s2-hair); color: var(--s2-muted); flex-shrink: 0; }
.s2-cat .s2-grow strong { font-size: 14px; }
.s2-cat .s2-grow span { font-size: 12px; }
.s2-add, .s2-check { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--s2-soft); color: var(--s2-link); flex-shrink: 0; }
.s2-add .wellness-icon, .s2-check .wellness-icon { width: 18px; height: 18px; }
.is-on > .s2-add { background: var(--s2-blue); color: #fff; }
.s2-check { width: 28px; height: 28px; background: transparent; box-shadow: inset 0 0 0 2px var(--s2-line); color: transparent; }
.is-on > .s2-check { background: var(--s2-blue); box-shadow: none; color: #fff; }
.s2-check .wellness-icon { width: 15px; height: 15px; }
/* Exercice personnel : tuile vitrée comme les autres options, formulaire libellé à l’ouverture. */
.s2-custom { border-radius: 20px; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); box-shadow: inset 0 1px 0 #ffffff8c, 0 10px 24px -20px #14386e66; }
.s2-custom summary { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 8px 12px 8px 8px; list-style: none; cursor: pointer; border-radius: 20px; }
.s2-custom summary::-webkit-details-marker { display: none; }
.s2-custom summary .s2-th { background: var(--s2-soft); color: var(--s2-link); }
.s2-custom summary .s2-grow strong { font-size: 14px; }
.s2-custom summary .s2-grow span { font-size: 12px; }
.s2-custom-chev { display: grid; place-items: center; width: 32px; height: 32px; color: var(--s2-muted); transition: transform .25s var(--s2-ease); }
.s2-custom-chev .wellness-icon { width: 16px; height: 16px; }
.s2-custom[open] .s2-custom-chev { transform: rotate(180deg); }
.s2-custom-body { display: grid; gap: 12px; padding: 4px 14px 14px; }
.s2-custom-body .s2-btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { .s2-custom-chev { transition: none; } }
.s2-plan { display: flex; flex-direction: column; gap: 14px; }
.s2-plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.s2-name-input { flex: 1; min-width: 200px; min-height: 48px; padding: 0 8px; margin-left: -8px; border: 0; border-radius: 14px; background: transparent; color: var(--s2-ink); font: 800 28px/1.1 TodayJakarta, 'Plus Jakarta Sans', sans-serif; letter-spacing: -1px; }
.s2-name-input:hover, .s2-name-input:focus { background: var(--s2-hair); }
.s2-balance { display: grid; gap: 8px; padding: 12px 14px; border-radius: 20px; background: var(--s2-hair); }
.s2-bal-row { display: grid; grid-template-columns: 90px 1fr 64px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 650; }
.s2-bal-row > span:last-child { text-align: right; color: var(--s2-muted); }
.s2-bar { height: 8px; border-radius: 999px; background: var(--s2-line); overflow: hidden; }
.s2-bar span { display: block; height: 100%; border-radius: inherit; background: var(--s2-blue); }
.s2-blocks { display: flex; flex-direction: column; gap: 10px; }
.s2-empty-plan { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 12px; border-radius: 22px; border: 1.5px dashed var(--s2-soft2); text-align: center; color: var(--s2-muted); font-size: 13.5px; }
.s2-empty-plan strong { color: var(--s2-ink); font-size: 15px; }
.s2-blk { display: flex; flex-direction: column; gap: 10px; padding: 10px 12px 12px 6px; border-radius: 22px; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); box-shadow: 0 12px 26px -22px #14386e73; -webkit-touch-callout: none; }
.s2-blk.is-open { box-shadow: 0 0 0 1.5px var(--s2-blue), 0 14px 30px -22px #14386e80; }
.s2-blk.in-group { margin-top: -6px; border-radius: 6px 6px 6px 6px; background: var(--s2-violet-bg); border-color: transparent; box-shadow: inset 3px 0 0 var(--s2-violet); padding-left: 10px; }
.s2-blk.in-group.is-first { margin-top: 0; border-radius: 22px 22px 6px 6px; }
.s2-blk.in-group.is-last { border-radius: 6px 6px 22px 22px; }
.s2-blk.in-group.is-open { box-shadow: inset 3px 0 0 var(--s2-violet), 0 0 0 1.5px var(--s2-blue); }
.s2-gh { display: flex; align-items: center; gap: 10px; padding: 2px 0 2px 2px; flex-wrap: wrap; }
.s2-gh .s2-grow strong { color: var(--s2-violet); font-size: 14.5px; }
.s2-gh .s2-grow span { font-size: 12px; }
.s2-gh .s2-btn { color: var(--s2-violet) !important; }
.s2-gh .s2-btn .wellness-icon { color: var(--s2-violet); }
.s2-ss-big { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--s2-violet); color: #fff; font-weight: 800; font-size: 14px; }
.s2-ss { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 6px; border-radius: 6px; background: var(--s2-violet-bg); color: var(--s2-violet); font-size: 11px; font-weight: 800; vertical-align: 2px; }
.s2-blk-h { display: flex; align-items: center; gap: 6px; }
.s2-grip { display: grid !important; place-items: center; width: 32px; height: 44px; color: var(--s2-faint) !important; cursor: grab; touch-action: none; flex-shrink: 0; border-radius: 12px !important; }
.s2-grip:hover { background: var(--s2-hair) !important; color: var(--s2-ink) !important; }
.s2-blk-toggle { flex: 1; min-width: 0; display: flex !important; text-align: left; padding: 4px 0 !important; }
.s2-blk-toggle .s2-grow > strong { font-size: 15px; }
.s2-blk-toggle .s2-grow > span { font-size: 12.5px; }
.s2-sets { display: flex; flex-direction: column; gap: 6px; padding-left: 38px; }
.s2-set { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) 36px; align-items: center; gap: 8px; }
.s2-set.is-head { font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--s2-muted); }
.s2-badge { display: grid !important; place-items: center; height: 40px; border-radius: 12px !important; background: var(--s2-tone-bg, var(--s2-soft)) !important; color: var(--s2-tone, var(--s2-link)) !important; font-weight: 800 !important; font-size: 14px; }
.s2-cell { width: 100%; min-height: 44px; padding: 0 8px; border: 0; border-radius: 14px; background: var(--s2-hair); color: var(--s2-ink); font: 800 17px/1 TodayJakarta, 'Plus Jakarta Sans', sans-serif; text-align: center; font-variant-numeric: tabular-nums; display: grid !important; place-items: center; }
.s2-cell::placeholder { color: var(--s2-faint); font-weight: 600; font-size: 14px; }
.s2-cell:focus { outline: 2px solid var(--s2-blue); background: var(--s2-glass-hi); }
.s2-cell.is-ph { color: var(--s2-muted); font-weight: 600; font-size: 12.5px; background: transparent; }
.s2-set.is-warm .s2-cell { background: transparent; box-shadow: inset 0 0 0 1.5px var(--s2-line); color: var(--s2-muted); }
.s2-set.is-drop .s2-badge { margin-left: 16px; width: 32px; height: 34px; font-size: 12.5px; }
.s2-set.is-drop .s2-cell { background: var(--s2-orange-bg) !important; color: var(--s2-orange) !important; }
.s2-cell.is-drop { font-size: 14px !important; }
.s2-set.is-drop::before { content: ''; position: absolute; left: 4px; top: -28px; width: 12px; height: 46px; border-left: 2px solid var(--s2-orange); border-bottom: 2px solid var(--s2-orange); border-bottom-left-radius: 10px; opacity: .75; pointer-events: none; }
.s2-set.is-drop::after { content: 'enchaînée'; position: absolute; left: 58px; top: -9px; padding: 0 6px; border-radius: 6px; background: var(--s2-glass-hi); font-size: 9.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--s2-orange); pointer-events: none; }
.s2-x { display: grid !important; place-items: center; width: 36px; height: 36px; border-radius: 50% !important; color: var(--s2-muted) !important; }
.s2-x .wellness-icon { width: 16px; height: 16px; }
.s2-set-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-left: 38px; }
.s2-set-acts .wellness-icon { width: 14px; height: 14px; }
.s2-sep { width: 1px; height: 22px; background: var(--s2-line); margin: 0 4px; }
.s2-linker { display: flex; align-items: center; gap: 8px; margin: -2px 0; }
.s2-linker i { flex: 1; height: 0; border-top: 1.5px dashed var(--s2-line); }
.s2-linker button { display: inline-flex !important; align-items: center; gap: 6px !important; min-height: 34px; padding: 0 12px !important; border-radius: 999px !important; background: var(--s2-glass-hi) !important; box-shadow: inset 0 0 0 1px #8370c959 !important; color: var(--s2-violet) !important; font-size: 12.5px; font-weight: 750; }
.s2-linker .wellness-icon { width: 15px; height: 15px; }
.s2-dock { display: none; }

/* Pico */
.s2-pico-page .s2-stack { max-width: 720px; }
.s2-bubble-row { display: flex; align-items: center; gap: 12px; }
.s2-bubble-row img { width: 72px; height: auto; animation: s2-float 5s ease-in-out infinite; }
.s2-bubble { padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); }
.s2-bubble strong { font-size: 15px; }
.s2-bubble p { font-size: 13px; color: var(--s2-muted); margin-top: 2px; }
.s2-proposal { display: flex; flex-direction: column; gap: 12px; }
.s2-dock.is-always { display: flex; position: sticky; bottom: 16px; z-index: 5; gap: 8px; align-items: center; max-width: 720px; margin-top: 16px; padding: 8px; border-radius: 32px; background: var(--s2-glass); border: 1px solid var(--s2-edge); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--s2-shadow); }
.s2-dock.is-always .s2-cta { flex: 1; }

/* Planifier */
.s2-src { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px; margin-bottom: 14px; border-radius: 22px; background: var(--s2-hair); }
.s2-src .s2-more { margin-left: auto; }
.s2-src-pill { display: inline-flex !important; align-items: center; gap: 8px !important; min-height: 44px; padding: 0 14px 0 10px !important; border-radius: 16px !important; background: var(--s2-glass-hi) !important; border: 1px solid var(--s2-edge) !important; font-size: 14px; font-weight: 750; cursor: grab; -webkit-touch-callout: none; user-select: none; }
.s2-src-pill .wellness-icon { width: 16px; height: 16px; color: var(--s2-faint); }
.s2-src-pill.is-new { box-shadow: 0 0 0 2px var(--s2-blue); }
.s2-plan-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.s2-pday { display: flex; flex-direction: column; gap: 8px; min-height: 190px; padding: 12px; border-radius: 22px; background: var(--s2-hair); border: 1px solid transparent; transition: background .2s, border-color .2s; }
.s2-pday.is-today { border-color: var(--s2-blue); }
.s2-pday.is-past { opacity: .6; }
.s2-plan-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.s2-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 20px; background: var(--s2-soft); }
.s2-notice > .wellness-icon { color: var(--s2-link); margin-top: 2px; }
.s2-notice strong { display: block; font-size: 14px; }
.s2-notice p { font-size: 13px; color: var(--s2-muted); margin-top: 2px; }
.s2-notice.is-warn { background: var(--s2-gold-bg); }
.s2-notice.is-warn > .wellness-icon { color: var(--s2-gold); }
.s2-fill { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 20px; background: var(--s2-soft); }
.s2-fill .s2-grow strong { font-size: 14px; }
.s2-fill .s2-grow span { font-size: 12px; }
.s2-fill .s2-btn { align-self: flex-start; }
.s2-daysel { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.s2-daysel button { min-height: 44px; border-radius: 14px !important; background: var(--s2-glass-hi) !important; font-weight: 800 !important; font-size: 13px; color: var(--s2-muted) !important; }
.s2-daysel button.is-on { background: var(--s2-blue) !important; color: #fff !important; box-shadow: 0 10px 20px -12px #0866ffcc; }
.s2-daysel.is-big button { min-height: 56px; }
.s2-foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* Calendrier */
.s2-cal-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.s2-month { display: flex; flex-direction: column; gap: 12px; }
.s2-month-head { display: flex; align-items: center; justify-content: space-between; }
.s2-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.s2-wd { font-size: 11px; font-weight: 800; color: var(--s2-muted); padding: 4px 0; }
.s2-c { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 56px; padding-top: 8px; border-radius: 14px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background .2s; }
.s2-c:hover { background: var(--s2-hair); }
.s2-c.is-out { opacity: .4; }
.s2-c.is-today { box-shadow: inset 0 0 0 2px var(--s2-blue); color: var(--s2-link); }
.s2-c.is-sel { background: var(--s2-blue); color: #fff; }
.s2-marks { display: flex; gap: 3px; }
.s2-marks i, .s2-legend i { display: block; width: 16px; height: 5px; border-radius: 3px; }
.is-done.s2-marks i, .s2-marks i.is-done, .s2-legend i.is-done { background: var(--s2-blue); }
.s2-marks i.is-plan, .s2-legend i.is-plan { box-shadow: inset 0 0 0 1.5px var(--s2-blue); }
.s2-marks i.is-skip, .s2-legend i.is-skip { background: var(--s2-gold); }
.s2-c.is-sel .s2-marks i.is-done { background: #fff; }
.s2-c.is-sel .s2-marks i.is-plan { box-shadow: inset 0 0 0 1.5px #fff; }
.s2-daycard { display: flex; flex-direction: column; gap: 12px; }
.s2-day-item { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--s2-line); }
.s2-day-item:first-of-type { border-top: 0; padding-top: 0; }
.s2-day-item .s2-btn { align-self: flex-start; }

/* Fin de séance */
.s2-done { display: flex; flex-direction: column; gap: 16px; max-width: 1040px; margin: 0 auto; }
.s2-done-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.s2-done-hero img { width: 110px; height: auto; animation: s2-float 5s ease-in-out infinite; }
.s2-done-hero .s2-stats { width: 100%; }
.s2-done .s2-card-body { display: flex; flex-direction: column; gap: 12px; }
.s2-recap { display: grid; gap: 18px; }
.s2-recap-hero { display: grid; gap: 18px; }
.s2-recap-intro { display: flex; align-items: center; gap: 18px; }
.s2-recap-intro img { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }
.s2-recap-intro > div { min-width: 0; display: grid; gap: 6px; }
.s2-recap-intro h1 { overflow-wrap: anywhere; }
.s2-recap-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 0; }
.s2-recap-stats dt { font-size: 12px; color: var(--s2-muted); }
.s2-recap-stats dd { margin: 6px 0 0; font-size: 21px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.s2-recap-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 18px; align-items: start; }
.s2-recap-grid > div { min-width: 0; }
.s2-recap-highlights { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 16px; }
.s2-recap-highlights li { padding-left: 14px; border-left: 3px solid var(--s2-soft2); display: grid; gap: 4px; }
.s2-recap-highlights strong { font-size: 15px; }
.s2-recap-exercise { padding: 18px 0; border-top: 1px solid var(--s2-line); display: grid; gap: 8px; }
.s2-recap-exercise-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.s2-recap-exercise-head h3 { min-width: 0; overflow-wrap: anywhere; }
.s2-recap-exercise-head .s2-chip { flex-shrink: 0; }
.s2-recap-performance { font-size: 15px; font-weight: 650; line-height: 1.5; }
.s2-recap-series summary { display: flex; align-items: center; min-height: 44px; color: var(--s2-link); font-size: 13px; font-weight: 650; cursor: pointer; }
.s2-recap-series ol { margin: 0; padding: 0; list-style: none; }
.s2-recap-series li { display: grid; gap: 3px; padding: 10px 0; border-top: 1px solid var(--s2-hair); font-size: 14px; }
.s2-recap-series small { color: var(--s2-muted); }
.s2-recap-facts { margin: 0; display: grid; gap: 16px; }
.s2-recap-facts dt { font-size: 13px; color: var(--s2-muted); }
.s2-recap-facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 650; }
.s2-recap-facts + p { margin-top: 16px; }
.s2-recap-note { white-space: pre-wrap; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.s2-recap-plan { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.s2-recap-plan li { display: grid; gap: 4px; font-size: 14px; }
.s2-recap-grid .s2-btn { display: flex !important; margin-top: 10px; white-space: normal; text-align: center; padding: 10px 14px !important; }
@media(max-width:760px) {
 .s2-recap-grid { grid-template-columns: 1fr; }
 .s2-recap-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .s2-recap-intro { gap: 12px; }
 .s2-recap-intro img { width: 56px; height: 56px; }
 .s2-recap-stats dd { font-size: 20px; }
}
.s2-plan-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 8px; border-radius: 20px; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); }
.s2-dt { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; background: var(--s2-soft); color: var(--s2-link); flex-shrink: 0; line-height: 1; }
.s2-dt b { font-size: 17px; font-weight: 800; }
.s2-dt span { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; }

/* Programme */
.s2-manage summary { min-height: 44px; padding: 4px 0; font-weight: 700; cursor: pointer; color: var(--s2-link); }

@keyframes s2-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes s2-up { from { transform: translateY(40px); opacity: .4; } }

@media (min-width: 761px) {
  .s2-sheet { inset: 0; margin: auto; border-radius: 30px; max-height: min(88dvh, 860px); }
  .s2-sheet.is-tall { height: min(88dvh, 860px); }
  .s2-grab { display: none; }
  .s2-sheet-inner { padding: 22px 24px 24px; }
}
@media (max-width: 1100px) {
  .s2-grid, .s2-cal-grid { grid-template-columns: 1fr; }
  .s2-plan-opts { grid-template-columns: 1fr; }
}
@media (max-width: 899px) {
  body[data-session-v2]:not([data-session-v2="hub"]):not([data-session-v2="session-calendar"]) #nav { display: none !important; }
  body[data-session-v2]:not([data-session-v2="hub"]) .app-header { display: none !important; }
  body[data-session-v2]:not([data-session-v2="hub"]) main { padding-top: 10px; }
  .s2-mtop { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; margin-bottom: 6px; }
  .s2-mtitle { font-size: 17px; font-weight: 750; letter-spacing: -.3px; }
  .s2-head { display: none; }
  .s2-hub .s2-head { display: flex; padding: 6px 2px 16px; }
  .s2-hub .s2-h1 { font-size: 30px; letter-spacing: -1.1px; }
  .s2-hub .s2-head-acts { width: 100%; }
  .s2-hub .s2-head-acts > * { flex: 1; }
  .s2-card { padding: 18px; border-radius: 26px; }
  .s2-hero { grid-template-columns: 1fr; padding: 18px; }
  .s2-hero-side { display: none; }
  .s2-exlist { grid-template-columns: 1fr; }
  .s2-hero-acts .s2-cta { min-width: 0; width: 100%; }
  .s2-hero-acts .s2-btn { flex: 1; padding: 0 8px !important; }
  .s2-week { display: none; }
  .s2-mweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .s2-md { display: flex !important; flex-direction: column; align-items: center; gap: 6px !important; font-size: 11px; font-weight: 750; color: var(--s2-muted) !important; }
  .s2-md i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--s2-hair); font-style: normal; font-size: 15px; color: var(--s2-muted); }
  .s2-md i .wellness-icon { width: 17px; height: 17px; }
  .s2-md.is-done i { background: var(--s2-blue); color: #fff; }
  .s2-md.is-plan i { box-shadow: inset 0 0 0 2px var(--s2-blue); }
  .s2-md.is-skipped i { background: var(--s2-gold-bg); }
  .s2-md.is-today i { box-shadow: inset 0 0 0 2px var(--s2-blue), 0 0 0 4px var(--s2-soft); }
  .s2-md small { font-size: 9.5px; font-weight: 650; text-align: center; line-height: 1.15; min-height: 22px; max-width: 48px; overflow: hidden; }
  .s2-week-foot .s2-hint { display: none; }
  .s2-week-acts { width: 100%; }
  .s2-tpls { grid-template-columns: 1fr; }
  .s2-input.is-search { max-width: 150px; }
  .s2-edit-grid { grid-template-columns: 1fr; }
  .s2-desk-only { display: none !important; }
  .s2-sets, .s2-set-acts { padding-left: 0; }
  .s2-set { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 32px; gap: 6px; }
  .s2-set.is-drop::after { left: 52px; }
  .s2-name-input { font-size: 24px; }
  .s2-dock { display: flex; position: sticky; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; gap: 8px; align-items: center; margin-top: 16px; padding: 8px; border-radius: 32px; background: var(--s2-glass); border: 1px solid var(--s2-edge); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: var(--s2-shadow); }
  .s2-dock .s2-cta { flex: 1; }
  .s2-dock .s2-btn { min-height: 56px !important; }
  .s2-plan-week { grid-template-columns: 1fr; gap: 8px; }
  .s2-pday { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 10px; }
  .s2-pday .s2-dh { flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 15px; background: var(--s2-soft); color: var(--s2-link); }
  .s2-pday .s2-dh b { color: var(--s2-link); }
  .s2-pday .s2-pill { flex: 1; width: auto; min-width: 140px; }
  .s2-pday .s2-rest { flex: 1; }
  .s2-pday .s2-drop { flex: 0 0 auto; min-height: 44px; padding: 0 12px !important; display: inline-flex !important; gap: 4px; }
  .s2-src .s2-more { margin-left: 0; }
  .s2-foot { position: sticky; bottom: 12px; padding: 8px; border-radius: 32px; background: var(--s2-glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
  .s2-foot .s2-cta { flex: 1; }
}
@media (max-width: 760px) {
  .s2-sheet .s2-types { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .s2 *, .s2-sheet, .s2-sheet * { animation: none !important; transition: none !important; }
}
body[data-today-motion="none"] :is(.s2 *, .s2-sheet, .s2-sheet *) { animation: none !important; transition: none !important; }
@media (max-width: 899px) {
  .s2-hero-acts { gap: 6px; }
  .s2-hero-acts .s2-btn { flex: 1 1 0; min-width: 0; padding: 0 6px !important; font-size: 13px; gap: 6px !important; }
  .s2-hero-acts .s2-btn.is-quiet { background: var(--s2-hair) !important; }
}

/* Progressions proposées */
.s2-chip.is-up { background: var(--s2-green-bg) !important; color: var(--s2-green) !important; font-weight: 750; }
.s2-prog { display: flex !important; align-items: center; gap: 12px !important; width: 100%; padding: 12px 14px !important; border-radius: 20px !important; background: var(--s2-green-bg) !important; text-align: left; }
.s2-prog-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--s2-green); color: #fff; flex-shrink: 0; }
.s2-prog-ic .wellness-icon { width: 18px; height: 18px; }
.s2-prog .s2-grow > strong { font-size: 14.5px; color: var(--s2-green); }
.s2-prog .s2-grow > span { font-size: 12.5px; }
.s2-prog-go { font-size: 13.5px; font-weight: 750; color: var(--s2-green); padding: 0 4px; }
.s2-props { display: flex; flex-direction: column; gap: 8px; }
.s2-prop { color: var(--s2-ink); position: relative; display: flex !important; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 20px; background: var(--s2-glass-hi); border: 1px solid var(--s2-edge); cursor: pointer; transition: opacity .2s; }
.s2-prop:not(.is-on) { opacity: .6; }
.s2-prop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.s2-prop .s2-check { margin-top: 2px; }
.s2-prop.is-on .s2-check { background: var(--s2-blue); box-shadow: none; color: #fff; }
.s2-prop input:focus-visible + .s2-check { outline: 3px solid #75a7ff; outline-offset: 2px; }
.s2-prop-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.s2-prop-top strong { font-size: 15px; font-weight: 750; }
.s2-prop-ba { display: flex !important; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--s2-ink) !important; font-variant-numeric: tabular-nums; }
.s2-prop-ba s { color: var(--s2-muted); }
.s2-prop-ba b { font-weight: 800; color: var(--s2-green); }
.s2-prop-ba .wellness-icon { width: 15px; height: 15px; color: var(--s2-muted); }
.s2-prop small, .s2-prop-row small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--s2-muted); line-height: 1.45; }
.s2-prop-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--s2-line); flex-wrap: wrap; }
.s2-prop-row:first-of-type { border-top: 0; }
.s2-prop-acts { display: flex; gap: 6px; margin-left: auto; }
.s2-toggle input:disabled + .s2-switch { opacity: .4; }

.s2-plan-top>.session-name-field{flex:1 1 100%;min-width:0}
.s2-plan-top .s2-name-input{width:100%;min-width:0;margin:0;padding:0 12px;border:1px solid var(--s2-line);background:var(--s2-glass-hi)}
