@font-face {
  font-family: "TheRuckApp Rounded";
  src:
    local("Gotham Rounded SSm Bold"),
    local("Gotham Rounded SSm Medium"),
    local("Gotham Rounded Bold"),
    local("Gotham Rounded Medium"),
    local("Gotham Rounded Book"),
    local("Gotham Rounded"),
    local("GothamRoundedSSm-Bold"),
    local("GothamRoundedSSm-Medium"),
    local("GothamRounded-Bold"),
    local("GothamRounded-Medium"),
    url("fonts/Nunito-wght.ttf");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "TheRuckApp Stencil";
  src:
    local("Black Ops One"),
    local("Stencil"),
    local("Stencil Std"),
    url("fonts/BlackOpsOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body {
  font-family: var(--app-font-primary);
  font-weight: var(--bs-body-font-weight);
  background: linear-gradient(180deg, var(--app-page-bg-start) 0%, var(--app-page-bg-end) 100%);
}

:root {
  --app-font-primary: "TheRuckApp Rounded", "Gotham Rounded", "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", sans-serif;
  --app-font-stencil: "TheRuckApp Stencil", "Black Ops One", "Stencil Std", "Copperplate", "Impact", fantasy;
  --bs-font-sans-serif: var(--app-font-primary);
  --bs-body-font-family: var(--app-font-primary);
  --bs-body-font-weight: 500;
  --app-page-bg-start: #ffffff;
  --app-page-bg-end: #f7f7f7;
  --app-version-color: rgba(0, 0, 0, 0.55);
  --app-version-border: rgba(0, 0, 0, 0.12);
  --app-version-bg: rgba(255, 255, 255, 0.7);
  --app-theme-toggle-border: rgba(10, 18, 28, 0.22);
  --app-theme-toggle-bg: rgba(255, 255, 255, 0.68);
  --app-theme-toggle-color: rgba(10, 18, 28, 0.92);
  --app-theme-toggle-bg-hover: rgba(255, 255, 255, 0.92);
  --app-theme-toggle-border-hover: rgba(10, 18, 28, 0.3);
  --app-theme-toggle-focus: rgba(13, 110, 253, 0.38);
  --app-banner-kicker-color: rgba(33, 37, 41, 0.84);
  --app-banner-message-color: rgba(33, 37, 41, 0.88);
  --app-banner-action-color: rgba(33, 37, 41, 0.82);
  --app-nav-subgroup-border: rgba(0, 0, 0, 0.08);
  --app-nav-divider-start: rgba(0, 0, 0, 0.04);
  --app-nav-divider-mid: rgba(0, 0, 0, 0.15);
  --app-active-secondary-color: rgba(33, 37, 41, 0.72);
  --qr-ink: rgba(10, 18, 28, 0.92);
  --qr-paper: rgba(255, 255, 255, 0.75);
  --qr-wash: rgba(7, 20, 40, 0.06);
  --app-nav-scrollbar-track: rgba(10, 18, 28, 0.08);
  --app-nav-scrollbar-thumb: rgba(10, 18, 28, 0.32);
  --app-nav-scrollbar-thumb-hover: rgba(10, 18, 28, 0.46);
  --app-rail-width-desktop: 14rem;
  --app-rail-content-gap-desktop: 1rem;
  --app-rail-content-offset-desktop: calc(var(--app-rail-width-desktop) + var(--app-rail-content-gap-desktop));
  --app-shell-inline-pad-desktop: 0.9rem;
  --app-rail-divider-strong: rgba(0, 0, 0, 0.13);
  --app-rail-divider-soft: rgba(0, 0, 0, 0.05);
  --app-mobile-nav-height: calc(3.5rem + env(safe-area-inset-bottom, 0px));
  --app-mobile-content-end-gap: 1rem;
  --app-mobile-content-end-offset: calc(var(--app-mobile-nav-height) + var(--app-mobile-content-end-gap));
  --app-header-height: 0px;
}

html {
  scroll-padding-bottom: var(--app-mobile-content-end-offset);
}

[data-bs-theme="dark"] {
  --app-page-bg-start: #0c121c;
  --app-page-bg-end: #141d2d;
  --app-version-color: rgba(248, 249, 250, 0.82);
  --app-version-border: rgba(248, 249, 250, 0.24);
  --app-version-bg: rgba(255, 255, 255, 0.08);
  --app-theme-toggle-border: rgba(248, 249, 250, 0.26);
  --app-theme-toggle-bg: rgba(255, 255, 255, 0.09);
  --app-theme-toggle-color: rgba(248, 249, 250, 0.94);
  --app-theme-toggle-bg-hover: rgba(255, 255, 255, 0.16);
  --app-theme-toggle-border-hover: rgba(248, 249, 250, 0.38);
  --app-theme-toggle-focus: rgba(110, 168, 254, 0.45);
  --app-banner-kicker-color: rgba(248, 249, 250, 0.84);
  --app-banner-message-color: rgba(248, 249, 250, 0.9);
  --app-banner-action-color: rgba(248, 249, 250, 0.78);
  --app-nav-subgroup-border: rgba(255, 255, 255, 0.14);
  --app-nav-divider-start: rgba(255, 255, 255, 0.06);
  --app-nav-divider-mid: rgba(255, 255, 255, 0.22);
  --app-active-secondary-color: rgba(248, 249, 250, 0.72);
  --app-nav-scrollbar-track: rgba(255, 255, 255, 0.06);
  --app-nav-scrollbar-thumb: rgba(255, 255, 255, 0.26);
  --app-nav-scrollbar-thumb-hover: rgba(255, 255, 255, 0.4);
  --app-rail-divider-strong: rgba(255, 255, 255, 0.18);
  --app-rail-divider-soft: rgba(255, 255, 255, 0.07);
}

.app-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  padding: 0.5rem 0.9rem;
}

.app-header__meta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.app-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.app-brand:hover,
.app-brand:focus-visible {
  color: inherit;
  text-decoration: none;
}

.app-brand__wordmark {
  line-height: 1.1;
  white-space: nowrap;
}

.app-brand__logo {
  display: block;
  width: auto;
  height: 1.7rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.app-header__version {
  flex: 0 1 auto;
  white-space: nowrap;
  max-width: 45vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-version {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--app-version-color);
  border: 1px solid var(--app-version-border);
  background: var(--app-version-bg);
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  vertical-align: middle;
}

.app-theme-toggle {
  border-color: var(--app-theme-toggle-border);
  background: var(--app-theme-toggle-bg);
  color: var(--app-theme-toggle-color);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 4.75rem;
  line-height: 1.1;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.app-theme-toggle:hover {
  border-color: var(--app-theme-toggle-border-hover);
  background: var(--app-theme-toggle-bg-hover);
  color: var(--app-theme-toggle-color);
}

.app-theme-toggle:focus-visible {
  outline: 2px solid var(--app-theme-toggle-focus);
  outline-offset: 1px;
}

.app-theme-toggle:active {
  transform: translateY(1px);
}

.app-theme-toggle__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.app-participant-toggle {
  border-color: var(--app-theme-toggle-border);
  background: var(--app-theme-toggle-bg);
  color: var(--app-theme-toggle-color);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 7.4rem;
  line-height: 1.1;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.app-participant-toggle:hover {
  border-color: var(--app-theme-toggle-border-hover);
  background: var(--app-theme-toggle-bg-hover);
  color: var(--app-theme-toggle-color);
}

.app-participant-toggle:focus-visible {
  outline: 2px solid var(--app-theme-toggle-focus);
  outline-offset: 1px;
}

.app-participant-toggle:active {
  transform: translateY(1px);
}

.app-participant-toggle.is-active {
  border-color: rgba(25, 135, 84, 0.55);
  background: rgba(25, 135, 84, 0.12);
  color: rgba(12, 72, 44, 0.96);
}

.app-participant-toggle:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.app-participant-toggle__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

@media (max-width: 420px) {
  .app-header__meta {
    gap: 0.35rem;
  }

  .app-header__version {
    max-width: 30vw;
  }

  .app-theme-toggle {
    min-width: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .app-participant-toggle {
    min-width: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .app-theme-toggle__label {
    display: none;
  }

  .app-participant-toggle__label {
    display: none;
  }
}

[data-bs-theme="dark"] .app-participant-toggle.is-active {
  border-color: rgba(25, 135, 84, 0.78);
  background: rgba(25, 135, 84, 0.34);
  color: rgba(236, 255, 246, 0.95);
}

.app-main {
  /* Prevent content from being obscured by the fixed bottom navbar. */
  padding-bottom: var(--app-mobile-content-end-offset);
  min-width: 0;
}

.app-main > * {
  min-width: 0;
}

.app-main,
.app-bottom-nav,
.app-header__inner {
  transition: padding-left 0.15s ease, padding-right 0.15s ease, padding-bottom 0.15s ease, transform 0.15s ease;
}

.app-bottom-nav {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.rucktimer-review-rail-toggle {
  position: fixed;
  top: 5.85rem;
  left: calc(var(--app-rail-width-desktop) - 1.25rem);
  z-index: 1040;
  width: 2.7rem;
  height: 2.7rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(15, 24, 31, 0.18);
  transition: left 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

[data-bs-theme="dark"] .rucktimer-review-rail-toggle {
  box-shadow: 0 14px 28px rgba(2, 6, 8, 0.42);
}

.global-alert-banner-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.global-alert-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 0.85rem;
  text-decoration: none;
  color: inherit;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.global-alert-banner:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.global-alert-banner:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.38);
  outline-offset: 1px;
}

.global-alert-banner--info {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.16), rgba(13, 110, 253, 0.08));
  border-color: rgba(13, 110, 253, 0.34);
}

.global-alert-banner--warning {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.23), rgba(255, 193, 7, 0.12));
  border-color: rgba(154, 107, 0, 0.42);
}

.global-alert-banner--critical {
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.24), rgba(220, 53, 69, 0.12));
  border-color: rgba(176, 42, 55, 0.52);
}

.global-alert-banner__kicker {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--app-banner-kicker-color);
}

.global-alert-banner__title {
  grid-column: 1 / -1;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
}

.global-alert-banner__message {
  grid-column: 1 / 2;
  font-size: 0.9rem;
  color: var(--app-banner-message-color);
}

.global-alert-banner__action {
  grid-column: 2 / 3;
  align-self: end;
  justify-self: end;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--app-banner-action-color);
}

.alert-detail-shell {
  max-width: 760px;
  margin: 0 auto;
}

.alert-detail-card {
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.alert-detail-card--info {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.16), rgba(13, 110, 253, 0.08));
  border-color: rgba(13, 110, 253, 0.34);
}

.alert-detail-card--warning {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.23), rgba(255, 193, 7, 0.12));
  border-color: rgba(154, 107, 0, 0.42);
}

.alert-detail-card--critical {
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.24), rgba(220, 53, 69, 0.12));
  border-color: rgba(176, 42, 55, 0.52);
}

.alert-detail-card__eyebrow {
  margin-bottom: 0.45rem;
  color: var(--app-banner-kicker-color);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.alert-detail-card__title {
  margin: 0 0 0.65rem;
  color: var(--app-banner-message-color);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
}

.alert-detail-card__message {
  color: var(--app-banner-message-color);
  font-size: 1.02rem;
  line-height: 1.65;
  white-space: pre-wrap;
}

.alert-detail-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.alert-detail-card__action-form {
  display: grid;
}

@media (max-width: 575.98px) {
  .alert-detail-card {
    padding: 1rem;
  }

  .alert-detail-card__actions > .btn,
  .alert-detail-card__actions > form {
    width: 100%;
  }

  .alert-detail-card__action-form .btn {
    width: 100%;
  }
}

.participant-mode-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.85rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 193, 7, 0.44);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.08));
}

.participant-mode-banner__title {
  font-size: 0.98rem;
  font-weight: 700;
}

.participant-mode-banner__meta {
  font-size: 0.86rem;
  color: var(--app-banner-message-color);
}

.first-visit-role-banner {
  border: 1px solid rgba(13, 110, 253, 0.3);
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.17), rgba(13, 110, 253, 0.07));
  border-radius: 0.8rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  color: inherit;
  padding: 0.72rem 0.86rem;
}

.first-visit-role-banner__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.42rem;
}

.first-visit-role-banner__title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
}

.first-visit-role-banner__close {
  flex: 0 0 auto;
  opacity: 0.78;
  margin: -0.08rem -0.08rem 0 0;
}

.first-visit-role-banner__close:hover {
  opacity: 1;
}

.first-visit-role-banner__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
}

.first-visit-role-banner__dismiss {
  font-weight: 600;
  text-decoration: none;
}

.first-visit-role-banner__dismiss:hover,
.first-visit-role-banner__dismiss:focus-visible {
  text-decoration: underline;
}

.global-safety-alert-modal .modal-content {
  border-radius: 0.95rem;
  overflow: hidden;
}

.global-safety-alert-modal__header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.global-safety-alert-modal__header--info {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.18), rgba(13, 110, 253, 0.09));
}

.global-safety-alert-modal__header--warning {
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.24), rgba(255, 193, 7, 0.11));
}

.global-safety-alert-modal__header--critical {
  background: linear-gradient(180deg, rgba(220, 53, 69, 0.26), rgba(220, 53, 69, 0.13));
}

.military-ack-modal .modal-content {
  border-radius: 0.95rem;
  overflow: hidden;
}

.military-ack-modal__content {
  position: relative;
}

.military-ack-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
}

.military-ack-modal__body {
  padding-top: 1.2rem;
  padding-bottom: 0.5rem;
  padding-right: 2.25rem;
}

.military-ack-modal__insignia {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.22rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.military-ack-modal__fallback-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(25, 135, 84, 0.25);
  background: rgba(25, 135, 84, 0.12);
  color: rgba(25, 135, 84, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex: 0 0 auto;
}

.military-ack-modal__message {
  line-height: 1.25;
}

.military-ack-modal__toggle {
  opacity: 0.85;
}

.military-ack-modal__toggle .form-check-input {
  cursor: pointer;
}

.military-ack-modal__toggle .form-check-label {
  cursor: pointer;
  user-select: none;
}

[data-bs-theme="dark"] .global-alert-banner {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .global-alert-banner:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.42);
}

[data-bs-theme="dark"] .participant-mode-banner {
  border-color: rgba(255, 193, 7, 0.52);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.28), rgba(255, 193, 7, 0.12));
}

[data-bs-theme="dark"] .first-visit-role-banner {
  border-color: rgba(110, 168, 254, 0.54);
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.32), rgba(13, 110, 253, 0.15));
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .first-visit-role-banner__dismiss {
  color: rgba(248, 249, 250, 0.82);
}

[data-bs-theme="dark"] .global-safety-alert-modal__header {
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

[data-bs-theme="dark"] .military-ack-modal__insignia {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(18, 26, 40, 0.9);
}

#app-nav-mobile-trigger {
  display: block;
}

#app-nav-mobile-trigger .app-mobile-menu-trigger {
  display: inline-flex;
  width: 100%;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  color: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

#app-nav-mobile-trigger .app-mobile-menu-trigger:hover {
  color: inherit;
  opacity: 0.95;
}

#app-nav-mobile-trigger .app-mobile-menu-trigger:focus-visible {
  outline: 2px solid var(--app-theme-toggle-focus);
  outline-offset: 2px;
}

#app-nav-mobile-trigger .app-mobile-menu-trigger:active {
  opacity: 0.85;
}

#app-nav-mobile-trigger .app-mobile-menu-trigger__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.96;
}

#app-nav-mobile-trigger .app-mobile-menu-trigger__label {
  font-size: 1.1rem;
  line-height: 1;
}

#app-nav-desktop-links {
  display: none;
}

.app-nav-offcanvas-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.app-nav-offcanvas-title__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.96;
}

.app-bottom-nav-list {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overflow-y: visible;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

#appNavOffcanvas .offcanvas-body {
  overflow-y: auto;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--app-nav-scrollbar-thumb) var(--app-nav-scrollbar-track);
}

#appNavOffcanvas .offcanvas-body::-webkit-scrollbar {
  width: 0.55rem;
  height: 0.55rem;
}

#appNavOffcanvas .offcanvas-body::-webkit-scrollbar-track {
  background: var(--app-nav-scrollbar-track);
  border-radius: 999px;
}

#appNavOffcanvas .offcanvas-body::-webkit-scrollbar-thumb {
  background: var(--app-nav-scrollbar-thumb);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: padding-box;
}

#appNavOffcanvas .offcanvas-body:hover::-webkit-scrollbar-thumb {
  background: var(--app-nav-scrollbar-thumb-hover);
  background-clip: padding-box;
}

.app-nav-subgroup {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.app-nav-group-collapse {
  position: relative;
}

.app-nav-group-collapse.show,
.app-nav-group-collapse.collapsing {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}

.app-nav-group-collapse.show::after,
.app-nav-group-collapse.collapsing::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--app-nav-divider-start), var(--app-nav-divider-mid), var(--app-nav-divider-start));
  pointer-events: none;
}

.app-nav-vertical-collapse > .app-nav-subgroup {
  transition: opacity 0.18s ease, transform 0.18s ease;
  opacity: 0;
  transform: translateY(-0.35rem);
}

.app-nav-vertical-collapse.show > .app-nav-subgroup,
.app-nav-vertical-collapse.collapsing > .app-nav-subgroup {
  opacity: 1;
  transform: translateY(0);
}

.app-nav-subgroup .list-group-item {
  border-color: var(--app-nav-subgroup-border);
}

.app-nav-toggle-caret {
  transition: transform 0.18s ease;
}

.app-about-toggle[aria-expanded="true"] .app-nav-toggle-caret,
.app-about-toggle[data-bs-toggle="collapse"][aria-expanded="true"] .app-nav-toggle-caret,
.app-tool-group-toggle[aria-expanded="true"] .app-nav-toggle-caret,
.app-tool-group-toggle[data-bs-toggle="collapse"][aria-expanded="true"] .app-nav-toggle-caret {
  transform: rotate(180deg);
}

.app-nav-subgroup-mobile .list-group-item {
  border-color: var(--app-nav-subgroup-border);
}

.app-nav-subgroup-mobile {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.app-bottom-nav .app-tool-group-toggle.active,
.app-bottom-nav .app-about-toggle.active {
  color: var(--bs-body-color);
}

.app-bottom-nav .nav-link.active {
  color: var(--bs-emphasis-color);
  background: rgba(var(--bs-dark-rgb), 0.05);
  border-bottom-color: rgba(var(--bs-dark-rgb), 0.72);
}

.app-bottom-nav .nav-link.active,
#appNavOffcanvas .list-group-item-action.active,
#appNavOffcanvas .app-tool-group-toggle.active,
#appNavOffcanvas .app-about-toggle.active {
  color: var(--bs-emphasis-color);
}

.app-bottom-nav .app-tool-group-toggle.active .text-body-secondary,
.app-bottom-nav .app-about-toggle.active .text-body-secondary {
  color: var(--app-active-secondary-color) !important;
}

.app-bottom-nav .app-tool-group-toggle.active,
.app-bottom-nav .app-about-toggle.active,
#appNavOffcanvas .list-group-item-action.active,
#appNavOffcanvas .app-tool-group-toggle.active,
#appNavOffcanvas .app-about-toggle.active {
  background-color: rgba(var(--bs-dark-rgb), 0.05);
  border-color: rgba(var(--bs-dark-rgb), 0.16);
}

.app-bottom-nav .app-nav-subgroup .list-group-item-action.active,
.app-bottom-nav .app-nav-subgroup-mobile .list-group-item-action.active {
  color: var(--bs-body-color);
  background-color: rgba(13, 110, 253, 0.10);
  border-color: rgba(13, 110, 253, 0.18);
}

[data-bs-theme="dark"] .app-bottom-nav .nav-link.active {
  background: rgba(var(--bs-primary-rgb), 0.12);
  border-bottom-color: rgba(var(--bs-primary-rgb), 0.82);
}

[data-bs-theme="dark"] .app-bottom-nav .app-tool-group-toggle.active,
[data-bs-theme="dark"] .app-bottom-nav .app-about-toggle.active,
[data-bs-theme="dark"] #appNavOffcanvas .list-group-item-action.active,
[data-bs-theme="dark"] #appNavOffcanvas .app-tool-group-toggle.active,
[data-bs-theme="dark"] #appNavOffcanvas .app-about-toggle.active {
  background-color: rgba(var(--bs-primary-rgb), 0.16);
  border-color: rgba(var(--bs-primary-rgb), 0.3);
}

[data-bs-theme="dark"] .app-bottom-nav .app-nav-subgroup .list-group-item-action.active,
[data-bs-theme="dark"] .app-bottom-nav .app-nav-subgroup-mobile .list-group-item-action.active {
  background-color: rgba(13, 110, 253, 0.2);
  border-color: rgba(110, 168, 254, 0.45);
}

@media (min-width: 768px) {
  :root {
    --app-mobile-nav-height: 0px;
    --app-mobile-content-end-offset: 1rem;
  }

  .app-header__inner {
    padding-left: calc(var(--app-rail-content-offset-desktop) + var(--app-shell-inline-pad-desktop));
    padding-right: var(--app-shell-inline-pad-desktop);
  }

  .app-brand__logo {
    height: 2.05rem;
  }

  .app-header__version {
    max-width: none;
  }

  #app-nav-mobile-trigger {
    display: none;
  }

  #app-nav-desktop-links {
    display: flex;
  }

  .app-bottom-nav {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: var(--app-rail-width-desktop);
    height: 100vh;
    border-top: 0;
    border-right: 1px solid var(--app-rail-divider-strong);
    overflow: hidden;
    padding-bottom: 0;
  }

  .app-bottom-nav .container-fluid {
    height: 100%;
    align-items: stretch;
    justify-content: flex-start;
    padding-left: var(--app-shell-inline-pad-desktop);
    padding-right: var(--app-shell-inline-pad-desktop);
  }

  .app-bottom-nav-list {
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.1rem;
    align-items: stretch;
    width: 100%;
    height: 100%;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .app-bottom-nav-list::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .app-main {
    padding-left: var(--app-rail-content-offset-desktop);
    padding-bottom: 1rem;
  }
}

.app-nav-subgroup .list-group-item-action {
  background-color: transparent;
}

.app-attention-badge {
  min-width: 1.35rem;
  padding: 0.18rem 0.38rem;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.admin-email {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

[data-bs-theme="dark"] .admin-email {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.admin-role-check .form-check-input {
  margin-top: 0.18rem;
}

.admin-table thead th {
  white-space: nowrap;
}

.admin-search {
  max-width: 520px;
}

.access-role-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  min-height: 2rem;
}

.alert-role-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.55rem;
}

.alert-role-chip-item {
  min-width: 0;
}

.alert-role-chip {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(10, 18, 28, 0.22);
  border-radius: 0.7rem;
  padding: 0.5rem 0.6rem;
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.alert-role-chip-title {
  color: var(--bs-body-color);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.alert-role-chip-key {
  color: var(--bs-secondary-color);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.alert-role-chip-description {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  line-height: 1.25;
}

.alert-role-chip-input:focus-visible + .alert-role-chip {
  border-color: rgba(13, 110, 253, 0.62);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.22);
}

.alert-role-chip-input:checked + .alert-role-chip {
  border-color: rgba(25, 92, 187, 0.7);
  background: rgba(13, 110, 253, 0.1);
  box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.24);
}

.alert-banner-control {
  border: 1px solid rgba(10, 18, 28, 0.2);
  border-radius: 0.8rem;
  padding: 0.7rem 0.85rem;
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.08), rgba(255, 255, 255, 0.94));
}

.alert-banner-control-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.alert-banner-control-copy {
  color: var(--bs-secondary-color);
  font-size: 0.83rem;
  line-height: 1.35;
}

.alert-banner-control-switch .form-check-input {
  width: 2.85rem;
  height: 1.35rem;
  margin-top: 0;
  border-color: rgba(10, 18, 28, 0.32);
  cursor: pointer;
}

.alert-banner-control-switch .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.alert-banner-control-switch .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}

.alerting-admin-list {
  display: grid;
  gap: 1rem;
}

.alert-admin-card {
  border: 1px solid rgba(10, 18, 28, 0.14);
  border-radius: 1rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.alert-admin-card__main {
  display: grid;
  gap: 0.9rem;
}

.alert-admin-card__editor {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.alert-admin-card__side {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.alert-admin-card__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.alert-admin-card__metric,
.alert-admin-card__persist {
  border: 1px solid rgba(10, 18, 28, 0.12);
  border-radius: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: rgba(13, 110, 253, 0.04);
}

.alert-admin-card__metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.alert-admin-card__metric-label {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.alert-admin-card__metric-value {
  color: var(--bs-body-color);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.alert-admin-card__persist {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.alert-admin-card__persist .form-check-input {
  width: 2.85rem;
  height: 1.35rem;
  margin-top: 0;
  border-color: rgba(10, 18, 28, 0.32);
  cursor: pointer;
}

.alert-admin-card__persist .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.alert-admin-card__persist .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.2);
}

.alert-admin-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.alert-admin-card__actions .btn {
  flex: 1 1 140px;
}

.alert-admin-card__audience {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(10, 18, 28, 0.1);
}

@media (max-width: 767.98px) {
  .alert-role-chip-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .alert-admin-card__main {
    grid-template-columns: minmax(0, 2.15fr) minmax(260px, 1fr);
    align-items: start;
  }
}

[data-bs-theme="dark"] .alert-role-chip {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(19, 25, 32, 0.84);
}

[data-bs-theme="dark"] .alert-role-chip-input:checked + .alert-role-chip {
  border-color: rgba(129, 187, 255, 0.72);
  background: rgba(37, 109, 198, 0.28);
}

[data-bs-theme="dark"] .alert-banner-control {
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.25), rgba(18, 24, 32, 0.92));
}

[data-bs-theme="dark"] .alert-role-chip-title {
  color: rgba(239, 245, 255, 0.96);
}

[data-bs-theme="dark"] .alert-role-chip-key,
[data-bs-theme="dark"] .alert-role-chip-description {
  color: rgba(214, 226, 246, 0.82);
}

[data-bs-theme="dark"] .alert-banner-control-copy {
  color: rgba(214, 226, 246, 0.85);
}

[data-bs-theme="dark"] .alert-banner-control-switch .form-check-input {
  border-color: rgba(214, 226, 246, 0.66);
}

[data-bs-theme="dark"] .alert-admin-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(19, 25, 32, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .alert-admin-card__metric,
[data-bs-theme="dark"] .alert-admin-card__persist {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(37, 109, 198, 0.16);
}

[data-bs-theme="dark"] .alert-admin-card__metric-value {
  color: rgba(239, 245, 255, 0.96);
}

[data-bs-theme="dark"] .alert-admin-card__metric-label,
[data-bs-theme="dark"] .alert-admin-card__audience .text-body-secondary,
[data-bs-theme="dark"] .alert-admin-card__side .text-body-secondary {
  color: rgba(214, 226, 246, 0.82) !important;
}

[data-bs-theme="dark"] .alert-admin-card__persist .form-check-input {
  border-color: rgba(214, 226, 246, 0.66);
}

[data-bs-theme="dark"] .alert-admin-card__audience {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.access-control-page td .access-role-checkbox-grid .admin-role-check {
  margin: 0;
}

.permissions-page .table,
.access-control-page .table,
.dashboard-tiles-admin-page .table,
.alerting-admin-page .table {
  width: 100%;
  table-layout: fixed;
}

.permissions-page .table th,
.permissions-page .table td,
.access-control-page .table th,
.access-control-page .table td,
.dashboard-tiles-admin-page .table th,
.dashboard-tiles-admin-page .table td,
.alerting-admin-page .table th,
.alerting-admin-page .table td {
  white-space: normal;
  overflow-wrap: anywhere;
  vertical-align: top;
}

.participant-mode-status-card .h5 {
  margin-bottom: 0.2rem;
}

.participant-mode-subject {
  background: rgba(13, 110, 253, 0.08);
  border: 1px solid rgba(13, 110, 253, 0.18);
}

.participant-mode-results-table td,
.participant-mode-results-table th {
  vertical-align: middle;
}

.participant-mode-guide summary {
  cursor: pointer;
}

.participant-mode-guide-steps {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.participant-mode-guide-gallery figcaption {
  margin-top: 0.45rem;
  color: var(--bs-secondary-color);
  font-size: 0.84rem;
  line-height: 1.35;
}

.participant-mode-guide-shot {
  width: 100%;
  border-color: rgba(10, 18, 28, 0.16);
}

[data-bs-theme="dark"] .participant-mode-subject {
  background: rgba(13, 110, 253, 0.16);
  border-color: rgba(110, 168, 254, 0.38);
}

[data-bs-theme="dark"] .participant-mode-guide-shot {
  border-color: rgba(255, 255, 255, 0.24);
}

@media (min-width: 768px) {
  .admin-shell-main.app-main {
    padding-left: var(--app-rail-content-offset-desktop);
    padding-right: var(--app-shell-inline-pad-desktop);
  }

  .admin-shell-main .admin-gutter-shell {
    position: relative;
    padding-left: var(--app-rail-content-gap-desktop);
  }

  .admin-shell-main .admin-gutter-shell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 1px;
    background: linear-gradient(180deg, var(--app-rail-divider-strong), var(--app-rail-divider-soft));
    pointer-events: none;
  }
}

@media (min-width: 992px) {
  body[data-rt-review-rail="1"] .admin-shell-main.app-main {
    padding-left: calc(var(--app-rail-width-desktop) + 0.35rem);
    padding-right: 0.5rem;
  }

  body[data-rt-review-rail="1"] .admin-shell-main .admin-gutter-shell {
    padding-left: 0;
  }

  body[data-rt-review-rail="1"] .admin-shell-main .admin-gutter-shell::before {
    display: none;
  }

  html[data-rt-review-rail-collapsed="true"] body[data-rt-review-rail="1"] .app-bottom-nav {
    transform: translateX(calc(-100% - 1.25rem));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  html[data-rt-review-rail-collapsed="true"] body[data-rt-review-rail="1"] .app-header__inner,
  html[data-rt-review-rail-collapsed="true"] body[data-rt-review-rail="1"] .app-main,
  html[data-rt-review-rail-collapsed="true"] body[data-rt-review-rail="1"] .admin-shell-main.app-main {
    padding-left: var(--app-shell-inline-pad-desktop);
  }

  html[data-rt-review-rail-collapsed="true"] body[data-rt-review-rail="1"] .admin-shell-main.app-main {
    padding-right: var(--app-shell-inline-pad-desktop);
  }

  html[data-rt-review-rail-collapsed="true"] body[data-rt-review-rail="1"] .rucktimer-review-rail-toggle {
    left: 0.7rem;
  }
}

.team-roster-report .team-roster-summary-card {
  min-height: 100%;
  border: 1px solid rgba(10, 18, 28, 0.08);
}

.team-pace-page .team-pace-summary-card {
  border: 1px solid rgba(10, 18, 28, 0.08);
  overflow: hidden;
}

.team-pace-page .team-pace-summary-value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.05;
}

.team-pace-page .team-pace-advanced > summary {
  cursor: pointer;
  list-style: none;
}

.team-pace-page .team-pace-advanced > summary::-webkit-details-marker {
  display: none;
}

.team-pace-page .team-pace-team-card {
  border: 1px solid rgba(10, 18, 28, 0.12);
  overflow: hidden;
}

.team-pace-page .team-pace-team-toggle {
  transition: background-color 0.15s ease;
}

.team-pace-page .team-pace-team-card:hover .team-pace-team-toggle {
  background: rgba(13, 110, 253, 0.03);
}

.team-pace-page .team-pace-team-toggle:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.3);
  outline-offset: -2px;
}

.team-pace-page .team-pace-team-head {
  min-width: 0;
}

.team-pace-page .team-pace-seed-badge {
  border: 1px solid rgba(10, 18, 28, 0.14);
  font-weight: 600;
}

.team-pace-page .team-pace-drag-handle {
  letter-spacing: -0.14em;
  user-select: none;
}

.team-pace-page .team-pace-inline-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.team-pace-page .team-pace-metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 18, 28, 0.12);
  background: rgba(10, 18, 28, 0.03);
  font-size: 0.77rem;
  line-height: 1.2;
}

.team-pace-page .team-pace-chip-label {
  color: var(--bs-secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.team-pace-page .team-pace-chip-value {
  font-weight: 600;
}

.team-pace-page .team-pace-team-caret {
  transition: transform 0.18s ease;
}

.team-pace-page .team-pace-team-toggle[aria-expanded="true"] .team-pace-team-caret {
  transform: rotate(180deg);
}

.team-pace-page .team-pace-member-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.team-pace-page .team-pace-member-line {
  font-size: 0.83rem;
  line-height: 1.3;
}

.team-pace-page .team-pace-seed-input {
  width: 5.5rem;
}

.team-pace-page .js-team-pace-row {
  cursor: move;
}

.team-pace-page .js-team-pace-row.is-team-pace-dragging {
  opacity: 0.55;
}

@media (max-width: 767.98px) {
  .team-pace-page .team-pace-summary-value {
    font-size: 1.65rem;
  }

  .team-pace-page .team-pace-inline-metrics {
    justify-content: flex-start;
  }
}

.alerting-admin-table {
  min-width: min(920px, 100%);
}

.team-roster-report .team-roster-team-card {
  border: 1px solid rgba(10, 18, 28, 0.12);
  overflow: hidden;
}

.team-roster-report .team-roster-team-toggle {
  transition: background-color 0.15s ease;
  padding: 0.55rem 0.75rem;
}

.team-roster-report .team-roster-team-card:hover .team-roster-team-toggle {
  background: rgba(13, 110, 253, 0.03);
}

.team-roster-report .team-roster-team-caret {
  transition: transform 0.18s ease;
}

.team-roster-report .team-roster-team-toggle[aria-expanded="true"] .team-roster-team-caret {
  transform: rotate(180deg);
}

.team-roster-report .team-roster-toggle-hint {
  font-size: 0.74rem;
  letter-spacing: 0.01em;
}

.team-roster-report .team-roster-summary-value {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.05;
}

.team-roster-report .team-roster-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.team-roster-report .team-roster-row--fail {
  border-left: 4px solid rgba(220, 53, 69, 0.8);
}

.team-roster-report .team-roster-row--review {
  border-left: 4px solid rgba(255, 193, 7, 0.9);
}

.team-roster-report .team-roster-row--ok {
  border-left: 4px solid rgba(25, 135, 84, 0.75);
}

.team-roster-report .team-roster-collapsed-desktop {
  min-height: 2.4rem;
}

.team-roster-report .team-roster-inline-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.team-roster-report .team-roster-inline-metric-label {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(33, 37, 41, 0.7);
}

.team-roster-report .team-roster-metric {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 2.5rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.team-roster-report .team-roster-metric--ok {
  color: #0f5132;
  background: rgba(25, 135, 84, 0.16);
  border-color: rgba(25, 135, 84, 0.32);
}

.team-roster-report .team-roster-metric--fail {
  color: #842029;
  background: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.3);
}

.team-roster-report .team-roster-collapsed-desktop .team-roster-metric {
  min-width: 2.1rem;
  padding: 0.05rem 0.4rem;
  font-size: 0.84rem;
}

.team-roster-report .team-roster-mobile-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.6rem;
}

.team-roster-report .team-roster-mobile-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  padding: 0.2rem 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
  background: rgba(7, 20, 40, 0.02);
}

.team-roster-report .team-roster-mobile-metric .team-roster-inline-metric-label {
  font-size: 0.67rem;
}

.team-roster-report .team-roster-mobile-metric .team-roster-metric {
  min-width: 2rem;
  padding: 0.05rem 0.35rem;
  font-size: 0.82rem;
}

.team-roster-report .team-roster-team-list .list-group-item {
  border-color: rgba(0, 0, 0, 0.08);
}

.team-roster-report .team-roster-team-member--captain {
  background: rgba(255, 193, 7, 0.08);
}

@media (min-width: 992px) {
  .team-roster-report .team-roster-team-list--desktop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.4rem;
    padding: 0.45rem;
    background: rgba(7, 20, 40, 0.015);
  }

  .team-roster-report .team-roster-team-list--desktop-grid .team-roster-team-member {
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 0.55rem;
    padding: 0.42rem 0.5rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.8);
  }

  .team-roster-report .team-roster-team-list--desktop-grid .team-roster-team-member-content {
    align-items: flex-start;
    gap: 0.35rem;
  }
}

.docs-group-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.docs-group-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.docs-group-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
}

.docs-group-icon i {
  font-size: 1.5rem;
}

.docs-group-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.docs-guide-body {
  display: grid;
  gap: 1rem;
  line-height: 1.65;
}

.docs-guide-body > :first-child {
  margin-top: 0;
}

.docs-guide-body h1,
.docs-guide-body h2,
.docs-guide-body h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.45rem;
}

.docs-guide-body img {
  display: block;
  width: 100%;
  max-width: 32rem;
  height: auto;
  border-radius: 0.9rem;
  border: 1px solid rgba(10, 18, 28, 0.12);
  box-shadow: 0 10px 24px rgba(10, 18, 28, 0.08);
}

