/* =========================================================
   RISHTA SPOTLIGHT — DESIGN SYSTEM
   Privacy-safe Indian matrimonial platform.
   Palette: warm ivory, deep maroon, soft gold, warm charcoal.
   Type: Fraunces (editorial serif, headings) + Karla (body).
   Motif: the jali (perforated lattice screen) — light and
   pattern standing in for "privacy with warmth" throughout.
   ========================================================= */

:root{
  /* ---- color ---- */
  --ivory:        #FBF6ED;
  --ivory-deep:    #F4ECDD;
  --paper:        #FFFFFF;
  --maroon-900:   #3C0A11;
  --maroon-800:   #4A0E17;
  --maroon-700:   #6E1423;
  --maroon-600:   #832234;
  --maroon-500:   #9B3346;
  --gold-700:     #9C7629;
  --gold-500:     #C0973F;
  --gold-300:     #E4C88A;
  --gold-100:     #F4E6C4;
  --gold-premium: linear-gradient(135deg, #F7D98B 0%, #D9A441 48%, #B87516 100%);
  --charcoal-900: #241F1B;
  --charcoal-700: #423B33;
  --charcoal-600: #5B534A;
  --charcoal-400: #8A8074;
  --line:         #E7DCC8;
  --line-strong:  #D8C9A8;
  --success-bg:   #EAF3EA; --success-fg:#2E5B38; --success-ln:#B9D4BC;
  --warning-bg:   #FBF0DD; --warning-fg:#8A5A11; --warning-ln:#EAD09B;
  --danger-bg:    #F8E7E2; --danger-fg:#8A2E1E; --danger-ln:#E7BBAC;
  --info-bg:      #FBF4E7; --info-fg:#6F531B; --info-ln:#DCC58F;
  --neutral-bg:   #EFEAE0; --neutral-fg:#5B534A; --neutral-ln:#DCD2BD;

  /* ---- type ---- */
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- layout ---- */
  --maxw: 1180px;
  --gutter: 20px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --header-h: 68px;

  /* ---- motion ---- */
  --dur-fast: 140ms;
  --dur-med: 220ms;
  --ease: cubic-bezier(.4,0,.2,1);
}

@media (min-width: 780px){
  :root{ --gutter: 40px; }
}

*,*::before,*::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal-900);
  font-size: 16px;
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: var(--font-head);
  font-weight:600;
  line-height:1.15;
  margin:0 0 .5em;
  color: var(--maroon-800);
  letter-spacing:-0.01em;
}
h1{ font-size: clamp(2rem, 1.6rem + 2vw, 2.9rem); font-weight:600; }
h2{ font-size: clamp(1.5rem, 1.3rem + 1vw, 2.05rem); }
h3{ font-size: 1.3rem; }
h4{ font-size: 1.05rem; }
p{ margin:0 0 1em; max-width:66ch; }
a{ color: var(--maroon-700); text-decoration-color: var(--gold-500); text-underline-offset:3px; }
a:hover{ color: var(--maroon-600); }
small,.text-sm{ font-size:.875rem; }
.text-muted{ color: var(--charcoal-600); }
.text-charcoal{ color: var(--charcoal-900); }
strong{ color: var(--charcoal-900); }

img,svg{ display:block; max-width:100%; }
button{ font-family:inherit; }

:focus-visible{
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 3px;
}

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section{ padding: 56px 0; }
.section-tight{ padding: 32px 0; }
.section-divider{
  display:flex; align-items:center; gap:14px;
  margin: 8px 0 36px;
  color: var(--gold-700);
}
.section-divider::before,.section-divider::after{
  content:""; flex:1; height:1px; background: var(--line-strong);
}
.section-divider .diamond{
  width:7px;height:7px; background:var(--gold-500); transform:rotate(45deg); flex:none;
}
.section-head{ text-align:left; margin-bottom:28px; }
.section-head.center{ text-align:center; }
.section-head p{ margin: 6px auto 0; }
.section-head.center p{ margin-left:auto; margin-right:auto; }
.eyebrow{
  font-family:var(--font-body); font-weight:700; font-size:.78rem;
  color: var(--gold-700); margin:0 0 8px; letter-spacing:.02em;
}

/* ---------------------------------------------------------
   Skip link
--------------------------------------------------------- */
.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--maroon-800); color:#fff; padding:10px 16px;
  border-radius: var(--radius-sm); z-index:200;
}
.skip-link:focus{ left:16px; top:16px; }

/* ---------------------------------------------------------
   Header / Nav
--------------------------------------------------------- */
.nav-actions-wrap{ display:flex; align-items:center; gap:10px; }
.auth-slot{ align-items:center; gap:10px; }

.site-header{
  position: sticky; top:0; z-index:100;
  background: rgba(251,246,237,.92);
  backdrop-filter: blur(6px);
  border-bottom:1px solid var(--line);
  height: var(--header-h);
}
.site-header .container{
  height:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand:hover{ color:inherit; }
.brand-mark{
  width:38px;height:38px; border-radius:50%;
  background: radial-gradient(circle at 32% 28%, var(--maroon-600), var(--maroon-900));
  border:1.5px solid var(--gold-500);
  color: var(--gold-100); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:700; font-size:.95rem; flex:none;
}
.brand-word{ line-height:1.1; }
.brand-word .tag{ margin-top:4px; }
.brand-word .name{ font-family:var(--font-head); font-weight:600; font-size:1.05rem; color:var(--maroon-800); display:block; }
.brand-word .tag{ font-size:.68rem; color:var(--charcoal-600); display:block; letter-spacing:.02em; }

.nav-desktop{ display:none; align-items:center; gap:28px; }
.nav-desktop a{ color:var(--charcoal-700); text-decoration:none; font-weight:600; font-size:.94rem; }
.nav-desktop a:hover{ color:var(--maroon-700); }
.nav-desktop a.active{ color:var(--maroon-800); }
@media (min-width:920px){ .nav-desktop{ display:flex; } }

.nav-actions{ display:flex; align-items:center; gap:10px; }
.icon-btn{
  width:38px;height:38px; border-radius:50%; border:1px solid var(--line-strong);
  background:var(--paper); display:flex; align-items:center; justify-content:center;
  cursor:pointer; color:var(--maroon-800); position:relative; flex:none;
}
.icon-btn:hover{ border-color:var(--gold-500); }
.icon-btn .dot{
  position:absolute; top:6px; right:6px; width:7px; height:7px; border-radius:50%;
  background:var(--gold-500); border:1.5px solid var(--paper);
}
.hamburger{ display:flex; }
@media (min-width:920px){ .hamburger{ display:none; } }

/* Mobile drawer */
.drawer-overlay{
  position:fixed; inset:0; background:rgba(36,31,27,.45);
  opacity:0; pointer-events:none; transition:opacity var(--dur-med) var(--ease); z-index:150;
}
.drawer-overlay.open{ opacity:1; pointer-events:auto; }
.drawer{
  position:fixed; top:0; right:0; height:100%; width:min(320px,84vw);
  background:var(--ivory); border-left:1px solid var(--line);
  transform:translateX(100%); transition:transform var(--dur-med) var(--ease);
  z-index:151; display:flex; flex-direction:column; padding:20px;
}
.drawer.open{ transform:translateX(0); }
.drawer-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.drawer nav{ display:flex; flex-direction:column; gap:4px; }
.drawer nav a{
  padding:12px 8px; text-decoration:none; color:var(--charcoal-800); font-weight:600;
  border-bottom:1px solid var(--line); font-size:1.02rem;
}
.drawer nav a.active{ color:var(--maroon-700); }
.drawer-foot{ margin-top:auto; display:flex; flex-direction:column; gap:10px; }

/* ---------------------------------------------------------
   Back button
--------------------------------------------------------- */
.back-row{ padding:14px 0 0; }
.back-btn{
  display:inline-flex; align-items:center; gap:6px; background:none; border:none;
  color:var(--maroon-700); font-weight:700; font-size:.92rem; cursor:pointer; padding:6px 2px;
  text-decoration:none;
}
.back-btn:hover{ color:var(--maroon-600); text-decoration:underline; }

/* ---------------------------------------------------------
   Buttons
--------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-body); font-weight:700; font-size:.95rem;
  padding:13px 22px; border-radius: var(--radius-sm); border:1.5px solid transparent;
  cursor:pointer; text-decoration:none; transition:background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  line-height:1.1; white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{ background:var(--maroon-700); border-color:var(--maroon-700); color:#fff; }
.btn-primary:hover{ background:var(--maroon-600); border-color:var(--maroon-600); color:#fff; }
.btn-gold{ background:var(--gold-premium); border-color:#C08A22; color:var(--maroon-900); box-shadow:0 6px 18px rgba(192,151,63,.16), inset 0 1px 0 rgba(255,255,255,.42); }
.btn-gold:hover{ filter:saturate(1.05) brightness(1.02); border-color:#B97A17; color:var(--maroon-900); }
.btn-outline{ background:transparent; border-color:var(--maroon-700); color:var(--maroon-700); }
.btn-outline:hover{ background:var(--maroon-700); color:#fff; }
.btn-ghost{ background:transparent; border-color:transparent; color:var(--maroon-700); padding:10px 12px; }
.btn-ghost:hover{ background:var(--ivory-deep); }
.btn-danger{ background:var(--danger-fg); border-color:var(--danger-fg); color:#fff; }
.btn-danger:hover{ opacity:.9; }
.btn-block{ width:100%; }
.btn-sm{ padding:8px 14px; font-size:.85rem; }
.btn[disabled],.btn.is-disabled{ opacity:.5; cursor:not-allowed; }
.btn-group{ display:flex; gap:10px; flex-wrap:wrap; }

/* ---------------------------------------------------------
   Cards / surfaces
--------------------------------------------------------- */
.card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:22px;
}
.card-tight{ padding:16px; }
.card-link{ text-decoration:none; color:inherit; display:block; transition:border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.card-link:hover{ border-color:var(--gold-500); transform:translateY(-2px); }
.panel{
  background:var(--ivory-deep); border:1px solid var(--line); border-radius:var(--radius-md); padding:22px;
}

@keyframes rs-page-in{
  from{ opacity:0; transform:translateY(8px); }
  to{ opacity:1; transform:translateY(0); }
}
main{ animation:rs-page-in .46s var(--ease) both; }
.price-card:hover{ transform:translateY(-5px); box-shadow:0 16px 32px rgba(60,10,17,.10); border-color:rgba(192,151,63,.70); }
.hr{ border:none; border-top:1px solid var(--line); margin:18px 0; }

/* ---------------------------------------------------------
   Badges / status pills
--------------------------------------------------------- */
.badge{
  display:inline-flex; align-items:center; gap:6px; padding:4px 11px; border-radius:999px;
  font-size:.78rem; font-weight:700; border:1px solid transparent; white-space:nowrap;
}
.badge-dot{ width:6px;height:6px;border-radius:50%; background:currentColor; flex:none; }
.badge-success{ background:var(--success-bg); color:var(--success-fg); border-color:var(--success-ln); }
.badge-warning{ background:var(--warning-bg); color:var(--warning-fg); border-color:var(--warning-ln); }
.badge-danger{ background:var(--danger-bg); color:var(--danger-fg); border-color:var(--danger-ln); }
.badge-info{ background:var(--info-bg); color:var(--info-fg); border-color:var(--info-ln); }
.badge-neutral{ background:var(--neutral-bg); color:var(--neutral-fg); border-color:var(--neutral-ln); }
.badge-gold{ background:var(--gold-premium); color:var(--maroon-900); border-color:#C18A25; box-shadow:inset 0 1px 0 rgba(255,255,255,.45); }

/* ---------------------------------------------------------
   Forms
--------------------------------------------------------- */
.field{ margin-bottom:18px; }
.field label,.field legend{
  display:block; font-weight:700; font-size:.86rem; color:var(--charcoal-900); margin-bottom:6px; padding:0;
}
.field .hint{ font-size:.8rem; color:var(--charcoal-600); margin-top:5px; }
.field .error-msg{ font-size:.8rem; color:var(--danger-fg); margin-top:5px; display:none; }
.field.has-error .error-msg{ display:block; }
.field.has-error input,.field.has-error select{ border-color:var(--danger-fg); }
input[type=text],input[type=email],input[type=tel],input[type=password],input[type=number],input[type=date],select,textarea{
  width:100%; padding:12px 14px; border-radius:var(--radius-sm); border:1.5px solid var(--line-strong);
  background:var(--paper); font-family:var(--font-body); font-size:.96rem; color:var(--charcoal-900);
  transition:border-color var(--dur-fast) var(--ease);
}
textarea{ resize:vertical; min-height:100px; }
input:focus,select:focus,textarea:focus{ border-color:var(--maroon-600); outline:none; box-shadow:0 0 0 3px rgba(130,34,52,.12); }
.phone-input{display:flex;align-items:stretch;width:100%;border:1.5px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--paper);overflow:hidden;transition:border-color var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease);}
.phone-input:focus-within{border-color:var(--maroon-600);box-shadow:0 0 0 3px rgba(130,34,52,.12);}
.field.has-error .phone-input{border-color:var(--danger-fg);}
.phone-prefix{display:flex;align-items:center;justify-content:center;min-width:64px;padding:12px 10px;border-right:1px solid var(--line-strong);background:var(--ivory-deep);color:var(--maroon-800);font-weight:700;white-space:nowrap;}
.phone-prefix.is-placeholder{color:var(--charcoal-500);font-weight:600;font-size:.82rem;}
.phone-input input{border:0!important;box-shadow:none!important;border-radius:0!important;min-width:0;flex:1;}
.phone-input input:focus{outline:none;}
input[readonly]{ background:var(--ivory-deep); color:var(--charcoal-600); }
.input-row{ display:grid; gap:14px; grid-template-columns:1fr; }
@media (min-width:640px){ .input-row-2{ grid-template-columns:1fr 1fr; } .input-row-3{ grid-template-columns:1fr 1fr 1fr; } }
.checkbox-row{ display:flex; align-items:flex-start; gap:10px; }
.checkbox-row input{ width:18px;height:18px; margin-top:3px; accent-color:var(--maroon-700); flex:none; }

