/* =============================================================
   ENTETE-SEUL.CSS - Mimba-Educ : l'en-tête commun SANS le thème du site.
   Pour une page qui garde ses propres couleurs (page claire, outils...) :
   seules la barre du haut et le menu prennent les couleurs du site.
   A charger à la place de theme.css, avant entete.css :
     <link rel="stylesheet" href="../commun/entete-seul.css">
     <link rel="stylesheet" href="../commun/entete.css">
   puis dans la page : <header class="topbar"><div class="tb-title">Titre</div></header>
   et à la fin : window.MB = { accueil: '../', fond: false } + ../commun/entete.js
   ============================================================= */
:root{--topbar:62px}
header.topbar,#mbPan,#mbOutils{
  --bg:#0d1117;--bg2:#161b22;--text:#e6edf3;--text-sub:#b0bcce;--muted:#7a8fa8;--accent:#38bdf8;--violet:#a78bfa;--gold:#fbbf24;--hi:#ffffff;
  --bg-rgb:13,17,23;--bg2-rgb:22,27,34;--acc-rgb:56,189,248;--line:rgba(56,189,248,.22);--shadow:rgba(0,0,0,.45);--topbar:62px;
  --font:'Segoe UI Variable','Segoe UI',system-ui,-apple-system,Roboto,'Helvetica Neue',Arial,sans-serif;
  font-family:var(--font);line-height:normal;box-sizing:border-box}
header.topbar *,#mbPan *{box-sizing:border-box}
header.topbar{position:fixed;top:0;left:0;right:0;z-index:200;height:var(--topbar);margin:0;display:flex;align-items:center;justify-content:flex-start;gap:8px;padding:0 16px;
  background:rgba(13,17,23,.95);border-bottom:1px solid var(--line);color:var(--text);box-shadow:none;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
header.topbar .brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0;flex:0 1 auto}
header.topbar .brand-logo{width:40px;height:40px;flex-shrink:0;display:grid;place-items:center}
header.topbar .brand-logo img{width:100%;height:100%;object-fit:contain}
header.topbar .brand-name{font-weight:900;font-size:17px;color:var(--hi);white-space:nowrap}
header.topbar .brand-name b{background:linear-gradient(90deg,var(--accent),var(--violet));-webkit-background-clip:text;background-clip:text;color:transparent}
header.topbar .tb-title{flex:1;min-width:0;text-align:center;font-size:15px;font-weight:800;color:var(--hi);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 8px}
@media(max-width:700px){header.topbar{padding:0 10px;gap:6px}header.topbar .tb-title{display:none}}
@media print{header.topbar{display:none!important}}
