:root {
  color-scheme: light;
  --ink: #201719;
  --muted: #746b70;
  --line: #eadde1;
  --surface: #ffffff;
  --soft: #fff7f3;
  --cream: #fff3da;
  --mint: #c9f3df;
  --teal: #0f766e;
  --deep-teal: #0f4f49;
  --rose: #dc4161;
  --coral: #ff7a59;
  --plum: #5d2848;
  --gold: #f4bd4b;
  --shadow: 0 26px 80px rgba(87, 34, 58, 0.16);
  --glow: 0 16px 48px rgba(220, 65, 97, 0.22);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  height: 100%;
  scroll-padding-top: 18px;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: hidden;
}

img,
video {
  max-width: 100%;
}

:where(button, .primary-button, .soft-button, .ghost-button, .icon-button, select, input, textarea) {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 100;
  transform: translateY(-160%);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--plum);
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(49, 19, 34, 0.24);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

body {
  margin: 0;
  height: 100dvh;
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 122, 89, 0.22), transparent 24rem),
    radial-gradient(circle at 96% 4%, rgba(15, 118, 110, 0.18), transparent 26rem),
    linear-gradient(135deg, rgba(255, 243, 218, 0.88), transparent 36%),
    linear-gradient(215deg, rgba(220, 65, 97, 0.15), transparent 34%),
    var(--soft);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.app-header {
  display: none !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: #fffaf7;
  box-shadow: 0 18px 38px rgba(127, 34, 56, 0.22);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(217, 87, 108, 0.22);
  border-radius: 19px;
  pointer-events: none;
}

.brand-logo {
  width: 54px;
  height: 54px;
  display: block;
}

.brand-logo-bg {
  fill: url("#brandLogoGradient");
}

.brand-logo-a,
.brand-logo-s {
  fill: none;
  stroke: #fffaf7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo-a {
  stroke-width: 4.4;
}

.brand-logo-s {
  stroke-width: 3.4;
  opacity: 0.74;
}

.brand-logo-heart {
  fill: #fffaf7;
  filter: drop-shadow(0 2px 4px rgba(90, 24, 50, 0.18));
}

.brand strong,
.brand span {
  display: block;
}

.brand span,
.eyebrow,
.checkout-copy,
.profile-form label,
.payment-form label {
  color: var(--muted);
}

.nav-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.nav-item.active,
.nav-item:hover {
  background: #fff0f1;
  color: var(--rose);
  box-shadow: inset 0 -3px 0 var(--rose);
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-width: 220px;
  margin-left: auto;
}

.mini-stats div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  color: var(--rose);
  font-size: 1.45rem;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

main {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 10px 8px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  overflow-x: hidden;
  /* Keep browser scrolling fixed while the app workspace owns its content flow. */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

main[data-app-view] {
  align-content: start;
  scroll-padding-block: 10px;
}

main[data-app-view] > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

main[data-app-view="register"] > #register,
main[data-app-view="people"] > #people,
main[data-app-view="media"] > #media,
main[data-app-view="plans"] > .preference-plan-stack,
main[data-app-view="messages"] > .inbox-section,
main[data-app-view="dates"] > #dates {
  min-height: calc(100dvh - 28px);
}

main > * {
  min-width: 0;
  grid-column: 1 / -1;
}

/* Render one application view at a time so long sections cannot collide. */
main[data-app-view="landing"] > :not(#landing):not(.landing-trust-band):not(.landing-feature),
main[data-app-view="onboarding"] > :not(.about-onboarding-page),
main[data-app-view="register"] > :not(.member-progress-bar):not(#register),
main[data-app-view="people"] > :not(.topbar):not(.member-progress-bar):not(.backend-dashboard):not(.filter-band):not(#people),
main[data-app-view="media"] > :not(.topbar):not(.member-progress-bar):not(.backend-dashboard):not(#media),
main[data-app-view="plans"] > :not(.topbar):not(.member-progress-bar):not(.backend-dashboard):not(.preference-plan-stack),
main[data-app-view="messages"] > :not(.topbar):not(.member-progress-bar):not(.backend-dashboard):not(#messages):not(.inbox-section),
main[data-app-view="dates"] > :not(.topbar):not(.member-progress-bar):not(.backend-dashboard):not(#dates),
main[data-app-view="dashboard"] > :not(.topbar):not(.member-progress-bar):not(.welcome-dashboard):not(.backend-dashboard):not(.front-page-grid):not(#discover) {
  display: none;
}

.landing-hero {
  position: relative;
  order: -100;
  min-height: min(760px, calc(100dvh - 20px));
  margin: -10px -8px 0;
  padding: 38px clamp(18px, 5vw, 68px) 34px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(8, 9, 14, 0.42), rgba(8, 9, 14, 0.08) 48%, rgba(8, 9, 14, 0.2)),
    url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=2200&q=88");
  background-position: center, center;
  background-size: cover, cover;
}

.landing-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 10, 14, 0.2), rgba(12, 10, 14, 0.08) 45%, rgba(12, 10, 14, 0.26)),
    radial-gradient(circle at 24% 45%, rgba(0, 0, 0, 0.18), transparent 34rem);
  pointer-events: none;
}

.landing-topline,
.landing-content {
  position: relative;
  z-index: 1;
}

.landing-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.landing-brand,
.landing-actions,
.landing-language,
.landing-signin,
.landing-audio-pill {
  display: flex;
  align-items: center;
}

.landing-brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.landing-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.landing-brand-logo {
  width: 40px;
  height: 40px;
  display: block;
}

.landing-brand-logo .brand-logo-bg {
  fill: url("#landingLogoGradient");
}

.landing-brand-logo .brand-logo-a,
.landing-brand-logo .brand-logo-s {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-brand-logo .brand-logo-s {
  opacity: 0.42;
}

.landing-brand-logo .brand-logo-heart {
  fill: #ffffff;
}

.landing-actions {
  gap: 8px;
}

.landing-login,
.landing-language {
  min-height: 44px;
  border-radius: 8px;
  border: 0;
  color: white;
  text-decoration: none;
  font-weight: 900;
}

.landing-login {
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  background: var(--rose);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.landing-language {
  gap: 6px;
  padding: 0 10px;
  background: rgba(32, 23, 25, 0.46);
  backdrop-filter: blur(14px);
}

.landing-language select {
  width: 112px;
  min-height: 34px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: white;
  font-weight: 800;
}

.landing-language option {
  color: var(--ink);
}

.landing-content {
  display: grid;
  grid-template-columns: minmax(300px, 436px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.landing-card {
  width: min(436px, 100%);
  padding: 34px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(12, 10, 14, 0.28);
  display: grid;
  gap: 14px;
}

.landing-logo-text {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-weight: 900;
}

.landing-card h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.landing-card > p:not(.landing-logo-text) {
  margin: 0 auto 6px;
  max-width: 330px;
  text-align: center;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 650;
}

.landing-card label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}

.landing-card input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 750;
}

.landing-date-field {
  position: relative;
  display: block;
}

.landing-date-display {
  padding-right: 58px;
}

.landing-native-date {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 1px;
  min-height: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.landing-calendar-button {
  position: absolute;
  right: 7px;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 65, 97, 0.18);
  border-radius: 8px;
  background: #fff2f3;
  color: var(--rose);
  transform: translateY(-50%);
}

.landing-calendar-button svg {
  width: 19px;
  height: 19px;
}

.landing-calendar-button:hover,
.landing-calendar-button:focus-visible {
  border-color: rgba(220, 65, 97, 0.38);
  background: #ffe7ea;
  outline: 2px solid rgba(220, 65, 97, 0.2);
  outline-offset: 2px;
}

.landing-primary {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--rose), var(--coral));
  color: white;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(220, 65, 97, 0.24);
}

.landing-signin-grid {
  display: grid;
  gap: 10px;
}

.landing-signin {
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  font-weight: 900;
}

.landing-signin:first-child {
  background: #111014;
  color: white;
  border-color: #111014;
}

.landing-card small {
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
  font-weight: 650;
}

.landing-existing-member {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-weight: 750;
}

.landing-existing-member a {
  color: var(--rose);
  font-weight: 900;
  text-decoration: none;
}

.landing-existing-member a:hover,
.landing-existing-member a:focus-visible {
  text-decoration: underline;
}

.landing-disclaimer {
  align-self: end;
  justify-self: end;
  max-width: 410px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: right;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.landing-trust-band {
  order: -90;
  padding: 64px clamp(18px, 7vw, 112px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  background: white;
}

.landing-trust-band article {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.landing-trust-band svg {
  width: 58px;
  height: 58px;
  padding: 12px;
  border-radius: 18px;
  color: var(--rose);
  background: #fff0f1;
  box-shadow: 0 18px 36px rgba(87, 34, 58, 0.1);
}

.landing-trust-band h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.landing-trust-band p,
.landing-feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 1.04rem;
}

.landing-feature {
  order: -80;
  padding: 72px clamp(18px, 7vw, 112px);
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  align-items: center;
  gap: clamp(34px, 7vw, 104px);
  background: white;
}

.landing-feature + .landing-feature {
  padding-top: 38px;
}

.landing-feature h2 {
  margin: 8px 0 18px;
  max-width: 620px;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.landing-profile-stack {
  position: relative;
  min-height: 380px;
}

.landing-profile-card {
  position: absolute;
  width: min(270px, 44%);
  padding: 10px 10px 16px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 28px 70px rgba(32, 23, 25, 0.18);
}

.landing-profile-card img {
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  border-radius: 10px;
}

.landing-profile-card strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.05rem;
}

.landing-profile-card svg {
  position: absolute;
  left: 18px;
  bottom: 54px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 999px;
  color: white;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.2);
}

.landing-profile-card.card-one {
  left: 10%;
  top: 42px;
  transform: rotate(-7deg);
}

.landing-profile-card.card-two {
  right: 12%;
  top: 6px;
  transform: rotate(7deg);
}

.landing-feature-tools {
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.9fr);
}

.landing-media-preview {
  position: relative;
  max-width: 560px;
  min-height: 420px;
}

.landing-media-preview > img {
  width: 74%;
  aspect-ratio: 0.86;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 28px 70px rgba(32, 23, 25, 0.16);
}

.landing-audio-pill {
  position: absolute;
  left: 5%;
  bottom: 24%;
  width: 58%;
  min-height: 54px;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 42px rgba(32, 23, 25, 0.14);
}

.landing-audio-pill span:last-child {
  flex: 1;
  height: 16px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, var(--muted) 0 3px, transparent 3px 9px),
    linear-gradient(90deg, rgba(220, 65, 97, 0.16), rgba(15, 118, 110, 0.12));
  opacity: 0.58;
}

.landing-video-tile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  padding: 8px;
  border-radius: 16px;
  background: white;
  box-shadow: 0 26px 62px rgba(32, 23, 25, 0.18);
}

