/* Commun aux quatre styles d'alpha (src/styles.php), chargé avant la feuille du style choisi.
   L'en-tête des pages reprend celui de l'accueil : une ligne basse, la marque, des liens en graisse normale,
   des boutons fins, la palette à droite. Les liens des boîtes ne sont jamais en gras.
   :where() laisse à chaque règle la priorité de son seul sélecteur : les feuilles des pages gardent la main sur les tailles. */

:where(:root[data-style]) body.pn { font-size: 15px; -webkit-font-smoothing: antialiased; }

/* En-tête */
:where(:root[data-style]) .pn-barre {
  min-height: 46px; padding: 0 16px; gap: 18px;
  background: color-mix(in srgb, var(--fond) 90%, transparent); border-bottom: 1px solid var(--bord);
}
:where(:root[data-style]) .pn-marque { font-weight: 760; font-size: 17px; letter-spacing: -.01em; }
:where(:root[data-style]) .pn-nav { gap: 2px 4px; }
:where(:root[data-style]) .pn-nav-lien, :where(:root[data-style]) .pn-lang { font-size: 13.5px; font-weight: 500; padding: 13px 9px; position: relative; }
:where(:root[data-style]) .pn-langues .pn-lang { font-size: 12.5px; padding: 13px 4px; }
:where(:root[data-style]) .pn-nav-lien:hover, :where(:root[data-style]) .pn-lang:hover { color: var(--navy) !important; }
:where(:root[data-style]) .pn-nav-lien.actif, :where(:root[data-style]) .pn-lang.actif { color: var(--navy) !important; }
:where(:root[data-style]) .pn-nav-lien.actif::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent);
}
:where(:root[data-style]) .pn-barre .pn-btn {
  min-height: 30px; height: 30px; padding: 0 11px; margin-left: 6px; border-radius: 7px; font-size: 13px; font-weight: 500; box-shadow: none;
}
:where(:root[data-style]) .pn-barre .pn-btn-fin { background: var(--carte); color: var(--navy) !important; border-color: var(--bord); }
:where(:root[data-style]) .pn-barre .pn-btn-fin:hover { border-color: var(--accent); color: var(--accent) !important; transform: none; }
:where(:root[data-style]) .pn-barre .palette { margin-left: 4px; }
:where(:root[data-style]) .pn-barre .palette__bouton { width: 32px; height: 30px; border-radius: 7px; background: var(--carte); color: var(--navy); }
:where(:root[data-style]) .pn-barre .palette__icone { width: 16px; height: 16px; }

/* Liens des boîtes et titres : graisse normale, comme sur l'accueil */
:where(:root[data-style]) .pn-nom { font-weight: 400; }
:where(:root[data-style]) .it-sugg a { font-weight: 500; }
:where(:root[data-style]) .it-boite-tete h2 { font-weight: 650; color: var(--titre); }

/* Pastilles, boutons et étiquettes des pages : graisse moyenne, jamais grasse ; les titres gardent la leur. */
:where(:root[data-style]) :is(.pn-pastille, .pn-compteur, .it-vue, .it-meta-bouton, .it-puce, .it-outil, .it-partage-choix, .it-carte-meta, .it-attente, .it-etapes li, .it-regions .actif, .it-visite-txt) { font-weight: 500; }
:where(:root[data-style]) :is(.pn-pastille-n, .it-explo-n, .it-explo-suite, .it-badge) { font-weight: 600; }
:where(:root[data-style]) .pn-btn { font-weight: 550; }
