
:root {
  --bg: #0b0b0d;
  --bg2: #121216;
  --panel: rgba(255,255,255,0.05);
  --text: #f6f2ea;
  --muted: #d7cfc0;
  --gold: #c8a96b;
  --line: rgba(200,169,107,0.34);
  --bg-solid: #0b0b0d;
  --danger: #c86b6b;
  --shadow: 0 24px 60px rgba(0,0,0,0.45);
  --radius: 24px;
  --max: 1240px;
  /* Theme system — overridden per theme */
  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: Arial, Helvetica, sans-serif;
  --btn-radius: 999px;
  --frame-style: ornate;   /* ornate | clean | none */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-heading);
  background:
    radial-gradient(circle at top, rgba(200,169,107,0.1), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.shell { width: min(var(--max), calc(100% - 2px)); margin: 0 auto; }
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(8,8,10,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  width: min(var(--max), calc(100% - 40px)); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 16px 0;
}
.brand-top, .eyebrow, .label, .pill, label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
}
.brand-top { font-size: .75rem; }
.brand-main { font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; font-family: Arial, Helvetica, sans-serif; }
.nav-links a { opacity: .85; }
.nav-links a:hover { opacity: 1; }
.public-nav-toggle { display: none !important; } /* removed — links always visible */
.cta, button.cta {
  padding: 12px 20px; border-radius: var(--btn-radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(200,169,107,0.24), rgba(200,169,107,0.08));
  color: #fff8ee; cursor: pointer; font-weight: 600;
}
.button-secondary, button.button-secondary, .small-btn {
  padding: 10px 16px; border-radius: var(--btn-radius); border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04); color: var(--text); cursor: pointer;
}
.danger-btn {
  padding: 10px 16px; border-radius: var(--btn-radius); border: 1px solid rgba(200,107,107,0.45);
  background: rgba(200,107,107,0.12); color: #ffe7e7; cursor: pointer;
}
.page { padding: 48px 0 80px; }
.hero-grid, .two-col, .admin-grid, .gallery-grid, .cards, .meta, .form-grid, .stat-grid, .timeline {
  display: grid; gap: 18px;
}
.hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
.two-col { grid-template-columns: 1fr 1fr; }
.admin-grid { grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
.gallery-grid { grid-template-columns: repeat(3,1fr); }
.cards { grid-template-columns: repeat(3,1fr); }
.meta { grid-template-columns: repeat(3,1fr); margin: 24px 0 30px; }
.form-grid { grid-template-columns: 1fr 1fr; }
.stat-grid { grid-template-columns: repeat(4,1fr); }
.timeline { grid-template-columns: 1fr 1fr; }
h1 { font-size: clamp(2.9rem, 7vw, 5.3rem); line-height: .95; margin: 0 0 18px; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1; margin: 0 0 18px; font-weight: 600; }
h3 { margin: 0 0 10px; font-weight: 500; }
p, li, input, select, textarea, table, button, small { font-family: var(--font-body); }
p { color: var(--muted); line-height: 1.8; }
.card, .meta-card, .panel, .stat, .table-wrap, .frame, .sidebar {
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.card, .meta-card, .panel, .stat, .sidebar { padding: 22px; }
.frame { position: relative; padding: 16px; border-color: var(--line); box-shadow: var(--shadow); }
.frame::before {
  content:""; position:absolute; inset:10px; border-radius: 18px;
  border:1px solid rgba(255,255,255,0.08); pointer-events:none;
}
.frame img { border-radius: 20px; aspect-ratio: 4/5; object-fit: cover; object-position: center 35%; filter: grayscale(100%) contrast(1.02); }
.editorial-tag {
  position: absolute; left: -12px; bottom: 28px; padding: 14px 16px;
  background: rgba(8,8,10,0.92); border: 1px solid var(--line); border-radius: 18px;
}
.hero-actions, .button-row, .record-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.timeline-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px;
  padding: 22px; border-radius: 24px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.time { color: var(--gold); }
.section { padding: 10px 0 66px; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
input, select, textarea {
  width: 100%; padding: 14px 15px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04); color: var(--text); font-size: .98rem;
}
textarea { min-height: 120px; resize: vertical; }
.notice {
  margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(200,169,107,0.12);
  border: 1px solid var(--line); color: #fbf3e5;
}
.notice.error { background: rgba(200,107,107,0.12); border-color: rgba(200,107,107,0.45); }
.notice.success { background: rgba(142,188,140,0.12); border-color: rgba(142,188,140,0.45); }
.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); text-align: left; vertical-align: top; }
th { color: var(--gold); font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.stat-value { font-size: 2rem; margin-top: 8px; }
.sidebar .nav-mini { display: grid; gap: 10px; }
.hidden { display:none !important; }
.muted { color: var(--muted); }
.badge {
  display:inline-block; padding: 4px 10px; border-radius:999px; font-size:.78rem;
  background: rgba(200,169,107,0.14); border:1px solid rgba(200,169,107,0.25); color:#fff1d6;
}
.viewer-panel {
  padding: 16px; border-radius: 20px; border:1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
}
.viewer-panel iframe, .viewer-panel img { width: 100%; border: 0; border-radius: 14px; min-height: 380px; background: #111; }
.gallery-card img { border-radius: 18px; aspect-ratio: 4/3; object-fit: cover; }
footer { padding: 20px 0 48px; color: rgba(255,255,255,.62); font-family: Arial, Helvetica, sans-serif; }
@media (max-width: 1024px){
  .hero-grid, .two-col, .cards, .timeline, .admin-grid, .stat-grid, .gallery-grid, .form-grid, .meta { grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .nav-inner { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .timeline-item { grid-template-columns: 1fr; }
  /* Nav links always visible inline on mobile — no hamburger */
  .nav-links { flex-wrap: wrap; gap: 10px 16px; }
  .nav-links a { font-size: .82rem; }
  .nav-links .cta { padding: 8px 14px; font-size: .82rem; }
}
@media (max-width: 480px){
  .nav-inner { padding: 12px 0; }
  .nav-links { gap: 8px 12px; }
  .nav-links a { font-size: .78rem; opacity: .8; }
  .nav-links .cta { padding: 7px 12px; font-size: .78rem; }
  .brand-main { font-size: .95rem; }
}


.seating-grid { display:grid; grid-template-columns: 280px 1fr 320px; gap:18px; align-items:start; }
.guest-pool, .table-summary { display:grid; gap:10px; max-height:900px; overflow:auto; padding-right:4px; }
.guest-chip { padding: 10px 12px; border-radius: 14px; border:1px solid rgba(255,255,255,0.10); background: rgba(255,255,255,0.04); cursor: grab; color: var(--text); }
.guest-chip small { display:block; color: var(--muted); margin-top:4px; }
.guest-chip.dragging { opacity:.45; }
.ballroom {
  position: relative;
  min-width: 2900px;
  width: 2900px;
  height: 2520px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025), rgba(255,255,255,0.025) 60px, transparent 60px, transparent 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018), rgba(255,255,255,0.018) 60px, transparent 60px, transparent 120px);
  border: 1px solid rgba(255,255,255,0.08);
}
.stage-label {
  position:absolute;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing:.22em;
  color: var(--gold);
  font-size:.9rem;
  z-index: 3;
}
.head-table {
  position: absolute;
  left: 50%;
  top: 56px;
  transform: translateX(-50%);
  width: 1880px;
  height: 230px;
  border-radius: 28px;
  border: 1px solid rgba(200,169,107,0.55);
  background:
    linear-gradient(180deg, rgba(200,169,107,0.16), rgba(255,255,255,0.05)),
    rgba(10,10,12,0.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.staircase {
  position:absolute;
  left:50%;
  top:760px;
  transform:translateX(-50%);
  width: 520px;
  height: 520px;
  border-radius: 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:1px dashed rgba(200,169,107,0.62);
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing:.18em;
  font-size:1rem;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 18px, rgba(255,255,255,0.015) 18px, rgba(255,255,255,0.015) 36px),
    linear-gradient(180deg, rgba(200,169,107,0.07), rgba(255,255,255,0.03));
  z-index: 1;
}
.table-wrap-seat { position:absolute; transform: translate(-50%, -50%); }
.round-table { position:absolute; border-radius: 50%; border:1px solid rgba(200,169,107,0.45); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.11), rgba(255,255,255,0.04) 65%); display:flex; align-items:center; justify-content:center; text-align:center; cursor: move; }
.table-number { pointer-events:none; font-family: Arial, Helvetica, sans-serif; color: var(--gold); font-size:.9rem; text-transform:uppercase; letter-spacing:.12em; }
.table-controls { position:absolute; top:-52px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.table-mini-btn { padding:6px 10px; border-radius:999px; border:1px solid rgba(255,255,255,0.12); background:rgba(8,8,10,0.92); color:var(--text); cursor:pointer; font-size:.78rem; }
.seat { position:absolute; width:92px; min-height:40px; padding:8px 8px; border-radius: 14px; border:1px solid rgba(255,255,255,0.12); background: rgba(8,8,10,0.95); text-align:center; color:var(--text); font-size:.8rem; cursor:pointer; }
.seat.empty { color: var(--muted); border-style:dashed; }
.seat.filled { border-color: rgba(200,169,107,0.38); }
.seat.fixed { background: rgba(200,169,107,0.18); border-color: rgba(200,169,107,0.5); z-index: 2; }
.seat.drop-target { outline: 2px solid var(--gold); }
.summary-block { padding:14px; border-radius:18px; border:1px solid rgba(255,255,255,0.08); background:rgba(255,255,255,0.03); }
.summary-block ul { margin:10px 0 0 18px; padding:0; }
.summary-block li { color: var(--muted); margin-bottom:6px; }
@media (max-width: 1300px) { .seating-grid { grid-template-columns: 1fr; } .ballroom{height:1200px;} .head-table{width:760px;} }


.admin-wide-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(0, 1.8fr);
  gap: 18px;
  align-items: start;
}
.task-split {
  display: grid;
  gap: 18px;
}
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,107,0.45), transparent);
  margin: 8px 0 2px;
}
.seating-grid { grid-template-columns: 180px minmax(0, 1fr); align-items: start; }
.ballroom {
  position: relative;
  min-width: 2900px;
  width: 2900px;
  height: 2520px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025), rgba(255,255,255,0.025) 60px, transparent 60px, transparent 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018), rgba(255,255,255,0.018) 60px, transparent 60px, transparent 120px);
  border: 1px solid rgba(255,255,255,0.08);
}
.table-wrap.panel-tight { padding: 0; }
@media (max-width: 1180px) {
  .admin-wide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1400px) {
  .seating-grid { grid-template-columns: 1fr; }
  .ballroom {
  position: relative;
  min-width: 2900px;
  width: 2900px;
  height: 2520px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025), rgba(255,255,255,0.025) 60px, transparent 60px, transparent 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018), rgba(255,255,255,0.018) 60px, transparent 60px, transparent 120px);
  border: 1px solid rgba(255,255,255,0.08);
}
}


.ballroom-wrap {
  width: 100%;
  overflow: auto;
  border-radius: 24px;
  margin-left: 0;
  height: auto;
  max-height: none;
  min-height: 0;
  padding-bottom: 0;
}
.ballroom {
  position: relative;
  min-width: 2900px;
  width: 2900px;
  height: 2520px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025), rgba(255,255,255,0.025) 60px, transparent 60px, transparent 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018), rgba(255,255,255,0.018) 60px, transparent 60px, transparent 120px);
  border: 1px solid rgba(255,255,255,0.08);
}
.head-table {
  position: absolute;
  left: 50%;
  top: 56px;
  transform: translateX(-50%);
  width: 1880px;
  height: 230px;
  border-radius: 28px;
  border: 1px solid rgba(200,169,107,0.55);
  background:
    linear-gradient(180deg, rgba(200,169,107,0.16), rgba(255,255,255,0.05)),
    rgba(10,10,12,0.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.table-summary {
  max-height: 1200px;
}
.guest-pool {
  max-height: 1800px;
}
@media (max-width: 1200px) {
  .seating-grid { grid-template-columns: 1fr; }
}


.page.shell-left {
  padding-left: 0;
  padding-right: 0;
}
.left-start {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.ballroom-wrap {
  width: 100%;
  overflow: auto;
  border-radius: 24px;
  margin-left: 0;
  height: auto;
  max-height: none;
  min-height: 0;
  padding-bottom: 0;
}
#ballroom {
  transform-origin: top left;
}


.seating-main-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.table-summary-below {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  max-height: none;
}

.head-table .seat { min-height: 52px; }


.seating-toolbar {
  align-items: center;
}
.seating-finder-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
}
.seat.highlighted-seat {
  background: rgba(112, 168, 255, 0.28) !important;
  border-color: rgba(112, 168, 255, 0.9) !important;
  box-shadow: 0 0 0 2px rgba(112,168,255,0.55), 0 0 22px rgba(112,168,255,0.35);
}


.seating-toolbar {
  justify-content: space-between;
  align-items: center;
}
.seating-toolbar-left {
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.finder-grid {
  display: grid;
  grid-template-columns: 320px 320px;
  gap: 14px;
  justify-content: start;
}
.finder-field {
  max-width: 320px;
}
.seat.highlighted-seat {
  background: rgba(255, 214, 10, 0.92) !important;
  color: #111 !important;
  border-color: rgba(255, 214, 10, 1) !important;
  box-shadow: 0 0 0 3px rgba(255,214,10,0.85), 0 0 26px rgba(255,214,10,0.55) !important;
}
.seat.highlighted-seat small {
  color: #111 !important;
}
@media (max-width: 900px) {
  .finder-grid {
    grid-template-columns: 1fr;
  }
}


select {
  color: var(--text) !important;
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.12);
}
select option {
  color: var(--text) !important;
  background: var(--bg-solid) !important;
}
select:focus {
  color: var(--text) !important;
  background: rgba(255,255,255,0.06) !important;
}


#rsvpFields.hidden {
  display: none !important;
}
#rsvpCompletionMessage.hidden {
  display: none !important;
}

tbody td small { color: rgba(255,255,255,0.68); }


.footer-admin-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.48);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.footer-admin-link:hover {
  color: var(--gold);
}
#plusOnePermissionNotice {
  background: rgba(255, 214, 10, 0.2) !important;
  border: 1px solid rgba(255, 214, 10, 0.75) !important;
  color: #fff6cc !important;
  font-weight: 700;
}
#attendingBtn, #decliningBtn {
  font-size: 1.08rem;
  padding: 14px 22px;
  min-height: 52px;
}


/* ===== v31 planner hamburger navigation ===== */
.planner-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px 0;
}

.planner-hamburger-wrap {
  position: relative;
  display: inline-block;
}

.planner-hamburger-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(20,20,24,0.92);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.planner-hamburger-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 270px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(12,12,16,0.96);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  display: none;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.planner-hamburger-menu.open {
  display: grid;
  gap: 10px;
}

.planner-hamburger-menu a,
.planner-hamburger-menu button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

@media (max-width: 900px) {
  .planner-topbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

.household-members { display:grid; gap:10px; margin-top:12px; }
.member-row { display:grid; grid-template-columns: 1.2fr 0.9fr 0.9fr auto; gap:10px; align-items:end; padding:10px; border:1px solid rgba(255,255,255,0.08); border-radius:14px; background:rgba(255,255,255,0.03); }
.member-meta { color: var(--muted); font-size:.85rem; }
.group-row td { vertical-align: top; }
.warn { color: #f5c36b; font-weight:600; }


.member-response-buttons .cta,
.member-response-buttons .button-secondary {
  min-height: 48px;
  padding: 12px 18px;
  font-size: 1rem;
}


/* No-password development build */
#adminLock,
#giftLock,
#seatingLock {
  display: none !important;
}
#adminUnlocked,
#giftUnlocked,
#seatingUnlocked {
  display: block !important;
}


/* v42 planner menu hardening */
.planner-topbar {
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin: 14px 0 18px 0;
  position: relative;
  z-index: 2000;
}
.planner-hamburger-wrap {
  position: relative !important;
  display: inline-block !important;
  z-index: 2001;
}
.planner-hamburger-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  z-index: 2002;
}
.planner-hamburger-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  min-width: 280px !important;
  display: none;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px;
  z-index: 3000 !important;
  background: rgba(10,10,14,0.98) !important;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.planner-hamburger-menu.open {
  display: grid !important;
}
.planner-hamburger-menu a,
.planner-hamburger-menu button {
  display: flex !important;
  width: 100%;
  text-decoration: none;
}


/* v44 visible planner navigation */
.sidebar .brand-top[style*="Sections"] { display:none !important; }
.sidebar .cta,
.sidebar #importData,
.sidebar #downloadGuestTemplate,
.sidebar #importGuestList,
.sidebar #resetData,
.sidebar .nav-mini { }
.admin-grid > aside.sidebar { display:none !important; }
.admin-grid { grid-template-columns: 1fr !important; }
.planner-topbar-visible {
  display:flex !important;
  margin: 14px 0 18px 0 !important;
  position: relative !important;
  z-index: 4000 !important;
}
.planner-hamburger-wrap { position: relative !important; display: inline-block !important; }
.planner-hamburger-btn {
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  z-index:4001 !important;
}
.planner-hamburger-menu {
  position:absolute !important;
  top:calc(100% + 10px) !important;
  left:0 !important;
  min-width:300px !important;
  display:none;
  gap:10px;
  padding:12px;
  background:rgba(10,10,14,0.98) !important;
  border:1px solid rgba(255,255,255,0.10);
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,0.35);
  z-index:5000 !important;
}
.planner-hamburger-menu.open { display:grid !important; }
.planner-hamburger-menu a { display:flex !important; }


/* v48 planner consistency cleanup */
#adminLock, #giftLock, #seatingLock,
#adminLoginForm, #giftLoginForm, #seatingLoginForm {
  display: none !important;
}
#adminUnlocked, #giftUnlocked, #seatingUnlocked {
  display: block !important;
}
.planner-topbar-visible {
  display: flex !important;
  margin: 14px 0 18px 0 !important;
  position: relative !important;
  z-index: 4000 !important;
}
.planner-hamburger-wrap {
  position: relative !important;
  display: inline-block !important;
}
.planner-hamburger-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  z-index: 4001 !important;
}
.planner-hamburger-menu {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  min-width: 300px !important;
  display: none;
  gap: 10px;
  padding: 12px;
  background: rgba(10,10,14,0.98) !important;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  z-index: 5000 !important;
}
.planner-hamburger-menu.open {
  display: grid !important;
}
.planner-hamburger-menu a {
  display: flex !important;
  width: 100%;
  text-decoration: none;
}


/* v49 explicit planner hamburger restore */
.planner-topbar-visible{
  display:flex !important;
  margin:14px 0 18px 0 !important;
  position:relative !important;
  z-index:4000 !important;
}
.planner-hamburger-wrap{
  position:relative !important;
  display:inline-block !important;
}
.planner-hamburger-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:12px;
  cursor:pointer;
}
.planner-hamburger-menu{
  position:absolute !important;
  top:calc(100% + 10px) !important;
  left:0 !important;
  min-width:300px !important;
  display:none;
  gap:10px;
  padding:12px;
  background:rgba(10,10,14,0.98) !important;
  border:1px solid rgba(255,255,255,0.10);
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,0.35);
  z-index:5000 !important;
}
.planner-hamburger-menu.open{ display:grid !important; }
.planner-hamburger-menu a{ display:flex !important; width:100%; text-decoration:none; }


/* v50 validated planner hamburger */
.planner-topbar-visible{
  display:flex !important;
  margin:14px 0 18px 0 !important;
  position:relative !important;
  z-index:4000 !important;
}
.planner-hamburger-wrap{
  position:relative !important;
  display:inline-block !important;
}
.planner-hamburger-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  border-radius:12px;
  cursor:pointer;
}
.planner-hamburger-menu{
  position:absolute !important;
  top:calc(100% + 10px) !important;
  left:0 !important;
  min-width:300px !important;
  display:none;
  gap:10px;
  padding:12px;
  background:rgba(10,10,14,0.98) !important;
  border:1px solid rgba(255,255,255,0.10);
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,0.35);
  z-index:5000 !important;
}
.planner-hamburger-menu.open{display:grid !important;}
.planner-hamburger-menu a{display:flex !important; width:100%; text-decoration:none;}


