/* ============================================================
   MyWeddingNetwork — Design system
   2026 refresh: Ink · Pink · Paper
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,500;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ── CSS variables ─────────────────────────────────────────── */
:root {
  --navy:     #0B0B0C;
  --navy2:    #17171A;
  --gold:     #E8336E;
  --gold2:    #C81F5A;
  --cream:    #FAFAF9;
  --cream2:   #FDECF2;
  --line:     #EAEAE7;
  --muted:    #6E6E74;
  --warn:     #B8144D;
  --ok:       #27AE60;
  --text:     #0B0B0C;
  --pend:     #9a7d20;
  --pendbg:   #f7efd6;
  --shadow:   0 2px 16px rgba(11,11,12,.08);
  --shadow-lg:0 20px 60px rgba(11,11,12,.16);
  --r:        16px;
  --r-sm:     12px;
  --serif:    'Newsreader', Georgia, serif;
  --sans:     'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ── Reset / base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: var(--gold); }

/* ── App shell ─────────────────────────────────────────────── */
.app { min-height: 100vh; }
.app.land { height: auto; }

.shell { display: flex; min-height: 100vh; }

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  width: 236px;
  background: var(--navy);
  color: #B4B4BA;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 22px 20px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 12px;
  overflow: auto;
}

.navitem {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border-radius: 9px;
  color: #B4B4BA;
  font-weight: 500;
  font-size: 13.5px;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.navitem:hover { background: #1F1F23; color: #fff; }

.navitem.on { background: #1F1F23; color: #fff; font-weight: 600; }

.navico {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  flex-shrink: 0;
}

.navitem.on .navico { background: var(--gold); }

.navsec {
  padding: 16px 22px 6px;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6E6E74;
}

/* ── Main + topbar ─────────────────────────────────────────── */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* ── Flat top-nav shell (couple / supplier / planner — no sidebar) ── */
.main-flat { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.topnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244,244,241,.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topnav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}
.topnav-rolelabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.topnav-pills {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
}
.topnav-pills::-webkit-scrollbar { display: none; }

.topnav-pill {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  color: #4A4A50;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.topnav-pill:hover { background: var(--cream); }
.topnav-pill.on { background: var(--navy); color: #fff; }
.topnav-pill-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--gold);
  color: #fff;
  border-radius: 99px;
  padding: 1px 6px;
}

.topnav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.moremenu-wrap { position: relative; flex-shrink: 0; }
.moremenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(520px, 90vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 30;
}
.moremenu.open { display: block; }
.moremenu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 2px;
}
.moremenu-item {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--navy);
  display: block;
}
.moremenu-item:hover { background: var(--cream); color: var(--gold); }
.moremenu-sep { grid-column: 1/-1; height: 1px; background: var(--line); margin: 6px 0; }

.pageheadbar {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 24px 28px 0;
}

/* Messages' full-height flush page needs the flat shell's scroll area contained too. */
.topnav-shell:has(.page-flush) { height: 100vh; display: flex; flex-direction: column; }
.topnav-shell:has(.page-flush) .main-flat { overflow: hidden; min-height: 0; }
.topnav-shell:has(.page-flush) .pageheadbar { display: none; }

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 20;
}

.page {
  padding: 30px 32px 60px;
  max-width: 1180px;
  width: 100%;
}

/* bell button */
.bell {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #fff;
}

.bell:hover { border-color: var(--gold); }

.belldot {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--gold);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* user chip */
.userchip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.userchip:hover { border-color: var(--gold); }

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
}

/* alias for testimonial avatar (landing page) */
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
  flex-shrink: 0;
}

/* notification panel */
.notifpanel {
  display: none;
  position: absolute;
  top: 68px;
  right: 32px;
  width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(11,11,12,.18);
  z-index: 30;
  overflow: hidden;
}

.notifpanel.open {
  display: block;
}

.notifrow {
  padding: 13px 16px;
  border-bottom: 1px solid var(--cream);
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.notifrow:hover { background: var(--cream); }

.notiftext { flex: 1; min-width: 0; }

.ndot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 5px;
  flex-shrink: 0;
}

.notifdel {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--muted, #6E6E74);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  opacity: 0;
  transition: opacity .12s;
}

.notifrow:hover .notifdel { opacity: 1; }
.notifdel:hover { color: var(--warn); }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
}

.card.tight { padding: 16px; }
.card.flat  { box-shadow: none; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-navy   { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--gold); border-color: var(--gold); }

.btn-gold   { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold2); border-color: var(--gold2); }

.btn-ghost  { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { background: var(--cream2); border-color: var(--navy); }

.btn-sm     { padding: 6px 14px; font-size: 12.5px; }
.w100       { width: 100%; }

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

.b-ok     { background: #e8f4ec; color: var(--ok); }
.b-warn   { background: var(--cream2); color: var(--warn); }
.b-gold   { background: var(--cream2); color: var(--warn); }
.b-neutral{ background: #F2F2EF; color: var(--muted); }
.b-navy   { background: #F2F2EF; color: var(--navy); }

.dotb {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* ── KPI / numbers ─────────────────────────────────────────── */
.kpi {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1;
}

.kpi + .fs12 { margin-top: 6px; }

/* ── Form inputs ───────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 5px; }

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.inp {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--sans);
  color: var(--text);
  background: #fff;
  transition: border-color .15s;
  outline: none;
}

.inp:focus { border-color: var(--navy); }
.inp::placeholder { color: #8A8A8F; }

select.inp { cursor: pointer; }
textarea.inp { resize: vertical; }

/* ── Grids ─────────────────────────────────────────────────── */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid2, .grid3, .grid4 { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .main-inner { padding: 16px; }
}

/* ── Flex helpers ──────────────────────────────────────────── */
.fx  { display: flex; }
.ac  { align-items: center; }
.jb  { justify-content: space-between; }
.jc  { justify-content: center; }
.wrap{ flex-wrap: wrap; }
.tc  { text-align: center; }
.tr  { text-align: right; }
.gap4  { gap: 4px; }
.gap8  { gap: 8px; }
.gap10 { gap: 10px; }
.gap12 { gap: 12px; }
.gap16 { gap: 16px; }
.gap24 { gap: 24px; }

/* ── Spacing helpers ───────────────────────────────────────── */
.mb4 { margin-bottom: 4px; } .mb8 { margin-bottom: 8px; }
.mb12{ margin-bottom:12px; } .mb16{ margin-bottom:16px; }
.mb20{ margin-bottom:20px; } .mb24{ margin-bottom:24px; }
.mt4 { margin-top: 4px; }   .mt8 { margin-top: 8px; }
.mt12{ margin-top:12px; }   .mt16{ margin-top:16px; }
.mt24{ margin-top:24px; }   .mt32{ margin-top:32px; }
.mt28{ margin-top:28px; }

/* ── Typography helpers ────────────────────────────────────── */
.serif   { font-family: var(--serif); }
.muted   { color: var(--muted); }
.navyc   { color: var(--navy); }
.goldish { color: var(--gold); }
.gold    { color: var(--gold); }
.fw4 { font-weight: 400; } .fw6 { font-weight: 600; } .fw7 { font-weight: 700; }
.fs12 { font-size: 12px; } .fs13 { font-size: 13px; } .fs14 { font-size: 14px; }
.fs15 { font-size: 15px; } .fs16 { font-size: 16px; } .fs18 { font-size: 18px; }
.fs20 { font-size: 20px; } .fs24 { font-size: 24px; } .fs28 { font-size: 28px; }
.fs34 { font-size: 34px; } .mark { font-family: var(--serif); font-style: italic; }
.nowrap { white-space: nowrap; }

/* ── Table ─────────────────────────────────────────────────── */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
}
.tbl td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--cream); }

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--line);
  margin: 12px 0;
}

/* ── Notes / alerts ────────────────────────────────────────── */
.note {
  background: #FDF3E3;
  border: 1px solid #F0D9B0;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  color: #7A5520;
}

