/*
 * fcp-app-shell.css — Portal-Hülle: Zwei-Zonen-Sidebar (Web) / Vollbild (Handy)
 * =============================================================================
 * Quelle: FCP_UI_STANDARDS.md Abschnitt 7, Artboards PortalmenueWeb.dc.html,
 * PortalmenueHandy.dc.html, VerwaltungWeb.dc.html.
 *
 * Diese Datei definiert einen NEUEN Baustein (die Hülle). Sie legt bewusst
 * keine zweite Regel-Ebene über einen bestehenden Baustein — Änderungen am
 * bestehenden ADM-Topbar stehen dort, wo der Topbar definiert ist
 * (public/css/app-shell-redesign.css), nicht hier.
 *
 * Maße 1:1 aus den Artboards: Sidebar 264 px, Zeile 38 px (Web) / 48 px (Handy),
 * Unterpunkt 32 px (Web) / 44 px (Handy), Aktiv = 3 px Balken + getönte Fläche.
 */

:root {
  --fcp-shell-w: 264px;
  --fcp-shell-topbar-h: 56px;
  /* --fcp-ground / --fcp-panel stehen ab 04.09.2026 nicht mehr hier, sondern
     als Aliasse auf --bg/--surface im body[data-app-theme="fcp_tactical"]-
     Block in main.css — das ist die einzige Stelle, an der die Theme-Werte
     schon aktiv sind (siehe Kommentar dort). Eine Definition hier in :root
     wuerde vor dem Theme-Wechsel aufgeloest und dauerhaft falsch bleiben. */
  --fcp-ink: #2a2d24;
  --fcp-ink-soft: #4a4e40;
  --fcp-muted: #7a7c68;
  --fcp-line: rgba(var(--tint-rgb), 0.2);
  --fcp-line-strong: rgba(var(--tint-rgb), 0.28);
  --fcp-accent: #c05818;
  --fcp-accent-strong: #d46a20;
  --fcp-accent-soft: rgba(212, 106, 32, 0.12);
}

/* ── Rahmen ─────────────────────────────────────────────────────────── */

body[data-app-theme="fcp_tactical"] {
  background: var(--fcp-ground);
}

.fcp-shell-scrim {
  position: fixed;
  inset: 0;
  background: rgba(42, 45, 36, 0.42);
  /* Über den Masken-FABs (.catch-fab-stack: 1512) — das offene Menü deckt alles */
  z-index: 1590;
}

/* ── Sidebar / Vollbildliste ────────────────────────────────────────── */

.fcp-shell-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: 100%;
  max-width: 100%;
  background: var(--fcp-panel);
  color: var(--fcp-ink);
  display: flex;
  flex-direction: column;
  z-index: 1600;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-100%);
  transition: transform 0.18s ease;
  font-family: inherit;
}

.fcp-shell-nav.is-open {
  transform: translateX(0);
}

.fcp-shell-nav__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 0;
  flex: none;
}

.fcp-shell-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  flex: 1;
}

.fcp-shell-nav__brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--fcp-accent-soft);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--fcp-accent);
}

.fcp-shell-nav__brand-mark svg {
  width: 15px;
  height: 15px;
}

.fcp-shell-nav__brand-name {
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcp-shell-nav__beta {
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 2px 4px;
  border: 1px solid var(--fcp-accent-strong);
  border-radius: 4px;
  color: var(--fcp-accent);
  flex: none;
}

.fcp-shell-nav__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--fcp-line-strong);
  background: var(--surface-2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--fcp-ink-soft);
  cursor: pointer;
  flex: none;
}

.fcp-shell-nav__close svg {
  width: 16px;
  height: 16px;
}