.gift-report-group { margin-bottom: 18px; }
.gift-report-header { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:12px; }
.gift-pill { display:inline-flex; padding:4px 10px; border-radius:999px; border:1px solid rgba(255,255,255,0.12); font-size:.82rem; }
.registry-link-card .hero-actions { margin-top: 14px; }


.report-family-block {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  margin-bottom: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}
.report-family-summary {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, minmax(90px, 1fr));
  gap: 10px;
  padding: 14px 16px;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.report-family-summary small {
  display:block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
.report-guest-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.92rem;
}
.report-guest-table th,
.report-guest-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: top;
}
.report-guest-table th {
  text-align: left;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.report-guest-name {
  font-weight: 600;
}
.report-guest-indent {
  padding-left: 18px;
}
.report-flag {
  display: inline-block;
  min-width: 18px;
  text-align: center;
}
.only-print { display:none; }

@media print {
  .print-hidden,
  .nav,
  .planner-topbar,
  .button-row,
  .notice[data-storage-status],
  #plannerReportGuestForm {
    display: none !important;
  }
  .only-print { display:block !important; }
  body, main, .shell, .page {
    background: white !important;
    color: black !important;
  }
  .report-family-block {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #bbb;
    background: white !important;
  }
  .report-family-summary {
    background: #f2f2f2 !important;
    color: black !important;
  }
  .report-guest-table th {
    background: #fafafa !important;
  }
}


/* v65 report-only upgrades on v57 anchor */
.report-guest-table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
}
.report-guest-table th,
.report-guest-table td {
  border: 1px solid rgba(255,255,255,0.16);
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.15;
}
.report-guest-table thead th {
  vertical-align: bottom;
  background: rgba(255,255,255,0.05);
}
.report-family-summary {
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.report-family-summary > div {
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 8px;
}
.report-family-summary > div:last-child {
  border-right: none;
}
.report-compact-title {
  display: inline-block;
  line-height: 1.05;
}
.summary-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
}
.summary-metric-card {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
}
.summary-metric-card h3 {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
}
.summary-metric-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.summary-report-table {
  width: 100%;
  border-collapse: collapse;
}
.summary-report-table th,
.summary-report-table td {
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 12px;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}
.summary-report-table th {
  background: rgba(255,255,255,0.05);
}
@media (max-width: 980px) {
  .summary-report-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .summary-report-grid { grid-template-columns: 1fr; }
}
@media print {
  .report-guest-table th,
  .report-guest-table td,
  .summary-report-table th,
  .summary-report-table td {
    border: 1px solid #888 !important;
    color: black !important;
  }
  .report-guest-table thead th,
  .summary-report-table th {
    background: #f2f2f2 !important;
  }
  .summary-metric-card {
    border: 1px solid #888 !important;
    background: white !important;
    color: black !important;
  }
}


/* v67 planner summary detail sections */
.summary-section-stack {
  display: grid;
  gap: 18px;
}
.summary-subnote {
  color: var(--muted);
  margin-top: 6px;
}
.summary-compact-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.summary-compact-table th,
.summary-compact-table td {
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 10px;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.12;
  vertical-align: top;
}
.summary-compact-table th {
  background: rgba(255,255,255,0.05);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.summary-compact-title {
  display: inline-block;
  line-height: 1.02;
}
@media print {
  .summary-compact-table th,
  .summary-compact-table td {
    border: 1px solid #888 !important;
    color: black !important;
  }
  .summary-compact-table th {
    background: #f2f2f2 !important;
  }
}


.member-row .field select[data-role="meal_choice"] {
  min-width: 160px;
}


/* v69 Wedding Day Memories */
.wday-page {
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(200,169,107,0.1), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.wday-shell { max-width: 980px; margin: 0 auto; padding: 24px 16px 40px; color: var(--text); }
.wday-shell .section-head h1,
.wday-shell .section-head h2,
.wday-shell .section-head h3,
.wday-shell h1,
.wday-shell h2,
.wday-shell h3 { color: var(--text); }
.wday-shell p,
.wday-shell .muted,
.wday-shell .wday-meta { color: var(--muted); }
.wday-shell .panel,
.wday-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.wday-actions { display:grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap:16px; margin:18px 0; }
.wday-card { padding:18px; }
.wday-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap:14px; }
.wday-thumb { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:12px; display:block; }
.wday-video { width:100%; border-radius:12px; display:block; }
.hidden-file-input { display:none; }
.wday-meta { font-size:.9rem; opacity:.82; margin-top:6px; }
.wday-toolbar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.wday-section { margin-top:24px; }
.wday-pill { display:inline-block; padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.08); font-size:.85rem; color: var(--text); }
.wday-shell input,
.wday-shell select,
.wday-shell textarea { color: var(--text); background: rgba(255,255,255,0.04); }
.wday-shell input::placeholder { color: rgba(246,242,234,0.62); }
.wday-embedded { background: transparent !important; }
.wday-embedded .wday-shell { max-width: none; padding: 0; }
.wday-embedded .panel,
.wday-embedded .wday-card { background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)); }

.wday-collapsed {
  padding-bottom: 8px;
}


.admin-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}


.wday-slideshow-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wday-slideshow-overlay.hidden {
  display: none;
}
.wday-slideshow-image {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.wday-slideshow-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.45);
  padding: 10px 14px;
  border-radius: 999px;
  color: white;
  font-size: 0.95rem;
}
.wday-slideshow-close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2rem;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
}
.wday-slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: rgba(255,255,255,0.12);
  color: white;
  border: none;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  cursor: pointer;
}
.wday-slideshow-nav.prev { left: 22px; }
.wday-slideshow-nav.next { right: 22px; }


.music-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;}
.music-card{display:flex;flex-direction:column;gap:10px;}
.music-card-top{display:grid;grid-template-columns:84px 1fr;gap:14px;align-items:start;}
.music-album{width:84px;height:84px;border-radius:14px;object-fit:cover;display:block;background:#111;}
.music-album-placeholder{display:flex;align-items:center;justify-content:center;font-size:2rem;background:linear-gradient(135deg,#161616,#2b2b2b);color:#d4af37;}
.music-artist-line{margin:4px 0 0;color:#555;font-weight:600;}
.music-meta-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.music-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f5f1e8;font-size:.85rem;font-weight:600;color:#4f3f11;}
.music-note{margin:0;font-style:italic;color:#333;}
.debug-pre{white-space:pre-wrap;word-break:break-word;background:#0f1115;color:#d7e0ea;padding:14px;border-radius:12px;font-size:.86rem;line-height:1.45;}


.music-actions{align-items:center;gap:10px;flex-wrap:wrap;}
.music-vote-btn{border:1px solid #d8d2c4;background:white;color:#2e2a20;border-radius:999px;padding:10px 14px;font-weight:700;cursor:pointer;transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;}
.music-vote-btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,0,0,.08);}
.music-vote-btn.is-active{border-color:#c7a43b;box-shadow:0 0 0 2px rgba(199,164,59,.18) inset;background:#fff8e3;}
.music-vote-btn:disabled{opacity:.55;cursor:not-allowed;}


.site-password-locked { overflow: hidden; }
.site-password-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 28, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}
.site-password-card {
  width: min(100%, 460px);
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.checkbox-field label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}


/* Build 5 UI cleanup */
.notice.success{background:rgba(200,169,107,.08);border:1px solid rgba(200,169,107,.25);color:var(--text)}
#musicRequestsPage .section-head{max-width:760px;margin-bottom:20px}
#musicRequestsPage .stat-grid{grid-template-columns:repeat(2,minmax(0,320px));gap:16px}
#musicRequestsPage .two-col{align-items:start}
.footer-admin-link{opacity:.5;font-size:.8rem}
.footer-admin-link:hover{opacity:.9}
@media (max-width: 900px){
  #musicRequestsPage .stat-grid{grid-template-columns:1fr}
}


.details-visual-item { align-items: start; }
.details-event-thumb { display:block; width:96px; max-width:96px; height:auto; margin:10px 0 0 0; justify-self:start; align-self:start; filter: drop-shadow(0 4px 10px rgba(0,0,0,.10)); }
.timeline-item.details-visual-item p { margin-bottom: 0; }


.registry-page-hero { display:grid; grid-template-columns:minmax(240px, 380px) 1fr; gap:28px; align-items:center; }
.registry-hero-image { width:100%; max-width:380px; aspect-ratio:4/5; object-fit:cover; border-radius:24px; display:block; box-shadow:0 16px 36px rgba(0,0,0,.16); }
.registry-admin-preview { width:100%; max-width:260px; aspect-ratio:4/5; object-fit:cover; border-radius:20px; display:block; box-shadow:0 10px 28px rgba(0,0,0,.14); margin-top:8px; }
.registry-page-copy h1 { margin-top:8px; }
@media (max-width: 860px){ .registry-page-hero { grid-template-columns:1fr; } .registry-hero-image { max-width:100%; } }


.public-hero-image {
  display:block;
  width:100%;
  max-width:720px;
  max-height:380px;
  object-fit:cover;
  border-radius:20px;
  margin:0 0 18px 0;
}
.details-page-hero { box-shadow: 0 18px 40px rgba(0,0,0,.12); }
.stack-form .field { margin-bottom: 14px; }
.stack-list { display:grid; gap:16px; }
.two-col-admin { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px; }
.field-full { grid-column:1 / -1; }
.file-label { cursor:pointer; }
.lodging-shell { display:block; }
.lodging-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; margin-top:18px; }
.lodging-card { background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03)); border:1px solid var(--line); border-radius:18px; overflow:hidden; box-shadow:0 10px 26px rgba(0,0,0,.18); color: var(--text); }
.lodging-card-body { padding:16px; color: var(--text); }
.lodging-card h3, .lodging-card p, .lodging-card strong { color: var(--text); }
.lodging-card a { color: var(--gold); }
.lodging-card a:hover { opacity: .9; }

.lodging-thumb { width:100%; height:180px; object-fit:cover; display:block; background:#f3f4f7; }
.hotel-admin-card { border:1px solid rgba(24,39,75,.12); border-radius:18px; padding:16px; background:#fff; }
.hotel-admin-thumb-row { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:12px; }
.lodging-admin-thumb-preview { width:96px; height:96px; border-radius:12px; object-fit:cover; border:1px solid rgba(24,39,75,.12); background:#f3f4f7; }
@media (max-width: 820px){ .two-col-admin { grid-template-columns:1fr; } .hotel-admin-thumb-row { flex-direction:column; align-items:flex-start; } }


#lodgingHotelsAdminList {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.hotel-admin-card {
  display: block;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255,255,255,0.03);
}
.hotel-admin-thumb-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.lodging-admin-thumb-preview {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
}


/* 9U lodging/detail layout refinement */
.lodging-card-refined {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
}
.lodging-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.lodging-thumb-small {
  width: 72px;
  height: 72px;
  min-width: 72px;
  max-height: 72px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0;
}
.lodging-card-title-wrap h3 {
  margin: 2px 0 6px;
}
.lodging-card-body-refined p {
  margin: 0 0 8px;
}
.maps-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  text-decoration: none;
  font-size: 0.9rem;
}
.details-full-layout .split-layout,
.details-full-layout .details-split,
.details-full-layout .details-grid {
  grid-template-columns: 1fr !important;
}
.details-full-layout .timeline-grid,
.details-full-layout .event-grid {
  grid-column: 1 / -1;
}
.details-full-layout section h2 {
  margin-top: 0;
}
@media (min-width: 900px) {
  .details-full-layout .timeline-grid,
  .details-full-layout .event-grid {
    width: 100%;
  }
}


/* 9W home admin + details note placement */
.stack-form .field { margin-bottom: 14px; }
#homeTitleText, #homeNextStepValue { white-space: normal; }
.details-notes-below { margin-top: 18px; }
.details-notes-below .panel { max-width: none; width: 100%; }


/* 9X details width + clearer home admin access */
@media (min-width: 1100px) {
  body[data-page="details"] .shell,
  .details-page-wide.shell,
  .details-page-wide {
    max-width: 1480px !important;
    width: min(96vw, 1480px) !important;
  }

  body[data-page="details"] .panel,
  .details-page-wide .panel {
    width: 100%;
    max-width: none !important;
  }

  body[data-page="details"] .timeline-grid,
  body[data-page="details"] .event-grid,
  .details-page-wide .timeline-grid,
  .details-page-wide .event-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100%;
  }
}

.home-admin-shortcut-card {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
}
.home-admin-shortcut-card h3 {
  margin: 0 0 8px;
}
.home-admin-shortcut-card p {
  margin: 0 0 12px;
}


/* 10D actual details width fix */
@media (min-width: 1100px) {
  body[data-page="details"] main.page > section.shell.two-col {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 1520px !important;
    width: min(97vw, 1520px) !important;
  }

  body[data-page="details"] main.page > section.shell.two-col > .panel {
    width: 100%;
    max-width: none !important;
  }

  body[data-page="details"] main.page > section.shell.two-col .timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100%;
  }
}


/* 10K planner-only lodging tracking */
.report-table select {
  width: 100%;
  min-width: 180px;
}


/* 10L lodging report polish */
.lodging-groups {
  display: grid;
  gap: 14px;
}
.lodging-group-card {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
}
.lodging-group-card h3 {
  margin: 0 0 8px;
}
.lodging-group-card p,
.lodging-group-card ul {
  margin: 0;
}
.lodging-group-card ul {
  padding-left: 18px;
}


/* 10P RSVP cleanup from 10L */
.rsvp-submit-highlight,
button.rsvp-submit-highlight,
input.rsvp-submit-highlight,
button[class*="submit"].rsvp-submit-highlight {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.20), 0 10px 24px rgba(0,0,0,0.24);
  transform: translateY(-1px);
  font-weight: 700;
}

.travel-mini-panel { margin-top: 18px; padding: 18px 20px; }
.travel-mini-panel h2 { margin: 6px 0 8px; font-size: 1.2rem; }
.travel-mini-panel p { margin: 0; }


#guestPortalSpecialEventsBody label { display:inline-flex; align-items:center; gap:6px; margin-right:12px; }
#guestPortalExtras .button-row { flex-wrap:wrap; }
#guestPortalRsvpForm.hidden { display:none; }
#guestPortalRsvpSavedSummary.hidden { display:none; }


.guest-home-frame { display:inline-block; width:fit-content; max-width:100%; padding:10px; }
.guest-home-frame::before { inset:6px; }
.guest-home-frame img { display:block; width:auto; max-width:100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 28%; }
.agenda-list { display: grid; gap: 18px; margin-top: 14px; }
.agenda-day h3 { margin: 0 0 10px; }
.agenda-table { display: grid; gap: 10px; }
.agenda-row {
  display: grid;
  grid-template-columns: 120px minmax(160px, 220px) 1fr;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.agenda-time { color: var(--gold); font-family: Arial, Helvetica, sans-serif; }
.agenda-title { font-weight: 700; font-family: Arial, Helvetica, sans-serif; }
.agenda-details { color: var(--muted); font-family: Arial, Helvetica, sans-serif; }
.lodging-choice-summary {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.03);
}
.lodging-current-pill {
  margin: 0 0 10px 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(200,169,107,0.12);
  border: 1px solid rgba(200,169,107,0.25);
  color: #fbf3e5;
  font-family: Arial, Helvetica, sans-serif;
}
@media (max-width: 720px){
  .agenda-row { grid-template-columns: 1fr; gap: 6px; }
}

/* 30H hybrid guest portal cleanup */
.guest-portal-layout-shell { padding-top: 0; }
.guest-portal-hero { margin-bottom: 0; }
.portal-layout { display:grid; grid-template-columns: 280px minmax(0,1fr); gap: 22px; align-items:start; }
.portal-sidebar { position: sticky; top: 96px; display:flex; flex-direction:column; gap:10px; }
.portal-nav-button {
  width:100%; text-align:left; border:1px solid rgba(214,179,98,.25); background:rgba(255,255,255,.03);
  color:var(--text); border-radius:18px; padding:14px 16px; font-weight:700; display:flex; flex-direction:column; gap:4px;
}
.portal-nav-button.is-active { background:linear-gradient(180deg, rgba(214,179,98,.22), rgba(214,179,98,.1)); border-color:rgba(214,179,98,.55); }
.portal-nav-meta { font-weight:400; font-size:.9rem; color:var(--muted); line-height:1.3; }
.portal-main { display:flex; flex-direction:column; gap:14px; }
.portal-section { display:block; }
.portal-section-toggle {
  display:none; width:100%; text-align:left; justify-content:space-between; align-items:center; gap:16px;
  border:1px solid rgba(214,179,98,.25); background:rgba(255,255,255,.03); color:var(--text);
  border-radius:18px; padding:16px 18px; font-weight:700; font-size:1.05rem;
}
.portal-section-summary { display:block; font-weight:400; font-size:.92rem; color:var(--muted); max-width:55%; text-align:right; }
.portal-section-content { display:block; }
.compact-summary-box { padding:14px 16px; }
.compact-summary-line { display:flex; flex-wrap:wrap; gap:8px 14px; align-items:baseline; margin:4px 0; }
@media (min-width: 980px) {
  .portal-section:not(.is-active) .portal-section-content { display:none; }
}
@media (max-width: 979px) {
  .portal-layout { grid-template-columns: 1fr; }
  /* Sidebar becomes the pill strip (handled in mobile upgrade CSS below) */
  .portal-sidebar { display:none; }

  /* NON-ACTIVE sections: hide completely — no toggle button, no content */
  .portal-section:not(.is-active) {
    display: none !important;
  }

  /* ACTIVE section: show cleanly */
  .portal-section.is-active {
    display: block !important;
  }

  /* Section toggle (accordion header) — visible only when section is active */
  .portal-section-toggle {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(214,179,98,.25);
    background: rgba(255,255,255,.03);
    color: var(--text);
    border-radius: 18px;
    padding: 14px 16px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    cursor: default; /* not clickable on mobile — nav done by pill strip */
  }

  /* Content always visible when section is active */
  .portal-section-content {
    display: block !important;
  }
}