/* File upload (payment proof, etc.) */
.file-upload{ border:1.5px dashed var(--line-strong); border-radius:var(--radius-md); padding:16px; background:var(--ivory-deep); }
.file-upload-input{ position:absolute; width:1px;height:1px; padding:0;margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; white-space:nowrap; }
.file-upload-empty{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.file-upload-selected{ display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:12px; min-width:0; }
.file-upload-selected .grow{ min-width:0; }
.file-upload-selected .file-upload-name{ min-width:0; }
.file-upload-selected .btn{ flex:none; }
#profilePhotoUpload .btn-outline, #profilePhotoChange{
  background:var(--maroon-700); border-color:var(--maroon-700); color:#fff; box-shadow:var(--shadow-xs);
}
#profilePhotoUpload .btn-outline:hover, #profilePhotoChange:hover{ background:var(--maroon-600); border-color:var(--maroon-600); color:#fff; }
/* Registration photo CTAs: keep label/button text vertically centered across mobile browsers. */
#profilePhotoUpload label.btn, #profilePhotoChange{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; height:44px; padding:0 14px;
  line-height:1 !important; box-sizing:border-box;
  vertical-align:middle;
}
.file-upload-thumb{
  width:44px;height:44px; border-radius:var(--radius-sm); background:var(--paper); border:1px solid var(--line-strong);
  display:flex; align-items:center; justify-content:center; flex:none; overflow:hidden; color:var(--maroon-700);
}
.file-upload-thumb img{ width:100%; height:100%; object-fit:cover; }
.file-upload-name{ font-weight:700; font-size:.88rem; color:var(--charcoal-900); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.file-upload.has-error{ border-color:var(--danger-fg); background:var(--danger-bg); }
.radio-pill-group{ display:flex; gap:10px; flex-wrap:wrap; }
.radio-pill{ position:relative; }
.radio-pill input{ position:absolute; opacity:0; }
.radio-pill span{
  display:inline-flex; padding:10px 18px; border-radius:999px; border:1.5px solid var(--line-strong);
  cursor:pointer; font-weight:600; font-size:.9rem; color:var(--charcoal-700); background:var(--paper);
}
.radio-pill input:checked + span{ border-color:var(--maroon-700); background:var(--maroon-700); color:#fff; }
.radio-pill input:focus-visible + span{ outline:2px solid var(--gold-500); outline-offset:2px; }

/* ---------------------------------------------------------
   Stepper (registration)
--------------------------------------------------------- */
.stepper{ display:flex; align-items:center; gap:6px; margin-bottom:28px; overflow-x:auto; padding-bottom:4px; }
.stepper .step{ display:flex; align-items:center; gap:6px; flex:none; }
.stepper .num{
  width:28px;height:28px;border-radius:50%; border:1.5px solid var(--line-strong); color:var(--charcoal-600);
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:.8rem; background:var(--paper);
}
.stepper .label{ font-size:.8rem; font-weight:700; color:var(--charcoal-600); }
.stepper .connector{ width:22px; height:1px; background:var(--line-strong); }
.stepper .step.done .num{ background:var(--maroon-700); border-color:var(--maroon-700); color:#fff; }
.stepper .step.done .label{ color:var(--maroon-700); }
.stepper .step.current .num{ border-color:var(--maroon-700); color:var(--maroon-700); }
.stepper .step.current .label{ color:var(--charcoal-900); }

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero{ padding: 40px 0 56px; }
.hero-grid{ display:grid; gap:36px; align-items:center; }
@media (min-width:920px){ .hero-grid{ grid-template-columns:1.05fr .95fr; gap:56px; } }
.hero h1{ margin-bottom:.35em; }
.hero .line-2{ color:var(--gold-700); display:block; }
.hero p.lead{ font-size:1.08rem; color:var(--charcoal-700); }
.hero-badges{ display:flex; gap:16px; flex-wrap:wrap; margin-top:18px; color:var(--charcoal-600); font-size:.86rem; }
.hero-badges span{ display:flex; align-items:center; gap:6px; }

.jali-panel{
  aspect-ratio:1/1; border-radius:var(--radius-lg); position:relative; overflow:hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(192,151,63,.35), transparent 55%),
    linear-gradient(160deg, var(--maroon-900), var(--maroon-700) 60%, var(--maroon-600));
  border:1px solid var(--maroon-900);
}
.jali-panel svg{ position:absolute; inset:0; width:100%; height:100%; opacity:.55; }
.jali-caption{
  position:absolute; left:18px; right:18px; bottom:18px; background:rgba(60,10,17,.72);
  border:1px solid rgba(228,200,138,.5); border-radius:var(--radius-md); padding:16px 18px; color:var(--gold-100);
  backdrop-filter:blur(2px);
}
.jali-caption h4{ color:var(--gold-100); margin-bottom:4px; font-size:1rem; }
.jali-caption p{ margin:0; font-size:.86rem; color:var(--gold-100); opacity:.9; }

/* ---------------------------------------------------------
   Trust strip / feature grid
--------------------------------------------------------- */
.feature-grid{ display:grid; gap:16px; grid-template-columns:repeat(2,1fr); }
@media (min-width:700px){ .feature-grid{ grid-template-columns:repeat(5,1fr); } }
.feature-item{ text-align:center; padding:18px 10px; }
.feature-item .ic{
  width:46px;height:46px; border-radius:50%; border:1.5px solid var(--gold-300); color:var(--maroon-700);
  display:flex; align-items:center; justify-content:center; margin:0 auto 10px; background:var(--ivory-deep);
}
.feature-item h4{ font-size:.92rem; margin-bottom:2px; color:var(--charcoal-900); }
.feature-item p{ font-size:.8rem; color:var(--charcoal-600); margin:0; }

/* ---------------------------------------------------------
   Steps / how it works
--------------------------------------------------------- */
.steps-grid{ display:grid; gap:22px; grid-template-columns:1fr; }
@media (min-width:640px){ .steps-grid{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:980px){ .steps-grid{ grid-template-columns:repeat(6,1fr); } }
.step-card{ text-align:center; }
.step-card .num-circle{
  width:52px;height:52px; border-radius:50%; background:var(--maroon-800); color:var(--gold-100);
  display:flex; align-items:center; justify-content:center; margin:0 auto 12px; font-family:var(--font-head); font-weight:600;
}
.step-card h4{ font-size:.95rem; margin-bottom:4px; }
.step-card p{ font-size:.82rem; color:var(--charcoal-600); }

/* ---------------------------------------------------------
   Pricing
--------------------------------------------------------- */
.pricing-grid{ display:grid; gap:22px; grid-template-columns:1fr; }
@media (min-width:760px){ .pricing-grid{ grid-template-columns:1fr 1fr; } }
.price-card{
  border:1.5px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; background:var(--paper); position:relative;
  transition:transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.price-card.featured{ border-color:var(--gold-500); }
.price-flag{
  position:relative; overflow:hidden;
  margin:14px 22px 0; border-radius:12px;
  background:var(--gold-premium); color:var(--maroon-900); font-weight:700; font-size:.74rem;
  min-height:36px; padding:8px 14px; display:flex; align-items:center; justify-content:center;
  text-align:center; letter-spacing:.015em; border:1px solid rgba(173,113,18,.55);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.48), 0 3px 10px rgba(126,82,12,.10);
}
.price-flag::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(115deg, transparent 18%, rgba(255,255,255,.30) 42%, transparent 58%);
  transform:translateX(-120%); transition:transform .65s var(--ease);
}
.price-card:hover .price-flag::after{ transform:translateX(120%); }
.price-head{ margin:10px 22px 0; border-radius:12px; background:var(--maroon-800); color:var(--gold-100); padding:14px 18px; }
.price-head h3{ color:#fff; margin:0; font-size:1.08rem; }
.price-body{ padding:22px; }
.price-amount{ font-family:var(--font-body); font-size:2.45rem; letter-spacing:-.025em; color:var(--maroon-800); font-weight:700; line-height:1.02; }
.price-amount sup{ font-size:.9rem; top:-1em; }
.price-per{ color:var(--charcoal-600); font-size:.86rem; margin-bottom:18px; }
.price-list{ list-style:none; margin:0 0 20px; padding:0; display:flex; flex-direction:column; gap:11px; }
.price-list li{ display:flex; gap:10px; align-items:flex-start; font-size:.9rem; }
.price-list li .ic{ color:var(--maroon-700); flex:none; margin-top:2px; }
.price-list li .sub{ display:block; color:var(--charcoal-600); font-size:.78rem; }
.addon-strip{
  display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between;
  border:1px dashed var(--gold-500); border-radius:var(--radius-md); padding:18px 22px; background:var(--gold-100);
}
.addon-left{ display:flex; gap:14px; align-items:center; }
.addon-badge{
  width:44px;height:44px;border-radius:50%; background:var(--maroon-800); color:var(--gold-100);
  display:flex; align-items:center; justify-content:center; font-weight:700; flex:none;
}
.addon-terms{ list-style:none; margin:8px 0 0; padding:0; font-size:.78rem; color:var(--charcoal-700); display:flex; flex-direction:column; gap:4px; }

/* ---------------------------------------------------------
   Avatar / profile photo placeholder (privacy motif)
--------------------------------------------------------- */
.avatar{
  border-radius:50%; background:linear-gradient(155deg, var(--maroon-600), var(--maroon-900));
  color:var(--gold-100); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-head); font-weight:600; flex:none; position:relative; overflow:hidden;
  border:1.5px solid var(--gold-300);
}
.avatar.size-sm{ width:40px;height:40px; font-size:.9rem; }
.avatar.size-md{ width:64px;height:64px; font-size:1.3rem; }
.avatar.size-lg{ width:104px;height:104px; font-size:2rem; }
.avatar.size-xl{ width:148px;height:148px; font-size:2.6rem; }
.avatar>img{width:100%;height:100%;object-fit:cover;display:block;}
/* Decorative profile-avatar lock/blur overlay removed by RS_PROFILE_AVATAR_BIODATA_FIX_V1. */

/* ---------------------------------------------------------
   Profile cards / results
--------------------------------------------------------- */
.results-toolbar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
.results-grid{ display:grid; gap:18px; grid-template-columns:1fr; }
@media (min-width:640px){ .results-grid{ grid-template-columns:1fr 1fr; } }
@media (min-width:980px){ .results-grid{ grid-template-columns:1fr 1fr 1fr; } }
.profile-card{ display:flex; flex-direction:column; gap:12px; text-align:left; }
.profile-card .pc-top{ display:flex; gap:14px; align-items:center; }
.profile-card .pc-meta{ font-size:.86rem; color:var(--charcoal-600); }
.profile-card .pc-code{ font-family:var(--font-head); font-size:.78rem; color:var(--gold-700); font-weight:600; }
.profile-card .pc-facts{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; font-size:.85rem; color:var(--charcoal-700); }
.profile-card .pc-actions{ display:flex; gap:8px; margin-top:4px; }

.filter-bar{
  display:flex; gap:10px; overflow-x:auto; padding:2px 0 10px;
}
.filter-chip{
  flex:none; padding:9px 16px; border-radius:999px; border:1.5px solid var(--line-strong);
  background:var(--paper); font-size:.85rem; font-weight:600; color:var(--charcoal-700); cursor:pointer;
}
.filter-chip.active{ border-color:var(--maroon-700); background:var(--maroon-700); color:#fff; }

/* Filter drawer (mobile) */
.filter-drawer-overlay{ position:fixed; inset:0; background:rgba(36,31,27,.45); opacity:0; pointer-events:none; transition:opacity var(--dur-med) var(--ease); z-index:150; }
.filter-drawer-overlay.open{ opacity:1; pointer-events:auto; }
.filter-drawer{
  position:fixed; left:0; right:0; bottom:0; max-height:85vh; overflow-y:auto;
  background:var(--ivory); border-top:1px solid var(--line); border-radius:18px 18px 0 0;
  transform:translateY(100%); transition:transform var(--dur-med) var(--ease); z-index:151; padding:20px;
}
.filter-drawer.open{ transform:translateY(0); }
.filter-drawer-handle{ width:40px;height:4px; background:var(--line-strong); border-radius:2px; margin:0 auto 14px; }

/* ---------------------------------------------------------
   Full profile page
--------------------------------------------------------- */
.profile-hero{ display:flex; gap:22px; align-items:flex-start; flex-wrap:wrap; }
.profile-hero-info{ flex:1; min-width:220px; }
.profile-hero .code-line{ color:var(--gold-700); font-weight:700; font-size:.85rem; margin-bottom:4px; }
.detail-grid{ display:grid; gap:14px; grid-template-columns:1fr; margin-top:10px; }
@media (min-width:640px){ .detail-grid{ grid-template-columns:1fr 1fr; } }
.detail-row{ display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); font-size:.9rem; }
.detail-row .k{ color:var(--charcoal-600); }
.detail-row .v{ font-weight:600; color:var(--charcoal-900); text-align:right; }
.privacy-note{
  display:flex; gap:10px; align-items:flex-start; background:var(--info-bg); border:1px solid var(--info-ln);
  color:var(--info-fg); border-radius:var(--radius-md); padding:14px 16px; font-size:.85rem; margin-top:18px;
}

/* ---------------------------------------------------------
   Dashboard stat tiles
--------------------------------------------------------- */
.stat-grid{ display:grid; gap:16px; grid-template-columns:repeat(2,1fr); }
@media (min-width:760px){ .stat-grid{ grid-template-columns:repeat(4,1fr); } }
.stat-tile{ padding:18px; }
.stat-tile .label{ font-size:.78rem; color:var(--charcoal-600); font-weight:700; margin-bottom:8px; }
.stat-tile .value{ font-family:var(--font-head); font-size:1.5rem; color:var(--maroon-800); }
.stat-tile .sub{ font-size:.78rem; color:var(--charcoal-600); margin-top:4px; }

.dash-grid{ display:grid; gap:20px; grid-template-columns:1fr; }
@media (min-width:960px){ .dash-grid{ grid-template-columns:2fr 1fr; } }
.list-row{ display:flex; align-items:center; gap:12px; padding:13px 0; border-bottom:1px solid var(--line); }
.list-row:last-child{ border-bottom:none; }
.list-row .grow{ flex:1; min-width:0; }
.list-row .title{ font-weight:700; font-size:.92rem; color:var(--charcoal-900); }
.list-row .meta{ font-size:.8rem; color:var(--charcoal-600); }

/* ---------------------------------------------------------
   Table (admin)
--------------------------------------------------------- */
.table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--paper); }
table.data-table{ border-collapse:collapse; width:100%; min-width:720px; font-size:.87rem; }
table.data-table th{
  text-align:left; padding:12px 16px; background:var(--ivory-deep); color:var(--charcoal-700);
  font-size:.76rem; text-transform:none; font-weight:700; border-bottom:1px solid var(--line); white-space:nowrap;
}
table.data-table td{ padding:12px 16px; border-bottom:1px solid var(--line); vertical-align:middle; }
table.data-table tr:last-child td{ border-bottom:none; }
table.data-table tr:hover td{ background:var(--ivory); }
.row-link{ color:var(--maroon-700); font-weight:700; text-decoration:none; font-size:.85rem; }

