@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(polices/Barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(polices/Barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(polices/Barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(polices/BarlowCondensed-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(polices/BarlowCondensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(polices/BarlowCondensed-700.woff2) format("woff2"); }

/* Jarvis : un panneau de salle de contrôle — acier peint, plaques gravées, une lampe par robot. */
:root {
  --fond: #DFE4E8; --plaque: #F6F8F9; --creux: #D3DAE0; --encre: #14202B; --encre2: #4A5A68; --trait: #C3CCD3;
  --rail: #14202B; --rail-encre: #B9C6D1; --rail-actif: #FFFFFF; --petrole: #0E4D64; --sur-petrole: #F6F8F9;
  --vert: #1F9D55; --orange: #DB8F00; --rouge: #D63A2F; --eteint: #5C6975; --inconnu: #8C99A5;
  --titre: "Barlow Condensed", "Arial Narrow", sans-serif; --texte: "Barlow", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --rail-l: 68px; --etat-h: 26px;
}
@media (prefers-color-scheme: dark) {
  :root { --fond: #121B24; --plaque: #1B2733; --creux: #0D141B; --encre: #E8EEF2; --encre2: #9DB0BF; --trait: #2C3B4A;
          --rail: #0A1118; --petrole: #6CC4DE; --sur-petrole: #0A1118; --eteint: #3D4B58; --inconnu: #6D7C8A; }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 16px/1.45 var(--texte); overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--petrole); }
:focus-visible { outline: 3px solid var(--petrole); outline-offset: 1px; border-radius: 4px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--titre); margin: 0; }

/* ── la charpente : rail · vue · terminal · barre d'état ── */
#app { display: grid; height: 100dvh; grid-template: "rail vue" 1fr "rail term" auto "etat etat" var(--etat-h) / var(--rail-l) 1fr; }
#rail { grid-area: rail; background: var(--rail); display: flex; flex-direction: column; align-items: stretch; padding: 8px 0; overflow-y: auto; }
#rail .logo { font: 700 22px/1 var(--titre); letter-spacing: .12em; color: #fff; text-align: center; padding: 8px 0 14px; }
#rail button { background: none; border: 0; color: var(--rail-encre); padding: 9px 2px 7px; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font: 600 11.5px/1 var(--titre); letter-spacing: .07em; text-transform: uppercase; border-left: 3px solid transparent; position: relative; }
#rail button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#rail button[aria-current="page"] { color: var(--rail-actif); border-left-color: var(--petrole); background: rgba(255,255,255,.06); }
#rail button:hover { color: var(--rail-actif); }
#rail .pastille-nb { position: absolute; top: 4px; right: 10px; background: var(--rouge); color: #fff; border-radius: 9px; font: 600 11px/1 var(--texte); padding: 3px 5px; letter-spacing: 0; }
#rail .pousse { flex: 1; }
#vue { grid-area: vue; overflow: auto; min-width: 0; min-height: 0; position: relative; }
#terminal { grid-area: term; border-top: 1px solid var(--trait); background: var(--creux); display: flex; flex-direction: column; height: 34dvh; min-height: 180px; }
#etat { grid-area: etat; background: var(--petrole); color: var(--sur-petrole); display: flex; align-items: center; gap: 14px; padding: 0 10px; font-size: 13px; white-space: nowrap; overflow: hidden; }
#etat button { background: none; border: 0; color: inherit; padding: 0 2px; display: inline-flex; align-items: center; gap: 6px; height: 100%; }
#etat button:hover { text-decoration: underline; }
#etat .pousse { flex: 1; }
#etat .pt { width: 9px; height: 9px; border-radius: 2px; background: var(--inconnu); display: inline-block; }
.pt.vert { background: var(--vert) !important; } .pt.orange { background: var(--orange) !important; } .pt.rouge { background: var(--rouge) !important; }

@media (max-width: 820px) {
  #app { grid-template: "vue" 1fr "term" auto "etat" var(--etat-h) "rail" auto / 1fr; }
  #rail { flex-direction: row; padding: 0 0 env(safe-area-inset-bottom); overflow-x: auto; justify-content: space-around; }
  #rail .logo, #rail .pousse, #rail .secondaire { display: none; }
  #rail button { border-left: 0; border-top: 3px solid transparent; flex: 1; padding: 8px 2px 7px; min-width: 60px; }
  #rail button[aria-current="page"] { border-top-color: var(--petrole); }
  #etat .large { display: none; }
}
@media (min-width: 821px) { #rail .mobile { display: none; } }

/* ── éléments communs ── */
.page { max-width: 980px; margin: 0 auto; padding: 18px 18px 60px; }
.page.large { max-width: 1240px; }
.sur-titre { font: 700 14px/1 var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--encre2); margin: 0 0 8px; }
.verdict { font: 700 clamp(40px, 9vw, 68px)/.95 var(--titre); margin: 2px 0 6px; text-wrap: balance; }
.verdict.mal { color: var(--rouge); } .verdict.moyen { color: var(--orange); }
.gris { color: var(--encre2); }
h2.section { font: 700 19px/1.1 var(--titre); letter-spacing: .06em; text-transform: uppercase; margin: 22px 0 8px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.carte { background: var(--plaque); border: 1px solid var(--trait); border-radius: 8px; padding: 14px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
.liste { list-style: none; margin: 0; padding: 0; background: var(--plaque); border: 1px solid var(--trait); border-radius: 8px; overflow: hidden; }
.liste > li + li { border-top: 1px solid var(--trait); }
.liste .vide, .vide { padding: 14px 12px; color: var(--encre2); }
.ligne { display: grid; grid-template-columns: 14px 1fr auto; gap: 11px; width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; align-items: start; }
button.ligne:hover { background: var(--creux); }
.ligne .nom { font-weight: 600; overflow-wrap: anywhere; }
.ligne .raison { display: block; color: var(--encre2); font-size: 14.5px; overflow-wrap: anywhere; }
.pastille { width: 14px; height: 14px; border-radius: 3px; margin-top: 4px; background: var(--inconnu); flex: none; display: inline-block; }
.pastille.vert { background: var(--vert); } .pastille.orange { background: var(--orange); } .pastille.rouge { background: var(--rouge); }
.pastille.noir { background: var(--eteint); } .pastille.gris { background: transparent; box-shadow: inset 0 0 0 2px var(--inconnu); }
.etiquette { display: inline-block; font: 600 11.5px/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; border: 1px solid currentColor; border-radius: 3px; padding: 2px 5px 1px; margin-left: 6px; color: var(--encre2); vertical-align: 2px; white-space: nowrap; }
.etiquette.alerte { color: var(--rouge); }
.btn { background: var(--plaque); border: 1px solid var(--trait); border-radius: 6px; padding: 7px 12px; font-weight: 500; white-space: nowrap; }
.btn:hover { border-color: var(--encre2); }
.btn.fort { background: var(--petrole); color: var(--sur-petrole); border-color: var(--petrole); font-weight: 600; }
.btn.danger { color: var(--rouge); border-color: var(--rouge); }
.btn.petit { padding: 3px 8px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
.rangee-btn { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.champ { width: 100%; padding: 9px 11px; border: 1px solid var(--trait); border-radius: 6px; background: var(--plaque); color: var(--encre); }
textarea.champ { resize: vertical; min-height: 70px; line-height: 1.4; }
label.etq { display: block; font: 600 13px/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--encre2); margin: 12px 0 5px; }
.bandeau { background: var(--rouge); color: #fff; border-radius: 6px; padding: 10px 12px; margin: 0 0 14px; font-weight: 500; }
.bandeau.info { background: var(--creux); color: var(--encre); border: 1px solid var(--trait); font-weight: 400; }
#toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--etat-h) + 76px); z-index: 60; display: grid; gap: 8px; width: min(92vw, 520px); pointer-events: none; }
.toast { background: var(--encre); color: var(--fond); padding: 10px 14px; border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.toast.erreur { background: var(--rouge); color: #fff; }

/* ── le panneau de lampes ── */
.panneau { background: var(--creux); border: 1px solid var(--trait); border-radius: 8px; padding: 12px 12px 6px; margin: 0 0 8px; }
.rangee { display: grid; grid-template-columns: 104px 1fr; gap: 10px; align-items: start; padding: 0 0 9px; }
.rangee h3 { font: 600 13px/1.25 var(--titre); letter-spacing: .09em; text-transform: uppercase; color: var(--encre2); padding-top: 3px; }
.lampes { display: flex; flex-wrap: wrap; gap: 5px; }
.lampe { width: 26px; height: 18px; border-radius: 3px; border: 0; padding: 0; background: var(--inconnu); position: relative; display: inline-block;
         box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.25); }
button.lampe::after { content: ""; position: absolute; inset: -6px -3px; }
.lampe.vert { background: var(--vert); } .lampe.orange { background: var(--orange); }
.lampe.rouge { background: var(--rouge); animation: battre 1.6s ease-in-out infinite; }
.lampe.noir { background: var(--eteint); box-shadow: inset 0 2px 3px rgba(0,0,0,.35); }
.lampe.gris { background: transparent; box-shadow: inset 0 0 0 2px var(--inconnu); }
.lampe.perimee { opacity: .45; }
.lampe.mini { width: 14px; height: 10px; animation: none; }
@keyframes battre { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--rouge) 35%, transparent), inset 0 -2px 0 rgba(0,0,0,.18); } }
@media (prefers-reduced-motion: reduce) { .lampe.rouge { animation: none; } }
.legende { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--encre2); padding: 4px 0 6px; border-top: 1px solid var(--trait); }
.legende span { display: inline-flex; align-items: center; gap: 6px; }
.machines { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.machine { display: flex; align-items: center; gap: 8px; background: var(--plaque); border: 1px solid var(--trait); border-radius: 6px; padding: 7px 11px; font-size: 14px; }
.machine strong { font: 600 15px/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; }
.machine.muette { border-color: var(--rouge); }
details.groupe > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--trait); font: 600 17px/1.2 var(--titre); letter-spacing: .06em; text-transform: uppercase; }
details.groupe > summary::-webkit-details-marker { display: none; }
details.groupe > summary small { font: 400 13.5px var(--texte); letter-spacing: 0; text-transform: none; color: var(--encre2); }
details.groupe[open] > summary { margin-bottom: 8px; }
details.groupe { margin: 0 0 6px; }

/* ── dialogues ── */
dialog { border: 0; padding: 0; background: var(--plaque); color: var(--encre); width: min(100%, 640px); max-width: 100%; max-height: 88dvh; margin: auto auto 0; border-radius: 14px 14px 0 0; box-shadow: 0 -8px 40px rgba(0,0,0,.3); }
@media (min-width: 700px) { dialog { margin: auto; border-radius: 12px; } }
dialog::backdrop { background: rgba(10,16,22,.55); }
.fiche { padding: 18px 18px 22px; overflow-y: auto; max-height: 88dvh; }
.fiche-tete { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 10px; }
.fiche h2 { font-size: 26px; overflow-wrap: anywhere; }
.fiche .etat-bloc { display: flex; gap: 10px; align-items: start; background: var(--creux); border-radius: 6px; padding: 10px 12px; margin: 12px 0; }
.fiche dl { display: grid; grid-template-columns: 118px 1fr; gap: 7px 12px; margin: 0 0 16px; font-size: 15px; }
.fiche dt { color: var(--encre2); } .fiche dd { margin: 0; overflow-wrap: anywhere; }
.fiche code, code { font: 13px/1.4 var(--mono); }
.fiche h3 { font: 600 15px/1 var(--titre); letter-spacing: .09em; text-transform: uppercase; color: var(--encre2); margin: 14px 0 6px; }
.historique { list-style: none; margin: 0; padding: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.historique li { padding: 4px 0; border-bottom: 1px solid var(--trait); display: flex; gap: 10px; }
.historique time { color: var(--encre2); flex: none; width: 122px; }

/* ── la porte ── */
.porte { max-width: 380px; margin: 12vh auto 0; padding: 0 20px; }
.porte h1 { font: 700 76px/.9 var(--titre); letter-spacing: .04em; }
.porte p { color: var(--encre2); margin: 4px 0 20px; }
.porte .refus { color: var(--rouge); font-weight: 500; min-height: 1.5em; margin-top: 12px; }

/* ── deux volets (Jarvis, Fichiers, Projets) ── */
.volets { display: grid; grid-template-columns: 300px 1fr; height: 100%; }
.volet-g { border-right: 1px solid var(--trait); overflow-y: auto; background: var(--plaque); display: flex; flex-direction: column; min-height: 0; }
.volet-d { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.volet-tete { padding: 10px 12px; border-bottom: 1px solid var(--trait); display: flex; gap: 8px; align-items: center; flex: none; }
.volet-tete h2 { font: 700 18px/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.retour { display: none; }
@media (max-width: 820px) {
  .volets { grid-template-columns: 1fr; }
  .volets .volet-d { display: none; }
  .volets.detail .volet-g { display: none; }
  .volets.detail .volet-d { display: flex; }
  .retour { display: inline-block; }
}
.items { list-style: none; margin: 0; padding: 0; }
.items button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--trait); padding: 10px 12px; }
.items button:hover, .items button.actif { background: var(--creux); }
.items .t { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.items .s { font-size: 13.5px; color: var(--encre2); }

/* ── Jarvis : la conversation ── */
.fil { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 820px; width: 100%; margin: 0 auto; }
.msg .qui { font: 600 12.5px/1 var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--encre2); margin-bottom: 4px; }
.msg.jacob .bulle { background: var(--creux); border-radius: 8px; padding: 9px 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.jarvis .bulle { overflow-wrap: anywhere; }
.msg .trace { font: 13px/1.5 var(--mono); color: var(--encre2); white-space: pre-wrap; overflow-wrap: anywhere; border-left: 3px solid var(--trait); padding-left: 10px; max-height: 260px; overflow-y: auto; }
.msg .pied { font-size: 12.5px; color: var(--encre2); margin-top: 4px; }
.md > :first-child { margin-top: 0; } .md > :last-child { margin-bottom: 0; }
.md h1, .md h2, .md h3 { font-family: var(--texte); font-weight: 600; margin: 14px 0 6px; line-height: 1.25; }
.md h1 { font-size: 20px; } .md h2 { font-size: 18px; } .md h3 { font-size: 16.5px; }
.md pre { background: var(--creux); padding: 10px; border-radius: 6px; overflow-x: auto; font: 13px/1.45 var(--mono); }
.md code { background: var(--creux); padding: 1px 4px; border-radius: 3px; } .md pre code { background: none; padding: 0; }
.md table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
.md th, .md td { border: 1px solid var(--trait); padding: 5px 9px; text-align: left; vertical-align: top; }
.md ul, .md ol { padding-left: 22px; } .md blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--trait); color: var(--encre2); }
.composer { border-top: 1px solid var(--trait); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--plaque); flex: none; }
.composer .ligne-c { display: flex; gap: 8px; align-items: flex-end; max-width: 820px; margin: 0 auto; }
.composer textarea { flex: 1; min-height: 44px; max-height: 200px; }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--petrole); animation: pulse 1s ease-in-out infinite; margin-right: 6px; }
@keyframes pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* ── Fichiers ── */
.arbre { list-style: none; margin: 0; padding: 0 0 20px; font-size: 14.5px; }
.arbre ul { list-style: none; margin: 0; padding-left: 14px; }
.arbre button { display: flex; gap: 6px; width: 100%; text-align: left; background: none; border: 0; padding: 4px 10px; align-items: baseline; }
.arbre button:hover, .arbre button.actif { background: var(--creux); }
.arbre .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arbre .d { font-weight: 600; } .arbre .chev { width: 10px; color: var(--encre2); flex: none; } .arbre .verrou { color: var(--encre2); }
.onglets { display: flex; overflow-x: auto; background: var(--creux); border-bottom: 1px solid var(--trait); flex: none; }
.onglet { display: flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px; border-right: 1px solid var(--trait); background: none; border-top: 0; border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; font-size: 14px; }
.onglet.actif { background: var(--plaque); border-bottom-color: var(--petrole); }
.onglet .x { border: 0; background: none; padding: 0 4px; color: var(--encre2); border-radius: 3px; } .onglet .x:hover { background: var(--trait); }
.onglet .sale { color: var(--orange); }
.editeur-barre { display: flex; gap: 8px; align-items: center; padding: 6px 10px; border-bottom: 1px solid var(--trait); font-size: 13.5px; color: var(--encre2); flex: none; overflow-x: auto; white-space: nowrap; }
.editeur-barre .chemin { flex: 1; overflow: hidden; text-overflow: ellipsis; font-family: var(--mono); font-size: 12.5px; }
.editeur { flex: 1; min-height: 0; position: relative; overflow: auto; }
.editeur .CodeMirror { height: 100%; font: 13.5px/1.5 var(--mono); background: var(--plaque); color: var(--encre); }
.CodeMirror-gutters { background: var(--creux); border-right: 1px solid var(--trait); }
.CodeMirror-linenumber { color: var(--inconnu); } .CodeMirror-cursor { border-left-color: var(--encre); }
.CodeMirror-selected { background: color-mix(in srgb, var(--petrole) 25%, transparent) !important; }
.cm-header { color: var(--petrole) !important; } .cm-comment { color: var(--inconnu) !important; } .cm-string { color: var(--vert) !important; }
.cm-keyword, .cm-def { color: var(--petrole) !important; } .cm-link, .cm-url { color: var(--petrole) !important; }
.apercu { padding: 18px; max-width: 860px; margin: 0 auto; }
.apercu img { max-width: 100%; } .apercu iframe { width: 100%; height: 80dvh; border: 0; }
.resultats button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--trait); padding: 7px 10px; font-size: 13.5px; }
.resultats button:hover { background: var(--creux); }
.resultats .c { font-family: var(--mono); font-size: 12px; color: var(--petrole); display: block; overflow-wrap: anywhere; }

