/* Espace séances (côté cliente) : en plus de base.css et app.css */

.topbar #msgBtn { margin-left: auto; }

/* Résumé de séance : les moments clés ressortent sur fond crème */
.resume { border-radius: var(--r-lg); padding: 22px; margin-top: 22px; font-size: 16px; line-height: 1.6; }
.resume p + p { margin-top: 14px; }
.cle {
  font-weight: 600;
  background: rgba(250, 246, 236, .9); color: var(--oxblood);
  padding: 1px 6px; border-radius: 6px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Carte de séance dans la liste */
.seance-card { display: block; width: 100%; text-align: left; border-radius: var(--r-lg); padding: 18px 20px; }
.seance-card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.seance-card .date { font-family: var(--title); font-size: 19px; line-height: 1.15; }
.seance-card .m { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.seance-card .quote { margin-top: 12px; font-size: 14px; color: var(--ink-soft); border-left: 2px solid rgba(250, 246, 236, .4); padding-left: 12px; }
.seance-card .exos { margin-top: 10px; font-size: 12px; color: var(--ink-mute); }

.next { display: flex; align-items: center; gap: 14px; border-radius: var(--r-lg); padding: 16px 18px; margin-top: 26px; }
.next .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(250, 246, 236, .12); flex: none; }
.next .t { font-size: 15px; }
.next .m { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* Avancée d'un exercice */
.progress-line { height: 4px; border-radius: 4px; background: rgba(250, 246, 236, .18); margin-top: 8px; overflow: hidden; }
.progress-line span { display: block; height: 100%; background: var(--creme); border-radius: inherit; }
.row-item .m .pl { display: block; width: 120px; }

.days-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 16px; }
.days-grid .dot { max-height: none; font-size: 13px; }
.days-grid .dot.future { opacity: .35; }
.tracker { border-radius: var(--r-lg); padding: 20px; margin-top: 26px; }
.tracker .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tracker h3 { font-size: 19px; }
.tracker .count { font-family: var(--title); font-size: 26px; line-height: 1; white-space: nowrap; }
.tracker .count small { font-family: var(--body); font-size: 13px; color: var(--ink-mute); }
.tracker p.small { margin-top: 6px; }

.access { font-size: 12px; color: var(--ink-mute); text-align: center; margin-top: 30px; line-height: 1.5; }

.code-input { letter-spacing: .5em; text-align: center; font-size: 22px; }
a.cta { text-decoration: none; }

/* ---------- Exercice d'introspection ---------- */
.block { border-radius: var(--r-lg); padding: 20px 22px; margin-top: 16px; }
.block h3 { font-size: 18px; margin-bottom: 8px; }
.block p { color: var(--ink-soft); font-size: 15px; }
.qa { padding: 14px 0; border-top: 1px solid rgba(250, 246, 236, .14); }
.qa:first-of-type { border-top: 0; padding-top: 4px; }
.qa .q { display: grid; grid-template-columns: 30px 1fr; font-size: 16px; line-height: 1.4; }
.qa .q span { font-size: 12px; color: var(--ink-mute); padding-top: 3px; }
.qa textarea.input { margin-top: 10px; min-height: 96px; font-size: 15px; }
.fermeture { font-style: italic; }
.sent-info { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.ask textarea.input { min-height: 90px; }
.bubble .qa-list { margin-top: 8px; display: grid; gap: 8px; }
.bubble .qa-list b { display: block; font-weight: 600; font-size: 13px; }
.bubble .tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(107, 43, 38, .12); margin-bottom: 6px; }
.bubble.vanille .tag { background: rgba(250, 246, 236, .14); }

/* ---------- Ordinateur : menu à gauche, contenu sur deux colonnes ---------- */
.cnav { display: none; }
.duo > * + * { margin-top: 0; }
@media (min-width: 960px) {
  .shell { position: relative; z-index: 2; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; max-width: 1220px; margin: 0 auto; padding: 24px; }
  .shell.out { display: block; }
  .cnav:not([hidden]) {
    display: flex; flex-direction: column; gap: 14px;
    position: sticky; top: 24px; align-self: start; height: calc(100dvh - 48px);
    border-radius: var(--r-lg); padding: 22px 16px;
    background: var(--glass-fill), rgba(62, 20, 15, .35);
  }
  .cnav .side-brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-family: var(--title); font-size: 18px; }
  .cnav .side-brand .logo { width: 20px; height: 20px; }
  .cnav-hello { font-size: 13px; color: var(--ink-mute); padding: 0 8px; }
  .cnav-links { display: grid; gap: 2px; }
  .cnav-links a { padding: 11px 12px; border-radius: 14px; text-decoration: none; color: var(--ink-soft); font-size: 15px; }
  .cnav-links a:hover { background: rgba(250, 246, 236, .07); color: var(--creme); }
  .cnav-links a[aria-current="page"] { background: var(--glass-fill-on); box-shadow: var(--glass-shadow-on); color: var(--creme); }
  .cnav-rdv { margin-top: auto; text-decoration: none; }
  .cnav-out { font-size: 12px; color: var(--ink-mute); text-align: center; text-decoration: none; }

  .shell:not(.out) .app { max-width: none; margin: 0; padding: 0 0 40px; min-height: auto; }
  .shell:not(.out) .topbar .brand, .shell:not(.out) #msgBtn { display: none; }
  .shell:not(.out) .topbar { height: auto; min-height: 0; }
  .shell:not(.out) .screen { padding-top: 12px; }
  .hide-desk { display: none !important; }
  .duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .duo .sec-head:first-child, .duo > div > .block:first-child, .duo > div > .tracker:first-child, .duo > div > .resume:first-child { margin-top: 0; }
  .duo-top { margin-top: 30px; }
  .shell:not(.out) .cta-bar { position: sticky; bottom: 0; left: auto; right: auto; padding: 18px 0 8px; background: none; }
  .shell:not(.out) .cta { max-width: 460px; margin: 0 0 0 auto; }
  .shell:not(.out) .thread, .shell:not(.out) .composer { max-width: 720px; }
  .shell:not(.out) h1 { font-size: 44px; }
}
a.btn-line { text-decoration: none; }
