/* RaidCall — bento design (app/design.py).

   Loaded only when <html data-design="bento">. Two layers:

   1. the --raidcall-* tokens re-tuned (ground, type, radii), so anything still
      drawn with the shared Tailwind utilities sits on the bento ground in the
      bento face;
   2. the .bn-* components the bento templates are built from: tiles in a grid,
      one fact and one tap per tile.

   Light and dark follow data-theme like the rest of the app: "classic" is the
   light bento, "modern" the dark one. Colours are --bn-* (whole colours, not
   channel triplets - nothing here needs Tailwind's /opacity modifiers). Every
   text/ground pair below is ≥ 4.5:1. */

/* ------------------------------------------------------------- tokens */

[data-design="bento"] {
  --bn-ground: #EEF0F3;
  --bn-tile: #FFFFFF;
  --bn-tile-2: #F5F6F8;
  --bn-line: #E4E7EC;
  --bn-ink: #1D2939;
  --bn-muted: #475467;          /* 7.9:1 on tile */
  --bn-faint: #5F6B7E;          /* 5.4:1 on tile, 4.7:1 on the page grey - hints only (was #667085: 4.36:1 on the page, QA 2026-11-10) */

  --bn-navy: #1D2939;           /* dark tile */
  --bn-navy-ink: #FFFFFF;
  --bn-navy-muted: #C7CFDA;
  --bn-navy-2: #344054;

  --bn-fire: #B42318;           /* filled, white label 6.5:1 */
  /* red under white text with dimmed or glass parts on it (alert strip,
     side alarm, the Alarm tile and its type buttons): 6.5:1 plain, 4.9:1
     under a 16 % white glass button, in both themes */
  --bn-fire-solid-strong: #B3261E;
  --bn-fire-hover: #912018;
  --bn-fire-tint: #FEE4E2;
  --bn-fire-ink: #912018;       /* on tint 6.6:1 */
  --bn-fire-soft-ink: #FFE4E1;  /* secondary text on fire */

  --bn-sand: #F4EBDD;
  --bn-sand-ink: #3D2E14;

  --bn-green: #0B6B4C;
  --bn-green-tint: #DCFAE6;
  --bn-green-ink: #085D3A;
  --bn-green-soft-ink: #C6F0DC;

  --bn-blue-tint: #E0EAFF;
  --bn-blue-ink: #2D4FB3;
  --bn-amber-tint: #FEF0C7;
  --bn-amber-ink: #93370D;
  --bn-kiko-tint: #EFEAFD;
  --bn-kiko-ink: #5B3CC4;

  --bn-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  --bn-shadow-lift: 0 12px 30px rgba(29, 41, 57, 0.18);
  --bn-focus: #2D4FB3;

  --bn-r-tile: 28px;
  --bn-r-inner: 16px;
  --bn-r-btn: 16px;

  /* the shared tokens, so un-redrawn markup inherits the look */
  --raidcall-bg: 238 240 243;
  --raidcall-font-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --raidcall-font-display: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --raidcall-radius-xl: 1rem;
  --raidcall-radius-2xl: 1.5rem;
  --raidcall-radius-3xl: 1.75rem;
}

[data-design="bento"][data-theme="modern"] {
  --bn-ground: #0B0F14;
  --bn-tile: #151B23;
  --bn-tile-2: #1C242E;
  --bn-line: #263040;
  --bn-ink: #E6EDF3;
  --bn-muted: #A3AEBD;          /* 7.6:1 on tile */
  --bn-faint: #8B97A8;          /* 5.4:1 */

  --bn-navy: #233042;
  --bn-navy-ink: #F2F5F9;
  --bn-navy-muted: #B9C4D3;
  --bn-navy-2: #34455C;

  --bn-fire: #D92D20;           /* white label 4.9:1 */
  --bn-fire-solid-strong: #B3261E;  /* #D92D20 under glass was 3.9:1 */
  --bn-fire-hover: #B42318;
  --bn-fire-tint: #3A1715;
  --bn-fire-ink: #FDA29B;
  --bn-fire-soft-ink: #FFE4E1;

  --bn-sand: #2B2418;
  --bn-sand-ink: #F1E3CB;

  --bn-green: #0E7A57;
  --bn-green-tint: #0F2A1F;
  --bn-green-ink: #75E0A7;
  --bn-green-soft-ink: #D1F5E4;

  --bn-blue-tint: #172447;
  --bn-blue-ink: #A4BCFD;
  --bn-amber-tint: #2E2310;
  --bn-amber-ink: #FEC84B;
  --bn-kiko-tint: #231D3D;
  --bn-kiko-ink: #C3B5FD;

  --bn-shadow: 0 0 0 1px #1F2834;
  --bn-shadow-lift: 0 12px 30px rgba(0, 0, 0, 0.5);
  --bn-focus: #A4BCFD;

  --raidcall-bg: 11 15 20;
  /* bg-white / bg-gray-50 in markup that was never redrawn (the admin pages)
     = the same navy tiles as the bento components, not GitHub-dark's */
  --raidcall-white: 21 27 35;
  --raidcall-gray-50: 28 36 46;
  --raidcall-surface: 21 27 35;
  --raidcall-surface-2: 28 36 46;
}

/* ------------------------------------------------------------- ground */

[data-design="bento"] body {
  background: var(--bn-ground);
  color: var(--bn-ink);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
[data-design="bento"] :focus-visible {
  outline: 2px solid var(--bn-focus);
  outline-offset: 2px;
}

/* the page column (bento/base.html's <main>): a phone column that widens into
   a dashboard; the bottom padding keeps the last tile clear of the floating bar */
.bn-main {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 8px 14px calc(120px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  box-sizing: border-box;
}
/* forms and reading pages: one phone-wide column even on a laptop */
.bn-narrow { max-width: 640px; margin: 0 auto; }
.bn-medium { max-width: 820px; margin: 0 auto; }

/* one navigation on every screen size: the floating bar and its Viac sheet,
   no sidebar (the shared sheet is md:hidden in the original design) */
[data-design="bento"] body.rc-has-sidebar { padding-left: 0 !important; }
[data-design="bento"] body.rc-tabs { padding-bottom: 0; }
@media (min-width: 768px) {
  [data-design="bento"] .rc-sheet:not([hidden]),
  [data-design="bento"] .rc-sheet-backdrop:not([hidden]) { display: block !important; }
  [data-design="bento"] .rc-sheet:not(.rc-drawer) { left: 50%; right: auto; width: 520px; margin-left: -260px; }
}

/* ------------------------------------------------------------- top bar */

.bn-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bn-ground) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  padding-top: var(--safe-area-inset-top, env(safe-area-inset-top, 0px));
}
.bn-topbar-in {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bn-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--bn-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
/* The brand mark: the live siren of the website and the login page (theme.css
   .rc-siren) - a red core with two rings and no red tile (the tile was "the
   old logo", owner 2026-11-08). A 17px core draws ~30px of ink next to the
   15px wordmark. Each ring spreads out once when the page loads and then both
   stay still, so the mark does not keep pulsing beside the page's content. */
.bn-brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.bn-brand-mark .rc-siren { --rc-siren-size: 17px; --rc-siren-color: var(--bn-fire); }
.bn-brand-mark .rc-siren::after { opacity: 0.5; animation: bn-siren-once 1.8s ease-out 1; }
.bn-brand-mark .rc-siren::before {
  display: block;
  transform: scale(1.32);
  opacity: 0.22;
  animation: bn-siren-once-outer 1.8s ease-out 1 0.6s backwards;
}
/* the report's own header line: a smaller still of the same mark */
.bn-brand-mark--sm { width: 26px; height: 26px; }
.bn-brand-mark--sm .rc-siren { --rc-siren-size: 12px; }
.bn-brand-mark--sm .rc-siren::before, .bn-brand-mark--sm .rc-siren::after { animation: none; }
@keyframes bn-siren-once {
  0% { transform: scale(0.6); opacity: 0.7; }
  70% { transform: scale(1.45); opacity: 0; }
  71% { transform: scale(1); opacity: 0; }
  100% { transform: scale(1); opacity: 0.5; }
}
@keyframes bn-siren-once-outer {
  0% { transform: scale(0.6); opacity: 0.7; }
  70% { transform: scale(1.6); opacity: 0; }
  71% { transform: scale(1.32); opacity: 0; }
  100% { transform: scale(1.32); opacity: 0.22; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-brand-mark .rc-siren::before, .bn-brand-mark .rc-siren::after { animation: none; }
}
.bn-brand-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.bn-brand-text small { font-size: 12px; font-weight: 500; color: var(--bn-muted); }
.bn-brand-text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-topbar-tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.bn-chipbtn {
  height: 40px;
  min-width: 40px;
  padding: 0 10px;
  box-sizing: border-box;
  border-radius: 14px;
  border: 0;
  background: var(--bn-tile);
  box-shadow: var(--bn-shadow);
  color: var(--bn-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
}
.bn-chipbtn svg { width: 18px; height: 18px; }
.bn-dot { width: 9px; height: 9px; border-radius: 50%; background: #12B76A; }
/* the theme toggle reuses the shared JS (.rc-theme-toggle) */
[data-design="bento"] .bn-chipbtn.rc-theme-toggle { width: 40px; padding: 0; }

/* status + light/dark switch (bento/_topctl.html, 2026-11-09): the new public
   web's header controls in one compact pill - the status dot with the web's
   soft pulsing ring (web.css .st-dot), and a two-state switch whose knob
   slides between a sun (light, "classic") and a moon (dark, "modern") */
.bn-topctl {
  --bn-ok: #12B76A; --bn-warn: #F79009; --bn-down: #F04438;
  flex: none; display: inline-flex; align-items: center; gap: 2px;
  height: 40px; padding: 0 5px 0 2px; box-sizing: border-box; border-radius: 20px;
  background: var(--bn-tile); box-shadow: var(--bn-shadow);
}
.bn-stat {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.bn-stat:hover { background: var(--bn-tile-2); }
.bn-stat:focus-visible, .bn-themesw:focus-visible { outline: 2px solid var(--bn-ink); outline-offset: 2px; }
.bn-stat-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--bn-ok); }
.bn-stat-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--bn-ok);
  opacity: 0; animation: bn-stat-pulse 2.4s ease-out infinite;
}
.bn-stat--warn .bn-stat-dot { background: var(--bn-warn); }
.bn-stat--warn .bn-stat-dot::after { border-color: var(--bn-warn); }
.bn-stat--down { background: rgba(240, 68, 56, .14); }
.bn-stat--down .bn-stat-dot { background: var(--bn-down); }
.bn-stat--down .bn-stat-dot::after { border-color: var(--bn-down); animation-duration: 1.4s; }
@keyframes bn-stat-pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

.bn-topctl button.bn-themesw {
  position: relative; flex: none; width: 50px; height: 30px; padding: 0; border: 0; border-radius: 15px;
  background: #E3E7EE; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .3s ease;
}
.bn-themesw-knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #FFFFFF; color: #DC6803; box-shadow: 0 1px 3px rgba(16, 24, 40, .22);
  display: grid; place-items: center;
  transition: transform .32s cubic-bezier(.34, 1.4, .64, 1), background-color .3s ease, color .3s ease;
}
.bn-topctl .bn-themesw-knob svg { position: absolute; width: 15px; height: 15px; transition: opacity .25s ease, transform .32s ease; }
.bn-themesw-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="modern"] .bn-topctl button.bn-themesw { background: #2A3546; }
[data-theme="modern"] .bn-themesw-knob { transform: translateX(20px); background: #0E1621; color: #C7D7FE; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
[data-theme="modern"] .bn-themesw-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-theme="modern"] .bn-themesw-moon { opacity: 1; transform: none; }
/* the desktop panel: on its own tile-2 row, no second shadow */
.bn-topctl--side { background: var(--bn-tile-2); box-shadow: none; }
.bn-topctl--side button.bn-themesw { background: var(--bn-line); }
[data-theme="modern"] .bn-topctl--side button.bn-themesw { background: #2A3546; }
@media (prefers-reduced-motion: reduce) {
  .bn-stat-dot::after { animation: none; }
  .bn-themesw, .bn-themesw-knob, .bn-themesw-knob svg { transition: none; }
}
/* Upozornenia (inbox_service): the bell first in the pill, the red number
   of unread on its shoulder (9+ at most) */
.bn-bell {
  position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; padding: 0; border: 0;
  display: inline-grid; place-items: center; color: var(--bn-ink); background: transparent;
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.bn-bell:hover { background: var(--bn-tile-2); }
.bn-bell:focus-visible { outline: 2px solid var(--bn-ink); outline-offset: 2px; }
.bn-bell svg { width: 19px; height: 19px; }
.bn-bell-badge {
  position: absolute; top: 1px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box;
  border-radius: 9px; background: #E5372B; color: #FFFFFF; font-size: 10px; font-weight: 800; line-height: 17px;
  text-align: center; box-shadow: 0 0 0 2px var(--bn-tile); font-variant-numeric: tabular-nums;
}
.bn-bell-badge[hidden] { display: none; }
.bn-topctl--side .bn-bell-badge { box-shadow: 0 0 0 2px var(--bn-tile-2); }
/* the list (inbox/index.html, the SPA's sheet) */
.bn-inbox-list { display: flex; flex-direction: column; gap: 2px; }
.bn-inbox-form { margin: 0; }
.bn-inbox-row {
  display: flex; align-items: flex-start; gap: 12px; width: 100%; box-sizing: border-box; margin: 0;
  padding: 10px 10px; border: 0; border-radius: 14px; background: transparent; color: var(--bn-ink);
  font: inherit; text-align: left; text-decoration: none; cursor: pointer;
}
.bn-inbox-row:hover { background: var(--bn-tile-2); }
.bn-inbox-row.is-unread { background: rgba(229, 55, 43, .07); }
[data-theme="modern"] .bn-inbox-row.is-unread { background: rgba(255, 120, 110, .1); }
.bn-inbox-row .bn-ic { flex: none; }
.bn-inbox-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bn-inbox-title { font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.bn-inbox-row.is-unread .bn-inbox-title { font-weight: 800; }
.bn-inbox-body {
  font-size: 13px; line-height: 1.35; color: var(--bn-muted); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bn-inbox-time { font-size: 12px; color: var(--bn-muted); }
.bn-inbox-dot { flex: none; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #E5372B; }
/* a push's link to one post or comment on the server Nástenka (#p12, #cm34) */
.bn-target { border-radius: 14px; box-shadow: 0 0 0 2px var(--bn-fire); transition: box-shadow .3s ease; }
/* a narrow phone: the pill gets tighter, the zbor's name keeps its ellipsis */
@media (max-width: 379px) {
  .bn-topctl { padding-right: 4px; }
  .bn-stat, .bn-bell { width: 30px; }
  .bn-topctl button.bn-themesw { width: 46px; }
  [data-theme="modern"] .bn-themesw-knob { transform: translateX(16px); }
}
.bn-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 112px;
  padding: 6px;
  border-radius: 18px;
  background: var(--bn-tile);
  box-shadow: var(--bn-shadow-lift);
  display: flex;
  flex-direction: column;
  z-index: 50;
}
.bn-menu a {
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--bn-ink);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.bn-menu a:hover { background: var(--bn-tile-2); }

/* ------------------------------------------------------------- floating tab bar */

.bn-tabbar {
  position: fixed;
  left: 50%;
  bottom: max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  transform: translateX(-50%);
  z-index: 45;
  width: min(calc(100% - 28px), 520px);
  height: 66px;
  box-sizing: border-box;
  padding: 0 7px;
  border-radius: 33px;
  background: var(--bn-navy);
  color: var(--bn-navy-muted);
  box-shadow: var(--bn-shadow-lift);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  transition: transform 0.22s ease;
}
.bn-tabbar.rc-bar-hidden { transform: translate(-50%, 140%); visibility: hidden;
                          transition: transform 0.22s ease, visibility 0s linear 0.22s; }
/* hidden for real once it has slid away: Safari (iOS 26) would otherwise
   still tint its address bar with the bar's colour (see .bn-edge-tint) */
.bn-tabbar--incident { box-shadow: 0 0 0 2px var(--bn-fire), var(--bn-shadow-lift); }
.bn-tab {
  height: 54px;
  border-radius: 27px;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
}
.bn-tab svg { width: 21px; height: 21px; }
.bn-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 2px; }
/* a label too long for a fifth of a 360 px phone (Mapa zásahu, Wichtige
   Nummern, Substancje niebezpieczne) takes a second line, never "Figyelmez…" */
.bn-tab > span:not(.bn-tab-ic) { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
                                 line-height: 1.08; text-align: center; hyphens: auto; overflow-wrap: anywhere; }
/* the icon's wrapper carries the badge: the label's clipping must not cut it */
.bn-tab .bn-tab-ic { position: relative; display: inline-flex; overflow: visible; max-width: none; padding: 0; }
.bn-tab:hover { color: var(--bn-navy-ink); }
.bn-tab[aria-current="page"] {
  background: var(--bn-tile);
  color: var(--bn-ink);
}
.bn-tab--alarm[aria-current="page"],
.bn-tab--alarm:hover { color: var(--bn-ink); }
.bn-tab-badge {
  position: absolute;
  top: -4px;
  right: -9px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--bn-fire);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* the Viac sheet is shared markup; bento rounds and recolours it */
[data-design="bento"] .rc-sheet {
  background: var(--bn-tile) !important;
  border-radius: 28px 28px 0 0;
}
[data-design="bento"] .rc-sheet a.rounded-xl:hover { background: var(--bn-tile-2); }
[data-design="bento"] .rc-sheet .bg-fire-light { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
[data-design="bento"] .rc-sheet a.bg-fire { background: var(--bn-fire); border-radius: var(--bn-r-btn); }
/* Viac lives behind the ☰ in the top bar: the shared sheet becomes a drawer
   from the left, full height, with the pages as tiles */
[data-design="bento"] .rc-sheet.rc-drawer {
  inset: 0 auto 0 0;
  width: min(88vw, 380px);
  height: 100dvh;
  max-height: none;
  border-radius: 0 28px 28px 0;
  /* the bottom keeps clear of a phone's gesture or button bar even where
     the WebView reports no inset (Android edge-to-edge), so the last rows -
     Moje konto, Odhlásiť - can always be scrolled into view (2026-10-25) */
  padding: calc(10px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 14px calc(56px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  box-shadow: 18px 0 40px -12px rgb(9 11 15 / 0.35);
  transform: translateX(-104%);
}
[data-design="bento"] .rc-sheet.rc-drawer.rc-open { transform: translateX(0); }
.bn-burger { padding: 0; }
.bn-burger svg { width: 22px; height: 22px; }
.bn-mhead { display: flex; align-items: center; gap: 12px; padding: 4px 2px 12px; }
.bn-mhead .bn-chipbtn { margin-left: auto; }
.bn-mhead .bn-chipbtn svg { width: 18px; height: 18px; }
.bn-mgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bn-mtile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  min-height: 86px;
  border-radius: 18px;
  background: var(--bn-tile-2);
  color: var(--bn-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
}
.bn-mtile:active { transform: scale(0.97); }
.bn-mgroup { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bn-muted); padding: 16px 4px 6px; }
.bn-mrow { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-radius: 14px; color: var(--bn-ink); text-decoration: none; }
.bn-mrow:hover { background: var(--bn-tile-2); }
.bn-mrow .bn-row-end { color: var(--bn-muted); }
.bn-mlogout { margin-top: 14px; }
.bn-mall { margin-top: 10px; gap: 8px; }
/* the menu editor (/clen/konto/menu) */
.bn-smenu .bn-mgroup:first-of-type { padding-top: 4px; }
.bn-smenu-row { scroll-margin-top: 90px; }
button.bn-smenu-row { width: 100%; text-align: left; cursor: pointer; }
/* the row is the switch: a smaller knob than a form's own .bn-switch */
.bn-smenu-switch { width: 46px; height: 28px; border-radius: 14px; pointer-events: none; }
.bn-smenu-switch::after { top: 3px; left: 3px; width: 22px; height: 22px; }
.bn-smenu-switch[aria-checked="true"]::after { transform: translateX(18px); }
.bn-smenu-fixed { display: grid; gap: 8px; padding: 12px 14px; margin: 0 0 6px; border-radius: 16px; background: var(--bn-tile-2); }
.bn-smenu-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-smenu-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: var(--bn-tile); color: var(--bn-ink); font-size: 13px; font-weight: 600;
}
.bn-smenu-chip svg { width: 15px; height: 15px; color: var(--bn-muted); }
/* the list to add from: a pill at the row's end says what a tap does */
.bn-smenu-pill {
  flex: none; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 11px; border-radius: 999px;
  background: var(--bn-tile-2); color: var(--bn-ink); font-size: 12px; font-weight: 700; white-space: nowrap;
}
.bn-smenu-pill svg { width: 14px; height: 14px; }
.bn-smenu-pill--on { background: var(--pg-tint); color: var(--pg-ink); }
.bn-smenu-pill--off { color: var(--bn-faint); background: transparent; border: 1px dashed var(--bn-line); }
.bn-smenu-row[aria-disabled="true"] .bn-row-title { color: var(--bn-muted); }
/* the eight places (owner 2026-11-12): the drawer's empty tile and the
   editor's empty slot share one look - a quiet dashed outline with a "+",
   a place waiting to be filled, not an error */
.bn-mtile--empty {
  background: transparent; color: var(--bn-faint); font-weight: 600;
  border: 1.5px dashed color-mix(in srgb, var(--bn-faint) 40%, transparent);
  box-sizing: border-box; justify-content: space-between;
}
/* only the first empty place says "Pridať" (owner 2026-11-12: eight times
   was noise); the rest show the "+" alone, centred */
.bn-mtile--bare { justify-content: center; align-items: center; }
.bn-mtile--bare .bn-mtile-plus { background: transparent; }
.bn-mtile--empty:hover, .bn-mtile--empty:focus-visible { background: var(--bn-tile-2); color: var(--bn-muted); }
.bn-mtile-plus {
  width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bn-faint) 12%, transparent);
}
.bn-mtile-plus svg { width: 18px; height: 18px; }
.bn-slots-card {
  display: grid; gap: 10px; padding: 14px; margin: 0 0 12px; border-radius: var(--bn-r-tile);
  background: var(--bn-tile); box-shadow: var(--bn-shadow); scroll-margin-top: 90px;
  --pg-ink: var(--bn-fire-ink); --pg-tint: var(--bn-fire-tint);
}
.bn-slots-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 2px; }
.bn-slots-head .bn-row-title { font-size: 16px; font-weight: 800; }
.bn-slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bn-slot {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 7px 8px 7px 6px; box-sizing: border-box;
  border-radius: 16px; background: var(--bn-tile-2);
}
.bn-slot-n {
  flex: none; width: 18px; text-align: center; font-size: 12px; font-weight: 800; color: var(--bn-faint);
  font-variant-numeric: tabular-nums;
}
.bn-slot-label { flex: 1; min-width: 0; display: grid; font-size: 14px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.bn-slot-label small { font-size: 12px; font-weight: 500; color: var(--bn-faint); }
.bn-slot-ctl { flex: none; display: flex; gap: 4px; }
.bn-slot-btn {
  width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 11px;
  background: var(--bn-tile); color: var(--bn-ink); cursor: pointer; font: inherit;
}
.bn-slot-btn svg { width: 16px; height: 16px; }
.bn-slot-btn:hover { background: var(--bn-line); }
.bn-slot-btn:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 1px; }
.bn-slot-btn:disabled { opacity: 0.35; cursor: default; background: transparent; }
.bn-slot-btn--drop { color: var(--bn-fire-ink); }
.bn-slot--empty {
  background: transparent; color: var(--bn-faint);
  border: 1.5px dashed color-mix(in srgb, var(--bn-faint) 40%, transparent);
}
.bn-slot--empty .bn-slot-label { font-weight: 600; color: var(--bn-faint); }
.bn-slot-plus {
  flex: none; width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bn-faint) 12%, transparent);
}
.bn-slot-plus svg { width: 18px; height: 18px; }
.bn-slots-note { margin: 0; padding: 0 2px; font-size: 13px; font-weight: 600; color: var(--bn-amber-ink); }
/* Obnoviť predvolené menu is the way back; emptying is a quiet text button
   under it, so a stray tap does not wipe the menu (2026-11-23) */
