/* ===== The top bar in EG PM's look (Jose approved 2026-11-24, after the sidebar).
   Restyle only, the same approach as the agenda (#882), My page (#883), Notes (#884) and the
   sidebar: every rule is under .topbar (the bar above every page: page title, Assistant,
   "+ New note", the Notetaker gear, and the phone menu button). Layout, text, order and
   behaviour are unchanged; no JS. Paddings, font sizes, weights and borders keep their widths,
   so no control moves and the page below keeps its position. Loaded last so ties win.
   Tokens: the shared EG PM block in oneonone.css, which now also covers .topbar. White bar with
   a hairline; primary = teal fill (#0d4f5a, hover #17646f, as the agenda's buttons), secondary =
   white with a grey line (#d2d5da) and ink text; teal focus ring. Light neutrals only in light;
   dark keeps EG Hub's dark bar and uses the dark-tuned teal.
   "+ New note" has two looks and both are covered: the teal primary on Home / All Notes / a
   note, and the white secondary everywhere else (style.css's .main:not(:has(...)) rule, which
   reads the --btn-secondary-* tokens re-declared here). */

/* Tokens style.css builds from --bg-alt / --text at :root resolve there, so say them again here,
   where the EG PM values are in scope. */
.topbar {
  --btn-secondary-bg: var(--ag-card-bg); --btn-secondary-bg-hover: var(--row-hover); --btn-secondary-fg: var(--text);
  --btn-secondary-border: var(--ag-line-strong);
  background: var(--bg);
  border-bottom-color: var(--border);
  color: var(--text);
}
.topbar .breadcrumb { color: var(--text); }

/* Buttons: Assistant (secondary), "+ New note" (primary or secondary, see above). */
.topbar .btn { border-radius: 6px; }
.topbar .btn-secondary { background: var(--btn-secondary-bg); border-color: var(--btn-secondary-border); color: var(--btn-secondary-fg); }
.topbar .btn-secondary:hover { background: var(--btn-secondary-bg-hover); }
.topbar .btn:focus-visible, .topbar .icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Icon buttons: the Notetaker gear and the phone menu button. */
.topbar .icon-btn { color: var(--text-muted); border-radius: 6px; }
.topbar .icon-btn:hover { background: var(--bg-raised); color: var(--text); }