/* ── Terminal ── */
#terminal .t-tete { display: flex; gap: 8px; align-items: center; padding: 5px 10px; border-bottom: 1px solid var(--trait); flex: none; }
#terminal .t-tete strong { font: 700 14px/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; }
#t-sortie { flex: 1; overflow: auto; margin: 0; padding: 8px 12px; font: 13px/1.45 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
#t-form { display: flex; gap: 8px; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--trait); flex: none; }
#t-form input { flex: 1; font-family: var(--mono); font-size: 13.5px; }

/* ── Projets, décisions, communications ── */
.tache { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 9px 12px; align-items: start; }
.tache input[type=checkbox] { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--petrole); }
.tache.fait .ti { text-decoration: line-through; color: var(--encre2); }
.tache .ech { font-size: 13px; color: var(--encre2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tache .ech.retard { color: var(--rouge); font-weight: 600; }
.ajout { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 12px; background: var(--creux); }
.ajout .champ { flex: 1 1 160px; width: auto; }
.montant { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.montant.neg { color: var(--rouge); } .montant.pos { color: var(--vert); }
.barres { display: flex; align-items: flex-end; gap: 4px; height: 120px; padding: 6px 0 0; }
.barres div { flex: 1; background: var(--petrole); border-radius: 2px 2px 0 0; min-height: 1px; position: relative; }
.barres div.jour { background: var(--vert); }
.axe { display: flex; gap: 4px; font-size: 11px; color: var(--encre2); font-variant-numeric: tabular-nums; }
.axe span { flex: 1; text-align: center; }
.chiffre { font: 700 44px/1 var(--titre); font-variant-numeric: tabular-nums; }
.decision { padding: 14px; }
.decision h3 { font: 600 18px/1.25 var(--texte); margin: 0 0 4px; }
.decision .detail { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--creux); border-radius: 6px; padding: 10px; margin: 8px 0; max-height: 300px; overflow-y: auto; font-size: 15px; }
.palette { padding: 10px; }
.palette input { width: 100%; font-size: 18px; }
.palette ul { list-style: none; margin: 8px 0 0; padding: 0; max-height: 50dvh; overflow-y: auto; }
.palette li button { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 9px 10px; border-radius: 6px; }
.palette li button.choisi, .palette li button:hover { background: var(--creux); }
table.simple { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.simple th { text-align: left; font: 600 12.5px/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--encre2); padding: 8px 10px; border-bottom: 1px solid var(--trait); }
table.simple td { padding: 7px 10px; border-bottom: 1px solid var(--trait); vertical-align: top; overflow-wrap: anywhere; }
.defile { overflow-x: auto; }
