/* Design tokens for the Collaborate tab and for the shared person card, which also renders
   outside it (matches tab, event Connections). */
.collab-wrapper-inner,
.collab-person-card {
  --meet-font: var(--gf-font);
  --meet-primary: #2966f4;
  --meet-primary-hover: #2054cc;
  --meet-primary-light: #eff4ff;
  --meet-dark: #0a0a0a;
  --meet-text: #101828;
  --meet-text-muted: #667085;
  --meet-border: #e5e7eb;
  --meet-border-subtle: #eaecf0;
  --meet-bg-card: #ffffff;
  --meet-bg-pill: #f2f4f7;
  --meet-bg-pill-hover: #e5e7eb;
  --meet-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --meet-shadow-elevated:
    0 12px 32px rgba(16, 24, 40, 0.12), 0 2px 6px rgba(16, 24, 40, 0.04);
  --meet-radius-card: 18px;
  --meet-radius-pill: 24px;

  --main: var(--meet-primary);
  --main-light: var(--meet-primary-light);
  --dark: var(--meet-dark);
  --gray-900: var(--meet-text);
  --gray-800: #1d2939;
  --gray-700: #344054;
  --gray-600: #475467;
  --gray-500: var(--meet-text-muted);
  --gray-400: #98a2b3;
  --gray-300: #d0d5dd;
  --gray-200: var(--meet-border-subtle);
  --gray-100: var(--meet-bg-pill);
  --white: var(--meet-bg-card);
  --error: #f04438;
  --radius-card: var(--meet-radius-card);
  --radius-pill: var(--meet-radius-pill);
  --font: var(--gf-font);
  /* The Filters heading and the tab row share this height, so they sit on one centre line. */
  --collab-header-height: 46px;
  /* The content panel behind the pinned tab row (dashboard-revamp.css), so it blends in. */
  --collab-page-bg: #ffffff;
}

.collab-wrapper-inner {
  font-family: var(--gf-font);
  color: var(--meet-text);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.collab-page-wrapper {
  display: flex;
  gap: 24px;
  padding: 0 0 20px;
  min-height: max(320px, calc(100dvh - 220px));
  height: auto;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
  align-items: flex-start;
}

/* SIDEBAR */
.collab-sidebar {
  flex: 0 0 248px;
  width: 248px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  max-height: calc(100dvh - var(--shell-topbar-height, 80px) - 24px);
  overflow-y: auto;
  position: sticky;
  top: calc(var(--shell-topbar-height, 80px) + 16px);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 24, 40, 0.08) transparent;
}

.collab-sidebar-title {
  display: flex;
  align-items: center;
  height: var(--collab-header-height);
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: var(--dark);
  line-height: var(--gf-leading-card);
  text-align: left;
}

/* Segmented role toggle */
.collab-role-toggle {
  display: flex;
  background: var(--gray-100);
  padding: 4px;
  border-radius: 12px;
  gap: 2px;
  margin-bottom: 14px;
  border: 1px solid var(--gray-200);
}

.collab-role-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  color: var(--gray-600);
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-role-toggle button.is-active {
  background: var(--white);
  color: var(--main);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.collab-filters {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* Recent Requests */
.collab-recent-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.collab-recent-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: var(--dark);
  margin-bottom: 4px;
  text-align: left;
}

.collab-recent-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collab-recent-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  background: var(--gray-100);
  border-radius: 999px;
}

.collab-recent-empty {
  padding: 8px 0;
  color: var(--gray-500);
  font-size: var(--gf-text-body-strong);
}

.collab-r-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--gf-text-caption);
  font-weight: var(--gf-weight-semibold);
}

.collab-r-info {
  flex: 1;
  min-width: 0;
}

.collab-r-name,
.collab-r-role {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collab-r-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--dark);
  text-align: left;
}

.collab-r-role {
  font-size: var(--gf-text-body-strong);
  color: var(--gray-500);
  text-align: left;
}

.collab-r-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.collab-r-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  color: var(--gray-600);
}

.collab-r-btn:hover {
  background: var(--gray-200);
}

.collab-r-btn.accept:hover {
  background: #dcfce7;
  color: #15803d;
}

.collab-r-btn.reject:hover {
  background: #fee2e2;
  color: var(--error);
}

.collab-see-all-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 48px;
  padding: 0 16px;
  background: var(--gray-100);
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: var(--dark);
  cursor: pointer;
  width: 100%;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-see-all-btn:hover {
  background: var(--gray-200);
}

/* MAIN CONTENT */
.collab-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  height: auto;
  overflow: visible;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 24, 40, 0.08) transparent;
}

.collab-sidebar::-webkit-scrollbar,
.collab-main::-webkit-scrollbar {
  width: 4px;
}

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

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

/* Tab bar */
/* The discovery tabs are the page's main filters, so they stay pinned while the cards scroll. */
.collab-tab-row {
  position: sticky;
  top: var(--shell-topbar-height, 80px);
  z-index: 30;
  height: var(--collab-header-height);
  min-height: var(--collab-header-height);
  flex: 0 0 var(--collab-header-height);
  background: var(--collab-page-bg);
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.collab-tab-row::-webkit-scrollbar {
  display: none;
  /* Safari/Chrome */
}

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

.collab-tab:hover {
  background: rgba(0, 0, 0, 0.05);
}

.collab-tab.active {
  background: var(--main-light);
  color: var(--main);
}

.collab-badge {
  background: var(--error);
  color: var(--white);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  border-radius: 200px;
  padding: 0 8px;
  height: 20px;
  display: flex;
  align-items: center;
  margin-left: 4px;
}

/* PEOPLE GRID */
.collab-people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* PERSON CARD */
.collab-person-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  cursor: pointer;
  position: relative;
  min-width: 0;
}

.collab-person-card:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* The shared ⋯ menu is position:fixed, but a raised (hovered) card is a stacking context, so the
   panel would paint under the neighbouring cards. Lift the card while its menu is open. */
.collab-person-card:has(.gf-menu__trigger.is-open) {
  z-index: 10000 !important;
}

/* Cover + avatar section */
.collab-card-hero {
  position: relative;
  height: 74px;
  flex-shrink: 0;
}

.collab-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: calc(var(--radius-card) - 1px);
  border-top-right-radius: calc(var(--radius-card) - 1px);
}

.collab-card-cover-div {
  width: 100%;
  height: 100%;
  position: relative;
  border-top-left-radius: calc(var(--radius-card) - 1px);
  border-top-right-radius: calc(var(--radius-card) - 1px);
}

.collab-card-cover-div::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 30px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 30px
    );
}