.compact-assign-row{display:grid;grid-template-columns:minmax(180px,220px) auto 1fr;gap:10px;align-items:start;padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}
.compact-assign-info{display:flex;flex-direction:column;gap:4px;text-align:left}.compact-assign-name{font-weight:700}.compact-assign-sub{font-size:.9rem;color:#d6c0cb}.compact-assign-actions{display:flex;gap:8px;align-items:center}.compact-assign-guestlist{display:flex;flex-wrap:wrap;gap:8px 10px}.compact-assign-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid rgba(255,255,255,.12);border-radius:999px;font-size:.92rem}.small-batch-btn{padding:6px 10px;font-size:.85rem}@media (max-width: 900px){.compact-assign-row{grid-template-columns:1fr}.compact-assign-actions{justify-content:flex-start}}


.portal-music-thumb{width:40px;height:40px;border-radius:10px;object-fit:cover;display:block;background:#111;border:1px solid rgba(199,164,59,.25);}
.portal-music-thumb-placeholder{display:flex;align-items:center;justify-content:center;color:#d4af37;font-weight:700;}
.compact-song-art{flex:0 0 40px;display:flex;align-items:center;justify-content:center;}
.compact-song-row{display:flex;align-items:center;gap:10px;}
.portal-music-add-cta{background:#f2cf58;color:#2b2106;border-color:#f2cf58;}
.portal-music-add-cta:hover{filter:brightness(.98);}

.guest-portal-status-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;}
.guest-portal-status-chip{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;border:1px solid rgba(214,179,98,.28);background:rgba(255,255,255,.03);color:var(--text);font-size:.96rem;line-height:1.25;}
.guest-portal-status-chip strong{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700;}
.portal-helper-copy{margin:8px 0 0 0;color:var(--muted);max-width:70ch;}
.portal-section .panel .portal-helper-copy{margin-bottom:14px;}
@media (max-width: 720px){
  .guest-portal-status-strip{gap:8px;}
  .guest-portal-status-chip{width:100%;justify-content:flex-start;}
}


.compact-vote-actions .button-secondary.is-selected {
  background: rgba(245, 210, 84, 0.22);
  border-color: rgba(245, 210, 84, 0.9);
  color: #f5d254;
  box-shadow: 0 0 0 1px rgba(245, 210, 84, 0.22) inset;
}
.compact-vote-actions .button-secondary.is-selected:hover {
  border-color: rgba(245, 210, 84, 1);
}


/* 30Y compact details lodging + tighter special event reporting */
.details-lodging-compact-panel{padding:20px 22px;}
.details-lodging-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px;}
.details-travel-inline{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:14px;}
.details-travel-mini{padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.03);}
.details-travel-mini p{margin:6px 0 0 0;color:var(--muted);font-size:.96rem;}
.details-lodging-compact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px;}
.details-lodging-compact-card{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:18px;padding:12px;background:rgba(255,255,255,.03);min-height:108px;}
.details-lodging-compact-thumb{width:96px;height:96px;object-fit:cover;border-radius:14px;flex:0 0 96px;}
.details-lodging-compact-body h3{margin:2px 0 6px 0;font-size:1.05rem;}
.details-lodging-compact-body p{margin:0 0 8px 0;color:var(--muted);font-size:.94rem;line-height:1.35;}
.details-lodging-compact-meta{display:flex;flex-wrap:wrap;gap:10px 12px;font-size:.86rem;}
.details-lodging-compact-meta a{font-weight:600;}
.special-report-card{padding:14px 16px;}
.special-report-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px;}
.special-report-top h3{margin:0;font-size:1.05rem;}
.special-report-counts{display:flex;flex-wrap:wrap;gap:8px 12px;color:var(--muted);font-size:.9rem;}
.special-report-counts strong{color:var(--text);margin-left:4px;}
.special-report-buckets{display:grid;grid-template-columns:1fr;gap:8px;}
.special-report-bucket{display:grid;grid-template-columns:90px 1fr;gap:10px;align-items:start;padding-top:6px;border-top:1px solid rgba(255,255,255,.06);}
.special-report-names{display:flex;flex-wrap:wrap;gap:6px;}
.special-report-name{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;border:1px solid var(--line);font-size:.84rem;background:rgba(255,255,255,.03);}
@media (max-width:760px){.details-lodging-head{flex-direction:column;}.details-lodging-compact-card{padding:10px;}.details-lodging-compact-thumb{width:80px;height:80px;flex-basis:80px;}.special-report-bucket{grid-template-columns:1fr;gap:6px;}}


/* 30Z planner admin hub + tighter reports + details image mobile cleanup */
.details-page-hero{width:100%;aspect-ratio:16/9;object-fit:cover;max-height:420px;}
@media (max-width:760px){.details-page-hero{aspect-ratio:16/10;max-height:240px;object-position:center center;}}
.admin-hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:16px 0 20px;}
.admin-hub-card{border:1px solid var(--line);border-radius:18px;background:rgba(255,255,255,.03);padding:14px 16px;}
.admin-hub-card summary{cursor:pointer;list-style:none;font-weight:700;font-size:1.02rem;display:flex;justify-content:space-between;align-items:center;}
.admin-hub-card summary::-webkit-details-marker{display:none;}
.admin-hub-card p{margin:8px 0 10px 0;color:var(--muted);font-size:.93rem;}
.admin-hub-links{display:grid;gap:8px;}
.admin-hub-links a{display:block;text-decoration:none;}
.special-report-card{padding:10px 12px;border-radius:16px;}
.special-report-top{margin-bottom:8px;align-items:center;}
.special-report-top h3{font-size:1rem;line-height:1.2;}
.special-report-counts{gap:6px 10px;font-size:.84rem;}
.special-report-buckets{gap:6px;}
.special-report-bucket{grid-template-columns:72px 1fr;gap:8px;padding-top:4px;}
.special-report-bucket strong{font-size:.84rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);}
.special-report-names{gap:5px;}
.special-report-name{padding:3px 7px;font-size:.78rem;line-height:1.15;}
.compact-mini-metrics{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px;}
.compact-mini-metrics span{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.03);font-size:.8rem;}
@media (max-width:760px){.admin-hub-grid{grid-template-columns:1fr;}.special-report-bucket{grid-template-columns:1fr;}}

.admin-hub-summary-strip{display:flex;flex-wrap:wrap;gap:10px;margin:2px 0 16px;}
.admin-hub-summary-item{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.03);min-width:220px;}
.admin-hub-summary-item span{font-family:Arial,Helvetica,sans-serif;font-size:.82rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em;}
.admin-hub-summary-item strong{font-size:1.05rem;}
.admin-stats-compact .stat{padding:18px;}
.admin-stats-compact .stat-value{font-size:1.55rem;}
.lodging-group-card-compact{padding:14px 16px;}
.lodging-group-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}
.lodging-group-card-head h3{margin:0;font-size:1rem;}
.lodging-group-count{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03);font-weight:700;}
.lodging-guest-chip-list{display:flex;flex-wrap:wrap;gap:8px;}
.lodging-guest-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);font-family:Arial,Helvetica,sans-serif;font-size:.9rem;line-height:1.2;}
.agenda-title .maps-link-chip{margin-left:8px;vertical-align:middle;}


.member-chip-wrap{display:flex;flex-direction:column;gap:8px;min-width:240px}.member-chip{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center;padding:8px 10px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.03)}.member-chip strong{font:600 14px/1.2 Arial,Helvetica,sans-serif;color:var(--text)}.member-chip span,.member-chip em{font:500 12px/1.2 Arial,Helvetica,sans-serif;color:var(--muted);font-style:normal}.member-chip-primary{border-color:rgba(212,175,55,.35);background:rgba(212,175,55,.08)}.primary-guest-cell strong{display:block}

.home-hero-frame, .home-admin-hero-frame { width: fit-content; margin-left:auto; margin-right:auto; text-align:center; }
.home-hero-frame [data-home-hero-image], .home-admin-hero-frame img { display:block; margin:0 auto; }
.home-image-button { width: fit-content; margin-left:auto; margin-right:auto; }
.home-admin-hero-frame .home-image-button { display:block; }


.home-centered-hero { text-align:center; }
.home-centered-hero > p,
.home-centered-hero #homeIntroText { max-width: 840px; margin-left:auto; margin-right:auto; }
.home-centered-hero .meta { max-width: 980px; margin-left:auto; margin-right:auto; }
.home-centered-hero .hero-actions { justify-content:center; }
.home-centered-hero .meta-card { text-align:left; }
.home-centered-hero .editorial-tag { text-align:left; }
@media (max-width: 720px){
  .home-centered-hero .meta-card { text-align:left; }
}


/* 50G admin consistency polish */
.admin-page-shell .section-head h2{margin-bottom:6px}
.admin-page-shell .section-head p{max-width:820px}
.admin-page-shell .panel,.admin-page-shell .hotel-admin-card,.admin-page-shell .special-event-card{box-shadow:0 18px 40px rgba(0,0,0,.18)}
.admin-page-shell .planner-topbar{margin-bottom:10px}
.admin-page-shell .planner-hamburger-menu .button-secondary{min-width:220px}
.admin-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:14px 16px;border:1px solid rgba(255,255,255,.10);border-radius:18px;background:rgba(255,255,255,.03)}
.admin-toolbar-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.admin-toolbar-copy{font-size:13px;color:var(--muted);max-width:720px}
.admin-page-shell .stack-form > .button-row:last-of-type{padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}
.admin-page-shell .section{margin-bottom:22px}
.admin-section-tag{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.03);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.special-admin-toolbar{margin-bottom:14px}
.special-events-count{font-weight:700;color:var(--gold)}

/* 50O desktop polish */
.home-centered-hero{max-width:1020px;margin:0 auto;padding:28px 30px 30px;}
.home-centered-hero .eyebrow,
.home-centered-hero h1,
.home-centered-hero p,
.home-centered-hero .hero-actions{margin-left:auto;margin-right:auto;}
.home-centered-hero #homeHeroVenue{display:block;text-align:center;}
.home-centered-hero #homeIntroText{max-width:760px;text-align:center;}
.home-centered-hero .meta{max-width:920px;justify-content:center;}
.home-centered-hero .meta-card{text-align:center;min-height:100%;}
.home-centered-hero .editorial-tag{text-align:left;}
@media (min-width: 1025px){
  .home-centered-hero .meta{grid-template-columns:repeat(3,minmax(0,240px));justify-content:center;}
}

.template-rows { display:grid; grid-template-columns: 1fr; gap:12px; }
.template-rows .field { margin-bottom:0; }

.maps-link-chip-icon{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 10px;font-size:1.35rem;line-height:1;text-decoration:none;}
.details-map-link-icon{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;font-size:1.6rem;line-height:1;text-decoration:none;vertical-align:middle;}

.appearance-admin-grid{display:grid;grid-template-columns:minmax(320px,1.1fr) minmax(260px,.9fr);gap:18px;align-items:start}.appearance-preview-panel{border:1px dashed rgba(255,255,255,.14);border-radius:20px;padding:16px;background:rgba(255,255,255,.03);--preview-primary:#c8a96b;--preview-accent:rgba(200,169,107,0.34);--preview-text:#f6f2ea;--preview-bg:#0b0b0d}.appearance-preview-shell{border:1px solid var(--preview-accent);border-radius:20px;padding:18px;background:linear-gradient(180deg,var(--preview-bg),#121216);color:var(--preview-text)}.appearance-preview-top{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--preview-primary);font-weight:700}.appearance-preview-title{font:700 30px/1.05 Georgia,serif;margin:10px 0;color:var(--preview-text)}.appearance-preview-copy{margin:0 0 12px 0;color:var(--preview-text);opacity:.92}.appearance-preview-row{display:flex;gap:10px;flex-wrap:wrap}.appearance-preview-pill,.appearance-preview-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid var(--preview-accent);background:rgba(255,255,255,.03);color:var(--preview-text);font-weight:700}.appearance-preview-btn.primary{background:var(--preview-primary);color:#111;border-color:var(--preview-primary)}.appearance-presets-box{padding:14px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.03)}.appearance-admin-grid .section-subtle{font-size:12px;color:var(--muted)}@media (max-width:980px){.appearance-admin-grid{grid-template-columns:1fr}}

/* ===== Public mobile navigation ===== */
.public-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.2rem;
  padding: 6px 12px;
  cursor: pointer;
  line-height: 1;
  margin-left: auto;
}
@media (max-width: 680px) {
  .public-nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 10px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.cta {
    margin-top: 8px;
    text-align: center;
    border-radius: 999px;
    padding: 12px 0;
    border-bottom: none;
  }
  .nav-inner { flex-wrap: wrap; align-items: center; }
}


/* ════════════════════════════════════════════════════════════════════
   THEME SYSTEM — layout variants, frame styles, button shapes
   Controlled by data-layout, data-frame, data-btn-style on <body>
   All use existing HTML — zero markup changes needed
════════════════════════════════════════════════════════════════════ */

/* ── Layout: split (photo left / text right) ── */
body[data-layout="split"] .home-centered-hero {
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 48px;
  align-items: center;
  max-width: 1100px;
}
body[data-layout="split"] .home-centered-hero .eyebrow,
body[data-layout="split"] .home-centered-hero h1,
body[data-layout="split"] .home-centered-hero p,
body[data-layout="split"] .home-centered-hero .hero-actions,
body[data-layout="split"] .home-centered-hero #homeHeroVenue { text-align: left; margin-left:0; margin-right:0; }
body[data-layout="split"] .home-centered-hero .hero-actions { justify-content: flex-start; }
body[data-layout="split"] .home-centered-hero .meta { grid-template-columns: 1fr 1fr; }
body[data-layout="split"] .home-centered-hero .home-hero-frame { margin: 0; }
body[data-layout="split"] .home-centered-hero .guest-home-frame { margin: 0 auto; }
body[data-layout="split"] #homeIntroText { max-width: 100%; text-align: left; }
@media (max-width: 820px) {
  body[data-layout="split"] .home-centered-hero { grid-template-columns: 1fr; text-align: center; }
  body[data-layout="split"] .home-centered-hero .hero-actions { justify-content: center; }
}

/* ── Layout: fullbleed (photo fills viewport, text overlaid) ── */
body[data-layout="fullbleed"] section.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
body[data-layout="fullbleed"] section.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
}
body[data-layout="fullbleed"] .home-centered-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 30px;
  background: rgba(0,0,0,0.42);
  border-radius: 28px;
  backdrop-filter: blur(4px);
}
body[data-layout="fullbleed"] .home-hero-frame { display: none; }
body[data-layout="fullbleed"] section.hero .meta { margin-bottom: 0; }

/* ── Frame style: clean (simple border, no ornate inner ring) ── */
body[data-frame="clean"] .frame::before { display: none; }
body[data-frame="clean"] .frame img { filter: none; border-radius: 16px; }
body[data-frame="clean"] .frame { border-radius: 16px; padding: 10px; }

/* ── Frame style: none (no frame at all) ── */
body[data-frame="none"] .frame { padding: 0; border: none; background: none; box-shadow: none; border-radius: 0; }
body[data-frame="none"] .frame::before { display: none; }
body[data-frame="none"] .frame img { filter: none; border-radius: 24px; }
body[data-frame="none"] .editorial-tag { display: none; }

/* ── Button style: sharp (square corners) ── */
body[data-btn="sharp"] { --btn-radius: 10px; }
body[data-btn="sharp"] input, body[data-btn="sharp"] select, body[data-btn="sharp"] textarea { border-radius: 8px; }

/* ── Button style: pill (rounded, current default) ── */
body[data-btn="pill"] { --btn-radius: 999px; }

/* ── Button style: outlined (transparent bg, stronger border) ── */
body[data-btn="outlined"] .cta, body[data-btn="outlined"] button.cta {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
}
body[data-btn="outlined"] .button-secondary, body[data-btn="outlined"] button.button-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
}

/* ── Admin page theme isolation ── */
/* Hard-reset all theme-sensitive CSS variables on admin pages.
   Themes only affect the public-facing site, never the planner UI. */
body[data-page*="admin"],
body[data-page="debug"],
body[data-page="gift-tracker"],
body[data-page="guest-import"],
body[data-page="music-admin"],
body[data-page="wedding-day-admin"],
body[data-page="registry-admin"],
body[data-page="special-events-admin"],
body[data-page="shuttle-admin"],
body[data-page="chatbots-admin"],
body[data-page="notifications-setup"],
body[data-page="guest-report"],
body[data-page="planner-report"],
body[data-page="planner-messages"],
body[data-page="manage-guests"],
body[data-page="seating-v2"],
body[data-page="seating-plan-pdf"],
body[data-page="wedding-roadmap"],
body[data-page="print-tracker"],
body[data-page="print-orders"],
body[data-page="poster-studio"],
body[data-page="save-the-date-studio"],
body[data-page="rsvp-card-studio"],
body[data-page="thank-you-studio"],
body[data-page="theme-studio"] {
  --bg:           #0b0b0d !important;
  --text:         #f6f2ea !important;
  --muted:        rgba(200,185,165,0.72) !important;
  --line:         rgba(200,169,107,0.34) !important;
  --font-heading: Georgia, 'Times New Roman', serif !important;
  --font-body:    Arial, Helvetica, sans-serif !important;
  --btn-radius:   12px !important;
}
/* Prevent fullbleed/split layout from crushing any admin shell */
body[data-layout] .admin-page-shell,
body[data-layout] .page.shell:not(.home-hero):not(.hero) {
  background: none !important;
  backdrop-filter: none !important;
}
body[data-layout="fullbleed"] .admin-page-shell {
  max-width: var(--max) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  backdrop-filter: none !important;
}
/* fullbleed public page.shell gets no-max for the hero, but admin page.shell must keep normal width */
body[data-layout="fullbleed"] main.page.shell:not(.home-hero) {
  background: none !important;
  backdrop-filter: none !important;
}

/* ── Prevent pill border-radius on admin inputs ── */
body[data-btn="pill"] .admin-page-shell input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body[data-btn="pill"] .admin-page-shell select,
body[data-btn="pill"] .admin-page-shell textarea { border-radius: 12px !important; }
/* ── Prevent outlined style breaking admin buttons ── */
body[data-btn="outlined"] .admin-page-shell .cta { background: var(--gold) !important; color: #111 !important; border-color: var(--gold) !important; }
body[data-btn="outlined"] .admin-page-shell .button-secondary { background: rgba(255,255,255,.06) !important; border-color: rgba(255,255,255,.18) !important; }

/* ── Font system: Google Fonts loaded dynamically ── */
/* When --font-heading is set to a Google Font, a <link> is injected by applyTenantToRoot */

/* ── Hamburger menu section dividers ── */
.planner-menu-divider{
  font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold);opacity:.7;padding:10px 12px 4px;
  font-family:Arial,Helvetica,sans-serif;pointer-events:none;
  border-top:1px solid rgba(255,255,255,.07);margin-top:4px;
}
.planner-menu-divider:first-child{border-top:none;margin-top:0;}

/* ── Date input calendar picker button — always visible ── */
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="month"],
input[type="week"] {
  color-scheme: dark;
  color: inherit;
}
/* Make the calendar icon visible against dark backgrounds */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.9);
  cursor: pointer;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover {
  filter: invert(1) opacity(1);
}
/* Light-background pages — keep icon dark */
body[data-bg="light"] input[type="date"]::-webkit-calendar-picker-indicator,
.admin-light input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
}