.okbox {
  background: #E8F8F0;
  border: 1px solid #A9DFBF;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  color: #1E6B3C;
}

.warnbox {
  background: var(--cream2);
  border: 1px solid rgba(184,20,77,.25);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--warn);
}

/* ── Modals ────────────────────────────────────────────────── */
.modalbg {
  position: fixed;
  inset: 0;
  background: rgba(11,11,12,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
}

.panel, .rsvppanel {
  background: #fff;
  border-radius: var(--r);
  padding: 32px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
}

/* ── Budget bar ────────────────────────────────────────────── */
.budgbar-wrap {
  height: 8px;
  background: var(--cream2);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 6px;
}

.budgbar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--gold);
  transition: width .4s;
}

.budgbar-fill.over { background: var(--warn); }

/* ── Pill row (radio-style) ────────────────────────────────── */
.pillrow { display: flex; gap: 8px; flex-wrap: wrap; }

.selpill {
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--muted);
  transition: all .15s;
  user-select: none;
}

.selpill.on {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ── Landing page ──────────────────────────────────────────── */
.land { min-height: 100vh; background: var(--cream); color: var(--text); }

.lwrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* sticky navbar */
.lnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(250,250,249,.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.lnav-r { display: flex; align-items: center; gap: 26px; }

.lnav-link {
  font-size: 14px;
  color: #3A3A3F;
  text-decoration: none;
  font-weight: 500;
}
.lnav-link:hover { color: var(--gold); }

/* "Made for Filipino weddings" ornament */
.kick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--warn);
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  background: var(--cream2);
  padding: 6px 12px 6px 8px;
  border-radius: 99px;
}
.kick::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: block;
}
.kick::after { content: none; }

/* hero */
.hero2 {
  text-align: center;
  padding: 72px 48px 0;
}

.hero2 .lead {
  font-size: 18px;
  color: #4A4A50;
  line-height: 1.55;
  max-width: 560px;
  margin: 22px auto 0;
}

.ampg {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

/* two-column hero (headline + budget calculator) */
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: center;
  text-align: left;
}

.hero-grid .hero2 { text-align: left; padding: 0; }
.hero-grid .hero2 .lead { margin: 22px 0 0; text-align: left; }

.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.hero-stats .statnum { font-size: 28px; }