/* Gradient placeholders */
.collab-cover-warm {
  background: linear-gradient(135deg, #c9a96e, #e8c99a, #d4a853);
}

.collab-cover-tech {
  background: linear-gradient(135deg, #1a2a3a, #2c3e55, #3d5a80);
}

.collab-cover-eco {
  background: linear-gradient(135deg, #1a3a28, #2e6644, #4a9e6a);
}

.collab-cover-health {
  background: linear-gradient(135deg, #3a1a2a, #6a2a4a, #9e4a6a);
}

.collab-cover-creative {
  background: linear-gradient(135deg, #2a1a3a, #4a2a6a, #6e4a9e);
}

.collab-cover-dark {
  background: linear-gradient(135deg, #0a0a1a, #1a1a2e, #2a2a4a);
}

.collab-cover-amber {
  background: linear-gradient(135deg, #3a2a1a, #6a4a2a, #9e6a3a);
}

.collab-cover-blue {
  background: linear-gradient(135deg, #1a2a4a, #2a4a7a, #3a6aaa);
}

.collab-cover-slate {
  background: linear-gradient(135deg, #1a2030, #2a3040, #3a4050);
}

.collab-card-avatar-wrap {
  position: absolute;
  bottom: -28px;
  left: 18px;
  z-index: 2;
}

.collab-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.collab-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* verified badge */
.collab-card-badge {
  position: absolute;
  bottom: -24px;
  left: 68px;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.collab-card-badge svg {
  width: 16px;
  height: 16px;
}

/* The person card's 3D tier badge sits on the avatar's lower right edge. */
.collab-card-badge.is-tier {
  left: 56px;
  bottom: -30px;
  width: 26px;
  height: 26px;
  background: transparent;
  box-shadow: none;
}

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

/* Card body */
.collab-card-body {
  padding: 42px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.collab-card-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: var(--dark);
  line-height: var(--gf-leading-body);
  text-align: left;
}

.collab-card-desc {
  font-size: var(--gf-text-body);
  color: var(--gray-500);
  line-height: var(--gf-leading-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

/* Info rows */
.collab-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding-top: 0;
}

.collab-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.collab-info-key {
  font-size: var(--gf-text-body);
  color: var(--gray-500);
  font-weight: var(--gf-weight-regular);
}

.collab-info-val {
  font-size: var(--gf-text-body);
  color: var(--dark);
  font-weight: var(--gf-weight-medium);
}

/* Location + email row */
.collab-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0 16px;
  margin-top: 0;
  min-width: 0;
}

.collab-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body-strong);
  color: var(--dark);
  font-weight: var(--gf-weight-medium);
  min-width: 0;
}

.collab-meta-item svg {
  color: var(--main);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Card footer */
.collab-card-footer {
  display: flex;
  gap: 8px;
  padding: 0 20px 20px;
  align-items: center;
  margin-top: auto;
}

/* The card's ⋯ menu is the shared dropdown component; keep the footer pill size/colour it
   had before, so switching to the global menu is not a visual change. */
.collab-card-footer .gf-menu__trigger {
  width: 58px;
  height: 46px;
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--dark);
}

.collab-card-footer .gf-menu__trigger:hover,
.collab-card-footer .gf-menu__trigger.is-open {
  background: var(--gray-200);
  color: var(--dark);
}

.collab-request-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  background: var(--main);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  font-family: inherit;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
  border-radius: 50px;
}

.collab-request-btn:hover {
  background: #2054cc;
  transform: translateY(-1px);
}

.collab-request-btn:active {
  transform: translateY(0);
}

.collab-request-btn.is-requested {
  background: var(--main-light);
  color: var(--main);
}

/* A request the member sent waits on the other side, so the card states it and takes no clicks. */
.collab-request-btn.is-pending {
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: default;
  pointer-events: none;
}

.collab-r-pending {
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  padding: 4px 10px;
}

/* On a Recent Requests row (itself grey) the pill is white so it stands out. */
.collab-recent-item .collab-r-pending {
  flex-shrink: 0;
  background: var(--white);
}

.collab-request-btn.accept {
  background: #dcfce7;
  color: #16a34a;
}

.collab-request-btn.accept:hover {
  background: #bbf7d0;
}

.collab-request-btn.reject {
  background: #fee2e2;
  color: var(--error);
}

.collab-request-btn.reject:hover {
  background: #fecaca;
}

.collab-more-btn {
  width: 58px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  color: var(--dark);
  flex-shrink: 0;
}

.collab-more-btn:hover {
  background: var(--gray-200);
}

/* Dropdown Filter Menu alignment */

/* Detail subview & Requests Subview Style matching */
.collab-requests-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.collab-back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  margin-bottom: 20px;
}

.collab-back-btn:hover {
  background: var(--gray-100);
}

/* Profile Details Premium Styles */
.collab-profile-cover-wrap {
  position: relative;
}

.collab-profile-cover-wrap .collab-back-btn {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: var(--gray-900);
}

.collab-profile-cover-wrap .collab-back-btn:hover {
  background: var(--white);
}

.collab-profile-hero {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.collab-profile-cover-wrap {
  position: relative;
  height: 200px;
}

.collab-profile-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collab-profile-avatar-wrap {
  position: absolute;
  bottom: -40px;
  left: 40px;
  border: 4px solid var(--white);
  border-radius: 50%;
  overflow: hidden;
  width: 100px;
  height: 100px;
  background: var(--gray-200);
}

.collab-profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collab-profile-hero-body {
  padding: 56px 40px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.collab-profile-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.collab-profile-name {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: var(--dark);
  text-align: left;
}

.collab-profile-bio {
  font-size: var(--gf-text-body);
  color: var(--gray-600);
  line-height: var(--gf-leading-body);
  text-align: left;
  max-width: 600px;
  margin-top: 8px;
}

.collab-profile-actions {
  display: flex;
  gap: 12px;
}

.collab-profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 40px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.collab-profile-meta-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.collab-profile-meta-label {
  font-size: var(--gf-text-body-strong);
  color: var(--gray-500);
  font-weight: var(--gf-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.collab-profile-meta-value {
  font-size: var(--gf-text-body-strong);
  color: var(--dark);
  font-weight: var(--gf-weight-semibold);
}

.collab-profile-details-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: flex-start;
}

.collab-profile-panel {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.collab-profile-panel h2 {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: var(--dark);
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 10px;
  margin-bottom: 4px;
}

.collab-interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.collab-interest-tag {
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
}

.collab-profile-points {
  margin-top: 14px;
}

.collab-profile-points strong {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: var(--dark);
  display: block;
  margin-bottom: 8px;
}

.collab-profile-points ul {
  list-style-type: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.collab-profile-points li {
  font-size: var(--gf-text-body);
  color: var(--gray-600);
  line-height: var(--gf-leading-body);
}

/* Extra dropdown search styles */

/* List placement styling */
.founders_dashboard_collaboration_more {
  position: relative;
}

.founders_dashboard_collaboration_more.is-dropdown-open,
.collab-person-card:has(.is-dropdown-open),
.collab-card:has(.is-dropdown-open),
.collab-person-card:has(
  .founders_dashboard_collaboration_more_menu:not([style*="display: none"])
),
.collab-card:has(
  .founders_dashboard_collaboration_more_menu:not([style*="display: none"])
) {
  position: relative !important;
  z-index: 9999 !important;
}

.founders_dashboard_collaboration_more_menu {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 99999 !important;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  width: 220px;
  margin-top: 4px;
  overflow: hidden;
}

.founders_dashboard_collaboration_more_menu_item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  font-size: var(--gf-text-body);
  font-family: inherit;
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  color: var(--dark);
  text-align: left;
}

.founders_dashboard_collaboration_more_menu_item:hover {
  background: var(--gray-100);
}

.founders_dashboard_collaboration_more_menu_item svg {
  color: var(--gray-500);
  flex-shrink: 0;
}

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

@media (max-width: 860px) {
  .collab-page-wrapper {
    flex-direction: column;
    height: auto;
    overflow: visible;
    min-height: 0;
  }

  .collab-sidebar {
    width: 100%;
    flex: none;
    overflow-y: visible;
    position: static;
    max-height: none;
    padding-right: 0;
  }

  /* Stacked, the column takes the full width instead of its content's width. */
  .collab-main {
    align-self: stretch;
    width: 100%;
    overflow-y: visible;
    height: auto;
    padding-right: 0;
  }
}

@media (max-width: 780px) {
  .collab-people-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Collaboration Card Cover More Button & Objective Badge */
.collab-cover-more-wrapper {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

/* On devices with a pointer, More appears when the card is hovered (or its menu is open);
   touch screens have no hover, so it stays visible there. */
@media (hover: hover) {
  .collab-cover-more-wrapper {
    opacity: 0;
    transform: translateY(-4px);
  }

  .collab-person-card:hover .collab-cover-more-wrapper,
  .collab-person-card:focus-within .collab-cover-more-wrapper,
  .collab-cover-more-wrapper.menu-open {
    opacity: 1;
    transform: translateY(0);
  }
}

.collab-cover-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-700);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  font-family: inherit;
  outline: none;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-cover-more-btn:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.founders_dashboard_collaboration_more_menu.cover-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  z-index: 100;
  width: 220px;
}

.collab-cover-objective-badge {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  padding: 3px 8px 3px 36px;
  border-radius: 0;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: var(--white);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.05);
}

.collab-pill-partnerships {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--open-to-partners) 100%
  );
}

.collab-pill-cofounders {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--open-to-copartners) 100%
  );
}

.collab-pill-sponsors {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--open-to-sponsors) 100%
  );
}

/* Open To Dropdown Menu */
.collab-cover-open-to-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  z-index: 150;
  width: 270px;
  background: var(--white, #fff);
  border: 1px solid #eef1f5;
  border-radius: 16px;
  box-shadow:
    0 12px 24px rgba(16, 24, 40, 0.08),
    0 4px 8px rgba(16, 24, 40, 0.04);
  padding: 20px;
  text-align: left;
  pointer-events: auto;
  font-family: inherit;
}

.collab-open-to-title {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #667085;
  margin-bottom: 14px;
  font-family: inherit;
}

.collab-open-to-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.collab-open-to-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 0;
}

/* One colour per "open to" type, shared by the card's cover pill, the "Open to" dropdown and
   the See-agreement modal, so a type always reads the same. */
:root {
  --open-to-partners: #3538cd; /* indigo */
  --open-to-sponsors: #b42318; /* red */
  --open-to-copartners: #027a48; /* green: Co-Founders, Co-Investors, Co-Seekers */
}

.collab-open-to-label {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  font-family: inherit;
}

.collab-open-to-label.label-partners {
  color: var(--open-to-partners);
}

.collab-open-to-label.label-sponsors {
  color: var(--open-to-sponsors);
}

.collab-open-to-label.label-cofounders {
  color: var(--open-to-copartners);
}

.collab-open-to-link {
  background: none;
  border: none;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #2966f4;
  /* Vibrant Blue */
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition:
    color 160ms cubic-bezier(0.2, 0, 0, 1),
    text-decoration 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-open-to-link:hover {
  color: #2054cc;
  text-decoration: underline;
}

/* Collaboration Info & Agreement Modals */
.collab-info-modal-backdrop,
.collab-agreement-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.collab-info-modal,
.collab-agreement-modal {
  background: var(--white);
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #eef1f5;
  animation: collabModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.collab-info-modal {
  background: var(--white);
  width: 860px;
  max-width: 95vw;
  border-radius: 32px;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 20px;
  border: none;
  animation: collabModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.collab-agreement-modal {
  max-width: 600px;
}

@keyframes collabModalSlideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.collab-info-header {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collab-agreement-header-new {
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eef1f5;
  padding: 20px 24px;
}

.collab-info-header h3 {
  margin: 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  line-height: var(--gf-leading-section);
  color: #000;
}

.collab-agreement-header-new h2 {
  margin: 0;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
}

.collab-info-close {
  background: #f2f4f7;
  border: none;
  color: #0a0a0a;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-info-close:hover {
  background: #e9edf2;
}

.collab-agreement-close {
  background: none;
  border: none;
  color: #667085;
  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),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-agreement-close:hover {
  background: #f2f4f7;
  color: #344054;
}

/* Info Modal Content */
.collab-info-hero {
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
  gap: 20px;
}

.collab-info-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: #000;
}

.collab-info-user-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.collab-info-gradient-badge {
  padding: 4px 20px 4px 8px;
  height: 28px;
  border-radius: 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  display: inline-flex;
  align-items: center;
  color: white;
  margin-right: -10px;
  z-index: 1;
}

/* See-agreement modal badge: the same colour as the type's "Open to" label. */
.badge-partners {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--open-to-partners) 40%
  );
}
.badge-sponsors {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--open-to-sponsors) 40%
  );
}
.badge-cofounders,
.badge-coinvestors,
.badge-coseekers {
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--open-to-copartners) 40%
  );
}

