/* ITN Marina Kunden-App 3.0 – gemeinsame App-Hülle.
   Diese Datei liegt über ALLEN Bereichen: neue Seiten und Modul „Hafen“ (bisherige Kunden-App).
   Sie liefert Kopfleiste, Kontextzeile, untere Navigation, Menü-Blatt und Fußzeile – überall gleich.
   Keine externen Dateien. Schrift Inter liegt lokal (assets/fonts, SIL OFL 1.1).

   Farben, Rundungen und Schatten sind die der bisherigen Kunden-App
   (frontend-kundenAPP/assets/css/frontend.css) – dort ist das maritime Erscheinungsbild
   entstanden, und es soll überall gleich aussehen. Jene App wird nur gelesen, nie geändert. */
/* Emoji-Ergänzung: fünf Zeichen fehlen in der Windows-Schrift Segoe UI Emoji
   (Spielplatz, Boje, Stein, Hinweisschild, Hütte). Selbst gehostet, kein externer Aufruf.
   Quelle: Noto Color Emoji, SIL OFL 1.1. Durch unicode-range wird die Datei nur geladen,
   wenn eines dieser Zeichen auf der Seite vorkommt. */
@font-face { font-family: "ITN Emoji"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/itn-emoji.woff2") format("woff2");
  unicode-range: U+1F6D6, U+1F6DD, U+1F6DF, U+1FAA7, U+1FAA8; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Untere Leiste, Menü und Seitengrund: Stand vom 23.09.2026 (maritime Farben) – so soll es bleiben.
     Der Kopf (Hafenzeile + blaue Leiste) trägt seine Werte aus dem Original fest eingetragen
     (#0b4f8a usw.) und hängt NICHT an diesen Variablen. */
  --k1-primary: #002b5c; --k1-primary-dark: #004080; --k1-accent: #00a8e8;
  --k1-bg: #f7f9fc; --k1-line: #e2e8f0; --k1-ink: #2d3748; --k1-muted: #718096;
  --k1-r: 16px; --k1-bn-h: 64px; --k1-tap: 44px; --k1-safe-b: env(safe-area-inset-bottom, 0px);
  --k1-shadow: 0 2px 8px rgba(0,43,92,.10);
}
body { font-family: "ITN Emoji", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--k1-bg); color: var(--k1-ink);
  margin: 0; -webkit-tap-highlight-color: transparent; padding-bottom: calc(var(--k1-bn-h) + 12px + var(--k1-safe-b)); }