/* dark budget-calculator card used in the hero */
.hero-calc {
  min-width: 0;
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 30px 80px -30px rgba(232,51,110,.45);
}
.hero-calc .budgcalc { background: transparent; border: none; padding: 0; }
.hero-calc .label { color: #9A9AA0; }
.hero-calc .inp {
  background: #1F1F23;
  border-color: #2A2A2E;
  color: #fff;
}
.hero-calc .inp::placeholder { color: #6E6E74; }
.hero-calc .bc-cat, .hero-calc .bc-total { border-color: #2A2A2E; }
.hero-calc .bc-bar { background: #2A2A2E; }
.hero-calc .bc-bar-fill { background: var(--gold); }
.hero-calc .bc-bar-tick { background: #6E6E74; }
.hero-calc .bc-slider { background: #3A3A3F; }
.hero-calc .bc-supcard { border-color: #2A2A2E; color: #fff; }
.hero-calc .btn-navy { background: var(--gold); border-color: var(--gold); }
.hero-calc .btn-navy:hover { background: #FF4F8B; border-color: #FF4F8B; }
/* The hero card is always narrow regardless of viewport width, so the category grid's
   viewport-width media queries (meant for the full-width standalone calculator) don't apply
   here — force a single column so labels never wrap into a multi-line, oversized row. */
.hero-calc .bc-categories { grid-template-columns: 1fr; }

/* ── Compact category read-out (homepage hero calculator) ───── */
.bc-compact-row { margin-bottom: 12px; }
.bc-compact-row:last-child { margin-bottom: 0; }
.bc-compact-chip {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: #F2F2EF;
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bc-compact-row .bc-bar { margin-top: 6px; }
.bc-compact-slider { margin: 6px 0 0; }

.bc-locked {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bc-locked-btn {
  padding: 9px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--navy);
  font: 600 12.5px 'Plus Jakarta Sans', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.bc-locked-btn:hover { border-color: var(--gold); color: var(--gold); }

.hero-calc .bc-compact-chip { background: #1F1F23; color: #FF7FA9; }
.hero-calc .bc-locked { border-color: #3A3A3F; }
.hero-calc .bc-locked-btn { border-color: #3A3A3F; color: #fff; }
.hero-calc .bc-locked-btn:hover { border-color: var(--gold); color: #FF7FA9; }

/* verified-suppliers checklist strip */
.verify-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.verify-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  gap: 14px 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.verify-kick {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.verify-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}
.verify-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cream2);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* stat strip */
.statstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin: 48px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statcell {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.statcell:last-child { border-right: none; }

.statnum {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  color: var(--navy);
  letter-spacing: -.02em;
}

.statlbl {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* section wrapper */
.lsec { padding: 80px 0; }

.lsec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.lsec-kick {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.lsec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-top: 10px;
  max-width: 20ch;
}

/* four-tile feature grid ("three tools that replace the spreadsheet…") */
.featgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.feattile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 230px;
  transition: border-color .15s;
}
.feattile:hover { border-color: var(--gold); }
.feattile .feat-n { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.feattile .feat-title { font-family: var(--serif); font-size: 26px; line-height: 1.1; letter-spacing: -.01em; }
.feattile .feat-body { font-size: 14.5px; line-height: 1.55; color: #4A4A50; }
.feattile .feat-tag { margin-top: auto; font-size: 13px; font-weight: 600; }

/* role index list */
.roleidx { border-top: 1px solid var(--navy); }

.roleitem {
  display: grid;
  grid-template-columns: 64px 1fr 2fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding-left .2s, background .2s;
  text-decoration: none;
  color: inherit;
}
.roleitem:hover { background: #fff; padding-left: 20px; }

.roleno {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
}

.roletitle {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -.01em;
}

.roledesc { font-size: 14.5px; color: #4A4A50; line-height: 1.55; }

.rolearrow { font-size: 20px; color: var(--gold); opacity: 0; transition: opacity .2s, transform .2s; }
.roleitem:hover .rolearrow { opacity: 1; transform: translateX(4px); }

/* how it works dark band */
.howband { background: var(--navy); color: #fff; }

.howgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }

.howstep { border-top: 1px solid #2A2A2E; padding-top: 18px; }

.howno {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.howt { font-weight: 700; font-size: 17px; margin-top: 14px; color: #fff; }
.howd { font-size: 14px; color: #B4B4BA; line-height: 1.55; margin-top: 8px; }

/* featured supplier cards */
.featimg {
  height: 200px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  background: linear-gradient(160deg, var(--navy2), var(--navy));
}

/* testimonials quote grid */
.qgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.qcard { position: relative; padding-top: 8px; }

.qmark {
  font-family: var(--serif);
  font-size: 70px;
  line-height: .6;
  color: var(--gold);
  height: 42px;
  display: block;
}

/* CTA dark section */
.cta2 {
  background: var(--navy2);
  color: #fff;
  text-align: center;
  padding: 96px 48px;
}

/* landing footer */
.lfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  background: var(--navy);
  flex-wrap: wrap;
  gap: 12px;
}

.lsp { letter-spacing: .14em; }
.lsp2 { letter-spacing: .04em; }
.upper { text-transform: uppercase; }
.nowrap { white-space: nowrap; }
.pointer { cursor: pointer; }
.gap32 { gap: 32px; }

/* progress bar (used in budget views) */
.bar { height: 7px; background: #F2F2EF; border-radius: 99px; overflow: hidden; }
.barfill { height: 100%; background: var(--gold); border-radius: 99px; }
.barfill.over { background: var(--warn); }

/* scroll anchor offset */
.scroll-mt { scroll-margin-top: 84px; }

/* ── Budget calculator ────────────────────────────────────────
   Bullet-style bars: a filled bar for the current amount, a thin
   tick for the original suggestion/budget so the delta is visible
   without a separate chart. */
.budgcalc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }

.bc-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 28px; align-items: start; margin-top: 22px; }
.bc-cat { padding: 18px 0 20px; border-bottom: 1px solid var(--cream); break-inside: avoid; }

/* ── Total-budget gauge (semicircle) ─────────────────────────
   Path uses pathLength="100" so stroke-dasharray/offset can be driven
   directly as a 0–100 percentage, independent of actual arc geometry. */
.bc-gauge { position: relative; max-width: 320px; margin: 0 auto; }
.bc-gauge-svg { display: block; width: 100%; overflow: visible; }
.bc-gauge-track {
  fill: none;
  stroke: #F2F2EF;
  stroke-width: 14;
  stroke-linecap: round;
}
.bc-gauge-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dasharray .25s ease;
}
.bc-gauge-marker {
  fill: #fff;
  stroke: var(--navy);
  stroke-width: 3;
  transition: cx .25s ease, cy .25s ease;
}
.bc-gauge-center {
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}


@media (max-width: 1100px) {
  .bc-categories { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .bc-categories { grid-template-columns: 1fr; }
}

.bc-bar { position: relative; height: 10px; background: #F2F2EF; border-radius: 99px; overflow: visible; margin: 6px 0; }
.bc-bar-sm { height: 8px; }
.bc-bar-fill { height: 100%; background: var(--navy); border-radius: 99px; transition: width .12s ease; }
.bc-total .bc-bar-fill { background: var(--gold); }
.bc-bar-fill.over { background: var(--warn); }
.bc-bar-tick.baseline { background: var(--gold); width: 3px; }

/* ── Plan & budget: baseline / current / committed tiles + deltas ─── */
.bc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bc-tile { background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.bc-delta-up { color: var(--warn); font-weight: 600; }
.bc-delta-down { color: var(--ok); font-weight: 600; }
@media (max-width: 700px) { .bc-tiles { grid-template-columns: 1fr; } }
.bc-bar-tick { position: absolute; top: -3px; width: 2px; height: 16px; background: var(--navy); border-radius: 1px; transform: translateX(-1px); }
.bc-total .bc-bar-tick { background: var(--gold2); }

.bc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--line);
  border-radius: 99px;
  margin: 10px 0 4px;
}
.bc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  cursor: pointer;
}
.bc-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
  cursor: pointer;
}

.bc-suppliers { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.bc-supcard {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color .12s ease;
}
.bc-supcard:hover { border-color: var(--gold); }

/* ── Collapsible sections (suppliers-that-fit, add category) ───── */
.bc-suppliers-toggle summary {
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
}
.bc-suppliers-toggle summary::-webkit-details-marker { display: none; }
.bc-suppliers-toggle summary::before { content: '▸ '; color: var(--gold); }
.bc-suppliers-toggle[open] summary::before { content: '▾ '; }
.bc-suppliers-toggle summary:hover { color: var(--gold); }

@media (max-width: 600px) {
  .budgcalc { padding: 16px; }
}

/* ── Auth pages ────────────────────────────────────────────── */
.signwrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 24px;
}

.signbox {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.signcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px;
  width: 100%;
  max-width: clamp(440px, 42vw, 780px);
  box-shadow: var(--shadow-lg);
}

.back-home-link {
  position: absolute;
  top: 24px;
  left: 24px;
}

.signbox .logo {
  text-align: center;
  margin-bottom: 28px;
}

.signbox .logotype {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

/* split-screen login: dark brand panel + form panel */
.authsplit {
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
.authbrand {
  background: var(--navy);
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.authbrand .authtag {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
  max-width: 16ch;
}
.authbrand .authtag em { font-style: italic; color: #FF7FA9; }
.authbrand-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.authbrand-pill {
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid #2A2A2E;
  font-size: 13px;
  color: #B4B4BA;
}
.authform-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

/* ── Messaging ─────────────────────────────────────────────── */
/* .page-flush: lets a page fill exactly the space below the topbar (whatever
   its rendered height is) with no page-level scroll — only the panels inside
   scroll. Used by Messages so the composer is never pushed below the fold. */
.shell:has(.page-flush) { height: 100vh; }
.shell:has(.page-flush) .main { overflow: hidden; }
.page.page-flush {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.msgwrap {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.threadcol {
  width: 280px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  overflow-y: auto;
  background: #fff;
}

.threaditem {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .12s;
  display: block;
}

.threaditem:hover { background: var(--cream); }
.threaditem.on    { background: var(--cream2); border-left: 3px solid var(--gold); }

.unreaddot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.convcol {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
}

.convhd {
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.convbody {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  max-width: 60%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}

.bubble.me {
  background: var(--navy);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

.bubble.them {
  background: #fff;
  border: 1px solid var(--line);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}

.msgtime {
  font-size: 10px;
  opacity: .55;
  margin-top: 4px;
}

.composer {
  padding: 14px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.composer .inp { flex: 1; }

.emptyconv {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
  font-style: italic;
}

/* ── Microsite / public wedding page ───────────────────────── */
.msite { min-height: 100vh; }

.msitehero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  color: #fff;
}

.msitehero .btn-gold {
  background: var(--gold);
  border: none;
  color: #fff;
  padding: 12px 32px;
  font-size: 13px;
  letter-spacing: .12em;
  border-radius: 8px;
}

.msitebody {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px;
}

/* ── Supplier category icons ───────────────────────────────── */
.cat-ico {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: rgba(255,255,255,.9);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Star rating ───────────────────────────────────────────── */
.stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; }

/* ── Category browse tiles (Find suppliers) — same card language
   as .sup-card / _SupplierCard, so categories and results feel
   like one continuous browsing experience ─────────────────── */
.cattile {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow .2s, border-color .2s;
}
.cattile:hover { box-shadow: var(--shadow-lg); border-color: var(--gold); }
.cattile-abbr {
  font-size: 22px !important;
  min-width: 64px;
  height: 64px;
  color: var(--navy) !important;
}

/* ── Signup role picker ────────────────────────────────────── */
.rolepick {
  display: block;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.rolepick:hover { border-color: var(--gold); }
.rolepick.on {
  border-color: var(--navy);
  background: var(--cream2);
}
.rolepick.on .cat-ico {
  background: var(--gold);
}

/* ── Supplier profile card on marketplace ──────────────────── */
.sup-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .2s;
  cursor: pointer;
}

.sup-card:hover { box-shadow: var(--shadow-lg); }

.sup-card-body { padding: 16px; }

/* ── Budget category list ──────────────────────────────────── */
.budg-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.budg-row:last-child { border-bottom: none; }

/* ── Program row drag handle (future) ──────────────────────── */
.prog-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.prog-row .time-chip {
  min-width: 60px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--sans);
}

/* ── Modal inner structure ─────────────────────────────────── */
.modal {
  background: #fff;
  border-radius: var(--r);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modalhd {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modalbd {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.x {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.x:hover { background: var(--cream2); }

/* ── Extra badge / utility variants ────────────────────────── */
.b-pend { background: var(--pendbg); color: var(--pend); }
.b-info { background: #F2F2EF; color: var(--muted); }
.star   { color: var(--gold); font-size: 15px; letter-spacing: 1px; }

/* table row actions */
.rowact { display: flex; gap: 10px; justify-content: flex-end; }

/* inline text links */
.lnk { cursor: pointer; font-weight: 600; font-size: 12.5px; color: var(--navy); background: none; border: none; }
.lnk:hover { color: var(--gold); text-decoration: underline; }
.lnk.del { color: var(--warn); }
.lnk.del:hover { color: var(--warn); }

/* ── Toast notifications ───────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
  max-width: 320px;
  pointer-events: auto;
}

.toast.in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Logobox (sidebar + landing) ───────────────────────────── */
.logobox {
  min-width: 42px; height: 42px;
  padding: 0 10px;
  border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  flex-shrink: 0;
}

/* ── Supplier card thumbnail ──────────────────────────────── */
.supplier-thumb {
  height: 150px;
  border-bottom: 1px solid var(--line);
  background-size: cover;
  background-position: center;
}

.supplier-thumb-watermark {
  background: var(--cream2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.supplier-thumb-watermark .wm-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  letter-spacing: .03em;
  color: var(--line);
  border: 2px solid var(--line);
  min-width: 84px;
  height: 84px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ── Landing page — featured supplier cards ─────────────────── */
.feat {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.featcard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.featcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(11,11,12,.13);
}

/* ── Couple dashboard: segmented budget bar & breakdowns ───── */
.segbar {
  display: flex;
  height: 10px;
  border-radius: 99px;
  overflow: hidden;
  background: #2A2A2E;
}
.segbar > span { display: block; height: 100%; }

.seglegend { display: flex; gap: 18px; flex-wrap: wrap; }
.seglegend-item { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #B4B4BA; }
.seglegend-dot { width: 8px; height: 8px; border-radius: 2px; display: inline-block; flex-shrink: 0; }

.todorow {
  display: grid;
  grid-template-columns: 8px minmax(0,1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #F2F2EF;
  text-decoration: none;
  color: inherit;
}
.todorow:first-child { border-top: none; }
.todorow:hover { color: var(--gold); }
.todo-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Dashboard tools grid, chips, booking rows ────────────────────── */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.tool-tile { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--navy); text-decoration: none; transition: border-color .15s, transform .15s; }
.tool-tile:hover { border-color: var(--gold); transform: translateY(-1px); color: var(--navy); }
.tool-tile .fs12 { color: var(--muted); margin-top: 2px; }
.chip { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #F2F2EF; font-size: 11.5px; font-weight: 600; color: var(--muted); vertical-align: middle; }
.chip.on { background: #FDECF2; color: #B8144D; }
.booking-row.is-closed { opacity: .7; }
.booking-row.is-target, .contract-row.is-target { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 51, 110, .15); }
.gap6 { gap: 6px; }

.rsvpbreak { display: flex; gap: 2px; height: 10px; border-radius: 99px; overflow: hidden; }
.rsvpbreak > span { display: block; height: 100%; }

/* ── Responsive landing ────────────────────────────────────── */
@media (max-width: 960px) {
  .lnav { padding: 14px 24px; }
  .lwrap { padding: 0 24px; }
  .hero2 { padding: 56px 24px 0; }
  .hero2 .lead { font-size: 16px; }
  .hero-grid { padding: 40px 24px 32px; }
  .lsec { padding: 56px 0; }
  .lsec-title { font-size: 32px; }
  .howgrid { grid-template-columns: repeat(2, 1fr); }
  .feat, .featgrid { grid-template-columns: 1fr; }
  .qgrid { grid-template-columns: 1fr; }
  .cta2 { padding: 64px 24px; }
  .cta2 h2 { font-size: 36px !important; }
  .lfoot { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .roleitem { grid-template-columns: 48px 1fr auto; }
  .roledesc { display: none; }
  .statstrip { max-width: 100%; }
  .gap32 { gap: 20px; }
}

@media (max-width: 600px) {
  .howgrid { grid-template-columns: 1fr; }
  .roleitem { grid-template-columns: 48px 1fr auto; }
  .lsec-head { flex-direction: column; }
}

/* ── Landing UX refinements ────────────────────────────────── */
html { scroll-behavior: smooth; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 50;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 99px;
  font-weight: 600; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 12px; color: #fff; }

.land a:focus-visible, .land button:focus-visible, .land .inp:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 12px 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line);
}

.calc-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; }
.calc-presets-lbl { font-size: 12px; color: #9A9AA0; margin-right: 2px; }
.calc-preset {
  font: 600 12.5px var(--sans); color: #fff; background: #1F1F23;
  border: 1px solid #3A3A3F; border-radius: 99px; padding: 8px 14px; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.calc-preset:hover { border-color: var(--gold); color: #FF7FA9; }
.calc-preset.on { background: var(--gold); border-color: var(--gold); color: #fff; }

.feattile { transition: border-color .15s, transform .2s, box-shadow .2s; }
.feattile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feattile:hover { transform: none; }
}

@media (max-width: 640px) {
  .lnav-opt { display: none; }
  .lnav { padding: 12px 16px; }
  .lnav-r { gap: 14px; }
  .hero-grid { padding: 32px 16px 24px; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
  .hero-stats .statnum { font-size: 22px; }
  .hero-stats .statlbl { letter-spacing: .08em; }
  .hero2 .btn, .hero-grid .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
  .hero-calc { padding: 20px; border-radius: 20px; }
  .lsec-title { max-width: none; }
}

/* ── Scrollbar styling (WebKit) ────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ── Guide mockups (illustrative UI snippets on Help pages) ─── */
.mock-frame {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  margin: 14px 0;
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--cream2);
  border-bottom: 1px solid var(--line);
}
.mock-chrome span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
  display: inline-block;
}
.mock-body { padding: 16px; }
.mock-label {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.mock-input {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 12.5px;
  color: #444;
  background: var(--cream);
  margin-bottom: 10px;
}
.mock-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  margin-right: 8px;
}
.mock-btn-gold { background: var(--gold); color: #fff; }
.mock-btn-navy { background: var(--navy); color: #fff; }
.mock-btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.mock-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
}
.mock-badge-ok { background: #e5f5ec; color: var(--ok); }
.mock-badge-pend { background: #f7f0d8; color: var(--pend); }
.mock-badge-neutral { background: #F2F2EF; color: var(--muted); }
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.mock-row:first-child { border-top: none; }
.mock-thumb {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--cream2);
  flex-shrink: 0;
}
.step-list { counter-reset: step; list-style: none; padding: 0; margin: 12px 0 0; }
.step-list > li {
  counter-increment: step;
  position: relative;
  padding: 2px 0 14px 34px;
  font-size: 13.5px;
  line-height: 1.6;
}
.step-list > li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list > li:last-child { padding-bottom: 0; }

/* ── Legal pages (Terms, Privacy) ─────────────────────────────────────────────
   Long-form prose, so the measure is narrower than .lwrap and the rhythm is
   looser than the marketing pages. */
.legal { max-width: 760px; margin: 0 auto; padding: 0 24px 80px; }
.legal-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  padding: 16px 20px; margin-bottom: 40px;
  background: var(--cream2); border-radius: 10px;
  font-size: 13px; color: var(--muted);
}
.legal h2 {
  font-family: 'Playfair Display', serif; font-weight: 700; color: var(--navy);
  font-size: 24px; line-height: 1.25; margin: 48px 0 4px; scroll-margin-top: 24px;
}
.legal h2:first-of-type { margin-top: 8px; }
.legal h3 {
  font-size: 15px; font-weight: 700; color: var(--navy); margin: 26px 0 6px;
}
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: #3d3d45; }
.legal p { margin: 10px 0; }
.legal ul, .legal ol { margin: 10px 0 10px 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--gold); font-weight: 600; }
.legal strong { color: var(--navy); }
.legal .callout {
  border-left: 3px solid var(--gold); background: var(--cream);
  padding: 14px 18px; margin: 18px 0; border-radius: 0 8px 8px 0;
}
.legal .callout p { margin: 0; }
.legal-toc {
  columns: 2; column-gap: 32px; margin: 0 0 8px; padding: 0; list-style: none;
}
.legal-toc li { margin: 4px 0; break-inside: avoid; }
.legal-toc a { color: var(--navy); font-weight: 600; font-size: 14px; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.legal-table th, .legal-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top;
}
.legal-table th { color: var(--navy); font-weight: 700; }
@media (max-width: 720px) {
  .legal { padding: 0 16px 60px; }
  .legal-toc { columns: 1; }
}

/* ============================================================
   UX pass — Oct 2026: accessibility, onboarding, empty states
   ============================================================ */

/* ── Accessibility ─────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:where(a, button, summary, [tabindex]):focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 8px;
}
.btn:focus-visible { border-radius: 999px; }
.inp:focus { box-shadow: 0 0 0 3px rgba(232,51,110,.14); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
}

/* ── Getting-started checklist (couple dashboard) ──────────── */
.onboard { border-color: rgba(232,51,110,.28); background: linear-gradient(180deg, #fff 0%, #FFF8FB 100%); }
.onboard-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.onboard-meter { width: 220px; max-width: 100%; height: 8px; border-radius: 99px; background: var(--cream2); overflow: hidden; }
.onboard-meter span { display: block; height: 100%; background: var(--gold); border-radius: inherit; transition: width .4s; }
.onboard-steps {
  list-style: none; margin-top: 18px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px;
}
.onboard-steps a {
  display: flex; align-items: flex-start; gap: 12px; height: 100%;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--navy); text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.onboard-steps a:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: var(--shadow); color: var(--navy); }
.onboard-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.onboard-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid #CFCFCB; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff; margin-top: 1px;
}
.onboard-steps li.done a { background: transparent; border-style: dashed; }
.onboard-steps li.done .onboard-check { background: var(--ok); border-color: var(--ok); }
.onboard-steps li.done .fs14 { color: var(--muted); text-decoration: line-through; text-decoration-color: #CFCFCB; }
.onboard-steps li.next a { border-color: var(--navy); flex-wrap: wrap; }
.onboard-steps li.next .onboard-check { border-color: var(--gold); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 11px var(--gold); }
.onboard-steps li.next .onboard-text { flex-basis: calc(100% - 34px); }
.onboard-cta { margin-left: 34px; margin-top: 2px; }

/* ── Empty states ──────────────────────────────────────────── */
.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 48px 24px;
}
.empty p { max-width: 440px; line-height: 1.55; margin-bottom: 8px; }
.empty-ico {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 6px;
  display: grid; place-items: center; font-size: 22px;
  background: var(--cream2); color: var(--gold);
}

/* ── Signup role picker — stacked rows read better than three
   cramped columns inside a 460px form ─────────────────────── */
.rolegrid { display: flex; flex-direction: column; gap: 10px; }
.rolegrid .rolepick { display: flex; align-items: center; gap: 14px; padding: 14px 16px; position: relative; }
.rolepick-text { display: flex; flex-direction: column; gap: 2px; }
.rolepick:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.rolegrid .rolepick.on::after {
  content: '✓'; margin-left: auto; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; flex-shrink: 0;
}

/* ── Collapsible code fields (signup) ──────────────────────── */
.codebox summary {
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--navy);
  list-style: none; display: inline-flex; align-items: center; gap: 6px;
}
.codebox summary::-webkit-details-marker { display: none; }
.codebox summary::before { content: '+'; color: var(--gold); font-weight: 700; width: 12px; }
.codebox[open] summary::before { content: '−'; }
.codebox-body { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--cream); }

/* ── Role-aware sign-up / sign-in ──────────────────────────────
   Each self-service role has its own accent. On sign-up the picked
   radio drives everything through :has(), so the theme survives a
   validation re-render without JS; sign-in sets data-role from the
   role last used on this device. ─────────────────────────────── */
.authsplit { --role: var(--gold); --role-soft: var(--cream2); --role-ink: #fff; }
.authsplit:has(#role-Couple:checked),   .authsplit[data-role="Couple"]   { --role: #E8336E; --role-soft: #FDECF2; }
.authsplit:has(#role-Supplier:checked), .authsplit[data-role="Supplier"] { --role: #1F7A68; --role-soft: #E3F3EF; }
.authsplit:has(#role-Guest:checked),    .authsplit[data-role="Guest"]    { --role: #6A55D8; --role-soft: #EEEBFC; }

.rolepick[data-role="Couple"]   { --c: #E8336E; --c-soft: #FDECF2; }
.rolepick[data-role="Supplier"] { --c: #1F7A68; --c-soft: #E3F3EF; }
.rolepick[data-role="Guest"]    { --c: #6A55D8; --c-soft: #EEEBFC; }

/* Colour and glow are separate longhands on purpose: browsers without color-mix() (older
   Android WebViews, e.g. QR-scanner in-app browsers) drop a var()+color-mix() declaration at
   computed time. In the `background` shorthand that took the navy with it and left white text
   on the cream page; now only the glow is lost. */
.authbrand {
  background-color: var(--navy);
  background-image: radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--role) 38%, transparent), transparent 55%);
  transition: background .3s;
}
.authbrand .authtag em { color: color-mix(in srgb, var(--role) 70%, #fff); }

/* brand-panel copy per role */
.rb-panel { display: none; }
.rb-panel[data-for="none"] { display: block; }
.authsplit:has(#role-Couple:checked)   .rb-panel[data-for="Couple"],
.authsplit:has(#role-Supplier:checked) .rb-panel[data-for="Supplier"],
.authsplit:has(#role-Guest:checked)    .rb-panel[data-for="Guest"],
.authsplit[data-role="Couple"]   .rb-panel[data-for="Couple"],
.authsplit[data-role="Supplier"] .rb-panel[data-for="Supplier"],
.authsplit[data-role="Guest"]    .rb-panel[data-for="Guest"] { display: block; }
.authsplit:has(input[name="Role"]:checked) .rb-panel[data-for="none"],
.authsplit[data-role] .rb-panel[data-for="none"] { display: none; }

.rb-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 99px;
  background: var(--role); color: var(--role-ink);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.rb-ico {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.22); font-size: 14px;
}
.rb-list { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.rb-list li { display: flex; gap: 12px; align-items: center; color: #D4D4D8; font-size: 15px; }
.rb-list li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
  background: color-mix(in srgb, var(--role) 30%, transparent); color: color-mix(in srgb, var(--role) 55%, #fff);
}

/* step numbers */
.stepno {
  display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 8px;
  border-radius: 50%; background: var(--navy); color: #fff; font-size: 10px; letter-spacing: 0;
  vertical-align: 1px;
}

/* role cards — each carries its own colour; the picked one is filled */
.rolegrid .rolepick .cat-ico { background: var(--c-soft); color: var(--c); font-size: 18px; transition: background .15s, color .15s; }
.rolegrid .rolepick:hover { border-color: var(--c); }
.rolegrid .rolepick.on,
.rolegrid .rolepick:has(input:checked) { border-color: var(--c); background: var(--c-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.rolegrid .rolepick.on .cat-ico,
.rolegrid .rolepick:has(input:checked) .cat-ico { background: var(--c); color: #fff; }
.rolegrid .rolepick.on::after { background: var(--c); }

/* banner that replaces the picker once a role is chosen */
.rolebanner { display: none; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--role); color: #fff; }
.signup-form.picked .rolebanner, form.picked .rolebanner { display: flex; }
form.picked #roleStep { display: none; }
.rolebanner-inner { display: none; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.authsplit:has(#role-Couple:checked)   .rolebanner-inner[data-for="Couple"],
.authsplit:has(#role-Supplier:checked) .rolebanner-inner[data-for="Supplier"],
.authsplit:has(#role-Guest:checked)    .rolebanner-inner[data-for="Guest"],
.authsplit[data-role="Couple"]   .rolebanner-inner[data-for="Couple"],
.authsplit[data-role="Supplier"] .rolebanner-inner[data-for="Supplier"],
.authsplit[data-role="Guest"]    .rolebanner-inner[data-for="Guest"] { display: flex; }
.rolebanner-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.rolebanner-eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.rolebanner-title { font-family: var(--serif); font-size: 20px; line-height: 1.2; }
.rolebanner-change {
  background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.4);
  border-radius: 99px; padding: 6px 14px; font: 600 12.5px var(--sans); cursor: pointer;
}
.rolebanner-change:hover { background: rgba(255,255,255,.28); }
.rolebanner-change:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* the rest of the form waits for a role (only where :has is supported, so nothing gets stuck) */
.signup-hint { display: none; }
@supports selector(:has(*)) {
  form:not(:has(input[name="Role"]:checked)) .signup-fields { display: none; }
  form:not(:has(input[name="Role"]:checked)) .signup-hint { display: block; }
}
/* the CTA wears the role colour too */
form:has(input[name="Role"]:checked) #signupCta { background: var(--role); border-color: var(--role); }
form:has(input[name="Role"]:checked) #signupCta:hover { filter: brightness(.92); }
.authsplit[data-role] #signupCta { background: var(--role); border-color: var(--role); }

/* sign-in: one form for every role; the last-used role is highlighted */
.signin-roles { display: flex; gap: 8px; flex-wrap: wrap; margin: -8px 0 24px; }
.signin-role {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 6px;
  border: 1px solid var(--line); border-radius: 99px; font-size: 12.5px; color: var(--muted); background: #fff;
}
.signin-role .sr-dot { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--c-soft); color: var(--c); }
.signin-role[data-role="Couple"]   { --c: #E8336E; --c-soft: #FDECF2; }
.signin-role[data-role="Supplier"] { --c: #1F7A68; --c-soft: #E3F3EF; }
.signin-role[data-role="Guest"]    { --c: #6A55D8; --c-soft: #EEEBFC; }
.signin-role.on { border-color: var(--c); background: var(--c-soft); color: var(--navy); font-weight: 600; }
.signin-role.on .sr-dot { background: var(--c); color: #fff; }
.signin-role .sr-last { display: none; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.signin-role.on .sr-last { display: inline; }
.authsplit[data-role] #signinCta { background: var(--role); border-color: var(--role); }

/* phones: the brand panel was a full screen of its own, pushing the form below the fold.
   Keep it as a short role-coloured header; the in-form banner carries the role from there. */
@media (max-width: 760px) {
  .authsplit { grid-template-columns: 1fr; }
  .authbrand { min-height: 0; padding: 20px 20px 24px; gap: 16px; }
  .authbrand > .fs13:last-child, .authbrand-pills, .rb-list { display: none; }
  .authbrand .authtag { font-size: 28px; }
  .rb-badge { font-size: 12px; }
  .authform-wrap { padding: 8px 4px 32px; align-items: flex-start; }
  .authform-wrap .signcard { padding: 24px 16px; }
}

/* ── Portal navigation: grouped dropdowns, drawer, jump-to ─── */
.topnav-pills { overflow: visible; }
.navgroup { position: relative; }
.navgroup-btn .navgroup-caret, .userchip .navgroup-caret { opacity: .55; transition: transform .15s; }
.navgroup.open .navgroup-caret { transform: rotate(180deg); }
.topnav-pill.on.navgroup-btn { background: var(--navy); color: #fff; }
.navgroup.open > .navgroup-btn:not(.on) { background: var(--cream); }

.navmenu {
  display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg); padding: 6px; z-index: 40;
}
.navmenu-right { left: auto; right: 0; }
.navgroup.open > .navmenu { display: block; animation: navpop .12s ease-out; }
@keyframes navpop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.navmenu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
  padding: 10px 12px; border-radius: 10px; font: 500 13.5px var(--sans); color: var(--navy);
  text-decoration: none; background: none; border: none; cursor: pointer; text-align: left;
}
.navmenu-item:hover, .navmenu-item:focus-visible { background: var(--cream); color: var(--navy); outline: none; }
.navmenu-item.on { background: var(--cream2); color: var(--warn); font-weight: 700; }
.navmenu-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.navmenu-who { padding: 10px 12px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.navmenu-signout { color: var(--warn); }

.userchip { background: #fff; font-family: var(--sans); }
.userchip-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.navjump {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #4A4A50;
  font: 500 13px var(--sans); cursor: pointer;
}
.navjump:hover { border-color: var(--gold); color: var(--navy); }
.navjump kbd { font: 600 10.5px var(--sans); color: var(--muted); background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }

.topnav-burger {
  display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); align-items: center; justify-content: center; cursor: pointer;
}

.crumb { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin-bottom: 6px; }

body.nav-locked { overflow: hidden; }
.navdrawer[hidden], .navpalette[hidden] { display: none; }
.navdrawer, .navpalette { position: fixed; inset: 0; z-index: 60; }
.navdrawer-scrim, .navpalette-scrim { position: absolute; inset: 0; background: rgba(11,11,12,.45); }
.navdrawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff;
  padding: 18px 16px 28px; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.navdrawer-x { border: none; background: var(--cream); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.navdrawer-h { margin: 18px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.navdrawer-link {
  display: flex; justify-content: space-between; align-items: center; padding: 12px 10px;
  border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--navy); text-decoration: none;
}
.navdrawer-link:hover { background: var(--cream); color: var(--navy); }
.navdrawer-link.on { background: var(--cream2); color: var(--warn); font-weight: 700; }

.navpalette-box {
  position: relative; width: min(560px, calc(100vw - 32px)); margin: 12vh auto 0; background: #fff;
  border-radius: 18px; box-shadow: var(--shadow-lg); padding: 14px; max-height: 70vh; display: flex; flex-direction: column;
}
.navpalette-list { list-style: none; margin: 10px 0 0; padding: 0; overflow-y: auto; }
.navpalette-list a {
  display: flex; justify-content: space-between; align-items: center; padding: 11px 12px;
  border-radius: 10px; color: var(--navy); text-decoration: none; font-weight: 500; font-size: 14px;
}
.navpalette-list a:hover, .navpalette-list a.active { background: var(--cream2); color: var(--warn); }
.navpalette-empty { padding: 14px 12px; }

@media (max-width: 1100px) { .navjump kbd, .navjump-txt { display: none; } .navjump { width: 40px; padding: 0; justify-content: center; } }
@media (max-width: 900px) {
  .topnav-burger { display: inline-flex; }
  .topnav-pills, .userchip-name, .topnav-rolelabel { display: none; }
  .topnav-inner { padding: 10px 16px; gap: 12px; }
  .pageheadbar { padding: 18px 16px 0; }
  .page { padding-left: 16px; padding-right: 16px; }
}

/* ── Couple-entered suppliers on the budget ────────────────── */
.extsup { border-top: 1px dashed var(--line); padding-top: 12px; }
.extsup-row { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.extsup-row:last-of-type { border-bottom: none; }
.extsup-edit summary { cursor: pointer; list-style: none; }
.extsup-pop { margin-top: 10px; padding: 14px; background: var(--cream); border-radius: var(--r-sm); }
.extsup-edit[open] { flex-basis: 100%; order: 5; }
.extsup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.extsup-wide { grid-column: 1 / -1; }

/* ── Shared UX layer (all modules) ─────────────────────────── */
.pagetitle { margin: 0; line-height: 1.15; }
.pageheadbar { padding-bottom: 4px; }

/* Messages: closable, and errors stay put */
.flash { position: relative; padding-right: 40px; }
.flash-x {
  position: absolute; top: 8px; right: 10px; width: 24px; height: 24px; border: none; border-radius: 50%;
  background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; opacity: .6;
}
.flash-x:hover { opacity: 1; background: rgba(0,0,0,.06); }

/* Tables scroll inside their own box on narrow screens */
.tbl-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-wrap > .tbl { min-width: 560px; }
.card > .tbl-wrap { margin: 0; }

/* Required fields are marked, without touching every view */
.field:has(.inp:required, select:required) > .label::after,
.field:has(input:required) > .label:first-child::after { content: ' *'; color: var(--gold); font-weight: 700; }
.field > .label .muted::after { content: none; }

/* Buttons feel pressed, and disabled ones say so */
.btn { transition: background .15s, border-color .15s, color .15s, transform .08s, box-shadow .15s; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { cursor: progress; }
.btn-danger { background: var(--warn); color: #fff; border-color: var(--warn); }
.btn-danger:hover { background: #8F0F3B; border-color: #8F0F3B; }

/* Cards that are links or hold links respond to hover */
a.card, .card.cattile { transition: border-color .15s, box-shadow .2s, transform .2s; }
a.card:hover, .card.cattile:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }

/* In-app confirm dialog */
.mwn-dialog { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.mwn-dialog-scrim { position: absolute; inset: 0; background: rgba(11,11,12,.5); animation: dlgfade .15s ease-out; }
.mwn-dialog-box {
  position: relative; width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 24px;
  box-shadow: var(--shadow-lg); animation: dlgpop .16s ease-out;
}
.mwn-dialog-msg { font-size: 15px; line-height: 1.5; color: var(--navy); margin-bottom: 20px; }
.mwn-dialog-act { display: flex; justify-content: flex-end; gap: 8px; }
@keyframes dlgfade { from { opacity: 0; } to { opacity: 1; } }
@keyframes dlgpop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mwn-dialog-scrim, .mwn-dialog-box, .navgroup.open > .navmenu { animation: none; }
  .btn, a.card { transition: none; }
}

/* Keep keyboard focus visible everywhere */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#pagemain:focus { outline: none; }

/* Collapsible sections ("+ Add …") read as controls */
details.bc-suppliers-toggle > summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details.bc-suppliers-toggle > summary:hover { color: var(--gold); }

/* Two-column cards with an inline column ratio must still stack on narrow screens. */
@media (max-width: 760px) {
  .grid2[style*="grid-template-columns"], .grid3[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* ── Budget page: filters, folded categories, sticky totals ── */
.bc-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bc-search { max-width: 240px; padding: 8px 12px; font-size: 13px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); font: 600 12.5px var(--sans); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.chip-btn span { font-weight: 700; color: var(--muted); }
.chip-btn:hover { border-color: var(--navy); }
.chip-btn.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-btn.on span { color: #FF7FA9; }
.chip-btn.warn:not(.on) { border-color: rgba(184,20,77,.35); color: var(--warn); }
.chip-btn.warn:not(.on) span { color: var(--warn); }

.bc-unplanned > summary {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; list-style: none;
  padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r); background: #fff;
}
.bc-unplanned > summary::-webkit-details-marker { display: none; }
.bc-unplanned > summary::before { content: '▸'; color: var(--muted); transition: transform .15s; }
.bc-unplanned[open] > summary::before { transform: rotate(90deg); }
.bc-unplanned[open] > summary { border-style: solid; }

.bc-sticky {
  position: fixed; top: 64px; left: 50%; z-index: 15; transform: translate(-50%, -140%);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding: 9px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px;
  box-shadow: var(--shadow-lg); transition: transform .25s ease; pointer-events: none; max-width: calc(100vw - 24px);
}
.bc-sticky .muted { color: #B4B4BA; }
.bc-sticky.show { transform: translate(-50%, 0); }
@media (max-width: 900px) { .bc-sticky { top: 58px; font-size: 12px; padding: 8px 14px; } }
@media (prefers-reduced-motion: reduce) { .bc-sticky { transition: none; } }

/* Sortable headers + list filter */
.th-sort { cursor: pointer; user-select: none; white-space: nowrap; }
.th-sort::after { content: ' ↕'; opacity: .25; font-size: 11px; }
.th-sort:hover::after { opacity: .6; }
.th-sort[data-dir=asc]::after { content: ' ↑'; opacity: 1; color: var(--gold); }
.th-sort[data-dir=desc]::after { content: ' ↓'; opacity: 1; color: var(--gold); }
.tbl-filter { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.tbl-filter .inp { max-width: 280px; padding: 8px 12px; font-size: 13px; }

/* Grid cells may shrink below their content, so a wide table scrolls instead of widening the page. */
.grid2 > *, .grid3 > *, .grid4 > *, .card { min-width: 0; }
.tbl-wrap { max-width: 100%; }
@media (max-width: 760px) {
  .fx:has(> .btn), .fx:has(> form > .btn) { flex-wrap: wrap; }
}

/* Promo codes on the Payments pages */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.promo-pay-form { display: flex; gap: 8px; flex-wrap: wrap; }
.promo-pay-form .inp { flex: 1; min-width: 180px; text-transform: uppercase; letter-spacing: .06em; }
.promo-pay-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.promo-pay-list li { padding: 11px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.promo-pay { scroll-margin-top: 90px; }

/* Visually-hidden text inside a table cell is positioned absolutely; contain it in the scroller so it can't widen the page. */
.tbl-wrap { position: relative; }

/* ── About & How it works pages (pg-*) ─────────────────────── */
.lnav-link { white-space: nowrap; }
.pg-hero {
  max-width: 1200px; margin: 0 auto; padding: 64px 48px 56px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.pg-hero-center { grid-template-columns: 1fr; text-align: center; gap: 36px; padding-bottom: 24px; }
.pg-hero-center .pg-lead { margin-left: auto; margin-right: auto; }
.pg-h1 { font-weight: 400; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.025em; margin: 22px 0 0; }
.pg-hero-center .pg-h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.pg-lead { font-size: 18px; line-height: 1.6; color: #4A4A50; max-width: 54ch; margin: 22px 0 0; }

/* "before MWN → one portal" card */
.pg-swap {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px;
  box-shadow: var(--shadow-lg);
}
.pg-swap-lbl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pg-swap-old { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.pg-swap-old li {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--cream); color: #6E6E74; font-size: 14.5px;
  text-decoration: line-through; text-decoration-color: rgba(232, 51, 110, .55);
}
.pg-swap-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.pg-swap-arrow { text-align: center; color: var(--gold); font-size: 22px; margin: 10px 0; }
.pg-swap-new { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--navy); color: #fff; }
.pg-swap-new .logobox { flex: none; }
.pg-swap-new-t { font-family: var(--serif); font-size: 22px; }
.pg-swap-new-d { font-size: 13.5px; color: #B4B4BA; margin-top: 2px; line-height: 1.5; }

/* mission pull quote */
.pg-mission { max-width: 880px; margin: 0 auto; text-align: center; }
.pg-quote { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.3; letter-spacing: -.01em; color: var(--navy); margin: 18px 0 0; }

/* soft pink band behind a section */
.pg-band { background: linear-gradient(180deg, #fff 0%, var(--cream2) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* card grids */
.pg-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pg-card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none;
  transition: border-color .15s, transform .2s, box-shadow .2s;
}
.pg-card-link:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.pg-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--cream2); color: var(--gold); font-size: 20px; }
.pg-card-t { font-family: var(--serif); font-size: 26px; color: var(--navy); margin-top: 6px; }
.pg-card-d { font-size: 14.5px; line-height: 1.55; color: #4A4A50; }
.pg-card-go { margin-top: auto; padding-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--warn); }

/* values */
.pg-values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.pg-value { padding: 28px 28px 8px 0; }
.pg-value + .pg-value { padding-left: 28px; border-left: 1px solid var(--line); }
.pg-value-n { font-size: 15px; color: var(--gold); }
.pg-value-t { font-size: 28px; line-height: 1.12; color: var(--navy); margin-top: 14px; letter-spacing: -.01em; }
.pg-value-d { font-size: 14.5px; line-height: 1.6; color: #4A4A50; margin: 12px 0 0; }

/* step jump list */
.pg-jump { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pg-jump a {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: border-color .15s;
}
.pg-jump a:hover { border-color: var(--gold); }
.pg-jump-n { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-size: 12.5px; }

/* step timeline */
.pg-steps { padding-top: 40px; }
.pg-step { display: grid; grid-template-columns: 72px 1fr 380px; gap: 32px; align-items: start; scroll-margin-top: 90px; }
.pg-step-rail { position: relative; align-self: stretch; display: flex; justify-content: center; }
.pg-step-rail::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line); }
.pg-step:first-child .pg-step-rail::before { top: 28px; }
.pg-step:last-child .pg-step-rail::before { bottom: auto; height: 28px; }
.pg-step-n {
  position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 1px solid var(--gold); color: var(--gold); font-size: 26px;
}
.pg-step-body { padding: 6px 0 56px; }
.pg-step-t { font-weight: 400; font-size: 36px; line-height: 1.08; letter-spacing: -.015em; color: var(--navy); margin: 10px 0 0; }
.pg-step-d { font-size: 16px; line-height: 1.65; color: #4A4A50; margin: 14px 0 0; max-width: 52ch; }
.pg-step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); margin-bottom: 56px; }
.pg-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: var(--cream2); color: var(--warn); font-size: 13px; font-weight: 700; }
.pg-chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.pg-ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.pg-ticks li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.pg-ticks li::before {
  content: '\2713'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700;
}
.pg-ticks-lg { margin: 0; gap: 14px; }
.pg-ticks-lg li { font-size: 16px; padding: 14px 16px 14px 46px; background: var(--cream); border-radius: var(--r-sm); }
.pg-ticks-lg li::before { left: 16px; top: 16px; }

/* role tabs */
.pg-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 99px; }
.pg-tab {
  font: 600 14px var(--sans); color: var(--muted); background: transparent; border: 0; border-radius: 99px;
  padding: 10px 20px; cursor: pointer; transition: background .15s, color .15s;
}
.pg-tab:hover { color: var(--navy); }
.pg-tab.on { background: var(--navy); color: #fff; }
.pg-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pg-panel {
  margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px;
}
.pg-panel[hidden] { display: none; }
.pg-panel-t { font-size: 36px; color: var(--navy); letter-spacing: -.015em; }
.pg-panel-d { font-size: 16px; line-height: 1.65; color: #4A4A50; margin: 12px 0 0; }

/* FAQ */
.pg-faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.pg-faq { border-top: 1px solid var(--navy); }
.pg-faq details { border-bottom: 1px solid var(--line); }
.pg-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-family: var(--serif); font-size: 22px; color: var(--navy);
}
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: '+'; flex: none; font-family: var(--sans); font-size: 22px; color: var(--gold); transition: transform .2s; }
.pg-faq details[open] summary::after { transform: rotate(45deg); }
.pg-faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pg-faq details p { margin: 0; padding: 0 4px 22px; font-size: 15px; line-height: 1.65; color: #4A4A50; max-width: 62ch; }

@media (max-width: 960px) {
  .pg-hero { grid-template-columns: 1fr; padding: 44px 24px 40px; gap: 36px; }
  .pg-hero-center { padding-bottom: 16px; }
  .pg-lead { font-size: 16px; }
  .pg-values { grid-template-columns: 1fr; }
  .pg-value, .pg-value + .pg-value { padding: 24px 0; border-left: 0; }
  .pg-value + .pg-value { border-top: 1px solid var(--line); }
  .pg-step { grid-template-columns: 56px 1fr; gap: 0 20px; }
  .pg-step-rail { grid-row: span 2; }
  .pg-step-n { width: 44px; height: 44px; font-size: 20px; }
  .pg-step-body { padding-bottom: 20px; }
  .pg-step-card { grid-column: 2; margin-bottom: 48px; }
  .pg-step-t { font-size: 28px; }
  .pg-panel { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .pg-panel-t { font-size: 28px; }
  .pg-faq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .pg-faq summary { font-size: 19px; }
}
@media (max-width: 600px) {
  .pg-tabs { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; width: 100%; }
  .pg-tab { padding: 10px 12px; }
  .pg-jump { justify-content: flex-start; }
  .pg-swap { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pg-card-link:hover { transform: none; }
}

/* Signup: the partner field is for couples only. */
.authsplit:not(:has(#role-Couple:checked)) #couplePartner { display: none; }
@supports not selector(:has(*)) {
  .authsplit:not([data-role="Couple"]) #couplePartner { display: none; }
}
.onboard-inline { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 14px; border: 1px solid var(--navy); border-radius: var(--r-sm); background: #fff; }
.onboard-inline .onboard-check { border-color: var(--gold); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 11px var(--gold); }
.onboard-inline .inp { flex: 1 1 140px; min-width: 0; height: 36px; }


/* ── Warm auth brand panel (sign-up and sign-in) ─────────────────
   Blush ground with a floral sprig instead of solid black. Role accents still tint the glow
   from the rules above; text colours are set here as plain values so a browser without
   :has() or color-mix() still gets readable ink on blush. ───────── */
.authbrand {
  background-color: #FDECF2;
  color: #0B0B0C;
  position: relative;
  overflow: hidden;
}
.authbrand::before {
  content: ''; position: absolute; top: 0; right: 0; width: 220px; height: 190px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='130' viewBox='0 0 150 130' fill='none' stroke='%23E8336E' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M150 10C110 20 80 50 60 120' opacity='.5'/%3E%3Cpath d='M126 24C112 24 106 34 112 44 124 44 130 34 126 24Z' fill='%23F7B6CB' stroke='none'/%3E%3Cpath d='M100 52C86 54 82 66 90 74 102 70 106 60 100 52Z' fill='%23F7B6CB' stroke='none'/%3E%3Cpath d='M82 84C70 88 68 100 76 106 86 100 90 92 82 84Z' fill='%23F7B6CB' stroke='none'/%3E%3Ccircle cx='140' cy='46' r='9' fill='%23FBD4E1' stroke='none'/%3E%3Ccircle cx='140' cy='46' r='3.5' fill='%23E8336E' stroke='none'/%3E%3Ccircle cx='120' cy='84' r='7' fill='%23FBD4E1' stroke='none'/%3E%3Ccircle cx='120' cy='84' r='3' fill='%23E8336E' stroke='none'/%3E%3C/svg%3E") no-repeat top right / contain;
}
.authbrand > * { position: relative; z-index: 1; }
.authbrand .auth-brandlink, .authbrand .auth-brandlink:hover, .authbrand .auth-brandname { color: #0B0B0C; }
.authbrand .auth-logo { color: #fff; }
.authbrand .auth-copy { color: #6B5560; }
.authbrand .authtag em { color: #A8204F; }
.authsplit[data-role="Supplier"] .authbrand .authtag em, .authsplit:has(#role-Supplier:checked) .authbrand .authtag em { color: #14594A; }
.authsplit[data-role="Guest"] .authbrand .authtag em, .authsplit:has(#role-Guest:checked) .authbrand .authtag em { color: #4A38B0; }
.authbrand-pill { border-color: #F2C3D3; background: rgba(255,255,255,.6); color: #5C3A47; }
.rb-list li { color: #3A2F35; }
@media (max-width: 760px) {
  .authbrand::before { width: 150px; height: 130px; }
}
.rb-list li::before { background-color: #fff; color: var(--role); }

/* ── Photo brand panel (sign-in / sign-up) ───────────────────────
   The couple photo sits under a blush wash that is solid behind the logo and the copy and
   thins out over the faces, so the existing messages stay readable and blend into the picture. */
.authbrand--photo {
  background-color: #FDECF2;
  background-size: cover;
  background-repeat: no-repeat;
}
.authbrand--signin { background-image: url("/img/auth-signin.jpg"); background-position: 58% 20%; }
.authbrand--signup { background-image: url("/img/auth-signup.jpg"); background-position: 60% 20%; }
.authbrand--photo::before {
  inset: 0; width: auto; height: auto; background: linear-gradient(180deg,
    rgba(253,236,242,.92) 0, rgba(253,236,242,.55) 14%, rgba(253,236,242,0) 34%,
    rgba(253,236,242,0) 46%, rgba(253,236,242,.82) 66%, rgba(253,236,242,.96) 100%);
}
.authbrand--photo > .rb-panel { margin-top: auto; padding-top: 24px; }
.authbrand--photo .authbrand-pill { background: rgba(255,255,255,.78); }
@media (max-width: 760px) {
  .authbrand--photo::before { width: auto; height: auto; }
  .authbrand--photo { background-position: 60% 15%; }
}