.docs-guide-body p,
.docs-guide-body ul,
.docs-guide-body ol {
  margin-bottom: 0.9rem;
}

.docs-guide-body code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  background: rgba(15, 23, 42, 0.06);
}

.docs-guide-body blockquote {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid rgba(13, 110, 253, 0.42);
  background: rgba(13, 110, 253, 0.06);
  border-radius: 0 0.75rem 0.75rem 0;
}

.docs-admin-page {
  width: 100%;
  min-width: 0;
}

.docs-admin-catalog-body {
  max-height: none;
  overflow: visible;
  padding-bottom: 0.35rem;
}

.docs-admin-toast-stack {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  width: min(460px, calc(100vw - 2rem));
}

.docs-admin-toast {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.docs-admin-section {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.docs-admin-section-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(248, 249, 250, 0.8);
}

.docs-admin-group-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(13, 110, 253, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #0d6efd;
}

.docs-admin-group-icon-glyph {
  line-height: 1;
}

.docs-admin-group-icon-img {
  object-fit: cover;
  border-radius: 4px;
}

.docs-admin-group-accordion .accordion-button {
  padding: 0.55rem 0.75rem;
}

.docs-admin-group-summary-grid {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(220px, 2fr) minmax(78px, auto) minmax(64px, auto) minmax(120px, 1fr) 42px;
  gap: 0.5rem;
  align-items: center;
}

.docs-admin-group-name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-admin-group-drag-handle {
  font-size: 0.95rem;
  line-height: 1;
  color: #6c757d;
  cursor: grab;
  user-select: none;
}

.docs-admin-group-drag-handle:active {
  cursor: grabbing;
}

.docs-admin-group-item.is-group-dragging {
  opacity: 0.65;
  border-color: rgba(13, 110, 253, 0.6);
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.2);
}

.docs-admin-group-icon-preview {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(248, 249, 250, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.docs-admin-accordion .accordion-button {
  padding: 0.5rem 0.75rem;
}

.docs-admin-section .docs-admin-accordion {
  padding: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.docs-admin-doc-item {
  border: 1px solid rgba(13, 110, 253, 0.16);
  border-radius: 10px;
  overflow: hidden;
}

.docs-admin-doc-item .accordion-button {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
}

.docs-admin-doc-item .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.16);
}

.docs-admin-doc-item .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.07), rgba(13, 110, 253, 0.02));
  color: inherit;
  box-shadow: none;
}

.docs-admin-doc-item .accordion-collapse {
  scroll-margin-top: 1rem;
}

.docs-admin-doc-item .accordion-body {
  padding: 0.95rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.88));
}

.docs-admin-doc-summary {
  align-items: center;
  padding-right: 1rem;
}

.docs-admin-doc-summary-grid {
  display: grid;
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
  grid-template-columns: 22px minmax(220px, 2fr) max-content max-content max-content minmax(120px, 1fr) minmax(110px, 0.9fr) max-content;
  gap: 0.5rem;
  align-items: center;
  padding-right: 0.35rem;
}

.docs-admin-doc-drag-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.docs-admin-doc-item.is-doc-dragging {
  opacity: 0.65;
  border-color: rgba(13, 110, 253, 0.6);
  box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.2);
}

.docs-admin-doc-title {
  font-weight: 600;
}

.docs-admin-col-title,
.docs-admin-col-version,
.docs-admin-col-updated {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-admin-col-status,
.docs-admin-col-type,
.docs-admin-col-groups,
.docs-admin-col-dirty {
  justify-self: start;
}

.docs-admin-col-updated {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.docs-admin-unsaved {
  font-size: 0.75rem;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.docs-admin-pill {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.docs-admin-field-dirty {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 0.15rem rgba(245, 158, 11, 0.2);
}

.docs-admin-create-step-nav {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
  padding-bottom: 0.55rem;
}

.docs-admin-action-card {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.92));
  margin-bottom: 0.75rem;
}

.docs-admin-action-card:last-child {
  margin-bottom: 0;
}

.docs-admin-action-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.docs-admin-action-card .row {
  margin-left: 0;
  margin-right: 0;
}

.docs-admin-action-card .row > * {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

.docs-admin-inline-feedback .alert,
.js-doc-inline-feedback .alert {
  margin-bottom: 0;
}

.docs-admin-version-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0;
}

.docs-admin-danger-card {
  border-color: rgba(220, 53, 69, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(220, 53, 69, 0.05));
}

@media (max-width: 1499.98px) {
  .docs-admin-page {
    min-width: 0;
  }

  .docs-admin-group-summary-grid {
    grid-template-columns: minmax(160px, 2fr) 90px 72px 36px;
  }

  .docs-admin-doc-summary-grid {
    grid-template-columns: minmax(170px, 2fr) max-content max-content max-content minmax(120px, 1fr);
  }

  .js-group-summary-links {
    display: none;
  }

  .docs-admin-col-updated,
  .docs-admin-col-dirty {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .docs-admin-toast-stack {
    right: 0.5rem;
    top: 0.5rem;
    width: calc(100vw - 1rem);
  }
}

.qr-admin-page {
  gap: 1rem;
}

.qr-admin-hero {
  background:
    radial-gradient(760px 250px at 0% 0%, rgba(var(--bs-primary-rgb), 0.16), transparent 60%),
    radial-gradient(700px 240px at 100% 10%, rgba(var(--bs-secondary-rgb), 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(245, 236, 225, 0.9));
}

.qr-admin-toast-stack {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  width: min(420px, calc(100vw - 2rem));
  pointer-events: none;
}

.qr-admin-toast {
  pointer-events: auto;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  margin-bottom: 0.5rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.qr-admin-toast.is-leaving {
  opacity: 0;
  transform: translateY(-4px);
}

.qr-admin-link-card {
  border: 1px solid rgba(0, 0, 0, 0.11);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.qr-admin-link-card:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.34);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.qr-admin-link-card.is-dirty {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 0 0.18rem rgba(245, 158, 11, 0.18);
}

.qr-admin-link-card.is-dragging {
  opacity: 0.65;
  transform: scale(0.995);
  border-color: rgba(var(--bs-primary-rgb), 0.56);
}

.system-health-page {
  gap: 1rem;
}

.system-health-hero {
  background:
    radial-gradient(720px 250px at 8% 0%, rgba(6, 90, 120, 0.16), transparent 58%),
    radial-gradient(760px 260px at 95% 12%, rgba(170, 108, 24, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 248, 0.88));
}

.system-health-kpi-grid .card {
  border: 1px solid rgba(10, 18, 28, 0.08);
}

.system-health-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.system-health-card:hover {
  transform: translateY(-1px);
  border-color: rgba(13, 110, 253, 0.24);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.system-health-value {
  font-size: clamp(1.2rem, 1rem + 1.1vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.system-health-path {
  display: block;
  margin-top: 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.75);
  white-space: normal;
  word-break: break-word;
}

.system-health-sync-table {
  min-width: min(860px, 100%);
}

.system-health-sync-table td,
.system-health-sync-table th {
  vertical-align: middle;
}

.system-health-storage-summary {
  margin-bottom: 0.1rem;
}

.system-health-storage-pill {
  border: 1px solid rgba(10, 18, 28, 0.1);
  border-radius: 10px;
  padding: 0.6rem 0.72rem;
  background: rgba(255, 255, 255, 0.78);
  min-height: 86px;
}

.system-health-storage-chart-card {
  border: 1px solid rgba(10, 18, 28, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.7rem 0.8rem;
}

.system-health-storage-chart-slot {
  min-height: 220px;
}

.system-health-storage-chart-wrap {
  display: grid;
  grid-template-columns: minmax(180px, 210px) 1fr;
  align-items: start;
  gap: 0.85rem;
}

.system-health-storage-pie-wrap {
  position: relative;
  width: min(210px, 100%);
  margin: 0 auto;
}

.system-health-storage-pie {
  display: block;
  width: 100%;
  height: auto;
}

.system-health-storage-pie-slice {
  cursor: pointer;
  stroke: rgba(255, 255, 255, 0.74);
  stroke-width: 1.2px;
  transition: opacity 0.15s ease, stroke-width 0.15s ease;
}

.system-health-storage-pie-slice:hover {
  opacity: 0.88;
}

.system-health-storage-pie-slice.is-active {
  stroke: rgba(10, 18, 28, 0.9);
  stroke-width: 2.8px;
}

.system-health-storage-pie-center {
  position: absolute;
  inset: 29% 29%;
  border-radius: 999px;
  border: 1px solid rgba(10, 18, 28, 0.14);
  background: rgba(255, 255, 255, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  padding: 0.25rem;
}

.system-health-storage-pie-center-total {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.system-health-storage-pie-center-label {
  font-size: 0.72rem;
  color: var(--bs-secondary-color);
}

.system-health-storage-legend {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.system-health-storage-legend-item {
  border: 1px solid rgba(10, 18, 28, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  width: 100%;
  text-align: left;
  padding: 0.36rem 0.48rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.42rem;
  align-items: center;
}

.system-health-storage-legend-item:hover {
  border-color: rgba(13, 110, 253, 0.35);
}

.system-health-storage-legend-item.is-active {
  border-color: rgba(13, 110, 253, 0.62);
  box-shadow: 0 0 0 0.12rem rgba(13, 110, 253, 0.18);
}

.system-health-storage-legend-swatch {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  display: inline-block;
}

.system-health-storage-legend-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.85rem;
}

.system-health-storage-legend-value {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

.system-health-storage-details {
  border: 1px solid rgba(10, 18, 28, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 0.7rem 0.8rem;
}

.system-health-storage-details .list-group-item {
  background: transparent;
  border-left: 0;
  border-right: 0;
}

@media (max-width: 991.98px) {
  .system-health-storage-chart-wrap {
    grid-template-columns: 1fr;
  }
}

.runsignup-ops-page {
  gap: 1rem;
}

.runsignup-ops-hero {
  background:
    radial-gradient(760px 240px at 8% 0%, rgba(6, 90, 120, 0.14), transparent 58%),
    radial-gradient(780px 280px at 95% 10%, rgba(170, 108, 24, 0.12), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 248, 0.88));
}

.runsignup-ops-sync-table {
  min-width: min(900px, 100%);
}

.runsignup-ops-sync-table td,
.runsignup-ops-sync-table th {
  vertical-align: middle;
}

.runsignup-ops-events-table {
  min-width: min(780px, 100%);
}

.alerting-admin-table th,
.alerting-admin-table td,
.system-health-sync-table th,
.system-health-sync-table td,
.runsignup-ops-sync-table th,
.runsignup-ops-sync-table td,
.runsignup-ops-events-table th,
.runsignup-ops-events-table td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.runsignup-ops-count-tile {
  border: 1px solid rgba(10, 18, 28, 0.1);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: rgba(255, 255, 255, 0.75);
  min-height: 92px;
}

.runsignup-ops-count-value {
  font-size: clamp(1.05rem, 0.95rem + 0.9vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.runsignup-ops-inline-code {
  display: block;
  white-space: normal;
  word-break: break-word;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.4rem 0.55rem;
}

.runsignup-ops-json-view {
  background: #0f172a;
  color: #d5def0;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.85rem;
  max-height: 460px;
  overflow: auto;
  font-size: 0.82rem;
}

.qr-admin-summary-btn {
  color: inherit;
  width: 100%;
}

.qr-admin-summary-btn:focus-visible {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.45);
  outline-offset: 2px;
  border-radius: 0.4rem;
}

.qr-admin-drag-handle {
  cursor: grab;
  line-height: 1;
  align-self: center;
}

.qr-admin-drag-handle:active {
  cursor: grabbing;
}

.qr-admin-field-dirty {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 0.15rem rgba(245, 158, 11, 0.2);
}

@media (max-width: 767.98px) {
  .qr-admin-toast-stack {
    top: 0.5rem;
    right: 0.5rem;
    width: calc(100vw - 1rem);
  }

  .qr-admin-drag-handle {
    align-self: flex-start;
  }

  .qr-admin-summary-btn .badge {
    font-size: 0.7rem;
  }

  .runsignup-ops-count-tile {
    min-height: auto;
  }
}

.qr-hero {
  background:
    radial-gradient(900px 260px at 10% 0%, rgba(var(--bs-primary-rgb), 0.14), transparent 55%),
    radial-gradient(700px 300px at 90% 30%, rgba(var(--bs-secondary-rgb), 0.12), transparent 60%),
    linear-gradient(180deg, var(--qr-paper), rgba(255, 251, 245, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.qr-title {
  letter-spacing: -0.02em;
  color: var(--qr-ink);
}

.qr-hint code {
  font-size: 0.9em;
}

.qr-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.95);
}

.qr-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.18);
}

.qr-panel {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 1rem;
  align-items: start;
}

.qr-svg-wrap {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(246, 238, 228, 0.82));
  padding: 0.6rem;
}

.qr-svg {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

.qr-svg svg {
  width: 100%;
  height: auto;
  max-width: 320px;
}

.qr-url code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  white-space: normal;
  word-break: break-word;
  background: rgba(255, 251, 245, 0.84);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
}

@media (max-width: 767.98px) {
  .qr-panel {
    grid-template-columns: 1fr;
  }

  .qr-svg svg {
    max-width: 280px;
  }
}

.media-gallery-page {
  --media-card-border: rgba(0, 0, 0, 0.10);
  --media-card-shadow: rgba(12, 22, 38, 0.08);
  --media-preview-bg: linear-gradient(180deg, rgba(24, 34, 48, 0.12), rgba(10, 18, 28, 0.22));
}

.media-upload-form-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.media-gallery-grid .col {
  min-width: 0;
}

.media-gallery-card {
  border: 1px solid var(--media-card-border);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
  overflow: hidden;
}

.media-gallery-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 12px 26px var(--media-card-shadow);
}

.media-preview-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.media-preview-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--media-preview-bg);
  overflow: hidden;
}

.media-preview-img,
.media-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-preview-video {
  pointer-events: none;
}

.media-preview-video-placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(18, 31, 42, 0.94), rgba(34, 55, 72, 0.92));
}

.media-preview-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(6, 10, 18, 0.34));
  pointer-events: none;
}

.media-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 13, 22, 0.62);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 1.35rem;
  pointer-events: none;
}

.media-upload-item-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.8rem 0.9rem 0.9rem;
}

.media-upload-story-text {
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.media-upload-story-form .form-label {
  font-size: 0.82rem;
  font-weight: 600;
}

.event-photos-page {
  --event-photo-ink: #13212a;
  --event-photo-muted: #60717c;
  --event-photo-line: rgba(19, 33, 42, 0.12);
  --event-photo-panel: #fffaf2;
  --event-photo-chip: rgba(255, 249, 238, 0.92);
  --event-photo-shadow: rgba(14, 22, 32, 0.08);
  --event-photo-overlay: rgba(6, 12, 20, 0.82);
  width: 100%;
}

.event-photos-page__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--event-photo-ink);
}

.event-photos-view-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0.35rem;
  border: 1px solid rgba(19, 33, 42, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  max-width: 24rem;
}

.event-photos-view-toggle__item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  color: var(--event-photo-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.event-photos-view-toggle__item:hover,
.event-photos-view-toggle__item:focus-visible {
  color: var(--event-photo-ink);
  transform: translateY(-1px);
}

.event-photos-view-toggle__item.is-active {
  background: #172630;
  color: #fff7ea;
  box-shadow: 0 12px 22px rgba(23, 38, 48, 0.22);
}

.event-photos-results {
  display: grid;
  gap: 1rem;
}

.event-photos-results__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 0.85rem;
}

.event-photos-group-list {
  display: grid;
  gap: 1rem;
}

.event-photos-group {
  padding: 0.95rem;
  border: 1px solid var(--event-photo-line);
  border-radius: 1.1rem;
  background: var(--event-photo-panel);
  box-shadow: 0 10px 24px var(--event-photo-shadow);
}

.event-photos-group__header {
  margin-bottom: 0.9rem;
}

.event-photo-tile {
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid var(--event-photo-line);
  border-radius: 1.05rem;
  background: #0d1320;
  overflow: hidden;
  display: block;
  text-align: left;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.event-photo-tile:hover,
.event-photo-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 59, 82, 0.2);
  box-shadow: 0 16px 26px rgba(13, 19, 32, 0.18);
  outline: none;
}

.event-photo-tile .media-preview-frame::after {
  height: 62%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(6, 10, 18, 0.18) 20%, rgba(6, 10, 18, 0.88));
}

.event-photo-tile__scrim {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  pointer-events: none;
}

.event-photo-tile__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.event-photo-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--event-photo-chip);
  color: var(--event-photo-ink);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-photo-chip--kind {
  background: rgba(15, 24, 34, 0.78);
  color: rgba(255, 248, 235, 0.94);
}

.event-photo-tile__title {
  color: #fffdf8;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.event-photo-focus-overlay {
  --event-photo-focus-safe-top: max(0.75rem, env(safe-area-inset-top));
  --event-photo-focus-safe-right: max(0.75rem, env(safe-area-inset-right));
  --event-photo-focus-safe-bottom: max(0.75rem, env(safe-area-inset-bottom));
  --event-photo-focus-safe-left: max(0.75rem, env(safe-area-inset-left));
  --event-photo-focus-vertical-gap: calc(var(--event-photo-focus-safe-top) + var(--event-photo-focus-safe-bottom));
  background: var(--event-photo-overlay);
  padding-top: var(--event-photo-focus-safe-top);
  padding-right: var(--event-photo-focus-safe-right);
  padding-bottom: var(--event-photo-focus-safe-bottom);
  padding-left: var(--event-photo-focus-safe-left);
}

.event-photo-focus-panel {
  background: #fffbf4;
  height: min(860px, calc(100vh - var(--event-photo-focus-vertical-gap)));
  max-height: calc(100vh - var(--event-photo-focus-vertical-gap));
}

@supports (height: 100svh) {
  .event-photo-focus-panel {
    height: min(860px, calc(100svh - var(--event-photo-focus-vertical-gap)));
    max-height: calc(100svh - var(--event-photo-focus-vertical-gap));
  }
}

@supports (height: 100dvh) {
  .event-photo-focus-panel {
    height: min(860px, calc(100dvh - var(--event-photo-focus-vertical-gap)));
    max-height: calc(100dvh - var(--event-photo-focus-vertical-gap));
  }
}

.event-photo-focus-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--event-photo-line);
}

.event-photo-focus-panel__eyebrow {
  color: #8a5a17;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-photo-focus-panel__label {
  color: var(--event-photo-ink);
  font-weight: 700;
}

.event-photo-focus-panel__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.72fr);
  min-height: 0;
  flex: 1 1 auto;
}

.event-photo-focus-panel__media {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 24%),
    linear-gradient(135deg, rgba(6, 14, 22, 0.98), rgba(20, 30, 42, 0.96));
  touch-action: pan-y;
}

.event-photo-focus-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 246, 232, 0.24);
  border-radius: 999px;
  background: rgba(10, 18, 28, 0.46);
  color: rgba(255, 249, 239, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.26);
  transform: translateY(-50%);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.event-photo-focus-nav i {
  font-size: 1.3rem;
  line-height: 1;
}

.event-photo-focus-nav--prev {
  left: 0.75rem;
}

.event-photo-focus-nav--next {
  right: 0.75rem;
}

.event-photo-focus-nav:hover,
.event-photo-focus-nav:focus-visible {
  background: rgba(255, 249, 239, 0.18);
  border-color: rgba(255, 246, 232, 0.42);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
  outline: none;
}

.event-photo-focus-nav:disabled {
  opacity: 0.32;
  cursor: default;
  transform: translateY(-50%);
  box-shadow: none;
}

.event-photo-focus-panel__meta {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fffbf4;
}

.event-photo-focus-panel__copy {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  overflow-y: auto;
}

.event-photo-focus-panel__title {
  color: var(--event-photo-ink);
  font-size: 1.45rem;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.event-photo-focus-panel__story {
  color: var(--event-photo-muted);
  font-size: 0.98rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.event-photo-focus-panel__empty {
  color: var(--event-photo-muted);
  font-size: 0.92rem;
}

.event-photo-focus-panel__actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1rem 1rem;
  border-top: 1px solid var(--event-photo-line);
}

.event-photo-focus-panel__actions form {
  margin: 0;
}

.media-review-page {
  --media-review-ink: #15212b;
  --media-review-muted: #60707d;
  --media-review-line: rgba(17, 32, 43, 0.1);
  --media-review-accent: #163b52;
  --media-review-accent-soft: rgba(22, 59, 82, 0.08);
  --media-review-new: #42657d;
  --media-review-shortlisted: #9a6415;
  --media-review-posted: #1f7d5a;
  --media-review-skipped: #8b3e3e;
  width: 100%;
}

@media (min-width: 768px) {
  .media-review-main-shell.app-main {
    padding-left: var(--app-rail-content-offset-desktop);
    padding-right: var(--app-shell-inline-pad-desktop);
  }
}

.media-review-stats {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: thin;
}

.media-review-stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  flex: 1 0 0;
  min-width: 7rem;
  min-height: 3.65rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--media-review-line);
  border-radius: 0.8rem;
  background: #fff;
  box-shadow: 0 6px 14px rgba(21, 33, 43, 0.04);
}

.media-review-stat-card__label {
  display: block;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--media-review-muted);
  margin-bottom: 0;
}

.media-review-stat-card__value {
  color: var(--media-review-ink);
  font-size: 1.05rem;
  line-height: 1.05;
}

.media-review-stat-card-summary {
  background: linear-gradient(180deg, rgba(248, 250, 251, 0.96), #fff);
}

.media-review-stat-card-action {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.media-review-stat-card-action:hover,
.media-review-stat-card-action:focus-visible {
  color: inherit;
  transform: translateY(-1px);
  border-color: rgba(22, 59, 82, 0.18);
  box-shadow: 0 12px 22px rgba(21, 33, 43, 0.08);
  outline: none;
}

.media-review-stat-card-action.is-current {
  border-color: rgba(22, 59, 82, 0.22);
  box-shadow: inset 0 0 0 1px rgba(22, 59, 82, 0.12);
  cursor: default;
}

.media-review-stat-card-action.is-current .media-review-stat-card__label::after {
  content: " Active";
  color: var(--media-review-accent);
}

.media-review-stat-card-shortlisted {
  background: linear-gradient(180deg, rgba(242, 228, 205, 0.9), #fff);
}

.media-review-stat-card-posted {
  background: linear-gradient(180deg, rgba(213, 241, 229, 0.9), #fff);
}

.media-review-stat-card-skipped {
  background: linear-gradient(180deg, rgba(245, 223, 223, 0.9), #fff);
}

.media-review-filter-card,
.media-review-bottom-actions,
.media-review-tool-modal {
  border: 1px solid var(--media-review-line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(21, 33, 43, 0.05);
}

.media-review-filter-card .card-body,
.media-review-bottom-actions .card-body {
  padding: 0.75rem 0.85rem;
}

.media-review-filter-meta,
.media-review-bottom-actions .card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.media-review-filter-meta {
  white-space: nowrap;
  padding-right: 0.15rem;
}

.media-review-filter-meta .h6 {
  font-size: 0.84rem;
}

.media-review-filter-form {
  display: grid;
  grid-template-columns: max-content minmax(180px, 1.45fr) repeat(3, minmax(104px, 0.8fr)) max-content;
  gap: 0.45rem 0.6rem;
  align-items: end;
}

.media-review-filter-card .form-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--media-review-ink);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.18rem;
}

.media-review-filter-field {
  min-width: 0;
}

.media-review-filter-switches {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.35rem;
  white-space: nowrap;
}

.media-review-filter-chip {
  min-width: 0;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.media-review-filter-switches .btn-check:checked + .media-review-filter-chip {
  color: #fff;
  background: var(--media-review-accent);
  border-color: var(--media-review-accent);
  box-shadow: 0 6px 14px rgba(22, 59, 82, 0.16);
}

.media-review-filter-submit {
  grid-column: 1 / -1;
}

.media-review-results-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.media-review-results-header__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.media-review-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--media-review-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(21, 33, 43, 0.05);
}

.media-review-view-toggle .form-check {
  margin-bottom: 0;
}

.media-review-view-toggle .form-check-input {
  margin-top: 0;
  cursor: pointer;
}

.media-review-view-toggle .form-check-label {
  font-weight: 700;
  color: var(--media-review-ink);
}

.media-review-view-toggle__hint {
  font-size: 0.82rem;
  color: var(--media-review-muted);
  white-space: nowrap;
}

.media-review-bottom-actions .card-body {
  align-items: center;
}

.media-review-bottom-actions__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.media-review-bottom-actions__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.media-review-bottom-actions__buttons .btn {
  display: inline-flex;
  align-items: center;
}

.media-review-group {
  border: 1px solid var(--media-review-line);
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(21, 33, 43, 0.05);
}

.media-review-tile {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 0;
  text-align: left;
  border: 1px solid var(--media-review-line);
  border-radius: 1rem;
  background: #0d1320;
  overflow: hidden;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.media-review-tile:hover,
.media-review-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 59, 82, 0.2);
  box-shadow: 0 16px 28px rgba(21, 33, 43, 0.12);
  outline: none;
}

.media-review-tile .media-preview-img,
.media-review-tile .media-preview-video,
.media-review-tile .media-preview-video-placeholder {
  transition: transform 0.2s ease, filter 0.2s ease;
}

.media-review-tile:hover .media-preview-img,
.media-review-tile:hover .media-preview-video,
.media-review-tile:hover .media-preview-video-placeholder,
.media-review-tile:focus-visible .media-preview-img,
.media-review-tile:focus-visible .media-preview-video,
.media-review-tile:focus-visible .media-preview-video-placeholder {
  transform: scale(1.03);
  filter: brightness(0.76);
}

.media-review-tile-meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.45rem 0.95rem 0.95rem;
  background: linear-gradient(180deg, rgba(7, 14, 22, 0), rgba(7, 14, 22, 0.82) 40%, rgba(7, 14, 22, 0.95));
  opacity: 0;
  transform: translateY(0.45rem);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.media-review-tile:hover .media-review-tile-meta,
.media-review-tile:focus-visible .media-review-tile-meta {
  opacity: 1;
  transform: translateY(0);
}

.media-review-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.62rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-review-status-pill-new {
  background: rgba(66, 101, 125, 0.12);
  color: var(--media-review-new);
}

.media-review-status-pill-shortlisted {
  background: rgba(154, 100, 21, 0.12);
  color: var(--media-review-shortlisted);
}

.media-review-status-pill-posted {
  background: rgba(31, 125, 90, 0.12);
  color: var(--media-review-posted);
}

.media-review-status-pill-skipped {
  background: rgba(139, 62, 62, 0.12);
  color: var(--media-review-skipped);
}

.media-review-kind-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.media-review-tile-title {
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.media-review-tile-uploader {
  font-weight: 700;
  color: rgba(232, 243, 250, 0.96);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-review-tile-subline {
  color: rgba(233, 238, 242, 0.78);
  font-size: 0.82rem;
  line-height: 1.25;
  margin-top: 0.18rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-export-job-list {
  display: grid;
  gap: 0.85rem;
}

.media-export-job {
  padding: 0.9rem;
  border: 1px solid var(--media-review-line);
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 240, 0.98));
}

.media-export-job__title {
  font-weight: 700;
  color: var(--media-review-ink);
}

.media-export-job__meta {
  font-size: 0.82rem;
  color: var(--media-review-muted);
}

.media-review-pagination {
  border-top: 1px solid var(--media-review-line);
  padding-top: 1rem;
}

.media-export-job__status {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.media-export-job__status-pending {
  background: rgba(66, 101, 125, 0.12);
  color: var(--media-review-new);
}

.media-export-job__status-running {
  background: rgba(22, 59, 82, 0.12);
  color: var(--media-review-accent);
}

.media-export-job__status-completed {
  background: rgba(31, 125, 90, 0.12);
  color: var(--media-review-posted);
}

.media-export-job__status-failed {
  background: rgba(139, 62, 62, 0.12);
  color: var(--media-review-skipped);
}

.media-review-tool-modal .modal-header {
  align-items: start;
  gap: 1rem;
}

.media-review-tool-modal .modal-body {
  display: grid;
  gap: 1rem;
}

.media-review-tool-modal__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--media-review-line);
  border-radius: 0.85rem;
  background: rgba(22, 59, 82, 0.04);
}

.media-review-tool-modal__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--media-review-muted);
}

.media-review-export-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.media-review-export-actions form {
  margin: 0;
}

body.media-focus-open {
  overflow: hidden;
}

.media-focus-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 14, 22, 0.82);
  z-index: 1100;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-focus-panel {
  width: min(1220px, 100%);
  height: min(860px, calc(100vh - 2rem));
  max-height: calc(100vh - 2rem);
  border-radius: 1.2rem;
  background: #fffdf8;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.media-focus-header {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--media-review-line);
}

.media-focus-layout-content {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.media-focus-media-wrap {
  background: #0d1320;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.media-focus-media {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.media-focus-meta {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.media-focus-meta-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem;
  overflow-y: auto;
}

.media-focus-nameplate {
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--media-review-line);
}

.media-focus-uploader {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.media-focus-uploader strong {
  color: var(--media-review-accent);
}

.media-focus-uploader span {
  color: var(--media-review-muted);
  font-size: 0.9rem;
}

.media-focus-copy-field {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 1.45rem;
  overflow-wrap: anywhere;
  transition: padding-right 160ms ease;
}

.media-focus-copy-value {
  flex: 1 1 auto;
  min-width: 0;
}

.media-focus-copy-button {
  position: absolute;
  top: -0.15rem;
  right: 0;
  min-width: 3.55rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.72rem;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-1px);
  transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.media-focus-copy-field.is-copyable .media-focus-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.media-focus-copy-field.is-copyable:hover,
.media-focus-copy-field.is-copyable:focus-within {
  padding-right: 4.4rem;
}

.media-focus-copy-field.is-copyable:hover .media-focus-copy-button,
.media-focus-copy-field.is-copyable:focus-within .media-focus-copy-button {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.media-focus-copy-button.is-copied {
  color: var(--media-review-accent);
  border-color: rgba(22, 59, 82, 0.35);
}

.media-focus-copy-button.is-copy-error {
  color: var(--bs-danger);
  border-color: rgba(220, 53, 69, 0.35);
}

@media (hover: none) {
  .media-focus-copy-field.is-copyable {
    padding-right: 4.4rem;
  }

  .media-focus-copy-field.is-copyable .media-focus-copy-button {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.media-focus-review-form {
  padding: 0.95rem;
  border: 1px solid var(--media-review-line);
  border-radius: 0.9rem;
  background: rgba(22, 59, 82, 0.04);
}

.media-focus-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.media-focus-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 0 0 auto;
  padding: 0.9rem 1rem 1rem;
  border-top: 1px solid var(--media-review-line);
  background: inherit;
}

.media-focus-actions form {
  margin: 0;
}

@media (max-width: 1199.98px) {
  .media-review-filter-form {
    grid-template-columns: max-content minmax(170px, 1.15fr) repeat(3, minmax(96px, 0.7fr)) max-content;
  }
}

@media (max-width: 991.98px) {
  .media-review-results-header {
    flex-direction: column;
  }

  .media-review-results-header__controls {
    width: 100%;
    justify-content: space-between;
  }

  .media-review-view-toggle {
    flex-wrap: wrap;
  }

  .media-review-filter-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .media-review-filter-meta,
  .media-review-filter-switches,
  .media-review-filter-submit {
    grid-column: 1 / -1;
  }

  .media-review-filter-meta {
    justify-content: space-between;
  }

  .media-review-filter-switches {
    justify-self: start;
  }

  .media-review-bottom-actions .card-body {
    flex-direction: column;
    align-items: stretch;
  }

  .media-review-bottom-actions__buttons {
    justify-content: flex-start;
  }

  .media-review-export-actions {
    grid-template-columns: 1fr;
  }

  .media-focus-layout-content {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 42vh) minmax(0, 1fr);
  }

  .media-focus-media-wrap {
    min-height: 0;
  }

  .event-photo-focus-panel__layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 44vh) minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .media-review-stat-card {
    min-width: 6.2rem;
    min-height: 3.45rem;
    padding: 0.4rem 0.55rem;
  }

  .media-review-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-review-filter-field-team,
  .media-review-filter-meta,
  .media-review-filter-switches,
  .media-review-filter-submit {
    grid-column: 1 / -1;
  }

  .media-review-filter-switches {
    justify-self: stretch;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .media-focus-overlay {
    padding: 0.5rem;
  }

  .media-focus-panel {
    height: calc(100vh - 1rem);
    max-height: calc(100vh - 1rem);
    border-radius: 0.9rem;
  }

  .media-focus-quick-actions {
    margin-top: 0.5rem;
  }

  .event-photos-page__title {
    font-size: 2.2rem;
  }

  .event-photos-group {
    padding: 0.8rem;
    border-radius: 0.95rem;
  }

  .event-photo-tile {
    border-radius: 0.95rem;
  }

  .event-photo-tile__scrim {
    padding: 0.65rem;
  }

  .event-photo-chip {
    font-size: 0.68rem;
    padding: 0.24rem 0.48rem;
  }

  .event-photo-tile__title {
    font-size: 0.85rem;
  }

  .event-photo-focus-panel__header {
    padding: 0.7rem 0.8rem;
  }

  .event-photo-focus-overlay {
    --event-photo-focus-safe-top: max(0.65rem, calc(env(safe-area-inset-top) + 0.4rem));
    --event-photo-focus-safe-right: max(0.5rem, calc(env(safe-area-inset-right) + 0.25rem));
    --event-photo-focus-safe-bottom: max(0.65rem, calc(env(safe-area-inset-bottom) + 0.4rem));
    --event-photo-focus-safe-left: max(0.5rem, calc(env(safe-area-inset-left) + 0.25rem));
    align-items: flex-start;
  }

  .event-photo-focus-panel {
    height: calc(100vh - var(--event-photo-focus-vertical-gap));
    max-height: calc(100vh - var(--event-photo-focus-vertical-gap));
  }

  @supports (height: 100svh) {
    .event-photo-focus-panel {
      height: calc(100svh - var(--event-photo-focus-vertical-gap));
      max-height: calc(100svh - var(--event-photo-focus-vertical-gap));
    }
  }

  @supports (height: 100dvh) {
    .event-photo-focus-panel {
      height: calc(100dvh - var(--event-photo-focus-vertical-gap));
      max-height: calc(100dvh - var(--event-photo-focus-vertical-gap));
    }
  }

  .event-photo-focus-panel__copy {
    gap: 0.85rem;
    padding: 0.9rem;
  }

  .event-photo-focus-panel__title {
    font-size: 1.25rem;
  }

  .event-photo-focus-panel__story {
    font-size: 0.94rem;
  }

  .event-photo-focus-panel__actions {
    padding: 0.8rem 0.9rem 0.95rem;
  }

  .event-photo-focus-nav {
    width: 2.6rem;
    height: 2.6rem;
  }

  .event-photo-focus-nav--prev {
    left: 0.55rem;
  }

  .event-photo-focus-nav--next {
    right: 0.55rem;
  }
}

.rucktimer-coming {
  position: relative;
  overflow: hidden;
  border-color: rgba(10, 18, 28, 0.1);
  background:
    radial-gradient(880px 280px at 10% 0%, rgba(var(--bs-primary-rgb), 0.16), transparent 58%),
    radial-gradient(760px 260px at 90% 20%, rgba(var(--bs-secondary-rgb), 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(245, 236, 225, 0.9));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.07);
}

.rucktimer-coming::after {
  content: "";
  position: absolute;
  inset: auto -10% -42% auto;
  width: clamp(180px, 30vw, 340px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(9, 22, 40, 0.14), rgba(9, 22, 40, 0));
  pointer-events: none;
}

.rucktimer-pill {
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rucktimer-coming__copy {
  max-width: 52rem;
}

.rucktimer-coming__title {
  letter-spacing: -0.02em;
  color: rgba(10, 18, 28, 0.95);
}

.rucktimer-coming__lead {
  color: rgba(10, 18, 28, 0.85);
  max-width: 44rem;
}

.rucktimer-coming__support {
  max-width: 44rem;
}

.rucktimer-coming__signal-wrap {
  flex: 0 0 auto;
  align-self: center;
}

.rucktimer-coming__signal {
  width: clamp(80px, 9vw, 116px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.28);
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 65% 62%, rgba(var(--bs-primary-rgb), 0.58), rgba(var(--bs-primary-rgb), 0.12) 62%, rgba(var(--bs-primary-rgb), 0.02));
  box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.22);
  animation: rucktimerSignalBeat 2.8s ease-in-out infinite;
}

.rucktimer-coming__panel {
  border: 1px solid rgba(10, 18, 28, 0.1);
  background: rgba(255, 251, 245, 0.84);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.rucktimer-coming__panel:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--bs-primary-rgb), 0.28);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.08);
}