.landing-video-tile img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border-radius: 12px;
}

.about-onboarding-page {
  position: relative;
  order: -70;
  height: auto;
  min-height: min(760px, calc(100dvh - 20px));
  margin: 0 -8px;
  padding: 64px clamp(14px, 4vw, 64px);
  display: grid;
  place-items: center;
  overflow: visible;
  background: #eee7e8;
}

.about-app-preview {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 92px 1fr;
  color: #171216;
  opacity: 0.46;
  filter: grayscale(0.08);
}

.about-app-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(1.4px);
  pointer-events: none;
}

.about-preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 34px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(32, 23, 25, 0.08);
}

.about-preview-brand,
.about-preview-topbar nav,
.about-choice-buttons,
.about-choice-row {
  display: flex;
  align-items: center;
}

.about-preview-brand {
  gap: 12px;
  font-size: 1.2rem;
}

.about-preview-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--rose);
  color: #ffffff;
  font-weight: 950;
}

.about-preview-topbar nav {
  gap: clamp(18px, 4vw, 58px);
  font-weight: 950;
  text-transform: uppercase;
}

.upgrade-pill {
  padding: 16px 42px;
  border-radius: 4px;
  background: #a91625;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(101, 20, 34, 0.2);
}

.about-preview-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 32px;
}

.about-preview-left,
.about-preview-right {
  display: grid;
  align-content: start;
  gap: 20px;
}

.about-story-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-story-row article,
.about-preview-feed article {
  min-height: 202px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.about-story-row article::after,
.about-preview-feed article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
}

.about-story-row span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #ffffff;
  font-weight: 900;
}

.about-preview-card,
.about-preview-right {
  border: 1px solid rgba(32, 23, 25, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.about-preview-card {
  display: grid;
  gap: 26px;
  justify-items: center;
  padding: 36px 22px 22px;
  text-align: center;
  font-size: 1.08rem;
}

.about-preview-card button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 4px;
  background: #ad1524;
  color: #ffffff;
  font-weight: 950;
  text-transform: uppercase;
}

.about-preview-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-content: start;
}

.about-preview-feed article {
  min-height: 290px;
}

.about-preview-right {
  padding: 18px;
}

.about-preview-right h3 {
  margin: 0 0 28px;
}

.about-preview-right strong,
.about-preview-right p {
  display: block;
  margin: 0 0 18px;
  text-align: center;
}

.about-preview-right label {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-preview-right input {
  border: 0;
  background: transparent;
}

.about-contact-mini {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
}

.about-contact-mini img {
  width: 86px;
  height: 86px;
  border-radius: 6px;
  object-fit: cover;
}

.about-contact-mini strong,
.about-contact-mini p {
  margin: 0;
  text-align: left;
}

.about-you-panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 34px));
  min-height: 0;
  max-height: none;
  padding: clamp(36px, 5vw, 78px) clamp(22px, 6vw, 102px) 38px;
  border-radius: 18px;
  display: grid;
  align-content: center;
  gap: 30px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74) 42%, rgba(123, 200, 233, 0.78)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center bottom;
  box-shadow: 0 36px 120px rgba(32, 23, 25, 0.28);
}

@media (max-height: 900px) and (min-width: 621px) {
  .about-onboarding-page {
    height: auto;
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .about-you-panel {
    padding: 24px clamp(22px, 5vw, 72px) 24px;
    gap: 16px;
    align-content: start;
  }

  .about-you-panel h2 {
    margin-bottom: 8px;
  }

  .about-you-panel input,
  .about-you-panel select,
  .about-photo-picker input[type="file"] {
    min-height: 52px;
  }

  .about-next-button {
    min-height: 56px;
    margin-top: 8px;
  }

  .about-details-panel,
  .about-basics-panel {
    min-height: 0;
  }
}

.about-you-panel h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: clamp(2.4rem, 4vw, 3.65rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: 0;
}

.about-form-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.about-form-row label,
.about-choice-row > span {
  text-align: right;
  font-size: 1.38rem;
  font-weight: 950;
}

.about-you-panel input,
.about-you-panel select {
  width: 100%;
  min-height: 68px;
  padding: 0 16px;
  border: 1px solid rgba(32, 23, 25, 0.12);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.2rem;
}

.about-choice-row {
  display: grid;
  grid-template-columns: 200px 1fr 160px auto;
  gap: 18px;
}

.about-choice-buttons {
  gap: 8px;
}

.about-choice-buttons button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(32, 23, 25, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

.about-choice-buttons button.selected {
  background: var(--rose);
  color: #ffffff;
  border-color: var(--rose);
  box-shadow: 0 12px 26px rgba(220, 65, 97, 0.22);
}

.about-photo-row {
  align-items: center;
}

.about-photo-picker {
  width: 100%;
  display: grid;
  gap: 8px;
}

#aboutProfilePhotoStatus {
  max-width: 520px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
}

.about-photo-picker input[type="file"] {
  width: 100%;
  min-height: 68px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 750;
}

.about-next-button {
  width: min(500px, 100%);
  min-height: 70px;
  justify-self: center;
  margin-top: 24px;
  border: 0;
  border-radius: 4px;
  background: #df1f30;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: 0 18px 38px rgba(162, 17, 35, 0.24);
}

.about-progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.about-progress-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: transparent;
}

.about-progress-dots .active {
  background: #ffffff;
}

.about-details-panel {
  min-height: 650px;
  gap: 28px;
}

.about-basics-panel {
  min-height: 650px;
  gap: 24px;
}

.about-step-intro {
  width: min(760px, 100%);
  justify-self: center;
  margin: -16px 0 4px;
  color: rgba(32, 23, 25, 0.72);
  font-size: 1.12rem;
  line-height: 1.45;
  text-align: center;
}

.about-basics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(960px, 100%);
  justify-self: center;
}

.about-basics-grid label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 900;
}

.about-basics-grid label:last-child {
  grid-column: 1 / -1;
}

.about-basics-grid span {
  text-transform: uppercase;
}

.about-details-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(2.2rem, 3.6vw, 3.35rem);
  font-weight: 500;
}

.about-example {
  width: min(860px, 100%);
  justify-self: center;
  margin: 0;
  color: rgba(32, 23, 25, 0.72);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  font-style: italic;
  line-height: 1.32;
  text-align: center;
}

.about-details-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: min(1040px, 100%);
  justify-self: center;
}

.about-details-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(32, 23, 25, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--plum);
  font-size: 0.92rem;
  font-weight: 950;
  cursor: pointer;
}

.about-details-tabs button.active {
  border-color: rgba(225, 57, 96, 0.48);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(225, 57, 96, 0.2);
}

.about-details-tab-panels {
  display: grid;
  width: min(960px, 100%);
  justify-self: center;
}

.about-details-tab-panel {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 950;
}

.about-details-tab-panel > span {
  text-transform: uppercase;
}

.about-details-tab-panel[hidden] {
  display: none;
}

.about-details-tab-panel textarea,
.about-details-tab-panel input,
.about-details-tab-panel select {
  width: min(960px, 100%);
  justify-self: center;
  padding: 26px;
  border: 1px solid rgba(32, 23, 25, 0.12);
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink);
  font-size: 1.24rem;
}

.about-details-tab-panel textarea {
  min-height: 224px;
  resize: vertical;
}

.about-details-tab-panel input,
.about-details-tab-panel select {
  min-height: 66px;
}

