/* =====================================================================
   SilverLog — feuille de style unique
   Thème sombre, accent doré, lisible d'un coup d'œil entre deux séries.
   ===================================================================== */

/* --- Polices (servies par l'app, pas par un CDN) --------------------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-latin.woff2') format('woff2');
  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: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  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: 'Petit Formal Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/petit-formal-script-latin.woff2') format('woff2');
  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: 'Petit Formal Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/petit-formal-script-latin-ext.woff2') format('woff2');
  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;
}

/* --- Jetons ---------------------------------------------------------- */
:root {
  --bg-0: #141416;
  --bg-1: #1a1a1c;
  --bg-2: #24242a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f1efea;
  --text-dim: #a4a4ad;
  --text-faint: #74747d;

  --gold: #c99752;
  --gold-hi: #e0b472;
  --gold-deep: #8d6531;
  --gold-glow: rgba(201, 151, 82, 0.16);

  --ok: #74c295;
  --warn: #d9a441;
  --danger: #e0736b;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --font-ui: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
    Roboto, sans-serif;
  --font-script: 'Petit Formal Script', 'Snell Roundhand', cursive;

  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --nav-h: 62px;
  --tap: 44px;
}

/* --- Base ------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

/* `hidden` doit l'emporter sur un display: grid/flex explicite. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg-1);
  background-image: linear-gradient(160deg, #1a1a1c 0%, #232327 55%, #2a2a2d 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
a { color: var(--gold-hi); }

button { font: inherit; color: inherit; }

/* Filigrane loup : présent mais jamais gênant pour la lecture. */
.bg-wolf {
  position: fixed;
  inset: auto -14vw -12vh auto;
  width: min(78vw, 460px);
  aspect-ratio: 1;
  background: url('../assets/icons/wolf.svg') no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

/* --- Écran de démarrage ---------------------------------------------- */
.boot {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
}
.boot__mark {
  width: 84px;
  height: 84px;
  background: url('../assets/icons/wolf.svg') no-repeat center / contain;
  animation: pulse 1.8s ease-in-out infinite;
}
.boot__text { color: var(--text-faint); font-size: 14px; letter-spacing: 0.06em; }

@keyframes pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --- Structure ------------------------------------------------------- */
.app { position: relative; z-index: 1; }

.shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px;
  background: rgba(20, 20, 22, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__mark {
  width: 30px;
  height: 30px;
  flex: none;
  background: url('../assets/icons/wolf.svg') no-repeat center / contain;
}
.topbar__title {
  font-size: 19px;
  letter-spacing: 0.02em;
  margin-right: auto;
}
.topbar__title em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--gold);
  font-size: 22px;
}
.topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px 6px 8px 0;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 15px;
}
.topbar__back:hover { color: var(--text); }

.main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px calc(var(--nav-h) + env(safe-area-inset-bottom) + 28px);
}

/* --- Navigation ------------------------------------------------------ */
.nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
  padding: 6px 8px calc(env(safe-area-inset-bottom) + 6px);
  background: rgba(18, 18, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--tap);
  padding: 6px 2px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
}
.nav__item svg { width: 22px; height: 22px; }
.nav__item[aria-current='page'] { color: var(--gold); background: var(--gold-glow); }

@media (min-width: 860px) {
  .nav {
    position: sticky;
    top: 0;
    bottom: auto;
    grid-auto-columns: max-content;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__item { flex-direction: row; gap: 8px; padding: 8px 16px; font-size: 14px; }
  .main { padding-bottom: 48px; }
}

/* --- Typographie utilitaire ------------------------------------------ */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold-hi);
  line-height: 1.15;
}
.dim { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
.small { font-size: 13px; }
.center { text-align: center; }

.page-head { margin-bottom: 22px; }
.page-head h1 { font-size: 26px; margin-top: 4px; }
.page-head .script { font-size: 38px; display: block; margin-top: 2px; }

.section { margin-top: 28px; }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section__head h2 { font-size: 15px; letter-spacing: 0.02em; }

/* --- Cartes ---------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.card + .card { margin-top: 12px; }
.card--accent { border-color: rgba(201, 151, 82, 0.35); background: var(--gold-glow); }

.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row--wrap { flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grow { flex: 1; min-width: 0; }

/* --- Statistiques ----------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.stat__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
/* Chiffres de mise en avant : chasse proportionnelle. `tabular-nums` sert
   à aligner des colonnes, pas à afficher un nombre isolé en grand. */
.stat__value {
  margin-top: 6px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stat__value small { font-size: 15px; font-weight: 500; color: var(--text-dim); margin-left: 3px; }
.stat__hint { margin-top: 4px; font-size: 12px; color: var(--text-faint); }
.stat--gold .stat__value { color: var(--gold-hi); }

/* --- Listes ----------------------------------------------------------- */
.list { display: flex; flex-direction: column; gap: 8px; }

.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.list-row:hover { background: var(--surface-2); border-color: var(--line-strong); }
.list-row__main { flex: 1; min-width: 0; }
.list-row__title { font-weight: 500; }
.list-row__sub { font-size: 13px; color: var(--text-faint); margin-top: 2px; }
.list-row__value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--gold-hi);
  white-space: nowrap;
}
.list-row__chev { color: var(--text-faint); flex: none; }

