/* ==========================================================================
   beyond-feed admin — the Bet Beyond Admin design system.
   Everything below the font faces is apps/web/bb-admin/app/globals.css from
   beyond-stack, verbatim, except that the --disp/--body/--mono tokens name the
   embedded fonts instead of next/font variables. Keep it that way: change the
   design there and copy it over, so both admins stay one design.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
}

/* ==========================================================================
   Bet Beyond Admin — global styles
   Ported verbatim from the Claude Design source "Bet Beyond Admin.dc.html".
   Only change: the --disp / --body / --mono font tokens are wired to the
   next/font CSS variables instead of hard-coded family names.
   ========================================================================== */

html,
body {
  margin: 0;
  height: 100%;
}

.bb {
  --bb-bg: #0a0e14;
  --bb-side: #07090d;
  --bb-side-hover: #121821;
  --bb-side-active: rgba(61, 214, 156, 0.12);
  --bb-panel: #0d1117;
  --bb-low: #121821;
  --bb-mid: #171d27;
  --bb-high: #1e2531;
  --bb-text: #e6e8ee;
  --bb-dim: #a8adbb;
  --bb-faint: #8b909e;
  --bb-emerald: #3dd69c;
  --bb-emerald-dk: #006c4e;
  --bb-em12: rgba(61, 214, 156, 0.12);
  --bb-em22: rgba(61, 214, 156, 0.22);
  --bb-em45: rgba(61, 214, 156, 0.45);
  --bb-border: rgba(255, 255, 255, 0.07);
  --bb-border-hi: rgba(255, 255, 255, 0.12);
  --bb-warn: #ffc859;
  --bb-err: #ff6b6b;
  --bb-on-em: #002113;
  /* Primary CTA surface: deep emerald gradient with white text — same
     recipe as the auth pages. Never black text on mint. */
  --bb-cta-grad: linear-gradient(180deg, #1fbd84 0%, #0c8a5c 100%);
  --bb-cta-fg: #f7fffb;
  --bb-card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 26px rgba(0, 0, 0, 0.26);
  --bb-card-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 34px rgba(0, 0, 0, 0.34);
  --bb-ambient-a: rgba(61, 214, 156, 0.07);
  --bb-ambient-b: rgba(96, 148, 255, 0.05);
  --bb-topbar-sheen: rgba(255, 255, 255, 0.045);
  --bb-scroll-shadow: rgba(0, 0, 0, 0.45);
  --disp: "Manrope", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
  font-family: var(--body);
  color: var(--bb-text);
  /* Native tables/form controls otherwise keep the light-scheme CanvasText
     (near-black), which is unreadable on the dark panel. */
  color-scheme: dark;
}

.bb[data-mode="light"] {
  /* Canvas sits one tonal step below the white columns/cards so the layout
     reads as layered surfaces instead of one flat white sheet. */
  --bb-bg: #f2f3ef;
  --bb-side: #ffffff;
  --bb-side-hover: #f0f0eb;
  --bb-side-active: rgba(31, 179, 125, 0.1);
  --bb-panel: #ffffff;
  --bb-low: #f6f6f2;
  --bb-mid: #f0f0eb;
  --bb-high: #e8e8e2;
  --bb-text: #1a1f26;
  --bb-dim: #5a6270;
  --bb-faint: #6c7480;
  /* Darker text-emerald: the bright mint (#1fb37d) washes out on white and
     misses contrast for small text. Soft fills below keep the brighter base. */
  --bb-emerald: #0c8a5c;
  --bb-emerald-dk: #064e33;
  --bb-em12: rgba(31, 179, 125, 0.1);
  --bb-em22: rgba(31, 179, 125, 0.22);
  --bb-em45: rgba(31, 179, 125, 0.45);
  --bb-border: rgba(20, 30, 40, 0.09);
  --bb-border-hi: rgba(20, 30, 40, 0.15);
  --bb-warn: #b8810c;
  --bb-err: #d6394f;
  --bb-on-em: #ffffff;
  /* Two shadow layers: tight contact shadow + soft ambient falloff. */
  --bb-card-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(24, 36, 48, 0.06),
    0 8px 22px rgba(24, 36, 48, 0.07);
  --bb-card-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(24, 36, 48, 0.07),
    0 12px 28px rgba(24, 36, 48, 0.11);
  --bb-ambient-a: rgba(31, 179, 125, 0.16);
  --bb-ambient-b: rgba(70, 120, 255, 0.1);
  --bb-topbar-sheen: rgba(20, 30, 40, 0.03);
  --bb-scroll-shadow: rgba(24, 36, 48, 0.12);
  color-scheme: light;
}

.bb table,
.bb td {
  color: var(--bb-text);
}

/* Depth cue under the topbar, faded in only while the content is scrolled —
   in light mode the only other separation is the 1px signature line. */
.bb-scrollshadow {
  position: absolute;
  top: 88px;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: none;
  z-index: 30;
  background: linear-gradient(180deg, var(--bb-scroll-shadow), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.bb-scrollshadow[data-on="true"] {
  opacity: 1;
}

/* Keyboard focus: emerald ring on everything focusable. Inputs keep their
   own border+glow recipe instead of a double outline. */
.bb :focus-visible {
  outline: 2px solid var(--bb-em45);
  outline-offset: 2px;
  border-radius: 4px;
}
.bb .ipt:focus-visible,
.bb .bb-searchbox:focus-visible {
  outline: none;
}

/* Checkboxes: native controls ship the browser's blue accent, which clashes
   with the theme — restyled to the emerald recipe (same gradient fill as
   the CTAs and avatar tiles, white check). */
.bb input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin: 0;
  border-radius: 5px;
  border: 1px solid var(--bb-border-hi);
  background: var(--bb-low);
  cursor: pointer;
  vertical-align: middle;
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
.bb input[type="checkbox"]:hover:not(:disabled) {
  border-color: var(--bb-em45);
  box-shadow: 0 0 0 3px var(--bb-em12);
}
.bb input[type="checkbox"]:checked {
  border-color: rgba(31, 189, 132, 0.9);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f7fffb' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.8l4.8 4.7L19.5 6.8'/%3E%3C/svg%3E")
      center / 11px no-repeat,
    var(--bb-cta-grad);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 8px rgba(12, 138, 92, 0.35);
}
.bb input[type="checkbox"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Hover feedback in light mode: brightness(1.08) is invisible on white
   surfaces, so light darkens instead of brightens. */
.bb[data-mode="light"] .pressable:hover {
  filter: brightness(0.96);
}

.bb *,
.bb *::before,
.bb *::after {
  box-sizing: border-box;
}

.bb-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--bb-border-hi) transparent;
}
.bb-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.bb-scroll::-webkit-scrollbar-thumb {
  background: var(--bb-border-hi);
  border-radius: 6px;
}
.bb-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.bb-noscroll::-webkit-scrollbar {
  display: none;
}
.bb-noscroll {
  scrollbar-width: none;
}

/* Static ambient depth behind the working area. Deliberately not animated:
   the dashboard is a long-session surface, so the glows must stay calm. */
.bb-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      1000px 480px at 60% -120px,
      var(--bb-ambient-a),
      transparent 70%
    ),
    radial-gradient(
      820px 520px at 108% 108%,
      var(--bb-ambient-b),
      transparent 72%
    );
}

