/**
 * Banjara Vivaah — Member App Design System (approved UI)
 * Maroon / cream / gold. Mobile-first sticky nav.
 */
:root {
  --bv-maroon: #8b123b;
  --bv-maroon-dark: #6e0e2f;
  --bv-maroon-soft: rgba(139, 18, 59, 0.08);
  --bv-gold: #c9a227;
  --bv-gold-soft: rgba(201, 162, 39, 0.18);
  --bv-cream: #f7f1e8;
  --bv-cream-deep: #efe6d8;
  --bv-white: #ffffff;
  --bv-ink: #2a1f24;
  --bv-body: #5c4a42;
  --bv-muted: #8a7a72;
  --bv-success: #1b6b4a;
  --bv-radius: 16px;
  --bv-radius-sm: 12px;
  --bv-shadow: 0 10px 28px rgba(42, 31, 36, 0.08);
  --bv-footer-h: 68px;
  --bv-safe-bottom: env(safe-area-inset-bottom, 0px);
}

body.bv-member-app {
  background: var(--bv-cream) !important;
  color: var(--bv-body);
  font-family: "Noto Sans", "Noto Sans Devanagari", system-ui, sans-serif;
  padding-bottom: calc(var(--bv-footer-h) + var(--bv-safe-bottom));
}

@media (min-width: 992px) {
  body.bv-member-app {
    padding-bottom: 0;
  }
}

body.bv-member-app .bv-public-header,
body.bv-member-app .bv-footer-shell,
body.bv-member-app .bv-header-wrap {
  display: none !important;
}

/* —— Auth screens —— */
.bv-auth-screen {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top, var(--bv-gold-soft), transparent 55%),
    linear-gradient(180deg, var(--bv-cream) 0%, #fff 60%);
  padding: 1.25rem 1rem 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.bv-auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bv-white);
  border-radius: 22px;
  box-shadow: var(--bv-shadow);
  padding: 1.75rem 1.35rem 1.5rem;
  border: 1px solid rgba(139, 18, 59, 0.06);
  margin-top: 1rem;
}

.bv-auth-brand {
  text-align: center;
  margin-bottom: 1.25rem;
}

.bv-auth-brand img {
  max-height: 56px;
  width: auto;
}

.bv-auth-brand h1 {
  font-size: 1.35rem;
  color: var(--bv-maroon);
  font-weight: 700;
  margin: 0.75rem 0 0.25rem;
}

.bv-auth-brand p {
  color: var(--bv-muted);
  font-size: 0.9rem;
  margin: 0;
}

.bv-field {
  margin-bottom: 1rem;
}

.bv-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bv-ink);
  margin-bottom: 0.35rem;
}

.bv-input {
  position: relative;
}

.bv-input i.bv-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bv-muted);
  font-size: 1.15rem;
  pointer-events: none;
}

.bv-input input.form-control,
.bv-input select.form-control {
  border-radius: 12px;
  border: 1.5px solid #e5ddd4;
  padding: 0.75rem 0.9rem 0.75rem 2.5rem;
  min-height: 48px;
  background: #fff;
  color: var(--bv-ink);
}

.bv-input input.form-control:focus {
  border-color: var(--bv-maroon);
  box-shadow: 0 0 0 3px var(--bv-maroon-soft);
}

.bv-input .bv-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--bv-muted);
  min-width: 44px;
  min-height: 44px;
}

.bv-chip-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.bv-chip {
  border: 1.5px solid #e5ddd4;
  background: #fff;
  border-radius: 999px;
  padding: 0.65rem 0.75rem;
  font-weight: 600;
  color: var(--bv-body);
  cursor: pointer;
  text-align: center;
  min-height: 44px;
}

.bv-chip.is-active,
.bv-chip input:checked + span,
label.bv-chip:has(input:checked) {
  background: var(--bv-maroon-soft);
  border-color: var(--bv-maroon);
  color: var(--bv-maroon);
}

.bv-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bv-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: var(--bv-maroon);
  border: 0;
  color: #fff !important;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
}