/* Go Fishing — Aktionsknopf, kein Listenpunkt */
.fcp-shell-nav__action {
  margin: 12px 14px 0;
  height: 44px;
  flex: none;
  border: 0;
  border-radius: 10px;
  background: var(--fcp-accent-strong);
  color: var(--rd-on-accent, #fff);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.fcp-shell-nav__action-ic {
  display: grid;
  place-items: center;
  color: var(--rd-on-accent, #fff);
}

.fcp-shell-nav__action-ic svg {
  width: 15px;
  height: 15px;
}

/* ── Der Baum: EINE Liste, Web wie Handy ────────────────────────────── */

.fcp-nav {
  list-style: none;
  margin: 12px 8px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
}

.fcp-nav__zone {
  padding: 0 12px;
  margin: 14px 0 4px;
}

.fcp-nav__zone:first-child {
  margin-top: 2px;
}

.fcp-nav__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fcp-muted);
  font-weight: 600;
}

.fcp-nav__group {
  display: block;
}

/* Fußbereich: Einstellungen + Plattform sitzen unten, abgesetzt. */
.fcp-nav__group[data-zone="fuss"][data-zone-lead="1"] {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--fcp-line);
}

.fcp-nav__row {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--fcp-ink);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.fcp-nav__row--group {
  font-weight: 650;
}

.fcp-nav__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fcp-nav__ic {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--fcp-ink-soft);
}

.fcp-nav__lock {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--fcp-muted);
}

.fcp-nav__chev {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--fcp-muted);
  transition: transform 0.15s ease;
}

.fcp-nav__row[aria-expanded="true"] .fcp-nav__chev {
  transform: rotate(180deg);
}

.fcp-nav__row:hover {
  background: rgba(var(--tint-rgb), 0.07);
}

/* Aktiv: 3 px Balken links + getönte Fläche + Akzentfarbe */
.fcp-nav__row.is-active {
  border-left-color: var(--fcp-accent);
  background: var(--fcp-accent-soft);
  color: var(--fcp-accent);
  font-weight: 600;
}

.fcp-nav__row.is-active .fcp-nav__ic {
  color: var(--fcp-accent);
}

.fcp-nav__sub {
  list-style: none;
  margin: 0 0 0 34px;
  padding: 0;
  border-left: 1px solid rgba(var(--tint-rgb), 0.25);
  display: flex;
  flex-direction: column;
}

.fcp-nav__row--sub {
  height: 44px;
  font-size: 15px;
  gap: 0;
  padding: 0 12px 0 13px;
  margin-left: -1px;
}

/* ── Vereinswechsler als Zonenkopf ──────────────────────────────────── */

.fcp-nav__switcher-row {
  margin: 0 4px;
  position: relative;
}

.fcp-nav__switcher {
  width: 100%;
  height: 48px;
  border: 1px solid var(--fcp-line-strong);
  background: var(--surface-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--fcp-ink);
  cursor: pointer;
  text-align: left;
}

.fcp-nav__switcher.is-single {
  cursor: default;
}

.fcp-nav__switcher.is-single .fcp-nav__chev {
  visibility: hidden;
}

.fcp-nav__switcher-mark {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--fcp-accent-soft);
  display: grid;
  place-items: center;
  flex: none;
  color: var(--fcp-accent);
}

.fcp-nav__switcher-mark svg {
  width: 13px;
  height: 13px;
}

.fcp-nav__switcher-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fcp-nav__switcher-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 4px;
  border: 1px solid var(--fcp-line-strong);
  border-radius: 10px;
  background: var(--surface-2);
  box-shadow: 0 6px 18px rgba(42, 45, 36, 0.12);
}

.fcp-nav__switcher-option {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: none;
  border-radius: 8px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--fcp-ink);
  text-align: left;
  cursor: pointer;
}

.fcp-nav__switcher-option:hover {
  background: rgba(var(--tint-rgb), 0.08);
}

.fcp-nav__switcher-option.is-active {
  background: var(--fcp-accent-soft);
  color: var(--fcp-accent);
  font-weight: 600;
}

.fcp-nav__switcher-note {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--fcp-muted);
}

/* ── Nutzerzeile ────────────────────────────────────────────────────── */

.fcp-shell-nav__foot {
  margin: 12px 14px 20px;
  padding-top: 10px;
  border-top: 1px solid var(--fcp-line);
  flex: none;
}

.fcp-shell-nav__user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 4px;
}