:focus-visible { outline: 3px solid #ffbf00; outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.ic { width: 22px; height: 22px; flex: none; vertical-align: middle; }
.ic-sm { width: 16px; height: 16px; }

/* ── Kopf 1:1 wie die bisherige Kunden-App ─────────────────────────────────
   Maße und Farben aus frontend-kundenAPP/templates/header.php (.fe-harbor-bar, .fe-nav)
   mit den Überschreibungen des Designs „Neu“ (assets/css/app-neu.css). Jene App wird nur gelesen. */

/* Hafenzeile: „⚓ Aktueller Hafen: Name · Hafen wechseln“ – rechts Name und Sprache */
.ctxbar { background: #eef2f7; color: #5a6b7d; border-bottom: 1px solid #dbe4ee; font-size: 12.5px; line-height: 1.5;
  padding-top: env(safe-area-inset-top, 0px); }
.ctxbar-in { max-width: 1560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 6px 16px; flex-wrap: wrap; }
.ctxbar-left { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; }
.ctxbar-hafen strong { font-weight: 700; color: #0f2233; }
.ctxbar-sep { margin: 0 6px; }
.ctx-switch .lang-k { display: none; }
.ctxbar a, .ctx-switch > summary { color: #0b4f8a; font-weight: 500; text-decoration: none; }
.ctxbar a:hover, .ctx-switch > summary:hover { text-decoration: underline; }
.ctxbar-right { display: flex; align-items: center; gap: 16px; flex: none; }
.ctxbar .ctxbar-user { font-size: 12px; opacity: .8; color: inherit; font-weight: 400; }
.ctxbar .ctxbar-user:hover { opacity: 1; }
.ctxbar-install { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 5px; background: #0b4f8a; color: #fff;
  font: inherit; font-size: 12px; font-weight: 600; padding: 3px 8px; cursor: pointer; white-space: nowrap; }
.ctxbar-install[hidden] { display: none; }
.ctxbar-install:hover { background: #073a66; }
.ctxbar-install .ic { width: 14px; height: 14px; }

/* Aufklappliste (Hafen wechseln, Sprache) – ohne Skript, wie .fe-lang-dd im Original */
.ctx-dd { position: relative; }
.ctx-dd > summary { list-style: none; cursor: pointer; }
.ctx-dd > summary::-webkit-details-marker { display: none; }
.ctx-dd-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 3000; min-width: 168px; max-height: 74vh; overflow-y: auto;
  background: #fff; border: 1px solid #dbe4ee; border-radius: 8px; padding: 5px; box-shadow: 0 12px 30px rgba(15,34,51,.16); }
.ctx-switch .ctx-dd-menu { left: 0; right: auto; min-width: 220px; }
.ctx-dd-menu a { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 6px; color: #0f2233;
  font-size: 13px; font-weight: 500; white-space: nowrap; text-decoration: none; }
.ctx-dd-menu a:hover, .ctx-dd-menu a.active { background: #eef3f8; color: #0b4f8a; text-decoration: none; }
.ctx-dd-menu a.active { font-weight: 700; }
/* Handy: Hafenliste nicht über den rechten Rand hinaus (V-9, 27.09.2026 – auf 375 px ragte sie 43 px hinaus, Namen abgeschnitten).
   Rechtsbündig am Knopf ausrichten, höchstens Bildschirmbreite, lange Hafennamen umbrechen. */
@media (max-width: 599px) {
  .ctx-switch .ctx-dd-menu { left: auto; right: 0; max-width: calc(100vw - 16px); }
  .ctx-dd-menu a { white-space: normal; overflow-wrap: anywhere; }
}
.lang-dd > summary { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #dbe4ee; color: #0f2233;
  padding: 3px 8px; border-radius: 5px; font-size: 12px; font-weight: 600; }
.lang-dd > summary:hover { background: #f3f6fa; }
.lang-caret { font-size: 8px; opacity: .8; }
.lang-flag { display: inline-flex; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.lang-flag svg { width: 20px; height: 14px; display: block; }

/* Blaue Leiste: ITN-Zeichen + Schriftzug des Hafens */
.appbar { position: sticky; top: 0; z-index: 900; background: #0b4f8a; color: #fff; box-shadow: 0 2px 10px rgba(7,58,102,.18); }
.appbar-in { max-width: 1560px; margin: 0 auto; display: flex; align-items: stretch; gap: 10px; padding: 0 20px; position: relative; }
.appbar .brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-size: 17px; font-weight: 800;
  letter-spacing: -.3px; padding: 12px 0; white-space: nowrap; flex: none; min-width: 0; }
.appbar .brand:hover { color: #fff; opacity: .9; }
.brand-itn { display: block; width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 1px 3px rgba(15,34,51,.2); flex: none; }
.brand-text { overflow: hidden; text-overflow: ellipsis; }
.appbar .icon-btn { color: #fff; align-self: center; }
.appbar-menu { order: 1; }   /* steht im Quelltext vorn (Handy: links); am Rechner wie bisher ganz rechts */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: var(--k1-tap); min-height: var(--k1-tap);
  border-radius: 12px; color: inherit; background: transparent; border: 0; cursor: pointer; position: relative; text-decoration: none; padding: 0 8px; font: inherit; }
.icon-btn:hover { background: rgba(127,127,127,.16); color: inherit; }
.badge { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #c62828; color: #fff;
  font-size: .75rem; font-weight: 700; align-items: center; justify-content: center; line-height: 1; }
.bell .badge, .badge.dot { position: absolute; top: 2px; right: 0; }

/* Bereiche: am Rechner rechts in der Leiste – wie die Links im Original */
.cattabs { display: flex; align-items: stretch; gap: 2px; margin-left: auto; }
.cattab { display: flex; align-items: center; gap: 6px; padding: 0 11px; font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,.82); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap;
  transition: color .15s, border-color .15s; position: relative; }
.cattab:hover, .cattab.active { color: #fff; border-bottom-color: #7fd3f2; }
.cattab .ic { width: 16px; height: 16px; }
.cattab .badge { min-width: 18px; height: 18px; font-size: .68rem; padding: 0 5px; }

/* Handy: Hafenzeile in einer Zeile, Leiste mit Schriftzug in der Mitte, Bereiche als schmale Zeile darunter */
@media (max-width: 767px) {
  .ctxbar-in { flex-wrap: nowrap; }
  .ctxbar-left { flex: 1 1 auto; flex-wrap: nowrap; }
  .ctxbar-hafen { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ctxbar-left > .ctxbar-sep, .ctxbar-left > a, .ctxbar-left > .ctx-switch { flex: none; }
  .ctxbar .ctxbar-user { display: none; }            /* der Name steht im Profil – wie im Original */
  .ctx-switch .lang-l { display: none; }             /* kurz „wechseln“ – der Hafenname braucht den Platz */
  .ctx-switch .lang-k { display: inline; }
  .ctxbar-install span { display: none; }
}
@media (max-width: 899px) {
  .appbar-in { flex-wrap: wrap; justify-content: center; padding: 0 12px; }
  /* Schriftzug zwischen Zurück (links) und Glocke + Menü (rechts) – Platz je nach vorhandenen Knöpfen (30.09.2026) */
  /* 30.09.2026 (Nutzerwunsch): Menü (drei Striche) oben LINKS, daneben Zurück; Glocke rechts – „Mehr …“ unten entfällt */
  .appbar .brand { font-size: 16px; margin: 0 40px; max-width: calc(100% - 80px); }
  .appbar-in:has(.appbar-back) .brand { margin-left: 84px; max-width: calc(100% - 124px); }
  .appbar-menu { position: absolute; left: 6px; top: 5px; }
  .appbar-back { position: absolute; left: 50px; top: 5px; }
  .appbar .bell { position: absolute; right: 6px; top: 5px; }
  .actionbar .abtn-more { display: none; }
  .cattabs { flex-basis: 100%; margin: 0 -12px; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .cattab { flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 2px; padding: 4px 4px 3px;
    min-height: 46px; font-size: .72rem; font-weight: 600; }
  .cattab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .cattab .ic { width: 18px; height: 18px; }
  .cattab .badge { position: absolute; top: 2px; right: 14%; }
}

/* ── Aktionsleiste der Kategorie (dauerhaft sichtbar) ───────────────────── */
.actionbar { background: #fff; border-bottom: 1px solid var(--k1-line); }
.actionbar-in { max-width: 1100px; margin: 0 auto; display: flex; gap: 8px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; }
.actionbar-in::-webkit-scrollbar { display: none; }
.abtn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: var(--k1-tap);
  padding: 8px 12px; border-radius: 12px; border: 1px solid var(--k1-line); background: #fff; color: var(--k1-ink);
  font: inherit; font-size: .88rem; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.abtn span { overflow: hidden; text-overflow: ellipsis; }
.abtn .ic { width: 20px; height: 20px; }
.abtn:hover { background: #eef3f8; color: var(--k1-ink); }
.abtn-primary { background: var(--k1-primary); border-color: var(--k1-primary); color: #fff; }
.abtn-primary:hover { background: var(--k1-primary-dark); color: #fff; }
.abtn-more { flex: 0 0 auto; }

@media (max-width: 899px) {
  /* Auf dem Handy liegt die Aktionsleiste fest unten – in Daumenreichweite */
  .actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; border-top: 1px solid var(--k1-line); border-bottom: 0;
    padding-bottom: var(--k1-safe-b); box-shadow: 0 -4px 16px rgba(15,34,51,.1); }
  .actionbar-in { padding: 6px 8px; gap: 6px; }
  .abtn { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 2px; min-height: 56px; padding: 6px 4px; font-size: .68rem; border-color: transparent; }
  .abtn span { max-width: 100%; }
  .abtn:not(.abtn-primary) { background: transparent; color: var(--k1-muted); }
  .abtn-primary { border-radius: 14px; }
  /* Vollprüfung 28.09.2026 (D3-2): höchstens vier Knöpfe + „Mehr …“ – die übrigen stehen im Menü „Mehr …“ */
  .abtn-wide { display: none; }
  /* 30.09.2026: vier Knöpfe + „Mehr …“ lesbar auch bei 360–375 px – „Mehr …“ schmaler, Beschriftung darf zweizeilig werden */
  .actionbar-in { gap: 2px; padding: 6px 4px; }
  .actionbar .abtn { padding: 6px 1px; font-size: .64rem; }
  .abtn span { white-space: normal; line-height: 1.15; text-align: center; hyphens: auto; -webkit-hyphens: auto;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .abtn { flex: 0 0 auto; }
}

/* ── Menü-Blatt „Alle Funktionen“ ───────────────────────────────────────── */
.sheet-bg { position: fixed; inset: 0; z-index: 990; background: rgba(5,20,35,.45); }
.sheet-bg[hidden], .sheet[hidden] { display: none; }
.sheet { position: fixed; z-index: 1000; left: 0; right: 0; bottom: 0; max-height: 86vh; display: flex; flex-direction: column;
  background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -12px 32px rgba(15,34,51,.25); padding-bottom: var(--k1-safe-b); }
@media (min-width: 900px) { .sheet { left: auto; top: 0; right: 0; bottom: 0; width: 420px; max-height: none; border-radius: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 8px 12px 18px; border-bottom: 1px solid var(--k1-line); }
.sheet-head strong { font-size: 1.05rem; }
.sheet-body { overflow-y: auto; padding: 8px 14px 20px; -webkit-overflow-scrolling: touch; }
.sheet-user { display: flex; align-items: center; gap: 8px; margin: 8px 4px 4px; font-weight: 700; color: var(--k1-ink); }
.sheet-grp { margin: 14px 4px 6px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--k1-muted); }
.sheet-items { display: grid; gap: 4px; }
.sheet-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; border-radius: 12px; text-decoration: none;
  color: var(--k1-ink); font-weight: 600; }
.sheet-item:hover { background: #eef3f8; color: var(--k1-ink); }
.sheet-item.is-active { background: #e3eefa; color: var(--k1-primary); }
.sheet-item.is-danger { color: #b3261e; }
.sheet-ic { display: inline-flex; width: 38px; height: 38px; border-radius: 11px; background: #eef3f8; color: var(--k1-primary);
  align-items: center; justify-content: center; flex: none; }
.sheet-item.is-danger .sheet-ic { background: #fde9e7; color: #b3261e; }
.sheet-lbl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sheet-lbl small { font-weight: 500; color: var(--k1-muted); font-size: .8rem; }
.sheet-langs { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 4px; }
.sheet-langs .chip { display: inline-flex; align-items: center; min-height: var(--k1-tap); padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--k1-line); background: #fff; color: var(--k1-ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.sheet-langs .chip.is-on { background: var(--k1-primary); border-color: var(--k1-primary); color: #fff; }

/* ── Fußzeile ───────────────────────────────────────────────────────────── */
/* Fußzeile: zwei kleine Gruppen „Diese App“ und „Ihr Hafen“, darunter bzw. rechts die Version */
.foot { border-top: 1px solid var(--k1-line); background: #fff; margin-top: 24px; }
.foot-in { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 32px; padding: 12px 16px; font-size: .82rem; }
.foot-in a { min-height: var(--k1-tap); display: inline-flex; align-items: center; color: var(--k1-primary); font-weight: 600; text-decoration: none; }
.foot-in a:hover { text-decoration: underline; }
.foot-in .muted { color: var(--k1-muted); }
.foot-grp { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; }
.foot-h { color: var(--k1-muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.foot-ver { margin-left: auto; color: var(--k1-muted); font-size: .76rem; }
@media (max-width: 767px) {
  /* Am Handy eine Zeile: „Impressum · Datenschutz · v3.0.0“. Die Angaben des Hafens erreicht man
     oben auf diesen Seiten und im Menü „Mehr …“ – die Gruppe „Ihr Hafen“ entfällt hier. */
  .foot-in { justify-content: center; flex-wrap: nowrap; gap: 0; padding: 8px 16px 10px; font-size: .78rem; }
  .foot-h, .foot-grp + .foot-grp, .foot-prod { display: none; }
  .foot-grp { flex-wrap: nowrap; gap: 0; }
  .foot-grp a { min-height: 36px; }
  .foot-grp a + a::before, .foot-ver::before { content: "·"; margin: 0 9px; color: var(--k1-muted); font-weight: 400; }
  .foot-ver { margin-left: 0; font-size: .74rem; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Sehr schmale Handys (≤ 370 px): Zurück + Glocke + Menü neben dem Schriftzug (30.09.2026) */
@media (max-width: 370px) { .appbar .brand { font-size: 15px; gap: 6px; } }

/* ── TEST „Navigation wie eine App“ (Vorschlag A, 30.09.2026) – nur Handy, nur bei <html class="nav-a"> ─────────────
   Oben: Zurück · Seitentitel (+ Hafen) · Glocke. Darunter die Aktionen als wischbare Chips. Unten feste Bereiche.
   Hafenzeile, Schriftzug, Menü oben und Bereichs-Reiter oben entfallen; Sprache und Hell/Dunkel stehen im Menü. */
.tabbar { display: none; }   /* Bereiche unten: nur Handy, nur nav-a (Leisten oben wie bisher, 30.09.2026) */
.sheet-nav .nav-lbl-k { display: none; }
html:not(.nav-a) .sheet-nav .nav-lbl-a { display: none; }
html:not(.nav-a) .sheet-nav .nav-lbl-k { display: inline; }
@media (max-width: 899px) {
  html.nav-a .appbar-menu, html.nav-a .cattabs { display: none; }
  html.nav-a .appbar-in { min-height: 54px; align-items: center; justify-content: center; flex-wrap: nowrap; }
  html.nav-a .appbar-back { left: 6px; top: 5px; }
  html.nav-a .appbar .bell { right: 6px; top: 5px; }
  html.nav-a .appbar .brand, html.nav-a .appbar-in:has(.appbar-back) .brand { margin: 0 44px; max-width: calc(100% - 88px); }
  /* Aktionen: wischbare Chips direkt unter der Kopfleiste */
  html.nav-a .actionbar { position: static; box-shadow: none; border-top: 0; border-bottom: 1px solid var(--k1-line); background: var(--k1-bg); padding-bottom: 0; }
  html.nav-a .actionbar-in { gap: 8px; padding: 10px 12px; overflow-x: auto; flex-wrap: nowrap; }
  html.nav-a .actionbar .abtn { flex: 0 0 auto; flex-direction: row; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 19px;
    border: 1px solid var(--k1-line); background: #fff; color: var(--k1-ink); font-size: .84rem; }
  html.nav-a .actionbar .abtn .ic { width: 17px; height: 17px; }
  html.nav-a .actionbar .abtn span { display: inline; white-space: nowrap; -webkit-line-clamp: unset; }
  html.nav-a .actionbar .abtn-primary { background: var(--k1-primary); border-color: var(--k1-primary); color: #fff; }
  html.nav-a .actionbar .abtn-wide { display: inline-flex; }
  html.nav-a .actionbar .abtn-more { display: none; }
  /* Bereiche unten wie in einer App */
  html.nav-a .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: #fff;
    border-top: 1px solid var(--k1-line); box-shadow: 0 -4px 16px rgba(15,34,51,.08); padding: 4px 2px calc(6px + var(--k1-safe-b)); }
  html.nav-a .tab { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 3px 1px;
    border: 0; background: none; font: inherit; font-size: .68rem; font-weight: 600; color: var(--k1-muted); text-decoration: none;
    cursor: pointer; position: relative; }
  html.nav-a .tab-ic { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 30px; border-radius: 15px; }
  html.nav-a .tab .ic { width: 22px; height: 22px; }
  html.nav-a .tab-lbl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.nav-a .tab.is-on { color: var(--k1-primary); }
  html.nav-a .tab.is-on .tab-ic { background: #dcebfa; }
  html.nav-a .tab .badge { position: absolute; top: 0; right: calc(50% - 30px); }
}
/* Menü-Einträge als Knopf (Darstellung) sehen aus wie die übrigen Einträge */
button.sheet-item { width: 100%; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