.about-details-tab-panel.compact {
  width: min(760px, 100%);
  justify-self: center;
}

.about-details-tab-panel textarea::placeholder,
.about-details-tab-panel input::placeholder {
  color: rgba(116, 107, 112, 0.54);
}

.about-navigation-row {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 500px) 1fr;
  gap: 24px;
  align-items: center;
  width: min(960px, 100%);
  justify-self: center;
}

.about-navigation-row .about-next-button {
  width: 100%;
  margin-top: 0;
}

.about-link-button {
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #0875c9;
  font-size: 1.18rem;
  font-weight: 600;
}

.about-link-button:first-child {
  justify-self: start;
}

.about-link-button:last-child {
  justify-self: end;
}

.topbar,
.section-title,
.panel-head,
.action-row,
.payment-row,
.top-actions,
.people-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar h1 {
  max-width: 760px;
  margin: 4px 0 0;
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.top-actions {
  position: relative;
}

.user-menu {
  position: relative;
}

.user-menu-toggle {
  min-height: 44px;
  white-space: nowrap;
}

.user-menu-toggle svg:last-child {
  width: 16px;
  height: 16px;
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(250px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(49, 19, 34, 0.18);
}

.user-menu-summary {
  display: grid;
  gap: 3px;
  padding: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.user-menu-summary small {
  color: var(--muted);
}

.user-menu-panel a,
.user-menu-panel button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
}

.user-menu-panel a:hover,
.user-menu-panel a:focus-visible,
.user-menu-panel button:hover,
.user-menu-panel button:focus-visible {
  background: #fff0f1;
  color: var(--rose);
  outline: 0;
}

.user-menu-panel svg {
  width: 18px;
  height: 18px;
}

.menu-count,
.nav-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: white;
  font-size: 0.7rem;
  line-height: 1;
}

.nav-count {
  margin-left: auto;
}

.member-progress-bar,
.welcome-dashboard {
  border: 1px solid rgba(234, 221, 225, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.member-progress-bar {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1.55fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.member-progress-heading {
  display: grid;
  gap: 4px;
}

.member-progress-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.member-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--muted);
  font-weight: 800;
}

.member-progress-step strong {
  overflow-wrap: anywhere;
}

.member-progress-step .progress-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eceff3;
  color: #5d6470;
}

.member-progress-step.complete {
  border-color: #b9e7ca;
  background: #eefaf4;
  color: #176b3a;
}

.member-progress-step.complete .progress-icon {
  background: #dff5e8;
  color: #176b3a;
}

.member-progress-step.current {
  border-color: #f3c76e;
  background: #fff7e8;
  color: #7a3f00;
}

.member-progress-step.current .progress-icon {
  background: #ffe7b2;
  color: #7a3f00;
}

.welcome-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.9fr) minmax(230px, 0.85fr);
  gap: 14px;
  align-items: stretch;
  padding: 16px;
}

.welcome-copy,
.welcome-facts,
.welcome-next-action {
  min-width: 0;
}

.welcome-copy h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.welcome-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.welcome-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.welcome-facts article {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
}

.welcome-facts span,
.welcome-next-action span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.welcome-facts strong {
  color: var(--rose);
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

.welcome-next-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid #b9e7ca;
  border-radius: 8px;
  background: #eefaf4;
}

.welcome-next-action div {
  display: grid;
  gap: 5px;
}

.welcome-next-action strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.notification-button {
  position: relative;
}

.notification-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  border: 2px solid white;
  font-size: 0.72rem;
  line-height: 1;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 20;
  width: min(360px, calc(100vw - 40px));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(49, 19, 34, 0.18);
  padding: 14px;
}

.notification-head,
.notification-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.notification-head {
  align-items: center;
  margin-bottom: 10px;
}

.notification-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.notification-item {
  border: 1px solid rgba(234, 221, 225, 0.86);
  border-radius: 8px;
  padding: 12px;
  background: #fff8f7;
}

.notification-item.read {
  background: #f7f7f4;
}

.notification-item strong,
.notification-item span,
.notification-item small {
  display: block;
}

.notification-item span {
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

.notification-item small {
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
}

.compact-text {
  min-height: 36px;
  padding: 0 12px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero-grid,
.content-grid,
.value-grid,
.register-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.35fr) minmax(300px, 0.85fr);
  gap: 14px;
  align-items: start;
}

.match-stage,
.quick-panel,
.onboarding-panel,
.plans-panel,
.auth-panel,
.home-actions,
.message-strip,
.inbox-section,
.admin-section,
.admin-form,
.admin-panel,
.backend-dashboard article,
.filter-band,
.date-card,
.safety-card,
.register-panel,
.profile-preview,
.people-section,
.media-section {
  border: 1px solid rgba(234, 221, 225, 0.92);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.match-stage {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(360px, 44vh) auto;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(49, 19, 34, 0.18);
}

.front-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.front-page-grid > section {
  min-width: 0;
}

.preference-plan-stack {
  grid-template-columns: 1fr;
  gap: 14px;
}

.preference-plan-stack .onboarding-panel,
.preference-plan-stack .plans-panel {
  min-width: 0;
}

.preference-plan-stack .plans {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.plans-panel > .section-title {
  justify-content: center;
  text-align: center;
}

.plans-panel > .section-title > div {
  width: 100%;
}

.home-actions {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  align-content: start;
  align-self: start;
  padding: 12px;
  border-radius: 8px;
}

.home-actions h2 {
  margin: 4px 0 0;
  font-size: 1.15rem;
  line-height: 1.25;
}

.home-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 8px;
}

.home-action {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
  color: var(--ink);
  text-decoration: none;
}

.home-action:hover {
  border-color: rgba(220, 65, 97, 0.46);
  box-shadow: 0 12px 30px rgba(87, 34, 58, 0.1);
}

.home-action svg {
  width: 22px;
  height: 22px;
  color: var(--rose);
}

.home-action strong,
.home-action small {
  display: block;
}

.home-action small {
  color: var(--muted);
  line-height: 1.35;
}

.match-photo {
  position: relative;
  grid-row: 1;
  min-height: 360px;
  background:
    linear-gradient(180deg, rgba(15, 6, 10, 0.1) 0%, rgba(15, 6, 10, 0.2) 100%),
    url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=max&w=1200&q=85");
  background-color: #211d23;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, auto 100%;
}

.match-photo-label {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--plum);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.match-stage::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  pointer-events: none;
}

.match-overlay {
  position: relative;
  grid-row: 2;
  padding: 18px 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.match-overlay h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 0.95;
}