/* ── Poster studio minimize/expand toggle buttons — visible ── */
.poster-panel summary .toggle-icon,
.poster-panel summary span:last-child,
.studio-menu summary span:last-child {
  color: rgba(255,255,255,0.55) !important;
  font-size: 16px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.studio-menu details[open] summary span:last-child::after { content: ''; }

/* ── Poster / card studio details toggle — visible on dark bg ── */
.studio-menu details > summary {
  list-style: none;
}
.studio-menu details > summary::-webkit-details-marker { display: none; }
.studio-menu details > summary::after {
  content: '+';
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  margin-left: auto;
  flex-shrink: 0;
  line-height: 1;
}
.studio-menu details[open] > summary::after {
  content: '−';
}
/* Exception: My Posters summary has a count span, don't double-icon */
.studio-menu details > summary:has(#tplCount)::after { display: none; }

/* ── Planner Report print fix ── */
@media print {
  body.admin-page-shell,
  .admin-page-shell main,
  .admin-page-shell .page,
  .admin-page-shell .shell,
  .admin-page-shell .section,
  .admin-page-shell .panel,
  .admin-page-shell .mpr-section {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
    border-color: #ddd !important;
  }
  .admin-page-shell .mpr-table th { color: #444 !important; }
  .admin-page-shell .mpr-table td { color: #000 !important; }
  .admin-page-shell .mpr-metric { background: #fff !important; border-color: #ccc !important; }
  .admin-page-shell .mpr-metric-num { color: #000 !important; }
  .admin-page-shell .mpr-metric-lbl { color: #555 !important; }
  .admin-page-shell .mpr-badge { color: #000 !important; border-color: #888 !important; }
}

/* ── Poster studio: Save button prominent ── */
#saveTplBtn {
  background: rgba(200,169,107,.18) !important;
  border-color: rgba(200,169,107,.55) !important;
  color: var(--gold) !important;
  font-weight: 700 !important;
}
#saveTplBtn:hover {
  background: rgba(200,169,107,.3) !important;
}


/* ═══════════════════════════════════════════════════════════════
   MOBILE UX UPGRADE — Guest-facing public pages
   Appended after all existing rules so specificity wins cleanly.
   Affects: index.html, rsvp.html, guest-portal.html, registry.html
   Does NOT touch any admin page (admin pages use data-page selectors
   that are excluded below where needed).
═══════════════════════════════════════════════════════════════ */

/* ── 1. Public nav: smooth slide-down on mobile ── */
@media (max-width: 680px) {
  /* Override the existing display:none / display:flex toggle with a
     smooth transform instead. JS still adds/removes .open. */
  .nav-links {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(8, 8, 10, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(200,169,107,.18);
    padding: 16px 20px 24px;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    /* slide hidden above viewport by default */
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .22s ease;
    z-index: 120;
    /* override existing display:none — use visibility instead */
    display: flex !important;
    visibility: hidden;
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links a {
    width: 100%;
    padding: 13px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    opacity: 1;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.cta {
    margin-top: 14px;
    text-align: center;
    padding: 13px 0;
    border-radius: 999px;
    border-bottom: none;
    background: linear-gradient(180deg, rgba(200,169,107,0.28), rgba(200,169,107,0.12));
  }
  .nav-inner { flex-wrap: wrap; align-items: center; }
}

/* ── 2. index.html — home page mobile ── */

/* Meta cards: stack vertically, left-align, full width */
@media (max-width: 720px) {
  .meta {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .meta-card {
    text-align: left !important;
    padding: 16px 18px;
    min-height: 0 !important;
  }
  /* Hero actions: stack full-width */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .hero-actions .cta,
  .hero-actions .button-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  /* Home hero frame: full bleed */
  .home-hero-frame,
  .guest-home-frame {
    max-width: 100% !important;
    width: 100% !important;
  }
  .home-hero-frame img,
  .guest-home-frame img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    aspect-ratio: unset !important;
  }
  /* Hero headline: tighter on smallest screens */
  #homeHeroHeadline {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }
  /* Intro text: more readable */
  #homeIntroText {
    font-size: .95rem;
  }
  /* Countdown units: smaller */
  .cd-unit { min-width: 60px; padding: 11px 8px; }
  .cd-number { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  /* home-centered-hero padding on mobile */
  .home-centered-hero {
    padding: 20px 16px 24px !important;
  }
}

/* ── 3. rsvp.html — guest lookup redesign ── */

/* Centered, focused card layout */
body[data-page="guest-lookup"] .page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 32px;
  min-height: calc(100svh - 64px);
}
body[data-page="guest-lookup"] section.shell {
  width: 100%;
  max-width: 460px;
  padding: 0 16px;
}

/* Welcome header above the form */
.rsvp-lookup-header {
  text-align: center;
  margin-bottom: 24px;
}
.rsvp-lookup-icon {
  font-size: 2.6rem;
  margin-bottom: 10px;
  display: block;
}
.rsvp-lookup-title {
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  margin: 0 0 10px;
  line-height: 1.05;
}
.rsvp-lookup-sub {
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.65;
  max-width: 360px;
  margin: 0 auto;
}

/* The card container */
.rsvp-lookup-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(200,169,107,.22);
  border-radius: 22px;
  padding: 28px 22px 24px;
}

/* Collapsible help tip */
.rsvp-help-tip {
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .83rem;
  color: var(--muted);
}
.rsvp-help-tip summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rsvp-help-tip summary::-webkit-details-marker { display: none; }
.rsvp-help-tip summary::after { content: '+'; font-size: 1rem; }
.rsvp-help-tip[open] summary::after { content: '−'; }
.rsvp-help-tip p { margin: 10px 0 0; line-height: 1.55; }

/* Full-width inputs with larger touch targets */
.rsvp-lookup-card .field { margin-bottom: 14px; }
.rsvp-lookup-card label {
  font-size: .72rem !important;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
  display: block;
}
.rsvp-lookup-card input {
  width: 100%;
  padding: 15px 16px;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(200,169,107,.22);
  background: rgba(255,255,255,.05);
  color: var(--text);
  transition: border-color .2s, background .2s;
}
.rsvp-lookup-card input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(200,169,107,.07);
}

/* Submit button: full width, prominent */
#openGuestPageBtn {
  width: 100% !important;
  margin-top: 8px;
  padding: 15px 20px !important;
  font-size: 1rem !important;
  text-align: center;
  border-radius: 999px !important;
  letter-spacing: .03em;
}

/* Reset session button: subtle, full width */
#guestLookupResetSessionBtn {
  width: 100%;
  margin-top: 10px;
  text-align: center;
  font-size: .85rem;
}

/* Form grid: always single column on lookup page */
body[data-page="guest-lookup"] .form-grid {
  grid-template-columns: 1fr !important;
}

/* ── 4. guest-portal.html — full mobile overhaul ── */

/* 4a. Sidebar → horizontal scrollable pill tab strip on mobile */
@media (max-width: 979px) {

  /* Make the outer layout full-width single column
     (existing rule already does grid-template-columns:1fr, keep it) */

  /* Hide the existing sidebar and show it as a pill strip */
  .portal-sidebar {
    display: flex !important;             /* override the display:none */
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px !important;
    padding: 10px 14px !important;
    position: sticky;
    top: 58px;
    z-index: 95;
    background: rgba(8,8,10,.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200,169,107,.12);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    /* reset desktop sticky position */
    align-self: auto;
    width: 100%;
    margin: 0 -0px;   /* flush to shell edges */
  }
  .portal-sidebar::-webkit-scrollbar { display: none; }

  /* Pill buttons — compact horizontal style */
  .portal-nav-button {
    flex-shrink: 0;
    flex-direction: row !important;
    width: auto !important;
    padding: 6px 13px !important;
    border-radius: 999px !important;
    font-size: .72rem !important;
    font-weight: 600 !important;
    letter-spacing: .02em;
    white-space: nowrap;
    gap: 0 !important;
    border: 1px solid rgba(200,169,107,.22) !important;
    background: rgba(255,255,255,.04) !important;
    color: var(--muted) !important;
    transition: background .18s, border-color .18s, color .18s;
    -webkit-tap-highlight-color: transparent;
  }
  .portal-nav-button.is-active {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #111 !important;
  }
  /* Hide the summary meta text inside each pill (too much text) */
  .portal-nav-button .portal-nav-meta { display: none !important; }

  /* Section toggle (accordion chevron) — keep it as section header on mobile */
  .portal-section-toggle {
    display: flex;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    font-size: .98rem !important;
    background: rgba(255,255,255,.03) !important;
    border: 1px solid rgba(200,169,107,.18) !important;
    margin-bottom: 0;
  }
  .portal-section-toggle:after {
    content: '';
  }

  /* Portal main: tighter gap on mobile */
  .portal-main { gap: 10px; }

  /* Add bottom padding to page so sticky save btn doesn't cover content */
  .portal-section-content { padding-bottom: 0; }
}

/* 4b. Member rows: vertical stack on small screens */
@media (max-width: 600px) {
  .member-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 14px !important;
    border-radius: 16px !important;
  }
  .member-row .field { margin-bottom: 6px; }

  /* Attending buttons: larger, more thumb-friendly */
  .member-response-buttons {
    gap: 8px;
  }
  .member-response-buttons .cta,
  .member-response-buttons .button-secondary {
    flex: 1;
    text-align: center;
    min-height: 48px !important;
    padding: 12px 10px !important;
    font-size: .92rem !important;
    border-radius: 12px !important;
  }

  /* Portal hero panel: tighten up */
  .guest-portal-hero { padding: 16px 16px 12px !important; }
  .guest-portal-hero h1 { font-size: clamp(1.8rem, 7vw, 3rem) !important; }

  /* Shell padding reduction on mobile */
  .guest-portal-layout-shell { padding: 0 !important; }
}

/* 4c. Meal choice cards — replace the select look with rich cards */
/* These classes are added by the JS patch below */
.meal-choice-guest-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 8px;
  padding-left: 2px;
  font-family: var(--font-body);
}
.meal-choice-guest-label:first-child { margin-top: 8px; }

.meal-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(200,169,107,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
}
.meal-card:hover {
  border-color: rgba(200,169,107,.4);
  background: rgba(200,169,107,.06);
}
.meal-card.meal-selected {
  border-color: var(--gold) !important;
  background: rgba(200,169,107,.11) !important;
  box-shadow: 0 0 0 1px rgba(200,169,107,.28);
}
.meal-card-emoji {
  font-size: 1.7rem;
  flex-shrink: 0;
  width: 38px;
  text-align: center;
  line-height: 1;
}
.meal-card-info { flex: 1; min-width: 0; }
.meal-card-name {
  font-size: .96rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
  font-family: var(--font-body);
}
.meal-card-desc {
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--font-body);
}
.meal-card-check {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity .18s;
  font-weight: 700;
}
.meal-card.meal-selected .meal-card-check { opacity: 1; }

/* The hidden real select — keep it in the DOM for app.js to read,
   just hide it visually */
.meal-card-select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 4d. RSVP progress bar */
.rsvp-wizard-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}
.rsvp-wizard-step {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(200,169,107,.16);
  transition: background .3s;
}
.rsvp-wizard-step.wiz-done { background: var(--gold); }
.rsvp-wizard-step.wiz-current {
  background: rgba(200,169,107,.55);
}
.rsvp-wizard-label {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-family: var(--font-body);
}

/* 4e. Sticky save RSVP button on mobile */
@media (max-width: 979px) {
  #guestPortalSubmitRsvpBtn {
    position: sticky;
    bottom: 16px;
    width: 100%;
    margin-top: 18px;
    padding: 15px 20px !important;
    font-size: 1rem !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
    z-index: 80;
    /* keep it visible above section content */
    display: block;
  }
}

/* 4f. RSVP confirmation toast */
.rsvp-toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  opacity: 0;
  background: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 8px 36px rgba(0,0,0,.28);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9000;
  min-width: 240px;
  max-width: calc(100vw - 32px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
  font-family: var(--font-body);
}
.rsvp-toast.rsvp-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.rsvp-toast-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: #28c840;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .95rem; flex-shrink: 0; font-weight: 700;
}
.rsvp-toast-body strong {
  display: block;
  font-size: .88rem;
  color: #111;
  font-weight: 700;
  line-height: 1.3;
}
.rsvp-toast-body span {
  font-size: .75rem;
  color: #666;
}

/* ── 5. registry.html — mobile polish ── */
@media (max-width: 860px) {
  .registry-page-hero {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .registry-hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 220px !important;
    aspect-ratio: unset !important;
    object-position: center center;
    border-radius: 20px 20px 0 0 !important;
  }
  .registry-page-copy {
    padding: 18px 4px 4px;
  }
  .registry-page-copy h1 { margin-top: 0; }
  .registry-page-copy .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .registry-page-copy .hero-actions .cta,
  .registry-page-copy .hero-actions .button-secondary {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 700px) {
  .cards {
    grid-template-columns: 1fr !important;
  }
  .registry-link-card .hero-actions {
    flex-direction: column;
    gap: 8px;
  }
  .registry-link-card .hero-actions .cta,
  .registry-link-card .hero-actions .button-secondary {
    width: 100%;
    text-align: center;
    padding: 14px;
  }
}

/* ── 6. General mobile polish across all public pages ── */
@media (max-width: 600px) {
  /* Panels: less padding */
  .page .panel,
  .page .card { padding: 18px 16px; }

  /* Button row: stack on narrow screens */
  .page .button-row:not(.member-response-buttons) {
    flex-direction: column;
    gap: 8px;
  }
  .page .button-row:not(.member-response-buttons) .cta,
  .page .button-row:not(.member-response-buttons) .button-secondary {
    width: 100%;
    text-align: center;
  }

  /* Form grid: single column everywhere on public pages */
  .page .form-grid {
    grid-template-columns: 1fr !important;
  }

  /* Shell: tighter horizontal padding */
  .shell {
    width: calc(100% - 24px);
  }

  /* Page top padding */
  .page { padding-top: 28px; }

  /* h1: never overflow */
  h1 { word-break: break-word; }
}

/* Ensure admin pages are NOT affected by any of the above button-row stacking */
body[data-page*="admin"] .button-row,
body[data-page="gift-tracker"] .button-row,
body[data-page="seating-v2"] .button-row,
body[data-page="manage-guests"] .button-row {
  flex-direction: row !important;
  flex-wrap: wrap !important;
}
body[data-page*="admin"] .form-grid,
body[data-page="manage-guests"] .form-grid {
  grid-template-columns: 1fr 1fr !important;
}
@media (max-width: 720px) {
  body[data-page*="admin"] .form-grid,
  body[data-page="manage-guests"] .form-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   WEDDING DAY PORTAL — splash card, seating chips, shuttle pill
═══════════════════════════════════════════════════════════════ */

/* Wedding Day splash panel */
.wd-splash-panel {
  text-align: center;
  padding: 32px 24px 28px;
}
.wd-splash-header { margin-bottom: 4px; }
.wd-splash-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
  animation: wd-pulse 3s ease-in-out infinite;
}
@keyframes wd-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}
.wd-splash-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.wd-open-btn {
  display: inline-block;
  padding: 16px 36px !important;
  font-size: 1rem !important;
  border-radius: 999px !important;
  letter-spacing: .03em;
  text-decoration: none;
}

/* Seating chips — shown in both extrasWrap and wd-splash-panel */
.wd-seating-panel {
  border: 1px solid rgba(200,169,107,.2);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(200,169,107,.05);
  text-align: left;
}
.wd-seat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.wd-seat-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(200,169,107,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.wd-seat-name {
  font-weight: 700;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
}
.wd-seat-table {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  background: rgba(200,169,107,.1);
  border: 1px solid rgba(200,169,107,.25);
  border-radius: 999px;
  padding: 3px 10px;
}

/* Shuttle pill in nav strip — distinct teal-ish tint when active */
#guestPortalShuttleNavBtn.is-active {
  background: rgba(80,180,200,.18) !important;
  border-color: rgba(80,180,200,.5) !important;
  color: #7ee0f0 !important;
}

/* On mobile the wedding day section gets extra breathing room */
@media (max-width: 600px) {
  .wd-splash-panel { padding: 24px 16px 20px; }
  .wd-open-btn { width: 100%; text-align: center; }
  .wd-seat-chip { flex-direction: column; align-items: flex-start; gap: 4px; }
  .wd-seat-table { align-self: flex-start; }
}


/* ═══════════════════════════════════════════════════════════════
   TRAVEL / LODGING — rich hotel choice cards + info panels
═══════════════════════════════════════════════════════════════ */

/* Info panels: air travel + shuttle notes */
.travel-info-panel {
  padding: 16px 18px;
}
.travel-info-panel h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
.travel-info-panel p {
  margin: 0;
  line-height: 1.65;
  font-size: .92rem;
}

/* Hotel picker panel */
.hotel-picker-panel {
  padding: 18px 18px 20px;
}

/* Hotel choice cards — mirrors meal-card pattern */
.hotel-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}
.hotel-choice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid rgba(200,169,107,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: border-color .18s, background .18s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.hotel-choice-card:hover {
  border-color: rgba(200,169,107,.4);
  background: rgba(200,169,107,.06);
}
.hotel-choice-card.hotel-selected {
  border-color: var(--gold) !important;
  background: rgba(200,169,107,.11) !important;
  box-shadow: 0 0 0 1px rgba(200,169,107,.28);
}
.hotel-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
  line-height: 1;
}
.hotel-card-info { flex: 1; min-width: 0; }
.hotel-card-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
  margin-bottom: 2px;
}
.hotel-card-sub {
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--font-body);
}
.hotel-card-check {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity .18s;
  font-weight: 700;
}
.hotel-choice-card.hotel-selected .hotel-card-check { opacity: 1; }

/* Hidden select — same pattern as meal cards */
.hotel-card-select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Lodging choice summary card (shown when hotel already selected) */
.lodging-choice-summary { margin-bottom: 12px; }
.lodging-choice-summary-compact { }
.lodging-choice-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  float: left;
  margin: 0 12px 8px 0;
}
.lodging-current-pill {
  font-size: .88rem;
  font-family: var(--font-body);
  margin-bottom: 4px;
}
.lodging-choice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: .82rem;
  font-family: var(--font-body);
  color: var(--muted);
  margin-top: 6px;
}
.lodging-choice-meta::after { content: ''; display: table; clear: both; }
.lodging-choice-body::after { content: ''; display: table; clear: both; }

/* Mobile: hotel cards comfortable tap targets */
@media (max-width: 600px) {
  .hotel-choice-card { padding: 14px 13px; }
  .hotel-card-icon { width: 30px; font-size: 1.3rem; }
  .travel-info-panel { padding: 14px 14px; }
}


/* ═══════════════════════════════════════════════════════════════
   WEDDING DAY INLINE PORTAL — upload controls + media grid
═══════════════════════════════════════════════════════════════ */