/* --- Badges / puces --------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
}
.badge--rx { color: var(--gold-hi); border-color: rgba(201, 151, 82, 0.45); background: var(--gold-glow); }
.badge--pr { color: var(--ok); border-color: rgba(116, 194, 149, 0.4); background: rgba(116, 194, 149, 0.12); }
.badge--cat { text-transform: none; letter-spacing: 0.02em; }

/* --- Formulaires ------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13px; color: var(--text-dim); }

.input,
.select,
.textarea {
  width: 100%;
  min-height: var(--tap);
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.textarea { min-height: 84px; resize: vertical; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
    linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible,
.btn:focus-visible,
.list-row:focus-visible,
.nav__item:focus-visible,
.seg__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.input::placeholder { color: var(--text-faint); }
.input:invalid { border-color: transparent; }

.field__error { font-size: 13px; color: var(--danger); }
.field__hint { font-size: 12px; color: var(--text-faint); }

/* Trio rounds × reps × poids */
.sets-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr auto;
  align-items: center;
  gap: 6px;
}
.sets-row__x { color: var(--text-faint); font-size: 14px; }
.sets-row .input { padding-left: 8px; padding-right: 8px; text-align: center; }
.sets-row__del {
  width: 36px;
  height: 36px;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: none;
  color: var(--text-faint);
  cursor: pointer;
}
.sets-row__del:hover { color: var(--danger); border-color: var(--danger); }
.sets-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr auto;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
}
.sets-head span:nth-child(even) { visibility: hidden; }

/* --- Boutons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: rgba(255, 255, 255, 0.1); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--primary {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  border-color: var(--gold-deep);
  color: #201703;
  font-weight: 700;
}
.btn--primary:hover { filter: brightness(1.06); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.btn--ghost { background: none; border-color: var(--line); }
.btn--danger { color: var(--danger); border-color: rgba(224, 115, 107, 0.4); background: rgba(224, 115, 107, 0.08); }
.btn--block { width: 100%; }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; }

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Segments (Rx / Scaled, filtres de catégorie) */
.seg {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.seg__btn {
  min-height: 34px;
  padding: 6px 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--text-dim);
  font-size: 14px;
  cursor: pointer;
}
.seg__btn[aria-pressed='true'] { background: var(--gold); color: #201703; font-weight: 700; }

/* Variante à plusieurs lignes : des puces indépendantes plutôt qu'un long
   bandeau arrondi qui se plie mal dès qu'il passe à la ligne. */
.seg--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  background: none;
  border: 0;
}
.seg--wrap .seg__btn { border: 1px solid var(--line-strong); }