.bv-btn-primary:hover,
.bv-btn-primary:focus {
  background: var(--bv-maroon-dark);
  color: #fff !important;
}

.bv-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--bv-maroon);
  color: var(--bv-maroon) !important;
  font-weight: 700;
}

.bv-btn-ghost {
  background: transparent;
  border: 1.5px solid #e5ddd4;
  color: var(--bv-body);
  border-radius: 999px;
  min-height: 44px;
  font-weight: 600;
  padding: 0.55rem 1rem;
}

.bv-btn-skip {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: #f8e9ef;
  border: 0;
  color: var(--bv-maroon);
  font-weight: 700;
}

.bv-strength {
  display: flex;
  gap: 4px;
  margin-top: 0.4rem;
}

.bv-strength span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #e5ddd4;
}

.bv-strength[data-level="1"] span:nth-child(-n+1) { background: #c0392b; }
.bv-strength[data-level="2"] span:nth-child(-n+2) { background: #e67e22; }
.bv-strength[data-level="3"] span:nth-child(-n+3) { background: #27ae60; }
.bv-strength[data-level="4"] span { background: #1b6b4a; }

.bv-hint-box {
  background: #f4f0ea;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--bv-body);
  margin: 0.75rem 0 1rem;
}

.bv-hint-box li {
  margin-bottom: 0.2rem;
}

/* —— Wizard —— */
.bv-wizard-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.bv-stepper {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.bv-stepper .dot {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: #e5ddd4;
}

.bv-stepper .dot.is-done,
.bv-stepper .dot.is-active {
  background: var(--bv-maroon);
}

.bv-stepper .dot.is-active {
  box-shadow: 0 0 0 3px var(--bv-maroon-soft);
}

/* —— Member topbar —— */
.bv-app-topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(139, 18, 59, 0.08);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bv-app-topbar .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bv-maroon);
  font-weight: 700;
  text-decoration: none;
}

.bv-app-topbar .brand img {
  height: 32px;
  width: auto;
}

.bv-app-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.bv-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bv-ink);
  background: transparent;
  border: 0;
  position: relative;
  text-decoration: none;
}

.bv-icon-btn .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--bv-maroon);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
}

.bv-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bv-gold);
  background: var(--bv-maroon-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bv-maroon);
  font-weight: 700;
  font-size: 0.85rem;
  overflow: hidden;
}

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

/* —— Sticky bottom nav —— */
.bv-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid rgba(139, 18, 59, 0.1);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.35rem 0.25rem calc(0.35rem + var(--bv-safe-bottom));
  box-shadow: 0 -8px 24px rgba(42, 31, 36, 0.06);
}

@media (min-width: 992px) {
  .bv-bottom-nav {
    display: none;
  }
}

.bv-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  color: var(--bv-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  position: relative;
}

.bv-bottom-nav a i {
  font-size: 1.35rem;
  line-height: 1;
}

.bv-bottom-nav a.is-active {
  color: var(--bv-maroon);
}

.bv-bottom-nav a .nav-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 18px);
  background: var(--bv-maroon);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
}

/* —— Dashboard —— */
.bv-dash {
  padding: 1.15rem 1.2rem 1.9rem;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.bv-dash:has(.bv-wa) {
  max-width: 1280px;
}

.bv-welcome {
  background: linear-gradient(135deg, var(--bv-maroon), #a31d4a);
  color: #fff;
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--bv-shadow);
  margin-bottom: 1rem;
}

.bv-welcome h2 {
  color: #fff;
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  font-weight: 700;
}

.bv-complete-card,
.bv-action-card,
.bv-section-card {
  background: #fff;
  border-radius: var(--bv-radius);
  box-shadow: var(--bv-shadow);
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(139, 18, 59, 0.05);
}

.bv-progress {
  height: 10px;
  border-radius: 999px;
  background: #efe6d8;
  overflow: hidden;
}

.bv-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bv-maroon), var(--bv-gold));
  border-radius: 999px;
}