/* Shared card recipe: glassy top edge, soft elevation, calm hover lift. */
.bb-card {
  background: var(--bb-panel);
  border: 1px solid var(--bb-border-hi);
  border-radius: 12px;
  box-shadow: var(--bb-card-shadow);
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
}
.bb-card:hover {
  box-shadow: var(--bb-card-shadow-hover);
}

/* Nested review cases (Auszahlungsprüfung): idle is quiet, hover names
   the active card with the same emerald language as the sidebar. */
.bb-review-item {
  padding: 11px;
  border: 1px solid var(--bb-border);
  border-radius: 8px;
  background: var(--bb-low);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    transform 0.16s ease;
}
.bb-review-item:hover {
  border-color: color-mix(in srgb, var(--bb-emerald) 42%, var(--bb-border));
  background: color-mix(in srgb, var(--bb-emerald) 8%, var(--bb-low));
  box-shadow:
    inset 3px 0 0 color-mix(in srgb, var(--bb-emerald) 55%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .bb-review-item {
    transition:
      border-color 0.16s ease,
      box-shadow 0.16s ease,
      background 0.16s ease;
  }
  .bb-review-item:hover {
    transform: none;
  }
}

.navitem {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Taller rows = comfortable ~40px click target; extra left padding keeps
     icon/text clear of the accent bar. */
  padding: 10.5px 10px 10.5px 14px;
  /* Nearly square left corners so the full-height accent bar sits flush
     without bending around a radius — same recipe as the org-switcher
     active row. Invisible on idle rows (no background there). */
  border-radius: 4px 7px 7px 4px;
  cursor: pointer;
  position: relative;
  color: var(--bb-text);
  transition: background 0.12s;
}
.navitem .navico {
  color: var(--bb-dim);
  transition: color 0.15s;
}
.navitem:hover {
  background: linear-gradient(
    90deg,
    var(--bb-em12) 0%,
    var(--bb-side-hover) 65%
  );
  box-shadow: inset 0 0 0 1px var(--bb-em22);
  transform: translateX(2px);
}
.navitem:hover .navico {
  color: var(--bb-emerald);
}
.navitem[data-active="true"] {
  /* Tinted fill, slightly stronger towards the accent bar — matches the
     org-switcher active row. */
  background: linear-gradient(90deg, var(--bb-em22), var(--bb-em12) 55%);
  color: var(--bb-emerald);
}
/* Accent bar lives inside the pill: flush with its left edge, full height. */
.navitem .navbar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 4px 0 0 4px;
  background: var(--bb-emerald);
  box-shadow: 0 0 10px rgba(61, 214, 156, 0.4);
  opacity: 0;
  transition: opacity 0.15s;
}
.navitem:hover .navbar {
  opacity: 0.45;
}
.navitem[data-active="true"] .navbar {
  opacity: 1;
}
.navitem[data-active="true"] .navico {
  color: var(--bb-emerald);
}