.collab-info-avatar-wrapper {
  position: relative;
  width: 56px;
  height: 56px;
  z-index: 2;
}

.collab-info-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.collab-info-avatar-decorator {
  position: absolute;
  bottom: 0;
  right: -8px;
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0px 1px 4px rgba(110, 116, 134, 0.12));
}

.collab-info-avatar-decorator svg {
  width: 12px;
  height: 12px;
}

.collab-info-body {
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
}

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

.collab-info-left h4 {
  margin: 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #101828;
  font-weight: var(--gf-weight-medium);
  line-height: var(--gf-leading-body);
}

.collab-info-left p {
  margin: 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #475467;
  line-height: var(--gf-leading-body);
}

.collab-info-right {
  width: 320px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-left: none;
  padding-left: 0;
}

.collab-info-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collab-info-detail-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.collab-info-detail-label {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #667085;
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
}

.collab-info-detail-value {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #101828;
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
}

.collab-info-contact-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.collab-info-contact-item {
  width: 156px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #0a0a0a;
}

.collab-info-cta {
  background: #0a0a0a;
  color: white;
  border: none;
  border-radius: 32px;
  padding: 12px 24px;
  font-family: var(--gf-font);
  font-weight: var(--gf-weight-regular);
  font-size: var(--gf-text-body);
  width: 100%;
  height: 48px;
  cursor: pointer;
  transition: opacity 160ms cubic-bezier(0.2, 0, 0, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.collab-info-cta:hover {
  opacity: 0.9;
}

/* Agreement Modal Specific */
.collab-agreement-modal {
  background: var(--white);
  width: 1050px;
  max-width: 95vw;
  border-radius: 32px;
  box-shadow: 0px 20px 64px -4px rgba(16, 24, 40, 0.08);
  display: flex;
  flex-direction: column;
  border: none;
  animation: collabModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.collab-agreement-header-new {
  padding: 32px 32px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: none;
}

.collab-agreement-header-new h2 {
  margin: 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: #000;
}

.collab-agreement-alert {
  background: rgba(41, 102, 244, 0.1);
  color: #2966f4;
  padding: 12px 0;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  line-height: var(--gf-leading-body);
  margin: 24px 32px 0 32px;
  border-radius: 8px;
  border: none;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.collab-agreement-alert p {
  margin: 0;
  display: inline-block;
  padding-left: 100%;
  animation: collabMarquee 20s linear infinite;
}

.collab-agreement-alert p:hover {
  animation-play-state: paused;
}

@keyframes collabMarquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

.collab-agreement-body-new {
  padding: 24px 32px;
  overflow-y: auto;
  max-height: 55vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.collab-agreement-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.collab-agreement-body-new h3 {
  font-family: var(--gf-font);
  font-size: var(--gf-text-card);
  color: #000;
  font-weight: var(--gf-weight-semibold);
  margin: 0;
}

.collab-agreement-body-new h4 {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #101828;
  font-weight: var(--gf-weight-medium);
  margin: 0 0 4px;
}

.collab-agreement-body-new p {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #475467;
  line-height: var(--gf-leading-body);
  margin: 0;
}

.collab-agreement-checkboxes {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  background: none;
  border: none;
}

.collab-agreement-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
}

.collab-agreement-custom-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #d0d5dd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: white;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-agreement-checkbox-label input[type="checkbox"] {
  display: none;
}

.collab-agreement-checkbox-label
  input[type="checkbox"]:checked
  + .collab-agreement-custom-checkbox {
  background: #2966f4;
  border-color: #2966f4;
}

.collab-agreement-custom-checkbox svg {
  width: 12px;
  height: 12px;
  color: white;
  opacity: 0;
  transition: opacity 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-agreement-checkbox-label
  input[type="checkbox"]:checked
  + .collab-agreement-custom-checkbox
  svg {
  opacity: 1;
}

.collab-agreement-checkbox-label span.checkbox-text {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  color: #101828;
  line-height: var(--gf-leading-body);
  padding-top: 2px;
}

.collab-agreement-footer-new {
  padding: 24px 32px;
  background: #ffffff;
  border-top: 1px solid #d0d5dd;
  border-radius: 0 0 32px 32px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.collab-agreement-btn-decline {
  padding: 12px 20px;
  border-radius: 32px;
  background: #f2f4f7;
  border: none;
  color: #0a0a0a;
  font-family: var(--gf-font);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  font-size: var(--gf-text-body);
  height: 48px;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-agreement-btn-decline:hover {
  background: #e9edf2;
}

.collab-agreement-btn-accept {
  padding: 12px 20px;
  border-radius: 32px;
  background: #2966f4;
  border: none;
  color: white;
  font-family: var(--gf-font);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  font-size: var(--gf-text-body);
  height: 48px;
  transition: all 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-agreement-btn-accept:not(.disabled):hover {
  opacity: 0.9;
}

.collab-agreement-btn-accept.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .collab-info-body {
    flex-direction: column;
    gap: 16px;
  }
  .collab-info-right {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #eef1f5;
    padding-top: 16px;
    width: 100%;
  }
}

.text-indigo-500 {
  color: #6366f1;
}

.collab-edu-years {
  font-size: var(--gf-text-body-strong);
  color: var(--gray-500);
}

.collab-communities-list-item .cc-plus {
  color: var(--dark);
  flex-shrink: 0;
}

.collab-communities-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 12px;
  border: none;
  background: transparent;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  font-family: inherit;
  cursor: pointer;
  border-radius: 12px;
  color: var(--dark);
  text-align: left;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-profile-verified-pill svg {
  color: #2966f4;
}

.collab-profile-contact-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.collab-communities-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px 18px 12px;
}

.collab-profile-panel-title {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: #2966f4;
}

.collab-social-icon.social-dribbble::after {
  content: "🏀";
  font-size: 12px;
}

.collab-event-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: var(--dark);
  margin-top: 4px;
  margin-bottom: 4px;
}

.collab-communities-list-item span {
  flex: 1;
  margin-left: 14px;
}

.collab-social-icon.social-facebook::after {
  content: "f";
}

.collab-communities-list-item:hover {
  background: var(--gray-50);
}

.collab-profile-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.collab-invested-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.collab-request-verifiers-btn {
  width: 100%;
  background: var(--main);
  color: var(--white);
  border-radius: 20px;
  padding: 14px 0;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  border: none;
  cursor: pointer;
  transition: opacity 160ms cubic-bezier(0.2, 0, 0, 1);
  font-family: inherit;
}

.collab-education-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.collab-social-icon.social-orange {
  background: #f97316;
}

.collab-profile-verified-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  color: var(--dark);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
}

.bg-blue-600 {
  background: #2966f4;
}

.collab-social-icon.social-behance {
  background: #2966f4;
}

.collab-edu-degree {
  font-size: var(--gf-text-body-strong);
  color: var(--gray-600);
}

.collab-social-icon.social-coffee {
  background: #000000;
}

.collab-upcoming-events-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.collab-profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.collab-communities-new-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--main);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  padding: 0;
}

.collab-contact-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-social-icon.social-facebook {
  background: #1877f2;
}

.collab-social-icon.social-instagram::after {
  content: "📸";
  font-size: 12px;
}

.collab-communities-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.collab-social-icon.social-dribbble {
  background: #ea4c89;
}

.collab-event-type-row svg {
  color: #2966f4;
}

.collab-education-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.collab-event-card {
  width: 280px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.collab-social-icon.social-coffee::after {
  content: "☕";
}

.collab-invested-name {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: var(--dark);
}

.collab-profile-actions-bottom {
  display: flex;
  align-items: center;
  gap: 32px;
}

.bg-black {
  background: #000;
}

.collab-event-type-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--gf-text-body-strong);
  color: var(--gray-600);
  font-weight: var(--gf-weight-medium);
}