.bv-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .bv-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bv-action-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--bv-cream);
  color: var(--bv-ink);
  text-decoration: none;
  min-height: 96px;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.bv-action-tile:hover {
  border-color: var(--bv-maroon);
  color: var(--bv-maroon);
  text-decoration: none;
}

.bv-action-tile i {
  font-size: 1.5rem;
  color: var(--bv-maroon);
}

.bv-action-tile span {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Desktop member shell */
@media (min-width: 992px) {
  .bv-member-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1.25rem 2rem;
    align-items: start;
  }

  .bv-member-main {
    min-width: 0;
  }

}

@media (max-width: 991.98px) {
  .bv-member-shell .bv-desktop-sidebar {
    display: none !important;
  }

  .bv-member-shell {
    padding: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bv-action-tile,
  .bv-btn-primary {
    transition: none;
  }
}


/* —— Primary member tabs (mobile bottom + desktop top) —— */
.bv-desktop-primary-nav {
  background: #fff;
  border-bottom: 1px solid rgba(139, 18, 59, 0.1);
  position: sticky;
  top: 57px;
  z-index: 1015;
}
.bv-primary-nav--desktop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto;
  padding: 0.35rem 0.75rem;
  gap: 0.25rem;
}
.bv-primary-nav--desktop a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  border-radius: 999px;
  color: var(--bv-muted, #6b5a60);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  position: relative;
  padding: 0 0.75rem;
}
.bv-primary-nav--desktop a i {
  font-size: 1.15rem;
  line-height: 1;
}
.bv-primary-nav--desktop a.is-active {
  color: #fff;
  background: var(--bv-maroon, #8b123b);
}
.bv-primary-nav--desktop a .nav-badge {
  position: absolute;
  top: 4px;
  right: 10px;
  background: #e86a1a;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
}
.bv-member-app .bv-member-main {
  padding-bottom: calc(4.5rem + var(--bv-safe-bottom, 0px));
}
@media (min-width: 992px) {
  .bv-member-app .bv-member-main {
    padding-bottom: 1rem;
  }
  .bv-bottom-nav {
    display: none !important;
  }
}
.aiz-chat {
  min-height: 70vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(139, 18, 59, 0.08);
}

/* —— Premium Home dashboard (screenshot-faithful) —— */
.bv-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.bv-btn-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.bv-btn-gold {
  background: linear-gradient(135deg, #d4a24c, #c9a227);
  color: #2a1f24 !important;
}
.bv-btn-gold:hover { filter: brightness(0.97); color: #2a1f24 !important; text-decoration: none; }

.bv-home {
  display: block;
  width: 100%;
}
.bv-home__main {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  min-width: 0;
}
/* Nested mobile/desktop profile stacks need their own gap.
   Avoid Bootstrap d-*-block !important — it kills flex gap. */
.bv-home__stack {
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
  min-width: 0;
}
.bv-home__stack--mobile { display: flex; }
.bv-home__stack--desktop { display: none; }
.bv-home-banner--desktop { display: none; }

.bv-home-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 148px;
  align-items: stretch;
  background:
    linear-gradient(105deg, rgba(42, 16, 24, 0.78) 0%, rgba(139, 18, 59, 0.55) 48%, rgba(42, 16, 24, 0.2) 100%),
    url("../img/hero/banjara-couple-hero.jpg") center/cover no-repeat;
  box-shadow: var(--bv-shadow);
  color: #fff;
}
.bv-home-banner__copy {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.5rem;
  max-width: 58%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bv-home-banner__kicker {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f6d58a;
}
.bv-home-banner__title {
  margin: 0.25rem 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.bv-home-banner__sub {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}
.bv-home-banner__art { flex: 1; }

/* Profile summary */
.bv-profile-summary {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 0.85rem;
  background: #fff;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: var(--bv-shadow);
  border: 1px solid rgba(139, 18, 59, 0.06);
}
.bv-profile-summary__media {
  position: relative;
  width: 84px;
  height: 84px;
}
.bv-profile-summary__photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--bv-gold);
  background: var(--bv-maroon-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bv-profile-summary__photo--initials {
  font-weight: 800;
  color: var(--bv-maroon);
  font-size: 1.3rem;
}
.bv-profile-summary__verified {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bv-success);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 2px solid #fff;
}
.bv-profile-summary__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}
.bv-profile-summary__name {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--bv-ink);
  line-height: 1.25;
}
.bv-profile-summary__facts-line {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bv-body);
}
.bv-profile-summary__plan {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}
.bv-membership-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--bv-gold-soft);
  color: #7a5a12;
  white-space: nowrap;
}
.bv-membership-badge.is-paid {
  background: var(--bv-maroon-soft);
  color: var(--bv-maroon);
}
.bv-profile-summary__upgrade {
  min-height: 32px;
  padding: 0.28rem 0.8rem;
  font-size: 0.75rem;
}
.bv-profile-summary__id {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.76rem;
  color: var(--bv-muted);
}
.bv-profile-summary__lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.bv-profile-summary__lines li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--bv-body);
  font-weight: 600;
  line-height: 1.35;
}
.bv-profile-summary__lines i {
  color: var(--bv-maroon);
  margin-top: 0.1rem;
}
.bv-profile-summary__meta {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(139, 18, 59, 0.08);
}
.bv-profile-summary__label {
  display: block;
  font-size: 0.72rem;
  color: var(--bv-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.bv-profile-summary__meta strong {
  font-size: 0.9rem;
  color: var(--bv-ink);
  font-weight: 700;
}
.bv-profile-summary__actions {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

/* Completeness */
.bv-complete-panel {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 0.95rem 1rem;
  box-shadow: var(--bv-shadow);
  border: 1px solid rgba(139, 18, 59, 0.06);
}
.bv-complete-panel__ring {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #fff 58%, transparent 59%),
    conic-gradient(var(--bv-maroon) calc(var(--bv-pct) * 1%), #efe6d8 0);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--bv-maroon);
}
.bv-complete-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.bv-complete-panel__body h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--bv-ink);
}
.bv-complete-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bv-maroon);
  text-decoration: none;
  white-space: nowrap;
}
.bv-complete-panel__body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--bv-muted);
  line-height: 1.4;
}
.bv-complete-panel__bar {
  height: 8px;
  border-radius: 999px;
  background: #efe6d8;
  overflow: hidden;
  margin-top: 0.65rem;
}
.bv-complete-panel__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bv-maroon), #a31d4a);
  border-radius: inherit;
}