.bn-slots-foot { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.bn-slots-clear { align-self: center; background: none; border: 0; padding: 6px 8px; font: inherit; font-size: 12px; color: var(--bn-muted); text-decoration: underline; cursor: pointer; }
.bn-slots-clear:hover { color: var(--bn-fire-ink); }
/* Zvuk poplachu: no device of an app build that plays RaidCall's sounds yet
   (alarm_sounds.has_sound_device, 2026-11-23) */
.rc-sound-update { font-weight: 600; color: var(--bn-amber-ink); }
/* Moje konto (2026-11-23): one page, sections with an icon and, for a
   person in several zbory, whether a part holds everywhere or in this zbor */
.rc-acc-sec { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  scroll-margin-top: 80px; margin-top: 22px; }
.rc-acc-sec .bn-h2 { display: inline-flex; align-items: center; gap: 8px; }
.rc-acc-sec-ic { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center;
  border-radius: 8px; background: var(--bn-tile-2); color: var(--bn-muted); }
.rc-acc-sec-ic svg { width: 15px; height: 15px; }
.rc-acc-scope { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1.3; padding: 2px 8px;
  border-radius: 999px; background: var(--bn-tile-2); color: var(--bn-muted); }
.rc-acc-scope[data-scope="zbor"] { background: var(--bn-amber-tint, var(--bn-tile-2)); color: var(--bn-amber-ink); }
.rc-acc-scope--in { margin-top: 3px; align-self: flex-start; }
.rc-acc-off { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.rc-acc-sub { margin: 4px 2px 6px; }
.rc-acc .rc-perms { gap: 8px; }
/* the head: the zbor, the role and the switcher's arrow side by side, the
   arrow never over the text */
.rc-acc-zbor { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.rc-acc-head .rc-prof { flex: none; }
.rc-acc-head .rc-prof-btn { margin-left: 0; width: 28px; height: 28px; }
/* Moje's tiles: icon on top, title right under it, all aligned to the top */
.rc-acc-tiles > .bn-tile { justify-content: flex-start; gap: 10px; }
/* Moje konto as a hub (owner's choice A, 2026-11-24): the head, Moje as six
   even tiles, the sections as grouped rows (.bn-hub of the Zbor hub); each
   section a sub-page of its own (account_hub.js / ja.js). Phone: the hub or
   one sub-page; 1100 px and wider: the hub on the left, the sub-page right. */
.rc-hubacc { max-width: 640px; margin: 0 auto; }
.rc-hubacc-head { gap: 14px; padding: 14px 16px; margin-bottom: 14px; }
.rc-hubacc-head .bn-avatar--lg { width: 56px; height: 56px; font-size: 20px; flex: none; }
.rc-hubacc-name { font-size: 20px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-hubacc-head .bn-pill { align-self: flex-start; margin-top: 6px; gap: 5px; }
.rc-hubacc-head .bn-pill svg { width: 14px; height: 14px; }
.rc-hubacc .bn-hub-group { padding-bottom: 16px; }
.rc-hubacc .bn-hub-head { padding-left: 6px; }
.rc-hubacc-list { border-radius: 20px; }
.rc-hubacc-list + .rc-hubacc-tiles { margin-top: 8px; }
.rc-hubacc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rc-hubacc-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  min-height: 84px; padding: 12px; border-radius: 20px; background: var(--bn-tile); box-shadow: var(--bn-shadow);
  color: var(--bn-ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.rc-hubacc-tile:active { background: var(--bn-tile-2); }
.rc-hubacc-tile:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
.rc-hubacc-tile .bn-ic { width: 30px; height: 30px; border-radius: 9px; }
.rc-hubacc-tile .bn-ic svg { width: 17px; height: 17px; }
.rc-hubacc-tile-t { font-size: 14px; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.rc-hubacc-tile-n { position: absolute; top: 12px; right: 10px; height: 22px; padding: 0 8px; }
.rc-hubacc .bn-hub-row[aria-current="page"] { background: var(--bn-tile-2); }
.rc-hubacc-pane { scroll-margin-top: 80px; }
.rc-hubacc-pane[hidden] { display: none; }
/* Poplach a zvonenie in Moje konto (owner 2026-11-24): the yellow how-tos
   ("Dôležité - bez tohto ...") stay closed until the row's "Ako na to" opens
   them; the intro (onboarding) keeps them open from the start */
.rc-hubacc .ob-how--key:not(.is-open) { display: none; }
.rc-hubacc-pane-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 14px; }
.rc-hubacc .rc-hubacc-back { margin: 0 0 0 -8px; color: var(--bn-fire-ink); font-size: 16px; }
.rc-hubacc-title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.rc-hubacc .rc-hubacc-pane :is(.bn-stack, .rc-perms) + .bn-list { margin-top: 12px; }
.rc-hubacc .rc-hubacc-pane [id] { scroll-margin-top: 80px; }
/* phone: the hub, or one sub-page */
@media (max-width: 1099.98px) {
  .rc-hubacc[data-view="pane"] .rc-hubacc-hub { display: none; }
  .rc-hubacc:not([data-view="pane"]) .rc-hubacc-panes { display: none; }
}
/* computer: the hub on the left, the open sub-page beside it */
@media (min-width: 1100px) {
  .rc-hubacc { max-width: 1160px; display: grid; grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 32px; align-items: start; }
  .rc-hubacc-hub { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto;
    padding: 2px 4px 16px; margin: -2px -4px 0; scrollbar-width: thin; }
  .rc-hubacc-panes { min-width: 0; max-width: 680px; }
  .rc-hubacc .rc-hubacc-back { display: none; }
  .rc-hubacc-pane-head { padding-top: 6px; }
}
/* Všetky stránky and the menu editor (owner 2026-11-12): a few main pages,
   each a card in its own colour that opens in place (details/summary) to the
   pages it holds. The rows inside are plain - a small grey icon, the parent's
   colour only as the thin line they hang on - so the page reads as ten
   coloured sections, not sixty squares. */
.bn-pg-list { display: grid; gap: 8px; }
.bn-pg {
  --pg-ink: var(--bn-fire-ink); --pg-tint: var(--bn-fire-tint);
  border-radius: var(--bn-r-tile); background: var(--bn-tile); box-shadow: var(--bn-shadow);
  overflow: hidden; scroll-margin-top: 90px;
}
.bn-pg--green { --pg-ink: var(--bn-green-ink); --pg-tint: var(--bn-green-tint); }
.bn-pg--blue { --pg-ink: var(--bn-blue-ink); --pg-tint: var(--bn-blue-tint); }
.bn-pg--amber { --pg-ink: var(--bn-amber-ink); --pg-tint: var(--bn-amber-tint); }
.bn-pg--kiko { --pg-ink: var(--bn-kiko-ink); --pg-tint: var(--bn-kiko-tint); }
.bn-pg--teal { --pg-ink: var(--bn-teal-ink); --pg-tint: var(--bn-teal-tint); }
.bn-pg--indigo { --pg-ink: var(--bn-indigo-ink); --pg-tint: var(--bn-indigo-tint); }
.bn-pg--rose { --pg-ink: var(--bn-rose-ink); --pg-tint: var(--bn-rose-tint); }
.bn-pg--slate { --pg-ink: var(--bn-slate-ink); --pg-tint: var(--bn-slate-tint); }
.bn-pg--sand { --pg-ink: var(--bn-sand-ink2); --pg-tint: var(--bn-sand-tint); }
.bn-pg--violet { --pg-ink: var(--bn-violet-ink); --pg-tint: var(--bn-violet-tint); }
.bn-pg-head {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px 10px 16px; box-sizing: border-box;
  cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; user-select: none;
}
.bn-pg-head::-webkit-details-marker { display: none; }
.bn-pg-head:hover { background: var(--bn-tile-2); }
.bn-pg-head:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: -2px; border-radius: var(--bn-r-tile); }
.bn-pg-count {
  flex: none; padding: 3px 9px; border-radius: 999px; background: var(--bn-tile-2); color: var(--bn-muted);
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bn-pg-count--on { background: var(--pg-tint); color: var(--pg-ink); }
.bn-pg-chev { flex: none; display: flex; color: var(--bn-faint); transition: transform .15s; }
.bn-pg-chev svg { width: 18px; height: 18px; }
.bn-pg[open] > .bn-pg-head .bn-pg-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .bn-pg-chev { transition: none; } }
/* the line sits under the middle of the parent's icon */
.bn-pg-body { margin: 0 0 16px 34px; border-left: 2px solid var(--pg-ink); }
.bn-pg-row {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 5px 14px; box-sizing: border-box;
  color: var(--bn-ink); text-decoration: none; scroll-margin-top: 160px;
}
button.bn-pg-row { width: 100%; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
a.bn-pg-row:hover, button.bn-pg-row:hover { background: var(--bn-tile-2); }
.bn-pg-row:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: -2px; }
.bn-pg-row .bn-row-title { font-size: 14px; font-weight: 600; }
.bn-pg-row--main .bn-row-title { font-weight: 700; }
.bn-pg-ic { flex: none; display: flex; color: var(--bn-muted); }
.bn-pg-ic svg { width: 18px; height: 18px; }
.bn-pg-row--main .bn-pg-ic { color: var(--pg-ink); }
.bn-pg-row .bn-row-end svg { width: 16px; height: 16px; }
.bn-pg-fixed { flex: none; font-size: 11px; font-weight: 700; color: var(--bn-muted); white-space: nowrap; }
/* the alarm button sits above the floating bar, not on it */
[data-design="bento"] #rc-alarm-fab { bottom: calc(max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) + 80px) !important; }

/* ------------------------------------------------------------- headings */

.bn-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 12px;
}
.bn-head-text { min-width: 0; }
.bn-eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--bn-muted);
}
.bn-h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bn-ink);
}
.bn-h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--bn-ink);
}
.bn-section {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 4px 8px;
}
.bn-section a { font-size: 13px; font-weight: 700; color: var(--bn-fire-ink); text-decoration: none; }
[data-design="bento"][data-theme="classic"] .bn-section a { color: var(--bn-fire); }
.bn-muted { color: var(--bn-muted); }
.bn-faint { color: var(--bn-faint); }
.bn-small { font-size: 13px; }
.bn-tiny { font-size: 12px; }
.bn-num {
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.bn-num small { font-size: 0.5em; opacity: 0.7; letter-spacing: 0; }
.bn-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px 0 8px;
  margin: 0 0 6px;
  border-radius: 12px;
  color: var(--bn-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.bn-back:hover { background: var(--bn-tile); color: var(--bn-ink); }
.bn-back svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------- grid + tiles */

.bn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
/* before the breakpoint, so a .bn-md-span-* on the same tile wins there */
.bn-span-2 { grid-column: span 2; }
.bn-full { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .bn-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .bn-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bn-md-span-2 { grid-column: span 2; }
  .bn-md-span-4 { grid-column: span 4; }
  .bn-md-row-2 { grid-row: span 2; }
  .bn-md-span-1 { grid-column: span 1; }
}
.bn-stack { display: flex; flex-direction: column; gap: 10px; }

.bn-tile {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  border-radius: var(--bn-r-tile);
  background: var(--bn-tile);
  color: var(--bn-ink);
  box-shadow: var(--bn-shadow);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
}
a.bn-tile, button.bn-tile { cursor: pointer; transition: transform 0.12s ease, box-shadow 0.12s ease; }
a.bn-tile:hover, button.bn-tile:hover { box-shadow: var(--bn-shadow-lift); }
a.bn-tile:active, button.bn-tile:active { transform: scale(0.985); }
button.bn-tile { border: 0; text-align: left; font: inherit; }
.bn-tile--between { justify-content: space-between; }
.bn-tile--row { flex-direction: row; align-items: center; gap: 14px; }
.bn-tile--tall { min-height: 164px; }
.bn-tile--mid { min-height: 116px; }
.bn-tile--pad-lg { padding: 20px; }

.bn-tile--fire { background: var(--bn-fire-solid-strong); color: #fff; }
.bn-tile--fire .bn-muted, .bn-tile--fire .bn-eyebrow { color: var(--bn-fire-soft-ink); }
.bn-tile--navy { background: var(--bn-navy); color: var(--bn-navy-ink); }
.bn-tile--navy .bn-muted, .bn-tile--navy .bn-eyebrow { color: var(--bn-navy-muted); }
.bn-tile--sand { background: var(--bn-sand); color: var(--bn-sand-ink); }
.bn-tile--sand .bn-muted, .bn-tile--sand .bn-eyebrow { color: var(--bn-sand-ink); opacity: 0.85; }
.bn-tile--green { background: var(--bn-green); color: #fff; }
.bn-tile--green .bn-muted, .bn-tile--green .bn-eyebrow { color: var(--bn-green-soft-ink); }
.bn-tile--soft { background: var(--bn-tile-2); box-shadow: none; }
.bn-tile--alert { box-shadow: 0 0 0 2px var(--bn-fire), var(--bn-shadow-lift); }
.bn-tile--warn { background: var(--bn-amber-tint); color: var(--bn-amber-ink); box-shadow: none; }
.bn-tile--warn .bn-muted { color: var(--bn-amber-ink); }
.bn-tile--danger { background: var(--bn-fire-tint); color: var(--bn-fire-ink); box-shadow: none; }
.bn-tile--danger .bn-muted { color: var(--bn-fire-ink); }
.bn-tile--ok { background: var(--bn-green-tint); color: var(--bn-green-ink); box-shadow: none; }
.bn-tile--ok .bn-muted { color: var(--bn-green-ink); }
.bn-tile-title { font-weight: 700; font-size: 15px; line-height: 1.25; }
.bn-tile-sub { font-size: 12px; color: var(--bn-muted); line-height: 1.35; }
.bn-tile-big { font-weight: 700; font-size: 28px; line-height: 1.05; letter-spacing: -0.01em; }
.bn-tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

/* the alert tile pulses in its own type colour (--bn-pulse) */
@keyframes bn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--bn-pulse, rgba(180, 35, 24, 0.5)); }
  50% { box-shadow: 0 0 0 14px transparent; }
}
.bn-pulse { animation: bn-pulse 1.8s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .bn-pulse { animation: none; } }

/* the running alert (2026-11-07): rings spread from the tile's right edge,
   behind the text and clipped to the tile, and the tile gives a small push
   with each one; nothing reaches past its corners, so the tiles around it
   stay still */
.bn-alive { overflow: hidden; isolation: isolate; animation: bn-push 2.4s ease-out infinite; }
.bn-alive::before,
.bn-alive::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 34px;
  top: 50%;
  width: 120px;
  height: 120px;
  margin: -60px -60px 0 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
  animation: bn-wave 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
.bn-alive::after { animation-delay: 1.2s; }
@keyframes bn-wave {
  0% { transform: scale(0.3); opacity: 0; }
  15% { opacity: 0.32; }
  100% { transform: scale(5); opacity: 0; }
}
@keyframes bn-push {
  0%, 100% { transform: scale(1); }
  8% { transform: scale(1.012); }
  22% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .bn-alive, .bn-alive::before, .bn-alive::after { animation: none; }
  .bn-alive::before, .bn-alive::after { opacity: 0; }
}

/* ------------------------------------------------------------- icon bubbles */

.bn-ic {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--bn-tile-2);
  color: var(--bn-ink);
}
.bn-ic svg { width: 18px; height: 18px; }
.bn-ic--lg { width: 52px; height: 52px; border-radius: 18px; }
.bn-ic--lg svg { width: 26px; height: 26px; }
.bn-ic--fire { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.bn-ic--green { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.bn-ic--blue { background: var(--bn-blue-tint); color: var(--bn-blue-ink); }
.bn-ic--amber { background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.bn-ic--kiko { background: var(--bn-kiko-tint); color: var(--bn-kiko-ink); }
.bn-ic--glass { background: rgba(255, 255, 255, 0.16); color: inherit; }
.bn-ic--solid { background: var(--bn-fire); color: #fff; }

/* date badge (STR / 22) */
.bn-date {
  width: 52px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--bn-tile-2);
  color: var(--bn-ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bn-date b { font-size: 11px; font-weight: 700; color: var(--bn-fire-ink); text-transform: uppercase; }
[data-design="bento"][data-theme="classic"] .bn-date b { color: var(--bn-fire); }
.bn-date span { font-size: 24px; font-weight: 700; }

/* ------------------------------------------------------------- buttons */

.bn-btn {
  height: 48px;
  box-sizing: border-box;
  padding: 0 18px;
  border-radius: var(--bn-r-btn);
  border: 0;
  background: var(--bn-tile-2);
  color: var(--bn-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s ease, transform 0.08s ease;
  white-space: nowrap;
}
/* on a phone a long label wraps onto two lines inside the button instead
   of pushing the page wider than the screen ("Doplniť odrazy zo zoznamu
   vracajúcich sa adries" on /admin/kampan at 360 px, 2026-11-28); two
   lines fit the fixed heights. Desktop keeps single-line buttons. */
@media (max-width: 719px) {
  .bn-btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.15; }
}
.bn-btn:active { transform: scale(0.98); }
.bn-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.bn-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.bn-btn--block { width: 100%; }
.bn-btn--sm { height: 40px; padding: 0 14px; font-size: 14px; border-radius: 13px; }
.bn-btn--lg { height: 64px; font-size: 18px; border-radius: 20px; }
.bn-btn--xl { height: 76px; font-size: 22px; border-radius: 24px; letter-spacing: 0.03em; }
.bn-btn--fire { background: var(--bn-fire); color: #fff; }
.bn-btn--fire:hover { background: var(--bn-fire-hover); }
.bn-btn--dark { background: var(--bn-navy); color: var(--bn-navy-ink); }
.bn-btn--blue { background: #2E5BFF; color: #fff; }
.bn-btn--dark:hover { background: var(--bn-navy-2); }
.bn-btn--white { background: #fff; color: #912018; }
.bn-btn--glass { background: rgba(255, 255, 255, 0.16); color: inherit; }
.bn-btn--glass:hover { background: rgba(255, 255, 255, 0.24); }
.bn-btn--line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--bn-line); }
.bn-btn--line:hover { background: var(--bn-tile-2); }
.bn-btn--ok { background: var(--bn-green); color: #fff; }
.bn-btn--danger-soft { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.bn-btn--sand { background: var(--bn-sand-ink); color: var(--bn-sand); }
.bn-btns { display: flex; gap: 8px; flex-wrap: wrap; }
/* shared scripts that colour a button with utility classes (the push card) */
.bn-btn.bg-fire { background: var(--bn-fire); color: #fff; }
.bn-btn.bg-green-600 { background: var(--bn-green); color: #fff; }
.bn-btns > * { flex: 1 1 0; }

/* ------------------------------------------------------------- pills + chips */

.bn-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 26px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  background: var(--bn-tile-2);
  color: var(--bn-muted);
  /* a pill wraps when it does not fit: a whole warning sentence in one
     (PKV_SNS_TOPIC_ARN nie je nastavené…, the SES/SNS notice on Kampaň)
     used to stay on one line and widen the page - on iOS the layout
     viewport grew to ~1100 px and the content took its left third
     (2026-11-28). break-word, not anywhere: it leaves the min-content
     width alone, so a short pill in a flex row is never crushed. */
  white-space: normal;
  overflow-wrap: break-word;
}
.bn-pill svg { width: 13px; height: 13px; flex: none; }
.bn-pill--ok { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.bn-pill--no { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.bn-pill--warn { background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.bn-pill--info { background: var(--bn-blue-tint); color: var(--bn-blue-ink); }
.bn-pill--fire { background: var(--bn-fire); color: #fff; }
.bn-pill--glass { background: rgba(255, 255, 255, 0.16); color: inherit; }
.bn-pills { display: flex; flex-wrap: wrap; gap: 6px; }

/* ------------------------------------------------------------- lists */

.bn-list {
  border-radius: var(--bn-r-tile);
  background: var(--bn-tile);
  box-shadow: var(--bn-shadow);
  overflow: hidden;
}
.bn-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 16px;
  box-sizing: border-box;
  color: var(--bn-ink);
  text-decoration: none;
}
.bn-row + .bn-row { border-top: 1px solid var(--bn-line); }
a.bn-row:hover, button.bn-row:hover { background: var(--bn-tile-2); }
button.bn-row { width: 100%; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.bn-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.bn-row-title { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-row-title--wrap { white-space: normal; }
.bn-row-sub { font-size: 12px; color: var(--bn-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-row-sub--wrap { white-space: normal; }
.bn-row-end { flex-shrink: 0; display: flex; align-items: center; gap: 8px; color: var(--bn-faint); }
.bn-row-end svg { width: 18px; height: 18px; }
.bn-row--stripe { box-shadow: inset 4px 0 0 var(--bn-fire); }
.bn-empty {
  padding: 28px 18px;
  text-align: center;
  color: var(--bn-muted);
  font-size: 14px;
}

/* ------------------------------------------------------------- avatars + bars */

/* ---------------------------------------------------------- chat list rows
   Every conversation is its own row, as in a messenger: a big round avatar,
   the name and the last message, the time on the right. Unread rows are bold
   with a count; nothing is boxed, the rows breathe. */
.bn-cls { display: flex; flex-direction: column; margin: 0 -8px; }
.bn-cl { display: flex; align-items: center; gap: 14px; padding: 9px 8px; border-radius: 18px; color: inherit; text-decoration: none; }
a.bn-cl:hover, a.bn-cl:active { background: var(--bn-tile-2); }
.bn-cl-av { position: relative; width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
              background: var(--bn-navy); color: var(--bn-navy-ink); font-weight: 800; font-size: 18px; letter-spacing: 0.02em; }
.bn-cl-av svg { width: 26px; height: 26px; }
.bn-cl-av--fire { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.bn-cl-av--green { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.bn-cl-av--blue { background: var(--bn-blue-tint); color: var(--bn-blue-ink); }
.bn-cl-av--amber { background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.bn-cl-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bn-cl-name { font-weight: 600; font-size: 16px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-cl-name small { font-weight: 500; font-size: 13px; color: var(--bn-muted); }
.bn-cl-name small svg { display: inline; width: 14px; height: 14px; vertical-align: -2px; }
.bn-cl-last { font-size: 14px; line-height: 1.3; color: var(--bn-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-cl-end { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 40px; }
.bn-cl-when { font-size: 12px; color: var(--bn-muted); white-space: nowrap; }
.bn-cl-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center;
             background: var(--bn-fire); color: #fff; font-size: 11px; font-weight: 800; }
.bn-cl--unread .bn-cl-name, .bn-cl--unread .bn-cl-last { color: var(--bn-ink); font-weight: 700; }
.bn-cl--unread .bn-cl-when { color: var(--bn-fire-ink); font-weight: 700; }
.bn-cl--muted .bn-cl-n { background: var(--bn-muted); }
.bn-cls-title { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bn-faint); margin: 14px 0 2px; }

.bn-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bn-navy);
  color: var(--bn-navy-ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  overflow: hidden;
}
.bn-avatar--sm { width: 30px; height: 30px; font-size: 11px; }
.bn-avatar--lg { width: 64px; height: 64px; font-size: 22px; }
.bn-avatars { display: flex; }
.bn-avatars > * { box-shadow: 0 0 0 2px var(--bn-navy); }
.bn-avatars > * + * { margin-left: -4px; }
.bn-avatars--light > * { box-shadow: 0 0 0 2px var(--bn-tile); background: var(--bn-tile-2); color: var(--bn-ink); }

.bn-bar { height: 8px; border-radius: 4px; background: var(--bn-tile-2); overflow: hidden; display: flex; gap: 2px; }
.bn-bar > span { display: block; height: 100%; }
.bn-bar-ok { background: #12B76A; }
.bn-bar-no { background: #F04438; }
.bn-bar-wait { background: var(--bn-line); }
.bn-bar-ink { background: var(--bn-navy); }
.bn-tile--navy .bn-bar { background: var(--bn-navy-2); }
.bn-tile--navy .bn-bar-ink { background: var(--bn-navy-ink); }
.bn-spark { display: flex; align-items: flex-end; gap: 5px; height: 30px; }
.bn-spark span { flex: 1; border-radius: 3px; background: var(--bn-navy-2); min-height: 3px; }
.bn-spark span.on { background: var(--bn-navy-ink); }

/* ------------------------------------------------------------- forms */

.bn-form { display: flex; flex-direction: column; gap: 14px; }
.bn-label {
  display: block;
  margin: 0 0 6px 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bn-muted);
}
.bn-hint { margin: 6px 0 0 4px; font-size: 12px; color: var(--bn-faint); }
.bn-input,
[data-design="bento"] .bn-form input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="hidden"]):not([type="file"]):not(.bn-raw),
[data-design="bento"] .bn-form select,
[data-design="bento"] .bn-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: var(--bn-r-inner);
  border: 1.5px solid var(--bn-line);
  background: var(--bn-tile);
  color: var(--bn-ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
[data-design="bento"] .bn-form textarea { min-height: 96px; resize: vertical; }
.bn-input:focus,
[data-design="bento"] .bn-form input:focus,
[data-design="bento"] .bn-form select:focus,
[data-design="bento"] .bn-form textarea:focus {
  border-color: var(--bn-focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bn-focus) 22%, transparent);
}
/* bare inputs outside a .bn-form (e.g. "Polomer okolo zbrojnice (m)" on
   Nastavenia zboru, owner 2026-11-09): same look as the form fields instead
   of the browser's black box. Only unclassed inputs; the specificity is one
   attribute (0,1,0), enough to beat Tailwind's preflight reset but not a
   component rule such as `.rc-nav-search input`; an inline width stays. */
[data-design="bento"] :where(:is(input[type="number"], input[type="text"], input[type="tel"],
  input[type="email"], input[type="time"], input[type="date"], input[type="datetime-local"],
  input[type="month"], input[type="url"], input[type="search"], select):not([class])) {
  box-sizing: border-box;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--bn-r-inner);
  border: 1.5px solid var(--bn-line);
  background: var(--bn-tile);
  color: var(--bn-ink);
  font: inherit;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  outline: none;
}
[data-design="bento"] :where(:is(input, select):not([class]):focus) {
  border-color: var(--bn-focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bn-focus) 22%, transparent);
}
[data-design="bento"] label.bn-row-flex:has(> input:not([class])) { align-items: center; }
/* date and time fields (owner 2026-11-09, Dovolenky Od / Do): iOS draws an
   empty date field as a blank box. A calendar (a clock for time) on the right
   says what the field is; the browser's own picker button (Chrome, Android)
   lies invisible on top of the icon, so a tap on it still opens the picker.
   The form rule above sets the `background` shorthand at (0,8,1), hence the
   !important on the image longhands only. An empty required field (:invalid)
   has its dd.mm.rrrr in the hint colour. */
[data-design="bento"] :is(.bn-form input, input.bn-input, input:not([class])):is([type="date"], [type="datetime-local"], [type="month"], [type="week"], [type="time"]) {
  position: relative;
  padding-right: 44px !important;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237A8699' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 20px 20px !important;
}
[data-design="bento"] :is(.bn-form input, input.bn-input, input:not([class]))[type="time"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237A8699' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") !important;
}
[data-design="bento"] :is(.bn-form input, input.bn-input, input:not([class])):is([type="date"], [type="datetime-local"], [type="month"], [type="week"], [type="time"])::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44px;
  height: auto;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}
[data-design="bento"] :is(.bn-form input, input.bn-input, input:not([class])):is([type="date"], [type="datetime-local"], [type="month"], [type="week"], [type="time"])::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.4em;
}
[data-design="bento"] :is(.bn-form input, input.bn-input, input:not([class])):is([type="date"], [type="datetime-local"], [type="month"], [type="week"], [type="time"])[required]:invalid:not(:focus)::-webkit-datetime-edit {
  color: var(--bn-faint);
}
[data-design="bento"] .bn-form input::placeholder,
[data-design="bento"] .bn-form textarea::placeholder { color: var(--bn-faint); }
.bn-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--bn-r-inner);
  background: var(--bn-tile-2);
  cursor: pointer;
  font-size: 14px;
}
.bn-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--bn-fire); flex-shrink: 0; }

/* segmented choice: radio inputs inside labels */
.bn-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 18px;
  background: var(--bn-tile-2);
}
.bn-seg label {
  position: relative;
  min-height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--bn-muted);
  cursor: pointer;
}
.bn-seg input { position: absolute; opacity: 0; pointer-events: none; }
.bn-seg label:has(input:checked) { background: var(--bn-tile); color: var(--bn-ink); box-shadow: var(--bn-shadow); }
.bn-seg label:has(input:focus-visible) { outline: 2px solid var(--bn-focus); }

/* chip toggles (vehicles, groups): checkbox inside label */
.bn-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-toggle {
  position: relative;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--bn-tile-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.bn-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.bn-toggle svg { width: 16px; height: 16px; display: none; }
.bn-toggle:has(input:checked) { background: var(--bn-navy); color: var(--bn-navy-ink); }
.bn-toggle:has(input:checked) svg { display: block; }
.bn-toggle:has(input:focus-visible) { outline: 2px solid var(--bn-focus); }

/* switch (role=switch button, or a checkbox styled as one) */
.bn-switch {
  position: relative;
  width: 60px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 18px;
  border: 0;
  padding: 0;
  background: var(--bn-line);
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.bn-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s ease;
}
.bn-switch[aria-checked="true"] { background: var(--bn-green); }
.bn-switch[aria-checked="true"]::after { transform: translateX(24px); }
.bn-tile--green .bn-switch[aria-checked="true"] { background: #fff; }
.bn-tile--green .bn-switch[aria-checked="true"]::after { background: var(--bn-green); }
.bn-tile--navy .bn-switch:not([aria-checked="true"]) { background: var(--bn-navy-2); }

/* alert-type tiles on the chooser */
.bn-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .bn-types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .bn-types { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bn-type {
  position: relative;
  min-height: 108px;
  box-sizing: border-box;
  padding: 14px;
  border-radius: 24px;
  background: var(--bn-tile);
  box-shadow: var(--bn-shadow);
  color: var(--bn-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.bn-type:hover { box-shadow: var(--bn-shadow-lift); }
.bn-type:active { transform: scale(0.98); }
.bn-type-ic {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  background: var(--bn-type-tint, var(--bn-tile-2));
}
.bn-type-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.bn-type::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--bn-type-color, var(--bn-fire));
}
.bn-type--quick { background: var(--bn-navy); color: var(--bn-navy-ink); text-align: left; border: 0; font: inherit; cursor: pointer; }
.bn-type--quick .bn-muted { color: var(--bn-navy-muted); }
.bn-type--quick::after { display: none; }

/* the selected type, worn on the form page */
.bn-chosen {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--bn-r-tile);
  color: #fff;
}

/* the one-screen declare form: types as one radio group, compact enough
   that eight of them and the address both fit a phone */
.bn-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .bn-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bn-pick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 18px;
  background: var(--bn-tile-2);
  color: var(--bn-ink);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.12s ease;
}
.bn-pick:active { transform: scale(0.98); }
.bn-pick input { position: absolute; opacity: 0; pointer-events: none; }
.bn-pick-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--bn-type-tint); flex-shrink: 0; }
.bn-pick-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.bn-pick:has(input:checked) { background: var(--bn-type-color); color: var(--bn-type-ink, #fff); box-shadow: 0 8px 20px -8px var(--bn-type-color); }
.bn-pick:has(input:checked) .bn-pick-ic { background: rgba(255, 255, 255, 0.2); }
.bn-pick:has(input:focus-visible) { border-color: var(--bn-focus); }
.bn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-chip {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 34px; padding: 0 12px; border-radius: 999px;
  background: var(--bn-tile-2); color: var(--bn-ink);
  border: 0; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.bn-chip svg { width: 14px; height: 14px; opacity: 0.7; }
.bn-chip:active { transform: scale(0.97); }
.bn-pick[hidden], .bn-chips[hidden], .bn-btn[hidden], .bn-hint[hidden] { display: none; }

/* ------------------------------------------------------------- confirm / alarm screen */

.bn-alarm {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: calc(22px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) 18px calc(22px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
}
.bn-alarm-in { width: 100%; max-width: 520px; margin: 0 auto; flex: 1; display: flex; flex-direction: column; gap: 16px; }
.bn-alarm-ring {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  margin: 8px auto 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.07), 0 0 0 32px rgba(255, 255, 255, 0.04);
  font-size: 46px;
}

/* ------------------------------------------------------------- incident console */

.bn-console-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.18);
}
.bn-console-tabs button {
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.bn-console-tabs button svg { width: 17px; height: 17px; }
.bn-console-tabs button[data-active="1"] { background: #fff; color: #1D2939; }

/* the NAVIGOVAŤ pill floats above the tab bar */
.bn-navgo {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) + 78px);
  z-index: 44;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.bn-standalone .bn-navgo { bottom: calc(max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)))); }
.bn-navgo-btns { display: flex; border-radius: 28px; overflow: hidden; box-shadow: var(--bn-shadow-lift); }
.bn-navgo-btns a,
.bn-navgo-btns button {
  height: 54px;
  border: 0;
  background: var(--bn-fire);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
}
.bn-navgo-btns a { padding: 0 18px 0 22px; }
.bn-navgo-btns button { padding: 0 14px; box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.25); }
.bn-navgo-btns a:hover, .bn-navgo-btns button:hover { background: var(--bn-fire-hover); }
.bn-navgo-btns svg { width: 20px; height: 20px; }

/* the chat: the shared chat.js draws bubbles with the shared utility classes;
   here they get the bento ground, radius and colours */
.bn-chat {
  display: flex;
  flex-direction: column;
  height: min(70vh, 640px);
  border-radius: var(--bn-r-tile);
  overflow: hidden;
  background: var(--bn-tile);
  box-shadow: var(--bn-shadow);
}
.bn-chat.hidden { display: none; }
.bn-chat .rc-chat-list { background: var(--bn-ground) !important; }
.bn-chat .rc-chat-list .rounded-2xl { border-radius: 20px; }
.bn-chat .rc-chat-list .bg-white { background: var(--bn-tile) !important; border: 0 !important; }
.bn-chat .rc-chat-list .bg-fire { background: var(--bn-fire) !important; }
.bn-chat .rc-chat-list .bg-gray-800 { background: var(--bn-navy) !important; }
.bn-chat-announce {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 23px;
  border: 0;
  background: var(--bn-tile-2);
  color: var(--bn-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.bn-chat-announce svg { width: 18px; height: 18px; }
.bn-chat-announce[data-on="1"] { background: var(--bn-amber-tint); color: var(--bn-amber-ink); }

/* ------------------------------------------------------------- flash + notices */

[data-design="bento"] .flash-msg {
  border: 0 !important;
  border-radius: 20px !important;
  box-shadow: var(--bn-shadow-lift) !important;
  font-weight: 600 !important;
}
[data-design="bento"] .flash-msg[data-category="success"] { background: var(--bn-green-tint) !important; color: var(--bn-green-ink) !important; }
[data-design="bento"] .flash-msg:not([data-category="success"]) { background: var(--bn-fire-tint) !important; color: var(--bn-fire-ink) !important; }
[data-design="bento"] .rc-notice,
[data-design="bento"] .rc-rsvp,
[data-design="bento"] #rc-push-nudge { border: 0 !important; }

/* ------------------------------------------------------------- modal sheet */

.bn-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(16, 24, 40, 0.55);
  padding: 12px;
}
@media (min-width: 640px) { .bn-modal { align-items: center; } }
.bn-modal-card {
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  box-sizing: border-box;
  border-radius: 30px;
  background: var(--bn-tile);
  color: var(--bn-ink);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--bn-shadow-lift);
}

/* a bento element the shared scripts hide with Tailwind's .hidden (the
   offline note, the map picker): its own display must not win over it */
[class*="bn-"].hidden { display: none; }

/* the "prídem / neprídem" strip above every page, as a tile */
[data-design="bento"] .rc-rsvp {
  background: var(--bn-tile) !important;
  margin: 6px 14px 4px;
  border-radius: 22px;
  box-shadow: var(--bn-shadow);
}
[data-design="bento"] .rc-rsvp button { border-radius: 12px !important; padding: 8px 14px !important; }

/* the shared <dialog class="rc-dialog"> (prevention, …) as a bento sheet */
[data-design="bento"] .rc-dialog-body { background: var(--bn-tile); color: var(--bn-ink); border-radius: 28px; }
@media (max-width: 639.98px) { [data-design="bento"] .rc-dialog-body { border-radius: 28px 28px 0 0; } }
[data-design="bento"] .rc-result-option { border-radius: 18px; }

/* ------------------------------------------------------------- the board: pinned post, poll
   (board/index.html, board/_poll.html) - an answer's background fills to its
   share of the votes, the viewer's own answer gets the dark edge */
.bn-pinned { display: inline-flex; align-items: center; gap: 3px; color: var(--bn-fire-ink); font-weight: 700; }
.bn-pinned svg { width: 12px; height: 12px; }
.bn-post--pinned { box-shadow: 0 0 0 1.5px var(--bn-navy), var(--bn-shadow); }
.bn-poll { display: flex; flex-direction: column; gap: 6px; }
.bn-poll form { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.bn-poll-opt {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; min-height: 42px; padding: 0 12px; overflow: hidden; text-align: left;
  border: 1.5px solid var(--bn-line); border-radius: 12px; background: var(--bn-tile-2); color: var(--bn-ink);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.bn-poll-fill { position: absolute; top: 0; bottom: 0; left: 0; background: var(--bn-blue-tint); transition: width .35s ease; }
.bn-poll-opt.is-mine { border-color: var(--bn-navy); }
.bn-poll-opt.is-mine .bn-poll-fill { background: var(--bn-blue-ink); opacity: .22; }
.bn-poll-text, .bn-poll-pct { position: relative; }
.bn-poll-text { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.bn-poll-text svg { width: 16px; height: 16px; flex-shrink: 0; }
.bn-poll-pct { flex-shrink: 0; font-variant-numeric: tabular-nums; color: var(--bn-muted); }
.bn-poll-names { font-size: 12px; color: var(--bn-muted); padding: 0 4px; }

/* ------------------------------------------------------------- photos from a call-out
   on the board: three thumbs on the post (board/index.html), the full grid on
   the alert's page (board/alert.html) */
.bn-post-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bn-post-strip a { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bn-ground); }
.bn-post-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-post-strip-more {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .45); color: #fff; font-weight: 800; font-size: 20px;
}
.bn-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bn-photo-grid a { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--bn-ground); }
.bn-photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ------------------------------------------------------------- pull to refresh
   (pull_refresh.js) - a round badge that rides out from under the top bar as
   the finger pulls; the arrow turns with the pull, spins once let go. */
.rc-ptr {
  position: fixed; top: calc(var(--safe-area-inset-top, env(safe-area-inset-top, 0px)) + 54px); left: 50%; z-index: 45;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bn-tile); color: var(--bn-muted); box-shadow: var(--bn-shadow-lift);
  display: flex; align-items: center; justify-content: center;
  transform: translate(-50%, -56px); opacity: 0; pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}
.rc-ptr.is-on { opacity: 1; transition: opacity .1s ease; }
.rc-ptr.is-ready { color: var(--bn-fire); }
.rc-ptr svg { width: 20px; height: 20px; transform: rotate(var(--rc-ptr-rot, 0deg)); }
.rc-ptr.is-busy svg { animation: rc-ptr-spin .8s linear infinite; }
@keyframes rc-ptr-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ------------------------------------------------------------- misc helpers */

.bn-row-flex { display: flex; align-items: center; gap: 10px; }
.bn-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bn-wrap { flex-wrap: wrap; }
.bn-grow { flex: 1; min-width: 0; }
/* a form row (select + input + button, a file input + button) wraps on a
   phone and its fields share the width instead of pushing the page wider
   than the screen (admin Centrálne čísla zboru, the "Zmeniť krok" row,
   2026-11-28); a set width (style="width: 110px") stays the starting size */
@media (max-width: 719px) {
  :is(form.bn-row-flex, .bn-row-flex:has(> :is(input:not([type="hidden"]), select, textarea))) { flex-wrap: wrap; }
  .bn-row-flex > :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
    flex: 1 1 auto; min-width: 0; max-width: 100%;
  }
  /* an item of a wrapping row (a form inside one, a select as wide as its
     longest option) may shrink to the row: it gets its own line first */
  :is(.bn-row-flex.bn-wrap, form.bn-row-flex) > * { min-width: 0; max-width: 100%; }
}
.bn-mt { margin-top: 10px; }
.bn-mt-lg { margin-top: 18px; }
.bn-center { text-align: center; }
.bn-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-divider { height: 1px; background: var(--bn-line); border: 0; margin: 4px 0; }
.bn-kbd { font-variant-numeric: tabular-nums; }
.bn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bn-prose { font-size: 15px; line-height: 1.55; }
.bn-prose p { margin: 0 0 10px; }
.bn-prose a { color: var(--bn-blue-ink); }
.bn-map {
  border-radius: var(--bn-r-tile);
  overflow: hidden;
  background: var(--bn-tile-2);
  min-height: 220px;
}
.bn-table-wrap { overflow-x: auto; border-radius: var(--bn-r-tile); background: var(--bn-tile); box-shadow: var(--bn-shadow); }
.bn-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bn-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--bn-muted); padding: 12px 14px; border-bottom: 1px solid var(--bn-line); white-space: nowrap; }
.bn-table td { padding: 12px 14px; border-bottom: 1px solid var(--bn-line); vertical-align: top; }
.bn-table tr:last-child td { border-bottom: 0; }

/* Nástenka and Chaty in the top bar: a count on the chip. On a narrow phone
   the status dot makes room for them (it is in the Viac sheet too). */
.bn-chipbtn--badge { position: relative; }
.bn-chipbtn--badge .bn-tab-badge { position: absolute; top: -4px; right: -4px; }
@media (max-width: 430px) { .bn-status-chip { display: none; } }

/* ------------------------------------------------------------- admin skin
   The admin pages are the original templates (Tailwind classes); this layer
   dresses them in the bento look without rewriting forty pages: the page on
   the bento ground, cards as tiles, softer inputs and buttons, the sidebar as
   a list of pills. One menu: the sidebar on lg+, the bar's Menu sheet below. */
/* One scheme for the admin and the app: the page on --bn-ground (#EEF0F3
   light, near-black #0B0F14 dark), every bar and card on the surface tokens
   (--bn-tile white / navy, --bn-tile-2 for chips and inputs). The html
   carries the ground too, so an overscroll or a page still loading never
   shows the browser's own canvas (white, or #121212 in dark). */
html[data-design="bento"] { background: var(--bn-ground); }
[data-design="bento"] body.rc-admin { background: var(--bn-ground); }
/* the header in the dark theme is a navy surface like the tab bar under it
   (light: the neutral white bar, theme.css .rc-header) */
[data-design="bento"][data-theme="modern"] body.rc-admin .rc-header { background: var(--bn-tile); border-bottom-color: var(--bn-line); }
[data-design="bento"] .rc-admin aside:not(.bn-side) { background: transparent; border-right: 0; }
[data-design="bento"] .rc-admin aside:not(.bn-side) nav { padding: 12px 10px; }
[data-design="bento"] .rc-admin aside:not(.bn-side) nav a { border-left: 0 !important; border-radius: 12px; margin: 1px 0; padding: 8px 12px; color: var(--bn-ink); }
[data-design="bento"] .rc-admin aside:not(.bn-side) nav a:hover { background: var(--bn-tile); }
[data-design="bento"] .rc-admin aside:not(.bn-side) nav a.text-fire { background: var(--bn-tile); color: var(--bn-fire) !important; box-shadow: var(--bn-shadow); font-weight: 700; }
[data-design="bento"] .rc-admin main h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
[data-design="bento"] .rc-admin main .bg-white.border,
[data-design="bento"] .rc-admin main .bg-white.shadow-sm,
[data-design="bento"] .rc-admin main .bg-white.rounded-2xl,
[data-design="bento"] .rc-admin main .bg-white.rounded-xl {
  background: var(--bn-tile) !important;
  border-color: transparent !important;
  border-radius: 22px !important;
  box-shadow: var(--bn-shadow) !important;
}
[data-design="bento"] .rc-admin main .bg-gray-50 { background: var(--bn-tile-2) !important; }
[data-design="bento"] .rc-admin main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
[data-design="bento"] .rc-admin main select,
[data-design="bento"] .rc-admin main textarea {
  background: var(--bn-tile-2);
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  color: var(--bn-ink);
}
[data-design="bento"] .rc-admin main input:focus,
[data-design="bento"] .rc-admin main select:focus,
[data-design="bento"] .rc-admin main textarea:focus { border-color: var(--bn-focus) !important; outline: none; background: var(--bn-tile); }
[data-design="bento"] .rc-admin main .bg-fire { background: var(--bn-fire) !important; }
[data-design="bento"] .rc-admin main a.bg-fire, [data-design="bento"] .rc-admin main button.bg-fire { border-radius: 14px !important; }
[data-design="bento"] .rc-admin main thead th { color: var(--bn-muted); }
[data-design="bento"] .rc-admin main .border-gray-100, [data-design="bento"] .rc-admin main .border-gray-200 { border-color: var(--bn-line) !important; }
[data-design="bento"] .rc-admin main .text-gray-500, [data-design="bento"] .rc-admin main .text-gray-400 { color: var(--bn-muted) !important; }
[data-design="bento"] .rc-admin .rc-bottom-bar { background: var(--bn-tile); }
/* the dark neutral buttons (bg-gray-800/900 + text-white) and the push
   previews: the modern theme inverts the gray scale, which turned them into
   light slabs on the dark page - here they stay a navy surface */
[data-design="bento"][data-theme="modern"] .rc-admin main .bg-gray-800,
[data-design="bento"][data-theme="modern"] .rc-admin main .bg-gray-900 { background: var(--bn-navy-2) !important; color: var(--bn-navy-ink); }
[data-design="bento"][data-theme="modern"] .rc-admin main button.bg-gray-800:hover,
[data-design="bento"][data-theme="modern"] .rc-admin main button.bg-gray-900:hover { background: var(--bn-navy) !important; }
[data-design="bento"][data-theme="modern"] .rc-admin main :is(.bg-gray-800, .bg-gray-900) .text-white,
[data-design="bento"][data-theme="modern"] .rc-admin main :is(.bg-gray-800, .bg-gray-900).text-white { color: var(--bn-navy-ink) !important; }
[data-design="bento"][data-theme="modern"] .rc-admin main .rc-push-preview :is(.text-gray-300, .text-gray-400) { color: var(--bn-navy-muted) !important; }

/* ---- Admin hub tabs (admin/_hub_tabs.html, nav.py) ---------------------------
   The pages of one hub as a segmented strip at the top of the page. One row
   that scrolls sideways on a phone (no wrap: a second row reads as a second
   level), the current tab a raised tile in fire, like the sidebar entry.
   Centred, as wide as its tabs: the pages below it are of different widths
   (bn-narrow, max-w-3xl, full), so no left edge would line up with all. */
.rc-hub-tabs {
  display: flex; gap: 4px; margin: 0 auto 18px; padding: 4px; width: max-content; max-width: 100%;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  background: var(--bn-tile-2, #F5F6F8); border: 1px solid var(--bn-line, #E4E7EC); border-radius: 16px;
}
.rc-hub-tabs::-webkit-scrollbar { display: none; }
.rc-hub-tab {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 7px 12px; border-radius: 12px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--bn-muted, #475467); text-decoration: none;
}
.rc-hub-tab svg { opacity: .75; }
.rc-hub-tab:hover { color: var(--bn-ink, #1D2939); background: var(--bn-tile, #fff); }
.rc-hub-tab:focus-visible { outline: 2px solid var(--bn-focus, #2D4FB3); outline-offset: 1px; }
.rc-hub-tab--on, .rc-hub-tab--on:hover {
  background: var(--bn-tile, #fff); color: var(--bn-fire, #B42318); font-weight: 700; box-shadow: var(--bn-shadow);
}
.rc-hub-tab--on svg { opacity: 1; }
@media (max-width: 640px) {
  .rc-hub-tabs { width: auto; max-width: none; margin: 0 -16px 14px; border-radius: 0; border-left: 0; border-right: 0; padding: 4px 12px; }
  /* first thing on the page: flush under the header, no strip of ground
     between the two bars (the page column's 24px top padding), one surface */
  .rc-admin main > div > .rc-hub-tabs:first-child { margin-top: -24px; border-top: 0; background: var(--bn-tile, #fff); }
  .rc-admin main > div > .rc-hub-tabs:first-child .rc-hub-tab--on { background: var(--bn-tile-2, #F5F6F8); box-shadow: none; }
}

/* ---- Prehľad z widgetov (bento/dash, dash_edit.js) ----------------------------
   A widget sits in a frame (.bn-w) that spans one column (s), two (m: the
   whole phone, half a desktop row) or the whole row (l). In edit mode the
   frames wiggle, carry a remove / resize / settings badge and can be dragged;
   what is inside them cannot be tapped then. */
.bn-dash { align-items: stretch; }
.bn-w { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--bn-r-tile); }
.bn-w > * { flex: 1 1 auto; }
.bn-w--xs, .bn-w--s { grid-column: span 1; }
.bn-w--m { grid-column: span 2; }
.bn-w--l { grid-column: 1 / -1; }
.bn-w--xs .bn-w-x, .bn-w--s .bn-w-x { display: none !important; }
.bn-w--xs .bn-tile--row, .bn-w--s .bn-tile--row { flex-direction: column; align-items: flex-start; }
/* more columns where there is room (2026-11-07). The grid asks its own
   width, not the window's, so the desktop sidebar is already subtracted.
   Below 640px (every phone) it stays the two columns of .bn-grid and Mini
   is the same as Malý. Tablet: 12 tracks - Mini 1/6, Malý 1/4, Stredný 1/2.
   Wide desktop: 24 tracks - Mini 1/8, Malý 1/6, Stredný 1/3. Veľký (and so
   Vyhlásiť poplach, which has no Mini) is always the whole row. */
.bn-dash-cq { container-type: inline-size; }
@container (min-width: 640px) {
  .bn-dash-cq > .bn-dash { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
  .bn-dash-cq > .bn-dash > .bn-w--xs { grid-column: span 2; }
  .bn-dash-cq > .bn-dash > .bn-w--s { grid-column: span 3; }
  .bn-dash-cq > .bn-dash > .bn-w--m { grid-column: span 6; }
  /* Mini on a tablet or desktop: the Malý design, tightened to fit */
  .bn-dash-cq .bn-w--xs > .bn-tile, .bn-dash-cq .bn-w--xs .bn-w-sq { min-height: 124px; padding: 14px; gap: 6px; }
  .bn-dash-cq .bn-w--xs .bn-num { font-size: 30px; }
  .bn-dash-cq .bn-w--xs .bn-ic--lg { width: 36px; height: 36px; }
  .bn-dash-cq .bn-w--xs .bn-tile-title { font-size: 15px !important; }
  .bn-dash-cq .bn-w--xs .bn-tile-sub, .bn-dash-cq .bn-w--xs .bn-tiny { font-size: 11px; }
}
@container (min-width: 1000px) {
  .bn-dash-cq > .bn-dash { grid-template-columns: repeat(24, minmax(0, 1fr)); }
  .bn-dash-cq > .bn-dash > .bn-w--xs { grid-column: span 3; }
  .bn-dash-cq > .bn-dash > .bn-w--s { grid-column: span 4; }
  .bn-dash-cq > .bn-dash > .bn-w--m { grid-column: span 8; }
}
.bn-w-none { display: none; }
.bn-w:has(> .bn-w-none) { display: none; }
.bn-wsec { display: flex; flex-direction: column; }
.bn-wsec > .bn-section { padding-top: 8px; }
.bn-dash-editbtn { width: auto; padding: 0 14px; gap: 6px; font-weight: 700; }
.bn-dash-empty { margin-top: 10px; }

.bn-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 8px; }
.bn-act { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px 10px;
          border-radius: var(--bn-r-inner); background: var(--bn-tile); color: var(--bn-ink);
          text-decoration: none; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; }
.bn-act[hidden] { display: none; }
.bn-act:active { transform: scale(0.97); }
.bn-act--fire .bn-ic { background: var(--bn-fire); color: #fff; }
.bn-addbadge { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
               background: var(--bn-tile-2); color: var(--bn-ink); }
.bn-addbadge svg { width: 15px; height: 15px; }

.bn-tile--map { gap: 10px; }
.bn-dash-map { height: 190px; border-radius: var(--bn-r-inner); overflow: hidden; background: var(--bn-tile-2); }
.bn-w--l .bn-dash-map { height: 240px; }
.bn-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: -1px; }
.bn-dot--water { background: #2E90FA; }
.bn-dot--aed { background: #D92D20; }
.bn-map-pin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }
.bn-map-home { width: 18px; height: 18px; border-radius: 6px; background: var(--bn-navy); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35); }

/* edit mode */
.bn-dash.is-editing .bn-w { cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
                            animation: bn-wiggle 0.3s ease-in-out infinite alternate; }
.bn-dash.is-editing .bn-w:nth-child(2n) { animation-delay: -0.15s; }
.bn-dash.is-editing .bn-w > :not(.bn-w-ctl) { pointer-events: none; }
.bn-dash.is-editing .bn-w:has(> .bn-w-none) { display: flex; }
.bn-dash.is-editing .bn-w-none, .bn-gal-preview .bn-w-none {
  display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 14px;
  border-radius: var(--bn-r-tile); border: 2px dashed var(--bn-line); color: var(--bn-muted);
  font-size: 13px; text-align: center; background: var(--bn-tile); }
.bn-gal-preview .bn-w:has(> .bn-w-none) { display: flex; }
@keyframes bn-wiggle { from { transform: rotate(-0.5deg); } to { transform: rotate(0.5deg); } }
@media (prefers-reduced-motion: reduce) { .bn-dash.is-editing .bn-w { animation: none; } }
.bn-w.is-dragging { animation: none !important; z-index: 30; cursor: grabbing;
                    box-shadow: var(--bn-shadow-lift); transition: box-shadow 0.15s; }
.bn-w.is-dragging > * { transform: scale(1.03); transition: transform 0.15s; }
.bn-w-ctl { position: absolute; z-index: 4; width: 30px; height: 30px; border-radius: 50%; border: 0;
            display: grid; place-items: center; cursor: pointer; padding: 0;
            box-shadow: 0 2px 8px rgba(16, 24, 40, 0.28); }
.bn-w-ctl svg { width: 16px; height: 16px; }
.bn-w-rm { top: -8px; left: -8px; background: #D92D20; color: #fff; }
.bn-w-sz { bottom: -8px; right: -8px; width: auto; min-width: 30px; padding: 0 9px; border-radius: 15px;
           background: var(--bn-navy); color: var(--bn-navy-ink); font-size: 12px; font-weight: 700; line-height: 1; gap: 4px;
           display: inline-flex; align-items: center; }
.bn-w-opt { top: -8px; right: -8px; background: var(--bn-tile); color: var(--bn-ink); }
/* three buttons that always fit: the bar spans the screen, the two main
   ones share the room, "Predvolený" shrinks to its icon on a phone */
.bn-dash-bar { position: fixed; left: 12px; right: 12px; max-width: 520px; margin: 0 auto; z-index: 60;
               bottom: calc(max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) + 76px);
               display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px;
               border-radius: 999px; background: var(--bn-tile); box-shadow: var(--bn-shadow-lift); }
.bn-dash-bar[hidden] { display: none; }
.bn-dash-bar .bn-btn { white-space: nowrap; min-width: 0; padding: 0 12px; border-radius: 999px; }
.bn-dash-bar .bn-btn span { overflow: hidden; text-overflow: ellipsis; }
.bn-dash-bar [data-dash-reset][hidden] { display: none; }
@media (max-width: 520px) { .bn-dash-bar [data-dash-reset] span { display: none; } }
.bn-dash-bar:not(:has([data-dash-reset]:not([hidden]))) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
body.rc-dash-editing .bn-tabbar { transform: translate(-50%, 140%); visibility: hidden; }
body.rc-dash-editing #rc-help-tab { display: none !important; }
body.rc-dash-editing .bn-dash-bar { bottom: max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))); }
body.rc-dash-editing main { padding-bottom: 120px; }

/* the sheets of the editor: gallery, Rýchle akcie */
.bn-dsheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 90dvh;
             border-radius: 28px 28px 0 0; background: var(--bn-ground); color: var(--bn-ink); overflow: auto; }
.bn-dsheet::backdrop { background: rgba(16, 24, 40, 0.5); }
@media (min-width: 640px) { .bn-dsheet { margin: auto; border-radius: 28px; } }
.bn-dsheet-in { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px calc(18px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))); }
.bn-dsheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px;
                  padding: 4px 4px 6px; font-size: 19px; position: sticky; top: -14px; z-index: 2;
                  background: var(--bn-ground); }
.bn-gal { padding: 12px; border-radius: 24px; background: var(--bn-tile-2); }
.bn-gal + .bn-gal { margin-top: 10px; }
.bn-gal-head { display: flex; align-items: center; gap: 10px; }
.bn-gal-head .bn-btn { flex-shrink: 0; }
.bn-gal-preview { margin-top: 10px; pointer-events: none; }
.bn-gal-preview .bn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.bn-gal-preview .bn-w--m, .bn-gal-preview .bn-w--l { grid-column: 1 / -1; }
.bn-gal.is-added { opacity: 0.5; }

/* Safari's toolbar tint (see bento/base.html): one pixel on the bottom edge,
   in the page colour */
.bn-edge-tint { position: fixed; left: 0; right: 0; bottom: 0; height: 1px; z-index: 1;
                background: var(--bn-ground); pointer-events: none; }

/* Prehľad widgets in three sizes (bento/dash): a small one is a square of
   one fact, a medium one the same with context, a large one the full thing */
.bn-w--xs > .bn-tile, .bn-w--s > .bn-tile { min-height: 150px; }
.bn-w-sq { min-height: 150px; }
.bn-num--soft { opacity: .62; }
.bn-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.bn-trio > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bn-trio .bn-num { font-size: 34px; }
.bn-trio small { font-size: 11px; color: var(--bn-navy-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; height: 74px; align-items: end; }
.bn-bars-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.bn-bars-bar { width: 100%; max-width: 26px; border-radius: 6px; background: rgba(255, 255, 255, .22); }
.bn-bars-bar.on { background: #fff; }
.bn-bars-col small { font-size: 10px; color: var(--bn-navy-muted); }
.bn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: 13px;
           font-weight: 600; background: var(--bn-tile-2); color: var(--bn-ink); text-decoration: none; }
.bn-chip svg { width: 15px; height: 15px; }
/* the Moje widgets (bento/dash/_mine.html, spa widgets/mine.js): links that
   keep the tile's colour, the week as seven bars, a progress bar */
.bn-mine-link { color: inherit; text-decoration: none; }
.bn-mine .bn-muted { opacity: .9; }
.bn-mine-week { max-width: 440px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; height: 58px; align-items: end; }
.bn-mine-week > span { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; height: 100%; }
.bn-mine-week i { display: block; width: 100%; max-width: 22px; border-radius: 5px; background: currentColor; opacity: .28; }
.bn-mine-week small { font-size: 10px; opacity: .8; }
.bn-mine-week > span.on i { opacity: .95; }
.bn-mine-week > span.on small { font-weight: 800; opacity: 1; }
.bn-mine-bar { display: block; height: 8px; border-radius: 4px; overflow: hidden; background: color-mix(in srgb, currentColor 18%, transparent); }
.bn-mine-bar > i { display: block; height: 100%; border-radius: 4px; background: currentColor; }
.bn-mine-trio small { color: inherit; opacity: .8; }
.bn-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bn-acts--s { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 0; }
.bn-acts--s .bn-act { padding: 8px 4px; font-size: 11px; gap: 4px; }
.bn-acts--s .bn-act .bn-ic { width: 30px; height: 30px; }
.bn-acts--m { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bn-dash-map { display: block; }
.bn-dash-map--s { height: 92px; }
.bn-dash-map--m { height: 150px; }
.bn-dash-map--l { height: 240px; }

/* the siren dot in a pill (landing badge): its rings grow ~10px past the dot,
   so it keeps that much room on both sides - off the first letter and the edge */
.bn-pill .rc-siren { margin: 0 9px 0 7px; }

/* the extra-large button on a phone: smaller type, no letter spacing, never
   wider than its tile - "Zaregistrovať zbor zadarmo →" ran past both edges */
.bn-btn--xl { max-width: 100%; }
@media (max-width: 520px) {
  .bn-btn--xl { height: auto; min-height: 60px; padding: 12px 18px; font-size: 18px; letter-spacing: 0;
                white-space: normal; text-align: center; line-height: 1.2; }
}

/* ------------------------------------------------------------- alert console, map first (2026-10-23) */

/* variant B: two tiles under the alert header - our route, the phone's navigation */
.bn-navtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: relative; }
.bn-navtile {
  min-height: 68px; box-sizing: border-box; border-radius: 20px; padding: 12px 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 3px;
  text-decoration: none; box-shadow: var(--bn-shadow);
}
.bn-navtile--dark { background: var(--bn-navy); color: #fff; }
.bn-navtile--fire { background: var(--bn-fire); color: #fff; }
.bn-navtile-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.bn-navtile-title svg { width: 18px; height: 18px; }
.bn-navtile-sub { font-size: 12px; opacity: 0.8; }
.bn-navtile-pick {
  position: absolute; right: 10px; bottom: 9px; border: 0; background: rgba(255, 255, 255, 0.2); color: #fff;
  border-radius: 10px; padding: 3px 9px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer;
}
.bn-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: var(--bn-tile-2); }
.bn-seg button { height: 38px; border: 0; border-radius: 12px; background: transparent; color: var(--bn-muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bn-seg button[data-active="1"] { background: var(--bn-tile); color: var(--bn-ink); font-weight: 700; box-shadow: var(--bn-shadow); }
.bn-row--person { align-items: center; gap: 10px; }
.bn-avatar--sm { width: 34px; height: 34px; font-size: 12px; flex-shrink: 0; }
.bn-chipgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bn-chipbtn-lg {
  min-height: 48px; box-sizing: border-box; border-radius: 14px; background: var(--bn-tile); color: var(--bn-ink);
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; text-decoration: none; font-size: 13px; font-weight: 600;
  box-shadow: var(--bn-shadow);
}
.bn-chipbtn-lg svg { width: 18px; height: 18px; color: var(--bn-fire); flex-shrink: 0; }

/* the tactical bar: the alert in the middle, locked - inside the bar, in
   red, not raised above it (2026-10-23) */
.bn-tab--alert { color: #fff; }
.bn-tab--alert .bn-tab-ic {
  width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--bn-fire); color: #fff;
  align-items: center; justify-content: center;
}
.bn-tab--alert .bn-tab-ic svg { width: 19px; height: 19px; }
.bn-tab.bn-tab--alert[aria-current="page"] { background: transparent; color: #fff; }
.bn-tab--alert[aria-current] .bn-tab-ic { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6); }

/* every other page during an alert: a thin strip back to it */
.bn-alertstrip {
  position: sticky; top: calc(60px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))); z-index: 30;
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border-radius: 18px;
  background: var(--bn-fire-solid-strong); color: #fff; text-decoration: none; box-shadow: var(--bn-shadow-lift);
}
.bn-alertstrip-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25); flex-shrink: 0; }
.bn-alertstrip-text { display: flex; flex-direction: column; min-width: 0; flex-grow: 1; }
.bn-alertstrip-text b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-alertstrip-text span { font-size: 12px; opacity: 0.9; }
.bn-alertstrip-go { font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, 0.2); border-radius: 10px; padding: 6px 10px; flex-shrink: 0; }
/* the strip replaces the floating siren in the corner */
.rc-bento #rc-alarm-fab { display: none !important; }
.bn-navtile--one { position: relative; min-height: 58px; padding-right: 44px; }
.bn-navtile-go { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; }
.bn-navtile-go svg { width: 20px; height: 20px; }
/* the console's compact header and the two buttons under its map */
.bn-console-head { padding: 12px 16px; gap: 2px; }
.bn-console-title { font-size: 20px; font-weight: 800; line-height: 1.2; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bn-console-count { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 8px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.bn-ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bn-mapbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; padding: 8px; }
.bn-mapbar .bn-btn { width: 100%; justify-content: center; }


/* a hidden tile stays hidden (.bn-tile sets display) */
.bn-tile[hidden] { display: none !important; }

/* Správa o zásahu: the times as rows - label, date, time - on a PC, stacked
   on a phone (2026-10-23) */
.bn-times { display: flex; flex-direction: column; gap: 10px; }
.bn-times-row { display: grid; grid-template-columns: minmax(0, 1fr) 170px 120px; gap: 10px; align-items: center; }
.bn-times-row .bn-label { margin: 0; }
@media (max-width: 640px) {
  .bn-times-row { grid-template-columns: 3fr 2fr; gap: 6px 8px; }
  .bn-times-row .bn-label { grid-column: 1 / -1; }
}
/* fields filled in from the alert: tinted so they are checked, not skipped */
[data-design="bento"] .bn-form :is(label, .bn-times-row):has(.bn-pf) :is(input, select, textarea) {
  border-color: color-mix(in srgb, var(--bn-fire) 45%, transparent) !important;
  background: color-mix(in srgb, var(--bn-fire) 7%, var(--bn-tile)) !important;
}
[data-design="bento"] .bn-form .bn-times-row:has(.bn-pill--ok.bn-pf) :is(input, select) {
  border-color: color-mix(in srgb, #12B76A 50%, transparent) !important;
  background: color-mix(in srgb, #12B76A 8%, var(--bn-tile)) !important;
}


/* the console map: the drive's time and length, and the obstacles on it */
.bn-mapchip {
  position: absolute; left: 10px; top: 10px; z-index: 2; padding: 6px 10px; border-radius: 12px;
  background: var(--bn-tile); color: var(--bn-ink); font-size: 12px; font-weight: 800; box-shadow: var(--bn-shadow-lift);
}
.bn-mapchip[hidden] { display: none; }
.rc-map-badge {
  width: 22px; height: 22px; border-radius: 50%; color: #fff; font-weight: 900; font-size: 13px;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.35);
}

/* a row of chips that scrolls sideways by swipe, without a scrollbar */
.bn-noscrollbar { scrollbar-width: none; -ms-overflow-style: none; }
.bn-noscrollbar::-webkit-scrollbar { display: none; }

/* the console map: a phone gets half the screen; a tablet or a PC, whose
   screen is wide and comparatively short, gets most of its height */
/* capped so the two buttons under it stay above the floating bar: the top
   bar, the alert header, a warning pill, the buttons and the bar take ~370px */
.bn-consolemap { height: min(52vh, 420px); height: clamp(220px, calc(100dvh - 370px), 420px); }
@media (min-width: 768px) { .bn-consolemap { height: max(300px, calc(100dvh - 370px)); } }
/* the obstacle warning above the map takes another ~80px */
@media (max-width: 767px) { .bn-console:has(#rc-route-warn:not([hidden])) .bn-consolemap { height: clamp(220px, calc(100dvh - 450px), 420px); } }
@media (min-width: 768px) and (max-width: 1099px) { .bn-console:has(#rc-route-warn:not([hidden])) .bn-consolemap { height: max(300px, calc(100dvh - 450px)); } }
.rc-map-sign { width: 26px; height: 26px; filter: drop-shadow(0 1px 3px rgba(16, 24, 40, 0.4)); cursor: default; }

/* chat composer: a rounded box that grows with the text (2026-10-24) */
.bn-chat-compose { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px;
  background: var(--bn-tile); border: 1px solid var(--bn-line); border-radius: 23px; padding: 4px 6px; }
.bn-chat-compose:focus-within { border-color: var(--bn-fire); }
.bn-chat-compose textarea { width: 100%; min-height: 36px; max-height: 132px; resize: none; border: 0; outline: none;
  background: transparent; color: inherit; font: inherit; font-size: 15px; line-height: 1.4; padding: 8px 8px;
  overflow-wrap: anywhere; box-shadow: none; }
.bn-chat-compose textarea:focus, .bn-chat-compose textarea:focus-visible { outline: none !important; box-shadow: none !important; }
.bn-chat-editing { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--bn-fire); padding: 4px 8px 0; }
.bn-chat-editing[hidden] { display: none; }
.bn-chat-editing button { margin-left: auto; border: 0; background: none; color: var(--bn-muted); cursor: pointer; }
/* a reaction as in Messenger (2026-11-05): a small round chip on the
   bubble's bottom-right corner */
.rc-has-like { position: relative; margin-bottom: 9px; }
.rc-chat-like { position: absolute; right: -4px; bottom: -11px; display: inline-flex; align-items: center; gap: 1px; margin: 0;
  height: 22px; min-width: 22px; padding: 0 4px; border-radius: 11px; border: 2px solid var(--bn-ground, #fff);
  background: var(--bn-tile, #fff); color: var(--bn-ink, #101828); font: inherit; font-size: 13px; line-height: 1;
  box-shadow: var(--bn-shadow); cursor: pointer; z-index: 1; }
.rc-chat-like.is-mine { box-shadow: 0 0 0 1px #D92D20, var(--bn-shadow); }
.rc-chat-menu { position: fixed; z-index: 70; display: flex; flex-direction: column; min-width: 190px; padding: 6px;
  background: var(--bn-tile, #fff); color: var(--bn-ink, #101828); border-radius: 16px; box-shadow: 0 10px 30px rgba(16, 24, 40, 0.25); }
.rc-chat-menu[hidden] { display: none; }
.rc-chat-menu button { min-height: 44px; padding: 0 12px; border: 0; background: none; font: inherit; font-weight: 600;
  color: inherit; text-align: left; border-radius: 12px; cursor: pointer; }
.rc-chat-menu button[hidden] { display: none; }
.rc-chat-menu button:hover { background: var(--bn-tile-2, #f2f4f7); }

/* reactions in the incident chat menu: 👍 ❤️ 😂 😮 (2026-10-23) */
.rc-chat-reacts { display: flex; justify-content: space-between; gap: 4px; padding: 2px 2px 6px; margin-bottom: 4px; border-bottom: 1px solid var(--bn-line, #eaecf0); }
.rc-chat-menu .rc-chat-reacts button { flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; text-align: center; font-size: 24px; border-radius: 50%; }
.rc-chat-menu .rc-chat-reacts button.is-mine { background: var(--bn-tile-2, #f2f4f7); box-shadow: inset 0 0 0 2px var(--bn-fire, #D92D20); }
.rc-chat-menu .rc-chat-reacts button[data-react-more] { background: var(--bn-tile-2, #f2f4f7); font-size: 22px; font-weight: 700; }
.rc-chat-menu .rc-chat-reacts--more { display: grid; grid-template-columns: repeat(5, 1fr); }
.rc-chat-menu .rc-chat-reacts--more[hidden] { display: none; }

/* a message held down opens our menu (reactions, edit, copy), not the
   phone's text selection and callout - in the apps and mobile browsers */
@media (pointer: coarse) {
  .rc-holdable { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
}

/* the report's scene maps: as large as the screen allows (2026-10-23) */
.rc-scene-map { width: 100%; height: min(72vh, 560px); min-height: 300px; background: #F2F4F7; }

/* the report maps' folded legend (2026-10-23): members' tracks as toggles,
   then the marks */
.rc-legend { border-top: 1px solid var(--bn-line); margin-top: 8px; }
.rc-legend > summary { cursor: pointer; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--bn-muted); list-style: none; display: flex; align-items: center; gap: 6px; }
.rc-legend > summary::-webkit-details-marker { display: none; }
.rc-legend > summary::before { content: '▸'; transition: transform .15s; }
.rc-legend[open] > summary::before { transform: rotate(90deg); }
.rc-legend-body { display: flex; flex-direction: column; gap: 6px; padding: 0 14px 14px; }
.rc-leg-h { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--bn-faint, var(--bn-muted)); margin-top: 4px; }
.rc-leg-hint { font-size: 12px; color: var(--bn-muted); }
.rc-leg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 12px; }
.rc-leg-item, .rc-leg-track { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.rc-leg-track { border: 0; background: none; color: inherit; font: inherit; font-size: 14px; padding: 4px 0; cursor: pointer; text-align: left; }
.rc-leg-track[aria-pressed="false"] { opacity: .4; text-decoration: line-through; }
.rc-leg-line { flex: none; width: 22px; height: 5px; border-radius: 3px; }
.rc-leg-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-leg-sw { flex: none; width: 22px; height: 16px; border-radius: 4px; }
.rc-leg-wide { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.rc-leg-scalerow { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--bn-muted); }
.rc-leg-scale { flex: 1; max-width: 260px; height: 12px; border-radius: 3px; background: linear-gradient(90deg, #FEF0C7, #FEC84B, #F79009, #E5372B, #912018); }

/* the movement's speed, compact beside the time (2026-10-23) */
.rc-speed { flex: none; display: inline-flex; align-items: center; border: 1px solid var(--bn-line); border-radius: 999px; overflow: hidden; }
.rc-speed button { width: 28px; height: 30px; border: 0; background: none; color: inherit; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.rc-speed button:hover { background: var(--bn-tile-2); }
.rc-speed b { min-width: 36px; text-align: center; font-size: 12px; }

/* the showcase's six points: two columns on a phone, three on a computer -
   never five and one left alone (2026-10-23) */
.rc-sample-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .rc-sample-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- the Zbor hub as a grouped list (owner 2026-11-09) ---------------------------
   iOS-Settings-style: every group is one rounded card of compact rows (icon,
   title, one muted line, a live badge, a chevron) - about a third of the old
   tiles' height. From 700px two columns of cards, from 1400px three; the
   cards flow as newspaper columns so a long group never leaves a hole. */
[data-design="bento"] {
  --bn-teal-tint: #D5F5F0; --bn-teal-ink: #0E6158;
  --bn-indigo-tint: #E6E4FB; --bn-indigo-ink: #4338A8;
  --bn-rose-tint: #FCE4EF; --bn-rose-ink: #A01E57;
  --bn-slate-tint: #E5EAF1; --bn-slate-ink: #3A4A60;
  --bn-sand-tint: #F4EBDD; --bn-sand-ink2: #6B4A12;
  /* Špeciálne funkcie (2026-11-20) */
  --bn-violet-tint: #EFE3FC; --bn-violet-ink: #6A2BAE;
}
[data-design="bento"][data-theme="modern"] {
  --bn-teal-tint: #0D2A28; --bn-teal-ink: #6EE0CF;
  --bn-indigo-tint: #1E1C3F; --bn-indigo-ink: #B4AEFB;
  --bn-rose-tint: #33141F; --bn-rose-ink: #F7A3C6;
  --bn-slate-tint: #1F2A38; --bn-slate-ink: #B8C6D9;
  --bn-sand-tint: #2B2418; --bn-sand-ink2: #EBCB95;
  --bn-violet-tint: #2A1A3D; --bn-violet-ink: #D6BCFA;
}
.bn-ic--teal { background: var(--bn-teal-tint); color: var(--bn-teal-ink); }
.bn-ic--indigo { background: var(--bn-indigo-tint); color: var(--bn-indigo-ink); }
.bn-ic--rose { background: var(--bn-rose-tint); color: var(--bn-rose-ink); }
.bn-ic--slate { background: var(--bn-slate-tint); color: var(--bn-slate-ink); }
.bn-ic--sand { background: var(--bn-sand-tint); color: var(--bn-sand-ink2); }
.bn-ic--violet { background: var(--bn-violet-tint); color: var(--bn-violet-ink); }

.bn-hub { margin-top: 4px; }
.bn-hub-group { break-inside: avoid; padding-bottom: 14px; }
.bn-hub-head { display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 6px 16px 6px; }
.bn-hub-label { margin: 0; flex: none; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--bn-muted); }
.bn-hub-hint { min-width: 0; font-size: 12px; color: var(--bn-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-hub .bn-list { border-radius: 20px; }
.bn-hub-row.bn-row { min-height: 56px; padding: 7px 12px 7px 14px; gap: 12px; -webkit-tap-highlight-color: transparent;
  transition: background-color .12s ease; }
.bn-hub-row.bn-row + .bn-hub-row.bn-row { border-top: 0; }
/* the hairline starts under the text, not under the icon (iOS) */
.bn-hub-row + .bn-hub-row { position: relative; }
.bn-hub-row + .bn-hub-row::before { content: ""; position: absolute; top: 0; right: 0; left: 56px; border-top: 1px solid var(--bn-line); }
.bn-hub-row:active, .bn-hub-row.is-pressed { background: var(--bn-tile-2); }
/* a cross link (owner 2026-12-05, the one tree): the page lives in another
   main page - its name as a quiet outlined chip and an arrow out */
.bn-hub-row--cross .bn-row-title { font-weight: 600; }
.bn-hub-row--cross .bn-ic { opacity: .75; }
.bn-hub-cross { font-size: 12px; font-weight: 600; color: var(--bn-muted); border: 1px dashed var(--bn-line); border-radius: 999px;
  padding: 2px 9px; white-space: nowrap; }
.bn-hub-row--cross .bn-row-end .spa-ic, .bn-hub-row--cross .bn-row-end > svg { color: var(--bn-faint); }
.bn-hub-row:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: -2px; border-radius: 12px; }
.bn-hub-row .bn-ic { width: 30px; height: 30px; border-radius: 9px; }
.bn-hub-row .bn-ic svg { width: 17px; height: 17px; }
.bn-hub-row .bn-row-title { font-size: 15px; font-weight: 650; line-height: 1.25; }
.bn-hub-row .bn-row-sub { font-size: 12.5px; line-height: 1.3; }
.bn-hub-row .bn-row-end { gap: 6px; max-width: 46%; }
.bn-hub-row .bn-row-end > svg { width: 16px; height: 16px; flex: none; color: var(--bn-faint); }
.bn-hub-badge { display: inline-flex; align-items: center; max-width: 100%; height: 24px; padding: 0 9px; border-radius: 12px;
  font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums;
  background: var(--bn-tile-2); color: var(--bn-muted); }
.bn-hub-badge > span { overflow: hidden; text-overflow: ellipsis; }
.bn-hub-badge--plain { background: none; padding: 0 2px; font-weight: 600; color: var(--bn-muted); max-width: 32vw; }
@media (min-width: 700px) { .bn-hub-badge--plain { max-width: 220px; } }
.bn-hub-badge--ok { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.bn-hub-badge--warn { background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.bn-hub-badge--bad { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.bn-hub-badge--info { background: var(--bn-blue-tint); color: var(--bn-blue-ink); }

/* the tabs over a merged Zbor hub page (owner 2026-11-12, _zbor_tabs.html):
   links, one page each; a segmented look that scrolls sideways when the
   tabs do not fit a phone */
.bn-tabnav { position: relative; display: flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 18px;
  background: var(--bn-tile-2); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.bn-tabnav::-webkit-scrollbar { display: none; }
.bn-tabnav-item { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 40px; padding: 0 14px; border-radius: 14px; font-size: 14px; font-weight: 600; white-space: nowrap;
  color: var(--bn-muted); text-decoration: none; }
.bn-tabnav-item:hover { color: var(--bn-ink); }
.bn-tabnav-item:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: -2px; }
.bn-tabnav-item[aria-current="page"] { background: var(--bn-tile); color: var(--bn-ink); font-weight: 700; box-shadow: var(--bn-shadow); }
.bn-tabnav-badge { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 9px; }
.bn-tabnav-badge--warn { background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.bn-tabnav-badge--bad { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }

/* "Treba vybaviť": what is red or amber, on top */
.bn-hub-todo { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 16px; padding: 12px 14px; border-radius: 20px;
  background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.bn-hub-todo--bad { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.bn-hub-todo-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.bn-hub-todo-title svg { width: 16px; height: 16px; }
.bn-hub-todo-list { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-hub-todo a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 12px;
  background: var(--bn-tile); color: var(--bn-ink); font-size: 13px; font-weight: 650; text-decoration: none; box-shadow: var(--bn-shadow); }
.bn-hub-todo a b { font-weight: 800; }
.bn-hub-todo a .bn-hub-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bn-amber-ink); flex: none; }
.bn-hub-todo a .bn-hub-dot--bad { background: var(--bn-fire); }
.bn-hub-todo a:active { background: var(--bn-tile-2); }

@media (min-width: 700px) {
  .bn-hub { columns: 2; column-gap: 14px; }
}
@media (min-width: 1400px) {
  .bn-hub { columns: 3; }
}

/* a settings sub-page: the form's Uložiť stays in reach while the form is on
   screen (above the floating tab bar on a phone) */
.bn-sticky-save { position: sticky; z-index: 3; bottom: calc(max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) + 76px);
  align-self: stretch; display: flex; padding-top: 6px; }
.bn-sticky-save .bn-btn { flex: 1; box-shadow: var(--bn-shadow-lift); }
@media (min-width: 700px) { .bn-sticky-save .bn-btn { flex: 0 0 auto; min-width: 180px; } }
@media (min-width: 1100px) { .bn-sticky-save { bottom: 16px; } }

/* a list of switches (Čo vidí člen): one row each, the switch on the right */
.bn-switch-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; cursor: pointer; }
.bn-switch-row + .bn-switch-row { border-top: 1px solid var(--bn-line); }
.bn-switch-row .bn-row-main { gap: 2px; }
.bn-switch-row .bn-row-sub { white-space: normal; }
input.bn-switch { -webkit-appearance: none; appearance: none; margin: 0; width: 52px; height: 32px; border-radius: 16px; }
input.bn-switch::after { top: 3px; left: 3px; width: 26px; height: 26px; box-shadow: 0 1px 3px rgba(16, 24, 40, .25); }
input.bn-switch:not(:checked) { background: color-mix(in srgb, var(--bn-faint) 45%, var(--bn-tile)); }
input.bn-switch:checked { background: var(--bn-green); }
input.bn-switch:checked::after { transform: translateX(20px); }
input.bn-switch:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { input.bn-switch, input.bn-switch::after { transition: none; } }

/* a plain checkbox in bento (owner 2026-11-09): in the dark look an unchecked
   one was a black square on a dark tile. Drawn by us now - a visible frame on
   the tile colour, a white tick on fire when checked. :where() keeps it
   weaker than every checkbox a component styles on its own (chips, switches,
   pickers); display is left alone so a hidden one stays hidden. */
[data-design="bento"] :where(input[type="checkbox"]:not(.bn-switch):not(.sr-only):not(.peer)) {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; margin: 0; flex-shrink: 0; vertical-align: -4px;
  border: 1.5px solid var(--bn-faint); border-radius: 6px; background-color: var(--bn-tile);
  background-repeat: no-repeat; background-position: center; background-size: 14px 14px;
  cursor: pointer; transition: background-color .12s ease, border-color .12s ease;
}
[data-design="bento"] :where(input[type="checkbox"]:not(.bn-switch):not(.sr-only):not(.peer)):checked {
  background-color: var(--bn-fire); border-color: var(--bn-fire);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
[data-design="bento"] :where(input[type="checkbox"]:not(.bn-switch):not(.sr-only):not(.peer)):indeterminate {
  background-color: var(--bn-fire); border-color: var(--bn-fire);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}
[data-design="bento"] :where(input[type="checkbox"]:not(.bn-switch):not(.sr-only):not(.peer)):focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
[data-design="bento"] :where(input[type="checkbox"]:not(.bn-switch):not(.sr-only):not(.peer)):disabled { opacity: .5; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
  [data-design="bento"] :where(input[type="checkbox"]) { transition: none; }
}

/* ------------------------------------------------- desktop sidebar (2026-10-24)
   From 1100px the navigation is a fixed panel on the left (bento/_side.html):
   the floating bar, the ☰ drawer and the brand in the top bar step aside,
   the page column widens and sits next to the panel. Below that width the
   panel does not exist - the phone keeps the bar and the drawer. */
.bn-side { display: none; }
@media (min-width: 1100px) {
  :root { --bn-side-w: 264px; }
  .bn-side {
    position: fixed; inset: 0 auto 0 0; width: var(--bn-side-w); z-index: 46;
    display: flex; flex-direction: column; box-sizing: border-box;
    padding: 14px 12px calc(12px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
    background: var(--bn-tile); border-right: 1px solid var(--bn-line); color: var(--bn-ink);
  }
  .bn-side-brand { padding: 4px 8px 14px; }
  .bn-side-nav { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; padding-right: 2px; }
  .bn-side-group { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bn-muted); padding: 14px 10px 6px; display: flex; align-items: center; justify-content: space-between; }
  .bn-side-edit {
    width: 26px; height: 26px; margin: -6px -4px -6px 0; display: grid; place-items: center; border-radius: 8px;
    color: var(--bn-muted); text-decoration: none; transition: background .12s, color .12s;
  }
  .bn-side-edit svg { width: 15px; height: 15px; }
  .bn-side-edit:hover, .bn-side-edit:focus-visible, .bn-side-edit[aria-current="page"] { background: var(--bn-tile-2); color: var(--bn-ink); }
  .bn-side-row {
    display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: 12px;
    color: var(--bn-ink); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .12s;
  }
  .bn-side-row:hover { background: var(--bn-tile-2); }
  .bn-side-row[aria-current="page"] { background: var(--bn-fire); color: #fff; }
  .bn-side-row[aria-current="page"] .bn-side-ic { color: #fff; }
  .bn-side-ic { width: 22px; height: 22px; display: grid; place-items: center; color: var(--bn-muted); flex: none; }
  .bn-side-ic svg { width: 19px; height: 19px; }
  .bn-side-row--kiko .bn-side-ic { color: var(--bn-kiko-ink, #7A5AF8); }
  /* no pages of one's own yet: one quiet row to the editor */
  .bn-side-row--add { color: var(--bn-faint); font-weight: 500; border: 1px dashed var(--bn-line); }
  .bn-side-row--add .bn-side-ic { color: var(--bn-faint); }
  .bn-side-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bn-side-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bn-fire); color: #fff;
    font-size: 11px; font-weight: 800; display: grid; place-items: center; }
  .bn-side-row[aria-current="page"] .bn-side-badge { background: #fff; color: var(--bn-fire); }
  .bn-side-alert { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; margin: 0 0 4px;
    background: var(--bn-fire-solid-strong); color: #fff; text-decoration: none; box-shadow: var(--bn-shadow-lift); }
  .bn-side-alert[aria-current="page"] { box-shadow: 0 0 0 2px var(--bn-ink), var(--bn-shadow-lift); }
  .bn-side-alert-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); flex: none; }
  .bn-side-alert-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
  .bn-side-alert-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bn-side-alert-text span { font-size: 12px; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bn-side-foot { border-top: 1px solid var(--bn-line); padding-top: 8px; margin-top: 8px; }
  .bn-side-tools { display: flex; gap: 6px; padding: 8px 4px 0; }
  .bn-side-tools .bn-chipbtn { flex: 1; min-width: 0; background: var(--bn-tile-2); box-shadow: none; }
  .bn-side-tools details { flex: 1; min-width: 0; }
  .bn-side-tools details > summary { width: 100%; }
  .bn-menu--up { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }

  /* the page next to the panel */
  /* only where the panel is drawn: the public pages (the landing, the
     price list) in the bento look have none and must not be pushed right */
  [data-design="bento"] body:has(.bn-side) { padding-left: var(--bn-side-w) !important; }
  .bn-topbar-in { max-width: 1320px; padding: 10px 28px; }
  .bn-topbar .bn-burger, .bn-topbar .bn-brand, .bn-topbar .bn-topbar-tools, .bn-topbar .rc-prof { display: none; }
  .bn-topbar { position: static; padding: 0; height: 0; overflow: hidden; }
  .bn-main { max-width: 1320px; padding: 24px 28px 48px; }
  .bn-tabbar, .bn-edge-tint { display: none !important; }
  [data-design="bento"] .rc-sheet.rc-drawer, [data-design="bento"] #rc-more-backdrop { display: none !important; }
  .bn-alertstrip { top: 10px; }
  /* the alert console and the maps breathe: a wider column than a reading page */
  .bn-medium { max-width: 1040px; }
}

/* ---- page head: on a phone the buttons go under the title, never over it (2026-10-24) ---- */
.bn-head { flex-wrap: wrap; }
.bn-head-text { flex: 1 1 240px; }
.bn-head > .bn-row-flex { flex: 0 1 auto; flex-wrap: wrap; }

/* ---- Záznamy + Štatistiky zboru (2026-10-24) ---- */
.rc-stats-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rc-stats-filter label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rc-stats-filter > span { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .rc-stats-filter { grid-template-columns: 170px 170px 1fr auto; align-items: end; }
  .rc-stats-filter > span { grid-column: auto; }
}
/* one page in three parts (2026-10-25): presets in one line with the Filter
   button, the form behind it, the segmented switch, compact numbers */
.rc-period { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.rc-presets { display: flex; gap: 6px; align-items: center; }
.rc-presets-scroll { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0; flex: 1 1 auto; min-width: 0; }
.rc-preset { height: 34px; width: auto; padding: 0 13px; border-radius: 17px; font-size: 12px; font-weight: 700; text-transform: uppercase;
             display: inline-flex; align-items: center; gap: 5px; text-decoration: none; flex: none; border: 0; cursor: pointer;
             font-family: inherit; background: var(--bn-tile); color: var(--bn-ink); box-shadow: var(--bn-shadow); }
.rc-preset svg { width: 15px; height: 15px; }
.rc-preset--on { background: var(--bn-fire); color: #fff; }
.rc-preset--filter { margin-left: auto; padding: 0 11px; }
.rc-preset--filter[aria-expanded="true"] { background: var(--bn-navy, #1f2937); color: #fff; }
.rc-stats-filter { padding: 12px; gap: 8px; }
.rc-stats-filter .bn-label { font-size: 11px; }
.rc-seg { margin-bottom: 4px; }
.rc-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.rc-seg-n { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 9px; background: var(--bn-tile-2); color: var(--bn-muted); }
.rc-seg button[data-active="1"] .rc-seg-n { background: var(--bn-fire); color: #fff; }
.rc-section { padding-top: 14px; }
.rc-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 4px; }
.rc-kpi { min-height: 78px; padding: 10px 12px; gap: 4px; }
.rc-kpi .bn-tiny { font-size: 11px; line-height: 1.2; }
.rc-kpi .bn-num { font-size: 24px; }
@media (min-width: 768px) {
  .rc-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .rc-kpi { min-height: 92px; }
  .rc-kpi .bn-num { font-size: 28px; }
}
.rc-two .bn-tile { min-width: 0; }
@media (max-width: 767px) { .rc-two > .bn-tile { grid-column: 1 / -1; } }
.rc-bars { display: flex; align-items: flex-end; gap: 6px; }
.rc-bars--tight { gap: 2px; }
.rc-bar-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; align-items: center;
              justify-content: flex-end; gap: 4px; }
.rc-bar-col > .bn-tiny { line-height: 1; white-space: nowrap; min-height: 10px; }
.rc-bar-lbl { font-size: 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rc-bar-lbl small { font-size: 9px; opacity: .8; }
.rc-bar { width: 100%; max-width: 40px; min-height: 2px; border-radius: 6px 6px 2px 2px; background: var(--bn-fire); }
.rc-bar--navy { background: #3B82F6; }
.rc-type { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; }
.rc-type-bar { grid-column: 1 / -1; height: 10px; border-radius: 5px; }
.rc-heat { display: grid; grid-template-columns: 28px repeat(24, minmax(0, 1fr)); gap: 3px; align-items: center; }
.rc-heat-h { text-align: center; font-size: 10px; }
.rc-heat-cell { position: relative; display: block; aspect-ratio: 1; min-height: 10px; border-radius: 3px; background: var(--bn-tile-2); }
.rc-heat-cell::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--bn-fire); opacity: var(--v, 0); }
.rc-r { text-align: right; }
.rc-table-dense th, .rc-table-dense td { padding: 8px 10px; font-size: 13px; }
.rc-table-dense td:first-child { white-space: nowrap; }
.rc-history td { vertical-align: middle; }
/* documents: a row per file, the buttons on the right */
.rc-docs { padding: 4px 12px; gap: 0; }
.rc-doc-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--bn-line); }
.rc-doc-row:last-child { border-bottom: 0; }
.rc-doc-row .bn-ic { width: 34px; height: 34px; border-radius: 11px; flex: none; }
.rc-doc-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rc-doc-title { font-size: 14px; font-weight: 700; }
.rc-doc-links { display: flex; align-items: center; gap: 6px; flex: none; }
.rc-doc-links .bn-btn--sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.rc-year { width: 84px; height: 34px; padding: 0 8px; border-radius: 11px; border: 1px solid var(--bn-line); background: var(--bn-tile-2); color: var(--bn-ink); font: inherit; font-size: 14px; }
@media (max-width: 480px) {
  .rc-doc-row { flex-wrap: wrap; }
  .rc-doc-row .bn-tiny { display: none; }
}

/* ---- adding a water source or an AED, the photo first (2026-10-25) ---- */
.rc-start { align-items: stretch; gap: 10px; padding: 22px 18px; }
.rc-start-ic { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 22px; display: grid; place-items: center; background: var(--bn-blue-tint); color: var(--bn-blue-ink); }
.rc-start-ic svg { width: 30px; height: 30px; }
.rc-start-ic--aed { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.rc-skip { align-self: center; margin-top: 6px; font-size: 12px; color: var(--bn-muted); text-decoration: underline; text-underline-offset: 3px; }
.rc-photo-prev { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--bn-tile); box-shadow: var(--bn-shadow); }
.rc-photo-prev img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex: none; background: var(--bn-tile-2); }
.rc-photo-prev--ai { background: var(--bn-kiko-tint); color: var(--bn-kiko-ink); box-shadow: none; }
.rc-photo-prev b svg { display: inline-block; vertical-align: -3px; margin-right: 2px; }
.rc-linkbtn { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: var(--bn-fire-ink); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---- the running alert on a computer (2026-10-24): two columns, the map stays ---- */
@media (min-width: 1100px) {
  .rc-alert-page { max-width: 1320px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
                   column-gap: 16px; row-gap: 0; align-items: start; grid-auto-flow: row dense; }
  .rc-alert-page > .bn-console, .rc-alert-page #rc-console-main { display: contents; }
  .rc-alert-page > *, .rc-alert-page .bn-console > *, .rc-alert-page #rc-console-main > * { grid-column: 2; margin-bottom: 10px; }
  .rc-alert-page > #navrat { grid-column: 1 / -1; }
  .rc-alert-page .bn-console-head { grid-column: 1; }
  .rc-alert-page .bn-seg { align-self: end; }
  .rc-alert-page #panel-map { grid-column: 1; grid-row: span 60; position: sticky !important; top: 12px; align-self: start; margin-bottom: 0; }
  /* the header above it and the two buttons under it stay on the screen */
  .rc-alert-page #panel-map .bn-consolemap { height: max(320px, calc(100dvh - 200px)); }
  .rc-alert-page #rc-route-warn { margin-top: 0 !important; }
  .rc-alert-page > form[action*="ukoncit"], .rc-alert-page > form[style*="margin-top"] { margin-top: 0 !important; }
}

/* ---- Členovia on a computer: the search and the three filters on one line (2026-10-24) ---- */
@media (min-width: 1100px) {
  #filter-form { grid-template-columns: 2fr 1fr 1fr 1fr !important; }
  #filter-form input[name="q"] { grid-column: auto !important; }
}

/* ---- layout review fixes (2026-10-25) ---- */

/* the incident chat as its own view (console.js: body.rc-chatview): the
   console header and the chat, nothing under the composer; console.js sizes
   the chat down to the floating bar. On a computer the map stays on the
   left, the chat takes the right column. */
body.rc-chatview .rc-alert-page > :not(.bn-console):not(#rc-nav-sheet):not(script):not(link):not(style) { display: none !important; }
body.rc-chatview .bn-main { padding-bottom: 0; }
body.rc-chatview .rc-alert-page .bn-seg { display: none; }
.bn-chat #chat-messages:empty::before {
  content: attr(data-empty); display: block; padding: 40px 12px; text-align: center;
  color: var(--bn-muted); font-size: 14px;
}

/* the console's flash ("Poplach vyhlásený…") floats instead of pushing the
   console down and letting it jump back up when it fades (2026-10-25) */
[data-design="bento"] .bn-main:has(.rc-alert-page) > div.space-y-2.mb-5:first-child {
  position: fixed; z-index: 55; top: calc(66px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))); left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 28px), 520px); margin: 0;
}
@media (min-width: 1100px) {
  [data-design="bento"] .bn-main:has(.rc-alert-page) > div.space-y-2.mb-5:first-child { top: 16px; left: calc(50% + var(--bn-side-w) / 2); }
}

/* a section head with a long description: the title above it, not beside */
.bn-section--stack { flex-direction: column; align-items: flex-start; gap: 4px; }

/* white text on a light alert-type colour (ink_on keeps white up to a
   mid-light orange): the ground is darkened to a lightness white reads on
   (≥ 4.5:1); darker colours are left as they are */
/* only where relative colour works: an older WebView (Android 14 and
   earlier phones) cannot compute it and would drop the background entirely,
   leaving white text on nothing - there the inline colour stays */
@supports (color: oklch(from red l c h)) {
  .bn-typebg[style*="color: #ffffff"] { background: oklch(from var(--bn-c) min(l, 0.54) c h) !important; }
  .bn-pick[style*="--bn-type-ink: #ffffff"]:has(input:checked) { background: oklch(from var(--bn-type-color) min(l, 0.54) c h); }
}
/* the small pills on a coloured tile: a darker glass, so white stays readable */
.bn-console-count { background: rgba(0, 0, 0, 0.24); }
.bn-pill--glass { background: rgba(0, 0, 0, 0.2); }
.bn-tile--navy .bn-pill--glass { background: rgba(255, 255, 255, 0.16); }

/* Nástenka's filter chips run edge to edge of the 14px page gutter */
[data-design="bento"] .bn-filter-line { margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }

/* a row that scrolls sideways fades where there is more (scroll_hint.js) */
[data-more-end]:not(.bn-table-wrap) {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}
[data-more-start]:not(.bn-table-wrap) {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px);
  mask-image: linear-gradient(to right, transparent, #000 40px);
}
[data-more-start][data-more-end]:not(.bn-table-wrap) {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
/* a wide table: a shadow on the edge that has more columns */
.bn-table-wrap { --bn-edge: rgba(16, 24, 40, 0.32); }
[data-theme="modern"] .bn-table-wrap { --bn-edge: rgba(0, 0, 0, 0.75); }
.bn-table-wrap[data-more-end] { box-shadow: inset -22px 0 18px -16px var(--bn-edge), var(--bn-shadow); }
.bn-table-wrap[data-more-start] { box-shadow: inset 22px 0 18px -16px var(--bn-edge), var(--bn-shadow); }
.bn-table-wrap[data-more-start][data-more-end] { box-shadow: inset -22px 0 18px -16px var(--bn-edge), inset 22px 0 18px -16px var(--bn-edge), var(--bn-shadow); }

/* a form table of numbers (Správa o zásahu): headers wrap instead of
   running into each other on a phone */
@media (max-width: 520px) {
  .bn-table[style*="table-layout: fixed"] th {
    white-space: normal; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto;
    padding: 8px 3px; font-size: 11px; line-height: 1.2; vertical-align: bottom;
  }
  .bn-table[style*="table-layout: fixed"] td:first-child { padding-left: 6px; padding-right: 2px; font-size: 12px; }
}

/* Členovia on a phone: the buttons on their own row under the person */
@media (max-width: 480px) {
  .rc-member-row { flex-wrap: wrap; }
  .rc-member-row > .bn-row-main { flex: 1 1 calc(100% - 56px); }
  .rc-member-row > .bn-row-end { flex: 1 1 100%; flex-direction: row !important; flex-wrap: wrap; align-items: center !important;
                                 justify-content: flex-end; }
}

/* the report: six numbers in three columns, two on a narrow phone; the
   members' table gives the name the room */
.rc-report-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 399px) { .rc-report-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rc-mcol { flex: none; width: 86px; text-align: right; }
.rc-mcol--km { width: 48px; }
@media (max-width: 480px) {
  .rc-report-members .bn-row { gap: 8px; padding-left: 12px; padding-right: 12px; }
  .rc-mcol { width: 56px; }
  .rc-mcol--km { width: 34px; }
  .rc-mname { white-space: normal; overflow-wrap: anywhere; }
}

/* Kiko on a phone: the composer stays above the floating bar while the
   conversation scrolls under it */
@media (max-width: 767px) {
  [data-design="bento"] #rc-ai { overflow: visible !important; }
  [data-design="bento"] #rc-ai > div:has(> #rc-ai-form) {
    position: sticky; bottom: calc(max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) + 76px); z-index: 3;
    background: var(--bn-tile); border-radius: 0 0 var(--bn-r-tile) var(--bn-r-tile);
  }
  body:has(.bn-tabbar.rc-bar-hidden) #rc-ai > div:has(> #rc-ai-form) { bottom: max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))); }
}

/* declare: the group choice stays on one line per option */
.bn-seg[role="radiogroup"] { grid-template-columns: none; } /* as many columns as options, not the console's three */
.bn-seg[role="radiogroup"] label { white-space: nowrap; overflow: hidden; font-size: 13px; padding: 4px 6px; }
/* the test-alarm switch reads as a checkbox, and as on when it is */
#bn-test-toggle svg { display: block; flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 2px; box-sizing: border-box;
                      border-radius: 6px; color: transparent; box-shadow: inset 0 0 0 2px var(--bn-faint); }
#bn-test-toggle:has(input:checked) { background: var(--bn-amber-tint); color: var(--bn-amber-ink); box-shadow: inset 0 0 0 2px var(--bn-amber-ink); }
#bn-test-toggle:has(input:checked) svg { background: var(--bn-amber-ink); color: var(--bn-amber-tint); box-shadow: none; }

/* "Upraviť posádku" and other small folds: no browser triangle */
[data-design="bento"] details > summary.bn-tiny { list-style: none; }
[data-design="bento"] details > summary.bn-tiny::-webkit-details-marker { display: none; }


/* the admin pages: the Kiko button must not sit on the last card */
[data-design="bento"] body.rc-admin main { padding-bottom: 150px; }

/* Pokročilá analýza poplachu (report): the AI's four lists as cards, the
   server-drawn charts (inline SVG - text and grid follow --bn-*), the AI
   illustration with its label always on it */
.rc-ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .rc-ai-grid { grid-template-columns: minmax(0, 1fr); } }
.rc-ai-card { gap: 6px; border-left: 4px solid var(--bn-line); }
.rc-ai-card--good { border-left-color: var(--bn-green); }
.rc-ai-card--warn { border-left-color: var(--bn-amber-ink); }
.rc-ai-card--info { border-left-color: var(--bn-blue-ink); }
.rc-ai-card--fire { border-left-color: var(--bn-fire); }
.rc-ai-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--bn-ink); }
.rc-ai-figure { gap: 8px; }
.rc-ai-chart-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rc-ai-chart-wrap svg { min-width: 480px; }
.rc-ai-illu { position: relative; display: block; }
.rc-ai-illu img { width: 100%; height: 110px; object-fit: cover; border-radius: 14px; display: block; }
.rc-ai-illu-label { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px;
                    background: var(--bn-navy); color: var(--bn-navy-ink); font-size: 11px; font-weight: 700; }

/* Záznamy · Poplachy on a phone: compact cards instead of the wide table
   that slid sideways (2026-10-25); the table stays from 760 px up */
.rc-hcards { display: none; flex-direction: column; gap: 10px; }
.rc-hcard { gap: 6px; padding: 14px 16px; }
.rc-hcard-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rc-hcard-title { font-weight: 800; color: inherit; text-decoration: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-hcard-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-hcard-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rc-hcard-btns .bn-btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 759px) {
  .rc-hcards { display: flex; }
  .rc-history { display: none; }
}

/* Pokročilý report a trackovanie (premium_service, 2026-10-25): a report the
   zbor has not paid for is greyed with a lock; a tap opens what it is, the
   free try and the way to buy (bento/_premium.html) */
.rc-premium-pop { position: relative; display: inline-block; }
.rc-premium-pop > summary { list-style: none; cursor: pointer; }
.rc-premium-pop > summary::-webkit-details-marker { display: none; }
.rc-premium-locked { opacity: 0.55; filter: grayscale(1); display: inline-flex; align-items: center; gap: 4px; }
.rc-premium-locked svg { width: 13px; height: 13px; }
.rc-premium-pop[open] > .rc-premium-locked { opacity: 0.85; }
.rc-premium-pop-body { position: absolute; z-index: 30; left: 50%; transform: translateX(-50%); top: calc(100% + 6px);
  width: min(280px, calc(100vw - 32px));
  gap: 8px; box-shadow: var(--bn-shadow-lift); text-align: left; white-space: normal; }
.rc-report-link { font-weight: 700; color: var(--bn-fire-ink); }
.rc-premium-tile { opacity: 0.8; }
.rc-premium-tile .bn-ic { filter: grayscale(1); }
/* the call-out recorded without Prémium (trip_service, owner 2026-11-15): a
   map that is only a blurred hint - roads and a route drawn by gradients, no
   real place - under "N členov, odomknite s Prémiom" */
.rc-locked-trip { position: relative; overflow: hidden; padding: 0; gap: 0; text-decoration: none; color: inherit; }
.rc-locked-trip-map { display: block; height: 110px; filter: blur(5px); transform: scale(1.08);
  background:
    linear-gradient(115deg, transparent 46%, var(--bn-fire) 47%, var(--bn-fire) 49%, transparent 50%),
    linear-gradient(25deg, transparent 58%, rgba(255, 255, 255, .9) 59%, rgba(255, 255, 255, .9) 62%, transparent 63%),
    linear-gradient(160deg, transparent 30%, rgba(255, 255, 255, .8) 31%, rgba(255, 255, 255, .8) 33%, transparent 34%),
    radial-gradient(circle at 30% 60%, #b9d7a8 0 18%, transparent 19%),
    radial-gradient(circle at 78% 30%, #a9c9e8 0 14%, transparent 15%),
    #e7e3d6; }
.rc-locked-trip-body { padding: 12px 14px 14px; }

/* Povolenia a upozornenia (2026-10-25): what is still off is red, what is on
   is green, so the page says by itself what is left to switch on */
.rc-perm { border-left: 5px solid transparent; transition: background-color .2s, border-color .2s; }
.rc-perm--off { background: var(--bn-fire-tint); border-left-color: var(--bn-fire); }
.rc-perm--off .bn-tile-title { color: var(--bn-fire-ink); }
.rc-perm--on { background: var(--bn-green-tint); border-left-color: var(--bn-green, #12B76A); }
.rc-perm--on .bn-tile-title { color: var(--bn-green-ink); }
.rc-perm .bn-muted, .rc-perm .bn-faint { color: inherit; opacity: 0.8; }
/* in the history table the Report link is in the last column: open leftwards */
.rc-history .rc-premium-pop-body { left: auto; right: 0; transform: none; }

/* The intro after signing in (onboarding/intro.html, 2026-10-25): one full
   screen at a time over everything else, the app's own tiles and buttons */
.rc-uvod { position: fixed; inset: 0; z-index: 2000; background: var(--bn-tile); color: var(--bn-ink); overflow-y: auto; text-align: left;
  padding: calc(14px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) max(18px, env(safe-area-inset-right, 0px))
           0 max(18px, env(safe-area-inset-left, 0px)); }
.rc-uvod-top { max-width: 520px; margin: 0 auto 6px; display: flex; align-items: center; gap: 10px; }
.rc-uvod-top .rc-uvod-bar { flex: 1; }
.rc-uvod-back { display: inline-flex; align-items: center; gap: 2px; border: 0; background: var(--bn-tile-2); color: var(--bn-ink);
  border-radius: 999px; padding: 6px 12px 6px 6px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; flex: none; }
.rc-uvod-back svg { width: 18px; height: 18px; }
.rc-uvod-back[hidden] { display: none; }
.rc-uvod-bar { height: 5px; border-radius: 5px; background: var(--bn-tile-2); overflow: hidden; }
.rc-uvod-bar span { display: block; height: 100%; width: 0; background: var(--bn-fire); border-radius: 5px; transition: width .3s; }
.rc-uvod-s { max-width: 520px; margin: 0 auto; min-height: calc(100% - 20px); display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.rc-uvod-s[data-tone="fire"] { --rc-t-bg: var(--bn-fire-tint); --rc-t-ink: var(--bn-fire-ink); }
.rc-uvod-s[data-tone="green"] { --rc-t-bg: var(--bn-green-tint); --rc-t-ink: var(--bn-green-ink); }
.rc-uvod-s[data-tone="blue"] { --rc-t-bg: var(--bn-blue-tint); --rc-t-ink: var(--bn-blue-ink); }
.rc-uvod-s[data-tone="amber"] { --rc-t-bg: var(--bn-amber-tint); --rc-t-ink: var(--bn-amber-ink); }
.rc-uvod-s[data-tone="kiko"] { --rc-t-bg: var(--bn-kiko-tint); --rc-t-ink: var(--bn-kiko-ink); }
.rc-uvod-s[data-tone="navy"] { --rc-t-bg: var(--bn-tile-2); --rc-t-ink: var(--bn-ink); }
.rc-uvod-art { flex: 1 1 auto; min-height: 150px; max-height: 300px; display: grid; place-items: center; position: relative; }
@media (max-height: 780px) {
  .rc-uvod-art { min-height: 110px; max-height: 150px; }
  .rc-uvod-art::before { width: 108px; height: 108px; }
  .rc-uvod-art::after { width: 80px; height: 80px; }
  .rc-uvod-glyph { width: 64px; height: 64px; border-radius: 20px; }
  .rc-uvod-glyph svg { width: 32px; height: 32px; }
  .rc-uvod-h { font-size: 24px; }
}
.rc-uvod-art::before, .rc-uvod-art::after { content: ""; position: absolute; border-radius: 50%; background: var(--rc-t-bg); }
.rc-uvod-art::before { width: 170px; height: 170px; opacity: .55; }
.rc-uvod-art::after { width: 118px; height: 118px; }
.rc-uvod-glyph { position: relative; z-index: 1; width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center;
  background: var(--bn-tile); color: var(--rc-t-ink); box-shadow: var(--bn-shadow-lift); }
.rc-uvod-glyph svg { width: 42px; height: 42px; }
.rc-uvod-eyebrow { margin: 0; font: 700 12px/1.2 'Figtree', system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--rc-t-ink);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rc-uvod-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--bn-amber-tint);
  color: var(--bn-amber-ink); letter-spacing: .02em; text-transform: none; font-size: 12px; }
.rc-uvod-badge svg { width: 13px; height: 13px; }
.rc-uvod-h { margin: 0; font: 700 28px/1.12 'Figtree', system-ui, sans-serif; letter-spacing: -0.01em; text-wrap: balance; }
.rc-uvod-p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--bn-muted); }
.rc-uvod-big { margin: 0; font: 700 20px/1.3 'Figtree', system-ui, sans-serif; color: var(--rc-t-ink); background: var(--rc-t-bg);
  border-radius: 18px; padding: 12px 14px; }
.rc-uvod-small { margin: 0; font-size: 13.5px; color: var(--bn-muted); }
.rc-uvod-num { color: var(--bn-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rc-uvod-warnbox { margin: 0; display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 16px;
  background: var(--bn-amber-tint); color: var(--bn-amber-ink); font-weight: 700; font-size: 14.5px; }
.rc-uvod-warnbox svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.rc-uvod-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rc-uvod-list li { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.rc-uvod-list svg { width: 18px; height: 18px; color: var(--bn-green-ink); flex: none; }
.rc-uvod-kinds { display: grid; gap: 8px; }
.rc-uvod-kind { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 16px; background: var(--bn-tile-2);
  cursor: pointer; border: 2px solid transparent; }
.rc-uvod-kind:has(input:checked) { border-color: var(--bn-fire); background: var(--bn-fire-tint); }
.rc-uvod-kind input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bn-fire); flex: none; }
.rc-uvod-kind span { display: grid; gap: 2px; }
.rc-uvod-kind small { color: var(--bn-muted); font-size: 13px; }
.rc-uvod-how { background: var(--bn-tile-2); border-radius: 16px; padding: 10px 14px; font-size: 14px; }
.rc-uvod-how summary { font-weight: 700; cursor: pointer; }
.rc-uvod-how ol { margin: 8px 0 2px; padding-left: 20px; color: var(--bn-muted); display: grid; gap: 4px; }
.rc-uvod-stores { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-uvod-stores a { display: inline-flex; gap: 6px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--bn-ink);
  color: var(--bn-tile); font-weight: 700; text-decoration: none; }
.rc-uvod-stores svg { width: 16px; height: 16px; }
.rc-uvod-search { position: relative; }
.rc-uvod-search input { width: 100%; box-sizing: border-box; min-height: 50px; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid var(--bn-line, #D0D5DD); background: var(--bn-tile); color: var(--bn-ink); font: inherit; font-size: 16px; }
.rc-uvod-hits { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); background: var(--bn-tile); border-radius: 14px;
  box-shadow: var(--bn-shadow-lift); padding: 6px; display: grid; gap: 2px; }
.rc-uvod-hits[hidden] { display: none; }
.rc-uvod-hits button { text-align: left; border: 0; background: none; padding: 10px; border-radius: 10px; font: inherit; color: inherit; cursor: pointer; }
.rc-uvod-hits button:hover { background: var(--bn-tile-2); }
.rc-uvod-hits p { margin: 0; padding: 10px; color: var(--bn-muted); font-size: 13px; }
.rc-uvod-map { width: 100%; flex: 1 1 260px; min-height: 260px; border-radius: 18px; overflow: hidden; background: var(--bn-tile-2); }
/* the buttons stay at the bottom of the screen however long the text: a
   short window or a big zoom never hides "Pokračovať" (2026-10-25) */
.rc-uvod-actions { display: grid; gap: 6px; margin-top: auto; position: sticky; bottom: 0; z-index: 3;
  padding: 14px 0 calc(4px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px)));
  background: linear-gradient(to bottom, transparent, var(--bn-tile) 14px); }
.rc-uvod-primary, .rc-uvod-yellow { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border: 0;
  border-radius: 18px; padding: 10px 16px; font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; cursor: pointer;
  text-decoration: none; text-align: center; }
.rc-uvod-primary { background: var(--bn-fire); color: #fff; }
.rc-uvod-primary:hover { background: var(--bn-fire-hover); }
.rc-uvod-primary:disabled { opacity: .45; cursor: default; }
.rc-uvod-primary.is-done { background: var(--bn-green); }
.rc-uvod-yellow { background: #FDB022; color: #3D2E14; }
.rc-uvod-yellow svg, .rc-uvod-primary svg { width: 20px; height: 20px; }
.rc-uvod-skip { border: 0; background: none; color: var(--bn-muted); text-decoration: underline; font-size: 14px; padding: 10px; cursor: pointer; }
.rc-uvod-skip[hidden] { display: none; }
.rc-uvod-sheet { position: fixed; inset: 0; z-index: 2010; background: rgba(9, 11, 15, .55); display: flex; align-items: flex-end; justify-content: center;
  padding: 12px max(12px, env(safe-area-inset-right, 0px)) calc(12px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) max(12px, env(safe-area-inset-left, 0px)); }
.rc-uvod-sheet[hidden] { display: none; }
.rc-uvod-sheet-card { width: 100%; max-width: 480px; background: var(--bn-tile); border-radius: 28px; padding: 22px 18px 14px; display: grid; gap: 10px;
  text-align: center; justify-items: center; box-sizing: border-box; }
.rc-uvod-sheet-card .rc-uvod-primary { width: 100%; }
.rc-uvod-sheet-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.rc-uvod-sheet-card h2 { margin: 0; font: 700 21px/1.2 'Figtree', system-ui, sans-serif; }
.rc-uvod-sheet-card p { margin: 0; color: var(--bn-muted); font-size: 15px; }
.rc-uvod-s[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .rc-uvod-bar span { transition: none; } }
/* a full-screen step (base.html rc_step: /uvod, /podmienky, the first-run
   guide, 2026-11-09): no top or bottom bar around it, the page ground is the
   step's own (the status bar takes it through theme-color), no rubber band
   showing another colour, the screen scrolls inside and the buttons stay */
[data-design="bento"] body.rc-step-page { background: var(--bn-tile); }
[data-design="bento"]:has(body.rc-step-page) { background: var(--bn-tile); overscroll-behavior: none; }
.rc-step-page main { view-transition-name: none; }
.rc-uvod { height: 100vh; height: 100dvh; box-sizing: border-box; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
/* the kind picker (four choices and a sentence): the picture gives way first */
.rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-art { min-height: 0; max-height: none; flex: 0 0 140px; }
.rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-art::before { width: 136px; height: 136px; }
.rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-art::after { width: 98px; height: 98px; }
.rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-glyph { width: 68px; height: 68px; border-radius: 22px; }
.rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-glyph svg { width: 34px; height: 34px; }
@media (max-height: 780px) {
  .rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-art { min-height: 0; max-height: 84px; flex: 0 0 84px; }
  .rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-art::before { width: 84px; height: 84px; }
  .rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-art::after { width: 64px; height: 64px; }
  .rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-glyph { width: 48px; height: 48px; border-radius: 16px; }
  .rc-uvod-s:has(.rc-uvod-kinds) .rc-uvod-glyph svg { width: 26px; height: 26px; }
  .rc-uvod-s { gap: 10px; }
  .rc-uvod-kind { padding: 10px 12px; }
}
/* a step that is a page of its own (/podmienky, the first-run guide): the
   text scrolls, the buttons sit in a footer above the home indicator */
.rc-uvod-page { display: flex; flex-direction: column; }
.rc-uvod-page > .rc-uvod-s { min-height: 0; flex: 1 0 auto; }
.rc-uvod-page .rc-uvod-art { flex: 0 0 120px; min-height: 0; max-height: none; }
.rc-uvod-page .rc-uvod-art::before { width: 116px; height: 116px; }
.rc-uvod-page .rc-uvod-art::after { width: 84px; height: 84px; }
.rc-uvod-page .rc-uvod-glyph { width: 60px; height: 60px; border-radius: 20px; }
.rc-uvod-page .rc-uvod-glyph svg { width: 30px; height: 30px; }
.rc-uvod-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rc-uvod-links a { color: var(--bn-fire-ink); font-weight: 700; text-decoration: underline; }
.rc-uvod-plain { list-style: disc; margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--bn-muted); font-size: 15px; line-height: 1.45; }
.rc-uvod-line { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 18px; padding: 10px 16px;
  background: var(--bn-tile-2); color: var(--bn-ink); border: 0; font: inherit; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; text-align: center; }
.rc-uvod-actions form { display: contents; }
.rc-uvod-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.rc-uvod-row > .rc-uvod-primary { flex: 1; }
.rc-uvod-row > .rc-uvod-line { flex: none; }

/* Povolenia a upozornenia behind one button on Moje konto (2026-10-25) */
.rc-perm-wrap > summary { list-style: none; cursor: pointer; }
.rc-perm-wrap > summary::-webkit-details-marker { display: none; }
.rc-perm-chev { display: inline-flex; transition: transform .2s; }
.rc-perm-wrap[open] .rc-perm-chev { transform: rotate(180deg); }

/* ---------------------------------------------- one person, several zbory (0126) */
/* the arrow by the zbor's name: the person's other zbory and invitations */
.rc-prof { flex: none; }
.rc-prof-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-left: -4px; border-radius: 10px; cursor: pointer;
  color: var(--bn-ink); background: var(--bn-tile-2);
}
.rc-prof-btn svg { width: 18px; height: 18px; }
.rc-prof[open] .rc-prof-btn svg { transform: rotate(180deg); }
.rc-prof-dot {
  position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--bn-fire); box-shadow: 0 0 0 2px var(--bn-tile);
}
.rc-prof-menu { left: 0; right: auto; min-width: 240px; max-width: min(320px, calc(100vw - 32px)); gap: 2px; }
/* on a phone the arrow sits mid-bar and a menu opened from it ran off the
   right edge (2026-11-07): there it hangs from the whole top bar instead,
   one gutter in from both sides */
@media (max-width: 640px) {
  .bn-topbar .rc-prof { position: static; }
  .bn-topbar .rc-prof-menu { left: 14px; right: 14px; top: calc(100% - 2px); min-width: 0; max-width: none; }
}
.rc-prof-head {
  padding: 8px 10px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bn-muted);
}
.rc-prof-menu form { margin: 0; }
.rc-prof-row {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0;
  border-radius: 12px; background: none; color: var(--bn-ink); font: inherit; text-align: left; cursor: pointer;
}
button.rc-prof-row:hover { background: var(--bn-tile-2); }
.rc-prof-row small { color: var(--bn-muted); font-size: 12px; }
.rc-prof-row svg { width: 16px; height: 16px; margin-left: auto; color: #12B76A; }
.rc-prof-row.is-current { font-weight: 700; }
.rc-prof-row.is-wait { color: var(--bn-muted); }
.rc-prof-sep { display: block; height: 1px; margin: 4px 6px; background: var(--bn-line); }
.rc-prof-link { text-decoration: none; color: inherit; }
.rc-prof-link:hover { background: var(--bn-tile-2); }
.rc-prof-link svg { margin-left: 0; color: var(--bn-muted); }
.rc-prof-name { font-weight: 600; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-prof-invite { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-radius: 12px; background: var(--bn-tile-2); }
.rc-prof-actions { display: flex; gap: 6px; }
/* in the side panel the arrow sits by the brand, top right */
.bn-side > .rc-prof { position: absolute; top: 20px; right: 12px; }
.bn-side > .rc-prof .rc-prof-menu { left: auto; right: 0; }

/* ------------------------------------------------------------- Hlásenie: the recorder
   (bento/_voice_record.html, js/voice_record.js, redesign 2026-11-08): the
   two-way choice on top, the state line, the saved tiles, the big round
   button with the timer and the level bars, and the compact player */
.rc-voice { gap: 10px; }
.rc-voice-mode label { gap: 6px; white-space: normal; line-height: 1.15; font-size: 13px; padding: 6px 8px; }
.rc-voice-mode label svg { width: 16px; height: 16px; flex: none; }
.rc-voice-mode label:has(input:checked) { color: var(--bn-fire-ink); }
.rc-voice-state { margin: 0; font-size: 13px; line-height: 1.35; color: var(--bn-muted); display: flex; gap: 6px; align-items: flex-start; }
.rc-voice-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--bn-muted); flex: none; margin-top: 5px; opacity: .6; }
.rc-voice-state.is-set { color: var(--bn-green-ink); font-weight: 700; }
.rc-voice-state.is-set::before { background: var(--bn-green); opacity: 1; }
.rc-voice-panel { display: flex; flex-direction: column; gap: 8px; }
.rc-voice-panel[hidden] { display: none; }
.rc-voice-picks { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-voice-picks .bn-pick { position: relative; --bn-type-color: var(--bn-fire); --bn-type-ink: #fff; --bn-type-tint: var(--bn-fire-tint); flex: 0 1 auto; min-height: 0; padding: 7px 34px 7px 10px; flex-direction: row; align-items: center; gap: 6px; background: transparent; border-color: var(--bn-line); }
.rc-voice-picks .bn-pick:has(input:checked) { background: var(--bn-fire); color: #fff; border-color: var(--bn-fire); box-shadow: 0 6px 16px -8px var(--bn-fire); }
.rc-voice-picks .bn-pick:has(input:checked) .rc-voice-play { color: #fff; }
.rc-voice-picks .bn-pick-ic { width: 22px; height: 22px; border-radius: 7px; }
.rc-voice-picks .bn-pick-ic svg { width: 13px; height: 13px; }
.rc-voice-picks .bn-pick-name { font-size: 13px; }
.rc-voice-play { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; }
/* the recorder: the button, then the bars with the timer and the hint beside it */
.rc-rec { display: flex; align-items: center; gap: 14px; padding: 4px 0; }
.rc-rec[hidden], .rc-rec.hidden { display: none; }
.rc-rec-btn {
  position: relative; width: 64px; height: 64px; border-radius: 50%; border: 0; flex-shrink: 0;
  background: var(--bn-fire); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 8px 20px rgba(180, 35, 24, 0.35); transition: transform .12s ease;
}
.rc-rec-btn:active { transform: scale(.96); }
.rc-rec-btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.rc-rec-btn svg { width: 28px; height: 28px; }
.rc-rec-btn .rc-rec-dot { display: none; }
.rc-rec.is-recording .rc-rec-btn { background: var(--bn-tile); color: var(--bn-fire); border: 2px solid var(--bn-fire); }
.rc-rec.is-recording .rc-rec-btn svg { display: none; }
.rc-rec.is-recording .rc-rec-dot { display: block; width: 24px; height: 24px; border-radius: 6px; background: var(--bn-fire); }
.rc-rec.is-recording .rc-rec-btn::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--bn-fire);
  animation: rc-rec-ring 1.2s ease-out infinite;
}
@keyframes rc-rec-ring { from { transform: scale(.9); opacity: .8; } to { transform: scale(1.4); opacity: 0; } }
.rc-rec-side { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.rc-rec-bars { display: flex; align-items: center; gap: 3px; height: 26px; }
.rc-rec-bars i { display: block; flex: 1; height: 100%; max-width: 6px; border-radius: 3px; background: var(--bn-fire); opacity: .25; transform: scaleY(.12); transform-origin: center; transition: transform .08s linear; }
.rc-rec.is-recording .rc-rec-bars i { opacity: .9; }
.rc-rec-time { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 22px; line-height: 1.1; color: var(--bn-ink); }
.rc-rec.is-recording .rc-rec-time { color: var(--bn-fire-ink); }
.rc-rec-status { font-weight: 600; font-size: 13px; color: var(--bn-muted); }
.rc-rec.is-recording .rc-rec-status { color: var(--bn-fire-ink); font-weight: 700; }
/* after the take: our own player, then Nahrať znova / Použiť v poplachu */
.rc-rec-review { display: flex; flex-direction: column; gap: 10px; }
.rc-rec-review.hidden { display: none; }
.rc-player { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 8px; border-radius: 16px; background: var(--bn-tile-2); }
.rc-player-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; flex: none; background: var(--bn-fire); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rc-player-btn svg { width: 20px; height: 20px; }
.rc-player-btn span { display: inline-flex; }
.rc-player-btn span[hidden] { display: none; }
.rc-player-range { flex: 1; min-width: 0; accent-color: var(--bn-fire); height: 28px; margin: 0; cursor: pointer; }
.rc-player-time { font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 700; color: var(--bn-muted); flex: none; }
.rc-rec-review .bn-btn.is-done { background: var(--bn-green); border-color: var(--bn-green); color: #fff; cursor: default; }
.rc-rec-review .bn-btn.is-done:disabled { opacity: 1; }


/* Pomoc k stránke (bento/_page_help.html): a slim tab on the right edge,
   below the middle so it clears the header and the floating bar; the hit
   area is wider than the 7px that shows. Kiko's violet: help, not alarm. */
.rc-help-tab { position: fixed; right: 0; top: 58%; transform: translateY(-50%); z-index: 44;
               width: 22px; height: 68px; padding: 0; border: 0; background: transparent; cursor: pointer;
               display: flex; align-items: center; justify-content: flex-end; -webkit-tap-highlight-color: transparent; }
.rc-help-tab span { display: block; width: 7px; height: 52px; border-radius: 7px 0 0 7px; background: var(--bn-kiko-ink);
                    box-shadow: 0 0 0 1.5px var(--bn-tile), -2px 2px 8px rgba(16, 24, 40, .22); transition: width .15s ease; }
.rc-help-tab:hover span, .rc-help-tab:focus-visible span { width: 11px; }
.rc-help-tab:focus-visible { outline: none; }
.rc-help-tab:focus-visible span { box-shadow: 0 0 0 2px var(--bn-tile), 0 0 0 4px var(--bn-kiko-ink); }
/* the peek (js/help_peek.js): now and then a pill with Kiko's sparkle slides
   out of the tab for a second; transform + opacity only */
.rc-help-peek { position: absolute; right: 0; top: 50%; width: 34px; height: 44px; margin-top: -22px;
                display: flex; align-items: center; justify-content: center; border-radius: 12px 0 0 12px;
                background: var(--bn-kiko-ink); color: #fff; pointer-events: none;
                box-shadow: 0 0 0 1.5px var(--bn-tile), -2px 2px 10px rgba(16, 24, 40, .25);
                transform: translateX(100%); opacity: 0; will-change: transform, opacity;
                transition: transform .25s ease, opacity .25s ease; }
.rc-help-peek svg { display: block; }
.rc-help-tab.rc-peeking .rc-help-peek { transform: translateX(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .rc-help-peek { display: none; } }
.rc-help-backdrop { position: fixed; inset: 0; z-index: 1990; background: rgba(9, 11, 15, .45); opacity: 0; transition: opacity .2s ease; }
.rc-help-backdrop.rc-open { opacity: 1; }
.rc-help-backdrop[hidden], .rc-help-sheet[hidden] { display: none; }
.rc-help-sheet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1991; width: min(400px, 92vw); overflow-y: auto;
                 overscroll-behavior: contain;
                 background: var(--bn-tile); color: var(--bn-ink); box-shadow: var(--bn-shadow-lift);
                 border-radius: 24px 0 0 24px; display: flex; flex-direction: column; gap: 10px;
                 padding: calc(18px + var(--safe-area-inset-top, env(safe-area-inset-top, 0px))) calc(20px + env(safe-area-inset-right, 0px))
                          calc(20px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) 20px;
                 transform: translateX(104%); transition: transform .22s cubic-bezier(.2, .8, .2, 1); outline: none; }
.rc-help-sheet.rc-open { transform: none; }
/* a long help scrolls; nothing in it may be squeezed to fit */
.rc-help-sheet > * { flex-shrink: 0; }
.rc-help-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc-help-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bn-kiko-ink); }
.rc-help-x { width: 44px; height: 44px; margin: -8px -10px -8px 0; border: 0; border-radius: 50%; background: transparent;
             color: var(--bn-muted); display: grid; place-items: center; cursor: pointer; }
.rc-help-x:hover { background: var(--bn-tile-2); }
.rc-help-x svg { width: 22px; height: 22px; }
.rc-help-title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--bn-ink); }
.rc-help-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--bn-muted); }
/* sections (2026-11-14): a small heading over a grouped list in the iOS
   Settings style - an icon chip per point, or numbered steps for a sequence */
.rc-help-sec { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; }
.rc-help-sub { margin: 0 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
               color: var(--bn-muted); }
.rc-help-list { margin: 0; padding: 0; list-style: none; border-radius: 16px; background: var(--bn-tile-2); overflow: hidden; }
.rc-help-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px 11px 12px;
                   font-size: 14.5px; line-height: 1.45; color: var(--bn-ink); }
.rc-help-list li + li { position: relative; }
.rc-help-list li + li::before { content: ""; position: absolute; top: 0; left: 54px; right: 0; height: 1px; background: var(--bn-line); }
.rc-help-list li > span:last-child { padding-top: 4px; min-width: 0; overflow-wrap: anywhere; }
.rc-help-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
              background: var(--bn-kiko-tint); color: var(--bn-kiko-ink); }
.rc-help-ic svg { width: 17px; height: 17px; }
.rc-help-n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
             font-size: 14px; font-weight: 800; background: var(--bn-kiko-ink); color: var(--bn-tile); }
.rc-help-actions { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.rc-help-guide, .rc-help-kiko { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 14px;
                                font-weight: 800; font-size: 15px; text-decoration: none; }
.rc-help-guide { box-shadow: inset 0 0 0 1.5px var(--bn-line); color: var(--bn-ink); }
.rc-help-guide span { flex: 1; }
.rc-help-kiko { justify-content: center; background: var(--bn-kiko-ink); color: var(--bn-tile); }
.rc-help-guide svg, .rc-help-kiko svg { width: 18px; height: 18px; flex: none; }
@media print { .rc-help-tab { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .rc-help-sheet, .rc-help-backdrop, .rc-help-tab span { transition: none; }
}

/* ---- Figtree (2026-11-08): headings heavy and a touch tight, body 400/500 ---- */
.bn-h1, .bn-tile-big, .bn-num, .bn-date span, .bn-console-title, .rc-help-title,
.rc-uvod-h, .rc-uvod-sheet-card h2, [data-design="bento"] .rc-admin main h1 {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.bn-h2 { letter-spacing: -0.01em; }
/* Prehľad: "Upraviť" stays beside "Ahoj, …" on a phone instead of dropping
   under it; a long name wraps inside its own column */
.bn-head:has(> .bn-dash-editbtn) { flex-wrap: nowrap; }
.bn-head:has(> .bn-dash-editbtn) > .bn-head-text { flex: 1 1 0; }
.bn-head-text .bn-h1 { overflow-wrap: anywhere; }
.bn-dash-editbtn { flex: none; white-space: nowrap; }

/* --- Doplnenie odpovede (0170): the second step under IDEM / NEIDEM ------- */
.rc-detail { gap: 10px; }
.rc-detail--onalarm { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,0.14); }
.rc-detail-head { display: flex; flex-direction: column; gap: 2px; }
.rc-detail-group { display: flex; flex-direction: column; gap: 6px; }
.rc-detail-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.rc-detail-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* the member's console (2026-11-27): softly marked, folds once answered */
.rc-detail--fold { display: block; box-shadow: inset 0 0 0 1.5px var(--bn-blue-ink); background: var(--bn-blue-tint); color: var(--bn-ink); }
.rc-detail--fold[open] > * + * { margin-top: 10px; }
.rc-detail--fold > summary { list-style: none; cursor: pointer; position: relative; padding-right: 28px; }
.rc-detail--fold > summary::-webkit-details-marker { display: none; }
.rc-detail--fold > summary::after { content: ""; position: absolute; right: 4px; top: 6px; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .7; }
.rc-detail--fold[open] > summary::after { transform: rotate(-135deg); top: 10px; }
.rc-detail--fold .rc-detail-head .bn-small { color: var(--bn-blue-ink); }
.rc-detail-chosen { font-weight: 700; }
.rc-detail--fold[open] .rc-detail-chosen { display: none; }
.rc-chip {
  min-height: 40px; padding: 0 12px; border-radius: 14px; border: 0;
  background: var(--bn-tile-2); color: var(--bn-ink);
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left;
}
.rc-chip svg { width: 16px; height: 16px; flex: none; }
.rc-chip[aria-pressed="true"] { background: var(--bn-navy); color: var(--bn-navy-ink); }
.rc-chip--coming[aria-pressed="true"] { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.rc-chip--not_coming[aria-pressed="true"] { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.rc-chip:focus-visible { outline: 2px solid var(--bn-focus); }
.rc-chip:disabled { opacity: .6; }
.rc-detail--onalarm .rc-chip { background: rgba(255,255,255,0.18); color: inherit; }
.rc-detail--onalarm .rc-chip[aria-pressed="true"] { background: #fff; color: #111; }
/* the console row: where they head, the role, the vehicle, the option */
.rc-row-detail:empty { display: none; }
/* Obsadenie vozidiel + the crew strip on the console */
.rc-seats { display: flex; flex-direction: column; gap: 6px; }
.rc-seats-row { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.rc-seats-row .bn-pill--warn { margin-left: auto; }

/* ---- Vyplniť z nahrávky (bento/_recording_fill.html, js/recording_fill.js) ----
   A field the recording filled: a green edge and the words it came from
   under it; an unsure one amber. Gone from the edge once the commander
   edits the field. */
.rc-rf-filled { outline: 2px solid var(--bn-green-ink); outline-offset: 2px; }
.rc-rf-filled.rc-rf-low { outline-color: var(--bn-amber-ink); }
/* the form's own input rule is very specific (bento .bn-form input:not(...)) */
[data-design="bento"] .bn-form :is(input, textarea, select).rc-rf-filled {
  outline: none; border-color: var(--bn-green-ink) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bn-green-ink) 25%, transparent) !important; }
[data-design="bento"] .bn-form :is(input, textarea, select).rc-rf-filled.rc-rf-low {
  border-color: var(--bn-amber-ink) !important; background: var(--bn-amber-tint) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bn-amber-ink) 25%, transparent) !important; }
.rc-rf-quote { margin: 4px 0 0 4px; font-size: 12px; color: var(--bn-muted); font-style: italic; }
.rc-rf-quote b { font-style: normal; color: var(--bn-green-ink); }
.rc-rf-quote.rc-rf-low b { color: var(--bn-amber-ink); }
.rc-rf-status { font-weight: 700; color: var(--bn-ink); }
.rc-rf-status[data-kind="error"] { color: var(--bn-fire-ink); }
.rc-rf-status[data-kind="done"] { color: var(--bn-green-ink); }
.rc-rf-status[data-kind="busy"]::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px;
  vertical-align: -1px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: rc-rf-spin 0.8s linear infinite; }
@keyframes rc-rf-spin { to { transform: rotate(360deg); } }
.rc-rf-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--bn-fire); animation: rc-rf-blink 1s ease-in-out infinite; }
@keyframes rc-rf-blink { 50% { opacity: 0.25; } }
.rc-rf-chip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 14px;
  background: var(--bn-tile-2); color: var(--bn-ink); font-size: 13px; line-height: 1.3; }
.rc-rf-chip--hazmat { background: var(--bn-amber-tint); color: var(--bn-amber-ink); font-weight: 700; }
.rc-rf-chip button { font: inherit; font-weight: 700; color: var(--bn-blue-ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .rc-rf-dot, .rc-rf-status[data-kind="busy"]::before { animation: none; } }

/* Vlastné možnosti odpovede: meaning as three cards + live preview (2026-11-09) */
.rc-kind-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rc-kind-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border-radius: var(--bn-r-inner); border: 1.5px solid var(--bn-line);
  background: var(--bn-tile); text-align: center; cursor: pointer;
  font-size: 13px; font-weight: 700; line-height: 1.2; color: var(--bn-muted);
  transition: border-color .12s ease, background .12s ease, color .12s ease, transform .08s ease;
}
.rc-kind-card:active { transform: scale(.97); }
.rc-kind-card input { position: absolute; opacity: 0; pointer-events: none; }
.rc-kind-ic { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--bn-soft, color-mix(in srgb, var(--bn-ink) 6%, transparent)); }
.rc-kind-ic svg { width: 20px; height: 20px; }
.rc-kind-card--green:has(input:checked) { border-color: var(--bn-green-ink); color: var(--bn-ink);
  background: color-mix(in srgb, var(--bn-green-ink) 10%, var(--bn-tile)); }
.rc-kind-card--green:has(input:checked) .rc-kind-ic { color: var(--bn-green-ink); background: color-mix(in srgb, var(--bn-green-ink) 18%, transparent); }
.rc-kind-card--fire:has(input:checked) { border-color: var(--bn-fire-ink); color: var(--bn-ink);
  background: color-mix(in srgb, var(--bn-fire-ink) 10%, var(--bn-tile)); }
.rc-kind-card--fire:has(input:checked) .rc-kind-ic { color: var(--bn-fire-ink); background: color-mix(in srgb, var(--bn-fire-ink) 18%, transparent); }
.rc-kind-card--muted:has(input:checked) { border-color: var(--bn-ink); color: var(--bn-ink); }
.rc-kind-card:has(input:focus-visible) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--bn-focus) 30%, transparent); }
.rc-opt-preview { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rc-opt-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1.5px solid var(--bn-line); color: var(--bn-ink); max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-opt-chip[data-kind="coming"] { border-color: var(--bn-green-ink); color: var(--bn-green-ink); }
.rc-opt-chip[data-kind="not_coming"] { border-color: var(--bn-fire-ink); color: var(--bn-fire-ink); }
.rc-opt-chip.is-placeholder { opacity: .55; font-style: italic; }

/* --------------------------- Aplikácia a funkcie (/velitel/zariadenia) */
/* 2026-11-09: Pokrytie zboru ring + legend, feature bars, member rows with
   feature dots and the filter chips (bento/commander/devices.html). */
.rc-dv-hero, .rc-dv-feats { --rc-dv-ios: #2D6CDF; --rc-dv-android: #12B76A; --rc-dv-web: #7A5AF8; --rc-dv-none: #F79009; }
[data-design="bento"][data-theme="modern"] .rc-dv-hero,
[data-design="bento"][data-theme="modern"] .rc-dv-feats { --rc-dv-ios: #6E9BFF; --rc-dv-android: #32D583; --rc-dv-web: #9B8AFB; --rc-dv-none: #FDB022; }
.rc-dv-hero { gap: 14px; }
.rc-dv-hero-top { display: flex; align-items: center; gap: 16px; }
.rc-dv-ring { width: 112px; height: 112px; flex: none; transform: rotate(-90deg); }
.rc-dv-ring circle { fill: none; stroke-width: 11; }
.rc-dv-ring-bg { stroke: var(--bn-tile-2); }
.rc-dv-seg { stroke-linecap: butt; }
.rc-dv-ring text { transform: rotate(90deg); transform-origin: 50px 50px; text-anchor: middle; fill: var(--bn-ink); }
.rc-dv-ring-num { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rc-dv-ring-of { font-size: 13px; font-weight: 700; fill: var(--bn-muted); }
.rc-dv-ring-cap { font-size: 9.5px; font-weight: 600; fill: var(--bn-muted) !important; }
.rc-dv-c-ios { stroke: var(--rc-dv-ios); background: var(--rc-dv-ios); }
.rc-dv-c-android { stroke: var(--rc-dv-android); background: var(--rc-dv-android); }
.rc-dv-c-web { stroke: var(--rc-dv-web); background: var(--rc-dv-web); }
.rc-dv-c-none { stroke: var(--rc-dv-none); background: var(--rc-dv-none); }
.rc-dv-hero-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rc-dv-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 280px; }
.rc-dv-nw { white-space: nowrap; }
.rc-dv-legend li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--bn-ink); }
.rc-dv-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.rc-dv-legend b { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 15px; }
.rc-dv-legend-none b { color: var(--bn-amber-ink); }
.rc-dv-act { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; padding: 12px 14px;
  border-radius: var(--bn-r-inner); background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.rc-dv-act-num { font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.rc-dv-act-txt { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.35; }
.rc-dv-act-txt b { font-size: 15px; }
.rc-dv-act-btn { flex: 1 1 100%; margin: 0; }
.rc-dv-act-btn .bn-btn { width: 100%; }
.rc-dv-act-note { flex: 1 1 100%; opacity: .85; }
@media (min-width: 520px) {
  .rc-dv-act-btn, .rc-dv-act-note { flex: 0 0 auto; }
  .rc-dv-act-btn .bn-btn { width: auto; }
}
.rc-dv-feats { gap: 14px; }
.rc-dv-feat { display: flex; align-items: center; gap: 12px; }
.rc-dv-feat-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: inline-flex; align-items: center;
  justify-content: center; background: var(--bn-blue-tint); color: var(--bn-blue-ink); }
.rc-dv-feat-ic svg { width: 18px; height: 18px; }
.rc-dv-feat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rc-dv-feat-line { display: flex; align-items: baseline; gap: 8px; }
.rc-dv-feat-label { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-dv-feat-n { flex: none; font-size: 13px; color: var(--bn-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-dv-feat-n b { font-size: 15px; color: var(--bn-ink); }
.rc-dv-feat-bar { display: block; height: 6px; border-radius: 3px; background: var(--bn-tile-2); overflow: hidden; }
.rc-dv-feat-bar > span { display: block; height: 100%; border-radius: 3px; background: var(--bn-blue-ink); min-width: 0; }
.rc-dv-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.rc-dv-chips::-webkit-scrollbar { display: none; }
.rc-dv-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 17px;
  border: 0; background: var(--bn-tile); color: var(--bn-ink); box-shadow: var(--bn-shadow); font: inherit; font-size: 13px;
  font-weight: 700; cursor: pointer; white-space: nowrap; }
.rc-dv-chip b { min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 11px; background: var(--bn-tile-2); color: var(--bn-muted); }
.rc-dv-chip[aria-pressed="true"] { background: var(--bn-ink); color: var(--bn-tile); }
.rc-dv-chip[aria-pressed="true"] b { background: color-mix(in srgb, var(--bn-tile) 22%, transparent); color: var(--bn-tile); }
.rc-dv-chip:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
.rc-dv-row { align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
.rc-dv-row[hidden], .rc-dv-empty[hidden] { display: none; }
.rc-dv-row--off { opacity: .55; }
.rc-dv-row--noapp { box-shadow: inset 3px 0 0 var(--bn-amber-ink); }
.rc-dv-main { gap: 6px; }
.rc-dv-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.rc-dv-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11px;
  font-weight: 700; background: var(--bn-amber-tint); color: var(--bn-amber-ink); white-space: nowrap; }
.rc-dv-plat { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; font-size: 13px; font-weight: 600; color: var(--bn-muted); }
.rc-dv-plat svg { width: 14px; height: 14px; }
.rc-dv-ver { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 6px; background: var(--bn-tile-2);
  color: var(--bn-muted); font-variant-numeric: tabular-nums; }
.rc-dv-plat-none { display: inline-flex; align-items: center; gap: 5px; color: var(--bn-amber-ink); font-weight: 700; }
.rc-dv-dots { display: flex; gap: 6px; }
.rc-dv-dot { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rc-dv-dot svg { width: 14px; height: 14px; }
.rc-dv-dot--on { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.rc-dv-dot--warn { background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.rc-dv-dot--off { background: var(--bn-tile-2); color: var(--bn-faint); opacity: .7; }
.rc-dv-call { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.rc-dv-call .rc-acall { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.rc-dv-call .bn-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.rc-dv-seen { font-size: 12px; line-height: 1.4; color: var(--bn-muted); }
.rc-dv-info { border-radius: var(--bn-r-inner); background: var(--bn-tile); box-shadow: var(--bn-shadow); }
.rc-dv-info summary { display: flex; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--bn-muted); }
.rc-dv-info summary::-webkit-details-marker { display: none; }
.rc-dv-info-i { width: 22px; height: 22px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bn-blue-tint); color: var(--bn-blue-ink); font: 800 13px/1 Georgia, 'Times New Roman', serif; font-style: italic; }
.rc-dv-info p { margin: 0; padding: 0 14px 12px 46px; font-size: 13px; line-height: 1.5; color: var(--bn-muted); }

/* ---- the map's tapped-point card (2026-11-09, bento/water/_pick.html) -----
   A bottom sheet inside the map stage on a phone, a floating card bottom-left
   on a computer. Kind icon + kind + title in the head, pills (status,
   availability, distance), place, photo, notes, facts, then the actions. */
.rc-pk { position: absolute; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; flex-direction: column;
  max-height: 80%; background: var(--bn-tile); color: var(--bn-ink); border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 30px rgb(0 0 0 / .28); transition: transform .22s cubic-bezier(.2, .9, .3, 1.1); touch-action: pan-y; }
.rc-pk[hidden] { display: none; }
.rc-pk.is-dragging { transition: none; }
@media (min-width: 768px) {
  .rc-pk { left: 14px; right: auto; bottom: 14px; width: 390px; max-height: calc(100% - 120px); border-radius: 22px; box-shadow: 0 12px 34px rgb(0 0 0 / .3); }
  .rc-pk-grip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .rc-pk { transition: none; } }
.rc-pk-grip { display: flex; justify-content: center; padding: 8px 0 2px; cursor: grab; }
.rc-pk-grip i { width: 40px; height: 5px; border-radius: 3px; background: var(--bn-line); }
.rc-pk-head { display: flex; align-items: center; gap: 12px; padding: 6px 12px 8px 16px; }
@media (min-width: 768px) { .rc-pk-head { padding-top: 14px; } }
.rc-pk-ic { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 22px;
  background: color-mix(in srgb, var(--rc-pk-c, #667085) 16%, transparent); border: 2px solid var(--rc-pk-c, #667085); }
.rc-pk-ic.is-text { font-size: 12px; font-weight: 800; color: var(--rc-pk-c); letter-spacing: .02em; }
.rc-pk-hmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.rc-pk-kind { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bn-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc-pk-title { font-size: 17px; font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-pk-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--bn-tile-2); color: var(--bn-ink); cursor: pointer; }
.rc-pk-x svg { width: 18px; height: 18px; }
.rc-pk-scroll { overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 4px; flex: 1 1 auto; min-height: 0; }
.rc-pk-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-pk-pills:empty { display: none; }
.rc-pk-pill { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 12.5px; font-weight: 700; background: var(--bn-tile-2); color: var(--bn-ink); }
.rc-pk-pill i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.rc-pk-pill--ok { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.rc-pk-pill--no { background: var(--bn-fire-tint); color: var(--bn-fire-ink); }
.rc-pk-pill--warn { background: var(--bn-amber-tint); color: var(--bn-amber-ink); }
.rc-pk-pill--info { background: var(--bn-blue-tint); color: var(--bn-blue-ink); }
.rc-pk-pill--km { font-variant-numeric: tabular-nums; }
.rc-pk-place { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.rc-pk-place[hidden] { display: none; }
.rc-pk-place svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--bn-muted); }
.rc-pk-media { margin-top: 10px; }
.rc-pk-media[hidden] { display: none; }
.rc-pk-media img { display: block; width: 100%; max-height: 150px; object-fit: cover; border-radius: 14px; background: var(--bn-tile-2); }
.rc-pk-notes:empty { display: none; }
.rc-pk-note { margin-top: 10px; padding: 9px 12px; border-radius: 14px; background: var(--bn-amber-tint); color: var(--bn-amber-ink); font-size: 13.5px; line-height: 1.4; white-space: pre-line; }
.rc-pk-note b { display: block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 2px; }
.rc-pk-note--plain { background: var(--bn-tile-2); color: var(--bn-ink); }
.rc-pk-note--plain b { color: var(--bn-muted); }
.rc-pk-facts { margin: 10px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.rc-pk-facts:empty { display: none; }
.rc-pk-fact { padding: 8px 10px; border-radius: 12px; background: var(--bn-tile-2); min-width: 0; }
.rc-pk-fact dt { font-size: 11px; color: var(--bn-muted); font-weight: 600; }
.rc-pk-fact dd { margin: 1px 0 0; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.rc-pk-fact--wide { grid-column: 1 / -1; }
.rc-pk-meta { margin: 10px 0 2px; font-size: 12px; color: var(--bn-muted); }
.rc-pk-meta[hidden] { display: none; }
/* every visible action gets an equal column; Navigovať a wider one */
.rc-pk-acts { display: flex; gap: 6px; padding: 10px 12px calc(12px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))); border-top: 1px solid var(--bn-line); }
@media (min-width: 768px) { .rc-pk-acts { padding-bottom: 12px; } }
.rc-pk-btn { flex: 1 1 0; min-width: 0; min-height: 56px; padding: 6px 4px; border: 0; border-radius: 16px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: var(--bn-tile-2); color: var(--bn-ink); font: inherit; font-size: 11.5px; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; cursor: pointer; }
.rc-pk-btn span { max-width: 100%; overflow-wrap: break-word; hyphens: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rc-pk-btn[hidden] { display: none; }
.rc-pk-btn svg { width: 19px; height: 19px; }
.rc-pk-btn--go { background: var(--bn-fire); color: #fff; flex-grow: 1.4; }
.rc-pk-btn:focus-visible, .rc-pk-x:focus-visible { outline: 2px solid var(--bn-fire); outline-offset: 2px; }
/* the selected marker: bigger, lifted, with a ring in the brand colour */
/* (no transform: MapLibre positions the marker with its own) */
.rc-ws-marker.is-picked { width: 40px !important; height: 40px !important; font-size: 19px; box-shadow: 0 0 0 4px var(--bn-tile), 0 0 0 7px var(--bn-fire), 0 6px 14px rgb(0 0 0 / .4); z-index: 3; }
.rc-ws-stage.has-pick .rc-ws-fab-wrap { display: none; }
.rc-ws-marker.is-picked[data-kind="aed"] { font-size: 12px; }
@media (min-width: 768px) { .rc-pk-grip { display: none; } }

/* ------------------------------------------------------------- long words (visual QA 2026-11-10)
   German, Polish and Hungarian labels ("Löschwasserentnahmestelle",
   "Gefahrstoffaustritt", "Navigieren (RaidCall)") ran out of their tiles,
   picks and buttons at 360-390 px. A label may break inside a word now,
   with a hyphen where the browser knows the language (<html lang>). */
.bn-act, .bn-pick-name, .bn-seg label, .bn-seg label > span, .bn-tile-title, .bn-row-title--wrap,
.bn-hub-row .bn-row-title, .bn-label {
  min-width: 0; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto;
}
.bn-pick > :not(input):not(.bn-pick-ic) { min-width: 0; }
/* the three buttons under the console map: one row while they fit, else
   the longest gets a row of its own instead of being cut */
.bn-mapbar { display: flex; flex-wrap: wrap; }
.bn-mapbar .bn-btn { flex: 1 1 auto; width: auto; min-width: 0; }
/* a console person row: KOMME, "Am Einsatzort" and the phone left the name
   20 px (de, 390 px); the end part drops under the name when it must */
.bn-row--person { flex-wrap: wrap; }
.bn-row--person > .bn-row-main { flex: 1 1 140px; }
.bn-row--person > .bn-row-end { flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
/* Nová lehota: "Abgasuntersuchung", "Fahrzeugversicherung" ran past their cards */
.rc-dl-card > span:not(.rc-dl-ic) { min-width: 0; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
/* a button as wide as its column, or one that cannot get wider, wraps its
   label instead of running out of itself ("Speichern und auch ins
   Fahrtenbuch eintragen", "Zapłać przelewem na podstawie faktury") */
.bn-btn--block, .bn-mapbar .bn-btn, .rc-vu-actions .bn-btn {
  max-width: 100%; white-space: normal; text-align: center; line-height: 1.2;
  height: auto; min-height: 48px; padding-top: 6px; padding-bottom: 6px;
}
.bn-mapbar .bn-btn, .rc-vu-actions .bn-btn.bn-btn--sm, .bn-btn--block.bn-btn--sm { min-height: 40px; }
.bn-tile-sub, .bn-stack > .bn-tiny, .rc-tr-kpi small, .rc-layer-main b, .rc-dv-call {
  min-width: 0; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto;
}
.rc-bento .bn-main { overflow-wrap: break-word; }
.rc-bento .bn-main td, .rc-bento .bn-main th, .bn-tile .bn-tiny { -webkit-hyphens: auto; hyphens: auto; }
/* the side panel's zbor name ran under the profile arrow at the top right
   ("Pilisborosjenői Tűzoltós"): it ends with "…" before the arrow */
@media (min-width: 1100px) { .bn-side:has(> .rc-prof) .bn-side-brand { padding-right: 44px; } }
/* Kniha jázd: "Pridať ručne" and "Začať jazdu" float above the bottom bar;
   the page's end can scroll out from under both */
@media (max-width: 1099px) { .bn-main:has(.rc-tr-go, .rc-tr-add > summary) { padding-bottom: calc(230px + var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))); } }
/* red text on a dark tile: the fire red reads at 3.4:1 there; the dark
   theme's fire ink instead (Členovia Zmazať) */
[data-design="bento"][data-theme="modern"] .rc-more-menu .rc-danger { color: var(--bn-fire-ink); }
/* a two-option choice (Hlásenie: "Art und Adresse vorlesen" / "Durchsage
   aufnehmen") was cut at the label's edge, without "…": two lines instead */
.bn-seg[role="radiogroup"] label { white-space: normal; line-height: 1.15; }
/* Vlastné možnosti odpovede: "Ich kom…" next to Ausschalten and the pencil
   (de, 360 px) - the option's text wraps, the buttons step under it */
.rc-option-row > .bn-row { flex-wrap: wrap; }
.rc-option-row > .bn-row > .bn-row-main { flex: 1 1 150px; }
.rc-option-row .bn-row-title, .rc-option-row .bn-row-sub { white-space: normal; overflow: visible; text-overflow: clip; }
.rc-option-row > .bn-row > form { margin-left: auto !important; }
/* Vyhlásiť poplach on a narrow phone: the type tiles give the name more
   room, so "Hochwasser" or "Personenrettung" stay whole words */
@media (max-width: 400px) {
  .bn-pick { gap: 8px; padding: 8px; }
  .bn-pick-ic { width: 30px; height: 30px; font-size: 17px; border-radius: 10px; }
  .bn-pick-name { font-size: 13px; }
}

/* ---- Vyhlásiť poplach, compact (2026-11-20): the type folds into one row,
   obec and street share a line, everything optional is a button that opens
   its fields on a tap, and the red button stays above the bottom bar ------- */
.bn-declare-tile { gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.bn-typerow { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 12px 6px 8px;
  border: 0; border-radius: 18px; font: inherit; font-weight: 750; font-size: 16px; text-align: left; cursor: pointer;
  background: var(--bn-type-color, var(--bn-fire)); color: var(--bn-type-ink, #fff); }
.bn-typerow[hidden] { display: none; }
.bn-typerow .bn-pick-ic { background: rgba(255, 255, 255, 0.22); }
.bn-typerow .bn-tiny { opacity: 0.9; font-weight: 650; }
.bn-typerow svg { width: 18px; height: 18px; flex: none; }
.bn-declare-addr { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 8px; }
.bn-declare-addr .bn-label { font-size: 12px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-declare-addr input { padding-left: 12px; padding-right: 10px; }
.bn-chips--line { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
.bn-chips--line::-webkit-scrollbar { display: none; }
.bn-chips--line .bn-chip { flex: none; }
.bn-declare-whom { flex-direction: row; align-items: center; gap: 10px; }
.bn-declare-whom > .bn-label { flex: none; }
.bn-declare-whom > select, .bn-declare-whom > .bn-seg { flex: 1; min-width: 0; }
.bn-more-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-more-chip { max-width: 100%; min-width: 0; }
.bn-more-chip > span { white-space: nowrap; }
.bn-more-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; opacity: 0.85; }
.bn-more-value:not(:empty)::before { content: "· "; }
.bn-more-chip.is-set { box-shadow: inset 0 0 0 2px var(--bn-navy); }
.bn-more-chip[aria-expanded="true"] { background: var(--bn-navy); color: var(--bn-navy-ink); }
.bn-more-panel { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.bn-more-panel[hidden] { display: none; }
/* a widget that is a tile of its own (Hlásenie) sits flat inside the panel */
.bn-more-panel > .bn-tile { padding: 0; background: none; box-shadow: none; border: 0; border-radius: 0; }
label.bn-more-chip#bn-test-toggle, label.bn-more-chip#spa-declare-test { align-items: center; padding: 6px 12px; min-height: 36px; }
.bn-declare-bar { position: sticky; z-index: 3; display: flex; flex-direction: column; gap: 4px;
  bottom: calc(max(14px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))) + 76px);
  margin: 2px -6px 0; padding: 8px 6px 6px; border-radius: 30px;
  background: color-mix(in srgb, var(--bn-ground) 86%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.spa .bn-declare-bar { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1100px) { .bn-declare-bar, body.spa .bn-declare-bar { bottom: 12px; } }
/* no bottom bar on the declare screen (owner 2026-11-21): the red button
   sits on the bottom edge, above the home indicator */
body:not(:has(.bn-tabbar)) .bn-declare-bar { bottom: max(10px, var(--safe-area-inset-bottom, env(safe-area-inset-bottom, 0px))); }
@media (max-width: 1099px) { body:not(:has(.bn-tabbar)) .bn-main:has(.bn-declare-bar) { padding-bottom: max(16px, env(safe-area-inset-bottom, 0px)); } }
/* Vozidlá / Spojené zbory: a chip each, tapped on and off */
.bn-declare-chips { gap: 6px; }
.bn-declare-chips .bn-toggle { min-height: 40px; }
/* Vozidlá / Spojené zbory as fixed-size cards (2026-11-21): two columns, the
   same height for all, two ellipsised lines, the tick in a reserved corner -
   choosing one changes colours only, never the size, so nothing re-wraps */
.bn-vcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 330px) { .bn-vcards { grid-template-columns: minmax(0, 1fr); } }
.bn-vcard {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center;
  column-gap: 10px; height: 60px; padding: 0 30px 0 10px; box-sizing: border-box;
  border-radius: 14px; border: 2px solid var(--bn-line); background: var(--bn-tile-2); color: var(--bn-ink);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .16s ease, border-color .16s ease;
}
.bn-vcard input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.bn-vcard-ic {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bn-tile); color: var(--bn-muted); transition: background-color .16s ease, color .16s ease;
}
.bn-vcard-ic svg { width: 19px; height: 19px; }
.bn-vcard-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bn-vcard-t, .bn-vcard-s { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-vcard-t { font-weight: 700; font-size: 14px; line-height: 18px; }
.bn-vcard-s { font-size: 12px; line-height: 16px; min-height: 16px; color: var(--bn-muted); }
.bn-vcard-check {
  position: absolute; top: 7px; right: 7px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--bn-line); box-sizing: border-box; display: grid; place-items: center;
  transition: background-color .16s ease, border-color .16s ease;
}
.bn-vcard-check svg { width: 12px; height: 12px; opacity: 0; transform: scale(.6); transition: opacity .16s ease, transform .16s ease; }
.bn-vcard:has(input:checked) { border-color: var(--bn-ink); background: var(--bn-tile); }
.bn-vcard:has(input:checked) .bn-vcard-ic { background: var(--bn-ink); color: var(--bn-tile); }
.bn-vcard:has(input:checked) .bn-vcard-check { background: var(--bn-ink); border-color: var(--bn-ink); color: var(--bn-tile); }
.bn-vcard:has(input:checked) .bn-vcard-check svg { opacity: 1; transform: none; }
.bn-vcard:has(input:focus-visible) { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
.bn-vcard:has(input:disabled) { opacity: .55; cursor: not-allowed; }
@media (hover: hover) { .bn-vcard:hover:not(:has(input:disabled)):not(:has(input:checked)) { border-color: var(--bn-muted); } }
@media (prefers-reduced-motion: reduce) {
  .bn-vcard, .bn-vcard-ic, .bn-vcard-check, .bn-vcard-check svg { transition: none; }
}
/* Popis, Hlásenie, Skúšobný poplach: one row, the label shortened if tight */
.bn-more-chips--row { flex-wrap: nowrap; }
.bn-more-chips--row { gap: 4px; }
.bn-declare-tile:has(> .bn-more-chips--row) { padding-left: 10px; padding-right: 10px; }
.bn-more-chips--row > .bn-more-chip { flex: 0 1 auto; min-width: 0; justify-content: center; overflow: hidden; }
.bn-more-chips--row > .bn-btn.bn-more-chip { padding: 0 8px; flex-shrink: 0; max-width: 40%; font-size: 13px; gap: 4px; }
.bn-more-chips--row > label.bn-more-chip { flex: 1 1 auto; padding-left: 8px !important; padding-right: 8px !important; font-size: 13px; gap: 4px; }
.bn-more-chips--row > label.bn-more-chip svg { width: 18px !important; height: 18px !important; }
.bn-more-chips--row > .bn-more-chip > span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bn-more-chips--row > .bn-more-chip > svg { flex: none; }
.bn-more-chips .bn-btn.bn-more-chip { height: 36px; padding: 0 10px; font-size: 13.5px; gap: 5px; }
.bn-more-chips .bn-btn.bn-more-chip svg { width: 16px; height: 16px; }

/* ---- Novinky (news/index.html, SPA news.js): releases, newest first ---------- */
.bn-rel-list { display: flex; flex-direction: column; gap: 12px; }
.bn-rel { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.bn-rel--new { box-shadow: inset 0 0 0 2px var(--bn-fire); }
.bn-rel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bn-rel-when { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bn-rel-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bn-rel-item { display: flex; gap: 12px; align-items: flex-start; }
.bn-rel-item > .bn-ic { flex-shrink: 0; }
.bn-rel-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bn-rel-text b { font-size: 15px; color: var(--bn-ink); }
.bn-rel-try { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font-size: 13px; font-weight: 700;
  color: var(--bn-fire-ink); text-decoration: none; align-self: flex-start; min-height: 32px; }
.bn-rel-try svg { width: 15px; height: 15px; }

/* ---- the "what is new" sheet (_release_sheet.html) ------------------------------- */
.bn-wn { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-end; justify-content: center; }
.bn-wn[hidden] { display: none; }
.bn-wn-scrim { position: absolute; inset: 0; background: rgba(11, 18, 32, 0.45); opacity: 0; transition: opacity .2s; }
.bn-wn-card { position: relative; width: 100%; max-width: 480px; max-height: 86vh; overflow: auto; box-sizing: border-box;
  background: var(--bn-tile); color: var(--bn-ink); border-radius: 22px 22px 0 0; padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: var(--bn-shadow-lift); transform: translateY(100%); transition: transform .25s ease-out; }
.bn-wn--in .bn-wn-scrim { opacity: 1; }
.bn-wn--in .bn-wn-card { transform: none; }
@media (min-width: 640px) { .bn-wn { align-items: center; } .bn-wn-card { border-radius: 22px; } }
.bn-wn-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bn-wn-titles { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.bn-wn-h { margin: 0; font-size: 20px; font-weight: 800; }
.bn-wn-items { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bn-wn-items li { display: flex; gap: 12px; align-items: flex-start; }
.bn-wn-items li > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bn-wn-items .bn-ic { flex-shrink: 0; }
.bn-wn-btns { display: flex; flex-direction: column; gap: 8px; }

/* ---- Spravy (feedback/feedback.html, SPA pages.js) ------------------------------- */
.bn-fb-tabs { display: flex; gap: 4px; padding: 4px; margin: 4px 0 12px; border-radius: 14px; background: var(--bn-tile-2); }
.bn-fb-tab { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--bn-muted); text-decoration: none; border: 0;
  background: transparent; cursor: pointer; font-family: inherit; }
.bn-fb-tab[aria-selected="true"] { background: var(--bn-tile); color: var(--bn-ink); box-shadow: var(--bn-shadow); }
.bn-fb-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--bn-fire); color: #fff;
  font-size: 12px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.bn-fb-pane[hidden] { display: none; }
.bn-fb-notices { display: flex; flex-direction: column; gap: 8px; }
.bn-fbn { border-radius: var(--bn-r-tile); background: var(--bn-tile); box-shadow: var(--bn-shadow); overflow: hidden; }
.bn-fbn--urgent { box-shadow: inset 0 0 0 2px var(--bn-fire); }
.bn-fbn-sum { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.bn-fbn-sum::-webkit-details-marker { display: none; }
.bn-fbn-sum > .bn-ic { flex-shrink: 0; }
.bn-fbn-chev { color: var(--bn-faint); display: inline-flex; transition: transform .15s; flex-shrink: 0; }
.bn-fbn-chev svg { width: 18px; height: 18px; }
.bn-fbn[open] .bn-fbn-chev { transform: rotate(180deg); }
.bn-fbn-body { padding: 0 14px 14px 66px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 420px) { .bn-fbn-body { padding-left: 14px; } }
.bn-fbn-link { align-self: flex-start; }
.bn-fb-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bn-fire); flex-shrink: 0; }
.bn-fb-old { margin-top: 14px; }
.bn-fb-old > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 4px; font-size: 13px;
  font-weight: 700; color: var(--bn-muted); min-height: 36px; }
.bn-fb-old > summary::-webkit-details-marker { display: none; }
.bn-fb-old > summary svg { width: 16px; height: 16px; }
.bn-fb-oldlist { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--bn-line); }
.bn-fb-oldlist > li { border-bottom: 1px solid var(--bn-line); padding: 8px 2px; }
.bn-fb-oldlist summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.bn-fb-oldlist summary::-webkit-details-marker { display: none; }
.bn-fb-oldt { font-size: 14px; color: var(--bn-muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bn-fb-oldlist .rc-rich { margin-top: 6px; }
.bn-fb-unread .bn-row-title { font-weight: 800; }
.bn-fb-answer { color: var(--bn-fire-ink); font-weight: 700; }
.bn-fb-status { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px;
  font-weight: 700; flex-shrink: 0; white-space: nowrap; }
.bn-row-end .bn-fb-status { margin-right: 2px; }

/* the full-screen form in steps (#napiste): its height follows the part of
   the screen the keyboard leaves free (feedback_sheet.js, visualViewport) */
.bn-fbsheet { display: none; position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: 100dvh; z-index: 8000;
  background: var(--bn-ground); color: var(--bn-ink); }
.bn-fbsheet:target, .bn-fbsheet.is-open { display: flex; }
.bn-fbsheet--js:target:not(.is-open) { display: none; }
html.rc-fbs-on, html.rc-fbs-on body { overflow: hidden; }
.bn-fbsheet-form { display: flex; flex-direction: column; width: 100%; max-width: 560px; margin: 0 auto; height: 100%; min-height: 0; }
.bn-fbsheet-head { display: flex; align-items: center; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) 12px 8px; flex-shrink: 0; }
.bn-fbsheet-titles { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.bn-fbsheet-titles b { font-size: 16px; }
.bn-fbsheet-bar { height: 4px; margin: 0 16px; border-radius: 2px; background: var(--bn-line); flex-shrink: 0; overflow: hidden; }
.bn-fbsheet-bar i { display: block; height: 100%; width: 0; background: var(--bn-fire); transition: width .2s; }
.bn-fbsheet-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 18px 16px; }
.bn-fbsheet-foot { flex-shrink: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bn-line);
  background: var(--bn-ground); }
.bn-fbsheet-foot [hidden] { display: none; }
.bn-fbs-step { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.bn-fbs-step[hidden] { display: none; }
.bn-fbs-q { font-size: 20px; font-weight: 800; padding: 0; margin-bottom: 2px; }
.bn-fbs-step input:not([type=radio]):not([type=file]), .bn-fbs-step textarea { width: 100%; box-sizing: border-box; font-size: 16px; }
.bn-fbs-step [aria-invalid="true"] { border-color: var(--bn-fire) !important; }
.bn-fbs-err { margin: 0; color: var(--bn-fire-ink); font-size: 13px; font-weight: 700; }
.bn-fbs-err[hidden] { display: none; }
.bn-fbs-choices { display: grid; gap: 10px; }
.bn-fbs-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bn-fbs-choice { cursor: pointer; position: relative; }
.bn-fbs-choice input { position: absolute; opacity: 0; pointer-events: none; }
.bn-fbs-choice > span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; height: 100%;
  box-sizing: border-box; padding: 18px 10px; border-radius: 18px; border: 2px solid var(--bn-line); background: var(--bn-tile); }
.bn-fbs-choice > span svg { width: 26px; height: 26px; color: var(--bn-fire); }
.bn-fbs-choice--row > span { flex-direction: row; justify-content: space-between; text-align: left; padding: 14px 16px; }
.bn-fbs-choice small { color: var(--bn-muted); font-size: 13px; }
.bn-fbs-choice input:checked + span { border-color: var(--bn-fire); background: var(--bn-fire-tint); }
.bn-fbs-choice input:focus-visible + span { outline: 2px solid var(--bn-focus); outline-offset: 2px; }

/* one report as a conversation (feedback/ticket.html, SPA ticket.js) */
.bn-tk-thread { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bn-tk-msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; box-sizing: border-box; }
.bn-tk-msg p { margin: 2px 0 0; font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.bn-tk-msg--me { align-self: flex-end; background: var(--bn-fire-tint); border-bottom-right-radius: 6px; }
.bn-tk-msg--ours { align-self: flex-start; background: var(--bn-tile); box-shadow: var(--bn-shadow); border-bottom-left-radius: 6px; }
.bn-tk-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--bn-muted); }
.bn-tk-msg--ours .bn-tk-meta b { color: var(--bn-fire-ink); }
.bn-tk-sys { align-self: center; text-align: center; font-size: 11px; color: var(--bn-muted); padding: 0 8px; }
.bn-tk-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.bn-tk-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.bn-tk-compose { position: sticky; bottom: 0; z-index: 2; display: flex; flex-direction: column; gap: 6px;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: var(--bn-ground); }
.bn-tk-compose-row { display: flex; gap: 8px; align-items: flex-end; }
.bn-tk-compose textarea { flex: 1; min-height: 44px; max-height: 160px; resize: none; font-size: 16px; border-radius: 22px;
  padding: 11px 16px; box-sizing: border-box; }
.bn-tk-send { width: 44px; height: 44px; padding: 0; border-radius: 50%; flex-shrink: 0; }
.bn-tk-send svg { width: 20px; height: 20px; }
.bn-fb-mini { width: 12px; height: 12px; vertical-align: -2px; }
/* the frame's bars never over the full-screen form (the SPA draws it inside the screen) */
html.rc-fbs-on .bn-tabbar, html.rc-fbs-on .rc-bottom-bar { visibility: hidden; }
.bn-fbsheet-form.bn-form { gap: 0; }
[data-design="bento"] .bn-tk-compose textarea { min-height: 44px; max-height: 160px; resize: none; border-radius: 22px; }
.bn-tk-compose.bn-form { gap: 6px; }
/* ---------------------------------------------- desktop UX (2026-11-27)
   The computer's navigation for real work (owner 2026-11-26: "ako GitHub,
   Linear alebo Google Admin"): Hľadať (Ctrl+K) and Všetky stránky as folds
   in the panel (bento/_side.html), a sticky bar with the breadcrumbs over
   every page (bento/_deskbar.html), Nastavenia zboru as a second column
   (bento/_subnav.html), the page heads with their buttons sticking under
   the bar. None of it exists under 1100px - the phone is exactly as it
   was. */
.bn-deskbar, .bn-subnav, .bn-side-search { display: none; }
@media (min-width: 1100px) {
  :root { --bn-deskbar-h: 54px; --bn-subnav-w: 244px; }
  /* Hľadať in the panel */
  .bn-side-search {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; margin: 0 0 4px; padding: 0 8px 0 10px;
    border: 1px solid var(--bn-line); border-radius: 12px; background: var(--bn-tile-2); color: var(--bn-muted);
    font: inherit; font-size: 14px; font-weight: 500; text-align: left; cursor: pointer; box-sizing: border-box;
  }
  .bn-side-search:hover { color: var(--bn-ink); border-color: var(--bn-faint); }
  .bn-side-search:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
  .bn-side-search kbd, .bn-deskbar kbd, .rc-keys kbd {
    font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; padding: 3px 6px; border-radius: 6px;
    border: 1px solid var(--bn-line); background: var(--bn-tile); color: var(--bn-muted); white-space: nowrap;
  }
  /* Všetky stránky: the main pages as folds */
  .bn-side-fold > summary { list-style: none; cursor: pointer; user-select: none; }
  .bn-side-fold > summary::-webkit-details-marker { display: none; }
  .bn-side-fold-head:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: -2px; }
  .bn-side-chev { display: flex; color: var(--bn-faint); transition: transform .15s; }
  .bn-side-chev svg { width: 16px; height: 16px; }
  .bn-side-fold[open] > summary .bn-side-chev { transform: rotate(180deg); }
  .bn-side-ic--fire { color: var(--bn-fire-ink); }
  .bn-side-ic--green { color: var(--bn-green-ink); }
  .bn-side-ic--blue { color: var(--bn-blue-ink); }
  .bn-side-ic--amber { color: var(--bn-amber-ink); }
  .bn-side-ic--teal { color: var(--bn-teal-ink); }
  .bn-side-ic--indigo { color: var(--bn-indigo-ink); }
  .bn-side-ic--rose { color: var(--bn-rose-ink); }
  .bn-side-ic--violet { color: var(--bn-violet-ink); }
  .bn-side-ic--kiko { color: var(--bn-kiko-ink); }
  .bn-side-ic--sand { color: var(--bn-sand-ink2); }
  .bn-side-fold-body { margin: 0 0 6px 21px; padding-left: 12px; border-left: 1px solid var(--bn-line); display: grid; }
  .bn-side-sub {
    display: block; padding: 6px 10px; border-radius: 9px; color: var(--bn-muted); text-decoration: none;
    font-size: 13px; font-weight: 500; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .bn-side-sub:hover { background: var(--bn-tile-2); color: var(--bn-ink); }
  .bn-side-subh { display: block; padding: 8px 10px 2px; font-size: 11px; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: var(--bn-faint); }
  .bn-side-sub[aria-current="page"] { color: var(--bn-ink); font-weight: 700; background: var(--bn-tile-2);
    box-shadow: inset 2px 0 0 var(--bn-fire); }

  /* the bar over the page: breadcrumbs left, Hľadať and the shortcuts right */
  .bn-deskbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    position: sticky; top: 0; z-index: 44; min-height: var(--bn-deskbar-h); box-sizing: border-box;
    margin: -24px -28px 18px; padding: 8px 28px;
    background: color-mix(in srgb, var(--bn-ground) 88%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--bn-line);
  }
  .bn-crumbs { min-width: 0; }
  .bn-crumbs ol { display: flex; align-items: center; flex-wrap: nowrap; margin: 0; padding: 0; list-style: none;
    font-size: 13px; font-weight: 600; color: var(--bn-muted); min-width: 0; }
  .bn-crumbs li { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
  .bn-crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--bn-faint); font-weight: 400; }
  .bn-crumbs li:last-child { overflow: hidden; }
  .bn-crumbs li:last-child > * { overflow: hidden; text-overflow: ellipsis; }
  .bn-crumbs a { color: var(--bn-muted); text-decoration: none; border-radius: 6px; padding: 2px 4px; margin: 0 -4px; }
  .bn-crumbs a:hover { color: var(--bn-ink); background: var(--bn-tile-2); }
  .bn-crumbs li:last-child > span, .bn-crumbs li:last-child > a { color: var(--bn-ink); }
  .bn-deskbar-tools { display: flex; align-items: center; gap: 8px; flex: none; }
  .bn-deskbar-search {
    display: flex; align-items: center; gap: 10px; height: 36px; width: 340px; padding: 0 8px 0 12px; box-sizing: border-box;
    border: 1px solid var(--bn-line); border-radius: 11px; background: var(--bn-tile); color: var(--bn-muted);
    font: inherit; font-size: 13px; cursor: pointer; text-align: left;
  }
  .bn-deskbar-search span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bn-deskbar-search svg { width: 16px; height: 16px; flex: none; }
  .bn-deskbar-search:hover { color: var(--bn-ink); border-color: var(--bn-faint); }
  .bn-deskbar-search:focus-visible, .bn-deskbar-keys:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
  .bn-deskbar-keys { width: 36px; height: 36px; }
  .bn-deskbar-keys svg { width: 18px; height: 18px; }

  /* a page head with buttons sticks under the bar (the primary action
     stays at hand on a long list); only the page's own top head */
  .bn-main > .bn-head:has(> .bn-row-flex),
  .bn-main > :is(div, section, form):not(.bn-tile) > .bn-head:first-child:has(> .bn-row-flex),
  .bn-main > :is(div, section, form):not(.bn-tile) > .bn-back:first-child + .bn-head:has(> .bn-row-flex) {
    position: sticky; top: var(--bn-deskbar-h); z-index: 30;
    margin-left: -8px; margin-right: -8px; padding-left: 12px; padding-right: 12px;
    background: color-mix(in srgb, var(--bn-ground) 94%, transparent);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }

  /* Nastavenia zboru: the hub's list as a second column */
  [data-design="bento"] body:has(.bn-subnav) { padding-left: calc(var(--bn-side-w) + var(--bn-subnav-w)) !important; }
  .bn-subnav {
    display: block; position: fixed; top: 0; bottom: 0; left: var(--bn-side-w); width: var(--bn-subnav-w); z-index: 45;
    overflow-y: auto; scrollbar-width: thin; box-sizing: border-box; padding: 16px 10px 24px;
    background: var(--bn-ground); border-right: 1px solid var(--bn-line);
  }
  .bn-subnav-title { display: flex; align-items: center; gap: 8px; padding: 4px 8px 10px; color: var(--bn-ink);
    text-decoration: none; font-size: 15px; font-weight: 800; }
  .bn-subnav-title svg { width: 18px; height: 18px; color: var(--bn-muted); }
  .bn-subnav-group { padding: 12px 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--bn-muted); }
  .bn-subnav-row { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 8px; border-radius: 10px;
    color: var(--bn-ink); text-decoration: none; font-size: 13px; font-weight: 600; }
  .bn-subnav-row:hover { background: var(--bn-tile); }
  .bn-subnav-row[aria-current="page"] { background: var(--bn-tile); box-shadow: var(--bn-shadow), inset 3px 0 0 var(--bn-fire); }
  .bn-subnav-row:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: -2px; }
  .bn-subnav-ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex: none; }
  .bn-subnav-ic svg { width: 14px; height: 14px; }
  .bn-subnav-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Späť na Nastavenia zboru is the column now */
  body:has(.bn-subnav) .bn-main > div > .bn-back:first-child,
  body:has(.bn-subnav) .bn-main > .bn-back:first-child { display: none; }

  /* the keyboard shortcuts sheet (desktop_keys.js) - the palette's box */
  .rc-keys-box { max-width: 460px; }
  .rc-keys-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px;
    border-bottom: 1px solid var(--bn-line); font-size: 16px; }
  .rc-keys-body { padding: 4px 10px 14px; overflow-y: auto; }
  .rc-keys-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 10px; font-size: 14px; }
  .rc-keys-row kbd { margin-left: 4px; }
}
@media (min-width: 1100px) and (max-width: 1279.98px) {
  /* the panel already has Hľadať: the bar keeps only the icon */
  .bn-deskbar-search { width: 40px; padding: 0; justify-content: center; }
  .bn-deskbar-search span, .bn-deskbar-search kbd { display: none; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) { .bn-side-chev { transition: none; } }

/* Členovia as a table on a computer (desktop UX 2026-11-27): one line per
   person - name and role, telefón, e-mail, kvalifikácie a skupiny, the
   actions - with column heads; the row's own markup is the phone's, its
   parts placed by grid areas (bn-row-main becomes display: contents). */
.rc-mhead, .rc-mc { display: none; }
@media (min-width: 1100px) {
  .rc-mtable .rc-mhead, .rc-mtable .rc-member-row {
    display: grid !important; column-gap: 16px; align-items: center;
    grid-template-columns: 36px minmax(180px, 1.3fr) 150px minmax(160px, 1.2fr) minmax(0, 1.6fr) 150px;
  }
  .rc-mtable .rc-mhead { padding: 10px 16px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--bn-muted); border-bottom: 1px solid var(--bn-line); }
  .rc-mtable .rc-member-row {
    grid-template-areas: "av name phone email quals act" "av pills phone email quals act";
    row-gap: 3px; padding-top: 10px; padding-bottom: 10px; min-height: 0;
  }
  .rc-mtable .rc-member-row:hover { background: var(--bn-tile-2); }
  .rc-mtable .rc-member-row > .bn-avatar { grid-area: av; width: 36px; height: 36px; font-size: 13px; align-self: center; }
  .rc-mtable .rc-member-row > .bn-row-main { display: contents; }
  .rc-mtable .rc-member-row .bn-row-title { grid-area: name; font-size: 14px; }
  .rc-mtable .rc-member-row .rc-mpills { grid-area: pills; }
  .rc-mtable .rc-member-row .rc-mpills:empty { display: none; }
  .rc-mtable .rc-member-row .bn-row-sub { display: none; }
  .rc-mtable .rc-member-row .rc-mc { display: block; font-size: 13px; color: var(--bn-muted); min-width: 0;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rc-mtable .rc-member-row .rc-mc a { color: inherit; text-decoration: none; }
  .rc-mtable .rc-member-row .rc-mc a:hover { color: var(--bn-ink); text-decoration: underline; }
  .rc-mtable .rc-mc-phone { grid-area: phone; font-variant-numeric: tabular-nums; }
  .rc-mtable .rc-mc-email { grid-area: email; }
  .rc-mtable .rc-member-row > .bn-row-main > .bn-pills { grid-area: quals; margin: 0; }
  .rc-mtable .rc-member-row > .rc-mactions { grid-area: act; justify-content: flex-end; }

  /* the member's form: a panel on the right, the list stays readable beside it */
  [data-design="bento"] #member-dialog[open] {
    position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; max-height: none; width: 520px !important;
  }
  [data-design="bento"] #member-dialog[open] > .bn-modal-card { min-height: 100%; max-width: none; border-radius: 0;
    box-sizing: border-box; overflow-y: auto; max-height: 100dvh; }
  [data-design="bento"] #member-dialog::backdrop { background: rgb(0 0 0 / 0.18); }

  /* Vozidlá: two cards side by side */
  .rc-vgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
  .rc-vgrid > * { margin: 0 !important; }

  /* a wide screen: the column grows with it (a table needs the room) */
  @media (min-width: 1600px) {
    .bn-main { max-width: 1560px; }
    .bn-topbar-in { max-width: 1560px; }
  }
}

/* ---- Konzola: a person on exactly two lines (2026-11-28) -------------------
   No expanding row. Left: the answer as a small pill over its time. Middle:
   the name with one or two marks, under it small icons that carry the state
   (call, SMS, on scene / ETA, where to, vehicle, the zbor's option) - the full
   words in title / aria-label and, on a tap, in a small bubble (.rc-crow-tip).
   Right, over both lines: the commander's icon buttons (end the call-out,
   call), 40 px touch targets. Shared by the server console (console.js) and
   the SPA (console/crew.js). */
.bn-row.rc-crow {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto;
  grid-template-areas: "state top acts" "time sub acts";
  align-items: center; column-gap: 10px; row-gap: 2px;
  min-height: 0; padding: 7px 8px 7px 10px;
}
.bn-row.rc-crow[hidden] { display: none; }
.rc-crow-state {
  grid-area: state; justify-self: stretch; display: flex; align-items: center; justify-content: center;
  height: 20px; padding: 0 4px; border-radius: 999px; box-sizing: border-box;
  font-size: 10.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--bn-tile-2); color: var(--bn-muted); box-shadow: inset 0 0 0 1px var(--bn-line);
}
.rc-crow-state--coming { background: var(--bn-green-tint); color: var(--bn-green-ink); box-shadow: none; }
.rc-crow-state--not_coming { background: var(--bn-fire-tint); color: var(--bn-fire-ink); box-shadow: none; }
.rc-crow-state--answered_none, .rc-crow-state--elsewhere { background: var(--bn-amber-tint); color: var(--bn-amber-ink); box-shadow: none; }
.rc-crow-time {
  grid-area: time; text-align: center; font-size: 12px; line-height: 18px; font-weight: 600;
  font-variant-numeric: tabular-nums; color: var(--bn-muted);
}
.rc-crow-top { grid-area: top; display: flex; align-items: center; gap: 6px; min-width: 0; }
.rc-crow-name { font-weight: 700; font-size: 15px; line-height: 20px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-crow-marks { display: inline-flex; gap: 3px; flex-shrink: 0; }
.rc-crow-mark {
  font-size: 10px; font-weight: 700; line-height: 16px; padding: 0 5px; border-radius: 6px;
  background: var(--bn-blue-tint); color: var(--bn-blue-ink); white-space: nowrap;
}
.rc-crow-mark--more { background: var(--bn-tile-2); color: var(--bn-muted); box-shadow: inset 0 0 0 1px var(--bn-line); }
.rc-crow-sub {
  grid-area: sub; display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 40px; min-width: 0; height: 18px;
  overflow: hidden; overflow: clip; overflow-clip-margin: 12px; white-space: nowrap; font-size: 12px; line-height: 18px; color: var(--bn-muted);
}
.rc-crow-i { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; font-weight: 600; color: var(--bn-faint); position: relative; }
.rc-crow-i svg { width: 14px; height: 14px; flex: none; }
.rc-crow-i > span:not(.spa-ic) { overflow: hidden; text-overflow: ellipsis; }
.rc-crow-i--grow { flex-shrink: 1; min-width: 0; }
.rc-crow-i--ink { color: var(--bn-ink); }
.rc-crow-i--ok { color: var(--bn-green-ink); }
.rc-crow-i--info { color: var(--bn-blue-ink); }
.rc-crow-i--warn { color: var(--bn-amber-ink); }
.rc-crow-i--bad { color: var(--bn-fire-ink); }
.rc-crow-i--sm svg { width: 11px; height: 11px; }
.rc-crow [data-tip] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* the arrival by hand (commander): a small dashed pin where the arrival time goes */
.rc-crow-arrive {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 28px; height: 18px; padding: 0; border-radius: 999px; border: 1.5px dashed currentColor;
  background: transparent; color: var(--bn-green-ink); cursor: pointer; font: inherit;
}
.rc-crow-arrive::after { content: ''; position: absolute; inset: -11px -6px; }
.rc-crow-arrive svg { width: 12px; height: 12px; }
.rc-crow-arrive[hidden] { display: none; }
.rc-crow-arrive:disabled { opacity: .5; }
.rc-crow-acts { grid-area: acts; display: flex; align-items: center; gap: 4px; }
.rc-crow-acts:empty { display: none; }
.rc-crow-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--bn-tile-2); color: var(--bn-ink); text-decoration: none; font: inherit;
}
.rc-crow-btn svg { width: 18px; height: 18px; }
.rc-crow-btn[hidden] { display: none; }
.rc-crow-btn:disabled { opacity: .5; }
.rc-crow-btn--call { color: var(--bn-green-ink); }
.rc-crow-btn--stop { color: var(--bn-fire-ink); }
.rc-crow-btn:hover { background: var(--bn-line); }
.rc-crow-btn:focus-visible, .rc-crow-arrive:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
/* the full words of a tapped icon */
.rc-crow-tip {
  position: fixed; z-index: 1000; max-width: min(300px, calc(100vw - 24px)); box-sizing: border-box;
  padding: 8px 11px; border-radius: 12px; background: var(--bn-navy); color: var(--bn-navy-ink);
  font-size: 13px; font-weight: 600; line-height: 1.35; white-space: pre-line; box-shadow: var(--bn-shadow-lift);
  pointer-events: none;
}
.rc-crow-fold { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 12px 8px 78px;
  border: 0; border-top: 1px solid var(--bn-line); background: var(--bn-tile-2); color: var(--bn-muted);
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; text-align: left; }
.rc-crow-fold[hidden] { display: none; }
.rc-crow-fold .rc-crow-ic { display: inline-flex; }
.rc-crow-fold .rc-crow-ic svg { width: 14px; height: 14px; }
.rc-crow-fold[aria-expanded="true"] .rc-crow-ic { transform: rotate(180deg); }
.rc-crow-fold + .bn-row { border-top: 1px solid var(--bn-line); }
@media (max-width: 380px) {
  .bn-row.rc-crow { grid-template-columns: 54px minmax(0, 1fr) auto; column-gap: 8px; padding-left: 8px; }
  .rc-crow-sub { column-gap: 8px; }
  .rc-crow-fold { padding-left: 70px; }
}
/* an icon that does not fit on line 2 drops whole (wraps 40 px under it,
   out of sight) instead of being cut in half; the clip margin keeps the
   arrival pin's larger touch area */
.rc-crow-sub > * { max-width: 100%; }
/* the person's own answer on the console: one line once answered */
.rc-myanswer-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rc-myanswer form[hidden], .rc-myanswer .spa-cn-answer[hidden] { display: none; }
/* answered (owner 2026-11-30): no card - a small chip IDEM / NEIDEM next
   to Som na mieste, a tap opens a small popover with the two buttons */
.rc-myanswer--done { display: flex; flex-direction: column; gap: 8px; }
.rc-myanswer--done .rc-myanswer-line { justify-content: flex-start; }
.rc-myanswer--done .rc-myanswer-line > .bn-btn { min-height: 44px; }
.rc-anschip-wrap { position: relative; flex: none; display: inline-flex; }
.rc-anschip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; box-sizing: border-box;
  border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
  list-style: none; cursor: default; }
.rc-anschip::-webkit-details-marker { display: none; }
button.rc-anschip, summary.rc-anschip { cursor: pointer; }
.rc-anschip svg { width: 16px; height: 16px; flex: none; }
.rc-anschip--coming { background: var(--bn-green-tint); color: var(--bn-green-ink);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bn-green-ink) 40%, transparent); }
.rc-anschip--not_coming { background: var(--bn-fire-tint); color: var(--bn-fire-ink);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bn-fire-ink) 40%, transparent); }
.rc-anschip-edit { display: inline-flex; margin-left: 2px; padding-left: 8px; opacity: .75;
  border-left: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
.rc-anschip-edit svg { width: 14px; height: 14px; }
.rc-anschip:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
.rc-anspop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; box-sizing: border-box;
  width: min(300px, calc(100vw - 32px)); padding: 10px; border-radius: 16px; background: var(--bn-tile); color: var(--bn-ink);
  box-shadow: 0 0 0 1px var(--bn-line), var(--bn-shadow-lift); }
.rc-anspop form, .rc-anspop .spa-cn-answer { display: flex; gap: 8px; margin: 0; }
.rc-anspop .bn-btn { flex: 1 1 0; min-height: 48px; font-weight: 800; justify-content: center; }

/* ---- Konzola poplachu, kompaktne (owner 2026-11-29) --------------------------
   one line each for the roll call, the premium offer and the navigation:
   the SPA console (screens/console) and the server one (_alert_console.html) */
/* Kontrola osôb: "Kontrola osôb 9/13 · chýba 4", a tap opens the names */
.bn-tile.rc-par { padding: 6px 8px 6px 14px; gap: 6px; }
.rc-par-row { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.rc-par-sum { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; border: 0; background: none;
  padding: 0; font: inherit; font-size: 14px; font-weight: 700; color: inherit; text-align: left; cursor: pointer; }
.rc-par-sum--plain { cursor: default; }
.rc-par-sum svg { width: 18px; height: 18px; flex: none; }
.rc-par-sum > span:not(.rc-par-chev) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-par-miss { color: var(--bn-fire-ink); font-weight: 800; }
.rc-par-chev { flex: none; width: 7px; height: 7px; margin: 0 4px 3px 2px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; }
.rc-par-sum[aria-expanded="true"] .rc-par-chev { transform: rotate(-135deg); margin-bottom: -3px; }
.rc-par .bn-btn--sm { flex: none; height: 34px; padding: 0 12px; font-size: 13px; border-radius: 11px; }
.rc-par--ok { background: var(--bn-green-tint); color: var(--bn-green-ink); }
.rc-par-more { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--bn-line); padding: 8px 6px 4px 0; }

/* a small chip (Zdieľať polohu) */
.rc-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; max-width: 100%; box-sizing: border-box;
  padding: 0 12px; border-radius: 999px; border: 1px solid var(--bn-line); background: var(--bn-tile); color: var(--bn-ink);
  font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.rc-chip svg { width: 15px; height: 15px; flex: none; }
.rc-chip[disabled] { opacity: .6; }
/* Zdieľať polohu as a little switch */
.rc-chip-sw { position: relative; flex: none; width: 26px; height: 16px; border-radius: 8px; background: var(--bn-line); transition: background .15s; }
.rc-chip-sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.rc-share-chip.is-on { border-color: var(--bn-green-ink); color: var(--bn-green-ink); background: var(--bn-green-tint); }
.rc-share-chip.is-on .rc-chip-sw { background: var(--bn-green); }
.rc-share-chip.is-on .rc-chip-sw::after { transform: translateX(10px); }
/* Zdieľať polohu (owner 2026-11-30, "musí zmestiť do jednej riadky"): a
   square toggle at the end of the Navigovať row - outlined when off, solid
   green when on; what the commander sees is said below once it is switched
   on (index.js tapShare, alert_map.js) */
.rc-sharetog { flex: none; width: 48px; height: 48px; padding: 0; margin: 0; border: 0; border-radius: 14px; box-sizing: border-box;
  background: var(--bn-tile); color: var(--bn-muted); box-shadow: inset 0 0 0 1.5px var(--bn-line); font: inherit;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color .15s, color .15s, box-shadow .15s; }
.rc-sharetog svg { width: 22px; height: 22px; flex: none; }
.rc-sharetog:hover { color: var(--bn-ink); background: var(--bn-tile-2); }
.rc-sharetog.is-on { background: var(--bn-green); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .18); }
.rc-sharetog.is-on:hover { background: color-mix(in srgb, var(--bn-green) 88%, #000); color: #fff; }
.rc-sharetog:focus-visible { outline: 2px solid var(--bn-focus); outline-offset: 2px; }
.rc-sharetog-slot { flex: none; display: flex; }
.rc-maprow-note { padding: 0 12px 10px; }
.rc-maprow-note[hidden] { display: none; }

/* Navigovať (2026-11-30): one split pill - the remembered app under the
   word, the arrow half behind a divider changes it - and Trasa beside it,
   all 48 px high */
.bn-mapbar.rc-navbar { display: flex; flex-wrap: nowrap; gap: 8px; align-items: stretch; container-type: inline-size; }
.rc-navsplit { flex: 1 1 auto; min-width: 0; display: flex; height: 48px; border-radius: 14px; overflow: hidden;
  background: var(--bn-fire); color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .18); }
.rc-navsplit-go, .rc-navsplit-more { border: 0; margin: 0; background: transparent; color: inherit; font: inherit; cursor: pointer;
  display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background-color .12s; }
.rc-navsplit-go { flex: 1 1 auto; min-width: 0; gap: 10px; padding: 0 12px; }
.rc-navsplit-go svg { width: 20px; height: 20px; flex: none; }
.rc-navsplit-txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.1; text-align: left; }
.rc-navsplit-main { font-size: 16px; font-weight: 800; white-space: nowrap; }
.rc-navsplit-app { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; font-weight: 600; color: var(--bn-fire-soft-ink); }
.rc-navsplit-app:empty { display: none; }
.rc-navsplit-more { flex: none; width: 48px; padding: 0; background: rgba(0, 0, 0, .12);
  border-left: 1px solid rgba(255, 255, 255, .38); }
.rc-navsplit-more svg { width: 20px; height: 20px; flex: none; transition: transform .15s; }
.rc-navsplit-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.rc-navsplit-go:hover { background: rgba(0, 0, 0, .1); }
.rc-navsplit-more:hover { background: rgba(0, 0, 0, .22); }
.rc-navsplit-go:active, .rc-navsplit-more:active { background: rgba(0, 0, 0, .26); }
.rc-navsplit-go:focus-visible, .rc-navsplit-more:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.bn-mapbar.rc-navbar > .bn-btn { flex: 0 0 auto; width: auto; height: 48px; min-height: 48px; padding: 0 16px; border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--bn-line); white-space: nowrap; }
.bn-mapbar.rc-navbar > .bn-btn svg { width: 19px; height: 19px; }
.rc-navsplit-main { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* a phone (360-390 px) or a narrow map column: Trasa keeps only its map
   icon - the word stays for screen readers - so Navigovať keeps its room */
@container (max-width: 379px) {
  .bn-mapbar.rc-navbar > .rc-navbar-fit { width: 48px; padding: 0; justify-content: center; gap: 0; }
  .rc-navbar-fit .rc-navbar-lbl { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
  .rc-navsplit-go { gap: 8px; padding: 0 8px 0 10px; }
}
.rc-navopt { justify-content: space-between; }
.rc-navopt > span:first-child { display: inline-flex; align-items: center; gap: 8px; }

/* the offer after the alarm (premium_service.after_offer) */
.bn-tile.rc-premium-after { gap: 6px; box-shadow: inset 0 0 0 1.5px var(--bn-blue-ink), var(--bn-shadow); }
.rc-premium-after-armed { color: var(--bn-green-ink); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.rc-premium-after-armed svg { width: 16px; height: 16px; }
.rc-par-sum--wrap > span { white-space: normal !important; }
.bn-tile.rc-par--ask { background: var(--bn-amber-tint); color: var(--bn-ink); }
.bn-tile.rc-par--ask .rc-par-sum { font-size: 13px; }
/* Kontrola osôb in Ľudia, right over the crew list */
.spa-cn .rc-par[data-par] { margin-bottom: 8px; }
/* Kontrola osôb on top of the console for whoever steers it (owner
   2026-11-30): orange while it waits, red once somebody is late (60 s),
   green when everybody is OK; fixed colours, the same in light and dark.
   Two short lines so it fits at 360 px. SPA signals.js ParBar and the
   server's console_signals.js (#rc-par-bar). */
#rc-par-bar[hidden], #rc-par-bar:empty { display: none; }
.rc-parbar { margin-bottom: 10px; border-radius: 16px; background: #B93815; color: #fff; overflow: hidden;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .25); }
.rc-parbar--late { background: #B42318; }
.rc-parbar--ok { background: #087443; }
.rc-parbar-sum { display: flex; flex-direction: column; align-items: stretch; gap: 2px; width: 100%; box-sizing: border-box;
  min-height: 48px; padding: 8px 14px; border: 0; margin: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
div.rc-parbar-sum { cursor: default; justify-content: center; }
.rc-parbar-sum:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.rc-parbar-l1 { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 15px; white-space: nowrap; }
.rc-parbar-l1 svg, .rc-parbar-l1 .spa-ic { width: 18px; height: 18px; flex: none; }
.rc-parbar-title { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rc-parbar-n { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-parbar-time { flex: none; margin-left: auto; padding: 1px 8px; border-radius: 999px; background: rgba(0, 0, 0, .22);
  font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-parbar .rc-par-chev { opacity: .9; }
.rc-parbar-sum[aria-expanded="true"] .rc-par-chev { transform: rotate(-135deg); margin-bottom: -3px; }
.rc-parbar-l2 { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600;
  color: #FFE4E1; }
.rc-parbar-more { display: flex; flex-direction: column; gap: 6px; padding: 0 10px 10px; }
.rc-parbar-who { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 6px 4px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .16); font-size: 14px; font-weight: 700; }
.rc-parbar-who.is-late { background: #fff; color: #B42318; }
.rc-parbar-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-parbar-call { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px;
  background: #B42318; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.rc-parbar-call svg, .rc-parbar-call .spa-ic { width: 16px; height: 16px; }
.rc-parbar-acts { display: flex; justify-content: flex-end; }
.rc-parbar-acts .bn-btn { background: rgba(255, 255, 255, .92); color: #7A271A; box-shadow: none; }
/* the full screen for whom the check waits (owner 2026-11-30): only SOM OK,
   POTREBUJEM POMOC or the small Zavrieť leave it */
.rc-parx { position: fixed; inset: 0; z-index: 1500; background: #B42318; color: #fff; display: flex; align-items: center;
  justify-content: center; overflow-y: auto;
  padding: calc(20px + env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.rc-parx-in { width: min(440px, 100%); display: flex; flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
.rc-parx-ic { align-self: center; display: inline-flex; width: 64px; height: 64px; border-radius: 50%; align-items: center;
  justify-content: center; background: rgba(255, 255, 255, .18); animation: rc-parx-pulse 1.2s ease-in-out infinite; }
.rc-parx-ic svg, .rc-parx-ic .spa-ic { width: 34px; height: 34px; }
.rc-parx-title { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 900; letter-spacing: .03em; text-transform: uppercase;
  color: #fff; overflow-wrap: anywhere; }
.rc-parx-sub { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: #FFE4E1; }
.rc-parx-btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 76px; padding: 12px 16px;
  border-radius: 20px; border: 3px solid #fff; font: inherit; font-size: 22px; font-weight: 900; letter-spacing: .02em;
  text-transform: uppercase; color: #fff; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); }
.rc-parx-btn svg, .rc-parx-btn .spa-ic { width: 28px; height: 28px; flex: none; }
.rc-parx-btn--ok { background: #087443; }
.rc-parx-btn--help { background: #7A271A; }
.rc-parx-btn[disabled] { opacity: .7; }
.rc-parx-btn:focus-visible, .rc-parx-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.rc-parx-close { align-self: center; min-height: 44px; padding: 0 16px; border: 0; background: none; color: #FFE4E1;
  font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
@keyframes rc-parx-pulse { 50% { transform: scale(1.08); background: rgba(255, 255, 255, .3); } }
@media (prefers-reduced-motion: reduce) { .rc-parx-ic { animation: none; } }
/* a call for help on the server console (console_signals.js), as the SPA's red strip */
.bn-tile.rc-sos { background: var(--bn-fire); color: #fff; gap: 4px; }
.bn-tile.rc-sos .bn-tile-title, .bn-tile.rc-sos .bn-small { color: #fff; }
#rc-signals[hidden], #rc-signals:empty { display: none; }
/* Potrebujem pomoc (owner 2026-11-29): small, easy to find, never a big red
   button to hit by chance; a 3 s countdown with Zrušiť follows the tap */
.rc-sos-row { display: flex; justify-content: flex-end; }
.rc-sos-wrap { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rc-chip.rc-sos-chip { color: var(--bn-fire-ink); border-color: var(--bn-fire-ink); background: transparent; font-weight: 700; }
/* Potrebujem pomoc on the person's own answer line (owner 2026-12-04, no
   longer a row of its own): a small SOS button at the line's end, the
   same height as the IDEM chip */
.rc-sos-btn { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 0 12px; box-sizing: border-box; border: 1.5px solid var(--bn-fire-ink); border-radius: 999px;
  background: transparent; color: var(--bn-fire-ink); font: inherit; font-size: 14px; font-weight: 800;
  letter-spacing: .04em; white-space: nowrap; cursor: pointer; }
.rc-sos-btn svg { width: 16px; height: 16px; flex: none; }
.rc-sos-btn[hidden] { display: none; }
.rc-sos-sheet > div { align-items: center; text-align: center; }
.rc-sos-count { font-size: 64px; font-weight: 800; line-height: 1; color: var(--bn-fire); font-variant-numeric: tabular-nums; }
.rc-sos-sheet .bn-btn--block { width: 100%; }
.rc-sos-sheet { position: fixed; inset: 0; z-index: 70; background: rgba(16, 24, 40, .55); display: flex;
  align-items: flex-end; justify-content: center; }
.rc-sos-sheet > div { background: var(--bn-tile); color: var(--bn-ink); width: min(520px, 100%); border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 10px; }
/* Ľudia grouped by vehicle (owner 2026-11-29): the head over a vehicle's
   IDEM rows - SPA console/groups.js and the server's crew_groups.js */
.rc-cgroup { display: flex; align-items: center; gap: 8px; width: 100%; box-sizing: border-box; min-height: 40px;
  padding: 8px 14px 6px; border: 0; border-top: 1px solid var(--bn-line); background: var(--bn-tile-2, transparent);
  color: var(--bn-ink); font: inherit; font-size: 13px; text-align: left; }
button.rc-cgroup { cursor: pointer; }
.rc-cgroup-ic { display: inline-flex; color: var(--bn-muted); }
.rc-cgroup-ic svg, .rc-cgroup-edit svg { width: 16px; height: 16px; }
.rc-cgroup-name { font-weight: 800; letter-spacing: .01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-cgroup-n { color: var(--bn-muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.rc-cgroup-chip { height: 22px; font-size: 11px; flex: none; }
.rc-cgroup-edit { margin-left: auto; display: inline-flex; color: var(--bn-muted); }
.rc-cgroup-chip + .rc-cgroup-edit, .rc-cgroup-n + .rc-cgroup-edit { margin-left: auto; }
