/* Surcouche du YouTube Hub sur le kit d'Hermes.
   `hermes-index.css` est la copie TELLE QUELLE de /srv/design-partage/kit/index.css
   (empreinte notée dans SYSTEME-REPERTOIRE.md) : on ne la modifie pas, on ajoute ici
   ce que ce hub a en plus (polices servies en local, onglets en <a>, libellés de
   section en capitales, liste dans une carte, feuille de confirmation). */

@font-face { font-family: 'Nunito Variable'; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url(/static/polices/nunito-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Nunito Variable'; font-style: normal; font-display: swap; font-weight: 200 1000;
  src: url(/static/polices/nunito-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito Variable'; font-style: italic; font-display: swap; font-weight: 200 1000;
  src: url(/static/polices/nunito-latin-wght-italic.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

html, body { min-height: 100%; height: auto; }
.ecran { min-height: 100vh; }
.ecran.sans-nav.centre { justify-content: center; }   /* la page de connexion seulement */
a.sans-souligne { text-decoration: none; }
.pastille.a-droite { flex-shrink: 0; }   /* ne jamais tronquer le nom quand le sous-titre est long */
code { font-size: .92em; background: var(--lav-soft); color: #4a4480; border-radius: 6px; padding: 1px 5px; }

/* Onglets en liens (Hermes : boutons React), même géométrie */
.nav a { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; min-height: 48px;
  font-size: 11px; font-weight: 600; color: var(--muted); text-decoration: none; }
.nav a.actif { color: var(--violet); font-weight: 800; }

/* Libellé de section en capitales (Réglages d'Hermes : « AUTOMATISATION ») */
.libelle { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.titre-section .n { font-weight: 700; color: var(--muted); font-size: 14px; }

/* Carte-réglage d'Hermes : titre 22/800, description discrète, interrupteur ou puce à droite */
.reglage { display: flex; align-items: center; gap: 14px; padding: 20px; }
.reglage .titre { font-size: 22px; font-weight: 800; line-height: 26px; letter-spacing: -.2px; }
.reglage .desc { font-size: 15px; font-weight: 600; color: var(--muted); margin-top: 4px; line-height: 21px; text-wrap: pretty; }
.reglage .desc.vert { color: var(--green); }

.liste { padding: 0 16px; }
.liste .ligne { padding: 10px 0; }
.etiquette { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin: 14px 4px 8px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.petit.rouge { background: var(--red-soft); color: #b03358; }
.btn.petit.blanc { background: var(--card); box-shadow: var(--sh); }
.bulle.vert { background: var(--green-soft); color: #1f6b4b; }
.bulle svg { flex-shrink: 0; margin-top: 1px; }
.vide { font-size: 15px; font-weight: 600; color: var(--muted); padding: 4px 2px; }
.pourquoi { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }

/* Message en haut d'écran (résultat d'une action) */
#msg { display: none; position: sticky; top: calc(env(safe-area-inset-top) + 8px); z-index: 6; margin-bottom: 14px; }

/* Feuille de confirmation (kit.tsx → Feuille) en HTML pur */
.voile[hidden] { display: none; }
.feuille .haut { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.feuille .haut .titre-section { font-size: 21px; }
.feuille .btn + .btn { margin-top: 10px; }
