/*
 * Charte du site — source unique pour toutes les pages.
 *
 * Maquette « Dashboard Admin » (Claude Design, novembre 2026), esprit Apple :
 *   - police système (SF Pro sur Apple) ;
 *   - deux thèmes, clair (par défaut) et sombre, choisis dans Paramètres
 *     (assets/theme.js pose data-theme sur <html>) ;
 *   - fonds gris très clair, cartes blanches à plat (arrondi 16 px, sans
 *     ombre ni verre flou) ; en sombre, noir et cartes gris anthracite ;
 *   - accent : le bleu système #0071e3 (#0a84ff en sombre) ;
 *   - choix à boutons : contrôle segmenté (fond gris, bouton choisi en relief).
 *
 * Toutes les pages — y compris celles migrées du Dashboard — chargent ce
 * fichier : une couleur, une taille ou un espacement se change ici, nulle
 * part ailleurs. Les anciens noms de variables (--surface, --muted…) restent
 * valables : ils pointent vers la nouvelle palette.
 */

:root {
  color-scheme: light;

  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Palette de la maquette */
  --bg: #f5f5f7;
  --card: #ffffff;
  --fill: rgba(118, 118, 128, 0.12);
  --fill2: rgba(118, 118, 128, 0.22);
  --seg: #ffffff;
  --text: #1d1d1f;
  --text2: #6e6e73;
  --text3: #8e8e93;
  --sep: rgba(0, 0, 0, 0.08);
  --bar: #f6f6f8;
  --accent: #0071e3;
  --accent-bg: rgba(0, 113, 227, 0.1);
  --up: #1d8a3a;
  --up-bg: rgba(52, 199, 89, 0.14);
  --down: #d70015;
  --down-bg: rgba(255, 59, 48, 0.1);
  --warn: #b25000;
  --warn-bg: rgba(255, 149, 0, 0.15);
  --shadow: none;
  --seg-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.04);
  --pop-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  /* Couleurs des séries (répartitions, courbes multiples) */
  --c1: #0a84ff; --c2: #5e5ce6; --c3: #64d2ff; --c4: #30d158;
  --c5: #ff9f0a; --c6: #bf5af2; --c7: #ff375f; --c8: #ffd60a;

  /* Anciens noms, branchés sur la palette */
  --surface: var(--card);
  --surface-2: var(--fill);
  --surface-3: var(--fill2);
  --text-2: var(--text);
  --muted: var(--text2);
  --dim: var(--text3);
  --line: var(--sep);
  --line-soft: rgba(0, 0, 0, 0.05);
  --line-strong: rgba(0, 0, 0, 0.14);
  --accent-deep: var(--accent);
  --accent-hover: #0077ed;
  --accent-text: var(--accent);
  --accent-soft: var(--accent-bg);
  --accent-2: #5e5ce6;
  --accent-grad: var(--accent);
  --up-soft: var(--up-bg);
  --down-soft: var(--down-bg);
  --warn-soft: var(--warn-bg);
  --on-accent: #ffffff;

  /* Arrondis : --r pour les boutons, champs et étiquettes, --r-block pour les
     cartes. Seuls les points ronds restent ronds. */
  --r: 9px;
  --r-block: 16px;
  --r-tile: 12px;
  --r-sm: var(--r);
  --r-btn: var(--r);
  --r-pill: 999px;
  --transition: 200ms cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Les pages occupent toute la largeur disponible à droite de la barre
     latérale, avec une marge fine et identique partout. */
  --maxw: none;
  --gutter: clamp(24px, 4vw, 56px);
  --gap: 20px;
  /* Barre latérale : --side-w vaut 0 sur mobile, où elle devient un tiroir
     sous un bandeau de hauteur --nav-h (nul sur grand écran). */
  --side-w-full: 248px;
  --side-w: var(--side-w-full);
  --nav-h: 0px;

  /* Échelle typographique (maquette : 34 / 20 / 15 / 13 / 12 px) */
  --fs-title: 34px;
  --fs-h2: 20px;
  --fs-body: 15px;
  --fs-small: 13px;
  --fs-label: 12px;
  --fs-hero: 56px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --card: #1c1c1e;
  --fill: rgba(118, 118, 128, 0.24);
  --fill2: rgba(118, 118, 128, 0.38);
  --seg: #636366;
  --text: #f5f5f7;
  --text2: #98989d;
  --text3: #7c7c80;
  --sep: rgba(255, 255, 255, 0.1);
  --bar: #1c1c1e;
  --accent: #0a84ff;
  --accent-bg: rgba(10, 132, 255, 0.18);
  --up: #30d158;
  --up-bg: rgba(48, 209, 88, 0.16);
  --down: #ff453a;
  --down-bg: rgba(255, 69, 58, 0.16);
  --warn: #ff9f0a;
  --warn-bg: rgba(255, 159, 10, 0.16);
  --shadow: none;
  --seg-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  --pop-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.18);
  --accent-hover: #3b9bff;
}

