/* Tableau de bord Instagram : style. Nécessite la feuille systeme.css de l'identité. */
  *, *::before, *::after { box-sizing: border-box; }
  body { margin: 0; background: var(--canvas); color: var(--text); font-family: var(--font-sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
  body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: radial-gradient(var(--border) 1.4px, transparent 1.8px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); }
  .wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 32px 24px 64px; }

  header.top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 28px; }
  .kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--accent); }
  h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.02; letter-spacing: -0.05em; }
  .maj { margin: 8px 0 0; color: var(--text-muted); font-size: 13px; }
  .legende-types { display: flex; flex-wrap: wrap; gap: 8px; }

  .chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; border: 1px solid transparent; }
  .chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
  .t-lancement { background: var(--highlight); color: var(--on-highlight); }
  .t-vitrine { background: var(--accent); color: var(--on-accent); }
  .t-atelier { background: var(--surface); color: var(--text); border-color: var(--text); }
  .t-atelier::before { background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
  .p-eclair, .p-blocs, .p-carnet { background: var(--surface-sage); color: var(--text-soft); }
  .p-eclair::before { background: #48bd8b; } .p-blocs::before { background: var(--surface-dark); border-radius: 2px; } .p-carnet::before { background: var(--highlight); box-shadow: inset 0 0 0 1px var(--on-highlight); }
  .s-idee { background: var(--surface); color: var(--text-muted); border-color: var(--border-strong); }
  .s-a-valider { background: var(--highlight); color: var(--on-highlight); }
  .s-approuvee, .s-programmee { background: var(--accent); color: var(--on-accent); }
  .s-publiee { background: var(--surface-dark); color: var(--on-dark); }
  .s-production, .s-selectionnee { background: var(--surface-sage-strong); color: var(--accent-hover); }
  .s-attente, .s-abandonnee { background: var(--surface); color: var(--text-muted); border-color: var(--border); text-decoration: line-through; }

  .curseur { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 24px; border-radius: 18px; background: rgba(255,255,255,.8); border: 1px solid var(--border); box-shadow: var(--shadow-card); }
  .curseur label { font-weight: 700; font-size: 13px; }
  .curseur output { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; min-width: 170px; text-align: right; }
  input[type=range] { width: 100%; accent-color: var(--accent); }
  /* Petit écran : le curseur de date passe sous son libellé, la photo du profil simulé rétrécit pour laisser la place aux trois compteurs. */
  @media (max-width: 560px) {
    .curseur { grid-template-columns: 1fr auto; row-gap: 8px; }
    .curseur input[type=range] { grid-column: 1 / -1; grid-row: 2; }
    .curseur output { min-width: 0; }
    .ligne1 { gap: 12px; }
    .avatar { width: 68px; height: 68px; }
    .stats { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 10px; }
  }

  main { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: start; }
  @media (max-width: 960px) { main { grid-template-columns: 1fr; } .tel { margin: 0 auto; } }

  /* Téléphone */
  .tel { width: 100%; max-width: 420px; min-width: 0; position: sticky; top: 20px; border-radius: 44px; padding: 14px; background: var(--surface-dark); box-shadow: 0 40px 80px -40px rgba(25,57,43,.55); }
  .ecran { border-radius: 32px; overflow: hidden; background: #fff; color: #111; font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; height: 780px; overflow-y: auto; scrollbar-width: none; }
  .ecran::-webkit-scrollbar { display: none; }
  .barre { display: flex; justify-content: center; align-items: center; gap: 6px; height: 52px; font-weight: 700; font-size: 16px; border-bottom: 1px solid #eee; position: sticky; top: 0; background: #fff; z-index: 2; }
  .profil { padding: 14px 16px 6px; }
  .ligne1 { display: flex; align-items: center; gap: 18px; }
  .avatar { flex: none; width: 84px; height: 84px; border-radius: 50%; background: var(--surface-sage) center / cover no-repeat; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent); }
  .stats { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 13px; }
  .stats b { display: block; font-size: 16px; }
  .nom { margin: 10px 0 0; font-weight: 700; font-size: 14px; }
  .cat { color: #737373; font-size: 13px; }
  .bio { margin: 2px 0 0; font-size: 14px; line-height: 1.35; }
  .lien { color: #00376b; font-weight: 600; font-size: 14px; }
  .alaune { display: flex; gap: 14px; padding: 14px 16px 8px; overflow-x: auto; }
  .alaune figure { margin: 0; text-align: center; font-size: 13px; width: 64px; flex: none; }
  .alaune span { display: block; width: 62px; height: 62px; margin: 0 auto 4px; border-radius: 50%; border: 2px dashed var(--border-strong); background: var(--surface-sage); display: grid; place-items: center; color: var(--accent); font-weight: 700; font-family: var(--font-sans); }
  .alaune .story-ok { border: 2px solid var(--accent); }
  .alaune .avec-image { border: 2px solid #dbdbdb; background: center / cover no-repeat; box-shadow: inset 0 0 0 2px #fff; }
  .note-une { margin: 0 16px 8px; font-size: 13px; color: #8a8a8a; }
  .onglets { display: flex; justify-content: center; border-top: 1px solid #eee; height: 42px; align-items: center; }
  .onglets svg { width: 22px; height: 22px; }
  .grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .case { position: relative; container-type: inline-size; aspect-ratio: 3 / 4; overflow: hidden; cursor: pointer; border: 0; padding: 0; background: #eee; font: inherit; color: inherit; text-align: left; }
  .case img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .case.choisie { outline: 4px solid var(--accent); outline-offset: -4px; z-index: 1; }
  .case:focus-visible { outline: 4px solid var(--accent-hover); outline-offset: -4px; }
  .case .date { position: absolute; left: 5px; bottom: 5px; padding: 1px 6px; border-radius: 6px; background: rgba(23,39,31,.78); color: #fff; font-size: 13px; font-weight: 700; font-family: var(--font-sans); }
  .case .multi { position: absolute; right: 6px; top: 6px; width: 16px; height: 16px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
  .case .etat { position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
  .vide { grid-column: 1 / -1; padding: 40px 20px; text-align: center; color: #8a8a8a; font-size: 13px; }

  /* Vignettes provisoires, dans le style de chaque piste */
  .mini { position: absolute; inset: 0; padding: 10cqw 9cqw; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-sans); }
  .mini h3 { position: relative; margin: 0; font-size: 12cqw; line-height: 1.02; letter-spacing: -0.05em; font-weight: 700; color: var(--text); text-wrap: balance; }
  .mini small { position: relative; align-self: flex-end; font-size: max(13px, 6.5cqw); font-weight: 700; padding: 1.5cqw 3cqw; border-radius: 99px; background: rgba(255,255,255,.85); color: var(--text-soft); }
  .case .mini small { margin-bottom: 18px; } /* au-dessus de la date de la case */
  .mini-eclair { background: var(--canvas); }
  .mini-eclair::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 90%, var(--hero-halo), transparent 55%), radial-gradient(var(--border-strong) 1px, transparent 1.4px) 0 0 / 7cqw 7cqw; }
  .mini-eclair::after { content: ""; position: absolute; left: -10%; right: -10%; top: 58%; height: 3px; background: #48bd8b; box-shadow: 0 0 8px 3px rgba(114,216,170,.6); transform: rotate(-28deg); }
  .mini-blocs { background: var(--surface-sage); }
  .mini-blocs::before { content: ""; position: absolute; right: -25%; bottom: -12%; width: 85%; height: 50%; border-radius: 14cqw; background: var(--surface-dark); transform: rotate(-6deg); }
  .mini-blocs::after { content: ""; position: absolute; left: -12%; bottom: 30%; width: 32cqw; height: 32cqw; border-radius: 50%; background: var(--highlight); }
  .mini-carnet { background: var(--canvas) repeating-linear-gradient(to bottom, transparent 0 8.8cqw, rgba(25,57,43,.1) 8.8cqw 9.3cqw); }
  .mini-carnet::before { content: ""; position: absolute; top: 0; bottom: 0; left: 5cqw; width: 2px; background: rgba(14,124,90,.25); }
  .mini-carnet h3 { background: linear-gradient(transparent 55%, var(--highlight) 55%, var(--highlight) 92%, transparent 92%); display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .attente-vignette { filter: grayscale(1); opacity: .5; }

  .col { min-width: 0; }

  /* Onglets de vue */
  .onglets-vue { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--surface-sage); width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 18px; }
  .onglets-vue button { font: inherit; font-weight: 700; font-size: 14px; border: 0; border-radius: 11px; padding: 9px 16px; background: transparent; color: var(--text-soft); cursor: pointer; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
  .onglets-vue button[aria-selected=true] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }
  .onglets-vue button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  .onglets-vue .nb { font-size: 13px; padding: 1px 7px; border-radius: 99px; background: var(--surface-sage-strong); color: var(--accent-hover); font-variant-numeric: tabular-nums; }
  main.concept { grid-template-columns: minmax(0, 1fr) 440px; }
  @media (max-width: 1100px) { main.concept { grid-template-columns: 1fr; } }
  .vue { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
  .vue[hidden], .tel[hidden], .curseur[hidden] { display: none; }

  /* Séries et listes par concept */
  .serie { background: rgba(255,255,255,.88); border: 1px solid var(--border); border-radius: 28px; padding: 24px; box-shadow: var(--shadow-card); }
  .serie-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
  .serie h2 { margin: 4px 0 6px; font-size: 28px; letter-spacing: -0.04em; line-height: 1.1; }
  .serie .fil { margin: 0; color: var(--text-soft); max-width: 60ch; }
  .progres { min-width: 190px; }
  .progres b { font-size: 30px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
  .progres span { font-size: 13px; color: var(--text-muted); }
  .progres .barre-p { height: 10px; border-radius: 99px; background: var(--surface-sage); overflow: hidden; margin-top: 6px; }
  .progres .barre-p i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
  .frise-ep { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 16px 14px; padding: 18px 4px 8px; }
  .ep { flex: none; width: 168px; border: 0; background: none; padding: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
  .ep:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 14px; }
  .ep .vign { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface-sage); container-type: inline-size; box-shadow: var(--shadow-card); }
  .ep .vign img, .ep .vign video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .ep.a-venir .vign { background: repeating-linear-gradient(135deg, var(--surface-2) 0 10px, var(--surface-sage) 10px 20px); border: 2px dashed var(--border-strong); box-shadow: none; display: grid; place-items: center; padding: 12px; text-align: center; font-size: 13px; color: var(--text-muted); }
  .ep .num { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 2px 8px; border-radius: 8px; background: var(--surface-dark); color: var(--highlight); font-size: 13px; font-weight: 700; }
  .ep .etat { position: absolute; right: 8px; top: 8px; z-index: 1; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
  .ep .t { margin: 8px 0 2px; font-weight: 700; font-size: 14px; line-height: 1.25; letter-spacing: -0.02em; }
  .ep .d { font-size: 13px; color: var(--text-muted); }
  .ep.choisie .vign { outline: 4px solid var(--accent); outline-offset: 2px; }
  .ep.retire { opacity: .45; }
  .liste-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
  .liste-cartes .ep, .frise-ep .ep { width: auto; }
  .ep.story { width: 128px; }
  .liste-cartes .ep.story { width: auto; }
  .ep.story .vign { aspect-ratio: 9 / 16; }
  .ep.suggestion .vign { border: 2px dashed var(--border-strong); background: var(--surface-2); box-shadow: none; display: grid; place-items: center; padding: 10px; text-align: center; font-size: 13px; color: var(--text-muted); }
  .sous-titre { margin: 0 0 10px; font-size: 13px; letter-spacing: .01em; color: var(--accent); font-weight: 700; }
  .serie .titre-liste { margin: 0 0 14px; font-size: 18px; line-height: 1.4; letter-spacing: -0.025em; font-weight: 700; color: var(--text); }
  .serie.memo .titre-liste { margin: 6px 0 0; }
  .aide { margin: 0; font-size: 13px; color: var(--text-muted); max-width: 70ch; }
  /* Détail */
  .detail { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-card); min-width: 0; }
  .detail h2 { margin: 6px 0 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: -0.045em; text-wrap: balance; }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 20px 0; }
  .meta div { padding: 12px 14px; border-radius: 14px; background: var(--surface-sage); }
  .meta dt { font-size: 13px; font-weight: 700; color: var(--text-muted); }
  .meta dd { margin: 2px 0 0; font-weight: 700; }
  h4 { margin: 24px 0 10px; font-size: 15px; letter-spacing: -0.01em; color: var(--text); }
  .pages { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .pages figure { margin: 0; flex: none; width: 170px; scroll-snap-align: start; }
  .pages img, .pages video { width: 170px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; display: block; box-shadow: var(--shadow-card); background: var(--surface-sage); }
  .pages figcaption { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
  .bascule { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface-sage); margin-bottom: 10px; }
  .bascule button { font: inherit; font-size: 13px; font-weight: 700; border: 0; border-radius: 9px; padding: 6px 12px; background: transparent; color: var(--text-soft); cursor: pointer; }
  .bascule button[aria-pressed=true] { background: #fff; color: var(--text); box-shadow: var(--shadow-card); }
  .story-video { width: 150px; aspect-ratio: 9 / 16; border-radius: 16px; box-shadow: var(--shadow-card); display: block; }
  .legende { white-space: pre-wrap; padding: 16px 18px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); font-size: 14px; max-height: 280px; overflow: auto; }
  .compte { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
  .angle { font-size: 17px; line-height: 1.5; color: var(--text-soft); max-width: 62ch; }
  ul.manque { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
  ul.manque li { display: flex; gap: 10px; align-items: baseline; }
  ul.manque li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; border: 2px solid var(--accent); transform: translateY(1px); }
  .liens { display: flex; flex-wrap: wrap; gap: 10px; }
  .liens a { color: var(--accent); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--accent-line); }
  .liens a:hover { border-color: var(--accent); }

  /* Chiffres : une seule surface vert profond, cases séparées par un filet (le fond qui passe dans l'écart de 1 px), le premier chiffre en tête sur toute la largeur. */
  .rythme { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 1px; border-radius: 18px; overflow: hidden; background: var(--border-on-dark); }
  .rythme > div { flex: 1 1 200px; padding: 16px; background: var(--surface-dark); color: var(--on-dark); }
  .rythme > div:first-child { flex-basis: 100%; padding: 20px 20px 18px; }
  .rythme b { display: block; font-size: 34px; line-height: 1; letter-spacing: -0.04em; color: var(--highlight); font-variant-numeric: tabular-nums; }
  .rythme span { font-size: 13px; color: var(--on-dark-soft); }
  .rythme.chiffres { margin: 10px 0 0; }
  .rythme.chiffres > div { flex-basis: 130px; }
  .rythme.chiffres > div:first-child { flex-basis: 100%; }
  .rythme.chiffres b { font-size: 30px; }
  .rythme > div:first-child b { font-size: 56px; }
  .chiffres-note, .chiffres-vide { font-size: 13px; color: var(--text-muted); margin: 8px 0 0; }
  .chiffres-note a { color: var(--accent); font-weight: 700; }
  .chiffres-vide { font-size: 14px; color: var(--text-soft); padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--border-strong); }
  #detail h5 { margin: 18px 0 8px; font-size: 13px; font-weight: 700; color: var(--text-soft); }
  ul.sondage { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 520px; }
  ul.sondage li { display: grid; grid-template-columns: minmax(90px, 9em) 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
  ul.sondage .jauge { height: 10px; border-radius: 999px; background: var(--surface-sage); overflow: hidden; }
  ul.sondage .jauge i { display: block; height: 100%; border-radius: 999px; background: var(--accent); min-width: 2px; }
  ul.sondage .val { font-size: 13px; color: var(--text-soft); font-variant-numeric: tabular-nums; }
  .hors { margin-top: 18px; font-size: 13px; color: var(--text-muted); }
  .hors button { font: inherit; background: none; border: 0; padding: 0; color: var(--text-soft); text-decoration: underline; cursor: pointer; }

  /* Mémo de publication : routines, calendrier des gestes, version imprimable. */
  .memo .imprimer { border: 0; border-radius: 999px; padding: 12px 20px; background: var(--surface-dark); color: var(--on-dark); font: inherit; font-weight: 700; cursor: pointer; }
  .routine { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 20px 0 16px; }
  .routine-carte { border-radius: 20px; padding: 16px 18px; background: var(--surface-sage); border: 1px solid var(--border); }
  .routine-carte .sous-titre { margin-bottom: 6px; }
  .routine-carte .quoi { margin: 0 0 6px; font-size: 14px; line-height: 1.4; font-weight: 700; }
  .routine-carte .pourquoi { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-muted); }
  .legende-gestes { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
  .g { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .g-publication { background: var(--accent); color: #fff; }
  .g-story, .g-relais { background: var(--highlight); color: var(--on-highlight); }
  .g-une { background: var(--surface-sage-strong); color: var(--text); }
  .g-controle { background: var(--surface-dark); color: var(--highlight); }
  .g-decision { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
  .g-mesure { background: var(--hero-halo); color: var(--text); }
  .g-relation { background: #fff; color: var(--text-soft); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
  .g-plus { background: transparent; color: var(--text-muted); }
  .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .cal-tete { font-size: 13px; font-weight: 700; color: var(--text-muted); padding: 0 6px; }
  .jour { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 104px; padding: 8px; border: 1px solid var(--border); border-radius: 14px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s; }
  .jour:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
  .jour .num { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; display: flex; gap: 6px; align-items: baseline; }
  .jour .mois { font-size: 13px; font-weight: 700; color: var(--accent); }
  .jour.calme { background: transparent; }
  .jour.passe { opacity: .45; }
  .jour.aujourdhui { box-shadow: 0 0 0 3px var(--accent); }
  .jour.choisie { background: var(--surface-sage); border-color: var(--accent); }
  .gestes { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
  .gestes li { border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; background: #fff; }
  .gestes li.fait { opacity: .5; }
  .gestes li.fait .t { text-decoration: line-through; }
  .gestes label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
  .gestes input { width: 18px; height: 18px; accent-color: var(--accent); }
  .gestes .t { margin: 8px 0 4px; font-weight: 700; }
  .gestes .dt { margin: 0; font-size: 14px; line-height: 1.45; color: var(--text-soft); }
  .gestes .voir { margin-top: 8px; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; padding: 0; cursor: pointer; }
  .memo-imprime { display: none; }
  /* Téléphone : les gestes deviennent des pastilles de couleur (la légende les nomme, la case porte son nom complet en aria-label,
     un toucher ouvre la liste) ; le mois passe sous le numéro au lieu de déborder sur la case voisine. */
  @media (max-width: 700px) {
    .jour { min-height: 72px; padding: 5px; flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 3px; }
    .jour .num { flex-basis: 100%; flex-direction: column; gap: 0; line-height: 1.15; }
    .jour .g:not(.g-plus) { width: 8px; height: 8px; padding: 0; font-size: 0; }
    .jour .g-plus { padding: 0; line-height: 8px; }
  }
  @media print {
    html, body, .wrap { background: #fff !important; background-image: none !important; }
    .top, .onglets-vue, .curseur, .col, .tel, .memo { display: none !important; }
    main.concept { display: block; }
    .memo-imprime { display: block; }
    .memo-imprime h2 { font-size: 22px; }
    .imp-jour { break-inside: avoid; margin: 0 0 10px; }
    .imp-jour h3 { margin: 12px 0 4px; font-size: 14px; text-transform: capitalize; }
    .imp-jour ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.45; }
    .imp-jour span { color: #555; }
  }
  .routine.comment .routine-carte { background: #fff; }
  .routine.comment ol { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.45; color: var(--text-soft); }
  .routine.comment li + li { margin-top: 4px; }
  .gestes .dt { overflow-wrap: anywhere; }
