/* Build 7.516 (E-1020 = a, Chef 21.11.2026): Mit Handy-Tab-Leiste kein ☰ mehr (alles über „Mehr“), Lupe rückt nach rechts;
   Konto-Karte oben in „Alle Funktionen“ (.ntb-kkarte, topbar_konto.js). Ohne Tab-Leiste und in der Hausmeister-App bleibt alles wie bisher.
   Build 7.516 (E-950 Stufe 2–4): Stern an Menüpunkten, Favoriten-Chips mit Zähler + „Favoriten verwalten“, Rundgang,
   Hinweis-Meldung, Handy-Tab-Leiste (bis 768 px; html.ntb-an.ntb-tabs-an). Der ⚡-Platz in der Wegweiser-Zeile entfällt.
   Build 7.516 (E-950 b, Boss 19.11.2026): Neue obere Leiste „Variante B: Zeile + Wegweiser-Leiste“ (Stufe 1).
   Nodely-Optik mit App-Variablen (styles.css) und dem Nodely-Blau aus v4_topbar.js — keine eigene Palette.
   Wirkt nur mit .ntb-an (gesetzt von topbar_leiste.js) und erst ab 769 px; darunter bleibt das Handy-Menü wie bisher. */

:root { --ntb-css: 1; }   /* Kennung: topbar_leiste.js baut die neue Leiste nur, wenn diese Datei geladen ist */
.topbar, #ntbPop, #ntbAlle {
  --ntb-blau: #2563eb; --ntb-blau-soft: #eff6ff; --ntb-blau-text: #1e40af;
  --ntb-hover: rgba(15,23,42,.05); --ntb-menu: var(--card-bg, #fff); --ntb-flaeche: var(--card-bg, #fff);
  --ntb-schatten: 0 20px 40px rgba(10,14,26,.12), 0 4px 12px rgba(10,14,26,.08);
}
html[data-vrah-theme="dark"] .topbar, html[data-vrah-theme="dark"] #ntbPop, html[data-vrah-theme="dark"] #ntbAlle {
  --ntb-blau: #60a5fa; --ntb-blau-soft: rgba(96,165,250,.14); --ntb-blau-text: #93c5fd;
  --ntb-hover: rgba(148,163,184,.10); --ntb-menu: #1a1f2e; --ntb-flaeche: var(--card-bg, #111827);
  --ntb-schatten: 0 20px 40px rgba(0,0,0,.6);
}

/* Neue Teile sind ohne .ntb-an (Rückfall) und auf dem Handy unsichtbar. */
.topbar .ntb-allf, .topbar .ntb-nav, .topbar .ntb-rechts, .topbar .ntb-weg { display: none; }
#ntbPop[hidden] { display: none !important; }