/* ------------------------------------------------------------------ socle */
/* La place de la barre de défilement est toujours réservée : la navigation et
   les contenus centrés ne bougent pas d'un pixel d'une page à l'autre. */
html { font-size: 17px; scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); }
::selection { background: var(--accent-bg); }

/* ----------------------------------------------------------- navigation */
/* Barre latérale fixe (248 px), translucide : « Dashboard », la recherche
   (⌘K), les huit sections avec leur pictogramme, le profil en bas. Sous
   900 px, elle laisse place à une barre d'onglets en bas de l'écran. */
body:has(> #hub-nav) { padding-left: var(--side-w); }
.hubnav { font-family: var(--font); }
.hubnav-side {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 1000;
  width: var(--side-w-full); box-sizing: border-box;
  display: flex; flex-direction: column; gap: 18px;
  padding: 22px 12px 16px;
  background: var(--bar);
  border-right: 1px solid var(--sep);
}
.hubnav .mark {
  padding: 0 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.hubnav .mark:hover { opacity: 1; }
.hubnav-search {
  display: flex; align-items: center; gap: 8px; margin: 0 2px; padding: 7px 10px;
  border: 0; border-radius: 9px; background: var(--fill); color: var(--text2);
  font: inherit; font-size: 13px; cursor: pointer; text-align: left;
}
.hubnav-search span { flex: 1; }
.hubnav-search kbd { font: inherit; font-size: 11px; color: var(--text3); }
.hubnav-search svg { width: 16px; height: 16px; flex: none; }
.hubnav-list {
  flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto; scrollbar-width: none;
}
.hubnav-list::-webkit-scrollbar { display: none; }
.hubnav .sec { display: flex; flex-direction: column; flex-shrink: 0; }
.hubnav .sec > .sub { display: none !important; }
.hubnav .sec-link {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px;
  font-size: 14px; font-weight: 400; color: var(--text); text-decoration: none; white-space: nowrap;
}
.hubnav .sec-link:hover { opacity: 1; background: var(--fill); }
.hubnav .sec-link svg { flex: none; width: 18px; height: 18px; color: var(--text2); }
.hubnav .sec.open > .sec-link { font-weight: 600; background: var(--fill); }
.hubnav .sec.open > .sec-link svg { color: var(--accent); }
.hubnav .me-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 9px;
  background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; text-align: left; text-decoration: none;
}
.hubnav .me-btn:hover, .hubnav .me-btn.on { opacity: 1; background: var(--fill); }
.hubnav .me-avatar {
  display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--fill2); font-size: 12px; font-weight: 600; color: var(--text2);
}
.hubnav .me-txt { display: flex; flex-direction: column; line-height: 1.25; }
.hubnav .me-txt b { font-weight: 500; }
.hubnav .me-txt small { font-size: 12px; color: var(--text2); }
.hubnav .me-row { display: flex; align-items: center; gap: 4px; }
.hubnav .me-row .me-btn { flex: 1; min-width: 0; }
.hubnav-theme {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--text2); cursor: pointer;
}
.hubnav-theme:hover { background: var(--fill); color: var(--text); }
.hubnav-theme svg { width: 18px; height: 18px; }
.hubnav-tabbar { display: none; }