.fcp-shell-nav__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--fcp-accent-soft);
  color: var(--fcp-accent);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.fcp-shell-nav__user-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fcp-shell-nav__user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--fcp-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcp-shell-nav__user-meta {
  font-size: 11.5px;
  color: var(--fcp-muted);
  margin-top: 1px;
}

/* Breadcrumb „Gruppe / Maske" */
.fcp-shell-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  min-width: 0;
  overflow: hidden;
}

.fcp-shell-crumbs__step {
  color: var(--fcp-muted);
  white-space: nowrap;
}

.fcp-shell-crumbs__sep {
  color: var(--fcp-muted);
}

.fcp-shell-crumbs__step--current {
  color: var(--fcp-ink);
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Web ab 1024 px: permanente Sidebar ─────────────────────────────── */

@media (min-width: 1024px) {
  body[data-app-theme="fcp_tactical"] {
    padding-left: var(--fcp-shell-w);
  }

  .fcp-shell-nav {
    width: var(--fcp-shell-w);
    max-width: var(--fcp-shell-w);
    border-right: 1px solid var(--fcp-line);
    transform: none;
    transition: none;
  }

  .fcp-shell-nav__close,
  .fcp-shell-scrim {
    display: none;
  }

  .fcp-shell-nav__head {
    padding: 20px 14px 0;
    height: 32px;
    gap: 8px;
  }

  .fcp-shell-nav__action {
    height: 40px;
    margin-top: 14px;
  }

  .fcp-nav {
    margin-top: 14px;
  }

  .fcp-nav__row {
    height: 38px;
    font-size: 14px;
    gap: 10px;
  }

  .fcp-nav__row--sub {
    height: 32px;
    font-size: 13.5px;
    padding-left: 12px;
  }

  .fcp-nav__ic {
    width: 17px;
    height: 17px;
  }

  .fcp-nav__chev {
    width: 12px;
    height: 12px;
  }

  .fcp-nav__switcher {
    height: 36px;
    font-size: 13.5px;
    padding: 0 10px;
    gap: 8px;
  }

  .fcp-nav__switcher-mark {
    width: 20px;
    height: 20px;
    border-radius: 7px;
  }

  .fcp-nav__switcher-mark svg {
    width: 11px;
    height: 11px;
  }

  .fcp-nav__sub {
    margin-left: 32px;
  }
}

/* ── Handy: das Vollbild sperrt den Hintergrund ─────────────────────── */

body.fcp-shell-menu-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  body.fcp-shell-menu-open {
    overflow: visible;
  }
}

/*
 * hidden-Attribut zuletzt und mit gleicher Spezifität wie die display-Regeln
 * oben — sonst gewinnt die Klasse gegen das Attribut (bekannte Stolperfalle
 * dieser App). Kein !important, keine zweite Regel-Ebene.
 */
.fcp-shell-nav [hidden],
.fcp-nav__group[hidden],
.fcp-nav__subitem[hidden],
.fcp-nav__zone[hidden],
.fcp-nav__sub[hidden],
.fcp-shell-scrim[hidden],
.fcp-nav__switcher[hidden],
.fcp-nav__switcher-list[hidden],
.fcp-nav__switcher-note[hidden],
.fcp-tabbar[hidden],
.fcp-fav-sheet[hidden] {
  display: none;
}

/* ══════════════════════════════════════════════════════════════════════
   BOTTOM-BAR (Handy) — FCP_UI_STANDARDS.md §7.4, MobileTabBar.dc.html
   ──────────────────────────────────────────────────────────────────────
   Shortcut-Ebene, keine Router-Tab-Bar: die Slots tragen bewusst KEINEN
   Aktivzustand. Fünf gleich breite Plätze, das Haus als erhöhter FAB im
   vierten. Maße 1:1 aus dem Artboard: Leiste 84 px, Reihe 64 px, FAB
   60 px mit 20 px Überstand, Home-Indicator 134 × 5 px.

   Sichtbar überall dort, wo die Sidebar NICHT permanent steht (< 1024 px)
   — so gibt es in jeder Breite genau einen Weg ins Menü und nie eine
   Lücke zwischen Bar und Sidebar.
   ══════════════════════════════════════════════════════════════════════ */