@media (min-width: 769px) {
  .topbar.ntb-an #vrahTopnav { display: none !important; }   /* alter Block: bleibt im DOM (Hilfe/Dunkel/Abmelden/Suchfeld) */
  .topbar.ntb-an .topbar-inner {
    height: 56px; padding: 0 16px; gap: 10px; justify-content: flex-start; flex-wrap: nowrap; align-items: center;
    flex-direction: row; white-space: nowrap;
  }
  .topbar.ntb-an .brand {
    display: inline-flex !important; align-items: center; height: 40px; padding: 0 8px 0 2px !important;
    line-height: 1; flex: none; border-radius: 12px;
  }
  .topbar.ntb-an .brand svg { display: block; }
  .topbar.ntb-an .brand .brand-text { line-height: 1; }

  .topbar.ntb-an .ntb-allf {
    display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 11px; flex: none;
    border: 1px solid var(--border); border-radius: 10px; background: var(--ntb-flaeche); color: var(--text);
    font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
  }
  .topbar.ntb-an .ntb-allf svg { color: var(--ntb-blau); }
  .topbar.ntb-an .ntb-allf:hover { border-color: var(--ntb-blau); }

  .topbar.ntb-an .ntb-nav { display: flex; align-items: center; gap: 2px; flex: 1 1 0; min-width: 0; overflow: hidden; padding: 4px 2px; }
  .ntb-nb {
    display: inline-flex; align-items: center; gap: 5px; flex: none; height: 36px; padding: 0 11px;
    border-radius: 999px; border: 1px solid transparent; background: transparent; color: var(--text);
    font: inherit; font-size: 13.5px; font-weight: 700; line-height: 1; cursor: pointer;
  }
  .ntb-nb[hidden] { display: none; }
  .ntb-nb:hover, .ntb-nb[aria-expanded="true"] { background: var(--ntb-hover); border-color: var(--border); }
  .ntb-nb.act { background: var(--ntb-blau-soft); color: var(--ntb-blau-text); border-color: transparent; }
  .ntb-caret { font-size: 9px; opacity: .6; }

  .topbar.ntb-an .ntb-rechts { display: flex; align-items: center; gap: 6px; flex: none; margin-left: auto; }
  .ntb-suche {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; width: 220px; padding: 0 10px; overflow: hidden;
    border: 1px solid var(--border); border-radius: 10px; background: var(--ntb-flaeche); color: var(--muted);
    font: inherit; font-size: 13px; cursor: pointer;
  }
  .ntb-suche:hover { border-color: var(--ntb-blau); }
  .ntb-suche .ntb-st { flex: 1; min-width: 0; text-align: left; overflow: hidden; text-overflow: ellipsis; }
  .ntb-suche kbd, .ntb-alle kbd {
    flex: none; font: inherit; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px;
    border: 1px solid var(--border); background: var(--bg); color: var(--muted);
  }
  .topbar.ntb-an .ntb-rechts #notifBell {
    position: relative; width: 36px; height: 36px; min-width: 0; padding: 0; border-radius: 50% !important;
    display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; flex: none;
  }
  .topbar.ntb-an .ntb-rechts #notifBell:hover { background: var(--ntb-hover); }
  .ntb-hilfe {
    position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none; display: inline-flex; align-items: center;
    justify-content: center; border: 0; background: transparent; color: var(--text); cursor: pointer;
  }
  .ntb-hilfe:hover { background: var(--ntb-hover); }
  .ntb-hz {
    position: absolute; top: 2px; right: 0; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 99px; box-sizing: border-box;
    background: var(--ntb-blau); color: #fff; font-size: 9.5px; font-weight: 800; line-height: 15px; text-align: center;
  }
  .ntb-hz[hidden] { display: none; }
  .ntb-konto {
    width: 34px; height: 34px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
    background: var(--ntb-blau-soft); color: var(--ntb-blau-text); border: 1px solid transparent;
    font: inherit; font-weight: 800; font-size: 12.5px; cursor: pointer;
  }
  .ntb-konto:hover, .ntb-konto[aria-expanded="true"] { border-color: var(--ntb-blau); }

  /* Stufe 1 bei Platzmangel: Beschriftungen einklappen (danach Gruppen unter „Mehr“) */
  .topbar.ntb-an[data-stufe="1"] .ntb-allf span, .topbar.ntb-an[data-stufe="1"] .ntb-suche .ntb-st { display: none; }
  .topbar.ntb-an[data-stufe="1"] .ntb-suche { width: auto; }
  .topbar.ntb-an[data-stufe="1"] .ntb-nb { padding: 0 9px; }

  /* Wegweiser-Leiste */
  .topbar.ntb-an .ntb-weg { display: block; border-top: 1px solid var(--border); background: var(--ntb-flaeche); }
  .ntb-weg-in { max-width: 1600px; margin: 0 auto; height: 40px; padding: 0 16px; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
  .ntb-pfad { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px; overflow: hidden; font-size: 12.5px; font-weight: 600; color: var(--muted); }
  .ntb-pfad svg { flex: none; }
  .ntb-pfad button { font: inherit; font-weight: 600; color: inherit; background: none; border: 0; border-radius: 6px; padding: 2px 4px; cursor: pointer; }
  .ntb-pfad button:hover { background: var(--ntb-hover); color: var(--text); }
  .ntb-pfad .ntb-cur { color: var(--text); font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
  .ntb-favs { display: flex; align-items: center; gap: 6px; flex: none; }
  .ntb-fl { font-size: 11.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
  .topbar .ntb-fav {
    display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border-radius: 8px;
    border: 1px solid var(--border); background: var(--ntb-flaeche); color: var(--text);
    font-size: 12.5px; font-weight: 700; line-height: 1; text-decoration: none;
  }
  .topbar .ntb-fav svg { color: var(--ntb-blau); }
  .topbar .ntb-fav:hover { border-color: var(--ntb-blau); }
  .topbar .ntb-fav.act { background: var(--ntb-blau-soft); border-color: var(--ntb-blau); color: var(--ntb-blau-text); }
  /* 7.457: Zähler am Favoriten; bei Platzmangel erst Text, dann Namen einklappen (favsEinpassen) */
  .ntb-cb {
    display: inline-flex; align-items: center; height: 18px; min-width: 18px; padding: 0 6px; box-sizing: border-box; border-radius: 99px;
    background: var(--ntb-blau-soft); color: var(--ntb-blau-text); font-size: 11px; font-weight: 800; justify-content: center;
  }
  .topbar .ntb-fav.act .ntb-cb { background: var(--ntb-flaeche); }
  .ntb-cbt { font-weight: 700; }
  .topbar.ntb-an[data-favstufe="1"] .ntb-cbt, .topbar.ntb-an[data-favstufe="2"] .ntb-cbt, .topbar.ntb-an[data-favstufe="1"] .ntb-fl,
  .topbar.ntb-an[data-favstufe="2"] .ntb-fk, .topbar.ntb-an[data-favstufe="2"] .ntb-fl { display: none; }
  .ntb-fleer { font-size: 12px; color: var(--muted); }
  .ntb-favedit {
    width: 28px; height: 28px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
    border: 1px solid var(--border); background: var(--ntb-flaeche); color: #d97706; cursor: pointer;
  }
  .ntb-favedit:hover, .ntb-favedit[aria-expanded="true"] { border-color: #d97706; }
}

/* Aufklapp-Menüs (Mega, Mehr, Konto) */
#ntbPop {
  position: fixed; z-index: 400; background: var(--ntb-menu); color: var(--text);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--ntb-schatten);
  padding: 6px; overflow: auto; animation: ntbEin .12s ease-out; font-size: 14px; line-height: 1.4;
}
@keyframes ntbEin { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #ntbPop { animation: none; } }
.ntb-mega { column-gap: 6px; max-width: 100%; }
.ntb-sek-h {
  font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted);
  padding: 9px 10px 3px; break-after: avoid;
}
.ntb-it {
  display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 6px 8px; border-radius: 9px;
  color: var(--text); text-decoration: none; text-align: left; break-inside: avoid; cursor: pointer;
  background: none; border: 0; font: inherit; box-sizing: border-box;
}
.ntb-it:hover, .ntb-it:focus-visible { background: var(--ntb-hover); }
/* Sichtbarer Tastatur-Rahmen an allen Bedienelementen der Leiste */
.topbar.ntb-an .ntb-allf:focus-visible, .ntb-nb:focus-visible, .ntb-suche:focus-visible, .ntb-hilfe:focus-visible,
.ntb-konto:focus-visible, .topbar.ntb-an #notifBell:focus-visible, .topbar .ntb-fav:focus-visible, .ntb-pfad button:focus-visible,
.ntb-favedit:focus-visible, .ntb-stern:focus-visible, .ntb-tab:focus-visible, #ntbTour button:focus-visible,
.ntb-it:focus-visible, .ntb-icb:focus-visible {
  outline: 2px solid var(--ntb-blau); outline-offset: 2px;
}
.ntb-it:focus-visible { outline-offset: -2px; }
/* 7.457: Menüpunkt + Stern (Stern ist ein eigener Knopf neben dem Link) */
.ntb-itw { display: flex; align-items: flex-start; gap: 2px; break-inside: avoid; }
.ntb-itw > .ntb-it { flex: 1; min-width: 0; }
.ntb-stern {
  flex: none; width: 28px; height: 28px; margin-top: 4px; padding: 0; border: 0; border-radius: 7px; background: none;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted); opacity: .35; cursor: pointer;
}
.ntb-itw:hover .ntb-stern, .ntb-stern:focus-visible, .ntb-stern.an { opacity: 1; }
.ntb-stern:hover { background: var(--ntb-hover); color: #d97706; }
.ntb-stern.an { color: #d97706; }
html[data-vrah-theme="dark"] .ntb-stern.an, html[data-vrah-theme="dark"] .ntb-stern:hover, html[data-vrah-theme="dark"] .ntb-favedit { color: #fbbf24; }
@media (hover: none) { .ntb-stern { opacity: .8; } }
.ntb-favs-pop { width: 330px; max-width: 100%; }
.ntb-anz { color: var(--muted); font-weight: 500; }
.ntb-hint { padding: 6px 10px 8px; font-size: 12px; color: var(--muted); white-space: normal; }
.ntb-it.act { background: var(--ntb-blau-soft); color: var(--ntb-blau-text); }
.ntb-ii {
  width: 28px; height: 28px; border-radius: 8px; flex: none; margin-top: 1px; display: flex; align-items: center; justify-content: center;
  background: var(--ntb-blau-soft); color: var(--ntb-blau-text);
}
.ntb-tx { flex: 1; min-width: 0; line-height: 1.25; }
.ntb-tx b { display: block; font-weight: 700; font-size: 13.5px; }
.ntb-tx i { display: block; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 500; }
.ntb-it.act .ntb-tx i { color: inherit; opacity: .8; }
.ntb-zl { align-items: center; min-height: 34px; padding: 4px 10px; font-size: 13.5px; font-weight: 600; }
.ntb-zl svg { color: var(--ntb-blau); }
.ntb-zl span:first-of-type { flex: 1; }
.ntb-zl small { color: var(--muted); font-size: 11.5px; }
.ntb-zl.ntb-gefahr, .ntb-zl.ntb-gefahr svg { color: #b91c1c; }
html[data-vrah-theme="dark"] .ntb-zl.ntb-gefahr, html[data-vrah-theme="dark"] .ntb-zl.ntb-gefahr svg { color: #fca5a5; }
.ntb-zur { align-items: center; font-size: 13.5px; }
.ntb-hr { height: 1px; background: var(--border); margin: 6px 4px; }
.ntb-ph { padding: 8px 10px 6px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.ntb-ph small { display: block; font-weight: 500; color: var(--muted); }
.ntb-konto-pop { width: 260px; max-width: 100%; }
.ntb-mehr-pop { width: 240px; max-width: 100%; }

/* „Alle Funktionen“ */
html.ntb-alle-offen { overflow: hidden; }
#ntbAlle {
  position: fixed; inset: 0; z-index: 450; background: rgba(15,23,42,.45);
  display: flex; justify-content: center; align-items: flex-start; padding: 40px 16px 16px; box-sizing: border-box;
}
.ntb-alle-box {
  width: min(1240px, 100%); max-height: 100%; display: flex; flex-direction: column; box-sizing: border-box;
  background: var(--bg, #f6f7fb); color: var(--text); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--ntb-schatten); padding: 16px 18px; font-size: 14px; line-height: 1.4;
}
.ntb-alle-kopf { display: flex; align-items: center; gap: 10px; }
.ntb-alle-kopf h2 { flex: 1; margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.ntb-icb {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--text); cursor: pointer;
}
.ntb-icb:hover { background: var(--ntb-hover); }
.ntb-alle-filter {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; margin: 12px 0;
  border: 1px solid var(--border); border-radius: 12px; background: var(--ntb-flaeche); color: var(--muted); max-width: 560px;
}
.ntb-alle-filter:focus-within { border-color: var(--ntb-blau); }
.ntb-alle-filter input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--text); }
.ntb-alle-liste { overflow: auto; min-height: 0; }
.ntb-alle-leer, .ntb-alle-hinweis { padding: 6px 4px 12px; font-size: 13px; color: var(--muted); }
.ntb-alle-leer[hidden], .ntb-gcard[hidden], .ntb-sek[hidden], .ntb-it[hidden], .ntb-itw[hidden] { display: none; }
.ntb-gcard {
  margin-bottom: 12px; padding: 12px 12px 8px; background: var(--ntb-flaeche);
  border: 1px solid var(--border); border-radius: 14px;
}
.ntb-gcard h3 { margin: 0 0 4px; padding: 0 8px; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.ntb-gcard h3 svg { color: var(--ntb-blau); }
.ntb-gcols { columns: 250px; column-gap: 8px; }
/* E-1020: Konto-Karte (nur über „Mehr“ am Handy) — Optik wie die Bereichskarten, Knöpfe wie „Alle Funktionen“ in der Leiste */
.ntb-kkarte {
  margin: 12px 0 0; padding: 12px; background: var(--ntb-flaeche); border: 1px solid var(--border); border-radius: 14px; flex: none;
}
.ntb-kk-kopf { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ntb-kk-ini {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ntb-blau-soft); color: var(--ntb-blau-text); font-weight: 800; font-size: 13.5px;
}
.ntb-kk-wer { min-width: 0; }
.ntb-kk-wer b { display: block; font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ntb-kk-wer small { display: block; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }   /* Prüfbefund: lange Firma bricht um, Rolle bleibt lesbar */
.ntb-kk-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ntb-kk-b {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px; box-sizing: border-box; max-width: 100%;
  border: 1px solid var(--border); border-radius: 10px; background: var(--ntb-flaeche); color: var(--text); text-decoration: none;
  font: inherit; font-size: 13px; font-weight: 700; line-height: 1; cursor: pointer;
}
.ntb-kk-b svg { color: var(--ntb-blau); flex: none; }
.ntb-kk-b:hover { border-color: var(--ntb-blau); }
.ntb-kk-b:focus-visible { outline: 2px solid var(--ntb-blau); outline-offset: 2px; }
.ntb-kk-b.ntb-gefahr, .ntb-kk-b.ntb-gefahr svg { color: #b91c1c; }
.ntb-kk-b.ntb-gefahr { border-color: rgba(185,28,28,.28); }
html[data-vrah-theme="dark"] .ntb-kk-b.ntb-gefahr, html[data-vrah-theme="dark"] .ntb-kk-b.ntb-gefahr svg { color: #fca5a5; }
html[data-vrah-theme="dark"] .ntb-kk-b.ntb-gefahr { border-color: rgba(252,165,165,.3); }
.ntb-kk-z {
  min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 99px; background: var(--ntb-blau); color: #fff;
  font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center;
}
.ntb-sek { break-inside: avoid; }
@media (max-width: 768px) {
  #ntbAlle { padding: 0; z-index: 30100; }   /* 7.457: über Lupe/☰ des Handy-Kopfs (z 1200/30050), sonst verdecken sie „Schließen“ */
  .ntb-alle-box { border-radius: 0; height: 100%; }
  .ntb-gcols { columns: 1; }
}

/* 7.457: kurze Meldung (angepinnt/entfernt) */
#ntbHinweis {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1500; max-width: calc(100vw - 32px);
  background: #0f172a; color: #fff; padding: 9px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
#ntbHinweis[hidden] { display: none; }

/* 7.457: Rundgang */
#ntbTour {
  position: fixed; z-index: 1450; width: 290px; max-width: calc(100vw - 16px); box-sizing: border-box; padding: 12px 14px;
  background: #0f172a; color: #fff; border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.4); font-size: 13px; line-height: 1.45;
}
#ntbTour b { display: block; font-size: 14px; margin-bottom: 2px; }
#ntbTour p { margin: 0; color: rgba(255,255,255,.88); }
.ntb-tour-f { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.ntb-tour-f span { flex: 1; white-space: nowrap; color: rgba(255,255,255,.6); font-size: 12px; }
#ntbTour button { padding: 5px 10px; border-radius: 8px; border: 0; background: none; font: inherit; font-weight: 700; font-size: 12.5px; color: #cbd5e1; cursor: pointer; }
#ntbTour button.pri { background: #2563eb; color: #fff; }
.ntb-tour-hl { box-shadow: 0 0 0 3px #f59e0b, 0 0 0 6px rgba(245,158,11,.3) !important; border-radius: 10px; }

/* 7.457: Handy-Tab-Leiste (Start · Favoriten · Mehr) — nur bis 768 px und nur mit neuer Leiste (html.ntb-an, Rückfall nimmt sie weg), nicht in der Hausmeister-App (eigene Leiste) */
#ntbTabs { display: none; }
@media (max-width: 768px) {
  html.ntb-an.ntb-tabs-an { --ntb-tab-h: calc(58px + env(safe-area-inset-bottom, 0px)); }
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) > #ntbTabs {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 440; box-sizing: border-box; height: var(--ntb-tab-h);
    padding: 4px 2px calc(4px + env(safe-area-inset-bottom, 0px)); background: var(--card-bg, #fff); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(10,14,26,.06);
  }
  html[data-vrah-theme="dark"].ntb-an.ntb-tabs-an body > #ntbTabs { background: var(--card-bg, #111827); }
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) { padding-bottom: var(--ntb-tab-h); }
  /* E-1020: Tab-Leiste da → kein ☰ (Konto & Co. über „Mehr“), die Lupe rückt an seinen Platz. Gleiche Bedingung wie die
     Leiste selbst: ohne Tab-Leiste (keine Menüpunkte) bleibt ☰ der Rückfall; die Hausmeister-App blendet ☰ ohnehin aus. */
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) #hamburgerBtn { display: none !important; }
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) #nsSpotMob { right: 12px; }
  .ntb-tab {
    flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; margin: 0;
    border: 0; border-radius: 10px; background: none; color: var(--muted); text-decoration: none; font: inherit; font-size: 10.5px;
    font-weight: 700; letter-spacing: -.35px; cursor: pointer;
  }
  .ntb-tab.act { color: #1e40af; background: #eff6ff; }
  html[data-vrah-theme="dark"] .ntb-tab.act { color: #93c5fd; background: rgba(96,165,250,.14); }
  .ntb-tl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ntb-ti { position: relative; display: block; height: 20px; }
  .ntb-tdot {
    position: absolute; top: -6px; left: 14px; min-width: 16px; height: 16px; padding: 0 4px; box-sizing: border-box; border-radius: 99px;
    background: #2563eb; color: #fff; font-size: 10px; font-weight: 800; line-height: 16px; text-align: center;
  }
  /* Schwebendes über die Tab-Leiste heben (Hilfe & Chat, Meldungen, Leisten am Seitenende) */
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) #hcKnopf { bottom: calc(var(--ntb-tab-h) + 12px); }
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) #hcPanel { bottom: calc(var(--ntb-tab-h) + 64px); max-height: calc(100dvh - var(--ntb-tab-h) - 110px); }
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) #ntbHinweis,
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) .vrah-testmodus-toast,
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) .sci2-undo,
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) .v4onb-rueck,
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) .v4cal-hinweis { bottom: calc(var(--ntb-tab-h) + 12px); }
  html.ntb-an.ntb-tabs-an body:not(.auth-off):not(.vhm-an) :is(.v4aacl-bar, .v4lst-bar, .v4ki-bar, .v4mac-bar, .v4osf-bar, .v4pb-leiste, .v4zi-fuss) { bottom: var(--ntb-tab-h); }
}

/* Druck: Kopf samt Leiste, Menüs, Overlay und Tab-Leiste nie mitdrucken */
@media print {
  .topbar, #ntbPop, #ntbAlle, #ntbTabs, #ntbTour, #ntbHinweis { display: none !important; }
  html.ntb-an.ntb-tabs-an body { padding-bottom: 0 !important; }
}