@media (max-width: 900px) {
  :root { --side-w: 0px; --nav-h: 0px; --tabbar-h: 76px; }
  .hubnav-side { display: none; }
  /* Barre d'onglets de la maquette mobile : quatre sections et « Plus ». */
  .hubnav-tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
    display: flex; justify-content: space-around; padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 20px));
    background: var(--bar);
    border-top: 1px solid var(--sep);
  }
  .hubnav-tabbar a, .hubnav-tabbar button {
    display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 60px; padding: 2px 0;
    border: 0; background: none; font: inherit; font-size: 10px; font-weight: 500; cursor: pointer;
    color: var(--text3); text-decoration: none;
  }
  .hubnav-tabbar svg { width: 24px; height: 24px; }
  .hubnav-tabbar [aria-current] { color: var(--accent); }
  body:has(> #hub-nav):not(.shell) { padding-bottom: var(--tabbar-h); }
}

/* ------------------------------------------------- recherche (⌘K) */
.hub-pal {
  position: fixed; inset: 0; z-index: 3000; display: flex; justify-content: center; align-items: flex-start;
  padding: 14vh 20px; background: rgba(0, 0, 0, 0.28);
  font-family: var(--font);
}
.hub-pal[hidden] { display: none; }
.hub-pal-box {
  width: min(560px, 100%); border-radius: 16px; background: var(--card); overflow: hidden;
  border: 1px solid var(--sep); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}
.hub-pal-q { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-bottom: 1px solid var(--sep); color: var(--text2); }
.hub-pal-q svg { width: 16px; height: 16px; flex: none; }
.hub-pal-q input { flex: 1; border: 0; outline: none; background: none; padding: 16px 0; font: inherit; font-size: 17px; color: var(--text); }
.hub-pal-list { max-height: 50vh; overflow-y: auto; padding: 6px; }
.hub-pal-list button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px;
  border: 0; border-radius: 9px; background: transparent; color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer;
}
.hub-pal-list button span:last-child { font-size: 13px; color: var(--text2); }
.hub-pal-list button[aria-selected="true"] { background: var(--accent); color: #fff; }
.hub-pal-list button[aria-selected="true"] span:last-child { color: rgba(255, 255, 255, 0.8); }
.hub-pal-empty { padding: 24px; text-align: center; font-size: 14px; color: var(--text2); }

/* ----------------------------------------------------- conteneur de page */
.page { font-family: var(--font); color: var(--text); min-height: 100dvh; }
.page-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 44px var(--gutter) 96px;
  box-sizing: border-box;
}

/* En-tête de page (page ouverte seule) : la date, puis le titre. */
.hub-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.hub-head h1 {
  margin: 0; font-size: var(--fs-title); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.025em; color: var(--text);
}
.hub-head .sub { margin: 8px 0 0; max-width: 720px; font-size: var(--fs-body); color: var(--text2); }
.hub-head .tools { display: flex; align-items: center; gap: 10px; }

/* Onglets : contrôle segmenté. */
.page-tabs {
  display: inline-flex; gap: 2px; padding: 2px; margin: 0 0 20px; border-radius: 10px; background: var(--fill);
  max-width: 100%; overflow-x: auto; scrollbar-width: none; box-sizing: border-box;
}
.page-tabs::-webkit-scrollbar { display: none; }
.page-tabs a {
  padding: 6px 14px; border-radius: 8px; font-size: 13px; font-weight: 500; white-space: nowrap;
  color: var(--text2); text-decoration: none;
}
.page-tabs a:hover { opacity: 1; color: var(--text); }
.page-tabs a[aria-current="page"] { font-weight: 600; color: var(--text); background: var(--seg); box-shadow: var(--seg-shadow); }

/* ------------------------------------------------------------ composants */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px;
  border-radius: var(--r-pill); background: var(--accent-bg); color: var(--accent);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: hub-pulse 2s infinite; }
@keyframes hub-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  70% { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* Petite étiquette (libellé d'un chiffre, d'une colonne) : texte secondaire,
   sans capitales, comme dans la maquette. */
.label { font-size: var(--fs-label); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text2); }

.panel {
  background: var(--card); border: 0; border-radius: var(--r-block); box-shadow: var(--shadow);
  padding: 22px 24px; min-width: 0; box-sizing: border-box;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; border: 0; border-radius: var(--r-pill);
  font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}
.btn:hover { opacity: 1; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--fill); color: var(--text); }
.btn-ghost:hover { background: var(--fill2); }
.btn:disabled { opacity: 0.45; cursor: default; }