.collab-profile-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.collab-profile-meta-stacked .collab-profile-meta-label {
  font-size: var(--gf-text-body-strong);
  color: #2966f4;
  font-weight: var(--gf-weight-semibold);
}

.collab-communities-title {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-medium);
  color: var(--dark);
}

.collab-education-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.collab-social-icon.social-behance::after {
  content: "Bē";
}

.collab-social-icon.social-linkedin {
  background: #0a66c2;
}

.collab-profile-hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.collab-profile-meta-stacked .collab-profile-meta-value {
  font-size: var(--gf-text-body-strong);
  color: var(--dark);
  font-weight: var(--gf-weight-semibold);
}

.collab-meta-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.collab-event-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.text-green-500 {
  color: #22c55e;
}

.collab-social-icon.social-instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.collab-event-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.bg-indigo-100 {
  background: #e0e7ff;
}

.founders_dashboard_collaboration_more_communities {
  display: flex;
  flex-direction: column;
}

.collab-social-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.collab-social-icon.social-linkedin::after {
  content: "in";
}

.collab-social-icon.social-orange::after {
  content: "O";
}

.bg-green-100 {
  background: #dcfce7;
}

.collab-request-verifiers-btn:hover {
  opacity: 0.9;
}

.collab-profile-meta-stacked {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.collab-edu-school {
  font-size: var(--gf-text-body-strong);
  color: var(--dark);
  font-weight: var(--gf-weight-semibold);
}

.collab-event-footer {
  font-size: var(--gf-text-body-strong);
  color: var(--gray-500);
}

.collab-contact-icon-btn:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.collab-invested-in-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 24px;
}