.pressable {
  transition:
    transform 0.12s,
    background 0.15s,
    opacity 0.15s,
    box-shadow 0.15s,
    color 0.15s,
    filter 0.15s,
    border-color 0.15s;
}
.pressable:hover {
  filter: brightness(1.08);
}
/* In-page hits (events, compliance cards, buttons): same language as the
   sidebar — left emerald bar, inset ring, mint wash. Nav items keep their
   own recipe; table rows use .trow:hover (pseudo overlays don't work on tr). */
.pressable:not(.navitem):not(.trow):hover:not(:disabled) {
  filter: none;
  box-shadow:
    inset 3px 0 0 color-mix(in srgb, var(--bb-emerald) 45%, transparent),
    inset 0 0 0 1px var(--bb-em22),
    inset 110px 0 64px -28px var(--bb-em12);
}
.pressable:active {
  transform: scale(0.98);
}

/* Language switch: slim pill with a globe glyph and a sliding emerald thumb.
   Kept visually distinct from the org switcher card (no border box, no
   avatar, fully rounded, translucent). Works on the topbar and auth hero. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 4px 0 11px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bb-low) 70%, transparent);
  border: 1px solid var(--bb-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.lang-switch:hover {
  border-color: var(--bb-border-hi);
}
.lang-switch-globe {
  display: grid;
  place-items: center;
  color: var(--bb-faint);
  transition: color 0.15s;
}
.lang-switch:hover .lang-switch-globe {
  color: var(--bb-dim);
}
.lang-switch-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 34px;
  height: 26px;
  padding: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bb-side) 55%, transparent);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.lang-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 34px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bb-emerald) 30%, var(--bb-high)) 0%,
    color-mix(in srgb, var(--bb-emerald) 16%, var(--bb-high)) 100%
  );
  border: 1px solid var(--bb-em45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 2px 8px -2px rgba(0, 0, 0, 0.6),
    0 0 12px -4px var(--bb-em45);
  transition: transform 0.22s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}
.lang-switch-track[data-active="1"] .lang-switch-thumb {
  transform: translateX(34px);
}
.lang-switch-opt {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  height: 22px;
  padding: 0;
  border-radius: 999px;
  font: 700 10.5px var(--mono);
  letter-spacing: 0.6px;
  color: var(--bb-faint);
  cursor: pointer;
  transition: color 0.18s;
}
.lang-switch-opt:hover {
  color: var(--bb-dim);
}
.lang-switch-opt[data-active="true"] {
  color: var(--bb-emerald);
  cursor: default;
}
.lang-switch-opt:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--bb-em45);
}
.bb[data-mode="light"] .lang-switch-track {
  box-shadow: inset 0 1px 2px rgba(20, 30, 40, 0.12);
}
.bb[data-mode="light"] .lang-switch-thumb {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bb-emerald) 22%, #ffffff) 0%,
    color-mix(in srgb, var(--bb-emerald) 12%, #ffffff) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 6px -2px rgba(20, 30, 40, 0.3);
}
.bb[data-mode="light"] .lang-switch-opt[data-active="true"] {
  color: var(--bb-emerald-dk);
}
@media (prefers-reduced-motion: reduce) {
  .lang-switch-thumb {
    transition: none;
  }
}

/* Sidebar scroll hints: soft fades over the nav edges (pointer-events off so
   the nav stays clickable) plus a pulsing chevron while more items are below
   the fold. Toggled via data-show from a scroll/resize observer. */