/* Sections / actions */
.bv-home-section {
  background: #fff;
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: var(--bv-shadow);
  border: 1px solid rgba(139, 18, 59, 0.06);
}
.bv-home-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.bv-home-section__head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--bv-maroon);
}
.bv-home-section__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bv-maroon);
  text-decoration: none;
  white-space: nowrap;
}
.bv-home-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}
.bv-home-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.95rem 0.9rem;
  border-radius: 16px;
  background: var(--bv-cream);
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(139, 18, 59, 0.05);
  min-height: 108px;
}
.bv-home-action:hover { background: #fff8f0; text-decoration: none; color: inherit; }
.bv-home-action strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--bv-ink);
  line-height: 1.25;
}
.bv-home-action__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(42, 31, 36, 0.06);
}
.bv-home-action.tone-rose .bv-home-action__icon { color: #b4234e; background: #fff0f4; }
.bv-home-action.tone-gold .bv-home-action__icon { color: #9a7410; background: #fff6df; }
.bv-home-action.tone-maroon .bv-home-action__icon { color: var(--bv-maroon); background: #f8e9ef; }
.bv-home-action.tone-sage .bv-home-action__icon { color: #1b6b4a; background: #e8f5ef; }

/* Mobile activity strip */
.bv-activity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}
.bv-activity-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.8rem 0.4rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--bv-shadow);
  border: 1px solid rgba(139, 18, 59, 0.06);
  text-decoration: none;
  color: inherit;
}
.bv-activity-chip:hover { text-decoration: none; color: inherit; background: #fffaf4; }
.bv-activity-chip__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bv-maroon-soft);
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.bv-activity-chip__count {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--bv-ink);
  line-height: 1.1;
}
.bv-activity-chip__label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bv-muted);
  line-height: 1.2;
}