/* ---------------------------------------------------------
   Admin shell
--------------------------------------------------------- */
.admin-shell{ display:flex; min-height:100vh; width:100%; max-width:100%; overflow-x:hidden; }
.admin-sidebar{
  width:236px; background:var(--maroon-900); color:var(--gold-100); flex:none;
  position:fixed; top:0; bottom:0; left:0; padding:20px 14px; display:flex; flex-direction:column; z-index:221;
  transform:translateX(-100%); transition:transform var(--dur-med) var(--ease), width var(--dur-med) var(--ease), padding var(--dur-med) var(--ease);
  overflow:hidden;
  box-sizing:border-box;
}
.admin-sidebar.open{ transform:translateX(0); }
@media (min-width:980px){ .admin-sidebar{ transform:none; position:sticky; } }
.admin-shell.admin-sidebar-collapsed .admin-sidebar{
  width:0; padding-left:0; padding-right:0; transform:translateX(-100%); pointer-events:none;
}
.admin-sidebar .brand{ margin-bottom:20px; padding:0 8px; }
.admin-sidebar .brand .name{ color:#fff; }
.admin-sidebar .brand .tag{ color:var(--gold-300); }
.admin-nav{ display:flex; flex-direction:column; gap:2px; }
.admin-nav a{
  color:var(--gold-100); text-decoration:none; padding:10px 12px; border-radius:var(--radius-sm); font-size:.88rem; font-weight:600;
  display:flex; align-items:center; gap:10px; opacity:.82;
}
.admin-nav a:hover{ background:rgba(228,200,138,.1); opacity:1; }
.admin-nav a.active{ background:rgba(228,200,138,.16); opacity:1; color:#fff; }
.admin-main{ flex:1; min-width:0; width:100%; max-width:100%; overflow-x:hidden; }
.admin-topbar{
  height:64px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between;
  padding:0 22px; position:sticky; top:0; background:rgba(251,246,237,.94); backdrop-filter:blur(6px); z-index:50;
  box-sizing:border-box;
}
.admin-content{ padding:24px 22px 60px; width:100%; max-width:100%; box-sizing:border-box; overflow-x:hidden; }
@media (max-width:979px){
  .admin-topbar{ height:60px; padding:0 14px; }
  .admin-content{ padding:20px 16px 72px; }
}
@media (min-width:980px){ .admin-content{ padding:30px 34px 70px; } }
.admin-sidebar-overlay{ position:fixed; inset:0; background:rgba(36,31,27,.5); opacity:0; pointer-events:none; transition:opacity var(--dur-med) var(--ease); z-index:220; }
.admin-sidebar-overlay.open{ opacity:1; pointer-events:auto; }
@media (min-width:980px){ .admin-sidebar-overlay{ display:none; } }

.admin-stat-grid{ display:grid; gap:14px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:26px; }
.admin-stat-grid > *{ min-width:0; }
@media (min-width:700px){ .admin-stat-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (min-width:1180px){ .admin-stat-grid{ grid-template-columns:repeat(6,1fr); } }

/* Admin dashboard activity + registration detail */
.admin-activity-tile .value{margin-bottom:8px;}
.admin-activity-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 10px;color:var(--charcoal-600);font-size:.72rem;line-height:1.3;}
.admin-activity-item{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.admin-activity-item strong{color:var(--maroon-800);font-weight:700;}
.admin-registration-detail-modal{align-items:flex-start!important;padding:10px!important;}
.admin-registration-detail-modal .modal{
  width:min(760px,100%);max-width:760px;max-height:calc(100dvh - 20px);height:max-content;min-height:0;
  overflow-y:auto;box-sizing:border-box;padding:20px;align-self:flex-start;flex:0 0 auto;
}
.admin-registration-detail-head{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:start;padding-right:38px;}
.admin-registration-photo-frame{width:96px;height:128px;border-radius:14px;overflow:hidden;background:var(--ivory-deep);border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;color:var(--charcoal-600);text-align:center;flex:none;}
.admin-registration-photo-frame img{display:block;width:100%;height:100%;object-fit:cover;}
.admin-registration-photo-frame.is-ready{cursor:zoom-in;}
.admin-registration-detail-identity{min-width:0;}
.admin-registration-detail-identity h3{margin:2px 0 4px;overflow-wrap:anywhere;}
.admin-registration-detail-card{margin-top:12px;padding:14px 16px;}
.admin-registration-detail-card h4{margin:0 0 6px;}
.admin-registration-detail-actions{margin-top:12px;}
@media(max-width:639px){
  .admin-registration-detail-modal{padding:8px!important;}
  .admin-registration-detail-modal .modal{
    max-height:calc(100dvh - 16px);height:max-content;min-height:0;padding:18px 16px 20px;border-radius:18px;
    align-self:flex-start;flex:0 0 auto;
  }
  .admin-registration-detail-head{grid-template-columns:84px minmax(0,1fr);gap:12px;padding-right:34px;}
  .admin-registration-photo-frame{width:84px;height:112px;}
  .admin-registration-detail-card{padding:14px;}
  .admin-registration-detail-actions{padding-bottom:4px;}
}
/* Point #6 (Registration Review only: the one page whose modal sits inside <main>). main's page-in animation (fill-mode:both) keeps a
   containing block for position:fixed, clipping the overlay to main's box. Release it, then bound the overlay between the topbar and the
   fixed bottom nav (67px + safe area), at the same breakpoint where that nav is shown. z-index keeps the sidebar/topbar/nav above it as before. */
@media(max-width:979px){
  .admin-content:has(> .admin-registration-detail-modal){animation-fill-mode:backwards;}
  .has-admin-bottom-nav .admin-content > .modal-overlay.admin-registration-detail-modal{top:60px;bottom:calc(67px + env(safe-area-inset-bottom,0px));z-index:40;}
  .has-admin-bottom-nav .admin-content > .admin-registration-detail-modal .modal{max-height:100%;}
}

/* ---------------------------------------------------------
   Modal
--------------------------------------------------------- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(36,31,27,.5); display:flex; align-items:flex-end; justify-content:center;
  opacity:0; pointer-events:none; transition:opacity var(--dur-med) var(--ease); z-index:200; padding:0;
}
@media (min-width:640px){ .modal-overlay{ align-items:center; padding:20px; } }
.modal-overlay.open{ opacity:1; pointer-events:auto; }
.modal{
  background:var(--ivory); width:100%; max-width:460px; border-radius:18px 18px 0 0; padding:28px 24px;
  transform:translateY(24px); transition:transform var(--dur-med) var(--ease); border:1px solid var(--line);
  max-height:88vh; overflow-y:auto;
}
@media (min-width:640px){ .modal{ border-radius:var(--radius-lg); } }
.modal-overlay.open .modal{ transform:translateY(0); }
.modal-icon{
  width:52px;height:52px;border-radius:50%; background:var(--gold-100); color:var(--maroon-800);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
}
.modal-icon.success{ background:var(--success-bg); color:var(--success-fg); }
.modal-close{ position:absolute; top:16px; right:16px; background:none; border:none; cursor:pointer; color:var(--charcoal-600); }

/* ---------------------------------------------------------
   Toast
--------------------------------------------------------- */
.toast-stack{ position:fixed; top:18px; left:50%; transform:translateX(-50%); z-index:300; display:flex; flex-direction:column; gap:8px; width:min(360px,92vw); }
.toast{
  background:var(--charcoal-900); color:#fff; padding:13px 16px; border-radius:var(--radius-sm); font-size:.87rem;
  display:flex; align-items:center; gap:10px; box-shadow:0 6px 18px rgba(36,31,27,.18);
  opacity:0; transform:translateY(-10px); transition:opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.toast.show{ opacity:1; transform:translateY(0); }
.toast.success{ background:var(--success-fg); }
.toast.error{ background:var(--danger-fg); }

/* ---------------------------------------------------------
   States: empty / loading / skeleton / error
--------------------------------------------------------- */
.state-block{ text-align:center; padding:48px 20px; color:var(--charcoal-600); }
.state-block .ic{ width:52px;height:52px; margin:0 auto 14px; color:var(--gold-500); }
.state-block h3{ color:var(--charcoal-900); }
.skeleton{ background:linear-gradient(90deg, var(--line) 25%, var(--ivory-deep) 37%, var(--line) 63%); background-size:400% 100%; animation:skeleton-sweep 1.4s ease infinite; border-radius:var(--radius-sm); }
@keyframes skeleton-sweep{ 0%{background-position:100% 0;} 100%{background-position:0 0;} }
.skel-line{ height:12px; margin-bottom:8px; }
.skel-card{ height:150px; border-radius:var(--radius-md); }
.spinner{ width:18px;height:18px; border-radius:50%; border:2.5px solid rgba(255,255,255,.4); border-top-color:#fff; animation:spin .7s linear infinite; }
.spinner.dark{ border-color:var(--line-strong); border-top-color:var(--maroon-700); }
@keyframes spin{ to{ transform:rotate(360deg); } }
.is-loading{ pointer-events:none; opacity:.75; }

/* ---------------------------------------------------------
   Banners
--------------------------------------------------------- */
.state-banner{ display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border-radius:var(--radius-md); border:1px solid; font-size:.87rem; margin-bottom:20px; }
.state-banner.success{ background:var(--success-bg); border-color:var(--success-ln); color:var(--success-fg); }
.state-banner.warning{ background:var(--warning-bg); border-color:var(--warning-ln); color:var(--warning-fg); }
.state-banner.danger{ background:var(--danger-bg); border-color:var(--danger-ln); color:var(--danger-fg); }
.state-banner.info{ background:var(--info-bg); border-color:var(--info-ln); color:var(--info-fg); }
.state-banner strong{ color:inherit; }

/* ---------------------------------------------------------
   Chat
--------------------------------------------------------- */
.chat-shell{ display:flex; height:min(72vh, 640px); min-height:420px; border-top:1px solid var(--line); border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; margin:0 var(--gutter) 40px; }
@media (min-width:1220px){ .chat-shell{ margin-left:auto; margin-right:auto; max-width:calc(var(--maxw) - 0px); } }
.chat-list-pane{ width:100%; border-right:1px solid var(--line); overflow-y:auto; }
@media (min-width:820px){ .chat-list-pane{ width:340px; flex:none; } }
.chat-thread-pane{ flex:1; display:none; flex-direction:column; min-width:0; }
@media (min-width:820px){ .chat-thread-pane{ display:flex; } }
.chat-thread-pane.show-mobile{ display:flex; }
@media (max-width:819px){ .chat-shell.thread-active .chat-list-pane{ display:none; } }
.chat-item{ display:flex; gap:12px; padding:14px 16px; border-bottom:1px solid var(--line); cursor:pointer; text-decoration:none; color:inherit; }
.chat-item:hover,.chat-item.active{ background:var(--ivory-deep); }
.chat-item .grow{ min-width:0; flex:1; }
.chat-item .title-row{ display:flex; justify-content:space-between; gap:8px; }
.chat-item .preview{ font-size:.83rem; color:var(--charcoal-600); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chat-head{ display:flex; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); }
.chat-messages{ flex:1; overflow-y:auto; padding:20px; display:flex; flex-direction:column; gap:12px; background:var(--ivory); }
.bubble-row{ display:flex; }
.bubble-row.mine{ justify-content:flex-end; }
.bubble{ max-width:76%; padding:11px 15px; border-radius:16px; font-size:.9rem; position:relative; }
.bubble-row.theirs .bubble{ background:var(--paper); border:1px solid var(--line); border-bottom-left-radius:4px; }
.bubble-row.mine .bubble{ background:var(--maroon-700); color:#fff; border-bottom-right-radius:4px; }
.bubble .time{ display:block; font-size:.68rem; margin-top:5px; opacity:.7; }
.bubble.failed{ background:var(--danger-bg); color:var(--danger-fg); border:1px solid var(--danger-ln); }
.bubble.failed .row-link{ color:var(--danger-fg); text-decoration:underline; font-weight:700; margin-left:4px; }
.chat-composer{ display:flex; gap:10px; padding:14px 16px; border-top:1px solid var(--line); background:var(--paper); }
.chat-composer input{ flex:1; }
.chat-unavailable{ margin:auto; text-align:center; padding:40px; color:var(--charcoal-600); }

/* ---------------------------------------------------------
   FAQ accordion
--------------------------------------------------------- */
.accordion-item{ border-bottom:1px solid var(--line); }
.accordion-trigger{
  width:100%; text-align:left; background:none; border:none; padding:18px 4px; display:flex; justify-content:space-between;
  align-items:center; gap:14px; cursor:pointer; font-family:var(--font-head); font-weight:600; font-size:1.02rem; color:var(--charcoal-900);
}
.accordion-trigger .plus{ flex:none; transition:transform var(--dur-fast) var(--ease); color:var(--maroon-700); }
.accordion-item.open .accordion-trigger .plus{ transform:rotate(45deg); }
.accordion-panel{ max-height:0; overflow:hidden; transition:max-height var(--dur-med) var(--ease); }
.accordion-panel p{ padding:0 4px 18px; color:var(--charcoal-700); }

/* ---------------------------------------------------------
   Tabs (settings etc.)
--------------------------------------------------------- */
.tabs{ display:flex; gap:6px; border-bottom:1px solid var(--line); overflow-x:auto; margin-bottom:22px; }
.tab-btn{ background:none; border:none; padding:12px 16px; font-weight:700; font-size:.88rem; color:var(--charcoal-600); cursor:pointer; border-bottom:2px solid transparent; white-space:nowrap; }
.tab-btn.active{ color:var(--maroon-700); border-bottom-color:var(--maroon-700); }
.tab-panel{ display:none; }
.tab-panel.active{ display:block; }

/* ---------------------------------------------------------
   Auth pages
--------------------------------------------------------- */
.auth-shell{ min-height:calc(100vh - var(--header-h)); display:flex; align-items:center; justify-content:center; padding:40px 0; }
.auth-card{ width:100%; max-width:440px; margin:0 auto; }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.site-footer{ background:var(--maroon-900); color:var(--gold-100); margin-top:60px; }
.footer-grid{ display:grid; gap:28px; grid-template-columns:1fr; padding:48px 0 26px; }
@media (min-width:760px){ .footer-grid{ grid-template-columns:1.4fr 1fr 1fr 1fr; } }
.site-footer h4{ color:#fff; font-size:.85rem; margin-bottom:14px; }
.site-footer p{ color:var(--gold-300); font-size:.86rem; }
.site-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.site-footer a{ color:var(--gold-100); opacity:.86; text-decoration:none; font-size:.87rem; }
.site-footer a:hover{ opacity:1; text-decoration:underline; }
.footer-bottom{
  border-top:1px solid rgba(228,200,138,.2); padding:18px 0; display:flex; flex-wrap:wrap; gap:10px;
  justify-content:space-between; font-size:.78rem; color:var(--gold-300);
}
.footer-cta{
  background:var(--maroon-800); border:1px solid rgba(228,200,138,.3); border-radius:var(--radius-lg);
  padding:26px; display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between; margin-top:10px;
}
.footer-cta h3{ color:#fff; margin-bottom:4px; }
.footer-cta p{ color:var(--gold-300); margin:0; }

/* ---------------------------------------------------------
   Utility
--------------------------------------------------------- */
.flex{ display:flex; }
.flex-wrap{ flex-wrap:wrap; }
.items-center{ align-items:center; }
.justify-between{ justify-content:space-between; }
.gap-8{ gap:8px; } .gap-12{ gap:12px; } .gap-16{ gap:16px; } .gap-20{ gap:20px; }
.mt-0{margin-top:0;} .mt-8{margin-top:8px;} .mt-16{margin-top:16px;} .mt-24{margin-top:24px;} .mt-32{margin-top:32px;}
.mb-0{margin-bottom:0;} .mb-8{margin-bottom:8px;} .mb-16{margin-bottom:16px;}
.hide-mobile{ display:none; } @media (min-width:760px){ .hide-mobile{ display:initial; } }
.show-mobile{ display:initial; } @media (min-width:760px){ .show-mobile{ display:none; } }
.center{ text-align:center; }
.w-full{ width:100%; }
.sr-only{ position:absolute; width:1px;height:1px; padding:0;margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; white-space:nowrap; }


/* ---------------------------------------------------------
   PHASE 0 — Visual refinement layer
   Preserves existing markup/behavior while strengthening
   premium hierarchy, touch feedback and responsive polish.
--------------------------------------------------------- */
:root{
  --shadow-xs: 0 2px 8px rgba(60,10,17,.05);
  --shadow-sm: 0 8px 24px rgba(60,10,17,.07);
  --shadow-md: 0 16px 42px rgba(60,10,17,.10);
  --ring-gold: 0 0 0 3px rgba(192,151,63,.16);
}

body{
  background:
    radial-gradient(circle at 8% -4%, rgba(228,200,138,.16), transparent 30%),
    radial-gradient(circle at 96% 10%, rgba(131,34,52,.045), transparent 28%),
    var(--ivory);
}

.site-header{
  box-shadow: 0 1px 0 rgba(60,10,17,.02), 0 6px 20px rgba(60,10,17,.045);
}
.nav-desktop a{
  position:relative;
  padding:8px 0;
}
.nav-desktop a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:1px;
  height:2px;
  border-radius:999px;
  background:var(--gold-500);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform var(--dur-med) var(--ease);
}
.nav-desktop a:hover::after,.nav-desktop a.active::after{ transform:scaleX(1); }

.icon-btn{
  box-shadow:var(--shadow-xs);
  transition:transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.icon-btn:hover{ transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.icon-btn:active{ transform:translateY(0); }
.icon-btn:focus-visible{ outline:none; box-shadow:var(--ring-gold); }

.drawer{
  box-shadow:-18px 0 40px rgba(36,31,27,.14);
}

.btn{
  min-height:44px;
  box-shadow:var(--shadow-xs);
  transition:background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn:hover{ transform:translateY(-1px); box-shadow:var(--shadow-sm); }
.btn:active{ transform:translateY(0); box-shadow:var(--shadow-xs); }
.btn:focus-visible{ outline:none; box-shadow:var(--ring-gold); }
.btn-ghost{ box-shadow:none; }
.btn-ghost:hover{ box-shadow:none; }
.btn-gold{ box-shadow:0 6px 18px rgba(192,151,63,.16); }

.card,.price-card,.panel{
  box-shadow:var(--shadow-xs);
  transition:border-color var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.card-link:hover{ box-shadow:var(--shadow-sm); }

.feature-item{
  border:1px solid transparent;
  border-radius:var(--radius-md);
  padding:20px 12px;
  transition:background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.feature-item:hover{
  background:rgba(255,255,255,.72);
  border-color:var(--line);
  transform:translateY(-2px);
  box-shadow:var(--shadow-xs);
}
.feature-item .ic{ transition:transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease); box-shadow:inset 0 1px 0 rgba(255,255,255,.35); }
.feature-item:hover .ic{ transform:translateY(-1px) scale(1.04); box-shadow:0 6px 14px rgba(60,10,17,.09), inset 0 1px 0 rgba(255,255,255,.45); }

.steps-grid{ gap:18px; }
.step-card{
  border:1px solid transparent;
  border-radius:var(--radius-md);
  padding:18px 12px 14px;
  transition:border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.step-card:hover{
  background:rgba(255,255,255,.6);
  border-color:var(--line);
  transform:translateY(-2px);
  box-shadow:var(--shadow-xs);
}
.step-card .num-circle{ transition:transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease); }
.step-card:hover .num-circle{ transform:translateY(-2px); box-shadow:0 6px 14px rgba(60,10,17,.12); }

.jali-panel{
  box-shadow:var(--shadow-md);
  isolation:isolate;
}
.jali-panel::before{
  content:"";
  position:absolute;
  inset:-20%;
  background:radial-gradient(circle at 50% 45%, rgba(244,230,196,.16), transparent 42%);
  pointer-events:none;
}
.jali-panel svg{ mix-blend-mode:screen; opacity:.58; }
.jali-caption{ box-shadow:0 10px 26px rgba(36,31,27,.16); }

.price-card.featured{
  box-shadow:0 14px 36px rgba(60,10,17,.11), 0 0 0 1px rgba(192,151,63,.08);
}
.price-card.featured .price-head{ background:linear-gradient(145deg, var(--maroon-900), var(--maroon-700)); }
.price-flag{ letter-spacing:.02em; }

.results-grid{ align-items:stretch; }
.profile-card{ height:100%; }
.profile-card .pc-actions .btn{ flex:1 1 0; }

.stat-tile{ box-shadow:var(--shadow-xs); }
.stat-tile:hover{ border-color:var(--line-strong); box-shadow:var(--shadow-sm); }

.table-wrap{ box-shadow:var(--shadow-xs); }
table.data-table tr:hover td{ background:rgba(251,246,237,.88); }

.modal-overlay{ backdrop-filter:blur(3px); background:rgba(36,31,27,.56); }
.modal{
  box-shadow:0 22px 60px rgba(36,31,27,.22);
}
.modal-close{
  width:38px;height:38px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  transition:background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.modal-close:hover{ background:var(--ivory-deep); color:var(--maroon-800); transform:rotate(4deg); }
.modal-close:focus-visible{ outline:none; box-shadow:var(--ring-gold); }

.toast{ box-shadow:0 12px 28px rgba(36,31,27,.2); }

.state-banner{ box-shadow:var(--shadow-xs); }

.chat-shell{ box-shadow:var(--shadow-sm); }
.chat-item{ transition:background var(--dur-fast) var(--ease); }
.chat-composer{ box-shadow:0 -6px 18px rgba(60,10,17,.035); }

.footer-cta{ box-shadow:var(--shadow-sm); }

@media (max-width:639px){
  .section{ padding:44px 0; }
  .section-tight{ padding:26px 0; }
  .hero{ padding:28px 0 42px; }
  .hero-grid{ gap:28px; }
  .hero p.lead{ font-size:1rem; }
  .hero-badges{ gap:10px 14px; }
  .hero .btn-group{ width:100%; }
  .hero .btn-group .btn{ width:100%; }
  .card,.panel,.price-body{ padding:18px; }
  .price-head{ padding:14px 18px; }
  .profile-card .pc-actions{ flex-direction:column; }
  .profile-card .pc-actions .btn{ width:100%; }
  .modal{ padding:24px 18px 22px; max-height:90vh; }
  .chat-shell{ margin-left:0; margin-right:0; border-radius:0; border-left:none; border-right:none; }
}

@media (min-width:980px){
  .hero{ padding:54px 0 72px; }
  .hero h1{ font-size:clamp(2.6rem, 2.1rem + 2vw, 3.35rem); }
}


/* =========================================================
   LOCKED PHASE 0 UI REVISION 2 — PREMIUM VISUAL LAYER
   ========================================================= */
.brand-logo-wrap{padding:0!important;overflow:hidden;background:#240306!important;border-color:rgba(228,200,138,.65)!important;}
.brand-logo{width:100%;height:100%;display:block;object-fit:cover;border-radius:50%;}
.brand-word .tag{margin-top:5px;display:block;}

.hero-v2{padding-top:46px;padding-bottom:60px;overflow:hidden;}
.hero-copy{position:relative;z-index:2;}
.hero-v2 .eyebrow{margin-bottom:8px;}
.hero-v2 h1{font-size:clamp(2.45rem,2rem + 2.5vw,3.65rem);}
.hero-v2 .lead{max-width:600px;font-size:1.08rem;}
.hero-visual{position:relative;min-height:430px;border-radius:28px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 45% 32%,rgba(244,230,196,.2),transparent 38%),linear-gradient(145deg,#260307 0%,#4a0e17 55%,#701523 100%);border:1px solid rgba(228,200,138,.35);box-shadow:0 30px 70px rgba(60,10,17,.18);isolation:isolate;}
.hero-logo-glow{position:absolute;inset:10%;border-radius:50%;background:radial-gradient(circle,rgba(244,230,196,.16),transparent 60%);filter:blur(2px);}
.hero-logo-card{width:min(58%,300px);aspect-ratio:1;border-radius:50%;position:relative;z-index:1;display:grid;place-items:center;box-shadow:0 16px 42px rgba(0,0,0,.28),0 0 0 1px rgba(244,230,196,.22);overflow:hidden;border:3px solid rgba(228,200,138,.62);}
.hero-logo-card img{width:100%;height:100%;object-fit:cover;}
.hero-private-card{position:absolute;left:22px;right:22px;bottom:22px;z-index:2;display:flex;align-items:center;gap:14px;padding:17px 18px;border-radius:18px;background:linear-gradient(135deg,rgba(60,10,17,.96),rgba(110,20,35,.92));border:1px solid rgba(228,200,138,.45);box-shadow:0 16px 34px rgba(0,0,0,.2);color:var(--gold-100);backdrop-filter:blur(7px);}
.hero-private-card .private-icon{width:48px;height:48px;border-radius:50%;border:1px solid var(--gold-300);display:grid;place-items:center;color:var(--gold-100);flex:none;}
.hero-private-card strong{color:#fff;display:block;font-size:1rem;}
.hero-private-card p{margin:.25rem 0 0;color:var(--gold-100);opacity:.9;font-size:.84rem;}

.ornamental-head h2{position:relative;display:inline-block;}
.ornamental-head h2::before,.ornamental-head h2::after{content:"";display:inline-block;width:46px;height:1px;background:linear-gradient(90deg,transparent,var(--gold-500));vertical-align:middle;margin:0 14px;}
.ornamental-head h2::after{background:linear-gradient(90deg,var(--gold-500),transparent);}
.steps-grid-v2 .step-card{position:relative;}
.steps-grid-v2 .step-icon{width:74px;height:74px;border-radius:50%;border:1px solid var(--line);background:var(--paper);display:grid;place-items:center;color:var(--maroon-700);margin:-2px auto 12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 8px 22px rgba(60,10,17,.05);}
.steps-grid-v2 .step-icon svg{width:34px;height:34px;}
.steps-grid-v2 .step-card:not(:last-child)::after{content:"→";position:absolute;right:-15px;top:57px;color:var(--gold-500);font-size:1.25rem;}
@media(max-width:979px){.steps-grid-v2 .step-card:not(:last-child)::after{display:none;}}

.dedicated-showcase-card{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 24px;border:1px solid rgba(192,151,63,.38);border-radius:18px;background:linear-gradient(130deg,#fffdfa 0%,#f6ead4 100%);box-shadow:0 10px 24px rgba(60,10,17,.055);position:relative;overflow:hidden;}
.dedicated-showcase-card::after{content:"";position:absolute;top:-45%;right:-8%;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(244,230,196,.72),transparent 68%);pointer-events:none;}
.dedicated-showcase-card h3{margin-bottom:5px;}
.dedicated-showcase-card>div,.dedicated-showcase-card>ul,.dedicated-showcase-card>.btn{position:relative;z-index:1;}
.dedicated-showcase-card .btn{white-space:nowrap;}
.dedicated-badge{width:52px;height:52px;border-radius:50%;background:var(--maroon-800);color:var(--gold-100);border:1px solid rgba(228,200,138,.55);display:grid;place-items:center;font-size:1.2rem;flex:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.18);}
.dedicated-copy{min-width:210px;flex:1;}
.dedicated-points{list-style:none;padding:0;margin:0;display:grid;gap:6px;min-width:220px;font-size:.78rem;color:var(--charcoal-700);}
.dedicated-points li{position:relative;padding-left:16px;}
.dedicated-points li::before{content:"✓";position:absolute;left:0;color:var(--gold-700);font-weight:800;}
.mini-check-list{margin:10px 0 0;padding-left:18px;color:var(--charcoal-700);font-size:.85rem;}

.trust-section{background:linear-gradient(180deg,var(--ivory),#f6ede0);}
.trust-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;}
.trust-icon svg{width:23px;height:23px;}
.trust-item{text-align:center;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:.9rem;}
.trust-icon{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--gold-500);color:var(--gold-700);display:grid;place-items:center;font-size:1.35rem;background:rgba(255,255,255,.55);font-family:var(--font-head);font-weight:700;}
.success-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.success-card{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:22px;box-shadow:var(--shadow-xs);transition:transform var(--dur-med) var(--ease),box-shadow var(--dur-med) var(--ease),border-color var(--dur-med) var(--ease);}
.success-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-sm);border-color:var(--line-strong);}
.success-label{display:inline-flex;padding:5px 9px;border-radius:999px;background:var(--gold-100);color:var(--maroon-800);font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;margin-bottom:12px;}
.success-card h3{font-size:1.1rem;margin-bottom:10px;}
.success-card p{font-family:var(--font-head);font-size:1.05rem;color:var(--charcoal-700);}
.success-meta{font-size:.72rem;color:var(--charcoal-400);display:block;margin-top:12px;}

.promotion-dashboard-card{position:relative;overflow:hidden;}
.story-progress{display:flex;justify-content:space-between;gap:16px;align-items:center;padding-top:8px;}
.story-progress>div{display:flex;flex-direction:column;gap:2px;}
.price-chip{display:inline-flex;padding:7px 10px;border-radius:999px;background:var(--gold-premium);color:var(--maroon-900);font-weight:800;font-size:.78rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.5);}
.story-progress-bar{height:7px;background:var(--ivory-deep);border-radius:999px;overflow:hidden;border:1px solid var(--line);}
.story-progress-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--maroon-700),var(--gold-500));border-radius:999px;}
.preference-grid{display:grid;gap:12px;}
.preference-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--ivory);cursor:pointer;}
.preference-row span{display:flex;flex-direction:column;gap:2px;}
.preference-row strong{font-size:.94rem;}
.preference-row small{color:var(--charcoal-600);font-size:.76rem;}
.preference-row select{min-width:180px;border:1px solid var(--line-strong);border-radius:10px;background:var(--paper);padding:9px 12px;font:inherit;color:var(--charcoal-900);}
.dedicated-flow-card{border:1px solid rgba(192,151,63,.38);border-radius:18px;padding:22px;background:linear-gradient(135deg,#fffdfa,#f7ead7);box-shadow:var(--shadow-sm);}
.dedicated-flow-top{display:flex;gap:16px;align-items:flex-start;}
.dedicated-mini-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--maroon-800);color:var(--gold-100);border:1px solid rgba(228,200,138,.55);font-size:1.1rem;flex:none;}

/* Secure chat polish */
.chat-avatar-img{display:block;border-radius:50%;object-fit:cover;border:1.5px solid var(--gold-300);background:var(--gold-100);flex:none;}
.chat-avatar-img.size-sm{width:40px;height:40px;}
.chat-avatar-img.size-md{width:52px;height:52px;}
.chat-avatar-wrap{position:relative;flex:none;}
.presence-dot{position:absolute;right:0;bottom:1px;width:9px;height:9px;border-radius:50%;background:#4f8f5e;border:2px solid var(--paper);}
.unread-count{min-width:22px;height:22px;padding:0 6px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--maroon-700);color:#fff;font-size:.7rem;font-weight:700;}
.chat-head-name{font-weight:700;font-size:1rem;}
.secure-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#5c8b63;vertical-align:middle;margin-right:4px;}
.chat-day-divider{text-align:center;margin:-2px 0 4px;color:var(--charcoal-400);font-size:.72rem;}
.chat-day-divider span{display:inline-flex;padding:4px 9px;border-radius:999px;background:rgba(255,255,255,.82);border:1px solid var(--line);}
.chat-ticks{margin-left:4px;font-weight:700;letter-spacing:-.12em;}
.chat-ticks.is-read{color:var(--gold-700);}
.bubble-text{display:inline;}
.emoji-tray{display:flex;gap:6px;padding:0 16px 8px;background:var(--paper);max-height:0;overflow:hidden;opacity:0;transition:max-height var(--dur-fast) var(--ease),opacity var(--dur-fast) var(--ease),padding var(--dur-fast) var(--ease);}
.emoji-tray.open{max-height:48px;opacity:1;padding-top:8px;}
.emoji-tray button{border:1px solid var(--line);background:var(--ivory);border-radius:10px;padding:6px 8px;cursor:pointer;font-size:1rem;}
.secure-rules-modal{max-width:540px;}
.secure-rules-list{display:grid;gap:10px;}
.secure-rules-list>div{padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:var(--ivory);font-size:.88rem;}

@media(max-width:760px){
  .dedicated-points{width:100%;}
  .hero-v2{padding-top:28px;padding-bottom:42px;}
  .hero-v2 .hero-grid{gap:28px;}
  .hero-visual{min-height:380px;}
  .hero-logo-card{width:min(66%,250px);}
  .hero-private-card{left:14px;right:14px;bottom:14px;padding:14px;}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .success-grid{grid-template-columns:1fr;}
  .dedicated-showcase-card{flex-direction:column;align-items:flex-start;}
  .dedicated-showcase-card .btn{width:100%;}
  .story-progress{flex-direction:column;align-items:flex-start;}
  .preference-row{flex-direction:column;align-items:flex-start;}
  .preference-row select{min-width:0;width:100%;}
}
@media(max-width:520px){
  .trust-grid{grid-template-columns:1fr;}
  .hero-private-card strong{font-size:.92rem;}
  }


/* =========================================================
   FINAL VISUAL REFINEMENT — LOCKED POINTS 1–7
   Asset replacement + premium cream/maroon/gold contrast.
   Motion/transition system intentionally preserved.
========================================================= */
:root{
  --ivory:#FCF8F1;
  --ivory-deep:#F2E8D9;
  --paper:#FFFDF8;
  --maroon-900:#3A0710;
  --maroon-800:#4D0A15;
  --maroon-700:#6F1224;
  --maroon-600:#831B31;
  --gold-700:#A96E12;
  --gold-500:#C58B25;
  --gold-300:#E6C985;
  --gold-100:#F7E8C7;
  --gold-premium:linear-gradient(135deg,#F6D57F 0%,#D9A437 48%,#B97810 100%);
  --line:#E7DCCB;
  --line-strong:#D9C7A3;
}

body{
  background:
    radial-gradient(circle at 8% -6%, rgba(246,213,127,.10), transparent 28%),
    radial-gradient(circle at 95% 12%, rgba(111,18,36,.035), transparent 24%),
    var(--ivory);
}

/* Point 1 — responsive banner using the supplied master image. */
.hero-banner-section{padding:30px 0 28px;}
.hero-banner-shell{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(197,139,37,.38);
  background:var(--paper);
  box-shadow:0 20px 48px rgba(58,7,16,.10);
  isolation:isolate;
}
.hero-banner-shell::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(115deg,rgba(255,255,255,.015),transparent 32%,rgba(255,255,255,.045));
  pointer-events:none;
}
.hero-banner-shell img{width:100%;height:auto;display:block;}
.hero-banner-ctas{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:18px auto 0;}

/* Point 4 — premium feature strip. */
.feature-strip-section{padding-top:8px;padding-bottom:28px;}
.feature-strip-section .container{max-width:1180px;}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  background:var(--paper);
  border:1px solid var(--line-strong);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(58,7,16,.06);
}
.feature-item{
  position:relative;
  min-height:126px;
  padding:20px 14px;
  border:0;
  border-radius:0;
  background:transparent;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.feature-item:not(:last-child)::after{
  content:"";
  position:absolute;
  top:18px;bottom:18px;right:0;width:1px;
  background:var(--line);
}
.feature-item:hover{background:linear-gradient(180deg,#fffefa,#fbf4e8);border-color:transparent;transform:none;box-shadow:none;}
.feature-item .ic{
  width:54px;height:54px;
  background:#FFFAF0;
  color:var(--gold-700);
  border-color:var(--gold-500);
  margin:0 auto 10px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
.feature-item h4{font-size:.9rem;line-height:1.22;margin:0;color:var(--maroon-900);}

/* Point 5 — premium How It Works container + balanced responsive layout. */
.home-how-section{padding-top:28px;}
.how-works-shell{
  background:var(--paper);
  border:1px solid var(--line-strong);
  border-radius:20px;
  padding:28px 22px 26px;
  box-shadow:0 14px 34px rgba(58,7,16,.06);
}
.how-works-shell .section-head{margin-bottom:22px;}
.how-works-shell .steps-grid-v2{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  align-items:stretch;
}
.how-works-shell .step-card{
  position:relative;
  min-width:0;
  padding:4px 8px 8px;
  border:0;
  border-radius:0;
  background:transparent;
}
.how-works-shell .step-card:hover{background:transparent;border-color:transparent;transform:none;box-shadow:none;}
.how-works-shell .step-card .num-circle{
  width:42px;height:42px;
  margin:0 auto 10px;
  background:var(--maroon-800);
  color:#fff9ef;
  box-shadow:0 7px 14px rgba(58,7,16,.12);
}
.how-works-shell .step-card .step-icon{
  width:74px;height:74px;
  margin:0 auto 12px;
  background:#FFFCF7;
  border-color:var(--line);
  color:var(--maroon-700);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 7px 18px rgba(58,7,16,.05);
}
.how-works-shell .step-card h4{font-size:.92rem;color:var(--maroon-900);margin-bottom:5px;}
.how-works-shell .step-card p{font-size:.78rem;color:var(--charcoal-600);margin:0 auto;max-width:170px;}
.how-works-shell .step-card:not(:last-child)::after{
  content:"→";
  position:absolute;
  right:-7px;
  top:86px;
  color:var(--gold-500);
  font-size:1.3rem;
  font-weight:700;
}

/* Point 6 — reference-style membership cards. */
.pricing-section{padding-top:34px;padding-bottom:48px;}
.pricing-shell{
  background:var(--paper);
  border:1px solid var(--line-strong);
  border-radius:22px;
  padding:28px 22px 26px;
  box-shadow:0 16px 40px rgba(58,7,16,.06);
}
.pricing-shell .section-head{margin-bottom:26px;}
.pricing-grid{gap:34px;align-items:stretch;}
.price-card{
  overflow:visible;
  border:1px solid var(--line-strong);
  border-radius:16px;
  background:#FFFEFA;
  padding-top:0;
  box-shadow:0 8px 22px rgba(58,7,16,.055);
}
.price-card.featured{border-color:var(--gold-500);}
.price-flag{
  position:relative;
  width:56%;
  min-height:34px;
  margin:-15px auto 4px;
  padding:7px 12px;
  border-radius:10px 10px 7px 7px;
  background:var(--gold-premium);
  color:var(--maroon-900);
  font-size:.74rem;
  font-weight:800;
  box-shadow:0 5px 14px rgba(126,82,12,.14),inset 0 1px 0 rgba(255,255,255,.5);
  z-index:2;
}
.price-head{margin:0 10px;border-radius:12px;background:linear-gradient(145deg,var(--maroon-900),var(--maroon-700));padding:14px 18px;}
.price-head h3{font-size:1.03rem;color:#fff;margin:0;text-align:center;}
.price-body{padding:20px 22px 20px;}
.price-amount{font-size:2.55rem;color:var(--maroon-800);font-weight:700;line-height:1.02;}
.price-per{color:var(--charcoal-600);font-size:.86rem;margin-bottom:17px;}
.price-list{gap:10px;margin-bottom:20px;}
.price-list li{font-size:.88rem;}
.price-list li .ic{color:var(--maroon-700);}
.price-list li .sub{font-size:.77rem;color:var(--charcoal-600);margin-top:2px;}
.price-card .btn{min-height:46px;border-radius:10px;}

/* Point 2 — simplified Dedicated Profile Reel card. */
.dedicated-showcase-card{
  margin-top:34px !important;
  display:grid;
  grid-template-columns:auto minmax(0,1.25fr) minmax(220px,.9fr) auto;
  gap:20px;
  align-items:center;
  padding:22px 24px;
  border:1px solid var(--gold-300);
  border-radius:18px;
  background:linear-gradient(140deg,#fffefa 0%,#fbf3e5 100%);
  box-shadow:0 10px 28px rgba(58,7,16,.055);
}
.dedicated-showcase-card::after{background:radial-gradient(circle,rgba(247,232,199,.62),transparent 68%);}
.dedicated-showcase-card h3{font-size:1.26rem;margin:0 0 5px;color:var(--maroon-900);}
.dedicated-price-line{display:flex;align-items:baseline;gap:10px;margin:0 0 5px;color:var(--charcoal-700);}
.dedicated-price-line strong{font-size:1.05rem;color:var(--maroon-900);}
.dedicated-price-line span{font-size:.92rem;color:var(--charcoal-600);}
.dedicated-points{min-width:0;gap:7px;font-size:.78rem;}
.dedicated-points li{padding-left:17px;}
.dedicated-showcase-card .btn{min-height:44px;padding:11px 18px;}

/* Point 7A — premium Interest Add-on card. */
.addon-strip{
  margin-top:22px !important;
  display:grid;
  grid-template-columns:minmax(220px,.95fr) minmax(260px,1.2fr) auto;
  gap:24px;
  align-items:center;
  border:1px solid var(--line-strong);
  border-radius:16px;
  padding:20px 24px;
  background:linear-gradient(135deg,#fffefa 0%,#fbf4e7 100%);
  box-shadow:0 8px 22px rgba(58,7,16,.045);
}
.addon-left{display:flex;gap:14px;align-items:center;}
.addon-badge{width:58px;height:58px;border-radius:50%;background:var(--maroon-800);color:var(--gold-100);border:1px solid var(--gold-300);font-size:1.05rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.16);}
.addon-left h4{color:var(--maroon-900);font-size:1.04rem;}
.addon-price{font-family:var(--font-head);font-size:1.75rem;font-weight:700;color:var(--maroon-800);line-height:1.05;margin:3px 0 1px;}
.addon-terms-inline{list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:.78rem;color:var(--charcoal-700);}
.addon-terms-inline li{position:relative;padding-left:18px;}
.addon-terms-inline li::before{content:"✓";position:absolute;left:0;color:var(--gold-700);font-weight:900;}
.addon-strip .btn{white-space:nowrap;min-height:46px;}

/* Point 7B — reference-style Trust section. */
.trust-section{background:var(--ivory);padding-top:26px;}
.trust-shell{
  background:var(--paper);
  border:1px solid var(--line-strong);
  border-radius:20px;
  box-shadow:0 12px 30px rgba(58,7,16,.05);
  padding:22px 18px 18px;
}
.trust-shell .section-head{margin-bottom:10px;}
.trust-shell .section-head h2{font-size:clamp(1.55rem,1.3rem + 1vw,2rem);color:var(--maroon-900);margin:0;}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  border-top:0;
  border-bottom:0;
  padding:14px 0 4px;
}
.trust-item{position:relative;min-height:102px;padding:12px 12px;gap:10px;}
.trust-item:not(:last-child)::after{content:"";position:absolute;top:16px;bottom:16px;right:0;width:1px;background:var(--line);}
.trust-icon{width:46px;height:46px;border-radius:50%;border:1.5px solid var(--gold-500);color:var(--gold-700);background:#FFFBF3;box-shadow:inset 0 1px 0 rgba(255,255,255,.85);}
.trust-item strong{font-size:.9rem;color:var(--maroon-900);line-height:1.25;text-align:center;}

/* Success Stories keep existing motion, but align with premium cream/maroon/gold system. */
.success-stories-section{background:linear-gradient(180deg,var(--ivory),#FBF4E8);}
.success-card{background:var(--paper);border-color:var(--line-strong);}
.success-label{background:var(--gold-100);color:var(--maroon-900);}

@media (max-width: 979px){
  .how-works-shell .steps-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:22px;}
  .how-works-shell .step-card:not(:last-child)::after{display:none;}
  .dedicated-showcase-card{grid-template-columns:auto 1fr;}
  .dedicated-showcase-card .dedicated-points{grid-column:1 / -1;}
  .dedicated-showcase-card .btn{grid-column:1 / -1;justify-self:start;}
  .addon-strip{grid-template-columns:1fr auto;}
  .addon-terms-inline{grid-column:1 / -1;grid-row:2;}
}
@media (max-width: 760px){
  .hero-banner-section{padding:22px 0 20px;}
  .hero-banner-shell{border-radius:18px;}
  .hero-banner-ctas{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px;}
  .hero-banner-ctas .btn{width:100%;}
  .feature-strip-section{padding-top:6px;padding-bottom:24px;}
  .feature-grid{grid-template-columns:repeat(2,1fr);border-radius:16px;}
  .feature-item{min-height:116px;padding:16px 10px;}
  .feature-item:nth-child(2n)::after{display:none;}
  .feature-item:nth-child(5){grid-column:1/-1;border-top:1px solid var(--line);}
  .feature-item:nth-child(5)::after{display:none;}
  .how-works-shell{padding:22px 12px 20px;border-radius:18px;}
  .how-works-shell .steps-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 8px;}
  .how-works-shell .step-card{padding:4px 4px 8px;}
  .how-works-shell .step-card .step-icon{width:66px;height:66px;}
  .how-works-shell .step-card .step-icon svg{width:30px;height:30px;}
  .pricing-shell{padding:24px 12px 18px;border-radius:18px;}
  .pricing-grid{gap:30px;}
  .price-card{border-radius:15px;}
  .price-flag{width:62%;}
  .price-head{margin:0 8px;border-radius:11px;}
  .price-body{padding:20px 18px 18px;}
  .dedicated-showcase-card{grid-template-columns:auto 1fr;gap:14px;padding:20px 18px;border-radius:16px;}
  .dedicated-showcase-card .dedicated-copy{grid-column:2;}
  .dedicated-showcase-card .dedicated-points{grid-column:1/-1;}
  .dedicated-showcase-card .btn{grid-column:1/-1;width:100%;}
  .addon-strip{grid-template-columns:1fr;gap:16px;padding:18px;border-radius:15px;}
  .addon-terms-inline{grid-column:auto;}
  .addon-strip .btn{width:100%;}
  .trust-shell{padding:20px 10px 14px;border-radius:18px;}
  .trust-grid{grid-template-columns:repeat(2,1fr);padding-top:8px;}
  .trust-item{min-height:98px;}
  .trust-item:nth-child(2n)::after{display:none;}
  .trust-item:nth-child(5){grid-column:1/-1;border-top:1px solid var(--line);}
  .trust-item:nth-child(5)::after{display:none;}
}
@media (max-width:520px){
  .feature-item .ic{width:50px;height:50px;}
  .feature-item h4{font-size:.86rem;}
  .how-works-shell .section-head h2{font-size:1.55rem;}
  .price-flag{width:64%;font-size:.72rem;}
  .price-amount{font-size:2.35rem;}
  .trust-shell .section-head h2{font-size:1.55rem;}
}


/* =========================================================
   FINAL UI POLISH — POINTS 8–15
   Visual-only refinements. Motion/transition foundation preserved.
========================================================= */
.brand-logo{object-fit:cover;object-position:center;}
.icon-btn{padding:0;line-height:0;}
.icon-btn > svg{display:block;flex:none;}
.section-head.center h1,.section-head.center h2,.section-head.center h3,.section-head.center p{margin-left:auto;margin-right:auto;text-align:center;}
.ornamental-head h1,.ornamental-head h2,.ornamental-head h3{text-wrap:balance;}
main > section + section{margin-top:20px;}
.site-footer{margin-top:30px;}
.find-match-section{padding-top:28px;padding-bottom:28px;}
.find-match-shell{background:var(--paper);border:1px solid var(--line-strong);border-radius:22px;box-shadow:0 14px 34px rgba(58,7,16,.055);padding:34px 38px;}
.find-match-copy{max-width:820px;margin:0 auto;text-align:center;}
.find-match-copy h1{font-size:clamp(2.2rem,1.75rem + 2.4vw,3.3rem);margin-bottom:.34em;}
.find-match-copy .lead{max-width:700px;margin:0 auto;color:var(--charcoal-700);font-size:1.04rem;}
.find-match-actions{justify-content:center;margin-top:20px;}
.find-match-copy .hero-badges{justify-content:center;margin-top:16px;}
.dashboard-dedicated-card{margin-top:20px;}
.dashboard-quick-actions{margin-top:20px;}
.dashboard-addon-label{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:8px;}
.dashboard-addon-badge{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 14px;border-radius:999px;background:var(--gold-premium);border:1px solid #C08A22;color:var(--maroon-900);font-weight:800;font-size:.78rem;line-height:1.15;text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 5px 14px rgba(126,82,12,.10);}
.dashboard-dedicated-card h3{margin-bottom:6px;}
.dashboard-dedicated-card .text-muted{max-width:58ch;}
.dashboard-addon-points{list-style:none;margin:12px 0 16px;padding:0;display:grid;gap:7px;color:var(--charcoal-700);font-size:.83rem;}
.dashboard-addon-points li{position:relative;padding-left:17px;}
.dashboard-addon-points li::before{content:"✓";position:absolute;left:0;color:var(--gold-700);font-weight:900;}
.site-header a.icon-btn[aria-label="Notifications"]{display:flex;align-items:center;justify-content:center;}
.site-header a.icon-btn[aria-label="Notifications"] svg{width:18px;height:18px;transform:translateY(0);}
@media (max-width:760px){
 .section-head.center,.find-match-copy,.how-works-shell .section-head,.pricing-shell .section-head,.trust-shell .section-head,.success-stories-section .section-head{text-align:center;}
 .find-match-shell{padding:26px 18px;}
 .find-match-copy h1{font-size:clamp(2rem,8vw,2.65rem);}
 .find-match-actions{display:grid;grid-template-columns:1fr;}
 .find-match-actions .btn{width:100%;}
 .find-match-copy .hero-badges{justify-content:center;}
 .dashboard-addon-label{align-items:flex-start;}
 .dashboard-addon-badge{max-width:118px;}
}
@media (max-width:520px){main > section + section{margin-top:16px;}.find-match-shell{border-radius:18px;}.find-match-copy .hero-badges{gap:10px 14px;}}


/* =========================================================
   FINAL POLISH — POINTS 16–20
   Responsive centering, consistent card spacing, global logo
   consistency, premium alerts, footer breathing room and
   professional chat icon treatment. Motion preserved.
========================================================= */

/* Point 19 — shared surface spacing */
main .card + .card:not([class*=" mt-"]){ margin-top:22px; }
main .panel + .panel:not([class*=" mt-"]){ margin-top:22px; }
main > section + section{ margin-top:30px; }
@media (max-width:760px){
  main > section + section{ margin-top:24px; }
  main .card + .card:not([class*=" mt-"]){ margin-top:18px; }
  main .panel + .panel:not([class*=" mt-"]){ margin-top:18px; }
}

/* Point 16 — centered headings and copy should remain visually centered */
.section-head.center,
.section-head.center h1,
.section-head.center h2,
.section-head.center h3,
.section-head.center p,
.success-stories-section .section-head,
.success-stories-section .section-head h2,
.success-stories-section .section-head p{
  text-align:center;
}
.section-head.center h1,
.section-head.center h2,
.section-head.center h3{
  width:100%;
  margin-left:auto;
  margin-right:auto;
  text-wrap:balance;
}
.section-head.center p{
  margin-left:auto;
  margin-right:auto;
  text-wrap:balance;
}
.ornamental-head h2{
  position:relative;
  display:block;
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
  padding:0 68px;
  text-wrap:balance;
}
.ornamental-head h2::before,
.ornamental-head h2::after{
  position:absolute;
  top:.72em;
  width:48px;
  height:1px;
  margin:0;
}
.ornamental-head h2::before{ left:0; }
.ornamental-head h2::after{ right:0; }
@media (max-width:640px){
  .ornamental-head h2{ padding:0 52px; }
  .ornamental-head h2::before,.ornamental-head h2::after{ width:34px; }
}

/* Point 10/16 — clean, symmetrical Secure Chat icon */
.rs-chat-icon path.rs-chat-box{ fill:none; }
.rs-chat-icon circle{ fill:currentColor; stroke:none; }

/* Point 15 — optical centering for notification bell */
.site-header a.icon-btn[aria-label="Notifications"] svg{
  width:18px;
  height:18px;
  display:block;
  margin:auto;
  transform:translateY(1px);
}

/* Point 20 — warm, on-brand information states; no cool blue boxes */
:root{
  --info-bg:#FBF4E7;
  --info-fg:#6F531B;
  --info-ln:#DCC58F;
}
.state-banner.info{
  background:linear-gradient(135deg,#FFF9EF 0%,#FBF1DE 100%);
  border-color:var(--info-ln);
  color:var(--info-fg);
  box-shadow:0 8px 20px rgba(156,118,41,.08), inset 0 1px 0 rgba(255,255,255,.8);
}
.badge-info{
  background:#FBF4E7;
  color:#6F531B;
  border-color:#DCC58F;
}
.privacy-note{
  background:linear-gradient(135deg,#FFF9EF 0%,#FBF1DE 100%);
  border-color:var(--info-ln);
  color:var(--info-fg);
  box-shadow:0 8px 20px rgba(156,118,41,.07);
}

/* Point 11/17/19 — premium breathing room around major footer CTA */
.site-footer{ margin-top:56px; }
.footer-cta{ margin-top:0; }

/* Point 14/19 — dashboard cards use one consistent stack rhythm */
.dashboard-dedicated-card{ margin-top:20px !important; }
.dashboard-quick-actions{ margin-top:20px !important; }
.dash-grid > div{ display:flex; flex-direction:column; gap:20px; }
.dash-grid > div .card{ margin-top:0 !important; }
.dash-grid > div .card.mb-20{ margin-bottom:0 !important; }

/* Point 13 — dashboard Dedicated Profile Reel card */
.dashboard-addon-label{
  display:block;
  margin-bottom:8px;
}
.dashboard-addon-badge{
  display:inline-flex;
  min-height:0;
  margin-top:8px;
  padding:6px 12px;
  border-radius:999px;
  background:var(--gold-premium);
  border:1px solid #C08A22;
  color:var(--maroon-900);
  font-weight:800;
  font-size:.78rem;
  line-height:1.15;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 4px 12px rgba(126,82,12,.08);
}
.dashboard-dedicated-card h3{ margin-bottom:7px; }

/* Point 10 — refined Step 6 visual balance */
.how-works-shell .step-icon svg.rs-chat-icon{ width:34px; height:34px; }
@media (max-width:760px){
  .how-works-shell .step-icon svg.rs-chat-icon{ width:30px; height:30px; }
}

/* Point 18 — guest sidebar gets two clear actions */
.drawer-foot .guest-actions{ display:flex; flex-direction:column; gap:10px; }
.drawer-foot .guest-actions .btn{ width:100%; }

.auth-logo-mark{ width:48px!important;height:48px!important; }


/* =========================================================
   FINAL POLISH — POINTS 21–23
   Login card cleanup, stronger dashboard card rhythm and
   theme-aligned high-visibility information notices.
========================================================= */

/* Point 21 — login card: brand logo belongs to the global header,
   not inside the authentication form card. */
.auth-card > .center.mb-16 .auth-logo-mark{ display:none; }

/* Point 22 — dashboard card rhythm: make stacked dashboard modules
   visibly separated and give the Received Interests module its own
   breathable internal rhythm. */
#dashboardRoot{ margin-bottom:28px !important; }
.dash-grid{ gap:26px; }
.dash-grid > div{ gap:26px; }
.received-interests-card{ padding:24px; }
.received-interests-card .list-row{ padding:15px 0; }
@media (max-width:760px){
  #dashboardRoot{ margin-bottom:24px !important; }
  .dash-grid{ gap:22px; }
  .dash-grid > div{ gap:22px; }
  .received-interests-card{ padding:22px; }
  .received-interests-card .list-row{ padding:14px 0; }
}

/* Point 23 — informational notices: clearly identifiable without
   breaking the warm cream / deep maroon / premium-gold system. */
.state-banner.info{
  position:relative;
  background:linear-gradient(135deg,#FFF8E9 0%,#F9E9C9 100%);
  border:1px solid #C59A45;
  border-left:4px solid var(--maroon-800);
  color:#5D1A22;
  box-shadow:0 10px 24px rgba(78,24,31,.08), inset 0 1px 0 rgba(255,255,255,.9);
}
.state-banner.info svg{
  flex:none;
  width:30px !important;
  height:30px !important;
  padding:6px;
  border-radius:50%;
  color:var(--maroon-800);
  background:rgba(255,255,255,.72);
  border:1px solid rgba(197,154,69,.55);
  box-sizing:border-box;
  margin-top:1px;
}
.state-banner.info span{ font-weight:600; color:#5D1A22; }



/* =========================================================
   ADMIN RESPONSIVE + SIDEBAR FIX — POINT 27
   Mobile viewport fit, functional drawer on mobile, and
   collapsible sidebar on desktop.
========================================================= */
.admin-shell .card,
.admin-shell .panel,
.admin-shell .admin-stat-grid > *{ min-width:0; }
.admin-shell .dash-grid{ width:100%; min-width:0; }
@media (max-width:979px){
  .admin-shell .admin-sidebar{
    width:min(286px, 84vw);
    max-width:84vw;
    box-shadow:10px 0 30px rgba(36,31,27,.16);
  }
  .admin-shell .admin-sidebar.open{ transform:translateX(0); }
  .admin-sidebar .brand{ flex:none; }
  .admin-nav{ min-width:0; overflow:auto; }
  .admin-nav a{ min-height:44px; }
  .admin-shell .dash-grid{ grid-template-columns:1fr; }
}
@media (min-width:980px){
  .admin-shell.admin-sidebar-collapsed .admin-main{ width:100%; }
  .admin-shell.admin-sidebar-collapsed .admin-sidebar{
    border-right:0;
  }
}
@media (max-width:420px){
  .admin-content{ padding-left:14px; padding-right:14px; }
  .admin-stat-grid{ gap:12px; }
}


/* =========================================================
   FINAL RESPONSIVE NAV + PAGE ALIGNMENT — POINTS 25–26
========================================================= */
.chat-page .back-row,
.chat-page > .container.section-tight{
  width:100%;
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  padding-left:clamp(18px,var(--gutter),40px);
  padding-right:clamp(18px,var(--gutter),40px);
}
.chat-page .chat-shell{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  width:calc(100% - 36px);
}
@media (min-width:780px){
  .chat-page .chat-shell{ width:calc(100% - 80px); }
}
@media (max-width:760px){
  .chat-page .back-row{ padding-top:14px; }
  .chat-page .section-head{ padding-top:2px; }
  .chat-page .state-banner.info{ margin-top:6px; }
}

/* =========================================================
   SECURE CHAT — FIXED APP LAYOUT / SCROLL-ONLY MESSAGES
   POINT 38
   On mobile, the outer chat page stays fixed while only the
   conversation viewport scrolls. The composer remains anchored
   above the global user bottom navigation.
========================================================= */
@media (max-width:819px){
  .chat-page{
    display:flex;
    flex-direction:column;
    min-height:0;
    height:calc(100dvh - var(--header-h) - 84px);
    max-height:calc(100dvh - var(--header-h) - 84px);
    overflow:hidden;
    padding-bottom:0 !important;
  }
  .chat-page .back-row,
  .chat-page > .container.section-tight{
    flex:none;
  }
  .chat-page .chat-shell{
    flex:1 1 auto;
    min-height:0;
    height:auto;
    max-height:none;
    margin-bottom:0;
    overflow:hidden;
    display:flex;
  }
  .chat-page .chat-list-pane,
  .chat-page .chat-thread-pane{
    min-height:0;
  }
  .chat-page .chat-thread-pane{
    height:100%;
    overflow:hidden;
  }
  .chat-page .chat-head,
  .chat-page .chat-composer{
    flex:none;
  }
  .chat-page .chat-messages{
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .chat-page .chat-composer{
    position:relative;
    z-index:3;
  }
}

.user-bottom-nav,
.admin-bottom-nav{
  position:fixed;
  left:0; right:0; bottom:0;
  z-index:180;
  display:none;
  background:rgba(255,252,246,.96);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--line-strong);
  box-shadow:0 -8px 26px rgba(58,7,16,.08);
  padding:6px max(8px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
}
.user-bottom-nav{ grid-template-columns:repeat(6,minmax(0,1fr)); }
.admin-bottom-nav{ grid-template-columns:repeat(5,minmax(0,1fr)); }
.user-bottom-nav a,
.admin-bottom-nav a,
.admin-bottom-nav button{
  min-width:0;
  min-height:52px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  position:relative;
  border:0;
  background:none;
  text-decoration:none;
  color:var(--charcoal-600);
  font:600 .64rem/1.1 var(--font-body);
  cursor:pointer;
  padding:4px 2px;
}
.user-bottom-nav svg,
.admin-bottom-nav svg{ width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.user-bottom-nav a.active,
.admin-bottom-nav a.active,
.admin-bottom-nav button.active{ color:var(--maroon-700); }
.user-bottom-nav a:active,
.admin-bottom-nav a:active,
.admin-bottom-nav button:active{ transform:translateY(1px); }
.bottom-nav-badge{
  position:absolute;
  top:2px;
  right:18%;
  min-width:16px;height:16px;padding:0 4px;
  display:flex;align-items:center;justify-content:center;
  border-radius:999px;
  background:var(--maroon-700);
  color:#fff;
  border:2px solid var(--paper);
  font:700 .58rem/1 var(--font-body);
}
.has-user-bottom-nav main{ padding-bottom:78px; }
.has-user-bottom-nav .site-footer{ padding-bottom:78px; }
.has-admin-bottom-nav .admin-content{ padding-bottom:102px; }
@media (max-width:979px){
  .has-user-bottom-nav .user-bottom-nav{ display:grid; }
  .has-admin-bottom-nav .admin-bottom-nav{ display:grid; }
}
@media (min-width:980px){
  .user-bottom-nav,.admin-bottom-nav{ display:none !important; }
}


/* =========================================================
   FINAL APP NAVIGATION + MOBILE FIT — POINTS 28–32
========================================================= */
html, body{ max-width:100%; overflow-x:hidden; }
img, video, canvas{ max-width:100%; }

.auth-app-page .site-footer{ display:none; }
.auth-app-page main{ padding-bottom:82px; }
.auth-app-page .site-footer{ padding-bottom:0; }

.footer-text-button{
  border:0;
  background:none;
  color:inherit;
  font:inherit;
  font-size:.87rem;
  padding:0;
  cursor:pointer;
  text-align:left;
  opacity:.86;
}
.footer-text-button:hover{ opacity:1; text-decoration:underline; }

.user-bottom-nav,
.admin-bottom-nav{ box-sizing:border-box; width:100%; max-width:100vw; }
.user-bottom-nav a,
.admin-bottom-nav a,
.admin-bottom-nav button{ box-sizing:border-box; }

/* Keep authenticated content safely above the fixed bars on every app page. */
.has-user-bottom-nav main{ padding-bottom:84px !important; }
.has-admin-bottom-nav .admin-content{ padding-bottom:108px !important; }

@media (max-width:979px){
  .user-bottom-nav,
  .admin-bottom-nav{ min-height:64px; }
  .user-bottom-nav a,
  .admin-bottom-nav a,
  .admin-bottom-nav button{ min-height:54px; }
  .user-bottom-nav svg,
  .admin-bottom-nav svg{ width:18px; height:18px; }
}

@media (max-width:420px){
  .user-bottom-nav,
  .admin-bottom-nav{
    padding-left:max(6px, env(safe-area-inset-left));
    padding-right:max(6px, env(safe-area-inset-right));
  }
  .user-bottom-nav a,
  .admin-bottom-nav a,
  .admin-bottom-nav button{ font-size:.62rem; padding-left:1px; padding-right:1px; }
  .user-bottom-nav .bottom-nav-badge{ right:14%; }
}

/* Preserve a little more breathing room on small screens without creating overflow. */
@media (max-width:760px){
  .container{ width:100%; box-sizing:border-box; }
  .auth-app-page .container{ max-width:100%; }
  .auth-app-page .card,
  .auth-app-page .panel,
  .auth-app-page .section-tight > .container > .card{ max-width:100%; box-sizing:border-box; }
  .chat-page .chat-shell{ width:calc(100% - 32px); max-width:1180px; box-sizing:border-box; }
}


/* POINT 39 — persistent drawer logout */
.drawer nav{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
.drawer-foot{flex:0 0 auto;margin-top:16px;position:sticky;bottom:0;background:var(--ivory);padding-top:12px;padding-bottom:max(2px,env(safe-area-inset-bottom));z-index:2;}
/* POINT 40 — redundant homepage trust grid removed */
.home-page .feature-strip-section{display:none !important;}
/* POINTS 41–43 legacy block removed; final chat behavior is defined below. */

/* POINT 48 — compact homepage section rhythm; internal card padding/typography unchanged */
.home-page main > section + section{ margin-top:18px !important; }
@media (max-width:760px){.home-page main > section + section{ margin-top:14px !important; }}

/* POINTS 44–47 — Secure Chat full-page app viewport + keyboard-safe composer */
.chat-entry-notice{position:fixed;top:calc(var(--header-h) + 10px);left:50%;transform:translate(-50%,-12px);z-index:260;max-width:min(92vw,520px);padding:11px 16px;border:1px solid var(--gold-300);border-left:3px solid var(--maroon-700);border-radius:14px;background:rgba(255,248,232,.97);box-shadow:0 10px 30px rgba(58,7,16,.16);color:var(--maroon-900);font:600 .82rem/1.45 var(--font-body);opacity:0;visibility:hidden;transition:opacity .22s ease,transform .22s ease;backdrop-filter:blur(10px);}
.chat-entry-notice.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0);}

@media (max-width:819px){
  html.chat-lock,html.chat-lock body{overflow:hidden!important;height:100dvh!important;}
  body.chat-thread-active-page{overflow:hidden!important;height:100dvh!important;min-height:100dvh!important;overscroll-behavior:none;}

  /* Fixed app viewport: header remains outside; this shell owns the visible chat space. */
  .chat-thread-active-page .chat-page{
    position:fixed!important;left:0!important;right:0!important;top:var(--header-h)!important;bottom:0!important;
    height:auto!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;
    overflow:hidden!important;z-index:20;display:flex!important;flex-direction:column!important;
  }
  .chat-thread-active-page .chat-page .back-row{
    flex:0 0 44px;padding:10px 16px!important;height:44px;box-sizing:border-box;
  }
  .chat-thread-active-page .chat-page .chat-shell{
    flex:1 1 auto!important;height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;
    margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;
  }
  .chat-thread-active-page .chat-page .chat-thread-pane{
    display:flex!important;position:relative!important;flex:1 1 auto!important;height:100%!important;min-height:0!important;overflow:hidden!important;
  }
  .chat-thread-active-page .chat-list-pane{display:none!important;}
  .chat-thread-active-page .chat-head{flex:0 0 auto!important;padding:12px 16px!important;min-height:84px;}
  .chat-thread-active-page .chat-messages{
    flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;padding:18px 16px 92px!important;scrollbar-gutter:stable;
  }
  .chat-thread-active-page .chat-composer{
    position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:30!important;flex:none!important;
    margin:0!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom))!important;
    background:rgba(255,252,246,.99)!important;border-top:1px solid var(--line-strong)!important;
    box-shadow:0 -8px 26px rgba(58,7,16,.08)!important;
  }
  .chat-thread-active-page .chat-composer input{min-width:0;}

  /* Keyboard open: browser dynamic viewport becomes the chat viewport; bottom nav is temporarily hidden. */
  .chat-keyboard-open .user-bottom-nav{
    opacity:0!important;pointer-events:none!important;transform:translateY(110%)!important;
    transition:opacity var(--dur-fast) var(--ease),transform var(--dur-med) var(--ease);
  }
  .chat-keyboard-open .chat-page{bottom:0!important;height:auto!important;}
  .chat-keyboard-open .chat-messages{padding-bottom:92px!important;}
}

@media (min-width:820px){
  .chat-thread-active-page .chat-page .chat-shell{width:100%;max-width:none;margin:0;border-left:0;border-right:0;border-radius:0;}
}

/* Functional profile-photo viewer; preserves the frozen visual language. */
.photo-view-trigger{padding:0;cursor:pointer;appearance:none;-webkit-appearance:none;background:transparent;}
.photo-view-trigger:focus-visible{outline:none;box-shadow:var(--ring-gold);}
.photo-viewer-shell{position:relative;width:min(92vw,900px);height:min(88vh,900px);display:flex;align-items:center;justify-content:center;padding:28px;background:rgba(20,12,10,.92);border:1px solid rgba(228,200,138,.45);border-radius:18px;box-shadow:0 22px 60px rgba(0,0,0,.35);}
.photo-viewer-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:12px;display:block;}
.photo-viewer-close{color:#fff;background:rgba(0,0,0,.28);z-index:2;}
.photo-viewer-close:hover{background:rgba(255,255,255,.14);color:#fff;}
@media(max-width:639px){.photo-viewer-shell{width:100vw;height:100vh;border:none;border-radius:0;padding:22px 14px;background:rgba(20,12,10,.96);}.photo-viewer-image{max-height:90vh;}}


/* FOUR TARGETED UI FIXES — notification cards + membership summary */
.rs-notification-card{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:12px;margin:0 0 12px;padding:16px 17px;background:var(--paper,#fffdf8);border:1px solid var(--line-strong,#eadfce);border-radius:14px;box-shadow:0 4px 16px rgba(58,7,16,.055);min-width:0;box-sizing:border-box;}
.rs-notification-icon{margin-top:2px;flex:none;}
.rs-notification-content{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;width:100%;}
.rs-notification-heading{display:flex;align-items:flex-start;justify-content:flex-start;gap:8px;min-width:0;}
.rs-notification-title{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;font-weight:700;color:var(--charcoal-900,var(--maroon-900));line-height:1.4;overflow-wrap:anywhere;}
.rs-notification-new{flex:none;margin:0;vertical-align:middle;}
.rs-notification-time{font-size:.72rem;line-height:1.35;color:var(--charcoal-500,#756b60);font-variant-numeric:tabular-nums;}
.rs-notification-message{font-size:.84rem;line-height:1.55;color:var(--charcoal-600,#665e56);overflow-wrap:anywhere;white-space:normal;}
.rs-notification-chat-cta{align-self:flex-start;min-height:38px;gap:8px;padding:9px 14px;margin-top:4px;text-decoration:none;}
.rs-notification-chat-cta svg{display:block;flex:none;}
.membership-summary-card{display:flex;flex-direction:column;gap:8px;}
.membership-summary-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px;}
.membership-summary-heading h3{font-size:1.05rem;}
@media(max-width:480px){.rs-notification-card{grid-template-columns:34px minmax(0,1fr);gap:10px;padding:14px 13px;}.rs-notification-message{font-size:.82rem;}}


/* PAYMENT UPI QR TARGETED FIX V2 — actual owner QR, download/copy actions, calm file trigger states, and notice icon */
.payment-page .payment-upi-panel{padding:20px 18px;background:linear-gradient(135deg,#FFFCF6 0%,#F8EBDD 100%);border:1px solid var(--line,#E7D9C7);border-radius:var(--radius-md);}
.payment-page .payment-upi-kicker{margin:0 0 12px;color:var(--gold-700,#9A6714);font-size:.76rem;font-weight:800;letter-spacing:.1em;}
.payment-page .payment-upi-qr-link{display:inline-block;max-width:100%;line-height:0;border-radius:12px;outline-offset:3px;}
.payment-page .payment-upi-qr-image{display:block;width:min(100%,280px);height:auto;aspect-ratio:1/1;object-fit:contain;background:#fff;border:1px solid #E5D9C9;border-radius:12px;box-shadow:0 5px 16px rgba(74,19,28,.08);margin:0 auto;}
.payment-page .payment-qr-download{display:inline-flex;align-items:center;justify-content:center;min-height:42px;margin:12px auto 14px;background:#FFFDF8;border:1.5px solid #B88936;color:var(--maroon-800,#5D1A22);}
.payment-page .payment-qr-download:hover,.payment-page .payment-qr-download:focus-visible{background:#FFF1CF;border-color:#C08A22;color:var(--maroon-900,#4B0A19);box-shadow:none;transform:none;}
.payment-page .payment-upi-receiver{margin:0 0 12px;color:var(--charcoal-700,#453B35);font-weight:700;}
.payment-page .payment-upi-id-label{margin:0 0 6px;color:var(--gold-700,#9A6714);font-size:.74rem;font-weight:800;letter-spacing:.09em;}
.payment-page .payment-upi-copy-row{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:0 auto 12px;}
.payment-page .payment-upi-id{display:inline-flex;align-items:center;justify-content:center;margin:0;padding:10px 13px;max-width:100%;border:1px solid #D5B66A;border-radius:10px;background:#FFFDF8;color:var(--maroon-900,#4B0A19);font-size:clamp(1.05rem,4.4vw,1.35rem);font-weight:800;letter-spacing:.015em;overflow-wrap:anywhere;user-select:text;box-shadow:0 3px 10px rgba(74,19,28,.05);}
.payment-page .payment-upi-id strong{color:inherit;}
.payment-page .payment-copy-trigger{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;background:#FFFDF8;border:1.5px solid #B88936;color:var(--maroon-800,#5D1A22);box-shadow:none;}
.payment-page .payment-copy-trigger:hover,.payment-page .payment-copy-trigger:focus-visible{background:#FFF1CF;border-color:#C08A22;color:var(--maroon-900,#4B0A19);box-shadow:none;transform:none;}
.payment-page .payment-upi-instructions{max-width:42ch;margin:0 auto;color:var(--charcoal-600,#665E56);line-height:1.55;}
.payment-page .payment-file-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 14px;background:#FFFDF8;border:1.5px solid #B88936;color:var(--maroon-800,#5D1A22);box-shadow:none;transition:background var(--dur-fast,.15s) var(--ease,ease),border-color var(--dur-fast,.15s) var(--ease,ease),color var(--dur-fast,.15s) var(--ease,ease),outline-color var(--dur-fast,.15s) var(--ease,ease);}
.payment-page .payment-file-trigger:hover{background:#FFF1CF;border-color:#C08A22;color:var(--maroon-900,#4B0A19);box-shadow:none;transform:none;}
.payment-page .payment-file-trigger:active{background:#FFF8E9;border-color:#C08A22;color:var(--maroon-900,#4B0A19);box-shadow:none;transform:none;}
.payment-page .payment-file-trigger:focus-visible{background:#FFF8E9;border-color:#C08A22;color:var(--maroon-900,#4B0A19);outline:2px solid var(--gold-500,#D4AA4E);outline-offset:2px;box-shadow:none;}
.payment-page .payment-verification-notice{align-items:center;gap:12px;}
.payment-page .payment-notice-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;min-width:36px;border-radius:50%;background:linear-gradient(145deg,#741328 0%,#4C0A18 100%);border:1.5px solid #C79A43;box-shadow:inset 0 1px 2px rgba(255,255,255,.12),0 2px 5px rgba(65,8,20,.12);box-sizing:border-box;margin:0;}
.payment-page .payment-notice-dot{display:block;width:6px;height:6px;border-radius:50%;background:#F8E9C7;box-shadow:0 0 0 1px rgba(255,255,255,.18);}


/* PAYMENT BUTTON STATES V3 — Download QR, Copy UPI ID and Choose File use deep maroon on hover, click and focus */
.payment-page .payment-qr-download:hover,
.payment-page .payment-qr-download:focus,
.payment-page .payment-qr-download:focus-visible,
.payment-page .payment-qr-download:active,
.payment-page .payment-copy-trigger:hover,
.payment-page .payment-copy-trigger:focus,
.payment-page .payment-copy-trigger:focus-visible,
.payment-page .payment-copy-trigger:active,
.payment-page .payment-file-trigger:hover,
.payment-page .payment-file-trigger:focus,
.payment-page .payment-file-trigger:focus-visible,
.payment-page .payment-file-trigger:active{background:var(--maroon-700);border-color:var(--maroon-700);color:#fff;box-shadow:var(--shadow-xs);transform:none;}
.payment-page .payment-qr-download:focus-visible,
.payment-page .payment-copy-trigger:focus-visible,
.payment-page .payment-file-trigger:focus-visible{outline:2px solid var(--gold-400,#D4AA4E);outline-offset:2px;}


/* RS FOUR ADMIN/GENDER FIXES V2 — drawer above fixed app navigation */
.drawer-overlay{z-index:220;}
.drawer{z-index:221;}


/* RS_INTEREST_BRANDED_CONFIRM_MODAL_V1: Rishta Spotlight branded confirmation for non-cancellable Interest submissions. */
.rs-interest-confirm-overlay{z-index:320;align-items:center;padding:18px;background:rgba(36,10,16,.58);}
.rs-interest-confirm-overlay.is-closing{opacity:0;pointer-events:auto;}
.rs-interest-confirm-overlay .rs-interest-confirm-modal{width:min(100%,420px);max-width:420px;max-height:min(82vh,560px);overflow-y:auto;flex:none;padding:24px 22px 22px;border:1px solid var(--gold-300);border-radius:18px;background:var(--ivory);box-shadow:0 18px 52px rgba(36,10,16,.28);transform:translateY(14px);}
.rs-interest-confirm-overlay.open .rs-interest-confirm-modal{transform:translateY(0);}
.rs-interest-confirm-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0 0 14px;border:1px solid var(--gold-300);border-radius:50%;background:var(--gold-100);color:var(--maroon-800);font-size:25px;line-height:1;}
.rs-interest-confirm-modal h3{margin:0 0 10px;color:var(--maroon-800);font-size:1.32rem;line-height:1.25;}
.rs-interest-confirm-modal p{margin:0;color:var(--charcoal-900);font-size:.95rem;line-height:1.6;}
.rs-interest-confirm-modal .rs-interest-confirm-warning{margin-top:7px;color:var(--maroon-700);font-weight:700;}
.rs-interest-confirm-actions{display:grid;grid-template-columns:minmax(80px,.72fr) minmax(0,1.45fr);gap:10px;margin-top:22px;}
.rs-interest-confirm-actions .btn{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;padding:11px 12px;text-align:center;line-height:1.25;white-space:normal;font-size:.86rem;}
@media(max-width:359px){.rs-interest-confirm-overlay{padding:12px;}.rs-interest-confirm-overlay .rs-interest-confirm-modal{padding:22px 17px 18px;}.rs-interest-confirm-actions{grid-template-columns:1fr;}.rs-interest-confirm-actions .btn{width:100%;}}

/* RS_PRIVATE_RECEIVED_INTEREST_REVIEW_V1: recipient-only approved biodata + signed photo modal. */
.rs-interest-table-profile{appearance:none;border:0;background:transparent;color:inherit;padding:0;margin:0;display:flex;align-items:center;gap:10px;text-align:left;font:inherit;cursor:pointer;max-width:100%;}
.rs-interest-table-profile .avatar{flex:0 0 auto;}
.rs-interest-table-profile--locked{display:flex;flex-direction:column;align-items:flex-start;gap:3px;color:var(--charcoal-800);}
.rs-interest-profile-hint{font-size:.75rem;color:var(--maroon-700);font-weight:700;}
.rs-interest-table-profile:focus-visible,.rs-interest-review-trigger:focus-visible,.rs-interest-review-chevron:focus-visible{outline:3px solid var(--gold-400);outline-offset:3px;border-radius:10px;}
.rs-interest-review-trigger{appearance:none;border:0;background:transparent;padding:0;margin:0;width:100%;text-align:left;font:inherit;cursor:pointer;}
.rs-interest-card__profile--locked{cursor:default;}
.rs-interest-private-lock{display:flex;align-items:center;justify-content:center;width:52px;height:52px;flex:0 0 52px;border-radius:50%;background:var(--gold-100);border:1px solid var(--gold-300);color:var(--maroon-800);font-size:1.5rem;}
.rs-interest-review-chevron{appearance:none;background:transparent;border:0;cursor:pointer;}
.rs-private-review-overlay{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(35,12,18,.64);backdrop-filter:blur(5px);opacity:0;transition:opacity .18s ease;}
.rs-private-review-overlay.open{opacity:1;}
.rs-private-review-modal{display:flex;flex-direction:column;width:min(100%,620px);max-height:min(90vh,900px);overflow:hidden;border:1px solid var(--gold-300);border-radius:22px;background:var(--ivory);box-shadow:0 24px 74px rgba(30,7,13,.32);transform:translateY(12px);transition:transform .18s ease;color:var(--charcoal-900);}
.rs-private-review-overlay.open .rs-private-review-modal{transform:translateY(0);}
.rs-private-review-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:22px 24px 18px;border-bottom:1px solid #e9dfd1;background:linear-gradient(135deg,#fffdf9,#f7eee1);}
.rs-private-review-header .eyebrow{margin:0 0 5px;color:var(--gold-700);font-size:.73rem;font-weight:800;letter-spacing:.11em;text-transform:uppercase;}
.rs-private-review-header h2{margin:0;color:var(--maroon-800);font:600 1.65rem/1.18 Fraunces,Georgia,serif;}
.rs-private-review-header p:not(.eyebrow){margin:7px 0 0;color:#71645c;font-size:.9rem;line-height:1.45;}
.rs-private-review-close{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #e6d7c3;border-radius:50%;background:#fffaf3;color:var(--maroon-800);font-size:1.5rem;line-height:1;cursor:pointer;}
.rs-private-review-scroll{overflow:auto;padding:20px 24px 22px;overscroll-behavior:contain;}
.rs-private-review-hero{display:flex;align-items:center;gap:18px;padding:18px;border:1px solid #eadac2;border-radius:18px;background:#fffaf2;}
.rs-private-review-photo{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;width:118px;height:132px;flex:0 0 118px;border:3px solid #e3c685;border-radius:16px;background:linear-gradient(135deg,#f0dfbd,#fcf4e7);color:var(--maroon-800);font:600 2rem Fraunces,Georgia,serif;}
.rs-private-review-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.rs-private-review-photo img[hidden],.rs-private-review-photo [hidden]{display:none!important;}
.rs-private-review-identity{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:7px;}
.rs-private-review-kicker{font-size:.68rem;font-weight:800;letter-spacing:.12em;color:var(--gold-700);}
.rs-private-review-identity h3{margin:0;color:#2b2222;font-size:1.25rem;line-height:1.25;overflow-wrap:anywhere;}
.rs-private-review-identity p{margin:0;color:#75675f;font-size:.9rem;overflow-wrap:anywhere;}
.rs-private-review-identity p strong{color:var(--maroon-800);}
.rs-private-review-status{display:inline-flex;align-items:center;min-height:29px;padding:5px 11px;border:1px solid #ead5a6;border-radius:999px;background:#fff2d8;color:#8b5e0a;font-size:.78rem;font-weight:800;}
.rs-private-review-section{margin-top:22px;}
.rs-private-review-section h3{margin:0 0 12px;color:var(--maroon-800);font:600 1.25rem Fraunces,Georgia,serif;}
.rs-private-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
.rs-private-review-field{display:flex;flex-direction:column;gap:5px;min-width:0;padding:12px 13px;border:1px solid #ede3d6;border-radius:12px;background:#fffdf9;}
.rs-private-review-field span{color:#8b7b6f;font-size:.75rem;font-weight:700;}
.rs-private-review-field strong{color:#372b28;font-size:.9rem;line-height:1.4;font-weight:650;overflow-wrap:anywhere;white-space:pre-wrap;}
.rs-private-review-preferences{margin:0;padding:14px;border:1px solid #ede3d6;border-radius:12px;background:#fffdf9;color:#4f413c;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;}
.rs-private-review-empty{color:#746860;}
.rs-private-review-privacy{margin:18px 0 0;padding:12px 14px;border-left:3px solid var(--gold-400);border-radius:0 8px 8px 0;background:#f7f0e5;color:#77675b;font-size:.78rem;line-height:1.5;}
.rs-private-review-footer{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:10px;padding:16px 24px 20px;border-top:1px solid #e9dfd1;background:#fffaf3;}
.rs-private-review-footer .btn{min-height:46px;white-space:normal;}
@media(max-width:480px){.rs-private-review-overlay{padding:10px;align-items:flex-end;}.rs-private-review-modal{max-height:94dvh;border-radius:20px 20px 14px 14px;}.rs-private-review-header{padding:18px 17px 14px;}.rs-private-review-header h2{font-size:1.42rem;}.rs-private-review-scroll{padding:15px 16px 17px;}.rs-private-review-hero{gap:13px;padding:13px;}.rs-private-review-photo{width:96px;height:112px;flex-basis:96px;border-radius:13px;}.rs-private-review-identity h3{font-size:1.1rem;}.rs-private-review-grid{gap:7px;}.rs-private-review-field{padding:10px 10px;}.rs-private-review-footer{padding:13px 16px 16px;gap:8px;}}
@media(max-width:359px){.rs-private-review-photo{width:80px;height:100px;flex-basis:80px;}.rs-private-review-identity h3{font-size:1rem;}.rs-private-review-grid{grid-template-columns:minmax(0,1fr);}.rs-private-review-footer{grid-template-columns:1fr;}}

/* RS_INTEREST_UX_V2 â€” scoped styles for unified tabs and membership gate */
.rs-interest-tabs{display:flex;gap:6px;padding:5px;margin:0 0 20px;background:#f8f5f0;border:1px solid #eee5d9;border-radius:14px;max-width:420px}
.rs-interest-tab{appearance:none;border:0;background:transparent;color:#62574f;font:inherit;font-weight:600;font-size:15px;line-height:1.2;padding:12px 22px;border-radius:10px;cursor:pointer;flex:1;transition:background .18s,color .18s,box-shadow .18s}
.rs-interest-tab.active{background:#6f1d2c;color:#fff;box-shadow:0 3px 10px rgba(71,16,29,.12)}
.rs-interest-tab:focus-visible,.rs-membership-modal button:focus-visible,.rs-membership-modal a:focus-visible{outline:3px solid #d9b45b;outline-offset:3px}
.rs-interest-panel[hidden]{display:none!important}
.rs-membership-modal-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(28,17,19,.56);backdrop-filter:blur(4px);opacity:0;transition:opacity .16s ease}
.rs-membership-modal-overlay.open{opacity:1}
.rs-membership-modal{position:relative;width:min(100%,440px);padding:32px 28px 24px;background:#fffdf9;border:1px solid #eadfce;border-radius:22px;box-shadow:0 24px 80px rgba(25,10,15,.24);text-align:center;transform:translateY(8px);transition:transform .16s ease}
.rs-membership-modal-overlay.open .rs-membership-modal{transform:translateY(0)}
.rs-membership-modal-close{position:absolute;right:13px;top:11px;width:36px;height:36px;border:0;border-radius:50%;background:#f6f0e8;color:#6f1d2c;font-size:25px;line-height:1;cursor:pointer}
.rs-membership-modal-mark{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 12px;border-radius:50%;background:#f7edcf;color:#8d6a20;font-size:30px}
.rs-membership-modal .eyebrow{margin:0 0 8px;color:#96742d;font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:11px}
.rs-membership-modal h2{margin:0 auto 12px;max-width:340px;color:#451722;font-size:clamp(22px,5vw,28px);line-height:1.18}
.rs-membership-modal-copy{margin:0 auto 22px;max-width:350px;color:#655a56;font-size:15px;line-height:1.65}
.rs-membership-plans-cta{display:flex;justify-content:center;align-items:center;min-height:48px;text-decoration:none}
.rs-membership-later{display:block;margin:12px auto 0;padding:9px 14px;border:0;background:transparent;color:#766c67;font-weight:600;font-size:14px;cursor:pointer}
.rs-membership-later:hover{color:#6f1d2c;text-decoration:underline}
@media(max-width:480px){.rs-membership-modal{padding:30px 21px 20px;border-radius:18px}.rs-interest-tabs{max-width:none}.rs-interest-tab{padding:12px 10px}}

/* RS_INTEREST_PREMIUM_MOBILE_CARDS_V2: premium responsive profile cards for both Interest tabs. */
[data-unified-interests] .rs-interest-mobile-cards { display: none; }
[data-unified-interests] .rs-interest-card { display: flex; flex-direction: column; gap: 21px; min-width: 0; padding: 22px 20px 18px; border: 1px solid #eee5d8; border-radius: 20px; background: linear-gradient(180deg, #fffdf9 0%, #fffaf3 100%); box-shadow: 0 5px 18px rgba(55, 16, 20, .07); color: #2f2927; }
[data-unified-interests] .rs-interest-card__profile { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; border-radius: 12px; }
[data-unified-interests] .rs-interest-card__profile:focus-visible, [data-unified-interests] .rs-interest-card__chevron:focus-visible { outline: 3px solid #d8ad4d; outline-offset: 3px; }
[data-unified-interests] .rs-interest-card__profile .avatar { width: 66px; height: 66px; flex: 0 0 66px; font-size: 1.3rem; }
[data-unified-interests] .rs-interest-card__identity { display: flex; flex: 1 1 auto; flex-direction: column; gap: 4px; min-width: 0; }
[data-unified-interests] .rs-interest-card__name { display: block; min-width: 0; color: #211d1c; font-size: 1.08rem; font-weight: 700; line-height: 1.28; overflow-wrap: anywhere; }
[data-unified-interests] .rs-interest-card__code { display: block; color: #746b67; font-size: .92rem; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
[data-unified-interests] .rs-interest-card__date { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
[data-unified-interests] .rs-interest-card__calendar { width: 25px; height: 25px; flex: 0 0 25px; margin-top: 1px; color: #bc851e; }
[data-unified-interests] .rs-interest-card__date-copy { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
[data-unified-interests] .rs-interest-card__date-label { color: #302a27; font-size: .96rem; font-weight: 600; line-height: 1.3; }
[data-unified-interests] .rs-interest-card__date time { color: #302a27; font-size: .95rem; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
[data-unified-interests] .rs-interest-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
[data-unified-interests] .rs-interest-card__status-wrap { display: inline-flex; align-items: center; min-width: 0; }
[data-unified-interests] .rs-interest-card__status-wrap .badge { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; max-width: 100%; padding: 9px 16px; border: 1px solid transparent; border-radius: 13px; font-size: .98rem; font-weight: 700; line-height: 1.2; white-space: normal; }
[data-unified-interests] .rs-interest-card__status-wrap .badge-success { background: #edf6e2; border-color: #e4efd6; color: #256b32; }
[data-unified-interests] .rs-interest-card__status-wrap .badge-warning { background: #fff3de; border-color: #efd6a7; color: #91600d; }
[data-unified-interests] .rs-interest-card__status-wrap .badge-danger { background: #fff0ed; border-color: #f2d0c9; color: #9c2925; }
[data-unified-interests] .rs-interest-card__status-wrap .badge-neutral { background: #f3f0eb; border-color: #e7dfd4; color: #625953; }
[data-unified-interests] .rs-interest-card__badge-icon { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; flex: 0 0 19px; }
[data-unified-interests] .rs-interest-card__badge-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
[data-unified-interests] .rs-interest-card__status-dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
[data-unified-interests] .rs-interest-card__chevron { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 44px; flex: 0 0 42px; border-radius: 12px; color: #77706b; text-decoration: none; }
[data-unified-interests] .rs-interest-card__chevron svg { width: 26px; height: 26px; }
[data-unified-interests] .rs-interest-card__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; padding-top: 15px; border-top: 1px solid #efe7dc; }
[data-unified-interests] .rs-interest-card__actions-label { color: #746b67; font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
[data-unified-interests] .rs-interest-card__action-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
[data-unified-interests] .rs-interest-card__action-buttons .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 45px; padding: 10px 12px; border-radius: 12px; font-size: .92rem; font-weight: 700; white-space: normal; }
@media (max-width: 700px) {
  [data-unified-interests] .rs-interest-desktop { display: none !important; }
  [data-unified-interests] .rs-interest-mobile-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: 100%; min-width: 0; }
}
@media (min-width: 701px) {
  [data-unified-interests] .rs-interest-desktop { display: block; }
  [data-unified-interests] .rs-interest-mobile-cards { display: none !important; }
}
@media (max-width: 359px) {
  [data-unified-interests] .rs-interest-card { gap: 17px; padding: 18px 15px 15px; border-radius: 17px; }
  [data-unified-interests] .rs-interest-card__profile { gap: 11px; }
  [data-unified-interests] .rs-interest-card__profile .avatar { width: 58px; height: 58px; flex-basis: 58px; }
  [data-unified-interests] .rs-interest-card__name { font-size: 1rem; }
  [data-unified-interests] .rs-interest-card__actions { gap: 8px; }
  [data-unified-interests] .rs-interest-card__action-buttons { gap: 8px; }
  [data-unified-interests] .rs-interest-card__action-buttons .btn { padding: 9px 8px; font-size: .86rem; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 700px) {
  [data-unified-interests] .rs-interest-card { animation: rs-interest-card-in .22s ease-out both; }
  @keyframes rs-interest-card-in { from { opacity: .72; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
}


/* RS_PREMIUM_RESPONSIVE_USER_LISTS_V1_3: scoped responsive cards for genuinely wide data tables on All Users, Interest Management and Promotion Management. */
@media(max-width:700px){
  .table-wrap.rs-responsive-data-table{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;}
  .table-wrap.rs-responsive-data-table>table.data-table{display:block;width:100%;min-width:0;border-collapse:separate;border-spacing:0;font-size:.88rem;}
  .table-wrap.rs-responsive-data-table>table.data-table>thead{display:none;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;width:100%;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr{display:flex;flex-direction:column;min-width:0;width:100%;overflow:hidden;border:1px solid #eadfce;border-radius:17px;background:linear-gradient(180deg,#fffdf9 0%,#fffaf3 100%);box-shadow:0 6px 20px rgba(58,7,16,.065);}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td{display:grid!important;grid-template-columns:minmax(82px,.68fr) minmax(0,1.32fr);align-items:center;gap:12px;min-width:0;width:100%;padding:10px 14px;border:0;border-bottom:1px solid #efe6da;background:transparent;box-sizing:border-box;overflow-wrap:anywhere;white-space:normal;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td::before{content:attr(data-label);display:block;min-width:0;color:#756b60;font-size:.72rem;font-weight:800;letter-spacing:.025em;line-height:1.35;overflow-wrap:anywhere;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td.rs-table-identity-cell{display:flex!important;align-items:center;justify-content:flex-start;gap:12px;padding:15px 14px;background:linear-gradient(105deg,#f8eddb 0%,#fffaf3 100%);border-bottom:1px solid #eadfce;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td.rs-table-identity-cell::before{content:none;display:none;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td.rs-table-identity-cell .avatar{flex:0 0 48px;width:48px;height:48px;font-size:1rem;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td.rs-table-identity-cell>div,.table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td.rs-table-identity-cell>span{min-width:0;overflow-wrap:anywhere;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td.rs-table-identity-cell .text-sm{overflow-wrap:anywhere;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td.rs-table-action-cell{display:flex!important;align-items:center;justify-content:flex-end;border-bottom:0;padding-top:12px;padding-bottom:13px;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td.rs-table-action-cell::before{content:none;display:none;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td:last-child{border-bottom:0;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td .badge{justify-self:start;max-width:100%;white-space:normal;overflow-wrap:anywhere;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr>td .row-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid #e8d8c0;border-radius:11px;background:#fffaf2;color:#6f1727;font-weight:800;white-space:nowrap;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr.rs-table-empty-row{display:block;border:0;background:transparent;box-shadow:none;overflow:visible;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr.rs-table-empty-row>td{display:block!important;padding:0;border:0;}
  .table-wrap.rs-responsive-data-table>table.data-table>tbody>tr.rs-table-empty-row>td::before{content:none;display:none;}
}

/* RS_PRIVATE_INTEREST_PHOTO_VIEWER_V1: accessible full-size view of approved photo within the recipient-only review. */
.rs-private-review-photo{appearance:none;padding:0;text-align:center;cursor:default;}
.rs-private-review-photo--zoomable{cursor:zoom-in;transition:transform .16s ease,box-shadow .16s ease;}
.rs-private-review-photo--zoomable:hover{box-shadow:0 0 0 3px rgba(190,151,74,.2);}
.rs-private-review-photo--zoomable:focus-visible{outline:3px solid var(--gold-400);outline-offset:4px;}
.rs-private-review-photo--zoomable:disabled{opacity:1;cursor:default;}
.rs-private-photo-viewer{position:fixed;inset:0;z-index:12010;display:flex;align-items:center;justify-content:center;padding:clamp(16px,4vw,42px);background:rgba(12,6,9,.96);touch-action:pan-x pan-y pinch-zoom;}
.rs-private-photo-viewer__scrim{position:absolute;inset:0;background:transparent;cursor:zoom-out;}
.rs-private-photo-viewer__image{position:relative;z-index:1;display:block;max-width:94vw;max-height:88dvh;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 22px 70px rgba(0,0,0,.5);touch-action:pan-x pan-y pinch-zoom;}
.rs-private-photo-viewer__close{position:absolute;z-index:2;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:#fff9f1;color:#4a1320;font-size:30px;line-height:1;cursor:pointer;}
.rs-private-photo-viewer__close:focus-visible{outline:3px solid #d9b45b;outline-offset:4px;}
.rs-private-photo-viewer__hint{position:absolute;z-index:2;bottom:max(12px,env(safe-area-inset-bottom));left:16px;right:16px;margin:0;color:rgba(255,255,255,.8);text-align:center;font-size:.8rem;pointer-events:none;}
@media(max-width:480px){.rs-private-photo-viewer{padding:10px;}.rs-private-photo-viewer__image{max-width:96vw;max-height:84dvh;border-radius:8px;}.rs-private-photo-viewer__hint{font-size:.75rem;}}

/* RS_CONTEXTUAL_SECURE_CHAT_UX_V1 - targeted premium conversation states */
.chat-list-pane{padding:12px;display:flex;flex-direction:column;gap:10px;background:var(--ivory);}
.chat-item.chat-context-item{align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:0 5px 18px rgba(57,31,17,.045);transition:background var(--dur-fast) var(--ease),border-color var(--dur-fast) var(--ease),transform var(--dur-fast) var(--ease);}
.chat-item.chat-context-item:hover,.chat-item.chat-context-item.active{background:var(--paper);border-color:var(--gold-500);transform:translateY(-1px);}
.chat-context-item .chat-avatar-wrap{flex:none;}
.chat-context-item .title-row{align-items:center;}
.chat-context-code{margin-top:2px;color:var(--charcoal-600);font-size:.76rem;}
.chat-context-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:7px;}
.chat-context-pill{display:inline-flex;align-items:center;max-width:100%;padding:4px 9px;border:1px solid var(--line);border-radius:999px;font-size:.69rem;font-weight:700;line-height:1.25;white-space:normal;}
.chat-context-pill.is-ready{color:var(--success-fg);background:var(--success-bg);border-color:var(--success-ln);}
.chat-context-pill.is-member{color:var(--maroon-700);background:rgba(116,23,44,.07);border-color:rgba(116,23,44,.15);}
.chat-context-pill.is-pending{color:var(--warning-fg);background:var(--warning-bg);border-color:var(--warning-ln);}
.chat-context-pill.is-quiet{color:var(--charcoal-600);background:var(--ivory-deep);}
.chat-context-time{font-size:.7rem;color:var(--charcoal-400);white-space:nowrap;}
.chat-context-item .preview{margin-top:7px;line-height:1.45;white-space:normal;overflow:visible;text-overflow:clip;color:var(--charcoal-600);}
.chat-context-last-message{margin-top:5px;font-size:.78rem;color:var(--charcoal-700);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.chat-context-unread{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:var(--maroon-700);color:#fff;font-size:.7rem;font-weight:700;}
.chat-context-chevron{flex:none;color:var(--charcoal-400);font-size:1.55rem;line-height:1;}
.chat-empty-state{text-align:center;padding:28px 22px;border:1px solid var(--line);border-radius:16px;background:var(--paper);}
.chat-empty-state__icon{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 14px;border-radius:50%;background:rgba(190,151,74,.13);color:var(--gold-500);font-size:1.8rem;}
.chat-empty-state p{margin:8px 0 16px;color:var(--charcoal-600);line-height:1.6;}
.chat-lock-panel{width:100%;max-width:620px;margin:auto;padding:clamp(22px,4vw,38px);display:flex;flex-direction:column;align-items:center;gap:13px;text-align:center;overflow-y:auto;}
.chat-lock-panel__icon{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:rgba(190,151,74,.15);border:1px solid rgba(190,151,74,.35);color:var(--gold-500);font-size:2rem;}
.chat-lock-panel__eyebrow{font-size:.7rem;letter-spacing:.14em;font-weight:800;color:var(--gold-700);}
.chat-lock-panel h2{margin:0;color:var(--maroon-900);font-family:var(--font-head);font-size:clamp(1.35rem,3vw,1.8rem);line-height:1.2;}
.chat-lock-panel>p{max-width:470px;margin:0;color:var(--charcoal-700);font-size:.93rem;line-height:1.7;}
.chat-lock-panel__steps{width:100%;max-width:500px;margin:8px 0;padding:15px 16px;display:grid;gap:15px;text-align:left;border:1px solid var(--line);border-radius:16px;background:var(--paper);}
.chat-lock-panel__step{display:flex;align-items:flex-start;gap:12px;}
.chat-lock-panel__step-mark{display:grid;place-items:center;flex:none;width:30px;height:30px;border:1px solid var(--gold-500);border-radius:50%;color:var(--gold-700);font-weight:800;}
.chat-lock-panel__step-mark.is-complete{background:var(--maroon-700);border-color:var(--maroon-700);color:#fff;}
.chat-lock-panel__step strong,.chat-lock-panel__step span{display:block;}
.chat-lock-panel__step strong{font-size:.86rem;color:var(--charcoal-900);}
.chat-lock-panel__step div span{margin-top:3px;font-size:.79rem;line-height:1.45;color:var(--charcoal-600);}
.chat-lock-panel__actions{width:100%;max-width:500px;display:flex;flex-direction:column;gap:10px;margin-top:2px;}
.chat-lock-panel__actions .btn{width:100%;justify-content:center;min-height:46px;}
@media(max-width:819px){.chat-list-pane{padding:10px;gap:9px;}.chat-item.chat-context-item{padding:12px;}.chat-lock-panel{justify-content:flex-start;padding:24px 18px;}.chat-lock-panel__steps{padding:13px;}}
/* RS_NOTIFICATION_CONTEXT_UI_V1 — compact icon and a clear accepted-profile code line. */
.rs-notification-card{grid-template-columns:32px minmax(0,1fr);}
.rs-notification-icon{width:32px!important;height:32px!important;min-width:32px;min-height:32px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;font-size:.9rem;line-height:1;margin-top:2px;}
.rs-notification-profile-code{display:block;margin-top:5px;color:var(--maroon-700,var(--maroon-900,#5f1422));font-size:.78rem;font-weight:700;line-height:1.4;letter-spacing:.02em;}
/* RS_CHAT_LAYOUT_BADGE_UX_V1 — accepted state, scrollable locked chat detail, optical icon centering. */
.chat-context-pill.is-accepted{color:var(--success-fg);background:var(--success-bg);border-color:var(--success-ln);}
.chat-thread-pane:has(.chat-lock-panel){min-height:0;max-height:calc(100dvh - 210px);overflow-y:auto!important;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(104px + env(safe-area-inset-bottom));scroll-padding-bottom:calc(104px + env(safe-area-inset-bottom));box-sizing:border-box;}
.chat-lock-panel{flex:0 0 auto;overflow:visible;margin:0 auto 12px;}
.chat-lock-panel__icon{display:flex!important;align-items:center;justify-content:center;line-height:1;text-align:center;padding:0;}
.chat-lock-panel__icon-glyph{display:inline-block;line-height:1;transform:translate(1px,1px);}
.chat-lock-panel__actions{padding-bottom:8px;}
@supports not (height:100dvh){.chat-thread-pane:has(.chat-lock-panel){max-height:calc(100vh - 210px);}}
/* RS_LOCKED_CHAT_SCROLL_CENTERING_V3 â€” supersedes the mobile overflow:hidden cascade only for locked conversations. */
@media(max-width:420px){
  body.chat-thread-active-page .chat-page .chat-thread-pane:has(.chat-lock-panel){
    min-height:0!important;
    max-height:calc(100dvh - 210px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;
    scroll-padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;
    box-sizing:border-box!important;
  }
  body.chat-thread-active-page .chat-page .chat-thread-pane .chat-lock-panel__icon{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  body.chat-thread-active-page .chat-page .chat-thread-pane .chat-lock-panel__icon-glyph{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:1.3em!important;
    height:1.3em!important;
    margin:0!important;
    padding:0!important;
    line-height:1!important;
    font-size:2rem!important;
    white-space:nowrap!important;
    transform:translate(-50%,-50%)!important;
  }
}
/* RS_LOCKED_CHAT_SCROLL_CENTERING_V4 â€” fix nested-span specificity, remove scroll spacer, and size the locked viewport above the fixed nav. */
@media(max-width:819px){
  body.chat-thread-active-page .chat-page:has(.chat-lock-panel){
    bottom:calc(66px + env(safe-area-inset-bottom,0px))!important;
  }
  body.chat-thread-active-page .chat-page .chat-thread-pane:has(.chat-lock-panel){
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    padding-bottom:8px!important;
    scroll-padding-bottom:8px!important;
    box-sizing:border-box!important;
  }
  body.chat-thread-active-page .chat-page .chat-thread-pane .chat-lock-panel__step > .chat-lock-panel__step-mark{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 0 30px!important;
    width:30px!important;
    min-width:30px!important;
    height:30px!important;
    min-height:30px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0!important;
    line-height:1!important;
    text-align:center!important;
    vertical-align:middle!important;
  }
  body.chat-thread-active-page .chat-page .chat-thread-pane .chat-lock-panel__actions{
    padding-bottom:0!important;
    margin-bottom:0!important;
  }
}
/* RS_CHAT_BOOTSTRAP_LOADING_UI_V1 â€” accessible, centered interim state while the existing chat bootstrap request resolves. */
.rs-chat-bootstrap-loading{
  display:flex;flex:1 1 auto;min-width:0;min-height:0;width:100%;
  flex-direction:column;align-items:center;justify-content:center;gap:12px;
  box-sizing:border-box;margin:0;padding:24px 16px;text-align:center;
  color:var(--charcoal-600);font:500 .86rem/1.5 var(--font-body);
}
.rs-chat-bootstrap-loading .spinner.dark{
  display:block;flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;
  box-sizing:border-box;margin:0!important;padding:0;border:3px solid var(--line-strong);
  border-top-color:var(--maroon-700);border-radius:50%;animation:spin .7s linear infinite;
}
.rs-chat-bootstrap-loading__label{display:block;max-width:260px;}
@media(prefers-reduced-motion:reduce){.rs-chat-bootstrap-loading .spinner.dark{animation-duration:1.8s;}}
/* RS_ACTIVE_CHAT_COMPOSER_WS_V1 â€” keep the active composer above the fixed bottom bar and handle transient socket reconnect status. */
.chat-connection-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 14px;border-bottom:1px solid var(--line);background:var(--ivory);color:var(--charcoal-700);font-size:.76rem;line-height:1.35;}
.chat-connection-status[hidden]{display:none!important;}
.chat-connection-status.is-retry{color:var(--danger-fg);background:var(--danger-bg);}
.chat-connection-status [data-chat-connection-retry]{flex:0 0 auto;padding:5px 10px;min-height:30px;}
@media(max-width:819px){
  body.chat-thread-active-page .chat-page:has(#chatComposer){bottom:calc(66px + env(safe-area-inset-bottom,0px))!important;}
  body.chat-thread-active-page .chat-page .chat-shell:has(#chatComposer){height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important;}
  body.chat-thread-active-page .chat-page .chat-thread-pane:has(#chatComposer){display:flex!important;position:relative!important;flex:1 1 auto!important;flex-direction:column!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:0!important;}
  body.chat-thread-active-page .chat-page .chat-thread-pane:has(#chatComposer) .chat-messages{display:flex!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;padding:18px 16px 18px!important;}
  body.chat-thread-active-page .chat-page .chat-thread-pane #chatComposer{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;display:flex!important;flex:0 0 auto!important;width:100%!important;box-sizing:border-box!important;z-index:31!important;margin:0!important;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px))!important;background:rgba(255,252,246,.99)!important;border-top:1px solid var(--line-strong)!important;box-shadow:0 -8px 26px rgba(58,7,16,.08)!important;}
  body.chat-thread-active-page .chat-page .chat-thread-pane #chatComposer input{flex:1 1 auto!important;min-width:0!important;}
  body.chat-thread-active-page.chat-keyboard-open .chat-page:has(#chatComposer){bottom:0!important;}
}
/* RS_ACTIVE_CHAT_POLISH_V2 â€” scoped six-point active Secure Chat polish. */
.rs-chat-consent-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(29,15,15,.46);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);}
.rs-chat-consent-dialog{width:min(100%,430px);box-sizing:border-box;padding:26px 22px 20px;border:1px solid var(--gold-300);border-radius:22px;background:var(--paper);box-shadow:0 22px 70px rgba(38,12,15,.24);color:var(--charcoal-900);text-align:center;}
.rs-chat-consent-mark{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0 auto 10px;border:1px solid var(--gold-300);border-radius:50%;background:var(--ivory);color:var(--maroon-700);font-size:23px;line-height:1;}
.rs-chat-consent-eyebrow{margin:0 0 6px;color:var(--gold-700);font-size:.7rem;font-weight:800;letter-spacing:.16em;}
.rs-chat-consent-dialog h2{margin:0 0 10px;color:var(--maroon-900);font-family:var(--font-head);font-size:1.32rem;line-height:1.25;}
.rs-chat-consent-dialog p#rsChatConsentBody{margin:0;color:var(--charcoal-700);font-size:.9rem;line-height:1.65;}
.rs-chat-consent-actions{display:flex;gap:10px;margin-top:22px;}
.rs-chat-consent-actions .btn{flex:1;min-width:0;min-height:44px;white-space:normal;}
.chat-ticks{color:#C8C2BD!important;}
.chat-ticks.is-read{color:#32A5F5!important;}
@media(max-width:819px){
  body.chat-thread-active-page .chat-page .chat-thread-pane #chatComposer{gap:8px!important;}
  body.chat-thread-active-page .chat-page .chat-thread-pane #chatComposer input{height:44px!important;min-height:44px!important;padding:0 13px!important;}
  body.chat-thread-active-page .chat-page .chat-thread-pane #chatComposer button[type="submit"]{flex:0 0 auto!important;min-width:58px!important;min-height:44px!important;padding:0 16px!important;}
  body.chat-thread-active-page .chat-page .chat-thread-pane #chatComposer .emoji-toggle{display:none!important;}
  body.chat-thread-active-page.chat-keyboard-open .chat-page:has(#chatComposer){position:fixed!important;left:0!important;right:0!important;top:var(--header-h)!important;bottom:auto!important;height:calc(var(--rs-visual-height,100dvh) - var(--header-h))!important;max-height:calc(var(--rs-visual-height,100dvh) - var(--header-h))!important;min-height:0!important;overflow:hidden!important;}
  body.chat-thread-active-page.chat-keyboard-open .chat-page .chat-shell:has(#chatComposer){height:100%!important;max-height:none!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important;}
  body.chat-thread-active-page.chat-keyboard-open .chat-page .chat-thread-pane:has(#chatComposer){height:100%!important;max-height:none!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important;}
  body.chat-thread-active-page.chat-keyboard-open .chat-page .chat-thread-pane:has(#chatComposer) .chat-messages{min-height:0!important;flex:1 1 auto!important;overflow-y:auto!important;padding-bottom:16px!important;}
  body.chat-thread-active-page.chat-keyboard-open .chat-page .chat-thread-pane #chatComposer{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important;}
}

/* RS Story + Dedicated Reel fulfilment tracker V1 — scoped, additive styles */
.rs-promo-shell{display:grid;gap:18px;margin-top:18px}.rs-promo-section{border:1px solid var(--line,#eadfce);border-radius:18px;background:var(--surface,#fff);padding:clamp(16px,2vw,24px);box-shadow:0 8px 24px rgba(52,31,32,.045)}.rs-promo-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:16px}.rs-promo-section-head h3{margin:0 0 5px}.rs-promo-section-head p{margin:0;color:var(--muted,#776d6b);font-size:.92rem}.rs-promo-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 18px}.rs-promo-metric{padding:12px;border-radius:12px;background:var(--surface-soft,#faf7f2);border:1px solid var(--line,#eadfce)}.rs-promo-metric strong{display:block;font-size:1.35rem;color:var(--maroon,#651c32);line-height:1.2}.rs-promo-metric span{font-size:.8rem;color:var(--muted,#776d6b)}.rs-promo-form{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(160px,.8fr) auto;align-items:end;gap:10px;margin:0 0 18px;padding:14px;border-radius:14px;background:var(--surface-soft,#faf7f2)}.rs-promo-field{display:grid;gap:5px}.rs-promo-field label{font-size:.8rem;font-weight:700;color:var(--ink,#2c2526)}.rs-promo-field input{width:100%;min-width:0;min-height:42px;border:1px solid var(--line,#d8ccc5);border-radius:10px;padding:9px 11px;background:#fff;color:var(--ink,#2c2526);font:inherit}.rs-promo-row-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.rs-promo-row-actions input{min-width:135px;max-width:220px;min-height:38px;border:1px solid var(--line,#d8ccc5);border-radius:9px;padding:7px 9px;font:inherit}.rs-promo-status-line{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.rs-promo-empty{padding:20px 12px;text-align:center;color:var(--muted,#776d6b)}.rs-promo-member{font-weight:700}.rs-promo-member small{display:block;color:var(--muted,#776d6b);font-weight:500}.rs-story-status-summary{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.rs-story-stat{border:1px solid var(--line,#eadfce);border-radius:999px;padding:5px 10px;font-size:.78rem;color:var(--ink,#2c2526);background:var(--surface-soft,#faf7f2)}.rs-story-schedule-preview{display:grid;gap:7px;margin-top:10px}.rs-story-preview-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px;border-radius:10px;background:var(--surface-soft,#faf7f2);font-size:.84rem}.rs-story-preview-row .meta{color:var(--muted,#776d6b)}.rs-reel-live-status{margin:12px 0 0;padding:12px;border-radius:12px;background:var(--surface-soft,#faf7f2);border:1px solid var(--line,#eadfce);font-size:.9rem}.rs-reel-live-status a{font-weight:700;color:var(--maroon,#651c32);margin-left:6px}@media(max-width:760px){.rs-promo-form{grid-template-columns:1fr}.rs-promo-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.rs-promo-row-actions{align-items:stretch}.rs-promo-row-actions input{max-width:none;flex:1 1 100%}}

/* Story auto-scheduling windows and Admin due reminders — additive, scoped V1 */
.rs-promo-reminder-banner{display:flex;align-items:flex-start;gap:12px;margin:0 0 14px;padding:12px 14px;border:1px solid #e4d5ba;border-radius:13px;background:#fbf6e9;color:var(--ink,#2c2526)}.rs-promo-reminder-banner strong{display:block;color:var(--maroon,#651c32);font-size:.94rem}.rs-promo-reminder-banner p{margin:4px 0 0;color:var(--muted,#776d6b);font-size:.84rem;line-height:1.5}.rs-promo-reminder-banner.has-overdue{border-color:#d5a2a2;background:#fff3f2}.rs-promo-date-window{display:grid;gap:5px}.rs-promo-date-window strong{font-size:.84rem;white-space:nowrap}.rs-promo-date-window small{display:block;font-size:.77rem;line-height:1.35;color:var(--muted,#776d6b)}.rs-promo-reminder{font-weight:600}.rs-reminder-tomorrow,.rs-reminder-today,.rs-reminder-last-day{color:#8a5c0a!important}.rs-reminder-overdue{color:#a5222c!important}.rs-reminder-open{color:#6c1b34!important}


/* RS STORY/REEL UI POLISH V1 — compact status tabs, member groups and throttled refresh notice. */
.rs-story-tabs{display:flex;gap:8px;margin:12px 0 10px;padding:4px;border:1px solid var(--line,#eadfce);border-radius:14px;background:var(--surface-soft,#faf7f2)}
.rs-story-tab{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:0;padding:9px 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted,#776d6b);font:inherit;font-size:.86rem;font-weight:700;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}
.rs-story-tab[aria-pressed="true"]{background:var(--surface,#fff);border-color:var(--line,#eadfce);color:var(--maroon,#651c32);box-shadow:0 3px 10px rgba(52,31,32,.06)}
.rs-story-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;padding:2px 6px;border-radius:999px;background:rgba(130,34,52,.08);font-size:.75rem;line-height:1.25}
.rs-story-tab[aria-pressed="true"] .rs-story-tab-count{background:var(--maroon,#651c32);color:#fff}
.rs-story-tab:focus-visible,.rs-promo-member-summary:focus-visible{outline:3px solid var(--gold-400,#d5ad58);outline-offset:2px}
.rs-story-tab-panel{display:grid;gap:7px;min-width:0}
.rs-story-tab-empty{margin:0;padding:14px 12px;border:1px dashed var(--line,#eadfce);border-radius:12px;color:var(--muted,#776d6b);font-size:.88rem;text-align:center}
.rs-promo-member-list{display:grid;gap:9px;margin-top:16px}
.rs-promo-member-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:2px}
.rs-promo-member-list-head h4{margin:0;color:var(--ink,#2c2526);font-size:1rem}
.rs-promo-member-list-head>span{font-size:.82rem;color:var(--muted,#776d6b)}
.rs-promo-member-group{border:1px solid var(--line,#eadfce);border-radius:15px;background:var(--surface,#fff);overflow:hidden}
.rs-promo-member-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 12px;align-items:center;padding:14px;cursor:pointer;list-style:none;background:linear-gradient(135deg,rgba(212,170,78,.10),rgba(255,255,255,.2))}
.rs-promo-member-summary::-webkit-details-marker{display:none}
.rs-promo-member-title{display:grid;gap:3px;min-width:0}
.rs-promo-member-title strong{color:var(--maroon,#651c32);font-size:.96rem;overflow-wrap:anywhere}
.rs-promo-member-title small{color:var(--muted,#776d6b);font-size:.78rem;font-weight:600}
.rs-promo-member-counts{display:flex;align-items:center;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.rs-promo-member-counts span{padding:4px 7px;border:1px solid var(--line,#eadfce);border-radius:999px;background:var(--surface,#fff);font-size:.7rem;color:var(--ink,#2c2526);white-space:nowrap}
.rs-promo-member-next{grid-column:1 / -1;display:grid;gap:3px;color:var(--muted,#776d6b);font-size:.79rem}
.rs-promo-member-chevron{grid-column:3;grid-row:1;color:var(--maroon,#651c32);font-size:1.1rem;transition:transform .16s ease}
.rs-promo-member-group[open] .rs-promo-member-chevron{transform:rotate(180deg)}
.rs-promo-member-group-body{padding:0 12px 12px;border-top:1px solid var(--line,#eadfce)}
.rs-promo-member-group-body .table-wrap{margin-top:10px}
.rs-promo-member-group-body .data-table{min-width:620px}
.rs-promo-member-group-body .data-table th:first-child,.rs-promo-member-group-body .data-table td:first-child{padding-left:12px}
.rs-promo-refresh-warning{margin:0;padding:9px 12px;border:1px solid #ead49c;border-radius:10px;background:#fff8e9;color:#775014;font-size:.82rem}
@media(max-width:760px){.rs-promo-member-summary{grid-template-columns:minmax(0,1fr);padding:12px}.rs-promo-member-counts{justify-content:flex-start}.rs-promo-member-chevron{grid-column:1;grid-row:1;justify-self:end;align-self:start}.rs-promo-member-title{padding-right:25px}.rs-promo-member-group-body{padding:0 8px 8px}}


/* RS story member workflow v2 — duplicate dashboard pills removed; compact admin confirmation + pagination */
.rs-story-schedule-preview{margin-top:12px}
.rs-promo-member-tools{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(160px,.7fr);gap:9px;margin:0 0 10px}
.rs-promo-member-search input,.rs-promo-member-filter select{width:100%;min-height:42px;border:1px solid var(--line,#eadfce);border-radius:11px;background:var(--surface,#fff);color:var(--ink,#2c2526);padding:9px 12px;font:inherit;font-size:.88rem;outline-offset:2px}
.rs-promo-member-groups{display:grid;gap:8px}
.rs-promo-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line,#eadfce);margin-top:12px;color:var(--muted,#776d6b);font-size:.78rem}
.rs-promo-pagination-actions{display:flex;align-items:center;gap:8px}
.rs-promo-pagination-actions>span{white-space:nowrap;font-weight:700;color:var(--ink,#2c2526)}
.rs-promo-pagination button:disabled{opacity:.42;cursor:not-allowed}
.rs-promo-compact-story-list{display:grid;gap:6px;padding-top:8px}
.rs-promo-compact-story-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;align-items:center;padding:10px 11px;border:1px solid var(--line,#eee3d6);border-radius:11px;background:var(--surface-soft,#faf7f2)}
.rs-promo-compact-story-main{display:grid;gap:3px;min-width:0}
.rs-promo-compact-story-main strong{font-size:.83rem;color:var(--ink,#2c2526)}
.rs-promo-compact-story-main>span,.rs-promo-compact-story-main small{font-size:.77rem;color:var(--muted,#776d6b);line-height:1.35}
.rs-promo-compact-story-state{display:grid;justify-items:end;gap:4px}
.rs-promo-compact-story-state small{font-size:.7rem;color:var(--muted,#776d6b)}
.rs-promo-compact-story-actions{grid-column:1/-1;display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.rs-promo-compact-story-actions .btn{min-height:34px;padding:7px 10px}
.rs-admin-confirm-overlay{position:fixed;inset:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(31,19,22,.56);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.rs-admin-confirm-card{width:min(100%,430px);border:1px solid rgba(218,194,164,.9);border-radius:22px;background:linear-gradient(160deg,#fffdf8 0%,#fbf5eb 100%);box-shadow:0 24px 70px rgba(20,10,15,.32);padding:22px;color:var(--ink,#2c2526);animation:rsAdminConfirmIn .16s ease-out}
.rs-admin-confirm-head{display:flex;align-items:center;gap:12px}
.rs-admin-confirm-icon{flex:0 0 42px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f5e5bb;color:var(--maroon,#74152a);font-size:1.15rem;font-weight:800}
.rs-admin-confirm-heading{flex:1;min-width:0}
.rs-admin-confirm-heading h3{margin:2px 0 0;font-size:1.2rem;color:var(--maroon,#651c32)}
.rs-admin-confirm-close{width:34px;height:34px;border:1px solid var(--line,#eadfce);border-radius:50%;background:#fff;color:var(--maroon,#651c32);font-size:1.3rem;line-height:1;cursor:pointer}
.rs-admin-confirm-message{margin:16px 0 20px;color:#655957;line-height:1.6;font-size:.94rem}
.rs-admin-confirm-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.rs-admin-confirm-actions .btn{min-width:112px}
@keyframes rsAdminConfirmIn{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:560px){.rs-promo-member-tools{grid-template-columns:1fr}.rs-promo-pagination{align-items:flex-start}.rs-promo-pagination-actions{width:100%;justify-content:space-between}.rs-promo-compact-story-row{grid-template-columns:minmax(0,1fr);gap:7px}.rs-promo-compact-story-state{display:flex;justify-items:initial;justify-content:space-between;align-items:center}.rs-admin-confirm-card{padding:18px;border-radius:18px}.rs-admin-confirm-actions{display:grid;grid-template-columns:1fr 1fr}.rs-admin-confirm-actions .btn{min-width:0}}


/* RS_SPOTLIGHT_TARGETED_POLISH_POINTS_1_4_V1 */
.rs-community-autocomplete{position:relative;width:100%;min-width:0;z-index:1}
.rs-community-autocomplete:focus-within{z-index:360}
.rs-community-autocomplete>[data-search-community-input]{display:block;width:100%;min-width:0;min-height:48px;box-sizing:border-box;padding:12px 14px;border:1.5px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--paper);font-family:var(--font-body);font-size:16px;line-height:1.25;color:var(--charcoal-900)}
.rs-community-autocomplete>[data-search-community-input]:focus{border-color:var(--maroon-600);outline:none;box-shadow:0 0 0 3px rgba(130,34,52,.12)}
.rs-community-suggestions{position:absolute;z-index:361;left:0;right:0;top:calc(100% + 5px);max-height:min(250px,34dvh);overflow-y:auto;overscroll-behavior:contain;background:var(--paper,#fffdf8);border:1px solid var(--line-strong,#ddc38a);border-radius:12px;box-shadow:0 16px 32px rgba(58,7,16,.18);padding:5px}
.rs-community-suggestions[hidden]{display:none!important}
.rs-community-autocomplete.is-open-up .rs-community-suggestions{top:auto;bottom:calc(100% + 5px)}
.rs-community-suggestion{display:block;width:100%;min-height:44px;padding:11px 14px;border:0;border-bottom:1px solid rgba(123,96,62,.12);border-radius:7px;background:transparent;color:var(--charcoal-900,#25211f);font:inherit;text-align:left;cursor:pointer}
.rs-community-suggestion:last-child{border-bottom:0}
.rs-community-suggestion:hover,.rs-community-suggestion.is-active{background:rgba(122,25,45,.09);color:var(--maroon-800);font-weight:700}
.rs-community-no-results{padding:12px;color:var(--charcoal-600);font-size:.88rem;line-height:1.45}
.detail-row.detail-row-partner-preference{align-items:flex-start}
.detail-row-partner-preference .k{flex:0 1 43%;min-width:0;overflow-wrap:anywhere}
.detail-row-partner-preference .v{flex:1 1 57%;min-width:0;text-align:right;white-space:normal;overflow-wrap:anywhere;word-break:normal}
.modal-overlay.photo-viewer-overlay{z-index:12000!important;align-items:center;justify-content:center;overflow:hidden;padding:0;background:rgba(12,6,9,.97);backdrop-filter:none}
.modal-overlay.photo-viewer-overlay .photo-viewer-shell{position:relative;z-index:1;box-sizing:border-box;width:min(96vw,1000px);height:min(90dvh,1000px);display:flex;align-items:center;justify-content:center;padding:60px 14px 14px;background:rgba(20,12,10,.96);border:1px solid rgba(228,200,138,.45);border-radius:18px;box-shadow:0 22px 60px rgba(0,0,0,.35)}
.modal-overlay.photo-viewer-overlay .photo-viewer-image{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:10px;display:block}
.modal-overlay.photo-viewer-overlay .photo-viewer-close{position:fixed!important;top:max(12px,env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px));z-index:12002!important;width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.55);border-radius:50%;background:#fff9f1;color:#4a1320;font-size:29px;line-height:1;cursor:pointer;box-shadow:0 4px 18px rgba(0,0,0,.3);pointer-events:auto}
.modal-overlay.photo-viewer-overlay .photo-viewer-close:focus-visible{outline:3px solid #e7bd60;outline-offset:3px}
.dashboard-dedicated-card,.dashboard-interest-addon-card{background:linear-gradient(140deg,#fffefa 0%,#fbf3e5 100%)!important;border:1px solid var(--line-strong,#ddc38a);box-shadow:0 10px 28px rgba(58,7,16,.055)}
.dashboard-addon-label{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;margin-bottom:12px!important}
.dashboard-addon-badge{display:inline-flex;align-items:center;justify-content:center;min-height:48px!important;max-width:min(100%,270px)!important;box-sizing:border-box;padding:10px 18px!important;border-radius:999px;background:var(--gold-premium,#e7bd60);border:1px solid #c08a22;color:var(--maroon-900,#4a1320);font-weight:800;font-size:1rem!important;line-height:1.2;text-align:center;white-space:normal;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 5px 14px rgba(126,82,12,.1)}
.dashboard-interest-addon-card .dashboard-addon-badge{min-width:170px}
.drawer nav a.rs-whatsapp-help-link{font-weight:750;color:var(--maroon-800)}
.drawer nav a.rs-whatsapp-help-link::before{content:"?";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:9px;border:1px solid rgba(122,25,45,.25);border-radius:50%;font-size:.78rem;font-weight:800}
@media(max-width:639px){.modal-overlay.photo-viewer-overlay .photo-viewer-shell{width:100vw;height:100dvh;max-height:100dvh;padding:64px 10px max(20px,env(safe-area-inset-bottom,0px));border:0;border-radius:0;background:transparent;box-shadow:none}.modal-overlay.photo-viewer-overlay .photo-viewer-image{max-height:100%;max-width:100%}}

/* RS HOME PREMIUM REFINEMENT V1 BEGIN */
/* Homepage-scoped finish: restrained warmth, soft elevation, no layout/content redesign. */
body.home-page {
  background:
    linear-gradient(180deg, rgba(255,252,246,.40) 0%, rgba(251,246,237,.12) 42%, rgba(245,235,219,.22) 100%),
    radial-gradient(circle at 8% -4%, rgba(228,200,138,.08), transparent 34%),
    var(--ivory);
}

body.home-page .site-header {
  background: linear-gradient(112deg, rgba(255,252,246,.97) 0%, rgba(251,246,237,.95) 58%, rgba(247,239,226,.95) 100%);
  border-bottom-color: rgba(231,220,200,.76);
  box-shadow: 0 2px 12px rgba(60,10,17,.028);
}

/* Divider between the existing banner and first content card. */
body.home-page .rs-home-divider {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
body.home-page .rs-home-divider--banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: var(--maxw);
  height: 16px;
  margin: -8px auto;
  padding: 0 var(--gutter);
}
body.home-page .rs-home-divider__line {
  height: 1px;
  flex: 1 1 auto;
  background: linear-gradient(90deg, transparent, rgba(192,151,63,.66));
}
body.home-page .rs-home-divider__line:last-child {
  background: linear-gradient(90deg, rgba(192,151,63,.66), transparent);
}
body.home-page .rs-home-divider__diamond {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border: 1px solid rgba(184,135,54,.86);
  background: rgba(244,230,196,.86);
  transform: rotate(45deg);
}

/* Subtle single downward arrow between the following major homepage sections. */
body.home-page .rs-home-divider--flow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 20px;
  margin: -10px auto;
}
body.home-page .rs-home-divider__arrow {
  position: relative;
  display: block;
  width: 1px;
  height: 12px;
  background: linear-gradient(180deg, rgba(192,151,63,.30), rgba(184,135,54,.92));
}
body.home-page .rs-home-divider__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #B88746;
}

/* Point 4 card finish: very light warm border, top highlight, soft 3D elevation. */
body.home-page .find-match-shell,
body.home-page .how-works-shell,
body.home-page .pricing-shell,
body.home-page .price-card,
body.home-page .dedicated-showcase-card,
body.home-page .addon-strip,
body.home-page .trust-shell,
body.home-page .success-card {
  border-color: rgba(192,151,63,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74), 0 6px 18px rgba(60,10,17,.045), 0 1px 2px rgba(60,10,17,.025);
}
body.home-page .price-card.featured {
  border-color: rgba(192,151,63,.48);
}
body.home-page .price-card:hover {
  transform: translateY(-2px);
  border-color: rgba(192,151,63,.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 10px 22px rgba(60,10,17,.07);
}
body.home-page .success-card:hover {
  transform: translateY(-2px);
  border-color: rgba(192,151,63,.40);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.76), 0 10px 22px rgba(60,10,17,.065);
}
body.home-page .site-footer .footer-cta {
  border-color: rgba(228,200,138,.26);
  box-shadow: 0 6px 18px rgba(36,10,15,.10);
}

/* Keep the existing section spacing rules despite the inserted divider elements. */
body.home-page main > section + .rs-home-divider + section {
  margin-top: 20px;
}
@media (max-width: 520px) {
  body.home-page main > section + .rs-home-divider + section {
    margin-top: 16px;
  }
}
/* RS HOME PREMIUM REFINEMENT V1 END */

/* RS HOME DIVIDER CENTERING V1.1 BEGIN */
/* Optical centering only: transforms do not alter document flow or card spacing. */
body.home-page main > section.hero-banner-section + .rs-home-divider--banner {
  transform: translateY(6px);
}
body.home-page main > section.find-match-section + .rs-home-divider--flow {
  transform: translateY(10px);
}
body.home-page main > section.home-how-section + .rs-home-divider--flow {
  transform: translateY(-1px);
}
body.home-page main > section.pricing-section + .rs-home-divider--flow {
  transform: translateY(-1px);
}
body.home-page main > section.trust-section + .rs-home-divider--flow {
  transform: translateY(10px);
}
@media (max-width: 520px) {
  body.home-page main > section.hero-banner-section + .rs-home-divider--banner {
    transform: translateY(10px);
  }
  body.home-page main > section.find-match-section + .rs-home-divider--flow {
    transform: translateY(8px);
  }
  body.home-page main > section.home-how-section + .rs-home-divider--flow {
    transform: translateY(-3px);
  }
  body.home-page main > section.pricing-section + .rs-home-divider--flow {
    transform: translateY(-3px);
  }
  body.home-page main > section.trust-section + .rs-home-divider--flow {
    transform: translateY(8px);
  }
}
/* RS HOME DIVIDER CENTERING V1.1 END */