.bb .sb-scrollhint {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.bb .sb-scrollhint[data-show="true"] {
  opacity: 1;
}
/* Eased gradient stops (not linear) so the fade reads as depth, not a bar. */
.bb .sb-scrollhint[data-edge="top"] {
  top: 0;
  height: 44px;
  background: linear-gradient(
    180deg,
    var(--bb-side) 0%,
    color-mix(in srgb, var(--bb-side) 80%, transparent) 30%,
    color-mix(in srgb, var(--bb-side) 40%, transparent) 65%,
    transparent 100%
  );
}
.bb .sb-scrollhint[data-edge="bottom"] {
  bottom: 0;
  height: 84px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in srgb, var(--bb-side) 35%, transparent) 30%,
    color-mix(in srgb, var(--bb-side) 78%, transparent) 60%,
    var(--bb-side) 100%
  );
}
/* Frosted glass chip: hairline border, blurred backdrop, dim glyph that turns
   emerald on hover. Clickable (scrolls one page) even though the fade is not. */
.bb .sb-scrollhint-chevron {
  pointer-events: auto;
  appearance: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 20px;
  border-radius: 999px;
  color: var(--bb-dim);
  background: color-mix(in srgb, var(--bb-high) 70%, transparent);
  border: 1px solid var(--bb-border-hi);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 16px -6px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s,
    background 0.15s,
    transform 0.15s;
  animation: sb-scrollhint-breathe 2.6s ease-in-out infinite;
}
.bb .sb-scrollhint-chevron svg {
  transition: transform 0.15s;
}
.bb .sb-scrollhint-chevron:hover {
  color: var(--bb-emerald);
  border-color: var(--bb-em45);
  background: color-mix(in srgb, var(--bb-em12) 60%, var(--bb-high));
  animation-play-state: paused;
}
.bb .sb-scrollhint-chevron:hover svg {
  transform: translateY(1px);
}
.bb .sb-scrollhint-chevron:active {
  transform: scale(0.94);
}
.bb .sb-scrollhint-chevron:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--bb-em22);
}
@keyframes sb-scrollhint-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bb .sb-scrollhint-chevron {
    animation: none;
  }
}

/* Sidebar profile footer: a docked panel that runs edge to edge and sits on
   the bottom of the sidebar (no floating box). Hairline top rule plus a
   subtle lift from the sidebar surface; the avatar sits in a soft emerald
   halo, the role reads as a status pill and the two icon actions are grouped
   into one segmented control. */
.bb .sb-user {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bb-low) 55%, var(--bb-side)) 0%,
    var(--bb-low) 100%
  );
  border-top: 1px solid var(--bb-border);
  /* Upward shadow lets the docked footer sit "on top" of the scrolling nav. */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 -14px 28px -18px rgba(0, 0, 0, 0.85);
  transition: background 0.15s;
}
.bb .sb-user:hover {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bb-low) 75%, var(--bb-side)) 0%,
    color-mix(in srgb, var(--bb-low) 85%, var(--bb-high)) 100%
  );
}
.bb .sb-user-avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bb-cta-grad);
  color: var(--bb-cta-fg);
  font-family: var(--disp);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 2px var(--bb-low),
    0 0 0 3px var(--bb-em22),
    0 6px 14px rgba(12, 138, 92, 0.3);
}
.bb .sb-user-role {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 10px 0 9px;
  border-radius: 999px;
  background: var(--bb-em12);
  border: 1px solid var(--bb-em22);
  color: var(--bb-emerald);
  font: 600 10.5px var(--mono);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  max-width: max-content;
}
.bb .sb-user-role-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--bb-emerald);
  box-shadow: 0 0 0 3px var(--bb-em22);
}
.bb .sb-user-actions {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: stretch;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--bb-border);
  background: var(--bb-panel);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.bb .sb-user-action {
  appearance: none;
  border: 0;
  background: transparent;
  width: 32px;
  display: grid;
  place-items: center;
  color: var(--bb-dim);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.bb .sb-user-action + .sb-user-action {
  border-left: 1px solid var(--bb-border);
}
.bb .sb-user-action:hover {
  background: var(--bb-em12);
  color: var(--bb-emerald);
}
.bb .sb-user-action[data-tone="exit"]:hover {
  background: color-mix(in srgb, var(--bb-err) 12%, transparent);
  color: var(--bb-err);
}
.bb .sb-user-action:active {
  transform: translateY(0.5px);
}
.bb .sb-user-action:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--bb-em45);
}
.bb[data-mode="light"] .sb-user {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Destructive actions (end session, revoke, delete): quiet ghost button in
   the error hue that answers hover in red instead of the emerald wash used
   by every other .pressable. Disabled = already done → neutral, no red. */
.bb .btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--bb-err) 28%, transparent);
  background: color-mix(in srgb, var(--bb-err) 6%, transparent);
  color: var(--bb-err);
  font: 10px var(--mono);
  letter-spacing: 0.3px;
  white-space: nowrap;
  cursor: pointer;
}
.bb .btn-danger::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bb-err) 18%, transparent);
  transition: box-shadow 0.15s;
}
.bb .pressable.btn-danger:not(.navitem):hover:not(:disabled) {
  filter: none;
  background: color-mix(in srgb, var(--bb-err) 14%, transparent);
  border-color: color-mix(in srgb, var(--bb-err) 60%, transparent);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--bb-err) 22%, transparent),
    0 6px 18px -8px color-mix(in srgb, var(--bb-err) 55%, transparent);
}
.bb .pressable.btn-danger:hover:not(:disabled)::before {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--bb-err) 28%, transparent);
}
.bb .btn-danger:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bb-err) 30%, transparent);
}
.bb .btn-danger:disabled {
  cursor: default;
  color: var(--bb-faint);
  background: transparent;
  border-color: var(--bb-border);
}
.bb .btn-danger:disabled::before {
  background: var(--bb-faint);
  box-shadow: none;
  opacity: 0.6;
}
.bb .btn-danger[data-size="md"] {
  height: 32px;
}