.rucktimer-volunteer-board {
  --rv-paper: rgba(255, 255, 255, 0.94);
  --rv-border: rgba(0, 0, 0, 0.13);
  --rv-shadow: rgba(0, 0, 0, 0.08);
  --rv-accent: rgba(13, 110, 253, 0.92);
  --rv-good-bg: #dff6e1;
  --rv-imminent-glow: rgba(220, 53, 69, 0.48);
  position: relative;
  border-color: rgba(10, 18, 28, 0.12);
  background:
    radial-gradient(760px 240px at 6% -4%, rgba(11, 87, 164, 0.16), transparent 58%),
    radial-gradient(760px 300px at 98% 12%, rgba(10, 112, 57, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 248, 250, 0.95));
  box-shadow: 0 16px 32px var(--rv-shadow);
}

.rv-session-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--rv-border);
  border-radius: 0.9rem;
  padding: 0.65rem 0.8rem;
  background: var(--rv-paper);
}

.rv-session-strip__title {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.rv-session-strip__status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.06);
  padding: 0.2rem 0.5rem;
}

.rv-session-strip__status.is-live {
  border-color: rgba(25, 135, 84, 0.4);
  background: rgba(25, 135, 84, 0.14);
  color: rgba(7, 82, 44, 0.96);
}

.rv-session-strip__status.is-paused {
  border-color: rgba(255, 193, 7, 0.5);
  background: rgba(255, 193, 7, 0.18);
  color: rgba(104, 76, 0, 0.96);
}

.rv-session-strip__status.is-waiting {
  border-color: rgba(13, 110, 253, 0.46);
  background: rgba(13, 110, 253, 0.12);
  color: rgba(8, 57, 116, 0.95);
}

.rv-session-strip__status.is-danger {
  border-color: rgba(220, 53, 69, 0.48);
  background: rgba(220, 53, 69, 0.15);
  color: rgba(120, 10, 28, 0.95);
}

.rv-exchange-shell {
  border: 1px solid var(--rv-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  padding: 0.75rem;
}

.rv-exchange-shell__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.25rem;
}

.rv-confirmed-banner {
  border: 1px solid rgba(13, 110, 253, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.88));
  color: rgba(9, 57, 113, 0.98);
  border-radius: 0.95rem;
  padding: 0.75rem 0.8rem;
  margin-bottom: 0.65rem;
  box-shadow: 0 12px 24px rgba(11, 32, 67, 0.08);
}

.rv-confirmed-banner__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.rv-confirmed-banner__title {
  margin-top: 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.rv-confirmed-banner__meta {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(9, 57, 113, 0.72);
}

.rv-confirmed-banner__meta.rv-confirmed-banner__meta--release {
  font-weight: 600;
  color: rgba(9, 57, 113, 0.9);
}

.rv-pending-confirm {
  border: 1px solid rgba(166, 71, 20, 0.26);
  background: linear-gradient(135deg, rgba(255, 247, 234, 0.98), rgba(255, 233, 214, 0.95));
  color: rgba(96, 39, 4, 0.96);
  border-radius: 0.95rem;
  padding: 0.8rem 0.85rem;
  margin-top: 0.7rem;
  box-shadow: 0 14px 26px rgba(145, 69, 23, 0.12);
}

.rv-pending-confirm__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.76;
}

.rv-pending-confirm__title {
  margin-top: 0.22rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.rv-pending-confirm__body {
  margin-top: 0.28rem;
  font-size: 0.88rem;
  line-height: 1.35;
  color: rgba(96, 39, 4, 0.82);
}

.rv-confirm-wrap {
  transition: transform 0.16s ease;
}

@keyframes rvConfirmPulse {
  0%,
  100% {
    box-shadow: 0 12px 24px rgba(155, 64, 20, 0.2);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 18px 30px rgba(155, 64, 20, 0.32);
    transform: translateY(-1px);
  }
}

.rv-confirm-wrap.is-attention .btn {
  background: linear-gradient(180deg, rgba(116, 32, 0, 0.98), rgba(159, 47, 10, 0.96));
  border-color: rgba(100, 27, 0, 0.92);
  box-shadow: 0 12px 24px rgba(155, 64, 20, 0.2);
  animation: rvConfirmPulse 1.4s ease-in-out infinite;
}

.rv-exchange-picker {
  display: grid;
  gap: 0.55rem;
}

.rv-exchange-picker__hint {
  font-size: 0.8rem;
  color: rgba(11, 27, 41, 0.7);
}

.rv-exchange-list {
  max-height: min(55vh, 28rem);
  overflow: auto;
  display: grid;
  gap: 0.5rem;
  padding-right: 0.2rem;
}

.rv-exchange-option {
  display: grid;
  gap: 0.08rem;
  text-align: left;
  width: 100%;
  border: 1px solid rgba(12, 35, 56, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: inherit;
  border-radius: 0.8rem;
  padding: 0.58rem 0.72rem;
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}

.rv-exchange-option__title {
  display: block;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.15;
}

.rv-exchange-option__meta {
  display: block;
  font-size: 0.88rem;
  line-height: 1.25;
  color: rgba(11, 27, 41, 0.8);
}

.rv-exchange-option.is-pending {
  border-color: rgba(13, 110, 253, 0.62);
  background: rgba(13, 110, 253, 0.06);
}

.rv-exchange-option:active {
  transform: translateY(0);
}

.rv-exchange-option:hover,
.rv-exchange-option:focus-visible {
  outline: none;
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 0.38rem 0.95rem rgba(13, 110, 253, 0.12);
  transform: translateY(-1px);
}

.rv-team-shell {
  border: 1px solid var(--rv-border);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  padding: 0.75rem;
}

.rv-team-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rv-team-card {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0.9rem;
  background: #ffffff;
  color: inherit;
  text-align: left;
  padding: 0.7rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.11s ease, border-color 0.11s ease, box-shadow 0.11s ease;
}

.rv-team-card:active {
  transform: scale(0.995);
}

.rv-team-card.is-selected {
  border-color: var(--rv-accent);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2), 0 10px 18px rgba(0, 0, 0, 0.08);
}

.rv-team-card.is-completed {
  background: var(--rv-good-bg);
  border-color: rgba(32, 124, 72, 0.36);
}

.rv-team-card.is-imminent {
  border-color: rgba(220, 53, 69, 0.72);
  box-shadow: 0 0 0 2px var(--rv-imminent-glow), 0 10px 20px rgba(220, 53, 69, 0.16);
}

.rv-team-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

.rv-team-card__row + .rv-team-card__row {
  margin-top: 0.45rem;
}

.rv-team-card__row--middle,
.rv-team-card__row--bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.rv-card-team-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.rv-card-status {
  align-self: center;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0.15rem 0.42rem;
  background: rgba(0, 0, 0, 0.06);
}

.rv-card-col {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  min-width: 0;
}

.rv-card-label {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.6);
}

.rv-card-value {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
}

.rv-sticky-update {
  position: sticky;
  bottom: calc(var(--app-mobile-nav-height) + 0.75rem);
  z-index: 1020;
  margin-top: 0.75rem;
}

.rv-sticky-update .btn {
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.25);
}

.rv-modal-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rv-modal-team {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 0.8rem;
  padding: 0.7rem;
  background: rgba(248, 249, 250, 0.9);
}

.rv-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.rv-modal-action {
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 0.7rem;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
  .rv-modal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

[data-bs-theme="dark"] .rucktimer-volunteer-board {
  --rv-paper: rgba(15, 24, 38, 0.8);
  --rv-border: rgba(255, 255, 255, 0.17);
  --rv-shadow: rgba(0, 0, 0, 0.3);
  --rv-good-bg: rgba(25, 135, 84, 0.28);
  background:
    radial-gradient(760px 260px at 8% -4%, rgba(35, 142, 222, 0.2), transparent 58%),
    radial-gradient(760px 300px at 92% 12%, rgba(35, 168, 92, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(15, 23, 38, 0.97), rgba(15, 22, 34, 0.92));
}

[data-bs-theme="dark"] .rv-session-strip,
[data-bs-theme="dark"] .rv-exchange-shell,
[data-bs-theme="dark"] .rv-team-shell {
  background: rgba(18, 28, 43, 0.78);
}

[data-bs-theme="dark"] .rv-confirmed-banner {
  border-color: rgba(110, 168, 254, 0.46);
  background: linear-gradient(180deg, rgba(12, 26, 48, 0.94), rgba(18, 34, 57, 0.84));
  color: rgba(220, 235, 255, 0.96);
}

[data-bs-theme="dark"] .rv-pending-confirm {
  border-color: rgba(255, 182, 143, 0.34);
  background: linear-gradient(135deg, rgba(67, 31, 14, 0.98), rgba(44, 23, 12, 0.96));
  color: rgba(255, 233, 214, 0.96);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

[data-bs-theme="dark"] .rv-pending-confirm__body {
  color: rgba(255, 221, 195, 0.82);
}

[data-bs-theme="dark"] .rv-confirmed-banner__meta,
[data-bs-theme="dark"] .rv-exchange-picker__hint,
[data-bs-theme="dark"] .rv-exchange-option__meta {
  color: rgba(220, 235, 255, 0.72);
}

[data-bs-theme="dark"] .rv-confirmed-banner__meta.rv-confirmed-banner__meta--release {
  color: rgba(220, 235, 255, 0.9);
}

[data-bs-theme="dark"] .rv-confirm-wrap.is-attention .btn {
  background: linear-gradient(180deg, rgba(184, 74, 25, 0.98), rgba(133, 49, 18, 0.96));
  border-color: rgba(255, 197, 160, 0.28);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .rv-exchange-option {
  border-color: rgba(148, 173, 204, 0.34);
  background: rgba(21, 31, 47, 0.9);
}

[data-bs-theme="dark"] .rv-exchange-option.is-pending {
  border-color: rgba(110, 168, 254, 0.58);
  background: rgba(110, 168, 254, 0.2);
}

[data-bs-theme="dark"] .rv-team-card {
  background: rgba(16, 24, 38, 0.88);
  border-color: rgba(255, 255, 255, 0.18);
}

[data-bs-theme="dark"] .rv-card-label {
  color: rgba(248, 249, 250, 0.62);
}

[data-bs-theme="dark"] .rv-card-status {
  border-color: rgba(248, 249, 250, 0.22);
  background: rgba(248, 249, 250, 0.09);
}

[data-bs-theme="dark"] .rv-modal-team {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 28, 43, 0.85);
}

[data-bs-theme="dark"] .rv-modal-action {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(13, 21, 34, 0.65);
}

@keyframes rucktimerSignalBeat {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(6, 90, 120, 0.18);
  }

  55% {
    transform: scale(1.04);
    box-shadow: 0 0 0 16px rgba(6, 90, 120, 0);
  }
}

@media (max-width: 767.98px) {
  .rucktimer-coming__signal-wrap {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rucktimer-coming__signal {
    animation: none;
  }

  .rucktimer-coming__panel {
    transition: none;
  }

  .rucktimer-coming__panel:hover {
    transform: none;
  }

  .rv-confirm-wrap.is-attention .btn {
    animation: none;
  }
}

.dashboard-main-shell.app-main {
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-collapsible-toggle {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: 0.8rem;
  background: rgba(248, 249, 250, 0.95);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.52rem 0.66rem;
  text-align: left;
  line-height: 1.2;
}

.dashboard-collapsible-toggle:hover {
  border-color: rgba(13, 110, 253, 0.34);
}

.dashboard-collapsible-toggle:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.5);
  outline-offset: 1px;
}

.dashboard-collapsible-toggle__copy {
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dashboard-collapsible-toggle__summary {
  display: inline-flex;
  min-width: 0;
}

.dashboard-collapsible-toggle__summary-line {
  align-items: center;
  gap: 0.3rem;
}

.dashboard-collapsible-toggle__summary-main {
  font-size: 0.9rem;
  font-weight: 600;
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-collapsible-toggle__summary-sub {
  font-size: 0.75rem;
  color: rgba(33, 37, 41, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-collapsible-toggle__hint {
  font-size: 0.75rem;
  color: rgba(33, 37, 41, 0.7);
  white-space: nowrap;
  flex: 0 0 auto;
}

.dashboard-collapsible-toggle__hint-collapsed {
  display: none;
}

.dashboard-collapsible-toggle__hint-expanded {
  display: inline;
}

.dashboard-collapsible-toggle.collapsed .dashboard-collapsible-toggle__hint-collapsed {
  display: inline;
}

.dashboard-collapsible-toggle.collapsed .dashboard-collapsible-toggle__hint-expanded {
  display: none;
}

.dashboard-collapsible-toggle__summary-separator {
  color: rgba(33, 37, 41, 0.66);
  flex: 0 0 auto;
}

.dashboard-collapsible-toggle__summary-insignia {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(248, 249, 250, 0.95);
  padding: 0.05rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.dashboard-collapsible-toggle__chevron {
  flex: 0 0 auto;
  transition: transform 0.16s ease;
}

.dashboard-collapsible-toggle:not(.collapsed) .dashboard-collapsible-toggle__chevron {
  transform: rotate(180deg);
}

.dashboard-shell .dashboard-mobile-collapse {
  margin-top: 0;
}

.dashboard-mobile-merged-card .card-body {
  padding: 0.8rem;
}

.dashboard-mobile-merged-collapse {
  margin-top: 0.52rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
}

.dashboard-mobile-identity-list {
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 0.75rem;
  background: rgba(248, 249, 250, 0.72);
  padding: 0.55rem 0.62rem;
}

.dashboard-shell .dashboard-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.24rem 0.68rem;
  font-size: 0.88rem;
}

.dashboard-shell .dashboard-chip--identity {
  padding-left: 0.45rem;
}

.dashboard-shell .dashboard-chip-insignia {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.11);
  background: rgba(248, 249, 250, 0.95);
  padding: 0.06rem;
  opacity: 0.84;
  object-fit: contain;
  flex: 0 0 auto;
}

.dashboard-zone-grid {
  align-items: stretch;
}

.dashboard-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dashboard-link-tile {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: 0.62rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.95rem;
  padding: 0.88rem 0.9rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  min-height: 8.2rem;
  aspect-ratio: 1 / 0.9;
}

.dashboard-link-tile--button {
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.dashboard-link-tile:hover,
.dashboard-link-tile:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--bs-primary-rgb), 0.42);
  box-shadow: 0 0.45rem 0.9rem rgba(74, 45, 26, 0.12);
}

.dashboard-link-tile--folder-trigger {
  position: relative;
  overflow: hidden;
}

.dashboard-link-tile--folder-trigger .dashboard-link-title::after {
  content: " folder";
  color: rgba(var(--bs-dark-rgb), 0.56);
  font-weight: 500;
}

.dashboard-link-icon {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.82rem;
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.16), rgba(var(--bs-secondary-rgb), 0.14));
  color: rgba(var(--bs-dark-rgb), 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.56rem;
}

.dashboard-link-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.dashboard-link-copy {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  min-width: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dashboard-link-title {
  font-weight: 600;
  line-height: 1.25;
  color: rgba(var(--bs-dark-rgb), 0.94);
}

.dashboard-link-title-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.dashboard-link-attention-badge {
  flex: 0 0 auto;
}

.dashboard-link-description {
  font-size: 0.82rem;
  line-height: 1.2;
  color: rgba(var(--bs-dark-rgb), 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dashboard-link-trailing {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  justify-self: end;
  align-self: start;
  font-size: 0.95rem;
  color: rgba(var(--bs-dark-rgb), 0.78);
}

.dashboard-folder-modal {
  backdrop-filter: blur(8px);
}

.dashboard-folder-modal__dialog {
  max-width: min(42rem, calc(100vw - 1.5rem));
}

.dashboard-folder-modal__content {
  border-radius: 1.35rem;
  background:
    radial-gradient(120% 120% at 8% 4%, rgba(var(--bs-primary-rgb), 0.14), transparent 45%),
    radial-gradient(100% 130% at 92% 100%, rgba(var(--bs-secondary-rgb), 0.12), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 247, 241, 0.95));
}

.dashboard-folder-modal__header {
  padding: 1.1rem 1.1rem 0.5rem;
}

.dashboard-folder-modal__eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--bs-primary-rgb), 0.86);
  font-weight: 700;
  margin-bottom: 0.18rem;
}

.dashboard-folder-modal__title {
  letter-spacing: -0.02em;
}

.dashboard-folder-modal__body {
  padding: 0 1.1rem 1.1rem;
}

.dashboard-folder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.dashboard-folder-modal__tile {
  min-height: 7rem;
  aspect-ratio: auto;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0.3rem 0.9rem rgba(74, 45, 26, 0.08);
}

.dashboard-folder-modal__tile-icon {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.22), rgba(var(--bs-secondary-rgb), 0.18));
}

.dashboard-social-summary-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.18);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.95);
  padding: 0.2rem 0.48rem;
}

.dashboard-social-card .collapse {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.75rem;
}

@media (min-width: 1200px) {
  .dashboard-tile-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.62rem;
  }

  .dashboard-link-tile {
    min-height: 3.8rem;
    padding: 0.56rem 0.62rem;
    gap: 0.55rem;
  }

  .dashboard-link-icon {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1rem;
  }

  .dashboard-link-description {
    font-size: 0.75rem;
  }
}

@media (max-width: 991.98px) {
  .dashboard-main-shell.app-main {
    max-width: 100%;
  }

  .dashboard-link-tile {
    aspect-ratio: auto;
    min-height: 7rem;
  }
}

@media (max-width: 767.98px) {
  .dashboard-page-description,
  .dashboard-links-description,
  .dashboard-link-description {
    display: none;
  }

  .dashboard-mobile-merged-card .card-body {
    padding: 0.78rem;
  }

  .dashboard-mobile-merged-card .dashboard-chip-row {
    gap: 0.38rem !important;
  }

  .dashboard-mobile-merged-card .dashboard-chip {
    font-size: 0.8rem;
    padding: 0.18rem 0.52rem;
  }

  .dashboard-mobile-merged-collapse {
    margin-top: 0.44rem;
  }

  .dashboard-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-social-summary-item {
    font-size: 0.8rem;
  }

  .dashboard-folder-modal__dialog {
    max-width: calc(100vw - 1rem);
    margin: 0.5rem auto;
  }

  .dashboard-folder-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.map-sheets-page {
  --mapsheet-ink: rgba(11, 27, 41, 0.95);
  --mapsheet-line: rgba(12, 35, 56, 0.14);
  --mapsheet-wash: rgba(13, 110, 253, 0.08);
  --mapsheet-accent: #0a7a56;
  max-width: 70rem;
  margin: 0 auto;
  color: var(--mapsheet-ink);
  font-family: var(--app-font-primary);
}

.map-sheets-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 4.4rem;
  background:
    radial-gradient(115% 140% at 4% 5%, rgba(13, 110, 253, 0.18), transparent 52%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 255, 0.92));
  border-color: rgba(13, 110, 253, 0.14) !important;
}

.map-sheets-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  width: 100%;
}

.map-sheets-hero-title {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(11, 27, 41, 0.98), rgba(10, 122, 86, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.map-sheets-view-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.map-sheets-view-toggle__btn {
  border: 1px solid rgba(12, 35, 56, 0.14);
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.82);
  color: var(--mapsheet-ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: border-color 0.14s ease, background-color 0.14s ease, box-shadow 0.14s ease, color 0.14s ease;
}

.map-sheets-view-toggle__btn:hover,
.map-sheets-view-toggle__btn:focus-visible {
  border-color: rgba(13, 110, 253, 0.34);
  background: rgba(13, 110, 253, 0.08);
  color: var(--mapsheet-ink);
  box-shadow: 0 0.2rem 0.6rem rgba(13, 110, 253, 0.12);
}

.map-sheets-view-toggle__btn.is-active,
.map-sheets-view-toggle__btn.is-active:hover,
.map-sheets-view-toggle__btn.is-active:focus-visible {
  border-color: rgba(10, 122, 86, 0.58);
  background: linear-gradient(135deg, rgba(10, 122, 86, 0.96), rgba(7, 92, 64, 0.96));
  color: #fff;
  box-shadow: 0 0.28rem 0.85rem rgba(10, 122, 86, 0.24);
}

.map-sheet-selection-stack {
  display: grid;
  gap: 0;
}

@media (max-width: 575.98px) {
  .map-sheets-hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .map-sheets-view-toggle {
    width: 100%;
  }

  .map-sheets-view-toggle__btn {
    flex: 1 1 0;
  }
}

.map-sheets-selector {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 252, 255, 0.95));
  border-color: var(--mapsheet-line) !important;
}

.map-sheet-selection-stack .map-sheets-selector {
  border-bottom: 0 !important;
  border-radius: 0.92rem 0.92rem 0 0 !important;
}

.map-sheets-selector-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 0.15rem;
}

.map-sheets-selector-summary::-webkit-details-marker {
  display: none;
}

.map-sheets-selector-summary-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 27, 41, 0.62);
}

.map-sheets-selector-summary-value {
  font-size: 0.97rem;
  font-weight: 600;
}

.map-sheets-selector[open] .map-sheets-selector-summary {
  margin-bottom: 0.5rem;
}

.map-sheets-selector-list {
  max-height: min(55vh, 28rem);
  overflow: auto;
  display: grid;
  gap: 0.5rem;
  padding-right: 0.2rem;
}

.map-sheets-selector-option {
  display: grid;
  gap: 0.08rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(12, 35, 56, 0.14);
  border-radius: 0.8rem;
  padding: 0.58rem 0.72rem;
  background: rgba(255, 255, 255, 0.98);
  transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.map-sheets-selector-option:hover,
.map-sheets-selector-option:focus-visible {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 0.38rem 0.95rem rgba(13, 110, 253, 0.12);
  transform: translateY(-1px);
}

.map-sheets-selector-option.is-selected {
  border-color: rgba(13, 110, 253, 0.62);
  background: rgba(13, 110, 253, 0.06);
}

.map-sheets-selector-line1 {
  font-weight: 600;
}

.map-sheets-selector-line2,
.map-sheets-selector-line3 {
  font-size: 0.88rem;
  color: rgba(11, 27, 41, 0.8);
}

.map-sheet-leg-summary {
  display: grid;
  gap: 0.6rem;
  padding: 0.68rem 0.85rem 0.82rem;
  border: 1px solid var(--mapsheet-line);
  border-radius: 0.92rem;
  background: linear-gradient(165deg, rgba(13, 110, 253, 0.06), rgba(255, 255, 255, 0.93));
}

.map-sheet-selection-stack .map-sheet-leg-summary {
  border-top: 0;
  border-radius: 0 0 0.92rem 0.92rem;
}

.map-sheet-priority-strip {
  padding: 0.95rem;
  border: 1px solid var(--mapsheet-line);
  border-radius: 0.92rem;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(13, 110, 253, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
}

.map-sheet-priority-strip__header {
  display: grid;
  gap: 0.1rem;
  margin-bottom: 0.8rem;
}

.map-sheet-priority-strip__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 27, 41, 0.62);
}

.map-sheet-priority-strip__title {
  font-size: 1rem;
  font-weight: 700;
}

.map-sheet-priority-grid {
  display: grid;
  gap: 0.7rem;
}

.map-sheet-priority-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--mapsheet-line);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.82);
}

.map-sheet-priority-card--release {
  background: linear-gradient(160deg, rgba(13, 110, 253, 0.08), rgba(255, 255, 255, 0.84));
}

.map-sheet-priority-card--amenities {
  background: linear-gradient(160deg, rgba(10, 122, 86, 0.09), rgba(255, 255, 255, 0.84));
}

.map-sheet-priority-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 27, 41, 0.62);
}

.map-sheet-priority-card__value {
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.35;
}

.map-sheet-priority-card__note,
.map-sheet-priority-card__empty {
  font-size: 0.89rem;
  color: rgba(11, 27, 41, 0.74);
}

.map-sheet-amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.map-sheet-amenity-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.72rem;
  border: 1px solid rgba(10, 122, 86, 0.22);
  border-radius: 999px;
  background: rgba(10, 122, 86, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mapsheet-ink);
}

.map-sheet-leg-summary-head {
  display: grid;
  gap: 0.3rem;
}

.map-sheet-leg-summary-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
}

.map-sheet-leg-distance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  padding: 0.18rem 0.58rem;
  border: 1px solid rgba(11, 27, 41, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
}

.map-sheet-leg-release-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
}

.map-sheet-leg-metrics {
  display: grid;
  gap: 0.45rem;
}

.map-sheet-leg-metric {
  display: grid;
  gap: 0.06rem;
}

.map-sheet-leg-metric-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 27, 41, 0.62);
}

.map-sheet-leg-metric-value {
  font-size: 0.95rem;
  min-width: 0;
}

.map-sheet-leg-metric--exchange {
  gap: 0.5rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid var(--mapsheet-line);
  border-radius: 0.88rem;
  background: rgba(255, 255, 255, 0.76);
}

.map-sheet-leg-metric--start {
  border-color: rgba(13, 110, 253, 0.22);
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.08), rgba(255, 255, 255, 0.82));
}

.map-sheet-leg-metric--end {
  border-color: rgba(10, 122, 86, 0.22);
  background: linear-gradient(180deg, rgba(10, 122, 86, 0.09), rgba(255, 255, 255, 0.82));
}

.map-sheet-leg-metric-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}

.map-sheet-leg-exchange-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  background: rgba(11, 27, 41, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.map-sheet-leg-metric--exchange .map-sheet-leg-metric-value {
  font-size: 0.98rem;
  line-height: 1.35;
}

.map-sheet-leg-release-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem;
  font-size: 0.82rem;
}

.map-sheet-leg-release-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(11, 27, 41, 0.62);
}

.map-sheet-leg-release-value {
  font-weight: 700;
  text-align: right;
}

.map-sheet-leg-release-note,
.map-sheet-leg-exchange-empty {
  font-size: 0.81rem;
  line-height: 1.35;
  color: rgba(11, 27, 41, 0.74);
}

.map-sheet-amenity-list--compact {
  gap: 0.35rem;
}

.map-sheet-amenity-chip--compact {
  min-height: 1.55rem;
  padding: 0.14rem 0.5rem;
  font-size: 0.76rem;
}

@media (min-width: 768px) {
  .map-sheet-leg-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 575.98px) {
  .map-sheet-leg-summary {
    padding: 0.62rem 0.72rem 0.78rem;
  }

  .map-sheet-leg-metric--exchange {
    padding: 0.68rem 0.72rem;
  }

  .map-sheet-leg-metric-header,
  .map-sheet-leg-release-summary {
    flex-wrap: wrap;
  }

  .map-sheet-leg-release-value {
    text-align: left;
  }
}

.map-sheet-role-card {
  --mapsheet-role-border: var(--mapsheet-line);
  --mapsheet-role-wash: var(--mapsheet-wash);
  border: 1px solid var(--mapsheet-role-border);
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 255, 0.96));
  overflow: hidden;
}

.map-sheet-role-card-driver {
  --mapsheet-role-border: rgba(13, 110, 253, 0.24);
  --mapsheet-role-wash: rgba(13, 110, 253, 0.1);
}

.map-sheet-role-card-rucker {
  --mapsheet-role-border: rgba(10, 122, 86, 0.28);
  --mapsheet-role-wash: rgba(10, 122, 86, 0.1);
}

.map-sheet-role-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  transition: background-color 0.15s ease;
}

.map-sheet-role-summary::-webkit-details-marker {
  display: none;
}

.map-sheet-role-summary:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.56);
  outline-offset: 2px;
}

.map-sheet-role-card[open] .map-sheet-role-summary {
  border-bottom: 1px solid var(--mapsheet-role-border);
  background: var(--mapsheet-role-wash);
}

.map-sheet-role-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-sheet-role-subtitle {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.86rem;
  color: rgba(11, 27, 41, 0.75);
}

.map-sheet-role-caret {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  border: 1px solid var(--mapsheet-role-border);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
}

.map-sheet-role-caret::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentcolor;
  border-bottom: 2px solid currentcolor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.15s ease;
}

.map-sheet-role-card[open] .map-sheet-role-caret::before {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.map-sheet-role-body {
  padding: 0.9rem 0.95rem;
}

.map-sheet-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.map-sheet-action-row .btn {
  white-space: nowrap;
}

.map-sheet-driver-cta {
  --bs-btn-color: #0c2747;
  --bs-btn-bg: rgba(13, 110, 253, 0.16);
  --bs-btn-border-color: rgba(13, 110, 253, 0.42);
  --bs-btn-hover-color: #052141;
  --bs-btn-hover-bg: rgba(13, 110, 253, 0.26);
  --bs-btn-hover-border-color: rgba(13, 110, 253, 0.56);
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #041b35;
  --bs-btn-active-bg: rgba(13, 110, 253, 0.31);
  --bs-btn-active-border-color: rgba(13, 110, 253, 0.62);
}

.map-sheet-rungo-app-cta {
  --bs-btn-color: #084933;
  --bs-btn-bg: rgba(10, 122, 86, 0.14);
  --bs-btn-border-color: rgba(10, 122, 86, 0.36);
  --bs-btn-hover-color: #063c2a;
  --bs-btn-hover-bg: rgba(10, 122, 86, 0.24);
  --bs-btn-hover-border-color: rgba(10, 122, 86, 0.5);
  --bs-btn-focus-shadow-rgb: 10, 122, 86;
  --bs-btn-active-color: #042e21;
  --bs-btn-active-bg: rgba(10, 122, 86, 0.3);
  --bs-btn-active-border-color: rgba(10, 122, 86, 0.56);
}

@media (max-width: 575.98px) {
  .map-sheet-action-row .btn {
    width: 100%;
  }
}

.map-sheet-media {
  border: 1px solid var(--mapsheet-line);
  border-radius: 0.95rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
}

.map-sheet-media-title {
  margin: 0;
  padding: 0.45rem 0.7rem;
  border-bottom: 1px solid var(--mapsheet-line);
  background: var(--mapsheet-wash);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.map-sheet-media img {
  display: block;
  width: 100%;
  height: auto;
}

.map-sheet-turns {
  padding-left: 1.15rem;
  display: grid;
  gap: 0.28rem;
}

.map-sheet-turns li {
  line-height: 1.35;
}

.map-sheet-turn-row {
  display: grid;
  grid-template-columns: minmax(4.85rem, max-content) minmax(0, 1fr);
  gap: 0.55rem 0.8rem;
  align-items: start;
}

.map-sheet-turn-mileage {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
  color: rgba(73, 55, 39, 0.92);
}

.map-sheet-turn-instruction {
  min-width: 0;
}

.map-sheet-turn-instruction--full {
  grid-column: 1 / -1;
}

.course-leg-videos-page,
.course-leg-videos-admin-page {
  --leg-video-ink: rgba(14, 29, 42, 0.95);
  --leg-video-line: rgba(12, 35, 56, 0.15);
  --leg-video-wash: rgba(13, 110, 253, 0.08);
  --leg-video-ready: #0a7a56;
  --leg-video-missing: #a63d40;
  max-width: 72rem;
  margin: 0 auto;
  color: var(--leg-video-ink);
  font-family: var(--app-font-primary);
}

.course-leg-videos-admin-page {
  max-width: 88rem;
}

.course-leg-videos-hero,
.course-leg-videos-admin-hero {
  background:
    radial-gradient(120% 140% at 5% 8%, rgba(13, 110, 253, 0.16), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(246, 250, 255, 0.94));
  border-color: rgba(13, 110, 253, 0.16) !important;
}

.course-leg-videos-selector {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.96));
  border-color: var(--leg-video-line) !important;
}

.course-leg-videos-selector-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 0.15rem;
}

.course-leg-videos-selector-summary::-webkit-details-marker {
  display: none;
}

.course-leg-videos-selector-summary-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(14, 29, 42, 0.62);
}

.course-leg-videos-selector-summary-value {
  font-size: 0.97rem;
  font-weight: 600;
}

.course-leg-videos-selector[open] .course-leg-videos-selector-summary {
  margin-bottom: 0.5rem;
}

.course-leg-videos-selector-list {
  max-height: min(56vh, 30rem);
  overflow: auto;
  display: grid;
  gap: 0.5rem;
  padding-right: 0.2rem;
}

.course-leg-videos-selector-option {
  display: grid;
  gap: 0.08rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(12, 35, 56, 0.14);
  border-radius: 0.8rem;
  padding: 0.58rem 0.72rem;
  background: rgba(255, 255, 255, 0.99);
  transition: border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}

.course-leg-videos-selector-option:hover,
.course-leg-videos-selector-option:focus-visible {
  border-color: rgba(13, 110, 253, 0.35);
  box-shadow: 0 0.38rem 0.95rem rgba(13, 110, 253, 0.12);
  transform: translateY(-1px);
}

.course-leg-videos-selector-option.is-selected {
  border-color: rgba(13, 110, 253, 0.62);
  background: rgba(13, 110, 253, 0.06);
}

.course-leg-videos-selector-line1 {
  font-weight: 600;
}

.course-leg-videos-selector-line2,
.course-leg-videos-selector-line3 {
  font-size: 0.88rem;
  color: rgba(14, 29, 42, 0.8);
}

.course-leg-videos-selector-state {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}

.course-leg-videos-selector-state.is-ready {
  color: var(--leg-video-ready);
}

.course-leg-videos-selector-state.is-missing {
  color: var(--leg-video-missing);
}

.course-leg-videos-content {
  border-radius: 1rem;
}

.course-leg-video-player-wrap {
  border: 1px solid var(--leg-video-line);
  border-radius: 0.95rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.92);
}

.course-leg-video-player {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 40rem);
}

/* Incentives campaign lifecycle UI */
.incentives-page,
.incentive-campaign-page {
  --incentives-border: rgba(7, 20, 40, 0.12);
  --incentives-wash: rgba(13, 110, 253, 0.06);
  --incentives-panel: rgba(255, 255, 255, 0.98);
}

.incentives-hero,
.incentives-create-card,
.incentives-campaign-card,
.incentives-step-card,
.incentives-campaign-hero,
.incentives-diagnostics-panel {
  border: 1px solid var(--incentives-border);
  background: var(--incentives-panel);
}

.incentives-hero {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08), rgba(255, 255, 255, 0.98));
}

.incentives-hero-kpis {
  align-items: stretch;
}

.incentives-hero-kpi {
  min-width: 8rem;
  border: 1px solid var(--incentives-border);
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.96);
}

.incentives-hero-kpi-label {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(33, 37, 41, 0.68);
}

.incentives-hero-kpi-value {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.incentives-section-kicker {
  letter-spacing: 0.04em;
  color: rgba(33, 37, 41, 0.66);
}

.incentives-campaign-card {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.incentives-campaign-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 0.75rem 1.5rem rgba(7, 20, 40, 0.08) !important;
}

.incentives-campaign-metric {
  border: 1px solid var(--incentives-border);
  border-radius: 0.68rem;
  padding: 0.45rem 0.58rem;
  background: rgba(7, 20, 40, 0.02);
  min-height: 100%;
}

.incentives-campaign-metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(33, 37, 41, 0.66);
}

.incentives-campaign-metric-value {
  margin-top: 0.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
}

.incentives-lifecycle-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  border: 1px solid var(--incentives-border);
  border-radius: 0.78rem;
  padding: 0.55rem 0.7rem;
  background: var(--incentives-wash);
}

.incentives-step-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.incentives-step-card .card-body {
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
}

.incentives-diagnostics-panel > summary {
  cursor: pointer;
  list-style: none;
}

.incentives-diagnostics-panel > summary::-webkit-details-marker {
  display: none;
}

.incentives-diagnostics-panel[open] > summary {
  border-bottom: 1px solid var(--incentives-border);
}

@media (min-width: 992px) {
  .incentives-step-card .card-body {
    padding: 1.2rem 1.35rem;
  }

  .incentives-campaign-hero .card-body {
    padding: 1.2rem 1.35rem;
  }
}

/* Dark mode compatibility for legacy light-first utility classes and components. */
[data-bs-theme="dark"] {
  --qr-ink: rgba(245, 235, 224, 0.96);
  --qr-paper: rgba(34, 26, 24, 0.9);
  --qr-wash: rgba(var(--bs-primary-rgb), 0.16);
}

[data-bs-theme="dark"] .bg-light {
  --bs-bg-opacity: 1;
  background-color: var(--bs-tertiary-bg) !important;
}

[data-bs-theme="dark"] .text-dark {
  color: var(--bs-body-color) !important;
}

[data-bs-theme="dark"] .link-dark {
  color: var(--bs-link-color) !important;
}

[data-bs-theme="dark"] .border-dark {
  border-color: rgba(214, 223, 238, 0.42) !important;
}

[data-bs-theme="dark"] .badge.text-bg-light {
  color: var(--bs-body-color) !important;
  background-color: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(214, 223, 238, 0.34) !important;
}

[data-bs-theme="dark"] .badge.text-bg-dark,
[data-bs-theme="dark"] .badge.text-bg-dark-subtle {
  color: var(--bs-body-color) !important;
  background-color: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(214, 223, 238, 0.36) !important;
}