.wd-inline-panel {
  padding: 22px 18px 24px;
}
.wd-upload-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.wd-upload-btn {
  padding: 12px 18px !important;
  border-radius: 999px !important;
  font-size: .88rem !important;
  letter-spacing: .03em;
  text-decoration: none;
}
.wd-media-item {
  position: relative;
  break-inside: avoid;
}
.wd-media-meta {
  font-size: .72rem;
  color: var(--muted);
  font-family: var(--font-body);
  margin-top: 4px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile: upload buttons stack */
@media (max-width: 500px) {
  .wd-upload-row { flex-direction: column; }
  .wd-upload-btn { width: 100%; text-align: center; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════
   PORTAL SECTION TOGGLE — mobile header appearance  
   (shows which section you're in at top of active section)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 979px) {
  /* The toggle label on mobile reads as a section title, not a button */
  .portal-section-toggle .portal-section-summary {
    display: none; /* hide the summary text in the header — it's in the pill strip */
  }
  /* Add a subtle "← Back" hint via ::before on the pill strip label */
  .portal-sidebar::before {
    content: 'Section';
    font-size: .6rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(200,169,107,.4);
    padding: 0 4px;
    white-space: nowrap;
    align-self: center;
    flex-shrink: 0;
  }
}


/* ═══════════════════════════════════════════════════════════════
   WEDDING DAY INLINE — media footer, delete button, video item
═══════════════════════════════════════════════════════════════ */

.wd-media-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  padding: 0 2px;
}
.wd-delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  opacity: .45;
  padding: 2px 4px;
  border-radius: 6px;
  transition: opacity .15s, background .15s;
  line-height: 1;
  flex-shrink: 0;
}
.wd-delete-btn:hover { opacity: 1; background: rgba(200,80,80,.15); }
.wd-video-item {
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
  padding: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   PUBLIC PAGE THEME OVERRIDE — content legibility on any background
   Applies to: index, details, registry, guest-portal, guest-lookup
   These selectors use data-page to scope to public pages only.
   Every content container gets a solid semi-opaque dark interior
   so text remains readable regardless of the couple's theme choice.
═══════════════════════════════════════════════════════════════ */

/*
  The theme system sets --bg to whatever the couple chose.
  When --bg is light, transparent rgba(255,255,255,0.04) panels
  become invisible or clash. We fix this by giving content surfaces
  a hard dark backing on public pages — dark enough to ensure contrast
  but still allowing the background to show as a frame/border glow.

  We introduce --content-bg: a fixed dark surface that ignores --bg.
  Everything text-heavy or interactive uses it.
*/

body[data-page="home"],
body[data-page="details"],
body[data-page="registry"],
body[data-page="guest-portal"],
body[data-page="guest-lookup"],
body[data-page="lodging"] {
  --content-bg:        rgba(10, 10, 14, 0.88);
  --content-bg-solid:  #0d0d12;
  --content-border:    rgba(255, 255, 255, 0.10);
  --content-input-bg:  rgba(255, 255, 255, 0.07);
  --content-text:      #f0ece4;
  --content-muted:     rgba(240, 236, 228, 0.55);
}

/* ── Panels, cards, meta-cards ── */
body[data-page="home"] .panel,
body[data-page="home"] .card,
body[data-page="home"] .meta-card,
body[data-page="home"] .hero-card,
body[data-page="home"] .home-centered-hero,
body[data-page="details"] .panel,
body[data-page="details"] .card,
body[data-page="details"] .meta-card,
body[data-page="details"] .timeline-item,
body[data-page="registry"] .panel,
body[data-page="registry"] .card,
body[data-page="registry"] .registry-page-copy,
body[data-page="registry"] .registry-link-card,
body[data-page="guest-portal"] .panel,
body[data-page="guest-portal"] .card,
body[data-page="guest-portal"] .meta-card,
body[data-page="guest-portal"] .guest-portal-hero,
body[data-page="guest-portal"] .portal-section-toggle,
body[data-page="guest-portal"] .portal-nav-button,
body[data-page="guest-lookup"] .panel,
body[data-page="guest-lookup"] .rsvp-lookup-card,
body[data-page="lodging"] .panel,
body[data-page="lodging"] .card,
body[data-page="lodging"] .lodging-card {
  background: var(--content-bg) !important;
  border-color: var(--content-border) !important;
  color: var(--content-text) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* ── Headings inside content containers ── */
body[data-page="home"] .panel h1,
body[data-page="home"] .panel h2,
body[data-page="home"] .panel h3,
body[data-page="home"] .hero-card h1,
body[data-page="home"] .home-centered-hero h1,
body[data-page="home"] .home-centered-hero h2,
body[data-page="details"] .panel h1,
body[data-page="details"] .panel h2,
body[data-page="details"] .panel h3,
body[data-page="details"] .timeline-item h2,
body[data-page="details"] .timeline-item h3,
body[data-page="registry"] .panel h1,
body[data-page="registry"] .panel h2,
body[data-page="registry"] .panel h3,
body[data-page="guest-portal"] .panel h1,
body[data-page="guest-portal"] .panel h2,
body[data-page="guest-portal"] .panel h3,
body[data-page="guest-lookup"] .rsvp-lookup-title,
body[data-page="guest-lookup"] .panel h1,
body[data-page="guest-lookup"] .panel h2 {
  color: var(--content-text) !important;
}

/* ── Body text / muted text inside containers ── */
body[data-page="home"] .panel p,
body[data-page="home"] .home-centered-hero p,
body[data-page="home"] .meta-card p,
body[data-page="details"] .panel p,
body[data-page="details"] .timeline-item p,
body[data-page="registry"] .panel p,
body[data-page="registry"] .registry-link-card p,
body[data-page="guest-portal"] .panel p,
body[data-page="guest-portal"] .portal-helper-copy,
body[data-page="guest-lookup"] .panel p,
body[data-page="guest-lookup"] .rsvp-lookup-sub,
body[data-page="lodging"] .panel p,
body[data-page="lodging"] .lodging-card p {
  color: var(--content-muted) !important;
}

/* ── Inputs, selects, textareas ── */
body[data-page="home"] input,
body[data-page="home"] select,
body[data-page="home"] textarea,
body[data-page="details"] input,
body[data-page="details"] select,
body[data-page="details"] textarea,
body[data-page="registry"] input,
body[data-page="registry"] select,
body[data-page="registry"] textarea,
body[data-page="guest-portal"] input:not([type="checkbox"]):not([type="radio"]),
body[data-page="guest-portal"] select,
body[data-page="guest-portal"] textarea,
body[data-page="guest-lookup"] input,
body[data-page="guest-lookup"] select,
body[data-page="guest-lookup"] textarea,
body[data-page="lodging"] input,
body[data-page="lodging"] select,
body[data-page="lodging"] textarea {
  background: var(--content-input-bg) !important;
  color: var(--content-text) !important;
  border-color: rgba(255,255,255,0.14) !important;
}
body[data-page="guest-portal"] input:focus:not([type="checkbox"]):not([type="radio"]),
body[data-page="guest-portal"] select:focus,
body[data-page="guest-portal"] textarea:focus,
body[data-page="guest-lookup"] input:focus,
body[data-page="guest-lookup"] select:focus,
body[data-page="guest-lookup"] textarea:focus {
  border-color: var(--gold) !important;
  background: rgba(200,169,107,.09) !important;
  outline: none;
}

/* ── Notice / alert boxes ── */
body[data-page="home"] .notice,
body[data-page="details"] .notice,
body[data-page="registry"] .notice,
body[data-page="guest-portal"] .notice,
body[data-page="guest-lookup"] .notice,
body[data-page="lodging"] .notice {
  background: rgba(200,169,107,.10) !important;
  border-color: rgba(200,169,107,.28) !important;
  color: var(--content-text) !important;
}
body[data-page="guest-portal"] .notice.success,
body[data-page="guest-lookup"] .notice.success {
  background: rgba(80,180,100,.12) !important;
  border-color: rgba(80,180,100,.3) !important;
}
body[data-page="guest-portal"] .notice.error,
body[data-page="guest-lookup"] .notice.error {
  background: rgba(200,80,80,.12) !important;
  border-color: rgba(200,80,80,.3) !important;
}

/* ── Nav: always dark regardless of theme ── */
body[data-page="home"] .nav,
body[data-page="details"] .nav,
body[data-page="registry"] .nav,
body[data-page="guest-portal"] .nav,
body[data-page="guest-lookup"] .nav,
body[data-page="lodging"] .nav {
  background: rgba(8,8,12,.92) !important;
  border-bottom-color: rgba(255,255,255,.08) !important;
}
body[data-page="home"] .nav-links a,
body[data-page="details"] .nav-links a,
body[data-page="registry"] .nav-links a,
body[data-page="guest-portal"] .nav-links a,
body[data-page="guest-lookup"] .nav-links a,
body[data-page="lodging"] .nav-links a {
  color: rgba(240,236,228,.75) !important;
}
body[data-page="home"] .brand-top,
body[data-page="home"] .brand-main,
body[data-page="details"] .brand-top,
body[data-page="details"] .brand-main,
body[data-page="registry"] .brand-top,
body[data-page="registry"] .brand-main,
body[data-page="guest-portal"] .brand-top,
body[data-page="guest-portal"] .brand-main,
body[data-page="guest-lookup"] .brand-top,
body[data-page="guest-lookup"] .brand-main {
  color: var(--gold) !important;
}

/* ── Pill tab strip on guest portal (always dark) ── */
body[data-page="guest-portal"] .portal-sidebar {
  background: rgba(8,8,12,.96) !important;
  border-bottom-color: rgba(200,169,107,.14) !important;
}

/* ── Member rows in RSVP form ── */
body[data-page="guest-portal"] .member-row {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.09) !important;
}

/* ── Lodging cards refined ── */
body[data-page="guest-portal"] .lodging-card,
body[data-page="guest-portal"] .lodging-card-refined,
body[data-page="lodging"] .lodging-card,
body[data-page="lodging"] .lodging-card-refined {
  background: rgba(10,10,14,.85) !important;
  border-color: rgba(255,255,255,.1) !important;
}

/* ── Meal choice cards + hotel choice cards ── */
body[data-page="guest-portal"] .meal-card,
body[data-page="guest-portal"] .hotel-choice-card {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(200,169,107,.18) !important;
}
body[data-page="guest-portal"] .meal-card.meal-selected,
body[data-page="guest-portal"] .hotel-choice-card.hotel-selected {
  background: rgba(200,169,107,.12) !important;
  border-color: var(--gold) !important;
}

/* ── Agenda schedule rows ── */
body[data-page="guest-portal"] .agenda-row,
body[data-page="details"] .agenda-row {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(255,255,255,.08) !important;
  color: var(--content-text) !important;
}

/* ── Footer on public pages ── */
body[data-page="home"] footer,
body[data-page="details"] footer,
body[data-page="registry"] footer,
body[data-page="guest-portal"] footer,
body[data-page="guest-lookup"] footer,
body[data-page="lodging"] footer {
  background: rgba(6,6,10,.95) !important;
  color: rgba(240,236,228,.4) !important;
}

/* ── Seating chips, WD panels ── */
body[data-page="guest-portal"] .wd-seating-panel,
body[data-page="guest-portal"] .wd-seat-chip {
  background: rgba(10,10,14,.75) !important;
  border-color: rgba(200,169,107,.2) !important;
}

/* ── Wedding day inline panel ── */
body[data-page="guest-portal"] .wd-inline-panel {
  background: rgba(10,10,14,.88) !important;
}

/* ── Portal section toggle header ── */
body[data-page="guest-portal"] .portal-section-toggle {
  background: rgba(255,255,255,.04) !important;
  border-color: rgba(200,169,107,.22) !important;
  color: var(--content-text) !important;
}

/* ── RSVP lookup card on light backgrounds ── */
body[data-page="guest-lookup"] .rsvp-lookup-card {
  background: rgba(10,10,14,.88) !important;
  border-color: rgba(200,169,107,.22) !important;
}
body[data-page="guest-lookup"] .rsvp-lookup-sub,
body[data-page="guest-lookup"] .rsvp-lookup-title {
  color: var(--content-text) !important;
}

/* ── Proof / stat bar on home ── */
body[data-page="home"] .proof {
  background: rgba(8,8,12,.82) !important;
  border-color: rgba(255,255,255,.07) !important;
}
body[data-page="home"] .proof-num { color: var(--gold) !important; }
body[data-page="home"] .proof-label { color: var(--content-muted) !important; }


/* ═══════════════════════════════════════════════════════════════
   HOTEL AUTO-SAVE + SHUTTLE SECTION
═══════════════════════════════════════════════════════════════ */

/* Hotel picker panel — saving indicator on cards */
.hotel-card-saving {
  font-size: .7rem;
  color: var(--muted);
  flex-shrink: 0;
}
.hotel-choice-card.hotel-selected .hotel-card-check { opacity: 1; }
.hotel-choice-card.hotel-selected .hotel-card-saving { display: none !important; }

/* Shuttle section card */
.shuttle-section-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.shuttle-status-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.shuttle-status-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.shuttle-status-label {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-body);
  margin-bottom: 4px;
}
.shuttle-status-sub {
  font-size: .82rem;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.5;
}
.shuttle-toggle-row {
  padding: 4px 0;
}
.shuttle-toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
.shuttle-toggle-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.shuttle-save-btn {
  margin-top: 4px !important;
}

/* Shuttle nav pill — teal tint when active */
#guestPortalShuttleNavBtn.is-active {
  background: rgba(80,180,200,.18) !important;
  border-color: rgba(80,180,200,.5) !important;
  color: #7ee0f0 !important;
}

/* Public page content bg override for shuttle section */
body[data-page="guest-portal"] .shuttle-status-row {
  background: rgba(255,255,255,.05) !important;
  border-color: rgba(255,255,255,.1) !important;
}

/* ═══════════════════════════════════════════════════════════════
   ADMIN WEDDING DAY MEDIA — delete button layout
═══════════════════════════════════════════════════════════════ */
.admin-media-card { padding: 0; overflow: hidden; }
.admin-media-card > img { border-radius: 0; }
.admin-media-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
}


/* ===== Public Story + Q&A mockup integration ===== */
.public-content-teaser-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.public-content-teaser-card{display:flex;flex-direction:column;justify-content:space-between;min-height:250px}
.story-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:22px;align-items:center}
.story-hero-copy p{font-size:1.02rem}
.story-photo-frame img{aspect-ratio:4/5;object-fit:cover;object-position:center 35%}
.story-block-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.story-block h3,.qa-card h3{font-size:1.15rem}
.story-timeline-list{display:grid;gap:12px;margin-top:18px}
.story-timeline-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;align-items:start;padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035)}
.story-timeline-date{font-family:var(--font-body);color:var(--gold);font-weight:700;font-size:.88rem}
.story-timeline-title{font-weight:700;margin-bottom:4px}
.qa-layout{display:grid;grid-template-columns:minmax(260px,.45fr) minmax(0,1fr);gap:22px;align-items:start}
.qa-jump-list{display:grid;gap:8px;margin-top:14px}
.qa-jump-list a{font-family:var(--font-body);padding:10px 12px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);color:var(--text)}
.qa-list{display:grid;gap:14px}
.qa-card{padding:20px;border-radius:22px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.04)}
.qa-card p{margin-bottom:0}
.admin-public-content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.admin-public-content-full{grid-column:1 / -1}
.admin-public-qa-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) auto;gap:10px;align-items:start;margin-bottom:10px}
.admin-public-qa-row button{white-space:nowrap}
.admin-story-preview-card{border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:14px;background:rgba(255,255,255,.03)}
@media (max-width:900px){.public-content-teaser-grid,.story-hero-grid,.story-block-grid,.qa-layout,.admin-public-content-grid{grid-template-columns:1fr}.admin-public-content-full{grid-column:auto}.admin-public-qa-row{grid-template-columns:1fr}.story-timeline-row{grid-template-columns:1fr}}

/* ═══════════════════════════════════════════════════════════════
   PUBLIC THEME STUDIO SURFACE NORMALIZATION — white / light themes
   Keeps public pages readable and consistent when Theme Studio selects
   ivory, white/gold, white/silver, or other light backgrounds.
═══════════════════════════════════════════════════════════════ */
body[data-page="home"],
body[data-page="details"],
body[data-page="registry"],
body[data-page="our-story"]{
  color: var(--theme-on-bg, var(--text)) !important;
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--gold) 10%, transparent), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2, var(--bg)) 100%) !important;
}