/* Home recommendation rail — scoped so Matches listing white cards stay untouched */
.bv-home-section__title {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}
.bv-home-section__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bv-gold-soft);
  color: #9a7410;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.bv-home-section__sub {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--bv-muted);
  font-weight: 600;
}
.bv-match-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 44vw);
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.bv-rec-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(139, 18, 59, 0.07);
  box-shadow: 0 8px 22px rgba(42, 31, 36, 0.06);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.bv-rec-card__photo {
  display: block;
  position: relative;
  aspect-ratio: 3 / 3.3;
  background: #efe6d8;
  overflow: hidden;
}
.bv-rec-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bv-rec-card__verified,
.bv-rec-card__lock {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  z-index: 2;
}
.bv-rec-card__verified {
  top: 10px;
  right: 10px;
  background: var(--bv-success);
  border: 2px solid #fff;
}
.bv-rec-card__lock {
  top: 10px;
  left: 10px;
  background: rgba(42, 31, 36, 0.65);
}
.bv-rec-card__body { padding: 0.7rem 0.75rem 0.85rem; }
.bv-rec-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}
.bv-rec-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bv-maroon);
}
.bv-rec-card__name a { color: inherit; text-decoration: none; }
.bv-rec-card__meta {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--bv-muted);
  line-height: 1.35;
}
.bv-rec-card__meta i { color: var(--bv-maroon); }
.bv-rec-card__heart {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--bv-maroon) !important;
  background: #fff8f0 !important;
  color: var(--bv-maroon) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(139, 18, 59, 0.12);
  padding: 0;
  line-height: 1;
}
.bv-rec-card__heart i {
  color: var(--bv-maroon) !important;
  font-size: 1.2rem;
  line-height: 1;
}
.bv-rec-card__heart.is-liked {
  background: var(--bv-maroon) !important;
  color: #fff !important;
  border-color: var(--bv-maroon) !important;
}
.bv-rec-card__heart.is-liked i {
  color: #fff !important;
}
.bv-home-empty {
  text-align: center;
  padding: 1.5rem 0.75rem;
  color: var(--bv-muted);
}
.bv-home-empty i { font-size: 1.75rem; color: var(--bv-maroon); display: block; margin-bottom: 0.4rem; }

/* Avatar rows */
.bv-avatar-rows {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.bv-avatar-row__list {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
}
.bv-avatar-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--bv-ink);
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  max-width: 72px;
  text-align: center;
}
.bv-avatar-pill img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px rgba(139, 18, 59, 0.18);
  background: var(--bv-cream);
}
.bv-avatar-pill span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 72px;
}
.bv-avatar-more {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f8e9ef;
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  flex-shrink: 0;
}
.bv-avatar-row__empty {
  margin: 0;
  font-size: 0.84rem;
  color: var(--bv-muted);
}

/* Activity grid + list */
.bv-activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}
.bv-activity-tile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 0.8rem;
  border-radius: 14px;
  background: #fff5f7;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(139, 18, 59, 0.05);
  min-height: 108px;
}
.bv-activity-tile:nth-child(even) { background: #fff8ef; }
.bv-activity-tile:hover { text-decoration: none; color: inherit; filter: brightness(0.99); }
.bv-activity-tile__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.bv-activity-tile__count {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bv-ink);
  line-height: 1.1;
}
.bv-activity-tile__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bv-muted);
  line-height: 1.3;
}
.bv-activity-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.bv-activity-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.25rem;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.bv-activity-row:hover { background: var(--bv-cream); text-decoration: none; color: inherit; }
.bv-activity-row__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bv-cream);
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.bv-activity-row__label { font-size: 0.86rem; font-weight: 700; color: var(--bv-ink); }
.bv-activity-row__count {
  min-width: 28px;
  height: 28px;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #fde8ee;
  color: #b4234e;
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bv-activity-row__chev { color: var(--bv-muted); font-size: 0.95rem; }

/* Photo requests */
.bv-req-list { display: grid; gap: 0.65rem; }
.bv-req-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.35rem;
  border-radius: 14px;
  background: #faf7f3;
}
.bv-req-item__avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.bv-req-item__body { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.bv-req-item__body strong { font-size: 0.9rem; color: var(--bv-ink); }
.bv-req-item__body span { font-size: 0.78rem; color: var(--bv-muted); }
.bv-req-item__body em {
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bv-maroon);
}