[data-bs-theme="dark"] .btn-dark {
  --bs-btn-color: #0b1220;
  --bs-btn-bg: #d6deee;
  --bs-btn-border-color: #d6deee;
  --bs-btn-hover-color: #0b1220;
  --bs-btn-hover-bg: #e5ecf8;
  --bs-btn-hover-border-color: #e5ecf8;
  --bs-btn-focus-shadow-rgb: 214, 222, 238;
  --bs-btn-active-color: #0b1220;
  --bs-btn-active-bg: #c8d3e7;
  --bs-btn-active-border-color: #c8d3e7;
  --bs-btn-disabled-color: #0f182a;
  --bs-btn-disabled-bg: rgba(214, 222, 238, 0.58);
  --bs-btn-disabled-border-color: rgba(214, 222, 238, 0.58);
}

[data-bs-theme="dark"] .btn-outline-dark {
  --bs-btn-color: #d6deee;
  --bs-btn-border-color: rgba(214, 222, 238, 0.62);
  --bs-btn-hover-color: #0b1220;
  --bs-btn-hover-bg: #d6deee;
  --bs-btn-hover-border-color: #d6deee;
  --bs-btn-focus-shadow-rgb: 214, 222, 238;
  --bs-btn-active-color: #0b1220;
  --bs-btn-active-bg: #c8d3e7;
  --bs-btn-active-border-color: #c8d3e7;
  --bs-btn-disabled-color: rgba(214, 222, 238, 0.5);
  --bs-btn-disabled-border-color: rgba(214, 222, 238, 0.36);
}

[data-bs-theme="dark"] .map-sheets-page {
  --mapsheet-ink: rgba(232, 240, 252, 0.95);
  --mapsheet-line: rgba(148, 173, 204, 0.34);
  --mapsheet-wash: rgba(110, 168, 254, 0.2);
  --mapsheet-accent: #63d9ae;
}

[data-bs-theme="dark"] .map-sheets-hero {
  background:
    radial-gradient(115% 140% at 4% 5%, rgba(110, 168, 254, 0.26), transparent 52%),
    linear-gradient(165deg, rgba(23, 34, 51, 0.95), rgba(16, 24, 36, 0.92));
  border-color: rgba(110, 168, 254, 0.34) !important;
}

[data-bs-theme="dark"] .map-sheets-hero-title {
  background: linear-gradient(135deg, rgba(245, 249, 255, 0.98), rgba(99, 217, 174, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-bs-theme="dark"] .map-sheets-view-toggle__btn {
  border-color: rgba(148, 173, 204, 0.34);
  background: rgba(20, 30, 45, 0.88);
  color: rgba(232, 240, 252, 0.94);
}

[data-bs-theme="dark"] .map-sheets-view-toggle__btn:hover,
[data-bs-theme="dark"] .map-sheets-view-toggle__btn:focus-visible {
  border-color: rgba(110, 168, 254, 0.46);
  background: rgba(110, 168, 254, 0.16);
  color: rgba(245, 249, 255, 0.98);
  box-shadow: 0 0.2rem 0.6rem rgba(110, 168, 254, 0.16);
}

[data-bs-theme="dark"] .map-sheets-view-toggle__btn.is-active,
[data-bs-theme="dark"] .map-sheets-view-toggle__btn.is-active:hover,
[data-bs-theme="dark"] .map-sheets-view-toggle__btn.is-active:focus-visible {
  border-color: rgba(99, 217, 174, 0.64);
  background: linear-gradient(135deg, rgba(56, 170, 130, 0.98), rgba(37, 128, 97, 0.96));
  color: rgba(8, 15, 25, 0.96);
  box-shadow: 0 0.28rem 0.85rem rgba(99, 217, 174, 0.24);
}

[data-bs-theme="dark"] .map-sheets-selector {
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.95), rgba(17, 26, 39, 0.92));
}

[data-bs-theme="dark"] .map-sheets-selector-summary-label,
[data-bs-theme="dark"] .map-sheets-selector-line2,
[data-bs-theme="dark"] .map-sheets-selector-line3 {
  color: rgba(232, 240, 252, 0.78);
}

[data-bs-theme="dark"] .map-sheets-selector-option {
  border-color: rgba(148, 173, 204, 0.34);
  background: rgba(21, 31, 47, 0.9);
}

[data-bs-theme="dark"] .map-sheets-selector-option.is-selected {
  border-color: rgba(110, 168, 254, 0.58);
  background: rgba(110, 168, 254, 0.2);
}

[data-bs-theme="dark"] .map-sheet-content {
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.95), rgba(17, 26, 39, 0.93));
}

[data-bs-theme="dark"] .map-sheet-leg-summary {
  border-color: rgba(148, 173, 204, 0.34);
  background: linear-gradient(165deg, rgba(110, 168, 254, 0.16), rgba(21, 31, 47, 0.9));
}

[data-bs-theme="dark"] .map-sheet-leg-distance-badge {
  border-color: rgba(232, 240, 252, 0.14);
  background: rgba(232, 240, 252, 0.1);
}

[data-bs-theme="dark"] .map-sheet-priority-strip {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(110, 168, 254, 0.14), transparent 55%),
    linear-gradient(180deg, rgba(22, 32, 47, 0.96), rgba(18, 27, 40, 0.94));
}

[data-bs-theme="dark"] .map-sheet-leg-metric-label,
[data-bs-theme="dark"] .map-sheet-priority-strip__eyebrow,
[data-bs-theme="dark"] .map-sheet-priority-card__label,
[data-bs-theme="dark"] .map-sheet-priority-card__note,
[data-bs-theme="dark"] .map-sheet-priority-card__empty,
[data-bs-theme="dark"] .map-sheet-leg-release-label,
[data-bs-theme="dark"] .map-sheet-leg-release-note,
[data-bs-theme="dark"] .map-sheet-leg-exchange-empty,
[data-bs-theme="dark"] .map-sheet-role-subtitle {
  color: rgba(232, 240, 252, 0.8);
}

[data-bs-theme="dark"] .map-sheet-priority-card {
  background: rgba(20, 30, 45, 0.84);
}

[data-bs-theme="dark"] .map-sheet-priority-card--release {
  background: linear-gradient(160deg, rgba(110, 168, 254, 0.18), rgba(20, 30, 45, 0.9));
}

[data-bs-theme="dark"] .map-sheet-priority-card--amenities {
  background: linear-gradient(160deg, rgba(99, 217, 174, 0.16), rgba(20, 30, 45, 0.9));
}

[data-bs-theme="dark"] .map-sheet-leg-metric--exchange {
  background: rgba(20, 30, 45, 0.84);
}

[data-bs-theme="dark"] .map-sheet-leg-metric--start {
  border-color: rgba(110, 168, 254, 0.34);
  background: linear-gradient(180deg, rgba(110, 168, 254, 0.18), rgba(20, 30, 45, 0.9));
}

[data-bs-theme="dark"] .map-sheet-leg-metric--end {
  border-color: rgba(99, 217, 174, 0.32);
  background: linear-gradient(180deg, rgba(99, 217, 174, 0.18), rgba(20, 30, 45, 0.9));
}

[data-bs-theme="dark"] .map-sheet-leg-exchange-badge {
  background: rgba(232, 240, 252, 0.12);
}

[data-bs-theme="dark"] .map-sheet-amenity-chip {
  border-color: rgba(99, 217, 174, 0.28);
  background: rgba(99, 217, 174, 0.12);
}

[data-bs-theme="dark"] .map-sheet-role-card {
  background: linear-gradient(180deg, rgba(21, 31, 47, 0.9), rgba(17, 26, 39, 0.92));
}

[data-bs-theme="dark"] .map-sheet-role-card-driver {
  --mapsheet-role-border: rgba(110, 168, 254, 0.5);
  --mapsheet-role-wash: rgba(110, 168, 254, 0.2);
}

[data-bs-theme="dark"] .map-sheet-role-card-rucker {
  --mapsheet-role-border: rgba(99, 217, 174, 0.46);
  --mapsheet-role-wash: rgba(99, 217, 174, 0.17);
}

[data-bs-theme="dark"] .map-sheet-role-caret {
  background: rgba(16, 24, 36, 0.86);
}

[data-bs-theme="dark"] .map-sheet-role-summary:focus-visible {
  outline-color: rgba(110, 168, 254, 0.68);
}

[data-bs-theme="dark"] .map-sheet-driver-cta {
  --bs-btn-color: #f3f8ff;
  --bs-btn-bg: rgba(110, 168, 254, 0.3);
  --bs-btn-border-color: rgba(188, 218, 255, 0.82);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: rgba(110, 168, 254, 0.42);
  --bs-btn-hover-border-color: rgba(198, 224, 255, 0.92);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(110, 168, 254, 0.5);
  --bs-btn-active-border-color: rgba(206, 229, 255, 0.95);
}

[data-bs-theme="dark"] .map-sheet-rungo-app-cta {
  --bs-btn-color: #defbee;
  --bs-btn-bg: rgba(99, 217, 174, 0.22);
  --bs-btn-border-color: rgba(151, 238, 208, 0.66);
  --bs-btn-hover-color: #f2fff9;
  --bs-btn-hover-bg: rgba(99, 217, 174, 0.32);
  --bs-btn-hover-border-color: rgba(172, 244, 220, 0.82);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(99, 217, 174, 0.4);
  --bs-btn-active-border-color: rgba(187, 248, 228, 0.9);
}

[data-bs-theme="dark"] .map-sheet-media {
  background: rgba(14, 22, 34, 0.92);
}

[data-bs-theme="dark"] .course-leg-videos-page,
[data-bs-theme="dark"] .course-leg-videos-admin-page {
  --leg-video-ink: rgba(232, 240, 252, 0.95);
  --leg-video-line: rgba(148, 173, 204, 0.34);
  --leg-video-wash: rgba(110, 168, 254, 0.2);
  --leg-video-ready: #63d9ae;
  --leg-video-missing: #fca5a5;
}

[data-bs-theme="dark"] .course-leg-videos-hero,
[data-bs-theme="dark"] .course-leg-videos-admin-hero {
  background:
    radial-gradient(120% 140% at 5% 8%, rgba(110, 168, 254, 0.24), transparent 55%),
    linear-gradient(165deg, rgba(23, 34, 51, 0.95), rgba(16, 24, 36, 0.92));
  border-color: rgba(110, 168, 254, 0.34) !important;
}

[data-bs-theme="dark"] .course-leg-videos-selector {
  background: linear-gradient(180deg, rgba(20, 30, 45, 0.95), rgba(17, 26, 39, 0.92));
}

[data-bs-theme="dark"] .course-leg-videos-selector-summary-label,
[data-bs-theme="dark"] .course-leg-videos-selector-line2,
[data-bs-theme="dark"] .course-leg-videos-selector-line3 {
  color: rgba(232, 240, 252, 0.78);
}

[data-bs-theme="dark"] .course-leg-videos-selector-option {
  border-color: rgba(148, 173, 204, 0.34);
  background: rgba(21, 31, 47, 0.9);
}

[data-bs-theme="dark"] .course-leg-videos-selector-option.is-selected {
  border-color: rgba(110, 168, 254, 0.58);
  background: rgba(110, 168, 254, 0.2);
}

[data-bs-theme="dark"] .incentives-page,
[data-bs-theme="dark"] .incentive-campaign-page {
  --incentives-border: rgba(148, 173, 204, 0.3);
  --incentives-wash: rgba(110, 168, 254, 0.16);
  --incentives-panel: rgba(19, 29, 43, 0.9);
}

[data-bs-theme="dark"] .incentives-hero {
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.2), rgba(19, 29, 43, 0.9));
}

[data-bs-theme="dark"] .incentives-hero-kpi {
  background: rgba(25, 37, 56, 0.86);
}

[data-bs-theme="dark"] .incentives-hero-kpi-label,
[data-bs-theme="dark"] .incentives-section-kicker,
[data-bs-theme="dark"] .incentives-campaign-metric-label {
  color: rgba(232, 240, 252, 0.74);
}

[data-bs-theme="dark"] .incentives-campaign-metric {
  background: rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .incentives-campaign-card:hover {
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.34) !important;
}

[data-bs-theme="dark"] .docs-admin-section {
  background: rgba(19, 29, 43, 0.9);
  border-color: rgba(148, 173, 204, 0.26);
}