/* Topbar breadcrumb: ancestor crumbs are real navigation. Buttons inherit
   the mono/uppercase voice of the bar and answer hover in emerald. */
.bb-crumb {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--bb-dim);
  cursor: pointer;
  transition: color 0.15s;
}
.bb-crumb:hover {
  color: var(--bb-emerald);
}

/* Org switcher (topbar): trigger elevation + open glow ring, row hovers. */
/* The dropdown panel is portaled to <body> so it stacks above every app
   layer (incl. the topbar signature line, which used to shine through the
   in-column panel). Fixed position is set inline from the trigger rect. */
.orgswitch-panel {
  position: fixed;
  width: min(400px, 92vw);
  background: var(--bb-panel);
  border: 1px solid var(--bb-border-hi);
  border-radius: 14px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 900;
  transform-origin: top right;
  animation: orgswitchIn 0.16s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes orgswitchIn {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.orgswitch {
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.orgswitch:hover {
  border-color: var(--bb-border-hi);
  box-shadow: var(--bb-card-shadow);
}
.orgswitch[data-open="true"] {
  border-color: var(--bb-em45);
  box-shadow:
    0 0 0 3px var(--bb-em12),
    var(--bb-card-shadow);
}
.orgswitch-row {
  transition: background 0.15s ease;
}
.orgswitch-row:hover:not(:disabled) {
  background: linear-gradient(
    90deg,
    var(--bb-em12) 0%,
    var(--bb-side-hover) 65%
  );
  box-shadow: inset 0 0 0 1px var(--bb-em22);
}
/* Active row: full-height accent bar, flush with the tinted field. The row's
   left corners are nearly square (set inline) so the straight bar doesn't
   bend around a radius and read like a bracket. */
.orgswitch-row[data-active] {
  position: relative;
  /* Persistent hover-style fill, slightly stronger towards the accent bar. */
  background: linear-gradient(90deg, var(--bb-em22), var(--bb-em12) 55%);
}
.orgswitch-row[data-active]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 4px 0 0 4px;
  background: var(--bb-emerald);
  box-shadow: 0 0 10px rgba(61, 214, 156, 0.4);
}

/* Emerald gradient action tile — shared look for "create/choose org" prompts.
   Replaces the former dashed boxes with the same premium recipe as the
   avatar tiles; data-pulse adds a soft breathing ring as a call to action. */
.bb-cta-tile {
  border-radius: 10px;
  background: var(--bb-cta-grad);
  color: var(--bb-cta-fg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 12px rgba(12, 138, 92, 0.28);
}
.bb-cta-tile[data-pulse] {
  animation: bbGlowPulse 2.8s ease-out infinite;
}
@keyframes bbGlowPulse {
  0% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 4px 12px rgba(12, 138, 92, 0.28),
      0 0 0 0 rgba(61, 214, 156, 0.38);
  }
  60% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 4px 12px rgba(12, 138, 92, 0.28),
      0 0 0 8px rgba(61, 214, 156, 0);
  }
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.28),
      0 4px 12px rgba(12, 138, 92, 0.28),
      0 0 0 0 rgba(61, 214, 156, 0);
  }
}

