/* Le compositeur de routine (page écrite par .claude/tools/compositeur.mjs, script assets/js/compositeur.js).
   Ordinateur : les réglages à gauche, « Votre tableau » à droite, collant, sur fond sable. Téléphone : une colonne, une
   barre en bas qui ouvre l'aperçu en tiroir et imprime. Jetons, boutons et cartes-mots : site.css ; la feuille A4 reprend
   le style des tableaux fixes (STYLE_FEUILLE de routines.mjs). Fichier à part : site.css dépasse son plafond de taille.
   Validé par Steven le 23/11/2026 (prototype et repasse produit). */

::selection{background:var(--soleil-clair);color:var(--encre)}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---- La mise en page ----
   Téléphone : une colonne, « Votre tableau » en carte sable à la fin, la barre du bas et le tiroir.
   Ordinateur (repasse du 23/11/2026, Steven : « la séparation gauche droite pas assez franche ») : deux volets à bord
   franc. À gauche les réglages, sur le papier ; à droite une table, d'une teinte plus soutenue, de pleine hauteur et
   jusqu'au bord de l'écran, où la feuille blanche est posée, l'impression dessous. Le volet de droite reste à l'écran
   pendant qu'on fait défiler les réglages. La table : jetons bord et doux mêlés, jamais une couleur inventée. */
.compositeur{--table:color-mix(in srgb,var(--bord) 78%,var(--doux) 22%);display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"reglages" "cote";gap:44px;padding-top:32px;padding-bottom:64px}
/* La classe donne un display : sans cette ligne, l'attribut hidden ne cacherait plus le compositeur sur la page d'écoute. */
.compositeur[hidden]{display:none}
.reglages{grid-area:reglages;min-width:0}
.cote{grid-area:cote;min-width:0;padding:16px;border-radius:24px;background:color-mix(in srgb,var(--bord) 70%,var(--papier))}
@media (min-width:1000px){
  /* Pleine largeur : la colonne de gauche s'aligne sur le contenu du site, la table va jusqu'au bord droit. */
  .compositeur.wrap{max-width:none;margin:0;padding:0 0 0 max(24px,calc((100% - var(--maxw)) / 2 + 24px));grid-template-columns:minmax(0,1fr) minmax(460px,44%);grid-template-areas:"reglages cote";gap:0;align-items:stretch;background:var(--papier)}
  .reglages{padding:40px 64px 96px 0;container-type:inline-size}
  /* Le titre tient sur une ligne : sa taille suit la largeur de la colonne (le texte mesure 15,5 fois sa taille). */
  .compositeur .reglages h1{font-size:min(40px,calc(100cqi / 15.9))}
  .cote{padding:0;border-radius:0;background:var(--table);box-shadow:inset 1px 0 0 rgba(51,48,43,.12)}
  /* Collant sous l'en-tête du site (10 px du haut, 66 px de haut) : le titre, la feuille et l'impression tiennent
     dans la hauteur de l'écran (l'échelle de la feuille est posée par le script). */
  .cote-collant{position:sticky;top:86px;display:flex;flex-direction:column;height:calc(100vh - 86px);padding:28px 48px 24px}
  .cote-collant .apercu-cadre{flex:none;margin:auto}
  .cote-tete{margin-bottom:16px}
  .zone-actions{margin-top:20px}
  .cote .aide{color:var(--encre)}
}
@media (max-width:999px){
  /* La place de la barre du bas */
  .compositeur{padding-bottom:112px}
}

.compositeur h1{font-size:clamp(30px,4vw,38px);line-height:1.08;margin:0;text-wrap:balance}
.compositeur .sous{margin-top:12px;font-size:16px;line-height:1.55;color:var(--doux);max-width:520px}