.match-stage .profile-badges span {
  background: #fff0f1;
  color: var(--plum);
  border: 1px solid #f1cfd5;
  backdrop-filter: none;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-badges span,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-badges span {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-badges.dark span {
  background: #fff0f1;
  color: var(--plum);
}

.profile-badges.dark span.trust-good {
  background: #e4f7ec;
  color: #1f6f52;
}

.profile-badges.dark span.trust-pending {
  background: #fbf7e8;
  color: #6f5d21;
}

.profile-badges.dark span.trust-missing {
  background: #fff0f1;
  color: var(--rose);
}

.profile-badges.dark span[role="button"] {
  cursor: pointer;
  box-shadow: inset 0 0 0 1px currentColor;
}

.profile-badges.dark span[role="button"]:hover,
.profile-badges.dark span[role="button"]:focus-visible {
  outline: 3px solid rgba(220, 65, 97, 0.16);
  outline-offset: 2px;
}

.profile-badges svg {
  width: 15px;
  height: 15px;
}

.match-overlay p {
  margin: 6px 0 0;
  max-width: 420px;
}

.compatibility,
.status-pill {
  white-space: nowrap;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.82rem;
}

.compatibility {
  background: rgba(255, 255, 255, 0.92);
  color: var(--rose);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.status-pill {
  color: #6b2a12;
  background: #ffe9c0;
}

.quick-panel,
.onboarding-panel,
.plans-panel,
.message-strip,
.inbox-section,
.admin-section,
.admin-form,
.admin-panel,
.filter-band,
.date-card,
.safety-card,
.register-panel,
.profile-preview,
.people-section,
.media-section {
  border-radius: 8px;
  padding: 22px;
}

.compact-title {
  align-items: flex-start;
  margin-bottom: 14px;
}

.compact-title h3 {
  margin: 4px 0 0;
}

.admin-owner {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.admin-owner strong {
  color: var(--rose);
}

.backend-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
}

.backend-dashboard article {
  min-height: 76px;
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.backend-card {
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.backend-card:hover,
.backend-card:focus-visible {
  border-color: rgba(220, 65, 97, 0.42);
  background: rgba(255, 250, 247, 0.96);
  box-shadow: 0 20px 50px rgba(87, 34, 58, 0.14);
  transform: translateY(-2px);
}

.backend-dashboard.is-refreshing .backend-card[data-live-action="refresh"] svg {
  animation: dashboardPulse 900ms ease infinite;
}

.backend-dashboard svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 8px;
  background: #fff0f1;
  color: var(--rose);
  stroke-width: 2.2;
}

.backend-dashboard strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.backend-dashboard p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.25;
}

.backend-card-live {
  display: block;
  margin-top: 6px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
}

.backend-dashboard strong.is-updated {
  animation: statUpdated 520ms ease;
}

@keyframes dashboardPulse {
  50% {
    transform: scale(1.08);
  }
}

@keyframes statUpdated {
  45% {
    color: var(--rose);
    transform: translateY(-1px);
  }
}

.member-journey {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.member-journey h2 {
  margin: 4px 0 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.journey-step {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  gap: 8px 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  text-decoration: none;
}

.journey-step:hover,
.journey-step:focus-visible {
  border-color: rgba(220, 65, 97, 0.42);
  outline: 3px solid rgba(220, 65, 97, 0.12);
  outline-offset: 2px;
}

.journey-step.complete {
  background: #eefaf4;
  border-color: #b9e7ca;
}

.journey-step.current {
  background: #fff7e8;
  border-color: #f3c76e;
}

.journey-step.locked {
  cursor: not-allowed;
  opacity: 0.66;
}

.journey-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--rose);
  background: #fff0f1;
}

.journey-step.complete .journey-icon {
  color: #176b3a;
  background: #dff5e8;
}

.journey-step.current .journey-icon {
  color: #7a3f00;
  background: #ffe7b2;
}

.journey-icon svg {
  width: 19px;
  height: 19px;
}

.journey-step strong,
.journey-step small,
.journey-step em {
  display: block;
}

.journey-step strong {
  font-size: 0.98rem;
}

.journey-step small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.journey-step em {
  grid-column: 1 / -1;
  width: fit-content;
  min-height: 27px;
  align-self: end;
  border-radius: 999px;
  padding: 6px 10px;
  color: #6b2a12;
  background: #ffe9c0;
  font-style: normal;
  font-weight: 900;
  font-size: 0.76rem;
}

.journey-step.complete em {
  color: #176b3a;
  background: #dff5e8;
}

.journey-step.locked em {
  color: #5d6470;
  background: #eceff3;
}

.quick-panel {
  display: grid;
  align-content: start;
  gap: 14px;
}

.quick-panel h2,
.section-title h2,
.message-strip h2 {
  margin: 4px 0 0;
}

.trait-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trait {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.trait strong {
  display: block;
  margin-bottom: 4px;
}

.trait span {
  color: var(--muted);
  font-size: 0.92rem;
}

.chemistry-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff3da, #fff0f1 52%, #e9fbf3);
  border: 1px solid #f1d4d7;
}

.chemistry-card strong,
.chemistry-card span {
  display: block;
}

.chemistry-card span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.ring {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose);
  font-weight: 900;
  background:
    radial-gradient(circle at center, white 56%, transparent 57%),
    conic-gradient(var(--rose) 0 94%, #f3dde1 94% 100%);
}

.icon-button,
.primary-button,
.ghost-button,
.soft-button,
.chip,
.date-option,
.prompt-list button {
  min-height: 44px;
  border-radius: 8px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.icon-button:hover,
.primary-button:hover,
.ghost-button:hover,
.soft-button:hover,
.chip:hover,
.date-option:hover,
.prompt-list button:hover {
  transform: translateY(-1px);
}

.icon-button {
  width: 44px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.icon-button.compact {
  width: 40px;
  min-height: 40px;
}

.primary-button {
  padding: 0 18px;
  background: linear-gradient(135deg, var(--rose), var(--coral));
  color: white;
  box-shadow: var(--glow);
}

.primary-button svg,
.soft-button svg,
.ghost-button svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  stroke-width: 2.35;
}

.ghost-button {
  padding: 0 18px;
  background: #f0f4f1;
  color: var(--ink);
}

.soft-button {
  min-height: 44px;
  border: 1px solid #f1cfd5;
  border-radius: 8px;
  background: #fff0f1;
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
}

.language-control {
  min-width: 154px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--plum);
}

.language-control > span {
  position: absolute;
  left: 12px;
  color: var(--rose);
  pointer-events: none;
}

.language-control select {
  min-height: 44px;
  padding-left: 42px;
  font-weight: 800;
  color: var(--plum);
  background: #fff0f1;
  border-color: #f1cfd5;
}

.profile-form,
.payment-form,
.register-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.demo-payment-helper {
  min-height: 40px;
  background: #fff7e8;
  border-color: #f3c76e;
  color: #6b2a12;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 12px;
  font: inherit;
  line-height: 1.45;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 0 12px;
}

input[type="file"] {
  padding: 10px 12px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(220, 65, 97, 0.16);
  border-color: rgba(220, 65, 97, 0.62);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b42318;
  background: #fff7f5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 14px;
}

.phone-entry-grid {
  display: grid;
  grid-template-columns: minmax(145px, 0.35fr) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.photo-upload small {
  color: var(--muted);
  line-height: 1.4;
}

.dual-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dual-range label {
  gap: 6px;
  font-size: 0.88rem;
  color: var(--muted);
}

.register-panel {
  background:
    linear-gradient(135deg, rgba(255, 243, 218, 0.96), rgba(255, 255, 255, 0.9)),
    white;
}

#register.register-grid {
  order: -30;
  grid-template-columns: minmax(0, 1fr);
}

#discover.hero-grid {
  order: -20;
}

.onboarding-intake-card {
  border: 1px solid rgba(229, 108, 133, 0.22);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(87, 30, 63, 0.07);
}

.onboarding-intake-card h3 {
  margin: 2px 0 6px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0;
}

.onboarding-intake-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.profile-preview {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: none;
}

#register .profile-preview {
  position: static;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  align-items: stretch;
}

.preview-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  justify-self: stretch;
  align-self: stretch;
  flex: 0 0 auto;
  background:
    linear-gradient(180deg, rgba(18, 11, 17, 0.06), rgba(18, 11, 17, 0.28)),
    url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=max&w=900&q=85");
  background-color: #211d23;
  background-position: center, top center;
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
}

.preview-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.preview-body h2 {
  margin: 16px 0 4px;
  font-size: 1.8rem;
}

.preview-body p {
  color: var(--muted);
  line-height: 1.55;
}

.free-note {
  margin: 8px 0 0;
  color: var(--rose);
  font-weight: 800;
  line-height: 1.45;
}

.verification-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.verification-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.verification-method.active {
  border-color: rgba(220, 65, 97, 0.28);
  background: #fff0f1;
  color: var(--plum);
  box-shadow: 0 8px 18px rgba(79, 27, 52, 0.08);
}

.verification-method svg {
  width: 17px;
  height: 17px;
}

.profile-meter {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: var(--cream);
  font-weight: 800;
}

.profile-meter::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  width: var(--profile-score, 82%);
  background: linear-gradient(90deg, var(--rose), var(--coral), var(--teal));
}

.profile-meter span,
.profile-meter strong {
  position: relative;
}

.profile-meter strong {
  color: var(--rose);
}

.profile-completion {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.completion-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffefd;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
}

.completion-item svg {
  width: 16px;
  height: 16px;
  color: #b9aeb3;
}

.completion-item.complete {
  border-color: rgba(15, 118, 110, 0.2);
  background: rgba(201, 243, 223, 0.34);
  color: var(--deep-teal);
}

.completion-item.complete svg {
  color: var(--teal);
}

.verification-review-note {
  margin-top: 8px;
  color: var(--muted);
}

.profile-next-step {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #dce9df;
  border-radius: 8px;
  background: #f8fbf8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.profile-next-step[hidden] {
  display: none;
}

.profile-next-step span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.profile-next-step strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  line-height: 1.3;
}

.profile-next-step .soft-button {
  min-height: 38px;
  padding: 0 12px;
}

.onboarding-stepper {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf7;
}

.onboarding-stepper li {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
}

.onboarding-stepper li.active {
  background: #fff0f1;
  color: var(--plum);
}

.onboarding-stepper li.complete {
  background: rgba(201, 243, 223, 0.42);
  color: var(--deep-teal);
}

.onboarding-stepper span {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--rose);
  font-size: 0.82rem;
}

.onboarding-stepper li.active span {
  border-color: rgba(220, 65, 97, 0.32);
  background: white;
}

.onboarding-stepper li.complete span {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.onboarding-stepper strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.86rem;
  line-height: 1.15;
}

.profile-details-drawer,
.mobile-detail-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  overflow: hidden;
}

.profile-details-drawer summary,
.mobile-detail-section summary {
  min-height: 52px;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 900;
}

.profile-details-drawer summary::marker,
.mobile-detail-section summary::marker {
  color: var(--rose);
}

.profile-details-drawer summary small,
.mobile-detail-section summary small {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.details-content {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 248, 247, 0.58);
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.profile-detail-grid div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.profile-detail-grid span,
.profile-detail-grid strong {
  display: block;
}

.profile-detail-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-detail-grid strong {
  margin-top: 5px;
  line-height: 1.35;
}

.profile-prompt-fields,
.profile-prompt-grid {
  display: grid;
  gap: 10px;
}

.profile-prompt-fields textarea {
  min-height: 82px;
}

.profile-prompt-grid {
  margin-top: 14px;
}

.profile-prompt-card {
  padding: 12px;
  border: 1px solid rgba(234, 221, 225, 0.92);
  border-radius: 8px;
  background: #fbfdfb;
}

.profile-prompt-card span,
.profile-prompt-card strong {
  display: block;
}

.profile-prompt-card span {
  color: var(--rose);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-prompt-card strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.profile-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--rose);
  font-weight: 900;
}