.trow {
  cursor: pointer;
  transition:
    background 0.12s,
    box-shadow 0.15s;
}
.trow:hover {
  background: linear-gradient(90deg, var(--bb-em12) 0%, var(--bb-low) 72%);
  box-shadow:
    inset 3px 0 0 color-mix(in srgb, var(--bb-emerald) 45%, transparent),
    inset 0 0 0 1px var(--bb-em22);
}

.pill {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid;
}
.pill[data-kind="ok"] {
  color: var(--bb-emerald);
  background: var(--bb-em12);
  border-color: var(--bb-em22);
}
.pill[data-kind="warn"] {
  color: var(--bb-warn);
  background: rgba(255, 200, 89, 0.1);
  border-color: rgba(255, 200, 89, 0.4);
}
.pill[data-kind="err"] {
  color: var(--bb-err);
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.4);
}
.pill[data-kind="neutral"] {
  color: var(--bb-dim);
  background: var(--bb-low);
  border-color: var(--bb-border);
}
/* Light mode: fills/borders built from the darkened warn/err text tones —
   the bright dark-mode amber/red at low alpha is invisible on white. */
.bb[data-mode="light"] .pill[data-kind="warn"] {
  background: rgba(184, 129, 12, 0.09);
  border-color: rgba(184, 129, 12, 0.38);
}
.bb[data-mode="light"] .pill[data-kind="err"] {
  background: rgba(214, 57, 79, 0.08);
  border-color: rgba(214, 57, 79, 0.38);
}

.ipt {
  width: 100%;
  height: 38px;
  background: var(--bb-low);
  border: 1px solid var(--bb-border);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--bb-text);
  font-family: var(--body);
  font-size: 13px;
  outline: none;
}
.ipt:focus {
  border-color: var(--bb-em45);
  box-shadow: 0 0 0 3px var(--bb-em12);
}
.ipt::placeholder {
  color: var(--bb-faint);
}
/* Light mode: white field with a visible border and a faint contact inset
   reads cleaner than gray-on-white. */
.bb[data-mode="light"] .ipt {
  background: #ffffff;
  border-color: var(--bb-border-hi);
  box-shadow: inset 0 1px 2px rgba(24, 36, 48, 0.05);
}
.bb[data-mode="light"] .ipt:focus {
  border-color: var(--bb-em45);
  box-shadow:
    inset 0 1px 2px rgba(24, 36, 48, 0.04),
    0 0 0 3px var(--bb-em12);
}

/* Topbar search field — surface lives here (not inline) so light mode can
   restyle it. */
.bb-searchbox {
  background: var(--bb-low);
  border: 1px solid var(--bb-border);
}
.bb[data-mode="light"] .bb-searchbox {
  background: #ffffff;
  border-color: var(--bb-border-hi);
  box-shadow: inset 0 1px 2px rgba(24, 36, 48, 0.05);
}

@keyframes bbFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fade {
  animation: bbFadeUp 0.25s var(--ease, cubic-bezier(0.2, 0, 0, 1)) both;
}

@keyframes bbPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}
.pulse {
  animation: bbPulse 1.2s ease-in-out infinite;
}

.subtab {
  color: var(--bb-dim);
  border-bottom: 2px solid transparent;
  border-radius: 8px 8px 0 0;
  transition:
    color 0.15s,
    background 0.15s,
    box-shadow 0.15s;
}
.subtab:hover {
  color: var(--bb-text);
  background: var(--bb-em12);
}
.subtab[data-active="true"] {
  color: var(--bb-emerald);
  border-bottom-color: var(--bb-emerald);
}

/* ---- Auth stage (login / signup / password flows) ----
   Split layout: brand storytelling on the left, glass form card on the
   right, drifting emerald/blue glows and a faint engineering grid behind
   everything. Collapses to the centered card below 920px. */