/* Les étapes, une vraie suite : pour qui, quel moment, quelles missions, les derniers détails */
.c-etape{margin:32px 0 0;padding:28px 0 0;border:0;border-top:1px solid var(--bord);min-width:0}
.c-etape > legend,.c-etape h2{display:flex;align-items:center;gap:10px;margin:0;padding:0;font:700 19px/1.2 var(--display);color:var(--encre);letter-spacing:0}
.c-etape > legend i,.c-etape h2 i{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;corner-shape:round;background:var(--encre);color:#fff;font:800 14px var(--display);font-style:normal}
/* La légende d'un fieldset se pose sur sa bordure : flottante, elle redescend sous le filet comme les autres titres. */
.c-etape > legend{float:left;width:100%}
.c-etape > legend + *{clear:both}
.c-etape > .champ{margin-top:14px}
.etape-tete{display:flex;align-items:center;justify-content:space-between;gap:12px}
.jauge{flex:none;padding:4px 12px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--bord);font:700 14px var(--body);color:var(--encre);font-variant-numeric:tabular-nums;transition:background 160ms var(--eo),color 160ms var(--eo)}
.jauge.manque{background:var(--soleil-clair);box-shadow:none;color:var(--soleil-encre)}
.aide-etape{margin:6px 0 0;font-size:14px;line-height:1.45;color:var(--doux)}
.aide-etape.attention{color:var(--soleil-encre);font-weight:700}

