.topbar { display: flex; align-items: center; gap: var(--space-3); height: var(--topbar-height); padding: 0 var(--space-5); border-bottom: 1px solid var(--color-border); flex: none; }
.topbar__title { margin: 0; min-width: 0; font-size: var(--text-md); font-weight: var(--weight-medium); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Bouton du tiroir : visible seulement en mobile. */
.topbar__menu { display: none; width: var(--hit-target); height: var(--hit-target); flex: none; margin-left: calc(var(--space-2) * -1); border: 0; border-radius: var(--radius-md); background: none; cursor: pointer; font-size: var(--text-xl); }
.topbar__menu:hover { background: var(--color-surface-2); }
@media (max-width: 720px) { .topbar { padding: 0 var(--space-3); } .topbar__menu { display: inline-flex; align-items: center; justify-content: center; } }

/* ---- Beautify (m0-beautify) -------------------------------------------
   QUOI : hard bottom border → hairline that fades at both ends; menu button
   gets the shared press feedback.
   POURQUOI : less "box", more depth — Sider separates by light, not frames. */
.topbar { position: relative; border-bottom-color: transparent; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gradient-hairline); pointer-events: none; }
.topbar__title { letter-spacing: -0.005em; }
.topbar__menu { transition: background var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.topbar__menu:active { transform: scale(0.94); }

/* ---- Icons (m1-design-pass) --------------------------------------------
   QUOI : glyph characters replaced by .nx-icon masks (styles/icons.css). 
   COMMENT : sidebar icon centred (the 24px ☰ glyph size no longer applies). */
.topbar__menu { font-size: inherit; }