/* Assist / help / plan / story */
.bv-assist-card {
  background: linear-gradient(135deg, #fff8ef 0%, #fffdf8 100%);
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  border-radius: 18px;
  box-shadow: var(--bv-shadow);
  padding: 1.1rem 1.15rem;
}
.bv-assist-card__inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.bv-assist-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(139, 18, 59, 0.12);
  box-shadow: 0 4px 12px rgba(42, 31, 36, 0.06);
}
.bv-help-card__icon,
.bv-plan-panel__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bv-maroon-soft);
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.bv-assist-card__body,
.bv-help-card__body { flex: 1; min-width: 0; }
.bv-assist-card h2,
.bv-help-card h2 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--bv-maroon);
}
.bv-assist-card p,
.bv-help-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--bv-muted);
  line-height: 1.4;
}
.bv-assist-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--bv-maroon);
  color: #fff !important;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  border: 0;
}
.bv-assist-card__cta:hover {
  background: var(--bv-maroon-dark);
  color: #fff !important;
  text-decoration: none;
}
.bv-assist-card.is-compact .bv-assist-card__inner {
  flex-direction: column;
  align-items: stretch;
  text-align: left;
}
.bv-assist-card.is-compact .bv-assist-card__cta {
  width: 100%;
  border-radius: 14px;
}
.bv-help-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.bv-help-card__chev {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bv-cream);
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.bv-plan-panel { padding: 0; background: transparent; box-shadow: none; border: 0; }
.bv-plan-panel__card {
  border-radius: 18px;
  padding: 1.15rem 1.1rem;
  background: linear-gradient(160deg, #fff 0%, #fff8ef 100%);
  border: 1px solid rgba(201, 162, 39, 0.28);
  box-shadow: var(--bv-shadow);
}
.bv-plan-panel__card.is-paid {
  border-color: rgba(139, 18, 59, 0.12);
  background: #fff;
}
.bv-plan-panel__icon {
  background: var(--bv-gold-soft);
  color: #9a7410;
  margin-bottom: 0.65rem;
}
.bv-plan-panel__name {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--bv-maroon);
  line-height: 1.3;
}
.bv-plan-panel__copy {
  margin: 0 0 0.9rem;
  font-size: 0.84rem;
  color: var(--bv-body);
  line-height: 1.4;
}
.bv-story-card__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.bv-story-card__media {
  display: block;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #efe6d8;
}
.bv-story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bv-story-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--bv-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.bv-story-card__couple {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--bv-ink);
}
.bv-story-card__quote {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  color: var(--bv-muted);
  line-height: 1.45;
}