[data-bs-theme="dark"] .docs-admin-section-header {
  border-bottom-color: rgba(148, 173, 204, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .docs-admin-group-icon-preview,
[data-bs-theme="dark"] .docs-admin-pill {
  border-color: rgba(148, 173, 204, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .docs-admin-doc-item .accordion-button {
  background: rgba(21, 31, 47, 0.9);
}

[data-bs-theme="dark"] .docs-admin-doc-item .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, rgba(110, 168, 254, 0.24), rgba(110, 168, 254, 0.08));
}

[data-bs-theme="dark"] .docs-admin-doc-item .accordion-body,
[data-bs-theme="dark"] .docs-admin-action-card {
  border-color: rgba(148, 173, 204, 0.26);
  background: linear-gradient(180deg, rgba(23, 34, 51, 0.92), rgba(19, 29, 43, 0.9));
}

[data-bs-theme="dark"] .docs-admin-create-step-nav {
  border-bottom-color: rgba(148, 173, 204, 0.34);
}

[data-bs-theme="dark"] .docs-guide-body img {
  border-color: rgba(148, 173, 204, 0.28);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

[data-bs-theme="dark"] .docs-guide-body code {
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .docs-guide-body blockquote {
  border-left-color: rgba(110, 168, 254, 0.54);
  background: rgba(110, 168, 254, 0.12);
}

[data-bs-theme="dark"] .table-light {
  --bs-table-color: var(--bs-body-color);
  --bs-table-bg: rgba(255, 255, 255, 0.06);
  --bs-table-border-color: rgba(148, 173, 204, 0.32);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.09);
  --bs-table-active-bg: rgba(255, 255, 255, 0.12);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.09);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-summary-card {
  border-color: rgba(148, 173, 204, 0.32);
  background: linear-gradient(180deg, rgba(27, 39, 57, 0.92), rgba(20, 30, 45, 0.86));
}

[data-bs-theme="dark"] .team-pace-page .team-pace-summary-card {
  border-color: rgba(148, 173, 204, 0.32);
  background: linear-gradient(180deg, rgba(27, 39, 57, 0.92), rgba(20, 30, 45, 0.86));
}

[data-bs-theme="dark"] .team-pace-page .team-pace-team-card {
  border-color: rgba(148, 173, 204, 0.28);
  background: linear-gradient(180deg, rgba(25, 37, 54, 0.9), rgba(20, 30, 45, 0.86));
}

[data-bs-theme="dark"] .team-pace-page .team-pace-team-card:hover .team-pace-team-toggle {
  background: rgba(110, 168, 254, 0.12);
}

[data-bs-theme="dark"] .team-pace-page .team-pace-metric-chip {
  border-color: rgba(148, 173, 204, 0.32);
  background: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .team-pace-page .team-pace-seed-badge {
  border-color: rgba(148, 173, 204, 0.34);
  color: var(--bs-body-color);
  background: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .team-pace-page .team-pace-advanced {
  border-color: rgba(148, 173, 204, 0.3);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-team-card {
  border-color: rgba(148, 173, 204, 0.26);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-team-card:hover .team-roster-team-toggle {
  background: rgba(110, 168, 254, 0.14);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-inline-metric-label {
  color: rgba(232, 240, 252, 0.72);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-mobile-metric {
  border-color: rgba(148, 173, 204, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-team-list .list-group-item {
  border-color: rgba(148, 173, 204, 0.24);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-team-member--captain {
  background: rgba(247, 193, 107, 0.16);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-team-list--desktop-grid {
  background: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .team-roster-report .team-roster-team-list--desktop-grid .team-roster-team-member {
  border-color: rgba(148, 173, 204, 0.28);
  background: rgba(22, 33, 49, 0.92);
}

[data-bs-theme="dark"] .qr-admin-hero,
[data-bs-theme="dark"] .system-health-hero,
[data-bs-theme="dark"] .runsignup-ops-hero {
  background:
    radial-gradient(760px 250px at 8% 0%, rgba(var(--bs-primary-rgb), 0.2), transparent 58%),
    radial-gradient(760px 260px at 95% 12%, rgba(var(--bs-secondary-rgb), 0.14), transparent 62%),
    linear-gradient(180deg, rgba(34, 26, 24, 0.95), rgba(22, 17, 16, 0.9));
}

[data-bs-theme="dark"] .system-health-path,
[data-bs-theme="dark"] .system-health-storage-pill,
[data-bs-theme="dark"] .system-health-storage-chart-card,
[data-bs-theme="dark"] .system-health-storage-legend-item,
[data-bs-theme="dark"] .system-health-storage-details,
[data-bs-theme="dark"] .system-health-storage-pie-center,
[data-bs-theme="dark"] .runsignup-ops-count-tile,
[data-bs-theme="dark"] .runsignup-ops-inline-code {
  border-color: rgba(148, 173, 204, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .system-health-storage-legend-item:hover {
  border-color: rgba(110, 168, 254, 0.55);
}

[data-bs-theme="dark"] .system-health-storage-legend-item.is-active {
  border-color: rgba(110, 168, 254, 0.75);
  box-shadow: 0 0 0 0.12rem rgba(110, 168, 254, 0.2);
}

[data-bs-theme="dark"] .system-health-storage-pie-slice {
  stroke: rgba(12, 18, 28, 0.9);
}

[data-bs-theme="dark"] .system-health-storage-pie-slice.is-active {
  stroke: rgba(238, 244, 252, 0.96);
}

[data-bs-theme="dark"] .qr-accordion .accordion-button {
  background: rgba(34, 26, 24, 0.9);
}

[data-bs-theme="dark"] .qr-svg-wrap {
  border-color: rgba(var(--bs-secondary-rgb), 0.28);
  background: linear-gradient(180deg, rgba(34, 26, 24, 0.92), rgba(22, 17, 16, 0.88));
}

[data-bs-theme="dark"] .qr-url code {
  border-color: rgba(var(--bs-secondary-rgb), 0.28);
  background: rgba(255, 247, 240, 0.08);
}

[data-bs-theme="dark"] .rucktimer-coming {
  border-color: rgba(var(--bs-secondary-rgb), 0.28);
  background:
    radial-gradient(880px 280px at 10% 0%, rgba(var(--bs-primary-rgb), 0.24), transparent 58%),
    radial-gradient(760px 260px at 90% 20%, rgba(var(--bs-secondary-rgb), 0.16), transparent 62%),
    linear-gradient(180deg, rgba(34, 26, 24, 0.95), rgba(22, 17, 16, 0.9));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .rucktimer-coming__title {
  color: rgba(245, 235, 224, 0.96);
}

[data-bs-theme="dark"] .rucktimer-coming__lead {
  color: rgba(245, 235, 224, 0.84);
}

[data-bs-theme="dark"] .rucktimer-coming__signal {
  border-color: rgba(var(--bs-primary-rgb), 0.38);
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 247, 240, 0.9), rgba(255, 247, 240, 0) 45%),
    radial-gradient(circle at 65% 62%, rgba(var(--bs-primary-rgb), 0.54), rgba(var(--bs-primary-rgb), 0.16) 62%, rgba(var(--bs-primary-rgb), 0.03));
  box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.22);
}

[data-bs-theme="dark"] .rucktimer-coming__panel {
  border-color: rgba(var(--bs-secondary-rgb), 0.3);
  background: rgba(255, 247, 240, 0.08);
}

[data-bs-theme="dark"] .dashboard-shell .dashboard-chip,
[data-bs-theme="dark"] .dashboard-link-tile,
[data-bs-theme="dark"] .dashboard-social-summary-item {
  border-color: rgba(var(--bs-secondary-rgb), 0.28);
  background: linear-gradient(180deg, rgba(43, 33, 31, 0.9), rgba(31, 24, 22, 0.88));
}

[data-bs-theme="dark"] .dashboard-link-tile:hover,
[data-bs-theme="dark"] .dashboard-link-tile:focus-visible {
  border-color: rgba(var(--bs-primary-rgb), 0.46);
  box-shadow: 0 0.55rem 1rem rgba(0, 0, 0, 0.22);
}

[data-bs-theme="dark"] .dashboard-link-tile--folder-trigger .dashboard-link-title::after {
  color: rgba(232, 240, 252, 0.62);
}

[data-bs-theme="dark"] .dashboard-link-icon {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.24), rgba(var(--bs-secondary-rgb), 0.2));
  color: rgba(255, 246, 236, 0.96);
}

[data-bs-theme="dark"] .dashboard-shell .dashboard-chip-insignia {
  border-color: rgba(var(--bs-secondary-rgb), 0.28);
  background: rgba(255, 247, 240, 0.14);
}

[data-bs-theme="dark"] .dashboard-collapsible-toggle {
  border-color: rgba(148, 173, 204, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .dashboard-collapsible-toggle__summary-sub,
[data-bs-theme="dark"] .dashboard-collapsible-toggle__hint {
  color: rgba(232, 240, 252, 0.72);
}

[data-bs-theme="dark"] .dashboard-collapsible-toggle__summary-separator {
  color: rgba(232, 240, 252, 0.72);
}

[data-bs-theme="dark"] .dashboard-collapsible-toggle__summary-insignia {
  border-color: rgba(148, 173, 204, 0.28);
  background: rgba(255, 255, 255, 0.12);
}

[data-bs-theme="dark"] .dashboard-mobile-merged-collapse {
  border-top-color: rgba(148, 173, 204, 0.22);
}

[data-bs-theme="dark"] .dashboard-mobile-identity-list {
  border-color: rgba(148, 173, 204, 0.26);
  background: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .dashboard-link-description {
  color: rgba(232, 240, 252, 0.76);
}

[data-bs-theme="dark"] .dashboard-folder-modal__content {
  border: 1px solid rgba(var(--bs-secondary-rgb), 0.26);
  background:
    radial-gradient(120% 120% at 8% 4%, rgba(var(--bs-primary-rgb), 0.2), transparent 45%),
    radial-gradient(100% 130% at 92% 100%, rgba(var(--bs-secondary-rgb), 0.14), transparent 48%),
    linear-gradient(180deg, rgba(34, 27, 25, 0.98), rgba(22, 18, 17, 0.96));
}

[data-bs-theme="dark"] .dashboard-folder-modal__tile {
  background: linear-gradient(180deg, rgba(43, 33, 31, 0.92), rgba(31, 24, 22, 0.92));
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.22);
}

[data-bs-theme="dark"] .media-focus-panel {
  background: rgba(19, 29, 43, 0.96);
}

[data-bs-theme="dark"] .media-focus-header {
  border-bottom-color: rgba(148, 173, 204, 0.24);
}

.team-chat-thread {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--bs-body-bg);
  padding: 0.75rem;
  max-height: 58vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-chat-create-panel summary,
.team-chat-channel-group__summary {
  list-style: none;
}

.team-chat-create-panel summary::-webkit-details-marker,
.team-chat-channel-group__summary::-webkit-details-marker {
  display: none;
}

.team-chat-create-panel__body {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem 1rem 1rem;
}

.team-chat-create-panel summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.team-chat-create-panel summary::after {
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.team-chat-create-panel[open] summary::after {
  content: "\2212";
}

.team-chat-create-form {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem;
  border: 1px solid rgba(35, 31, 32, 0.08);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(248, 242, 232, 0.96));
}

.team-chat-create-form__hint {
  font-size: 0.76rem;
  color: var(--bs-secondary-color);
}

.team-chat-create-action {
  min-height: 2.5rem;
  border: 1px solid rgba(35, 31, 32, 0.16);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(35, 31, 32, 0.96), rgba(82, 68, 61, 0.96));
  color: #fff;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  box-shadow: 0 0.65rem 1.4rem rgba(35, 31, 32, 0.16);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.team-chat-create-action:hover,
.team-chat-create-action:focus-visible {
  color: #fff;
  border-color: rgba(157, 89, 44, 0.54);
  box-shadow: 0 0.8rem 1.65rem rgba(117, 64, 28, 0.2);
  transform: translateY(-1px);
}

.team-chat-create-action:disabled {
  opacity: 0.55;
  box-shadow: none;
  transform: none;
}

.team-chat-volunteer-search-shell__body {
  display: grid;
  gap: 1rem;
}

.team-chat-volunteer-search-shell__results {
  display: grid;
  gap: 0.45rem;
  max-height: 24rem;
  overflow-y: auto;
}

.team-chat-volunteer-picker__result {
  margin: 0;
}

.team-chat-volunteer-picker__result-button {
  width: 100%;
  border: 1px solid rgba(35, 31, 32, 0.12);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.7rem 0.8rem;
  text-align: left;
  display: grid;
  gap: 0.1rem;
}

.team-chat-volunteer-picker__result-button:hover,
.team-chat-volunteer-picker__result-button:focus-visible {
  border-color: rgba(157, 89, 44, 0.4);
  background: rgba(255, 250, 243, 1);
}

.team-chat-volunteer-picker__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bs-body-color);
}

.team-chat-volunteer-picker__email {
  font-size: 0.76rem;
  color: var(--bs-secondary-color);
}

.team-chat-volunteer-picker__empty {
  font-size: 0.78rem;
  color: var(--bs-secondary-color);
  padding: 0.5rem 0.15rem 0.1rem;
}

.team-chat-create-form .form-label {
  margin-bottom: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.team-chat-channel-group {
  border-top: 1px solid var(--bs-border-color);
}

.team-chat-channel-group__summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.team-chat-placeholder {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.team-chat-message-row {
  display: flex;
  justify-content: flex-start;
}

.team-chat-message-row--own {
  justify-content: flex-end;
}

.team-chat-bubble {
  width: fit-content;
  max-width: min(42rem, 86%);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.85rem;
  padding: 0.42rem 0.65rem 0.5rem;
  background: rgba(108, 117, 125, 0.08);
}

.team-chat-bubble--own {
  border-color: rgba(33, 37, 41, 0.28);
  background: rgba(33, 37, 41, 0.1);
}

.team-chat-message-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.2rem;
}

.team-chat-message-meta-end {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.team-chat-message-sender {
  font-size: 0.79rem;
  line-height: 1.2;
}

.team-chat-message-time {
  color: var(--bs-secondary-color);
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.team-chat-message-delete {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--bs-secondary-color);
  text-decoration: underline;
}

.team-chat-message-delete:hover,
.team-chat-message-delete:focus-visible {
  color: var(--bs-danger-text-emphasis, var(--bs-danger));
}

.team-chat-message-delete:disabled {
  opacity: 0.6;
  text-decoration: none;
}

.team-chat-message-body {
  font-size: 0.88rem;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.team-chat-media-ref {
  margin-top: 0.34rem;
  display: flex;
  align-items: center;
  gap: 0.38rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
}

.team-chat-media-label {
  color: var(--bs-secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.team-chat-media-ref a,
.team-chat-media-ref span {
  line-height: 1.25;
}

@media (max-width: 575.98px) {
  .team-chat-thread {
    padding: 0.58rem;
    max-height: 56vh;
    gap: 0.42rem;
  }

  .team-chat-bubble {
    max-width: 95%;
    padding: 0.4rem 0.55rem 0.45rem;
  }

  .team-chat-message-meta {
    gap: 0.4rem;
  }

  .team-chat-message-meta-end {
    gap: 0.35rem;
  }

  .team-chat-create-form {
    padding: 0.72rem;
  }

  .team-chat-message-body {
    font-size: 0.85rem;
  }
}

[data-bs-theme="dark"] .team-chat-create-form {
  border-color: rgba(148, 173, 204, 0.18);
  background: linear-gradient(180deg, rgba(26, 33, 42, 0.92), rgba(20, 27, 35, 0.92));
}

[data-bs-theme="dark"] .team-chat-create-action {
  border-color: rgba(202, 184, 154, 0.26);
  background: linear-gradient(180deg, rgba(202, 184, 154, 0.18), rgba(157, 89, 44, 0.46));
  box-shadow: 0 0.9rem 1.75rem rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .team-chat-create-action:hover,
[data-bs-theme="dark"] .team-chat-create-action:focus-visible {
  border-color: rgba(202, 184, 154, 0.52);
}

[data-bs-theme="dark"] .team-chat-volunteer-search-shell {
  border-color: rgba(148, 173, 204, 0.24);
}

[data-bs-theme="dark"] .team-chat-volunteer-search-shell .card-header {
  border-bottom-color: rgba(148, 173, 204, 0.18);
}

[data-bs-theme="dark"] .team-chat-volunteer-search-shell .card-body {
  background: linear-gradient(180deg, rgba(25, 33, 43, 0.98), rgba(17, 24, 31, 0.98));
}

[data-bs-theme="dark"] .team-chat-volunteer-picker__result-button {
  border-color: rgba(148, 173, 204, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .team-chat-volunteer-picker__result-button:hover,
[data-bs-theme="dark"] .team-chat-volunteer-picker__result-button:focus-visible {
  border-color: rgba(202, 184, 154, 0.44);
  background: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .team-chat-volunteer-picker__name {
  color: rgba(245, 241, 233, 0.96);
}

[data-bs-theme="dark"] .team-chat-create-panel summary,
[data-bs-theme="dark"] .team-chat-channel-group__summary {
  color: rgba(235, 239, 244, 0.82);
}

[data-bs-theme="dark"] .team-chat-bubble {
  border-color: rgba(148, 173, 204, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .team-chat-bubble--own {
  border-color: rgba(148, 173, 204, 0.42);
  background: rgba(80, 113, 154, 0.28);
}

[data-bs-theme="dark"] .team-chat-message-delete {
  color: rgba(235, 239, 244, 0.72);
}

/* HIT branding shell refresh */

:root {
  --hit-sand: #cab89a;
  --hit-sand-strong: #b39a73;
  --hit-bronze: #9d592c;
  --hit-bronze-deep: #75401c;
  --hit-ink: #231f20;
  --hit-ink-rgb: 35, 31, 32;
  --hit-smoke: #625958;
  --app-page-bg-start: #f5efe6;
  --app-page-bg-end: #eae0d2;
  --app-version-color: rgba(35, 31, 32, 0.74);
  --app-version-border: rgba(35, 31, 32, 0.12);
  --app-version-bg: rgba(255, 250, 243, 0.68);
  --app-theme-toggle-border: rgba(35, 31, 32, 0.18);
  --app-theme-toggle-bg: rgba(255, 250, 243, 0.62);
  --app-theme-toggle-color: rgba(35, 31, 32, 0.92);
  --app-theme-toggle-bg-hover: rgba(255, 250, 243, 0.88);
  --app-theme-toggle-border-hover: rgba(35, 31, 32, 0.28);
  --app-theme-toggle-focus: rgba(157, 89, 44, 0.3);
  --app-nav-subgroup-border: rgba(35, 31, 32, 0.1);
  --app-nav-divider-start: rgba(35, 31, 32, 0.03);
  --app-nav-divider-mid: rgba(35, 31, 32, 0.12);
  --app-active-secondary-color: rgba(35, 31, 32, 0.68);
  --app-nav-scrollbar-track: rgba(35, 31, 32, 0.08);
  --app-nav-scrollbar-thumb: rgba(117, 64, 28, 0.28);
  --app-nav-scrollbar-thumb-hover: rgba(117, 64, 28, 0.42);
  --app-header-panel-bg:
    radial-gradient(circle at top right, rgba(157, 89, 44, 0.16), transparent 36%),
    radial-gradient(circle at bottom left, rgba(202, 184, 154, 0.42), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 243, 0.96), rgba(242, 233, 220, 0.9));
  --app-header-panel-border: rgba(35, 31, 32, 0.12);
  --app-header-panel-shadow: 0 18px 40px rgba(78, 46, 25, 0.12);
  --app-header-title: var(--hit-ink);
  --app-header-copy: rgba(35, 31, 32, 0.78);
  --app-header-copy-muted: rgba(35, 31, 32, 0.64);
  --app-header-eyebrow: rgba(117, 64, 28, 0.8);
  --app-header-chip-bg: rgba(255, 252, 247, 0.72);
  --app-header-chip-border: rgba(35, 31, 32, 0.12);
  --app-header-chip-color: rgba(35, 31, 32, 0.9);
  --app-header-chip-emphasis-bg: rgba(117, 64, 28, 0.92);
  --app-header-chip-emphasis-border: rgba(117, 64, 28, 0.95);
  --app-header-chip-emphasis-color: rgba(255, 248, 241, 0.98);
  --app-header-social-bg: rgba(255, 250, 243, 0.56);
}

[data-bs-theme="dark"] {
  --app-page-bg-start: #0f0c0c;
  --app-page-bg-end: #1c1718;
  --app-version-color: rgba(245, 236, 225, 0.82);
  --app-version-border: rgba(245, 236, 225, 0.18);
  --app-version-bg: rgba(255, 255, 255, 0.08);
  --app-theme-toggle-border: rgba(245, 236, 225, 0.2);
  --app-theme-toggle-bg: rgba(255, 255, 255, 0.08);
  --app-theme-toggle-color: rgba(250, 244, 236, 0.94);
  --app-theme-toggle-bg-hover: rgba(255, 255, 255, 0.15);
  --app-theme-toggle-border-hover: rgba(245, 236, 225, 0.32);
  --app-theme-toggle-focus: rgba(202, 184, 154, 0.4);
  --app-nav-subgroup-border: rgba(245, 236, 225, 0.12);
  --app-nav-divider-start: rgba(245, 236, 225, 0.04);
  --app-nav-divider-mid: rgba(245, 236, 225, 0.16);
  --app-active-secondary-color: rgba(245, 236, 225, 0.7);
  --app-nav-scrollbar-track: rgba(245, 236, 225, 0.06);
  --app-nav-scrollbar-thumb: rgba(202, 184, 154, 0.24);
  --app-nav-scrollbar-thumb-hover: rgba(202, 184, 154, 0.36);
  --app-header-panel-bg:
    radial-gradient(circle at top right, rgba(202, 184, 154, 0.12), transparent 38%),
    radial-gradient(circle at bottom left, rgba(157, 89, 44, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(35, 27, 24, 0.94), rgba(23, 18, 18, 0.96));
  --app-header-panel-border: rgba(245, 236, 225, 0.1);
  --app-header-panel-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
  --app-header-title: rgba(247, 236, 220, 0.98);
  --app-header-copy: rgba(241, 227, 206, 0.82);
  --app-header-copy-muted: rgba(241, 227, 206, 0.66);
  --app-header-eyebrow: rgba(202, 184, 154, 0.92);
  --app-header-chip-bg: rgba(255, 255, 255, 0.08);
  --app-header-chip-border: rgba(245, 236, 225, 0.12);
  --app-header-chip-color: rgba(248, 239, 227, 0.94);
  --app-header-chip-emphasis-bg: rgba(202, 184, 154, 0.18);
  --app-header-chip-emphasis-border: rgba(202, 184, 154, 0.3);
  --app-header-chip-emphasis-color: rgba(252, 243, 232, 0.98);
  --app-header-social-bg: rgba(255, 255, 255, 0.07);
}

body {
  background:
    radial-gradient(circle at top left, rgba(202, 184, 154, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(157, 89, 44, 0.12), transparent 26%),
    linear-gradient(180deg, var(--app-page-bg-start) 0%, var(--app-page-bg-end) 100%);
}

.app-header {
  padding: 0.45rem 0.55rem 0;
  background: transparent;
}

.app-header__inner {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0.82rem 0.88rem 0.92rem;
  border: 1px solid var(--app-header-panel-border);
  border-radius: 0 0 1.15rem 1.15rem;
  background: var(--app-header-panel-bg);
  box-shadow: var(--app-header-panel-shadow);
  backdrop-filter: blur(10px);
}

.app-header__inner::before,
.app-header__inner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.app-header__inner::before {
  top: -3.4rem;
  right: -2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(157, 89, 44, 0.14), transparent 72%);
}

.app-header__inner::after {
  bottom: -4.5rem;
  left: -2.2rem;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(202, 184, 154, 0.24), transparent 68%);
}

.app-header__top,
.app-header__desktop-grid,
.app-header__mobile-meta {
  position: relative;
  z-index: 1;
}

.app-header__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem 1rem;
}

.app-header__top-actions {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.app-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 auto;
}

.app-brand__logo {
  display: block;
  width: auto;
  height: 4rem;
  max-width: min(36vw, 7rem);
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.14));
}

.app-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.app-brand__eyebrow {
  color: var(--app-header-eyebrow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.app-brand__wordmark {
  color: var(--app-header-title);
  font-family: var(--app-font-stencil);
  font-size: clamp(1.55rem, 4.6vw, 2.35rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.95;
}

.app-brand__tagline {
  color: var(--app-header-copy);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 42ch;
}

.app-header__meta {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.45rem;
}

.app-version {
  border-color: var(--app-version-border);
  background: var(--app-version-bg);
  color: var(--app-version-color);
}

.app-theme-toggle,
.app-participant-toggle {
  border-color: var(--app-theme-toggle-border);
  background: var(--app-theme-toggle-bg);
  color: var(--app-theme-toggle-color);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.app-theme-toggle:hover,
.app-participant-toggle:hover {
  border-color: var(--app-theme-toggle-border-hover);
  background: var(--app-theme-toggle-bg-hover);
  color: var(--app-theme-toggle-color);
}

.app-participant-toggle.is-active {
  border-color: rgba(80, 132, 96, 0.46);
  background: rgba(80, 132, 96, 0.15);
  color: rgba(26, 76, 40, 0.95);
}

[data-bs-theme="dark"] .app-participant-toggle.is-active {
  border-color: rgba(144, 202, 158, 0.38);
  background: rgba(80, 132, 96, 0.28);
  color: rgba(236, 249, 240, 0.96);
}

.app-header__desktop-grid {
  display: flex;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.app-header__slim-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.38rem 0.62rem;
  width: 100%;
  min-width: 0;
  padding-top: 0.22rem;
  border-top: 1px solid var(--app-header-panel-border);
}

.app-header__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 1.8rem;
  min-width: 0;
  color: var(--app-header-copy);
  text-decoration: none;
  font-size: 0.81rem;
  font-weight: 600;
  line-height: 1.15;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.app-header__contact-link i {
  color: var(--app-header-eyebrow);
  font-size: 0.92rem;
}

.app-header__contact-link span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.app-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  min-width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--app-header-chip-border);
  background: rgba(255, 250, 243, 0.42);
  color: var(--app-header-copy);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

[data-bs-theme="dark"] .app-header__social-link {
  background: rgba(255, 255, 255, 0.06);
}

.app-header__contact-link:hover,
.app-header__contact-link:focus-visible,
.app-header__social-link:hover,
.app-header__social-link:focus-visible {
  color: var(--app-header-title);
  text-decoration: none;
}

.app-header__social-link:hover,
.app-header__social-link:focus-visible {
  transform: translateY(-1px);
  border-color: var(--app-theme-toggle-border-hover);
  background: var(--app-theme-toggle-bg-hover);
}

.app-header__mobile-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.branding-admin-preview-card {
  height: 100%;
}

.branding-admin-preview {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--app-header-panel-border);
  border-radius: 1rem;
  background: var(--app-header-panel-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.branding-admin-preview__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.branding-admin-preview__logo {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.branding-admin-preview__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.branding-admin-preview__org {
  color: var(--app-header-eyebrow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.branding-admin-preview__app {
  color: var(--app-header-title);
  font-family: var(--app-font-stencil);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.branding-admin-preview__tagline,
.branding-admin-preview__subtagline {
  color: var(--app-header-copy);
  font-size: 0.84rem;
  line-height: 1.25;
}

.branding-admin-preview__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.branding-admin-preview__chip,
.branding-admin-preview__social {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.36rem 0.62rem;
  border: 1px solid var(--app-header-chip-border);
  border-radius: 999px;
  background: var(--app-header-social-bg);
  color: var(--app-header-chip-color);
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .app-header {
    padding: 0.35rem 0.38rem 0;
  }

  .app-header__inner {
    padding: 0.78rem 0.78rem 0.84rem;
    border-radius: 0 0 0.95rem 0.95rem;
  }

  .app-brand__logo {
    height: 3.55rem;
  }

  .app-brand__eyebrow {
    font-size: 0.66rem;
  }

  .app-brand__tagline {
    font-size: 0.8rem;
  }

  .app-header__version {
    display: none;
  }

  .app-header__meta {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) {
  .app-header {
    padding-top: 0.8rem;
    padding-left: calc(var(--app-rail-content-offset-desktop) + var(--app-shell-inline-pad-desktop));
    padding-right: var(--app-shell-inline-pad-desktop);
  }

  .app-header__inner {
    padding: 1rem 1.15rem 1.08rem;
  }

  .app-brand__logo {
    height: 6rem;
    max-width: none;
  }

  .app-brand__wordmark {
    font-size: clamp(2rem, 2.7vw, 2.85rem);
  }

  .app-header__meta {
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .app-header__desktop-grid {
    display: flex !important;
  }

  .app-header__mobile-meta {
    display: none !important;
  }
}

/* Mobile header collapse + global brand-system rollout */

:root {
  --bs-body-bg: #f7f1e7;
  --bs-body-bg-rgb: 247, 241, 231;
  --bs-body-color: #231f20;
  --bs-body-color-rgb: 35, 31, 32;
  --bs-emphasis-color: #231f20;
  --bs-emphasis-color-rgb: 35, 31, 32;
  --bs-secondary-color: rgba(35, 31, 32, 0.72);
  --bs-secondary-color-rgb: 35, 31, 32;
  --bs-border-color: rgba(35, 31, 32, 0.14);
  --bs-border-color-translucent: rgba(35, 31, 32, 0.1);
  --bs-secondary-bg: #f2e8da;
  --bs-secondary-bg-rgb: 242, 232, 218;
  --bs-tertiary-bg: #ece0d0;
  --bs-tertiary-bg-rgb: 236, 224, 208;
  --bs-link-color: #75401c;
  --bs-link-hover-color: #5d2f0f;
  --bs-primary: #9d592c;
  --bs-primary-rgb: 157, 89, 44;
  --bs-primary-text-emphasis: #47200c;
  --bs-primary-bg-subtle: #ebd8c6;
  --bs-primary-border-subtle: #d2af8b;
  --bs-secondary: #625958;
  --bs-secondary-rgb: 98, 89, 88;
  --bs-secondary-text-emphasis: #231f20;
  --bs-secondary-bg-subtle: #e7dfdd;
  --bs-secondary-border-subtle: #c9bebc;
  --bs-dark: #231f20;
  --bs-dark-rgb: 35, 31, 32;
  --bs-light: #fcf6ee;
  --bs-light-rgb: 252, 246, 238;
  --app-brand-panel-bg: rgba(252, 246, 238, 0.78);
  --app-brand-panel-shadow: 0 18px 40px rgba(74, 45, 26, 0.1);
  --app-brand-surface-strong: rgba(255, 251, 246, 0.88);
  --app-brand-muted-border: rgba(35, 31, 32, 0.16);
}

[data-bs-theme="dark"] {
  --bs-body-bg: #120f0f;
  --bs-body-bg-rgb: 18, 15, 15;
  --bs-body-color: #efe5d9;
  --bs-body-color-rgb: 239, 229, 217;
  --bs-emphasis-color: #fff5e9;
  --bs-emphasis-color-rgb: 255, 245, 233;
  --bs-secondary-color: rgba(239, 229, 217, 0.72);
  --bs-secondary-color-rgb: 239, 229, 217;
  --bs-border-color: rgba(239, 229, 217, 0.12);
  --bs-border-color-translucent: rgba(239, 229, 217, 0.1);
  --bs-secondary-bg: #1d1716;
  --bs-secondary-bg-rgb: 29, 23, 22;
  --bs-tertiary-bg: #261d1b;
  --bs-tertiary-bg-rgb: 38, 29, 27;
  --bs-link-color: #d7b48a;
  --bs-link-hover-color: #efd4b2;
  --bs-primary: #c79263;
  --bs-primary-rgb: 199, 146, 99;
  --bs-primary-text-emphasis: #fff5ea;
  --bs-primary-bg-subtle: rgba(199, 146, 99, 0.2);
  --bs-primary-border-subtle: rgba(199, 146, 99, 0.38);
  --bs-secondary: #a7928d;
  --bs-secondary-rgb: 169, 146, 141;
  --bs-secondary-text-emphasis: #fbf2e5;
  --bs-secondary-bg-subtle: rgba(169, 146, 141, 0.18);
  --bs-secondary-border-subtle: rgba(169, 146, 141, 0.32);
  --bs-dark: #f2e7da;
  --bs-dark-rgb: 242, 231, 218;
  --bs-light: #231f20;
  --bs-light-rgb: 35, 31, 32;
  --app-brand-panel-bg: rgba(35, 31, 32, 0.82);
  --app-brand-panel-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
  --app-brand-surface-strong: rgba(35, 31, 32, 0.9);
  --app-brand-muted-border: rgba(239, 229, 217, 0.14);
}

.app-header__top {
  align-items: center;
}

.app-header__panel {
  position: relative;
  z-index: 1;
}

.app-header__collapse-toggle {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  min-width: 0;
  padding: 0;
  border-radius: 999px;
  border-color: var(--app-theme-toggle-border);
  background: var(--app-theme-toggle-bg);
  color: var(--app-theme-toggle-color);
}

.app-header__collapse-toggle:hover {
  border-color: var(--app-theme-toggle-border-hover);
  background: var(--app-theme-toggle-bg-hover);
  color: var(--app-theme-toggle-color);
}

.app-header__collapse-toggle:focus-visible {
  outline: 2px solid var(--app-theme-toggle-focus);
  outline-offset: 2px;
}

.app-header__collapse-toggle-icon {
  transition: transform 0.18s ease;
}

.app-header__collapse-toggle[aria-expanded="true"] .app-header__collapse-toggle-icon {
  transform: rotate(180deg);
}

.app-header__desktop-toggle {
  position: absolute;
  right: 0.82rem;
  bottom: 0.3rem;
  z-index: 2;
  align-items: center;
  justify-content: center;
  padding: 0.05rem 0.14rem;
  border: 0;
  background: transparent;
  color: var(--app-header-copy);
  line-height: 1;
  opacity: 0.66;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.app-header__desktop-toggle:hover,
.app-header__desktop-toggle:focus-visible {
  color: var(--app-header-title);
  opacity: 1;
}

.app-header__desktop-toggle:focus-visible {
  outline: 2px solid var(--app-theme-toggle-focus);
  outline-offset: 2px;
  border-radius: 0.35rem;
}

.app-header__desktop-toggle-icon {
  font-size: 1rem;
  transition: transform 0.18s ease;
}

.app-header__desktop-toggle[aria-expanded="true"] .app-header__desktop-toggle-icon {
  transform: rotate(180deg);
}

.app-theme-toggle--mobile {
  min-width: 0;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
}

.app-header__meta {
  width: 100%;
  margin-left: 0;
  justify-content: flex-start;
}

.app-header__panel.collapse:not(.show) {
  display: none;
}

.card,
.modal-content,
.offcanvas,
.accordion-item {
  border-color: var(--bs-border-color);
  background-color: var(--app-brand-panel-bg);
  box-shadow: var(--app-brand-panel-shadow);
  backdrop-filter: blur(10px);
}

.list-group-item {
  border-color: var(--bs-border-color);
  background-color: var(--app-brand-panel-bg);
}

.accordion-button {
  background-color: var(--app-brand-surface-strong);
  color: var(--bs-emphasis-color);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-emphasis-color);
  box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-border-color);
}

.accordion-button:focus {
  border-color: rgba(var(--bs-primary-rgb), 0.34);
  box-shadow: 0 0 0 0.22rem rgba(var(--bs-primary-rgb), 0.16);
}

.bg-body-tertiary {
  background-color: var(--bs-tertiary-bg) !important;
}

.table {
  --bs-table-color: var(--bs-body-color);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.14);
  --bs-table-striped-color: var(--bs-body-color);
  --bs-table-hover-bg: rgba(var(--bs-primary-rgb), 0.08);
  --bs-table-hover-color: var(--bs-body-color);
}

[data-bs-theme="dark"] .table {
  --bs-table-striped-bg: rgba(255, 255, 255, 0.04);
}

.form-control,
.form-select,
.input-group-text {
  border-color: var(--bs-border-color);
  background-color: var(--app-brand-surface-strong);
  color: var(--bs-body-color);
}

.form-control::placeholder,
.form-select::placeholder {
  color: var(--bs-secondary-color);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(var(--bs-primary-rgb), 0.42);
  box-shadow: 0 0 0 0.22rem rgba(var(--bs-primary-rgb), 0.16);
}

.form-check-input:checked {
  background-color: rgba(var(--bs-primary-rgb), 1);
  border-color: rgba(var(--bs-primary-rgb), 1);
}

.btn-primary {
  --bs-btn-color: #fff7f0;
  --bs-btn-bg: rgba(var(--bs-primary-rgb), 1);
  --bs-btn-border-color: rgba(var(--bs-primary-rgb), 1);
  --bs-btn-hover-color: #fffaf5;
  --bs-btn-hover-bg: #7f441d;
  --bs-btn-hover-border-color: #7f441d;
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  --bs-btn-active-color: #fff7f0;
  --bs-btn-active-bg: #673514;
  --bs-btn-active-border-color: #673514;
}

.btn-outline-primary {
  --bs-btn-color: rgba(var(--bs-primary-rgb), 1);
  --bs-btn-border-color: rgba(var(--bs-primary-rgb), 0.5);
  --bs-btn-hover-color: #fff7f0;
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb), 1);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb), 1);
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  --bs-btn-active-color: #fff7f0;
  --bs-btn-active-bg: #673514;
  --bs-btn-active-border-color: #673514;
}

.btn-outline-secondary {
  --bs-btn-color: rgba(var(--bs-secondary-rgb), 1);
  --bs-btn-border-color: rgba(var(--bs-secondary-rgb), 0.42);
  --bs-btn-hover-color: #fff8f1;
  --bs-btn-hover-bg: rgba(var(--bs-secondary-rgb), 1);
  --bs-btn-hover-border-color: rgba(var(--bs-secondary-rgb), 1);
  --bs-btn-focus-shadow-rgb: var(--bs-secondary-rgb);
  --bs-btn-active-color: #fff8f1;
  --bs-btn-active-bg: #5b4a3b;
  --bs-btn-active-border-color: #5b4a3b;
}

.btn-dark {
  --bs-btn-color: #fff8f2;
  --bs-btn-bg: #231f20;
  --bs-btn-border-color: #231f20;
  --bs-btn-hover-color: #fff8f2;
  --bs-btn-hover-bg: #2e292a;
  --bs-btn-hover-border-color: #2e292a;
  --bs-btn-focus-shadow-rgb: 35, 31, 32;
  --bs-btn-active-color: #fff8f2;
  --bs-btn-active-bg: #181516;
  --bs-btn-active-border-color: #181516;
}

[data-bs-theme="dark"] .btn-dark {
  --bs-btn-color: #1b1512;
  --bs-btn-bg: #e7d7c5;
  --bs-btn-border-color: #e7d7c5;
  --bs-btn-hover-color: #120e0d;
  --bs-btn-hover-bg: #f1e5d8;
  --bs-btn-hover-border-color: #f1e5d8;
  --bs-btn-focus-shadow-rgb: 231, 215, 197;
  --bs-btn-active-color: #120e0d;
  --bs-btn-active-bg: #d9c1a8;
  --bs-btn-active-border-color: #d9c1a8;
}

.btn-outline-dark {
  --bs-btn-color: #231f20;
  --bs-btn-border-color: rgba(35, 31, 32, 0.28);
  --bs-btn-hover-color: #fff8f2;
  --bs-btn-hover-bg: #231f20;
  --bs-btn-hover-border-color: #231f20;
  --bs-btn-focus-shadow-rgb: 35, 31, 32;
  --bs-btn-active-color: #fff8f2;
  --bs-btn-active-bg: #181516;
  --bs-btn-active-border-color: #181516;
}

[data-bs-theme="dark"] .btn-outline-dark {
  --bs-btn-color: #f2e7da;
  --bs-btn-border-color: rgba(242, 231, 218, 0.32);
  --bs-btn-hover-color: #120e0d;
  --bs-btn-hover-bg: #f2e7da;
  --bs-btn-hover-border-color: #f2e7da;
  --bs-btn-focus-shadow-rgb: 242, 231, 218;
  --bs-btn-active-color: #120e0d;
  --bs-btn-active-bg: #e7d7c5;
  --bs-btn-active-border-color: #e7d7c5;
}

.btn-link {
  color: var(--bs-link-color);
}

.btn-link:hover,
.btn-link:focus-visible {
  color: var(--bs-link-hover-color);
}

.badge.text-bg-light {
  color: var(--bs-emphasis-color) !important;
  background-color: rgba(255, 249, 241, 0.96) !important;
  border-color: var(--app-brand-muted-border) !important;
}

.badge.text-bg-secondary,
.badge.text-bg-secondary-subtle {
  color: #fff8f1 !important;
  background-color: rgba(var(--bs-secondary-rgb), 0.92) !important;
  border-color: rgba(var(--bs-secondary-rgb), 0.92) !important;
}

.badge.text-bg-dark,
.badge.text-bg-dark-subtle {
  color: #fff8f1 !important;
  background-color: rgba(35, 31, 32, 0.92) !important;
  border-color: rgba(35, 31, 32, 0.92) !important;
}

.badge.text-bg-primary-subtle {
  color: var(--bs-emphasis-color) !important;
  background-color: rgba(var(--bs-primary-rgb), 0.18) !important;
  border-color: rgba(var(--bs-primary-rgb), 0.26) !important;
}

.badge.text-bg-warning-subtle {
  border-color: rgba(255, 193, 7, 0.34) !important;
}

.navbar.bg-body-tertiary {
  background-color: rgba(var(--bs-tertiary-bg-rgb), 0.95) !important;
}

.app-brand-accent-card {
  border-color: rgba(var(--bs-primary-rgb), 0.28) !important;
}

.app-google-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

@media (max-width: 991.98px) {
  .app-header__inner {
    gap: 0.55rem;
    padding-top: 0.7rem;
    padding-bottom: 0.72rem;
  }

  .app-header__top {
    gap: 0.65rem;
  }

  .app-brand {
    gap: 0.72rem;
  }

  .app-brand__tagline {
    max-width: 34ch;
  }

  .app-header__top-actions {
    align-self: flex-start;
  }

  .app-header__panel {
    padding-top: 0.15rem;
  }

  .app-header__meta {
    gap: 0.4rem;
  }

  .app-theme-toggle,
  .app-participant-toggle {
    min-width: auto;
    padding-left: 0.62rem;
    padding-right: 0.62rem;
  }
}

@media (min-width: 992px) {
  .app-header__panel,
  .app-header__panel.collapse,
  .app-header__panel.collapse:not(.show) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem 1rem;
    align-items: center;
  }

  .app-header__meta {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    justify-content: flex-end;
    width: auto;
  }

  .app-header__desktop-grid {
    grid-column: 1;
    grid-row: 1;
    display: flex !important;
    align-items: center;
  }

  .app-header__slim-row {
    padding-top: 0;
    border-top: 0;
    justify-content: flex-start;
  }

  .app-header__contact-link span {
    max-width: min(18rem, 25vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html[data-app-header-desktop-collapsed="true"] .app-header__inner {
    gap: 0;
    padding-top: 0.72rem;
    padding-bottom: 0.88rem;
  }

  html[data-app-header-desktop-collapsed="true"] .app-header__top {
    align-items: center;
  }

  html[data-app-header-desktop-collapsed="true"] .app-brand {
    gap: 0.72rem;
  }

  html[data-app-header-desktop-collapsed="true"] .app-brand__logo {
    height: 4rem;
  }

  html[data-app-header-desktop-collapsed="true"] .app-brand__eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  html[data-app-header-desktop-collapsed="true"] .app-brand__wordmark {
    font-size: clamp(1.58rem, 2vw, 2.05rem);
  }

  html[data-app-header-desktop-collapsed="true"] .app-brand__tagline {
    max-width: 52ch;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  html[data-app-header-desktop-collapsed="true"] .app-header__panel,
  html[data-app-header-desktop-collapsed="true"] .app-header__panel.collapse,
  html[data-app-header-desktop-collapsed="true"] .app-header__panel.collapse.show,
  html[data-app-header-desktop-collapsed="true"] .app-header__panel.collapse:not(.show) {
    display: none !important;
  }
}

:root {
  --app-theme-toggle-focus: rgba(var(--bs-primary-rgb), 0.3);
}

[data-bs-theme="dark"] {
  --app-theme-toggle-focus: rgba(var(--bs-primary-rgb), 0.36);
}

.global-alert-banner:focus-visible,
.dashboard-collapsible-toggle:focus-visible {
  outline-color: rgba(var(--bs-primary-rgb), 0.42);
}

.first-visit-role-banner {
  border-color: rgba(var(--bs-primary-rgb), 0.28);
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.14), rgba(var(--bs-primary-rgb), 0.06));
}

.app-bottom-nav .app-nav-subgroup .list-group-item-action.active,
.app-bottom-nav .app-nav-subgroup-mobile .list-group-item-action.active {
  background-color: rgba(var(--bs-primary-rgb), 0.11);
  border-color: rgba(var(--bs-primary-rgb), 0.2);
}

[data-bs-theme="dark"] .app-bottom-nav .app-nav-subgroup .list-group-item-action.active,
[data-bs-theme="dark"] .app-bottom-nav .app-nav-subgroup-mobile .list-group-item-action.active {
  background-color: rgba(var(--bs-primary-rgb), 0.18);
  border-color: rgba(var(--bs-primary-rgb), 0.34);
}

.alert-role-chip-input:focus-visible + .alert-role-chip {
  border-color: rgba(var(--bs-primary-rgb), 0.5);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18);
}

.alert-role-chip-input:checked + .alert-role-chip {
  border-color: rgba(var(--bs-primary-rgb), 0.58);
  background: rgba(var(--bs-primary-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.22);
}

.alert-banner-control {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.08), rgba(var(--bs-light-rgb), 0.94));
}

.alert-banner-control-switch .form-check-input:checked {
  background-color: rgba(var(--bs-primary-rgb), 1);
  border-color: rgba(var(--bs-primary-rgb), 1);
}

.alert-banner-control-switch .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18);
}

.team-roster-report .team-roster-team-card:hover .team-roster-team-toggle {
  background: rgba(var(--bs-primary-rgb), 0.05);
}

.docs-group-icon,
.docs-admin-group-icon-wrap {
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: rgba(var(--bs-primary-rgb), 1);
}

.docs-admin-section {
  background: var(--app-brand-panel-bg);
  border-color: var(--bs-border-color);
  box-shadow: var(--app-brand-panel-shadow);
}

.docs-admin-section-header {
  border-bottom-color: var(--bs-border-color);
  background: rgba(var(--bs-secondary-bg-rgb), 0.84);
}

.docs-admin-group-drag-handle {
  color: var(--bs-secondary-color);
}

.docs-admin-group-item.is-group-dragging,
.docs-admin-doc-item.is-doc-dragging {
  border-color: rgba(var(--bs-primary-rgb), 0.46);
  box-shadow: inset 0 0 0 2px rgba(var(--bs-primary-rgb), 0.18);
}

.docs-admin-group-icon-preview {
  border-color: var(--bs-border-color);
  background: rgba(var(--bs-secondary-bg-rgb), 0.84);
}

.docs-admin-doc-item {
  border-color: rgba(var(--bs-primary-rgb), 0.18);
}

.docs-admin-doc-item .accordion-button {
  background: rgba(var(--bs-light-rgb), 0.98);
}

.docs-admin-doc-item .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.16);
}

.docs-admin-doc-item .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.08), rgba(var(--bs-primary-rgb), 0.03));
}

.docs-admin-doc-item .accordion-body {
  background: linear-gradient(180deg, rgba(var(--bs-light-rgb), 0.98), rgba(var(--bs-secondary-bg-rgb), 0.88));
}

.map-sheets-page {
  --mapsheet-ink: rgba(59, 47, 39, 0.95);
  --mapsheet-line: rgba(54, 41, 32, 0.14);
  --mapsheet-wash: rgba(var(--bs-primary-rgb), 0.08);
  --mapsheet-accent: rgb(var(--bs-primary-rgb));
}

.map-sheets-hero {
  background:
    radial-gradient(115% 140% at 4% 5%, rgba(var(--bs-primary-rgb), 0.18), transparent 52%),
    linear-gradient(165deg, rgba(var(--bs-light-rgb), 0.96), rgba(var(--bs-secondary-bg-rgb), 0.93));
  border-color: rgba(var(--bs-primary-rgb), 0.16) !important;
}

.map-sheets-selector {
  background: linear-gradient(180deg, rgba(var(--bs-light-rgb), 0.97), rgba(var(--bs-secondary-bg-rgb), 0.95));
}

.map-sheets-selector-option:hover,
.map-sheets-selector-option:focus-visible {
  border-color: rgba(var(--bs-primary-rgb), 0.34);
  box-shadow: 0 0.38rem 0.95rem rgba(var(--bs-primary-rgb), 0.12);
}

.map-sheets-selector-option.is-selected {
  border-color: rgba(var(--bs-primary-rgb), 0.54);
  background: rgba(var(--bs-primary-rgb), 0.07);
}

.map-sheet-content {
  background: linear-gradient(180deg, rgba(var(--bs-light-rgb), 0.99), rgba(var(--bs-secondary-bg-rgb), 0.97));
}

.map-sheet-leg-summary {
  background: linear-gradient(165deg, rgba(var(--bs-primary-rgb), 0.06), rgba(var(--bs-light-rgb), 0.93));
}

.map-sheet-role-card-driver {
  --mapsheet-role-border: rgba(var(--bs-primary-rgb), 0.24);
  --mapsheet-role-wash: rgba(var(--bs-primary-rgb), 0.1);
}

.map-sheet-role-card-rucker {
  --mapsheet-role-border: rgba(var(--bs-secondary-rgb), 0.28);
  --mapsheet-role-wash: rgba(var(--bs-secondary-rgb), 0.11);
}

.map-sheet-role-summary:focus-visible {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.46);
}

.map-sheet-driver-cta {
  --bs-btn-color: var(--bs-emphasis-color);
  --bs-btn-bg: rgba(var(--bs-primary-rgb), 0.15);
  --bs-btn-border-color: rgba(var(--bs-primary-rgb), 0.38);
  --bs-btn-hover-color: #fff7f0;
  --bs-btn-hover-bg: rgba(var(--bs-primary-rgb), 0.26);
  --bs-btn-hover-border-color: rgba(var(--bs-primary-rgb), 0.5);
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  --bs-btn-active-color: #fff7f0;
  --bs-btn-active-bg: rgba(var(--bs-primary-rgb), 0.34);
  --bs-btn-active-border-color: rgba(var(--bs-primary-rgb), 0.58);
}

.map-sheet-rungo-app-cta {
  --bs-btn-color: var(--bs-emphasis-color);
  --bs-btn-bg: rgba(var(--bs-secondary-rgb), 0.16);
  --bs-btn-border-color: rgba(var(--bs-secondary-rgb), 0.38);
  --bs-btn-hover-color: #fff8f1;
  --bs-btn-hover-bg: rgba(var(--bs-secondary-rgb), 0.28);
  --bs-btn-hover-border-color: rgba(var(--bs-secondary-rgb), 0.5);
  --bs-btn-focus-shadow-rgb: var(--bs-secondary-rgb);
  --bs-btn-active-color: #fff8f1;
  --bs-btn-active-bg: rgba(var(--bs-secondary-rgb), 0.34);
  --bs-btn-active-border-color: rgba(var(--bs-secondary-rgb), 0.56);
}

.rucktimer-volunteer-board {
  --rv-accent: rgba(var(--bs-primary-rgb), 0.92);
  background:
    radial-gradient(760px 240px at 6% -4%, rgba(var(--bs-primary-rgb), 0.15), transparent 58%),
    radial-gradient(760px 300px at 98% 12%, rgba(var(--bs-secondary-rgb), 0.12), transparent 62%),
    linear-gradient(180deg, rgba(var(--bs-light-rgb), 0.99), rgba(var(--bs-secondary-bg-rgb), 0.95));
}

.rv-session-strip__status.is-waiting {
  border-color: rgba(var(--bs-primary-rgb), 0.4);
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: rgba(71, 32, 12, 0.96);
}

.rv-confirmed-banner {
  border-color: rgba(var(--bs-primary-rgb), 0.32);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(var(--bs-primary-rgb), 0.1));
  color: rgba(71, 32, 12, 0.96);
}

.rv-confirmed-banner__meta,
.rv-exchange-picker__hint,
.rv-exchange-option__meta {
  color: rgba(71, 32, 12, 0.74);
}

.rv-exchange-option.is-pending {
  border-color: rgba(var(--bs-primary-rgb), 0.54);
  background: rgba(var(--bs-primary-rgb), 0.08);
}

.rv-team-card.is-selected {
  box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.2), 0 10px 18px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .rucktimer-volunteer-board {
  background:
    radial-gradient(760px 260px at 8% -4%, rgba(var(--bs-primary-rgb), 0.18), transparent 58%),
    radial-gradient(760px 300px at 92% 12%, rgba(var(--bs-secondary-rgb), 0.14), transparent 62%),
    linear-gradient(180deg, rgba(var(--bs-light-rgb), 0.98), rgba(var(--bs-secondary-bg-rgb), 0.92));
}

[data-bs-theme="dark"] .rv-session-strip__status.is-waiting {
  border-color: rgba(var(--bs-primary-rgb), 0.42);
  background: rgba(var(--bs-primary-rgb), 0.22);
  color: var(--bs-emphasis-color);
}

[data-bs-theme="dark"] .rv-confirmed-banner {
  border-color: rgba(var(--bs-primary-rgb), 0.42);
  background: linear-gradient(180deg, rgba(17, 33, 56, 0.94), rgba(var(--bs-primary-rgb), 0.2));
  color: var(--bs-emphasis-color);
}

[data-bs-theme="dark"] .rv-confirmed-banner__meta,
[data-bs-theme="dark"] .rv-exchange-picker__hint,
[data-bs-theme="dark"] .rv-exchange-option__meta {
  color: rgba(248, 249, 250, 0.74);
}

[data-bs-theme="dark"] .rv-exchange-option.is-pending {
  border-color: rgba(var(--bs-primary-rgb), 0.58);
  background: rgba(var(--bs-primary-rgb), 0.2);
}

@media (max-width: 991.98px) {
  .app-header {
    padding: 0.22rem 0.28rem 0;
  }

  .app-header__inner {
    gap: 0.45rem;
    padding: 0.56rem 0.62rem 0.6rem;
    border-radius: 0 0 0.9rem 0.9rem;
  }

  .app-header__top {
    gap: 0.5rem;
  }

  .app-brand {
    gap: 0.58rem;
  }

  .app-brand__logo {
    height: 2.8rem;
    max-width: min(28vw, 3.45rem);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.12));
  }

  .app-brand__copy {
    gap: 0.03rem;
  }

  .app-brand__eyebrow {
    font-size: 0.59rem;
    letter-spacing: 0.14em;
  }

  .app-brand__wordmark {
    font-size: clamp(1.14rem, 4.8vw, 1.4rem);
  }

  .app-brand__tagline {
    font-size: 0.72rem;
    line-height: 1.1;
    max-width: 24ch;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .app-header__mobile-toggle {
    width: 2.1rem;
    height: 2.1rem;
  }

  .app-theme-toggle--mobile {
    width: 2.1rem;
    height: 2.1rem;
  }

  .app-header__panel {
    padding-top: 0.2rem;
  }

  .app-header__meta {
    gap: 0.35rem;
  }
}

/* Cohesive brand rollout for compact mobile header + legacy blue accents. */
:root {
  --app-theme-toggle-focus: rgba(var(--bs-primary-rgb), 0.32);
}

[data-bs-theme="dark"] {
  --app-theme-toggle-focus: rgba(var(--bs-primary-rgb), 0.42);
}

@media (max-width: 991.98px) {
  .app-header {
    padding: 0.22rem 0.32rem 0;
  }

  .app-header__inner {
    gap: 0.4rem;
    padding: 0.52rem 0.65rem 0.58rem;
  }

  .app-header__top {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .app-brand {
    gap: 0.58rem;
  }

  .app-brand__logo {
    height: 3.05rem;
    max-width: 3.45rem;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.14));
  }

  .app-brand__copy {
    gap: 0.02rem;
  }

  .app-brand__eyebrow {
    font-size: 0.59rem;
    letter-spacing: 0.14em;
  }

  .app-brand__wordmark {
    font-size: clamp(1.18rem, 7vw, 1.52rem);
    letter-spacing: 0.03em;
  }

  .app-brand__tagline {
    max-width: 26ch;
    font-size: 0.72rem;
    line-height: 1.12;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .app-header__mobile-toggle {
    width: 2rem;
    height: 2rem;
  }

  .app-theme-toggle--mobile {
    width: 2rem;
    height: 2rem;
  }

  .app-header__panel {
    padding-top: 0.08rem;
  }

  .app-header__meta {
    gap: 0.35rem;
  }

  .app-header__slim-row {
    gap: 0.3rem 0.5rem;
    padding-top: 0.14rem;
  }

  .app-header__contact-link {
    font-size: 0.77rem;
  }

  .app-header__social-link {
    width: 1.82rem;
    min-width: 1.82rem;
    height: 1.82rem;
  }
}

.global-alert-banner:focus-visible {
  outline-color: rgba(var(--bs-primary-rgb), 0.34);
}

.global-alert-banner--info {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.16), rgba(var(--bs-primary-rgb), 0.08));
  border-color: rgba(var(--bs-primary-rgb), 0.34);
}

.first-visit-role-banner,
.alert-banner-control {
  border-color: rgba(var(--bs-primary-rgb), 0.28);
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.14), rgba(var(--bs-primary-rgb), 0.05));
}

.global-safety-alert-modal__header--info {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.18), rgba(var(--bs-primary-rgb), 0.09));
}

.app-bottom-nav .app-nav-subgroup .list-group-item-action.active,
.app-bottom-nav .app-nav-subgroup-mobile .list-group-item-action.active {
  background-color: rgba(var(--bs-dark-rgb), 0.06);
  border-color: rgba(var(--bs-dark-rgb), 0.18);
}

[data-bs-theme="dark"] .app-bottom-nav .app-nav-subgroup .list-group-item-action.active,
[data-bs-theme="dark"] .app-bottom-nav .app-nav-subgroup-mobile .list-group-item-action.active {
  background-color: rgba(var(--bs-primary-rgb), 0.2);
  border-color: rgba(var(--bs-primary-rgb), 0.34);
}

.alert-role-chip-input:focus-visible + .alert-role-chip {
  border-color: rgba(var(--bs-primary-rgb), 0.5);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18);
}

.alert-role-chip-input:checked + .alert-role-chip {
  border-color: rgba(var(--bs-primary-rgb), 0.56);
  background: rgba(var(--bs-primary-rgb), 0.1);
  box-shadow: inset 0 0 0 1px rgba(var(--bs-primary-rgb), 0.22);
}

[data-bs-theme="dark"] .alert-role-chip-input:checked + .alert-role-chip {
  border-color: rgba(var(--bs-primary-rgb), 0.54);
  background: rgba(var(--bs-primary-rgb), 0.2);
}

.alert-banner-control-switch .form-check-input:checked {
  background-color: rgba(var(--bs-primary-rgb), 1);
  border-color: rgba(var(--bs-primary-rgb), 1);
}

.alert-banner-control-switch .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.18);
}

.team-roster-report .team-roster-team-card:hover .team-roster-team-toggle {
  background: rgba(var(--bs-primary-rgb), 0.06);
}

.docs-group-icon,
.docs-admin-group-icon-wrap {
  background: rgba(var(--bs-primary-rgb), 0.14);
  color: rgba(var(--bs-primary-rgb), 1);
}

.docs-admin-section {
  background: var(--app-brand-surface-strong);
  border-color: var(--bs-border-color);
}

.docs-admin-section-header {
  border-bottom-color: var(--bs-border-color);
  background: rgba(var(--bs-secondary-rgb), 0.12);
}

.docs-admin-group-drag-handle {
  color: rgba(var(--bs-secondary-rgb), 0.86);
}

.docs-admin-group-item.is-group-dragging,
.docs-admin-doc-item.is-doc-dragging {
  border-color: rgba(var(--bs-primary-rgb), 0.54);
  box-shadow: inset 0 0 0 2px rgba(var(--bs-primary-rgb), 0.18);
}

.docs-admin-group-icon-preview {
  border-color: var(--bs-border-color);
  background: rgba(var(--bs-secondary-rgb), 0.08);
}

.docs-admin-doc-item {
  border-color: rgba(var(--bs-primary-rgb), 0.18);
}

.docs-admin-doc-item .accordion-button {
  background: var(--app-brand-surface-strong);
}

.docs-admin-doc-item .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.16);
}

.docs-admin-doc-item .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.12), rgba(var(--bs-primary-rgb), 0.04));
}

.docs-admin-doc-item .accordion-body {
  background: linear-gradient(180deg, var(--app-brand-surface-strong), rgba(var(--bs-secondary-rgb), 0.08));
}

.rucktimer-volunteer-board {
  --rv-accent: rgba(var(--bs-primary-rgb), 0.92);
  background:
    radial-gradient(760px 240px at 6% -4%, rgba(var(--bs-primary-rgb), 0.16), transparent 58%),
    radial-gradient(760px 300px at 98% 12%, rgba(var(--bs-secondary-rgb), 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(247, 240, 232, 0.95));
}

.rv-session-strip__status.is-waiting {
  border-color: rgba(var(--bs-primary-rgb), 0.46);
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: rgba(73, 34, 11, 0.95);
}

.rv-confirmed-banner {
  border-color: rgba(var(--bs-primary-rgb), 0.3);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(var(--bs-primary-rgb), 0.1));
  color: rgba(73, 34, 11, 0.98);
}

.rv-confirmed-banner__meta,
.rv-exchange-picker__hint,
.rv-exchange-option__meta {
  color: rgba(73, 34, 11, 0.74);
}

.rv-exchange-option.is-pending {
  border-color: rgba(var(--bs-primary-rgb), 0.54);
  background: rgba(var(--bs-primary-rgb), 0.08);
}