.profile-media-panel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.profile-media-panel h3,
.profile-media-panel p {
  margin: 4px 0 0;
}

.video-limit-pill {
  width: max-content;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffe9c0;
  color: #6b2a12;
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-media-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: end;
}

.video-upload-control {
  display: grid;
  gap: 8px;
}

.video-upload-control .video-limit-pill {
  justify-self: center;
  margin-top: 0;
}

.form-media-panel {
  margin-top: 0;
  background: #fff8f7;
}

input[type="range"] {
  accent-color: var(--rose);
  padding: 0;
}

.range-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.range-label output {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--plum);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.checklist {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: var(--cream);
}

.check-item {
  display: flex;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.check-item input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--rose);
}

.filter-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) 1fr;
  align-items: center;
  gap: 18px;
  border-radius: 8px;
}

.people-section {
  display: grid;
  gap: 18px;
}

.media-section {
  display: grid;
  gap: 18px;
}

.media-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.upload-box {
  position: relative;
  min-height: 132px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed #e3bdc5;
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--plum);
  text-align: center;
  font-weight: 900;
  cursor: pointer;
}

.upload-box:hover {
  border-color: var(--rose);
  background: #fff0f1;
}

.upload-box svg {
  width: 28px;
  height: 28px;
}

.upload-box .upload-limit {
  margin-top: 0;
  justify-self: center;
}

.upload-box input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.media-note {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--berry);
  font-weight: 800;
}

.media-title-tools {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.media-card img,
.media-card video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef4f1;
}

.media-card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.media-card-body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-card-body span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.media-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.media-download {
  text-decoration: none;
}

.people-tools {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  min-width: min(320px, 100%);
}

.search-box span {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.search-box input {
  padding-left: 42px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.match-insights-panel {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.match-insights-panel article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(220, 65, 97, 0.2);
  border-radius: 8px;
  background: #fff9f6;
}

.match-insights-panel > article > span[data-lucide] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff0f1;
  color: var(--rose);
}

.match-insights-panel strong,
.match-insights-panel span {
  display: block;
}

.match-insights-panel strong {
  line-height: 1.3;
}

.match-insights-panel div > span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.liked-me-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff8f7;
}

.liked-me-panel h3,
.liked-me-panel p {
  margin: 4px 0 0;
}

.liked-me-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.plan-usage-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: #f7fbff;
}

.plan-usage-panel h3,
.plan-usage-panel p {
  margin: 4px 0 0;
}

.plan-usage-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.plan-usage-panel .soft-button {
  flex-shrink: 0;
  text-decoration: none;
}

.membership-manage-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.membership-manage-panel.active {
  border-color: rgba(46, 125, 50, 0.2);
  background: #f5fbf6;
}

.membership-manage-panel h3,
.membership-manage-panel p {
  margin: 4px 0 0;
}

.membership-manage-panel p,
.membership-manage-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.membership-manage-panel small {
  display: block;
  margin-top: 8px;
  font-weight: 800;
}

.membership-browse-button {
  display: inline-flex;
  margin-top: 14px;
  text-decoration: none;
}

.membership-browse-button[hidden] {
  display: none;
}

.membership-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 0;
}

.membership-facts[hidden] {
  display: none;
}

.membership-facts div,
.receipt-page-grid div,
.admin-revenue-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.membership-facts dt,
.receipt-page-grid dt,
.admin-revenue-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.membership-facts dd,
.receipt-page-grid dd,
.admin-revenue-card strong {
  margin: 4px 0 0;
  font-weight: 900;
}

.liked-me-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.liked-me-card {
  min-height: 120px;
  border: 1px solid rgba(234, 221, 225, 0.9);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.liked-me-card.locked {
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.liked-me-photo {
  min-height: 120px;
  background: center/cover;
}

.liked-me-body {
  padding: 10px;
  display: grid;
  gap: 8px;
}

.person-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.person-card:hover {
  border-color: rgba(220, 65, 97, 0.36);
  box-shadow: 0 22px 54px rgba(87, 34, 58, 0.16);
  transform: translateY(-4px);
}

.person-photo {
  min-height: 300px;
  background-color: #211d23;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}

.person-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 52%;
  background: linear-gradient(180deg, transparent, rgba(38, 8, 24, 0.68));
}

.person-score {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rose);
  font-weight: 900;
  font-size: 0.82rem;
}

.person-body {
  padding: 16px;
}

.person-body h3 {
  margin: 0;
  font-size: 1.18rem;
}

.member-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.member-card-badges span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--plum);
  font-size: 0.76rem;
  font-weight: 900;
}

.member-card-badges svg {
  width: 14px;
  height: 14px;
}

.person-body p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 14px;
}

.tag-row span {
  padding: 6px 8px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 800;
}

.match-reason-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.why-match-label {
  display: block;
  margin-top: 10px;
  color: var(--plum);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.match-reason-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef8f3;
  color: #22604a;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.2;
}

.person-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.person-actions .message-person {
  grid-column: 1 / -1;
}

.person-actions .gated-action {
  border-color: #d8ddd9;
  background: #f7f9f7;
  color: #69766e;
  box-shadow: none;
}

.person-actions .gated-action:hover {
  border-color: #c4d1c8;
  background: #eef5f0;
  color: var(--ink);
}

.plan-required-note {
  grid-column: 1 / -1;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
  background: #fbf7e8;
  color: #6f5d21;
  font-size: 0.78rem;
  font-weight: 900;
}

.plan-required-note svg {
  width: 14px;
  height: 14px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px dashed #c9d6cf;
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
  background: #fbfdfb;
  font-weight: 700;
}

.filter-band h2 {
  margin: 4px 0 0;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.chip {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.chip.active,
.chip:hover {
  background: var(--plum);
  color: white;
  border-color: var(--plum);
}

.plan-toggle {
  width: min(520px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 8px;
  background: #edf2ee;
}

.plan-controls {
  width: min(760px, 100%);
  margin: 18px auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(160px, 0.45fr);
  gap: 12px;
  align-items: end;
}

.plans-panel .plan-toggle {
  width: 100%;
}

.plan-toggle button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-weight: 800;
}

.plan-toggle .selected {
  background: white;
  color: var(--rose);
  box-shadow: 0 8px 20px rgba(220, 65, 97, 0.12);
}

.currency-control {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.currency-control select {
  min-height: 50px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 0 14px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.plan-comparison {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.plan-comparison-grid {
  display: grid;
  gap: 8px;
}

.plan-comparison-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.plan-comparison-row > span,
.plan-comparison-row > strong {
  min-height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-size: 0.88rem;
}

.plan-comparison-row.head > span,
.plan-comparison-row.head > strong {
  background: #fff7ed;
}

.plan-comparison-row small {
  display: block;
  color: var(--rose);
  font-size: 0.72rem;
}

.plan-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.plans-ready-status {
  width: min(760px, 100%);
  margin: 0 auto 18px;
  padding: 12px 16px;
  border: 1px solid #bfe7d8;
  border-radius: 8px;
  background: #f0fbf5;
  color: #075f4b;
  font-weight: 800;
  text-align: center;
}

.plan-card.featured {
  border-color: var(--rose);
  box-shadow: inset 4px 0 0 var(--rose), 0 16px 38px rgba(220, 65, 97, 0.12);
}

.plan-card.next-action {
  outline: 4px solid rgba(231, 61, 100, 0.24);
  outline-offset: 4px;
}

.plan-card.current-plan {
  border-color: rgba(35, 119, 88, 0.45);
  background: linear-gradient(180deg, rgba(235, 249, 241, 0.92), #ffffff);
  box-shadow: inset 4px 0 0 #237758, 0 14px 30px rgba(35, 119, 88, 0.1);
}

.plan-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.plan-title-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.plan-icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--rose);
  box-shadow: 0 14px 28px rgba(220, 65, 97, 0.2);
}

.plan-icon-starter {
  background: linear-gradient(135deg, #237758, #dc4161);
  box-shadow: 0 14px 28px rgba(35, 119, 88, 0.18);
}

.plan-icon-premium {
  background: linear-gradient(135deg, #e1a72f, var(--rose));
  box-shadow: 0 14px 28px rgba(220, 65, 97, 0.2);
}

.plan-icon-concierge {
  background: linear-gradient(135deg, #18415f, #8d315d);
  box-shadow: 0 14px 28px rgba(73, 34, 91, 0.2);
}

.plan-status-stack {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.status-pill.current {
  background: #e4f7ec;
  color: #1f6f52;
}

.price {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--rose);
}

.plan-card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.choose-plan:disabled {
  cursor: default;
  opacity: 1;
}

.choose-plan svg {
  width: 19px;
  height: 19px;
}

.choose-plan.primary-button svg {
  color: #ffffff;
}

.choose-plan.soft-button svg {
  color: var(--teal);
}

.message-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) 1fr;
  align-items: center;
  gap: 20px;
}

.value-grid {
  align-items: stretch;
}

.date-card,
.safety-card {
  min-height: 280px;
}

.date-card .section-title > span,
.safety-card .section-title > span {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  background: var(--cream);
  color: var(--rose);
}

.date-options {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.date-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.date-option.selected {
  border-color: var(--rose);
  background: #fff0f1;
}

.date-option strong,
.date-option span,
.date-option small {
  display: block;
}

.date-option span {
  margin-top: 4px;
  color: var(--muted);
}

.date-option small {
  width: max-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(244, 189, 75, 0.22);
  color: #6b3b12;
  font-size: 0.76rem;
  font-weight: 900;
}

.safety-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.safety-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fbfdfb;
  border: 1px solid var(--line);
  font-weight: 700;
}

.safety-list svg {
  color: var(--rose);
  flex: 0 0 auto;
}

.prompt-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.prompt-list button {
  display: block;
  width: 100%;
  min-height: 58px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  font-weight: 700;
}

.prompt-list button:hover {
  border-color: rgba(220, 65, 97, 0.38);
  background: #fff0f1;
}

.inbox-section {
  display: grid;
  gap: 16px;
}

.message-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 0.34fr) auto;
  gap: 12px;
  align-items: end;
}

.message-toolbar label {
  min-width: 0;
}

.conversation-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.thread-list,
.conversation-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.thread-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 460px;
  overflow: auto;
  padding: 10px;
}

.thread-button {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  text-align: left;
}

.thread-button.selected {
  border-color: rgba(220, 65, 97, 0.34);
  background: #fff0f1;
}

.thread-avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--cream) center/cover;
}