/* --- Table des pourcentages ------------------------------------------- */
.pct {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.pct__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px;
  min-height: 36px;
  color: var(--text-dim);
  font-size: 13px;
  cursor: pointer;
}
.pct__toggle:hover { color: var(--text); border-color: var(--gold-deep); }
.pct__toggle svg { transition: transform 0.18s ease; }
.pct__toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
.pct__body { margin-top: 12px; }
.pct__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.pct__cell {
  padding: 9px 4px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.2);
}
.pct__cell b {
  display: block;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.pct__cell span { font-size: 11px; color: var(--text-faint); }
.pct__cell--top { border-color: rgba(201, 151, 82, 0.4); background: var(--gold-glow); }
.pct__cell--top b { color: var(--gold-hi); }

/* --- Graphique -------------------------------------------------------- */
/* `user-select: none` : au doigt, un tap sur un point ne doit pas déclencher
   une sélection de texte à la place de l'infobulle. */
.chart { position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.chart svg { display: block; width: 100%; height: auto; }
.chart__grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.chart__axis { fill: var(--text-faint); font-size: 10px; font-variant-numeric: tabular-nums; }
.chart__last { fill: var(--gold-hi); font-size: 11px; font-weight: 700; }
.chart__line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart__dot { fill: var(--bg-1); stroke: var(--gold); stroke-width: 2; }
.chart__dot--active { fill: var(--gold-hi); stroke: var(--bg-1); }
/* L'indicateur de focus est la bande teintée + l'infobulle, pas un liseré :
   un contour rectangulaire au milieu d'une courbe brouille la lecture. */
.chart__hit { fill: transparent; cursor: pointer; outline: none; }
.chart__hit:focus,
.chart__hit:focus-visible { fill: rgba(201, 151, 82, 0.1); outline: none; }
.chart__tip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -100%);
  margin-top: -12px;
  padding: 7px 11px;
  min-width: 106px;
  border-radius: 10px;
  background: #101012;
  border: 1px solid var(--gold-deep);
  box-shadow: var(--shadow);
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
}
.chart__tip b { display: block; font-size: 16px; color: var(--gold-hi); }
.chart__tip span { font-size: 11px; color: var(--text-dim); }
.chart__empty {
  display: grid;
  place-content: center;
  min-height: 160px;
  padding: 20px 18px;
  text-align: center;
  color: var(--text-faint);
  font-size: 14px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}

/* --- Vide / chargement ------------------------------------------------ */
.empty {
  padding: 28px 18px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-faint);
}
.empty p + p { margin-top: 8px; }

.skeleton {
  height: 56px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* --- Toasts ----------------------------------------------------------- */
.toasts {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 16px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(94vw, 460px);
  pointer-events: none;
}
.toast {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #17171a;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  font-size: 14px;
  animation: rise 0.2s ease;
}
.toast--ok { border-color: rgba(116, 194, 149, 0.5); }
.toast--error { border-color: rgba(224, 115, 107, 0.55); }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
}
@media (min-width: 860px) {
  .toasts { bottom: 24px; }
}

/* --- Modale ----------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: end center;
  background: rgba(0, 0, 0, 0.6);
  padding: 0;
}
.modal__panel {
  width: min(560px, 100%);
  max-height: 92dvh;
  overflow-y: auto;
  background: #1c1c20;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px 18px calc(env(safe-area-inset-bottom) + 20px);
  box-shadow: var(--shadow);
  animation: sheet 0.22s ease;
}
@keyframes sheet {
  from { transform: translateY(24px); opacity: 0.4; }
}
.modal__title { font-size: 19px; margin-bottom: 14px; }
.modal__actions { display: flex; gap: 10px; margin-top: 18px; }
.modal__actions .btn { flex: 1; }
@media (min-width: 860px) {
  .modal { place-items: center; }
  .modal__panel { border-radius: var(--radius-lg); }
}

/* --- Connexion -------------------------------------------------------- */
.auth {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 32px 20px calc(env(safe-area-inset-bottom) + 32px);
  width: min(420px, 100%);
  margin: 0 auto;
}
.auth__mark { width: 92px; height: 92px; background: url('../assets/icons/wolf.svg') no-repeat center / contain; }
.auth__name { font-size: 34px; letter-spacing: 0.04em; margin-top: 10px; }
.auth__name em { font-family: var(--font-script); font-style: normal; color: var(--gold); }
.auth__tag { color: var(--text-faint); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.auth__form { width: 100%; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.auth__alt { margin-top: 16px; text-align: center; font-size: 14px; }
.auth__alt button {
  background: none;
  border: 0;
  color: var(--gold-hi);
  cursor: pointer;
  text-decoration: underline;
  padding: 8px;
}

/* --- Bandeaux --------------------------------------------------------- */
.banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 164, 65, 0.4);
  background: rgba(217, 164, 65, 0.1);
  margin-bottom: 18px;
}
.banner__body { flex: 1; }
.banner__title { font-weight: 700; color: var(--warn); }
.banner--info { border-color: var(--line-strong); background: var(--surface); }
.banner--info .banner__title { color: var(--text); }

/* --- Divers ------------------------------------------------------------ */
.hr { height: 1px; background: var(--line); border: 0; margin: 18px 0; }
.mono-note { white-space: pre-line; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