.collab-invested-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 200px;
}

.collab-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

.founders_dashboard_collaboration_more_menu_item:last-child {
  margin-bottom: 0;
}

.collab-profile-description-content {
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: var(--gray-700);
}

.collab-see-all-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--dark);
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-control);
  padding: 0;
  margin-top: 16px;
  cursor: pointer;
}

.collab-profile-panel-transparent {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.collab-profile-actions-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Empty State */
.collab-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 520px;
  gap: 8px;
  padding: 32px 20px;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}

.collab-empty-state > svg {
  width: 104px;
  height: 104px;
  max-width: 104px;
  max-height: 104px;
  flex: 0 0 104px;
  margin-bottom: 0;
}

.collab-empty-state h3 {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-card);
  color: #101828;
  margin: 8px 0 0;
}

.collab-empty-state p {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-regular);
  color: #475467;
  margin: 0;
  line-height: var(--gf-leading-body);
  max-width: 440px;
}

@media (max-width: 767px) {
  .collab-empty-state {
    min-height: 420px;
    padding: 24px 16px;
  }

  .collab-empty-state > svg {
    width: 88px;
    height: 88px;
  }

  .collab-empty-state h3 {
    font-size: var(--gf-text-body);
  }

  .collab-empty-state p {
    font-size: var(--gf-text-body-strong);
  }
}

.collab-improve-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gf-text-body);
  flex-direction: row;
  white-space: nowrap;
}

.collab-profile-meta-stacked .collab-profile-meta-value {
  font-size: var(--gf-text-body-strong);
  color: var(--dark);
  font-weight: var(--gf-weight-semibold);
}

.collab-meta-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.collab-event-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.text-green-500 {
  color: #22c55e;
}

.collab-social-icon.social-instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.collab-event-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.bg-indigo-100 {
  background: #e0e7ff;
}

.founders_dashboard_collaboration_more_communities {
  display: flex;
  flex-direction: column;
}

.collab-social-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.collab-social-icon.social-linkedin::after {
  content: "in";
}

.collab-social-icon.social-orange::after {
  content: "O";
}

.bg-green-100 {
  background: #dcfce7;
}

.collab-request-verifiers-btn:hover {
  opacity: 0.9;
}

.collab-profile-meta-stacked {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.collab-edu-school {
  font-size: var(--gf-text-body-strong);
  color: var(--dark);
  font-weight: var(--gf-weight-semibold);
}

.collab-event-footer {
  font-size: var(--gf-text-body-strong);
  color: var(--gray-500);
}

.collab-contact-icon-btn:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.collab-invested-in-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 24px;
}

.collab-invested-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 200px;
}

.collab-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

.founders_dashboard_collaboration_more_menu_item:last-child {
  margin-bottom: 0;
}

.collab-profile-description-content {
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
  color: var(--gray-700);
}

.collab-see-all-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--dark);
  font-weight: var(--gf-weight-medium);
  font-size: var(--gf-text-control);
  padding: 0;
  margin-top: 16px;
  cursor: pointer;
}

.collab-profile-panel-transparent {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.collab-profile-actions-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.collab-improve-profile-link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: #2966f4;
  text-decoration: none;
}

.collab-improve-profile-link:hover {
  text-decoration: underline;
}

/* --- NEW HERO & DETAILS LAYOUT --- */
.collab-profile-hero {
  position: relative;
  background: white;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  margin-bottom: 24px;
}
.collab-profile-cover-wrap {
  height: 200px;
  width: 100%;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.collab-profile-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collab-profile-hero-body {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.collab-profile-avatar-wrap {
  position: absolute;
  top: 130px;
  left: 32px;
  width: 140px;
  height: 140px;
  border: 4px solid white;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  z-index: 10;
}
.collab-profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.collab-profile-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: 164px;
  margin-top: -8px;
}
.collab-profile-hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.collab-profile-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.collab-profile-name {
  font-size: var(--gf-text-section);
  font-weight: var(--gf-weight-bold);
  color: #101828;
  margin: 0;
}
.collab-profile-verified-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f2f4f7;
  border-radius: 16px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
}
.collab-profile-actions-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.collab-profile-hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.collab-profile-bio {
  font-size: var(--gf-text-body);
  color: #475467;
  margin: 0;
  max-width: 500px;
  line-height: var(--gf-leading-body);
}
.collab-profile-actions-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
}
.collab-profile-meta-stacked {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.collab-profile-meta-label {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #2966f4;
}
.collab-profile-meta-value {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: #344054;
}
.collab-profile-contact-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* DETAILS LAYOUT */
.collab-profile-details-layout {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}
.collab-profile-sidebar {
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}
.collab-profile-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* PANELS */
.collab-profile-panel {
  background: white;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  padding: 24px;
}
.collab-profile-main-box {
  background: white;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.collab-profile-main-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #eef1f5;
}
.collab-profile-main-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.collab-profile-panel-title {
  color: #2966f4;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  margin: 0 0 16px 0;
}

/* OTHER OVERRIDES */
.collab-interest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.collab-interest-tag {
  padding: 4px 12px;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  font-size: var(--gf-text-body-strong);
  color: #344054;
  font-weight: var(--gf-weight-medium);
}
.collab-education-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.collab-education-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef1f5;
}
.collab-education-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.collab-edu-school {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
}
.collab-edu-degree {
  font-size: var(--gf-text-body-strong);
  color: #475467;
}
.collab-edu-years {
  font-size: var(--gf-text-body-strong);
  color: #667085;
}
.collab-profile-points p {
  font-weight: var(--gf-weight-semibold);
  color: #344054;
  margin-bottom: 8px;
}
.collab-profile-points ul {
  padding-left: 20px;
  margin: 0;
  color: #475467;
}
.collab-profile-points li {
  margin-bottom: 4px;
}

/* ══════════════════════════════
   MY PROFILE PAGE — COLLAB STYLE
══════════════════════════════ */

/* Cover edit button (top-right of cover) */
.myprofile-edit-cover-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: #344054;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}
.myprofile-edit-cover-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
.myprofile-edit-cover-btn svg {
  flex-shrink: 0;
}