.rv-team-card.is-selected {
  box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb), 0.18), 0 10px 18px rgba(0, 0, 0, 0.08);
}

.rv-guide-btn {
  min-width: 5.5rem;
}

.rv-exchange-location {
  min-height: 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(33, 37, 41, 0.84);
}

.rv-team-shell {
  overflow: hidden;
  padding: 0;
}

.rv-team-shell__head {
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.66);
}

.rv-team-card {
  border-radius: 0.75rem;
  box-shadow: none;
}

.rv-team-card.is-selected {
  background: #003366;
  border: 3px solid #66ccff;
  color: #fff;
  box-shadow: none;
}

.rv-team-card.is-selected .rv-card-team-name,
.rv-team-card.is-selected .rv-card-label,
.rv-team-card.is-selected .rv-card-value {
  color: #fff;
}

.rv-team-card.is-selected .rv-card-status {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.rv-team-card.is-completed:not(.is-selected) {
  background: #eef4ea;
  border-color: #c9d8c5;
}

.rv-team-card.is-partial:not(.is-selected):not(.is-completed) {
  border-color: rgba(var(--bs-primary-rgb), 0.34);
  background: rgba(var(--bs-primary-rgb), 0.05);
}

.rv-team-card.is-imminent:not(.is-selected) {
  border-color: #ff6f00;
  box-shadow: 0 0 0 1px rgba(255, 111, 0, 0.45), 0 0 6px rgba(255, 111, 0, 0.35);
}

.rv-team-card__row--top {
  align-items: center;
}

.rv-team-card__row--middle,
.rv-team-card__row--bottom {
  text-align: center;
}

.rv-card-team-name {
  flex: 1;
  text-align: center;
}

.rv-card-col {
  align-items: center;
}

.rv-batch-controls {
  display: grid;
  gap: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.85rem;
  background: rgba(248, 249, 250, 0.88);
  padding: 0.9rem;
}

.rv-batch-controls__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.rv-batch-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.35rem 0.55rem;
  padding-left: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.84);
}

.rv-batch-toggle .form-check-input {
  float: none;
  margin: 0.18rem 0 0;
  flex: 0 0 auto;
}

.rv-batch-toggle .form-check-label {
  flex: 1 1 auto;
  margin: 0;
}

.rv-batch-toggle--subtle {
  background: rgba(var(--bs-primary-rgb), 0.06);
}

.rv-modal-exchange-summary {
  margin-bottom: 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.8rem;
  background: rgba(248, 249, 250, 0.9);
  padding: 0.75rem 0.8rem;
}

.rv-preview-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rv-preview-item {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.75rem;
  background: rgba(248, 249, 250, 0.82);
  padding: 0.75rem 0.8rem;
}

.rv-preview-item__name {
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.rv-preview-item__row + .rv-preview-item__row {
  margin-top: 0.2rem;
}

.rv-preview-correction {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.08rem 0.4rem;
  border-radius: 999px;
  background: rgba(var(--bs-warning-rgb), 0.2);
  color: rgba(102, 56, 0, 0.96);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

[data-bs-theme="dark"] .rv-exchange-location {
  color: rgba(248, 249, 250, 0.82);
}

[data-bs-theme="dark"] .rv-team-shell__head {
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .rv-team-card.is-selected {
  background: #123b65;
  border-color: #8bd3ff;
}

[data-bs-theme="dark"] .rv-team-card.is-completed:not(.is-selected) {
  background: rgba(33, 85, 54, 0.46);
  border-color: rgba(145, 203, 164, 0.34);
}

[data-bs-theme="dark"] .rv-team-card.is-partial:not(.is-selected):not(.is-completed) {
  background: rgba(var(--bs-primary-rgb), 0.16);
  border-color: rgba(var(--bs-primary-rgb), 0.38);
}

[data-bs-theme="dark"] .rv-batch-controls,
[data-bs-theme="dark"] .rv-modal-exchange-summary,
[data-bs-theme="dark"] .rv-preview-item {
  background: rgba(18, 28, 43, 0.82);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-bs-theme="dark"] .rv-batch-toggle {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .rv-batch-toggle--subtle {
  background: rgba(var(--bs-primary-rgb), 0.18);
}

[data-bs-theme="dark"] .rv-preview-correction {
  background: rgba(var(--bs-warning-rgb), 0.24);
  color: rgba(255, 233, 191, 0.96);
}

.map-sheets-page {
  --mapsheet-wash: rgba(var(--bs-primary-rgb), 0.08);
  --mapsheet-accent: #8f5634;
}

.map-sheets-hero {
  background:
    radial-gradient(115% 140% at 4% 5%, rgba(var(--bs-primary-rgb), 0.18), transparent 52%),
    linear-gradient(165deg, rgba(255, 251, 245, 0.95), rgba(246, 238, 228, 0.92));
  border-color: rgba(var(--bs-primary-rgb), 0.16) !important;
}

.map-sheets-selector {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.97), rgba(246, 238, 228, 0.95));
}

.map-sheets-selector-summary-label,
.map-sheets-selector-line2,
.map-sheets-selector-line3 {
  color: rgba(59, 47, 39, 0.74);
}

.map-sheets-selector-option {
  border-color: rgba(var(--bs-secondary-rgb), 0.18);
  background: rgba(255, 251, 245, 0.98);
}

.map-sheets-selector-option:hover,
.map-sheets-selector-option:focus-visible {
  border-color: rgba(var(--bs-primary-rgb), 0.34);
  box-shadow: 0 0.38rem 0.95rem rgba(var(--bs-primary-rgb), 0.12);
}

.map-sheets-selector-option.is-selected {
  border-color: rgba(var(--bs-primary-rgb), 0.54);
  background: rgba(var(--bs-primary-rgb), 0.08);
}

.map-sheet-leg-summary {
  background: linear-gradient(165deg, rgba(var(--bs-primary-rgb), 0.08), rgba(255, 251, 245, 0.93));
}

.map-sheet-content {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.99), rgba(246, 238, 228, 0.97));
}

.map-sheet-role-card-driver {
  --mapsheet-role-border: rgba(var(--bs-primary-rgb), 0.24);
  --mapsheet-role-wash: rgba(var(--bs-primary-rgb), 0.1);
}

.map-sheet-role-card-rucker {
  --mapsheet-role-border: rgba(var(--bs-secondary-rgb), 0.28);
  --mapsheet-role-wash: rgba(var(--bs-secondary-rgb), 0.11);
}

.map-sheet-role-card {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(246, 238, 228, 0.96));
}

.map-sheet-role-subtitle,
.map-sheet-leg-metric-label {
  color: rgba(59, 47, 39, 0.72);
}

.map-sheet-role-summary:focus-visible {
  outline: 2px solid rgba(var(--bs-primary-rgb), 0.46);
}

.map-sheet-role-caret {
  background: rgba(255, 248, 241, 0.72);
}

.map-sheet-link-button {
  --mapsheet-link-text: #fffaf5;
  --mapsheet-link-eyebrow: rgba(255, 242, 232, 0.8);
  --mapsheet-link-border: rgba(var(--bs-primary-rgb), 0.56);
  --mapsheet-link-bg-start: rgba(var(--bs-primary-rgb), 0.92);
  --mapsheet-link-bg-end: rgba(var(--bs-primary-rgb), 0.76);
  --mapsheet-link-shadow: rgba(var(--bs-primary-rgb), 0.24);
  --mapsheet-link-icon-bg: rgba(255, 250, 245, 0.18);
  --mapsheet-link-icon-border: rgba(255, 246, 239, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 21rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--mapsheet-link-border);
  border-radius: 1rem;
  background: linear-gradient(145deg, var(--mapsheet-link-bg-start), var(--mapsheet-link-bg-end));
  color: var(--mapsheet-link-text);
  text-decoration: none;
  text-align: left;
  white-space: normal;
  box-shadow:
    0 0.95rem 1.8rem rgba(70, 45, 26, 0.14),
    0 0.3rem 0.75rem var(--mapsheet-link-shadow);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.map-sheet-link-button:hover,
.map-sheet-link-button:focus-visible {
  color: var(--mapsheet-link-text);
  border-color: var(--mapsheet-link-border);
  background: linear-gradient(145deg, var(--mapsheet-link-bg-start), var(--mapsheet-link-bg-end));
  transform: translateY(-1px);
  filter: saturate(1.05) brightness(1.02);
  box-shadow:
    0 1.15rem 2.1rem rgba(70, 45, 26, 0.18),
    0 0.38rem 0.85rem var(--mapsheet-link-shadow);
}

.map-sheet-link-button:focus-visible {
  outline: 2px solid rgba(255, 249, 244, 0.76);
  outline-offset: 2px;
}

.map-sheet-link-button:active {
  transform: translateY(0);
  box-shadow:
    0 0.65rem 1.25rem rgba(70, 45, 26, 0.14),
    0 0.18rem 0.5rem var(--mapsheet-link-shadow);
}

.map-sheet-link-button__text {
  display: grid;
  gap: 0.16rem;
}

.map-sheet-link-button__eyebrow {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mapsheet-link-eyebrow);
}

.map-sheet-link-button__label {
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
}

.map-sheet-link-button__icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--mapsheet-link-icon-border);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--mapsheet-link-icon-bg);
  font-size: 1.1rem;
  line-height: 1;
}

.map-sheet-driver-cta {
  --mapsheet-link-bg-start: #d8844b;
  --mapsheet-link-bg-end: #a74b22;
  --mapsheet-link-border: rgba(117, 45, 16, 0.72);
  --mapsheet-link-shadow: rgba(167, 75, 34, 0.3);
  --mapsheet-link-text: #fffaf5;
  --mapsheet-link-eyebrow: rgba(255, 238, 226, 0.8);
  --mapsheet-link-icon-bg: rgba(255, 250, 245, 0.18);
  --mapsheet-link-icon-border: rgba(255, 244, 236, 0.3);
}

.map-sheet-rungo-app-cta {
  --mapsheet-link-bg-start: #17906f;
  --mapsheet-link-bg-end: #0d614a;
  --mapsheet-link-border: rgba(8, 83, 62, 0.78);
  --mapsheet-link-shadow: rgba(13, 97, 74, 0.3);
  --mapsheet-link-text: #f6fffb;
  --mapsheet-link-eyebrow: rgba(228, 255, 246, 0.8);
  --mapsheet-link-icon-bg: rgba(245, 255, 251, 0.16);
  --mapsheet-link-icon-border: rgba(237, 255, 248, 0.28);
}

.course-leg-videos-page,
.course-leg-videos-admin-page {
  --leg-video-wash: rgba(var(--bs-primary-rgb), 0.08);
}

.course-leg-videos-hero,
.course-leg-videos-admin-hero {
  background:
    radial-gradient(120% 140% at 5% 8%, rgba(var(--bs-primary-rgb), 0.16), transparent 55%),
    linear-gradient(165deg, rgba(255, 251, 245, 0.97), rgba(246, 238, 228, 0.94));
  border-color: rgba(var(--bs-primary-rgb), 0.16) !important;
}

.course-leg-videos-selector {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(246, 238, 228, 0.96));
}

.course-leg-videos-selector-summary-label,
.course-leg-videos-selector-line2,
.course-leg-videos-selector-line3 {
  color: rgba(59, 47, 39, 0.74);
}

.course-leg-videos-selector-option {
  border-color: rgba(var(--bs-secondary-rgb), 0.18);
  background: rgba(255, 251, 245, 0.99);
}

.course-leg-videos-selector-option:hover,
.course-leg-videos-selector-option:focus-visible {
  border-color: rgba(var(--bs-primary-rgb), 0.34);
  box-shadow: 0 0.38rem 0.95rem rgba(var(--bs-primary-rgb), 0.12);
}

.course-leg-videos-selector-option.is-selected {
  border-color: rgba(var(--bs-primary-rgb), 0.54);
  background: rgba(var(--bs-primary-rgb), 0.08);
}

.course-leg-videos-content {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(246, 238, 228, 0.92));
}

.course-leg-video-player-wrap {
  border-color: rgba(var(--bs-secondary-rgb), 0.24);
}

.incentives-page,
.incentive-campaign-page {
  --incentives-border: rgba(var(--bs-secondary-rgb), 0.16);
  --incentives-wash: rgba(var(--bs-primary-rgb), 0.07);
  --incentives-panel: var(--app-brand-surface-strong);
}

.incentives-hero {
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(255, 251, 245, 0.98));
}

.incentives-campaign-card:hover {
  border-color: rgba(var(--bs-primary-rgb), 0.28);
}

[data-bs-theme="dark"] .docs-admin-section {
  background: var(--app-brand-surface-strong);
  border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .docs-admin-section-header {
  border-bottom-color: var(--bs-border-color);
  background: rgba(var(--bs-secondary-rgb), 0.14);
}

[data-bs-theme="dark"] .docs-admin-group-icon-preview,
[data-bs-theme="dark"] .docs-admin-pill {
  border-color: var(--bs-border-color);
  background: rgba(var(--bs-secondary-rgb), 0.1);
}

[data-bs-theme="dark"] .docs-admin-doc-item .accordion-button {
  background: var(--app-brand-surface-strong);
}

[data-bs-theme="dark"] .docs-admin-doc-item .accordion-button:not(.collapsed) {
  background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-primary-rgb), 0.07));
}

[data-bs-theme="dark"] .docs-admin-doc-item .accordion-body,
[data-bs-theme="dark"] .docs-admin-action-card {
  border-color: var(--bs-border-color);
  background: linear-gradient(180deg, var(--app-brand-surface-strong), rgba(var(--bs-secondary-rgb), 0.12));
}

[data-bs-theme="dark"] .map-sheets-page {
  --mapsheet-wash: rgba(var(--bs-primary-rgb), 0.2);
  --mapsheet-accent: #d8af88;
}

[data-bs-theme="dark"] .map-sheets-hero {
  background:
    radial-gradient(115% 140% at 4% 5%, rgba(var(--bs-primary-rgb), 0.24), transparent 52%),
    linear-gradient(165deg, rgba(34, 26, 24, 0.95), rgba(22, 17, 16, 0.92));
  border-color: rgba(var(--bs-primary-rgb), 0.3) !important;
}

[data-bs-theme="dark"] .map-sheets-hero-title {
  background: linear-gradient(135deg, rgba(248, 240, 232, 0.98), rgba(var(--bs-primary-rgb), 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-bs-theme="dark"] .map-sheets-selector {
  background: linear-gradient(180deg, rgba(34, 26, 24, 0.95), rgba(22, 17, 16, 0.92));
}

[data-bs-theme="dark"] .map-sheets-selector-summary-label,
[data-bs-theme="dark"] .map-sheets-selector-line2,
[data-bs-theme="dark"] .map-sheets-selector-line3 {
  color: rgba(239, 229, 217, 0.74);
}

[data-bs-theme="dark"] .map-sheets-selector-option {
  border-color: rgba(var(--bs-secondary-rgb), 0.3);
  background: rgba(43, 33, 31, 0.9);
}

[data-bs-theme="dark"] .map-sheets-selector-option.is-selected {
  border-color: rgba(var(--bs-primary-rgb), 0.52);
  background: rgba(var(--bs-primary-rgb), 0.18);
}

[data-bs-theme="dark"] .map-sheet-content {
  background: linear-gradient(180deg, rgba(34, 26, 24, 0.95), rgba(22, 17, 16, 0.93));
}

[data-bs-theme="dark"] .map-sheet-leg-summary {
  border-color: rgba(var(--bs-secondary-rgb), 0.34);
  background: linear-gradient(165deg, rgba(var(--bs-primary-rgb), 0.16), rgba(34, 26, 24, 0.9));
}

[data-bs-theme="dark"] .map-sheet-leg-distance-badge {
  border-color: rgba(239, 229, 217, 0.16);
  background: rgba(239, 229, 217, 0.1);
}

[data-bs-theme="dark"] .map-sheet-leg-metric-label,
[data-bs-theme="dark"] .map-sheet-leg-release-label,
[data-bs-theme="dark"] .map-sheet-leg-release-note,
[data-bs-theme="dark"] .map-sheet-leg-exchange-empty,
[data-bs-theme="dark"] .map-sheet-role-subtitle {
  color: rgba(239, 229, 217, 0.76);
}

[data-bs-theme="dark"] .map-sheet-role-card-driver {
  --mapsheet-role-border: rgba(var(--bs-primary-rgb), 0.44);
  --mapsheet-role-wash: rgba(var(--bs-primary-rgb), 0.18);
}

[data-bs-theme="dark"] .map-sheet-role-card-rucker {
  --mapsheet-role-border: rgba(var(--bs-secondary-rgb), 0.42);
  --mapsheet-role-wash: rgba(var(--bs-secondary-rgb), 0.16);
}

[data-bs-theme="dark"] .map-sheet-role-card {
  background: linear-gradient(180deg, rgba(43, 33, 31, 0.9), rgba(31, 24, 22, 0.92));
}

[data-bs-theme="dark"] .map-sheet-role-summary:focus-visible {
  outline-color: rgba(var(--bs-primary-rgb), 0.62);
}

[data-bs-theme="dark"] .map-sheet-role-caret {
  background: rgba(24, 18, 17, 0.86);
}

[data-bs-theme="dark"] .map-sheet-link-button {
  box-shadow:
    0 1rem 2rem rgba(0, 0, 0, 0.34),
    0 0.35rem 0.9rem var(--mapsheet-link-shadow);
}

[data-bs-theme="dark"] .map-sheet-link-button:hover,
[data-bs-theme="dark"] .map-sheet-link-button:focus-visible {
  box-shadow:
    0 1.2rem 2.3rem rgba(0, 0, 0, 0.38),
    0 0.42rem 1rem var(--mapsheet-link-shadow);
}

[data-bs-theme="dark"] .map-sheet-link-button:focus-visible {
  outline-color: rgba(255, 250, 244, 0.84);
}

[data-bs-theme="dark"] .map-sheet-driver-cta {
  --mapsheet-link-bg-start: #e1935d;
  --mapsheet-link-bg-end: #b65225;
  --mapsheet-link-border: rgba(255, 198, 158, 0.46);
  --mapsheet-link-shadow: rgba(230, 147, 93, 0.34);
}

[data-bs-theme="dark"] .map-sheet-rungo-app-cta {
  --mapsheet-link-bg-start: #1fa784;
  --mapsheet-link-bg-end: #0f6f56;
  --mapsheet-link-border: rgba(171, 245, 219, 0.34);
  --mapsheet-link-shadow: rgba(31, 167, 132, 0.34);
}

[data-bs-theme="dark"] .map-sheet-media {
  background: rgba(24, 18, 17, 0.9);
}

[data-bs-theme="dark"] .course-leg-videos-page,
[data-bs-theme="dark"] .course-leg-videos-admin-page {
  --leg-video-wash: rgba(var(--bs-primary-rgb), 0.2);
  --leg-video-ready: #c7e1ba;
}

[data-bs-theme="dark"] .course-leg-videos-hero,
[data-bs-theme="dark"] .course-leg-videos-admin-hero {
  background:
    radial-gradient(120% 140% at 5% 8%, rgba(var(--bs-primary-rgb), 0.22), transparent 55%),
    linear-gradient(165deg, rgba(34, 26, 24, 0.95), rgba(22, 17, 16, 0.92));
  border-color: rgba(var(--bs-primary-rgb), 0.3) !important;
}

[data-bs-theme="dark"] .course-leg-videos-selector {
  background: linear-gradient(180deg, rgba(34, 26, 24, 0.95), rgba(22, 17, 16, 0.92));
}

[data-bs-theme="dark"] .course-leg-videos-selector-summary-label,
[data-bs-theme="dark"] .course-leg-videos-selector-line2,
[data-bs-theme="dark"] .course-leg-videos-selector-line3 {
  color: rgba(239, 229, 217, 0.74);
}

[data-bs-theme="dark"] .course-leg-videos-selector-option {
  border-color: rgba(var(--bs-secondary-rgb), 0.3);
  background: rgba(43, 33, 31, 0.9);
}

[data-bs-theme="dark"] .course-leg-videos-selector-option.is-selected {
  border-color: rgba(var(--bs-primary-rgb), 0.52);
  background: rgba(var(--bs-primary-rgb), 0.18);
}

[data-bs-theme="dark"] .course-leg-videos-content {
  background: linear-gradient(180deg, rgba(34, 26, 24, 0.94), rgba(22, 17, 16, 0.9));
}

[data-bs-theme="dark"] .course-leg-video-player-wrap {
  border-color: rgba(var(--bs-secondary-rgb), 0.3);
  background: rgba(18, 13, 12, 0.92);
}

[data-bs-theme="dark"] .incentives-page,
[data-bs-theme="dark"] .incentive-campaign-page {
  --incentives-border: rgba(var(--bs-secondary-rgb), 0.3);
  --incentives-wash: rgba(var(--bs-primary-rgb), 0.16);
  --incentives-panel: rgba(34, 26, 24, 0.9);
}

[data-bs-theme="dark"] .incentives-hero {
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.18), rgba(34, 26, 24, 0.9));
}

[data-bs-theme="dark"] .team-roster-report .team-roster-team-card:hover .team-roster-team-toggle,
[data-bs-theme="dark"] .team-pace-page .team-pace-team-card:hover .team-pace-team-toggle {
  background: rgba(var(--bs-primary-rgb), 0.12);
}

.rucktimer-team-roster-page {
  --rtr-border: rgba(79, 63, 56, 0.14);
  --rtr-panel: rgba(255, 251, 246, 0.9);
  --rtr-wash: rgba(181, 141, 82, 0.14);
}

.rucktimer-team-roster-hero {
  border: 1px solid var(--rtr-border);
  background:
    radial-gradient(130% 140% at 0% 0%, rgba(126, 88, 39, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(255, 247, 238, 0.98), rgba(247, 241, 232, 0.94));
  box-shadow: 0 1rem 2.5rem rgba(49, 36, 27, 0.08);
}

.rucktimer-team-roster-shell {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.94), rgba(250, 245, 238, 0.92));
  box-shadow: 0 1rem 2.5rem rgba(49, 36, 27, 0.06);
}

.rucktimer-team-roster-pillbar {
  align-items: stretch;
}

.rucktimer-team-roster-pill {
  min-width: 9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid var(--rtr-border);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0.5rem 1.4rem rgba(49, 36, 27, 0.05);
}

.rucktimer-team-roster-pill__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(78, 60, 52, 0.72);
}

.rucktimer-team-roster-panel {
  background: var(--rtr-panel);
  box-shadow: 0 1rem 2rem rgba(49, 36, 27, 0.06);
}

.rucktimer-team-roster-slot {
  border-left: 4px solid rgba(126, 88, 39, 0.18);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 242, 235, 0.92));
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.rucktimer-team-roster-slot:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.9rem 1.6rem rgba(49, 36, 27, 0.08);
}

.rucktimer-team-roster-slot--busy {
  opacity: 0.72;
}

.rucktimer-team-roster-slot__meta {
  min-width: 9rem;
}

.rucktimer-team-roster-slot__overview {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(79, 63, 56, 0.1);
  font-size: 0.92rem;
}

.rucktimer-team-roster-slot__overview-summary {
  font-weight: 600;
  color: rgba(49, 36, 27, 0.92);
}

.rucktimer-team-roster-slot__overview-detail {
  margin-top: 0.15rem;
  color: rgba(78, 60, 52, 0.76);
}

.rucktimer-team-roster-slot__overview-action {
  margin-top: 0.5rem;
  padding: 0;
  font-weight: 600;
  text-decoration: none;
}

.rucktimer-team-roster-slot__overview-action:hover,
.rucktimer-team-roster-slot__overview-action:focus {
  text-decoration: underline;
}

.rucktimer-team-roster-slot__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(126, 88, 39, 0.1);
  color: rgba(84, 58, 32, 0.92);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.rucktimer-team-roster-candidate {
  padding: 0.8rem 0.9rem;
  border-radius: 0.95rem;
  border: 1px solid var(--rtr-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 241, 233, 0.9));
}

.rucktimer-team-roster-breakdown-modal {
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.98), rgba(248, 242, 235, 0.98));
}

.rucktimer-team-roster-breakdown-summary {
  margin-bottom: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(126, 88, 39, 0.08);
  color: rgba(61, 44, 32, 0.88);
  font-weight: 600;
}

.rucktimer-team-roster-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rucktimer-team-roster-breakdown-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(79, 63, 56, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.78);
}

.rucktimer-team-roster-breakdown-list__leg {
  font-weight: 600;
  color: rgba(49, 36, 27, 0.92);
}

.rucktimer-team-roster-breakdown-list__distance {
  color: rgba(78, 60, 52, 0.76);
  text-align: right;
}

[data-bs-theme="dark"] .rucktimer-team-roster-page {
  --rtr-border: rgba(210, 191, 170, 0.18);
  --rtr-panel: rgba(31, 24, 22, 0.9);
  --rtr-wash: rgba(181, 141, 82, 0.16);
}

[data-bs-theme="dark"] .rucktimer-team-roster-hero {
  background:
    radial-gradient(140% 150% at 0% 0%, rgba(181, 141, 82, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(38, 29, 26, 0.96), rgba(24, 19, 17, 0.93));
}

[data-bs-theme="dark"] .rucktimer-team-roster-shell {
  background: linear-gradient(180deg, rgba(33, 25, 23, 0.94), rgba(25, 20, 18, 0.92));
}

[data-bs-theme="dark"] .rucktimer-team-roster-pill {
  background: rgba(40, 31, 28, 0.86);
}

[data-bs-theme="dark"] .rucktimer-team-roster-pill__label {
  color: rgba(230, 218, 205, 0.7);
}

[data-bs-theme="dark"] .rucktimer-team-roster-slot {
  background: linear-gradient(135deg, rgba(42, 32, 29, 0.94), rgba(31, 24, 22, 0.92));
  border-left-color: rgba(181, 141, 82, 0.32);
}

[data-bs-theme="dark"] .rucktimer-team-roster-slot__overview {
  border-top-color: rgba(210, 191, 170, 0.12);
}

[data-bs-theme="dark"] .rucktimer-team-roster-slot__overview-summary {
  color: rgba(250, 234, 210, 0.94);
}

[data-bs-theme="dark"] .rucktimer-team-roster-slot__overview-detail {
  color: rgba(230, 218, 205, 0.74);
}

[data-bs-theme="dark"] .rucktimer-team-roster-slot__overview-action {
  color: rgba(237, 197, 124, 0.92);
}

[data-bs-theme="dark"] .rucktimer-team-roster-slot__index {
  background: rgba(181, 141, 82, 0.16);
  color: rgba(250, 234, 210, 0.94);
}

[data-bs-theme="dark"] .rucktimer-team-roster-candidate {
  background: linear-gradient(180deg, rgba(39, 30, 27, 0.92), rgba(31, 24, 22, 0.9));
}

[data-bs-theme="dark"] .rucktimer-team-roster-breakdown-modal {
  background: linear-gradient(180deg, rgba(37, 29, 27, 0.98), rgba(28, 22, 20, 0.98));
}

[data-bs-theme="dark"] .rucktimer-team-roster-breakdown-summary {
  background: rgba(181, 141, 82, 0.14);
  color: rgba(250, 234, 210, 0.92);
}

[data-bs-theme="dark"] .rucktimer-team-roster-breakdown-list__row {
  border-color: rgba(210, 191, 170, 0.12);
  background: rgba(45, 35, 32, 0.88);
}

[data-bs-theme="dark"] .rucktimer-team-roster-breakdown-list__leg {
  color: rgba(250, 234, 210, 0.92);
}

[data-bs-theme="dark"] .rucktimer-team-roster-breakdown-list__distance {
  color: rgba(230, 218, 205, 0.76);
}

.rucktimer-review-shell {
  --rt-review-line: rgba(23, 38, 48, 0.12);
  --rt-review-panel: rgba(255, 252, 247, 0.95);
  --rt-review-panel-strong: rgba(248, 243, 235, 0.98);
  --rt-review-ink: #162028;
  --rt-review-muted: #67707a;
  --rt-review-empty: #bcc5cd;
  --rt-review-pending: #c28a12;
  --rt-review-active: #9a5d14;
  --rt-review-resolved: #1d7f56;
  --rt-review-conflict: #b83d34;
  --rt-review-override: #225fb5;
  --rt-review-glow: rgba(20, 49, 63, 0.08);
}

.rucktimer-review-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(188, 104, 44, 0.18), transparent 46%),
    radial-gradient(95% 135% at 100% 0%, rgba(21, 64, 86, 0.18), transparent 54%),
    linear-gradient(140deg, rgba(255, 251, 246, 0.97), rgba(246, 240, 231, 0.96));
  border: 1px solid rgba(20, 49, 63, 0.1);
  box-shadow: 0 18px 42px rgba(34, 42, 48, 0.08);
}

.rucktimer-review-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -46% auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 49, 63, 0.09), transparent 68%);
  pointer-events: none;
}

.rucktimer-review-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(20, 49, 63, 0.08);
  color: #173647;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rucktimer-review-toolbar,
.rucktimer-review-override,
.rucktimer-review-source,
.rucktimer-review-pill-card,
.rucktimer-review-modal-meta-card {
  border: 1px solid var(--rt-review-line);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(248, 244, 238, 0.96));
}

.rucktimer-review-controls {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 1rem;
}

.rucktimer-review-control-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: 1.05rem;
  border: 1px solid var(--rt-review-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(252, 248, 242, 0.92)),
    radial-gradient(circle at top right, rgba(20, 49, 63, 0.05), transparent 45%);
}

.rucktimer-review-control-card--team-filter {
  min-width: 0;
}

.rucktimer-review-control-card__label {
  color: var(--rt-review-ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rucktimer-review-control-card .form-select,
.rucktimer-review-control-card .form-control {
  border-color: rgba(20, 49, 63, 0.14);
  box-shadow: none;
}

.rucktimer-review-control-card .form-select:focus,
.rucktimer-review-control-card .form-control:focus {
  border-color: rgba(34, 95, 181, 0.38);
  box-shadow: 0 0 0 0.18rem rgba(34, 95, 181, 0.12);
}

.rucktimer-review-team-filter {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rucktimer-review-team-filter__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-height: 2.25rem;
}

.rucktimer-review-team-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.1rem;
  padding: 0.35rem 0.45rem 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 49, 63, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 239, 231, 0.94)),
    radial-gradient(circle at 30% 20%, rgba(34, 95, 181, 0.08), transparent 55%);
  color: var(--rt-review-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 0.45rem 0.9rem rgba(22, 32, 40, 0.06);
}

.rucktimer-review-team-chip.is-placeholder {
  border-style: dashed;
  color: var(--rt-review-muted);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.rucktimer-review-team-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 49, 63, 0.08);
  color: var(--rt-review-ink);
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms ease;
}

.rucktimer-review-team-chip__remove:hover,
.rucktimer-review-team-chip__remove:focus-visible {
  background: rgba(20, 49, 63, 0.16);
  transform: translateY(-1px);
}

.rucktimer-review-team-chip__remove:focus-visible {
  outline: 2px solid rgba(34, 95, 181, 0.32);
  outline-offset: 2px;
}

.rucktimer-review-team-filter__input-wrap {
  position: relative;
}

.rucktimer-review-team-filter__input-wrap > i {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  color: var(--rt-review-muted);
  pointer-events: none;
}

.rucktimer-review-team-filter__input-wrap .form-control {
  padding-left: 2.4rem;
  min-height: 2.9rem;
  border-radius: 0.95rem;
}

.rucktimer-review-team-filter__menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.2rem);
  z-index: 18;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 18rem;
  overflow-y: auto;
  padding: 0.45rem;
  border-radius: 1rem;
  border: 1px solid rgba(20, 49, 63, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(247, 242, 234, 0.97)),
    radial-gradient(circle at top right, rgba(20, 49, 63, 0.06), transparent 44%);
  box-shadow: 0 1rem 2rem rgba(20, 29, 35, 0.14);
}

.rucktimer-review-team-filter__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  width: 100%;
  padding: 0.75rem 0.8rem;
  border: 0;
  border-radius: 0.85rem;
  background: transparent;
  color: var(--rt-review-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms ease;
}

.rucktimer-review-team-filter__option:hover,
.rucktimer-review-team-filter__option.is-active {
  background: rgba(20, 49, 63, 0.08);
  transform: translateY(-1px);
}

.rucktimer-review-team-filter__option-name {
  font-size: 0.84rem;
  font-weight: 700;
}

.rucktimer-review-team-filter__option-meta {
  color: var(--rt-review-muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rucktimer-review-team-filter__empty {
  padding: 0.75rem 0.8rem;
  color: var(--rt-review-muted);
  font-size: 0.82rem;
}

.rucktimer-review-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.rucktimer-review-legend__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  min-width: 180px;
  align-items: start;
}

.rucktimer-review-swatch {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 0.28rem;
  border: 1px solid rgba(17, 24, 28, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.rucktimer-review-swatch.is-empty,
.rucktimer-review-cell.is-empty {
  background: linear-gradient(180deg, rgba(225, 229, 233, 0.92), rgba(207, 214, 220, 0.96));
}

.rucktimer-review-swatch.is-pending,
.rucktimer-review-cell.is-pending {
  background: linear-gradient(180deg, rgba(247, 221, 151, 0.95), rgba(238, 199, 96, 0.98));
}

.rucktimer-review-swatch.is-active,
.rucktimer-review-cell.is-active {
  background: linear-gradient(180deg, rgba(242, 195, 136, 0.95), rgba(222, 149, 49, 0.98));
}

.rucktimer-review-swatch.is-resolved,
.rucktimer-review-cell.is-resolved {
  background: linear-gradient(180deg, rgba(163, 221, 196, 0.94), rgba(83, 173, 129, 0.98));
}

.rucktimer-review-swatch.is-conflict,
.rucktimer-review-cell.is-conflict {
  background: linear-gradient(180deg, rgba(241, 171, 165, 0.96), rgba(219, 94, 83, 0.98));
}

.rucktimer-review-swatch.is-override,
.rucktimer-review-cell.is-override {
  background: linear-gradient(180deg, rgba(165, 197, 243, 0.96), rgba(77, 129, 216, 0.98));
}

.rucktimer-review-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
}

.rucktimer-review-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--rt-review-line);
  background: var(--rt-review-panel);
}