.input {
  width: 100%; box-sizing: border-box; padding: 10px 13px;
  background: var(--fill); border: 1px solid transparent; border-radius: 10px;
  font-family: var(--font); font-size: 15px; color: var(--text); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input::placeholder { color: var(--text3); }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }

.num { font-variant-numeric: tabular-nums; }
.up { color: var(--up); }
.down { color: var(--down); }
.warn { color: var(--warn); }
.dim { color: var(--text3); }

/* -------------------------------------------------------------- squelette */
/* Des blocs aux proportions du contenu attendu, balayés d'un reflet : la page
   a sa forme définitive avant même que les données n'arrivent. */
.skel {
  position: relative; overflow: hidden; background: var(--fill); border-radius: var(--r-sm);
  color: transparent !important; user-select: none;
}
.skel::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card) 55%, transparent), transparent);
  animation: hub-shimmer 1.4s ease-in-out infinite;
}
@keyframes hub-shimmer { to { transform: translateX(100%); } }
.skel-line { display: block; height: 0.8em; margin: 0.45em 0; }
.skel-title { display: block; height: 1.5em; width: 45%; margin-bottom: 0.6em; }
.skel-block { display: block; }
.skel-card { background: var(--card); border-radius: var(--r-block); box-shadow: var(--shadow); padding: 22px 24px; }
@media (prefers-reduced-motion: reduce) {
  .skel::after, .eyebrow .pulse { animation: none; }
}

/* Apparition douce du contenu qui remplace le squelette */
.fade-in { animation: hub-fade 0.35s ease both; }
@keyframes hub-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------- mise à jour en cours */
/* Les dernières données restent affichées ; un reflet les parcourt le temps
   que les données à jour arrivent. */
.refreshing :is(.panel, .tile, .ov-state, .macro-in, .cl-item, .board-table) { position: relative; overflow: hidden; }
.refreshing :is(.panel, .tile, .ov-state, .macro-in, .cl-item, .board-table)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 8%, transparent), transparent);
  animation: hub-shimmer 1.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .refreshing :is(.panel, .tile, .ov-state, .macro-in, .cl-item, .board-table)::after { animation: none; opacity: 0.4; transform: none; }
}

/* ------------------------------------------------------------ coquille */
/* La barre latérale reste fixe ; les pages s'affichent dans un cadre qui
   occupe le reste de l'écran (assets/shell.js). L'en-tête de section (date,
   titre, onglets) est posé par-dessus le haut du cadre et défile avec lui,
   comme s'il faisait partie de la page : le cadre réserve sa hauteur
   (--secbar-h, mesurée par hub-nav.js). */
body.shell { overflow: hidden; --secbar-h: 170px; }
.shell-frame {
  position: fixed; top: var(--nav-h); left: var(--side-w); right: 0; bottom: 0;
  width: calc(100% - var(--side-w)); height: calc(100% - var(--nav-h));
  border: 0; background: transparent;
}
.shell-frame[hidden] { display: none; }
#hub-secbar {
  position: fixed; top: var(--nav-h); left: var(--side-w); right: 0; z-index: 900;
  box-sizing: border-box; pointer-events: none; will-change: transform;
}
#hub-secbar[hidden], #hub-secbar .page-tabs[hidden] { display: none; }
#hub-secbar .in {
  max-width: var(--maxw); margin: 0 auto; padding: 44px var(--gutter) 28px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 18px;
}
#hub-secbar .in > * { pointer-events: auto; }
#hub-secbar .row { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
#hub-secbar .row:not(:has(> .page-tabs:not([hidden]))):not(:has(> .acts > *)) { display: none; }
#hub-secbar .row > .acts { margin-left: auto; }
#hub-secbar .ttl { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#hub-secbar .date { font-size: 13px; font-weight: 500; color: var(--text2); }
#hub-secbar .date::first-letter { text-transform: uppercase; }
#hub-secbar h1 { margin: 0; font-size: var(--fs-title); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; color: var(--text); }
#hub-secbar .page-tabs { margin: 0; }
#hub-secbar .acts { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; }
#hub-secbar .acts:empty { display: none; }
#hub-secbar .acts .seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 10px; background: var(--fill); }
#hub-secbar .acts .seg button {
  padding: 6px 14px; border: 0; border-radius: 8px; background: none; color: var(--text2);
  font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