/* Avatar camera overlay button */
.myprofile-edit-avatar-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #2966f4;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  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(0, 0, 0, 0.15);
}
.myprofile-edit-avatar-btn:hover {
  background: #2054cc;
  transform: scale(1.1);
}

/* Hero "Edit Profile" button (replaces Request Collaboration) */
.myprofile-edit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 20px;
  border: 1.5px solid #d0d5dd;
  background: #ffffff;
  color: #344054;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-semibold);
  font-family: inherit;
  cursor: pointer;
  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);
  flex-shrink: 0;
}
.myprofile-edit-btn:hover {
  background: #f9fafb;
  border-color: #2966f4;
  color: #2966f4;
  transform: translateY(-1px);
}
.myprofile-edit-btn:active {
  transform: translateY(0);
}

/* Small pencil icon button inside panel headers */
.myprofile-panel-edit-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #98a2b3;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    color 160ms cubic-bezier(0.2, 0, 0, 1);
  flex-shrink: 0;
}
.myprofile-panel-edit-btn:hover {
  background: #eff4ff;
  color: #2966f4;
}

/* Event details link inside event cards */
.myprofile-event-details-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #2966f4;
  text-decoration: none;
  transition:
    gap 160ms cubic-bezier(0.2, 0, 0, 1),
    opacity 160ms cubic-bezier(0.2, 0, 0, 1);
  margin-top: 4px;
}
.myprofile-event-details-link:hover {
  gap: 8px;
  opacity: 0.85;
}

/* Collab hero content row layout */
.collab-profile-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.collab-profile-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.collab-profile-hero-bottom-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.collab-profile-bio {
  flex: 1;
  min-width: 180px;
}
.collab-profile-actions-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.collab-profile-meta-stacked {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.collab-profile-contact-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Contact icon buttons */
.collab-contact-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f4f7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  text-decoration: none;
  border: none;
  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;
}
.collab-contact-icon-btn:hover {
  background: #eff4ff;
  color: #2966f4;
  transform: scale(1.08);
}

/* Verified pill */
.collab-profile-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff4ff;
  color: #2966f4;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
}
.collab-profile-verified-pill.unverified {
  background: #f2f4f7;
  color: #667085;
}

/* Collab profile panel title */
.collab-profile-panel-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #101828;
  margin: 0 0 12px 0;
  text-align: left;
}

/* Main box sections */
.collab-profile-main-box {
  background: #ffffff;
  border: 1px solid #eef1f5;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.collab-profile-main-section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid #f2f4f7;
}

/* Invested-in / partnership grid */
.collab-invested-in-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  padding: 16px;
  justify-content: space-between;
}
.collab-invested-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}
.collab-invested-name {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: #101828;
}

/* Description content */
.collab-profile-description-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.collab-profile-description-content > p {
  font-size: var(--gf-text-body);
  color: #475467;
  line-height: var(--gf-leading-body);
}

/* See all dropdown btn */
.collab-see-all-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid #eef1f5;
  background: #f9fafb;
  color: #344054;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  font-family: inherit;
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}
.collab-see-all-dropdown-btn:hover {
  background: #eff4ff;
  border-color: #2966f4;
  color: #2966f4;
}

/* Social links row in panels */
.collab-social-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.collab-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition:
    opacity 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}
.collab-social-icon:hover {
  opacity: 0.85;
  transform: scale(1.08);
}

.collab-improve-profile-link svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin: 0;
}

@media (max-width: 767px) {
  .collab-empty-state {
    min-height: 420px;
    padding: 24px 16px;
  }

  .collab-empty-state > svg {
    width: 88px;
    height: 88px;
  }

  .collab-empty-state h3 {
    font-size: var(--gf-text-body);
  }

  .collab-empty-state p {
    font-size: var(--gf-text-body-strong);
  }
}

/* ═════════════════════════════════════════════════════════════════
   UNREGISTERED COLLABORATION PROFILE VIEW STYLES
   Harmonized with meetings.css tokens and sizing
   ═════════════════════════════════════════════════════════════════ */

.unreg-collab-profile-wrap {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--gf-font);
  color: var(--meet-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HERO BANNER CARD */
.unreg-profile-hero-card {
  background: var(--meet-bg-card);
  border-radius: 24px;
  border: 1px solid var(--meet-border-subtle);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--meet-shadow);
}

.unreg-profile-cover-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #e4e7ec;
}

.unreg-profile-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.unreg-profile-hero-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 28px 24px 28px;
  margin-top: -48px;
  position: relative;
  gap: 20px;
  flex-wrap: wrap;
}

.unreg-profile-avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid var(--meet-bg-card);
  overflow: hidden;
  background: var(--meet-bg-card);
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.unreg-profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Initials stand in when a member has no avatar, so the circle never shows a broken image. */
.unreg-profile-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F2F4F7;
  color: #475467;
  font-size: var(--gf-text-title-modal);
  font-weight: var(--gf-weight-semibold);
  letter-spacing: 0.01em;
  user-select: none;
}

.unreg-profile-meta-col {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.unreg-profile-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.unreg-profile-name {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
  margin: 0;
  line-height: var(--gf-leading-card);
  font-family: var(--gf-font);
}

.unreg-profile-badge-3d {
  display: inline-flex;
  align-items: center;
}

.unreg-profile-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--meet-primary-light);
  color: var(--meet-primary);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  padding: 4px 12px;
  border-radius: var(--meet-radius-pill);
  font-family: var(--gf-font);
}

.unreg-profile-verified-pill.is-unverified {
  background: rgba(240, 68, 56, 0.1);
  color: #b42318;
}

.unreg-profile-verified-pill.is-unverified svg {
  color: #d92d20;
}

.unreg-profile-submeta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--gf-text-body-strong);
  color: var(--meet-text-muted);
  flex-wrap: wrap;
  font-family: var(--gf-font);
}

.unreg-profile-submeta-row .label {
  color: var(--meet-primary);
  font-weight: var(--gf-weight-semibold);
  margin-right: 4px;
}

.unreg-profile-signin-btn {
  background: var(--meet-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--meet-radius-pill);
  height: 44px;
  padding: 0 24px;
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  margin-top: 54px;
  white-space: nowrap;
  transition:
    background 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 2px 8px rgba(41, 102, 244, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--gf-font);
}

.unreg-profile-signin-btn:hover {
  background: var(--meet-primary-hover);
  transform: translateY(-1px);
}

/* TWO-COLUMN LAYOUT */
.unreg-profile-grid-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: flex-start;
}

.unreg-profile-main-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* SUBNAV PILL BAR */
.unreg-subnav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background: var(--meet-bg-pill);
  border-radius: 100px;
  padding: 6px;
  width: 100%;
  box-sizing: border-box;
  /* On narrow screens the tabs scroll sideways inside the bar instead of widening the page. */
  overflow-x: auto;
  scrollbar-width: none;
}

.unreg-subnav-bar::-webkit-scrollbar {
  display: none;
}

.unreg-subnav-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--meet-text-muted);
  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;
  font-family: var(--gf-font);
}

.unreg-subnav-tab.active {
  background: var(--meet-bg-card);
  color: var(--meet-dark);
  font-weight: var(--gf-weight-semibold);
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
}