.rucktimer-review-stat__label {
  color: var(--rt-review-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rucktimer-review-stat__value {
  color: var(--rt-review-ink);
  font-size: 1.15rem;
  font-weight: 700;
}

.rucktimer-review-table-wrap {
  overflow: auto;
  max-height: calc(100vh - 13.5rem);
  border: 1px solid var(--rt-review-line);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(244, 239, 231, 0.94), rgba(252, 249, 244, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.rucktimer-review-table {
  min-width: max-content;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.rucktimer-review-table thead th {
  position: sticky;
  top: 0;
  z-index: 8;
}

.rucktimer-review-table__leg-head,
.rucktimer-review-table__team-head {
  padding: 0.9rem 0.85rem;
  border-bottom: 1px solid var(--rt-review-line);
  background: linear-gradient(180deg, rgba(246, 241, 233, 0.98), rgba(238, 231, 221, 0.96));
  backdrop-filter: blur(10px);
}

.rucktimer-review-table__leg-head {
  position: sticky;
  left: 0;
  z-index: 10;
  min-width: 84px;
  max-width: 84px;
  box-shadow: 2px 0 0 rgba(26, 39, 47, 0.06);
  text-align: center;
}

.rucktimer-review-table__team-head {
  min-width: 136px;
  max-width: 136px;
  vertical-align: bottom;
  text-align: left;
}

.rucktimer-review-team-name {
  color: var(--rt-review-ink);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.15;
  word-break: break-word;
}

.rucktimer-review-team-meta {
  margin-top: 0.3rem;
  color: var(--rt-review-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.rucktimer-review-table__row.is-active .rucktimer-review-table__leg-cell {
  box-shadow: inset 3px 0 0 rgba(154, 93, 20, 0.86);
}

.rucktimer-review-table__row.has-review .rucktimer-review-table__leg-cell {
  background:
    linear-gradient(180deg, rgba(251, 246, 236, 0.98), rgba(246, 239, 227, 0.98)),
    linear-gradient(90deg, rgba(184, 61, 52, 0.06), transparent 40%);
}

.rucktimer-review-table__leg-cell {
  position: sticky;
  left: 0;
  z-index: 6;
  min-width: 84px;
  max-width: 84px;
  padding: 0.6rem 0.35rem;
  border-right: 1px solid var(--rt-review-line);
  border-bottom: 1px solid rgba(17, 24, 28, 0.06);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(249, 245, 238, 0.98));
  text-align: center;
}

.rucktimer-review-leg-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 0.8rem;
  border: 1px solid rgba(18, 29, 36, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--rt-review-ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  cursor: help;
}

.rucktimer-review-leg-chip:hover,
.rucktimer-review-leg-chip:focus-visible {
  border-color: rgba(18, 29, 36, 0.24);
  background: rgba(255, 255, 255, 0.9);
}

.rucktimer-review-leg-chip:focus-visible {
  outline: 2px solid rgba(20, 49, 63, 0.3);
  outline-offset: 2px;
}

.rucktimer-review-table__cell {
  padding: 0.34rem;
  border-bottom: 1px solid rgba(17, 24, 28, 0.06);
  background: rgba(255, 255, 255, 0.54);
}

.rucktimer-review-cell {
  width: 100%;
  min-height: 84px;
  display: grid;
  grid-template-rows: auto auto repeat(2, auto);
  gap: 0.24rem;
  padding: 0.5rem 0.52rem;
  border: 1px solid rgba(17, 24, 28, 0.12);
  border-radius: 0.82rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 6px 14px rgba(27, 34, 39, 0.08);
  text-align: left;
  color: var(--rt-review-ink);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease,
    filter 140ms ease;
}

.rucktimer-review-cell:hover,
.rucktimer-review-cell:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(22, 34, 41, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 12px 20px rgba(24, 31, 37, 0.12);
  filter: saturate(1.05);
}

.rucktimer-review-cell:focus-visible {
  outline: 2px solid rgba(20, 49, 63, 0.34);
  outline-offset: 2px;
}

.rucktimer-review-cell__state {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rucktimer-review-cell__sources {
  display: flex;
  align-items: center;
  gap: 0.28rem;
}

.rucktimer-review-source-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.1rem;
  padding: 0 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 24, 28, 0.14);
  background: rgba(255, 255, 255, 0.68);
  color: rgba(20, 28, 33, 0.84);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rucktimer-review-source-dot.is-none,
.rucktimer-review-source-state.is-none {
  background: rgba(232, 236, 239, 0.92);
  color: #64717c;
}

.rucktimer-review-source-dot.is-partial,
.rucktimer-review-source-state.is-partial {
  background: rgba(250, 228, 171, 0.94);
  color: #8f6408;
}

.rucktimer-review-source-dot.is-complete,
.rucktimer-review-source-state.is-complete {
  background: rgba(181, 232, 206, 0.95);
  color: #155b39;
}

.rucktimer-review-source-dot.is-conflict,
.rucktimer-review-source-state.is-conflict {
  background: rgba(245, 184, 177, 0.95);
  color: #8f2e27;
}

.rucktimer-review-cell__pace {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.45rem;
  padding-top: 0.12rem;
  border-top: 1px dashed rgba(24, 31, 36, 0.16);
  font-size: 0.64rem;
}

.rucktimer-review-cell__pace > span {
  color: rgba(24, 31, 36, 0.7);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rucktimer-review-cell__pace > strong {
  font-size: 0.74rem;
  font-weight: 700;
}

.rucktimer-review-modal-head,
.rucktimer-review-modal-decision {
  display: grid;
  gap: 0.75rem;
}

.rucktimer-review-pill-card,
.rucktimer-review-modal-meta-card {
  height: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
}

.rucktimer-review-pill-card__label {
  color: var(--rt-review-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rucktimer-review-pill-card__value {
  margin-top: 0.3rem;
  color: var(--rt-review-ink);
  font-size: 1.02rem;
  font-weight: 700;
}

.rucktimer-review-source__meta {
  min-height: 0;
}

.rucktimer-review-source-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--rt-review-line);
  background: rgba(252, 249, 244, 0.92);
}

.rucktimer-review-source-summary > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rucktimer-review-source-summary strong {
  color: var(--rt-review-ink);
  font-size: 0.94rem;
}

.rucktimer-review-source-state {
  color: #172028;
}

.rucktimer-review-event-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.rucktimer-review-event {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--rt-review-line);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(249, 245, 239, 0.96)),
    radial-gradient(circle at top right, rgba(20, 49, 63, 0.05), transparent 44%);
}

.rucktimer-review-event__action {
  min-width: 210px;
  padding: 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(18, 27, 31, 0.08);
  background: rgba(255, 255, 255, 0.58);
}

[data-bs-theme="dark"] .rucktimer-review-shell {
  --rt-review-line: rgba(220, 229, 235, 0.12);
  --rt-review-panel: rgba(26, 31, 34, 0.95);
  --rt-review-panel-strong: rgba(23, 28, 31, 0.98);
  --rt-review-ink: #f0f4f7;
  --rt-review-muted: rgba(223, 228, 232, 0.68);
  --rt-review-glow: rgba(130, 171, 191, 0.12);
}

[data-bs-theme="dark"] .rucktimer-review-hero {
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(187, 108, 42, 0.22), transparent 46%),
    radial-gradient(95% 135% at 100% 0%, rgba(76, 119, 143, 0.24), transparent 54%),
    linear-gradient(140deg, rgba(24, 29, 32, 0.98), rgba(18, 22, 25, 0.96));
  border-color: rgba(214, 231, 239, 0.08);
  box-shadow: 0 18px 42px rgba(3, 7, 10, 0.24);
}

[data-bs-theme="dark"] .rucktimer-review-kicker {
  background: rgba(214, 231, 239, 0.08);
  color: #dce9ef;
}

[data-bs-theme="dark"] .rucktimer-review-toolbar,
[data-bs-theme="dark"] .rucktimer-review-override,
[data-bs-theme="dark"] .rucktimer-review-source,
[data-bs-theme="dark"] .rucktimer-review-pill-card,
[data-bs-theme="dark"] .rucktimer-review-modal-meta-card {
  background: linear-gradient(180deg, rgba(28, 33, 37, 0.98), rgba(22, 27, 30, 0.96));
}

[data-bs-theme="dark"] .rucktimer-review-control-card {
  background:
    linear-gradient(180deg, rgba(34, 40, 44, 0.94), rgba(25, 30, 34, 0.96)),
    radial-gradient(circle at top right, rgba(110, 168, 254, 0.1), transparent 48%);
}

[data-bs-theme="dark"] .rucktimer-review-control-card .form-select,
[data-bs-theme="dark"] .rucktimer-review-control-card .form-control {
  border-color: rgba(220, 229, 235, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--rt-review-ink);
}

[data-bs-theme="dark"] .rucktimer-review-team-chip {
  border-color: rgba(220, 229, 235, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 30% 20%, rgba(110, 168, 254, 0.14), transparent 52%);
}

[data-bs-theme="dark"] .rucktimer-review-team-chip.is-placeholder {
  background: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] .rucktimer-review-team-chip__remove {
  background: rgba(255, 255, 255, 0.08);
  color: var(--rt-review-ink);
}

[data-bs-theme="dark"] .rucktimer-review-team-chip__remove:hover,
[data-bs-theme="dark"] .rucktimer-review-team-chip__remove:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

[data-bs-theme="dark"] .rucktimer-review-team-filter__menu {
  border-color: rgba(220, 229, 235, 0.14);
  background:
    linear-gradient(180deg, rgba(28, 33, 37, 0.98), rgba(23, 28, 32, 0.97)),
    radial-gradient(circle at top right, rgba(110, 168, 254, 0.12), transparent 48%);
}

[data-bs-theme="dark"] .rucktimer-review-team-filter__option:hover,
[data-bs-theme="dark"] .rucktimer-review-team-filter__option.is-active {
  background: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .rucktimer-review-stat {
  background: rgba(28, 33, 37, 0.92);
}

[data-bs-theme="dark"] .rucktimer-review-table-wrap {
  background:
    linear-gradient(180deg, rgba(22, 27, 30, 0.96), rgba(20, 24, 27, 0.96)),
    linear-gradient(135deg, rgba(28, 33, 37, 0.96), rgba(22, 27, 30, 0.96));
}

[data-bs-theme="dark"] .rucktimer-review-table__leg-head,
[data-bs-theme="dark"] .rucktimer-review-table__team-head {
  background: linear-gradient(180deg, rgba(34, 40, 44, 0.98), rgba(28, 34, 37, 0.96));
}

[data-bs-theme="dark"] .rucktimer-review-table__leg-cell {
  background: linear-gradient(180deg, rgba(26, 31, 34, 0.99), rgba(22, 27, 30, 0.98));
}

[data-bs-theme="dark"] .rucktimer-review-leg-chip {
  border-color: rgba(223, 229, 232, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #f0f4f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .rucktimer-review-leg-chip:hover,
[data-bs-theme="dark"] .rucktimer-review-leg-chip:focus-visible {
  border-color: rgba(223, 229, 232, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .rucktimer-review-table__row.has-review .rucktimer-review-table__leg-cell {
  background:
    linear-gradient(180deg, rgba(26, 31, 34, 0.98), rgba(22, 27, 30, 0.98)),
    linear-gradient(90deg, rgba(224, 100, 91, 0.12), transparent 40%);
}

[data-bs-theme="dark"] .rucktimer-review-table__cell {
  background: rgba(255, 255, 255, 0.02);
}

[data-bs-theme="dark"] .rucktimer-review-cell {
  border-color: rgba(221, 230, 236, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 18px rgba(6, 9, 11, 0.28);
}

[data-bs-theme="dark"] .rucktimer-review-cell:hover,
[data-bs-theme="dark"] .rucktimer-review-cell:focus-visible {
  border-color: rgba(221, 230, 236, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 22px rgba(6, 9, 11, 0.34);
}

[data-bs-theme="dark"] .rucktimer-review-source-dot {
  border-color: rgba(223, 229, 232, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ecf2f5;
}

[data-bs-theme="dark"] .rucktimer-review-cell__pace {
  border-top-color: rgba(228, 234, 238, 0.14);
}

[data-bs-theme="dark"] .rucktimer-review-cell__pace > span {
  color: rgba(233, 239, 243, 0.72);
}

[data-bs-theme="dark"] .rucktimer-review-source-summary,
[data-bs-theme="dark"] .rucktimer-review-event,
[data-bs-theme="dark"] .rucktimer-review-event__action {
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 991.98px) {
  .rucktimer-review-controls {
    grid-template-columns: 1fr;
  }
}

.rucktimer-sim-shell {
  --rucktimer-sim-line: rgba(39, 57, 68, 0.14);
  --rucktimer-sim-panel: rgba(250, 247, 242, 0.92);
  --rucktimer-sim-muted: #6a6e72;
  --rucktimer-sim-accent: #14313f;
  --rucktimer-sim-wash: rgba(20, 49, 63, 0.08);
}

.rucktimer-sim-hero {
  background:
    radial-gradient(110% 180% at 0% 0%, rgba(184, 104, 36, 0.14), transparent 48%),
    radial-gradient(120% 160% at 100% 0%, rgba(20, 49, 63, 0.16), transparent 55%),
    linear-gradient(145deg, rgba(255, 251, 246, 0.95), rgba(244, 239, 232, 0.94));
  border: 1px solid rgba(20, 49, 63, 0.1);
}

.rucktimer-sim-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(20, 49, 63, 0.08);
  color: var(--rucktimer-sim-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rucktimer-sim-card {
  border: 1px solid var(--rucktimer-sim-line);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(248, 244, 238, 0.94));
}

.rucktimer-sim-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.85rem;
}

.rucktimer-sim-metric,
.rucktimer-sim-session,
.rucktimer-sim-course {
  border: 1px solid var(--rucktimer-sim-line);
  background: var(--rucktimer-sim-panel);
}

.rucktimer-sim-metric {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
}

.rucktimer-sim-metric__label,
.rucktimer-sim-field__label {
  color: var(--rucktimer-sim-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rucktimer-sim-metric__value,
.rucktimer-sim-field__value {
  color: #172127;
  font-size: 1.08rem;
  font-weight: 600;
}

.rucktimer-sim-session,
.rucktimer-sim-course {
  padding: 1rem 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.rucktimer-sim-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

[data-bs-theme="dark"] .rucktimer-sim-shell {
  --rucktimer-sim-line: rgba(219, 229, 237, 0.12);
  --rucktimer-sim-panel: rgba(24, 29, 33, 0.92);
  --rucktimer-sim-muted: rgba(225, 230, 234, 0.7);
  --rucktimer-sim-accent: #d6e7ef;
  --rucktimer-sim-wash: rgba(137, 177, 198, 0.16);
}

[data-bs-theme="dark"] .rucktimer-sim-hero {
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(184, 104, 36, 0.18), transparent 48%),
    radial-gradient(120% 160% at 100% 0%, rgba(92, 137, 160, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(27, 31, 34, 0.96), rgba(20, 23, 25, 0.94));
  border-color: rgba(214, 231, 239, 0.08);
}

[data-bs-theme="dark"] .rucktimer-sim-kicker {
  background: rgba(214, 231, 239, 0.08);
  color: #d6e7ef;
}

[data-bs-theme="dark"] .rucktimer-sim-card {
  background: linear-gradient(180deg, rgba(27, 31, 34, 0.96), rgba(20, 23, 25, 0.94));
}

[data-bs-theme="dark"] .rucktimer-sim-metric__value,
[data-bs-theme="dark"] .rucktimer-sim-field__value {
  color: #f4f7f9;
}

.overall-standings-main-shell {
  max-width: 100%;
}

.overall-standings-main-shell.app-main {
  padding-top: 1rem !important;
}

.overall-standings-page {
  --overall-paper: rgba(255, 250, 242, 0.84);
  --overall-paper-strong: rgba(255, 247, 237, 0.94);
  --overall-line: rgba(70, 48, 29, 0.14);
  --overall-ink: rgba(47, 34, 24, 0.95);
  --overall-muted: rgba(71, 50, 31, 0.68);
  --overall-jethro: #d46c43;
  --overall-jones: #15806d;
  --overall-helos: #255ecf;
  color: var(--overall-ink);
  width: 100%;
  margin: 0;
}

.overall-standings-hero__eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
}

.overall-standings-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(74, 46, 23, 0.14);
  background: rgba(255, 252, 247, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overall-standings-pill--muted {
  color: var(--overall-muted);
}

.overall-standings-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  font-size: 0.9rem;
  color: var(--overall-muted);
}

.overall-standings-hero__meta span {
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(77, 53, 32, 0.08);
}

.overall-standings-stat-card,
.overall-standings-map-card,
.overall-standings-board {
  border: 1px solid var(--overall-line);
  background: var(--overall-paper);
  box-shadow: 0 18px 36px rgba(67, 39, 18, 0.1);
}

.overall-standings-stat-card {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  backdrop-filter: blur(8px);
}

.overall-standings-stat-card__label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--overall-muted);
}

.overall-standings-stat-card__value {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1;
}

.overall-standings-map-card,
.overall-standings-board {
  border-radius: 1.2rem;
}

.overall-standings-map-card {
  overflow: hidden;
  padding: 1.1rem;
  backdrop-filter: blur(8px);
  position: relative;
}

.overall-standings-map-card--primary {
  background:
    radial-gradient(circle at top left, rgba(212, 108, 67, 0.2), transparent 34%),
    radial-gradient(circle at 84% 10%, rgba(37, 94, 207, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 238, 224, 0.92));
}

.overall-standings-shell {
  gap: 1rem;
}

.overall-standings-map-card__mast {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(16rem, 24rem);
  gap: 1rem;
  align-items: start;
}

.overall-standings-map-card__mast-copy,
.overall-standings-map-card__mast-stats,
.overall-standings-board {
  position: relative;
  z-index: 1;
}

.overall-standings-map-card__title {
  margin: 0;
  font-family: var(--app-font-stencil);
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.overall-standings-map-card__lead {
  max-width: 40rem;
  margin-top: 0.6rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--overall-muted);
}

.overall-standings-map-card__mast-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.overall-standings-map-card__meta-row,
.overall-standings-board__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
}

.overall-standings-map-card__meta-row {
  margin-top: 1rem;
}

.overall-standings-board__head {
  margin-bottom: 0.8rem;
}

.overall-standings-board__eyebrow {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--overall-muted);
}

.overall-standings-map-card__status,
.overall-standings-board__subhead {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--overall-muted);
}

.overall-standings-map-card__status {
  max-width: 26rem;
  text-align: right;
}

.overall-standings-map-shell {
  position: relative;
  margin-top: 0.9rem;
  border-radius: 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(67, 39, 18, 0.08);
  background:
    radial-gradient(circle at 20% 18%, rgba(212, 108, 67, 0.12), transparent 28%),
    radial-gradient(circle at 76% 12%, rgba(37, 94, 207, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(243, 233, 218, 0.88));
}

.overall-standings-map-shell__controls {
  position: absolute;
  top: calc(0.85rem + env(safe-area-inset-top, 0px));
  right: calc(0.85rem + env(safe-area-inset-right, 0px));
  z-index: 950;
  display: flex;
  gap: 0.55rem;
}

.overall-standings-map-shell__control {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  min-height: 2.35rem;
  padding: 0.48rem 0.82rem;
  border: 1px solid rgba(75, 51, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.92);
  color: rgba(63, 41, 23, 0.94);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(52, 31, 17, 0.12);
  backdrop-filter: blur(10px);
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.overall-standings-map-shell__control:hover,
.overall-standings-map-shell__control:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(52, 31, 17, 0.16);
}

.overall-standings-map-shell__control:focus-visible {
  outline: 2px solid rgba(48, 75, 102, 0.22);
  outline-offset: 2px;
}

.overall-standings-map-shell__control.is-active {
  background: rgba(255, 244, 232, 0.98);
  box-shadow: inset 0 0 0 1px rgba(212, 108, 67, 0.16), 0 14px 26px rgba(52, 31, 17, 0.16);
}

.overall-standings-map-fullscreen-active {
  overflow: hidden;
}

.overall-standings-map-card.is-map-fullscreen,
.overall-standings-map-card:fullscreen,
.overall-standings-map-card:-webkit-full-screen {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100dvh;
  padding: 0.7rem;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.overall-standings-map-card.is-map-fullscreen .overall-standings-map-card__mast,
.overall-standings-map-card.is-map-fullscreen .overall-standings-map-card__meta-row,
.overall-standings-map-card.is-map-fullscreen .overall-standings-map-legend,
.overall-standings-map-card:fullscreen .overall-standings-map-card__mast,
.overall-standings-map-card:fullscreen .overall-standings-map-card__meta-row,
.overall-standings-map-card:fullscreen .overall-standings-map-legend,
.overall-standings-map-card:-webkit-full-screen .overall-standings-map-card__mast,
.overall-standings-map-card:-webkit-full-screen .overall-standings-map-card__meta-row,
.overall-standings-map-card:-webkit-full-screen .overall-standings-map-legend {
  display: none;
}

.overall-standings-map-card.is-map-fullscreen .overall-standings-map-shell,
.overall-standings-map-card:fullscreen .overall-standings-map-shell,
.overall-standings-map-card:-webkit-full-screen .overall-standings-map-shell {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  margin-top: 0;
  border-radius: 1.1rem;
}

.overall-standings-map-card.is-map-fullscreen .overall-standings-map-canvas,
.overall-standings-map-card:fullscreen .overall-standings-map-canvas,
.overall-standings-map-card:-webkit-full-screen .overall-standings-map-canvas {
  min-height: 100%;
  height: 100%;
}

.overall-standings-map-canvas {
  width: 100%;
  min-height: 38rem;
  height: clamp(38rem, calc(100vh - 12rem), 58rem);
  overscroll-behavior: contain;
}

.overall-standings-map-shell .leaflet-container {
  font-family: var(--app-font-primary);
  -ms-touch-action: none;
  touch-action: none;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 20% 18%, rgba(212, 108, 67, 0.12), transparent 28%),
    radial-gradient(circle at 76% 12%, rgba(37, 94, 207, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(233, 240, 242, 0.98), rgba(223, 231, 233, 0.96));
}

.overall-standings-map-shell .leaflet-tile {
  filter: saturate(0.84) contrast(0.94) brightness(1.06);
}

.overall-standings-map-shell .leaflet-overlay-pane svg {
  filter: drop-shadow(0 3px 4px rgba(53, 32, 18, 0.12));
}

.overall-standings-map-shell .leaflet-control-zoom a,
.overall-standings-map-shell .leaflet-bar a {
  color: rgba(47, 34, 24, 0.95);
}

.overall-standings-map-shell .leaflet-popup-content-wrapper,
.overall-standings-map-shell .leaflet-tooltip {
  border: 1px solid rgba(75, 51, 31, 0.12);
  box-shadow: 0 12px 28px rgba(67, 39, 18, 0.14);
  color: rgba(47, 34, 24, 0.95);
  background: rgba(255, 250, 242, 0.98);
}

.overall-standings-map-shell .leaflet-control-attribution {
  background: rgba(255, 250, 242, 0.82);
  color: rgba(71, 50, 31, 0.72);
  backdrop-filter: blur(8px);
}

.overall-standings-anchor {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 51, 31, 0.18);
  background: rgba(255, 252, 247, 0.94);
  color: rgba(63, 41, 23, 0.9);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(67, 39, 18, 0.12);
}

.overall-standings-anchor[data-division="jethro"] {
  box-shadow: 0 10px 20px rgba(67, 39, 18, 0.12);
}

.overall-standings-anchor[data-division="jones"] {
  box-shadow: 0 10px 20px rgba(67, 39, 18, 0.12);
}

.overall-standings-anchor[data-division="helos"] {
  box-shadow: 0 10px 20px rgba(67, 39, 18, 0.12);
}

.overall-standings-challenge-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 2px solid rgba(214, 108, 67, 0.7);
  background: rgba(255, 245, 229, 0.96);
  color: rgba(94, 47, 18, 0.92);
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(67, 39, 18, 0.12);
}

.overall-standings-endpoint {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 51, 31, 0.22);
  background: rgba(255, 252, 247, 0.97);
  color: rgba(63, 41, 23, 0.96);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 12px 18px rgba(67, 39, 18, 0.14);
  white-space: nowrap;
}

.overall-standings-endpoint--start {
  box-shadow: inset 0 0 0 1px rgba(21, 128, 109, 0.18), 0 12px 18px rgba(67, 39, 18, 0.14);
}

.overall-standings-endpoint--finish {
  box-shadow: inset 0 0 0 1px rgba(212, 108, 67, 0.2), 0 12px 18px rgba(67, 39, 18, 0.14);
}

.overall-standings-endpoint-wrap {
  background: transparent;
  border: 0;
}

.overall-standings-endpoint-wrap .overall-standings-endpoint {
  position: relative;
}

.overall-standings-endpoint-wrap--start .overall-standings-endpoint {
  transform: translate(-1.7rem, -1rem);
}

.overall-standings-endpoint-wrap--finish .overall-standings-endpoint {
  transform: translate(1.7rem, 1rem);
}

.overall-standings-exchange-wrap {
  background: transparent;
  border: 0;
}

.overall-standings-exchange {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--overall-exchange-size, 2rem);
  height: var(--overall-exchange-size, 2rem);
  border-radius: 999px;
  border: var(--overall-exchange-border-width, 2px) solid rgba(75, 51, 31, 0.28);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(247, 237, 223, 0.97));
  box-shadow:
    0 10px 20px rgba(52, 31, 17, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.84);
  color: rgba(63, 41, 23, 0.96);
}

.overall-standings-exchange::after {
  content: "";
  position: absolute;
  inset: var(--overall-exchange-ring-inset, 2px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
}

.overall-standings-exchange__number {
  position: relative;
  z-index: 1;
  font-size: var(--overall-exchange-font-size, 0.82rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.overall-standings-amenity-marker-wrap {
  background: transparent;
  border: 0;
}

.overall-standings-amenity-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.34rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 51, 31, 0.16);
  background: rgba(255, 250, 242, 0.98);
  box-shadow: 0 10px 18px rgba(52, 31, 17, 0.14);
  transform: translate(0.95rem, -0.95rem);
}

.overall-standings-amenity-marker__glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(212, 108, 67, 0.12);
  color: rgba(73, 55, 39, 0.92);
  font-size: 0.76rem;
  box-shadow: inset 0 0 0 1px rgba(75, 51, 31, 0.08);
}

.overall-standings-amenity-marker__glyph[data-amenity="bathroom"] {
  background: rgba(88, 109, 118, 0.12);
  color: #36515e;
}

.overall-standings-amenity-marker__glyph[data-amenity="pt"] {
  background: rgba(207, 74, 92, 0.12);
  color: #9d2235;
}

.overall-standings-amenity-marker__glyph[data-amenity="coffee"] {
  background: rgba(181, 116, 46, 0.14);
  color: #8c4e12;
}

.overall-standings-team-marker-wrap {
  background: transparent;
  border: 0;
}

.overall-standings-team-marker {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--overall-marker-size, 2.5rem);
  height: var(--overall-marker-size, 2.5rem);
}

.overall-standings-team-marker__halo,
.overall-standings-team-marker__core {
  position: absolute;
  border-radius: 999px;
}

.overall-standings-team-marker__halo {
  inset: 0;
  background: rgba(92, 74, 58, 0.18);
  opacity: 0.94;
  box-shadow: 0 14px 22px rgba(52, 31, 17, 0.18);
}

.overall-standings-team-marker__core {
  inset: var(--overall-marker-core-inset, 2px);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(79, 58, 38, 0.98), rgba(60, 44, 29, 0.98));
  color: rgba(255, 251, 247, 0.98);
  font-size: var(--overall-marker-font-size, 0.78rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  border: var(--overall-marker-border-width, 2px) solid rgba(255, 250, 242, 0.94);
}

.overall-standings-team-marker[data-state="queued"] .overall-standings-team-marker__core {
  opacity: 0.82;
}

.overall-standings-team-marker[data-state="queued"] .overall-standings-team-marker__halo {
  background: rgba(109, 94, 79, 0.16);
}

.overall-standings-team-marker[data-state="active"] .overall-standings-team-marker__halo {
  background: var(--overall-active-leg-color-soft, rgba(255, 107, 53, 0.42));
  box-shadow:
    0 0 0 2px rgba(255, 250, 242, 0.9),
    0 14px 26px rgba(52, 31, 17, 0.18);
}

.overall-standings-team-marker[data-state="active"] .overall-standings-team-marker__core {
  box-shadow:
    inset 0 0 0 2px var(--overall-active-leg-color, rgba(255, 107, 53, 0.56)),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

.overall-standings-team-marker[data-state="exchange"] .overall-standings-team-marker__halo {
  background: rgba(213, 165, 91, 0.32);
}

.overall-standings-team-marker[data-state="exchange"] .overall-standings-team-marker__core {
  box-shadow: inset 0 0 0 2px rgba(213, 165, 91, 0.34);
}

.overall-standings-team-marker[data-state="finished"] .overall-standings-team-marker__halo {
  background: rgba(111, 143, 120, 0.34);
  box-shadow: 0 0 0 2px rgba(255, 250, 242, 0.92), 0 14px 22px rgba(52, 31, 17, 0.16);
}

.overall-standings-team-marker[data-state="finished"] .overall-standings-team-marker__core {
  box-shadow: inset 0 0 0 2px rgba(111, 143, 120, 0.36);
}

.overall-standings-team-marker[data-state="dnf"] .overall-standings-team-marker__core,
.overall-standings-team-marker[data-state="dq"] .overall-standings-team-marker__core {
  background: rgba(73, 80, 87, 0.86);
}

.overall-standings-team-marker[data-state="dnf"] .overall-standings-team-marker__halo,
.overall-standings-team-marker[data-state="dq"] .overall-standings-team-marker__halo {
  background: rgba(108, 117, 125, 0.22);
}

.overall-standings-team-cluster-wrap {
  background: transparent;
  border: 0;
}

.overall-standings-team-cluster {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
}

.overall-standings-team-cluster__halo,
.overall-standings-team-cluster__core {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.overall-standings-team-cluster__halo {
  inset: -0.22rem;
  background: rgba(92, 74, 58, 0.2);
  opacity: 0.98;
  box-shadow: 0 16px 28px rgba(52, 31, 17, 0.18);
}

.overall-standings-team-cluster__core {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(87, 66, 47, 0.98), rgba(63, 46, 32, 0.98));
  color: rgba(255, 251, 247, 0.98);
  border: 2px solid rgba(255, 250, 242, 0.96);
}

.overall-standings-team-cluster__count {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
}

.overall-standings-team-cluster__badge {
  position: absolute;
  right: -0.35rem;
  bottom: -0.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(75, 51, 31, 0.18);
  background: rgba(255, 250, 242, 0.97);
  color: rgba(73, 55, 39, 0.88);
  font-size: 0.54rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(52, 31, 17, 0.12);
}

.overall-standings-team-cluster[data-state="queued"] .overall-standings-team-cluster__core {
  opacity: 0.86;
}

.overall-standings-team-cluster[data-state="queued"] .overall-standings-team-cluster__halo {
  background: rgba(109, 94, 79, 0.18);
}

.overall-standings-team-cluster[data-state="active"] .overall-standings-team-cluster__halo {
  background: var(--overall-active-leg-color-soft, rgba(212, 108, 67, 0.4));
}

.overall-standings-team-cluster[data-state="active"] .overall-standings-team-cluster__core {
  box-shadow: inset 0 0 0 2px var(--overall-active-leg-color, rgba(212, 108, 67, 0.36));
}

.overall-standings-team-cluster[data-state="exchange"] .overall-standings-team-cluster__halo {
  background: rgba(213, 165, 91, 0.36);
}

.overall-standings-team-cluster[data-state="exchange"] .overall-standings-team-cluster__core {
  box-shadow: inset 0 0 0 2px rgba(213, 165, 91, 0.34);
}

.overall-standings-team-cluster[data-state="finished"] .overall-standings-team-cluster__halo {
  background: rgba(111, 143, 120, 0.38);
  box-shadow: 0 0 0 2px rgba(255, 250, 242, 0.92), 0 16px 28px rgba(52, 31, 17, 0.18);
}

.overall-standings-team-cluster[data-state="finished"] .overall-standings-team-cluster__core {
  box-shadow: inset 0 0 0 2px rgba(111, 143, 120, 0.36);
}

.overall-standings-team-cluster[data-state="dnf"] .overall-standings-team-cluster__core,
.overall-standings-team-cluster[data-state="dq"] .overall-standings-team-cluster__core {
  background: linear-gradient(180deg, rgba(92, 99, 107, 0.96), rgba(73, 80, 87, 0.96));
}

.overall-standings-team-cluster[data-state="dnf"] .overall-standings-team-cluster__halo,
.overall-standings-team-cluster[data-state="dq"] .overall-standings-team-cluster__halo {
  background: rgba(108, 117, 125, 0.26);
}

.overall-standings-leaflet__route-glow,
.overall-standings-leaflet__route-base,
.overall-standings-leaflet__town-boundary,
.overall-standings-leaflet__complete,
.overall-standings-leaflet__activity,
.overall-standings-leaflet__leg-hitbox,
.overall-standings-leaflet__stem {
  animation: none;
}

.overall-standings-leaflet__complete,
.overall-standings-leaflet__activity {
  stroke-linecap: round;
}

.overall-standings-leaflet__activity {
  animation: overall-standings-activity-dash 2.2s linear infinite;
  stroke-opacity: 0.92;
}

.overall-standings-leaflet__activity,
.overall-standings-leaflet__stem {
  stroke-linecap: round;
}

.overall-standings-leaflet__route-glow {
  opacity: 0.98;
}

.overall-standings-leaflet__route-base {
  opacity: 0.98;
}

.overall-standings-leaflet__town-boundary {
  vector-effect: non-scaling-stroke;
}

.overall-standings-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding: 0.8rem 0.95rem 0;
  font-size: 0.86rem;
  color: var(--overall-muted);
  border-top: 1px solid rgba(75, 51, 31, 0.08);
}

.overall-standings-map-legend__section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.overall-standings-map-legend__label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overall-standings-map-legend__chips,
.overall-standings-map-legend__states {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
}

.overall-standings-division-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.66rem;
  border-radius: 999px;
  color: #fffaf4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.overall-standings-division-chip--jethro {
  background: var(--overall-jethro);
}

.overall-standings-division-chip--jones {
  background: var(--overall-jones);
}

.overall-standings-division-chip--helos {
  background: var(--overall-helos);
}

.overall-standings-key {
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  margin-right: 0.35rem;
  vertical-align: -0.1rem;
  border-radius: 0.3rem;
}

.overall-standings-key--active {
  background: linear-gradient(135deg, #ff6b35, #14b8a6);
}

.overall-standings-key--amenity {
  background: rgba(255, 250, 242, 0.98);
  border: 1px solid rgba(75, 51, 31, 0.28);
  box-shadow: inset 0 0 0 2px rgba(212, 108, 67, 0.14);
}

.overall-standings-key--town {
  background: rgba(88, 109, 118, 0.18);
  border: 1px solid rgba(66, 88, 96, 0.5);
}

.overall-standings-key--complete {
  background: rgba(111, 143, 120, 0.96);
}

.overall-standings-key--marker {
  background: rgba(73, 55, 39, 0.92);
}

.overall-standings-key--exchange {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.76), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 237, 223, 0.96));
  border: 1px solid rgba(75, 51, 31, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.overall-standings-key--challenge {
  background: rgba(255, 233, 179, 0.98);
  border: 1px solid rgba(214, 108, 67, 0.62);
}

.overall-standings-board__empty {
  font-size: 0.92rem;
  color: var(--overall-muted);
}

.overall-standings-map-legend__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.overall-standings-layer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.2rem;
  padding: 0.45rem 0.78rem;
  border: 1px solid rgba(75, 51, 31, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.86);
  color: rgba(63, 41, 23, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.overall-standings-layer-toggle:hover,
.overall-standings-layer-toggle:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(52, 31, 17, 0.1);
}

.overall-standings-layer-toggle:focus-visible {
  outline: 2px solid rgba(48, 75, 102, 0.22);
  outline-offset: 2px;
}

.overall-standings-layer-toggle.is-active {
  background: rgba(255, 244, 232, 0.96);
  box-shadow: inset 0 0 0 1px rgba(212, 108, 67, 0.14);
}

.overall-standings-layer-toggle__swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(212, 108, 67, 0.12);
  color: rgba(73, 55, 39, 0.92);
  font-size: 0.76rem;
}

.overall-standings-popup__amenity-list {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.overall-standings-popup__amenity-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
}

.overall-standings-popup__amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(212, 108, 67, 0.12);
  color: rgba(73, 55, 39, 0.92);
  font-size: 0.78rem;
}

.overall-standings-popup__amenity-icon[data-amenity="bathroom"] {
  background: rgba(88, 109, 118, 0.12);
  color: #36515e;
}

.overall-standings-popup__amenity-icon[data-amenity="pt"] {
  background: rgba(207, 74, 92, 0.12);
  color: #9d2235;
}

.overall-standings-popup__amenity-icon[data-amenity="coffee"] {
  background: rgba(181, 116, 46, 0.14);
  color: #8c4e12;
}

.overall-standings-popup {
  min-width: 11rem;
}

.overall-standings-popup--cluster {
  min-width: 15rem;
  max-width: 19rem;
}

.overall-standings-popup__title {
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.overall-standings-popup__meta {
  margin-top: 0.18rem;
  font-size: 0.78rem;
  color: var(--overall-muted);
}

.overall-standings-popup__meta--section {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(63, 41, 23, 0.72);
}

.overall-standings-popup__meta--tail {
  margin-top: 0.5rem;
}

.overall-standings-popup__meta--legs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.overall-standings-popup__label {
  font-size: 0.72rem;
  font-weight: 800;
  color: rgba(63, 41, 23, 0.78);
}

.overall-standings-popup__leg-text {
  font-size: 0.74rem;
}

.overall-standings-popup__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
}

.overall-standings-popup__row span:last-child {
  color: var(--overall-muted);
  text-align: right;
}

.overall-standings-popup__row-label {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.35rem;
}

.overall-standings-leg-swatch-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.22rem;
  vertical-align: middle;
}

.overall-standings-leg-swatch {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--overall-leg-color, rgba(212, 108, 67, 0.92));
  box-shadow: inset 0 0 0 2px rgba(255, 250, 242, 0.92), 0 0 0 1px rgba(75, 51, 31, 0.14);
}

.overall-standings-popup__team-list {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(75, 51, 31, 0.1);
}

.overall-standings-popup__team-list--tooltip {
  margin-top: 0.5rem;
}

.overall-standings-popup__team-row + .overall-standings-popup__team-row {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(75, 51, 31, 0.08);
}

.overall-standings-popup__team-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: start;
}

.overall-standings-popup__team-copy {
  min-width: 0;
}

.overall-standings-popup__team-name {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.overall-standings-popup__team-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
}

.overall-standings-popup__team-division {
  margin-top: 0.18rem;
  font-size: 0.72rem;
  color: var(--overall-muted);
}

.overall-standings-popup__team-state {
  max-width: 8rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: rgba(63, 41, 23, 0.84);
  text-align: right;
}

.overall-standings-popup__team-state--timing {
  font-weight: 800;
  color: rgba(63, 41, 23, 0.92);
}

.overall-standings-board {
  padding: 0.95rem 1rem 1rem;
  background: var(--overall-paper-strong);
}

.overall-standings-ledger-row__title,
.overall-standings-ledger-row__progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.overall-standings-ledger-division + .overall-standings-ledger-division {
  margin-top: 0.9rem;
}

.overall-standings-ledger-division__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.overall-standings-ledger-division__kicker {
  width: 0.7rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--division-kicker, var(--overall-jethro));
  flex: 0 0 auto;
}

.overall-standings-ledger-division__count {
  font-size: 0.82rem;
  color: var(--overall-muted);
}