/* Les pastilles : des boutons radio (un seul moment, une seule langue), au clavier avec les flèches */
.pastilles{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.pastilles label{position:relative;display:inline-flex}
.pastilles input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.pastilles span{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--bord);font:700 15px var(--body);color:var(--encre);transition:background 160ms var(--eo),color 160ms var(--eo),transform 160ms var(--eo)}
@media (hover:hover){.pastilles label:hover span{box-shadow:inset 0 0 0 1.5px #CDBFA8}}
.pastilles input:checked + span{background:var(--encre);color:#fff;box-shadow:none}
.pastilles input:focus-visible + span{outline:2px solid var(--encre);outline-offset:3px}
.pastilles label:active span{transform:scale(.97)}

/* Les tuiles des missions. Un rond vide dit « à toucher » ; touchée, la tuile y prend son rang dans la routine. */
.tuiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
@media (min-width:560px){.tuiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}}
.tuile{position:relative;min-width:0}
.tuile-choix{display:flex;flex-direction:column;width:100%;height:100%;padding:6px 6px 10px;border:0;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--bord);text-align:left;font-family:var(--body);color:var(--encre);cursor:pointer;transition:box-shadow 160ms var(--eo),transform 160ms var(--eo),opacity 160ms var(--eo)}
@media (hover:hover){.tuile-choix:hover{box-shadow:inset 0 0 0 1.5px #CDBFA8}}
.tuile-choix:active{transform:scale(.97)}
.tuile-choix img{width:100%;aspect-ratio:1;border-radius:11px;object-fit:cover;background:var(--carte)}
.tuile-mot{display:block;margin:8px 4px 0;font:800 15px/1.15 var(--display);overflow-wrap:anywhere}
.tuile-geste{display:block;margin:2px 4px 0;font:600 12.5px/1.3 var(--body);color:var(--doux)}
.tuile-choix[aria-pressed="true"],
.tuile-choix[aria-pressed="true"]:hover{box-shadow:inset 0 0 0 3px var(--encre)}
.tuile-choix[aria-disabled="true"]{opacity:.45;cursor:not-allowed}
.tuile-choix[aria-disabled="true"]:active{transform:none}
.tuile-rang{position:absolute;top:12px;left:12px;display:grid;place-items:center;width:28px;height:28px;border:2px solid #CDBFA8;border-radius:50%;corner-shape:round;background:rgba(255,255,255,.94);color:#fff;font:800 14px var(--display);font-variant-numeric:tabular-nums}
.tuile-choix[aria-pressed="true"] .tuile-rang{border-color:var(--encre);background:var(--encre)}
.tuile-rang.pop{animation:pop 260ms var(--eo)}
@keyframes pop{from{transform:scale(.4)}}
.tuile-son{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;corner-shape:round;background:#fff;color:var(--ciel-encre);box-shadow:0 2px 8px -2px rgba(51,40,25,.35);cursor:pointer;transition:transform 160ms var(--eo),background 160ms var(--eo),color 160ms var(--eo)}
.tuile-son svg{width:16px;height:16px}
.tuile-son:active{transform:scale(.92)}
.tuile-son.joue{background:var(--ciel);color:#fff}
@media (max-width:559px){
  .tuile-rang{top:10px;left:10px;width:24px;height:24px;font-size:13px}
  .tuile-son{top:8px;right:8px;width:30px;height:30px}
  .tuile-mot{font-size:14px}
  .tuile-geste{font-size:12px}
}

/* L'ordre : une liste à part, ouverte à la demande, avec monter, descendre, retirer (au clavier comme au doigt) */
.outils-missions{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px 16px;margin-top:14px}
.ordre{flex:1 1 300px;min-width:0}
.ordre > summary{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--bord);font:700 14px var(--body);color:var(--encre);cursor:pointer;list-style:none;transition:transform 160ms var(--eo)}
.ordre > summary::-webkit-details-marker{display:none}
.ordre > summary:active{transform:scale(.97)}
.ordre > summary svg{width:16px;height:16px}
.ordre[open] > summary{background:var(--encre);color:#fff;box-shadow:none}
.ordre-liste{display:grid;gap:2px;margin:10px 0 0;padding:6px;list-style:none;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--bord)}
.ordre-item{display:grid;grid-template-columns:22px 40px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px;border-radius:12px}
.ordre-item.bouge{animation:bouge 700ms var(--eo)}
@keyframes bouge{from{background:var(--soleil-clair)}}
.ordre-rang{font:800 15px var(--display);text-align:center;font-variant-numeric:tabular-nums}
.ordre-item img{width:40px;height:40px;border-radius:9px;object-fit:cover;background:var(--carte)}
.ordre-texte{min-width:0;line-height:1.25}
.ordre-texte b{display:block;font:800 15px var(--display)}
.ordre-texte span{display:block;overflow:hidden;font-size:13px;color:var(--doux);white-space:nowrap;text-overflow:ellipsis}
.ordre-boutons{display:flex;gap:4px}
.ordre-boutons button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:10px;background:var(--carte);color:var(--encre);cursor:pointer;transition:background 160ms var(--eo),transform 160ms var(--eo)}
@media (hover:hover){.ordre-boutons button:hover:not(:disabled){background:var(--bord)}}
.ordre-boutons button:active:not(:disabled){transform:scale(.94)}
.ordre-boutons button:disabled{opacity:.3;cursor:default}
.ordre-boutons svg{width:16px;height:16px}
.ordre-vide{padding:10px;font-size:14px;color:var(--doux)}
.lien{display:inline-flex;align-items:center;min-height:40px;padding:0;border:0;background:none;font:700 14px var(--body);color:var(--doux);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.lien:hover{color:var(--encre)}
.lien[hidden]{display:none}

/* Les champs */
.champs{display:grid;gap:20px;margin-top:14px}
.champ{margin:0;padding:0;border:0;min-width:0}
.champ > label,.champ > legend{display:block;margin-bottom:6px;padding:0;font:700 15px var(--body);color:var(--encre)}
.champ small{font-weight:600;color:var(--doux)}
.champ .pastilles{margin-top:0}
.champ input[type="text"]{width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:12px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--bord);font:600 16px var(--body);color:var(--encre);caret-color:var(--ecu-fonce)}
.champ input[type="text"]::placeholder{color:var(--doux)}
.champ input[type="text"]:focus-visible{outline:3px solid var(--ecu);outline-offset:2px}
.aide{margin:6px 0 0;font-size:13.5px;line-height:1.45;color:var(--doux)}

/* ---- Le tableau, à côté ou dessous : l'aperçu A4 réduit (échelle posée par le script), puis l'impression ---- */
.cote-tete{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.cote-tete h2{margin:0;font:700 19px/1.2 var(--display);letter-spacing:0}
.agrandir{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:0 -8px 0 0;padding:0 12px;border:0;border-radius:999px;background:transparent;font:700 14px var(--body);color:var(--encre);cursor:pointer;transition:background 160ms var(--eo)}
.agrandir:hover{background:rgba(255,255,255,.6)}
.agrandir svg{width:15px;height:15px}
.apercu-cadre{position:relative;width:calc(794px * var(--echelle,.45));height:calc(1123px * var(--echelle,.45));overflow:hidden;border-radius:10px;background:#fff;outline:1px solid var(--bord);outline-offset:-1px;box-shadow:0 1px 2px rgba(51,40,25,.12),0 28px 56px -28px rgba(51,40,25,.5)}
.apercu-cadre .a4{transform:scale(var(--echelle,.45));transform-origin:0 0}
.cote .apercu-cadre{margin:0 auto;cursor:zoom-in}
.zone-actions{margin-top:16px}
.actions{display:flex;gap:10px}
.actions .btn,.tiroir-actions .btn,.barre .btn{margin-top:0;justify-content:center}
.actions .btn{min-height:52px;padding:0 22px;font-size:16px}
/* Imprimer et écouter sur une ligne : l'impression prend la place, l'écoute reste en second, en blanc sur le sable */
.actions .btn-ghost,.tiroir-actions .btn-ghost{flex:none;padding:0 18px;font-size:15px;background:#fff;border-color:transparent}
/* Sous 480 px, « Écouter » seul : les deux boutons tiennent encore sur une ligne (le nom complet reste lu par aria-label) */
.lib-court{display:none}
@media (max-width:479px){.lib-long{display:none}.lib-court{display:inline}}
.btn svg{flex:none;width:18px;height:18px}
/* Le texte crème sur l'orange de la marque passe le contraste AA en grand texte gras (19 px) : la piste que site.css
   recommande pour les boutons d'action, sans toucher à la couleur (décision de Steven du 10/09/2026). */
.actions .btn-primary,.tiroir-actions .btn-primary,.barre .btn-primary,.ecoute-creer .btn-primary{font-size:19px}
.actions .btn-primary,.tiroir-actions .btn-primary{flex:1 1 auto}
.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
.btn[aria-disabled="true"]:active{transform:none}

/* ---- Téléphone : la barre du bas ---- */
.barre{display:none}
@media (max-width:999px){
  .barre{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;align-items:center;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--bord);background:var(--papier);box-shadow:0 -10px 28px -18px rgba(51,40,25,.4);transition:transform 220ms var(--eo)}
  .barre[hidden]{display:none}
  /* Repliée quand les boutons sous l'aperçu sont à l'écran : jamais deux fois la même action sous les yeux */
  .barre.repliee{transform:translateY(calc(100% + 12px))}
}
.barre-voir{display:flex;flex:1;align-items:center;gap:10px;min-width:0;min-height:48px;margin:0;padding:4px 8px 4px 4px;border:0;border-radius:14px;background:transparent;text-align:left;font-family:var(--body);color:var(--encre);cursor:pointer;transition:background 160ms var(--eo)}
.barre-voir:active{background:var(--carte)}
.barre-vignettes{display:flex;flex:none}
.barre-vignettes img{width:32px;height:32px;border:2px solid var(--papier);border-radius:10px;object-fit:cover;background:var(--carte)}
.barre-vignettes img + img{margin-left:-14px}
.barre-texte{display:grid;min-width:0;line-height:1.2}
.barre-texte b{overflow:hidden;font:700 15px var(--body);white-space:nowrap;text-overflow:ellipsis}
.barre-texte span{overflow:hidden;font-size:13px;color:var(--doux);white-space:nowrap;text-overflow:ellipsis}
.barre .btn{flex:none;min-height:48px;padding:0 18px}

/* ---- Le tiroir de l'aperçu : du bas sur téléphone (on le ferme aussi en le glissant), de la droite sur ordinateur ---- */
.tiroir{position:fixed;inset:auto 0 0 0;width:100%;max-width:none;height:auto;max-height:92dvh;margin:0;padding:0;border:0;border-radius:24px 24px 0 0;background:var(--papier);color:var(--encre);box-shadow:0 -16px 48px -24px rgba(51,40,25,.5);overflow:hidden;transform:translateY(100%);transition:transform 300ms var(--eo)}
.tiroir[open]{display:flex;flex-direction:column}
.tiroir.ouvert{transform:none}
.tiroir.glisse{transition:none}
.tiroir::backdrop{background:rgba(51,48,43,.45);opacity:0;transition:opacity 300ms var(--eo)}
.tiroir.ouvert::backdrop{opacity:1}
.tiroir-tete{position:relative;display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;padding:20px 16px 10px;touch-action:none;cursor:grab}
.poignee{position:absolute;top:8px;left:50%;width:40px;height:5px;margin-left:-20px;border-radius:999px;background:#CDBFA8}
.tiroir-tete h2{margin:0;font:700 19px/1.2 var(--display);letter-spacing:0}
.tiroir-fermer{display:grid;place-items:center;width:40px;height:40px;margin:0;border:0;border-radius:50%;corner-shape:round;background:var(--carte);color:var(--encre);cursor:pointer;transition:background 160ms var(--eo),transform 160ms var(--eo)}
.tiroir-fermer:hover{background:var(--bord)}
.tiroir-fermer:active{transform:scale(.94)}
.tiroir-fermer svg{width:18px;height:18px}
.tiroir-corps{flex:1;min-height:0;overflow:auto;padding:4px 16px 16px;overscroll-behavior:contain}
.tiroir-corps .apercu-cadre{margin:0 auto}
.tiroir-actions{display:flex;flex:none;gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--bord)}
.tiroir-actions .btn{min-height:50px}
html.tiroir-ouvert{overflow:hidden}
@media (min-width:1000px){
  .tiroir{inset:0 0 0 auto;width:min(880px,94vw);height:100dvh;max-height:none;border-radius:24px 0 0 24px;box-shadow:-16px 0 48px -24px rgba(51,40,25,.5);transform:translateX(100%)}
  .tiroir-tete{padding:16px 24px;cursor:default}
  .poignee{display:none}
  .tiroir-corps{padding:8px 24px 24px}
  .tiroir-actions{padding:12px 24px}
  .tiroir-actions{justify-content:flex-end}
  .tiroir-actions .btn-primary{flex:0 1 280px}
}

/* ---- La feuille A4 : 794 × 1123 px à 96 ppp, les règles d'impression des tableaux fixes ----
   Classes préfixées f- : site.css a déjà des .logo, .tete ou .pied qui fuiraient dans la feuille. Couleurs en dur,
   comme dans routines.mjs : la feuille imprimée ne suit pas un changement d'écran. */
.a4{--ligne:96px;--vignette:64px;--mot:26px;--geste:13px;--interligne:normal;position:relative;width:794px;height:1123px;padding:48px;background:#fff;color:#33302B;font-family:var(--body);font-weight:600;line-height:normal;text-align:left;-webkit-font-smoothing:antialiased;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.a4{box-sizing:border-box;corner-shape:round}
.a4 *{box-sizing:border-box;margin:0;padding:0;corner-shape:round}
.a4 h1,.a4 h2{font-family:var(--display);font-weight:800;color:#33302B;letter-spacing:0;line-height:1.15;text-wrap:wrap}
.a4 img{max-width:none}
.f-marque{display:flex;align-items:center;gap:8px;font:800 20px var(--display)}
.f-marque img{width:32px;height:32px}
.f-tete{position:relative;height:288px}
.a4 .f-tete h1{margin-top:24px;max-width:464px;font-size:44px;line-height:1.04;letter-spacing:-.4px}
.f-chute{display:block;color:#C35118}
.f-intro{margin-top:16px;max-width:464px;text-wrap:balance;font-size:15px;line-height:1.5;color:#6F6455}
.f-intro b{display:block;color:#33302B;font-weight:700}
.f-atouts{display:flex;gap:8px;margin-top:16px}
.f-atouts span{font:700 12.5px var(--body);border:1.5px solid #EBE1D0;border-radius:999px;padding:5px 12px}
.f-kawi{position:absolute;height:auto}
.f-tableau{position:relative;z-index:1;background:#fff;border:2px solid #33302B;border-radius:24px;padding:0 12px}
.f-ligne{display:grid;grid-template-columns:var(--vignette) minmax(0,1fr) repeat(7,58px);align-items:center}
.f-jours{height:56px;border-bottom:1.5px solid #EBE1D0}
.f-jour{text-align:center;line-height:1.1}
.f-jour b{display:block;font:800 15px var(--display)}
.f-jour span{display:block;font:600 9.4px var(--body);color:#6F6455;letter-spacing:-.2px}
.f-mission{height:var(--ligne);border-bottom:1px solid #EBE1D0}
.f-mission:last-child{border-bottom:0}
.f-vignette{width:var(--vignette);height:var(--vignette);border-radius:calc(var(--vignette) * .22);overflow:hidden;background:#FBF7EF}
.f-vignette img{display:block;width:100%;height:100%;object-fit:cover}
.f-texte{min-width:0;padding:0 12px}
.f-geste{font:700 var(--geste)/var(--interligne) var(--body);text-wrap:balance}
.f-mot{margin-top:2px;font:800 var(--mot)/1.1 var(--display);white-space:nowrap}
.f-trad{margin-top:1px;font:600 12.5px var(--body);color:#6F6455}
.f-case{display:flex;justify-content:center}
.f-case svg{width:40px;height:40px}
.f-bas{position:absolute;left:48px;right:48px;top:888px;display:grid;grid-template-columns:minmax(0,1fr) 344px;gap:16px;height:152px}
.f-recompense{display:flex;flex-direction:column;min-width:0;border:2px dashed #F2A93B;border-radius:24px;padding:16px 24px}
.a4 .f-recompense h2{display:flex;align-items:center;gap:8px;font-size:20px}
.f-recompense h2 svg{flex:none;width:26px;height:26px}
.f-recompense p{margin-top:4px;font-size:13px;line-height:1.45;color:#6F6455}
.a4 .f-recompense .f-choisie{margin-top:auto;padding-bottom:4px;border-bottom:1.5px solid #6F6455;font:700 20px/1.25 var(--display);color:#33302B;overflow-wrap:anywhere}
.f-trait{margin-top:auto;border-bottom:1.5px solid #6F6455}
.f-ecoute{display:flex;align-items:center;gap:16px;border:2px solid #33302B;border-radius:24px;padding:12px 16px 12px 12px}
.f-qr{position:relative;flex:none;width:120px;height:120px}
.f-qr .f-code{display:block;width:120px;height:120px}
.f-qr .f-logo{position:absolute;left:50%;top:50%;width:30px;height:30px;transform:translate(-50%,-50%);background:#fff;border-radius:8px;padding:3px}
.a4 .f-ecoute h2{font-size:19px;line-height:1.15}
.f-ecoute p{margin-top:6px;font-size:12px;line-height:1.45;color:#6F6455}
.f-pied{position:absolute;left:48px;right:48px;bottom:48px;display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:#6F6455}
.f-pied b{font-weight:700;color:#33302B}

/* ---- La page d'écoute (ce que le QR ouvre) : les cartes-mots du site ---- */
.ecoute-page h1{margin-bottom:8px}
.ecoute-page .routine-sous{margin:0 0 20px}
.ecoute-source{margin:20px 0 0;font-size:14px;color:var(--doux)}
.ecoute-creer{margin-top:24px}

@media (prefers-reduced-motion:reduce){
  .pastilles span,.tuile-choix,.tuile-son,.jauge,.ordre > summary,.ordre-boutons button,.agrandir,.barre,.barre-voir,.tiroir,.tiroir::backdrop,.tiroir-fermer{transition:none}
  .pastilles label:active span,.tuile-choix:active,.tuile-son:active,.ordre > summary:active,.ordre-boutons button:active,.tiroir-fermer:active{transform:none}
  .tuile-rang.pop,.ordre-item.bouge{animation:none}
}

/* ---- L'impression : la feuille seule, à sa taille, sur une page A4 sans marge ---- */
@media print{
  @page{size:A4;margin:0}
  /* Tout ce qui n'est pas la feuille : en-tête et pied du site, bandeau des cookies, barre, tiroir, page d'écoute */
  body > :not(#compositeur),.reglages,.cote-tete,.zone-actions{display:none !important}
  html,body{margin:0 !important;padding:0 !important;background:#fff !important}
  .compositeur{display:block !important;max-width:none;margin:0;padding:0}
  /* Le panneau sable n'existe qu'à l'écran : son rembourrage ferait passer la feuille sur une deuxième page. */
  .cote{position:static !important;padding:0 !important;border-radius:0 !important;background:none !important;box-shadow:none !important}
  .cote-collant{position:static !important;height:auto !important;padding:0 !important;display:block !important}
  .compositeur.wrap{padding:0 !important;background:none !important}
  /* 1122 px et pas 1123 : la page A4 mesure 1122,5 px, le pixel de trop ouvrirait une deuxième page blanche. */
  #cadre{width:794px !important;height:1122px !important;border-radius:0 !important;outline:0 !important;box-shadow:none !important}
  #cadre .a4{transform:none !important}
}