.unreg-subnav-tab:hover:not(.active) {
  color: var(--meet-dark);
}

.collab-wrapper-inner h2,
.unreg-collab-profile-wrap h2,
.collab-page-wrapper h2,
.unreg-tab-section-head {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-primary);
  margin: 0 0 16px 0;
  line-height: var(--gf-leading-card);
  font-family: var(--gf-font);
}

/* COMPANY CARDS */
.unreg-company-card {
  background: var(--meet-bg-card);
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-card);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  min-height: 180px;
  box-shadow: var(--meet-shadow);
  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);
}

.unreg-company-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #d0d5dd;
}

.unreg-company-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.unreg-company-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.unreg-company-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.unreg-company-name {
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
  font-family: var(--gf-font);
}

.unreg-company-desc {
  font-size: var(--gf-text-body-strong);
  color: var(--meet-text-muted);
  margin: 0;
  line-height: var(--gf-leading-body-strong);
  font-family: var(--gf-font);
}

.unreg-blurred-preview {
  filter: blur(5px);
  opacity: 0.55;
  user-select: none;
  pointer-events: none;
}

/* THREE CARD GRID */
.unreg-three-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* A shared profile's tutorial row is the Tutorials tab's own .tut-scroll row: the shared card at
   its designed 364px, and the sign-up gate as a tile of the same size at the end. */
.unreg-tutorial-card-host {
  display: contents;
}

.unreg-tutorial-row .tut-card {
  width: 100%;
}

.unreg-card-gated-wrapper.unreg-tutorial-gate {
  width: 100%;
  min-height: 0;
}

/* HERO JOURNEY CARDS */
.unreg-journey-card {
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  position: relative;
  box-sizing: border-box;
  box-shadow: var(--meet-shadow);
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.unreg-journey-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.unreg-journey-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}

.unreg-journey-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: var(--meet-radius-pill);
  padding: 4px 12px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-text);
  width: fit-content;
  position: relative;
  z-index: 2;
  font-family: var(--gf-font);
}

.unreg-journey-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  width: 100%;
}

.unreg-journey-title {
  color: #ffffff;
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  margin: 0;
  line-height: var(--gf-leading-card);
  font-family: var(--gf-font);
}

.unreg-journey-date {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--gf-text-body-strong);
  font-family: var(--gf-font);
}

.unreg-journey-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.unreg-journey-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--meet-bg-card);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.unreg-journey-circle-btn:hover {
  transform: scale(1.08);
}

.unreg-journey-signup-btn {
  background: var(--meet-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--meet-radius-pill);
  height: 38px;
  padding: 0 18px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  font-family: var(--gf-font);
}

.unreg-journey-signup-btn:hover {
  background: var(--meet-primary-hover);
}

/* GATED BLURRED CARD */
.unreg-card-gated-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: var(--meet-shadow);
}

.unreg-card-gated-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(10px) brightness(0.95);
  transform: scale(1.1);
  pointer-events: none;
}

.unreg-card-gated-cta-box {
  position: relative;
  z-index: 3;
  background: var(--meet-bg-card);
  border-radius: 16px;
  border: 1px solid var(--meet-border-subtle);
  padding: 22px 18px;
  width: 88%;
  text-align: center;
  box-shadow: var(--meet-shadow-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.unreg-gated-cta-text {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
  margin: 0;
  line-height: var(--gf-leading-body-strong);
  font-family: var(--gf-font);
}

.unreg-gated-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.unreg-gated-signup-btn {
  background: var(--meet-primary);
  color: #ffffff;
  border: none;
  border-radius: var(--meet-radius-pill);
  height: 38px;
  padding: 0 20px;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  cursor: pointer;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
  font-family: var(--gf-font);
}

.unreg-gated-signup-btn:hover {
  background: var(--meet-primary-hover);
}

.unreg-gated-circle-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--meet-border);
  background: var(--meet-bg-card);
  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),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.unreg-gated-circle-social:hover {
  background: var(--meet-bg-pill);
  border-color: #98a2b3;
  transform: scale(1.04);
}

/* GATED DISCOVERY CARD (3RD CARD) */
.collab-card-gated-wrapper {
  position: relative;
  width: 100%;
  min-height: 380px;
  height: 100%;
  border-radius: var(--meet-radius-card);
  border: 1px solid var(--meet-border);
  background: var(--meet-bg-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: var(--meet-shadow);
}

.collab-card-gated-wrapper .collab-person-card--blurred {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
  filter: blur(8px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
  box-shadow: none;
  transform: none !important;
}

.collab-gated-cta-card {
  position: absolute;
  z-index: 10;
  background: var(--meet-bg-card);
  border: 1px solid var(--meet-border-subtle);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--meet-shadow-elevated);
  width: 86%;
  max-width: 300px;
  box-sizing: border-box;
}

/* GATED RECENT REQUESTS */
.collab-recent-gated-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin-bottom: 8px;
}

.collab-recent-blurred-list {
  width: 100%;
  filter: blur(5px);
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.collab-recent-gated-cta-card {
  position: absolute;
  z-index: 10;
  background: var(--meet-bg-card);
  border: 1px solid var(--meet-border-subtle);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--meet-shadow-elevated);
  width: 92%;
  max-width: 234px;
  box-sizing: border-box;
}

.collab-gated-cta-card .gated-cta-title,
.collab-recent-gated-cta-card .gated-cta-title {
  font-family: var(--gf-font);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
  margin: 0 0 12px 0;
  line-height: var(--gf-leading-body-strong);
}

.collab-gated-cta-card .gated-cta-buttons,
.collab-recent-gated-cta-card .gated-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.gated-signup-btn,
.unreg-gated-signup-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--meet-radius-pill);
  background: var(--meet-primary);
  color: #ffffff !important;
  font-size: var(--gf-text-control);
  font-weight: var(--gf-weight-medium);
  font-family: var(--gf-font);
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  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,
.unreg-gated-signup-btn:hover {
  background: var(--meet-primary-hover);
  transform: translateY(-1px);
}

.gated-social-btn,
.unreg-gated-circle-social {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--meet-border);
  background: var(--meet-bg-card);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  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,
.unreg-gated-circle-social:hover {
  background: var(--meet-bg-pill);
  border-color: #98a2b3;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(16, 24, 40, 0.08);
}

/* EVENTS CARDS */
.unreg-collab-event-card {
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  position: relative;
  box-sizing: border-box;
  box-shadow: var(--meet-shadow);
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
}

.unreg-collab-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.unreg-collab-event-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
}

.unreg-collab-event-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.unreg-event-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.95);
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  font-family: var(--gf-font);
}

.unreg-collab-event-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #ffffff;
  margin: 6px 0 2px 0;
  font-family: var(--gf-font);
}

.unreg-collab-event-stats {
  font-size: var(--gf-text-body-strong);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--gf-font);
}

.unreg-collab-event-avatars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.unreg-event-avatar-pile {
  display: flex;
  align-items: center;
}

.unreg-event-avatar-pile img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  margin-left: -6px;
  object-fit: cover;
  display: block;
}