#hub-secbar .acts .seg button:hover { color: var(--text); }
#hub-secbar .acts .seg button[aria-pressed="true"] { font-weight: 600; color: var(--text); background: var(--seg); box-shadow: var(--seg-shadow); }
#hub-secbar .acts .btn.on { color: var(--accent); background: var(--accent-bg); }

/* Une page chargée dans un cadre n'a pas de barre latérale autour d'elle, et
   commence sous l'en-tête de section. */
html.embedded { --side-w: 0px; --nav-h: 0px; }
html.embedded body { padding-left: 0 !important; padding-top: var(--secbar-h, 0px) !important; }
html.embedded, html.embedded body { background: var(--bg) !important; }
/* Dans la coquille, la page ne répète ni son titre ni les onglets de la barre. */
html.embedded .hub-head > h1, html.embedded .page .page-header-left h1, html.embedded .rs-head > h1 { display: none; }
html.embedded .page-tabs.local, html.embedded .tools > .page-tabs { display: none; }
html.embedded .hub-head { justify-content: flex-end; margin-bottom: 10px; }
html.embedded .hub-head:has(> .tools:empty), html.embedded .tools-head { display: none; }
/* L'en-tête dont les boutons sont montés dans la barre de section. */
html.embedded [data-hub-up] { display: none !important; }
/* Une vue réduite à son en-tête (monté dans la barre) ne laisse pas de marge. */
html.embedded section.nv:not(:has(> :not(.hub-head))) { margin: 0 !important; }
/* Même écart partout entre l'en-tête de section et le début de la page. */
html.embedded body .page, html.embedded .page-inner, html.embedded .rs, html.embedded .tools, html.embedded .main { padding-top: 0 !important; margin-top: 0 !important; }
html.embedded .page-header { margin-bottom: 10px !important; }
html.embedded .page-header:not(:has(button, a, select, input)) { display: none !important; }
@media (max-width: 900px) {
  html.embedded body { padding-bottom: calc(var(--tabbar-h, 76px) + 16px); }
}

/* ------------------------------------------------- harmonisation finale */
b, strong { font-weight: 600; }

/* ------------------------------------------------------ montants masqués */
/* Un seul bouton pour tout le site (assets/hub-nav.js). Les montants de toutes
   les pages sont floutés ; les cours de marché publics restent lisibles. */
.hub-eye {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1200;
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--sep); border-radius: 50%; background: var(--bar);
  color: var(--text2); cursor: pointer;
}
.hub-eye:hover { color: var(--text); }
.hub-eye[aria-pressed="true"] { color: var(--accent); background: var(--accent-bg); }
.hub-eye svg { width: 20px; height: 20px; }
html.privacy :is(.num, .prv, .total-value, .delta, .pnl, .h-amount, .h-pnl, .pr-st-v, .bg-seg) { filter: blur(7px); }
html.privacy :is(.cg-markets, .cg-rank, .cg-spark) .num, html.privacy .cg-mprice { filter: none; }

/* ------------------------------------------- un seul style pour tout le site */
/* Titres de bloc : 20 px, en gras, sans capitales, sur toutes les pages. Les
   petites étiquettes (chiffres clés, colonnes) sont en texte secondaire. */
:root :is(.nv-panel-head, .kpis-head, .cl-head, .sp-lh, .panel-head, .op-head, .prob-head, .tr-head) > .label,
:root .ch-head > div > .label:first-child,
:root :is(.ov-state, .sp-brief, .sp-events-panel) > .label:first-child,
:root :is(.panel-title, .section-title, .ed-head h2) {
  text-transform: none; letter-spacing: -0.015em; font-size: var(--fs-h2); font-weight: 600; color: var(--text);
}

/* ------------------------------------------------------------ téléphone */
@media (max-width: 900px) {
  #hub-secbar .in { padding: 20px 16px 20px; gap: 14px; }
  #hub-secbar h1 { font-size: 28px; }
  #hub-secbar .acts { justify-content: flex-start; }
  .hub-eye { right: 12px; bottom: calc(var(--tabbar-h, 76px) + 12px); }
  .page-inner { padding: 20px 16px 32px; }
}