.thread-button strong,
.thread-button span,
.conversation-head span {
  display: block;
}

.thread-button span,
.conversation-head span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
}

.thread-button small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 800;
}

.thread-unread {
  min-width: 26px;
  min-height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--rose);
  color: white;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.conversation-panel {
  display: grid;
  grid-template-rows: auto minmax(280px, 1fr);
  overflow: hidden;
}

.conversation-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.conversation-head .soft-button {
  min-height: 36px;
  flex-shrink: 0;
}

.conversation-head h3 {
  margin: 2px 0 0;
}

.inbox-list {
  display: grid;
  gap: 10px;
  align-content: end;
  max-height: 460px;
  overflow: auto;
  padding: 14px;
}

.inbox-message {
  width: min(82%, 560px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.inbox-message.mine {
  justify-self: end;
  border-color: rgba(220, 65, 97, 0.28);
  background: #fff0f1;
}

.inbox-message.date-invite-message {
  border-color: rgba(15, 118, 110, 0.26);
  background:
    linear-gradient(135deg, rgba(201, 243, 223, 0.42), rgba(255, 255, 255, 0.92)),
    #fff;
}

.inbox-message.date-invite-message small {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--deep-teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.inbox-message.date-invite-message small svg {
  width: 14px;
  height: 14px;
}

.inbox-message strong,
.inbox-message span {
  display: block;
}

.inbox-message span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.inbox-message footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: #6b7280;
  font-size: 0.76rem;
  font-weight: 800;
}

.inbox-message footer em {
  font-style: normal;
  text-transform: capitalize;
}

.message-composer {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 1fr auto;
  gap: 12px;
  align-items: end;
}

.message-composer.locked {
  opacity: 0.78;
}

.message-draft-status {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-panel {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 8px;
  box-shadow: none;
}

.email-first-panel {
  border: 1px solid #d9eadf;
  background: linear-gradient(135deg, #fffaf1, #e9f7ef);
}

.auth-panel h3,
.auth-panel p {
  margin: 0;
}

.auth-panel p:not(.eyebrow) {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.auth-panel .verification-note {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(225, 57, 96, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.admin-section:not(.unlocked) .admin-secure {
  display: none;
}

.admin-login,
.admin-actions,
.admin-row-actions {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-stats article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-stats strong,
.admin-stats span {
  display: block;
}

.admin-stats strong {
  color: var(--rose);
  font-size: 1.55rem;
}

.admin-stats span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.admin-login label {
  max-width: 340px;
  width: 100%;
}

.admin-login small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.35;
}

.admin-workspace-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.admin-workspace-bar strong {
  display: block;
  margin-top: 3px;
}

.admin-workspace-bar small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.admin-workspace-actions,
.admin-jump-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-jump-nav {
  padding-bottom: 2px;
}

.admin-jump-nav .soft-button {
  min-height: 36px;
  padding: 0 11px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(360px, 1.25fr);
  gap: 16px;
}

.admin-ops-center {
  display: grid;
  grid-template-columns: minmax(280px, 1.25fr) repeat(4, minmax(160px, 0.7fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-ops-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 132px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-ops-card.urgent {
  border-color: rgba(217, 87, 108, 0.28);
  background: #fff8f8;
}

.admin-ops-card h3,
.admin-ops-card p {
  margin: 4px 0 0;
}

.admin-ops-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.admin-ops-card span,
.admin-ops-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 800;
}

.admin-ops-card > span[data-lucide] {
  width: 30px;
  height: 30px;
  color: var(--rose);
}

.admin-permission-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 360px;
}

.admin-permission-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9f7;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-permission-chips span.active {
  border-color: rgba(46, 125, 50, 0.22);
  background: #effaf1;
  color: #2e7d32;
}

.admin-permission-chips span.locked {
  opacity: 0.62;
}

.admin-health-panel {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-health-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-health-check {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
}

.admin-health-check span[data-lucide] {
  width: 22px;
  height: 22px;
}

.admin-health-check strong,
.admin-health-check small {
  display: block;
}

.admin-health-check small {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.admin-health-check.ready span[data-lucide] {
  color: #2e7d32;
}

.admin-health-check.blocked {
  border-color: rgba(217, 87, 108, 0.28);
  background: #fff8f8;
}

.admin-health-check.blocked span[data-lucide] {
  color: var(--rose);
}

.admin-action-digest {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-digest-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-digest-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 92px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.admin-digest-item > span[data-lucide] {
  width: 24px;
  height: 24px;
  color: var(--rose);
}

.admin-digest-item strong,
.admin-digest-item span {
  display: block;
}

.admin-digest-item span:not([data-lucide]) {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-digest-item.urgent {
  border-color: rgba(217, 87, 108, 0.28);
  background: #fff8f8;
}

.admin-digest-item.blocked {
  border-color: rgba(122, 97, 32, 0.24);
  background: #fffdf3;
}

.admin-digest-item.resolved {
  border-color: rgba(46, 125, 50, 0.18);
  background: #f5fbf6;
}

.admin-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-form,
.admin-panel {
  box-shadow: none;
}

.admin-message-form {
  box-shadow: none;
}

.admin-check {
  width: max-content;
}

.admin-list {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
  padding-right: 4px;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.admin-row strong,
.admin-row span {
  display: block;
}

.admin-row strong .admin-priority {
  display: inline-flex;
}

.admin-priority {
  align-items: center;
  min-height: 24px;
  margin: 0 0 0 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f7f9f7;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  vertical-align: middle;
}

.admin-priority.urgent {
  background: #fff0f1;
  color: var(--rose);
}

.admin-priority.blocked {
  background: #fbf7e8;
  color: #7a6120;
}

.admin-priority.resolved {
  background: #effaf1;
  color: #2e7d32;
}

.admin-revenue-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.admin-revenue-card {
  display: grid;
  gap: 4px;
}

.admin-revenue-card strong {
  color: var(--ink);
  font-size: 1.12rem;
}

.admin-revenue-card small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-row span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.admin-row-actions button {
  min-height: 38px;
  padding: 0 12px;
}

.admin-panel-tools {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 12px;
}

.admin-panel-tools label {
  display: grid;
  gap: 6px;
  min-width: min(240px, 100%);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-panel-tools input,
.admin-panel-tools select {
  width: 100%;
}

.admin-bulk-bar {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(170px, 0.45fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.admin-bulk-bar .status-pill {
  justify-self: start;
}

.compact-select {
  min-height: 38px;
  width: min(190px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0 10px;
  color: var(--ink);
  font-weight: 700;
}

.admin-report-note {
  margin-top: 10px;
}

.admin-report-note label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-report-note textarea {
  min-height: 72px;
  resize: vertical;
}

.checkout-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(18, 27, 25, 0.48);
  z-index: 10;
}

.checkout-backdrop.open {
  display: grid;
}

.checkout {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.checkout .close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.checkout h2 {
  margin: 4px 52px 8px 0;
}

.checkout-copy {
  margin: 0;
  line-height: 1.55;
}

.payment-provider-status {
  width: fit-content;
  margin: 12px 0 0;
  padding: 7px 10px;
  border: 1px solid #dce9df;
  border-radius: 8px;
  background: #f8fbf8;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.payment-provider-status[data-provider="stripe"] {
  border-color: #c8d7ff;
  background: #f4f7ff;
  color: #33428a;
}

.payment-provider-status[data-provider="paypal"] {
  border-color: #bee3f8;
  background: #eff9ff;
  color: #075985;
}

.payment-method-toggle {
  margin-top: 12px;
  padding: 5px;
  border: 1px solid #ead7dc;
  border-radius: 8px;
  background: #fff8f9;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.payment-method-toggle[hidden] {
  display: none;
}

.payment-method-toggle button {
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--plum);
  font: inherit;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.payment-method-toggle button[hidden] {
  display: none;
}

.payment-method-toggle button.selected {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(61, 26, 45, 0.08);
}

.payment-method-toggle svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

#payButton {
  position: sticky;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 -8px 20px rgba(255, 255, 255, 0.92);
}

.checkout-plan-summary {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dce9df;
  border-radius: 8px;
  background: #f8fbf8;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
}

.checkout-plan-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.checkout-plan-summary strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.02rem;
}

.checkout-plan-summary ul {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.checkout-plan-summary li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.checkout-plan-summary li svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
  color: #237758;
  stroke-width: 2.5;
}

.demo-payment-fields {
  display: grid;
  gap: 14px;
}

.demo-payment-fields[hidden] {
  display: none;
}

.payment-status {
  min-height: 22px;
  margin: -2px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.payment-status[data-tone="error"] {
  color: #b42318;
}

.payment-status[data-tone="success"] {
  color: #237758;
}

.report-modal {
  width: min(540px, 100%);
}

.report-context {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

.report-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.report-form textarea {
  min-height: 130px;
  resize: vertical;
}

.report-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.report-check input {
  width: 18px;
  height: 18px;
}

.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.payment-confirmation {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #d9eadf;
  border-radius: 8px;
  background: linear-gradient(135deg, #fffaf1, #e9f7ef);
}

.payment-confirmation[hidden] {
  display: none;
}

.payment-confirmation > span,
.payment-confirmation > svg {
  width: 44px;
  height: 44px;
  display: block;
  padding: 10px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: white;
  color: var(--teal);
  stroke-width: 2.35;
}

.payment-confirmation h3,
.payment-confirmation p {
  margin: 0;
}

.payment-confirmation p:not(.eyebrow) {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.payment-receipt {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.payment-receipt[hidden] {
  display: none;
}

.payment-receipt div {
  padding: 9px;
  border-radius: 8px;
  background: #f4faf6;
}

.payment-receipt dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.payment-receipt dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.receipt-page {
  width: min(1070px, calc(100% - 32px));
  margin: 18px auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffaf1, #effaf5);
}

.receipt-page[hidden] {
  display: none;
}

.receipt-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-detail-modal {
  padding: 0;
  width: min(1040px, 100%);
  height: calc(100dvh - 32px);
  max-height: none;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
}

.profile-detail-modal .close {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  z-index: 3;
  background: white;
  box-shadow: 0 10px 28px rgba(48, 28, 35, 0.14);
}

.profile-detail-photo {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  height: 100%;
  background: center/cover;
}

.profile-detail-body {
  grid-column: 2;
  grid-row: 1;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.profile-detail-body h2,
.profile-detail-body p {
  margin: 0;
}

.profile-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-detail-badges .why-match-label {
  flex: 1 0 100%;
  margin-top: 4px;
}

.profile-detail-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: #fff0f1;
  color: var(--plum);
  font-size: 0.82rem;
  font-weight: 900;
}

.profile-detail-badges svg {
  width: 15px;
  height: 15px;
}

.profile-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.profile-detail-stats article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.profile-detail-stats span,
.profile-detail-stats strong {
  display: block;
}

.profile-detail-stats span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-detail-stats strong {
  margin-top: 5px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.profile-detail-section {
  display: grid;
  gap: 8px;
}

.profile-detail-section .eyebrow {
  margin: 0;
}

.wide {
  width: 100%;
}

.liked {
  animation: pulse 420ms ease;
}

@keyframes pulse {
  50% {
    transform: scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1280px) {
  .admin-ops-center,
  .admin-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .member-progress-bar,
  .welcome-dashboard {
    grid-template-columns: 1fr;
  }

  .member-progress-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero {
    min-height: 720px;
    padding: 24px 16px 28px;
    background-position: 58% center, 58% center;
  }

  .landing-content {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .landing-card {
    padding: 24px;
  }

  .landing-disclaimer {
    justify-self: start;
    max-width: 100%;
    text-align: left;
  }

  .landing-trust-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 42px 18px;
  }

  .landing-feature,
  .landing-feature-tools {
    grid-template-columns: 1fr;
    padding: 48px 18px;
  }

  .landing-feature-tools .landing-media-preview {
    order: 2;
  }

  .landing-profile-stack {
    min-height: 330px;
  }

  .landing-profile-card {
    width: min(250px, 48%);
  }

  .about-onboarding-page {
    height: auto;
    min-height: 0;
    padding: 32px 14px;
  }

  .about-app-preview {
    grid-template-rows: 76px 1fr;
  }

  .about-preview-topbar {
    padding: 0 16px;
  }

  .about-preview-topbar nav {
    gap: 14px;
    font-size: 0.78rem;
  }

  .upgrade-pill {
    padding: 12px 16px;
  }

  .about-preview-layout {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .about-preview-left,
  .about-preview-right {
    display: none;
  }

  .about-preview-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-you-panel {
    min-height: 0;
    padding: 30px 18px;
  }

  .about-you-panel h2 {
    margin-bottom: 12px;
  }

  .about-form-row,
  .about-choice-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about-form-row label,
  .about-choice-row > span {
    text-align: left;
    font-size: 1.02rem;
  }

  .about-choice-row {
    align-items: start;
  }

  .about-choice-buttons {
    margin-bottom: 8px;
  }

  .about-you-panel input,
  .about-you-panel select {
    min-height: 52px;
    font-size: 1rem;
  }

  .about-next-button {
    min-height: 58px;
  }

  .about-details-panel {
    gap: 18px;
  }

  .about-basics-panel {
    gap: 18px;
  }

  .about-step-intro {
    margin: 0;
    font-size: 1rem;
    text-align: left;
  }

  .about-basics-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-basics-grid label:last-child {
    grid-column: auto;
  }

  .about-example {
    font-size: 1rem;
  }

  .about-details-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .about-details-tabs button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.84rem;
  }

  .about-details-tab-panel textarea,
  .about-details-tab-panel input,
  .about-details-tab-panel select {
    padding: 18px;
    font-size: 1rem;
  }

  .about-details-tab-panel textarea {
    min-height: 180px;
  }

  .about-navigation-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-link-button:first-child,
  .about-link-button:last-child {
    justify-self: center;
  }

  .hero-grid,
  .content-grid,
  .message-strip,
  .message-toolbar,
  .conversation-shell,
  .filter-band,
  .value-grid,
  .front-page-grid,
  .home-actions,
  .admin-grid,
  .admin-ops-center,
  .admin-grid.three,
  .register-grid {
    grid-template-columns: 1fr;
  }

  .backend-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preference-plan-stack .plans {
    grid-template-columns: 1fr;
  }

  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-digest-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chip-row {
    justify-content: flex-start;
  }

  .match-stage {
    grid-template-rows: minmax(330px, 42vh) auto;
  }

  .match-photo {
    min-height: 330px;
  }

  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-detail-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-backdrop {
    align-items: start;
    overflow-y: auto;
  }

  .checkout {
    margin: 18px 0;
    max-height: calc(100vh - 36px);
    overflow-y: auto;
  }
}

@media (max-width: 620px) {
  .app-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

  body {
    background:
      linear-gradient(135deg, rgba(255, 243, 218, 0.92), transparent 42%),
      linear-gradient(215deg, rgba(220, 65, 97, 0.12), transparent 38%),
      var(--soft);
  }

  main {
    padding: 10px;
  }

  main {
    gap: 10px;
  }

  .app-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    overflow-x: hidden;
    padding: 6px 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  .mini-stats {
    display: none;
  }

  .nav-list {
    justify-self: end;
    width: 100%;
    gap: 6px;
    padding-bottom: 0;
  }

  .brand-mark,
  .brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand span {
    font-size: 0.72rem;
  }

  .nav-item {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .nav-item svg {
    width: 18px;
    height: 18px;
  }

  .topbar {
    align-items: flex-start;
    gap: 12px;
  }

  .topbar h1 {
    font-size: 2.15rem;
    line-height: 1.04;
  }

  .top-actions {
    width: 100%;
  }

  .member-progress-bar {
    gap: 10px;
  }

  .member-progress-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-progress-step {
    min-height: 38px;
    padding: 7px 8px;
    font-size: 0.82rem;
  }

  .welcome-dashboard {
    padding: 12px;
  }

  .welcome-facts {
    grid-template-columns: 1fr 1fr;
  }

  .welcome-next-action {
    align-items: stretch;
    flex-direction: column;
  }

  .welcome-next-action .primary-button {
    width: 100%;
  }

  .top-actions label,
  .top-actions select,
  .top-actions .soft-button,
  .top-actions .icon-button {
    width: 100%;
  }

  .notification-panel {
    position: fixed;
    inset: auto 12px 12px;
    width: auto;
    max-height: min(520px, calc(100vh - 24px));
    overflow: auto;
  }

  .match-stage,
  .quick-panel,
  .onboarding-panel,
  .plans-panel,
  .auth-panel,
  .home-actions,
  .message-strip,
  .inbox-section,
  .admin-section,
  .admin-form,
  .admin-panel,
  .filter-band,
  .date-card,
  .safety-card,
  .register-panel,
  .profile-preview,
  .people-section,
  .media-section {
    padding: 16px;
  }

  .profile-preview {
    position: static;
    min-height: 0;
    transform: none;
  }

  #register .profile-preview {
    grid-template-columns: 1fr;
  }

  .preview-photo {
    height: 260px;
    min-height: 0;
  }

  .preview-body {
    padding: 16px;
  }

  .profile-form,
  .payment-form,
  .register-form {
    gap: 10px;
    margin-top: 14px;
  }

  .profile-details-drawer summary,
  .mobile-detail-section summary {
    min-height: 48px;
    padding: 11px 12px;
  }

  .details-content {
    padding: 12px;
    gap: 10px;
  }

  .verification-choice {
    padding: 5px;
  }

  .verification-method {
    min-height: 44px;
  }

  .match-overlay,
  .section-title,
  .panel-head,
  .payment-row,
  .top-actions,
  .people-tools,
  .plan-usage-panel,
  .membership-manage-panel,
  .admin-login,
  .admin-actions,
  .message-composer,
  .message-toolbar,
  .form-row {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .phone-entry-grid {
    grid-template-columns: 1fr;
  }

  .match-overlay {
    gap: 12px;
  }

  .match-stage {
    grid-template-rows: minmax(300px, 40vh) auto;
  }

  .match-photo {
    min-height: 300px;
  }

  .match-card {
    min-height: 320px;
  }

  .match-insights-panel article {
    grid-template-columns: 1fr;
  }

  .match-insights-panel > article > span[data-lucide] {
    width: 38px;
    height: 38px;
  }

  .match-overlay {
    padding: 16px;
  }

  .compatibility,
  .status-pill {
    width: fit-content;
    max-width: 100%;
  }

  .trait-grid,
  .prompt-list,
  .dual-range,
  .backend-dashboard,
  .journey-steps,
  .home-action-grid,
  .admin-stats,
  .admin-ops-center,
  .admin-health-grid,
  .admin-digest-list,
  .people-grid,
  .media-upload-grid,
  .media-grid,
  .media-card-actions,
  .profile-media-actions,
  .profile-detail-stats,
  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .backend-dashboard article,
  .journey-step,
  .home-action,
  .admin-stats article,
  .admin-ops-card,
  .profile-card,
  .person-card,
  .plan-card,
  .media-card {
    min-width: 0;
  }

  .section-title h2,
  .panel-head h2,
  .plans-panel h2 {
    font-size: 1.55rem;
    line-height: 1.12;
  }

  .people-tools,
  .media-title-tools {
    width: 100%;
  }

  .plan-controls {
    grid-template-columns: 1fr;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .people-tools .search-box,
  .people-tools select,
  .media-title-tools .status-pill {
    width: 100%;
  }

  .media-card-actions {
    gap: 10px;
  }

  .media-card-actions .soft-button,
  .media-card-actions .ghost-button,
  .media-card-actions .media-download {
    min-height: 42px;
  }

  .media-card-body {
    padding: 12px;
  }

  .action-row {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .report-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .admin-ops-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-workspace-bar,
  .admin-digest-item {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-workspace-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-workspace-actions .compact-select,
  .admin-workspace-actions button {
    width: 100%;
  }

  .admin-jump-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-jump-nav .soft-button {
    width: 100%;
    min-height: 42px;
  }

  .admin-panel-tools,
  .admin-bulk-bar,
  .admin-row-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-panel-tools label,
  .admin-panel-tools input,
  .admin-panel-tools select,
  .admin-bulk-bar .compact-select,
  .admin-bulk-bar button,
  .admin-row-actions button {
    width: 100%;
  }

  .admin-list {
    max-height: 420px;
    padding-right: 0;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .admin-permission-chips {
    justify-content: flex-start;
  }

  .primary-button,
  .ghost-button,
  .soft-button,
  .plan-usage-panel .soft-button {
    width: 100%;
    min-height: 44px;
  }

  .conversation-shell {
    gap: 10px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .thread-list {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 82vw);
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px;
    scroll-snap-type: x mandatory;
  }

  .thread-button {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    min-height: 74px;
    scroll-snap-align: start;
  }

  .thread-avatar {
    width: 38px;
    height: 38px;
  }

  .conversation-panel {
    grid-template-rows: auto minmax(260px, 48vh);
  }

  .conversation-head {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .inbox-list {
    max-height: none;
    min-height: 240px;
    align-content: start;
    padding: 10px;
  }

  .inbox-message {
    width: min(96%, 560px);
    padding: 12px;
  }

  .inbox-message footer {
    flex-wrap: wrap;
  }

  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }

  .checkout-backdrop {
    padding: 10px;
  }

  .checkout {
    width: 100%;
    padding: 18px;
    margin: 0;
    max-height: calc(100vh - 20px);
    border-radius: 8px;
  }

  .checkout h2 {
    margin-right: 46px;
    font-size: 1.45rem;
    line-height: 1.15;
  }

  .checkout-plan-summary,
  .payment-receipt {
    grid-template-columns: 1fr;
  }

  .checkout-plan-summary {
    gap: 10px;
    padding: 12px;
  }

  .checkout-plan-summary ul {
    margin-top: 0;
  }

  .plan-card {
    padding: 13px;
  }

  .plan-top {
    gap: 8px;
  }

  .price {
    font-size: 1.38rem;
  }

  .plan-card ul {
    margin: 2px 0 0;
    padding-left: 16px;
    line-height: 1.45;
  }

  .payment-provider-status {
    width: 100%;
  }

  .profile-completion {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 190px;
    overflow: auto;
  }

  .completion-item {
    align-items: start;
    padding: 8px;
  }

  .profile-next-step {
    grid-template-columns: 1fr;
  }

  .profile-detail-modal {
    height: calc(100vh - 20px);
    grid-template-columns: 1fr;
    grid-template-rows: minmax(210px, 30vh) minmax(0, 1fr);
  }

  .profile-detail-photo {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    height: 100%;
  }

  .profile-detail-body {
    grid-column: 1;
    grid-row: 2;
    padding: 18px;
    overflow-y: auto;
  }

  .profile-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .profile-detail-stats {
    grid-template-columns: 1fr 1fr;
  }

  .profile-detail-badges span {
    max-width: 100%;
    justify-content: center;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .landing-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-actions {
    width: 100%;
    justify-content: space-between;
  }

  .landing-login {
    flex: 1;
    justify-content: center;
  }

  .landing-language {
    flex: 1;
    justify-content: center;
  }

  .landing-card {
    padding: 20px;
  }

  .landing-card h1 {
    font-size: 1.8rem;
  }

  .landing-trust-band {
    grid-template-columns: 1fr;
  }

  .landing-profile-stack,
  .landing-media-preview {
    min-height: 300px;
  }

  .landing-profile-card {
    width: 56%;
  }

  .landing-profile-card.card-one {
    left: 0;
  }

  .landing-profile-card.card-two {
    right: 0;
  }

  .about-preview-brand strong {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .about-preview-topbar nav span:not(.upgrade-pill) {
    display: none;
  }

  .about-preview-feed {
    grid-template-columns: 1fr;
  }

  .about-preview-feed article {
    min-height: 220px;
  }

  .about-you-panel {
    width: calc(100vw - 22px);
  }

  .about-you-panel h2 {
    font-size: 2.1rem;
  }

  main,
  .app-header {
    padding-left: 8px;
    padding-right: 8px;
  }

  .app-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .topbar h1 {
    font-size: 1.9rem;
  }

  .section-title h2,
  .panel-head h2,
  .plans-panel h2 {
    font-size: 1.42rem;
  }

  .brand span {
    display: none;
  }

  .brand strong {
    max-width: 108px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-list {
    justify-content: end;
  }

  .nav-item {
    width: 42px;
    min-height: 40px;
    padding: 8px;
  }

  .nav-item > span:not([data-lucide]) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .home-action-grid,
  .backend-dashboard,
  .journey-steps,
  .onboarding-stepper,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .plan-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .liked-me-panel,
  .liked-me-list {
    grid-template-columns: 1fr;
  }

  .person-actions {
    grid-template-columns: 1fr;
  }

  .person-actions .message-person,
  .plan-required-note {
    grid-column: auto;
  }

  .admin-jump-nav {
    grid-template-columns: 1fr;
  }

  .checkout {
    padding: 16px;
  }

  .profile-detail-photo {
    min-height: 0;
  }

  .profile-detail-body {
    padding: 16px;
  }

  .profile-detail-modal {
    height: calc(100vh - 20px);
    grid-template-rows: minmax(170px, 28vh) minmax(0, 1fr);
  }

  .profile-detail-stats {
    grid-template-columns: 1fr;
  }
}