.unreg-event-avatar-pile img:first-child {
  margin-left: 0;
}

.unreg-event-friends-text {
  font-size: var(--gf-text-body-strong);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--gf-font);
}

/* TUTORIALS CARDS */
.unreg-collab-tut-card {
  background: var(--meet-bg-card);
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-card);
  box-shadow: var(--meet-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  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);
}

.unreg-collab-tut-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #d0d5dd;
}

.unreg-collab-tut-cover {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.unreg-collab-tut-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.unreg-collab-tut-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.unreg-tut-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.unreg-tut-chip {
  background: var(--meet-bg-pill);
  color: #344054;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  padding: 2px 8px;
  border-radius: var(--meet-radius-pill);
  font-family: var(--gf-font);
}

.unreg-collab-tut-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
  margin: 0;
  line-height: var(--gf-leading-card);
  font-family: var(--gf-font);
}

.unreg-collab-tut-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--gf-text-body-strong);
  color: var(--meet-text-muted);
  font-family: var(--gf-font);
}

.unreg-collab-tut-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
  font-family: var(--gf-font);
}

.unreg-collab-tut-rating .stars {
  color: var(--meet-primary);
  letter-spacing: 1px;
}

.unreg-collab-tut-rating .reviews {
  color: var(--meet-text-muted);
  font-weight: var(--gf-weight-regular);
}

/* SIDEBAR (RIGHT COLUMN) */
.unreg-sidebar-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.unreg-sidebar-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.unreg-sidebar-card-title {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-primary);
  margin: 0;
  font-family: var(--gf-font);
}

.unreg-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.unreg-sidebar-tag-pill {
  background: var(--meet-bg-card);
  border: 1px solid var(--meet-border);
  border-radius: var(--meet-radius-pill);
  padding: 4px 14px;
  font-size: var(--gf-text-body-strong);
  color: #344054;
  font-weight: var(--gf-weight-medium);
  font-family: var(--gf-font);
}

.unreg-sidebar-edu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.unreg-sidebar-edu-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.unreg-edu-school {
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-semibold);
  color: var(--meet-dark);
  font-family: var(--gf-font);
}

.unreg-edu-degree {
  font-size: var(--gf-text-body-strong);
  color: #475467;
  font-family: var(--gf-font);
}

.unreg-edu-years {
  font-size: var(--gf-text-body-strong);
  color: var(--meet-text-muted);
  font-family: var(--gf-font);
}

.unreg-edu-divider {
  border: none;
  border-top: 1px solid var(--meet-border-subtle);
  margin: 12px 0 0 0;
}

.unreg-sidebar-memory-card {
  border-radius: 20px;
  overflow: hidden;
  height: 180px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  position: relative;
  cursor: pointer;
  transition:
    transform 160ms cubic-bezier(0.2, 0, 0, 1),
    box-shadow 160ms cubic-bezier(0.2, 0, 0, 1);
  box-sizing: border-box;
  box-shadow: var(--meet-shadow);
}

.unreg-sidebar-memory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.unreg-sidebar-memory-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}

.unreg-memory-content {
  position: relative;
  z-index: 2;
}

.unreg-memory-title {
  font-size: var(--gf-text-card);
  font-weight: var(--gf-weight-semibold);
  color: #ffffff;
  margin: 0;
  font-family: var(--gf-font);
}

.unreg-memory-date {
  font-size: var(--gf-text-body-strong);
  color: rgba(255, 255, 255, 0.85);
  margin: 2px 0 0 0;
  font-family: var(--gf-font);
}

/* RESPONSIVE QUERIES */
@media (max-width: 1024px) {
  .unreg-profile-grid-layout {
    grid-template-columns: 1fr;
  }
  .unreg-three-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .unreg-three-card-grid {
    grid-template-columns: 1fr;
  }
  .unreg-profile-hero-body {
    flex-direction: column;
    align-items: flex-start;
  }
  .unreg-profile-signin-btn {
    margin-top: 16px;
    width: 100%;
    text-align: center;
  }
}

/* ── Shared person card (components/person-card) ──────────────────────────────
   The Collaborate tab, the Investors / Founders matches tab and event Connections all render
   components/person-card/card.html, so these rules style every one of them. */

/* Component slots render inside the card's own layout. */
.gf-contents {
  display: contents;
}

/* A faint line between the cover image and the card body. */
.collab-card-cover,
.collab-card-cover-div {
  box-sizing: border-box;
  border-bottom: 1px solid var(--gray-200);
}

.collab-card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-width: 0;
}

.collab-card-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
}

.collab-card-name-row .collab-card-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The account-type badge (Fo / Se / Iv) rides beside the name on every card. */
.collab-card-name-line .gf-user-type-badge {
  min-width: 22px;
  height: 20px;
  padding: 0 5px;
  border-radius: 6px;
  font-size: var(--gf-text-chip);
}

.collab-card-mutuals {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  font-size: var(--gf-text-body-strong);
  font-weight: var(--gf-weight-medium);
  color: var(--gray-500);
  white-space: nowrap;
}

.collab-card-mutuals-stack {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.collab-card-mutuals-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--gray-100, #f2f4f7);
  overflow: hidden;
  flex: 0 0 26px;
  box-sizing: border-box;
}

/* The x-for template is the first element child, so `:first-child` never matches an avatar.
   Only the siblings after it carry the overlap. */
.collab-card-mutuals-avatar + .collab-card-mutuals-avatar,
.collab-card-mutuals-avatar + .collab-card-mutuals-more {
  margin-left: -8px;
}

.collab-card-mutuals-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collab-card-mutuals-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: var(--gf-text-chip);
  font-weight: var(--gf-weight-bold);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--gray-600);
  background: var(--gray-100, #f2f4f7);
}

.collab-card-mutuals-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--main);
  color: var(--white);
  font-size: var(--gf-text-chip);
  font-weight: var(--gf-weight-bold);
  line-height: 1;
  cursor: pointer;
  flex: 0 0 26px;
  box-sizing: border-box;
  transition: background 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-card-mutuals-more:hover {
  background: #2054cc;
}

.collab-card-answer {
  display: flex;
  flex: 1;
  gap: 8px;
}

/* Connected: a message pill, the menu, and when the connection was made. */
.collab-message-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: var(--main);
  color: var(--white);
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    transform 160ms cubic-bezier(0.2, 0, 0, 1);
}

.collab-message-btn:hover {
  background: #2054cc;
  transform: scale(1.04);
}

.collab-card-ago {
  margin-left: auto;
  color: var(--gray-500);
  font-size: var(--gf-text-body);
  white-space: nowrap;
}

/* The ⋯ button is the same pill as the button beside it. */
.collab-card-footer .matches-btn-more {
  width: 58px;
  height: 46px;
  border-radius: 999px;
}

/* Matches and event Connections: a contact card, so no User row and the contact details stack. */
.collab-card-body.is-contact .collab-card-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.collab-open-to-empty {
  margin: 0;
  font-size: var(--gf-text-body-strong);
  color: #667085;
}