.fcp-tabbar {
  position: fixed;
  inset: auto 0 0 0;
  height: calc(84px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--fcp-panel);
  border-top: 1px solid var(--fcp-line);
  box-sizing: border-box;
  z-index: 180;
}

.fcp-tabbar__row {
  display: flex;
  height: 64px;
}

/* Der Favoriten-Behälter löst sich auf, damit seine drei Kinder direkte
   Flex-Kinder der Reihe werden und dieselbe Breite bekommen wie FAB-Slot
   und Go Fishing. */
.fcp-tabbar__favs {
  display: contents;
}

.fcp-tabbar__tab {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--fcp-ink-soft);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.fcp-tabbar__glyph {
  width: 20px;
  height: 20px;
}

.fcp-tabbar__label {
  font-size: 10.5px;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Vierter Platz: der FAB nimmt am Fluss nicht teil, der Slot hält ihm die
   Breite frei — dadurch liegt das Haus exakt auf der Bar-Mitte, egal wie
   breit die Labels daneben sind. */
.fcp-tabbar__tab--fabslot {
  position: relative;
  cursor: default;
}

.fcp-tabbar__fab {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: var(--fcp-accent-strong);
  box-shadow: 0 8px 20px rgba(212, 106, 32, 0.42);
  display: grid;
  place-items: center;
  color: var(--rd-on-accent, #fff);
  cursor: pointer;
}

.fcp-tabbar__fab:focus-visible {
  outline: 2px solid var(--fcp-ink);
  outline-offset: 3px;
}

.fcp-tabbar__fab-glyph {
  width: 26px;
  height: 26px;
}

.fcp-tabbar__indicator {
  width: 134px;
  height: 5px;
  margin: 4px auto 0;
  border-radius: 999px;
  background: var(--fcp-line-strong);
}

/* Die Leiste liegt über dem Inhalt — der Inhalt bekommt den Platz zurück.
   Am <main>, nicht am <body>: html/body stehen fix auf 100% Viewporthöhe
   (main.css), Inhalt läuft am Body-Kasten vorbei — Body-Padding hätte dort
   keine Wirkung und der letzte Listeneintrag bliebe unter der Leiste. */
body[data-app-theme="fcp_tactical"] main {
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  /* Web: die permanente Sidebar trägt die Navigation vollständig. */
  .fcp-tabbar {
    display: none;
  }

  body[data-app-theme="fcp_tactical"] main {
    padding-bottom: 0;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   FUSSBEREICH: „Favoriten bearbeiten" + „Rechtliches & Infos"
   ──────────────────────────────────────────────────────────────────────
   Beide gehören zum Menü-Renderer (AppShellNav) und sind dieselbe
   DOM-Instanz in beiden Sichten. „Favoriten bearbeiten" steuert die
   Bottom-Bar und wird deshalb dort ausgeblendet, wo es keine gibt (Web).
   „Rechtliches & Infos" wird auf Web zur einzeiligen Statik-Zeile
   „Impressum · Datenschutz · VDAN" (SidebarFussWeb.dc.html) — die
   Trennpunkte setzt CSS, sie stehen nicht im Markup.
   ══════════════════════════════════════════════════════════════════════ */

.fcp-shell-nav__favedit {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  width: 100%;
  border: 0;
  background: none;
  color: var(--fcp-ink);
  font: inherit;
  font-size: 15.5px;
  text-align: left;
  cursor: pointer;
}

.fcp-shell-nav__favedit .fcp-nav__ic {
  width: 18px;
  height: 18px;
  color: var(--fcp-ink-soft);
}

.fcp-shell-nav__legal {
  border-top: 1px solid var(--fcp-line);
  margin-top: 3px;
  padding-top: 3px;
}

.fcp-shell-nav__legal-head {
  display: block;
  padding: 0 12px;
  margin-bottom: 1px;
}

.fcp-shell-nav__legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fcp-shell-nav__legal-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--fcp-muted);
  text-decoration: none;
}

.fcp-shell-nav__legal-ic .fcp-nav__ic {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}

.fcp-shell-nav__legal-chev {
  display: flex;
}

.fcp-shell-nav__legal-chev .fcp-nav__chev {
  width: 11px;
  height: 11px;
  color: var(--fcp-muted);
  transform: rotate(-90deg);
}

.fcp-shell-nav__legal-label {
  flex: 1;
}

@media (min-width: 1024px) {
  /* Ohne Bottom-Bar gibt es nichts zu belegen. */
  .fcp-shell-nav__favedit {
    display: none;
  }

  .fcp-shell-nav__legal {
    margin: 8px 0 0;
    padding-top: 0;
    border-top: 0;
  }

  .fcp-shell-nav__legal-head,
  .fcp-shell-nav__legal-ic,
  .fcp-shell-nav__legal-chev,
  .fcp-shell-nav__legal-label {
    display: none;
  }

  .fcp-shell-nav__legal-list {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    padding: 0 14px;
    flex-wrap: wrap;
  }

  .fcp-shell-nav__legal-link {
    height: auto;
    padding: 0;
    font-size: 11px;
  }

  /* Kurzform auf Web: „VDAN" statt „VDAN-Website" — dieselbe Verknüpfung,
     nur der Platz ist knapper. */
  .fcp-shell-nav__legal-link::after {
    content: attr(data-legal-short);
  }

  .fcp-shell-nav__legal-item + .fcp-shell-nav__legal-item::before {
    content: "·";
    color: var(--fcp-muted);
    font-size: 11px;
    margin-right: 5px;
  }

  .fcp-shell-nav__legal-item {
    display: flex;
    align-items: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   SHEET „Favoriten bearbeiten"
   ══════════════════════════════════════════════════════════════════════ */

.fcp-fav-sheet {
  position: fixed;
  inset: 0;
  z-index: 1610;
  background: rgba(42, 45, 36, 0.42);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fcp-fav-sheet__panel {
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--fcp-panel);
  border-radius: 18px 18px 0 0;
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.fcp-fav-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fcp-fav-sheet__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  color: var(--fcp-ink);
}

.fcp-fav-sheet__close {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--fcp-line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  color: var(--fcp-ink-soft);
  cursor: pointer;
}

.fcp-fav-sheet__close svg {
  width: 16px;
  height: 16px;
}

.fcp-fav-sheet__hint {
  margin: 6px 0 10px;
  font-size: 13px;
  color: var(--fcp-muted);
}

.fcp-fav-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

.fcp-fav-sheet__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: none;
  color: var(--fcp-ink);
  font: inherit;
  font-size: 15.5px;
  text-align: left;
  cursor: pointer;
}

.fcp-fav-sheet__opt.is-picked {
  border-color: var(--fcp-accent);
  background: var(--fcp-accent-soft);
  color: var(--fcp-accent);
}

.fcp-fav-sheet__ic .fcp-tabbar__glyph {
  width: 19px;
  height: 19px;
}

.fcp-fav-sheet__label {
  flex: 1;
}

/* Die Ziffer zeigt die Reihenfolge in der Leiste — Auswahl 1 steht links. */
.fcp-fav-sheet__mark {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.fcp-fav-sheet__opt.is-picked .fcp-fav-sheet__mark {
  background: var(--fcp-accent);
  color: var(--rd-on-accent, #fff);
}

.fcp-fav-sheet__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--fcp-line);
  margin-top: 10px;
}

.fcp-fav-sheet__count {
  margin: 0;
  font-size: 13px;
  color: var(--fcp-muted);
}

.fcp-fav-sheet__save {
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--fcp-accent-strong);
  color: var(--rd-on-accent, #fff);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

body.fcp-fav-sheet-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .fcp-fav-sheet {
    align-items: center;
  }

  .fcp-fav-sheet__panel {
    max-width: 420px;
    border-radius: 16px;
    padding-bottom: 16px;
  }
}