.auth-stage {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      1100px 700px at 10% -12%,
      rgba(61, 214, 156, 0.06),
      transparent 60%
    ),
    radial-gradient(
      900px 620px at 112% 118%,
      rgba(76, 141, 214, 0.07),
      transparent 60%
    ),
    var(--bb-bg);
  color: var(--bb-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
/* Diagonal aurora band sweeping behind the split — the "depth" layer that
   keeps the page from reading as flat black. */
.auth-band {
  position: absolute;
  inset: -25%;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(61, 214, 156, 0.12) 45%,
    rgba(76, 141, 214, 0.12) 61%,
    transparent 76%
  );
  filter: blur(48px);
  transform: rotate(-6deg);
  animation: authBand 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes authBand {
  from {
    transform: rotate(-6deg) translateX(-3%);
  }
  to {
    transform: rotate(-6deg) translateX(3%);
  }
}
.auth-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    125% 125% at 50% 42%,
    transparent 52%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}
/* Film grain: kills gradient banding and gives the dark surface a material
   feel. Inline SVG turbulence, no asset needed. */
.auth-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .auth-band {
    animation: none;
  }
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.auth-orb[data-tone="emerald"] {
  width: 480px;
  height: 480px;
  top: -160px;
  left: -120px;
  background: rgba(61, 214, 156, 0.14);
  animation: authDrift 16s ease-in-out infinite alternate;
}
.auth-orb[data-tone="blue"] {
  width: 540px;
  height: 540px;
  right: -160px;
  bottom: -220px;
  background: rgba(76, 141, 214, 0.12);
  animation: authDrift 21s ease-in-out infinite alternate-reverse;
}
@keyframes authDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(60px, 40px, 0) scale(1.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-orb {
    animation: none;
  }
}

.auth-split {
  position: relative;
  display: flex;
  align-items: center;
  gap: 72px;
  width: min(1080px, 100%);
}
.auth-brand {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.auth-headline {
  margin: 0;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.1;
  letter-spacing: -1.2px;
}
/* Gradient ink instead of flat emerald, with a whisper of glow. */
.auth-headline em {
  font-style: normal;
  background: linear-gradient(100deg, #7ef0c3, #3dd69c 55%, #23c08a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(61, 214, 156, 0.22));
}
.auth-sub {
  margin: 0;
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--bb-dim);
}
.auth-feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.auth-fico {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(
    160deg,
    rgba(61, 214, 156, 0.2),
    rgba(61, 214, 156, 0.04)
  );
  border: 1px solid var(--bb-em22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--bb-emerald);
}
.auth-ftitle {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
}
.auth-fcopy {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--bb-dim);
}
/* Ops-console status chip: mono type in a hairline terminal frame. */
.auth-status {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 8px;
  border: 1px solid var(--bb-border-hi);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--bb-dim);
}
.auth-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bb-emerald);
  box-shadow: 0 0 10px rgba(61, 214, 156, 0.9);
}
.auth-console-line {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--bb-faint);
}
/* Staggered entrance: each element sets --ri (reveal index). */
.reveal {
  animation: bbFadeUp 0.55s var(--ease, cubic-bezier(0.2, 0, 0, 1)) both;
  animation-delay: calc(var(--ri, 0) * 80ms);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}

/* Managed-platform chips: proof for the "Alle Marken" claim. The dashed
   muted chip stands in for tenants that stay unnamed. */
.auth-brands-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--bb-faint);
}
.auth-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--bb-border-hi);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 600;
  color: var(--bb-dim);
  white-space: nowrap;
}
.auth-chip .cdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.auth-chip[data-muted="true"] {
  border-style: dashed;
  color: var(--bb-faint);
  background: transparent;
}

/* Cursor spotlight: brightens the glass where the mouse is. */
.auth-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, -30%),
    rgba(61, 214, 156, 0.09),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.auth-card:hover::after {
  opacity: 1;
}

/* Wrong-credentials shake. */
@keyframes authShake {
  10%,
  90% {
    transform: translateX(-1px);
  }
  20%,
  80% {
    transform: translateX(2px);
  }
  30%,
  50%,
  70% {
    transform: translateX(-4px);
  }
  40%,
  60% {
    transform: translateX(4px);
  }
}
.auth-shake {
  animation: authShake 0.5s both;
}
@media (prefers-reduced-motion: reduce) {
  .auth-shake {
    animation: none;
  }
}

/* CTA sheen sweep on hover + spinner/success states. */
.auth-cta {
  position: relative;
  overflow: hidden;
}
.auth-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  transform: skewX(-18deg);
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  opacity: 0;
  pointer-events: none;
}
.auth-cta:hover:not(:disabled)::after {
  animation: ctaSheen 0.8s ease;
}
@keyframes ctaSheen {
  from {
    left: -60%;
    opacity: 1;
  }
  to {
    left: 120%;
    opacity: 0;
  }
}
.auth-spin {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #f7fffb;
  animation: authSpin 0.7s linear infinite;
}
@keyframes authSpin {
  to {
    transform: rotate(360deg);
  }
}
.auth-capshint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--bb-warn);
}