html[data-theme-tone="light"] body[data-page="home"],
html[data-theme-tone="light"] body[data-page="details"],
html[data-theme-tone="light"] body[data-page="registry"],
html[data-theme-tone="light"] body[data-page="our-story"]{
  background: var(--bg) !important;
  color: var(--theme-on-bg) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .nav,
html[data-theme-tone="light"] body[data-page="details"] .nav,
html[data-theme-tone="light"] body[data-page="registry"] .nav,
html[data-theme-tone="light"] body[data-page="our-story"] .nav{
  background: var(--theme-nav-bg) !important;
  border-bottom: 1px solid var(--theme-border) !important;
  box-shadow: 0 10px 30px rgba(58,45,23,.07) !important;
}
html[data-theme-tone="light"] body[data-page="home"] .nav-links a,
html[data-theme-tone="light"] body[data-page="details"] .nav-links a,
html[data-theme-tone="light"] body[data-page="registry"] .nav-links a,
html[data-theme-tone="light"] body[data-page="our-story"] .nav-links a,
html[data-theme-tone="light"] body[data-page="home"] .brand-main,
html[data-theme-tone="light"] body[data-page="details"] .brand-main,
html[data-theme-tone="light"] body[data-page="registry"] .brand-main,
html[data-theme-tone="light"] body[data-page="our-story"] .brand-main{
  color: var(--theme-on-bg) !important;
  opacity: .88 !important;
}
html[data-theme-tone="light"] body[data-page="home"] .brand-top,
html[data-theme-tone="light"] body[data-page="details"] .brand-top,
html[data-theme-tone="light"] body[data-page="registry"] .brand-top,
html[data-theme-tone="light"] body[data-page="our-story"] .brand-top,
html[data-theme-tone="light"] body[data-page="home"] .eyebrow,
html[data-theme-tone="light"] body[data-page="details"] .eyebrow,
html[data-theme-tone="light"] body[data-page="registry"] .eyebrow,
html[data-theme-tone="light"] body[data-page="our-story"] .eyebrow{
  color: var(--gold) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .page,
html[data-theme-tone="light"] body[data-page="details"] .page,
html[data-theme-tone="light"] body[data-page="registry"] .page,
html[data-theme-tone="light"] body[data-page="our-story"] .page,
html[data-theme-tone="light"] body[data-page="home"] .section,
html[data-theme-tone="light"] body[data-page="details"] .section,
html[data-theme-tone="light"] body[data-page="registry"] .section,
html[data-theme-tone="light"] body[data-page="our-story"] .section{
  background: transparent !important;
  color: var(--theme-on-bg) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .hero-card,
html[data-theme-tone="light"] body[data-page="home"] .home-centered-hero,
html[data-theme-tone="light"] body[data-page="home"] .panel,
html[data-theme-tone="light"] body[data-page="home"] .card,
html[data-theme-tone="light"] body[data-page="home"] .meta-card,
html[data-theme-tone="light"] body[data-page="details"] .panel,
html[data-theme-tone="light"] body[data-page="details"] .card,
html[data-theme-tone="light"] body[data-page="details"] .meta-card,
html[data-theme-tone="light"] body[data-page="details"] .timeline-item,
html[data-theme-tone="light"] body[data-page="details"] .details-travel-mini,
html[data-theme-tone="light"] body[data-page="details"] .lodging-card,
html[data-theme-tone="light"] body[data-page="details"] .details-lodging-compact-panel,
html[data-theme-tone="light"] body[data-page="registry"] .panel,
html[data-theme-tone="light"] body[data-page="registry"] .card,
html[data-theme-tone="light"] body[data-page="registry"] .registry-page-hero,
html[data-theme-tone="light"] body[data-page="registry"] .registry-link-card,
html[data-theme-tone="light"] body[data-page="our-story"] .panel,
html[data-theme-tone="light"] body[data-page="our-story"] .card,
html[data-theme-tone="light"] body[data-page="our-story"] .story-block,
html[data-theme-tone="light"] body[data-page="our-story"] .qa-card,
html[data-theme-tone="light"] body[data-page="our-story"] .story-timeline-row{
  background: linear-gradient(180deg, var(--theme-surface-alt), var(--theme-surface)) !important;
  color: var(--theme-on-bg) !important;
  border-color: var(--theme-border) !important;
  box-shadow: var(--theme-shadow) !important;
}

html[data-theme-tone="light"] body[data-page="home"] h1,
html[data-theme-tone="light"] body[data-page="home"] h2,
html[data-theme-tone="light"] body[data-page="home"] h3,
html[data-theme-tone="light"] body[data-page="details"] h1,
html[data-theme-tone="light"] body[data-page="details"] h2,
html[data-theme-tone="light"] body[data-page="details"] h3,
html[data-theme-tone="light"] body[data-page="registry"] h1,
html[data-theme-tone="light"] body[data-page="registry"] h2,
html[data-theme-tone="light"] body[data-page="registry"] h3,
html[data-theme-tone="light"] body[data-page="our-story"] h1,
html[data-theme-tone="light"] body[data-page="our-story"] h2,
html[data-theme-tone="light"] body[data-page="our-story"] h3,
html[data-theme-tone="light"] body[data-page="home"] strong,
html[data-theme-tone="light"] body[data-page="details"] strong,
html[data-theme-tone="light"] body[data-page="registry"] strong,
html[data-theme-tone="light"] body[data-page="our-story"] strong{
  color: var(--theme-on-bg) !important;
}
html[data-theme-tone="light"] body[data-page="home"] p,
html[data-theme-tone="light"] body[data-page="home"] li,
html[data-theme-tone="light"] body[data-page="home"] .muted,
html[data-theme-tone="light"] body[data-page="details"] p,
html[data-theme-tone="light"] body[data-page="details"] li,
html[data-theme-tone="light"] body[data-page="details"] .muted,
html[data-theme-tone="light"] body[data-page="registry"] p,
html[data-theme-tone="light"] body[data-page="registry"] li,
html[data-theme-tone="light"] body[data-page="registry"] .muted,
html[data-theme-tone="light"] body[data-page="our-story"] p,
html[data-theme-tone="light"] body[data-page="our-story"] li,
html[data-theme-tone="light"] body[data-page="our-story"] .muted{
  color: var(--theme-muted) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .frame,
html[data-theme-tone="light"] body[data-page="details"] .frame,
html[data-theme-tone="light"] body[data-page="registry"] .frame,
html[data-theme-tone="light"] body[data-page="our-story"] .frame,
html[data-theme-tone="light"] body[data-page="home"] .guest-home-frame,
html[data-theme-tone="light"] body[data-page="our-story"] .story-photo-frame{
  background: var(--theme-surface-alt) !important;
  border-color: var(--theme-border) !important;
  box-shadow: var(--theme-shadow) !important;
}
html[data-theme-tone="light"] body[data-page="home"] .frame:before,
html[data-theme-tone="light"] body[data-page="details"] .frame:before,
html[data-theme-tone="light"] body[data-page="registry"] .frame:before,
html[data-theme-tone="light"] body[data-page="our-story"] .frame:before{
  border-color: var(--theme-border) !important;
}
html[data-theme-tone="light"] body[data-page="home"] .editorial-tag,
html[data-theme-tone="light"] body[data-page="details"] .editorial-tag,
html[data-theme-tone="light"] body[data-page="our-story"] .editorial-tag{
  background: var(--theme-surface-alt) !important;
  color: var(--theme-on-bg) !important;
  border-color: var(--theme-border) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .meta-card,
html[data-theme-tone="light"] body[data-page="details"] .timeline-item,
html[data-theme-tone="light"] body[data-page="our-story"] .story-timeline-row{
  background: var(--theme-surface-alt) !important;
}
html[data-theme-tone="light"] body[data-page="home"] .cta,
html[data-theme-tone="light"] body[data-page="details"] .cta,
html[data-theme-tone="light"] body[data-page="registry"] .cta,
html[data-theme-tone="light"] body[data-page="our-story"] .cta,
html[data-theme-tone="light"] body[data-page="home"] button.cta,
html[data-theme-tone="light"] body[data-page="details"] button.cta,
html[data-theme-tone="light"] body[data-page="registry"] button.cta,
html[data-theme-tone="light"] body[data-page="our-story"] button.cta{
  background: var(--gold) !important;
  color: #ffffff !important;
  border-color: var(--gold) !important;
  box-shadow: 0 8px 22px rgba(92,70,26,.16) !important;
}
html[data-theme-tone="light"] body[data-page="home"] .button-secondary,
html[data-theme-tone="light"] body[data-page="details"] .button-secondary,
html[data-theme-tone="light"] body[data-page="registry"] .button-secondary,
html[data-theme-tone="light"] body[data-page="our-story"] .button-secondary,
html[data-theme-tone="light"] body[data-page="home"] .small-btn,
html[data-theme-tone="light"] body[data-page="details"] .small-btn,
html[data-theme-tone="light"] body[data-page="registry"] .small-btn,
html[data-theme-tone="light"] body[data-page="our-story"] .small-btn{
  background: transparent !important;
  color: var(--theme-on-bg) !important;
  border-color: var(--theme-border) !important;
}
html[data-theme-tone="light"] body[data-page="home"] input,
html[data-theme-tone="light"] body[data-page="home"] select,
html[data-theme-tone="light"] body[data-page="home"] textarea,
html[data-theme-tone="light"] body[data-page="details"] input,
html[data-theme-tone="light"] body[data-page="details"] select,
html[data-theme-tone="light"] body[data-page="details"] textarea,
html[data-theme-tone="light"] body[data-page="registry"] input,
html[data-theme-tone="light"] body[data-page="registry"] select,
html[data-theme-tone="light"] body[data-page="registry"] textarea,
html[data-theme-tone="light"] body[data-page="our-story"] input,
html[data-theme-tone="light"] body[data-page="our-story"] select,
html[data-theme-tone="light"] body[data-page="our-story"] textarea{
  background: var(--theme-surface-alt) !important;
  color: var(--theme-on-bg) !important;
  border-color: var(--theme-border) !important;
}
html[data-theme-tone="light"] body[data-page="home"] footer,
html[data-theme-tone="light"] body[data-page="details"] footer,
html[data-theme-tone="light"] body[data-page="registry"] footer,
html[data-theme-tone="light"] body[data-page="our-story"] footer{
  background: var(--theme-surface-alt) !important;
  color: var(--theme-muted) !important;
  border-top: 1px solid var(--theme-border) !important;
}

/* ===== AUTHORITATIVE PUBLIC LIGHT THEME PASS v2 =====
   When Theme Studio chooses a light public theme, this block makes the
   theme fully authoritative across public pages instead of allowing older
   dark-card public styling to bleed through. */
html[data-theme-tone="light"] body[data-page="home"],
html[data-theme-tone="light"] body[data-page="details"],
html[data-theme-tone="light"] body[data-page="registry"],
html[data-theme-tone="light"] body[data-page="our-story"],
html[data-theme-tone="light"] body[data-page="qa"],
body[data-theme-tone="light"][data-page="home"],
body[data-theme-tone="light"][data-page="details"],
body[data-theme-tone="light"][data-page="registry"],
body[data-theme-tone="light"][data-page="our-story"],
body[data-theme-tone="light"][data-page="qa"]{
  --content-bg: var(--theme-surface) !important;
  --content-bg-solid: var(--theme-surface-alt) !important;
  --content-border: var(--theme-border) !important;
  --content-input-bg: var(--theme-surface-alt) !important;
  --content-text: var(--theme-on-bg) !important;
  --content-muted: var(--theme-muted) !important;
  color: var(--theme-on-bg) !important;
  background: var(--bg) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .nav,
html[data-theme-tone="light"] body[data-page="details"] .nav,
html[data-theme-tone="light"] body[data-page="registry"] .nav,
html[data-theme-tone="light"] body[data-page="our-story"] .nav,
html[data-theme-tone="light"] body[data-page="qa"] .nav,
body[data-theme-tone="light"][data-page="home"] .nav,
body[data-theme-tone="light"][data-page="details"] .nav,
body[data-theme-tone="light"][data-page="registry"] .nav,
body[data-theme-tone="light"][data-page="our-story"] .nav,
body[data-theme-tone="light"][data-page="qa"] .nav{
  background: var(--theme-nav-bg) !important;
  color: var(--theme-on-bg) !important;
  border-bottom: 1px solid var(--theme-border) !important;
  box-shadow: 0 8px 28px rgba(45,35,18,.08) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .nav *,
html[data-theme-tone="light"] body[data-page="details"] .nav *,
html[data-theme-tone="light"] body[data-page="registry"] .nav *,
html[data-theme-tone="light"] body[data-page="our-story"] .nav *,
html[data-theme-tone="light"] body[data-page="qa"] .nav *,
body[data-theme-tone="light"][data-page="home"] .nav *,
body[data-theme-tone="light"][data-page="details"] .nav *,
body[data-theme-tone="light"][data-page="registry"] .nav *,
body[data-theme-tone="light"][data-page="our-story"] .nav *,
body[data-theme-tone="light"][data-page="qa"] .nav *{
  color: var(--theme-on-bg) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .nav .cta,
html[data-theme-tone="light"] body[data-page="details"] .nav .cta,
html[data-theme-tone="light"] body[data-page="registry"] .nav .cta,
html[data-theme-tone="light"] body[data-page="our-story"] .nav .cta,
html[data-theme-tone="light"] body[data-page="qa"] .nav .cta,
body[data-theme-tone="light"][data-page="home"] .nav .cta,
body[data-theme-tone="light"][data-page="details"] .nav .cta,
body[data-theme-tone="light"][data-page="registry"] .nav .cta,
body[data-theme-tone="light"][data-page="our-story"] .nav .cta,
body[data-theme-tone="light"][data-page="qa"] .nav .cta{
  background: var(--gold) !important;
  color: #ffffff !important;
  border-color: var(--gold) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .page,
html[data-theme-tone="light"] body[data-page="details"] .page,
html[data-theme-tone="light"] body[data-page="registry"] .page,
html[data-theme-tone="light"] body[data-page="our-story"] .page,
html[data-theme-tone="light"] body[data-page="qa"] .page,
html[data-theme-tone="light"] body[data-page="home"] main,
html[data-theme-tone="light"] body[data-page="details"] main,
html[data-theme-tone="light"] body[data-page="registry"] main,
html[data-theme-tone="light"] body[data-page="our-story"] main,
html[data-theme-tone="light"] body[data-page="qa"] main{
  background: var(--bg) !important;
  color: var(--theme-on-bg) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .panel,
html[data-theme-tone="light"] body[data-page="home"] .card,
html[data-theme-tone="light"] body[data-page="home"] .meta-card,
html[data-theme-tone="light"] body[data-page="home"] .hero-card,
html[data-theme-tone="light"] body[data-page="home"] .home-centered-hero,
html[data-theme-tone="light"] body[data-page="home"] .public-content-teaser-card,
html[data-theme-tone="light"] body[data-page="details"] .panel,
html[data-theme-tone="light"] body[data-page="details"] .card,
html[data-theme-tone="light"] body[data-page="details"] .meta-card,
html[data-theme-tone="light"] body[data-page="details"] .timeline-item,
html[data-theme-tone="light"] body[data-page="details"] .details-travel-mini,
html[data-theme-tone="light"] body[data-page="details"] .details-lodging-compact-panel,
html[data-theme-tone="light"] body[data-page="details"] .lodging-card,
html[data-theme-tone="light"] body[data-page="registry"] .panel,
html[data-theme-tone="light"] body[data-page="registry"] .card,
html[data-theme-tone="light"] body[data-page="registry"] .registry-page-hero,
html[data-theme-tone="light"] body[data-page="registry"] .registry-page-copy,
html[data-theme-tone="light"] body[data-page="registry"] .registry-link-card,
html[data-theme-tone="light"] body[data-page="our-story"] .panel,
html[data-theme-tone="light"] body[data-page="our-story"] .card,
html[data-theme-tone="light"] body[data-page="our-story"] .story-hero-copy,
html[data-theme-tone="light"] body[data-page="our-story"] .story-block,
html[data-theme-tone="light"] body[data-page="our-story"] .story-timeline-row,
html[data-theme-tone="light"] body[data-page="qa"] .panel,
html[data-theme-tone="light"] body[data-page="qa"] .card,
html[data-theme-tone="light"] body[data-page="qa"] .qa-card,
html[data-theme-tone="light"] body[data-page="qa"] .qa-jump-list a{
  background: linear-gradient(180deg, var(--theme-surface-alt), var(--theme-surface)) !important;
  color: var(--theme-on-bg) !important;
  border-color: var(--theme-border) !important;
  box-shadow: var(--theme-shadow) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-theme-tone="light"] body[data-page="home"] .panel *,
html[data-theme-tone="light"] body[data-page="home"] .card *,
html[data-theme-tone="light"] body[data-page="home"] .meta-card *,
html[data-theme-tone="light"] body[data-page="home"] .hero-card *,
html[data-theme-tone="light"] body[data-page="details"] .panel *,
html[data-theme-tone="light"] body[data-page="details"] .card *,
html[data-theme-tone="light"] body[data-page="details"] .timeline-item *,
html[data-theme-tone="light"] body[data-page="registry"] .panel *,
html[data-theme-tone="light"] body[data-page="registry"] .card *,
html[data-theme-tone="light"] body[data-page="registry"] .registry-page-hero *,
html[data-theme-tone="light"] body[data-page="our-story"] .panel *,
html[data-theme-tone="light"] body[data-page="our-story"] .card *,
html[data-theme-tone="light"] body[data-page="qa"] .panel *,
html[data-theme-tone="light"] body[data-page="qa"] .qa-card *,
html[data-theme-tone="light"] body[data-page="qa"] .qa-jump-list a{
  color: inherit;
}

html[data-theme-tone="light"] body[data-page="home"] h1,
html[data-theme-tone="light"] body[data-page="home"] h2,
html[data-theme-tone="light"] body[data-page="home"] h3,
html[data-theme-tone="light"] body[data-page="home"] strong,
html[data-theme-tone="light"] body[data-page="details"] h1,
html[data-theme-tone="light"] body[data-page="details"] h2,
html[data-theme-tone="light"] body[data-page="details"] h3,
html[data-theme-tone="light"] body[data-page="details"] strong,
html[data-theme-tone="light"] body[data-page="registry"] h1,
html[data-theme-tone="light"] body[data-page="registry"] h2,
html[data-theme-tone="light"] body[data-page="registry"] h3,
html[data-theme-tone="light"] body[data-page="registry"] strong,
html[data-theme-tone="light"] body[data-page="our-story"] h1,
html[data-theme-tone="light"] body[data-page="our-story"] h2,
html[data-theme-tone="light"] body[data-page="our-story"] h3,
html[data-theme-tone="light"] body[data-page="our-story"] strong,
html[data-theme-tone="light"] body[data-page="qa"] h1,
html[data-theme-tone="light"] body[data-page="qa"] h2,
html[data-theme-tone="light"] body[data-page="qa"] h3,
html[data-theme-tone="light"] body[data-page="qa"] strong{
  color: var(--theme-on-bg) !important;
}

html[data-theme-tone="light"] body[data-page="home"] p,
html[data-theme-tone="light"] body[data-page="home"] li,
html[data-theme-tone="light"] body[data-page="home"] .muted,
html[data-theme-tone="light"] body[data-page="details"] p,
html[data-theme-tone="light"] body[data-page="details"] li,
html[data-theme-tone="light"] body[data-page="details"] .muted,
html[data-theme-tone="light"] body[data-page="registry"] p,
html[data-theme-tone="light"] body[data-page="registry"] li,
html[data-theme-tone="light"] body[data-page="registry"] .muted,
html[data-theme-tone="light"] body[data-page="our-story"] p,
html[data-theme-tone="light"] body[data-page="our-story"] li,
html[data-theme-tone="light"] body[data-page="our-story"] .muted,
html[data-theme-tone="light"] body[data-page="qa"] p,
html[data-theme-tone="light"] body[data-page="qa"] li,
html[data-theme-tone="light"] body[data-page="qa"] .muted{
  color: var(--theme-muted) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .eyebrow,
html[data-theme-tone="light"] body[data-page="home"] .brand-top,
html[data-theme-tone="light"] body[data-page="details"] .eyebrow,
html[data-theme-tone="light"] body[data-page="details"] .brand-top,
html[data-theme-tone="light"] body[data-page="registry"] .eyebrow,
html[data-theme-tone="light"] body[data-page="registry"] .brand-top,
html[data-theme-tone="light"] body[data-page="our-story"] .eyebrow,
html[data-theme-tone="light"] body[data-page="our-story"] .brand-top,
html[data-theme-tone="light"] body[data-page="qa"] .eyebrow,
html[data-theme-tone="light"] body[data-page="qa"] .brand-top,
html[data-theme-tone="light"] body[data-page="details"] .time,
html[data-theme-tone="light"] body[data-page="our-story"] .story-timeline-date{
  color: var(--gold) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .cta,
html[data-theme-tone="light"] body[data-page="details"] .cta,
html[data-theme-tone="light"] body[data-page="registry"] .cta,
html[data-theme-tone="light"] body[data-page="our-story"] .cta,
html[data-theme-tone="light"] body[data-page="qa"] .cta{
  background: linear-gradient(180deg, var(--gold), color-mix(in srgb, var(--gold) 82%, #000 18%)) !important;
  color: #ffffff !important;
  border-color: var(--gold) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .button-secondary,
html[data-theme-tone="light"] body[data-page="details"] .button-secondary,
html[data-theme-tone="light"] body[data-page="registry"] .button-secondary,
html[data-theme-tone="light"] body[data-page="our-story"] .button-secondary,
html[data-theme-tone="light"] body[data-page="qa"] .button-secondary{
  background: transparent !important;
  color: var(--theme-on-bg) !important;
  border-color: var(--theme-border) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .frame,
html[data-theme-tone="light"] body[data-page="details"] .frame,
html[data-theme-tone="light"] body[data-page="registry"] .frame,
html[data-theme-tone="light"] body[data-page="our-story"] .frame,
html[data-theme-tone="light"] body[data-page="qa"] .frame{
  background: var(--theme-surface-alt) !important;
  border-color: var(--theme-border) !important;
  box-shadow: var(--theme-shadow) !important;
}

html[data-theme-tone="light"] body[data-page="home"] footer,
html[data-theme-tone="light"] body[data-page="details"] footer,
html[data-theme-tone="light"] body[data-page="registry"] footer,
html[data-theme-tone="light"] body[data-page="our-story"] footer,
html[data-theme-tone="light"] body[data-page="qa"] footer{
  background: var(--theme-surface-alt) !important;
  color: var(--theme-muted) !important;
  border-top: 1px solid var(--theme-border) !important;
}


/* ═══════════════════════════════════════════════════════════════
   PUBLIC THEME STUDIO AUTHORITATIVE FALLBACK — variable based
   This applies to public wedding pages even before/without data-theme-tone.
   It prevents old hard-coded dark blocks from overriding light themes.
═══════════════════════════════════════════════════════════════ */
body[data-public-theme-page="1"],
body[data-page="home"],
body[data-page="details"],
body[data-page="registry"],
body[data-page="our-story"],
body[data-page="qa"]{
  background: var(--bg) !important;
  color: var(--theme-on-bg, var(--text)) !important;
}
body[data-public-theme-page="1"] .nav,
body[data-page="home"] .nav,
body[data-page="details"] .nav,
body[data-page="registry"] .nav,
body[data-page="our-story"] .nav,
body[data-page="qa"] .nav{
  background: color-mix(in srgb, var(--bg) 86%, white 14%) !important;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, var(--bg) 30%) !important;
  color: var(--theme-on-bg, var(--text)) !important;
}
body[data-public-theme-page="1"] .nav *,
body[data-page="home"] .nav *,
body[data-page="details"] .nav *,
body[data-page="registry"] .nav *,
body[data-page="our-story"] .nav *,
body[data-page="qa"] .nav *{
  color: var(--theme-on-bg, var(--text)) !important;
}
body[data-public-theme-page="1"] :where(.page, main, .section, .shell),
body[data-page="home"] :where(.page, main, .section, .shell),
body[data-page="details"] :where(.page, main, .section, .shell),
body[data-page="registry"] :where(.page, main, .section, .shell),
body[data-page="our-story"] :where(.page, main, .section, .shell),
body[data-page="qa"] :where(.page, main, .section, .shell){
  color: var(--theme-on-bg, var(--text)) !important;
}
body[data-public-theme-page="1"] :where(.hero-card,.home-centered-hero,.panel,.card,.meta-card,.stat,.table-wrap,.viewer-panel,.registry-page-hero,.registry-page-copy,.registry-link-card,.story-hero-copy,.story-block,.story-timeline-row,.qa-card,.timeline-item,.details-travel-mini,.details-lodging-compact-panel,.lodging-card,.public-content-teaser-card),
body[data-page="home"] :where(.hero-card,.home-centered-hero,.panel,.card,.meta-card,.stat,.table-wrap,.viewer-panel,.public-content-teaser-card),
body[data-page="details"] :where(.panel,.card,.meta-card,.timeline-item,.details-travel-mini,.details-lodging-compact-panel,.lodging-card),
body[data-page="registry"] :where(.panel,.card,.registry-page-hero,.registry-page-copy,.registry-link-card),
body[data-page="our-story"] :where(.panel,.card,.story-hero-copy,.story-block,.story-timeline-row,.qa-card),
body[data-page="qa"] :where(.panel,.card,.qa-card){
  background: color-mix(in srgb, var(--bg) 74%, white 26%) !important;
  color: var(--theme-on-bg, var(--text)) !important;
  border-color: color-mix(in srgb, var(--line) 72%, var(--bg) 28%) !important;
  box-shadow: var(--theme-shadow, 0 18px 48px rgba(52,42,24,.10)) !important;
}
body[data-public-theme-page="1"] :where(h1,h2,h3,h4,strong,.brand-main,.time,.story-timeline-title),
body[data-page="home"] :where(h1,h2,h3,h4,strong,.brand-main),
body[data-page="details"] :where(h1,h2,h3,h4,strong,.brand-main,.time),
body[data-page="registry"] :where(h1,h2,h3,h4,strong,.brand-main),
body[data-page="our-story"] :where(h1,h2,h3,h4,strong,.brand-main,.story-timeline-title),
body[data-page="qa"] :where(h1,h2,h3,h4,strong,.brand-main){
  color: var(--theme-on-bg, var(--text)) !important;
}
body[data-public-theme-page="1"] :where(p,li,.muted,small,.cd-label),
body[data-page="home"] :where(p,li,.muted,small,.cd-label),
body[data-page="details"] :where(p,li,.muted,small),
body[data-page="registry"] :where(p,li,.muted,small),
body[data-page="our-story"] :where(p,li,.muted,small),
body[data-page="qa"] :where(p,li,.muted,small){
  color: var(--theme-muted, color-mix(in srgb, var(--theme-on-bg, var(--text)) 72%, var(--bg) 28%)) !important;
}
body[data-public-theme-page="1"] :where(.brand-top,.eyebrow,.label,.pill,label,.cd-number),
body[data-page="home"] :where(.brand-top,.eyebrow,.label,.pill,label,.cd-number),
body[data-page="details"] :where(.brand-top,.eyebrow,.label,.pill,label),
body[data-page="registry"] :where(.brand-top,.eyebrow,.label,.pill,label),
body[data-page="our-story"] :where(.brand-top,.eyebrow,.label,.pill,label),
body[data-page="qa"] :where(.brand-top,.eyebrow,.label,.pill,label){
  color: var(--gold) !important;
}
body[data-public-theme-page="1"] :where(.cta,button.cta,.button-primary,.btn-primary),
body[data-page="home"] :where(.cta,button.cta,.button-primary,.btn-primary),
body[data-page="details"] :where(.cta,button.cta,.button-primary,.btn-primary),
body[data-page="registry"] :where(.cta,button.cta,.button-primary,.btn-primary),
body[data-page="our-story"] :where(.cta,button.cta,.button-primary,.btn-primary),
body[data-page="qa"] :where(.cta,button.cta,.button-primary,.btn-primary){
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 88%, white 12%), color-mix(in srgb, var(--gold) 74%, black 26%)) !important;
  border-color: var(--gold) !important;
  color: #ffffff !important;
}
body[data-public-theme-page="1"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
body[data-page="home"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
body[data-page="details"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
body[data-page="registry"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
body[data-page="our-story"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
body[data-page="qa"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill){
  background: color-mix(in srgb, var(--bg) 82%, white 18%) !important;
  border-color: color-mix(in srgb, var(--line) 72%, var(--bg) 28%) !important;
  color: var(--theme-on-bg, var(--text)) !important;
}
body[data-public-theme-page="1"] .frame,
body[data-page="home"] .frame,
body[data-page="details"] .frame,
body[data-page="registry"] .frame,
body[data-page="our-story"] .frame,
body[data-page="qa"] .frame{
  background: color-mix(in srgb, var(--bg) 70%, white 30%) !important;
  border-color: var(--line) !important;
}
body[data-public-theme-page="1"] .frame::before,
body[data-page="home"] .frame::before,
body[data-page="details"] .frame::before,
body[data-page="registry"] .frame::before,
body[data-page="our-story"] .frame::before,
body[data-page="qa"] .frame::before{
  border-color: color-mix(in srgb, var(--line) 80%, var(--bg) 20%) !important;
}
body[data-public-theme-page="1"] .editorial-tag,
body[data-page="home"] .editorial-tag{
  background: color-mix(in srgb, var(--bg) 66%, white 34%) !important;
  color: var(--theme-on-bg, var(--text)) !important;
  border-color: var(--line) !important;
}
body[data-public-theme-page="1"] footer,
body[data-page="home"] footer,
body[data-page="details"] footer,
body[data-page="registry"] footer,
body[data-page="our-story"] footer,
body[data-page="qa"] footer{
  background: var(--bg) !important;
  color: var(--theme-muted, var(--muted)) !important;
}

/* ═══════════════════════════════════════════════════════════════
   PUBLIC LIGHT THEME UNIFORM CARD STYLE — Home / Details / Registry
   Match the clean white-card treatment already working on Q&A and Our Story.
   This intentionally comes last and uses higher specificity than the older
   public-page dark content guard.
═══════════════════════════════════════════════════════════════ */
html[data-theme-tone="light"] body[data-public-theme-page="1"],
html[data-theme-tone="light"] body[data-page="home"],
html[data-theme-tone="light"] body[data-page="details"],
html[data-theme-tone="light"] body[data-page="registry"],
html[data-theme-tone="light"] body[data-page="our-story"],
html[data-theme-tone="light"] body[data-page="qa"]{
  --public-light-bg: var(--bg, #fffdf8);
  --public-light-card: var(--theme-surface-alt, #ffffff);
  --public-light-card-soft: var(--theme-surface, #fffdf8);
  --public-light-text: var(--theme-on-bg, #26231f);
  --public-light-muted: var(--theme-muted, #665f55);
  --public-light-border: var(--theme-border, rgba(185,154,96,.30));
  --content-bg: var(--public-light-card) !important;
  --content-bg-solid: var(--public-light-card) !important;
  --content-border: var(--public-light-border) !important;
  --content-text: var(--public-light-text) !important;
  --content-muted: var(--public-light-muted) !important;
  background: var(--public-light-bg) !important;
  color: var(--public-light-text) !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] .nav,
html[data-theme-tone="light"] body[data-page="home"] .nav,
html[data-theme-tone="light"] body[data-page="details"] .nav,
html[data-theme-tone="light"] body[data-page="registry"] .nav,
html[data-theme-tone="light"] body[data-page="our-story"] .nav,
html[data-theme-tone="light"] body[data-page="qa"] .nav{
  background: color-mix(in srgb, var(--public-light-bg) 92%, #ffffff 8%) !important;
  border-bottom: 1px solid color-mix(in srgb, var(--public-light-border) 65%, #d8d8d8 35%) !important;
  box-shadow: 0 10px 30px rgba(54,45,30,.045) !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] .nav :where(a,.brand-top,.brand-main),
html[data-theme-tone="light"] body[data-page="home"] .nav :where(a,.brand-top,.brand-main),
html[data-theme-tone="light"] body[data-page="details"] .nav :where(a,.brand-top,.brand-main),
html[data-theme-tone="light"] body[data-page="registry"] .nav :where(a,.brand-top,.brand-main),
html[data-theme-tone="light"] body[data-page="our-story"] .nav :where(a,.brand-top,.brand-main),
html[data-theme-tone="light"] body[data-page="qa"] .nav :where(a,.brand-top,.brand-main){
  color: var(--public-light-text) !important;
  opacity: .88 !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] .nav .cta,
html[data-theme-tone="light"] body[data-page="home"] .nav .cta,
html[data-theme-tone="light"] body[data-page="details"] .nav .cta,
html[data-theme-tone="light"] body[data-page="registry"] .nav .cta,
html[data-theme-tone="light"] body[data-page="our-story"] .nav .cta,
html[data-theme-tone="light"] body[data-page="qa"] .nav .cta{
  color: #ffffff !important;
  opacity: 1 !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] :where(.hero-card,.home-centered-hero,.panel,.card,.meta-card,.timeline-item,.registry-page-hero,.registry-page-copy,.registry-link-card,.story-hero-copy,.story-block,.story-timeline-row,.qa-card,.public-content-teaser-card,.details-lodging-compact-panel,.details-travel-mini,.details-lodging-compact-card),
html[data-theme-tone="light"] body[data-page="home"] :where(.hero-card,.home-centered-hero,.panel,.card,.meta-card,.public-content-teaser-card),
html[data-theme-tone="light"] body[data-page="details"] :where(.panel,.card,.meta-card,.timeline-item,.details-lodging-compact-panel,.details-travel-mini,.details-lodging-compact-card),
html[data-theme-tone="light"] body[data-page="registry"] :where(.panel,.card,.registry-page-hero,.registry-page-copy,.registry-link-card),
html[data-theme-tone="light"] body[data-page="our-story"] :where(.panel,.card,.story-hero-copy,.story-block,.story-timeline-row),
html[data-theme-tone="light"] body[data-page="qa"] :where(.panel,.card,.qa-card){
  background: var(--public-light-card) !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.38)) !important;
  color: var(--public-light-text) !important;
  border: 1px solid color-mix(in srgb, var(--public-light-border) 72%, #d9dde3 28%) !important;
  box-shadow: 0 20px 54px rgba(52,42,24,.10) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html[data-theme-tone="light"] body[data-page="home"] .home-centered-hero,
html[data-theme-tone="light"] body[data-page="details"] main.page > section.shell.two-col > .panel,
html[data-theme-tone="light"] body[data-page="registry"] .registry-page-hero{
  background: var(--public-light-card) !important;
  background-image: linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.42)) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .public-content-teaser-card,
html[data-theme-tone="light"] body[data-page="details"] .timeline-item,
html[data-theme-tone="light"] body[data-page="registry"] .registry-link-card,
html[data-theme-tone="light"] body[data-page="registry"] #publicRegistryList .card{
  background: color-mix(in srgb, var(--public-light-card) 94%, var(--public-light-bg) 6%) !important;
  color: var(--public-light-text) !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] :where(h1,h2,h3,h4,strong,.brand-main,.time,.story-timeline-title),
html[data-theme-tone="light"] body[data-page="home"] :where(h1,h2,h3,h4,strong,.brand-main),
html[data-theme-tone="light"] body[data-page="details"] :where(h1,h2,h3,h4,strong,.brand-main,.time),
html[data-theme-tone="light"] body[data-page="registry"] :where(h1,h2,h3,h4,strong,.brand-main),
html[data-theme-tone="light"] body[data-page="our-story"] :where(h1,h2,h3,h4,strong,.brand-main,.story-timeline-title),
html[data-theme-tone="light"] body[data-page="qa"] :where(h1,h2,h3,h4,strong,.brand-main){
  color: var(--public-light-text) !important;
  text-shadow: none !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] :where(p,li,.muted,small,.cd-label),
html[data-theme-tone="light"] body[data-page="home"] :where(p,li,.muted,small,.cd-label),
html[data-theme-tone="light"] body[data-page="details"] :where(p,li,.muted,small),
html[data-theme-tone="light"] body[data-page="registry"] :where(p,li,.muted,small),
html[data-theme-tone="light"] body[data-page="our-story"] :where(p,li,.muted,small),
html[data-theme-tone="light"] body[data-page="qa"] :where(p,li,.muted,small){
  color: var(--public-light-muted) !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] :where(.brand-top,.eyebrow,.label,.pill,label,.cd-number),
html[data-theme-tone="light"] body[data-page="home"] :where(.brand-top,.eyebrow,.label,.pill,label,.cd-number),
html[data-theme-tone="light"] body[data-page="details"] :where(.brand-top,.eyebrow,.label,.pill,label),
html[data-theme-tone="light"] body[data-page="registry"] :where(.brand-top,.eyebrow,.label,.pill,label),
html[data-theme-tone="light"] body[data-page="our-story"] :where(.brand-top,.eyebrow,.label,.pill,label),
html[data-theme-tone="light"] body[data-page="qa"] :where(.brand-top,.eyebrow,.label,.pill,label){
  color: color-mix(in srgb, var(--gold) 72%, var(--public-light-text) 28%) !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] :where(.cta,button.cta,.button-primary,.btn-primary),
html[data-theme-tone="light"] body[data-page="home"] :where(.cta,button.cta,.button-primary,.btn-primary),
html[data-theme-tone="light"] body[data-page="details"] :where(.cta,button.cta,.button-primary,.btn-primary),
html[data-theme-tone="light"] body[data-page="registry"] :where(.cta,button.cta,.button-primary,.btn-primary),
html[data-theme-tone="light"] body[data-page="our-story"] :where(.cta,button.cta,.button-primary,.btn-primary),
html[data-theme-tone="light"] body[data-page="qa"] :where(.cta,button.cta,.button-primary,.btn-primary){
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 72%, #dfe3e8 28%), color-mix(in srgb, var(--gold) 50%, #7d8792 50%)) !important;
  border-color: color-mix(in srgb, var(--gold) 60%, #c8ced6 40%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(45,50,58,.12) !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
html[data-theme-tone="light"] body[data-page="home"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
html[data-theme-tone="light"] body[data-page="details"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
html[data-theme-tone="light"] body[data-page="registry"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
html[data-theme-tone="light"] body[data-page="our-story"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
html[data-theme-tone="light"] body[data-page="qa"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill){
  background: #ffffff !important;
  border-color: color-mix(in srgb, var(--public-light-border) 60%, #d9dde3 40%) !important;
  color: var(--public-light-text) !important;
  box-shadow: none !important;
}

html[data-theme-tone="light"] body[data-page="home"] .meta-card,
html[data-theme-tone="light"] body[data-page="details"] .timeline-item,
html[data-theme-tone="light"] body[data-page="registry"] .registry-link-card{
  border-radius: 22px !important;
}

html[data-theme-tone="light"] body[data-public-theme-page="1"] .editorial-tag,
html[data-theme-tone="light"] body[data-page="home"] .editorial-tag{
  background: #ffffff !important;
  color: var(--public-light-text) !important;
  border-color: color-mix(in srgb, var(--public-light-border) 70%, #d9dde3 30%) !important;
  box-shadow: 0 12px 28px rgba(52,42,24,.12) !important;
}

html[data-theme-tone="light"] body[data-page="home"] .frame,
html[data-theme-tone="light"] body[data-page="details"] .frame,
html[data-theme-tone="light"] body[data-page="registry"] .frame,
html[data-theme-tone="light"] body[data-page="our-story"] .frame,
html[data-theme-tone="light"] body[data-page="qa"] .frame,
html[data-theme-tone="light"] body[data-page="home"] .guest-home-frame,
html[data-theme-tone="light"] body[data-page="details"] .details-page-hero,
html[data-theme-tone="light"] body[data-page="registry"] .registry-hero-image,
html[data-theme-tone="light"] body[data-page="our-story"] .story-photo-frame{
  background: #ffffff !important;
  border-color: color-mix(in srgb, var(--public-light-border) 75%, #d9dde3 25%) !important;
  box-shadow: 0 20px 50px rgba(52,42,24,.13) !important;
}

html[data-theme-tone="light"] body[data-page="home"] footer,
html[data-theme-tone="light"] body[data-page="details"] footer,
html[data-theme-tone="light"] body[data-page="registry"] footer,
html[data-theme-tone="light"] body[data-page="our-story"] footer,
html[data-theme-tone="light"] body[data-page="qa"] footer{
  background: var(--public-light-bg) !important;
  color: var(--public-light-text) !important;
  border-top: 0 !important;
}

/* ==========================================================================
   PUBLIC LIGHT THEME UNIFORM REAL PATCH — 2026-05-03
   Makes Home, Details, Registry, Our Story and Q&A use the same white-card
   visual language as the working Q&A / Our Story screenshots.
   This does not depend only on html[data-theme-tone]; the public HTML pages
   now carry .public-theme-uniform so these rules are guaranteed to apply.
========================================================================== */
body.public-theme-uniform[data-public-theme-page="1"],
body[data-page="qa"]{
  --public-uniform-bg: var(--bg, #fffdf8);
  --public-uniform-card: #ffffff;
  --public-uniform-card-soft: color-mix(in srgb, var(--bg, #fffdf8) 10%, #ffffff 90%);
  --public-uniform-text: var(--theme-on-bg, #26231f);
  --public-uniform-muted: var(--theme-muted, #5f6670);
  --public-uniform-border: color-mix(in srgb, var(--line, #d8c28a) 45%, #d8dde4 55%);
  background: var(--public-uniform-bg) !important;
  color: var(--public-uniform-text) !important;
}

body.public-theme-uniform[data-public-theme-page="1"] .page,
body.public-theme-uniform[data-public-theme-page="1"] main,
body.public-theme-uniform[data-public-theme-page="1"] .section,
body[data-page="qa"] .page,
body[data-page="qa"] main,
body[data-page="qa"] .section{
  background: var(--public-uniform-bg) !important;
  color: var(--public-uniform-text) !important;
}

body.public-theme-uniform[data-public-theme-page="1"] .nav,
body[data-page="qa"] .nav{
  background: color-mix(in srgb, var(--public-uniform-bg) 92%, #ffffff 8%) !important;
  border-bottom: 1px solid var(--public-uniform-border) !important;
  box-shadow: 0 8px 28px rgba(31,36,42,.045) !important;
}
body.public-theme-uniform[data-public-theme-page="1"] .nav-inner,
body[data-page="qa"] .nav-inner{
  background: transparent !important;
}
body.public-theme-uniform[data-public-theme-page="1"] .nav :where(a,.brand-main,.brand-top),
body[data-page="qa"] .nav :where(a,.brand-main,.brand-top){
  color: var(--public-uniform-text) !important;
  opacity: .88 !important;
  text-shadow: none !important;
}
body.public-theme-uniform[data-public-theme-page="1"] .nav .cta,
body[data-page="qa"] .nav .cta{
  background: linear-gradient(180deg, #b9c0c8, #929ba5) !important;
  border-color: #aeb5bd !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Public page cards / panels: one consistent white formal look */
body.public-theme-uniform[data-public-theme-page="1"] :where(.hero-card,.home-centered-hero,.panel,.card,.meta-card,.timeline-item,.registry-page-hero,.registry-page-copy,.registry-link-card,.story-hero-copy,.story-block,.story-timeline-row,.qa-card,.public-content-teaser-card,.details-lodging-compact-panel,.details-travel-mini,.details-lodging-compact-card),
body[data-page="qa"] :where(.panel,.card,.qa-card){
  background: var(--public-uniform-card) !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72)) !important;
  color: var(--public-uniform-text) !important;
  border: 1px solid var(--public-uniform-border) !important;
  box-shadow: 0 20px 54px rgba(31,36,42,.08) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Extra-specific overrides for the pages still showing dark blocks */
html body.public-theme-uniform[data-page="home"] .hero-card.home-centered-hero,
html body.public-theme-uniform[data-page="home"] .home-centered-hero,
html body.public-theme-uniform[data-page="home"] .public-content-teaser-card,
html body.public-theme-uniform[data-page="home"] .meta-card,
html body.public-theme-uniform[data-page="details"] main.page > section.shell.two-col > .panel,
html body.public-theme-uniform[data-page="details"] .timeline-item,
html body.public-theme-uniform[data-page="details"] #detailsDressCodePanel,
html body.public-theme-uniform[data-page="details"] .details-lodging-compact-panel,
html body.public-theme-uniform[data-page="details"] .details-travel-mini,
html body.public-theme-uniform[data-page="registry"] .registry-page-hero,
html body.public-theme-uniform[data-page="registry"] .registry-page-copy,
html body.public-theme-uniform[data-page="registry"] main.page > section.shell > .panel,
html body.public-theme-uniform[data-page="registry"] #publicRegistryList .card,
html body.public-theme-uniform[data-page="registry"] .registry-link-card{
  background: #ffffff !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.82)) !important;
  color: var(--public-uniform-text) !important;
  border-color: var(--public-uniform-border) !important;
  box-shadow: 0 20px 54px rgba(31,36,42,.085) !important;
}

/* Home/details/registry inner elements that previously kept black fills */
html body.public-theme-uniform[data-page="home"] .meta-card,
html body.public-theme-uniform[data-page="details"] .timeline-item,
html body.public-theme-uniform[data-page="registry"] .registry-link-card,
html body.public-theme-uniform[data-page="registry"] .registry-page-copy{
  background: var(--public-uniform-card-soft) !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.86)) !important;
}

body.public-theme-uniform[data-public-theme-page="1"] :where(h1,h2,h3,h4,strong,.brand-main,.time,.story-timeline-title),
body[data-page="qa"] :where(h1,h2,h3,h4,strong,.brand-main){
  color: var(--public-uniform-text) !important;
  text-shadow: none !important;
}
body.public-theme-uniform[data-public-theme-page="1"] :where(p,li,.muted,small,.cd-label),
body[data-page="qa"] :where(p,li,.muted,small){
  color: var(--public-uniform-muted) !important;
  text-shadow: none !important;
}
body.public-theme-uniform[data-public-theme-page="1"] :where(.brand-top,.eyebrow,.label,.pill,label,.cd-number),
body[data-page="qa"] :where(.brand-top,.eyebrow,.label,.pill,label){
  color: color-mix(in srgb, var(--gold, #a9812b) 58%, #8b949e 42%) !important;
  text-shadow: none !important;
}

body.public-theme-uniform[data-public-theme-page="1"] :where(.cta,button.cta,.button-primary,.btn-primary),
body[data-page="qa"] :where(.cta,button.cta,.button-primary,.btn-primary){
  background: linear-gradient(180deg, #b9c0c8, #929ba5) !important;
  border-color: #aeb5bd !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(45,50,58,.12) !important;
}
body.public-theme-uniform[data-public-theme-page="1"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
body[data-page="qa"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill){
  background: #ffffff !important;
  border-color: var(--public-uniform-border) !important;
  color: var(--public-uniform-text) !important;
  box-shadow: none !important;
}

body.public-theme-uniform[data-public-theme-page="1"] .editorial-tag{
  background: #ffffff !important;
  color: var(--public-uniform-text) !important;
  border-color: var(--public-uniform-border) !important;
  box-shadow: 0 12px 28px rgba(31,36,42,.12) !important;
}
body.public-theme-uniform[data-public-theme-page="1"] .frame,
body.public-theme-uniform[data-public-theme-page="1"] .guest-home-frame,
body.public-theme-uniform[data-public-theme-page="1"] .story-photo-frame{
  background: #ffffff !important;
  border-color: var(--public-uniform-border) !important;
  box-shadow: 0 20px 50px rgba(31,36,42,.13) !important;
}
body.public-theme-uniform[data-public-theme-page="1"] .frame::before{
  border-color: var(--public-uniform-border) !important;
}
body.public-theme-uniform[data-public-theme-page="1"] footer,
body[data-page="qa"] footer{
  background: var(--public-uniform-bg) !important;
  color: var(--public-uniform-text) !important;
  border-top: 0 !important;
}

/* ========================================================================== 
   PUBLIC LIGHT THEME CONTRAST FIX — 2026-05-03
   Final pass: keep the successful Q&A / Our Story white-card styling, but
   force darker readable copy across Home, Details and Registry too.
========================================================================== */
body.public-theme-uniform[data-public-theme-page="1"],
body[data-page="qa"]{
  --public-uniform-text: #23272f !important;
  --public-uniform-heading: #242229 !important;
  --public-uniform-muted: #4f5b68 !important;
  --public-uniform-soft-muted: #66717d !important;
  --public-uniform-gold-text: color-mix(in srgb, var(--gold, #9a6f18) 70%, #4d3d18 30%) !important;
  color: var(--public-uniform-text) !important;
}

body.public-theme-uniform[data-public-theme-page="1"] :where(h1,h2,h3,h4,h5,h6,strong,.brand-main,.story-timeline-title,.time,#homeHeroHeadline,#homeHeroVenue,#homeStoryTeaserTitle,#detailsDressCodePanel h2,#homeDateValueCard,#homeLocationValueCard,#homeNextStepValue),
body[data-page="qa"] :where(h1,h2,h3,h4,h5,h6,strong,.brand-main){
  color: var(--public-uniform-heading) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.public-theme-uniform[data-public-theme-page="1"] :where(p,li,.muted,small,.cd-label,#homeIntroText,#homeStoryTeaserText,#homeQaTeaserText,#detailsDressCodeText,#detailsLodgingIntroText,#detailsAirTravelText,#detailsShuttleText,.registry-page-copy p,.registry-link-card p,.timeline-item p),
body[data-page="qa"] :where(p,li,.muted,small){
  color: var(--public-uniform-muted) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.public-theme-uniform[data-public-theme-page="1"] :where(.brand-top,.eyebrow,.label,.pill,label,.cd-number,#homeHeroEyebrow,#countdownLabel),
body[data-page="qa"] :where(.brand-top,.eyebrow,.label,.pill,label){
  color: var(--public-uniform-gold-text) !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

body.public-theme-uniform[data-public-theme-page="1"] :where(a:not(.cta):not(.button-secondary):not(.small-btn),.nav-links a:not(.cta),.footer-admin-link),
body[data-page="qa"] :where(a:not(.cta):not(.button-secondary):not(.small-btn),.nav-links a:not(.cta),.footer-admin-link){
  color: var(--public-uniform-text) !important;
  opacity: .92 !important;
  text-shadow: none !important;
}

body.public-theme-uniform[data-public-theme-page="1"] :where(.hero-card,.panel,.card,.meta-card,.timeline-item,.registry-page-hero,.registry-page-copy,.registry-link-card,.public-content-teaser-card,.details-lodging-compact-panel,.details-travel-mini,.details-lodging-compact-card) *,
body[data-page="qa"] :where(.panel,.card,.qa-card) *{
  text-shadow: none !important;
}

/* Specific public-page fields that were still inheriting washed-out theme colors */
body.public-theme-uniform[data-page="home"] :where(.hero-card,.public-content-teaser-card,.meta-card) :where(h1,h2,h3,strong,div),
body.public-theme-uniform[data-page="details"] :where(.panel,.timeline-item,#detailsDressCodePanel) :where(h1,h2,h3,strong,div),
body.public-theme-uniform[data-page="registry"] :where(.registry-page-hero,.registry-page-copy,.registry-link-card,.panel) :where(h1,h2,h3,strong,div){
  color: var(--public-uniform-heading) !important;
  opacity: 1 !important;
}

body.public-theme-uniform[data-page="home"] :where(.hero-card,.public-content-teaser-card,.meta-card) :where(p,span,small),
body.public-theme-uniform[data-page="details"] :where(.panel,.timeline-item,#detailsDressCodePanel) :where(p,span,small),
body.public-theme-uniform[data-page="registry"] :where(.registry-page-hero,.registry-page-copy,.registry-link-card,.panel) :where(p,span,small){
  color: var(--public-uniform-muted) !important;
  opacity: 1 !important;
}

body.public-theme-uniform[data-page="home"] :where(.hero-card,.public-content-teaser-card,.meta-card) :where(.brand-top,.eyebrow,.label),
body.public-theme-uniform[data-page="details"] :where(.panel,.timeline-item,#detailsDressCodePanel) :where(.brand-top,.eyebrow,.label,.time),
body.public-theme-uniform[data-page="registry"] :where(.registry-page-hero,.registry-page-copy,.registry-link-card,.panel) :where(.brand-top,.eyebrow,.label){
  color: var(--public-uniform-gold-text) !important;
  opacity: 1 !important;
}

/* ========================================================================== 
   PUBLIC LIGHT THEME HARD CONTRAST OVERRIDE — 2026-05-03
   Direct page/ID selectors. This intentionally avoids :where() so it beats
   older page-specific !important rules that were leaving Home, Details and
   Registry washed out compared with Q&A / Our Story.
========================================================================== */
html body.public-theme-uniform[data-page="home"],
html body.public-theme-uniform[data-page="details"],
html body.public-theme-uniform[data-page="registry"]{
  --public-readable-heading:#242229 !important;
  --public-readable-text:#344052 !important;
  --public-readable-muted:#4d5a68 !important;
  --public-readable-gold:#9a6f18 !important;
  color:var(--public-readable-text) !important;
}

/* HOME: force all visible hero + teaser copy to the same readable contrast as Q&A / Our Story */
html body.public-theme-uniform[data-page="home"] #homeHeroHeadline,
html body.public-theme-uniform[data-page="home"] #homeStoryTeaserTitle,
html body.public-theme-uniform[data-page="home"] .public-content-teaser-card h2,
html body.public-theme-uniform[data-page="home"] .public-content-teaser-card h3,
html body.public-theme-uniform[data-page="home"] .home-centered-hero h1,
html body.public-theme-uniform[data-page="home"] .home-centered-hero h2,
html body.public-theme-uniform[data-page="home"] .home-centered-hero h3,
html body.public-theme-uniform[data-page="home"] .meta-card strong,
html body.public-theme-uniform[data-page="home"] .meta-card div:not(.brand-top):not(.eyebrow),
html body.public-theme-uniform[data-page="home"] #homeHeroVenue,
html body.public-theme-uniform[data-page="home"] #homeDateValueCard,
html body.public-theme-uniform[data-page="home"] #homeLocationValueCard,
html body.public-theme-uniform[data-page="home"] #homeNextStepValue{
  color:var(--public-readable-heading) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html body.public-theme-uniform[data-page="home"] #homeIntroText,
html body.public-theme-uniform[data-page="home"] #homeStoryTeaserText,
html body.public-theme-uniform[data-page="home"] #homeQaTeaserText,
html body.public-theme-uniform[data-page="home"] .home-centered-hero p,
html body.public-theme-uniform[data-page="home"] .public-content-teaser-card p,
html body.public-theme-uniform[data-page="home"] .meta-card p{
  color:var(--public-readable-muted) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html body.public-theme-uniform[data-page="home"] #homeHeroEyebrow,
html body.public-theme-uniform[data-page="home"] #countdownLabel,
html body.public-theme-uniform[data-page="home"] .home-centered-hero .brand-top,
html body.public-theme-uniform[data-page="home"] .home-centered-hero .eyebrow,
html body.public-theme-uniform[data-page="home"] .public-content-teaser-card .brand-top,
html body.public-theme-uniform[data-page="home"] .public-content-teaser-card .eyebrow,
html body.public-theme-uniform[data-page="home"] .meta-card .brand-top{
  color:var(--public-readable-gold) !important;
  opacity:1 !important;
  text-shadow:none !important;
}

/* DETAILS: direct selectors for title, intro, timeline cards, dress/lodging panels */
html body.public-theme-uniform[data-page="details"] h1,
html body.public-theme-uniform[data-page="details"] h2,
html body.public-theme-uniform[data-page="details"] h3,
html body.public-theme-uniform[data-page="details"] .time,
html body.public-theme-uniform[data-page="details"] .timeline-item h3,
html body.public-theme-uniform[data-page="details"] #detailsDressCodePanel h2,
html body.public-theme-uniform[data-page="details"] .details-lodging-compact-panel h2,
html body.public-theme-uniform[data-page="details"] .details-travel-mini strong{
  color:var(--public-readable-heading) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html body.public-theme-uniform[data-page="details"] p,
html body.public-theme-uniform[data-page="details"] .muted,
html body.public-theme-uniform[data-page="details"] .timeline-item p,
html body.public-theme-uniform[data-page="details"] #detailsDressCodeText,
html body.public-theme-uniform[data-page="details"] #detailsLodgingIntroText,
html body.public-theme-uniform[data-page="details"] #detailsAirTravelText,
html body.public-theme-uniform[data-page="details"] #detailsShuttleText{
  color:var(--public-readable-muted) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
html body.public-theme-uniform[data-page="details"] .brand-top,
html body.public-theme-uniform[data-page="details"] .eyebrow,
html body.public-theme-uniform[data-page="details"] .label{
  color:var(--public-readable-gold) !important;
  opacity:1 !important;
  text-shadow:none !important;
}

/* REGISTRY: direct selectors for the black/washed registry copy block */
html body.public-theme-uniform[data-page="registry"] .registry-page-copy,
html body.public-theme-uniform[data-page="registry"] .registry-page-copy *,
html body.public-theme-uniform[data-page="registry"] .registry-link-card,
html body.public-theme-uniform[data-page="registry"] .registry-link-card *,
html body.public-theme-uniform[data-page="registry"] #publicRegistryList,
html body.public-theme-uniform[data-page="registry"] #publicRegistryList *{
  text-shadow:none !important;
  opacity:1 !important;
}
html body.public-theme-uniform[data-page="registry"] h1,
html body.public-theme-uniform[data-page="registry"] h2,
html body.public-theme-uniform[data-page="registry"] h3,
html body.public-theme-uniform[data-page="registry"] .registry-page-copy h1,
html body.public-theme-uniform[data-page="registry"] .registry-link-card h3,
html body.public-theme-uniform[data-page="registry"] #publicRegistryList h3{
  color:var(--public-readable-heading) !important;
  opacity:1 !important;
}
html body.public-theme-uniform[data-page="registry"] p,
html body.public-theme-uniform[data-page="registry"] .registry-page-copy p,
html body.public-theme-uniform[data-page="registry"] .registry-link-card p,
html body.public-theme-uniform[data-page="registry"] #publicRegistryList p{
  color:var(--public-readable-muted) !important;
  opacity:1 !important;
}
html body.public-theme-uniform[data-page="registry"] .brand-top,
html body.public-theme-uniform[data-page="registry"] .eyebrow,
html body.public-theme-uniform[data-page="registry"] .label,
html body.public-theme-uniform[data-page="registry"] .registry-link-card .brand-top,
html body.public-theme-uniform[data-page="registry"] #publicRegistryList .brand-top{
  color:var(--public-readable-gold) !important;
  opacity:1 !important;
}

/* Keep light-card surfaces white after the stronger text pass. */
html body.public-theme-uniform[data-page="home"] .hero-card,
html body.public-theme-uniform[data-page="home"] .home-centered-hero,
html body.public-theme-uniform[data-page="home"] .public-content-teaser-card,
html body.public-theme-uniform[data-page="home"] .meta-card,
html body.public-theme-uniform[data-page="details"] .panel,
html body.public-theme-uniform[data-page="details"] .timeline-item,
html body.public-theme-uniform[data-page="registry"] .registry-page-hero,
html body.public-theme-uniform[data-page="registry"] .registry-page-copy,
html body.public-theme-uniform[data-page="registry"] .registry-link-card,
html body.public-theme-uniform[data-page="registry"] #publicRegistryList .card{
  background:#ffffff !important;
  background-image:linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.86)) !important;
}

/* ==========================================================================
   PUBLIC DARK-TONE CONTRAST FIX — 2026-05-04
   The public-uniform block above forces dark colors unconditionally — great
   for light themes, but on dark themes (Royal Navy, Midnight Editorial,
   Classic Gold, etc.) it leaves nav links and the footer Planner link as
   dark text on a dark background. state.js's applyTenantToRoot now sets
   html[data-theme-tone="dark"] when the theme's bg luminance is low; these
   rules undo the dark-text overrides for that case so links become legible
   without disturbing the white-card body content.
========================================================================== */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"]{
  /* Restore light text against the dark themed bg — overrides the
     hardcoded #23272f / #4f5b68 / #242229 set in the light-mode block. */
  --public-uniform-text: var(--theme-on-bg, #f6f2ea) !important;
  --public-uniform-heading: var(--theme-on-bg, #f6f2ea) !important;
  --public-uniform-muted: var(--theme-muted, rgba(246,242,234,.72)) !important;
  --public-uniform-soft-muted: rgba(246,242,234,.55) !important;
  --public-uniform-gold-text: var(--gold, #c8a96b) !important;
  --public-uniform-card: rgba(255,255,255,.04) !important;
  --public-uniform-card-soft: rgba(255,255,255,.02) !important;
  --public-uniform-border: var(--theme-border, rgba(246,242,234,.18)) !important;
  /* Second readability layer (used by ID-targeted rules around lines
     4304-4400) has its own variable set hardcoded to dark colors —
     override those too so #homeHeroHeadline, #homeIntroText, etc. read
     light on dark themes. */
  --public-readable-heading: var(--theme-on-bg, #f6f2ea) !important;
  --public-readable-text: var(--theme-on-bg, #f6f2ea) !important;
  --public-readable-muted: rgba(246,242,234,.86) !important;
  --public-readable-gold: var(--gold, #c8a96b) !important;
  background: var(--bg) !important;
  color: var(--theme-on-bg, #f6f2ea) !important;
}

/* Nav and footer Planner link — these are the most visible regressions on
   dark themes. The public-uniform rule at line 4254 forces their color to
   var(--public-uniform-text). With the variable redefined above, they now
   inherit a light color, so they're readable against the dark nav bg. */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] .nav,
html[data-theme-tone="dark"] body[data-page="qa"] .nav{
  background: color-mix(in srgb, var(--bg) 88%, #000 12%) !important;
  border-bottom: 1px solid var(--theme-border, rgba(246,242,234,.14)) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.32) !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] .nav :where(a,.brand-main,.brand-top),
html[data-theme-tone="dark"] body[data-page="qa"] .nav :where(a,.brand-main,.brand-top){
  color: var(--theme-on-bg, #f6f2ea) !important;
  opacity: .92 !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] .nav-links a:not(.cta),
html[data-theme-tone="dark"] body[data-page="qa"] .nav-links a:not(.cta){
  color: var(--theme-on-bg, #f6f2ea) !important;
  opacity: .85 !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] .nav-links a:not(.cta):hover,
html[data-theme-tone="dark"] body[data-page="qa"] .nav-links a:not(.cta):hover{
  opacity: 1 !important;
  color: var(--gold) !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] .footer-admin-link,
html[data-theme-tone="dark"] body[data-page="qa"] .footer-admin-link{
  color: rgba(246,242,234,.62) !important;
  opacity: 1 !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] .footer-admin-link:hover,
html[data-theme-tone="dark"] body[data-page="qa"] .footer-admin-link:hover{
  color: var(--gold) !important;
}

/* Headings, body copy, eyebrows on dark themes — undo the light-mode forced
   colors so they pick up the theme-appropriate ones the variables now hold. */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :where(h1,h2,h3,h4,h5,h6,strong,.brand-main,.story-timeline-title,.time,#homeHeroHeadline,#homeHeroVenue,#homeStoryTeaserTitle,#detailsDressCodePanel h2,#homeDateValueCard,#homeLocationValueCard,#homeNextStepValue),
html[data-theme-tone="dark"] body[data-page="qa"] :where(h1,h2,h3,h4,h5,h6,strong,.brand-main){
  color: var(--theme-on-bg, #f6f2ea) !important;
}
/* Body paragraph copy and list items stay at full brightness on dark
   themes — anything less and "We're excited to celebrate with you..."
   reads as a faint ghost against the dark page bg. */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :where(p,li,#homeIntroText,#homeStoryTeaserText,#homeQaTeaserText,#detailsDressCodeText,#detailsLodgingIntroText,#detailsAirTravelText,#detailsShuttleText,.registry-page-copy p,.registry-link-card p,.timeline-item p),
html[data-theme-tone="dark"] body[data-page="qa"] :where(p,li){
  color: var(--theme-on-bg, #f6f2ea) !important;
  opacity: .94 !important;
}
/* Only true muted annotations get dimmed — and even then keep them legible. */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :where(.muted,small,.cd-label),
html[data-theme-tone="dark"] body[data-page="qa"] :where(.muted,small){
  color: var(--theme-on-bg, #f6f2ea) !important;
  opacity: .72 !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :where(.brand-top,.eyebrow,.label,.pill,label,.cd-number,#homeHeroEyebrow,#countdownLabel),
html[data-theme-tone="dark"] body[data-page="qa"] :where(.brand-top,.eyebrow,.label,.pill,label){
  color: var(--gold) !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :where(a:not(.cta):not(.button-secondary):not(.small-btn),.nav-links a:not(.cta),.footer-admin-link),
html[data-theme-tone="dark"] body[data-page="qa"] :where(a:not(.cta):not(.button-secondary):not(.small-btn),.nav-links a:not(.cta),.footer-admin-link){
  color: var(--theme-on-bg, #f6f2ea) !important;
}

/* Cards/panels on dark themes: undo the forced white card backgrounds at
   line 4422-4423 so they don't render as bright white panels on a dark
   page. Use a translucent dark surface instead, with the theme's text
   color on top. */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :is(.hero-card,.panel,.card,.meta-card,.timeline-item,.registry-page-hero,.registry-page-copy,.registry-link-card,.public-content-teaser-card,.details-lodging-compact-panel,.details-travel-mini,.details-lodging-compact-card,#publicRegistryList .card){
  background: rgba(255,255,255,.04) !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)) !important;
  border-color: var(--theme-border, rgba(246,242,234,.14)) !important;
  color: var(--theme-on-bg, #f6f2ea) !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :is(.hero-card,.panel,.card,.meta-card,.timeline-item,.registry-page-hero,.registry-page-copy,.registry-link-card) :where(h1,h2,h3,h4,h5,h6,strong){
  color: var(--theme-on-bg, #f6f2ea) !important;
}
/* Card body copy: full brightness on dark themes, just like the page-level
   paragraphs. Previously this was --theme-muted, which made venue lines and
   intro paragraphs disappear. */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :is(.hero-card,.panel,.card,.meta-card,.timeline-item,.registry-page-hero,.registry-page-copy,.registry-link-card) :where(p,li){
  color: var(--theme-on-bg, #f6f2ea) !important;
  opacity: .94 !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :is(.hero-card,.panel,.card,.meta-card,.timeline-item,.registry-page-hero,.registry-page-copy,.registry-link-card) :where(small,.muted){
  color: var(--theme-on-bg, #f6f2ea) !important;
  opacity: .72 !important;
}

/* When a body background image is present on a dark theme, the .page /
   <main> wrapper has `background: var(--bg) !important` which paints a
   solid theme-bg color over the entire content area, hiding the image.
   Make those wrappers transparent so the image shows through. We still
   want the per-section .panel / .card surfaces visible, so they keep
   their translucent dark surface from the rule above. */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"][style*="background-image"] :is(main, main.page, .page){
  background: transparent !important;
  background-image: none !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"][style*="background-image"]{
  /* Body has the bg image inline. The earlier rule forced
     `background: var(--bg) !important` which would have set
     background-image to none via shorthand; state.js's setProperty
     with !important inline already overrides the image, but we also
     need to keep the bg COLOR transparent so the image is visible. */
  background-color: transparent !important;
}

/* White-pill secondary buttons on public-uniform pages keep their
   white background by design (4189-4192). On dark themes that's
   white-on-white-text — invisible. Force the text dark so the button
   stays readable regardless of theme tone. */
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill),
html[data-theme-tone="dark"] body[data-page="qa"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill){
  color: #1f2937 !important;
  background: #ffffff !important;
  border-color: rgba(31,41,55,.18) !important;
}
html[data-theme-tone="dark"] body.public-theme-uniform[data-public-theme-page="1"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill):hover,
html[data-theme-tone="dark"] body[data-page="qa"] :where(.button-secondary,button.button-secondary,.small-btn,.gift-pill):hover{
  background: #f5f5f7 !important;
  color: #1f2937 !important;
}
