/* Boxy IA — le thème « graphite » de S.T.A.R.K. */
:root {
  --bg: #05070b; --bg2: #080b10; --surface: #0c1016; --surface2: #11161e; --surface3: #171d27;
  --line: rgba(168,196,232,.075); --line2: rgba(168,196,232,.125); --line3: rgba(168,196,232,.2);
  --text: #e8edf4; --text2: #a3aec0; --text3: #6c788c; --fort: #fff;
  --accent: #4cc2ff; --ok: #3fd69a; --warn: #f2b54c; --err: #ff6070;
  --verre: rgba(17,22,30,.72); --c: #ff8a3d;
  --f: Inter, "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --fd: Saira, "Segoe UI Variable Display", "Segoe UI", -apple-system, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); font-family: var(--f); font-size: 15px; }
body { background: linear-gradient(180deg, #070a0f 0%, var(--bg) 55%) fixed; }
a { color: #7fd0ff; } a:hover { color: #b5e4ff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
.cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.marque b { font-family: var(--fd); font-weight: 600; letter-spacing: .32em; font-size: 15px; }
.marque small { display: block; font-size: 12px; color: var(--text2); margin-top: 2px; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid var(--line3); background: rgba(255,255,255,.03); color: var(--text);
  text-decoration: none; font-weight: 600; cursor: pointer; }
.btn:hover { background: rgba(255,255,255,.07); color: var(--fort); }
.btn.plein { background: var(--fort); color: var(--bg); border-color: var(--fort); }
.btn.plein:hover { background: #dfe7f2; color: var(--bg); }
.btn[disabled] { opacity: .5; cursor: default; }
.lien { background: none; border: 0; color: #7fd0ff; cursor: pointer; padding: 6px; text-decoration: underline; }

/* champs */
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ > label, .legende { font-size: 14px; font-weight: 600; color: var(--text); }
.saisie { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line3); background: rgba(255,255,255,.03); color: var(--text); }
.saisie::placeholder, textarea::placeholder { color: var(--text3); }
.aide { font-size: 13px; color: var(--text2); line-height: 1.5; }
.erreur { color: #ffb3bb; font-size: 14px; min-height: 1.2em; }
.pastille { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); border: 1px solid var(--line2); border-radius: 999px; padding: 7px 13px; }
.point { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.carte { border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(17,22,30,.78), rgba(9,12,17,.78)); border-radius: 20px; }
.pill { min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line3); background: transparent; color: var(--text); cursor: pointer; font-size: 14px; font-weight: 500; }
.pill[aria-pressed="true"] { background: var(--fort); color: var(--bg); border-color: var(--fort); }
input[type=range] { accent-color: var(--accent); width: 100%; }
input[type=checkbox] { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }

/* la goutte (version sans WebGL) */
.goutte { display: block; flex: none; border-radius: 47% 53% 44% 56% / 56% 46% 54% 44%;
  background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.9) 0, rgba(255,255,255,.5) 4%, rgba(255,255,255,0) 14%),
    radial-gradient(circle at 70% 78%, rgba(255,255,255,.16) 0, rgba(255,255,255,0) 35%),
    radial-gradient(circle at 42% 38%, color-mix(in srgb, var(--c) 70%, #fff) 0%, var(--c) 42%, color-mix(in srgb, var(--c) 45%, #000) 100%);
  box-shadow: inset -8% -10% 20% rgba(0,0,0,.4); box-shadow: inset -6px -8px 16px rgba(0,0,0,.45), inset 3px 3px 8px rgba(255,255,255,.12); }
.goutte.grande { width: 176px; height: 158px; filter: drop-shadow(0 18px 40px color-mix(in srgb, var(--c) 35%, transparent));
  box-shadow: inset -14px -18px 36px rgba(0,0,0,.45), inset 7px 7px 18px rgba(255,255,255,.12); animation: respire 7s ease-in-out infinite; }
.goutte.moyenne { width: 64px; height: 58px; box-shadow: inset -6px -7px 14px rgba(0,0,0,.45), inset 3px 3px 7px rgba(255,255,255,.12); }
.goutte.petite { width: 30px; height: 27px; }
.goutte.mini { width: 14px; height: 13px; box-shadow: none; }
.scene { position: relative; display: flex; align-items: center; justify-content: center; }
.scene::before { content: ""; position: absolute; inset: -40px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent) 0%, transparent 62%); }
.scene .goutte { position: relative; }
@keyframes respire { 0%, 100% { transform: rotate(-12deg) scale(1); border-radius: 47% 53% 44% 56% / 56% 46% 54% 44%; }
  50% { transform: rotate(-6deg) scale(1.04); border-radius: 52% 48% 50% 50% / 50% 52% 48% 50%; } }
.reflechit .goutte.grande, .reflechit .goutte.moyenne { animation: respire 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .goutte { animation: none !important; } }

/* pages simples (accueil, connexion, formules) */
.haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(16px, 4vw, 40px); }
.contenu { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px) 56px; }
h1, h2, h3 { font-family: var(--fd); font-weight: 500; color: var(--fort); letter-spacing: .01em; }
.pied { text-align: center; font-size: 13px; color: var(--text3); padding: 24px 16px 32px; }
.grille-formules { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.formule { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.formule.mise-en-avant { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.formule ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; font-size: 14.5px; line-height: 1.45; color: #d3dbe6; }
.formule li { display: flex; gap: 10px; } .formule li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.prix { margin: 0; display: flex; align-items: baseline; gap: 6px; } .prix b { font-family: var(--fd); font-size: 40px; font-weight: 600; color: var(--fort); }
.prix span { color: var(--text2); }
.bascule { display: inline-flex; border: 1px solid var(--line3); border-radius: 999px; padding: 4px; gap: 4px; }
.bascule button { border: 0; background: none; color: var(--text2); padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 36px; }
.bascule button[aria-pressed="true"] { background: var(--fort); color: var(--bg); }

/* l'appli */
.appli { min-height: 100vh; display: flex; flex-wrap: wrap; gap: 16px; padding: 14px; }
.barre { flex: 1 1 260px; max-width: 280px; min-height: calc(100vh - 28px); display: flex; flex-direction: column; gap: 14px; padding: 18px 12px 14px;
  border-radius: 22px; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(17,22,30,.78), rgba(9,12,17,.78)); }
.barre .titre-groupe { display: flex; justify-content: space-between; padding: 6px 8px 2px; font-size: 13px; font-weight: 600; color: var(--text2); }
.ligne { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--text); text-decoration: none;
  font-size: 14px; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; }
.ligne:hover { background: rgba(255,255,255,.04); }
.ligne[aria-current="page"] { background: rgba(255,255,255,.07); }
.ligne .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.ligne .d { color: var(--text3); font-size: 12px; flex: none; }
.ligne .act { opacity: 0; display: flex; gap: 2px; } .ligne:hover .act, .ligne:focus-within .act { opacity: 1; }
.icone-btn { width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text2); }
.icone-btn:hover { background: rgba(255,255,255,.08); color: var(--fort); }
.membre { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; color: var(--text); text-decoration: none; border: 0; background: none; width: 100%; text-align: left; cursor: pointer; }
.membre[aria-current="true"] { background: rgba(255,255,255,.05); }
.membre b { font-family: var(--fd); font-weight: 600; font-size: 14.5px; letter-spacing: .02em; }
.membre small { display: block; font-size: 12.5px; color: var(--text2); }
.membre.pause { opacity: .55; }
.principal { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; min-height: calc(100vh - 28px); }
.entete { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 6px 8px 0; }
.entete h1 { font-family: var(--f); font-size: 16px; font-weight: 500; color: var(--text); margin: 0; margin-right: auto; }
.fil { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 26px; }
.bulle { align-self: flex-end; max-width: 75%; font-size: 16px; line-height: 1.5; background: rgba(17,22,30,.85); border: 1px solid var(--line2); border-radius: 18px; padding: 12px 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.reponse { display: flex; gap: 14px; align-items: flex-start; }
.reponse .corps { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.reponse .qui { display: flex; align-items: baseline; gap: 10px; }
.reponse .qui b { font-family: var(--fd); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.reponse .qui span { font-size: 12.5px; color: var(--text3); }
.badge { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line3); color: var(--text2); }
.texte { font-size: 16px; line-height: 1.65; color: #e3e9f1; overflow-wrap: anywhere; }
.texte p { margin: 0 0 10px; } .texte p:last-child { margin-bottom: 0; }
.texte ul, .texte ol { margin: 0 0 10px; padding-left: 22px; } .texte li { margin: 3px 0; }
.texte code { background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.outils-msg { display: flex; gap: 4px; }
.remarque { font-size: 13px; color: #f6d79b; }
.saisie-bloc { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 24px 8px; }

.composeur textarea:focus-visible { outline: none; }

.rond { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #2a3240; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); flex: none; }
.rond:hover { background: #36404f; } .rond[disabled] { opacity: .5; cursor: default; }
.rond.actif { background: var(--err); }

.accueil { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; }
.accueil h2 { margin: 6px 0 0; font-size: clamp(30px, 3.4vw, 40px); }
.accueil .question { margin: -8px 0 0; font-size: 17px; color: var(--text2); text-align: center; }
.suggestions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 780px; }
.suggestions button { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255,255,255,.02); color: var(--text); cursor: pointer; font-size: 15px; }
.suggestions button:hover { background: rgba(255,255,255,.06); }
.bandeau { align-self: center; margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #bff3dc; background: rgba(63,214,154,.1); border: 1px solid rgba(63,214,154,.3); border-radius: 999px; padding: 9px 16px; }
.mention { margin: 10px 0 4px; text-align: center; font-size: 12.5px; color: var(--text3); }
.points span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: var(--text2); animation: pt 1.2s infinite; }
.points span:nth-child(2) { animation-delay: .2s; } .points span:nth-child(3) { animation-delay: .4s; }
@keyframes pt { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.fenetre-fond { position: fixed; inset: 0; background: rgba(2,4,8,.7); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 10; }
.fenetre { max-width: 460px; width: 100%; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 760px) {
  .appli { padding: 8px; gap: 8px; }
  .barre { max-width: none; min-height: 0; flex-basis: 100%; }
  .principal { min-height: 80vh; }
  .fil, .saisie-bloc { padding-left: 8px; padding-right: 8px; }
  .bulle { max-width: 90%; }
}

/* compléments */
.titre-groupe { display: flex; justify-content: space-between; padding: 10px 12px 4px; font-size: 12.5px; font-weight: 600; color: var(--text2); }
.legende { font-size: 14px; font-weight: 600; color: var(--text); padding: 0; }
.membre[aria-current="true"] { background: rgba(255,255,255,.06); }
.ligne[aria-current="true"] .t { color: var(--fort); }
[hidden] { display: none !important; }
.barre { flex: 0 0 272px; width: 272px; max-width: 272px; position: sticky; top: 14px; align-self: flex-start; max-height: calc(100vh - 28px); overflow: auto; }
.appli { flex-wrap: nowrap; }
.principal { min-width: 0; }
#menu { display: none; }
@media (max-width: 760px) {
  #menu { display: inline-flex; }
  .barre { position: fixed; inset: 0 auto 0 0; top: 0; width: min(86vw, 320px); max-width: none; max-height: none; height: 100vh; border-radius: 0 22px 22px 0;
    z-index: 20; transform: translateX(-105%); transition: transform .2s ease; background: #0a0e14; }
  .appli.menu-ouvert .barre { transform: none; }
  .appli.menu-ouvert::after { content: ""; position: fixed; inset: 0; background: rgba(2,4,8,.6); z-index: 15; }
  .entete { flex-wrap: wrap; }
  .entete .pastille:first-of-type { display: none; }
}
@media (prefers-reduced-motion: reduce) { .barre { transition: none; } }
#ajouter { white-space: nowrap; }

/* travail d'équipe */
.rond.equipe-actif { background: var(--accent) !important; color: #05070b; }
.contribs { border: 1px solid var(--line2); border-radius: 14px; padding: 10px 14px; background: rgba(255,255,255,.02); }
.contribs summary { cursor: pointer; font-size: 13.5px; color: var(--text2); }
.contribs[open] summary { margin-bottom: 10px; }
.contrib { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.contrib .qui { display: flex; align-items: center; gap: 8px; }
.contrib .qui b { font-family: var(--fd); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }

/* fenêtre « mémoire de l'assistante » */
.dialogue { width: min(560px, calc(100vw - 32px)); background: var(--surface2); color: var(--text); border: 1px solid var(--line2);
  border-radius: 18px; padding: 24px; }
.dialogue::backdrop { background: rgba(0,0,0,.6); }

/* zone d'écriture, façon ChatGPT / Claude / Mistral : le texte sur toute la largeur, les boutons en dessous */
.composeur { display: flex; flex-direction: column; gap: 4px; background: #151b25; border: 1px solid rgba(255,255,255,.16);
  border-radius: 26px; padding: 12px 12px 10px; box-shadow: 0 10px 34px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.02) inset;
  transition: border-color .15s, box-shadow .15s; }
.composeur:focus-within { border-color: rgba(255,255,255,.3); box-shadow: 0 10px 34px rgba(0,0,0,.5), 0 0 0 3px rgba(76,194,255,.12); }
.composeur textarea { width: 100%; resize: none; border: 0; background: transparent; color: var(--text); font-size: 17px;
  line-height: 1.5; padding: 6px 8px 8px; min-height: 52px; max-height: 220px; }
.composeur textarea::placeholder { color: #8b95a7; }
.barre-saisie { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.barre-saisie .gauche, .barre-saisie .droite { display: flex; align-items: center; gap: 6px; }
.rond.discret { background: transparent; color: var(--text2); width: 40px; height: 40px; }
.rond.discret:hover { background: rgba(255,255,255,.07); color: var(--text); }
.rond.envoi { width: 40px; height: 40px; background: #3a4250; color: #8b95a7; transition: background .15s, color .15s; }
.rond.envoi.pret { background: #f4f6fa; color: #05070b; }
.rond.envoi.pret:hover { background: #ffffff; }
.niveau { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--text2); border-radius: 999px;
  padding: 0 12px; font-size: 13.5px; height: 34px; cursor: pointer; }
.niveau:hover { color: var(--text); border-color: rgba(255,255,255,.24); }
@media (max-width: 720px) {
  .composeur { border-radius: 22px; padding: 10px 10px 8px; }
  .composeur textarea { font-size: 16px; min-height: 44px; }
}
.rond.discret.actif { background: var(--err); color: #fff; }

/* menu : les blocs ne se tassent jamais les uns sur les autres ; c'est le menu entier qui défile */
.barre > * { flex-shrink: 0; }
.barre { overscroll-behavior: contain; }
@media (max-width: 760px) {
  .barre { height: 100dvh; }
}
/* un message d'erreur vide ne laisse pas de trou dans la page */
main.contenu > .erreur:empty { display: none; }

.erreur:empty { display: none; }
/* conversations : le titre prend toute la place ; les boutons (renommer, supprimer) remplacent l'heure au survol,
   et restent visibles sur la conversation ouverte (pratique au doigt, sur téléphone) */
#convs .ligne .act { display: none; opacity: 1; }
#convs .ligne:hover .act, #convs .ligne:focus-within .act, #convs .ligne[aria-current="true"] .act { display: flex; }
#convs .ligne:hover .d, #convs .ligne:focus-within .d, #convs .ligne[aria-current="true"] .d { display: none; }

/* ======================================================================== 2.4 */
:root { --taille-texte: 16px; }
html.texte-petit { --taille-texte: 14.5px; }
html.texte-grand { --taille-texte: 18px; }
.reponse .texte, .bulle { font-size: var(--taille-texte); }
.composeur textarea { font-size: max(16px, calc(var(--taille-texte) + 1px)); }
html.sans-animations *, html.sans-animations *::before, html.sans-animations *::after { animation: none !important; transition: none !important; }
kbd { font-family: var(--f); font-size: 12.5px; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line3); border-bottom-width: 2px;
  background: rgba(255,255,255,.04); color: var(--text); white-space: nowrap; }
.btn svg { flex: none; }
.btn.petit { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
.btn.plein.danger { background: var(--err); border-color: var(--err); color: #fff; }
.btn.plein.danger:hover { background: #ff7885; color: #fff; }
.btn.danger-contour { border-color: rgba(255,96,112,.45); color: #ffb3bb; }
.btn.danger-contour:hover { background: rgba(255,96,112,.1); color: #ffd2d7; }

/* menu de gauche : la liste des conversations prend la place libre et défile seule ; le compte reste en bas */
.ligne.nouvelle { border: 1px solid var(--line2); background: rgba(255,255,255,.03); font-weight: 500; min-height: 42px; }
.ligne.nouvelle:hover { background: rgba(255,255,255,.07); }
.barre > .bloc-convs { flex: 1 1 0; min-height: 220px; display: flex; flex-direction: column; gap: 4px; }
.saisie.chercher { padding: 8px 12px; min-height: 38px; border-radius: 10px; font-size: 13.5px; background: rgba(255,255,255,.025); }
.convs { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 1px; }
.convs > * { flex-shrink: 0; }
.groupe-convs { padding: 12px 12px 3px; font-size: 12px; font-weight: 600; color: var(--text3); }
.groupe-convs:first-child { padding-top: 4px; }
.ligne.conv { min-height: 38px; padding: 7px 6px 7px 12px; }
.ligne.conv .d { padding-right: 6px; }
.epingle-ico { display: inline-flex; vertical-align: -2px; margin-right: 5px; color: var(--text3); }
.epingle-ico svg { width: 13px; height: 13px; }
.ligne .t .goutte.mini { display: inline-block; vertical-align: -1px; margin-right: 7px; }
.ligne .extrait { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal;
  font-size: 12px; line-height: 1.4; color: var(--text3); margin-top: 2px; }
.convs .aide.vide { padding: 6px 12px; margin: 0; }
.membre.ajouter { color: var(--text2); font-size: 14px; }
.membre.ajouter:hover { color: var(--text); background: rgba(255,255,255,.04); }
.bloc-bas { display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.profil-btn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; margin-top: 4px; border-radius: 14px; border: 0;
  background: none; color: var(--text); cursor: pointer; text-align: left; }
.profil-btn:hover, .profil-btn[aria-expanded="true"] { background: rgba(255,255,255,.06); }
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2b3747, #18202b); border: 1px solid var(--line3); color: var(--fort); font-weight: 600; font-size: 14px; }
.profil-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.profil-texte b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profil-texte small { font-size: 12px; color: var(--text2); }
.profil-reste { flex: none; font-size: 11.5px; color: var(--text2); border: 1px solid var(--line2); border-radius: 999px; padding: 2px 8px; }

/* menus flottants (compte, actions d'une conversation) */
.menu-flottant { position: fixed; z-index: 40; min-width: 240px; max-width: min(320px, calc(100vw - 16px)); padding: 6px; border-radius: 14px;
  background: #121821; border: 1px solid var(--line3); box-shadow: 0 18px 48px rgba(0,0,0,.6); }
.menu-flottant .item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 9px; border: 0;
  background: none; color: var(--text); text-decoration: none; font-size: 14px; text-align: left; cursor: pointer; }
.menu-flottant .item svg { flex: none; color: var(--text2); }
.menu-flottant .item .t { flex: 1; min-width: 0; }
.menu-flottant .item small { flex: none; font-size: 12px; color: var(--text3); }
.menu-flottant .item:hover, .menu-flottant .item:focus-visible { background: rgba(255,255,255,.07); color: var(--fort); outline: none; }
.menu-flottant .item.danger, .menu-flottant .item.danger svg { color: #ff9aa5; }
.menu-flottant .sep { height: 1px; background: var(--line2); margin: 6px 4px; }

/* en-tête, bandeaux */
.pastille.lien-quota { text-decoration: none; color: var(--text); }
.pastille.lien-quota:hover { border-color: var(--line3); background: rgba(255,255,255,.04); }
.bandeau-install { display: flex; align-items: center; gap: 12px; width: calc(100% - 16px); max-width: 760px; margin: 12px auto 0; padding: 8px 8px 8px 16px;
  border-radius: 16px; border: 1px solid rgba(76,194,255,.28); background: rgba(76,194,255,.07); color: #d3eeff; font-size: 14px; line-height: 1.4; }
.bandeau-install > span:first-child { color: var(--accent); }
.bandeau-install .t { flex: 1; min-width: 0; }

/* discussion : la zone d'écriture reste en bas de l'écran, comme dans Claude */
.principal > .saisie-bloc { position: sticky; bottom: 0; z-index: 4; padding-top: 14px; background: linear-gradient(180deg, rgba(5,7,11,0), var(--bg) 14px); }
.saisie-bloc { position: relative; }
.vers-bas { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; z-index: 5;
  border: 1px solid var(--line3); background: #151b25; color: var(--text); box-shadow: 0 6px 20px rgba(0,0,0,.5); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.vers-bas:hover { background: #1d2532; color: var(--fort); }
.msg-client { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.msg-client .bulle { align-self: auto; }
.outils-msg { display: flex; align-items: center; gap: 2px; min-height: 32px; }
.outils-msg .icone-btn[aria-pressed="true"] { color: var(--fort); background: rgba(255,255,255,.09); }
@media (hover: hover) {
  .msg-client .outils-msg, .reponse .outils-msg { opacity: 0; transition: opacity .15s; }
  .msg-client:hover .outils-msg, .msg-client:focus-within .outils-msg, .msg-client.dernier .outils-msg,
  .reponse:hover .outils-msg, .reponse:focus-within .outils-msg, .reponse.dernier .outils-msg { opacity: 1; }
}
.curseur { display: inline-block; width: 9px; height: 9px; margin-left: 5px; border-radius: 50%; background: var(--c); vertical-align: middle;
  animation: pt 1s infinite; }
.rond.envoi.arret { background: #f4f6fa; color: #05070b; }
.mention.erreur-mention { color: #ffb3bb; }

/* fichiers joints */
.pieces { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 2px 6px; }
.pieces-msg { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 85%; }
.piece { display: inline-flex; align-items: center; gap: 8px; max-width: 250px; padding: 5px 6px 5px 5px; border-radius: 12px;
  border: 1px solid var(--line3); background: rgba(255,255,255,.04); font-size: 13px; color: var(--text); }
.piece img { width: 38px; height: 38px; object-fit: cover; border-radius: 8px; flex: none; }
.pieces-msg .piece img { width: 52px; height: 52px; }
.piece-ico { width: 38px; height: 38px; border-radius: 8px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(76,194,255,.12); color: var(--accent); }
.piece-nom { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.piece small { flex: none; color: var(--text3); font-size: 12px; padding-right: 4px; }
.piece-x { flex: none; width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--text2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.piece-x:hover { background: rgba(255,255,255,.16); color: var(--fort); }
.depot { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(5,7,11,.74); pointer-events: none; }
.depot > div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 48px; border-radius: 24px; text-align: center;
  border: 2px dashed rgba(76,194,255,.6); background: rgba(17,22,30,.92); }
.depot svg { width: 28px; height: 28px; color: var(--accent); }
.depot b { font-family: var(--fd); font-size: 20px; font-weight: 500; color: var(--fort); }
.depot small { font-size: 13.5px; color: var(--text2); }

/* contenu des réponses : titres, citations, tableaux, blocs de code */
.texte h2, .texte h3, .texte h4 { font-family: var(--f); font-weight: 600; color: var(--fort); line-height: 1.35; margin: 18px 0 8px; letter-spacing: 0; }
.texte h2 { font-size: 1.2em; } .texte h3 { font-size: 1.08em; } .texte h4 { font-size: 1em; }
.texte > :first-child { margin-top: 0; }
.texte hr { border: 0; border-top: 1px solid var(--line2); margin: 16px 0; }
.texte blockquote { margin: 0 0 10px; padding: 2px 0 2px 14px; border-left: 3px solid var(--line3); color: var(--text2); }
.texte s { color: var(--text2); }
.code { margin: 4px 0 12px; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; background: #0a0e14; }
.code-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 6px 5px 14px; font-size: 12px; color: var(--text3);
  background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line); }
.copier-code { min-height: 28px; padding: 3px 10px; border-radius: 8px; border: 1px solid var(--line3); background: none; color: var(--text2); font-size: 12px; cursor: pointer; }
.copier-code:hover { color: var(--fort); background: rgba(255,255,255,.06); }
.code pre { margin: 0; padding: 12px 14px; overflow-x: auto; font-size: 13.5px; line-height: 1.55; }
.texte .code code { background: none; border: 0; padding: 0; font-size: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tableau { overflow-x: auto; margin: 4px 0 12px; border: 1px solid var(--line2); border-radius: 12px; }
.tableau table { border-collapse: collapse; width: 100%; font-size: .92em; }
.tableau th, .tableau td { padding: 8px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tableau th { font-weight: 600; color: var(--fort); background: rgba(255,255,255,.03); white-space: nowrap; }
.tableau tr:last-child td { border-bottom: 0; }

/* fenêtres : raccourcis, installation */
.raccourcis { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: center; margin: 0; }
.raccourcis dt { white-space: nowrap; color: var(--text2); }
.raccourcis dd { margin: 0; font-size: 14px; color: var(--text); }
.etapes-install { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.5; }

/* petites notifications */
.toasts { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 70; display: flex; flex-direction: column; align-items: center;
  gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { background: #e8edf4; color: #05070b; font-size: 14px; font-weight: 500; line-height: 1.4; text-align: center; padding: 10px 16px; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.5); animation: toast-entre .18s ease-out; transition: opacity .3s, transform .3s; }
.toast.part { opacity: 0; transform: translateY(-6px); }
@keyframes toast-entre { from { opacity: 0; transform: translateY(-6px); } }

/* en-tête : une seule ligne, toujours visible en haut */
.entete { position: sticky; top: 0; z-index: 6; flex-wrap: nowrap; padding: 8px 8px 6px; background: transparent;
  transition: background-color .15s, box-shadow .15s; }
/* fond plein seulement quand la page défile (sinon l'en-tête dessinait un rectangle au-dessus de la goutte) */
.entete.colle { background: var(--bg); box-shadow: 0 1px 0 var(--line2); }
.entete h1 { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entete > :not(h1) { flex: none; }
/* l'équipe : une rangée compacte de gouttes (le métier s'affiche au survol) */
.equipe-rangee { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.equipe-rangee::-webkit-scrollbar { display: none; }
.equipe-membres { display: contents; }
.equipe-rangee .membre { flex: 1 1 0; min-width: 44px; max-width: 64px; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px 6px;
  border-radius: 12px; text-align: center; }
.equipe-rangee .membre > span:not(.goutte):not(.plus-rond) { display: block; max-width: 100%; }
.equipe-rangee .membre b, .equipe-rangee .membre.ajouter b { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--f); font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--text2); }
.equipe-rangee .membre small { display: none; }
.equipe-rangee .membre:hover { background: rgba(255,255,255,.04); }
.equipe-rangee .membre[aria-current="true"] { background: rgba(255,255,255,.07); }
.equipe-rangee .membre[aria-current="true"] b { color: var(--fort); font-weight: 600; }
.plus-rond { width: 30px; height: 27px; border-radius: 50%; border: 1px dashed var(--line3); display: inline-flex; align-items: center; justify-content: center; color: var(--text2); }
.plus-rond svg { width: 15px; height: 15px; }
.membre.ajouter:hover .plus-rond { border-color: var(--text2); color: var(--fort); }

/* zone d'écriture : la rangée de boutons ne dépasse jamais, même sur un petit téléphone avec le texte agrandi */
.barre-saisie { flex-wrap: nowrap; }
.barre-saisie .gauche { flex: 1 1 auto; min-width: 0; }
.barre-saisie .droite { flex: none; }
.barre-saisie .rond { flex: none; }
.niveau { flex: 0 1 auto; min-width: 62px; max-width: 132px; height: auto; min-height: 34px; text-overflow: ellipsis; }
/* l'accueil */
.scene-accueil { width: 240px; height: 210px; }
.accueil h2, .accueil .question, .param-titre, .param-section-titre, h1, h2, h3 { text-wrap: balance; }
p, li, dd, .aide, small { text-wrap: pretty; }
/* les choix à deux ou trois boutons restent sur une ligne ; c'est le texte d'un bouton qui passe à la ligne s'il le faut */
.bascule { flex-wrap: nowrap; max-width: 100%; }
.bascule button { flex: 0 1 auto; min-width: 0; line-height: 1.25; }
.bascule .offre { font-size: .88em; opacity: .85; }
.bascule .offre::before { content: " · "; }

@media (max-width: 760px) {
  .entete { margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
  .accueil { padding: 8px 0 20px; gap: 14px; }
  .scene-accueil { width: 176px; height: 150px; }
  .scene-accueil .goutte.grande { width: 128px; height: 115px; }
  .accueil h2 { font-size: 28px; margin-top: 2px; }
  .accueil .question { font-size: 16px; padding: 0 12px; }
  .suggestions { flex-direction: column; align-items: stretch; width: 100%; padding: 0 8px; gap: 8px; }
  .suggestions button { justify-content: flex-start; text-align: left; border-radius: 16px; font-size: 14.5px; padding: 10px 14px; }
  .bascule button { padding: 8px 12px; }
  .haut .marque small { display: none; }
  .cache-tel { display: none !important; }
  .raccourcis { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .raccourcis dd { margin-bottom: 8px; }
  .bascule .offre { display: block; }
  .bascule .offre::before { content: none; }
  .haut .btn { min-height: 40px; padding: 8px 16px; }
  .tuile { padding: 12px 14px; }
  .tuile b { font-size: 22px; }
  .entete .pastille, .entete .badge { display: none; }
  .bandeau-install { width: calc(100% - 8px); padding-left: 12px; font-size: 13.5px; }
  .pieces-msg { max-width: 95%; }
}
@media (prefers-reduced-motion: reduce) { .curseur, .toast { animation: none; } }

/* ======================================================================== page Paramètres */
.contenu.param { max-width: 1040px; }
.param-titre { font-size: 30px; margin: 6px 0 22px; }
.param-grille { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; }
.param-nav { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; }
.param-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text2); text-decoration: none; font-size: 14.5px; }
.param-nav a svg { flex: none; }
.param-nav a:hover { background: rgba(255,255,255,.04); color: var(--text); }
.param-nav a[aria-current="page"] { background: rgba(255,255,255,.07); color: var(--fort); }
.param-contenu { min-width: 0; outline: none; transition: opacity .15s; }
.param-contenu.charge { opacity: .55; }
.param-section-titre { font-size: 22px; margin: 0 0 14px; }
.param-bloc { padding: 22px 0; border-top: 1px solid var(--line2); }
.param-bloc:first-of-type { border-top: 0; padding-top: 4px; }
.param-bloc h3 { font-family: var(--f); font-size: 16.5px; font-weight: 600; margin: 0 0 4px; }
.param-desc { margin: 0 0 12px; }
.param-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 12px 0; }
.param-ligne + .param-ligne { border-top: 1px solid var(--line); }
.param-libelle { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.param-libelle > label, .param-libelle > span { font-size: 14.5px; font-weight: 500; color: var(--text); }
.param-libelle small { font-size: 13px; line-height: 1.45; color: var(--text2); }
.param-controle { flex: 0 1 auto; min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 10px; }
.param-controle .saisie { width: 260px; max-width: 100%; padding: 9px 12px; }
.param-controle .rang { flex-wrap: nowrap; }
.param-controle .rang .saisie { width: 200px; }
.param-controle input[type=range] { width: 170px; }
.valeur { font-size: 14.5px; color: var(--text2); overflow-wrap: anywhere; }
.rang { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rang.fin { justify-content: flex-end; margin-top: 12px; }
.param-bloc .champ + .champ { margin-top: 16px; }
.param-bloc .champ textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.compteur { align-self: flex-end; font-size: 12px; color: var(--text3); }
.param-resume { margin: 0 0 8px; font-size: 14.5px; color: var(--text2); }
.param-resume b { color: var(--text); font-weight: 600; }
.param-annonce { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 6px;
  border-radius: 14px; border: 1px solid rgba(76,194,255,.3); background: rgba(76,194,255,.07); }
.param-annonce p { margin: 0; font-size: 14.5px; }
.interrupteur { position: relative; flex: none; width: 50px; height: 30px; padding: 0; border-radius: 999px; border: 1px solid var(--line3);
  background: #2a3240; cursor: pointer; transition: background .15s, border-color .15s; }
.interrupteur .bille { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #c9d2de; transition: transform .15s; }
.interrupteur[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.interrupteur[aria-checked="true"] .bille { transform: translateX(20px); background: #fff; }
.memoires { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.memoire { border: 1px solid var(--line2); border-radius: 14px; padding: 12px 14px; }
.memoire-tete { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.memoire-tete b { flex: 1; font-family: var(--fd); font-weight: 600; letter-spacing: .04em; }
.memoire-texte { font-size: 14px; max-height: 220px; overflow: auto; }
/* utilisation : jauges, colonnes, classement */
.jauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 32px; }
.jauge-ligne { display: flex; flex-direction: column; gap: 6px; }
.jauge-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; }
.jauge-tete b { font-weight: 600; color: var(--fort); font-variant-numeric: tabular-nums; white-space: nowrap; }
.jauge { height: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.jauge span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.jauge.bientot span { background: var(--warn); }
.jauge.epuise span { background: var(--err); }
.jauge-ligne small { font-size: 12.5px; color: var(--text2); }
.graphe { margin: 0; }
.graphe figcaption { font-size: 13.5px; color: var(--text2); margin-bottom: 14px; }
.graphe-zone { position: relative; height: 180px; margin-left: 44px; }
.graphe-grille { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--line); }
.graphe-grille:nth-child(3) { border-top-color: var(--line3); }
.graphe-grille span { position: absolute; right: calc(100% + 8px); top: -8px; font-size: 11.5px; color: var(--text3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.graphe-barres { position: absolute; inset: 0; display: grid; grid-template-rows: 100%; gap: 2px; }
.graphe-col { position: relative; display: flex; align-items: flex-end; justify-content: center; border-radius: 6px 6px 0 0; outline: none; }
.graphe-col:not(.futur):hover, .graphe-col:focus-visible { background: rgba(255,255,255,.045); }
.graphe-col:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.graphe-barre { display: block; width: min(24px, 72%); background: var(--accent); border-radius: 4px 4px 0 0; }
.graphe-valeur { position: absolute; left: 50%; transform: translateX(-50%); font-size: 11.5px; color: var(--text2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.graphe-axe { display: grid; gap: 2px; margin: 7px 0 0 44px; }
.graphe-axe span { text-align: center; font-size: 11.5px; color: var(--text3); white-space: nowrap; }
.graphe-vide { position: absolute; inset: 0 0 1px; display: flex; align-items: center; justify-content: center; margin: 0;
  font-size: 13px; color: var(--text3); pointer-events: none; }
.graphe-chiffres { margin-top: 12px; }
.graphe-chiffres summary { cursor: pointer; font-size: 13px; color: var(--text2); }
.table-param { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.table-param th, .table-param td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.table-param th { color: var(--text2); font-weight: 600; }
.table-param th:not(:first-child), .table-param td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tableau .table-param { margin: 0; }
.tableau .table-param tr:last-child td { border-bottom: 0; }
.infobulle { position: fixed; z-index: 50; pointer-events: none; display: flex; flex-direction: column; gap: 2px; max-width: 240px; padding: 7px 10px;
  border-radius: 10px; background: #e8edf4; color: #05070b; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
.infobulle b { font-weight: 600; }
.infobulle span { font-size: 12px; color: #3b4656; }
.classement { display: flex; flex-direction: column; gap: 10px; }
.classement-ligne { display: grid; grid-template-columns: minmax(90px, 150px) 1fr auto; align-items: center; gap: 12px; font-size: 14px; }
.classement-nom { display: flex; align-items: center; gap: 8px; min-width: 0; }
.classement-nom span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.classement-piste { height: 10px; }
.classement-barre { display: block; height: 100%; min-width: 2px; background: var(--c); border-radius: 0 4px 4px 0; }
.classement-ligne b { min-width: 3ch; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.tuiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.tuile { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line2); border-radius: 14px; }
.tuile span { font-size: 13px; color: var(--text2); }
.tuile b { font-family: var(--fd); font-size: 26px; font-weight: 600; color: var(--fort); font-variant-numeric: tabular-nums; }
.tuile small { font-size: 12.5px; line-height: 1.4; color: var(--text3); }
/* abonnement, sécurité, données, application, administration */
.formule-actuelle { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.formule-actuelle b { font-family: var(--fd); font-size: 26px; font-weight: 600; color: var(--fort); }
.formule-actuelle span:not(.badge) { color: var(--text2); }
.liste-coche { list-style: none; margin: 4px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.liste-coche li { display: flex; gap: 10px; }
.liste-coche li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.param-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.appareils { display: flex; flex-direction: column; }
.appareil { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.appareil b { display: block; font-size: 14.5px; font-weight: 500; }
.appareil small { font-size: 12.5px; color: var(--text2); }
.appareil .badge, .appareil .btn { flex: none; white-space: nowrap; }
.sans-coupure { white-space: nowrap; }
.liens-docs { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.statut-appli { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.statut-appli .etapes-install { width: 100%; }
.etat-systeme { list-style: none; margin: 0; padding: 0; }
.etat-systeme li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.etat-systeme li .point { align-self: center; }
.etat-systeme li.non .point { background: var(--warn); }
.etat-systeme li b { font-weight: 500; min-width: 180px; }
.etat-systeme li span:last-child { color: var(--text2); }
.invitation { display: flex; flex-direction: column; gap: 12px; }
.invitation > div:not(.rang) { display: flex; flex-direction: column; gap: 3px; }
.code-invit { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 20px; letter-spacing: .08em; color: var(--fort); }
.invitation a { font-size: 14px; overflow-wrap: anywhere; }
.liste-simple { list-style: none; margin: 0; padding: 0; }
.liste-simple li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.liste-simple small { color: var(--text3); }
.journal { margin: 0; max-height: 320px; overflow: auto; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line2); background: #0a0e14;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; color: var(--text2); white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .param-titre { font-size: 26px; margin-bottom: 12px; }
  .param-grille { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .param-nav { top: 0; z-index: 5; flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; background: var(--bg); }
  .param-nav::-webkit-scrollbar { display: none; }
  .param-nav a { flex: none; white-space: nowrap; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 999px; font-size: 14px; }
  .param-nav a svg { width: 16px; height: 16px; }
  .param-controle, .param-controle .saisie, .param-controle .rang .saisie { width: 100%; }
  .param-controle .rang { flex: 1; }
  .graphe-zone, .graphe-axe { margin-left: 40px; }
  .param-ligne.compacte { flex-wrap: nowrap; }
  .param-ligne.compacte .param-libelle { flex: 1 1 auto; }
  .classement-ligne { grid-template-columns: minmax(70px, 110px) 1fr auto; gap: 10px; }
}