/* Live validation hint under form fields. */
.auth-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.auth-hint[data-tone="warn"] {
  color: var(--bb-warn);
}
.auth-hint[data-tone="ok"] {
  color: var(--bb-emerald);
}

/* Field flagged after a failed submit attempt. */
.ipt[data-invalid="true"] {
  border-color: rgba(255, 107, 107, 0.55);
}
.ipt[data-invalid="true"]:focus {
  border-color: rgba(255, 107, 107, 0.75);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.12);
}

.auth-pane {
  position: relative;
  width: min(440px, 100%);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Light cone pulling the eye toward the form. */
.auth-pane::before {
  content: "";
  position: absolute;
  inset: -90px -70px;
  background: radial-gradient(
    50% 44% at 50% 42%,
    rgba(61, 214, 156, 0.1),
    transparent 72%
  );
  filter: blur(12px);
  pointer-events: none;
}
.auth-pane-logo {
  display: none;
  justify-content: center;
}
.auth-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding: 30px 28px;
  border-radius: 18px;
  /* Gradient border: emerald bleeding out at the top, steel blue at the
     bottom — painted border-box under the panel fill. */
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(22, 28, 38, 0.94), rgba(13, 17, 23, 0.9))
      padding-box,
    linear-gradient(
        180deg,
        rgba(61, 214, 156, 0.45),
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.06) 70%,
        rgba(76, 141, 214, 0.22)
      )
      border-box;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
/* Brand signature: the continuous emerald line, carried over from the
   product apps. */
.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(61, 214, 156, 0.85),
    transparent
  );
}
.auth-card .ipt {
  height: 42px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.auth-card .ipt:focus {
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--bb-em45);
  box-shadow: 0 0 0 3px var(--bb-em12);
}

/* Onboarding dialogs sit inside the admin shell and must follow
   data-mode=light. Login/signup keep the dark card via AuthShell's
   own data-mode="dark" wrapper. */
.bb[data-mode="light"] .auth-card {
  background:
    linear-gradient(180deg, #ffffff, #f7f7f3) padding-box,
    linear-gradient(
        180deg,
        rgba(31, 179, 125, 0.4),
        rgba(20, 30, 40, 0.08) 30%,
        rgba(20, 30, 40, 0.06) 70%,
        rgba(70, 120, 255, 0.16)
      )
      border-box;
  box-shadow: var(--bb-card-shadow);
}
.bb[data-mode="light"] .auth-card::after {
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, -30%),
    rgba(31, 179, 125, 0.08),
    transparent 70%
  );
}
.bb[data-mode="light"] .auth-card .ipt {
  background: #ffffff;
  border-color: var(--bb-border-hi);
  color: var(--bb-text);
  box-shadow: inset 0 1px 2px rgba(24, 36, 48, 0.05);
}
.bb[data-mode="light"] .auth-card .ipt:focus {
  background: #ffffff;
  border-color: var(--bb-em45);
  box-shadow:
    inset 0 1px 2px rgba(24, 36, 48, 0.04),
    0 0 0 3px var(--bb-em12);
}
.auth-secnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--bb-faint);
}

.auth-cta {
  height: 46px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  /* White ink on deep emerald reads more premium than dark-on-mint. */
  color: #f7fffb;
  text-shadow: 0 1px 2px rgba(0, 44, 27, 0.35);
  background: linear-gradient(180deg, #1fbd84, #0c8a5c);
  box-shadow:
    0 10px 26px rgba(20, 160, 108, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition:
    transform 0.12s,
    box-shadow 0.15s,
    filter 0.15s;
}
.auth-cta:hover:not(:disabled) {
  filter: brightness(1.08);
  box-shadow:
    0 12px 32px rgba(20, 160, 108, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.auth-cta:active:not(:disabled) {
  transform: translateY(1px) scale(0.99);
}
.auth-cta:disabled {
  background: var(--bb-high);
  color: var(--bb-faint);
  box-shadow: none;
  cursor: default;
}

@media (max-width: 920px) {
  .auth-brand {
    display: none;
  }
  .auth-split {
    justify-content: center;
  }
  .auth-pane-logo {
    display: flex;
  }
}