.overall-standings-ledger-division__rows {
  display: grid;
  gap: 0.55rem;
}

.overall-standings-ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.72rem 0.82rem;
  border-radius: 1rem;
  border: 1px solid rgba(75, 51, 31, 0.08);
  background: rgba(255, 252, 247, 0.72);
}

.overall-standings-ledger-row__lead {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
}

.overall-standings-ledger-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  background: var(--ledger-chip, rgba(75, 51, 31, 0.9));
  color: rgba(255, 250, 244, 0.98);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
  box-shadow: 0 12px 18px rgba(52, 31, 17, 0.14);
}

.overall-standings-ledger-row__copy {
  min-width: 0;
}

.overall-standings-ledger-row__title strong {
  display: inline-block;
  max-width: 100%;
}

.overall-standings-ledger-row__rank {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--overall-muted);
}

.overall-standings-ledger-row__meta,
.overall-standings-ledger-row__location {
  font-size: 0.84rem;
  color: var(--overall-muted);
}

.overall-standings-ledger-row__location {
  margin-top: 0.18rem;
}

.overall-standings-ledger-row__progress {
  flex: 0 0 auto;
  min-width: 8rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--overall-muted);
}

.overall-standings-ledger-row[data-state="active"] {
  box-shadow: inset 0 0 0 1px rgba(21, 128, 109, 0.16);
}

.overall-standings-ledger-row[data-state="finished"] {
  box-shadow: inset 0 0 0 1px rgba(37, 94, 207, 0.14);
}

.overall-standings-ledger-row[data-state="queued"] {
  opacity: 0.9;
}

@keyframes overall-standings-activity-dash {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -30;
  }
}

[data-bs-theme="dark"] .overall-standings-page {
  --overall-paper: rgba(24, 28, 36, 0.82);
  --overall-paper-strong: rgba(22, 25, 33, 0.96);
  --overall-line: rgba(242, 228, 205, 0.11);
  --overall-ink: rgba(247, 237, 224, 0.96);
  --overall-muted: rgba(232, 215, 191, 0.7);
}

[data-bs-theme="dark"] .overall-standings-map-card--primary {
  background:
    radial-gradient(circle at top left, rgba(212, 108, 67, 0.22), transparent 36%),
    radial-gradient(circle at 85% 18%, rgba(37, 94, 207, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(19, 23, 31, 0.98), rgba(28, 33, 44, 0.92));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

[data-bs-theme="dark"] .overall-standings-pill,
[data-bs-theme="dark"] .overall-standings-hero__meta span,
[data-bs-theme="dark"] .overall-standings-ledger-row {
  background: rgba(255, 255, 255, 0.04);
}

[data-bs-theme="dark"] .overall-standings-map-shell {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 20% 18%, rgba(212, 108, 67, 0.14), transparent 28%),
    radial-gradient(circle at 76% 12%, rgba(37, 94, 207, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(26, 31, 41, 0.98), rgba(20, 24, 34, 0.92));
}

[data-bs-theme="dark"] .overall-standings-map-shell .leaflet-container {
  background:
    radial-gradient(circle at 20% 18%, rgba(212, 108, 67, 0.15), transparent 28%),
    radial-gradient(circle at 76% 12%, rgba(37, 94, 207, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(18, 24, 33, 0.98), rgba(14, 20, 30, 0.96));
}

[data-bs-theme="dark"] .overall-standings-map-shell .leaflet-tile {
  filter: saturate(0.78) contrast(1.02) brightness(0.9);
}

[data-bs-theme="dark"] .overall-standings-map-shell .leaflet-control-attribution,
[data-bs-theme="dark"] .overall-standings-map-shell .leaflet-popup-content-wrapper,
[data-bs-theme="dark"] .overall-standings-map-shell .leaflet-tooltip {
  border-color: rgba(244, 230, 207, 0.12);
  background: rgba(24, 29, 40, 0.94);
  color: rgba(248, 240, 229, 0.94);
}

[data-bs-theme="dark"] .overall-standings-map-shell__control {
  border-color: rgba(244, 230, 207, 0.16);
  background: rgba(24, 29, 40, 0.9);
  color: rgba(248, 240, 229, 0.94);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
}

[data-bs-theme="dark"] .overall-standings-map-shell__control.is-active {
  background: rgba(40, 34, 28, 0.96);
  box-shadow: inset 0 0 0 1px rgba(214, 108, 67, 0.24), 0 10px 22px rgba(0, 0, 0, 0.26);
}

[data-bs-theme="dark"] .overall-standings-anchor {
  border-color: rgba(244, 230, 207, 0.18);
  background: rgba(24, 29, 40, 0.94);
  color: rgba(248, 240, 229, 0.94);
}

[data-bs-theme="dark"] .overall-standings-exchange {
  border-color: rgba(244, 230, 207, 0.18);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(31, 36, 47, 0.96), rgba(24, 29, 40, 0.96));
  color: rgba(248, 240, 229, 0.96);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .overall-standings-exchange::after {
  border-color: rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .overall-standings-endpoint {
  border-color: rgba(244, 230, 207, 0.16);
  background: rgba(24, 29, 40, 0.94);
  color: rgba(248, 240, 229, 0.94);
}

[data-bs-theme="dark"] .overall-standings-key--exchange {
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(31, 36, 47, 0.96), rgba(24, 29, 40, 0.96));
  border-color: rgba(244, 230, 207, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

[data-bs-theme="dark"] .overall-standings-challenge-marker {
  background: rgba(40, 34, 28, 0.96);
  color: rgba(248, 240, 229, 0.94);
  border-color: rgba(214, 108, 67, 0.82);
}

@media (max-width: 991.98px) {
  .overall-standings-map-card__mast {
    grid-template-columns: 1fr;
  }

  .overall-standings-map-card__meta-row,
  .overall-standings-board__head {
    flex-direction: column;
  }

  .overall-standings-map-card__status,
  .overall-standings-board__subhead,
  .overall-standings-map-card__lead {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .overall-standings-main-shell.app-main {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .overall-standings-map-card,
  .overall-standings-board {
    padding: 0.9rem;
  }

  .overall-standings-map-card__mast-stats {
    grid-template-columns: 1fr 1fr;
  }

  .overall-standings-map-canvas {
    min-height: 25rem;
    height: 58vh;
  }

  .overall-standings-map-shell__controls {
    top: calc(0.65rem + env(safe-area-inset-top, 0px));
    right: calc(0.65rem + env(safe-area-inset-right, 0px));
  }

  .overall-standings-map-shell__control {
    padding: 0.44rem 0.72rem;
    font-size: 0.76rem;
  }

  .overall-standings-board__head,
  .overall-standings-ledger-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .overall-standings-ledger-row__progress {
    min-width: 0;
    width: 100%;
  }
}
.rucktimer-participant-page {
  --rtp-paper: rgba(255, 252, 247, 0.94);
  --rtp-ink: rgba(36, 28, 23, 0.94);
  --rtp-border: rgba(92, 68, 53, 0.16);
  --rtp-shadow: rgba(54, 32, 18, 0.12);
  --rtp-accent: #9b5a2e;
  --rtp-accent-soft: rgba(155, 90, 46, 0.12);
  --rtp-active: rgba(13, 110, 253, 0.12);
  --rtp-complete: rgba(25, 135, 84, 0.12);
}

.rucktimer-participant-hero {
  border: 1px solid var(--rtp-border);
  background:
    radial-gradient(circle at top right, rgba(155, 90, 46, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 244, 0.96), rgba(250, 244, 235, 0.94));
  box-shadow: 0 18px 36px var(--rtp-shadow);
}

.rucktimer-participant-shell {
  border-color: var(--rtp-border) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 251, 246, 0.95)),
    linear-gradient(135deg, rgba(205, 170, 123, 0.05), rgba(255, 255, 255, 0));
  box-shadow: 0 18px 34px var(--rtp-shadow);
}

.rucktimer-participant-pillbar {
  justify-content: flex-start;
}

.rucktimer-participant-pill {
  min-width: 6.4rem;
  padding: 0.62rem 0.78rem;
  border-radius: 1rem;
  border: 1px solid var(--rtp-border);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.rucktimer-participant-pill__label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(78, 58, 47, 0.72);
}

.rucktimer-participant-board__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.rucktimer-participant-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rucktimer-participant-card {
  border: 1px solid var(--rtp-border);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 248, 243, 0.97));
  box-shadow: 0 12px 24px rgba(46, 28, 14, 0.08);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.rucktimer-participant-card.is-active {
  border-color: rgba(13, 110, 253, 0.36);
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.1), 0 18px 32px rgba(13, 110, 253, 0.12);
}

.rucktimer-participant-card.is-complete:not(.is-active) {
  border-color: rgba(25, 135, 84, 0.24);
  background:
    linear-gradient(180deg, rgba(247, 255, 251, 0.98), rgba(243, 252, 247, 0.97));
}

.rucktimer-participant-card.is-busy {
  opacity: 0.72;
}

.rucktimer-participant-card__summary {
  width: 100%;
  padding: 0.9rem 0.95rem;
  border: 0;
  background: transparent;
  color: inherit;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  text-align: left;
}

.rucktimer-participant-card__summary:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.38);
  outline-offset: -2px;
}

.rucktimer-participant-card__summary-main,
.rucktimer-participant-card__summary-side {
  min-width: 0;
}

.rucktimer-participant-card__summary-side {
  flex: 0 0 8.4rem;
  text-align: right;
}

.rucktimer-participant-card__summary-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.rucktimer-participant-card__eyebrow-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.rucktimer-participant-card__eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(86, 61, 46, 0.68);
}

.rucktimer-participant-card__release-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  padding: 0.12rem 0.48rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(92, 68, 53, 0.08);
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(73, 55, 39, 0.8);
}

.rucktimer-participant-card__runner {
  margin-top: 0.16rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--rtp-ink);
}

.rucktimer-participant-card__runner-pair {
  margin-top: 0.16rem;
  display: grid;
  gap: 0.28rem;
}

.rucktimer-participant-card__runner-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.rucktimer-participant-card__runner-label {
  flex: 0 0 auto;
  min-width: 3.35rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(86, 61, 46, 0.68);
}

.rucktimer-participant-card__runner-value {
  min-width: 0;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--rtp-ink);
}

.rucktimer-participant-card__location-list {
  margin-top: 0.24rem;
  display: grid;
  gap: 0.16rem;
}

.rucktimer-participant-card__location-row {
  font-size: 0.88rem;
  color: rgba(67, 50, 40, 0.78);
}

.rucktimer-participant-card__times {
  margin-top: 0.38rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(73, 55, 39, 0.76);
}

.rucktimer-participant-card__times span {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(92, 68, 53, 0.08);
}

.rucktimer-participant-card__metric {
  font-size: 0.88rem;
  font-weight: 800;
  color: rgba(56, 37, 25, 0.92);
}

.rucktimer-participant-card__summary-chevron {
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  border-right: 2px solid rgba(86, 61, 46, 0.72);
  border-bottom: 2px solid rgba(86, 61, 46, 0.72);
  transform: rotate(45deg);
  transition: transform 160ms ease, border-color 160ms ease;
}

.rucktimer-participant-card.is-expanded .rucktimer-participant-card__summary-chevron {
  transform: rotate(225deg);
}

.rucktimer-participant-card__amenities {
  margin-top: 0.42rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.rucktimer-participant-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--rtp-accent-soft);
  border: 1px solid rgba(155, 90, 46, 0.16);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(96, 52, 24, 0.9);
}

.rucktimer-participant-card__detail {
  padding: 0 0.95rem 0.95rem;
  border-top: 1px solid rgba(92, 68, 53, 0.1);
}

.rucktimer-participant-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 0.85rem;
}

.rucktimer-participant-card__fact {
  padding: 0.68rem 0.76rem;
  border-radius: 0.88rem;
  border: 1px solid var(--rtp-border);
  background: rgba(255, 255, 255, 0.74);
}

.rucktimer-participant-card__fact-label,
.rucktimer-participant-card__detail-title {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(82, 61, 49, 0.74);
}

.rucktimer-participant-card__detail-block {
  margin-top: 0.75rem;
  padding: 0.82rem 0.88rem;
  border-radius: 0.92rem;
  background: rgba(247, 241, 234, 0.76);
  border: 1px solid rgba(92, 68, 53, 0.1);
}

.rucktimer-participant-card__detail-map-row {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rucktimer-participant-card__detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.rucktimer-participant-card__runner-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.rucktimer-participant-card__runner-card-main strong {
  min-width: 0;
  font-size: 0.96rem;
  line-height: 1.25;
}

.rucktimer-participant-card__assignment-list {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.65rem;
}

.rucktimer-participant-card__assignment-item {
  padding: 0.72rem 0.78rem;
  border-radius: 0.88rem;
  border: 1px solid rgba(92, 68, 53, 0.1);
  background: rgba(255, 255, 255, 0.76);
}

.rucktimer-participant-card__assignment-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.rucktimer-participant-card__assignment-note {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: rgba(67, 50, 40, 0.76);
}

.rucktimer-participant-card__section-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  text-align: left;
  color: inherit;
}

.rucktimer-participant-card__section-toggle:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.32);
  outline-offset: 3px;
}

.rucktimer-participant-card__section-summary {
  display: block;
  font-size: 0.84rem;
  color: rgba(67, 50, 40, 0.76);
}

.rucktimer-participant-card__release-list {
  margin-top: 0.62rem;
  display: grid;
  gap: 0.46rem;
}

.rucktimer-participant-card__release-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.rucktimer-participant-card__release-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(82, 61, 49, 0.74);
}

.rucktimer-participant-card__release-value {
  font-size: 0.84rem;
  font-weight: 700;
  text-align: right;
  color: rgba(56, 37, 25, 0.92);
}

.rucktimer-participant-card__section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  min-height: 1.9rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(92, 68, 53, 0.12);
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(73, 55, 39, 0.9);
}

.rucktimer-participant-card__editor {
  margin-top: 0.78rem;
  padding-top: 0.78rem;
  border-top: 1px dashed rgba(92, 68, 53, 0.14);
}

.rucktimer-participant-card__editor-note {
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  color: rgba(67, 50, 40, 0.78);
}

.rucktimer-participant-card__action-row {
  margin-top: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rucktimer-participant-card__detail-action {
  margin-top: 0.82rem;
  padding: 0.2rem 0.1rem 0;
  display: grid;
  gap: 0.55rem;
}

.rucktimer-participant-card__detail-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rucktimer-participant-event-row + .rucktimer-participant-event-row {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(92, 68, 53, 0.14);
}

.rucktimer-participant-event-row__title {
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(56, 37, 25, 0.92);
}

.rucktimer-participant-event-row__meta {
  margin-top: 0.12rem;
  font-size: 0.78rem;
  color: rgba(67, 50, 40, 0.78);
}

.rucktimer-participant-modal .modal-content,
.rucktimer-participant-modal {
  border-radius: 1.15rem;
}

.rucktimer-participant-modal__eyebrow {
  margin-bottom: 0.18rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(82, 61, 49, 0.72);
}

.rucktimer-participant-modal__summary {
  margin-bottom: 1rem;
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  border: 1px solid rgba(92, 68, 53, 0.1);
  background: rgba(247, 241, 234, 0.76);
}

.rucktimer-participant-modal__summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.rucktimer-participant-modal__summary-title {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(56, 37, 25, 0.92);
}

.rucktimer-participant-modal__summary-subtitle {
  margin-top: 0.18rem;
  font-size: 0.84rem;
  color: rgba(67, 50, 40, 0.78);
}

.rucktimer-participant-modal__summary-times {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
}

.rucktimer-participant-modal__summary-times span {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 68, 53, 0.08);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(73, 55, 39, 0.82);
}

.rucktimer-participant-modal__summary-grid {
  margin-top: 0.78rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.rucktimer-participant-modal__summary-grid strong {
  display: block;
  line-height: 1.2;
}

.rucktimer-participant-modal__section + .rucktimer-participant-modal__section {
  margin-top: 1rem;
}

.rucktimer-participant-modal__action-list {
  display: grid;
  gap: 0.65rem;
}

.rucktimer-participant-modal__action-choice {
  width: 100%;
  padding: 0.78rem 0.82rem;
  border-radius: 0.92rem;
  border: 1px solid rgba(92, 68, 53, 0.14);
  background: rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 0.2rem;
  text-align: left;
  color: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.rucktimer-participant-modal__action-choice.is-selected {
  border-color: rgba(13, 110, 253, 0.36);
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.08);
  background: rgba(242, 247, 255, 0.88);
}

.rucktimer-participant-modal__action-choice.is-disabled,
.rucktimer-participant-modal__action-choice:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  box-shadow: none;
}

.rucktimer-participant-modal__action-choice:focus-visible {
  outline: 2px solid rgba(13, 110, 253, 0.3);
  outline-offset: 2px;
}

.rucktimer-participant-modal__action-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: rgba(56, 37, 25, 0.92);
}

.rucktimer-participant-modal__action-description,
.rucktimer-participant-modal__helper,
.rucktimer-participant-modal__blocked {
  font-size: 0.82rem;
  color: rgba(67, 50, 40, 0.78);
}

.rucktimer-participant-modal__helper {
  margin-top: 0.55rem;
}

.rucktimer-participant-modal__blocked {
  margin-top: 0.55rem;
  padding: 0.72rem 0.78rem;
  border-radius: 0.88rem;
  border: 1px solid rgba(255, 193, 7, 0.26);
  background: rgba(255, 248, 225, 0.86);
}

[data-bs-theme="dark"] .rucktimer-participant-page {
  --rtp-paper: rgba(22, 19, 16, 0.96);
  --rtp-ink: rgba(246, 236, 224, 0.96);
  --rtp-border: rgba(225, 204, 181, 0.16);
  --rtp-shadow: rgba(0, 0, 0, 0.28);
}

[data-bs-theme="dark"] .rucktimer-participant-hero {
  background:
    radial-gradient(circle at top right, rgba(205, 170, 123, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(33, 28, 24, 0.96), rgba(22, 19, 16, 0.98));
  border-color: var(--rtp-border);
}

[data-bs-theme="dark"] .rucktimer-participant-shell,
[data-bs-theme="dark"] .rucktimer-participant-card,
[data-bs-theme="dark"] .rucktimer-participant-card__fact,
[data-bs-theme="dark"] .rucktimer-participant-card__detail-block,
[data-bs-theme="dark"] .rucktimer-participant-pill {
  border-color: var(--rtp-border);
  background: rgba(28, 24, 21, 0.96);
  color: var(--rtp-ink);
}

[data-bs-theme="dark"] .rucktimer-participant-card__runner,
[data-bs-theme="dark"] .rucktimer-participant-card__runner-value,
[data-bs-theme="dark"] .rucktimer-participant-card__metric,
[data-bs-theme="dark"] .rucktimer-participant-modal__summary-title,
[data-bs-theme="dark"] .rucktimer-participant-modal__action-label,
[data-bs-theme="dark"] .rucktimer-participant-event-row__title {
  color: rgba(246, 236, 224, 0.94);
}

[data-bs-theme="dark"] .rucktimer-participant-card__summary-chevron {
  border-color: rgba(225, 204, 181, 0.76);
}

[data-bs-theme="dark"] .rucktimer-participant-pill__label,
[data-bs-theme="dark"] .rucktimer-participant-card__eyebrow,
[data-bs-theme="dark"] .rucktimer-participant-card__runner-label,
[data-bs-theme="dark"] .rucktimer-participant-card__fact-label,
[data-bs-theme="dark"] .rucktimer-participant-card__detail-title,
[data-bs-theme="dark"] .rucktimer-participant-card__release-label,
[data-bs-theme="dark"] .rucktimer-participant-modal__eyebrow {
  color: rgba(225, 204, 181, 0.72);
}

[data-bs-theme="dark"] .rucktimer-participant-card__location-row,
[data-bs-theme="dark"] .rucktimer-participant-card__times,
[data-bs-theme="dark"] .rucktimer-participant-card__section-summary,
[data-bs-theme="dark"] .rucktimer-participant-card__editor-note,
[data-bs-theme="dark"] .rucktimer-participant-card__assignment-note,
[data-bs-theme="dark"] .rucktimer-participant-modal__summary-subtitle,
[data-bs-theme="dark"] .rucktimer-participant-modal__action-description,
[data-bs-theme="dark"] .rucktimer-participant-modal__helper,
[data-bs-theme="dark"] .rucktimer-participant-modal__blocked,
[data-bs-theme="dark"] .rucktimer-participant-event-row__meta {
  color: rgba(225, 214, 201, 0.74);
}

[data-bs-theme="dark"] .rucktimer-participant-card__times span,
[data-bs-theme="dark"] .rucktimer-participant-card__release-chip,
[data-bs-theme="dark"] .rucktimer-participant-card__section-action,
[data-bs-theme="dark"] .rucktimer-participant-modal__summary-times span,
[data-bs-theme="dark"] .rucktimer-participant-modal__action-choice {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(246, 226, 202, 0.88);
}

[data-bs-theme="dark"] .rucktimer-participant-card__release-value {
  color: rgba(246, 236, 224, 0.94);
}

[data-bs-theme="dark"] .rucktimer-participant-card__detail-map-row .btn {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(246, 236, 224, 0.92);
}

[data-bs-theme="dark"] .rucktimer-participant-card__assignment-item,
[data-bs-theme="dark"] .rucktimer-participant-modal__summary {
  border-color: var(--rtp-border);
  background: rgba(34, 29, 25, 0.94);
}

[data-bs-theme="dark"] .rucktimer-participant-modal__action-choice.is-selected {
  border-color: rgba(118, 176, 255, 0.38);
  box-shadow: 0 0 0 1px rgba(118, 176, 255, 0.08);
  background: rgba(40, 53, 73, 0.7);
}

[data-bs-theme="dark"] .rucktimer-participant-modal__action-choice.is-disabled,
[data-bs-theme="dark"] .rucktimer-participant-modal__action-choice:disabled {
  opacity: 0.54;
  box-shadow: none;
}

[data-bs-theme="dark"] .rucktimer-participant-card__editor {
  border-top-color: rgba(225, 204, 181, 0.12);
}

[data-bs-theme="dark"] .rucktimer-participant-modal__blocked {
  border-color: rgba(255, 193, 7, 0.16);
  background: rgba(76, 60, 22, 0.45);
}

[data-bs-theme="dark"] .rucktimer-participant-card.is-complete:not(.is-active) {
  background: rgba(19, 34, 28, 0.94);
  border-color: rgba(25, 135, 84, 0.3);
}

[data-bs-theme="dark"] .rucktimer-participant-chip {
  background: rgba(205, 170, 123, 0.12);
  border-color: rgba(205, 170, 123, 0.18);
  color: rgba(246, 226, 202, 0.9);
}

[data-bs-theme="dark"] .rucktimer-participant-modal .modal-content {
  background: rgba(28, 24, 21, 0.98);
  color: rgba(246, 236, 224, 0.96);
}

@media (max-width: 767.98px) {
  .rucktimer-participant-board__head,
  .rucktimer-participant-card__summary,
  .rucktimer-participant-card__section-toggle {
    flex-direction: column;
  }

  .rucktimer-participant-card__summary-side {
    width: 100%;
    flex: 1 1 auto;
    text-align: left;
  }

  .rucktimer-participant-card__summary-top {
    justify-content: space-between;
  }

  .rucktimer-participant-card__release-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.16rem;
  }

  .rucktimer-participant-card__release-value {
    text-align: left;
  }

  .rucktimer-participant-card__amenities {
    justify-content: flex-start;
  }

  .rucktimer-participant-card__section-action {
    min-width: 0;
  }

  .rucktimer-participant-card__runner-card-main,
  .rucktimer-participant-card__assignment-row,
  .rucktimer-participant-modal__summary-head {
    flex-direction: column;
  }

  .rucktimer-participant-modal__summary-times {
    justify-content: flex-start;
  }

  .rucktimer-participant-modal__summary-grid {
    grid-template-columns: 1fr;
  }
}

.standings-hero {
  position: relative;
  overflow: hidden;
  padding: 1.45rem 1.55rem;
  border: 1px solid var(--app-header-panel-border);
  border-radius: 1.3rem;
  background: var(--app-header-panel-bg);
  box-shadow: var(--app-header-panel-shadow);
}

.standings-hero::after {
  content: "";
  position: absolute;
  inset: auto -3.5rem -4rem auto;
  width: 11rem;
  height: 11rem;
  border-radius: 999px;
  background: rgba(157, 89, 44, 0.12);
  filter: blur(4px);
  pointer-events: none;
}

.standings-hero__copy,
.standings-donations-total__eyebrow,
.standings-donations-total__amount {
  position: relative;
  z-index: 1;
}

.standings-view-switcher__label {
  color: var(--app-header-eyebrow);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.standings-hero__title {
  max-width: 40rem;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  color: var(--app-header-title);
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-wrap: balance;
}

.standings-hero__brand {
  color: var(--app-header-title);
  letter-spacing: -0.04em;
}

.standings-hero__year {
  color: var(--hit-bronze-deep);
}

.standings-view-switcher {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.standings-view-switcher__inner {
  display: grid;
  gap: 0.55rem;
  max-width: 25rem;
}

.standings-view-switcher__group {
  display: grid;
  gap: 0.5rem;
}

.standings-view-switcher__group--stacked {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.standings-view-switcher__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.52rem 0.82rem;
  border: 1px solid rgba(35, 31, 32, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 236, 227, 0.92));
  color: var(--app-header-title);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0.4rem 1rem rgba(78, 46, 25, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.standings-view-switcher__button:hover,
.standings-view-switcher__button:focus-visible {
  border-color: rgba(117, 64, 28, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 240, 231, 0.96));
  transform: translateY(-1px);
  box-shadow: 0 0.65rem 1.3rem rgba(78, 46, 25, 0.12);
}

.standings-view-switcher__button:focus-visible {
  outline: 2px solid rgba(157, 89, 44, 0.28);
  outline-offset: 2px;
}

.standings-view-switcher__button.is-active {
  border-color: rgba(117, 64, 28, 0.88);
  background:
    linear-gradient(135deg, rgba(157, 89, 44, 0.98), rgba(117, 64, 28, 0.98));
  color: rgba(255, 248, 241, 0.98);
  box-shadow: 0 0.8rem 1.45rem rgba(117, 64, 28, 0.22);
}

.standings-view-switcher__button--donations {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 8.75rem;
}

.standings-panel-shell {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(35, 31, 32, 0.12);
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.88), rgba(249, 244, 238, 0.94));
  box-shadow: 0 1rem 2.4rem rgba(78, 46, 25, 0.08);
}

.standings-panel-shell::after {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.32rem;
  background:
    linear-gradient(90deg, rgba(157, 89, 44, 0.95), rgba(202, 184, 154, 0.7));
}

.standings-panel-heading__meta {
  color: var(--app-header-copy-muted);
  font-size: 0.92rem;
}

.standings-division-cards {
  display: grid;
  gap: 1rem;
}

.standings-donations-total {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(157, 89, 44, 0.18);
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at top right, rgba(157, 89, 44, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(255, 248, 241, 0.98), rgba(245, 238, 231, 0.98));
  box-shadow: 0 1rem 2.25rem rgba(78, 46, 25, 0.1);
  text-align: center;
}

.standings-donations-total::after {
  content: "";
  position: absolute;
  inset: auto -3.5rem -3.5rem auto;
  width: 9rem;
  height: 9rem;
  border-radius: 999px;
  background: rgba(202, 184, 154, 0.18);
  filter: blur(2px);
}

.standings-donations-total__eyebrow {
  margin-bottom: 0.35rem;
}

.standings-donations-total__amount {
  color: var(--app-header-title);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.standings-division-card {
  overflow: hidden;
  border: 1px solid rgba(35, 31, 32, 0.1);
  border-radius: 1rem;
  background: rgba(255, 251, 246, 0.72);
  box-shadow: 0 0.85rem 1.7rem rgba(78, 46, 25, 0.08);
}

.standings-division-card__toggle {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 239, 231, 0.98)),
    linear-gradient(180deg, rgba(202, 184, 154, 0.1), rgba(157, 89, 44, 0.03));
  color: inherit;
  text-align: left;
}

.standings-division-card__toggle:hover,
.standings-division-card__toggle:focus-visible {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 234, 0.98)),
    linear-gradient(180deg, rgba(202, 184, 154, 0.12), rgba(157, 89, 44, 0.05));
}

.standings-division-card__toggle:focus-visible {
  outline: 2px solid rgba(157, 89, 44, 0.32);
  outline-offset: -2px;
}

.standings-division-card__header-row,
.standings-division-card__summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem 0.9rem;
}

.standings-division-card__team {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  min-width: 0;
  font-size: 1rem;
}

.standings-division-card__team-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standings-division-card__rank {
  color: var(--hit-bronze);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.standings-division-card__pace {
  color: var(--app-header-title);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.standings-division-card__meta {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.standings-division-card__disclosure {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 0.35rem;
  min-width: 0;
}

.standings-division-card__hint {
  color: rgba(33, 37, 41, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.standings-division-card__hint-collapsed {
  display: inline;
}

.standings-division-card__hint-expanded {
  display: none;
}

.standings-division-card__toggle[aria-expanded="true"] .standings-division-card__hint-collapsed {
  display: none;
}

.standings-division-card__toggle[aria-expanded="true"] .standings-division-card__hint-expanded {
  display: inline;
}

.standings-division-card__chevron {
  flex: 0 0 auto;
  font-size: 0.84rem;
  transition: transform 0.18s ease;
}

.standings-division-card__toggle[aria-expanded="true"] .standings-division-card__chevron {
  transform: rotate(180deg);
}

.standings-division-card .collapse .card-body {
  padding-top: 0.5rem;
}

.standings-division-card__table {
  margin-bottom: 0;
}

.standings-division-card__table thead th,
.standings-division-card__table tbody th,
.standings-division-card__table tbody td {
  white-space: nowrap;
}

.standings-donations-accordion {
  display: grid;
  gap: 1rem;
  --bs-accordion-border-radius: 1rem;
  --bs-accordion-inner-border-radius: calc(1rem - 1px);
}

.standings-donations-accordion .accordion-item {
  overflow: hidden;
  border: 1px solid rgba(35, 31, 32, 0.1);
  border-radius: 1rem;
  background: rgba(255, 251, 246, 0.72);
  box-shadow: 0 0.85rem 1.7rem rgba(78, 46, 25, 0.08);
}

.standings-donations-accordion .accordion-button {
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 239, 231, 0.98)),
    linear-gradient(180deg, rgba(202, 184, 154, 0.1), rgba(157, 89, 44, 0.03));
  color: inherit;
  box-shadow: none;
}

.standings-donations-accordion .accordion-button:not(.collapsed) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 234, 0.98)),
    linear-gradient(180deg, rgba(202, 184, 154, 0.12), rgba(157, 89, 44, 0.05));
  color: inherit;
}

.standings-donations-accordion .accordion-button:focus {
  box-shadow: inset 0 0 0 2px rgba(157, 89, 44, 0.18);
}

.standings-donations-accordion .accordion-body {
  background: rgba(255, 250, 244, 0.8);
  border-top: 1px solid rgba(35, 31, 32, 0.08);
}

.standings-donations-accordion__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: rgba(202, 184, 154, 0.28);
  color: var(--hit-bronze-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.standings-donations-accordion__team {
  font-weight: 700;
}

.standings-donations-accordion__amount {
  color: var(--app-header-title);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .standings-hero,
  .standings-panel-shell {
    width: min(100%, 72rem);
    margin-inline: auto;
  }

  .standings-view-switcher {
    justify-items: center;
  }

  .standings-hero__copy {
    text-align: center;
  }

  .standings-hero__title {
    justify-content: center;
  }

  .standings-view-switcher__inner {
    justify-items: center;
    max-width: none;
  }

  .standings-view-switcher__group--stacked {
    width: min(100%, 32rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .standings-view-switcher__button--donations {
    grid-column: auto;
    justify-self: stretch;
    min-width: 0;
  }

  .standings-donations-total {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.4rem;
    text-align: left;
  }

  .standings-donations-total__eyebrow {
    margin-bottom: 0;
    color: var(--app-header-title);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.1;
    white-space: nowrap;
  }

  .standings-donations-total__eyebrow::after {
    content: ":";
  }

  .standings-donations-total__amount {
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 850;
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: right;
  }
}

@media (max-width: 767.98px) {
  .standings-hero {
    padding: 1.15rem 1.1rem;
  }

  .standings-hero__title {
    font-size: clamp(1.85rem, 11vw, 2.6rem);
  }

  .standings-view-switcher__inner {
    max-width: 100%;
  }

  .standings-view-switcher__group--stacked {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .standings-view-switcher__button {
    width: 100%;
    min-width: 0;
    padding-inline: 0.65rem;
  }

  .standings-view-switcher__button--donations {
    min-width: 0;
  }

  .standings-panel-shell,
  .standings-donations-total {
    padding: 1.05rem;
  }

  .standings-donations-total__amount {
    font-size: clamp(1.85rem, 11vw, 2.4rem);
  }

  .standings-division-card__toggle,
  .standings-donations-accordion .accordion-button {
    padding: 0.72rem 0.85rem;
  }

  .standings-division-card__header-row,
  .standings-division-card__summary-row {
    gap: 0.25rem 0.6rem;
  }

  .standings-division-card__team {
    font-size: 0.94rem;
  }

  .standings-division-card__pace {
    font-size: 0.79rem;
  }

  .standings-division-card__meta {
    font-size: 0.82rem;
  }

  .standings-division-card__hint {
    font-size: 0.66rem;
  }
}

[data-bs-theme="dark"] .standings-hero::after {
  background: rgba(202, 184, 154, 0.14);
}

[data-bs-theme="dark"] .standings-view-switcher__button {
  border-color: rgba(245, 236, 225, 0.12);
  background:
    linear-gradient(180deg, rgba(58, 50, 48, 0.9), rgba(35, 31, 32, 0.96));
  color: rgba(248, 239, 227, 0.94);
  box-shadow: 0 0.55rem 1rem rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .standings-view-switcher__button:hover,
[data-bs-theme="dark"] .standings-view-switcher__button:focus-visible {
  border-color: rgba(202, 184, 154, 0.32);
  background:
    linear-gradient(180deg, rgba(68, 59, 56, 0.94), rgba(40, 35, 35, 0.98));
}

[data-bs-theme="dark"] .standings-view-switcher__button.is-active {
  border-color: rgba(202, 184, 154, 0.32);
  background:
    linear-gradient(135deg, rgba(117, 64, 28, 0.92), rgba(202, 184, 154, 0.3));
  color: rgba(252, 243, 232, 0.98);
}

[data-bs-theme="dark"] .standings-panel-shell {
  border-color: rgba(245, 236, 225, 0.1);
  background:
    linear-gradient(180deg, rgba(35, 31, 32, 0.88), rgba(28, 24, 24, 0.95));
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.24);
}

[data-bs-theme="dark"] .standings-panel-shell::after {
  background:
    linear-gradient(90deg, rgba(202, 184, 154, 0.82), rgba(117, 64, 28, 0.72));
}

[data-bs-theme="dark"] .standings-donations-total {
  border-color: rgba(202, 184, 154, 0.22);
  background:
    radial-gradient(circle at top right, rgba(202, 184, 154, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(39, 31, 28, 0.98), rgba(24, 20, 20, 0.98));
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.24);
}

[data-bs-theme="dark"] .standings-donations-total::after {
  background: rgba(202, 184, 154, 0.14);
}

[data-bs-theme="dark"] .standings-division-card,
[data-bs-theme="dark"] .standings-donations-accordion .accordion-item {
  border-color: rgba(245, 236, 225, 0.1);
  background: rgba(35, 31, 32, 0.78);
}

[data-bs-theme="dark"] .standings-division-card__toggle,
[data-bs-theme="dark"] .standings-donations-accordion .accordion-button {
  background:
    linear-gradient(135deg, rgba(49, 43, 42, 0.96), rgba(31, 28, 28, 0.98)),
    linear-gradient(180deg, rgba(202, 184, 154, 0.08), rgba(117, 64, 28, 0.04));
}

[data-bs-theme="dark"] .standings-division-card__toggle:hover,
[data-bs-theme="dark"] .standings-division-card__toggle:focus-visible,
[data-bs-theme="dark"] .standings-donations-accordion .accordion-button:not(.collapsed) {
  background:
    linear-gradient(135deg, rgba(57, 50, 48, 0.98), rgba(38, 33, 33, 0.98)),
    linear-gradient(180deg, rgba(202, 184, 154, 0.11), rgba(117, 64, 28, 0.06));
}

[data-bs-theme="dark"] .standings-division-card__hint {
  color: rgba(248, 239, 227, 0.72);
}

[data-bs-theme="dark"] .standings-donations-accordion .accordion-body {
  background: rgba(35, 31, 32, 0.82);
  border-top-color: rgba(245, 236, 225, 0.08);
}

[data-bs-theme="dark"] .standings-donations-accordion__rank {
  background: rgba(202, 184, 154, 0.16);
  color: rgba(252, 243, 232, 0.96);
}
