@import url("./components/filter-select.css?v=20261025fieldselect");
@import url("./components/date-picker.css?v=20261107dateinputpolish2");
@import url("./components/meeting-details.css?v=20261114toolbar");
@import url("./components/notes-editor.css?v=20260927brand-motion");
@import url("./components/share-modal.css?v=20261025form371");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gray-50: #f9fafb;
  --gray-100: #f2f4f7;
  --gray-300: #d0d5dd;
  --gray-400: #98a2b3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-800: #1d2939;
  --gray-900: #101828;
  --dark: #0a0a0a;
  --main: #2966f4;
  --white: #ffffff;
  --success-400: #32d583;
  --success-700: #027a48;
  --warning-400: #fdb022;
  --error-400: #f97066;
  --error-500: #f04438;
  --font: var(--gf-font);
}

body {
  font-family: var(--gf-font);
  background: var(--gray-50);
  color: var(--dark);
  display: flex;
  min-height: 100vh;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  overflow-x: hidden;
}

body > main,
.founders_dashboard {
  width: 100%;
  min-height: 100vh;
}

/* Dashboard shell: the sidebar and top bar sit on the page's grey, and each tab's content is a
   white panel with rounded top corners. */
:root {
  --shell-bg: #f9fafb;
  --shell-panel-bg: #ffffff;
  --shell-panel-radius: 24px;
  --shell-sidebar-width: 244px;
  /* Between the sidebar and the panel: none, so the sidebar's own padding sits on both sides of
     its items and they read as centred. */
  --shell-gap: 0px;
  /* Right of the panel, below it, and above it (the top bar's padding), so all match. */
  --shell-edge: 16px;
  --shell-topbar-height: calc(48px + 2 * var(--shell-edge));
  /* Space between the panel's edge and its content, the same on every tab and the banner. */
  --shell-panel-padding: 16px;
}

/* ══════════════════════════════
   SIDEBAR
══════════════════════════════ */
.sidebar {
  width: var(--shell-sidebar-width);
  min-width: var(--shell-sidebar-width);
  background: var(--shell-bg);
  border-right: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px;
  gap: 12px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 10px;
  gap: 16px;
  width: 100%;
  height: 48px;
  flex-shrink: 0;
}

.sidebar-logo img {
  height: 28px;
  width: auto;
}

.sidebar-logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.sidebar-logo-text {
  font-weight: var(--gf-weight-bold);
  font-size: var(--gf-text-section);
  color: var(--dark);
  letter-spacing: -0.5px;
}

.sidebar-logo-text span {
  color: var(--main);
}

.nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 4px;
  width: 100%;
  flex: 1;
}

.nav-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 12px;
  gap: 12px;
  width: 100%;
  height: 44px;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  color: var(--gray-800);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  flex-shrink: 0;
}

.nav-item:hover {
  background: #f0f2f5;
}

.nav-item.active {
  background: #f0f4ff;
  color: var(--main);
  font-weight: var(--gf-weight-medium);
}

.nav-item.active .nav-icon {
  color: var(--main);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: inherit;
}

.nav-badge {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  padding: 0 8px;
  height: 24px;
  border-radius: 12px;
  background: var(--error-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.sidebar-user {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
  gap: 12px;
  width: 100%;
  height: 60px;
  border-radius: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.user-avatar-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar-wrapper .avatar-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: block;
  pointer-events: none;
  transform: none;
}

.user-avatar-inner {
  position: absolute;
  z-index: 1;
  width: 50%;
  height: 50%;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  color: #7a4800;
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-bold);
  color: #000;
  line-height: var(--gf-leading-body);
}

.user-role {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  color: var(--gray-500);
  line-height: var(--gf-leading-body);
  text-transform: capitalize;
}

.user-chevron {
  color: var(--dark);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ══════════════════════════════
   MAIN
══════════════════════════════ */
.main {
  margin-left: var(--shell-sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 var(--shell-edge) 0 var(--shell-gap);
  gap: 0;
  min-height: 100vh;
  background: var(--shell-bg);
}

/* TOPBAR */
.topbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: var(--shell-edge) 0;
  gap: 20px;
  height: var(--shell-topbar-height);
  flex-shrink: 0;
  background: var(--shell-bg);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 99;
}

.topbar-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.icon-btn:hover {
  background: var(--gray-300);
}

.icon-btn:active {
  transform: scale(0.95);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  color: var(--dark);
}

.breadcrumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.breadcrumb span {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: var(--gray-500);
  line-height: var(--gf-leading-body);
}

.breadcrumb .sep {
  color: var(--gray-300);
  font-size: var(--gf-text-caption);
}

.breadcrumb .active {
  color: var(--main);
  font-weight: var(--gf-weight-semibold);
}

.search-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 16px;
  gap: 12px;
  flex: 1;
  max-width: 700px;
  height: 46px;
  background: var(--gray-100);
  border-radius: 24px;
  flex-shrink: 0;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
  border: 1px solid transparent;
}

.search-bar:focus-within {
  background: var(--white);
  box-shadow:
    0 0 0 2px rgba(41, 102, 244, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.05);
  border-color: var(--main);
}

.search-bar svg {
  width: 18px;
  height: 18px;
  color: var(--gray-500);
  flex-shrink: 0;
}

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: var(--dark);
  width: 100%;
}

.search-bar input::placeholder {
  color: var(--gray-400);
}

.topbar-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-ask-wavy,
.btn-ask-elis {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  gap: 8px;
  height: 44px;
  border-radius: 32px;
  cursor: pointer;
  position: relative;
  background: transparent;
  border: none;
  font-family: var(--gf-font);
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  letter-spacing: -0.2px;
  color: #2966f4;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    opacity 160ms cubic-bezier(0.2, 0, 0, 1);
  isolation: isolate;
}

.btn-ask-wavy::before,
.btn-ask-elis::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 2px;
  background: linear-gradient(180deg, #2966f4 0%, #2054cc 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-ask-wavy:hover,
.btn-ask-elis:hover {
  opacity: 0.8;
}

.btn-ask-wavy:active,
.btn-ask-elis:active {
  transform: scale(0.97);
}

.btn-ask-wavy svg,
.btn-ask-elis svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.btn-create {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 18px;
  gap: 8px;
  height: 44px;
  background: var(--main);
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: var(--white);
  letter-spacing: -0.1px;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.btn-create:hover {
  background: #2054cc;
}

.btn-create:active {
  transform: scale(0.97);
}

.btn-create svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-topbar-login,
.btn-topbar-signup {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  height: 44px;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.1px;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    opacity 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.btn-topbar-login {
  background: #000000;
  color: #ffffff;
}

.btn-topbar-login:hover {
  background: #1f2937;
  color: #ffffff;
}

.btn-topbar-login:active {
  transform: scale(0.97);
}

.btn-topbar-signup {
  background: #2966f4;
  color: #ffffff;
}

.btn-topbar-signup:hover {
  background: #2054cc;
  color: #ffffff;
}

.btn-topbar-signup:active {
  transform: scale(0.97);
}

.notif-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--gray-100);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.notif-btn:hover {
  background: var(--gray-300);
}

.notif-btn:active {
  transform: scale(0.95);
}

.notif-btn svg {
  width: 20px;
  height: 20px;
  color: var(--dark);
  z-index: 0;
}

.notif-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  right: 2px;
  top: 2px;
  background: var(--error-500);
  border: 2px solid var(--white);
  border-radius: 50%;
  z-index: 1;
}

.founders_dashboard_body {
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  gap: 0 !important;
  align-self: stretch;
  width: 100%;
}

@media (min-width: 901px) {
  /* The messages tab is a full-height surface: lock the page and every ancestor to the
     viewport so the chat panel fills it instead of stopping short and leaving dead space. */
  body.founders_dashboard_page:has(.founders_dashboard_messages_body:not([style*="display: none"])) {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  body.founders_dashboard_page:has(.founders_dashboard_messages_body:not([style*="display: none"])) > main {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .founders_dashboard:has(.founders_dashboard_messages_body:not([style*="display: none"])) {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .main:has(> .founders_dashboard_body.founders_dashboard_messages_body:not([style*="display: none"])) {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .main > .founders_dashboard_body.founders_dashboard_messages_body:not([style*="display: none"]) {
    flex: 1 1 0%;
    min-height: 0;
    margin-bottom: 0 !important;
    overflow: hidden;
  }

  .founders_dashboard_messages_body > .dashboard_tab_loader {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-height: 0;
  }

  .founders_dashboard_messages_shell {
    flex: 1 1 0%;
    height: 100%;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    /* Two panes share one row that fills the shell. The tab markup ends with a scaffolding
       node holding only <script>/<template>, and an auto row for it left a dead band of
       page background under both panes. */
    grid-template-rows: minmax(0, 1fr);
    grid-auto-rows: 0;
    align-items: stretch;
  }

  .founders_dashboard_messages_shell > .founders_dashboard_messages_sidebar,
  .founders_dashboard_messages_shell > .founders_dashboard_messages_main {
    height: 100%;
    min-height: 0;
  }
}

.gf-message-deck-card {
  width: min(100%, 560px);
  padding: 12px;
  gap: 16px;
}

.gf-message-deck-card__cover {
  flex: 0 0 192px;
  width: 192px;
  min-width: 192px;
  aspect-ratio: 16 / 9;
  align-self: center;
}

.gf-message-deck-card__cover img {
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gf-message-deck-card__copy strong {
  display: -webkit-box;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Each tab is the shell's white content panel, rounded on every corner. */
.main > .founders_dashboard_body {
  flex: 1 0 auto;
  margin-bottom: var(--shell-edge);
  background: var(--shell-panel-bg);
  border-radius: var(--shell-panel-radius);
}

@media (min-width: 901px) {
  body.founders_dashboard_page:has(.founders_dashboard_messages_body:not([style*="display: none"])) {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  body.founders_dashboard_page:has(.founders_dashboard_messages_body:not([style*="display: none"])) > main {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .founders_dashboard:has(.founders_dashboard_messages_body:not([style*="display: none"])) {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .main:has(> .founders_dashboard_body.founders_dashboard_messages_body:not([style*="display: none"])) {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .main > .founders_dashboard_body.founders_dashboard_messages_body:not([style*="display: none"]) {
    flex: 1 1 0%;
    min-height: 0;
    margin-bottom: 0 !important;
    overflow: hidden;
  }

  .founders_dashboard_messages_body > .dashboard_tab_loader {
    display: flex;
    flex-direction: column;
    flex: 1 1 0%;
    min-height: 0;
  }

  .founders_dashboard_messages_shell {
    flex: 1 1 0%;
    height: 100%;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    /* Two panes share one row that fills the shell. The tab markup ends with a scaffolding
       node holding only <script>/<template>, and the auto row it created left a dead band of
       page background under both panes. */
    grid-template-rows: minmax(0, 1fr);
    grid-auto-rows: 0;
    align-items: stretch;
  }

  .founders_dashboard_messages_shell > .founders_dashboard_messages_sidebar,
  .founders_dashboard_messages_shell > .founders_dashboard_messages_main {
    height: 100%;
    min-height: 0;
  }
}

.sidebar-promoted-profiles {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin-top: 24px;
}

.sidebar-ad-carousel {
  position: relative;
  height: 76px;
  margin: 8px 8px 0;
  /* The ad's menu panel is anchored to its trigger inside this box, so the
     carousel cannot clip: the creative is rounded on the slide instead. */
  overflow: visible;
  border-radius: 16px;
  background: #f2f4f7;
}

.sidebar-ad-empty {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #667085;
  font-size: var(--gf-text-body);
}

.sidebar-ad-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #f2f4f7;
  cursor: pointer;
}

.sidebar-ad-slide:focus-visible {
  outline: 2px solid #2966f4;
  outline-offset: -4px;
  border-radius: inherit;
}

.sidebar-ad-slide img,
.sidebar-ad-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.sidebar-promoted-campaign-label {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  color: #fff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold, 600);
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.gf-promotion-ad-menu {
  position: absolute;
  z-index: 12;
  line-height: 1;
}

.gf-promotion-ad-menu .gf-menu__trigger,
.gf-promotion-ad-menu .gf-menu__trigger:hover,
.gf-promotion-ad-menu .gf-menu__trigger.is-open {
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold, 600);
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  filter: none;
}

.gf-promotion-ad-menu .gf-menu__trigger:hover,
.gf-promotion-ad-menu .gf-menu__trigger.is-open {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gf-promotion-ad-menu .gf-menu__trigger-icon,
.gf-promotion-ad-menu .gf-menu__chevron {
  display: none;
}

.gf-promotion-ad-menu .gf-menu__panel {
  z-index: 5000;
}

.sidebar {
  /* The ad menu opens towards the page content, so the whole rail sits above it. */
  z-index: 500;
}

.sidebar-ad-menu {
  position: absolute;
  z-index: 200;
  top: 3px;
  left: 3px;
}

/* The two-item ad menu fits its panel, so no scrollbar track is ever painted. It
   opens towards the content area, so it also has to outrank the dashboard cards. */
.sidebar-ad-menu .gf-menu__panel {
  z-index: 3000;
  overflow: hidden;
  scrollbar-width: none;
}

.gf-menu__panel[data-gf-menu-portaled='true'] {
  z-index: 5000;
  scrollbar-width: none;
}

.gf-menu__panel[data-gf-menu-portaled='true']::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.sidebar-ad-menu .gf-menu__panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.sidebar-ad-notice {
  position: fixed;
  z-index: 200020;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(480px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 14px 12px 14px 18px;
  color: #101828;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(16, 24, 40, 0.18);
  transform: translateX(-50%);
}

.sidebar-ad-notice__copy {
  display: grid;
  flex: 1;
  gap: 3px;
  min-width: 0;
}

.sidebar-ad-notice__copy strong {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  line-height: var(--gf-leading-body);
}

.sidebar-ad-notice__copy span {
  color: #667085;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  line-height: var(--gf-leading-body);
}

.sidebar-ad-notice__learn,
.sidebar-ad-notice__undo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 10px;
  color: #2966f4;
  font: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.sidebar-ad-notice__learn:hover,
.sidebar-ad-notice__undo:hover {
  background: #f2f6ff;
}

.sidebar-ad-notice__undo {
  width: 36px;
  padding: 0;
  color: #667085;
}

.sidebar-ad-notice__undo svg {
  width: 18px;
  height: 18px;
}

.gf-promotion-report__backdrop {
  position: fixed;
  z-index: 200010;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  padding: 20px;
  background: rgba(16, 24, 40, 0.56);
  backdrop-filter: blur(3px);
}

.gf-promotion-report__dialog {
  display: flex;
  flex-direction: column;
  width: min(100%, 680px);
  min-width: 0;
  box-sizing: border-box;
  max-height: min(760px, calc(100dvh - 40px));
  overflow: hidden;
  color: #101828;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.24);
}

.gf-promotion-report__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 56px;
  border-bottom: 1px solid #eaecf0;
}

.gf-promotion-report__header h2 {
  margin: 0;
  font-size: var(--gf-text-card);
  font-weight: 650;
  line-height: 1.35;
}

.gf-promotion-report__close {
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: #475467;
  background: #f2f4f7;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}

.gf-promotion-report__close svg,
.gf-promotion-report__back svg {
  width: 18px;
  height: 18px;
}

.gf-promotion-report__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 24px;
}

.gf-promotion-report__prompt {
  margin: 0 0 6px;
  font-size: var(--gf-text-card);
  font-weight: 650;
  line-height: 1.4;
}

.gf-promotion-report__campaign {
  overflow: hidden;
  margin: 0 0 20px;
  color: #667085;
  font-size: var(--gf-text-body);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gf-promotion-report__reasons {
  display: grid;
  gap: 12px;
}

.gf-promotion-report__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  color: #475467;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.gf-promotion-report__reason-detail h3 {
  margin: 0 0 16px;
  font-size: var(--gf-text-card);
  font-weight: 650;
}

.gf-promotion-report__guidance {
  margin-bottom: 18px;
  padding: 16px;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: 1.55;
  background: #f8f9fb;
  border-radius: 8px;
}

.gf-promotion-report__label {
  display: block;
  margin: 0 0 8px;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
}

.gf-promotion-report__textarea {
  display: block;
  width: 100%;
  min-height: 112px;
  box-sizing: border-box;
  padding: 12px 14px;
  color: #101828;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
}

.gf-promotion-report__textarea:focus {
  outline: 3px solid rgba(41, 102, 244, 0.16);
  border-color: #2966f4;
}

.gf-promotion-report__textarea::placeholder {
  color: #98a2b3;
}

.gf-promotion-report__error {
  margin-top: 10px;
  color: #b42318;
  font-size: var(--gf-text-body);
}

.gf-promotion-report__footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid #eaecf0;
}

.gf-promotion-report__dialog > .gf-promotion-report__footer {
  background: #fff !important;
}

.gf-promotion-report__secondary,
.gf-promotion-report__primary {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-weight: var(--gf-weight-semibold);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.gf-promotion-report__secondary {
  color: #344054;
  background: #f2f4f7;
}

.gf-promotion-report__primary {
  color: #fff;
  background: #2966f4;
}

.gf-promotion-report__primary:hover:not(:disabled) {
  background: #2054cc;
}

.gf-promotion-report__primary:disabled,
.gf-promotion-report__secondary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.gf-promotion-report__success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 48px 28px;
  text-align: center;
}

.gf-promotion-report__success-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #067647;
  background: #ecfdf3;
  border-radius: 50%;
}

.gf-promotion-report__success-icon svg {
  width: 24px;
  height: 24px;
}

.gf-promotion-report__success h3,
.gf-promotion-report__success p {
  margin: 0;
}

.gf-promotion-report__success p {
  max-width: 420px;
  color: #667085;
  line-height: 1.5;
}

.gf-promotion-report__success .gf-promotion-report__primary {
  flex: initial;
  width: 110px;
  min-width: 110px;
  height: 44px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 22px;
  margin-top: 8px;
}

.gf-promotion-report__dialog .gf-report-reason {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 12px;
  color: #101828;
  font: inherit;
  text-align: left;
  background: #fff !important;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.gf-promotion-report__dialog .gf-report-reason:hover,
.gf-promotion-report__dialog .gf-report-reason:focus-visible {
  background: #fff !important;
  border-color: #b2ccff;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.04);
}

.gf-report-reason-arrow {
  color: #98a2b3;
  font-size: var(--gf-text-card);
  line-height: 1;
}

.gf-report-reason-detail h3 {
  margin: 0 0 10px;
  color: #101828;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
}

.gf-report-guidance {
  margin: 0 0 16px;
  padding: 12px 14px;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: 1.5;
  background: #f8f9fb;
  border-radius: 8px;
}

.gf-user-report__dialog {
  width: min(100%, 680px);
  max-height: min(760px, calc(100dvh - 40px));
  border-radius: 16px;
}

.gf-user-report__header {
  flex: 0 0 auto;
  min-height: 0;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 24px 8px;
  border-bottom: 0;
}

.gf-user-report__intro h2 {
  margin: 0;
  font-size: var(--gf-text-title-modal);
  font-weight: var(--gf-weight-bold);
  line-height: 1.15;
}

.gf-user-report__intro p {
  max-width: 560px;
  margin: 6px 0 0;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: 1.5;
}

.gf-user-report__intro p strong {
  color: #475467;
  font-weight: var(--gf-weight-semibold);
}

.gf-user-report__header .gf-promotion-report__close {
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  transform: none;
}

.gf-user-report__header .gf-promotion-report__close svg {
  width: 18px;
  height: 18px;
}

.gf-user-report__body {
  padding: 8px 24px 18px;
  background: #fff;
}

.gf-user-report__body .gf-promotion-report__prompt {
  margin-bottom: 12px;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-bold);
}

.gf-user-report__body .gf-promotion-report__reasons {
  gap: 12px;
}

.gf-report-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
}

.gf-report-icon svg {
  width: 24px;
  height: 24px;
}

.gf-report-icon.is-shield-alert {
  color: #e5485d;
  background: #fff0f2;
}

.gf-report-icon.is-users {
  color: #1769ff;
  background: #edf4ff;
}

.gf-report-icon.is-mask {
  color: #7a3fd0;
  background: #f5edff;
}

.gf-report-icon.is-info {
  color: #e5a000;
  background: #fff5d9;
}

.gf-report-icon.is-shield {
  color: #079455;
  background: #e8f8f0;
}

.gf-report-icon.is-more {
  color: #475467;
  background: #f2f4f7;
}

.gf-report-reason-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.gf-report-reason-copy strong {
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-bold);
  line-height: 1.3;
}

.gf-report-reason-copy small {
  color: #667085;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  line-height: 1.4;
}

.gf-user-report__dialog .gf-user-report__reason input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #2966f4;
}

.gf-user-report__dialog .gf-user-report__details {
  gap: 10px;
  margin-top: 14px;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
}

.gf-user-report__field-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  box-sizing: border-box;
  min-height: 88px;
  padding: 10px 14px 8px;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.gf-user-report__field-shell:focus-within {
  border-color: #2966f4;
  box-shadow: 0 0 0 3px rgba(41, 102, 244, 0.14);
}

.gf-user-report__dialog .gf-user-report__details .gf-user-report__textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 54px;
  padding: 0;
  color: #101828;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  background: transparent;
  border: 0;
  outline: 0;
  resize: vertical;
  font-weight: var(--gf-weight-normal);
}

.gf-user-report__dialog .gf-user-report__details .gf-user-report__textarea::placeholder {
  color: #667085;
}

.gf-user-report__counter {
  color: #667085;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  line-height: 1.2;
}

.gf-user-report__footer {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
  padding: 0 24px 18px;
  background: #fff !important;
  border-top: 0;
}

.gf-user-report__footer .gf-promotion-report__secondary,
.gf-user-report__footer .gf-promotion-report__primary {
  min-height: 48px;
  border-radius: 999px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
}

.gf-user-report__footer .gf-promotion-report__secondary {
  color: #344054;
  background: #fff;
  border: 1.5px solid #667085;
}

.gf-user-report__footer .gf-promotion-report__secondary:hover:not(:disabled) {
  background: #f8f9fb;
}

.gf-user-report__footer .gf-promotion-report__primary {
  background: #1769ff;
}

.gf-user-report__footer .gf-promotion-report__primary:hover:not(:disabled) {
  background: #0b57e3;
}

@media (max-width: 560px) {
  .sidebar-ad-notice {
    gap: 8px;
    padding-left: 12px;
  }

  .sidebar-ad-notice__copy span {
    font-size: var(--gf-text-body);
  }

  .sidebar-ad-notice__learn {
    padding: 0 6px;
    font-size: var(--gf-text-body);
  }

  .gf-promotion-report__backdrop {
    align-items: end;
    padding: 0;
  }

  .gf-promotion-report__dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: min(760px, 92dvh);
    border-radius: 16px 16px 0 0;
  }

  .gf-promotion-report__body {
    padding: 20px 16px;
  }

  .gf-promotion-report__footer {
    padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  }

  .gf-user-report__dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: min(760px, 92dvh);
    border-radius: 16px 16px 0 0;
  }

  .gf-user-report__header {
    padding: 18px 16px 8px;
  }

  .gf-user-report__intro h2 {
    padding-right: 42px;
    font-size: var(--gf-text-card);
  }

  .gf-user-report__intro p {
    padding-right: 8px;
    font-size: var(--gf-text-body);
  }

  .gf-user-report__header .gf-promotion-report__close {
    top: 14px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .gf-user-report__body {
    padding: 14px 16px 16px;
  }

  .gf-user-report__body .gf-promotion-report__prompt {
    margin-bottom: 10px;
    font-size: var(--gf-text-card);
  }

  .gf-promotion-report__dialog .gf-report-reason {
    grid-template-columns: 40px minmax(0, 1fr) 22px;
    gap: 10px;
    min-height: 60px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .gf-report-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .gf-report-icon svg {
    width: 22px;
    height: 22px;
  }

  .gf-report-reason-copy strong {
    font-size: var(--gf-text-body);
  }

  .gf-report-reason-copy small {
    font-size: var(--gf-text-body);
  }

  .gf-user-report__dialog .gf-user-report__details {
    margin-top: 14px;
    font-size: var(--gf-text-body);
  }

  .gf-user-report__field-shell {
    min-height: 80px;
    padding: 9px 12px 7px;
    border-radius: 12px;
  }

  .gf-user-report__dialog .gf-user-report__details .gf-user-report__textarea {
    min-height: 48px;
    font-size: var(--gf-text-body);
  }

  .gf-user-report__footer {
    gap: 10px;
    padding: 0 16px max(14px, env(safe-area-inset-bottom));
  }

  .gf-user-report__footer .gf-promotion-report__secondary,
  .gf-user-report__footer .gf-promotion-report__primary {
    min-height: 48px;
    font-size: var(--gf-text-body);
  }
}

.promoted-profile-card {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f2f4f7;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: all 240ms cubic-bezier(0.2, 0, 0, 1);
}

.sidebar-promoted-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px 8px;
  text-align: center;
}

.sidebar-promoted-identities {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -24px;
  margin-bottom: 12px;
}

/* No sponsored campaigns means the slot renders its empty state instead of a
   creative, so there is nothing for the avatar row to overlap - drop it back
   under the message rather than printing the initials on top of the words. */
.promoted-profile-card.is-ad-empty .sidebar-promoted-identities {
  margin-top: 0;
}

.sidebar-promoted-avatar {
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-right: 0;
  overflow: hidden;
  border: 2.5px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-promoted-avatar img,
.sidebar-promoted-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-promoted-avatar span,
.sidebar-promoted-logo span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: var(--gf-font);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
}

.sidebar-promoted-logo {
  z-index: 1;
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2.5px solid #fff;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-promoted-logo img {
  padding: 0;
  object-fit: contain;
}

.sidebar-promoted-title {
  margin-bottom: 4px;
  padding: 0 4px;
  color: #101828;
  font-family: var(--gf-font);
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

/* Three lines, then an ellipsis. A promoted profile's summary is written by the member and can run
   to several paragraphs; unclamped it pushed the card's button off the sidebar. */
.sidebar-promoted-description {
  margin: 0 0 12px;
  padding: 0 4px;
  color: #475467;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.sidebar-promoted-profile-action {
  width: 100%;
  padding: 8px;
  border: 1.5px solid #2966f4;
  border-radius: 20px;
  background: #fff;
  color: #2966f4;
  cursor: pointer;
  font-family: var(--gf-font);
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

/* Ensure Alpine.js inline hidden styles override the stylesheet's !important */
.founders_dashboard_body[style*="display: none"],
.founders_dashboard_body[style*="display:none"],
.founders_dashboard_body[style*="DISPLAY: NONE"],
.founders_dashboard_body[style*="DISPLAY:NONE"] {
  display: none !important;
}

/* Reset default styles on any nested body element loaded via dynamic HTML templates */
.dashboard_tab_loader body,
.founders_dashboard_body body {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  min-height: auto !important;
  background: transparent !important;
}

/* The tab fills the panel's height (and its root fills the tab), so a short tab still spans the
   panel and an empty state can centre itself vertically in it. */
.dashboard_tab_loader {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  align-self: stretch;
  width: 100%;
  padding: var(--shell-panel-padding);
}

.dashboard_tab_loader > * {
  flex: 1 1 auto;
  width: 100%;
  align-self: stretch;
}

.content {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1;
  align-self: stretch;
  width: 100%;
}

/* PAGE HEADER */
.page-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
}

.page-date {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: var(--gray-600);
  line-height: var(--gf-leading-body);
}

.page-title {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: var(--dark);
  line-height: var(--gf-leading-section);
  letter-spacing: -0.5px;
}

/* ══════════════════════════════
   CARDS GRID
══════════════════════════════ */
.row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;
  align-self: stretch;
  flex-wrap: wrap;
}

.card {
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.card-title-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.card-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #000;
  line-height: var(--gf-leading-card);
}

.card-subtitle {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-500);
  line-height: var(--gf-leading-body);
}

.card-link {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-500);
  line-height: var(--gf-leading-body);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.card-link.blue {
  color: var(--main);
}

/* ── Info button + tooltip ── */
.card-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-btn-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.info-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 160ms cubic-bezier(0.2, 0, 0, 1);
}

.info-btn:hover {
  opacity: 1;
}

.info-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.info-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  background: #0f1b2d;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.info-tooltip::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #0f1b2d;
}

.info-tooltip-title {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #fff;
  line-height: var(--gf-leading-body);
}

.info-tooltip-body {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--gf-leading-body);
}

.icon-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.icon-arrow svg {
  width: 24px;
  height: 24px;
  color: var(--main);
}

/* Progress bar */
.progress-track {
  width: 100%;
  height: 8px;
  background: var(--gray-100);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 8px;
  background: var(--main);
  border-radius: 24px;
}

/* ── Founder Health Index ── */
.card-health {
  flex: 1.3 1 300px;
  /* In a stretched row the score + metrics row glues to the bottom
     instead of leaving dead space under it. */
  justify-content: space-between;
}

.health-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.health-live {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.score-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px 0;
  width: 60px;
  height: 60px;
  background: var(--success-400);
  border-radius: 12px;
  flex-shrink: 0;
}

.score-box span {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: var(--white);
  line-height: var(--gf-leading-section);
}

.score-metrics {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  justify-content: space-between;
}

.metric-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 4px;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
}

.metric-val {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-section);
}

.metric-val.green {
  color: var(--success-700);
}

.metric-val.lgreen {
  color: var(--success-400);
}

.metric-val.yellow {
  color: var(--warning-400);
}

.metric-val.red {
  color: var(--error-400);
}

.metric-label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-600);
  line-height: var(--gf-leading-body);
}

/* ── Achievement Badges ── */
.card-badges {
  flex: 1.1 1 260px;
  min-width: 0;
}

.badges-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

/* Every badge in a sliding row (the modal grid keeps its own tile size).
   The track scrolls (swipe, trackpad or the arrow tile). Under each badge a status line says
   whether it is unlocked (green ring + "Unlocked") or still locked. */

.badges-carousel {
  --badge-tile-width: 74px;
  --badge-tile-gap: 24px;
  --badge-nav-width: 56px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.badges-track {
  display: flex;
  flex: 1 1 auto;
  gap: var(--badge-tile-gap);
  min-width: 0;
  padding: 6px 4px 14px;
  margin: -6px -4px -14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.badges-track::-webkit-scrollbar {
  display: none;
}

/* Fade the edge the row continues past. */
.badges-carousel--more-before .badges-track {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px);
  mask-image: linear-gradient(to right, transparent 0, #000 32px);
}

.badges-carousel--more-after .badges-track {
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 32px);
  mask-image: linear-gradient(to left, transparent 0, #000 32px);
}

.badges-carousel--more-before.badges-carousel--more-after .badges-track {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 32px,
    #000 calc(100% - 32px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 32px,
    #000 calc(100% - 32px),
    transparent 100%
  );
}

/* One badge: its artwork, then its status. Shared by the overview carousel and the modal. */
.badge-tile {
  display: flex;
  flex: 0 0 var(--badge-tile-width, 105px);
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: var(--badge-tile-width, 105px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  font: inherit;
  cursor: pointer;
  scroll-snap-align: start;
}

.badge-tile:focus-visible {
  outline: 2px solid var(--gf-blue);
  outline-offset: 2px;
}

.badge-tile-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 409 / 469;
  transition:
    filter var(--gf-duration-respond) var(--gf-ease),
    transform var(--gf-duration-respond) var(--gf-ease);
}

.badge-tile:hover .badge-tile-art {
  filter: drop-shadow(0 6px 12px rgba(1, 5, 51, 0.1));
}

.badge-tile-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* Unlocked: a green ring around the artwork. The corner radius scales with the
   tile width (the same 22% as the original 105px design) so the highlight stays
   aligned with the badge plate at every size. */
.badge-tile--earned .badge-tile-art::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 3px solid var(--gf-mint);
  border-radius: calc(var(--badge-tile-width) * 0.22);
  pointer-events: none;
}

.badge-tile-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  color: var(--gf-slate);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body);
  white-space: nowrap;
}

.badge-tile-status svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.badge-tile--earned .badge-tile-status {
  color: var(--gf-teal);
  font-weight: var(--gf-weight-semibold);
}

/* The overview card shows badge artwork only (the earned ring carries the
   state); the Unlocked/Locked line lives in the badge modal. */
.card-badges .badges-carousel .badge-tile-status {
  display: none;
}

/* The badge track is this card's base row: when the row makes the card taller,
   the tiles stay glued to the bottom edge like the other base rows. */
.card-badges .badges-carousel {
  margin-top: auto;
}

.badges-carousel-nav {
  display: grid;
  flex: 0 0 var(--badge-nav-width);
  /* Same height as the badge artwork (the image has a thin transparent margin), not its status line. */
  height: calc(var(--badge-tile-width) * 469 / 409 - 12px);
  margin-top: 6px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #f2f4f7;
  color: #101828;
  cursor: pointer;
  transition: background-color var(--gf-duration-respond) var(--gf-ease);
}

.badges-carousel-nav:hover {
  background: #e4e7ec;
}

.badges-carousel-nav:focus-visible {
  outline: 2px solid var(--gf-blue);
  outline-offset: 2px;
}

.badges-carousel-nav svg {
  width: 24px;
  height: 24px;
  transition: transform var(--gf-duration-transition);
}

/* At the end of the row the arrow turns back to the start. */
.badges-carousel-nav--back svg {
  transform: rotate(180deg);
}

@media (max-width: 700px) {
  .badges-carousel {
    --badge-tile-width: 63px;
    --badge-tile-gap: 16px;
    --badge-nav-width: 44px;
    gap: 8px;
  }
}

/* The ad-feedback dialog reuses the Report ad / Report user reason rows: icon,
   label, description and an arrow or a tick when the row is chosen. */
.gf-promotion-feedback__reasons { gap: 12px; }

.gf-promotion-report__dialog .gf-promotion-feedback__reason {
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  min-height: 64px;
  cursor: pointer;
}

.gf-promotion-feedback__reason input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.gf-promotion-feedback__reason.is-selected {
  border-color: #2966f4;
  box-shadow: 0 0 0 1px #2966f4;
}

.gf-promotion-feedback__reason .gf-report-reason-arrow { display: grid; place-items: center; }
.gf-promotion-feedback__reason .gf-report-reason-arrow svg { width: 18px; height: 18px; }
.gf-promotion-feedback__reason .gf-promotion-feedback__check { color: #2966f4; }

/* Keyboard focus stays visible on the row, since the radio itself is hidden. */
.gf-promotion-feedback__reason:has(input:focus-visible) {
  outline: 2px solid #2966f4;
  outline-offset: 2px;
}

.gf-promotion-feedback__details { display: grid; gap: 8px; margin-top: 16px; color: #344054; font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold); }
.gf-promotion-feedback__details textarea { min-height: 86px; padding: 12px; color: #101828; font: inherit; font-weight: var(--gf-weight-normal); border: 1px solid #d0d5dd; border-radius: 8px; resize: vertical; }
.gf-promotion-feedback__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* Success actions keep their label on one line, at the same pill height as the
   Report ad dialog's Done button. */
/* Beats the report dialog's fixed 110px success pill, so the longer label fits. */
.gf-promotion-report__success .gf-promotion-feedback__actions > button {
  flex: 0 0 auto;
  width: auto;
  min-width: 110px;
  padding: 10px 20px;
  white-space: nowrap;
}

/* The submit buttons sit on the dialog edge like the Report ad footer, never
   inside the scrolling body. */
.gf-promotion-feedback .gf-promotion-report__footer { flex: 0 0 auto; }
.gf-promotion-feedback__banner { grid-template-columns: minmax(0, 1fr) 110px; min-height: 190px; }
.gf-ad-preferences__status { margin: 14px 0; color: #475467; font-size: var(--gf-text-body); }
.gf-ad-preferences, .gf-ad-preferences * { box-sizing: border-box; }
.gf-ad-preferences__status.is-error { color: #b42318; }
.gf-ad-preferences__status.is-success { color: #027a48; }
.gf-ad-preferences__setting, .gf-ad-preferences__hidden { margin-top: 18px; padding: 22px; border: 1px solid #e2e8f0; border-radius: var(--shell-panel-radius, 24px); background: #fff; }
.gf-ad-preferences__setting { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.gf-ad-preferences__setting > div, .gf-ad-preferences__hidden > header > div { min-width: 0; }
.gf-ad-preferences__setting h3, .gf-ad-preferences__hidden h3 { margin: 0 0 6px; color: #101828; font-size: var(--gf-text-body); }
.gf-ad-preferences__setting p, .gf-ad-preferences__hidden header p { max-width: 680px; margin: 0; color: #667085; font-size: var(--gf-text-body); line-height: 1.55; white-space: normal; overflow-wrap: anywhere; }
.gf-ad-preferences__switch { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; color: #475467; font-size: var(--gf-text-body); }
.gf-ad-preferences__switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gf-ad-preferences__switch > span { position: relative; width: 44px; height: 26px; background: #d0d5dd; border-radius: 99px; transition: background 140ms ease; }
.gf-ad-preferences__switch > span::after { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; content: ""; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px #10182833; transition: transform 140ms ease; }
.gf-ad-preferences__switch input:checked + span { background: #2966f4; }
.gf-ad-preferences__switch input:checked + span::after { transform: translateX(18px); }
.gf-ad-preferences__switch input:focus-visible + span { outline: 3px solid #b2ccff; outline-offset: 2px; }
.gf-ad-preferences__hidden > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.gf-ad-preferences__hidden-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 12px; }
.gf-ad-preferences__hidden-heading h3 { margin-bottom: 2px; }
.gf-ad-preferences__hidden-heading p { line-height: 1.35; }
.gf-ad-preferences__hidden-heading .gf-ad-preferences__symbol { width: 42px; height: 42px; }
.gf-ad-preferences__search { display: flex; align-items: center; gap: 9px; flex: 0 1 280px; min-width: 210px; min-height: 40px; padding: 0 12px; color: #667085; border: 1px solid #e2e8f0; border-radius: 999px; }
.gf-ad-preferences__search svg { width: 17px; height: 17px; flex: 0 0 auto; }
.gf-ad-preferences__search input { width: 100%; min-width: 0; padding: 0; color: #101828; font: inherit; font-size: var(--gf-text-body, 16px); background: transparent; border: 0; outline: 0; }
.gf-ad-preferences__search input::placeholder { color: #98a2b3; }
.gf-ad-preferences__list { display: grid; margin: 10px 0 0; padding: 0; list-style: none; }
.gf-ad-preferences__row { position: relative; display: grid; grid-template-columns: 38px minmax(180px, 1fr) minmax(130px, 180px) 88px 40px; align-items: center; gap: 12px; min-height: 54px; padding: 7px 8px; border-top: 1px solid #eaecf0; }
.gf-ad-preferences__advertiser-mark { display: grid; width: 38px; height: 38px; place-items: center; overflow: hidden; color: #2966f4; font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold, 600); background: #eef4ff; border-radius: 10px; }
.gf-ad-preferences__advertiser-mark img { width: 100%; height: 100%; object-fit: cover; }
.gf-ad-preferences__campaign { display: grid; gap: 3px; min-width: 0; }
.gf-ad-preferences__campaign strong { overflow: hidden; color: #101828; font-size: var(--gf-text-body, 16px); font-weight: var(--gf-weight-semibold, 600); text-overflow: ellipsis; white-space: nowrap; }
.gf-ad-preferences__campaign span { overflow: hidden; color: #667085; font-size: var(--gf-text-body); text-overflow: ellipsis; white-space: nowrap; }
.gf-ad-preferences__blocked-date { color: #667085; font-size: var(--gf-text-body); line-height: 1.4; }
.gf-ad-preferences__unblock { width: 88px; min-height: 36px; padding: 0 10px; color: #344054; font: inherit; font-size: var(--gf-text-body); font-weight: var(--gf-weight-medium, 500); background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; cursor: pointer; }
.gf-ad-preferences__unblock:hover { color: #2966f4; border-color: #b2ccff; background: #f8faff; }
.gf-ad-preferences__unblock:disabled { opacity: .6; cursor: wait; }
.gf-ad-preferences__row-menu { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; }
.gf-ad-preferences__reason { grid-column: 2 / -1; margin: 0 0 5px; padding: 10px 12px; color: #475467; font-size: var(--gf-text-body); line-height: 1.5; background: #f8faff; border-radius: 10px; }
.gf-ad-preferences__empty { margin: 18px 0 0; color: #667085; font-size: var(--gf-text-body); }
.gf-ad-preferences__page-heading { margin: 0 0 18px; }
.gf-ad-preferences__page-heading h2 { margin: 0 0 5px; color: #101828; font-size: var(--gf-text-title-modal); font-weight: var(--gf-weight-semibold, 600); }
.gf-ad-preferences__page-heading p { max-width: 900px; margin: 0; color: #667085; font-size: var(--gf-text-body, 16px); line-height: 1.5; }
.gf-ad-preferences__top-grid, .gf-ad-preferences__middle-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(430px, .9fr); gap: 24px; align-items: stretch; }
.gf-ad-preferences__middle-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 24px; }
.gf-ad-preferences__panel { min-width: 0; padding: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; }
.gf-ad-preferences__panel-heading { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.gf-ad-preferences__panel-heading > div { min-width: 0; flex: 1; }
.gf-ad-preferences__panel-heading h3 { margin: 0 0 3px; color: #101828; font-size: var(--gf-text-body, 16px); font-weight: var(--gf-weight-semibold, 600); }
.gf-ad-preferences__panel-heading p { margin: 0; color: #667085; font-size: var(--gf-text-body); line-height: 1.45; }
.gf-ad-preferences__symbol { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: #2966f4; font-size: var(--gf-text-card); font-weight: var(--gf-weight-semibold, 600); background: #edf4ff; border-radius: 50%; }
.gf-ad-preferences__symbol svg { width: 23px; height: 23px; }
.gf-ad-preferences__symbol.is-violet { color: #6941c6; background: #f2edff; }
.gf-ad-preferences__text-action { flex: 0 0 auto; padding: 4px 0; color: #175cd3; font: inherit; font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold, 600); background: transparent; border: 0; cursor: pointer; }
.gf-ad-preferences__text-action:hover { color: #1849a9; text-decoration: underline; }
.gf-ad-preferences__experience { display: flex; flex-direction: column; }
.gf-ad-preferences__interest-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 12px; }
.gf-ad-preferences__interest { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; padding: 8px 14px; color: #344054; font: inherit; font-size: var(--gf-text-body); line-height: 1.25; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; cursor: pointer; transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease; }
.gf-ad-preferences__interest-name { min-width: 0; white-space: nowrap; }
.gf-ad-preferences__interest:hover { border-color: var(--category-color, #84adff); }
.gf-ad-preferences__interest.is-selected { color: #175cd3; background: #eff6ff; border-color: #b2ccff; }
.gf-ad-preferences__interest.is-hidden { color: #667085; background: #f2f4f7; text-decoration: line-through; }
.gf-ad-preferences__interest:focus-visible { outline: 3px solid #b2ccff; outline-offset: 2px; }
.gf-ad-preferences__interest-icon { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; color: #667085; font-size: var(--gf-text-body); line-height: 1; }
.gf-ad-preferences__interest.is-selected .gf-ad-preferences__interest-icon { color: #175cd3; }
.gf-ad-preferences .gf-ad-preferences__interest-search { width: 100%; height: 44px; min-height: 44px; flex: 0 0 44px; margin-top: auto; }
.gf-ad-preferences__frequency-options { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; border: 0; }
.gf-ad-preferences__frequency-option { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 9px 16px; background: #fff; border: 1px solid #eaecf0; border-radius: 11px; cursor: pointer; }
.gf-ad-preferences__frequency-option.is-selected { background: #f4f8ff; border-color: #84adff; }
.gf-ad-preferences__frequency-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gf-ad-preferences__radio { width: 19px; height: 19px; flex: 0 0 auto; border: 2px solid #98a2b3; border-radius: 50%; }
.gf-ad-preferences__frequency-option input:checked + .gf-ad-preferences__radio { border-color: #2966f4; box-shadow: inset 0 0 0 4px #fff; background: #2966f4; }
.gf-ad-preferences__frequency-option input:focus-visible + .gf-ad-preferences__radio { outline: 3px solid #b2ccff; outline-offset: 2px; }
.gf-ad-preferences__frequency-option > span:last-child { display: grid; min-width: 0; gap: 2px; }
.gf-ad-preferences__frequency-option small { line-height: 1.3; }
.gf-ad-preferences__frequency-option strong { color: #101828; font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold, 600); }
.gf-ad-preferences__frequency-option small { color: #667085; font-size: var(--gf-text-body); }
.gf-ad-preferences__toggle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.gf-ad-preferences__quick-category { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; min-height: 44px; padding: 8px 14px; color: #344054; font: inherit; font-size: var(--gf-text-body); line-height: 1.25; background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; cursor: pointer; }
.gf-ad-preferences__quick-category > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gf-ad-preferences__switch-track { position: relative; display: inline-flex; width: 37px; height: 21px; flex: 0 0 auto; align-items: center; padding: 3px; background: #d0d5dd; border-radius: 999px; transition: background 140ms ease; }
.gf-ad-preferences__switch-track i { display: block; width: 15px; height: 15px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px #10182833; transition: transform 140ms ease; }
.gf-ad-preferences__switch-track.is-on { background: #2966f4; }
.gf-ad-preferences__switch-track.is-on i { transform: translateX(16px); }
.gf-ad-preferences__data-option { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 0; }
.gf-ad-preferences__data-option + .gf-ad-preferences__data-option { border-top: 1px solid #eaecf0; }
.gf-ad-preferences__data-option:first-of-type { margin-top: 6px; }
.gf-ad-preferences__data-option > span:nth-child(2) { display: grid; gap: 3px; }
.gf-ad-preferences__data-option strong { color: #101828; font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold, 600); }
.gf-ad-preferences__data-option small { color: #667085; font-size: var(--gf-text-body); line-height: 1.4; }
.gf-ad-preferences__data-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; }
.gf-ad-preferences__data-icon svg { width: 18px; height: 18px; }
.gf-ad-preferences__data-icon.is-green { color: #039855; background: #ecfdf3; }
.gf-ad-preferences__data-icon.is-blue { color: #2966f4; background: #eff6ff; }
.gf-ad-preferences__switch { position: relative; display: inline-flex; width: 44px; height: 26px; align-items: center; flex: 0 0 auto; }
.gf-ad-preferences__switch input { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gf-ad-preferences__switch i { position: relative; width: 44px; height: 26px; background: #d0d5dd; border-radius: 99px; transition: background 140ms ease; }
.gf-ad-preferences__switch i::after { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; content: ""; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px #10182833; transition: transform 140ms ease; }
.gf-ad-preferences__switch input:checked + i { background: #2966f4; }
.gf-ad-preferences__switch input:checked + i::after { transform: translateX(18px); }
.gf-ad-preferences__switch input:focus-visible + i { outline: 3px solid #b2ccff; outline-offset: 2px; }
.gf-ad-preferences__hidden { margin-top: 24px; padding: 12px; border-radius: 16px; }
.gf-ad-preferences__modal-backdrop { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 16px; background: #10182880; backdrop-filter: blur(4px); }
.gf-ad-preferences__list-controls { display: flex; align-items: center; gap: 9px; }
.gf-ad-preferences__list-controls .gf-ad-preferences__search { flex: 0 1 280px; min-width: 236px; }
/* The global filter select in its compact slot: same pill, no label row. */
.gf-ad-preferences__sort { flex: 0 0 152px; width: 152px; min-width: 0; }
.gf-ad-preferences__sort .gf-filter-select { width: 100%; }
.gf-ad-preferences__sort .gf-filter-select__trigger { min-height: 40px; padding: 0 12px 0 14px; gap: 6px; background: #fff; border: 1px solid #e2e8f0; }
.gf-ad-preferences__sort .gf-filter-select__label { display: none; }
.gf-ad-preferences__sort .gf-filter-select__value { color: #344054; font-size: var(--gf-text-body); font-weight: var(--gf-weight-regular, 400); white-space: nowrap; }
.gf-ad-preferences__sort .gf-filter-select__chevron { width: 16px; height: 16px; color: #667085; }
.gf-ad-preferences__category-modal,
.gf-ad-preferences__how-modal { width: min(820px, calc(100vw - 32px)); max-height: min(92vh, 900px); overflow: auto; color: #101828; background: #fff; border: 1px solid #d0d5dd; border-radius: 18px; box-shadow: 0 24px 64px #10182833; }

/* Card-level loading: panels that hide their body while data is in flight show the
   app spinner instead of collapsing into an empty box. One rule only — a second block
   used to redeclare this as a row, which put the ring and the label side by side and
   made the label wrap over the spinner in narrow columns. */
.gf-card-loading {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--gf-card-loading-min, 160px);
  padding: 24px;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  text-align: center;
}

.gf-card-loading .global-search-loader {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
}

/* A whole-tab fragment keeps the page height steady while its markup downloads. */
[data-component-loading] > .gf-card-loading {
  --gf-card-loading-min: 460px;
}

/* The discussion panel's own card arrives with its markup, so its placeholder wears the
   same shell while it downloads and the loading state does not change shape mid-flight. */
.gf-discussion-host[data-component-loading]:not([data-gf-component-rendered]) > .gf-card-loading {
  --gf-card-loading-min: 420px;
  background: #ffffff;
  border: 1px solid #eaedf1;
  border-radius: 16px;
}

/* While a panel is loading, the spinner owns the whole card body instead of sitting
   under a block of blank space. */
.gf-ad-preferences__panel.is-loading,
.gf-ad-preferences__hidden.is-loading {
  display: flex;
  flex-direction: column;
}

.gf-ad-preferences__category-modal { display: flex; flex-direction: column; }

.gf-ad-preferences__modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 24px 16px; }
.gf-ad-preferences__modal-heading h2 { margin: 0 0 5px; color: #101828; font-size: var(--gf-text-card); font-weight: var(--gf-weight-semibold, 600); }
.gf-ad-preferences__modal-heading p { max-width: 620px; margin: 0; color: #667085; font-size: var(--gf-text-body, 16px); line-height: 1.45; }
.gf-ad-preferences__close { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; color: #475467; font: inherit; font-size: var(--gf-text-card); background: #f2f4f7; border: 0; border-radius: 50%; cursor: pointer; }
.gf-ad-preferences__category-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 22px 10px; border-bottom: 1px solid #eaecf0; }
.gf-ad-preferences__tabs { display: flex; gap: 6px; min-width: 0; overflow-x: auto; }
.gf-ad-preferences__tabs button { min-height: 38px; padding: 0 12px; flex: 0 0 auto; color: #667085; font: inherit; font-size: var(--gf-text-body); background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; }
.gf-ad-preferences__tabs button.is-active { color: #175cd3; font-weight: var(--gf-weight-semibold, 600); border-bottom-color: #2966f4; }
.gf-ad-preferences__category-toolbar .gf-ad-preferences__search { flex: 0 1 230px; min-width: 190px; }
.gf-ad-preferences__category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-height: 170px; max-height: 54vh; overflow-y: auto; padding: 14px 22px; }
.gf-ad-preferences__category-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 38px; align-items: center; gap: 10px; min-height: 68px; padding: 8px 10px; background: #fff; border: 1px solid #eaecf0; border-radius: 12px; }
.gf-ad-preferences__category-icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--category-color, #2966f4); font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold, 600); background: color-mix(in srgb, var(--category-color, #2966f4) 12%, white); border-radius: 50%; }
.gf-ad-preferences__category-copy { display: grid; min-width: 0; gap: 3px; }
.gf-ad-preferences__category-copy strong { overflow: hidden; color: #101828; font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold, 600); text-overflow: ellipsis; white-space: nowrap; }
.gf-ad-preferences__category-copy small { display: -webkit-box; overflow: hidden; color: #667085; font-size: var(--gf-text-body); line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.gf-ad-preferences__visibility { min-width: 38px; padding: 4px 0; color: #667085; font: inherit; font-size: var(--gf-text-body); text-align: right; background: transparent; border: 0; cursor: pointer; }
.gf-ad-preferences__visibility[aria-pressed="true"] { color: #175cd3; }
.gf-ad-preferences__modal-footer { display: flex; align-items: center; gap: 9px; padding: 12px 22px 16px; border-top: 1px solid #eaecf0; }
.gf-ad-preferences__reset, .gf-ad-preferences__modal-cancel, .gf-ad-preferences__modal-save { min-height: 40px; padding: 0 15px; font: inherit; font-size: var(--gf-text-body); font-weight: var(--gf-weight-medium, 500); border-radius: 999px; cursor: pointer; }
.gf-ad-preferences__reset { color: #344054; background: #fff; border: 1px solid #e2e8f0; }
.gf-ad-preferences__reset-hint { color: #667085; font-size: var(--gf-text-body); }
.gf-ad-preferences__footer-spacer { flex: 1; }
.gf-ad-preferences__modal-cancel { color: #344054; background: #fff; border: 1px solid #d0d5dd; }
.gf-ad-preferences__modal-save { color: #fff; background: #2966f4; border: 1px solid #2966f4; }
.gf-ad-preferences__modal-save:hover { background: #175cd3; }
.gf-ad-preferences__modal-save:disabled, .gf-ad-preferences__reset:disabled { opacity: .6; cursor: wait; }

/* Manage ad categories — the design's two-column card grid with a tinted category
   icon, a switch plus its Hide/Show label, and a footer that keeps its actions. */
.gf-ad-preferences__category-modal {
  width: min(960px, calc(100vw - 48px));
  max-height: calc(100vh - 40px);
}

.gf-ad-preferences__category-modal .gf-ad-preferences__modal-heading {
  padding: 24px 28px 14px;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__modal-heading h2 {
  font-size: var(--gf-text-title-modal);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-title-modal);
}

.gf-ad-preferences__category-modal .gf-ad-preferences__modal-heading p {
  max-width: 680px;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__close {
  width: 32px;
  height: 32px;
  color: #667085;
  background: transparent;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__category-toolbar {
  gap: 16px;
  padding: 0 28px;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__tabs button {
  min-height: 46px;
  padding: 0 14px;
  font-size: var(--gf-text-body);
}

.gf-ad-preferences__category-modal .gf-ad-preferences__search {
  flex: 0 1 268px;
  min-height: 44px;
  border-radius: 10px;
}

.gf-ad-preferences__category-list {
  flex: 1 1 auto;
  gap: 14px;
  min-height: 0;
  max-height: none;
  padding: 20px 28px;
}

.gf-ad-preferences__category-row {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 84px;
  padding: 14px 16px;
}

.gf-ad-preferences__category-icon {
  width: 46px;
  height: 46px;
}

.gf-ad-preferences__category-icon svg {
  width: 22px;
  height: 22px;
}

.gf-ad-preferences__category-copy {
  gap: 4px;
}

.gf-ad-preferences__category-copy strong {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-body);
}

.gf-ad-preferences__category-copy small {
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.gf-ad-preferences__visibility {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 0 6px 6px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.gf-ad-preferences__category-modal .gf-ad-preferences__switch-track {
  width: 44px;
  height: 24px;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__switch-track i {
  width: 18px;
  height: 18px;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__switch-track.is-on i {
  transform: translateX(20px);
}

.gf-ad-preferences__category-modal .gf-ad-preferences__modal-footer {
  gap: 12px;
  padding: 16px 28px 20px;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__reset {
  padding: 0 10px 0 0;
  color: #344054;
  background: transparent;
  border: 0;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__reset:hover {
  color: #101828;
  text-decoration: underline;
}

.gf-ad-preferences__category-modal .gf-ad-preferences__reset-hint {
  font-size: var(--gf-text-body);
}

.gf-ad-preferences__category-modal .gf-ad-preferences__modal-save {
  min-width: 170px;
  font-weight: var(--gf-weight-semibold);
}

@media (max-width: 720px) {
  .gf-ad-preferences__category-list {
    padding: 16px;
  }

  .gf-ad-preferences__category-row {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .gf-ad-preferences__category-modal .gf-ad-preferences__modal-footer {
    padding: 14px 16px 18px;
  }
}
.gf-ad-preferences__eyebrow { display: block; margin-bottom: 5px; color: #175cd3; font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold, 600); }
.gf-ad-preferences__how-modal {
  width: min(1320px, calc(100vw - 48px));
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 1px solid #eaecf0;
  border-radius: 18px;
}

.gf-ad-preferences__how-modal .gf-ad-preferences__modal-heading {
  padding: 24px 28px 16px;
}

.gf-ad-preferences__how-modal .gf-ad-preferences__eyebrow {
  margin-bottom: 8px;
  color: #475467;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gf-ad-preferences__how-modal .gf-ad-preferences__modal-heading h2 {
  margin: 0 0 8px;
  font-size: var(--gf-text-title-modal);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-title-modal);
}

.gf-ad-preferences__how-modal .gf-ad-preferences__modal-heading p {
  max-width: 760px;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

/* Plain cross, no grey chip, top-right of the dialog. */
.gf-ad-preferences__how-modal .gf-ad-preferences__close {
  width: 32px;
  height: 32px;
  color: #667085;
  font-size: 0;
  background: transparent;
}

.gf-ad-preferences__how-modal .gf-ad-preferences__close svg {
  width: 22px;
  height: 22px;
}

/* Cards and arrows share one grid so the arrows always sit in the gutters. */
.gf-ad-preferences__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr) 26px minmax(0, 1fr);
  gap: 0;
  padding: 0 28px 22px;
}

.gf-ad-preferences__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 22px 16px;
  text-align: center;
  background: #f6f8fc;
  border: 0;
  border-radius: 14px;
}

.gf-ad-preferences__step-icon {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  place-items: center;
  color: #2966f4;
  background: #e4eefd;
  border-radius: 50%;
}

.gf-ad-preferences__step-icon svg {
  width: 32px;
  height: 32px;
}

.gf-ad-preferences__step-index {
  position: absolute;
  bottom: -13px;
  left: 50%;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-bold);
  line-height: 1;
  background: #2966f4;
  border: 2px solid #f6f8fc;
  border-radius: 50%;
  transform: translateX(-50%);
}

.gf-ad-preferences__step-arrow {
  display: grid;
  align-self: start;
  margin-top: 47px;
  place-items: center;
  color: #2966f4;
}

.gf-ad-preferences__step-arrow svg {
  width: 22px;
  height: 22px;
}

.gf-ad-preferences__step h3 {
  margin: 0 0 8px;
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-body);
}

.gf-ad-preferences__step p {
  margin: 0;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.gf-ad-preferences__control-summary {
  margin: 0;
  padding: 20px 28px 0;
  border-top: 1px solid #eaecf0;
}

.gf-ad-preferences__control-summary h3 {
  margin: 0 0 4px;
  color: #101828;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-card);
}

.gf-ad-preferences__control-summary > p {
  margin: 0 0 16px;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.gf-ad-preferences__control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gf-ad-preferences__control {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
}

.gf-ad-preferences__control-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  margin-bottom: 6px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.gf-ad-preferences__control-icon svg {
  width: 20px;
  height: 20px;
}

.gf-ad-preferences__control-icon.is-interests { color: #12b76a; background: #e6f7ef; }
.gf-ad-preferences__control-icon.is-hide { color: #e5485d; background: #fdecef; }
.gf-ad-preferences__control-icon.is-frequency { color: #7a3fd0; background: #f2ecfd; }
.gf-ad-preferences__control-icon.is-data { color: #175cd3; background: #e8f1ff; }

.gf-ad-preferences__control b {
  color: #101828;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-body);
}

.gf-ad-preferences__control > span:last-child {
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.gf-ad-preferences__context-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 28px 0;
  padding: 14px 16px;
  color: #175cd3;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  background: #eff6ff;
  border-radius: 12px;
}

.gf-ad-preferences__context-icon {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  place-items: center;
  color: #fff;
  background: #2966f4;
  border-radius: 50%;
}

.gf-ad-preferences__context-icon svg {
  width: 16px;
  height: 16px;
}

.gf-ad-preferences__how-footer {
  display: flex;
  justify-content: flex-end;
  padding: 20px 28px 24px;
}

/* The dialog's one action reads as a full primary control, not a chip. */
.gf-ad-preferences__how-footer .gf-ad-preferences__modal-save {
  min-width: 148px;
  padding: 0 32px;
  font-weight: var(--gf-weight-semibold);
}

@media (max-width: 720px) {
  .gf-ad-preferences__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .gf-ad-preferences__step-arrow {
    margin: 0;
    transform: rotate(90deg);
  }

  .gf-ad-preferences__control-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gf-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .gf-ad-preferences__top-grid, .gf-ad-preferences__middle-grid { grid-template-columns: minmax(0, 1fr); }
  .gf-ad-preferences__category-list { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .gf-ad-preferences__top-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 901px) {
  .gf-ad-preferences__frequency-option small { white-space: nowrap; }
}
@media (max-width: 640px) {
  .gf-ad-preferences__page-heading h2 { font-size: var(--gf-text-card); }
  .gf-ad-preferences__panel { padding: 14px; }
  .gf-ad-preferences__panel-heading { flex-wrap: wrap; }
  .gf-ad-preferences__panel-heading > div { flex-basis: calc(100% - 56px); }
  .gf-ad-preferences__panel-heading > .gf-ad-preferences__text-action { margin-left: 54px; }
  .gf-ad-preferences__toggle-grid { grid-template-columns: minmax(0, 1fr); }
  .gf-ad-preferences__hidden > header { flex-direction: column; }
  .gf-ad-preferences__list-controls { width: 100%; }
  .gf-ad-preferences__list-controls .gf-ad-preferences__search { min-width: 0; flex: 1; }
  .gf-ad-preferences__row { grid-template-columns: 38px minmax(0, 1fr) 88px; }
  .gf-ad-preferences__modal-heading { padding: 18px 16px 13px; }
  .gf-ad-preferences__category-toolbar { align-items: stretch; flex-direction: column; padding: 0 16px 12px; }
  .gf-ad-preferences__category-toolbar .gf-ad-preferences__search { width: 100%; min-width: 0; flex: 1; }
  .gf-ad-preferences__category-list { max-height: 48vh; padding: 12px 16px; }
  .gf-ad-preferences__category-row { grid-template-columns: 38px minmax(0, 1fr) auto 38px; gap: 8px; }
  .gf-ad-preferences__category-icon { width: 36px; height: 36px; }
  .gf-ad-preferences__modal-footer { flex-wrap: wrap; padding: 12px 16px 16px; }
  .gf-ad-preferences__reset-hint { flex-basis: calc(100% - 130px); }
  .gf-ad-preferences__footer-spacer { display: none; }
  .gf-ad-preferences__modal-cancel, .gf-ad-preferences__modal-save { flex: 1; }
  .gf-ad-preferences__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: 16px; padding-left: 16px; }
  .gf-ad-preferences__control-summary { margin-right: 16px; margin-left: 16px; }
  .gf-ad-preferences__control-summary > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gf-ad-preferences__context-note { margin-right: 16px; margin-left: 16px; }
  .gf-ad-preferences__how-footer { padding-right: 16px; padding-left: 16px; }
}

@media (max-width: 640px) {
  .gf-promotion-feedback__footer, .gf-promotion-feedback__actions { flex-direction: column-reverse; }
  .gf-ad-preferences__setting { align-items: flex-start; flex-direction: column; padding: 18px; }
  .gf-ad-preferences__setting > div, .gf-ad-preferences__hidden > header > div { width: 100%; }
  .gf-ad-preferences__hidden { padding: 18px; }
  .gf-ad-preferences__hidden > header { flex-direction: column; }
  .gf-ad-preferences__search { flex: 1 1 auto; width: 100%; min-width: 0; box-sizing: border-box; }
  .gf-ad-preferences__row { grid-template-columns: 38px minmax(0, 1fr) 88px; gap: 9px; padding-right: 42px; }
  .gf-ad-preferences__blocked-date { grid-column: 2; grid-row: 2; }
  .gf-ad-preferences__unblock { grid-column: 3; grid-row: 1 / span 2; padding: 0 12px; }
  .gf-ad-preferences__row-menu { position: absolute; top: 8px; right: 4px; }
  .gf-ad-preferences__reason { grid-column: 1 / -1; }
  .gf-ad-preferences__campaign span { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}/* Information we use — tinted category icon, copy with example chips, the
   used-for state and a chevron {
  grid-template-columns: 56px minmax(0, 1fr) minmax(150px, auto) 24px;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
}
.gf-ad-preferences__control-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gf-ad-preferences__control-links button { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center; column-gap: 9px; min-height: 68px; padding: 10px; text-align: left; background: #fff; border: 1px solid #eaecf0; border-radius: 11px; cursor: pointer; }
.gf-ad-preferences__control-links button > span { grid-row: span 2; display: grid; width: 32px; height: 32px; place-items: center; color: #175cd3; font-size: var(--gf-text-body); background: #eff6ff; border-radius: 50%; }
.gf-ad-preferences__control-links strong { color: #101828; font-size: var(--gf-text-body); }
.gf-ad-preferences__control-links small { color: #667085; font-size: var(--gf-text-body); line-height: 1.35; }
.gf-ad-preferences__control-links b { grid-column: 3; grid-row: 1 / span 2; color: #667085; font-size: var(--gf-text-card); font-weight: var(--gf-weight-normal); }
@media (max-width: 760px) {
}
@media (max-width: 440px) {.gf-ad-preferences__control-links { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .badge-tile-art,
  .badges-carousel-nav,
  .badges-carousel-nav svg {
    transition: none;
  }
}

.badge-card.gold {
  background: #fcd996;
}

.badge-card.silver {
  background: #bcc1cb;
}

.badge-card.blue {
  background: #b0b8fd;
}

.badge-label {
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-caption);
  text-transform: uppercase;
  text-align: center;
  align-self: stretch;
}

.badge-label.gold-text {
  background: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-label.silver-text {
  background: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-label.blue-text {
  background: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--gf-text-body);
  filter: drop-shadow(0px 4px 6px rgba(1, 5, 51, 0.06));
}

.badge-icon.gold {
  background: transparent;
}

.badge-icon.silver {
  background: transparent;
}

.badge-icon.blue {
  background: transparent;
}

/* ── Rank ── */
.card-rank {
  flex: 1 1 240px;
  justify-content: space-between;
}

.rank-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}

.rank-avatar-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-avatar {
  position: relative;
  z-index: 2;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  color: #7a4800;
  overflow: hidden;
}

.rank-info {
  flex: 1;
}

.rank-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #000;
  line-height: var(--gf-leading-body);
}

.rank-role {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-500);
  line-height: var(--gf-leading-body);
}

.rank-number {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: var(--dark);
  line-height: var(--gf-leading-section);
  flex-shrink: 0;
}

.rank-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
}

.rank-progress-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}

.rank-progress-top span {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #000;
  line-height: var(--gf-leading-body);
}

.rank-progress-top .pct {
  color: var(--main);
}

/* ── Funding Progress ── */
.card-funding {
  flex: 1.1 1 260px;
}

.funding-amount-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 12px;
}

.funding-big {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: var(--main);
  line-height: var(--gf-leading-section);
}

.funding-sep {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: var(--gray-400);
  line-height: var(--gf-leading-section);
}

.funding-target {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: var(--gray-400);
  line-height: var(--gf-leading-body);
  align-self: flex-end;
}

.funding-progress-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
}

.prog-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.prog-row span {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #000;
  line-height: var(--gf-leading-body);
}

.prog-row .pct {
  color: var(--main);
}

/* ── All-time Investors ── */
.card-alltime {
  flex: 0.9 1 200px;
  /* The stat belongs directly under its heading. A card stretched by a taller
     neighbour used to push the number to the bottom edge (44px of dead space on
     the investor overview, 36px on the founder one), which read as a layout bug;
     the spare height now falls below the stat instead of above it. */
  justify-content: flex-start;
  cursor: pointer;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.card-alltime:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -8px rgba(16, 24, 40, 0.08);
  border-color: #2966f4;
}

/* The reach card's stat row is a footer: it stays on the bottom edge even when a
   taller neighbour stretches the card. The "All time deals" count card shares
   .card-alltime but keeps its value under the heading, so this is scoped. */
.card-alltime--reach {
  justify-content: space-between;
}

.alltime-body {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 12px;
  align-self: stretch;
}

.alltime-num {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: var(--main);
  line-height: var(--gf-leading-section);
  flex: 1;
}

.user-role {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  color: var(--g500);
  line-height: var(--gf-leading-body);
  margin-top: 2px;
  text-transform: capitalize;
}

.alltime-date {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-600);
  line-height: var(--gf-leading-body);
  padding-bottom: 2px;
}

/* ── Daily Investors ── */
.card-daily {
  flex: 1.5 1 300px;
  min-width: 0;
  justify-content: space-between;
  cursor: pointer;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

/* The overview cards share one height per row — the row stretches every card
   to its tallest neighbour, so no card ends on a shorter line. */

.card-daily:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -8px rgba(16, 24, 40, 0.08);
  border-color: #2966f4;
}

.daily-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  /* The five days spread edge to edge: the first sits on the card's left content edge and the last
     on its right, instead of each being centred in an equal share (which read as space-around). */
  justify-content: space-between;
  gap: 12px;
  align-self: stretch;
}

.daily-col {
  display: flex;
  flex-direction: column;
  /* Intrinsic width so space-between can push the outer two flush with the card's padding. */
  align-items: center;
  text-align: center;
  justify-content: flex-end;
  gap: 4px;
  flex: 0 0 auto;
  min-width: 0;
}

.daily-num {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-section);
  color: var(--gray-800);
}

.daily-num.today {
  color: var(--main);
}

.daily-label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-500);
  line-height: var(--gf-leading-body);
}

/* Overview bottom row (investors / seekers): these cards hold real rows — message
   threads, deals, events — so their own content decides how tall they are. Without the
   min-height the cards were squeezed to the shortest neighbour in the row and the last
   line of content was cut off, and the row left the space below it empty instead of
   filling it. */
.overview-bottom-cards {
  flex: 1 1 auto;
  min-height: 0;
}

.overview-bottom-cards .card {
  min-height: min-content;
}

/* ── Bottom row cols ── */
.col-left {
  display: flex;
  flex-direction: column;
  /* Matches the row gap, so the stacked left cards sit on the same rhythm as
     everything else in the grid. */
  gap: var(--gf-overview-gap, 24px);
  flex: 1 1 0%;
  min-width: 0;
}

/* The bottom row ends level with the left column (demographic + upcoming
   events). The row is a grid whose height comes from that in-flow column; the
   message and deck cards are taken out of flow inside their own columns, so
   their long lists cannot stretch the row and instead scroll inside a card that
   fills the column. No JS measuring, so it survives re-renders. */
.overview-bottom-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

.overview-bottom-row > .col-mid,
.overview-bottom-row > .col-right {
  position: relative;
  min-height: 0;
}

.overview-bottom-row > .col-mid > .card,
.overview-bottom-row > .col-right > .card {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.overview-bottom-row > .col-mid > .card > .msg-list,
.overview-bottom-row > .col-right > .card > .deck-list {
  flex: 1 1 auto;
  min-height: 0;
}

.col-mid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 0%;
  min-width: 0;
}

.col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 0%;
  min-width: 0;
}

/* ── Overview grid (founders, investors, seekers) ──
   All three overviews share one grid format: a wrapper that owns the gap between
   rows, and rows that are grids themselves. Because both levels read the same
   token, the horizontal and vertical gutters are identical (24px) everywhere, and
   no row can drift out of step with its neighbours. Each role keeps its own
   intentional column widths; the fractions below are the widths that dashboard
   rendered before it moved onto the grid, so nothing changes visually except the
   gutter. */
.founders_dashboard[data-overview-role] {
  --gf-overview-gap: 24px;
}

.founders_dashboard[data-overview-role] .gf-overview-grid {
  display: grid;
  gap: var(--gf-overview-gap);
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

/* The investor content area can be taller than its cards. Keep surplus height
   below the grid instead of distributing it between the stats and feed rows. */
.founders_dashboard[data-overview-role="investor"] .gf-overview-grid {
  row-gap: 24px;
  grid-auto-rows: max-content;
  align-content: start;
}

.founders_dashboard[data-overview-role] .gf-overview-row {
  display: grid;
  gap: var(--gf-overview-gap);
  align-items: stretch;
  min-width: 0;
}

.founders_dashboard[data-overview-role] .gf-overview-grid > .gf-overview-row {
  margin-block: 0;
}

.founders_dashboard[data-overview-role="investor"] .gf-overview-grid > .gf-overview-row {
  margin-block: 0;
}

/* Cards inside a row are the grid items (the custom elements resolve through
   display:contents), and none of them may widen its own track. */
.founders_dashboard[data-overview-role] .gf-overview-row > * {
  min-width: 0;
}

/* Founders: health is widest, then badges, then rank. The middle row gives the
   daily view chart the extra width, and the bottom row is three equal cards. */
.founders_dashboard[data-overview-role="founder"] .gf-overview-row--health {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.09fr) minmax(0, 1fr);
}

.founders_dashboard[data-overview-role="founder"] .gf-overview-row--stats {
  grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr) minmax(0, 1.56fr);
}

.founders_dashboard[data-overview-role="founder"] .gf-overview-row--bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Investors: same health row, with the daily view chart leading the middle row. */
.founders_dashboard[data-overview-role="investor"] .gf-overview-row--health {
  grid-template-columns: minmax(0, 1.69fr) minmax(0, 1.09fr) minmax(0, 1fr);
}

.founders_dashboard[data-overview-role="investor"] .gf-overview-row--stats {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.57fr) minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 0;
}

/* Keep the investor deal count in the third desktop track even if legacy card
   sizing or an injected child changes CSS grid's automatic placement order. */
.founders_dashboard[data-overview-role="investor"] .gf-overview-row--stats > gf-overview-reach > .card {
  grid-column: 1;
  grid-row: 1;
}

.founders_dashboard[data-overview-role="investor"] .gf-overview-row--stats > gf-overview-daily-views > .card {
  grid-column: 2;
  grid-row: 1;
}

.founders_dashboard[data-overview-role="investor"] .gf-overview-row--stats > gf-overview-count > .card {
  grid-column: 3;
  grid-row: 1;
}

.founders_dashboard[data-overview-role="investor"] .gf-overview-row--bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Seekers: health widest, and three equal cards in the bottom row. */
.founders_dashboard[data-overview-role="seeker"] .gf-overview-row--health {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
}

.founders_dashboard[data-overview-role="seeker"] .gf-overview-row--bottom {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Upcoming events behaves the same on all three overviews: the card fills the
   row, the list shows two events and scrolls for the rest. The old global
   `.card-events .events-list { height: 130px }` only ever fitted one. */
.founders_dashboard[data-overview-role] .gf-overview-grid {
  --gf-event-row: 122px;
  --gf-events-visible: 2;
  --gf-events-list-max: calc(var(--gf-event-row) * var(--gf-events-visible) + 20px);
}

.founders_dashboard[data-overview-role] .gf-overview-grid .card-events {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.founders_dashboard[data-overview-role] .gf-overview-grid .card-events .events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  flex: 0 0 auto;
  max-height: var(--gf-events-list-max);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px;
  margin: -4px;
  margin-top: 0;
}

/* Tablet: the health card takes the full width and the other two share the row.
   The extra class keeps these overrides ahead of the per-role templates. */
@media (max-width: 1024px) {
  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row--health {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row--health .card-health {
    grid-column: 1 / -1;
  }

  /* The other rows stack: with three columns the cards get narrower than their
     content, so they take the full width instead. */
  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row--stats,
  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row--bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .founders_dashboard[data-overview-role="investor"] .gf-overview-row--stats {
    row-gap: 24px;
  }

  .founders_dashboard[data-overview-role="investor"] .gf-overview-row--stats > gf-overview-reach > .card,
  .founders_dashboard[data-overview-role="investor"] .gf-overview-row--stats > gf-overview-daily-views > .card,
  .founders_dashboard[data-overview-role="investor"] .gf-overview-row--stats > gf-overview-count > .card {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Stacked layouts: the row cap no longer applies, but the lists stay bounded so a
   long feed cannot turn the page into a wall of cards. */
@media (max-width: 1024px) {
  .founders_dashboard[data-overview-role] .gf-overview-grid .card-events .events-list {
    max-height: min(60vh, 460px);
    overflow-y: auto;
  }
}

/* Phone: one card per row, for every role. */
@media (max-width: 720px) {
  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row,
  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row--health,
  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row--stats,
  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row--bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .founders_dashboard[data-overview-role] .gf-overview-grid .gf-overview-row--health .card-health {
    grid-column: auto;
  }
}

/* ── Investors Demographic ── */
/* Sizes to its own content — the card must never stretch to match a taller
   neighbour in the row, which left dead space under the legend. */
.card-demo {
  flex: 0 0 auto;
  max-height: fit-content;
}

.demo-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  align-self: stretch;
  /* Tall enough for exactly 5 legend rows (measured ~229px); the donut is
     shorter and sits centered against it. */
  height: 190px;
}

.donut-wrap {
  flex-shrink: 0;
}

.demo-legend {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 0;
  /* Exactly 5 rows visible; the rest scroll. */
  height: 190px;
  overflow-y: auto;
}

.legend-row {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 0;
  gap: 6px;
  border-bottom: 1px solid var(--gray-100);
  align-self: stretch;
}

.legend-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #000;
  flex: 1;
  line-height: var(--gf-leading-body);
}

.legend-pct {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  flex-shrink: 0;
}

/* ── Messages ── */
/* Fills the card, which is capped at the left column's height; extra
   conversations scroll inside it. */
.msg-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: stretch;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.msg-row {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px;
  gap: 16px;
  border-bottom: 1px solid var(--gray-100);
  align-self: stretch;
}

.msg-row:last-child {
  border-bottom: none;
}

.msg-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  color: #fff;
  flex-shrink: 0;
  position: relative;
}

.msg-profile-trigger {
  appearance: none;
  box-sizing: border-box;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.msg-profile-trigger:disabled {
  cursor: default;
}

.msg-profile-trigger:focus-visible {
  outline: 2px solid var(--blue-500, #2966f4);
  outline-offset: 2px;
}

.msg-name.msg-profile-trigger {
  align-self: flex-start;
}

.avatar-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 7%));
  width: 135%;
  height: 135%;
  z-index: 1;
  pointer-events: none;
}

.msg-avatar-inner {
  position: relative;
  z-index: 2;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: #fcfcfc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-caption);
  color: #333;
  overflow: hidden;
}

.msg-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.msg-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #000;
  line-height: var(--gf-leading-body);
}

.msg-role {
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-500);
  line-height: var(--gf-leading-caption);
}

.msg-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.msg-actions svg {
  width: 24px;
  height: 24px;
  color: var(--gray-500);
  cursor: pointer;
}

/* ── Deck Verification ── */
/* No fixed height — the row stretches the card to its tallest neighbour and
   the request list scrolls inside it. */
.decks-subtitle {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-600);
  line-height: var(--gf-leading-body);
}

.deck-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: stretch;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.deck-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.deck-thumb {
  width: 120px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.deck-thumb-bg {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

.deck-thumb-bg.pitch {
  background: linear-gradient(135deg, #1a2a4a 0%, #2d4a7a 100%);
}

.deck-thumb-bg.engage {
  background: linear-gradient(135deg, #2d1b4a 0%, #4a2d7a 100%);
}

.deck-thumb-bg.eco {
  background: linear-gradient(135deg, #0a3a1a 0%, #1a6a2a 100%);
}

.deck-thumb-bg.product {
  background: linear-gradient(135deg, #3a1a0a 0%, #7a3a0a 100%);
}

.deck-thumb-icon {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  background: var(--main);
  box-shadow: 0px 4px 8px rgba(16, 24, 40, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-thumb-icon svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.deck-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.deck-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.deck-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--dark);
  line-height: var(--gf-leading-body);
}

.deck-meta {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-600);
  line-height: var(--gf-leading-body);
}

.deck-avatars {
  display: flex;
  flex-direction: row;
}

.deck-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef1f5;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  color: #333;
  margin-right: -12px;
  flex-shrink: 0;
  object-fit: cover;
}

.deck-avatar.more {
  background: var(--main);
  color: var(--white);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  margin-right: 0;
}

.deck-chevron {
  align-self: center;
  color: var(--dark);
  flex-shrink: 0;
}

.deck-chevron svg {
  width: 20px;
  height: 20px;
}

.card-events {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.card-events-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: var(--gf-text-body);
  color: var(--gray-400);
  padding: 24px 0;
  text-align: center;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 122px;
  overflow-y: auto;
  padding-right: 8px;
  margin-top: 8px;
}

.events-list::-webkit-scrollbar {
  width: 4px;
}

.events-list::-webkit-scrollbar-thumb {
  background: var(--gray-300, #d0d5dd);
  border-radius: 4px;
}

.gf-event-card {
  display: flex;
  flex-direction: row;
  border: 1px solid #d0d5dd;
  border-radius: var(--shell-panel-radius, 24px);
  background: var(--white);
  align-items: stretch;
  overflow: hidden;
  min-height: 120px;
  height: 100%;
  flex-shrink: 0;
}

.event-item {
  display: flex;
  flex-direction: row;
  border: 1px solid #d0d5dd;
  border-radius: var(--shell-panel-radius, 24px);
  background: var(--white);
  align-items: stretch;
  overflow: hidden;
  min-height: 120px;
  height: auto;
  flex-shrink: 0;
}

.event-img,
.gf-event-card__media {
  position: relative;
  width: 120px;
  min-height: 120px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f2f4f7;
}

.gf-event-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.gf-event-card__image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #2966f4;
  background: #f2f4f7;
}

.gf-event-card__image-placeholder svg {
  width: 40px;
  height: 40px;
}

.gf-event-card__content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.gf-event-card__date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  font-weight: var(--gf-weight-medium);
  color: #000;
  white-space: normal;
}

.gf-event-card__date span {
  min-width: 0;
}

.gf-event-card__date svg {
  width: 16px;
  height: 16px;
  color: var(--main);
  stroke-width: 2;
  flex-shrink: 0;
}

.gf-event-card__title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #000;
  line-height: var(--gf-leading-card);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.gf-event-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  border: 0;
  border-radius: 0;
}

.gf-event-card__image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #2966f4;
  background: #f2f4f7;
}

.gf-event-card__image-placeholder svg {
  width: 40px;
  height: 40px;
}

.gf-event-card__content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.gf-event-card__date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  font-weight: var(--gf-weight-medium);
  color: #000;
  white-space: normal;
}

.gf-event-card__date span {
  min-width: 0;
}

.gf-event-card__date svg {
  width: 16px;
  height: 16px;
  color: var(--main);
  stroke-width: 2;
  flex-shrink: 0;
}

.gf-event-card__title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #000;
  line-height: var(--gf-leading-card);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.gf-event-card__meta {
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: var(--gray-500, #475467);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.gf-event-card__meta .gf-event-card__attending {
  flex: 0 1 auto;
  white-space: nowrap;
}

.gf-event-card__meta .gf-event-card__location {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gf-event-card__meta {
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: var(--gray-500, #475467);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.gf-event-card__meta .gf-event-card__attending {
  flex: 0 1 auto;
  white-space: nowrap;
}

.gf-event-card__meta .gf-event-card__location {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gf-event-card__dot {
  width: 6px;
  height: 6px;
  background-color: #d0d5dd;
  border-radius: 50%;
  flex: 0 0 6px;
}

.gf-event-card__dot {
  width: 6px;
  height: 6px;
  background-color: #d0d5dd;
  border-radius: 50%;
  flex: 0 0 6px;
}

/* ── Footer ── */
.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  height: 64px;
  align-self: stretch;
  flex-shrink: 0;
}

.footer-copy {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: var(--gray-500);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--main);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 4px;
}

/* ── Collapsed Sidebar State ── */
.sidebar.is-collapsed {
  width: 88px;
  min-width: 88px;
  padding: 16px 8px;
  align-items: center;
}

.sidebar.is-collapsed .sidebar-logo {
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
}

.sidebar.is-collapsed .sidebar-logo img {
  width: 32px;
  height: 19px;
  object-fit: cover;
  object-position: left center;
}

.sidebar.is-collapsed .nav-list {
  width: 100%;
  align-items: center;
}

.sidebar.is-collapsed .nav-item {
  position: relative;
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.sidebar.is-collapsed .nav-left {
  flex: none;
  width: 24px;
  height: 24px;
  justify-content: center;
  align-items: center;
  font-size: 0;
  gap: 0;
}

.sidebar.is-collapsed .nav-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  min-width: 10px;
  padding: 0;
  font-size: 0;
  background: var(--error-500);
  border: 2px solid var(--white);
  border-radius: 50%;
}

.sidebar.is-collapsed .sidebar-user {
  width: 90px;
  height: 56px;
  padding: 0;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.sidebar.is-collapsed .sidebar-user > div:first-child {
  flex: none !important;
}

.sidebar.is-collapsed .user-info,
.sidebar.is-collapsed .user-chevron {
  display: none;
}

/* Adjust Main Content Layout when Sidebar is Collapsed */
.sidebar.is-collapsed ~ .main {
  margin-left: 88px;
}

/* Transitions for Smooth Collapsing Animation */
.sidebar {
  transition:
    width 240ms cubic-bezier(0.4, 0, 0.2, 1),
    min-width 240ms cubic-bezier(0.4, 0, 0.2, 1),
    padding 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.main {
  transition: margin-left 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item {
  transition:
    width 240ms cubic-bezier(0.4, 0, 0.2, 1),
    height 240ms cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 240ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

/* ══════════════════════════════
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ══════════════════════════════ */

@media (max-width: 1440px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sidebar.is-mobile-open {
    transform: translateX(0);
  }

  .main {
    margin-left: 0 !important;
  }
}

@media (max-width: 1024px) {
  /* Hide sidebar off-screen by default on mobile/tablet */
  .sidebar {
    transform: translateX(-100%);
    transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* When sidebar is opened via burger */
  .sidebar.is-mobile-open {
    transform: translateX(0);
  }

  /* Remove sidebar margin for main content */
  .main {
    margin-left: 0 !important;
    padding: 0 12px;
    gap: 0;
  }

  /* Make header look cleaner */
  .topbar {
    padding: 16px 0;
    gap: 12px;
    height: auto;
  }

  .dashboard_tab_loader {
    padding: 16px;
  }

  .search-bar {
    max-width: none;
    flex: 1;
  }

  /* Keep search bar and breadcrumb layout clean */
  .topbar-left {
    gap: 8px;
  }

  .breadcrumb {
    display: none;
    /* Hide breadcrumbs on small screen to save space */
  }

  /* Ensure rows can stack naturally */
  .row {
    flex-direction: row;
    /* Let them wrap naturally */
    gap: 16px;
  }

  .col-left,
  .col-mid,
  .col-right {
    flex: 1 1 100% !important;
    max-width: 100%;
  }

  /* Stacked layout: every card sizes to its own content again. */
  .overview-bottom-row {
    display: flex;
    flex-direction: column;
  }

  .overview-bottom-row > .col-mid > .card,
  .overview-bottom-row > .col-right > .card {
    position: static;
  }

  .card {
    flex: 1 1 100% !important;
    max-width: 100%;
  }

  .founders_dashboard_mobile_nav_backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 99;
    border: none;
    cursor: pointer;
  }
}

@media (max-width: 768px) {
  .topbar {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .topbar-left {
    width: 100%;
    justify-content: space-between;
  }

  .search-bar {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  /* The actions get their own full-width row so they never run off the screen. */
  .topbar-actions {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 8px;
  }

  .main {
    padding: 0 8px;
    gap: 0;
  }

  .main > .founders_dashboard_body {
    border-radius: 16px;
    margin-bottom: 8px;
  }

  .dashboard_tab_loader {
    padding: 12px;
  }

  .page-header {
    gap: 4px;
  }

  .page-title {
    font-size: var(--gf-text-section);
  }

  .page-date {
    font-size: var(--gf-text-body-strong);
  }
}

/* Compact overview badge rail: four image-only badges plus the page control. */
.card-badges .badges-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) 42px;
  gap: 8px;
  align-items: center;
}

.card-badges .badges-grid .badge-card {
  min-height: 96px;
  height: 96px;
  padding: 6px;
  border: 0;
  border-radius: 12px;
  background: transparent !important;
  box-shadow: none;
}

.card-badges .badge-card-crop {
  width: 100%;
  height: 100%;
  background: transparent;
}

.card-badges .badge-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-badges .badge-card-label {
  display: none;
}

.card-badges .badge-card--earned {
  outline: 3px solid #22c55e;
  outline-offset: -3px;
}

.card-badges .badge-card--current {
  outline: 3px solid var(--gf-blue, #2966f4);
  outline-offset: -3px;
}

.card-badges .badge-card-next {
  width: 42px;
  min-height: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background: transparent !important;
  color: var(--gf-blue, #2966f4);
  font-size: var(--gf-text-section);
  line-height: 1;
}

@media (max-width: 600px) {
  .card-badges .badges-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 34px;
    gap: 4px;
  }

  .card-badges .badges-grid .badge-card {
    min-height: 72px;
    height: 72px;
  }
}

/* Final compact badge-card treatment for the overview dashboards. */
.card-badges .card-header {
  align-items: flex-start;
}

.card-badges .badges-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 40px !important;
  gap: 6px !important;
  align-items: center !important;
  overflow: visible !important;
}

.card-badges .badges-grid .badge-card,
.card-badges .badges-grid .badge-card:hover,
.card-badges .badges-grid .badge-card:focus-visible {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 76px !important;
  height: 76px !important;
  padding: 2px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.card-badges .badge-card-crop {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  flex: 1 1 auto;
  background: transparent !important;
  align-items: center;
  justify-content: center;
}

.card-badges .badge-card-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.card-badges .badge-card-label {
  display: none !important;
}

.card-badges .badge-card--earned {
  outline: 3px solid #22c55e !important;
  outline-offset: -3px;
}

.card-badges .badge-card--current {
  outline: 3px solid var(--gf-blue, #2966f4) !important;
  outline-offset: -3px;
}

.card-badges .badges-grid .badge-card-next,
.card-badges .badges-grid .badge-card-next:hover,
.card-badges .badges-grid .badge-card-next:focus-visible {
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--gf-blue, #2966f4) !important;
  font-size: var(--gf-text-section) !important;
  line-height: 1 !important;
}

@media (max-width: 480px) {
  /* Phones: Create keeps only its + icon; the label stays for screen readers. Scoped to the top
     bar because tutorials.css styles .btn-create globally and loads later. */
  .topbar .btn-create {
    width: 44px;
    padding: 0;
    gap: 0;
    font-size: 0;
  }
}

/* ══════════════════════════════
   BADGES DETAILED MODAL
   ══════════════════════════════ */
.badges-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.badges-modal {
  display: flex;
  flex-direction: column;
  padding: 14px;
  position: relative;
  width: 845px;
  height: 533px;
  /* Enforce strict rigid size to prevent inner squishing */
  min-width: 845px;
  min-height: 533px;
  background: #ffffff;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  border-radius: 32px;
  overflow: hidden;
  --modal-scale: 1;
  animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.badges-modal-content {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  gap: 14px;
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(calc(var(--modal-scale) * 0.8)) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(var(--modal-scale)) translateY(0);
  }
}

/* Dynamic Viewport Scaling to keep modal on screen without squishing */
@media (max-width: 900px), (max-height: 600px) {
  .badges-modal {
    --modal-scale: 0.9;
  }
}

@media (max-width: 800px), (max-height: 530px) {
  .badges-modal {
    --modal-scale: 0.8;
  }
}

@media (max-width: 700px), (max-height: 460px) {
  .badges-modal {
    --modal-scale: 0.7;
  }
}

@media (max-width: 600px), (max-height: 400px) {
  .badges-modal {
    --modal-scale: 0.55;
  }
}

@media (max-width: 500px), (max-height: 350px) {
  .badges-modal {
    --modal-scale: 0.45;
  }
}

.badges-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  z-index: 10;
}

.badges-modal-close:hover {
  background: var(--gray-200);
  color: var(--dark);
  transform: scale(1.05);
}

.badges-modal-close svg {
  width: 20px;
  height: 20px;
}

/* Left Panel - Detailed Badge Card */
.badges-modal-left {
  flex: none;
  width: 401px;
  height: 100%;
  display: flex;
  background: transparent;
}

.badges-detail-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 19px;
  gap: 19px;
  box-sizing: border-box;
  box-shadow:
    0px 20px 24px -4px rgba(16, 24, 40, 0.08),
    0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  border-radius: 24px;
  border: none;
  position: relative;
  overflow: hidden;
}

.badges-detail-card.standard-theme {
  background: transparent;
}

.badges-detail-card.pro-theme {
  background: transparent;
}

.badges-detail-card.platinum-theme {
  background: transparent;
}

.badges-detail-card.premium-theme {
  background: transparent;
}

/* Sky gradient and Sunburst pattern */
.badges-detail-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: center;
  background: transparent;
  z-index: 2;
}

.sunburst-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  pointer-events: none;
}

.badge-detail-title {
  font-family: var(--gf-font);
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-section);
  color: var(--gf-navy);
  text-transform: uppercase;
  margin-bottom: 0;
  z-index: 2;
}

.badge-detail-desc {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  width: 362px;
  z-index: 2;
}

.badges-detail-card.standard-theme .badge-detail-desc {
  color: #15803d;
}

.badges-detail-card.pro-theme .badge-detail-desc {
  color: #1943a5;
}

.badges-detail-card.platinum-theme .badge-detail-desc {
  color: #334155;
}

.badges-detail-card.premium-theme .badge-detail-desc {
  color: #854d0e;
}

/* Centered Floating Badge Icon */
.badge-detail-icon-wrap {
  width: 138px !important;
  height: 138px !important;
  z-index: 5;
  filter: drop-shadow(0px 17px 22px rgba(1, 5, 51, 0.08));
}

.badge-detail-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.badge-detail-metric-label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body);
  color: #475467;
  margin-bottom: 0px;
}

.badge-detail-metric-val {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-section);
  color: #0a0a0a;
  margin-bottom: 0px;
}

/* Progress track and marker */
.badge-progress-container {
  width: 362px;
  height: 56px;
  margin-bottom: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.badge-progress-tooltip-wrap {
  position: absolute;
  top: -12px;
  transform: translateX(-50%);
  transition: left 240ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-progress-tooltip-wrap--start {
  transform: translateX(0);
  align-items: flex-start;
}

.badge-progress-tooltip-wrap--end {
  transform: translateX(-100%);
  align-items: flex-end;
}

.badge-progress-tooltip-wrap--start .badge-progress-tooltip::after {
  left: 12px;
  transform: none;
}

.badge-progress-tooltip-wrap--end .badge-progress-tooltip::after {
  left: auto;
  right: 12px;
  transform: none;
}

.badge-progress-tooltip {
  background: #0a0a0a;
  color: #ffffff;

  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body);
  padding: 5px 10px;
  border-radius: 20px;
  white-space: nowrap;
  position: relative;
}

.badge-progress-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #0a0a0a transparent transparent;
}

.badge-progress-track {
  height: 14px;
  width: 100%;
  background: #f2f4f7;
  border-radius: 14px;
  position: relative;
  overflow: visible;
}

.badge-progress-bar {
  height: 14px;
  border-radius: 14px;
  transition:
    width 240ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 240ms cubic-bezier(0.2, 0, 0, 1);
}

.badges-detail-card.standard-theme .badge-progress-bar {
  background: #22c55e;
}

.badges-detail-card.pro-theme .badge-progress-bar {
  background: #2966f4;
}

.badges-detail-card.platinum-theme .badge-progress-bar {
  background: #8e9aa8;
}

.badges-detail-card.premium-theme .badge-progress-bar {
  background: #d4af37;
}

.badge-detail-footer {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #475467;
  line-height: var(--gf-leading-body);
  text-align: center;
}

/* Right Panel - Badge Selection Grid */
.badges-modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

/* The modal lists the same badge tiles as the overview carousel, three per row, at the original size. */
.badge-grid-row {
  --badge-tile-width: 105px;
  display: grid;
  grid-template-columns: repeat(3, var(--badge-tile-width));
  gap: 16px;
  /* Start-aligned so the modal's close button (top right) sits beside the grid, not over it. */
  justify-content: start;
  width: 100%;
}

.badge-grid-row .badge-tile--selected .badge-tile-art {
  transform: translateY(-4px);
  filter: drop-shadow(0 10px 16px rgba(1, 5, 51, 0.16));
}

@media (max-width: 768px) {
  .badges-modal {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
  }

  .badges-modal-content {
    flex-direction: column;
    height: auto;
  }

  .badges-modal-left {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 24px;
  }

  .badges-detail-card {
    height: 480px;
  }

  .badges-modal-right {
    padding: 24px;
  }

  .badge-grid-row {
    --badge-tile-width: 90px;
    gap: 16px 12px;
  }
}

/* ── Funding Goal Modal ── */
.funding-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.funding-modal {
  background: #ffffff;
  border-radius: 32px;
  width: 90%;
  max-width: 640px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  animation: modalScaleUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.funding-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.funding-header-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.funding-title {
  font-family: var(--gf-font);
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: #0f172a;
  margin: 0;
}

.funding-subtitle {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #64748b;
  margin: 0;
}

.funding-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.funding-close-btn:hover {
  background: #e2e8f0;
  transform: scale(1.05);
}

.funding-close-btn svg {
  width: 16px;
  height: 16px;
}

.funding-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.funding-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.funding-input-label {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #1e293b;
}

.funding-input-wrapper {
  background: #f8fafc;
  border-radius: 9999px;
  padding: 4px 20px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  height: 52px;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.funding-input-wrapper:focus-within {
  border-color: #2966f4;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.funding-input-wrapper.with-icon {
  gap: 12px;
}

.funding-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  height: 100%;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #0f172a;
}

.funding-input::placeholder {
  color: #94a3b8;
}

.calendar-icon {
  width: 18px;
  height: 18px;
  color: #64748b;
  flex-shrink: 0;
}

.funding-modal-separator {
  height: 1px;
  background: #e2e8f0;
  width: calc(100% + 64px);
  margin-left: -32px;
}

.funding-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.funding-btn-delete {
  background: #f1f5f9;
  color: #0f172a;
  border: none;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  padding: 12px 24px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.funding-btn-delete:hover {
  background: #e2e8f0;
  color: #ef4444;
}

.funding-btn-save {
  background: #2966f4;
  color: #ffffff;
  border: none;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  padding: 12px 28px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.funding-btn-save:hover {
  background: #2054cc;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.funding-btn-save:active {
  transform: translateY(0);
}

/* ═════════════════════════════════════════════
   ════════ EVENTS TAB REVAMP ════════
   ═════════════════════════════════════════════ */

/* Outer frame — fills the shell's content panel down to the bottom edge of the viewport */
.founders_dashboard_events_body .events-page-card {
  background: transparent;
  border-radius: 0;
  padding: 0 0 24px;
  margin: 0 auto;
  max-width: 1750px;
  width: 100%;
  box-sizing: border-box;
  height: calc(100vh - var(--shell-topbar-height) - 20px);
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.founders_dashboard_events_body .events-layout {
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  flex: 1;
  min-height: 0;
}

/* Sidebar styling */
.founders_dashboard_events_body .events-sidebar {
  flex: 0 0 280px;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 24, 40, 0.08) transparent;
  padding-right: 6px;
  padding-bottom: 8px;
  box-sizing: border-box;
}

.founders_dashboard_events_body .events-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.founders_dashboard_events_body .events-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--gray-300, #d0d5dd);
  border-radius: 999px;
  background: var(--white, #ffffff);
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  font-size: var(--gf-text-body);
  color: var(--gray-800, #1d2939);
  transition:
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_events_body .events-filter-btn:hover {
  border-color: var(--main, #2966f4);
}

.founders_dashboard_events_body .events-filter-btn .icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--gray-800, #1d2939);
}

.founders_dashboard_events_body .events-filter-btn .label {
  flex: 1;
  text-align: left;
}

.founders_dashboard_events_body .events-filter-btn .chevron {
  width: 16px;
  height: 16px;
  color: var(--gray-900, #101828);
}

/* Categories */
.founders_dashboard_events_body .categories-label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  color: #000;
}

.founders_dashboard_events_body .events-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.founders_dashboard_events_body .cat-card {
  width: 100%;
  height: 112px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_events_body .cat-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.founders_dashboard_events_body .cat-card .cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_events_body .cat-card:hover .cat-bg {
  transform: scale(1.05);
}

.founders_dashboard_events_body .cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.founders_dashboard_events_body .cat-card .cat-name {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  text-align: center;
  padding: 0 16px;
}

/* Category card backgrounds now come from each category's coverImageUrl
   (fetched from the backend), applied as an inline style — see the events tab
   partials' :style binding on .cat-bg. */

/* ============================
   Category Hero Banner
   ============================ */
.founders_dashboard_events_body .category-hero-wrap {
  width: 100%;
}

.founders_dashboard_events_body .category-hero {
  position: relative;
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  box-sizing: border-box;
}

/* dark overlay on hero */
.founders_dashboard_events_body .category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
  border-radius: 24px;
}

/* Hero background image now comes from selectedCategory.coverImageUrl,
   applied as an inline style — see the events tab partials' :style binding on
   .category-hero. */
.founders_dashboard_events_body .category-hero-back {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  height: 34px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: var(--gf-font);
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_events_body .category-hero-back svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.founders_dashboard_events_body .category-hero-back:hover {
  background: #ffffff;
  color: #101828;
  border-color: #ffffff;
  transform: none;
}

@media (max-width: 600px) {
  .founders_dashboard_events_body .category-hero-back {
    top: 16px;
    left: 16px;
  }
}

.founders_dashboard_events_body .category-hero-title {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: var(--gf-text-page);
  font-weight: var(--gf-weight-bold);
  font-family: var(--gf-font);
  line-height: var(--gf-leading-page);
  margin: 0;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 100%;
}

/* Main content panel */
.founders_dashboard_events_body .events-main {
  flex: 1;
  min-width: 0;
  container: events-main / inline-size;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 24, 40, 0.08) transparent;
  padding-right: 0;
  box-sizing: border-box;
}

/* Let the document own vertical scrolling so the welcome banner cannot steal
   space from a viewport-sized events panel and clip the remaining cards. */
.founders_dashboard_events_body .events-page-card {
  height: auto;
  min-height: calc(100dvh - var(--shell-topbar-height) - 20px);
  overflow: visible;
}

.founders_dashboard_events_body .events-layout {
  flex: 0 0 auto;
  align-items: flex-start;
}

.founders_dashboard_events_body .events-sidebar,
.founders_dashboard_events_body .events-main {
  height: auto;
  min-height: 0;
  overflow: visible;
}

/* Custom premium scrollbar styling */
.founders_dashboard_events_body .events-sidebar::-webkit-scrollbar,
.founders_dashboard_events_body .events-main::-webkit-scrollbar {
  width: 4px;
}

.founders_dashboard_events_body .events-sidebar::-webkit-scrollbar-track,
.founders_dashboard_events_body .events-main::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.founders_dashboard_events_body .events-sidebar::-webkit-scrollbar-thumb,
.founders_dashboard_events_body .events-main::-webkit-scrollbar-thumb {
  background: rgba(16, 24, 40, 0.08);
  border-radius: 10px;
}

.founders_dashboard_events_body .events-sidebar::-webkit-scrollbar-thumb:hover,
.founders_dashboard_events_body .events-main::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 24, 40, 0.16);
}

.founders_dashboard_events_body .tab-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.founders_dashboard_events_body .events-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.founders_dashboard_events_body .events-tabs::-webkit-scrollbar {
  display: none;
}

.founders_dashboard_events_body .events-tabs::after {
  content: "";
  position: sticky;
  right: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  background: transparent;
  pointer-events: none;
  flex-shrink: 0;
  margin-left: -32px;
}

.founders_dashboard_events_body .events-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 32px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  letter-spacing: -0.1px;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  background: transparent;
  font-family: inherit;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  color: var(--dark, #0a0a0a);
}

.founders_dashboard_events_body .events-tab:hover {
  background: rgba(0, 0, 0, 0.04);
}

.founders_dashboard_events_body .events-tab.active {
  background: rgba(41, 102, 244, 0.1);
  color: var(--main, #2966f4);
}

.founders_dashboard_events_body .events-tab.dimmed {
  opacity: 0.35;
}

.founders_dashboard_events_body .events-badge {
  background: var(--error, #f04438);
  color: #ffffff;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  border-radius: 32px;
  padding: 1px 8px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.founders_dashboard_events_body .events-create-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--main, #2966f4);
  color: #ffffff;
  border-radius: 32px;
  font-size: var(--gf-text-body);
  font-family: inherit;
  font-weight: var(--gf-weight-semibold);
  letter-spacing: -0.1px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  flex-shrink: 0;
}

.founders_dashboard_events_body .events-create-btn:hover {
  background: #2054cc;
  transform: translateY(-1px);
}

.founders_dashboard_events_body .events-create-btn:active {
  transform: translateY(0);
}

.founders_dashboard_events_body .events-create-btn svg {
  flex-shrink: 0;
}

/* Event Grid */
.founders_dashboard_events_body .events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

@container events-main (max-width: 980px) {
  .founders_dashboard_events_body .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Events Empty State */
.events-empty-state {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: max(450px, calc(100vh - 240px));
  padding: 32px 20px;
  gap: 8px;
  box-sizing: border-box;
}

.events-empty-state-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  gap: 8px;
  width: min(100%, 418px);
}

.events-empty-state-illustration {
  width: 104px;
  height: 104px;
  flex: 0 0 104px;
}

.events-empty-state-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
}

.events-empty-state .events-empty-state-title {
  color: #0a0a0a;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  margin: 8px 0 0;
  font-family: var(--gf-font);
  display: flex;
  align-items: center;
  text-align: center;
}

.events-empty-state-subtitle {
  color: #667085;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
  letter-spacing: -0.2px;
  margin: 0;
  font-family: var(--gf-font);
  display: flex;
  align-items: center;
  text-align: center;
}

.founders_dashboard_events_body .event-card {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--gray-300, #d0d5dd);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  transition:
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

/* Destructive confirmation dialogs share the top-bar button height and clear action hierarchy. */
.founders_dashboard_event_delete_modal {
  border-radius: 24px;
}

.founders_dashboard_event_delete_modal .founders_dashboard_deactivate_modal_cancel,
.founders_dashboard_event_delete_modal .founders_dashboard_deactivate_modal_submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  min-width: 112px;
  padding: 0 18px;
  border-radius: 22px;
  font-size: var(--gf-text-body);
  line-height: 1;
  white-space: nowrap;
}

.founders_dashboard_event_delete_modal .founders_dashboard_deactivate_modal_actions {
  gap: 12px;
  padding: 18px 24px;
}

.founders_dashboard_event_delete_modal .founders_dashboard_deactivate_modal_cancel {
  background: #f2f4f7;
  color: #344054;
}

.founders_dashboard_event_delete_modal .founders_dashboard_deactivate_modal_cancel:hover {
  background: #e9edf2;
  box-shadow: none;
}

.founders_dashboard_event_delete_modal .founders_dashboard_deactivate_modal_submit {
  background: #f04438;
  color: #ffffff;
}

.founders_dashboard_event_delete_modal .founders_dashboard_deactivate_modal_submit:hover {
  background: #d92d20;
  box-shadow: 0 4px 12px rgba(240, 68, 56, 0.24);
}

.gf-confirmation-backdrop {
  animation: gf-confirmation-fade-in 160ms ease-out both;
}

.gf-confirmation-card {
  width: min(100%, 600px);
  border-radius: 24px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}

.gf-confirmation-backdrop {
  z-index: 999999;
  padding: 24px;
  background: rgba(16, 24, 40, 0.4);
  backdrop-filter: blur(4px);
}

.gf-confirmation-card .founders_dashboard_deactivate_modal_header {
  padding-top: 22px;
}

.gf-confirmation-card .founders_dashboard_deactivate_modal_cancel {
  background: #f2f4f7;
  color: #344054;
}

.gf-confirmation-card .founders_dashboard_deactivate_modal_cancel:hover {
  background: #e9edf2;
  box-shadow: none;
}

.gf-confirmation-card .founders_dashboard_deactivate_modal_copy h2 {
  color: #f04438;
}

.gf-confirmation-card .founders_dashboard_deactivate_modal_submit {
  background: #f04438;
  color: #ffffff;
}

.gf-confirmation-card .founders_dashboard_deactivate_modal_submit:hover {
  background: #d92d20;
}

.gf-confirmation-card .founders_dashboard_deactivate_modal_actions {
  gap: 12px;
}

.gf-confirmation-card .founders_dashboard_deactivate_modal_cancel,
.gf-confirmation-card .founders_dashboard_deactivate_modal_submit {
  height: 44px;
  min-height: 44px;
  min-width: 112px;
  padding: 0 18px;
  border-radius: 22px;
  line-height: 1;
  white-space: nowrap;
}

@keyframes gf-confirmation-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 600px) {
  .founders_dashboard_event_delete_modal .founders_dashboard_deactivate_modal_actions {
    padding: 16px;
  }

  .gf-confirmation-card .founders_dashboard_deactivate_modal_body {
    padding: 24px 20px;
  }

  .gf-confirmation-backdrop {
    padding: 16px;
  }
}

.founders_dashboard_events_body .event-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.founders_dashboard_events_body .event-cover {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Event My Actions (Edit & Options buttons) — the options trigger sits top-right so it never
   sits on the favourite star, and the menu drops below it instead of over the edit button. */
.founders_dashboard_events_body .event-card-options-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.founders_dashboard_events_body .event-card-options-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  transform: scale(1.05);
}

.founders_dashboard_events_body .event-card-edit-btn {
  position: absolute;
  bottom: -24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eaedf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  cursor: pointer;
  z-index: 10;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  box-shadow:
    0 4px 12px rgba(16, 24, 40, 0.08),
    0 1px 2px rgba(16, 24, 40, 0.05);
}

.founders_dashboard_events_body .event-card-edit-btn:hover {
  background: #f9fafb;
  color: #1d2939;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.12);
}

.founders_dashboard_events_body .event-card-menu {
  position: absolute;
  top: 56px;
  right: 12px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 24px;
  padding: 8px;
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow:
    0px 20px 24px -4px rgba(16, 24, 40, 0.08),
    0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  z-index: 30;
  box-sizing: border-box;
}

.founders_dashboard_events_body .event-card-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: #344054;
  font-size: var(--gf-text-control);
  line-height: var(--gf-leading-control);
  font-weight: var(--gf-weight-medium);
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_events_body .event-card-menu-item:hover {
  background: #f9fafb;
  color: #1d2939;
}

.founders_dashboard_events_body .event-card-menu-item svg {
  color: #475467;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_events_body .event-card-menu-item:hover svg {
  color: #344054;
}

/* Delete Action Custom styling */
.founders_dashboard_events_body .event-card-menu-item.delete {
  color: #d92d20;
}

.founders_dashboard_events_body .event-card-menu-item.delete:hover {
  background: #fef3f2;
  color: #b42318;
}

.founders_dashboard_events_body .event-card-menu-item.delete svg {
  color: #d92d20;
}

.founders_dashboard_events_body .event-card-menu-item.delete:hover svg {
  color: #b42318;
}

/* Cover placeholder backgrounds */
.founders_dashboard_events_body .cover-1 {
  background-image: linear-gradient(
    135deg,
    #1c2a4a 0%,
    #2a4080 40%,
    #1a3060 100%
  );
}

.founders_dashboard_events_body .cover-2 {
  background-image: linear-gradient(
    135deg,
    #1a2a3a 0%,
    #2c3e55 50%,
    #1a2a3a 100%
  );
}

.founders_dashboard_events_body .cover-3 {
  background-image: linear-gradient(
    135deg,
    #0d1b2a 0%,
    #1e3a5f 50%,
    #2d6a8f 100%
  );
}

.founders_dashboard_events_body .cover-4 {
  background-image: linear-gradient(
    135deg,
    #162032 0%,
    #243b55 50%,
    #1c3050 100%
  );
}

.founders_dashboard_events_body .cover-5 {
  background-image: linear-gradient(
    135deg,
    #1a2744 0%,
    #2e4d80 50%,
    #1a3060 100%
  );
}

.founders_dashboard_events_body .cover-6 {
  background-image: linear-gradient(
    135deg,
    #0a1628 0%,
    #142040 50%,
    #1c3060 100%
  );
}

.founders_dashboard_events_body .cover-7 {
  background-image: linear-gradient(
    135deg,
    #1a2030 0%,
    #2a3a50 50%,
    #1a2a40 100%
  );
}

.founders_dashboard_events_body .cover-8 {
  background-image: linear-gradient(
    135deg,
    #10203a 0%,
    #1e3a5a 50%,
    #2a4a70 100%
  );
}

.founders_dashboard_events_body .cover-9 {
  background-image: linear-gradient(
    135deg,
    #0e1e30 0%,
    #1a3050 50%,
    #264060 100%
  );
}

.founders_dashboard_events_body .event-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 40% at 50% 80%,
      rgba(255, 255, 255, 0.06) 0%,
      transparent 70%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0px,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 80px
    );
}

.founders_dashboard_events_body .event-cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 160ms cubic-bezier(0.2, 0, 0, 1);
  z-index: 5;
}

.founders_dashboard_events_body .event-card:hover .event-cover-overlay {
  opacity: 1;
}

.founders_dashboard_events_body .view-details-btn {
  background: var(--main, #2966f4);
  color: #ffffff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  padding: 8px 20px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(41, 102, 244, 0.3);
  transform: scale(0.9);
  transition: transform 160ms cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.founders_dashboard_events_body .event-card:hover .view-details-btn {
  transform: scale(1);
}

.founders_dashboard_events_body .event-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.founders_dashboard_events_body .event-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body-strong);
  color: #000000;
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body-strong);
}

.founders_dashboard_events_body .event-meta-row .meta-icon {
  width: 16px;
  height: 16px;
  color: var(--main, #2966f4);
  flex-shrink: 0;
}

.founders_dashboard_events_body .event-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #000000;
  line-height: var(--gf-leading-card);
}

.founders_dashboard_events_body .event-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body-strong);
  color: var(--gray-500, #667085);
  line-height: var(--gf-leading-body-strong);
}

.founders_dashboard_events_body .event-price-badge {
  margin-left: auto;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eff4ff;
  color: var(--main, #2966f4);
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-caption);
  white-space: nowrap;
}

.founders_dashboard_events_body .event-stats .dot {
  width: 4px;
  height: 4px;
  background: #d9d9d9;
  border-radius: 50%;
  flex-shrink: 0;
}

.founders_dashboard_events_body .event-friends {
  display: flex;
  align-items: center;
  gap: 6px;
}

.founders_dashboard_events_body .avatar-stack {
  display: flex;
  align-items: center;
}

.founders_dashboard_events_body .avatar {
  width: 24px;
  height: 24px;
  /* Same reason as the profile stack: a round avatar that is allowed to shrink
     stops being round. */
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  max-width: none;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #eef1f5;
  margin-right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  color: var(--gray-600, #475467);
  overflow: hidden;
  position: relative;
  object-fit: cover;
}

.founders_dashboard_events_body .avatar:last-child {
  margin-right: 0;
}

/* Avatar stacks colors */
.founders_dashboard_events_body .av-a {
  background: #fdd8c9;
  color: #c24b1a;
}

.founders_dashboard_events_body .av-b {
  background: #c9e5fd;
  color: #1943a5;
}

.founders_dashboard_events_body .av-c {
  background: #fdf4c9;
  color: #c2991a;
}

.founders_dashboard_events_body .av-d {
  background: #d5f5e3;
  color: #1aab5e;
}

.founders_dashboard_events_body .av-e {
  background: #f5d5fb;
  color: #9b1ac2;
}

.founders_dashboard_events_body .friends-text {
  font-size: var(--gf-text-body-strong);
  color: var(--gray-500, #667085);
  line-height: var(--gf-leading-body-strong);
}

/* Active Category outline indicator */
.founders_dashboard_events_body .cat-card.is-active {
  box-shadow:
    0 0 0 2px var(--main, #2966f4),
    0 4px 12px rgba(41, 102, 244, 0.15);
}

/* Responsive Overrides — the events grid follows the same 3/2/1 steps as the other tabs. */
@media (max-width: 1100px) {
  .founders_dashboard_events_body .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .founders_dashboard_events_body .events-page-card {
    height: auto !important;
    display: block;
    border-radius: 24px !important;
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
  }

  .founders_dashboard_events_body .events-layout {
    flex-direction: column;
    gap: 16px;
    height: auto !important;
    display: flex;
  }

  .founders_dashboard_events_body .events-sidebar {
    width: 100%;
    flex: none;
    position: static;
    gap: 16px;
    height: auto !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }

  .founders_dashboard_events_body .events-main {
    width: 100%;
    flex: 0 0 auto;
    align-self: stretch;
    height: auto !important;
    overflow-y: visible !important;
    padding-right: 0 !important;
  }

  .founders_dashboard_events_body .events-grid,
  .founders_dashboard_events_body .gf-load-more {
    width: 100%;
    min-width: 0;
  }

  .founders_dashboard_events_body .event-card {
    width: 100%;
  }

  .founders_dashboard_events_body .events-filter-btn,
  .founders_dashboard_events_body .cat-card {
    width: 100%;
  }
}

@media (max-width: 780px) {
  .founders_dashboard_events_body .events-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ═══════════════════════════════════════════
   EVENT FILTER DROPDOWNS (ef-*)
═══════════════════════════════════════════ */

.ef-dropdown {
  background: #ffffff;
  border: 1px solid #d0d5dd;
  box-shadow:
    0px 20px 24px -4px rgba(16, 24, 40, 0.08),
    0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  border-radius: 16px;
  padding: 6px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-width: 240px;
}

.ef-dropdown--floating {
  position: fixed;
  z-index: 9999;
}

/* Search row (Location) */
.ef-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f2f4f7;
  border-radius: 50px;
  width: 100%;
  box-sizing: border-box;
}

.ef-search-row svg {
  flex-shrink: 0;
  color: #667085;
}

.ef-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: var(--gf-text-body);
  color: #101828;
  min-width: 0;
}

.ef-search-input::placeholder {
  color: #667085;
}

/* Options list */
.ef-list {
  padding: 4px;
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}

.ef-list::-webkit-scrollbar {
  width: 4px;
}

.ef-list::-webkit-scrollbar-track {
  background: transparent;
}

.ef-list::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}

.ef-list-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #101828;
  text-align: left;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.ef-list-item:hover {
  background: #f2f4f7;
}

.ef-list-item.is-active {
  color: #2966f4;
  font-weight: var(--gf-weight-medium);
}

.ef-list-item svg {
  flex-shrink: 0;
  color: #2966f4;
}

/* ── Calendar picker ── */
/* Live Event Specific UI */
.founders_dashboard_event_details_hero {
  position: relative;
}

.founders_dashboard_event_details_live_badge {
  position: absolute;
  top: 34px;
  left: 144px;
  background-color: #12b76a;
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.founders_dashboard_event_details_live_badge .live-dot {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
}

.founders_dashboard_event_details_book_btn.is-closed {
  background-color: #98a2b3;
  cursor: not-allowed;
}

.founders_dashboard_live_chat {
  display: flex;
  flex-direction: column;
  height: 420px;
  overflow: hidden;
  font-family: var(--gf-font);
  margin-top: 20px;
}

.founders_dashboard_live_chat
  .founders_dashboard_event_details_side_card_header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #e9edf2;
}

.founders_dashboard_live_chat
  .founders_dashboard_event_details_side_card_header
  h3 {
  color: #101828;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  margin: 0;
  flex-grow: 1;
}

.live_chat_expand_btn {
  background: none;
  border: none;
  color: #667085;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founders_dashboard_live_chat_messages {
  flex-grow: 1;
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* The panel reuses the shared card loader, so the state looks right even while a cached
   stylesheet is still the one in play; this only trims it to the card's own body. */
.founders_dashboard_live_chat .live_chat_loading {
  --gf-card-loading-min: 0px;
  flex: 1 1 auto;
  padding: 24px 20px;
}

.live_chat_message {
  display: flex;
  gap: 12px;
}

.live_chat_avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.live_chat_message_content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.live_chat_message_meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body-strong);
}

.live_chat_message_meta strong {
  color: #344054;
  font-weight: var(--gf-weight-medium);
}

.live_chat_message_meta span {
  color: #98a2b3;
  font-size: var(--gf-text-body-strong);
}

.live_chat_message_content p {
  color: #101828;
  font-size: var(--gf-text-body);
  margin: 0;
  line-height: var(--gf-leading-body);
}

.founders_dashboard_live_chat_input_area {
  padding: 16px 20px;
  border-top: 1px solid #e9edf2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.live_chat_input_wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #e9edf2;
  border-radius: 999px;
  padding: 8px 12px;
}

.live_chat_emoji_btn {
  background: none;
  border: none;
  color: #667085;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live_chat_input {
  border: none;
  outline: none;
  flex-grow: 1;
  font-size: var(--gf-text-body);
  color: #101828;
  font-family: inherit;
}

.live_chat_input::placeholder {
  color: #98a2b3;
}

/* The shared empty-state host asks for a full-height box, which pushed the composer out of the
   420px card and left an empty discussion with no way to reply. Let the state fill only what the
   thread would have used, so the input stays pinned under it. */
.founders_dashboard_live_chat .gf-empty-host {
  min-height: 0;
}

.live_chat_input_field {
  position: relative;
  flex-grow: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

/* "@" picker, anchored above the composer so it never covers the thread it is tagging into. */
.live_chat_mentions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 5;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  border: 1px solid #e9edf2;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}

.live_chat_mentions_item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: #101828;
}

.live_chat_mentions_item.is-active,
.live_chat_mentions_item:hover {
  background-color: #eff4ff;
}

.live_chat_mentions_avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.live_chat_mentions_avatar.is-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eff4ff;
  color: #2966f4;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
}

.live_chat_mentions_name {
  flex-grow: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
}

.live_chat_mentions_role {
  flex-shrink: 0;
  color: #667085;
  font-size: var(--gf-text-caption);
}

.live_chat_mentions_empty {
  margin: 0;
  padding: 10px;
  color: #667085;
  font-size: var(--gf-text-body-strong);
}

.live_chat_mention {
  padding: 0 4px;
  border-radius: 6px;
  background-color: #eff4ff;
  color: #2966f4;
  font-weight: var(--gf-weight-semibold);
}

.live_chat_send_btn {
  background-color: #2966f4;
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}

/* Live Chat Empty State */
.live_chat_empty_state {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  gap: 12px;
}

.live_chat_empty_state_illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.live_chat_empty_state_title {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0;
  font-family: var(--gf-font);
}

.live_chat_empty_state_subtitle {
  font-size: var(--gf-text-body-strong);
  color: #667085;
  margin: 0;
  line-height: var(--gf-leading-body-strong);
  max-width: 240px;
  font-family: var(--gf-font);
}

/* Expanded Live Chat State */
.live_chat_backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(2px);
  z-index: 1000;
}

.founders_dashboard_live_chat.is-expanded {
  position: fixed;
  top: 24px;
  right: 24px;
  bottom: 24px;
  width: 460px;
  height: auto;
  z-index: 1001;
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #eaedf1;
}

.live_chat_expand_btn.is-close-btn {
  background-color: #f2f4f7;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #667085;
}

/* Create Event Multi-Step Modal Revamp */
.founders_dashboard_events_create_modal {
  width: 860px;
  height: 787px;
  max-width: 100%;
  max-height: 100%;
  background-color: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
}

.create_event_modal_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 16px;
}

.create_event_modal_header h2 {
  font-family: inherit;
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: #0a0a0a;
  margin: 0;
}

.create_event_modal_close {
  background-color: #f2f4f7;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  cursor: pointer;
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_modal_close:hover {
  background-color: #e9edf2;
}

.create_event_progress_tracker {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 32px 24px;
}

/* ── STEP LABEL CONTROLS (every multi-step modal tracker) ────────────────
 * The per-step labels above the dots — the clickable "knobs" in the create
 * event, campaign, verification and jobs wizards. Change these three values
 * here and every tracker follows; they accept a raw value (e.g. 18px) or
 * any brand token. Colour stays with the tracker's active/done states. */
:root {
  --modal-step-label-size: var(--gf-text-card);
  --modal-step-label-leading: var(--gf-leading-card);
  --modal-step-label-weight: var(--gf-weight-normal);
}

.cept-labels {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.cept-labels span {
  font-weight: var(--modal-step-label-weight);
  font-size: var(--modal-step-label-size);
  line-height: var(--modal-step-label-leading);
  color: #98a2b3;
  user-select: none;
  flex: 1;
  text-align: center;
  /* A step title is a label, not a paragraph: never wrap it. Host modals widen to fit the
     row instead (see the jobs wizard width in jobs.css). */
  white-space: nowrap;
}

/* Below this width the modal is viewport-bound, so wrapping is the only way to keep every
   step readable without overflow. */
@media (max-width: 700px) {
  .cept-labels span {
    white-space: normal;
  }
}

.cept-labels span:first-child {
  text-align: left;
}

.cept-labels span:last-child {
  text-align: right;
}

.cept-labels span.active,
.cept-labels span.done {
  color: #2966f4;
}

.cept-progress {
  display: flex;
  align-items: center;
  width: 100%;
}

.cept-dot {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border-radius: 200px;
  border: 3px solid #e9edf2;
  flex: none;
  transition:
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.cept-dot.active,
.cept-dot.done {
  border-color: #2966f4;
}

.cept-dot.done {
  background-color: #2966f4;
}

.cept-line {
  height: 3px;
  background: #e9edf2;
  flex: 1;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

/* The cept-* markup above is the shared modal stepper standard: the campaign
   wizard, the settings verification modal and the jobs wizard all render it
   now (labels row + dots/lines, active/done states, clickable steps). The
   verification modal's old three-badge grid is overridden below so its
   wrapper stacks the same way. */
.founders_dashboard_settings_verification_steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px 8px;
}

.cept-line.done {
  background: #2966f4;
}

.create_event_modal_body {
  padding: 16px 32px 24px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.create_event_step_header {
  text-align: center;
  margin-bottom: 8px;
}

.create_event_step_header h3 {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #0a0a0a;
  margin: 0 0 8px 0;
}

.create_event_step_header p {
  font-size: var(--gf-text-body);
  color: #667085;
  margin: 0;
}

.create_event_field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.create_event_field > label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
}

.create_event_input {
  width: 100%;
  background-color: #f2f4f7;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: var(--gf-text-body);
  color: #101828;
  font-family: inherit;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  outline: none;
}

.create_event_input:focus {
  background-color: #ffffff;
  border-color: #2966f4;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.1);
}

.create_event_input::placeholder {
  color: #98a2b3;
}

.create_event_field_hint {
  margin: 0;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.create_event_field_error,
.create_event_submission_error {
  color: #d92d20;
  font-size: var(--gf-text-body-strong);
  line-height: var(--gf-leading-body-strong);
  margin: 0;
}

.create_event_submission_error {
  padding: 0 32px 12px;
  text-align: right;
}

.create_event_input[aria-invalid="true"],
.create_event_pill_input[aria-invalid="true"],
.create_event_pill_btn[aria-invalid="true"],
.custom_select_btn[aria-invalid="true"] {
  border-color: #f04438;
}

.create_event_upload_area {
  position: relative;
  cursor: pointer;
}

.create_event_upload_input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

textarea.create_event_input {
  min-height: 100px;
  resize: vertical;
}

.create_event_row {
  display: flex;
  gap: 16px;
}

.create_event_row > .create_event_field {
  flex: 1;
}

.create_event_select_wrapper {
  position: relative;
}

.create_event_select_wrapper select {
  appearance: none;
  cursor: pointer;
}

.create_event_select_icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #667085;
}

.create_event_upload_area {
  background-color: #f2f4f7;
  border-radius: 16px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_upload_area:hover {
  background-color: #e9edf2;
}

.create_event_upload_icon {
  color: #101828;
}

.create_event_upload_text {
  color: #101828;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body);
}

.create_event_upload_subtext {
  color: #667085;
  font-size: var(--gf-text-body);
}

.create_event_upload_subtext span {
  color: #2966f4;
  font-weight: var(--gf-weight-medium);
}

.create_event_timeline_dashed {
  border: 1.5px dashed #2966f4;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #2966f4;
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  background-color: rgba(41, 102, 244, 0.02);
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_timeline_dashed:hover {
  background-color: rgba(41, 102, 244, 0.05);
}

.create_event_timeline_form {
  border: 1px solid #e9edf2;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.create_event_timeline_actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.create_event_timeline_actions button {
  background: none;
  border: none;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.create_event_timeline_cancel {
  color: #101828;
}

.create_event_timeline_save {
  color: #2966f4;
}

.create_event_modal_footer {
  border-top: 1px solid #e9edf2;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.create_event_btn_secondary {
  background-color: #f2f4f7;
  color: #101828;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_btn_secondary:hover {
  background-color: #e9edf2;
}

.create_event_btn_primary {
  background-color: #2966f4;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_btn_primary:hover {
  background-color: #2054cc;
}

/* Custom Select Dropdown for Create Event Modal */
.custom_select_wrapper {
  position: relative;
  width: 100%;
}

.custom_select_wrapper.is-open,
.create_event_select_wrapper.is-open,
.create_event_timeline_form.is-open {
  z-index: 9999;
}

.custom_select_btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f2f4f7;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: var(--gf-text-body);
  color: #98a2b3;
  /* Default placeholder color */
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  outline: none;
}

.custom_select_btn.has-value {
  color: #101828;
}

.custom_select_btn:focus,
.custom_select_btn:hover {
  background-color: #ffffff;
  border-color: #2966f4;
}

.custom_select_btn svg {
  color: #667085;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.custom_select_btn svg.rotate-180 {
  transform: rotate(180deg);
}

.custom_select_dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  z-index: 50;

  /* User's Frame 173 properties */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  box-shadow:
    0px 20px 24px -4px rgba(16, 24, 40, 0.08),
    0px 8px 8px -4px rgba(16, 24, 40, 0.03);
  border-radius: 24px;
  max-height: 140px;
  overflow-y: auto;
}

.custom_select_option {
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-radius: 16px;
  text-align: left;
  font-size: var(--gf-text-body);
  color: #344054;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.custom_select_option:hover {
  background: #f2f4f7;
  color: #101828;
}

/* Hide native picker icons for custom styled date/time inputs */
.create_event_input[type="date"]::-webkit-calendar-picker-indicator,
.create_event_input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Invested In Mock Utility Classes */
.bg-black {
  background-color: #101828 !important;
}

.text-white {
  color: #ffffff !important;
}

.bg-green-100 {
  background-color: #d1fadf !important;
}

.text-green-600 {
  color: #039855 !important;
}

.bg-blue-100 {
  background-color: #d1e9ff !important;
}

.text-blue-600 {
  color: #2054cc !important;
}

.bg-blue-600 {
  background-color: #2054cc !important;
}

/* Emerald Badge */
.badges-detail-card.emerald-theme {
  background: transparent;
}

.badges-detail-card.emerald-theme .badge-detail-desc {
  color: #065f46;
}

.badges-detail-card.emerald-theme .badge-progress-bar {
  background: #10b981;
}

/* Gemm Badge */
.badges-detail-card.gemm-theme {
  background: transparent;
}

.badges-detail-card.gemm-theme .badge-detail-desc {
  color: #4c1d95;
}

.badges-detail-card.gemm-theme .badge-progress-bar {
  background: #8b5cf6;
}

/* Golden Badge */
.badges-detail-card.golden-theme {
  background: transparent;
}

.badges-detail-card.golden-theme .badge-detail-desc {
  color: #78350f;
}

.badges-detail-card.golden-theme .badge-progress-bar {
  background: #f59e0b;
}

/* Silva Badge */
.badges-detail-card.silva-theme {
  background: transparent;
}

.badges-detail-card.silva-theme .badge-detail-desc {
  color: #374151;
}

.badges-detail-card.silva-theme .badge-progress-bar {
  background: #9ca3af;
}

/* User Dropdown Menu */
.user-dropdown-menu,
.user-dropdown-menu *,
.user-dropdown-menu button {
  font-family: var(--gf-font) !important;
}

.user-dropdown-menu {
  position: fixed;
  bottom: 80px;
  left: 24px;
  width: 290px;
  min-width: 260px;
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 24px;
  box-shadow:
    0px 16px 36px -8px rgba(16, 24, 40, 0.12),
    0px 6px 12px -6px rgba(16, 24, 40, 0.06);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.user-dropdown-header {
  display: flex;
  align-items: center;
  padding: 0 20px 12px 20px;
  gap: 10px;
}

.user-dropdown-header .user-avatar-wrapper {
  width: 48px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-dropdown-header .user-avatar-inner {
  width: 50%;
  height: 50%;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  border: none;
  border-radius: 50%;
  overflow: hidden;
}

.sidebar-user-container {
  overflow: visible;
}

.user-dropdown-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.user-dropdown-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #0a0a0a;
  line-height: var(--gf-leading-body);
}

.user-dropdown-role {
  font-size: var(--gf-text-control);
  color: #667085;
  line-height: var(--gf-leading-control);
}

.user-dropdown-edit {
  background: transparent;
  border: none;
  color: #2966f4;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.user-dropdown-edit:hover {
  background: #eff4ff;
}

.user-dropdown-items {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  gap: 2px;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  border-radius: 100px;
  cursor: pointer;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #1f2937;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.user-dropdown-item.promote-highlight,
.user-dropdown-item:has(svg path[d*="m3 11 18-5"]),
.user-dropdown-item:has(svg path[d*="3 11 18-5"]) {
  background: #f4f7ff;
  color: #1f2937;
}

.user-dropdown-item.promote-highlight:hover,
.user-dropdown-item:has(svg path[d*="m3 11 18-5"]):hover,
.user-dropdown-item:has(svg path[d*="3 11 18-5"]):hover {
  background: #ebf0ff;
}

.user-dropdown-item svg {
  width: 18px;
  height: 18px;
  color: #374151;
}

.user-dropdown-item:hover {
  background: #f3f4f6;
}

.user-dropdown-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.user-dropdown-plan {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-dropdown-plan .plan-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #0a0a0a;
  line-height: var(--gf-leading-body);
}

.user-dropdown-plan .plan-date {
  font-size: var(--gf-text-control);
  color: #667085;
  line-height: var(--gf-leading-control);
}

.user-dropdown-upgrade {
  background: #eef2ff;
  color: #2966f4;
  border: none;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  white-space: nowrap;
}

.user-dropdown-upgrade:hover {
  background: #e0e7ff;
}

.user-dropdown-logout-wrapper {
  padding: 0 8px;
  margin-top: 4px;
}

.user-dropdown-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  border-radius: 100px;
  cursor: pointer;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #1f2937;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.user-dropdown-logout svg {
  width: 18px;
  height: 18px;
  color: #374151;
}

.user-dropdown-logout:hover {
  background: #f3f4f6;
}

.promote-active-badge {
  background: #2966f4;
  color: #ffffff;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  padding: 3px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Larger title for Upcoming Events */
.card-events .card-header {
  margin-bottom: 4px;
}

.card-events .card-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
}

.card-events .icon-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.dashboard-modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.dashboard-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0px 12px 32px rgba(16, 24, 40, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dashboard-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2966f4;
  padding: 16px 24px;
}

.dashboard-modal-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: inherit;
  margin: 0;
}

.dashboard-modal-header .dashboard-modal-title {
  color: #ffffff;
}

.dashboard-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dashboard-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dashboard-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.dashboard-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-modal-label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
}

.dashboard-modal-input,
.dashboard-modal-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: var(--gf-text-body);
  color: #101828;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dashboard-modal-textarea {
  min-height: 100px;
  resize: vertical;
}

.dashboard-modal-input:focus,
.dashboard-modal-textarea:focus {
  border-color: #2966f4;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.1);
}

.dashboard-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 24px 24px 24px;
}

.dashboard-modal-btn-cancel {
  padding: 10px 18px;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  border-radius: 100px;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dashboard-modal-btn-cancel:hover {
  background-color: #f9fafb;
  border-color: #98a2b3;
}

.dashboard-modal-btn-submit {
  padding: 10px 18px;
  border: 1px solid #2966f4;
  background: #2966f4;
  color: #ffffff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  border-radius: 100px;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dashboard-modal-btn-submit:hover {
  background: #1943a5;
  border-color: #1943a5;
}

/* ========================================================
   SHARE DECK MODAL REFINEMENT (COMPACT FIT)
   ======================================================== */
.share-deck-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px !important;
}

.share-deck-modal {
  background: #ffffff;
  border-radius: 32px;
  width: 720px;
  max-width: 96vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-deck-modal::-webkit-scrollbar {
  display: none;
}

.share-modal-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_btn_primary:hover {
  background-color: #2054cc;
}

.dashboard-modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 9999;
}

.dashboard-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0px 12px 32px rgba(16, 24, 40, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dashboard-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2966f4;
  padding: 16px 24px;
}

.dashboard-modal-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: inherit;
  margin: 0;
}

.dashboard-modal-header .dashboard-modal-title {
  color: #ffffff;
}

.dashboard-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 8px;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dashboard-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.dashboard-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.dashboard-modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-modal-label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
}

.dashboard-modal-input,
.dashboard-modal-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-size: var(--gf-text-body);
  color: #101828;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dashboard-modal-textarea {
  min-height: 100px;
  resize: vertical;
}

.dashboard-modal-input:focus,
.dashboard-modal-textarea:focus {
  border-color: #2966f4;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.1);
}

.dashboard-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 24px 24px 24px;
}

.dashboard-modal-btn-cancel {
  padding: 10px 18px;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  border-radius: 100px;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dashboard-modal-btn-cancel:hover {
  background-color: #f9fafb;
  border-color: #98a2b3;
}

.dashboard-modal-btn-submit {
  padding: 10px 18px;
  border: 1px solid #2966f4;
  background: #2966f4;
  color: #ffffff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  border-radius: 100px;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dashboard-modal-btn-submit:hover {
  background: #1943a5;
  border-color: #1943a5;
}

/* ========================================================
   SHARE DECK MODAL REFINEMENT (COMPACT FIT)
   ======================================================== */
.share-deck-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px !important;
}

.share-deck-modal {
  background: #ffffff;
  border-radius: 32px;
  width: 720px;
  max-width: 96vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-deck-modal::-webkit-scrollbar {
  display: none;
}

.share-modal-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.share-modal-header h2 {
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  color: #000000;
  margin: 0;
}

.share-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f2f4f7;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  flex-shrink: 0;
}

.share-modal-close:hover {
  background: #e9edf2;
}

.share-modal-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.share-modal-preview-box {
  width: 100%;
  height: 160px;
  background: transparent;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.share-modal-preview-box .folder-stack {
  transform: scale(0.5);
  transform-origin: center center;
  pointer-events: none;
}

.share-modal-preview-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.share-modal-preview-info h3 {
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  text-align: center;
  color: #0a0a0a;
  margin: 0;
}

.share-modal-preview-info p {
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  text-align: center;
  color: #667085;
  margin: 0;
}

.share-modal-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
}

.share-modal-section-header {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.share-modal-section-title {
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  color: #0a0a0a;
  margin: 0;
}

.share-modal-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px !important;
  scrollbar-width: none;
}

.share-modal-horizontal::-webkit-scrollbar {
  display: none;
}

.share-person-gamified {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 56px;
  flex-shrink: 0;
  cursor: pointer;
}

.gamified-avatar-wrap {
  width: 56px;
  height: 56px;
  position: relative;
  filter: drop-shadow(0px 4px 8px rgba(16, 24, 40, 0.06));
}

/* Star-badge shape via clip-path */
.gamified-avatar-bg {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.gamified-avatar-bg.gold {
  background: transparent;
  clip-path: polygon(
    50% 0%,
    61% 8%,
    74% 4%,
    79% 17%,
    93% 21%,
    91% 35%,
    100% 45%,
    93% 56%,
    97% 70%,
    84% 76%,
    82% 90%,
    68% 90%,
    60% 100%,
    50% 94%,
    40% 100%,
    32% 90%,
    18% 90%,
    16% 76%,
    3% 70%,
    7% 56%,
    0% 45%,
    9% 35%,
    7% 21%,
    21% 17%,
    26% 4%,
    39% 8%
  );
}

.gamified-avatar-bg.blue {
  background: transparent;
  clip-path: polygon(
    50% 0%,
    85% 15%,
    100% 50%,
    85% 85%,
    50% 100%,
    15% 85%,
    0% 50%,
    15% 15%
  );
}

.gamified-avatar-bg.silver {
  background: transparent;
  clip-path: polygon(
    50% 0%,
    80% 10%,
    100% 35%,
    100% 65%,
    80% 90%,
    50% 100%,
    20% 90%,
    0% 65%,
    0% 35%,
    20% 10%
  );
}

.gamified-avatar-ring {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
}

.gamified-avatar-outer {
  display: none;
}

.gamified-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.share-person-gamified span {
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body-strong);
  line-height: var(--gf-leading-body-strong);
  color: #475467;
  text-align: center;
}

.share-modal-more-btn {
  width: 56px;
  height: 56px;
  background: #f2f4f7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.share-modal-more-btn:hover {
  background: #e9edf2;
}

.share-social-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.share-copy-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 24px !important;
  gap: 10px;
  width: 100%;
  background: #f2f4f7;
  border-radius: 32px;
  cursor: pointer;
  border: none;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  height: 48px;
}

.share-copy-box:hover {
  background: #e9edf2;
}

.share-link-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-link-text {
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body);
  color: #0a0a0a;
}

/* ── MORE VIEW STYLES ── */
.share-modal-preview.more-view {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
  width: 100%;
}

.share-modal-preview.more-view .share-modal-preview-box {
  width: 110px;
  height: 76px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.share-modal-preview.more-view .share-modal-preview-box .folder-stack {
  transform: scale(0.35);
  transform-origin: center center;
}

.share-modal-preview.more-view .share-modal-preview-info {
  align-items: flex-start;
  gap: 4px;
  width: auto;
}

.share-modal-preview.more-view .share-modal-preview-info h3 {
  text-align: left;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #0a0a0a;
}

.share-modal-preview.more-view .share-modal-preview-info p {
  text-align: left;
  font-size: var(--gf-text-body);
  color: #667085;
}

.share-search-wrapper {
  position: relative;
  width: 100%;
}

.share-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #667085;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-search-input {
  width: 100%;
  background: #f2f4f7;
  border: none;
  outline: none;
  border-radius: 100px;
  padding: 14px 20px 14px 48px !important;

  font-size: var(--gf-text-body);
  color: #0a0a0a;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.share-search-input:focus {
  background: #e9edf2;
}

.share-selected-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  padding: 8px 0 !important;
}

.share-selected-item {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.share-selected-item .gamified-avatar-wrap {
  width: 48px;
  height: 48px;
}

.share-selected-item .gamified-avatar-bg.gold {
  clip-path: polygon(
    50% 0%,
    61% 8%,
    74% 4%,
    79% 17%,
    93% 21%,
    91% 35%,
    100% 45%,
    93% 56%,
    97% 70%,
    84% 76%,
    82% 90%,
    68% 90%,
    60% 100%,
    50% 94%,
    40% 100%,
    32% 90%,
    18% 90%,
    16% 76%,
    3% 70%,
    7% 56%,
    0% 45%,
    9% 35%,
    7% 21%,
    21% 17%,
    26% 4%,
    39% 8%
  );
}

.share-selected-item .gamified-avatar-bg.blue {
  clip-path: polygon(
    50% 0%,
    85% 15%,
    100% 50%,
    85% 85%,
    50% 100%,
    15% 85%,
    0% 50%,
    15% 15%
  );
}

.share-selected-item .gamified-avatar-bg.silver {
  clip-path: polygon(
    50% 0%,
    80% 10%,
    100% 35%,
    100% 65%,
    80% 90%,
    50% 100%,
    20% 90%,
    0% 65%,
    0% 35%,
    20% 10%
  );
}

.share-selected-item .gamified-avatar-ring {
  inset: 4px;
}

.share-selected-remove {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border: 1.5px solid #d0d5dd;
  box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #344054;
  padding: 0 !important;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.share-selected-remove:hover {
  background: #f2f4f7;
  color: #0a0a0a;
}

.share-people-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 12px;
}

.share-people-list::-webkit-scrollbar {
  width: 6px;
}

.share-people-list::-webkit-scrollbar-track {
  background: transparent;
}

.share-people-list::-webkit-scrollbar-thumb {
  background: #e9edf2;
  border-radius: 99px;
}

.share-person-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px 12px;
  gap: 16px;
  border-radius: 16px;
  cursor: pointer;
  background: #ffffff;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  user-select: none;
}

.share-person-item:hover {
  background: #f9fafb;
}

.share-person-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.share-person-item-info h5 {
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #0a0a0a;
  margin: 0;
}

.share-person-item-info span {
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  color: #667085;
}

.share-person-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #d0d5dd;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  color: transparent;
  flex-shrink: 0;
}

.share-person-item.is-selected .share-person-checkbox {
  border-color: #2966f4;
  background: #2966f4;
  color: #ffffff;
}

.share-person-checkbox svg {
  display: none;
}

.share-person-item.is-selected .share-person-checkbox svg {
  display: block;
}

.share-modal-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px solid #f2f4f7;
  padding-top: 20px;
  margin-top: 12px;
}

.share-btn-back {
  background: #f2f4f7;
  color: #344054;
  border-radius: 100px;
  padding: 12px 24px;

  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  border: none;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.share-btn-back:hover {
  background: #e9edf2;
}

.share-btn-primary {
  background: #2966f4;
  color: #ffffff;
  border-radius: 100px;
  padding: 12px 28px;

  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  border: none;
  cursor: pointer;
  transition:
    opacity 160ms cubic-bezier(0.2, 0, 0, 1),
    background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.share-btn-primary:hover:not(:disabled) {
  background: #2054cc;
}

/* Referrals Modal */
.founders_dashboard_referrals_modal_backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 24, 40, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.founders_dashboard_referrals_modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 1040px;
  max-height: 90vh;
  box-shadow:
    0 20px 24px -4px rgba(16, 24, 40, 0.08),
    0 8px 8px -4px rgba(16, 24, 40, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 36px 40px;
  box-sizing: border-box;
}

.founders_dashboard_referrals_modal_close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f4f7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475467;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_referrals_modal_close:hover {
  background: #e9edf2;
  color: #101828;
}

.referrals_modal_header {
  margin-bottom: 32px;
}

.referrals_modal_title {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: #101828;
  margin: 0 0 8px 0;
}

.referrals_modal_subtitle {
  font-size: var(--gf-text-body);
  color: #667085;
  margin: 0;
}

.referrals_modal_actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.btn_referral_action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  background: #f2f4f7;
  border: none;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.btn_referral_action:hover {
  background: #e9edf2;
}

.referrals_modal_content {
  display: flex;
  gap: 64px;
}

.referrals_modal_left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.referrals_empty_state {
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}

.referrals_empty_icon {
  margin-bottom: 0;
  margin-top: -30px;
  display: flex;
  justify-content: center;
}

.referrals_empty_icon svg {
  width: 140px;
  height: auto;
}

.referrals_empty_state h3 {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0;
}

.referrals_empty_state p {
  font-size: var(--gf-text-body);
  color: #667085;
  margin: 0;
  line-height: var(--gf-leading-body);
}

.referrals_grid_wrapper {
  flex: 1;
  position: relative;
  height: 380px;
}

.referrals_grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  overflow-y: auto;
  padding-right: 8px;
}

/* Custom scrollbar for grid */
.referrals_grid::-webkit-scrollbar {
  width: 6px;
}

.referrals_grid::-webkit-scrollbar-track {
  background: transparent;
}

.referrals_grid::-webkit-scrollbar-thumb {
  background: #e9edf2;
  border-radius: 10px;
}

.referral_person_card {
  background: #f4f5f7;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.rpc_header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.rpc_avatar {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto;
}

.rpc_avatar > img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
}

.rpc_badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: transparent;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.rpc_menu {
  background: transparent;
  border: none;
  color: #101828;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  right: 20px;
  top: 20px;
}

.rpc_name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  text-align: center;
  margin: 0 0 8px 0;
}

.rpc_desc {
  font-size: var(--gf-text-body);
  color: #667085;
  text-align: center;
  margin: 0 0 24px 0;
  line-height: var(--gf-leading-body);
}

.rpc_details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.rpc_detail_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--gf-text-body);
  padding: 4px 0;
}

.rpc_label {
  color: #667085;
}

.rpc_value {
  color: #101828;
  font-weight: var(--gf-weight-medium);
}

.rpc_footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.rpc_actions {
  display: flex;
  gap: 12px;
}

.rpc_action_btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rpc_joined {
  font-size: var(--gf-text-body);
  color: #667085;
  padding-bottom: 4px;
}

.referrals_modal_right {
  width: 320px;
  flex-shrink: 0;
}

.rewards_track_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  line-height: normal;
  margin: 0 0 16px 0;
}

.rewards_track_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reward_card {
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  border: 1px solid #e9edf2;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.reward_card.active {
  background: #fff8e7;
  border-color: #fde8b3;
}

.reward_card.claimable {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.reward_card_top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.btn_claim_reward {
  background: #2966f4;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 10px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.btn_claim_reward:hover:not(:disabled) {
  background: #2054cc;
}

.btn_claim_reward:disabled,
.btn_claim_reward.claimed {
  background: #f2f4f7;
  color: #98a2b3;
  cursor: not-allowed;
}

.reward_icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.reward_icon svg {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.reward_card.active .reward_icon {
  background: transparent;
}

.reward_info {
  flex: 1;
}

.reward_info h4 {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0 0 6px 0;
}

.reward_info p {
  font-size: var(--gf-text-body-strong);
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.reward_count {
  color: #101828;
  font-weight: var(--gf-weight-semibold);
}

.reward_progress_text {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: #2966f4;
}

.reward_card.active::before {
  display: none;
}

.reward_card.active > * {
  position: relative;
  z-index: 1;
}

.reward_card.locked {
  background: #ffffff;
}

/* All-Time Investors Modal */
.alltime-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 24, 40, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.alltime-modal {
  font-family: var(--gf-font);
  background: #ffffff;
  border-radius: 24px;
  width: 1080px;
  height: 620px;
  max-width: 100%;
  max-height: 90vh;
  box-shadow: 0 20px 64px -4px rgba(16, 24, 40, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  box-sizing: border-box;
}

.alltime-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.alltime-modal-title {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: var(--dark);
  margin: 0;
  letter-spacing: -0.5px;
}

.alltime-modal-title span.highlight {
  color: #2966f4;
}

.alltime-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f4f7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475467;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  flex-shrink: 0;
}

.alltime-modal-close:hover {
  background: #e9edf2;
  color: #101828;
}

.alltime-modal-body {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex: 1;
  min-height: 0;
}

.alltime-map-container {
  flex: 1;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.alltime-map-svg {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.alltime-map-svg svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
}

.alltime-map-svg svg #bg {
  fill: transparent !important;
  display: none;
}

.alltime-map-svg svg [cc] path,
.alltime-map-svg svg path[cc] {
  fill: #f2f4f7;
  /* default base color */
  stroke: #ffffff;
  stroke-width: 0.75px;
  cursor: default;
  transition:
    fill 160ms cubic-bezier(0.2, 0, 0, 1),
    stroke-width 160ms cubic-bezier(0.2, 0, 0, 1),
    stroke 160ms cubic-bezier(0.2, 0, 0, 1);
}

/* Only countries with investors are lit, shaded by how many (see window.gfReachMap). */
.alltime-map-svg svg [cc][data-reach] path,
.alltime-map-svg svg path[cc][data-reach] {
  cursor: pointer;
}

.alltime-map-svg svg [cc][data-reach="1"] path,
.alltime-map-svg svg path[cc][data-reach="1"] {
  fill: #adc8f8;
}

.alltime-map-svg svg [cc][data-reach="2"] path,
.alltime-map-svg svg path[cc][data-reach="2"] {
  fill: #6f97f7;
}

.alltime-map-svg svg [cc][data-reach="3"] path,
.alltime-map-svg svg path[cc][data-reach="3"] {
  fill: #2966f4;
}

.alltime-map-svg svg [cc][data-reach]:hover path,
.alltime-map-svg svg path[cc][data-reach]:hover {
  fill: #2054cc;
}

/* Selected/Active Highlight State */
.alltime-map-svg svg [cc].active path,
.alltime-map-svg svg path[cc].active {
  fill: #2054cc !important;
  /* Active deep blue */
  stroke: #0a0a0a;
  stroke-width: 1.5px;
}

.alltime-sidebar {
  width: 360px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
  overflow: hidden;
  flex-shrink: 0;
}

.alltime-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 16px 0;
  border-bottom: none;
}

.alltime-sidebar-header h4 {
  margin: 0;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  color: #101828;
  letter-spacing: -0.2px;
}

.alltime-sidebar-header span {
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  color: #2966f4;
}

.alltime-search-wrap {
  /* The spacing under the field is a margin, not padding: with padding the wrap box
     is 16px taller than the input, so the absolutely centred icon landed 8px low. */
  margin: 0 0 16px 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.alltime-search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #667085;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.alltime-search-input {
  width: 100%;
  height: 44px;
  background: #f2f4f7;
  border: none;
  border-radius: 999px;
  padding: 0 16px 0 46px !important;
  font-size: var(--gf-text-body);
  color: #101828;
  outline: none;
  box-sizing: border-box;
}

.alltime-search-input::placeholder {
  color: #667085;
}

.alltime-list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alltime-list::-webkit-scrollbar {
  width: 4px;
}

.alltime-list::-webkit-scrollbar-track {
  background: transparent;
}

.alltime-list::-webkit-scrollbar-thumb {
  background: var(--gray-100);
  border-radius: 4px;
}

.alltime-list-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 4px 0;
  border-radius: 12px;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.alltime-list-item:hover {
  background: transparent;
}

.alltime-list-item .gamified-avatar-wrap {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  flex-shrink: 0;
}

.alltime-list-item .gamified-avatar-ring {
  inset: 3px;
}

.alltime-list-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #101828;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alltime-list-more {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #98a2b3;
  flex-shrink: 0;
}

/* More Dropdown Menu */
.alltime-more-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 10px 30px rgba(16, 24, 40, 0.1),
    0 4px 12px rgba(16, 24, 40, 0.04);
  border: 1px solid #f2f4f7;
  padding: 8px 0;
  width: 200px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.alltime-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.alltime-dropdown-item:hover {
  background: var(--gray-50);
}

.alltime-dropdown-item svg {
  color: var(--gray-500);
  flex-shrink: 0;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.alltime-dropdown-item:hover svg {
  color: var(--dark);
}

.alltime-dropdown-item.danger {
  color: var(--error-500);
}

.alltime-dropdown-item.danger svg {
  color: var(--error-500);
}

.alltime-dropdown-item.danger:hover {
  background: #fef3f2;
  color: var(--error-500);
}

.alltime-dropdown-item.danger:hover svg {
  color: var(--error-500);
}

/* Nested "Add to Community" panel inside the more menu */
.alltime-communities-head {
  padding: 8px 16px 6px;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--dark);
}

.alltime-communities-empty {
  padding: 8px 16px 10px;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: var(--gray-500);
}

.alltime-paywall-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alltime-paywall-banner {
  padding: 12px 0 8px 0;
  margin: 4px 0 0 0;
  background: transparent;
  border: none;
  text-align: left;
}

.alltime-paywall-banner p {
  margin: 0;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: #101828;
  line-height: var(--gf-leading-body);
}

.alltime-list-item-locked {
  cursor: default;
  background: transparent;
  user-select: none;
}

.alltime-list-item-locked:hover {
  background: transparent;
}

.alltime-blurred-text {
  filter: blur(4px);
  opacity: 0.6;
  color: #475467;
}

.alltime-subscribe-btn {
  padding: 6px 18px;
  border-radius: 999px;
  border: 1.5px solid #2966f4;
  background: #ffffff;
  color: #2966f4;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.alltime-subscribe-btn:hover {
  background: #f0f5ff;
  border-color: #2966f4;
  color: #2966f4;
}

@media (max-width: 900px) {
  .alltime-modal-body {
    flex-direction: column;
  }

  .alltime-sidebar {
    width: 100%;
    flex: none;
    max-height: 300px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   CAMPAIGN MANAGEMENT & CREATE CAMPAIGN MODALS
   ══════════════════════════════════════════════════════════════════════════ */

.campaign_mgmt_modal {
  background: #ffffff;
  border-radius: 28px;
  width: min(1360px, calc(100vw - 64px));
  height: min(920px, calc(100dvh - 64px));
  max-width: none;
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.2);
  font-family: var(--gf-font) !important;
  position: relative;
  box-sizing: border-box;
}

.campaign_mgmt_modal *,
.campaign_mgmt_modal button,
.campaign_mgmt_modal input,
.campaign_mgmt_modal span,
.campaign_mgmt_modal h2,
.campaign_mgmt_modal h3,
.campaign_mgmt_modal p,
.campaign_mgmt_modal div {
  font-family: var(--gf-font) !important;
  box-sizing: border-box;
}

.campaign_mgmt_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  padding: 24px 24px 20px;
}

.campaign_mgmt_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0;
  line-height: var(--gf-leading-card);
}

.campaign_mgmt_actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign_mgmt_start_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2966f4;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 9px 18px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.campaign_mgmt_start_btn:hover {
  background: #2054cc;
}

.campaign_mgmt_close_btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f4f7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_mgmt_close_btn:hover {
  background: #e9edf2;
  color: #101828;
}

.campaign_mgmt_body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 24px 24px;
  scrollbar-gutter: stable;
}

.campaign-mgmt-loading,
.campaign-mgmt-load-error {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #667085;
  font-size: var(--gf-text-body);
}

.campaign-mgmt-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #dbe6ff;
  border-top-color: #2966f4;
  border-radius: 50%;
  animation: campaign-mgmt-spin 700ms linear infinite;
}

@keyframes campaign-mgmt-spin {
  to { transform: rotate(360deg); }
}

.campaign-mgmt-load-error {
  flex-direction: column;
}

.campaign-mgmt-load-error p {
  margin: 0;
}

.campaign-mgmt-load-error button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid #2966f4;
  border-radius: 999px;
  background: #fff;
  color: #2966f4;
  font: inherit;
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.campaign_mgmt_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 18px;
}

/* Empty State */
.campaign_mgmt_empty_state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  min-height: 320px;
  width: 100%;
}

.campaign_mgmt_empty_icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #2966f4;
}

.campaign_mgmt_empty_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0 0 8px 0;
}

.campaign_mgmt_empty_desc {
  font-size: var(--gf-text-body-strong);
  color: #667085;
  margin: 0 0 24px 0;
  max-width: 380px;
  line-height: var(--gf-leading-body-strong);
}

.campaign_mgmt_empty_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2966f4;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_mgmt_empty_btn:hover {
  background: #2054cc;
  transform: translateY(-1px);
}

.campaign_mgmt_card {
  border: 1px solid #e4eaf3;
  border-radius: 22px;
  background: #ffffff;
  padding: 18px 18px 22px;
  height: 616px;
  min-height: 616px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  position: relative;
  transition:
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_mgmt_card:hover {
  box-shadow: 0 12px 24px -6px rgba(16, 24, 40, 0.08);
  border-color: #d0d5dd;
}

.campaign_mgmt_card_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 32px;
  min-width: 0;
}

.campaign_mgmt_created_tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: #667085;
}

.campaign_mgmt_menu_host {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.campaign_mgmt_menu_host .gf-menu__trigger {
  width: 32px;
  height: 32px;
}

.campaign_mgmt_card_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-regular);
  color: #101828;
  margin: 5px 0 0;
  line-height: var(--gf-leading-card);
  height: 27px;
  min-height: 27px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.campaign_mgmt_card_desc {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: #667085;
  margin: 0;
  line-height: var(--gf-leading-body-strong);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
  min-height: 42px;
}

.campaign_mgmt_card_banner {
  width: 100%;
  height: 255px;
  min-height: 255px;
  flex: 0 0 255px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  background-color: #f2f4f7;
}

.campaign_mgmt_banner_wrap {
  width: 100%;
  height: 255px;
  min-height: 255px;
  flex: 0 0 255px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 13px;
  cursor: pointer;
  background: #f2f4f7;
}

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

.campaign_mgmt_video_play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #2966f4;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.campaign_mgmt_video_play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.campaign_mgmt_metrics {
  background: #f2f4f7;
  border-radius: 16px;
  padding: 12px 16px;
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  border: 0;
  margin-top: 4px;
}

.campaign_mgmt_metric_item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.campaign_mgmt_metric_label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: #667085;
  margin-bottom: 4px;
}

.campaign_mgmt_metric_val {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  overflow-wrap: anywhere;
}

.campaign_mgmt_card_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  min-height: 52px;
  margin-top: auto;
  font-size: var(--gf-text-body);
  border-radius: 999px;
  background: #f2f4f7;
}

.campaign_mgmt_card_footer.is-active {
  background: #eafbf2;
}

.campaign_mgmt_card_footer.is-expired {
  background: #f2f4f7;
}

@media (max-width: 1100px) {
  .campaign_mgmt_modal {
    width: calc(100vw - 40px);
    height: calc(100dvh - 40px);
  }

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

@media (max-width: 700px) {
  .campaign_mgmt_modal {
    width: calc(100vw - 24px);
    height: calc(100dvh - 24px);
    border-radius: 20px;
  }

  .campaign_mgmt_header {
    gap: 12px;
    padding: 20px 20px 16px;
  }

  .campaign_mgmt_title {
    font-size: var(--gf-text-body-strong);
  }

  .campaign_mgmt_actions {
    gap: 8px;
  }

  .campaign_mgmt_start_btn {
    padding: 9px 12px;
  }

  .campaign_mgmt_start_btn span {
    max-width: 118px;
    white-space: normal;
    text-align: left;
  }

  .campaign_mgmt_body {
    padding: 0 20px 20px;
  }

  .campaign_mgmt_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .campaign_mgmt_card {
    height: 616px;
    min-height: 616px;
    padding: 16px;
    gap: 12px;
  }

  .campaign_mgmt_card_banner {
    height: 255px;
    min-height: 255px;
    flex-basis: 255px;
  }

  .campaign_mgmt_banner_wrap {
    height: 255px;
    min-height: 255px;
    flex-basis: 255px;
  }
}

@media (max-width: 420px) {
  .campaign_mgmt_header {
    align-items: flex-start;
    padding: 16px 14px 12px;
  }

  .campaign_mgmt_actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .campaign_mgmt_start_btn {
    font-size: var(--gf-text-body-strong);
  }

  .campaign_mgmt_body {
    padding: 0 14px 14px;
  }

  .campaign_mgmt_card {
    height: 500px;
    min-height: 500px;
  }

  .campaign_mgmt_card_banner {
    height: 150px;
    min-height: 150px;
    flex-basis: 150px;
  }

  .campaign_mgmt_banner_wrap {
    height: 150px;
    min-height: 150px;
    flex-basis: 150px;
  }

  .campaign_mgmt_metrics {
    padding: 10px;
    gap: 6px;
  }
}

@media (max-height: 760px) and (min-width: 701px) {
  .campaign_mgmt_modal {
    height: calc(100dvh - 32px);
  }

  .campaign_mgmt_card {
    height: 616px;
    min-height: 616px;
  }

  .campaign_mgmt_card_banner {
    height: 255px;
    min-height: 255px;
    flex-basis: 255px;
  }

  .campaign_mgmt_banner_wrap {
    height: 255px;
    min-height: 255px;
    flex-basis: 255px;
  }
}

.campaign_mgmt_status_pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.campaign_mgmt_status_pill.is-active {
  color: #047857;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body);
}

.campaign_mgmt_status_pill.is-expired {
  color: #667085;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body);
}

.campaign_mgmt_spend {
  color: #667085;
  font-weight: var(--gf-weight-regular);
}

.campaign_mgmt_spend strong {
  color: #101828;
  font-weight: var(--gf-weight-semibold);
}

.campaign_mgmt_card_footer.is-active .campaign_mgmt_spend {
  color: #55a982;
}

.campaign_mgmt_card_footer.is-active .campaign_mgmt_spend strong {
  color: #087443;
}

/* ══════════════════════════════════════════════════════════════════════════
   CAMPAIGN ANALYTICS MODAL
   ══════════════════════════════════════════════════════════════════════════ */
.campaign_analytics_modal {
  background: #ffffff;
  border-radius: 28px;
  width: 95%;
  max-width: 1180px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.2);
  font-family: var(--gf-font) !important;
  position: relative;
  box-sizing: border-box;
}

.campaign_analytics_modal *,
.campaign_analytics_modal button,
.campaign_analytics_modal input,
.campaign_analytics_modal span,
.campaign_analytics_modal div {
  font-family: var(--gf-font) !important;
  box-sizing: border-box;
}

.campaign_analytics_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 16px 32px;
}

.campaign_analytics_title_wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.campaign_analytics_back_btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #eef1f5;
  background: #ffffff;
  color: #344054;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_analytics_back_btn:hover {
  background: #f8fafc;
  border-color: #d0d5dd;
}

.campaign_analytics_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0;
}

.campaign_analytics_header_right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.campaign_analytics_filter_wrap {
  position: relative;
}

.campaign_analytics_filter_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #eef1f5;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  color: #344054;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_analytics_filter_btn:hover,
.campaign_analytics_filter_btn.is-active {
  background: #f2f4f7;
  color: #101828;
  border-color: #d0d5dd;
}

.campaign_analytics_filter_dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 150;
  background: #ffffff;
  border: 1px solid #eef1f5;
  box-shadow:
    0 10px 24px -4px rgba(16, 24, 40, 0.12),
    0 4px 8px -2px rgba(16, 24, 40, 0.04);
  border-radius: 12px;
  padding: 6px;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.campaign_analytics_filter_dropdown_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  color: #344054;
  cursor: pointer;
  text-align: left;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_analytics_filter_dropdown_item:hover {
  background: #f8fafc;
  color: #101828;
}

.campaign_analytics_filter_dropdown_item.is-active {
  background: #eff6ff;
  color: #2966f4;
  font-weight: var(--gf-weight-semibold);
}

.campaign_analytics_edit_btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #eef1f5;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  color: #344054;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_analytics_edit_btn:hover {
  background: #f2f4f7;
  color: #101828;
}

.campaign_analytics_icon_btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f4f7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_analytics_icon_btn:hover,
.campaign_analytics_icon_btn.is-active {
  background: #e9edf2;
  color: #101828;
}

.campaign_analytics_more_wrap {
  position: relative;
}

.campaign_analytics_dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 160;
  background: #ffffff;
  border: 1px solid #eef1f5;
  box-shadow:
    0 12px 28px -4px rgba(16, 24, 40, 0.14),
    0 4px 8px -2px rgba(16, 24, 40, 0.04);
  border-radius: 12px;
  padding: 6px;
  min-width: 170px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.campaign_analytics_dropdown_item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  color: #344054;
  cursor: pointer;
  text-align: left;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_analytics_dropdown_item:hover {
  background: #f8fafc;
  color: #101828;
}

.campaign_analytics_dropdown_item.danger {
  color: #d92d20;
}

.campaign_analytics_dropdown_item.danger:hover {
  background: #fef3f2;
  color: #b42318;
}

.campaign_analytics_body {
  flex: 1;
  overflow-y: auto;
  padding: 0 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.campaign_analytics_empty_state {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.campaign_analytics_empty_state img {
  width: 150px;
  height: 96px;
  object-fit: contain;
}

.campaign_analytics_empty_state h3 {
  margin: 0;
  color: #101828;
  font-size: var(--gf-text-body);
}

.campaign_analytics_empty_state p {
  max-width: 360px;
  margin: 0;
  color: #667085;
  font-size: var(--gf-text-body-strong);
}

.campaign_analytics_data_view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Metric Cards Grid */
.campaign_analytics_metrics_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.campaign_analytics_metric_card {
  border: 1px solid #eef1f5;
  border-radius: 16px;
  background: #ffffff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 110px;
  cursor: pointer;
  transition:
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  position: relative;
}

.campaign_analytics_metric_card:hover {
  border-color: #d0d5dd;
}

.campaign_analytics_metric_card.is-active {
  border: 1.5px solid #2966f4;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.campaign_analytics_metric_title {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #101828;
  margin: 0;
}

.campaign_analytics_metric_bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.campaign_analytics_metric_num {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: #101828;
  line-height: 1;
}

.campaign_analytics_metric_card.is-active .campaign_analytics_metric_num {
  color: #2966f4;
}

.campaign_analytics_metric_change {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #12b76a;
}

/* Content Grid */
.campaign_analytics_content_grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr;
  gap: 20px;
  min-height: 380px;
}

.campaign_analytics_content_grid.full_width {
  grid-template-columns: 1fr;
}

.campaign_analytics_panel {
  border: 1px solid #eef1f5;
  border-radius: 16px;
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.analytics_chart_tooltip {
  position: absolute;
  background: #101828;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-medium);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.2);
  pointer-events: none;
  z-index: 10;
  transition:
    left 160ms cubic-bezier(0.2, 0, 0, 1),
    bottom 160ms cubic-bezier(0.2, 0, 0, 1),
    top 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_chart_tooltip_badge {
  color: #12b76a;
  font-size: var(--gf-text-caption);
  display: flex;
  align-items: center;
  gap: 2px;
}

.analytics_chart_bar {
  transition:
    height 240ms cubic-bezier(0.2, 0, 0, 1),
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  cursor: pointer;
}

.analytics_chart_bar:hover {
  background-color: #2966f4 !important;
  transform: scaleY(1.03);
  transform-origin: bottom;
}

/* Sidebar Audience Panel */
.analytics_sidebar_panel {
  border: 1px solid #eef1f5;
  border-radius: 16px;
  background: #ffffff;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 380px;
  box-sizing: border-box;
}

.analytics_sidebar_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  flex-shrink: 0;
}

.analytics_sidebar_search {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.analytics_sidebar_search input {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 8px 12px 8px 36px;
  font-size: var(--gf-text-body-strong);
  color: #101828;
  outline: none;
}

.analytics_sidebar_search_icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #667085;
}

.analytics_sidebar_list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Inside the analytics grid the audience column is a full-height cell: it reaches the bottom edge
   and the list is clipped there, instead of stopping short and leaving a floating gap. */
.campaign_analytics_content_grid .analytics_sidebar_panel {
  height: 100%;
  max-height: none;
  min-height: 0;
  overflow: hidden;
}

.campaign_analytics_content_grid .analytics_sidebar_panel > .analytics_sidebar_list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
}

.analytics_sidebar_panel > .analytics_sidebar_list {
  max-height: 160px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.analytics_sidebar_panel > .analytics_sidebar_list::-webkit-scrollbar {
  width: 5px;
}

.analytics_sidebar_panel > .analytics_sidebar_list::-webkit-scrollbar-track {
  background: transparent;
}

.analytics_sidebar_panel > .analytics_sidebar_list::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 10px;
}

.analytics_sidebar_panel
  > .analytics_sidebar_list::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

.analytics_user_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  border-radius: 10px;
  position: relative;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_user_row:hover {
  background: #f8fafc;
}

.analytics_user_info {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.analytics_user_info:hover .analytics_user_name {
  color: #2966f4;
}

.analytics_user_avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.analytics_user_name {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #101828;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_user_menu_btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #667085;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_user_menu_btn:hover {
  background: #e2e8f0;
  color: #101828;
}

.analytics_user_dropdown {
  position: absolute;
  top: 36px;
  right: 8px;
  z-index: 120;
  background: #ffffff;
  border: 1px solid #eef1f5;
  box-shadow: 0 12px 28px -4px rgba(16, 24, 40, 0.16);
  border-radius: 12px;
  padding: 6px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.analytics_user_dropdown_item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  background: transparent;
  border: none;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  color: #344054;
  cursor: pointer;
  text-align: left;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_user_dropdown_item:hover {
  background: #f8fafc;
  color: #101828;
}

@media (max-width: 767px) {
  .events-empty-state {
    min-height: 420px;
    padding: 24px 16px;
  }

  .events-empty-state-illustration {
    width: 88px;
    height: 88px;
    flex-basis: 88px;
  }

  .events-empty-state .events-empty-state-title {
    font-size: var(--gf-text-body);
  }

  .events-empty-state-subtitle {
    font-size: var(--gf-text-body-strong);
  }
}

/* Overview card empty states */
.page-empty-state {
  width: 100%;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-empty-state--large {
  min-height: 520px;
}

.page-empty-state svg {
  width: 104px !important;
  height: 104px !important;
  max-width: 104px;
  max-height: 104px;
  flex: 0 0 104px;
}

.contacts-main .page-empty-state svg {
  width: 104px !important;
  height: 104px !important;
  max-width: 104px;
  max-height: 104px;
  flex: 0 0 104px;
}

.page-empty-state h3 {
  margin: 8px 0 0;
  color: #101828;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

.page-empty-state p {
  margin: 0;
  color: #475467;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
  max-width: 440px;
}

.page-empty-state .page-empty-btn,
.page-empty-btn {
  border: 0;
  border-radius: 999px;
  background: #2966f4;
  color: #ffffff;
  cursor: pointer;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: 1;
  min-height: 44px;
  padding: 0 24px;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  text-decoration: none;
}

.page-empty-state .page-empty-btn:hover,
.page-empty-btn:hover {
  background: #2054cc;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .page-empty-state,
  .page-empty-state--large {
    min-height: 420px;
    padding: 24px 16px;
  }

  .page-empty-state svg {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px;
    max-height: 88px;
    flex-basis: 88px;
  }

  .contacts-main .page-empty-state svg {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px;
    max-height: 88px;
    flex-basis: 88px;
  }

  .page-empty-state h3 {
    font-size: var(--gf-text-body);
  }

  .page-empty-state p {
    font-size: var(--gf-text-body-strong);
  }
}

.page-empty-state {
  width: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  text-align: center;
}

.page-empty-state--large {
  min-height: 560px;
}

.page-empty-state svg {
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
}

.contacts-main .page-empty-state svg {
  width: 104px !important;
  height: 104px !important;
  max-width: 104px;
  max-height: 104px;
  flex: 0 0 104px;
}

.page-empty-state h3 {
  margin: 8px 0 0;
  color: #101828;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
}

.page-empty-state p {
  margin: 0;
  color: #475467;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
}

@media (max-width: 767px) {
  .page-empty-state {
    min-height: 224px;
    padding: 24px 16px;
  }

  .page-empty-state--large {
    min-height: 420px;
  }

  .page-empty-state svg {
    width: 88px;
    height: 88px;
  }

  .contacts-main .page-empty-state svg {
    width: 88px !important;
    height: 88px !important;
    max-width: 88px;
    max-height: 88px;
    flex-basis: 88px;
  }

  .page-empty-state h3 {
    font-size: var(--gf-text-body);
  }

  .page-empty-state p {
    font-size: var(--gf-text-body-strong);
  }
}

.overview-empty-state {
  flex: 1;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 14px 22px;
  text-align: center;
}

.overview-empty-state__art {
  width: min(132px, 58%);
  height: auto;
  display: block;
}

.overview-empty-state p {
  margin: 0;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body);
}

@media (max-width: 767px) {
  .overview-empty-state {
    min-height: 150px;
    gap: 10px;
    padding: 14px 12px 18px;
  }

  .overview-empty-state__art {
    width: min(116px, 52%);
  }

  .overview-empty-state p {
    font-size: var(--gf-text-caption);
  }
}

.analytics_pro_banner {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed #eef1f5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.analytics_pro_text {
  font-size: var(--gf-text-body-strong);
  color: #667085;
  line-height: var(--gf-leading-body-strong);
}

.analytics_pro_blur_row {
  filter: blur(3px);
  opacity: 0.5;
  pointer-events: none;
}

.analytics_subscribe_btn {
  border: 1px solid #2966f4;
  color: #2966f4;
  background: transparent;
  border-radius: 16px;
  padding: 3px 10px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_subscribe_btn:hover {
  background: #2966f4;
  color: #ffffff;
}

.donut-segment {
  cursor: pointer;
  transition:
    stroke-width 160ms cubic-bezier(0.2, 0, 0, 1),
    filter 160ms cubic-bezier(0.2, 0, 0, 1),
    opacity 160ms cubic-bezier(0.2, 0, 0, 1);
}

.donut-segment:hover {
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.4));
}

.country-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.country-breakdown-row:hover,
.country-breakdown-row.is-active {
  background-color: #f1f5f9;
}

/* Analytics Profile Preview Modal */
.analytics_profile_modal_backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(16, 24, 40, 0.5);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.analytics_profile_modal {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--gf-font);
}

.analytics_profile_header {
  height: 74px;
  background: linear-gradient(135deg, #2966f4 0%, #2054cc 50%, #4f46e5 100%);
  position: relative;
  padding: 12px 16px;
  display: flex;
  justify-content: flex-end;
}

.analytics_profile_close_btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_profile_close_btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.analytics_profile_body {
  padding: 0 24px 24px 24px;
  display: flex;
  flex-direction: column;
  margin-top: -36px;
}

.analytics_profile_avatar_wrap {
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 12px;
}

.analytics_profile_avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.12);
}

.analytics_profile_name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.analytics_profile_role {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #475467;
  margin-top: 2px;
}

.analytics_profile_location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--gf-text-body-strong);
  color: #667085;
  margin-top: 6px;
}

.analytics_profile_bio {
  font-size: var(--gf-text-body-strong);
  line-height: var(--gf-leading-body-strong);
  color: #344054;
  margin-top: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #eef1f5;
}

.analytics_profile_stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.analytics_profile_stat_card {
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.analytics_profile_stat_label {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #667085;
}

.analytics_profile_stat_value {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
}

.analytics_profile_actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.analytics_profile_btn_primary {
  flex: 1;
  background: #2966f4;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_profile_btn_primary:hover {
  background: #2054cc;
  transform: translateY(-1px);
}

.analytics_profile_btn_secondary {
  flex: 1;
  background: #ffffff;
  color: #344054;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.analytics_profile_btn_secondary:hover {
  background: #f8fafc;
  border-color: #98a2b3;
  transform: translateY(-1px);
}

/* Toast notification in analytics */
.analytics_toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #101828;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.28);
  z-index: 2147483647;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   EDIT DETAILS (EDIT AD) MODAL
   ══════════════════════════════════════════════════════════════════════════ */
.edit_ad_modal {
  background: #ffffff;
  border-radius: 28px;
  width: 95%;
  max-width: 720px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.2);
  font-family: var(--gf-font) !important;
  position: relative;
  box-sizing: border-box;
}

.edit_ad_modal *,
.edit_ad_modal button,
.edit_ad_modal input,
.edit_ad_modal span,
.edit_ad_modal p,
.edit_ad_modal div {
  font-family: var(--gf-font) !important;
  box-sizing: border-box;
}

.edit_ad_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px 14px 36px;
}

.edit_ad_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0;
  line-height: var(--gf-leading-card);
}

.edit_ad_close_btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f4f7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.edit_ad_close_btn:hover {
  background: #e9edf2;
}

.edit_ad_body {
  flex: 1;
  overflow-y: auto;
  padding: 0 36px 20px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edit_ad_field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.edit_ad_label {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #344054;
}

.edit_ad_input {
  width: 100%;
  height: 48px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 0 20px;
  font-size: var(--gf-text-body);
  color: #101828;
  outline: none;
  transition:
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.edit_ad_input:focus {
  background: #ffffff;
  border-color: #2966f4;
}

.edit_ad_preview_wrap {
  width: 280px;
}

.edit_ad_upload {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.edit_ad_upload:hover {
  background: #f2f4f7;
  border-color: #d0d5dd;
}

.edit_ad_footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 36px 28px 36px;
}

.edit_ad_btn_delete {
  background: #f2f4f7;
  color: #101828;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.edit_ad_btn_delete:hover {
  background: #e9edf2;
}

.edit_ad_btn_save {
  background: #2966f4;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.edit_ad_btn_save:hover {
  background: #2054cc;
}

@media (max-width: 1024px) {
  .campaign_analytics_content_grid {
    grid-template-columns: 1fr;
  }

  .campaign_analytics_metrics_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .campaign_analytics_metrics_grid {
    grid-template-columns: 1fr;
  }
}

.create_campaign_modal {
  background: #ffffff;
  border-radius: 28px;
  width: 100%;
  max-width: 880px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.2);
  font-family: var(--gf-font) !important;
  position: relative;
  box-sizing: border-box;
}

.create_campaign_modal * {
  font-family: var(--gf-font) !important;
  box-sizing: border-box;
}

/* Header */
.create_campaign_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px 14px 36px;
}

.create_campaign_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0;
  line-height: var(--gf-leading-card);
}

.create_campaign_close_btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f4f7;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_campaign_close_btn:hover {
  background: #e9edf2;
  color: #101828;
}

/* Stepper */
.create_campaign_stepper {
  /* Now hosts the shared tracker markup (cept-labels + cept-progress), so it
     stacks like the create-event tracker instead of its old label row + bar. */
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 44px 22px 44px;
}

.create_campaign_stepper_labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.create_campaign_step_label {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #98a2b3;
  cursor: pointer;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1);
  user-select: none;
}

.create_campaign_step_label:nth-child(1) {
  flex: 1;
  text-align: left;
}

.create_campaign_step_label:nth-child(2) {
  flex: 1;
  text-align: center;
}

.create_campaign_step_label:nth-child(3) {
  flex: 1;
  text-align: right;
}

.create_campaign_step_label.active {
  color: #2966f4 !important;
  font-weight: var(--gf-weight-semibold);
}

.create_campaign_step_label.completed {
  color: #344054;
}

.create_campaign_stepper_bar {
  position: relative;
  width: 100%;
  height: 2px;
  background: #eef1f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.create_campaign_stepper_progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #2966f4;
  transition: width 240ms cubic-bezier(0.2, 0, 0, 1);
  z-index: 1;
}

.create_campaign_step_dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d0d5dd;
  z-index: 2;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.create_campaign_step_dot.active {
  border-color: #2966f4;
  background: #ffffff;
}

.create_campaign_step_dot.active::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2966f4;
}

.create_campaign_step_dot.completed {
  border-color: #2966f4;
  background: #2966f4;
}

.create_campaign_step_dot.completed::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

/* Modal Body */
.create_campaign_body {
  padding: 4px 36px 16px 36px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.create_campaign_body::-webkit-scrollbar {
  width: 6px;
}

.create_campaign_body::-webkit-scrollbar-track {
  background: transparent;
}

.create_campaign_body::-webkit-scrollbar-thumb {
  background: #e9edf2;
  border-radius: 10px;
}

/* Step Center Heading */
.create_campaign_heading {
  text-align: center;
  margin-bottom: 26px;
}

.create_campaign_heading_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0 0 6px 0;
  line-height: var(--gf-leading-card);
}

.create_campaign_heading_subtitle {
  font-size: var(--gf-text-body);
  color: #475467;
  margin: 0;
  line-height: var(--gf-leading-body);
}

/* Form Controls */
.create_campaign_form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.create_campaign_field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.create_campaign_label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #344054;
}

.create_campaign_sublabel {
  font-size: var(--gf-text-body-strong);
  color: #667085;
  margin-top: -2px;
  margin-bottom: 4px;
}

.create_campaign_input {
  height: 48px;
  background: #f2f4f7;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 0 20px;
  font-size: var(--gf-text-body);
  color: #101828;
  width: 100%;
  outline: none;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_campaign_input::placeholder {
  color: #98a2b3;
}

.create_campaign_input:focus {
  background: #ffffff;
  border-color: #2966f4;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.1);
}

.create_campaign_grid_2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

/* Date Box */
.create_campaign_date_box {
  position: relative;
  height: 48px;
  background: #f2f4f7;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_campaign_date_box:hover {
  background: #eef1f5;
}

.create_campaign_date_box.is-active {
  border-color: #2966f4;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.1);
}

.create_campaign_date_left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: var(--gf-text-body);
}

.create_campaign_date_left svg {
  color: #344054;
  flex-shrink: 0;
}

.create_campaign_date_chevron {
  color: #344054;
  flex-shrink: 0;
}

.create_campaign_native_date {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Custom Dropdown Select */
.create_campaign_select_wrap {
  position: relative;
  width: 100%;
}

.create_campaign_select_btn {
  height: 48px;
  background: #f2f4f7;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  width: 100%;
  font-size: var(--gf-text-body);
  color: #101828;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  outline: none;
}

.create_campaign_select_btn:hover {
  background: #eef1f5;
}

.create_campaign_select_dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  box-shadow: 0 12px 28px -4px rgba(16, 24, 40, 0.12);
  z-index: 100;
  overflow: hidden;
  padding: 6px 0;
}

.create_campaign_select_option {
  padding: 10px 20px;
  font-size: var(--gf-text-body);
  color: #344054;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_campaign_select_option:hover {
  background: #f4f7ff;
  color: #2966f4;
}

.create_campaign_select_option.selected {
  font-weight: var(--gf-weight-semibold);
  color: #2966f4;
  background: #f4f7ff;
}

/* Tag Chips */
.create_campaign_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.create_campaign_chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f2f4f7;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #344054;
}

.create_campaign_chip_close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: 1;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_campaign_chip_close:hover {
  color: #f04438;
}

/* Step 2 Segmented Switch */
.create_campaign_placement_wrap {
  background: #f2f4f7;
  border-radius: 100px;
  padding: 4px;
  display: flex;
  gap: 4px;
  width: 100%;
  margin-bottom: 6px;
}

.create_campaign_placement_btn {
  flex: 1;
  height: 44px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #667085;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.create_campaign_placement_btn.active {
  background: #ffffff;
  color: #101828;
  font-weight: var(--gf-weight-semibold);
  box-shadow: 0 2px 4px rgba(16, 24, 40, 0.08);
}

/* Upload Dropzone */
.create_campaign_upload {
  background: #f2f4f7;
  border: 1.5px dashed #d0d5dd;
  border-radius: 16px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  text-align: center;
}

.create_campaign_upload:hover {
  background: #f5f8ff;
  border-color: #2966f4;
}

.create_campaign_upload.has-media {
  position: relative;
  display: block;
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  background: #101828;
  border-style: solid;
}

.create_campaign_upload_preview {
  position: absolute;
  inset: 0;
}

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

.create_campaign_upload_meta {
  position: absolute;
  inset: auto 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(16, 24, 40, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.create_campaign_upload_filename {
  min-width: 0;
  overflow: hidden;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.create_campaign_upload_actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.create_campaign_upload_action {
  min-height: 34px;
  padding: 7px 12px;
  color: #101828;
  background: #fff;
  border: 0;
  border-radius: 999px;
  font: var(--gf-weight-medium) var(--gf-text-control)/1 var(--gf-font);
  cursor: pointer;
}

.create_campaign_upload_action.is-remove {
  color: #fff;
  background: #d92d20;
}

.create_campaign_upload_icon {
  width: 28px;
  height: 28px;
  color: #344054;
  margin-bottom: 2px;
}

.create_campaign_upload_text {
  font-size: var(--gf-text-body-strong);
  color: #475467;
  margin: 0;
}

.create_campaign_upload_subtext {
  font-size: var(--gf-text-body-strong);
  color: #667085;
  margin: 0;
}

.create_campaign_upload_link {
  color: #2966f4;
  font-weight: var(--gf-weight-semibold);
  text-decoration: underline;
}

.campaign-gallery-upload-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.campaign-gallery-upload-item {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
}

.campaign-gallery-upload-item img,
.campaign-gallery-upload-item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f2f4f7;
}

.campaign-gallery-upload-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px;
}

.campaign-gallery-upload-name {
  min-width: 0;
  overflow: hidden;
  font-size: var(--gf-text-caption);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.campaign-gallery-upload-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.campaign-gallery-upload-actions button {
  padding: 5px 7px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: var(--gf-text-caption);
  cursor: pointer;
}

.campaign-gallery-upload-actions button.is-remove {
  color: #b42318;
}

/* Preview Section */
.create_campaign_preview_wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.create_campaign_preview_sidebar {
  width: 260px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #eef1f5;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.create_campaign_preview_sidebar_banner {
  height: 84px;
  background-size: cover;
  background-position: center;
  position: relative;
  background-repeat: no-repeat;
  background-color: #0f172a;
}

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

.create_campaign_preview_ad_tag {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  user-select: none;
}

.create_campaign_preview_sidebar_body {
  padding: 0 14px 14px 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.create_campaign_preview_avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: -24px;
  margin-bottom: 10px;
  position: relative;
}

.create_campaign_preview_user_avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: 2;
  margin-right: -8px;
  background: #ffffff;
}

.create_campaign_preview_user_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.create_campaign_preview_badge_icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #2054cc;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.create_campaign_preview_sidebar_title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin-bottom: 4px;
  line-height: var(--gf-leading-card);
}

.create_campaign_preview_sidebar_desc {
  font-size: var(--gf-text-body-strong);
  color: #475467;
  margin: 0 0 12px 0;
  line-height: var(--gf-leading-body-strong);
}

.create_campaign_preview_sidebar_btn {
  width: 100%;
  padding: 7px 16px;
  border: 1.5px solid #2966f4;
  background: #ffffff;
  color: #2966f4;
  border-radius: 100px;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-control);
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  outline: none;
}

.create_campaign_preview_sidebar_btn:hover {
  background: #2966f4;
  color: #ffffff;
}

/* Banner Row Preview */
.create_campaign_preview_banner {
  display: flex;
  gap: 14px;
  width: 100%;
  align-items: stretch;
}

.create_campaign_preview_banner_video {
  flex: 1.6;
  height: 165px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background-color: #0f172a;
}

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

.create_campaign_preview_play_btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.2);
}

.create_campaign_preview_play_icon {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  fill: #2966f4;
}

.create_campaign_preview_banner_profile {
  flex: 1;
  height: 165px;
  border-radius: 16px;
  background: rgba(23, 92, 211, 0.06);
  border: 1px solid rgba(41, 102, 244, 0.15);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.create_campaign_preview_banner_top {
  display: flex;
  flex-direction: column;
}

/* Footer */
.create_campaign_footer {
  padding: 16px 36px 24px 36px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f2f4f7;
  background: #ffffff;
}

.create_campaign_btn_delete {
  background: #f2f4f7;
  color: #344054;
  border-radius: 100px;
  padding: 10px 22px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  border: none;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  outline: none;
}

.create_campaign_btn_delete:hover {
  background: #e9edf2;
}

.create_campaign_btn_save {
  background: #2966f4;
  color: #ffffff;
  border-radius: 100px;
  padding: 10px 24px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  border: none;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  outline: none;
}

.create_campaign_btn_save:hover {
  background: #2054cc;
}

@media (max-width: 768px) {
  .create_campaign_modal {
    max-width: 95%;
    padding: 0;
  }

  .create_campaign_header {
    padding: 20px 20px 10px 20px;
  }

  .create_campaign_stepper {
    padding: 0 20px 16px 20px;
  }

  .create_campaign_body {
    padding: 0 20px 16px 20px;
  }

  .create_campaign_footer {
    padding: 14px 20px 20px 20px;
  }

  .create_campaign_grid_2 {
    grid-template-columns: 1fr;
  }

  .create_campaign_preview_banner {
    flex-direction: column;
  }
}

.topbar-create-wrapper {
  position: relative;
  display: inline-block;
}

.create-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 12px 32px rgba(0, 0, 0, 0.08);
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-width: 260px;
  z-index: 100;
  border: 1px solid #f1f5f9;
}

.create-dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 12px;
  border: none;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create-dropdown-item:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.create-dropdown-item svg {
  width: 20px;
  height: 20px;
  color: #1e293b;
  stroke-width: 1.5;
}

.create-dropdown-item span {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #1e293b;
}

/* Contacts modal styles moved to assets/css/dashboard/contacts.css */

/* ═════════════════════════════════════════════
   ════════ ANNOUNCEMENT / UPDATES BANNER ════════
   ═════════════════════════════════════════════ */
.announcement-banner {
  background: var(--white, #ffffff);
  border: none;
  border-radius: var(--shell-panel-radius);
  padding: 16px var(--shell-panel-padding);
  margin-top: 0px;
  margin-bottom: var(--shell-edge) !important;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.02);
  transition: all 240ms cubic-bezier(0.2, 0, 0, 1);
}

/* --- Banner Entrance and Exit Transitions --- */
.announcement-enter {
  transition:
    opacity 400ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-enter-start {
  opacity: 0;
  transform: translateY(-16px) scale(0.98);
}

.announcement-enter-end {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.announcement-leave {
  transition:
    opacity 240ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    max-height 240ms cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 240ms cubic-bezier(0.16, 1, 0.3, 1),
    padding-top 240ms cubic-bezier(0.16, 1, 0.3, 1),
    padding-bottom 240ms cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 100px;
  overflow: hidden;
}

.announcement-leave-start {
  opacity: 1;
  transform: translateY(0) scale(1);
  max-height: 100px;
  margin-top: 0px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.announcement-leave-end {
  opacity: 0;
  transform: translateY(-16px) scale(0.98);
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.announcement-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.announcement-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  line-height: var(--gf-leading-card);
  text-align: left;
}

.announcement-desc {
  font-size: var(--gf-text-body);
  color: #475467;
  line-height: var(--gf-leading-body);
  text-align: left;
}

.announcement-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.announcement-btn-learn {
  background: #2966f4;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  white-space: nowrap;
}

.announcement-btn-learn:hover {
  background: #2054cc;
}

.announcement-btn-learn:active {
  transform: scale(0.97);
}

.announcement-btn-close {
  background: #f2f4f7;
  color: #475467;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  flex-shrink: 0;
}

.announcement-btn-close:hover {
  background: #e4e7eb;
  color: #101828;
}

.announcement-btn-close:active {
  transform: scale(0.95);
}

@media (max-width: 900px) {
  .announcement-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 20px;
  }

  .announcement-actions {
    width: 100%;
    justify-content: space-between;
  }
}

/* ═════════════════════════════════════════════
   ════════ FEEDBACK SURVEY MODAL ════════
   ═════════════════════════════════════════════ */
.feedback-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 32px;
  pointer-events: none;
}

.feedback-modal-container {
  pointer-events: auto;
}

.feedback-modal-container {
  background: var(--white, #ffffff);
  border-radius: 20px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0px 16px 36px rgba(16, 24, 40, 0.12);
  box-sizing: border-box;
}

.feedback-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #98a2b3;
  cursor: pointer;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-modal-close:hover {
  color: #475467;
}

.feedback-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin-bottom: 8px;
  line-height: var(--gf-leading-card);
  text-align: left;
}

.feedback-subtitle {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #344054;
  margin-bottom: 12px;
  text-align: left;
}

.feedback-desc {
  font-size: var(--gf-text-body);
  color: #667085;
  margin-bottom: 16px;
  line-height: var(--gf-leading-body);
  text-align: left;
}

/* Smileys bar */
.feedback-smileys {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 16px;
  padding: 0 12px;
}

.feedback-smileys-line {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 13px;
  height: 2px;
  background: #eef1f5;
  z-index: 1;
}

.feedback-smiley-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  color: #98a2b3;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.feedback-smiley-wrapper svg {
  width: 26px;
  height: 26px;
}

.feedback-smiley-wrapper.active-sad {
  color: #f04438;
}

.feedback-smiley-wrapper.active-neutral {
  color: #fdb022;
}

.feedback-smiley-wrapper.active-happy {
  color: #32d583;
}

/* Rating numbers */
.feedback-ratings-row {
  display: flex;
  gap: 6px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.feedback-rating-btn {
  flex: 1;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eef1f5;
  border-radius: 8px;
  background: #ffffff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.feedback-rating-btn:hover {
  border-color: #000000;
  color: #101828;
}

.feedback-rating-btn.active {
  border-color: #2966f4;
  color: #2966f4;
  box-shadow: 0px 0px 0px 4px rgba(41, 102, 244, 0.1);
}

.feedback-labels-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #667085;
  margin-bottom: 20px;
}

/* Buttons */
.feedback-btn-continue,
.feedback-btn-submit {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  border: none;
  background: #2966f4;
  color: #ffffff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-btn-continue:hover:not(:disabled),
.feedback-btn-submit:hover {
  background: #2054cc;
}

.feedback-btn-continue:active:not(:disabled),
.feedback-btn-submit:active {
  transform: scale(0.98);
}

.feedback-btn-continue:disabled {
  background: #b2ccff;
  color: #ffffff;
  cursor: not-allowed;
}

/* Step 2 Textarea */
.feedback-textarea {
  width: 100%;
  height: 100px;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  background: #f8f9fa;
  padding: 12px;
  font-family: inherit;
  font-size: var(--gf-text-body);
  color: #101828;
  outline: none;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1);
  resize: none;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.feedback-textarea:focus {
  border-color: #2966f4;
}

/* ═════════════════════════════════════════════
   ════════ REDESIGNED ASK ELIS DRAWER ════════
   ═════════════════════════════════════════════ */
.founders_dashboard_ellis_panel {
  position: absolute;
  top: 106px;
  right: 28px;
  bottom: 28px;
  left: auto;
  width: 440px;
  max-width: calc(100vw - 56px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border: 1px solid #eef1f5;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0px 24px 48px rgba(16, 24, 40, 0.16);
  overflow: hidden;
  z-index: 1000;
  transition: all 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 900px) {
  .founders_dashboard_ellis_panel {
    top: 76px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
  }
}

.founders_dashboard_ellis_head {
  background: linear-gradient(135deg, #2966f4 0%, #2054cc 100%);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
}

.founders_dashboard_ellis_identity_copy strong {
  color: #ffffff !important;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
}

.founders_dashboard_ellis_identity_copy span {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: var(--gf-text-body-strong);
  padding-left: 14px;
}

.founders_dashboard_ellis_identity_copy span::before {
  background: #32d583 !important;
  /* pulsing green active indicator */
  width: 8px;
  height: 8px;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(50, 213, 131, 0.7);
  }

  70% {
    box-shadow: 0 0 0 6px rgba(50, 213, 131, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(50, 213, 131, 0);
  }
}

.founders_dashboard_notifications_close svg path {
  stroke: #ffffff !important;
  /* make close icon white in header */
}

/* Avatar styling */
.founders_dashboard_ellis_avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

/* Chat area & message bubbles */
.founders_dashboard_ellis_body {
  background: #f9fafb;
  padding: 24px;
  gap: 16px;
}

.founders_dashboard_ellis_message {
  max-width: 85%;
  margin-bottom: 8px;
}

.founders_dashboard_ellis_message_bubble {
  padding: 12px 16px;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.03);
}

.founders_dashboard_ellis_message.is-bot
  .founders_dashboard_ellis_message_bubble {
  background: #ffffff;
  border: 1px solid #eef1f5;
  color: #344054;
  border-radius: 18px 18px 18px 4px;
}

.founders_dashboard_ellis_message.is-user
  .founders_dashboard_ellis_message_bubble {
  background: linear-gradient(135deg, #2966f4 0%, #2054cc 100%);
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0px 4px 12px rgba(41, 102, 244, 0.12);
}

/* Intro welcome styling */
.founders_dashboard_ellis_intro {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ellis-intro-glow-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(41, 102, 244, 0.1) 0%,
    rgba(21, 94, 239, 0.1) 100%
  );
  border: 1px solid rgba(41, 102, 244, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0px 0px 20px rgba(41, 102, 244, 0.1);
}

.ellis-intro-glow-avatar img {
  width: 40px;
  height: 40px;
}

.founders_dashboard_ellis_intro_message h2 {
  color: #101828;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  margin-bottom: 8px;
  text-align: center;
}

.founders_dashboard_ellis_intro_message h2::before {
  content: none !important;
  /* clear old content replacement */
}

.founders_dashboard_ellis_intro_message p {
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  text-align: center;
  margin-bottom: 24px;
}

/* Suggestion Grid & Cards */
.ellis-suggestion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 8px;
}

.ellis-suggestion-card {
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ellis-suggestion-card:hover {
  border-color: #2966f4;
  background: #f5f8ff;
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(41, 102, 244, 0.05);
}

.ellis-suggestion-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ellis-suggestion-icon {
  font-size: var(--gf-text-body);
}

.ellis-suggestion-title {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
}

.ellis-suggestion-desc {
  font-size: var(--gf-text-body-strong);
  color: #667085;
  line-height: var(--gf-leading-body-strong);
}

/* Input Area styling */
.founders_dashboard_ellis_input {
  background: #ffffff;
  padding: 16px 20px;
  border-top: 1px solid #eef1f5;
}

.founders_dashboard_ellis_input_shell {
  border: 1.5px solid #eef1f5;
  border-radius: 24px;
  height: 44px;
  padding: 0 16px;
  background: #f8f9fa;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_ellis_input_shell:focus-within {
  border-color: #2966f4;
  background: #ffffff;
  box-shadow: 0px 0px 0px 4px rgba(41, 102, 244, 0.1);
}

.founders_dashboard_ellis_input input {
  font-size: var(--gf-text-body);
  color: #344054;
}

.founders_dashboard_ellis_input input::placeholder {
  color: #98a2b3;
}

.founders_dashboard_ellis_send {
  width: 40px;
  height: 40px;
  background: #2966f4;
  color: #ffffff;
  border-radius: 50%;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_ellis_send:hover {
  background: #2054cc;
  transform: scale(1.05) rotate(-5deg);
}

.founders_dashboard_ellis_send:active {
  transform: scale(0.95);
}

.founders_dashboard_ellis_send svg {
  width: 16px;
  height: 16px;
}

/* Typing Indicator Animation */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background-color: #98a2b3;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1);
  }
}

/* Premium Split Modal Styles */
.premium_split_modal {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  background: #ffffff;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  border-radius: 20px;
  width: 1150px;
  height: 780px;
  position: absolute;
  /* left: calc(50% - 960px / 2);
  top: calc(50% - 600px / 2); */
  overflow: hidden;
  box-sizing: border-box;
  animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.premium_split_modal_left {
  width: 420px;
  height: 780px;
  background: linear-gradient(135deg, #0a0f24 0%, #171e45 100%);
  display: flex;
  align-items: stretch;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.premium_split_modal_left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premium_split_modal_right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 46px;
  gap: 16px;
  isolation: isolate;
  width: 730px;
  height: 780px;
  box-sizing: border-box;
  position: relative;
  background: #ffffff;
  overflow-y: auto;
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 1;
}

.premium_modal_close_btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px;
  gap: 12px;
  position: absolute;
  width: 36px;
  height: 36px;
  right: 20px;
  top: 20px;
  left: auto;
  background: #f2f4f7;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  color: #0a0a0a;
  z-index: 10;
  box-sizing: border-box;
  justify-content: center;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.premium_modal_close_btn:hover {
  background: #e9edf2;
}

.premium_modal_close_btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.premium_modal_brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 8px;
  width: auto;
  height: 20px;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin-bottom: 12px;
}

.premium_modal_brand_logo_img {
  width: 72px;
  height: auto;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.premium_modal_brand_text {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: 1;
  display: flex;
  align-items: center;
  color: #000000;
  flex: none;
  order: 1;
  flex-grow: 0;
}

.premium_modal_title {
  width: 390px;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-bold);
  font-size: var(--gf-text-section);
  line-height: var(--gf-leading-section);
  display: flex;
  align-items: center;
  color: #000000;
  margin: 0 0 10px 0;
  flex: none;
  order: 2;
  flex-grow: 0;
  z-index: 2;
}

.premium_modal_description {
  width: 590px;
  height: auto;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  display: flex;
  align-items: center;
  color: #475467;
  margin: 0 0 16px 0;
  flex: none;
  order: 3;
  align-self: stretch;
  flex-grow: 0;
  z-index: 3;
}

.premium_perks_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  padding: 0px;
  gap: 16px;
  width: 100%;
  height: auto;
  flex: none;
  order: 4;
  align-self: stretch;
  flex-grow: 0;
  z-index: 4;
}

.premium_perk_card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
  gap: 14px;
  width: 100%;
  min-height: 80px;
  background: #f2f4f7;
  border-radius: 24px;
  box-sizing: border-box;
  flex: none;
  flex-grow: 0;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.premium_perk_card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
}

.premium_perk_icon {
  width: 20px;
  height: 20px;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.premium_perk_icon svg {
  width: 20px;
  height: 20px;
}

.premium_perk_info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.premium_perk_title {
  width: 100%;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body-strong);
  line-height: var(--gf-leading-body-strong);
  display: flex;
  align-items: center;
  color: #101828;
  margin: 0;
}

.premium_perk_desc {
  width: 100%;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body-strong);
  line-height: var(--gf-leading-body-strong);
  display: flex;
  align-items: center;
  color: #667085;
  margin: 0;
}

.premium_modal_footer_action {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0px;
  gap: 12px;
  width: 100%;
  height: auto;
  flex: none;
  order: 5;
  align-self: stretch;
  margin-top: auto;
  padding-top: 20px;
  z-index: 5;
}

.premium_modal_action_btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  gap: 10px;
  width: auto;
  min-width: 120px;
  height: 38px;
  background: #2966f4;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  box-sizing: border-box;

  /* Text Styles */
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: -0.2px;
  color: #ffffff;
  flex: none;
  order: 0;
  flex-grow: 0;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.premium_modal_action_btn:hover {
  background: #2054cc;
}

.premium_modal_footer_action .premium_modal_action_btn {
  width: 180px;
  min-width: 180px;
  height: 44px;
  padding: 10px 18px;
  border-radius: 22px;
}

.premium_form_btn_secondary {
  padding: 8px 16px;
  height: 38px;
  background: #f2f4f7;
  color: #344054;
  border: none;
  border-radius: 100px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.premium_form_btn_secondary:hover {
  background: #e9edf2;
}

.premium_modal_step_content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.verifier-application-step {
  min-height: 100%;
}

.verifier-application-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  gap: 16px;
  width: 100%;
}

.verifier-application-form .gf-field {
  width: 100%;
}

.verifier-application-form .gf-field__label {
  color: #344054;
  font-family: var(--gf-font);
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-caption);
}

.verifier-application-form .signup_input-shell {
  width: 100%;
  box-sizing: border-box;
}

.verifier-application-form .gf-field__input {
  color: var(--gray-900);
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.verifier-application-form select.gf-field__input {
  appearance: none;
  cursor: pointer;
}

.verifier-application-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.verifier-application-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.verifier-application-form__actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
}

.verifier-application-form__actions > .premium_modal_action_btn {
  flex: 1 1 auto;
}

.verifier-application-form__actions .premium_modal_action_btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.premium_split_modal.verifier-application-modal--compact {
  width: min(1060px, calc(100vw - 48px));
  height: min(608px, calc(100vh - 48px));
  max-height: calc(100vh - 48px);
  align-items: stretch;
}

/* The intro step should grow with its feature copy so the CTA keeps its bottom padding. */
.premium_split_modal.verifier-application-modal--intro {
  height: auto;
  min-height: 0;
}

.verifier-application-modal--intro .premium_modal_step_content {
  height: auto;
  min-height: 0;
}

.verifier-application-modal--intro .premium_split_modal_right {
  overflow-y: visible;
}

.verifier-application-modal--intro .premium_modal_footer_action {
  margin-top: 0;
  padding-bottom: 30px;
}

.verifier-application-modal--compact .premium_split_modal_left {
  position: relative;
  width: 36%;
  height: auto;
  flex: 0 0 36%;
  overflow: hidden;
}

.verifier-application-modal--compact .premium_split_modal_left > img {
  position: absolute;
  inset: 0;
}

.verifier-application-promo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 38px 34px;
  box-sizing: border-box;
  color: #fff;
  font-family: var(--gf-font);
}

.verifier-application-promo__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: var(--gf-text-body);
  line-height: 24px;
}

.verifier-application-promo__brand > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #4776ff;
  color: #fff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-bold);
}

.verifier-application-promo__brand strong {
  color: #fff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-bold);
}

.verifier-application-promo__copy {
  margin-top: 78px;
}

.verifier-application-promo__eyebrow {
  color: #b5c6ff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-bold);
  text-transform: uppercase;
}

.verifier-application-promo__copy h2 {
  max-width: 280px;
  margin: 10px 0 14px;
  color: #fff;
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  line-height: 1.12;
}

.verifier-application-promo__copy p {
  max-width: 290px;
  margin: 0;
  color: #e3e9ff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.verifier-application-promo__benefits {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.verifier-application-promo__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
}

.verifier-application-promo__benefits li > span {
  display: inline-flex;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: var(--gf-weight-bold);
}

.verifier-application-modal--compact .premium_split_modal_right {
  width: 64%;
  height: auto;
  min-height: 0;
  overflow-y: auto;
  flex: 1 1 0;
}

.verifier-application-modal--form .premium_split_modal_right {
  padding: 38px 42px 30px;
  overflow-y: hidden;
}

.verifier-application-modal--form .verifier-application-promo__copy h2,
.verifier-application-modal--form .verifier-application-promo__copy p,
.verifier-application-modal--form .verifier-application-promo__benefits,
.verifier-application-modal--form .verifier-application-promo__benefits li {
  color: #fff;
}

.verifier-application-modal--form .verifier-application-promo__copy p {
  color: #e3e9ff;
}

.verifier-application-modal--form .verifier-application-promo__eyebrow {
  color: #c4d0ff;
}

.verifier-application-modal--form .verifier-application-promo__benefits li > span {
  color: #fff;
}

.verifier-application-step {
  height: 100%;
  min-height: 0;
}

.verifier-application-heading {
  margin: 0 0 22px;
  padding-right: 36px;
}

.verifier-application-heading h2 {
  margin: 0 0 6px;
  color: #101828;
  font-family: var(--gf-font);
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  line-height: 1.2;
}

.verifier-application-heading p {
  margin: 0;
  color: #667085;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.verifier-application-form {
  gap: 15px;
}

.verifier-application-form .gf-field__label {
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
}

.verifier-domain-control {
  min-height: 56px;
  padding: 7px 10px;
  border-radius: 32px;
  flex-wrap: wrap;
}

.verifier-application-form .verifier-domain-control .gf-field__input {
  flex: 1 1 160px;
  width: auto;
  min-height: 32px;
}

.verifier-domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 10px;
  border: 1px solid #b2c5ff;
  border-radius: 999px;
  background: #eaf0ff;
  color: #1d4ed8;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  white-space: nowrap;
}

.verifier-domain-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d4e0ff;
  color: #1d4ed8;
  cursor: pointer;
}

.verifier-suggestions,
.verifier-credential-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.verifier-suggestions {
  margin-top: 2px;
}

.verifier-suggestions > span:first-child {
  margin-right: 2px;
  color: #667085;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
}

.verifier-suggestions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #475467;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  cursor: pointer;
}

.verifier-suggestions button {
  gap: 6px;
}

.verifier-suggestions button > span:first-child {
  color: #2966f4;
  font-weight: var(--gf-weight-bold);
}

.verifier-suggestions button:disabled {
  opacity: 0.5;
  cursor: default;
}

.verifier-credentials-dropdown {
  width: 100%;
}

.verifier-select-control {
  min-height: 56px;
  padding: 16px;
  border: 0;
  border-radius: 32px;
  background: var(--gray-100);
  color: var(--gray-900);
}

.verifier-select-control .signup_dropdown-label {
  color: var(--gray-900);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
}

.verifier-credentials-dropdown .signup_dropdown-menu {
  z-index: 20;
}

.verifier-credentials-dropdown .signup_dropdown-option {
  min-height: 48px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
}

.verifier-adorned-control {
  min-height: 56px;
  border-radius: 32px;
}

.verifier-adorned-control > span {
  flex: 0 0 auto;
  color: #667085;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
}

.verifier-adorned-control > span:first-child {
  font-size: var(--gf-text-body);
}

.verifier-application-form__actions {
  gap: 12px;
  padding-top: 4px;
}

.verifier-application-form__actions > button {
  height: 50px;
  border-radius: 999px;
}

.verifier-application-form__actions > .premium_form_btn_secondary {
  min-width: 102px;
  border: 1px solid #d0d5dd;
  background: #fff;
}

.verifier-application-form__actions > .premium_modal_action_btn[disabled] {
  background: #cbd6f4;
  opacity: 1;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .verifier-application-form__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .premium_split_modal.verifier-application-modal--compact {
    width: min(100%, 560px);
    height: auto;
    max-height: calc(100vh - 32px);
    flex-direction: column;
  }

  .verifier-application-modal--compact .premium_split_modal_left {
    width: 100%;
    height: 132px;
    flex: 0 0 132px;
  }

  .verifier-application-promo {
    padding: 16px 22px;
  }

  .verifier-application-promo__copy {
    margin-top: 12px;
  }

  .verifier-application-promo__copy h2 {
    margin: 4px 0 0;
    font-size: var(--gf-text-card);
  }

  .verifier-application-promo__copy p,
  .verifier-application-promo__eyebrow,
  .verifier-application-promo__benefits {
    display: none;
  }

  .verifier-application-modal--compact .premium_split_modal_right {
    width: 100%;
    padding: 26px 24px 22px;
    overflow-y: auto;
  }

  .verifier-application-modal--form .premium_split_modal_right {
    overflow-y: auto;
  }

  .verifier-application-step {
    height: auto;
    min-height: 0;
  }

  .verifier-application-form {
    flex: none;
  }
}

.premium_modal_step_content--success .premium_modal_action_btn {
  width: 180px;
  min-width: 180px;
  height: 44px;
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 22px;
}

.tutor-application-form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  gap: 16px;
  width: 100%;
}

.tutor-application-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tutor-application-form .gf-field {
  width: 100%;
  align-self: stretch;
}

.tutor-application-form .gf-field__control {
  width: 100%;
  box-sizing: border-box;
}

.tutor-application-form .signup_input-shell {
  min-height: 56px;
  border: 0;
  background: var(--gray-100);
  border-radius: 32px;
  padding: 16px;
}

.tutor-application-form .signup_input-shell:focus-within {
  box-shadow: 0 0 0 3px rgba(41, 102, 244, 0.16);
}

.tutor-application-form .signup_input-shell input,
.tutor-application-form .signup_input-shell select,
.tutor-application-form .signup_input-shell textarea {
  color: var(--gray-900);
  font-size: var(--gf-text-body);
}

.tutor-application-form .tutor_textarea_shell {
  min-height: 124px;
  align-items: stretch;
}

.tutor-application-form .signup_input-shell textarea {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 92px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--gf-font);
  line-height: var(--gf-leading-body);
  resize: vertical;
  box-sizing: border-box;
}

.tutor-application-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.tutor-application-form .gf-field.is-invalid .signup_input-shell {
  border: 1px solid var(--gf-field-error);
  box-shadow: 0 0 0 3px var(--gf-field-error-ring);
}

/* Area of expertise is a list, not one line: pills wrap and the input takes the rest of the row.
   Unscoped so the founder form's input shell and the plainer persona forms share one look. */
.tutor-expertise-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  cursor: text;
}

.tutor-expertise-shell input,
.tutor-application-form .tutor-expertise-shell input {
  flex: 1 1 140px;
  width: auto;
  min-width: 140px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--gray-900);
  font-size: var(--gf-text-body);
}

.tutor-expertise-shell input:focus {
  outline: 0;
  box-shadow: none;
}

.tutor-expertise-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: #EAF0FE;
  color: #2966F4;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-medium);
  line-height: 1.25;
  word-break: break-word;
}

.tutor-expertise-pill__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tutor-expertise-pill__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #2966F4;
  font-size: var(--gf-text-chip);
  line-height: 1;
  cursor: pointer;
}

.tutor-expertise-pill__remove:hover,
.tutor-expertise-pill__remove:focus-visible {
  background: rgba(41, 102, 244, 0.14);
  outline: 0;
}

.tutor-expertise-hint {
  margin: 6px 0 0;
  color: var(--gray-500);
  font-size: var(--gf-text-caption);
}

.tutor-application-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.tutor-application-form__actions > button {
  display: inline-flex;
  flex: 0 0 180px !important;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-width: 180px;
  height: 44px;
  box-sizing: border-box;
  white-space: nowrap;
  border-radius: 22px;
}

.tutor-application-form__actions > .premium_form_btn_secondary {
  padding: 10px 18px;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.tutor-application-form__actions .premium_modal_action_btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 1240px) {
  .premium_split_modal {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 960px;
    height: auto;
    max-height: 90vh;
  }

  .premium_split_modal_left {
    height: auto;
  }

  .premium_split_modal_right {
    height: auto;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .premium_split_modal {
    flex-direction: column;
    max-height: 95vh;
  }

  .premium_split_modal_left {
    width: 100%;
    height: 140px;
  }

  .premium_split_modal_right {
    width: 100%;
    padding: 32px 24px;
  }

  .premium_perks_grid {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    height: auto;
  }

  .premium_perk_card {
    width: 100%;
  }

  .premium_modal_close_btn {
    left: auto;
    right: 24px;
  }

  .premium_modal_footer_action .premium_modal_action_btn,
  .premium_modal_step_content--success .premium_modal_action_btn {
    width: 180px;
    min-width: 180px;
  }

  .tutor-application-form__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tutor-application-form__actions > button {
    width: 100%;
    min-width: 0;
    flex-basis: auto !important;
  }
}

/* Event Booking Modal */
.event-booking-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 15, 30, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
}

.event-booking-modal {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.18);
  width: 1000px;
  height: min(560px, 92vh);
  max-height: 92vh;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.event-booking-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #f2f4f7;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  cursor: pointer;
  z-index: 10;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.event-booking-modal-close:hover {
  background: #e9edf2;
  transform: scale(1.05);
}

.event-booking-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 12px;
  width: 400px;
  height: 100%;
  background: #f2f4f7;
  box-sizing: border-box;
  align-self: stretch;
  flex-shrink: 0;
}

.event-booking-title-left {
  width: 100%;
  height: 40px;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-bold);
  font-size: var(--gf-text-section);
  line-height: var(--gf-leading-section);
  display: flex;
  align-items: center;
  color: #0a0a0a;
  margin: 0;
}

.event-booking-card-preview {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  width: 100%;
  height: 340px;
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 24px;
  overflow: hidden;
  flex-shrink: 0;
}

.event-booking-card-image {
  width: 100%;
  height: 130px;
  background-size: cover;
  background-position: center;
  background-color: #eef1f5;
  flex-shrink: 0;
}

.event-booking-card-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  gap: 8px;
  width: 100%;
  height: 210px;
  box-sizing: border-box;
}

.event-booking-detail-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 12px;
  width: 100%;
  height: 30px;
  flex-shrink: 0;
}

.event-booking-detail-row svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #2966f4;
}

.event-booking-detail-row span {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  display: flex;
  align-items: center;
  color: #0a0a0a;
}

.event-booking-detail-row.text-muted span {
  color: #475467;
}

.event-booking-card-title {
  width: 100%;
  height: 30px;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  display: flex;
  align-items: center;
  color: #000000;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.indicator-dot {
  width: 6px;
  height: 6px;
  background: #d9d9d9;
  border-radius: 50%;
  flex-shrink: 0;
}

.overlapping-avatars {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  width: auto;
  height: 24px;
  min-width: 24px;
  flex-shrink: 0;
}

.overlapping-avatars img {
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  background: #eef1f5;
  border: 3px solid #ffffff;
  border-radius: 50%;
  margin-right: -8px;
  object-fit: cover;
  flex-shrink: 0;
}

.overlapping-avatars img:last-child {
  margin-right: 0;
}

.overlapping-avatars .event-booking-attendee-avatar {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  box-sizing: border-box;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #eff4ff;
  color: #2966f4;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
}

.overlapping-avatars .event-booking-attendee-avatar + .event-booking-attendee-avatar {
  margin-left: -8px;
}

.overlapping-avatars .event-booking-attendee-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--gf-text-caption);
  line-height: 1;
  color: inherit;
}

.overlapping-avatars .event-booking-attendee-avatar img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.event-booking-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  gap: 16px;
  width: 600px;
  height: 100%;
  background: #ffffff;
  box-sizing: border-box;
  align-self: stretch;
  flex-grow: 1;
}

.event-booking-progress {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  gap: 12px;
  width: calc(100% - 52px);
  height: 6px;
  align-self: flex-start;
  flex-shrink: 0;
  transform: translateY(15px);
}

.progress-segment {
  height: 6px;
  background: #f2f4f7;
  border-radius: 32px;
  flex-grow: 1;
  transition: background 240ms cubic-bezier(0.2, 0, 0, 1);
}

.progress-segment.active {
  background: #2966f4;
}

.event-booking-title-right {
  width: 100%;
  height: 36px;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
  display: flex;
  align-items: center;
  color: #0a0a0a;
  margin: 0;
  flex-shrink: 0;
}

.event-booking-step {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-self: stretch;
  flex: 1 1 auto;
}

.event-booking-pricing-rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
  flex-shrink: 0;
}

.pricing-detail-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  gap: 16px;
  align-self: stretch;
  flex-shrink: 0;
}

.pricing-detail-row .label {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  display: flex;
  align-items: center;
  letter-spacing: -0.2px;
  color: #475467;
  flex-grow: 1;
}

.pricing-detail-row .value {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  display: flex;
  align-items: center;
  text-align: right;
  letter-spacing: -0.2px;
  color: #000000;
  flex-shrink: 0;
}

.pricing-detail-row.total .label,
.pricing-detail-row.total .value {
  font-weight: var(--gf-weight-medium);
  color: #000000;
}

.event-booking-info-banner {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px;
  gap: 10px;
  background: rgba(41, 102, 244, 0.1);
  border-radius: 8px;
  align-self: stretch;
  flex-shrink: 0;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #2966f4;
}

.event-booking-footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 0px;
  gap: 12px;
  align-self: stretch;
  flex-grow: 0;
  margin-top: auto;
}

.btn-booking-back {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 11px 24px;
  gap: 10px;
  width: 172px;
  height: 49px;
  background: #f2f4f7;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  letter-spacing: -0.2px;
  color: #0a0a0a;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.btn-booking-back:hover {
  background: #e9edf2;
}

.btn-booking-primary {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 11px 24px;
  gap: 10px;
  width: 172px;
  height: 49px;
  background: #2966f4;
  border-radius: 32px;
  border: none;
  cursor: pointer;
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  letter-spacing: -0.2px;
  color: #ffffff;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.btn-booking-primary:hover {
  background: #2054cc;
}

.event-booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: stretch;
}

.event-booking-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-booking-form label {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
}

.event-booking-form input {
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #0a0a0a;
  outline: none;
  background: #ffffff;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.event-booking-form input:focus {
  border-color: #2966f4;
  box-shadow: 0 0 0 3px rgba(41, 102, 244, 0.12);
}

.event-booking-form .form-row {
  display: flex;
  gap: 16px;
}

.event-booking-form .form-group.half {
  flex: 1;
}

.event-booking-success-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
  box-sizing: border-box;
  padding: 24px;
}

.event-booking-success-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  gap: 16px;
}

.success-checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #2966f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2966f4;
  margin-bottom: 8px;
}

.success-checkmark-circle svg {
  width: 36px;
  height: 36px;
}

.event-booking-success-title {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-bold);
  font-size: var(--gf-text-section);
  line-height: var(--gf-leading-section);
  color: #2966f4;
  margin: 0;
}

.event-booking-success-description {
  font-family: var(--gf-font);
  font-style: normal;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #475467;
  max-width: 500px;
  margin: 0;
}

.event-booking-success-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #eef1f5;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .event-booking-modal {
    width: 95vw;
    max-width: 1000px;
    height: auto;
    max-height: 90vh;
    flex-direction: column;
    overflow-y: auto;
  }

  .event-booking-left,
  .event-booking-right {
    width: 100%;
    height: auto;
  }

  .event-booking-left {
    padding: 24px;
  }

  .event-booking-right {
    padding: 24px;
  }

  .event-booking-card-preview {
    width: 100%;
  }

  .event-booking-card-image {
    width: 100%;
  }

  .event-booking-progress {
    width: calc(100% - 52px);
  }

  .pricing-detail-row {
    width: 100%;
  }

  .event-booking-info-banner {
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .event-booking-footer {
    width: 100%;
    height: auto;
    margin-top: 16px;
  }
}

/* Ensure confetti canvas renders above the modal backdrop */
canvas {
  z-index: 100001 !important;
}

/* ── Daily Views Modal Redesign ── */
.dailyviews-left-col {
  flex: 1.8;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.dailyviews-stats-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.dailyviews-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  flex: 1;
  min-width: 0;
}

.dailyviews-stat-col:hover {
  background: #f8fafc;
}

.dailyviews-stat-col.active {
  background: #eef4ff;
}

.dailyviews-stat-num {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #0f172a;
  transition: color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dailyviews-stat-col.active .dailyviews-stat-num {
  color: #2966f4;
}

.dailyviews-stat-label {
  font-size: var(--gf-text-body-strong);
  color: #64748b;
  margin-top: 4px;
}

.dailyviews-chart-area {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-height: 280px;
  margin-top: 12px;
}

.dailyviews-chart-grid {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.dailyviews-grid-line {
  border-top: 1px solid #f1f5f9;
  width: 100%;
}

.dailyviews-bars-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  height: calc(100% - 30px);
  position: relative;
  z-index: 2;
  gap: 12px;
}

.dailyviews-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  height: 100%;
  justify-content: flex-end;
  cursor: pointer;
}

.dailyviews-bar-hitbox {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex: 1;
}

.dailyviews-bar {
  width: 32px;
  background-color: #dce7fe;
  border-radius: 8px 8px 0 0;
  transition:
    height 400ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 160ms cubic-bezier(0.2, 0, 0, 1);
  min-height: 8px;
}

.dailyviews-bar-group:hover .dailyviews-bar {
  background-color: #b5d1fe;
}

.dailyviews-bar-group.active .dailyviews-bar {
  background-color: #2966f4;
}

.dailyviews-bar-label {
  font-size: var(--gf-text-body-strong);
  color: #94a3b8;
  margin-top: 12px;
  text-align: center;
  font-weight: var(--gf-weight-medium);
}

.dailyviews-bar-group.active .dailyviews-bar-label {
  color: #2966f4;
  font-weight: var(--gf-weight-semibold);
}

/* Sidebar Custom Overlay */
.dailyviews-sidebar {
  flex: 1;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  box-shadow: 0 4px 20px -2px rgba(16, 24, 40, 0.03);
}

.dailyviews-sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.dailyviews-sidebar-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #0f172a;
  margin: 0;
}

.dailyviews-search-wrap {
  padding: 12px 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.dailyviews-search-wrap svg {
  position: absolute;
  left: 32px;
  color: #94a3b8;
}

.dailyviews-search-input {
  width: 100%;
  height: 46px;
  padding: 8px 16px 8px 38px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: var(--gf-text-body-strong);
  outline: none;
  font-family: inherit;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dailyviews-user-menu {
  width: 40px;
  height: 40px;
  overflow: visible;
}

.dailyviews-user-menu .gf-menu__trigger {
  width: 40px;
  height: 40px;
}

.dailyviews-user-menu > button:not(.gf-menu__trigger),
.dailyviews-user-menu > .alltime-more-dropdown {
  display: none !important;
}

.dailyviews-search-input:focus {
  background: #ffffff;
  border-color: #2966f4;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.08);
}

.dailyviews-list {
  flex: 1;
  overflow-y: auto;
  padding: 4px 12px 16px;
}

.dailyviews-list::-webkit-scrollbar {
  width: 6px;
}

.dailyviews-list::-webkit-scrollbar-track {
  background: transparent;
}

.dailyviews-list::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 3px;
}

.dailyviews-list-item {
  display: flex;
  align-items: center;
  padding: 8px 8px;
  border-radius: 12px;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.dailyviews-list-item:hover {
  background: #f8fafc;
}

/* Redesigned Close Button for Ask Ellis Drawer */
.founders_dashboard_ellis_head .founders_dashboard_notifications_close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  outline: none;
  transition:
    background-color 160ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 160ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.founders_dashboard_ellis_head .founders_dashboard_notifications_close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.founders_dashboard_ellis_head .founders_dashboard_notifications_close:active {
  transform: scale(0.95);
}

.founders_dashboard_ellis_head .founders_dashboard_notifications_close svg {
  width: 20px;
  height: 20px;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_ellis_head
  .founders_dashboard_notifications_close:hover
  svg {
  transform: rotate(90deg);
}

.founders_dashboard_ellis_head
  .founders_dashboard_notifications_close
  svg
  path {
  stroke: #ffffff !important;
  stroke-width: 2;
}

/* Company logos in Settings > Companies have rounded corners, clipping the image. */
.founders_dashboard_settings_company_logo {
  border-radius: 12px;
  overflow: hidden;
}

/* Premium Settings Layout & Interactive Styles (Matches Design Screenshot) */
.founders_dashboard_settings_page {
  display: grid;
  /* Narrowed 40% from the original 410px (which fit the longest section name,
     "Credentials & Verification", on one line), then widened back 15%, then
     +50px again. Let the flexible space between each label and chevron collapse
     before the label itself needs to wrap. */
  grid-template-columns: 333px minmax(0, 1fr) !important;
  /* Same as the dashboards' horizontal content padding (24px), so the page reads as one grid. */
  gap: 24px !important;
  align-items: stretch;
}

.founders_dashboard_settings_nav_item {
  display: grid;
  grid-template-columns: minmax(0, max-content) 24px;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 22px;
  box-sizing: border-box;
}

.founders_dashboard_settings_nav_item > span {
  white-space: normal;
  min-width: 0;
}

@media (max-width: 1280px) {
  .founders_dashboard_settings_page {
    grid-template-columns: 271px minmax(0, 1fr) !important;
    gap: 24px !important;
  }
}

.founders_dashboard_settings_panel {
  display: flex !important;
  flex-direction: column;
  /* Matches the section column so the footer actions can pin to the bottom. */
  height: 100%;
  min-height: unset !important;
  padding: 24px 16px !important;
  box-shadow: 0px 4px 16px rgba(16, 24, 40, 0.06) !important;
}

.founders_dashboard_settings_row {
  grid-template-columns: 1fr 440px !important;
  /* right input column is exactly 440px wide for neat alignment */
  gap: 32px !important;
}

.founders_dashboard_settings_sidebar_actions {
  /* Always pinned to the bottom of the rail, with breathing room above. */
  margin-top: auto !important;
  padding-top: 24px;
}

.founders_dashboard_settings_sidebar_action {
  height: 44px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 22px;
  box-sizing: border-box;
}

.founders_dashboard_settings_mobile_value.founders_dashboard_settings_input_shell,
.founders_dashboard_settings_mobile_value.founders_dashboard_settings_textarea_shell,
.founders_dashboard_settings_value.founders_dashboard_settings_input_shell,
.founders_dashboard_settings_value.founders_dashboard_settings_textarea_shell {
  padding: 0 !important;
}

.founders_dashboard_settings_mobile_value,
.founders_dashboard_settings_value {
  border: 1px solid transparent;
  transition:
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1),
    background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_settings_mobile_value:focus-within,
.founders_dashboard_settings_value:focus-within {
  background: #ffffff !important;
  border-color: #2966f4 !important;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.1) !important;
}

.founders_dashboard_settings_nav_item,
.founders_dashboard_settings_mobile_item {
  transition:
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_settings_nav_item:hover:not(.is-active),
.founders_dashboard_settings_mobile_item:hover:not(.is-active) {
  background: #f2f4f7;
  transform: translateX(4px);
}

.founders_dashboard_settings_nav_item:active,
.founders_dashboard_settings_mobile_item:active {
  transform: scale(0.98) translateX(0);
}

.founders_dashboard_settings_mobile_back {
  cursor: pointer;
  transition:
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_settings_mobile_back:hover {
  background: #f2f4f7;
  transform: translateX(-4px);
}

.founders_dashboard_settings_mobile_back:active {
  transform: scale(0.9) translateX(0);
}

/* Enable scrolling for both settings panel and settings section on desktop */
@media (min-width: 901px) {
  .founders_dashboard_settings_page {
    height: calc(
      100vh - var(--shell-topbar-height) - var(--shell-edge)
    ) !important;
    padding: var(--shell-panel-padding);
    box-sizing: border-box;
    overflow: hidden !important;
  }

  .founders_dashboard_settings_panel {
    height: 100% !important;
    overflow-y: auto !important;
    margin: 0 !important;
  }

  .founders_dashboard_settings_content {
    height: 100% !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .founders_dashboard_settings_section {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
  }

  /* Custom scrollbar styling for settings navigation and content. */
  .founders_dashboard_settings_panel::-webkit-scrollbar,
  .founders_dashboard_settings_content::-webkit-scrollbar {
    width: 6px;
  }

  .founders_dashboard_settings_panel::-webkit-scrollbar-track,
  .founders_dashboard_settings_content::-webkit-scrollbar-track {
    background: transparent;
  }

  .founders_dashboard_settings_panel::-webkit-scrollbar-thumb,
  .founders_dashboard_settings_content::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 3px;
  }
}

/* Keep settings navigation scrollable without showing the scrollbar track. */
.founders_dashboard_settings_panel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.founders_dashboard_settings_panel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Shared settings banner uses tab-specific data and scrolls with the settings content. */
.settings-section-banner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, clamp(150px, 15vw, 218px)) max-content;
  grid-auto-rows: max-content;
  align-items: center;
  gap: 20px;
  width: 100%;
  height: max-content;
  min-height: 0;
  max-height: none;
  margin-bottom: 0;
  padding: 24px;
  box-sizing: border-box;
  overflow: visible;
  border: 1px solid #e7eefb;
  border-radius: 24px;
  background-color: var(--settings-banner-tint, #eef5ff);
  background-image: var(--settings-banner-image, linear-gradient(112deg, var(--settings-banner-tint, #eef5ff) 0%, #ffffff 62%, var(--settings-banner-tint, #eef5ff) 100%));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.settings-section-banner-host {
  display: flow-root;
  margin-bottom: 24px;
}

.settings-section-banner__copy {
  display: grid;
  align-self: start;
  justify-items: start;
  gap: 0;
  min-width: 0;
  max-width: 520px;
}

.settings-section-banner__art,
.settings-section-banner__benefits { align-self: center; }

.settings-section-banner .settings-section-banner__copy h2 {
  margin: 0 0 10px;
  color: #101828;
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-semibold);
  line-height: 1.25;
}

.settings-section-banner__copy p {
  margin: 0;
  color: #475467;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.settings-section-banner__copy .settings-section-banner__eyebrow {
  margin: 0 0 10px;
  color: var(--settings-banner-accent, #3977e8);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: 1.3;
  text-transform: uppercase;
}

.settings-education-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #2966f4;
  color: #fff;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  white-space: nowrap;
  cursor: pointer;
}

.settings-education-add:hover {
  background: #1f57db;
}

.settings-section-banner__art {
  display: grid;
  min-width: 0;
  place-items: center;
}

.settings-section-banner__art svg {
  display: block;
  width: min(100%, 280px);
  height: auto;
  transform: translateX(-30%);
}

.settings-section-banner__benefits {
  display: grid;
  gap: 14px;
  justify-items: start;
  min-width: 0;
}

.settings-section-banner__benefit {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
}

.settings-section-banner__icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--settings-banner-accent, #2966f4);
}

.settings-section-banner__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.settings-section-banner__benefit > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.settings-section-banner__benefit strong {
  color: #101828;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
}

.settings-section-banner__benefit span:not(.settings-section-banner__icon) {
  color: #475467;
  font-size: var(--gf-text-caption);
  line-height: var(--gf-leading-body);
}

/* Benefit copy is a single line at every desktop width; phones may wrap. */
@media (min-width: 641px) {
  .settings-section-banner__benefit strong,
  .settings-section-banner__benefit span:not(.settings-section-banner__icon) {
    white-space: nowrap;
  }
}

.settings-education-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
  margin-top: 0;
}

.settings-education-history {
  min-width: 0;
  border: 1px solid #eaecf0;
  border-radius: 24px;
  background: #fff;
}

.settings-education-history {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 24px;
}

.settings-education-history__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eaecf0;
}

.settings-education-history__head h3 {
  margin: 0;
  color: #101828;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

.settings-education-history__list {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding-top: 16px;
}

.settings-education-history__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  background: #fff;
}

.settings-education-history__main {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  min-width: 0;
}

.settings-education-history__mark {
  display: grid;
  width: 84px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #f3f6fc;
  color: #245fe5;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
}

.settings-education-history__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.settings-education-history__copy h4,
.settings-education-history__copy p {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.settings-education-history__copy h4 {
  color: #101828;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

.settings-education-history__school,
.settings-education-history__dates {
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.settings-education-history__meta,
.settings-education-history__highlights {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 8px;
}

.settings-education-history__meta span,
.settings-education-history__highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 8px;
  background: #f3f6fc;
  color: #475467;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  overflow-wrap: anywhere;
}

.settings-education-history__highlights span.is-honors {
  background: #ecfdf3;
  color: #067647;
}

.settings-education-history__highlights span.is-grade {
  background: #f3f6fc;
  color: #475467;
}

.settings-education-history__highlights span.is-description {
  background: #eff6ff;
  color: #245fe5;
}

.settings-education-history__side,
.settings-education-history__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.settings-education-history__status {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  white-space: nowrap;
}

.settings-education-history__status.is-completed {
  background: #ecfdf3;
  color: #067647;
}

.settings-education-history__status.is-current {
  background: #eff6ff;
  color: #245fe5;
}

.settings-education-history__edit,
.settings-education-history__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  white-space: nowrap;
  cursor: pointer;
}

.settings-education-history__edit {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #245fe5;
}

.settings-education-history__edit:hover {
  background: #f8faff;
}

.settings-education-history__remove {
  border: 1px solid transparent;
  background: transparent;
  color: #d92d20;
}

.settings-education-history__remove:hover {
  background: #fef3f2;
}

.settings-education-history .gf-empty-host.gf-empty-host--section {
  min-height: 280px;
}

.settings-education-history .gf-empty-state__art {
  width: min(154px, 68%);
}

.settings-education-history .gf-empty-state__description {
  color: #667085;
  max-width: 360px;
}

.settings-education-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "school degree"
    "start end"
    "current current";
  gap: 24px !important;
  align-items: start;
}

.settings-education-form > .settings-education-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.settings-education-field--school { grid-area: school; }
.settings-education-field--degree { grid-area: degree; }
.settings-education-field--start { grid-area: start; }
.settings-education-field--end { grid-area: end; }

.settings-education-field .founders_dashboard_settings_copy h2,
.settings-education-field .founders_dashboard_settings_mobile_copy h2,
.settings-education-field--current h2 {
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body);
}

.settings-education-form .founders_dashboard_settings_field_group,
.settings-education-form .founders_dashboard_settings_mobile_field_group {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.settings-education-form .founders_dashboard_settings_input_shell {
  width: 100%;
  min-width: 0;
  min-height: 52px;
}

.settings-education-form .founders_dashboard_settings_input {
  width: 100%;
  min-width: 0;
}

.settings-education-form > .settings-education-field--current {
  grid-area: current;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 52px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid #eaecf0;
  border-bottom: 1px solid #eaecf0;
  background: transparent;
}

.settings-education-field--current .founders_dashboard_settings_value,
.settings-education-field--current .founders_dashboard_settings_mobile_value {
  display: flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  background: transparent;
}

.settings-education-switch {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 26px;
  margin: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #d0d5dd;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.settings-education-switch::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 24 40 / 20%);
  content: "";
  transition: transform 140ms ease;
}

.settings-education-switch:checked {
  background: #2966f4;
}

.settings-education-switch:checked::before {
  transform: translateX(18px);
}

.settings-education-switch:focus-visible {
  outline: 3px solid rgb(41 102 244 / 25%);
  outline-offset: 2px;
}

.settings-education-actions {
  display: flex;
  justify-content: flex-end;
  grid-column: 1 / -1;
  gap: 24px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eaecf0;
}

.settings-education-actions .founders_dashboard_settings_head_action,
.settings-education-actions .founders_dashboard_settings_save_btn {
  width: auto;
  min-width: 120px;
  min-height: 48px;
}

.add-money-modal.settings-education-modal {
  width: min(920px, 100%);
}

.settings-education-modal-head {
  border-bottom: 1px solid #eaecf0;
}

.settings-education-modal-head .dashboard-modal-title {
  color: #101828;
}

.settings-education-modal-head .add-money-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

.settings-education-modal-head .add-money-close:disabled {
  cursor: wait;
  opacity: 0.65;
}

.settings-education-modal-body {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 24px;
  min-height: 0;
  overflow-y: auto;
}

.settings-education-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.settings-education-modal-grid .gf-field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

.settings-education-modal-grid .gf-field > span {
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.settings-education-modal-grid .gf-field__control {
  width: 100%;
  min-width: 0;
  min-height: 56px;
}

.settings-education-modal-grid .gf-field__control select {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101828;
  font: inherit;
  font-size: var(--gf-text-body);
}

.settings-education-modal-grid__wide {
  grid-column: 1 / -1;
}

.settings-education-modal-grid__textarea {
  min-height: 104px !important;
  padding: 12px 16px;
}

.settings-education-modal-grid__textarea textarea {
  width: 100%;
  min-height: 78px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: #101828;
  font: inherit;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.settings-education-entry {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e4e7ec;
  border-radius: 24px;
  background: #fff;
}

.settings-education-entry__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.settings-education-entry__head h3 {
  margin: 0;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
}

.settings-education-entry__remove {
  flex: 0 0 auto;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #b42318;
  font: inherit;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  cursor: pointer;
}

.settings-education-entry__remove:hover:not(:disabled) {
  background: #fef3f2;
}

.settings-education-entry__remove:disabled {
  cursor: wait;
  opacity: 0.6;
}

.settings-education-add-another {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #245fe5;
  font: inherit;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.settings-education-add-another > span {
  font-size: var(--gf-text-card);
  line-height: 1;
}

.settings-education-add-another:hover:not(:disabled) {
  background: #f5f8ff;
  border-color: #9bb8ff;
}

.settings-education-add-another:disabled {
  cursor: wait;
  opacity: 0.6;
}

.settings-education-modal-current {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #eaecf0;
  cursor: pointer;
}

.settings-education-modal-current > span {
  display: grid;
  gap: 4px;
  color: #344054;
  font-size: var(--gf-text-body);
}

.settings-education-modal-current small {
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.settings-education-modal-current .settings-education-switch {
  flex: 0 0 44px !important;
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  height: 26px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  appearance: none !important;
}

.settings-education-modal-current .settings-education-switch:focus-visible {
  outline: 3px solid rgb(41 102 244 / 24%);
  outline-offset: 3px;
}

.settings-education-modal-error {
  margin: 0;
  color: #b42318;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.settings-education-modal-footer .add-money-btn {
  min-width: 132px;
  min-height: 48px;
}

.settings-education-modal-footer .add-money-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.gf-notification-preferences {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.gf-notification-preferences > h2 {
  color: #101828;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

.gf-notification-preferences > p {
  margin-top: -10px;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.gf-notification-preferences section.founders_dashboard_settings_row,
.gf-notification-preferences section.founders_dashboard_settings_mobile_row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid #eaecf0;
  border-radius: 24px;
  background: #fff;
}

.gf-notification-preferences .founders_dashboard_settings_copy h2,
.gf-notification-preferences .founders_dashboard_settings_mobile_copy h2 {
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
}

.gf-notification-preferences section > div[style*="display:grid"],
.gf-notification-preferences section > div[style*="width:100%"] {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px !important;
  min-width: 0;
}

.gf-notification-preferences label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px !important;
  min-width: 0;
  min-height: 48px;
  padding: 8px 0 !important;
  border-bottom: 1px solid #f2f4f7;
  color: #344054;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  cursor: pointer;
}

.gf-notification-preferences label > span:first-child {
  min-width: 0;
}

.gf-notification-preferences input[type="checkbox"][role="switch"] {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 26px;
  margin: 0;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #d0d5dd;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.gf-notification-preferences input[type="checkbox"][role="switch"]::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 24 40 / 20%);
  content: "";
  transition: transform 140ms ease;
}

.gf-notification-preferences input[type="checkbox"][role="switch"]:checked {
  background: #2966f4;
}

.gf-notification-preferences input[type="checkbox"][role="switch"]:checked::before {
  transform: translateX(18px);
}

.gf-notification-preferences input[type="checkbox"][role="switch"]:focus-visible {
  outline: 3px solid rgb(41 102 244 / 25%);
  outline-offset: 2px;
}

.gf-notification-preferences input[type="checkbox"][role="switch"]:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.founders_dashboard_settings_row.gf-notification-push,
.founders_dashboard_settings_mobile_row.gf-notification-push {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid #eaecf0;
  border-radius: 24px;
  background: #fff;
}

.gf-notification-push p {
  margin-top: 4px;
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.gf-notification-push p.is-active {
  color: #067647;
}

.gf-notification-push__control {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.gf-notification-push .gf-notification-push__toggle {
  width: auto;
  min-width: 96px !important;
  min-height: 40px !important;
  height: 40px;
  padding: 0 16px !important;
  font-size: var(--gf-text-control);
}

.gf-notification-push .gf-notification-push__toggle.is-enabled {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054 !important;
}

.gf-notification-push .gf-notification-push__toggle.is-enabled:hover:not(:disabled) {
  background: #f9fafb;
}

@media (max-width: 420px) {
  .founders_dashboard_settings_mobile_row.gf-notification-push {
    grid-template-columns: minmax(0, 1fr);
  }

  .gf-notification-push__control {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .add-money-modal.settings-education-modal {
    width: 100%;
    max-height: calc(100dvh - 24px);
  }

  .settings-education-modal-body {
    padding-top: 20px;
  }

  .settings-education-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .settings-education-modal-footer .add-money-btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .settings-education-form,
  .settings-education-form--mobile {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "school"
      "degree"
      "start"
      "current"
      "end";
    gap: 16px !important;
  }

  .settings-education-actions {
    flex-wrap: wrap;
  }

  .gf-notification-preferences section > div[style*="display:grid"],
  .gf-notification-preferences section > div[style*="width:100%"] {
    grid-template-columns: minmax(0, 1fr);
  }

  .gf-notification-preferences section.founders_dashboard_settings_row,
  .gf-notification-preferences section.founders_dashboard_settings_mobile_row {
    padding: 16px;
  }
}

@media (max-width: 860px) {
  .settings-education-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Medium desktop widths give the copy column less room, so the banner title steps
   down one size to stay on a single line. */
@media (max-width: 1600px) {
  .settings-section-banner .settings-section-banner__copy h2 {
    font-size: var(--gf-text-card);
  }
}

@media (max-width: 1150px) {
  .settings-section-banner__art {
    display: none;
  }

  .settings-section-banner {
    grid-template-columns: minmax(200px, 1fr) minmax(0, clamp(150px, 15vw, 218px)) max-content;
    grid-template-areas: "copy art benefits";
  }

  .settings-section-banner__art { grid-area: art; }

  .settings-section-banner__copy { grid-area: copy; }
  .settings-section-banner__benefits { grid-area: benefits; }
}

/* Under 1400px the copy needs the full width to keep its title on one line and the
   description on two, so the benefit list drops beneath it as a straight list. */
@media (max-width: 1150px) {
  .settings-section-banner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "benefits";
    gap: 16px;
  }

  .settings-section-banner__copy { grid-area: copy; }
  .settings-section-banner__benefits { grid-area: benefits; }
}

@media (max-width: 1200px) {
  .settings-section-banner {
    min-height: 0;
    height: max-content;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .settings-section-banner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "benefits";
    gap: 16px;
    padding: 16px;
    height: max-content;
    max-height: none;
    overflow: visible;
  }

  .settings-section-banner .settings-section-banner__copy h2 {
    font-size: var(--gf-text-card);
  }

  .settings-section-banner__art svg {
    width: min(100%, 220px);
  }

  .settings-section-banner__benefits {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .settings-education-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .settings-education-history {
    min-height: 320px;
    padding: 16px;
  }

  .settings-education-history__head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .settings-education-history__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .settings-education-history__main {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
  }

  .settings-education-history__mark {
    width: 64px;
  }

  .settings-education-history__side {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .settings-education-actions {
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .settings-education-history .gf-empty-host.gf-empty-host--section {
    min-height: 230px;
  }

}

.founders_dashboard_settings_mobile_head h1,
.founders_dashboard_settings_head h1,
.founders_dashboard_settings_mobile_detail_head h1 {
  font-size: var(--gf-text-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  line-height: var(--gf-leading-card) !important;
  color: #101828 !important;
  letter-spacing: -0.02em !important;
}

.founders_dashboard_settings_nav_item,
.founders_dashboard_settings_mobile_item {
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #344054 !important;
  line-height: var(--gf-leading-body) !important;
}

/* The selected section sits on the blue pill, so its label and chevron are white. */
.founders_dashboard_settings_nav_item.is-active,
.founders_dashboard_settings_mobile_item.is-active {
  color: #ffffff !important;
}

.founders_dashboard_settings_copy h2,
.founders_dashboard_settings_mobile_copy h2 {
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  line-height: var(--gf-leading-body) !important;
  color: #101828 !important;
  letter-spacing: -0.01em !important;
}

.founders_dashboard_settings_copy p,
.founders_dashboard_settings_mobile_copy p {
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-regular) !important;
  line-height: var(--gf-leading-body) !important;
  color: #667085 !important;
}

.founders_dashboard_settings_credentials_value.is-select > svg {
  color: #667085 !important;
}

.founders_dashboard_settings_credentials_select_menu {
  gap: 4px !important;
  padding: 8px !important;
}

.founders_dashboard_settings_company_description > span,
.founders_dashboard_settings_company_modal_logo_block > span,
.founders_dashboard_settings_company_modal_field > span,
.founders_dashboard_settings_verification_field > span,
.founders_dashboard_settings_verification_field > label {
  color: #344054 !important;
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  line-height: var(--gf-leading-body) !important;
}

/* Standardized Settings Input & Placeholder Typography */
.founders_dashboard_settings_input,
.founders_dashboard_settings_textarea,
.founders_dashboard_settings_credentials_input,
.founders_dashboard_settings_select_search_input,
.founders_dashboard_settings_company_modal_field input,
.founders_dashboard_settings_company_modal_field textarea,
.founders_dashboard_settings_deactivate_feedback_field textarea,
.founders_dashboard_settings_verification_field input,
.founders_dashboard_settings_verification_textarea,
.founders_dashboard_settings_value input,
.founders_dashboard_settings_value select,
.founders_dashboard_settings_value textarea,
[class*="founders_dashboard_settings_"] input,
[class*="founders_dashboard_settings_"] textarea {
  font-size: var(--gf-text-body) !important;
  font-family: var(--gf-font) !important;
  font-weight: var(--gf-weight-regular) !important;
  line-height: var(--gf-leading-body) !important;
  color: #101828 !important;
}

.founders_dashboard_settings_input::placeholder,
.founders_dashboard_settings_textarea::placeholder,
.founders_dashboard_settings_credentials_input::placeholder,
.founders_dashboard_settings_select_search_input::placeholder,
.founders_dashboard_settings_company_modal_field input::placeholder,
.founders_dashboard_settings_company_modal_field textarea::placeholder,
.founders_dashboard_settings_deactivate_feedback_field textarea::placeholder,
.founders_dashboard_settings_verification_field input::placeholder,
.founders_dashboard_settings_verification_textarea::placeholder,
.founders_dashboard_settings_value input::placeholder,
.founders_dashboard_settings_value textarea::placeholder,
[class*="founders_dashboard_settings_"] input::placeholder,
[class*="founders_dashboard_settings_"] textarea::placeholder,
[class*="founders_dashboard_settings_"] ::placeholder {
  font-size: var(--gf-text-body) !important;
  font-family: var(--gf-font) !important;
  font-weight: var(--gf-weight-regular) !important;
  line-height: var(--gf-leading-body) !important;
  color: #98a2b3 !important;
  opacity: 1 !important;
}

.founders_dashboard_settings_verification_form
  > .founders_dashboard_settings_verification_field:first-child {
  margin-top: 8px !important;
}

/* Dashboard root font size fix to resolve rem/px inconsistency */
html:has(.founders_dashboard_page) {
  font-size: var(--gf-text-body) !important;
}

/* Reset main.css global heading sizes inside the dashboard */
.founders_dashboard h1,
.founders_dashboard_page h1 {
  font-size: var(--gf-text-section);
  line-height: var(--gf-leading-section);
}

.founders_dashboard h2,
.founders_dashboard_page h2 {
  font-size: var(--gf-text-section);
  line-height: var(--gf-leading-section);
}

.founders_dashboard h3,
.founders_dashboard_page h3 {
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
}

.founders_dashboard h4,
.founders_dashboard_page h4 {
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.founders_dashboard h5,
.founders_dashboard_page h5 {
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.founders_dashboard h6,
.founders_dashboard_page h6 {
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

/* ═══════════════════════════════════════════
   NEW TUTORIAL MODAL (nt-*)
   ═══════════════════════════════════════════ */
:root {
  --nt-blue: #2966f4;
  --nt-gray-100: #f2f4f7;
  --nt-gray-300: #d0d5dd;
  --nt-gray-400: #98a2b3;
  --nt-gray-500: #667085;
  --nt-gray-600: #475467;
  --nt-dark: #0a0a0a;
  --nt-white: #ffffff;
  --nt-radius-pill: 32px;
}

/* ---------- overlay ---------- */
.nt-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* ---------- modal shell ---------- */
.nt-modal {
  width: 1120px;
  max-width: 96vw;
  height: 820px;
  max-height: 90vh;
  background: var(--nt-white);
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  border-radius: var(--nt-radius-pill);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nt-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 32px;
  gap: 24px;
  overflow-y: auto;
}

/* ---------- top row: title + close ---------- */
.nt-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}

.nt-title {
  font-weight: var(--gf-weight-bold);
  font-size: var(--gf-text-section);
  line-height: var(--gf-leading-section);
  color: #000;
  margin: 0;
}

.nt-close {
  width: 56px;
  height: 56px;
  border-radius: 32px;
  background: var(--nt-gray-100);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}

.nt-close svg {
  width: 24px;
  height: 24px;
}

.nt-close:hover {
  background: var(--nt-gray-300);
}

/* ---------- stepper ---------- */
.nt-stepper-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nt-step-labels {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.nt-step-labels span {
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  letter-spacing: -0.2px;
  color: var(--nt-gray-400);
  cursor: pointer;
  user-select: none;
}

.nt-step-labels span.active,
.nt-step-labels span.done {
  color: var(--nt-blue);
}

.nt-step-labels span:first-child {
  text-align: left;
}

.nt-step-labels span:last-child {
  text-align: right;
}

.nt-progress {
  display: flex;
  align-items: center;
  width: 100%;
}

.nt-dot {
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  border-radius: 200px;
  border: 3px solid var(--nt-gray-300);
  flex: none;
  transition: border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-dot.active,
.nt-dot.done {
  border-color: var(--nt-blue);
}

.nt-line {
  height: 3px;
  background: var(--nt-gray-300);
  flex: 1;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-line.done {
  background: var(--nt-blue);
}

/* ---------- step heading ---------- */
.nt-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.nt-heading h2 {
  margin: 0;
  font-weight: var(--gf-weight-bold);
  font-size: var(--gf-text-section);
  line-height: var(--gf-leading-section);
  color: #000;
}

.nt-heading p {
  margin: 0;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: var(--nt-gray-600);
}

/* ---------- form field primitives ---------- */
.nt-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nt-field label {
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  letter-spacing: -0.2px;
  color: #000;
}

.nt-field .nt-hint {
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-body-strong);
  line-height: var(--gf-leading-body-strong);
  color: var(--nt-gray-500);
  margin-top: -8px;
}

.nt-input,
.nt-textarea,
.nt-select,
.nt-tag-input {
  width: 100%;
  background: var(--nt-gray-100);
  border-radius: 32px;
  border: none;
  padding: 16px;
  font-family: inherit;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: var(--nt-dark);
  outline: none;
}

.nt-input::placeholder,
.nt-textarea::placeholder,
.nt-tag-input::placeholder {
  color: var(--nt-gray-500);
}

.nt-textarea {
  min-height: 154px;
  resize: vertical;
}

/* A create-wizard field the current step still needs; the message sits under the field. */
.nt-input.is-invalid,
.nt-textarea.is-invalid,
.nt-select.is-invalid,
.nt-price-input.is-invalid {
  box-shadow: inset 0 0 0 1px #d92d20;
}

.nt-field-error {
  margin: 6px 0 0;
  color: #b42318;
  font-weight: var(--gf-weight-medium);
}

.nt-select-wrap {
  position: relative;
  width: 100%;
}

.nt-select {
  appearance: none;
  cursor: pointer;
}

.nt-select-wrap svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.nt-row {
  width: 100%;
  display: flex;
  gap: 24px;
}

.nt-row > .nt-field {
  flex: 1;
}

/* ---------- landing page uploads ---------- */
.nt-upload {
  width: 100%;
  aspect-ratio: 16/7.3;
  background: var(--nt-gray-100);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border: none;
}

.nt-upload img,
.nt-upload video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nt-upload .nt-upload-copy {
  font-size: var(--gf-text-body);
  color: #0a0a0a;
  font-weight: var(--gf-weight-medium);
}

.nt-upload .nt-upload-sub {
  font-size: var(--gf-text-body);
  color: var(--nt-gray-500);
}

.nt-upload .nt-upload-sub b {
  color: var(--nt-blue);
  font-weight: var(--gf-weight-medium);
}

.nt-upload svg {
  width: 28px;
  height: 28px;
}

.nt-play {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(41, 102, 244, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- curriculum builder ---------- */
.nt-curr-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nt-pill-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--nt-gray-100);
  border-radius: 32px;
  padding: 12px 20px;
  font-size: var(--gf-text-body);
  color: #000;
}

.nt-pill-stat span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nt-rearrange {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--nt-gray-100);
  border-radius: 32px;
  padding: 12px 20px;
  font-size: var(--gf-text-body);
  color: #000;
  border: none;
  cursor: pointer;
}

.nt-chapter-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nt-chapter-card {
  background: var(--nt-gray-100);
  border-radius: 24px;
  padding: 24px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
}

.nt-chapter-card.new {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
}

.nt-chapter-card.new .plus {
  font-size: var(--gf-text-card);
  line-height: 1;
  margin-bottom: 6px;
}

.nt-chapter-card.new .title {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.nt-chapter-card.new .sub {
  font-size: var(--gf-text-body);
  color: var(--nt-gray-500);
}

.nt-chapter-card.filled {
  background: var(--nt-white);
  border-color: var(--nt-gray-300);
}

.nt-chapter-card .ch-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #000;
}

.nt-chapter-card .ch-desc {
  font-size: var(--gf-text-body);
  color: var(--nt-gray-500);
}

.nt-chapter-card .ch-meta {
  margin-top: auto;
  font-size: var(--gf-text-body-strong);
  color: var(--nt-gray-600);
  display: flex;
  gap: 8px;
  align-items: center;
}

.nt-chapter-empty {
  min-height: 170px;
  border-radius: 24px;
  background: #fafbfc;
}

/* ---------- pricing ---------- */
.nt-price {
  font-size: var(--gf-text-page);
  font-weight: var(--gf-weight-bold);
  color: var(--nt-gray-300);
}

.nt-price.filled {
  color: #000;
}

.nt-checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.nt-checklist-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--gf-text-body);
  color: #000;
}

.nt-checklist-item .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--nt-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.nt-checklist-note {
  color: var(--nt-gray-600);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

/* ---------- footer ---------- */
.nt-footer {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: var(--nt-white);
  border-top: 1px solid var(--nt-gray-300);
}

.nt-btn {
  border: none;
  border-radius: 30px;
  padding: 12px 22px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  letter-spacing: -0.1px;
  cursor: pointer;
  font-family: inherit;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-btn-ghost {
  background: var(--nt-gray-100);
  color: var(--nt-dark);
}

.nt-btn-ghost:hover {
  background: var(--nt-gray-300);
}

.nt-btn-primary {
  background: var(--nt-blue);
  color: #fff;
}

.nt-btn-primary:hover {
  background: #2054cc;
}

.nt-footer-right {
  display: flex;
  gap: 16px;
}

/* ---------- step panels ---------- */
.nt-step-panel {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.nt-step-panel.active {
  display: flex;
}

/* ---------- nested chapter modal ---------- */
.nt-sub-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 40, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
}

.nt-sub-overlay.open {
  display: flex;
}

.nt-sub-modal {
  width: 820px;
  max-width: 92vw;
  max-height: 85vh;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.nt-sub-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
  flex: 1;
}

.nt-sub-body::-webkit-scrollbar {
  width: 6px;
}

.nt-sub-body::-webkit-scrollbar-track {
  background: transparent;
}

.nt-sub-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.nt-sub-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.nt-sub-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nt-sub-head h3 {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  margin: 0;
}

.nt-sub-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 20px 32px;
  border-top: 1px solid var(--nt-gray-300);
  background: #fff;
  flex-shrink: 0;
}

/* ---------- confirmation / success modal ---------- */
.nt-modal.nt-modal-success {
  width: 620px;
  height: auto;
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 28px;
  transition: none;
}

.nt-confirm {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.nt-confirm.active {
  display: flex;
}

.nt-confirm-icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #2966f4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.nt-confirm-title {
  color: #2966f4;
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  margin: 0;
  max-width: 480px;
  line-height: var(--gf-leading-section);
  letter-spacing: -0.3px;
}

.nt-confirm-desc {
  color: #64748b;
  font-size: var(--gf-text-body);
  max-width: 460px;
  margin: 0;
  line-height: var(--gf-leading-body);
}

.nt-confirm-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 32px;
  border-top: 1px solid #e2e8f0;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

.nt-price-input {
  font-size: var(--gf-text-page);
  font-weight: var(--gf-weight-bold);
  color: #0f172a;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  letter-spacing: -0.5px;
  width: 100%;
  max-width: 280px;
}

.nt-price-input::placeholder {
  color: #cbd5e1;
  font-weight: var(--gf-weight-regular);
}

@media (max-width: 900px) {
  .nt-row {
    flex-direction: column;
  }

  .nt-chapter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nt-step-labels span {
    font-size: var(--gf-text-body);
  }
}

/* ---------- Chapter Resources & Sub-Modal Enhancements ---------- */
.nt-field-sub {
  font-size: var(--gf-text-body);
  color: #64748b;
  margin-top: -4px;
  margin-bottom: 8px;
  font-weight: var(--gf-weight-regular);
}

.nt-resource-upload {
  background: #f1f5f9;
  border-radius: 20px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  border: 2px dashed transparent;
  user-select: none;
}

.nt-resource-upload:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.nt-resource-upload-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  margin-bottom: 12px;
}

.nt-resource-upload-icon svg {
  width: 32px;
  height: 32px;
}

.nt-resource-upload-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #0f172a;
  margin-bottom: 6px;
}

.nt-resource-upload-sub {
  font-size: var(--gf-text-body);
  color: #64748b;
}

.nt-resource-upload-sub .nt-upload-link {
  color: #2966f4;
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.nt-resource-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.nt-resource-item {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nt-resource-bar {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: #ebf3ff;
  z-index: 1;
  border-radius: 15px;
  transition: width 240ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-resource-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 14px;
}

.nt-resource-file-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e0e7ff;
  color: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nt-resource-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nt-resource-status {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #2966f4;
}

.nt-resource-name {
  font-size: var(--gf-text-body-strong);
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nt-resource-menu-wrap {
  position: relative;
}

.nt-resource-menu-btn {
  background: transparent;
  border: none;
  color: #0f172a;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-resource-menu-btn:hover {
  background: #f1f5f9;
}

.nt-resource-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 16px 40px -4px rgba(16, 24, 40, 0.14),
    0 6px 16px -2px rgba(16, 24, 40, 0.08);
  min-width: 180px;
  padding: 8px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nt-resource-dropdown-item {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 12px 18px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #0f172a;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
}

.nt-resource-dropdown-item:hover {
  background: #f8fafc;
}

.nt-resource-dropdown-item.danger:hover {
  background: #fef2f2;
  color: #ef4444;
}

.nt-btn-pill-ghost {
  background: #f1f5f9;
  color: #0f172a;
  border-radius: 9999px;
  font-weight: var(--gf-weight-semibold);
  padding: 12px 24px;
  border: none;
  font-size: var(--gf-text-body);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-btn-pill-ghost:hover {
  background: #e2e8f0;
}

.nt-btn-pill-primary {
  background: #2966f4;
  color: #ffffff;
  border-radius: 9999px;
  font-weight: var(--gf-weight-semibold);
  padding: 12px 28px;
  border: none;
  font-size: var(--gf-text-body);
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-btn-pill-primary:hover {
  background: #2054cc;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.nt-rename-modal {
  width: 480px;
  max-width: 90vw;
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.16);
  display: flex;
  flex-direction: column;
}

.nt-input-with-ext {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
}

.nt-input-with-ext .nt-input {
  padding-right: 75px;
  width: 100%;
}

.nt-file-ext-badge {
  position: absolute;
  right: 12px;
  background: #f1f5f9;
  color: #475569;
  font-weight: var(--gf-weight-semibold);
  font-size: var(--gf-text-body-strong);
  padding: 4px 8px;
  border-radius: 6px;
  user-select: none;
  pointer-events: none;
  text-transform: lowercase;
}

/* Chapter Card & More Menu Dropdown */
.nt-chapter-card {
  position: relative;
}

.nt-chapter-card.disabled-card {
  opacity: 0.7;
  background: #f8fafc;
}

.nt-ch-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.nt-ch-icon-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nt-ch-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.nt-ch-disabled-pill {
  background: #f1f5f9;
  color: #64748b;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.nt-ch-dots-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-ch-dots-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.nt-chapter-dropdown {
  position: absolute;
  top: 48px;
  right: 16px;
  width: 170px;
  background: #ffffff;
  border-radius: 16px;
  padding: 8px 0;
  box-shadow:
    0px 12px 32px -4px rgba(16, 24, 40, 0.12),
    0px 4px 12px -2px rgba(16, 24, 40, 0.08);
  border: 1px solid #f1f5f9;
  z-index: 50;
}

.nt-ch-menu-item {
  width: 100%;
  padding: 10px 16px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  color: #1e293b;
  cursor: pointer;
  text-align: left;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-ch-menu-item:hover {
  background: #f8fafc;
}

.nt-ch-menu-item .plus-icon {
  stroke: #2966f4;
}

/* Chapter Select Box inside Modal */
.nt-ch-select-wrap {
  position: relative;
  width: 100%;
}

.nt-ch-select-btn {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-ch-select-btn:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.nt-ch-select-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nt-ch-select-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  flex-shrink: 0;
}

.nt-ch-select-icon.small {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.nt-ch-select-info .ch-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #1e293b;
  margin-bottom: 2px;
}

.nt-ch-select-info .ch-desc {
  font-size: var(--gf-text-body-strong);
  color: #64748b;
}

.chevron-icon {
  color: #64748b;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.chevron-icon.open {
  transform: rotate(180deg);
}

.nt-ch-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0px 12px 32px -4px rgba(16, 24, 40, 0.12);
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
}

.nt-ch-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-ch-select-item:hover {
  background: #f8fafc;
}

.nt-ch-select-item.selected {
  background: #eff6ff;
}

.nt-ch-select-item .item-title {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #1e293b;
}

.nt-ch-select-item .item-desc {
  font-size: var(--gf-text-body-strong);
  color: #64748b;
}

.nt-lesson-label {
  display: block;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #0f172a;
  margin-bottom: 8px;
}

.nt-lesson-input {
  width: 100%;
  box-sizing: border-box;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 14px 20px;
  font-size: var(--gf-text-body);
  color: #0f172a;
  outline: none;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  font-family: inherit;
}

.nt-lesson-input:focus {
  background: #ffffff;
  border-color: #2966f4;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.nt-lesson-input::placeholder {
  color: #94a3b8;
}

.nt-lesson-video-upload {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-lesson-video-upload:hover {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.nt-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.nt-upload-cloud-icon {
  margin-bottom: 4px;
}

.nt-upload-main-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #0f172a;
}

.nt-upload-sub-text {
  font-size: var(--gf-text-body-strong);
  color: #64748b;
}

.nt-upload-sub-text .nt-upload-link {
  color: #2966f4;
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.nt-lesson-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 32px;
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

.nt-btn-pill-ghost {
  background: #f1f5f9;
  color: #334155;
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  font-family: inherit;
}

.nt-btn-pill-ghost:hover {
  background: #e2e8f0;
}

.nt-btn-pill-primary {
  background: #2966f4;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  padding: 10px 24px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  font-family: inherit;
}

.nt-btn-pill-primary:hover {
  background: #2054cc;
}

/* New Lesson Modal */
.nt-lesson-modal {
  width: 680px;
  max-width: 92vw;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0px 24px 64px -12px rgba(16, 24, 40, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #f1f5f9;
}

.nt-lesson-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 20px 32px;
  flex-shrink: 0;
}

.nt-lesson-modal-header h2 {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: #0f172a;
  margin: 0;
}

.nt-close-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-close-circle-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.nt-lesson-modal-body {
  padding: 0 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  flex: 1;
}

.nt-lesson-modal-body::-webkit-scrollbar {
  width: 6px;
}

.nt-lesson-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.nt-lesson-modal-body::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.nt-lesson-modal-body::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Uploaded Video Card Preview */
.nt-video-card-preview {
  position: relative;
  width: 100%;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 14px;
  background: #000000;
  box-shadow: 0 8px 24px -4px rgba(16, 24, 40, 0.12);
}

.nt-video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-video-card-preview:hover .nt-video-thumb {
  transform: scale(1.02);
}

.nt-video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.15);
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.nt-video-card-preview:hover .nt-video-play-overlay {
  background: rgba(15, 23, 42, 0.25);
}

.nt-video-play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2966f4;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    background-color 160ms cubic-bezier(0.2, 0, 0, 1);
  padding-left: 3px;
}

.nt-video-play-btn:hover {
  transform: scale(1.1);
  background: #2054cc;
}

.nt-video-remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  z-index: 2;
}

.nt-video-remove-btn:hover {
  background: rgba(225, 29, 72, 0.85);
}

/* Wallet / earnings popover */
.wallet-earnings-popover {
  width: min(480px, calc(100vw - 32px)) !important;
  max-height: min(680px, calc(100vh - 96px));
  overflow-y: auto !important;
  border-radius: 24px !important;
  padding: 20px;
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: rgba(152, 162, 179, 0.22) transparent;
}

.wallet-earnings-popover::-webkit-scrollbar {
  width: 5px;
}

.wallet-earnings-popover::-webkit-scrollbar-track {
  background: transparent;
}

.wallet-earnings-popover::-webkit-scrollbar-thumb {
  background: rgba(152, 162, 179, 0.2);
  border-radius: 999px;
}

.wallet-earnings-popover:hover::-webkit-scrollbar-thumb {
  background: rgba(152, 162, 179, 0.38);
}

.wallet-earnings-header {
  padding: 0 0 18px !important;
}

.wallet-earnings-title {
  font-family: var(--gf-font);
  font-size: var(--gf-text-section) !important;
  font-weight: var(--gf-weight-bold) !important;
  color: #0a0a0a !important;
}

.wallet-balance-card {
  margin: 0 0 12px !important;
  min-height: 112px;
  padding: 20px !important;
  border-radius: 16px !important;
  background: #2966f4 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.wallet-balance-label {
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body);
  font-weight: var(--gf-weight-semibold) !important;
}

.wallet-balance-value {
  display: block;
  margin-top: 4px;
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-section) !important;
  line-height: var(--gf-leading-section);
  font-weight: var(--gf-weight-bold) !important;
}

.wallet-withdraw-button {
  min-width: 112px;
  padding: 11px 18px !important;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-regular) !important;
}

.wallet-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.wallet-quick-action {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 16px;
  background: #f2f4f7;
  color: #101828;
  font: var(--gf-weight-regular) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.wallet-quick-action:hover {
  background: #e9edf2;
}
.wallet-quick-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}
.wallet-quick-action:disabled:hover,
.wallet-quick-action:disabled:active {
  background: #f2f4f7;
  transform: none;
}
.wallet-quick-action:active {
  transform: scale(0.985);
}

.wallet-quick-action svg {
  width: 24px;
  height: 24px;
}

.wallet-transactions-header {
  padding: 0 6px 10px !important;
}

.wallet-transactions-title {
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-regular) !important;
}

.wallet-transactions-more {
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #2966f4 !important;
}

.wallet-transactions-table {
  padding: 0 !important;
}

.wallet-transactions-table th {
  padding: 11px 7px !important;
  font-size: var(--gf-text-control) !important;
}

.wallet-transactions-table td {
  padding: 12px 7px !important;
  font-size: var(--gf-text-body) !important;
}

.wallet-transactions-table th:first-child {
  border-radius: 999px 0 0 999px !important;
}

.wallet-transactions-table th:last-child {
  border-radius: 0 999px 999px 0 !important;
}

@media (max-width: 640px) {
  .wallet-earnings-popover {
    position: fixed !important;
    top: 72px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-height: calc(100vh - 84px);
    padding: 18px;
    border-radius: 22px !important;
  }

  .wallet-balance-card {
    min-height: 112px;
    padding: 18px !important;
  }

  .wallet-balance-value {
    font-size: var(--gf-text-section) !important;
  }

  .wallet-withdraw-button {
    min-width: 0;
    font-size: var(--gf-text-body) !important;
  }

  .wallet-quick-action {
    min-height: 88px;
  }
}

/* Add money flow */
.add-money-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(16, 24, 40, 0.58);
  backdrop-filter: blur(8px);
}

.add-money-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(820px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.2);
  font-family: var(--gf-font);
}

.add-money-modal.is-receipt {
  width: min(594px, 100%);
  max-height: calc(100vh - 32px);
  background: #f4f6fb;
}

.add-money-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px 14px;
  background: #fff;
}

.add-money-modal.is-receipt .add-money-head {
  padding: 20px 24px 10px;
  background: #f4f6fb;
}

.add-money-modal.is-receipt .add-money-head h2 {
  font-size: var(--gf-text-card);
}

.add-money-head h2 {
  margin: 0;
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
}

.add-money-close {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  cursor: pointer;
}

.add-money-close svg {
  width: 26px;
  height: 26px;
}

.add-money-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 32px 24px;
  background: #fff;
}

.add-money-modal.is-receipt .add-money-body {
  padding: 0 20px;
  background: #f4f6fb;
}

.add-money-modal.is-receipt .add-money-content {
  max-width: none;
}

.add-money-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 16px 44px;
}

.add-money-step {
  position: relative;
  color: #98a2b3;
  font-size: var(--gf-text-body);
}

.add-money-step:nth-child(2) {
  text-align: center;
}

.add-money-step:nth-child(3) {
  text-align: right;
}

.add-money-step::after {
  content: "";
  position: absolute;
  top: 48px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #d0d5dd;
}

.add-money-step:first-child::after {
  left: 24px;
  width: calc(100% - 24px);
}

.add-money-step:last-child::after {
  width: calc(100% - 24px);
}

.add-money-dot {
  position: absolute;
  z-index: 1;
  top: 37px;
  left: 0;
  width: 18px;
  height: 18px;
  border: 3px solid #d0d5dd;
  border-radius: 50%;
  background: #fff;
}

.add-money-step:nth-child(2) .add-money-dot {
  left: calc(50% - 12px);
}

.add-money-step:nth-child(3) .add-money-dot {
  left: auto;
  right: 0;
}

.add-money-step.is-active {
  color: #2966f4;
}

.add-money-step.is-done::after {
  background: #2966f4;
}

.add-money-step.is-active .add-money-dot {
  border-color: #2966f4;
}

.add-money-step.is-done .add-money-dot {
  border-color: #2966f4;
  background: #2966f4;
}

.add-money-content {
  max-width: 720px;
  margin: 0 auto;
}

/* The saved-bank loader inside the withdrawal modal sits centered under the intro,
   matching the settings panel instead of hugging the left edge. */
.add-money-content .wallet-payment-methods-loading {
  justify-content: center;
  padding: 24px 0;
  text-align: center;
}

.add-money-intro {
  text-align: center;
  margin-bottom: 18px;
}

/* One step below the modal title, so "Select Receiver" reads as a step heading rather than the
   page title. The 28px section token made the step louder than "Send Money" itself. */
.add-money-intro h3 {
  margin: 0 0 6px;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: 1.3;
}

.add-money-intro p {
  margin: 0;
  color: #667085;
  font-size: var(--gf-text-label);
  line-height: 1.4;
}

.add-money-field {
  margin-bottom: 22px;
}

.add-money-field label {
  display: block;
  margin-bottom: 6px;
  font-size: var(--gf-text-body);
}

.add-money-field small {
  display: block;
  margin-bottom: 10px;
  color: #667085;
  font-size: var(--gf-text-body);
}

.add-money-input-wrap {
  position: relative;
  padding: 12px 18px;
  border: 1px solid #d0d5dd;
  border-radius: 16px;
}
.add-money-input-wrap:has(+ .add-money-info),
.add-money-input-wrap:has(+ .withdrawal-details) {
  z-index: 1;
  border-radius: 16px;
  background: #ffffff;
}
.add-money-input-wrap span {
  display: block;
  color: #667085;
  font-size: var(--gf-text-body);
}

.add-money-input,
.add-money-select {
  width: 100%;
  padding: 13px 18px;
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: #f2f4f7;
  color: #101828;
  font: var(--gf-weight-regular) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
}

.add-money-input-wrap .add-money-input {
  padding: 4px 0 0 24px;
  border-radius: 0;
  background: #fff;
  font-size: var(--gf-text-card);
}

.add-money-input-wrap:has(> input[type="number"])::after {
  content: "$";
  position: absolute;
  left: 18px;
  bottom: 12px;
  color: #667085;
  font-size: var(--gf-text-card);
  line-height: 1;
  pointer-events: none;
}

.add-money-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.add-money-amount {
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #f2f4f7;
  color: #101828;
  font-size: var(--gf-text-card);
  cursor: pointer;
}

.add-money-amount.is-selected {
  border-color: #2966f4;
  background: #eaf0ff;
}

.add-money-info {
  position: relative;
  z-index: 0;
  margin-top: -12px;
  padding: 22px 18px 12px;
  border: 1px solid #d0d5dd;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: #f2f4f7;
}

.add-money-info div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #101828;
  font-size: var(--gf-text-body);
  padding: 10px 0;
}

.add-money-info div + div {
  border-top: 1px dashed #d0d5dd;
}

.add-money-info strong {
  color: #2966f4;
  font-weight: var(--gf-weight-medium);
}
.add-money-info + .add-money-amounts {
  margin-top: 28px;
}
.add-money-review {
  overflow: hidden;
  border-radius: 18px;
  background: #f2f4f7;
}

/* The saved-bank list is a panel of cards, so it needs inset so the row borders
   and their rounded corners are not clipped by the panel's own overflow. */
.add-money-review:has(.add-money-row.is-selectable) {
  padding: 16px;
}

.add-money-review section {
  padding: 20px;
}

.add-money-review section + section {
  border-top: 1px solid #d0d5dd;
}

.wallet-payment-methods-loading {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  color: #667085;
  font-size: var(--gf-text-body);
}

.wallet-payment-methods-error {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: #b42318;
  font-size: var(--gf-text-body);
}

.wallet-payout-setup > .wallet-payment-methods-error {
  grid-column: 1;
  grid-row: 2;
  justify-content: center;
  text-align: center;
}

.wallet-payment-methods-error span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wallet-payment-methods-error button {
  border: 0;
  background: transparent;
  color: #2966f4;
  font: inherit;
  cursor: pointer;
}

.wallet-payout-setup-error-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.wallet-payout-setup-fallback {
  grid-column: 1;
  grid-row: 3;
  margin: 0;
  color: #475467;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.wallet-payout-setup-fallback button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #2966f4;
  font: inherit;
  cursor: pointer;
}

.wallet-payout-setup-fallback button:disabled {
  color: #98a2b3;
  cursor: default;
}

.wallet-payout-supported-countries {
  grid-column: 1;
  grid-row: 3;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  color: #344054;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.wallet-payout-supported-countries summary {
  color: #2966f4;
  cursor: pointer;
  font-weight: var(--gf-weight-regular);
}

.wallet-payout-supported-countries p {
  max-height: 180px;
  margin: 10px 0 0;
  overflow: auto;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.wallet-payout-account-empty {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 18px;
  border-radius: 12px;
  background: #f2f4f7;
  color: #475467;
}

.wallet-payout-account-empty p {
  line-height: 1.5;
}

.wallet-payout-account-empty .add-money-btn {
  width: auto;
  min-width: 92px;
  min-height: 48px;
  font-size: var(--gf-text-body);
}

.wallet-payout-account-error {
  margin: 12px 0 0;
  color: #b42318;
  font-size: var(--gf-text-body);
}

.wallet-payout-settings {
  display: grid;
  gap: 16px;
  width: 100%;
}

.wallet-payout-settings > .wallet-payment-methods-loading {
  display: flex;
  width: 100%;
  min-height: min(50vh, 360px);
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wallet-payout-settings-list {
  width: 100%;
  max-width: 720px;
  border-top: 1px solid #eaecf0;
}

.wallet-payout-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid #eaecf0;
}

.wallet-payout-settings-row > span {
  display: grid;
  gap: 4px;
}

.wallet-payout-settings-row strong {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.wallet-payout-settings-row small,
.wallet-payout-settings-empty,
.wallet-payout-settings-note {
  color: #667085;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.wallet-payout-settings-empty,
.wallet-payout-settings-note {
  margin: 0;
}

/* The settings panel is a grid, so a bare button stretches edge to edge. The
   add-bank CTA under an existing list keeps the standard size, aligned left. */
.wallet-payout-settings > .add-money-btn {
  width: auto;
  min-width: 92px;
  min-height: 48px;
  justify-self: start;
  font-size: var(--gf-text-body);
}

/* The setup grid places the form host explicitly, so every row is assigned: the title
   leads, the form (or its loading/error state) sits under it, then the extras. */
.wallet-payout-setup .add-money-btn {
  grid-column: 1;
  grid-row: 4;
  width: auto;
  min-height: 48px;
  min-width: 92px;
  justify-self: start;
}

.wallet-payout-setup {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  padding: 16px;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #fff;
}

.wallet-payout-setup-host {
  grid-column: 1;
  grid-row: 2;
  min-height: 280px;
}

/* The payout setup is one guide for every state; the wrapper only positions it, so the
   page never shows a second card around the guide's own card. */
.wallet-payout-setup--guide {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.wallet-payout-setup > .wallet-payment-methods-loading {
  z-index: 1;
  grid-column: 1;
  grid-row: 2;
  min-height: 280px;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.wallet-payout-settings-empty-state {
  justify-items: center;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 32px auto 0;
  padding: 0 16px;
  background: transparent;
  color: #344054;
}

.wallet-payout-settings-empty-state .gf-empty-host {
  min-height: 0;
  flex: none;
}

.wallet-payout-settings-empty-state .gf-empty-state {
  min-height: 0;
  gap: 12px;
  padding: 0;
}

.wallet-payout-settings-empty-state .gf-empty-state__title,
.wallet-payout-settings-empty-state .gf-empty-state__description {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.wallet-payout-settings-empty-state .gf-empty-state__art {
  width: min(174px, 55%);
}

.wallet-payout-settings-empty-state .add-money-btn {
  font-size: var(--gf-text-control);
}

.wallet-payout-setup-host stripe-connect-account-onboarding {
  display: block;
  width: 100%;
}

.wallet-payout-loading-guide {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
  width: 100%;
  padding: 30px 32px;
  border: 1px solid #e1e5ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  color: #182230;
  font-family: var(--gf-font, Arial, sans-serif);
  box-sizing: border-box;
}

.wallet-payout-loading-guide__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wallet-payout-loading-guide__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  background: #eef2ff;
  color: #3164f4;
}

.wallet-payout-loading-guide__icon svg {
  width: 22px;
  height: 22px;
}

.wallet-payout-loading-guide__header > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.wallet-payout-loading-guide__header strong {
  color: #182230;
  font-size: var(--gf-text-card);
  line-height: 1.25;
}

.wallet-payout-loading-guide__header small {
  color: #475467;
  font-size: var(--gf-text-body);
  line-height: 1.4;
}

.wallet-payout-loading-guide__columns {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.12fr);
  gap: 24px;
  min-width: 0;
}

.wallet-payout-loading-status {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid #d9e3ff;
  border-radius: 18px;
  background: #f5f7ff;
  box-sizing: border-box;
  text-align: center;
}

.wallet-payout-loading-status__ring {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  margin-bottom: 18px;
  border: 6px solid #dce5ff;
  border-top-color: #3164f4;
  border-radius: 50%;
  color: #3164f4;
  animation: wallet-payout-loading-spin 1s linear infinite;
  box-sizing: border-box;
}

.wallet-payout-loading-status__ring svg {
  width: 21px;
  height: 21px;
  animation: wallet-payout-loading-counter-spin 1s linear infinite;
}

.wallet-payout-loading-status > strong {
  color: #182230;
  font-size: var(--gf-text-card);
  line-height: 1.4;
}

.wallet-payout-loading-status > p {
  max-width: 300px;
  margin: 6px 0 16px;
  color: #475467;
  font-size: var(--gf-text-body);
  line-height: 1.4;
}

.wallet-payout-loading-status__progress {
  display: block;
  width: min(220px, 100%);
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5ff;
}

.wallet-payout-loading-status__progress > span {
  display: block;
  width: 30%;
  height: 100%;
  border-radius: inherit;
  background: #3164f4;
  animation: wallet-payout-loading-progress 1.6s ease-in-out infinite;
}

.wallet-payout-loading-preview {
  display: flex;
  min-width: 0;
  min-height: 400px;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid #e1e5ec;
  border-radius: 18px;
  background: #fff;
  box-sizing: border-box;
}

.wallet-payout-loading-preview > strong {
  margin-bottom: 4px;
  color: #667085;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-bold);
  line-height: 1.4;
}

.wallet-payout-loading-preview__line,
.wallet-payout-loading-preview__field,
.wallet-payout-loading-preview__row i,
.wallet-payout-loading-preview__row b,
.wallet-payout-loading-preview__button {
  display: block;
  border-radius: 999px;
  background: linear-gradient(100deg, #eef0f4 20%, #f5f6f8 45%, #eef0f4 70%);
  background-size: 220% 100%;
  animation: wallet-payout-loading-shimmer 1.8s ease-in-out infinite;
}

.wallet-payout-loading-preview__line {
  height: 12px;
}

.wallet-payout-loading-preview__line--short {
  width: 100px;
}

.wallet-payout-loading-preview__line--medium {
  width: 140px;
  margin-top: 6px;
}

.wallet-payout-loading-preview__field {
  height: 48px;
}

.wallet-payout-loading-preview__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.wallet-payout-loading-preview__row > span {
  display: grid;
  gap: 8px;
}

.wallet-payout-loading-preview__row i {
  width: 110px;
  height: 12px;
}

.wallet-payout-loading-preview__row b {
  height: 48px;
}

.wallet-payout-loading-preview__button {
  width: 160px;
  height: 48px;
  margin-top: 12px;
}

.wallet-payout-loading-guide__footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #eaecf0;
  background: #fff;
}

.wallet-payout-loading-guide__footer p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #475467;
  font-size: var(--gf-text-caption);
  line-height: 1.4;
}

.wallet-payout-loading-guide__footer p svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #3164f4;
}

/* Payout setup shell — one card for the whole bank-setup flow. The loading, ready and
   error states only swap what the two columns hold, so the panel never changes shape while
   the embedded form is being fetched. */
.wallet-payout-setup-shell {
  display: grid;
  gap: 26px;
  width: 100%;
  padding: 30px 32px;
  border: 1px solid #e1e5ec;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  box-sizing: border-box;
}

.wallet-payout-setup-shell__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wallet-payout-setup-shell__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  background: #eef2ff;
  color: #3164f4;
}

.wallet-payout-setup-shell__icon svg {
  width: 22px;
  height: 22px;
}

.wallet-payout-setup-shell__header > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.wallet-payout-setup-shell__header strong {
  color: #182230;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

.wallet-payout-setup-shell__header small {
  color: #475467;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  line-height: var(--gf-leading-body);
}

.wallet-payout-setup-shell__columns {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  /* The embedded form grows as the reader works through it; the guidance card keeps its own
     height instead of stretching to match it. */
  align-items: start;
  gap: 24px;
  min-width: 0;
}

.wallet-payout-setup-loading-card,
.wallet-payout-setup-error-card,
.wallet-payout-setup-brief {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px;
  border-radius: 18px;
  box-sizing: border-box;
  text-align: center;
}

.wallet-payout-setup-loading-card {
  border: 1px solid #d9e3ff;
  background: #f5f7ff;
}

.wallet-payout-setup-loading-card__ring {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  margin-bottom: 8px;
  border: 6px solid #dce5ff;
  border-top-color: #3164f4;
  border-radius: 50%;
  color: #3164f4;
  box-sizing: border-box;
  animation: wallet-payout-setup-spin 1s linear infinite;
}

.wallet-payout-setup-loading-card__ring svg {
  width: 21px;
  height: 21px;
  animation: wallet-payout-setup-counter-spin 1s linear infinite;
}

.wallet-payout-setup-loading-card > strong,
.wallet-payout-setup-error-card > strong,
.wallet-payout-setup-brief > strong {
  color: #182230;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
}

.wallet-payout-setup-loading-card > p,
.wallet-payout-setup-error-card > p {
  max-width: 320px;
  margin: 0;
  color: #475467;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  line-height: var(--gf-leading-body);
}

.wallet-payout-setup-loading-card__progress {
  display: block;
  width: min(220px, 100%);
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #dce5ff;
}

.wallet-payout-setup-loading-card__progress > span {
  display: block;
  width: 30%;
  height: 100%;
  border-radius: inherit;
  background: #3164f4;
  animation: wallet-payout-setup-progress 1.6s ease-in-out infinite;
}

.wallet-payout-setup-error-card {
  border: 1px solid #ffc9c3;
  background: #fff4f2;
}

.wallet-payout-setup-error-card__icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  margin-bottom: 6px;
  border: 10px solid #ffe4e1;
  border-radius: 50%;
  background: #dc2b20;
  color: #ffffff;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: 1;
  box-sizing: border-box;
}

.wallet-payout-setup-error-card > strong {
  color: #a32118;
}

.wallet-payout-setup-error-card > p {
  color: #b42318;
}

.wallet-payout-setup-error-card > button {
  display: inline-flex;
  min-width: 168px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 6px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #3263ed;
  color: #ffffff;
  font: inherit;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.wallet-payout-setup-error-card > button:hover {
  background: #2454d7;
}

.wallet-payout-setup-error-card > button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.wallet-payout-setup-error-card > small {
  margin-top: 4px;
  color: #667085;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-normal);
  line-height: var(--gf-leading-caption);
}

.wallet-payout-setup-brief {
  align-items: flex-start;
  border: 1px solid #e1e5ec;
  background: #f8fafc;
  text-align: left;
}

.wallet-payout-setup-brief__icon {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 16px;
  background: #eef2ff;
  color: #3164f4;
}

.wallet-payout-setup-brief__icon svg {
  width: 24px;
  height: 24px;
}

.wallet-payout-setup-brief__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #475467;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-normal);
  line-height: var(--gf-leading-body);
}

.wallet-payout-setup-brief__list li {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.wallet-payout-setup-brief__list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: #3164f4;
}

.wallet-payout-setup-brief > p {
  margin: 4px 0 0;
  color: #667085;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-normal);
  line-height: var(--gf-leading-caption);
}

.wallet-payout-setup-form {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 400px;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid #e1e5ec;
  border-radius: 18px;
  background: #ffffff;
  box-sizing: border-box;
}

.wallet-payout-setup-form > strong {
  margin-bottom: 4px;
  color: #98a2b3;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-medium);
  letter-spacing: 0.08em;
  line-height: var(--gf-leading-caption);
  text-transform: uppercase;
}

.wallet-payout-setup-form .wallet-payout-setup-host {
  width: 100%;
  flex: 1 1 auto;
  min-height: 292px;
}

.wallet-payout-setup-skeleton {
  position: absolute;
  inset: 58px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 14px;
  background: #ffffff;
}

.wallet-payout-setup-skeleton__line,
.wallet-payout-setup-skeleton__field,
.wallet-payout-setup-skeleton__row i,
.wallet-payout-setup-skeleton__row b,
.wallet-payout-setup-skeleton__button {
  display: block;
  border-radius: 999px;
  background: linear-gradient(100deg, #eef0f4 20%, #f5f6f8 45%, #eef0f4 70%);
  background-size: 220% 100%;
  animation: wallet-payout-setup-shimmer 1.8s ease-in-out infinite;
}

.wallet-payout-setup-skeleton__line {
  height: 12px;
}

.wallet-payout-setup-skeleton__line--short {
  width: 100px;
}

.wallet-payout-setup-skeleton__line--medium {
  width: 140px;
  margin-top: 6px;
}

.wallet-payout-setup-skeleton__field {
  height: 48px;
}

.wallet-payout-setup-skeleton__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.wallet-payout-setup-skeleton__row > span {
  display: grid;
  gap: 8px;
}

.wallet-payout-setup-skeleton__row i {
  width: 110px;
  height: 12px;
}

.wallet-payout-setup-skeleton__row b {
  height: 48px;
}

.wallet-payout-setup-skeleton__button {
  width: 160px;
  height: 48px;
  margin-top: 12px;
}

.wallet-payout-setup-skeleton__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #ffc9c3;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 5px 14px rgba(16, 24, 40, 0.08);
  color: #b42318;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-caption);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.wallet-payout-setup-skeleton__badge svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.wallet-payout-setup-shell__footer {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #eaecf0;
  background: #ffffff;
}

.wallet-payout-setup-shell__footer p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #475467;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-normal);
  line-height: var(--gf-leading-caption);
}

.wallet-payout-setup-shell__footer p svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #3164f4;
}

.wallet-payout-setup-shell__footer .add-money-btn.secondary {
  width: auto;
  min-width: 172px;
  min-height: 44px;
  flex: 0 0 auto;
  border: 1px solid #d0d5dd;
  background: #ffffff;
  color: #344054;
  font-size: var(--gf-text-control);
}

/* While the form is being fetched (or after it failed) the host stays in the flow — an
   embedded form cannot paint into a collapsed box — so it is covered instead of hidden. */
.wallet-payout-setup--loading .wallet-payout-setup-host,
.wallet-payout-setup--error .wallet-payout-setup-host {
  opacity: 0;
  pointer-events: none;
}

@keyframes wallet-payout-setup-spin {
  to { transform: rotate(360deg); }
}

@keyframes wallet-payout-setup-counter-spin {
  to { transform: rotate(-360deg); }
}

@keyframes wallet-payout-setup-progress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(330%); }
}

@keyframes wallet-payout-setup-shimmer {
  to { background-position: -220% 0; }
}

@media (max-width: 760px) {
  .wallet-payout-setup-shell {
    gap: 20px;
    padding: 20px;
    border-radius: 18px;
  }

  .wallet-payout-setup-shell__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .wallet-payout-setup-loading-card,
  .wallet-payout-setup-error-card,
  .wallet-payout-setup-brief,
  .wallet-payout-setup-form {
    min-height: 300px;
  }

  .wallet-payout-setup-brief {
    padding: 20px;
  }

  .wallet-payout-setup-form {
    padding: 18px;
  }

  .wallet-payout-setup-form .wallet-payout-setup-host {
    min-height: 260px;
  }

  .wallet-payout-setup-skeleton {
    inset: 52px 18px 18px;
  }
}

@media (max-width: 480px) {
  .wallet-payout-setup-shell__header strong {
    font-size: var(--gf-text-body);
  }

  .wallet-payout-setup-shell__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .wallet-payout-setup-shell__footer .add-money-btn.secondary {
    width: 100%;
  }
}

.wallet-payout-error-status {
  display: flex;
  min-height: 400px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid #ffc9c3;
  border-radius: 18px;
  background: #fff4f2;
  box-sizing: border-box;
  text-align: center;
}

.wallet-payout-error-status__icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  margin-bottom: 16px;
  border: 10px solid #ffe4e1;
  border-radius: 50%;
  background: #dc2b20;
  color: #fff;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: 1;
  box-sizing: border-box;
}

.wallet-payout-error-status > strong {
  color: #a32118;
  font-size: var(--gf-text-card);
  line-height: 1.4;
}

.wallet-payout-error-status > p {
  max-width: 320px;
  margin: 6px 0 16px;
  color: #b42318;
  font-size: var(--gf-text-body);
  line-height: 1.4;
}

.wallet-payout-error-status > button {
  display: inline-flex;
  min-width: 168px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #3263ed;
  color: #fff;
  font: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.wallet-payout-error-status > button:hover {
  background: #2454d7;
}

.wallet-payout-error-status > button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.wallet-payout-error-status > small {
  margin-top: 14px;
  color: #667085;
  font-size: var(--gf-text-caption);
  line-height: 1.4;
}

.wallet-payout-error-preview {
  position: relative;
}

.wallet-payout-error-preview__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #ffc9c3;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(16, 24, 40, 0.08);
  color: #b42318;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.wallet-payout-error-preview__badge svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

@keyframes wallet-payout-loading-spin {
  to { transform: rotate(360deg); }
}

@keyframes wallet-payout-loading-counter-spin {
  to { transform: rotate(-360deg); }
}

@keyframes wallet-payout-loading-progress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(330%); }
}

@keyframes wallet-payout-loading-shimmer {
  to { background-position: -220% 0; }
}

.wallet-payout-country-guide {
  display: grid;
  gap: 26px;
  padding: 30px 32px;
  border: 1px solid #e1e5ec;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}

.wallet-payout-country-guide__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wallet-payout-country-guide__icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 15px;
  background: #eef2ff;
  color: #3164f4;
}

.wallet-payout-country-guide__icon svg {
  width: 22px;
  height: 22px;
}

.wallet-payout-country-guide__header > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.wallet-payout-country-guide__header strong {
  color: #182230;
  font-size: var(--gf-text-card);
  line-height: 1.25;
}

.wallet-payout-country-guide__header small {
  color: #475467;
  font-size: var(--gf-text-body);
  line-height: 1.4;
}

.wallet-payout-country-guide__columns {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.12fr);
  gap: 24px;
  min-width: 0;
}

.wallet-payout-country-alert {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  border: 1px solid #ffc9c3;
  border-radius: 18px;
  background: #fff4f2;
}

.wallet-payout-country-alert__message {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  color: #a32118;
}

.wallet-payout-country-alert__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #ffe6e3;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
}

.wallet-payout-country-alert__message strong {
  display: block;
  font-size: var(--gf-text-body);
  line-height: 1.4;
}

.wallet-payout-country-alert__message p {
  margin: 4px 0 0;
  color: #b42318;
  font-size: var(--gf-text-body);
  line-height: 1.45;
}

.wallet-payout-country-alert__route {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #c42318;
}

.wallet-payout-country-alert__route > div {
  display: grid;
  width: 100%;
  gap: 2px;
  padding: 11px 14px;
  border: 1px solid #ffc9c3;
  border-radius: 14px;
  background: #fff;
}

.wallet-payout-country-route-arrow {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-payout-country-alert__route small {
  color: #667085;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-bold);
}

.wallet-payout-country-alert__route strong {
  color: #182230;
  font-size: var(--gf-text-body);
  line-height: 1.35;
}

.wallet-payout-country-alert__route strong.is-unsupported {
  color: #b42318;
}

.wallet-payout-country-alert__retry {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #3263ed;
  color: #fff;
  font: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.wallet-payout-country-alert__retry:disabled {
  opacity: 0.65;
  cursor: wait;
}

.wallet-payout-country-alert__retry svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-payout-country-list {
  display: grid;
  min-width: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #e1e5ec;
  border-radius: 18px;
  background: #f9fafb;
}

.wallet-payout-country-list > header {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-bottom: 1px solid #e1e5ec;
  background: #fff;
  color: #182230;
}

.wallet-payout-country-list > header strong {
  font-size: var(--gf-text-body);
}

.wallet-payout-country-list__count {
  display: inline-flex;
  min-width: 28px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3164f4;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-bold);
}

.wallet-payout-country-list > header svg {
  width: 20px;
  height: 20px;
  margin-left: auto;
  fill: none;
  stroke: #667085;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wallet-payout-country-list__body {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: 16px 20px;
}

.wallet-payout-country-search {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #667085;
}

.wallet-payout-country-search svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.wallet-payout-country-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #182230;
  font: inherit;
  font-size: var(--gf-text-body);
}

.wallet-payout-country-chips {
  display: flex;
  max-height: 270px;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  overflow: auto;
  padding: 0 2px 2px 0;
}

.wallet-payout-country-chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e1e5ec;
  border-radius: 999px;
  background: #fff;
  color: #182230;
  font-size: var(--gf-text-caption);
  white-space: nowrap;
}

.wallet-payout-country-chip small {
  color: #667085;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
}

.wallet-payout-country-list__empty {
  margin: 8px 0;
  color: #667085;
  font-size: var(--gf-text-body);
}

.wallet-payout-country-guide__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border: 0;
  border-top: 1px solid #eaecf0;
  background: #fff;
  box-shadow: none;
}

.wallet-payout-country-guide__footer p {
  margin: 0;
  color: #667085;
  font-size: var(--gf-text-caption);
}

.wallet-payout-country-guide__footer .add-money-btn {
  width: auto;
  min-width: 172px;
  min-height: 44px;
  flex: 0 0 auto;
  font-size: var(--gf-text-caption);
}

@media (max-width: 760px) {
  .wallet-payout-country-guide {
    gap: 20px;
    padding: 20px;
    border-radius: 18px;
  }

  .wallet-payout-country-guide__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .wallet-payout-country-alert {
    padding: 18px;
  }

  .wallet-payout-country-list__body {
    padding: 14px;
  }

  .wallet-payout-loading-guide {
    gap: 20px;
    padding: 20px;
    border-radius: 18px;
  }

  .wallet-payout-loading-guide__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .wallet-payout-loading-status,
  .wallet-payout-loading-preview,
  .wallet-payout-error-status {
    min-height: 300px;
  }

}

@media (max-width: 480px) {
  .wallet-payout-country-guide__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .wallet-payout-country-guide__footer .add-money-btn {
    width: 100%;
  }

  .wallet-payout-loading-guide__header strong {
    font-size: var(--gf-text-card);
  }

  .wallet-payout-loading-guide__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .wallet-payout-loading-guide__footer .add-money-btn {
    width: 100%;
  }
}

.add-money-footer .withdrawal-footer-actions {
  display: flex;
  gap: 12px;
}

.add-money-review h4 {
  display: flex;
  justify-content: space-between;
  margin: 0 0 14px;
  font-size: var(--gf-text-body);
}

.add-money-review button {
  border: 0;
  background: none;
  color: #2966f4;
  font: inherit;
  cursor: pointer;
}

.add-money-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 9px 0;
  color: #667085;
}

.add-money-row strong {
  color: #101828;
  font-weight: var(--gf-weight-medium);
  text-align: right;
}
.add-money-method-summary {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.add-money-method-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 24px;
  flex: 0 0 36px;
  color: #2966f4;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
}
.add-money-method-icon svg {
  width: 20px;
  height: 20px;
}
.add-money-row.is-selectable {
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 8px 0;
  padding: 14px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  transition:
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

/* Radio affordance: hollow ring, filled dot once the bank is chosen. */
.add-money-row.is-selectable::before {
  content: "";
  box-sizing: border-box;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #d0d5dd;
  border-radius: 50%;
  background: #fff;
}

.add-money-row.is-selectable > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.add-money-row.is-selectable > span > strong {
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body);
  text-align: left;
}

.add-money-row.is-selectable > span > small {
  color: #667085;
  font-size: var(--gf-text-caption);
  line-height: 1.45;
}

.add-money-row.is-selectable > strong {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-medium);
  line-height: 1.4;
  text-align: center;
}

.add-money-row.is-selectable:hover {
  border-color: #b6c4e4;
  background: #f9fbff;
}

.add-money-row.is-selectable.is-selected {
  border-color: #2966f4;
  background: #eff4ff;
  box-shadow: inset 0 0 0 1px #2966f4;
}

.add-money-row.is-selectable.is-selected::before {
  border-color: #2966f4;
  background: #2966f4;
  box-shadow: inset 0 0 0 3px #fff;
}

.add-money-row.is-selectable.is-selected > strong {
  background: #dbe6ff;
  color: #1d4ed8;
}

.add-money-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 32px;
  border-top: 1px solid #d0d5dd;
  background: #fff;
}

.add-money-modal.is-receipt .add-money-footer {
  padding: 0 24px 24px;
  border-top: 0;
  background: #f4f6fb;
}

.add-money-btn {
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  font: var(--gf-weight-regular) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
  cursor: pointer;
}

.add-money-btn.secondary {
  background: #f2f4f7;
  color: #0a0a0a;
}

.add-money-btn.primary {
  background: #2966f4;
  color: #fff;
}

/* Destructive action (e.g. cancelling the bank form): same standard size, red on white. */
.add-money-btn.danger {
  background: #d92d20;
  color: #fff;
}

.add-money-btn.danger:hover {
  background: #b42318;
}

.add-money-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.add-money-card-hint {
  margin: 10px 0 0;
  color: #667085;
  font: var(--gf-weight-regular) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
}
.add-money-success {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.add-money-success-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 4px solid #2966f4;
  border-radius: 50%;
  color: #2966f4;
}

.add-money-success h3 {
  margin: 36px 0 20px;
  color: #2966f4;
  font-size: var(--gf-text-page);
}

.add-money-success p {
  max-width: 680px;
  margin: 0;
  color: #667085;
  font-size: var(--gf-text-card);
  line-height: var(--gf-leading-card);
}

/* Successful top-up: the receipt sheet. */
.am-receipt {
  padding: 0;
}

.am-receipt-sheet {
  padding: 30px 24px 24px;
  border: 0;
  border-radius: 24px;
  background: #fff;
}

.add-money-modal.is-receipt .am-receipt-mark {
  display: none;
}

.am-receipt-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.am-receipt-mark {
  width: auto;
  height: 40px;
  margin-bottom: 20px;
}

.am-receipt-check {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #12b76a;
  color: #fff;
  box-shadow: 0 0 0 9px rgba(18, 183, 106, 0.12);
}
.am-receipt-check.is-failed {
  color: #b42318;
  background: #fee4e2;
}

.am-receipt-kicker {
  margin: 0 0 2px;
  color: #475467;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.am-receipt-amount {
  margin: 0 0 10px;
  color: #0a0a0a;
  font-size: var(--gf-text-figure);
  font-weight: var(--gf-weight-bold);
  letter-spacing: -0.02em;
}

.am-receipt-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e7f8ef;
  color: #067647;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
}

.am-receipt-status.is-pending {
  background: #fff6e5;
  color: #b54708;
}
.am-receipt-status.is-failed {
  color: #b42318;
  background: #fee4e2;
}

.am-receipt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.am-receipt-note {
  max-width: 380px;
  margin: 12px 0 0;
  color: #475467;
  font-size: var(--gf-text-body);
  line-height: 1.5;
}

.am-receipt-perf {
  position: relative;
  height: 30px;
  margin: 6px -24px 2px;
}

.am-receipt-perf::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  left: 13px;
  border-top: 1px dashed #e4e7ec;
}

.am-receipt-perf::after,
.am-receipt-perf span {
  content: "";
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: #fff;
}

.am-receipt-perf::after {
  left: -12px;
}

.am-receipt-perf span {
  right: -12px;
}

.am-receipt-rows {
  margin: 0;
  padding: 0;
}

.am-receipt-rows-title {
  margin: 0 0 4px;
  color: #98a2b3;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.am-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #f2f4f7;
}

.am-receipt-row dt {
  color: #667085;
  font-size: var(--gf-text-body);
}

.am-receipt-row dd {
  margin: 0;
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  text-align: right;
}

.am-receipt-row-id dd {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.am-receipt-copy {
  padding: 4px 10px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.am-receipt-copy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.am-receipt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 4px;
  color: #101828;
  font-weight: var(--gf-weight-semibold);
}

.am-receipt-total strong {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-bold);
}

.am-receipt-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eef2ff;
}

.am-receipt-wallet {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #2966f4;
  color: #fff;
}

.am-receipt-balance-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.am-receipt-balance-copy span {
  color: #475467;
  font-size: var(--gf-text-body);
}

.am-receipt-balance-copy strong {
  color: #0a0a0a;
  font-size: var(--gf-text-body);
}

.am-receipt-balance-note {
  margin-left: auto;
  color: #667085;
  font-size: var(--gf-text-body);
}

.am-receipt-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-top: 18px;
}

.am-receipt-actions .add-money-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.am-receipt-actions .add-money-btn.secondary {
  border: 1px solid #d0d5dd;
  background: #fff;
}

.am-receipt-done {
  flex: 1;
}

@media (max-width: 700px) {
  .add-money-modal.is-receipt .add-money-head {
    padding: 16px 18px 10px;
  }

  .add-money-modal.is-receipt .add-money-body {
    padding: 0 12px;
  }

  .add-money-modal.is-receipt .add-money-footer {
    padding: 0 16px 16px;
  }

  .am-receipt-sheet {
    padding: 24px 16px 18px;
  }

  .am-receipt-actions {
    flex-wrap: wrap;
  }

  .am-receipt-download {
    flex: 1 1 100%;
  }

  .am-receipt-balance-note {
    display: none;
  }
}

@media (max-width: 700px) {
  .add-money-backdrop {
    padding: 12px;
  }

  .add-money-modal {
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .add-money-head {
    padding: 20px 20px 10px;
  }

  .add-money-head h2 {
    font-size: var(--gf-text-section);
  }

  .add-money-close {
    width: 44px;
    height: 44px;
  }

  .add-money-body {
    padding: 8px 20px 24px;
  }

  .add-money-steps {
    margin: 8px 4px 40px;
  }

  .add-money-step {
    font-size: var(--gf-text-body);
  }

  .add-money-intro h3 {
    font-size: 18px;
  }

  .add-money-intro p {
    font-size: var(--gf-text-label);
  }

  .add-money-amounts {
    grid-template-columns: repeat(2, 1fr);
  }

  .add-money-footer {
    padding: 16px 20px;
  }

  .add-money-success {
    min-height: 400px;
  }

  .add-money-success h3 {
    font-size: var(--gf-text-section);
  }

  .add-money-success p {
    font-size: var(--gf-text-body);
  }
}

.send-money-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #f2f4f7;
}

.send-money-search svg {
  width: 22px;
  flex: none;
}

.send-money-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: var(--gf-weight-regular) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
}

.send-money-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* The list is the only part that grows with the connection count: cap it and scroll here so the
     modal stops stretching down the page. */
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
}

.send-money-list::-webkit-scrollbar {
  width: 6px;
}

.send-money-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d0d5dd;
}

.send-money-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.send-money-person:hover,
.send-money-person.is-selected {
  border-color: #2966f4;
  background: #f7f9ff;
}

.send-money-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.send-money-person span {
  flex: 1;
  font-size: var(--gf-text-body);
  text-align: left;
}

.send-money-person strong {
  padding: 12px 20px;
  border-radius: 999px;
  background: #f2f4f7;
  font-weight: var(--gf-weight-regular);
}

.send-money-empty {
  text-align: center;
  color: #667085;
  padding: 30px;
}

.send-money-conversion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  border: 1px solid #d0d5dd;
  border-radius: 16px;
  background: #ffffff;
}

.send-money-conversion > div {
  position: relative;
  min-width: 0;
  padding: 16px 18px;
}

.send-money-conversion > div:last-of-type {
  border-left: 1px solid #d0d5dd;
  text-align: left;
}

.send-money-conversion label {
  display: block;
  color: #667085;
  background: transparent;
  font-size: var(--gf-text-body);
}

.send-money-conversion input {
  width: 100%;
  padding: 6px 0 0 20px;
  border: 0;
  outline: 0;
  font: var(--gf-weight-regular)
    var(--gf-text-section)/var(--gf-leading-section) var(--gf-font);
}

.send-money-conversion input::placeholder {
  color: #98a2b3;
  font-weight: var(--gf-weight-regular);
  opacity: 1;
}

.send-money-conversion > div:first-child::after {
  content: "$";
  position: absolute;
  left: 18px;
  bottom: 17px;
  color: #667085;
  font-size: var(--gf-text-section);
  line-height: 1;
  pointer-events: none;
}

.send-money-conversion > div:first-child {
  padding-right: 28px;
}

.send-money-conversion > div:last-of-type {
  padding-left: 22px;
}

.send-money-conversion strong {
  display: block;
  padding-top: 8px;
  font-size: var(--gf-text-section);
}

.send-money-arrow {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d0d5dd;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  color: #344054;
  line-height: 0;
}

.send-money-arrow svg {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
}

.send-money-fee {
  position: relative;
  z-index: 0;
  margin-top: -12px;
  margin-bottom: 22px;
  padding: 22px 18px 12px;
  border-radius: 0 0 16px 16px;
  background: #f2f4f7;
}

.send-money-fee div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
}

.send-money-fee div + div {
  border-top: 1px dashed #d0d5dd;
}

.send-money-fee strong {
  color: #7f56d9;
  font-weight: var(--gf-weight-medium);
}

.send-money-modal {
  width: min(880px, 100%);
  --modal-title-size: 32px;
}

.send-money-modal .dashboard-modal-title {
  color: #101828;
}

.send-money-modal .add-money-content {
  max-width: none;
}

.send-money-modal .cept-labels span.done {
  color: #98a2b3;
}

.send-money-modal .add-money-intro h3 {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: 1.3;
}

.send-money-modal .add-money-intro p {
  font-size: var(--gf-text-label);
  line-height: 1.4;
}

/* The amount step states what the wallet holds, so a disabled Continue has a visible reason. */
.send-money-available {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0 0;
  padding: 0 2px;
  color: #667085;
  font-size: var(--gf-text-label);
}

.send-money-available strong {
  color: #101828;
  font-weight: var(--gf-weight-semibold);
}

.send-money-conversion > div:last-of-type > label {
  text-align: right;
}

.send-money-recipient label {
  color: #667085;
  background: transparent !important;
  box-shadow: none;
}

.send-money-recipient strong {
  text-align: left;
}

.send-money-conversion.is-empty > div:first-child::after {
  content: none;
}

.send-money-conversion.is-empty input {
  padding-left: 0;
}

.send-money-conversion.is-empty .send-money-recipient strong {
  text-align: right;
}

@media (max-width: 540px) {
  .send-money-conversion > div {
    padding: 14px 12px;
  }

  .send-money-conversion > div:first-child::after {
    left: 12px;
    bottom: 15px;
  }

  .send-money-conversion input {
    padding-left: 18px;
    font-size: var(--gf-text-card);
  }

  .send-money-conversion strong {
    font-size: var(--gf-text-card);
  }
}

.info-row-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wallet-more-menu {
  display: flex;
  flex-direction: column;
}

.withdrawal-details {
  position: relative;
  z-index: 0;
  margin-top: -12px;
  margin-bottom: 22px;
  padding: 22px 18px 10px;
  border-radius: 0 0 16px 16px;
  background: #f2f4f7;
}

.withdrawal-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.withdrawal-details div + div {
  border-top: 1px dashed #d0d5dd;
}

.withdrawal-details strong {
  color: #2966f4;
  font-weight: var(--gf-weight-medium);
}

.withdrawal-balance-note {
  margin: 16px 0 0;
  color: #667085;
  text-align: right;
}

.withdrawal-balance-note strong {
  color: #101828;
}

.withdrawal-security {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0 8px;
  color: #101828;
}

.withdrawal-security span {
  flex: none;
  font-size: var(--gf-text-section);
  line-height: 1;
}

.withdrawal-security p {
  margin: 0;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

/* Create event guided flow */
.create_event_type_picker {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 8px 32px 32px;
}

.create_event_type_card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 24px;
  background: #101828;
  cursor: pointer;
}

.create_event_type_card img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  display: block;
  opacity: 0.82;
  transition:
    transform 240ms cubic-bezier(0.2, 0, 0, 1),
    opacity 240ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_type_card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82));
}

.create_event_type_card:hover img,
.create_event_type_card.is-selected img {
  transform: scale(1.025);
  opacity: 0.95;
}

.create_event_type_card.is-selected {
  border-color: #2966f4;
}

.create_event_type_overlay {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 24px;
  left: 24px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
}

.create_event_type_overlay strong {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
}

.create_event_type_overlay small {
  max-width: 280px;
  margin-top: 8px;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.create_event_type_overlay em {
  margin-top: 20px;
  padding: 12px 24px;
  border-radius: 999px;
  background: #2966f4;
  color: #fff;
  font-size: var(--gf-text-body);
  font-style: normal;
  opacity: 0;
  transform: translateY(8px);
  transition: 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_type_card:hover .create_event_type_overlay em,
.create_event_type_card.is-selected .create_event_type_overlay em {
  opacity: 1;
  transform: none;
}

.create_event_modal_body {
  scrollbar-width: thin;
  scrollbar-color: rgba(152, 162, 179, 0.2) transparent;
}

.create_event_modal_body::-webkit-scrollbar {
  width: 5px;
}

.create_event_modal_body::-webkit-scrollbar-track {
  background: transparent;
}

.create_event_modal_body::-webkit-scrollbar-thumb {
  background: rgba(152, 162, 179, 0.2);
  border-radius: 999px;
}

.create_event_registration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.create_event_registration button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f2f4f7;
  color: #101828;
  font: var(--gf-weight-medium) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
  cursor: pointer;
}

.create_event_registration button::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1.5px solid #d0d5dd;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

.create_event_registration button.is-selected::before {
  border: 5px solid #2966f4;
}

@media (max-width: 700px) {
  .create_event_type_picker {
    grid-template-columns: 1fr;
    padding: 8px 18px 20px;
    overflow-y: auto;
  }

  .create_event_type_card img {
    min-height: 224px;
  }

  .create_event_type_overlay {
    inset: auto 18px 22px;
  }

  .create_event_registration {
    grid-template-columns: 1fr;
  }
}

/* Event creation refinements */
.create_event_guided_fields {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 28px;
}

.create_event_inline_menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #e9edf2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.14);
}

.create_event_inline_menu.is-scrollable {
  max-height: 220px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(152, 162, 179, 0.2) transparent;
}

.create_event_inline_menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #101828;
  font: var(--gf-weight-regular) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
  text-align: left;
  cursor: pointer;
}

.create_event_inline_menu button:hover,
.create_event_inline_menu button.is-selected {
  background: #f2f4f7;
  color: #2966f4;
}

.create_event_currency_input {
  position: relative;
  width: 100%;
}

.create_event_currency_input > span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  color: #101828;
  font-size: var(--gf-text-body);
  line-height: 1;
  pointer-events: none;
}

.create_event_currency_input > input {
  height: 52px;
  padding-left: 42px !important;
}

.create_event_currency_input > input::-webkit-inner-spin-button,
.create_event_currency_input > input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.founders_dashboard_events_create_modal > [x-show="isSpeakersModalOpen"],
.founders_dashboard_events_create_modal > [x-show="isSponsorsModalOpen"] {
  inset: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  background: rgba(16, 24, 40, 0.24) !important;
  backdrop-filter: blur(1.5px) !important;
}

.founders_dashboard_events_create_modal
  > [x-show="isSpeakersModalOpen"]
  > .create_event_modal,
.founders_dashboard_events_create_modal
  > [x-show="isSponsorsModalOpen"]
  > .create_event_modal {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(500px, calc(100% - 48px)) !important;
  max-width: 500px !important;
  height: auto !important;
  max-height: calc(100% - 48px);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 24px !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 56px rgba(16, 24, 40, 0.24) !important;
}

.founders_dashboard_events_create_modal
  > [x-show="isSpeakersModalOpen"]
  > .create_event_modal
  > [style*="max-height"],
.founders_dashboard_events_create_modal
  > [x-show="isSponsorsModalOpen"]
  > .create_event_modal
  > [style*="max-height"] {
  max-height: 340px !important;
  min-height: 0;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(152, 162, 179, 0.16) transparent;
}

.founders_dashboard_events_create_modal
  > [x-show="isSpeakersModalOpen"]
  > .create_event_modal
  > [style*="max-height"]::-webkit-scrollbar,
.founders_dashboard_events_create_modal
  > [x-show="isSponsorsModalOpen"]
  > .create_event_modal
  > [style*="max-height"]::-webkit-scrollbar {
  width: 4px;
}

.founders_dashboard_events_create_modal
  > [x-show="isSpeakersModalOpen"]
  > .create_event_modal
  > [style*="max-height"]::-webkit-scrollbar-thumb,
.founders_dashboard_events_create_modal
  > [x-show="isSponsorsModalOpen"]
  > .create_event_modal
  > [style*="max-height"]::-webkit-scrollbar-thumb {
  background: rgba(152, 162, 179, 0.16);
  border-radius: 999px;
}

.create_event_virtual_notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #eef4ff;
  color: #2966f4;
  font-size: var(--gf-text-body-strong);
  line-height: var(--gf-leading-body-strong);
}

.create_event_virtual_notice svg {
  flex: none;
}

/* Event registration questionnaire */
.event_questionnaire_builder {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event_questionnaire_heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.event_questionnaire_heading label {
  margin: 0;
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
}

.event_questionnaire_heading span {
  color: #667085;
  font-size: var(--gf-text-body-strong);
}

.event_questionnaire_add {
  width: 100%;
  min-height: 72px;
  border: 1.5px dashed #2966f4;
  border-radius: 16px;
  background: #fff;
  color: #2966f4;
  font: var(--gf-weight-medium) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
  cursor: pointer;
}

.event_questionnaire_add span {
  margin-right: 6px;
  font-size: var(--gf-text-card);
  vertical-align: -2px;
}

.event_questionnaire_editor {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid #d0d5dd;
  border-radius: 18px;
  background: #fff;
}

.event_questionnaire_actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 2px;
}

.event_questionnaire_actions button {
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #101828;
  font: var(--gf-weight-semibold)
    var(--gf-text-caption)/var(--gf-leading-caption) var(--gf-font);
  text-transform: uppercase;
  cursor: pointer;
}

.event_questionnaire_actions button.is-primary {
  color: #2966f4;
}

.event_questionnaire_hint {
  display: block;
  margin-top: 7px;
  color: #667085;
  font-size: var(--gf-text-body-strong);
}

.event_questionnaire_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event_questionnaire_item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 38px 38px;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 16px;
  background: #fff;
}

.event_questionnaire_item strong,
.event_questionnaire_item small {
  display: block;
}

.event_questionnaire_item strong {
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.event_questionnaire_item small {
  margin-top: 4px;
  color: #667085;
  font-size: var(--gf-text-body-strong);
}

.event_questionnaire_drag {
  color: #98a2b3;
  font-size: var(--gf-text-body);
}

.event_questionnaire_edit,
.event_questionnaire_delete {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: var(--gf-text-body);
  cursor: pointer;
}

.event_questionnaire_edit {
  background: #eef4ff;
  color: #2966f4;
}

.event_questionnaire_delete {
  background: #fff1f0;
  color: #f04438;
}

.registration_questionnaire_backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 24, 40, 0.3);
  backdrop-filter: blur(2px);
}

.registration_questionnaire_modal {
  width: min(860px, 100%);
  max-height: min(780px, calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(16, 24, 40, 0.22);
}

.registration_questionnaire_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px 18px;
}

.registration_questionnaire_header h2 {
  margin: 0;
  color: #101828;
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
}

.registration_questionnaire_header p {
  margin: 10px 0 0;
  color: #667085;
  font-size: var(--gf-text-body);
}

.registration_questionnaire_header > button {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #f2f4f7;
  color: #101828;
  cursor: pointer;
}

.registration_questionnaire_body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 32px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(152, 162, 179, 0.16) transparent;
}

.registration_questionnaire_body::-webkit-scrollbar {
  width: 4px;
}

.registration_questionnaire_body::-webkit-scrollbar-thumb {
  background: rgba(152, 162, 179, 0.16);
  border-radius: 999px;
}

.registration_question {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.registration_question legend {
  width: 100%;
  margin-bottom: 10px;
  color: #101828;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.registration_question_input {
  width: 100%;
  min-height: 50px;
  box-sizing: border-box;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  outline: 0;
  background: #f2f4f7;
  color: #101828;
  font: var(--gf-weight-regular) var(--gf-text-body)/var(--gf-leading-body)
    var(--gf-font);
}

.registration_question_input:focus {
  border-color: #84adff;
  box-shadow: 0 0 0 3px rgba(41, 102, 244, 0.1);
}

.registration_question_textarea {
  min-height: 110px;
  resize: vertical;
  border-radius: 18px;
}

.registration_question_choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.registration_question_choices label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344054;
  font-size: var(--gf-text-body);
  cursor: pointer;
}

.registration_question_choices input {
  width: 18px;
  height: 18px;
  accent-color: #2966f4;
}

.registration_question_error {
  display: block;
  margin-top: 7px;
  color: #d92d20;
  font-size: var(--gf-text-body-strong);
}

.registration_questionnaire_footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 32px;
  border-top: 1px solid #e9edf2;
  background: #fff;
}

.registration_questionnaire_footer button {
  min-width: 120px;
}

@media (max-width: 700px) {
  .registration_questionnaire_backdrop {
    padding: 12px;
  }

  .registration_questionnaire_modal {
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .registration_questionnaire_header {
    padding: 22px 20px 14px;
  }

  .registration_questionnaire_header h2 {
    font-size: var(--gf-text-card);
  }

  .registration_questionnaire_body {
    padding: 8px 20px 22px;
  }

  .registration_questionnaire_footer {
    padding: 14px 20px;
  }

  .event_questionnaire_item {
    grid-template-columns: 20px minmax(0, 1fr) 34px 34px;
    padding: 12px;
  }
}

@media (max-width: 700px) {
  .create_event_row {
    flex-direction: column;
  }

  .create_event_guided_fields {
    gap: 16px;
  }

  .founders_dashboard_events_create_modal
    > [x-show="isSpeakersModalOpen"]
    > .create_event_modal,
  .founders_dashboard_events_create_modal
    > [x-show="isSponsorsModalOpen"]
    > .create_event_modal {
    max-height: calc(100% - 24px);
    padding: 20px !important;
  }
}

/* Step 5 Location & Time Pill Styles */
.create_event_pill_btn {
  width: 100%;
  height: 50px;
  background-color: #f2f4f7;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-size: var(--gf-text-body);
  color: #101828;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
}

.create_event_pill_btn:hover {
  background-color: #eef1f5;
}

.create_event_pill_btn:focus {
  background-color: #ffffff;
  border-color: #2966f4;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.1);
}

.create_event_pill_left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #101828;
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.create_event_pill_left svg {
  flex-shrink: 0;
  color: #344054;
}

.create_event_placeholder {
  color: #667085;
}

.create_event_chevron {
  flex-shrink: 0;
  color: #344054;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.create_event_pill_input {
  width: 100%;
  height: 50px;
  background-color: #f2f4f7;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-size: var(--gf-text-body);
  color: #101828;
  font-family: inherit;
  outline: none;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
}

.create_event_pill_input:focus {
  background-color: #ffffff;
  border-color: #2966f4;
  box-shadow: 0 0 0 4px rgba(41, 102, 244, 0.1);
}

.create_event_pill_input::placeholder {
  color: #667085;
}

.create_event_location_search {
  width: 100%;
  height: 38px;
  background-color: #f2f4f7;
  border: 1px solid #e9edf2;
  border-radius: 999px;
  padding: 0 14px;
  font-size: var(--gf-text-body-strong);
  color: #101828;
  outline: none;
  box-sizing: border-box;
}

.create_event_location_search:focus {
  background-color: #ffffff;
  border-color: #2966f4;
}

/* Event Details: Virtual Meeting Card */
.founders_dashboard_virtual_meeting_card {
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #eaedf1;
  border-radius: 16px;
  box-sizing: border-box;
}

.founders_dashboard_virtual_meeting_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.founders_dashboard_virtual_meeting_time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2966f4;
  font-size: var(--gf-text-body-strong);
  line-height: var(--gf-leading-body-strong);
  font-weight: var(--gf-weight-semibold);
  letter-spacing: 0.01em;
}

.founders_dashboard_virtual_meeting_more {
  background: transparent;
  border: none;
  color: #667085;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_virtual_meeting_more:hover {
  background: #f2f4f7;
  color: #101828;
}

.founders_dashboard_virtual_meeting_title {
  font-family: inherit;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
  color: #101828;
  margin: 0 0 20px 0;
}

.founders_dashboard_virtual_meeting_actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.founders_dashboard_virtual_join_btn {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  background-color: #2966f4;
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  outline: none;
  transition:
    background-color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_virtual_join_btn:hover {
  background-color: #2054cc;
}

.founders_dashboard_virtual_join_btn:active {
  transform: scale(0.98);
}

.founders_dashboard_virtual_join_btn:disabled {
  background-color: #e4e7ec;
  color: #667085;
  cursor: not-allowed;
  transform: none;
}

.founders_dashboard_virtual_join_btn:disabled:hover {
  background-color: #e4e7ec;
}

.founders_dashboard_virtual_copy_btn {
  flex: 1;
  height: 44px;
  border-radius: 999px;
  background-color: #f2f4f7;
  color: #344054;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  outline: none;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_virtual_copy_btn:hover {
  background-color: #eef1f5;
  color: #101828;
}

.founders_dashboard_virtual_copy_btn:active {
  background-color: #d0d5dd;
}

/* =========================================================
   OFFERS & MEETINGS ALIGNED TYPOGRAPHY SCALE FOR EVENTS
   Matches Geist font-family and proportional sizing
========================================================= */

/* Base font family across all events pages & details */
.founders_dashboard_events_body,
.founders_dashboard_event_details_page,
.create_event_modal_card {
  font-family: var(--gf-font) !important;
  color: #101828;
}

/* Event Details Main Title (Matches .offers-title / .meeting-settings-modal h2) */
.founders_dashboard_event_details_main_title {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-section) !important;
  line-height: var(--gf-leading-section) !important;
  font-weight: var(--gf-weight-bold) !important;
  color: #0a0a0a !important;
  margin-bottom: 20px !important;
}

/* Hero Category Title */
.founders_dashboard_events_body .category-hero-title {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-section) !important;
  line-height: var(--gf-leading-section) !important;
  font-weight: var(--gf-weight-bold) !important;
}

/* Event Details Meta Row & Badges */

/* Everything in the event header row — category tags, the hosting/booking pill and
   the round icon actions — matches the dashboard Create button (42px) so the row
   reads as a single control system. */
.founders_dashboard_event_details_tags span,
.founders_dashboard_event_details_book_btn,
.founders_dashboard_event_details_live_badge {
  height: 42px;
  min-height: 42px;
  padding-block: 0;
  border-radius: 21px;
}

.founders_dashboard_event_details_tags span {
  padding-inline: 18px;
}

.founders_dashboard_event_details_book_btn {
  padding-inline: 24px;
}

.founders_dashboard_event_details_icon_btn {
  width: 42px;
  height: 42px;
}

.founders_dashboard_event_details_meta_date {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #101828 !important;
}

.founders_dashboard_event_details_live_badge {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
}

.founders_dashboard_event_details_tags span {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #344054 !important;
}

/* Event Details Action Buttons */
.founders_dashboard_event_details_book_btn {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

/* Attendees Text */
.founders_dashboard_event_details_attendees_text {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  color: #667085 !important;
}

/* Description Section */
.founders_dashboard_event_details_description span {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_event_details_description p {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-regular) !important;
  color: #475467 !important;
}

/* Navigation Tabs (Aligned with .offers-tab 15px / 500) */
.founders_dashboard_events_body .events-tab,
.founders_dashboard_event_details_tabs button {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

/* Filter Controls & Search Input */
.founders_dashboard_events_body .events-filter-btn {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

.founders_dashboard_events_body .events-search-wrapper input {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-regular) !important;
}

.founders_dashboard_events_body .categories-label {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #344054 !important;
}

.founders_dashboard_events_body .cat-card .cat-name {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

.founders_dashboard_events_body .events-create-btn {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

/* Event Cards in Browse Grid (Aligned with .meeting-card & .offer-card) */
.founders_dashboard_events_body .event-title {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_events_body .event-meta-row {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #344054 !important;
}

.founders_dashboard_events_body .event-stats {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #667085 !important;
}

.founders_dashboard_events_body .view-details-btn {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

/* Timeline Panel in Event Details */
.founders_dashboard_event_timeline_time {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

.founders_dashboard_event_timeline_copy h3 {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_event_timeline_copy p {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #667085 !important;
}

.founders_dashboard_event_timeline_detail p {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-regular) !important;
  color: #475467 !important;
}

.founders_dashboard_event_timeline_more {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
}

/* Speakers Panel */
.founders_dashboard_event_speaker_identity h3 {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_event_speaker_identity p {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #667085 !important;
}

.founders_dashboard_event_speaker_message {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  min-height: 44px !important;
  padding: 10px 20px !important;
}

/* Sponsors Panel */
.founders_dashboard_event_sponsor_copy h3 {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_event_sponsor_copy p {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #667085 !important;
}

/* Event Connections Panel (if shown) */
.founders_dashboard_event_connection_name {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_event_connection_intro p {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  color: #667085 !important;
}

.founders_dashboard_event_connection_meta_row span {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  color: #667085 !important;
}

.founders_dashboard_event_connection_meta_row strong {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #101828 !important;
}

.founders_dashboard_event_connection_detail span {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  color: #0a0a0a !important;
}

.founders_dashboard_event_connection_request {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  min-height: 44px !important;
}

/* Sidebar Cards (Virtual Card, Location Card, Organiser Card) */
.founders_dashboard_event_details_side_card_header h3 {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_virtual_meeting_title {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_virtual_meeting_time {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #2966f4 !important;
}

.founders_dashboard_virtual_join_btn {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

.founders_dashboard_virtual_copy_btn {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

.founders_dashboard_event_details_side_card_footer h4,
.founders_dashboard_event_details_organiser_info h4 {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.founders_dashboard_event_details_side_card_footer p,
.founders_dashboard_event_details_organiser_info p {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body-strong) !important;
  line-height: var(--gf-leading-body-strong) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #667085 !important;
}

/* Create Event Modal & Questionnaire Sizing */
.create_event_modal_card h2,
.create_event_header h2 {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-card) !important;
  line-height: var(--gf-leading-card) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.create_event_header p,
.create_event_modal_card p {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  color: #667085 !important;
}

.create_event_label,
.create_event_field label {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #344054 !important;
}

.create_event_input,
.create_event_pill_input,
.create_event_pill_btn,
.create_event_textarea,
.create_event_select {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
}

.create_event_btn_primary,
.create_event_btn_ghost {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
}

.eq_item_title,
.event_question_item_title {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-semibold) !important;
  color: #101828 !important;
}

.eq_field_label,
.event_question_field_label {
  font-family: var(--gf-font) !important;
  font-size: var(--gf-text-body) !important;
  line-height: var(--gf-leading-body) !important;
  font-weight: var(--gf-weight-medium) !important;
  color: #344054 !important;
}

/* ========================================================
   Unregistered Dashboard - Events & Sidebar Specific Styles
   ======================================================== */
.events-signin-create-btn {
  font-family: var(--gf-font);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 9999px;
  background: #2966f4;
  color: #ffffff !important;
  font-size: var(--gf-text-control);
  line-height: var(--gf-leading-control);
  font-weight: var(--gf-weight-medium);
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.events-signin-create-btn:hover {
  background: #2054cc;
  transform: translateY(-1px);
}

.events-signin-create-btn:active {
  transform: translateY(0);
}

.events-badge-happening {
  background: #ef4444;
  color: #ffffff;
  border-radius: 9999px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  padding: 2px 7px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
}

.event-footer-unreg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.btn-register-unreg {
  font-family: var(--gf-font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border-radius: 9999px;
  background: #2966f4;
  color: #ffffff !important;
  font-size: var(--gf-text-control);
  line-height: var(--gf-leading-control);
  font-weight: var(--gf-weight-medium);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.btn-register-unreg:hover {
  background: #2054cc;
  transform: translateY(-1px);
}

.btn-register-unreg:active {
  transform: translateY(0);
}

.btn-bookmark-unreg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #64748b;
  transition:
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.btn-bookmark-unreg svg {
  width: 20px;
  height: 20px;
}

.btn-bookmark-unreg:hover {
  color: #1e293b;
  transform: scale(1.08);
}

.btn-bookmark-unreg.is-saved {
  color: #f59e0b;
}

.btn-bookmark-unreg.is-saved svg {
  fill: #f59e0b;
}

/* 6th Gated Card */
.event-card-gated-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 1px solid var(--gray-300, #d0d5dd);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

/* The events a guest has not unlocked yet: real cards, blurred, under one sign-up card. */
.event-gated-block {
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  min-width: 0;
}

.event-gated-block__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  filter: blur(8px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.event-gated-block .event-card--blurred {
  border: 1px solid var(--gray-300, #d0d5dd);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.event-gated-block .event-gated-cta-card {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1200px) {
  .event-gated-block__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .event-gated-block__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.event-card-gated-wrapper .event-card--blurred {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  filter: blur(8px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.event-gated-cta-card {
  position: absolute;
  z-index: 10;
  background: #ffffff;
  border: 1px solid var(--meet-border-subtle, #eaecf0);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(
    --meet-shadow-elevated,
    0 12px 32px rgba(16, 24, 40, 0.12),
    0 2px 6px rgba(16, 24, 40, 0.04)
  );
  width: 86%;
  max-width: 310px;
  box-sizing: border-box;
}

.gated-cta-title {
  font-family: var(--gf-font);
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark, #101828);
  margin: 0 0 14px 0;
  line-height: var(--gf-leading-control);
}

.gated-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gated-signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--meet-radius-pill, 24px);
  background: var(--meet-primary, #2966f4);
  color: #ffffff !important;
  font-size: var(--gf-text-control);
  line-height: var(--gf-leading-control);
  font-weight: var(--gf-weight-medium);
  font-family: var(--gf-font);
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 2px 8px rgba(41, 102, 244, 0.2);
}

.gated-signup-btn:hover {
  background: var(--meet-primary-hover, #2054cc);
  transform: translateY(-1px);
}

.gated-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--meet-border, #d0d5dd);
  background: #ffffff;
  text-decoration: none;
  transition:
    border-color 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1),
    background 160ms cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.gated-social-btn:hover {
  background: var(--meet-bg-pill, #f2f4f7);
  border-color: #98a2b3;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08);
}

@media (min-width: 1200px) {
  .founders_dashboard_event_details_back {
    display: inline-flex;
  }

  .founders_dashboard_event_details_page {
    padding: 16px 22px 32px;
  }

  .founders_dashboard_event_details_hero {
    height: 322px;
    min-height: 322px;
  }

  .founders_dashboard_event_details_meta_row {
    margin-top: 22px;
    margin-bottom: 28px;
    padding: 0 24px;
  }

  .founders_dashboard_event_details_content {
    grid-template-columns: minmax(0, 1fr) 438px;
    gap: 46px;
    padding: 0 24px;
  }

  .founders_dashboard_event_details_main_title {
    font-size: var(--gf-text-page) !important;
    line-height: var(--gf-leading-page) !important;
    margin-bottom: 26px !important;
  }

  .founders_dashboard_event_details_description p {
    max-width: 1000px;
    font-size: var(--gf-text-card) !important;
    line-height: var(--gf-leading-card) !important;
  }

  .founders_dashboard_event_details_map {
    height: 198px;
  }

  .founders_dashboard_event_details_side_card_header {
    padding: 18px 20px;
  }

  .founders_dashboard_event_details_organiser {
    padding: 22px 20px;
  }
}

/* Keep the overview badge rail compact after the legacy badge rules above. */
.card-badges .badges-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  align-items: start !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  margin-top: 4px;
  overflow: hidden;
}
.card-badges .badges-grid .badge-card {
  width: 105px !important;
  min-width: 105px !important;
  min-height: 125px !important;
  height: 125px !important;
  padding: 12px 8px 4px !important;
  border: 2px solid transparent !important;
  border-radius: 30px !important;
  background: #d9dce1 !important;
  box-shadow: 0 4px 8px rgba(16, 24, 40, 0.15) !important;
  transform: none !important;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1) !important;
}
.card-badges .badges-grid .badge-card:not(.badge-card-next) {
  flex: 0 0 105px !important;
}
.card-badges .badge-card-crop {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  align-items: center;
  justify-content: center;
}
.card-badges .badge-card-img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
}
.card-badges .badge-card-label {
  display: block !important;
  position: relative;
  z-index: 1;
  color: #253b9d;
  font-size: var(--gf-text-body, 16px);
  font-weight: var(--gf-weight-extrabold);
  line-height: 1;
  text-transform: uppercase;
}
.card-badges .badge-card--premium {
  background: #f7d995 !important;
  border-color: #f2c84b !important;
}
.card-badges .badge-card--platinum {
  background: #b9bec9 !important;
  border-color: #9da6b1 !important;
}
.card-badges .badge-card--pro {
  background: #a7b0ef !important;
  border-color: #2966f4 !important;
}
.card-badges .badge-card--earned {
  outline: 3px solid #22c55e !important;
  outline-offset: -3px;
}
.card-badges .badge-card--current {
  outline: 3px solid var(--gf-blue, #2966f4) !important;
  outline-offset: -3px;
}
.card-badges .badges-grid .badge-card-next {
  width: 105px !important;
  min-width: 105px !important;
  height: 125px !important;
  min-height: 125px !important;
  padding: 0 !important;
  border-radius: 30px !important;
  background: #f1f3f6 !important;
  color: var(--gf-blue, #2966f4) !important;
  font-size: var(--gf-text-page) !important;
  line-height: 1 !important;
  transform: none !important;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1) !important;
}

.card-badges .badges-grid .badge-card-next {
  flex: 0 0 105px !important;
}

.card-badges .badges-grid .badge-card:hover,
.card-badges .badges-grid .badge-card:focus-visible,
.card-badges .badges-grid .badge-card-next:hover,
.card-badges .badges-grid .badge-card-next:focus-visible {
  transform: scale(1.02) !important;
  scale: 1 !important;
}

@keyframes badgeRailEnter {
  from {
    opacity: 0;
    transform: translateX(34px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card-badges .badges-grid .badge-card:not(.badge-card-next) {
  animation: badgeRailEnter 220ms ease both;
}

@media (prefers-reduced-motion: reduce) {
  .card-badges .badges-grid .badge-card:not(.badge-card-next) {
    animation: none;
  }
}

/* Overview "Upcoming events" card. Scoped so profile.css's white .event-title (for photo cards)
   can't reach it, and tight enough that date, title and meta fit the 120px row without clipping. */
.card-events .gf-event-card__content {
  padding: 12px;
  gap: 4px;
}

.card-events .gf-event-card {
  cursor: pointer;
}

.founders_dashboard[data-overview-role="investor"] .card-events .gf-event-card {
  margin-bottom: 16px;
}

.card-events .events-list {
  height: 130px;
}

.card-events .gf-event-card__image {
  min-height: 120px;
}

.card-events .gf-event-card__media {
  width: 96px;
}

.card-events .gf-event-card__title,
.card-events .event-title {
  color: #0a0a0a;
  font-weight: var(--gf-weight-medium);
  margin: 0;
}

.add-money-card-field {
  min-height: 180px;
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid #d0d5dd;
  border-radius: 16px;
  background: #f8fafc;
}

.add-money-save-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  color: #344054;
  font-size: var(--gf-text-body);
  cursor: pointer;
}

.add-money-save-consent input {
  width: 18px;
  height: 18px;
  accent-color: #2864f0;
}

/* Footer action under a list ("load more"): a pill sized to its label, centered with
   breathing room from the list above. Shared by Collaboration and Events. */
.gf-load-more {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.gf-load-more > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 0;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #f2f4f7;
  color: #101828;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.gf-load-more > button:hover:not(:disabled) {
  background: #eaecf0;
}

.gf-load-more > button:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Wizard step navigation: the Back control sits with the footer actions. */
.nt-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nt-btn-back svg {
  flex: 0 0 16px;
}

.settings-social-legacy {
  display: none !important;
}

.settings-social-page {
  display: grid;
  gap: 20px;
  min-width: 0;
  color: #14213d;
  font-family: var(--gf-font);
}

.settings-social-page,
.settings-social-page * {
  box-sizing: border-box;
}

.settings-social-primary,
.settings-social-connect,
.settings-social-reset,
.settings-social-card__actions button,
.settings-social-cancel {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font: 600 16px/1.2 var(--gf-font);
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.settings-social-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px solid #2864f0;
  background: #2864f0;
  color: #fff;
}

.settings-social-primary:hover:not(:disabled),
.settings-social-connect:hover:not(:disabled) {
  background: #174fda;
}

.settings-social-primary:disabled,
.settings-social-connect:disabled {
  opacity: .6;
  cursor: wait;
}

.settings-social-tip > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.settings-social-tip > div > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #2864f0;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-bold);
}

.settings-social-tip p {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #4c5d78;
  font-size: var(--gf-text-body);
  line-height: 1.4;
}

.settings-social-tip b {
  color: #15213a;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-bold);
}

.settings-social-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.settings-social-connected,
.settings-social-completion,
.settings-social-tip,
.settings-social-pro-tip {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
}

.settings-social-connected__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.settings-social-connected__head h3,
.settings-social-completion h3,
.settings-social-tip > strong {
  margin: 0;
  color: #14213d;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-bold);
  line-height: 1.3;
}

.settings-social-connected__head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: var(--gf-text-body);
  line-height: 1.4;
}

.settings-social-count,
.settings-social-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: var(--gf-text-body);
  line-height: 1.2;
}

.settings-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.settings-social-card {
  display: grid;
  min-width: 0;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e1e8f1;
  border-radius: 24px;
  background: #fff;
}

.settings-social-card .founders_dashboard_settings_social_input_shell {
  width: 100%;
  min-height: 52px;
  padding: 0 14px !important;
  border-radius: 999px;
  background: #f2f4f7;
}

.settings-social-card .founders_dashboard_settings_social_input {
  color: #344054;
}

.settings-social-card.is-connected { border-color: #d6e5ff; }

.settings-social-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.settings-social-card__head > strong {
  overflow: hidden;
  color: #15213a;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-bold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-social-card__head .founders_dashboard_settings_social_icon {
  width: 32px;
  height: 32px;
}

.settings-social-card__head .founders_dashboard_settings_social_icon svg,
.settings-social-card__head .founders_dashboard_settings_social_icon img {
  width: 30px;
  height: 30px;
}

.settings-social-status { margin-left: auto; font-size: var(--gf-text-body); }
.settings-social-status.is-connected { background: #eaf8ef; color: #17834b; }

.settings-social-profile-link {
  display: block;
  overflow: hidden;
  min-width: 0;
  color: #475873;
  font-size: var(--gf-text-body);
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-social-editor {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.settings-social-editor input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d8e0eb;
  border-radius: 12px;
  outline: 0;
  background: #fff;
  color: #24334d;
  font: 400 16px/1.3 var(--gf-font);
}

.settings-social-editor input:focus { border-color: #2864f0; box-shadow: 0 0 0 3px rgb(40 100 240 / 12%); }
.settings-social-editor input::placeholder { color: #94a3b8; opacity: 1; }

.settings-social-connect {
  min-height: 44px;
  padding-inline: 14px;
  border: 1px solid #2864f0;
  background: #2864f0;
  color: #fff;
}

.settings-social-cancel {
  min-height: 44px;
  padding-inline: 12px;
  border: 0;
  background: transparent;
  color: #475569;
}

.settings-social-card__actions {
  display: flex;
  gap: 8px;
}

.settings-social-card__actions button {
  min-height: 38px;
  padding-inline: 12px;
  border: 1px solid #dbe4ef;
  background: #fff;
  color: #2864f0;
}

.settings-social-card__actions button.is-remove { border-color: transparent; color: #d92d20; }
.settings-social-aside { display: grid; gap: 12px; min-width: 0; }
.settings-social-completion h3 { font-size: var(--gf-text-body-strong); }

.settings-social-completion__body {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.settings-social-progress {
  position: relative;
  display: grid;
  flex: 0 0 84px;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#2864f0 var(--social-progress), #e8edf5 0);
}

.settings-social-progress::before {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.settings-social-progress strong { position: relative; color: #14213d; font-size: var(--gf-text-body-strong); }
.settings-social-completion__body p { display: grid; gap: 5px; margin: 0; color: #64748b; font-size: var(--gf-text-body); line-height: 1.4; }
.settings-social-completion__body p strong { color: #14213d; font-size: var(--gf-text-body); }
.settings-social-tip { display: grid; gap: 16px; background: #f8faff; }
.settings-social-tip > div > span { flex-basis: 36px; width: 36px; height: 36px; background: #eaf1ff; }
.settings-social-tip p { font-size: var(--gf-text-body); }
.settings-social-pro-tip { border-color: #ccefe0; background: #f2fbf6; color: #176b48; }
.settings-social-pro-tip strong { font-size: var(--gf-text-body-strong); }
.settings-social-pro-tip p { margin: 8px 0 0; color: #47665a; font-size: var(--gf-text-body); line-height: 1.45; }

.settings-social-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  background: transparent;
}

.settings-social-actions .settings-social-primary { min-width: 150px; margin: 0; }
.settings-social-reset { border: 1px solid #d8e0eb; background: #fff; color: #35445f; }
.settings-social-x-mark { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: #111; color: #fff; font: 700 16px/1 var(--gf-font); }

@media (max-width: 900px) {
  .settings-social-layout { grid-template-columns: minmax(0, 1fr); }
  .settings-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .settings-social-page { gap: 14px; }
  .settings-social-connected { padding: 16px; border-radius: 18px; }
  .settings-social-connected__head { display: grid; gap: 10px; }
  .settings-social-grid { grid-template-columns: minmax(0, 1fr); }
  .settings-social-actions { margin-top: 14px; padding-top: 14px; }
  .settings-social-actions .settings-social-primary { min-width: 0; }
}

.settings-company-page {
  display: grid;
  gap: 20px;
  min-width: 0;
  color: #14213d;
  font-family: var(--gf-font);
}

.settings-company-page,
.settings-company-page * { box-sizing: border-box; }

.settings-company-workspace { display: grid; gap: 16px; min-width: 0; }
.settings-company-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.settings-company-filters { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; }
.settings-company-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475467;
  font: 500 16px/1.2 var(--gf-font);
  white-space: nowrap;
  cursor: pointer;
}
.settings-company-filters button.is-active { background: #edf3ff; color: #245fe5; font-weight: var(--gf-weight-semibold); }
.settings-company-filters button span { color: #667085; }
.settings-company-tools { display: flex; align-items: center; gap: 10px; min-width: 0; }
.settings-company-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
}
.settings-company-search { width: min(300px, 32vw); }
.settings-company-search svg { flex: 0 0 20px; width: 20px; height: 20px; }
.settings-company-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #344054;
  font: 400 16px/1.3 var(--gf-font);
}
.settings-company-search input::placeholder { color: #98a2b3; }
.settings-company-sort { flex: 0 0 220px; width: 220px; min-width: 0; padding: 0; border: 0; background: transparent; }
.settings-company-sort .gf-filter-select { width: 100%; }
.settings-company-sort .gf-filter-select__trigger { min-height: 48px; padding: 6px 16px; }
.settings-company-sort .gf-filter-select__text { flex-direction: row; align-items: center; gap: 6px; }
.settings-company-sort .gf-filter-select__label { flex: 0 0 auto; color: #667085; font-size: var(--gf-text-body); line-height: 1.3; }
.settings-company-sort .gf-filter-select__value { color: #101828; font-size: var(--gf-text-body); font-weight: var(--gf-weight-semibold); }

.settings-company-add-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 18px 22px;
  border: 1px dashed #cbd7ea;
  border-radius: 24px;
  background: #fbfcff;
}
.settings-company-add-icon { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: #edf3ff; color: #2966f4; font-size: var(--gf-text-section); font-weight: var(--gf-weight-normal); }
.settings-company-add-icon svg { width: 24px; height: 24px; }
.settings-company-add-row > div { display: grid; gap: 4px; min-width: 0; }
.settings-company-add-row strong { color: #15213a; font-size: var(--gf-text-body-strong); font-weight: var(--gf-weight-bold); }
.settings-company-add-row p { margin: 0; color: #667085; font-size: var(--gf-text-body); line-height: 1.4; }
.settings-company-add-row .founders_dashboard_settings_companies_add { min-height: 48px; padding: 0 20px; font-size: var(--gf-text-body); }

.settings-company-list { display: grid; gap: 12px; min-width: 0; }
.settings-company-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.settings-company-card:hover { border-color: #c8d8f5; box-shadow: 0 4px 14px rgb(16 24 40 / 5%); }
.settings-company-logo { width: 64px; height: 64px; overflow: hidden; border: 1px solid #e4e7ec; border-radius: 16px; background: #f3f6fc; }
.settings-company-logo img { width: 100%; height: 100%; object-fit: cover; }
.settings-company-content { display: grid; gap: 7px; min-width: 0; }
.settings-company-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
.settings-company-title h3 { min-width: 0; margin: 0; color: #15213a; font-size: var(--gf-text-body-strong); font-weight: var(--gf-weight-bold); line-height: 1.35; overflow-wrap: anywhere; }
.settings-company-main { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #edf3ff; color: #245fe5; font-size: var(--gf-text-body); font-weight: var(--gf-weight-medium); }
.settings-company-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.settings-company-meta span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: var(--gf-text-body); }
.settings-company-description { display: -webkit-box; margin: 0; overflow: hidden; color: #667085; font-size: var(--gf-text-body); line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.settings-company-card .founders_dashboard_settings_company_menu_wrap { align-self: start; justify-self: end; }
.settings-company-empty { display: grid; justify-items: center; gap: 8px; padding: 56px 20px; border: 1px solid #e2e8f0; border-radius: 24px; background: #fff; text-align: center; }
.settings-company-empty strong { color: #15213a; font-size: var(--gf-text-card); }
.settings-company-empty p { margin: 0; color: #667085; font-size: var(--gf-text-body); }

/* Ads preferences keeps readable body copy in every card and information modal. */
.gf-ad-preferences :is(p, button, label, input, textarea, select, small, strong, time, li, a) {
  font-size: var(--gf-text-body) !important;
}

.gf-ad-preferences :is(.gf-ad-preferences__eyebrow, .gf-ad-preferences__reset-hint, .gf-ad-preferences__context-note, .gf-ad-preferences__control-summary article span) {
  font-size: var(--gf-text-body) !important;
}

.gf-ad-preferences :is(h3, .gf-ad-preferences__steps article > b, .gf-ad-preferences__control-summary article b) {
  font-size: var(--gf-text-body) !important;
}

.gf-ad-preferences .gf-ad-preferences__close { font-size: var(--gf-text-card) !important; }

.gf-ad-preferences :is(.gf-ad-preferences__modal-footer, .gf-ad-preferences__how-footer) {
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}

.gf-ad-preferences__category-modal {
  width: min(960px, calc(100vw - 48px));
}

/* The How it works dialog carries four step cards and four control cards side by
   side at the 16px body floor, so it gets the extra width instead of taller cards. */
.gf-ad-preferences .gf-ad-preferences__how-modal {
  width: min(1320px, calc(100vw - 48px));
  max-height: calc(100vh - 40px);
}

@media (max-width: 760px) {
  .gf-ad-preferences__category-modal,
  .gf-ad-preferences__how-modal {
    width: calc(100vw - 32px);
  }
}

@media (min-width: 901px) {
  .main > .founders_dashboard_body.founders_dashboard_settings_body:has(.gf-ad-preferences) {
    flex: 0 0 auto !important;
    align-self: flex-start;
  }

  .founders_dashboard_settings_body:has(.gf-ad-preferences) .founders_dashboard_settings_page {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .founders_dashboard_settings_body:has(.gf-ad-preferences) .founders_dashboard_settings_panel,
  .founders_dashboard_settings_body:has(.gf-ad-preferences) .founders_dashboard_settings_content {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
}

@media (max-width: 1100px) {
  .settings-company-tools { flex: 1 1 100%; justify-content: flex-end; }
  .settings-company-search { width: min(400px, 100%); flex: 1 1 auto; }
}

@media (max-width: 700px) {
  .settings-company-page { gap: 14px; }
  .settings-company-toolbar { align-items: stretch; }
  .settings-company-filters { width: 100%; justify-content: space-between; }
  .settings-company-filters button { flex: 1 1 0; padding: 0 8px; }
  .settings-company-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); }
  .settings-company-search { width: 100%; }
  .settings-company-sort { flex-basis: 170px; width: 170px; }
  .settings-company-add-row { grid-template-columns: 48px minmax(0, 1fr); padding: 16px; border-radius: 20px; }
  .settings-company-add-icon { width: 48px; height: 48px; }
  .settings-company-add-row .founders_dashboard_settings_companies_add { grid-column: 1 / -1; width: 100%; }
  .settings-company-card { grid-template-columns: 52px minmax(0, 1fr) 36px; gap: 12px; padding: 14px; border-radius: 20px; }
  .settings-company-logo { width: 52px; height: 52px; border-radius: 14px; }
  .settings-company-title h3 { font-size: var(--gf-text-body); }
}

/* ── Campaign analytics: reference layout ──────────────────────────────────────────────────
   The modal is a data surface, so it gets more room than a form dialog: a wider sheet, larger
   metric cards and charts drawn by assets/js/charts.js. Padding is the same 20px everywhere so
   nothing looks accidentally inset, and every label is nowrap so a long campaign name can never
   push a value onto a second line. */
.campaign_analytics_modal {
  width: min(1440px, 96vw);
  max-width: min(1440px, 96vw);
  max-height: 94vh;
  border-radius: 24px;
}

/* The empty state owns the whole body and sets the sheet's height; the data view must not, or the
   chart panel stretches and the bars grow to fill it. */
.campaign_analytics_body > .gf-empty-host {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.campaign_analytics_header {
  padding: 18px 20px 14px 20px;
  gap: 12px;
  /* Let the controls drop below a long campaign name instead of being pushed out of the sheet. */
  flex-wrap: wrap;
}

.campaign_analytics_title_wrap {
  min-width: 0;
  flex: 1 1 auto;
}

.campaign_analytics_header_right {
  flex: 0 0 auto;
  margin-left: auto;
  flex-wrap: wrap;
}

.campaign_analytics_title {
  font-size: var(--gf-text-body-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 46ch;
}

.campaign_analytics_body {
  padding: 0 20px 20px 20px;
  gap: 16px;
}

.campaign_analytics_data_view {
  gap: 16px;
}

.campaign_analytics_metrics_grid {
  gap: 12px;
}

.campaign_analytics_metric_card {
  height: 148px;
  padding: 18px;
  border-radius: 16px;
  gap: 8px;
  justify-content: space-between;
}

.campaign_analytics_metric_title {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.campaign_analytics_metric_bottom {
  align-items: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.campaign_analytics_metric_num {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.campaign_analytics_metric_change {
  font-size: var(--gf-text-caption);
  white-space: nowrap;
  margin-left: auto;
  padding-bottom: 3px;
}

.campaign_analytics_metric_change:empty {
  display: none;
}

/* Chart + donut + audience share one row; the plot takes the space the data needs. */
.campaign_analytics_content_grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  gap: 12px;
  /* Fixed rather than min-height so reach, clicks, CTR and spend all land on the same sheet
     height. The sheet grows to fit this band -- the band never shrinks to fit the sheet. */
  height: 420px;
  min-height: 0;
  align-items: stretch;
}

.campaign_analytics_panel {
  padding: 18px;
  border-radius: 16px;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.campaign_analytics_panel--chart {
  justify-content: flex-end;
  gap: 10px;
}

.campaign_analytics_panel--wide {
  grid-column: 1 / -1;
}

/* A single full-width chart still sits inside the same fixed-height grid, so the sheet keeps one
   height across every metric tab. */
.campaign_analytics_content_grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.campaign_analytics_chart_plot {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  /* headroom for the tooltip of the tallest bar */
  padding-top: 44px;
  border-bottom: 1px solid #eaecf0;
}

/* The frame is exactly the bar area, so a tooltip's percentages line up with the bars. */
.campaign_analytics_chart_frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.campaign_analytics_chart_svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Bars are elements, not stretched SVG rects, so the corners stay circular at any panel width.
   Square sides, small radius on the top corners only. */
.campaign_analytics_chart_bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
}

.gf-chart-bar-slot {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.gf-chart-bar {
  display: block;
  width: 42%;
  max-width: 30px;
  min-height: 3px;
  border-radius: 6px 6px 0 0;
  transition:
    height 200ms cubic-bezier(0.2, 0, 0, 1),
    background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.campaign_analytics_chart_tooltip_row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.campaign_analytics_chart_tooltip_badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #32d583;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
}

/* Dated axis: the reference lists each bucket's full date under its bar. */
.campaign_analytics_chart_label--date {
  font-size: var(--gf-text-caption);
  letter-spacing: -0.01em;
}

.campaign_analytics_chart_hitareas {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
}

.campaign_analytics_chart_hitarea {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.campaign_analytics_chart_hitarea:focus-visible {
  outline: 2px solid #2966f4;
  outline-offset: -2px;
  border-radius: 6px;
}

.campaign_analytics_chart_labels {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.campaign_analytics_chart_label {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  font-size: var(--gf-text-caption);
  color: #98a2b3;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.campaign_analytics_chart_label.is-active {
  color: #2966f4;
  font-weight: var(--gf-weight-semibold);
}

.campaign_analytics_chart_tooltip {
  position: absolute;
  top: 0;
  /* Centred over its bar; the plot reserves 44px above the bars so it never overlaps them. */
  transform: translate(-50%, 0);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #101828;
  color: #ffffff;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-medium);
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
}

.campaign_analytics_chart_tooltip--bar {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 14px;
}

.campaign_analytics_chart_tooltip_label {
  color: #d0d5dd;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-regular, 400);
  line-height: 1.2;
}

.campaign_analytics_chart_tooltip--area {
  top: 6px;
}

.campaign_analytics_chart_tooltip_value {
  font-weight: var(--gf-weight-bold);
  color: #ffffff;
}

/* Donut + country legend */
.campaign_analytics_panel--donut {
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
}

.campaign_analytics_donut {
  /* sized so the four legend rows still fit inside the fixed chart band */
  width: min(158px, 52%);
  aspect-ratio: 1;
  flex: 0 0 auto;
}

.campaign_analytics_donut svg {
  width: 100%;
  height: 100%;
  display: block;
}

.campaign_analytics_country_list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.country-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.country-breakdown-row:hover,
.country-breakdown-row.is-active {
  background: #f8fafc;
}

.country-breakdown-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: var(--gf-text-body-strong);
  color: #101828;
  font-weight: var(--gf-weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-breakdown-flag {
  font-size: var(--gf-text-body-strong);
  line-height: 1;
}

.country-breakdown-pct {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  white-space: nowrap;
}

/* Area chart (spend) — axis labels are HTML so the text never scales with the plot */
.campaign_analytics_panel--area {
  gap: 8px;
}

.campaign_analytics_area {
  display: flex;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
}

.campaign_analytics_area_axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  font-size: var(--gf-text-caption);
  color: #98a2b3;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 42px;
}

.campaign_analytics_area_plot {
  position: relative;
  flex: 1;
  min-width: 0;
}

.campaign_analytics_area_svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.campaign_analytics_area_hitareas {
  position: absolute;
  inset: 0;
  display: flex;
}

.campaign_analytics_area_hitarea {
  flex: 1 1 0;
  min-width: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.campaign_analytics_area_hitarea:focus-visible {
  outline: 2px solid #2966f4;
  outline-offset: -2px;
  border-radius: 6px;
}

.campaign_analytics_area_cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: #2966f4;
  opacity: 0.45;
  pointer-events: none;
  transform: translateX(-0.75px);
}

.campaign_analytics_chart_labels--area {
  padding-left: 54px;
}

.campaign_analytics_chart_labels--dated {
  flex-wrap: nowrap;
  overflow: hidden;
}

.analytics_sidebar_header_count {
  color: #2966f4;
  font-weight: var(--gf-weight-bold);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .campaign_analytics_content_grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .campaign_analytics_panel--donut {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .campaign_analytics_modal {
    width: 100%;
    max-width: 100%;
    max-height: 96vh;
    border-radius: 20px;
  }

  .campaign_analytics_content_grid {
    grid-template-columns: 1fr;
  }

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

  .campaign_analytics_metric_card {
    height: 128px;
    padding: 14px;
  }

  .campaign_analytics_content_grid {
    /* stacked panels need their own height on small screens */
    height: auto;
    min-height: 0;
  }

  .campaign_analytics_panel {
    height: auto;
    min-height: 300px;
    overflow: visible;
  }

  .campaign_analytics_donut {
    width: 132px;
  }
}

@media (max-width: 560px) {
  .campaign_analytics_header {
    padding: 14px 14px 10px 14px;
    flex-wrap: wrap;
  }

  .campaign_analytics_body {
    padding: 0 14px 16px 14px;
  }

  .campaign_analytics_title {
    max-width: 100%;
    font-size: var(--gf-text-body);
  }

  .campaign_analytics_metrics_grid {
    grid-template-columns: 1fr;
  }

  .campaign_analytics_metric_card {
    height: 108px;
  }

  .campaign_analytics_panel {
    min-height: 280px;
  }

  .campaign_analytics_chart_plot {
    min-height: 180px;
  }

  .campaign_analytics_area {
    min-height: 180px;
  }

  .campaign_analytics_chart_labels--area {
    padding-left: 46px;
  }

  .campaign_analytics_panel--donut {
    flex-direction: column;
  }
}

/* ── Shared promo card preview ────────────────────────────────────────────────────────────
   The Edit Details and create-campaign previews render the real sidebar / overview promo card
   (components/promo-card/preview.html) instead of a lookalike. These rules only scale that card
   down for the form; the card's own styling still comes from its surface stylesheet. */
.promo-card-preview {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.promo-card-preview__card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.promo-card-preview__card.card-promo-profile {
  height: auto;
  min-height: 0;
  cursor: default;
}

.promo-card-preview__card.promoted-profile-card {
  cursor: default;
}

/* ── Attached campaign media ───────────────────────────────────────────────────────────────
   The list of creatives already on the campaign plus anything just uploaded. Tiles are wide
   enough to read the media (16:9 thumb) and the grid fills the form width rather than sitting in
   a narrow column. */
.edit_ad_media_list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.edit_ad_media_item {
  margin: 0;
  border: 1px solid #eef1f5;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.edit_ad_media_thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

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

.edit_ad_media_tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  line-height: 1.5;
  white-space: nowrap;
}

.edit_ad_media_meta {
  /* Stacked so the file name keeps the full tile width instead of being squeezed by the actions. */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 8px 10px;
  min-width: 0;
}

.edit_ad_media_name {
  font-size: var(--gf-text-caption);
  color: #344054;
  font-weight: var(--gf-weight-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  min-width: 0;
}

.edit_ad_media_actions {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.edit_ad_media_actions button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
  color: #2966f4;
  white-space: nowrap;
}

/* Removing a tile is destructive and secondary, so it reads as an icon button rather than a
   second line of text competing with the file name. */
.edit_ad_media_remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  color: #d92d20;
  background: transparent;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.edit_ad_media_remove:hover {
  background: rgba(217, 45, 32, 0.1);
  color: #b42318;
}

.edit_ad_media_remove:focus-visible {
  outline: 2px solid #d92d20;
  outline-offset: 1px;
}


/* Manage Your Events renders through x-component; the host must not add a layout box,
   otherwise the section loses the positioning it had as a direct child of the tab. */
.events-manage-host {
  display: contents;
}

/* ═════════════════════════════════════════════
   ════════ MANAGE YOUR EVENTS ════════
   The "My Events" tab is the organizer screen: the campaign modal's metric
   cards on top, the Offers tab's underline tab strip, and one card per event
   this member hosts.
   ═════════════════════════════════════════════ */

.founders_dashboard_events_body .events-manage {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  min-height: 0;
  height: 100%;
}

.founders_dashboard_events_body .events-manage__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0 4px;
}

/* Back, Weekly and Create are one control row: same 44px height, same 16px type. */
.founders_dashboard_events_body .events-manage__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px 0 14px;
  border: 1px solid #eaecf0;
  border-radius: 100px;
  background: #f2f4f7;
  color: #344054;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), color 160ms;
}

.founders_dashboard_events_body .events-manage__back:hover {
  background: #eaecf0;
  color: #101828;
}

.founders_dashboard_events_body .events-manage__back:focus-visible {
  outline: 2px solid #2966f4;
  outline-offset: 2px;
}

.founders_dashboard_events_body .events-manage__controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Timeframe chip: the shared filter select inside the pill, so the menu is the
   app-wide listbox while the chip keeps its icon and the 44px control row. */
.founders_dashboard_events_body .events-manage__range {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 10px 0 14px;
  border: 1px solid #eaecf0;
  border-radius: 100px;
  background: #f2f4f7;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.founders_dashboard_events_body .events-manage__range:hover {
  background: #eaecf0;
}

/* Matches the field variant's focus ring rather than the browser's outline. */
.founders_dashboard_events_body .events-manage__range:focus-within {
  border-color: #2966f4;
  box-shadow: 0 0 0 3px rgba(41, 102, 244, 0.16);
  outline: none;
}

.founders_dashboard_events_body .events-manage__range-icon {
  flex: 0 0 auto;
}

/* Static so the menu aligns to the chip's edges instead of the trigger's. */
.founders_dashboard_events_body .events-manage__range .gf-filter-select {
  position: static;
  width: auto;
}

.founders_dashboard_events_body .events-manage__range .gf-filter-select__trigger {
  height: 44px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.founders_dashboard_events_body .events-manage__range .gf-filter-select__trigger:hover,
.founders_dashboard_events_body .events-manage__range .gf-filter-select.is-open .gf-filter-select__trigger {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.founders_dashboard_events_body .events-manage__range .gf-filter-select__value {
  color: #344054;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.founders_dashboard_events_body .events-manage__range .gf-filter-select__chevron {
  width: 16px;
  height: 16px;
  color: #344054;
}

/* The chip is narrow, so the menu opens under its right edge at a readable width. */
.founders_dashboard_events_body .events-manage__range .gf-filter-select__menu {
  left: auto;
  right: 0;
  min-width: 208px;
}

.founders_dashboard_events_body .events-manage__scroll {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 24, 40, 0.08) transparent;
}

/* The scroll box is a flex column, so its children must not shrink to fit the
   viewport — otherwise the tab strip collapses to a 1px line. */
.founders_dashboard_events_body .events-manage__scroll > * {
  flex-shrink: 0;
}

/* Metric cards: the campaign analytics cards, minus the click affordance. */
.founders_dashboard_events_body .events-manage__stats .campaign_analytics_metric_card {
  height: 138px;
  padding: 22px;
  border: 1px solid #eaecf0;
  cursor: default;
}

.founders_dashboard_events_body .events-manage__stats .campaign_analytics_metric_card:hover {
  border-color: #d0d5dd;
}

.founders_dashboard_events_body .events-manage__stats .campaign_analytics_metric_num {
  font-size: var(--gf-text-section);
  letter-spacing: -0.02em;
}

.founders_dashboard_events_body .events-manage__stats .campaign_analytics_metric_change {
  font-size: var(--gf-text-caption);
}

.founders_dashboard_events_body .events-manage__stats .campaign_analytics_metric_change.is-down {
  color: #f04438;
}

.founders_dashboard_events_body .events-manage__stats .campaign_analytics_metric_change.is-flat {
  color: #667085;
}

.founders_dashboard_events_body .events-manage__title {
  margin: 2px 0 0;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  letter-spacing: -0.2px;
  color: #101828;
}

.founders_dashboard_events_body .events-manage__tabs {
  border-bottom: 1px solid #eaecf0;
  height: 41px;
}

.founders_dashboard_events_body .events-manage__tabs .offers-tab {
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  padding: 0 8px 10px;
  font-family: inherit;
  height: 40px;
}

.founders_dashboard_events_body .events-manage__tabs .offers-tab.active {
  border-bottom-color: #2966f4;
}

.founders_dashboard_events_body .events-manage__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  /* Room for the new-registers pill, which hangs 11px above the first row. */
  padding-top: 14px;
}

.founders_dashboard_events_body .manage-event {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #eaecf0;
  border-radius: 16px;
  background: #ffffff;
  min-width: 0;
  transition: box-shadow 160ms cubic-bezier(0.2, 0, 0, 1), border-color 160ms;
}

/* The new-registers pill straddles the artwork's top edge, so the card cannot clip
   its children — the cover and body round their own corners instead. */
/* The badges sit inside the artwork on the same top line as the menu disc, pinned right. */
.founders_dashboard_events_body .manage-event__top-tags {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  max-width: calc(100% - 66px);
}

.founders_dashboard_events_body .manage-event__new-registers {
  padding: 3px 12px;
  border-radius: 100px;
  background: #f04438;
  color: #ffffff;
  /* The page's type floor is 16px, badge included. */
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(240, 68, 56, 0.35);
}

/* Inside the tag row the Live badge is part of the flow, not pinned to the corner. */
.founders_dashboard_events_body .manage-event__top-tags .event-live-badge {
  position: static;
  top: auto;
  right: auto;
}

.founders_dashboard_events_body .manage-event:hover {
  border-color: #d0d5dd;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.founders_dashboard_events_body .manage-event__cover {
  position: relative;
  aspect-ratio: 554 / 217;
  flex-shrink: 0;
  border-radius: 15px 15px 0 0;
  background-color: #eef1f5;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Edit pencil: white disc straddling the artwork and the body, bottom-right. */
.founders_dashboard_events_body .manage-event__cover .event-card-edit-btn {
  position: absolute;
  right: 14px;
  bottom: -22px;
  left: auto;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eaecf0;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.1);
  color: #101828;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.founders_dashboard_events_body .manage-event__cover .event-card-edit-btn:hover {
  background: #f9fafb;
  color: #101828;
  transform: none;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.14);
}

.founders_dashboard_events_body .manage-event__cover .event-live-badge {
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 3px 10px;
  gap: 6px;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
}

.founders_dashboard_events_body .manage-event__cover .event-live-badge .live-dot {
  width: 6px;
  height: 6px;
}

/* The menu itself is the app-wide dropdown component; only its glassmorphic
   trigger disc is card-specific, since it floats over the artwork. */
.founders_dashboard_events_body .manage-event__cover .event-card-menu-host {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
}

.founders_dashboard_events_body .manage-event__cover .gf-menu__trigger,
.founders_dashboard_events_body .manage-event__cover .gf-menu__trigger:hover,
.founders_dashboard_events_body .manage-event__cover .gf-menu__trigger.is-open {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 3px 12px rgba(16, 24, 40, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.founders_dashboard_events_body .manage-event__cover .gf-menu__trigger:hover,
.founders_dashboard_events_body .manage-event__cover .gf-menu__trigger.is-open {
  background: rgba(255, 255, 255, 0.72);
  color: #ffffff;
}

/* White dots on a brighter disc: the shadow keeps them readable. */
.founders_dashboard_events_body .manage-event__cover .gf-menu__trigger svg {
  filter: drop-shadow(0 1px 2px rgba(16, 24, 40, 0.45));
}

.founders_dashboard_events_body .manage-event__cover .gf-menu__trigger svg {
  width: 18px;
  height: 18px;
}

.founders_dashboard_events_body .manage-event__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 18px 18px 16px;
  border-radius: 0 0 15px 15px;
  background: #ffffff;
  min-width: 0;
}

.founders_dashboard_events_body .manage-event__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  line-height: 1.3;
}

.founders_dashboard_events_body .manage-event__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--gf-text-body);
  color: #667085;
}

.founders_dashboard_events_body .manage-event__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d0d5dd;
}

.founders_dashboard_events_body .manage-event__friends {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body);
  color: #475467;
}

.founders_dashboard_events_body .manage-event__friends .avatar-stack {
  display: flex;
  align-items: center;
}

.founders_dashboard_events_body .manage-event__friends .avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -8px;
}

.founders_dashboard_events_body .manage-event__friends .avatar:first-child {
  margin-left: 0;
}

.founders_dashboard_events_body .manage-event__chips {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 6px;
}

.founders_dashboard_events_body .manage-event__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: var(--gf-text-caption);
  color: #101828;
}

.founders_dashboard_events_body .manage-event__chip svg {
  flex-shrink: 0;
  color: #2966f4;
}

.founders_dashboard_events_body .manage-event__chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.founders_dashboard_events_body .events-manage__loading {
  box-sizing: border-box;
  width: 100%;
  flex: 1 1 auto;
  min-height: 220px;
  margin: 0;
}

.founders_dashboard_events_body .events-manage__loading-label {
  color: #667085;
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

/* The management screen's type floor is 16px everywhere, deltas and meta included. */
.founders_dashboard_events_body .events-manage .campaign_analytics_metric_change,
.founders_dashboard_events_body .events-manage .campaign_analytics_metric_title,
.founders_dashboard_events_body .manage-event__friends-text,
.founders_dashboard_events_body .manage-event__meta,
.founders_dashboard_events_body .manage-event__chip,
.founders_dashboard_events_body .events-manage-stat__hint {
  font-size: var(--gf-text-body);
}

@media (max-width: 1100px) {
  .founders_dashboard_events_body .events-manage__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .founders_dashboard_events_body .events-manage__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .founders_dashboard_events_body .events-manage {
    height: auto;
  }

  .founders_dashboard_events_body .events-manage__list,
  .founders_dashboard_events_body .events-manage__stats {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ═════════════════════════════════════════════
   ════════ EVENT STATS (View Registers) ════════
   The organizer's registration list. The sheet is a grey canvas: the event and
   its totals are white cards, the registrations are one white block, and the
   tabs sit straight on the grey. Nothing here goes below 16px.
   ═════════════════════════════════════════════ */

.event_stats_modal {
  display: flex;
  flex-direction: column;
  width: min(1560px, 85vw);
  max-width: min(1560px, 85vw);
  height: 90vh;
  max-height: 90vh;
  border-radius: 24px;
  background: #f7f8fa;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(16, 24, 40, 0.18);
}

.event_stats_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 10px;
  flex-shrink: 0;
}

.event_stats_title {
  margin: 0;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  letter-spacing: -0.3px;
  color: #101828;
}

.event_stats_close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #475467;
  cursor: pointer;
}

.event_stats_close:hover {
  background: #eaecf0;
  color: #101828;
}

.event_stats_body {
  display: grid;
  /* The rail carries the event, its totals and the organiser's numbers, so it gets
     20% more room than the table needs to give up. */
  grid-template-columns: 302px minmax(0, 1fr);
  gap: 16px;
  padding: 0 20px 18px;
  min-height: 0;
  flex: 1;
}

/* ── Left rail: white cards on the grey canvas, no borders ─────────────── */

.event_stats_rail {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.event_stats_event {
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
}

.event_stats_event_cover {
  position: relative;
  aspect-ratio: 264 / 96;
  background-color: #eef1f5;
  background-size: cover;
  background-position: center;
}

.event_stats_event_dots,
.event_stats_event_edit {
  position: absolute;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #344054;
}

.event_stats_event_dots {
  top: 8px;
  left: 8px;
}

.event_stats_event_edit {
  right: 10px;
  bottom: -16px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 1px solid #eaecf0;
  color: #101828;
}

.event_stats_event_body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}

.event_stats_event_title {
  margin: 0;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  line-height: 1.3;
}

.event_stats_event_meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--gf-text-body);
  color: #667085;
}

.event_stats_dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d0d5dd;
}

.event_stats_event_friends {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body);
  color: #475467;
}

.event_stats_avatars {
  display: flex;
}

.event_stats_avatars img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -8px;
}

.event_stats_avatars img:first-child {
  margin-left: 0;
}

.event_stats_event_chips {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.event_stats_chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: var(--gf-text-body);
  color: #101828;
}

.event_stats_chip svg {
  flex-shrink: 0;
  color: #2966f4;
}

.event_stats_chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event_stats_total {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  flex-shrink: 0;
}

.event_stats_total_icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f5f8ff;
  color: #2966f4;
}

.event_stats_total_label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #475467;
}

.event_stats_total_value {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-semibold);
  letter-spacing: -0.02em;
  color: #101828;
  line-height: 1.1;
}

.event_stats_total_value.is-money {
  color: #2966f4;
}

/* ── Right side ───────────────────────────────────────────────────────── */

.event_stats_main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  gap: 12px;
}

/* Tabs sit on the grey canvas; the controls keep their natural width and drop
   to their own line before they would ever squeeze the tabs. */
.event_stats_toolbar {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  /* The strip of tabs and the search/actions cannot share a narrow row. Letting the row
     wrap moves the controls onto their own line first; the tabs then keep the whole width
     and scroll as a carousel, which is the cue a native tab strip gives. */
  flex-wrap: wrap;
  flex-shrink: 0;
  padding-bottom: 4px;
}

.event_stats_tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  /* Sized by its own content: when the strip and the controls cannot share a line, flexbox
     wraps the controls first instead of squeezing the strip into a clipped sliver. Only when
     the strip alone is wider than the row does it scroll as a carousel. */
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.event_stats_tabs::-webkit-scrollbar {
  display: none;
}

/* A half-visible tab would read as broken text, so the strip fades at its edge
   instead — the same cue a native carousel uses. */
.event_stats_tabs {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
}

.event_stats_tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: 9px 14px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: #475467;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1), color 160ms;
}

.event_stats_tab:hover {
  background: #eceef2;
}

.event_stats_tab.is-active {
  background: #e7edfd;
  color: #2054cc;
  font-weight: var(--gf-weight-semibold);
}

.event_stats_controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  margin-left: auto;
  /* The buttons wrap before anything is clipped when the sheet itself is narrow. */
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.event_stats_search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 200px;
  min-width: 160px;
  height: 42px;
  padding: 0 14px;
  border-radius: 100px;
  background: #ffffff;
  color: #667085;
}

.event_stats_search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: var(--gf-text-body);
  color: #101828;
  outline: none;
}

.event_stats_search input::placeholder {
  color: #667085;
}

.event_stats_send {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 42px;
  border-radius: 100px;
  background: #ffffff;
}

.event_stats_send_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 14px;
  border: 0;
  background: transparent;
  color: #344054;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  white-space: nowrap;
}

.event_stats_send_caret {
  display: grid;
  place-items: center;
  width: 30px;
  border: 0;
  border-radius: 0 100px 100px 0;
  background: transparent;
  color: #475467;
  cursor: pointer;
}

.event_stats_send_caret:hover {
  background: #f2f4f7;
}

.event_stats_send_menu {
  position: relative;
}

/* Grey panel, and every row is one centred line: icon, label. */
.event_stats_send_panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  display: flex;
  flex-direction: column;
  width: 296px;
  padding: 8px;
  border: 0;
  border-radius: 18px;
  background: #f2f4f7;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
}

.event_stats_send_item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #101828;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.event_stats_send_item svg {
  flex-shrink: 0;
  color: #667085;
}

.event_stats_send_item:hover {
  background: #ffffff;
}

.event_stats_send_item.is-selected {
  background: #ffffff;
  font-weight: var(--gf-weight-semibold);
}

.event_stats_invite_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 100px;
  background: #2966f4;
  color: #ffffff;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(41, 102, 244, 0.24);
}

.event_stats_invite_btn:hover {
  background: #2054cc;
}

/* The registrations are one white block on the grey; the pager stays on grey. */
.event_stats_content {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 4px 6px 0;
  border-radius: 20px;
  background: #ffffff;
}

.event_stats_table_wrap {
  min-width: 0;
  min-height: 0;
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
}

.event_stats_table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--gf-text-body);
}

.event_stats_table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 12px;
  background: #ffffff;
  color: #667085;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  text-align: left;
  white-space: nowrap;
}

.event_stats_table tbody td {
  padding: 12px;
  border-top: 1px solid #f2f4f7;
  color: #101828;
  font-size: var(--gf-text-body);
  white-space: nowrap;
  vertical-align: middle;
}

.event_stats_table .is-actions {
  width: 56px;
  text-align: right;
}

.event_stats_user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.event_stats_user_avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: #f2f4f7;
}

.event_stats_user_avatar.is-initials {
  display: grid;
  place-items: center;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #475467;
}

.event_stats_user_text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.event_stats_user_text strong {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event_stats_user_text span {
  font-size: var(--gf-text-body);
  color: #667085;
}

.event_stats_status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
}

.event_stats_status_dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.event_stats_status.is-accepted {
  background: #e7f8ef;
  color: #027a48;
}

.event_stats_status.is-pending {
  background: #fef4e6;
  color: #b54708;
}

.event_stats_status.is-rejected {
  background: #fee4e2;
  color: #b42318;
}

.event_stats_row_menu {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.event_stats_row_trigger {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #475467;
  cursor: pointer;
}

.event_stats_row_trigger:hover {
  background: #f2f4f7;
  color: #101828;
}

.event_stats_row_panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  display: flex;
  flex-direction: column;
  width: 268px;
  padding: 10px;
  border: 1px solid #eaecf0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
}

.event_stats_row_decision {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.event_stats_row_decision button {
  flex: 1;
  height: 38px;
  border: 0;
  border-radius: 100px;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
}

.event_stats_row_decision .is-accept {
  background: #2966f4;
  color: #ffffff;
}

.event_stats_row_decision .is-accept:hover {
  background: #2054cc;
}

.event_stats_row_decision .is-decline {
  background: #f2f4f7;
  color: #344054;
}

.event_stats_row_decision .is-decline:hover {
  background: #eaecf0;
}

.event_stats_row_decision button:disabled {
  opacity: 0.6;
  cursor: default;
}

.event_stats_row_item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #101828;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  line-height: 1;
  text-align: left;
  cursor: pointer;
}

.event_stats_row_item:hover {
  background: #f9fafb;
}

.event_stats_row_item svg {
  flex-shrink: 0;
  color: #667085;
}

/* Destructive but reversible: declining a registration reads lighter than Block. */
.event_stats_row_item.is-danger-quiet {
  color: #e04f4f;
}

.event_stats_row_item.is-danger-quiet svg {
  color: #e04f4f;
}

.event_stats_row_item.is-danger-quiet:hover {
  background: #fef3f2;
}

.event_stats_row_item.is-danger {
  color: #d92d20;
}

.event_stats_row_item.is-danger svg {
  color: #d92d20;
}

.event_stats_row_item.is-danger:hover {
  background: #fef3f2;
}

.event_stats_empty {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 200px;
  padding: 24px;
  color: #667085;
  font-size: var(--gf-text-body);
  text-align: center;
}

.event_stats_pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 6px;
  flex-shrink: 0;
  /* A global `footer` rule paints a gradient; this pager is plain. */
  background: transparent;
  background-image: none;
}

.event_stats_pager_arrow,
.event_stats_pager_page {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #475467;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
}

.event_stats_pager_arrow:hover,
.event_stats_pager_page:hover {
  background: #eceef2;
}

.event_stats_pager_page.is-active {
  background: #e7edfd;
  color: #2054cc;
  font-weight: var(--gf-weight-semibold);
}

.event_stats_pager_arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ── Compose Message panel ─────────────────────────────────────────────── */

.event_compose {
  position: absolute;
  z-index: 35;
  top: 8px;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: auto;
  max-height: none;
  overflow-y: auto;
  padding: 18px;
  border: 0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 24, 40, 0.18);
  min-width: 0;
}

.event_compose_head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.event_compose_icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eaf0ff;
  color: #2966f4;
}

.event_compose_titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.event_compose_titles strong {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
}

.event_compose_titles span {
  font-size: var(--gf-text-body);
  color: #667085;
}

.event_compose_close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #475467;
  cursor: pointer;
}

.event_compose_close:hover {
  background: #f2f4f7;
  color: #101828;
}

.event_compose_field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* The shared field kit sizes itself to its content; inside the composer both
   controls take the panel's full width, and the message box grows with it. */
.event_compose .gf-field {
  align-self: stretch;
  width: 100%;
}

.event_compose .gf-field__shell {
  width: 100%;
}

.event_compose .event_compose_field:has(.event_compose_editor) {
  flex: 1;
  min-height: 0;
}

.event_compose_editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 132px;
}

.event_compose_editor textarea {
  flex: 1;
}

.event_compose_label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #101828;
}

/* `.gf-field__shell` draws the box; this only positions the real <select> over it. */
.event_compose_select {
  position: relative;
  color: #344054;
}

.event_compose_select > .gf-field__input {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event_compose_select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.event_compose_editor {
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.event_compose_editor textarea {
  display: block;
  width: 100%;
  min-height: 132px;
  padding: 12px;
  border: 0;
  background: transparent;
  color: #101828;
  font-family: inherit;
  font-size: var(--gf-text-body);
  line-height: 1.5;
  resize: vertical;
  outline: none;
}

.event_compose_editor textarea::placeholder {
  color: #98a2b3;
}

.event_compose_toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-top: 1px solid #f2f4f7;
  background: #fdfdfe;
  color: #344054;
}

.event_compose_toolbar button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.event_compose_toolbar button:hover {
  background: #f2f4f7;
}

.event_compose_count {
  margin-left: auto;
  font-size: var(--gf-text-body);
  color: #667085;
}

/* The panel can outgrow the sheet on short screens, so the actions stay pinned
   to its bottom edge and the fields scroll behind them. */
.event_compose_actions {
  position: sticky;
  bottom: -18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 -18px -18px;
  padding: 12px 18px 18px;
  background: #ffffff;
}

.event_compose_draft {
  flex: 1;
  height: 44px;
  border: 1px solid #b2ccff;
  border-radius: 100px;
  background: #ffffff;
  color: #2966f4;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
}

.event_compose_draft:hover {
  background: #f5f8ff;
}

.event_compose_send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1.2;
  height: 44px;
  border: 0;
  border-radius: 100px;
  background: #2966f4;
  color: #ffffff;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(41, 102, 244, 0.28);
}

.event_compose_send:hover:not(:disabled) {
  background: #2054cc;
}

.event_compose_send:disabled {
  background: #b2ccff;
  box-shadow: none;
  cursor: default;
}

/* Narrower sheets: the controls drop under the tabs as one neat row, and the
   tabs stay a swipeable carousel rather than squashing. */
@media (max-width: 1100px) {
  .event_stats_modal {
    width: 92vw;
    max-width: 92vw;
  }

  /* Below this the row cannot hold the controls and the tabs together, so the
     controls take their own line and align right — tabs keep scrolling. */
  .event_stats_toolbar {
    flex-wrap: wrap;
  }

  .event_stats_controls {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
  }

  .event_stats_search {
    flex: 1 1 180px;
    width: auto;
  }
}

@media (max-width: 1000px) {
  .event_stats_modal {
    width: 96vw;
    max-width: 96vw;
    height: 94vh;
    max-height: 94vh;
  }

  .event_stats_body {
    grid-template-columns: minmax(0, 1fr);
    overflow-y: auto;
    padding-bottom: 16px;
  }

  .event_stats_rail {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
  }

  .event_stats_event {
    flex: 0 0 240px;
  }

  .event_stats_total {
    flex: 0 0 168px;
  }

  /* Stacked layout: the results row can collapse under the rail, so give the
     composer (and the table it replaces) a floor and let the body scroll. */
  .event_stats_content {
    min-height: 460px;
  }

  .event_compose {
    position: absolute;
    inset: 0;
    width: 100%;
    max-height: none;
    border-radius: 18px;
  }
}

.earnings-period-select {
  width: 140px;
  flex: 0 0 140px;
  z-index: 2;
}

.earnings-period-select .gf-filter-select__trigger {
  height: 51px;
  min-height: 51px;
  padding-inline: 18px;
  border-color: transparent;
}

.earnings-period-select .gf-filter-select__label {
  display: none;
}

.earnings-period-select .gf-filter-select__value {
  font-weight: var(--gf-weight-regular);
}

.earnings-period-select .gf-filter-select__menu {
  right: 0;
  left: auto;
  width: 160px;
  border-radius: 12px;
}

.earnings-period-select .gf-filter-select__option {
  min-height: 44px;
  border-radius: 8px;
}

@media (max-width: 480px) {
  .earnings-period-select {
    width: 140px;
    flex-basis: 140px;
  }
}

/* ── Event booking, step 2: payment method ──
   The totals are listed above, so the choice between the wallet and a card is the last decision
   before the button. Each option is a radio row: the selected one picks up the brand border. */
.event-booking-payment-methods {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.event-booking-payment-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--gray-300, #eaecf0);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.event-booking-payment-method:hover {
  border-color: #d0d5dd;
}

.event-booking-payment-method.is-selected {
  border-color: #2966f4;
  background: #f5f8ff;
}

.event-booking-payment-method input {
  accent-color: #2966f4;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  flex: 0 0 auto;
}

.event-booking-payment-method-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.event-booking-payment-method-copy strong {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold, 600);
  color: #101828;
}

.event-booking-payment-method-copy span {
  font-size: var(--gf-text-caption);
  line-height: var(--gf-leading-caption);
  color: #667085;
}

/* Step 2 now carries the totals, the method picker and the banner, which no longer fit the
   520px sheet: the step scrolls and the actions stay pinned to the bottom of the panel. */
.event-booking-step {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-width: thin;
}

.event-booking-step > .event-booking-footer {
  position: static;
  flex-grow: 0;
  padding: 0;
  margin-top: auto;
  background: #ffffff;
}

/* ── Event booking: payment method rows and the confirmation ──
   Step 2 lists the wallet plus the saved cards, one radio row each, with a dashed row that adds
   another method. Step 3 keeps the event on the left and shows the receipt on the right. */
.event-booking-step-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: stretch;
}

.event-booking-subtitle {
  margin: 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #475467;
}

.event-booking-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
}

.event-booking-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--gray-300, #eaecf0);
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.event-booking-method:hover {
  border-color: #d0d5dd;
}

.event-booking-method.is-selected {
  border-color: #2966f4;
  background: #f5f8ff;
  box-shadow: 0 0 0 1px #2966f4 inset;
}

.event-booking-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #eef3fd;
  color: #2966f4;
}

.event-booking-method-icon svg {
  width: 22px;
  height: 22px;
}

.event-booking-method-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}

.event-booking-method-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold, 600);
  color: #101828;
}

.event-booking-method-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 32px;
  background: #e7f8ef;
  color: #027a48;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-caption);
}

.event-booking-method-hint {
  font-family: var(--gf-font);
  font-size: var(--gf-text-caption);
  line-height: var(--gf-leading-caption);
  color: #667085;
}

.event-booking-method-radio {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #2966f4;
}

.event-booking-method-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: stretch;
  padding: 14px 16px;
  border: 1px dashed #b2c6f7;
  border-radius: 16px;
  background: transparent;
  color: #2966f4;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold, 600);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.event-booking-method-add:hover {
  border-color: #2966f4;
  background: #f5f8ff;
}

.event-booking-method-add:disabled {
  opacity: .6;
  cursor: wait;
}

/* Step 3 */
.event-booking-step--success {
  gap: 20px;
}

.event-booking-success-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
}

.event-booking-success-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e7f8ef;
  color: #12b76a;
  margin-bottom: 4px;
}

.event-booking-success-check svg {
  width: 32px;
  height: 32px;
}

.event-booking-success-title {
  margin: 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
  color: #0a0a0a;
}

.event-booking-success-lead {
  margin: 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: #475467;
}

.event-booking-success-lead strong {
  color: #101828;
  font-weight: var(--gf-weight-semibold, 600);
}

.event-booking-receipt {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  border: 1px solid var(--gray-300, #eaecf0);
  border-radius: 16px;
  padding: 4px 16px;
}

.event-booking-receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #eaecf0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
}

.event-booking-receipt-row:last-child {
  border-bottom: 0;
}

.event-booking-receipt-row .label {
  color: #667085;
}

.event-booking-receipt-row .value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #101828;
  font-weight: var(--gf-weight-semibold, 600);
}

.event-booking-receipt-method svg {
  width: 18px;
  height: 18px;
  color: #475467;
}

/* The media corner carries the "Registered" pill once the booking lands. */
.event-booking-card-image {
  position: relative;
}

.event-booking-registered-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 32px;
  background: #ffffff;
  color: #027a48;
  font-family: var(--gf-font);
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold, 600);
  line-height: 1;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
}

/* Busy state for the pay button while the charge settles. */
.btn-booking-primary[aria-busy="true"],
.btn-booking-back:disabled {
  cursor: progress;
  opacity: 0.75;
}

.btn-booking-spinner {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: #ffffff;
  animation: gf-booking-spin 700ms linear infinite;
}

@keyframes gf-booking-spin {
  to {
    transform: rotate(360deg);
  }
}