/* Restore Matches listing white cards (do not inherit Home rail styles) */
.bv-match-list .bv-match-card.bv-listing-result {
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(74, 44, 52, 0.08) !important;
  border: 1px solid rgba(139, 18, 59, 0.06) !important;
  display: flex !important;
  flex-direction: row !important;
  overflow: visible !important;
  margin-bottom: 0.85rem;
}
.bv-match-list .bv-match-card__photo {
  aspect-ratio: auto !important;
  background: transparent !important;
  overflow: visible !important;
}
.bv-match-list .bv-match-card__photo img {
  width: 150px !important;
  height: 150px !important;
  border-radius: 50% !important;
  object-fit: cover;
}
.bv-listing-member {
  padding: 0.85rem 1.1rem 1.5rem;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.bv-listing-member .bv-match-list {
  padding-left: 0;
  padding-right: 0;
}
.bv-home-action.tone-sky .bv-home-action__icon { color: #1d5f9c; background: #e8f2fb; }

/* Support ticket form */
.bv-ticket-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.25rem 1.2rem;
  box-shadow: var(--bv-shadow);
  border: 1px solid rgba(139, 18, 59, 0.06);
}
.bv-ticket-form .form-group { margin-bottom: 1rem; }
.bv-ticket-form label {
  display: block;
  font-weight: 700;
  color: var(--bv-ink);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
.bv-ticket-form .form-control {
  border-radius: 12px;
  border-color: rgba(139, 18, 59, 0.14);
  min-height: 44px;
}
.bv-ticket-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.bv-ticket-success__icon {
  font-size: 2.5rem;
  color: var(--bv-success);
  margin-bottom: 0.5rem;
}
.bv-ticket-card .bg-soft-secondary {
  background: var(--bv-cream) !important;
  border: 1px solid rgba(139, 18, 59, 0.08);
  border-radius: 14px;
}
.bv-ticket-card .list-group {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.bv-ticket-card .list-group-item {
  border-color: rgba(139, 18, 59, 0.08);
  padding-left: 0;
  padding-right: 0;
}
.bv-ticket-card .btn-primary {
  background: var(--bv-maroon);
  border-color: var(--bv-maroon);
}
.bv-ticket-card .btn-primary:hover {
  background: #6e0e2f;
  border-color: #6e0e2f;
}

/* Soften dense legacy sidebar without removing routes */
.bv-desktop-sidebar .aiz-user-sidenav .aiz-side-nav-link {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  border-radius: 10px;
}
.bv-desktop-sidebar .aiz-user-sidenav .aiz-side-nav-list > li {
  margin-bottom: 0.15rem;
}

@media (min-width: 992px) {
  .bv-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 1.4rem;
    align-items: start;
  }
  .bv-home__main {
    gap: 1.55rem;
  }
  .bv-home__stack {
    gap: 1.65rem;
  }
  .bv-home__stack--mobile { display: none; }
  .bv-home__stack--desktop { display: flex; }
  .bv-home-banner--desktop { display: flex; }
  .bv-home__aside {
    flex-direction: column;
    gap: 1.35rem;
    position: sticky;
    top: 1rem;
  }
  .bv-home-section {
    padding: 1.25rem 1.3rem 1.35rem;
  }
  .bv-listing-member {
    padding: 1rem 1.35rem 1.75rem;
  }
  .bv-profile-summary {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1.25rem 1.35rem;
  }
  .bv-profile-summary__media,
  .bv-profile-summary__photo {
    width: 118px;
    height: 118px;
  }
  .bv-profile-summary__plan { display: none; }
  .bv-profile-summary__lines { display: none; }
  .bv-profile-summary__meta { display: grid; }
  .bv-profile-summary__actions { display: flex; }
  .bv-complete-panel {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 1.1rem 1.25rem;
  }
  .bv-home-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bv-home-action { min-height: 118px; }
  .bv-match-rail {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
  }
  .bv-avatar-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .bv-story-card__layout {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
  }
  .bv-story-card__media { margin: 0; aspect-ratio: 1 / 1; }
  .bv-member-shell { max-width: 1320px; }
}

@media (max-width: 991.98px) {
  .bv-dash { padding: 1.05rem 1.1rem 1.75rem; }
  .bv-listing-member { padding: 0.95rem 1.1rem 1.65rem; }
  .bv-home__stack { gap: 1.4rem; }
  .bv-assist-card__inner {
    flex-wrap: wrap;
  }
  .bv-assist-card__cta {
    width: 100%;
    margin-top: 0.15rem;
  }
  .bv-profile-summary,
  .bv-complete-panel {
    padding: 1.05rem 1.05rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bv-match-rail { scroll-behavior: auto; }
}
