﻿:root {
  --sky: #97ceec;
  --sky-soft: #bbe0f4;
  --lavender: #f1eefa;
  --nude: #f4e2e0;
  --blush: #efcec8;
  --pink: #e8acd6;
  --ink: #2f3137;
  --muted: #6e7480;
  --line: #e9dfe6;
  --panel: #ffffff;
  --soft: #f8f5fb;
  --brand: #4f8eb4;
  --brand-strong: #2f6f95;
  --on-brand: #ffffff;
  --accent: #e8acd6;
  --warm: #efcec8;
  --peach: #f4e2e0;
  --green: #78a891;
  --blue: #97ceec;
  --success: #61bf86;
  --warning: #d8892c;
  --accent-pink: #d86d9f;
  --line-strong: #dfe3e8;
  --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 16px 40px rgba(79, 142, 180, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
}

button,
input,
textarea,
select {
  font: inherit;
}

input,
textarea,
select {
  font-weight: 400;
}

button {
  cursor: pointer;
}

.lucide-icon {
  width: 1em;
  height: 1em;
  stroke-width: 2;
  vertical-align: -0.14em;
  flex: 0 0 auto;
}

.btn .lucide-icon,
.meta-row .lucide-icon,
.download-link .lucide-icon,
.back-link .lucide-icon {
  width: 18px;
  height: 18px;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(79, 142, 180, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}

.brand:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 50%, white);
  outline-offset: 4px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 18%, white), 0 6px 16px rgba(79, 142, 180, 0.16);
}

.brand-mark .lucide-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav button {
  border: 0;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  font-weight: 600;
}

.nav button.active {
  color: var(--brand);
}

.search {
  position: relative;
  flex: 1;
  min-width: 180px;
}

.search input {
  width: 100%;
  height: 44px;
  padding: 0 18px 0 42px;
  border: 0;
  border-radius: 999px;
  background: var(--lavender);
  color: var(--ink);
}

.search-icon {
  position: absolute;
  left: 17px;
  top: 13px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-picker {
  position: relative;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.language-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.language-picker.open .language-trigger::after {
  transform: translateY(2px) rotate(225deg);
}

.language-trigger:hover,
.language-picker.open .language-trigger {
  border-color: var(--line);
  background: #fff;
}

.language-trigger .lucide-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 75;
  display: grid;
  min-width: 188px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.language-menu button {
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}

.language-menu button:hover,
.language-menu button.active {
  background: color-mix(in srgb, var(--sky-soft) 24%, white);
  color: var(--brand-strong);
}

.onboarding-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 36px clamp(18px, 4vw, 56px) 28px;
  background: #fbf8f7;
}

.onboarding-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  height: 8px;
  background: #e9dfe6;
}

.onboarding-progress span {
  display: block;
  height: 100%;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(90deg, var(--sky), var(--green));
  transition: width 0.24s ease;
}

.onboarding-brand {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.onboarding-panel {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.onboarding-panel h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.13;
}

.onboarding-panel p {
  max-width: 620px;
  margin: -6px 0 8px;
  color: var(--muted);
  font-size: 18px;
}

.onboarding-panel.no-step-icon {
  gap: 20px;
}

.onboarding-icon-cluster {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 26px;
  color: var(--brand-strong);
  background: linear-gradient(145deg, #ffffff, var(--lavender));
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(79, 142, 180, 0.14);
}

.onboarding-icon-cluster .lucide-icon {
  width: 38px;
  height: 38px;
}

.onboarding-choice-grid {
  width: 100%;
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.onboarding-choice-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.onboarding-choice-grid.three {
  max-width: 820px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.onboarding-choice-grid.two {
  max-width: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.onboarding-choice {
  min-height: 164px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 24px rgba(79, 142, 180, 0.08);
}

.onboarding-choice:hover,
.onboarding-choice.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 26%, transparent), 0 14px 30px rgba(79, 142, 180, 0.16);
}

.onboarding-choice span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 22px;
  color: var(--brand-strong);
  background: var(--lavender);
}

.onboarding-choice .lucide-icon {
  width: 32px;
  height: 32px;
}

.onboarding-choice strong {
  font-size: 20px;
}

.onboarding-choice.text-only {
  min-height: 86px;
}

.onboarding-next,
.onboarding-submit {
  min-width: 260px;
  justify-content: center;
  margin-top: 8px;
}

.onboarding-field,
.onboarding-signup label {
  display: grid;
  gap: 8px;
  width: min(560px, 100%);
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}

.onboarding-field input,
.onboarding-signup input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
}

.onboarding-check {
  width: min(560px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  text-align: left;
}

.onboarding-check input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--brand);
}

.signup-consent {
  width: 100%;
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  min-height: 48px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  box-shadow: inset 0 0 0 1px rgba(79, 142, 180, 0.03);
}

.onboarding-signup .signup-consent input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  margin: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--brand) 42%, var(--line));
  border-radius: 5px;
  background: #fff;
}

.onboarding-signup .signup-consent input::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--brand);
  transform: scale(0);
  transition: transform 0.12s ease;
}

.onboarding-signup .signup-consent input:checked::before {
  transform: scale(1);
}

.onboarding-signup .signup-consent input:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 45%, white);
  outline-offset: 2px;
}

.signup-consent:has(input:checked) {
  border-color: color-mix(in srgb, var(--brand) 36%, var(--line));
  background: color-mix(in srgb, var(--sky-soft) 18%, white);
}

.onboarding-signup {
  width: min(560px, 100%);
  display: grid;
  gap: 16px;
}

.onboarding-name-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.onboarding-signup small {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}

.login-page {
  grid-template-rows: auto 1fr;
}

.login-panel {
  width: min(620px, 100%);
}

.login-form {
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 48px rgba(79, 142, 180, 0.12);
}

.login-secondary-link {
  border: 0;
  padding: 0;
  color: var(--brand-strong);
  background: transparent;
  font-weight: 800;
}

.auth-message {
  width: 100%;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.auth-message.error {
  border: 1px solid color-mix(in srgb, #b65d66 40%, var(--line));
  color: #8f3942;
  background: color-mix(in srgb, #f3c6ca 34%, white);
}

.auth-message.notice {
  border: 1px solid color-mix(in srgb, var(--green) 42%, var(--line));
  color: #3f735d;
  background: color-mix(in srgb, var(--green) 16%, white);
}

.auth-reset-link {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auth-reset-link span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.auth-reset-link input {
  min-height: 44px;
  font-size: 13px;
}

.auth-reset-link .btn {
  min-height: 44px;
  white-space: nowrap;
}

.btn:disabled,
.onboarding-submit:disabled {
  cursor: progress;
  opacity: 0.68;
  box-shadow: none;
}

.onboarding-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 700;
}

.onboarding-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 10px 0;
  color: var(--brand-strong);
  background: transparent;
  font-weight: 800;
}

.onboarding-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.48;
  pointer-events: none;
}

.onboarding-shape.shape-a {
  left: -58px;
  bottom: 56px;
  width: 210px;
  height: 330px;
  border-radius: 0 120px 120px 0;
  background: var(--lavender);
}

.onboarding-shape.shape-b {
  right: -84px;
  top: 18%;
  width: 220px;
  height: 220px;
  border-radius: 56px;
  background: var(--peach);
  transform: rotate(45deg);
}

.onboarding-shape.shape-c {
  right: 22%;
  bottom: 11%;
  width: 240px;
  height: 240px;
  border-radius: 48%;
  background: var(--nude);
}

.icon-btn,
.round-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: white;
}

.icon-btn .lucide-icon,
.round-btn .lucide-icon {
  width: 20px;
  height: 20px;
}

.utility-panel-head .icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 50%;
}

.round-btn.has-count::after {
  content: attr(data-count);
  position: absolute;
  transform: translate(14px, -14px);
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  color: var(--on-brand);
  background: var(--brand);
  font-size: 11px;
  font-weight: 700;
}

.guest-password-gate {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: #fbf8f7;
}

.guest-password-card {
  display: grid;
  width: min(100%, 420px);
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.guest-password-card h1 { margin: 0; font-size: 28px; }
.guest-password-card p { margin: 0; color: var(--muted); }
.guest-password-card label { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.guest-password-card input { min-height: 46px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; }

.account-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 10px 4px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-weight: 600;
}

.account-pill .lucide-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.account-pill-compact {
  width: auto;
  min-width: 112px;
  justify-content: flex-start;
  gap: 8px;
  padding: 4px 14px 4px 5px;
}

.account-pill-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.avatar-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  background: var(--lavender);
  font-weight: 700;
}

.banner {
  min-height: 138px;
  padding: 42px 34px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: linear-gradient(110deg, var(--sky) 0%, var(--sky-soft) 34%, var(--lavender) 68%, var(--nude) 100%);
}

.banner-soft-rainbow {
  background: linear-gradient(110deg, #bbe0f4 0%, #d9edf7 32%, #f1eefa 64%, #f7deda 100%);
}

.banner-storybook-clouds {
  background:
    radial-gradient(circle at 14% 62%, rgba(255, 255, 255, 0.72) 0 22px, transparent 23px),
    radial-gradient(circle at 22% 58%, rgba(255, 255, 255, 0.68) 0 28px, transparent 29px),
    linear-gradient(110deg, #cfe9f7 0%, #eef5fb 48%, #f5e9f1 100%);
}

.banner-garden-party {
  background:
    radial-gradient(circle at 18% 45%, rgba(120, 168, 145, 0.22) 0 18px, transparent 19px),
    radial-gradient(circle at 78% 52%, rgba(232, 172, 214, 0.3) 0 14px, transparent 15px),
    linear-gradient(110deg, #dcefe6 0%, #f8edf3 52%, #f7deda 100%);
}

.banner-little-stars {
  background:
    radial-gradient(circle at 18% 35%, rgba(79, 142, 180, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 48%, rgba(184, 117, 123, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 30%, rgba(120, 168, 145, 0.28) 0 2px, transparent 3px),
    linear-gradient(110deg, #edf4fb 0%, #f1eefa 58%, #fbebe8 100%);
}

.banner-woodland-green {
  background: linear-gradient(110deg, #dbece3 0%, #eef7f1 42%, #f5e9f1 100%);
}

.banner-peach-balloons {
  background:
    radial-gradient(circle at 18% 50%, rgba(239, 206, 200, 0.62) 0 26px, transparent 27px),
    radial-gradient(circle at 80% 42%, rgba(232, 172, 214, 0.36) 0 22px, transparent 23px),
    linear-gradient(110deg, #fff5ee 0%, #f7deda 58%, #f1eefa 100%);
}

.banner-moon-and-stars {
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 255, 255, 0.78) 0 24px, transparent 25px),
    linear-gradient(110deg, #dbe9f7 0%, #e8e8f7 52%, #f6edf3 100%);
}

.banner-linen-blue {
  background: linear-gradient(110deg, #c9e5f5 0%, #e8f3f8 46%, #f4eef4 100%);
}

.banner-confetti-pastel {
  background:
    radial-gradient(circle at 14% 45%, rgba(232, 172, 214, 0.4) 0 5px, transparent 6px),
    radial-gradient(circle at 32% 58%, rgba(120, 168, 145, 0.32) 0 4px, transparent 5px),
    radial-gradient(circle at 78% 38%, rgba(79, 142, 180, 0.35) 0 5px, transparent 6px),
    linear-gradient(110deg, #eff7fb 0%, #f7f0fb 48%, #faebe7 100%);
}

.banner-warm-sunrise {
  background: linear-gradient(110deg, #f9ece1 0%, #f7deda 38%, #f1eefa 70%, #d9edf7 100%);
}

.banner-radiant-soft-rainbow,
.baby-event-builder-canvas.banner-radiant-soft-rainbow {
  background: linear-gradient(110deg, #bbe0f4 0%, #d9edf7 32%, #f1eefa 64%, #f7deda 100%);
}

.banner-radiant-storybook-clouds,
.baby-event-builder-canvas.banner-radiant-storybook-clouds {
  background: linear-gradient(110deg, #cfe9f7 0%, #eef5fb 48%, #f5e9f1 100%);
}

.banner-radiant-garden-party,
.baby-event-builder-canvas.banner-radiant-garden-party {
  background: linear-gradient(110deg, #dcefe6 0%, #f8edf3 52%, #f7deda 100%);
}

.banner-radiant-little-stars,
.baby-event-builder-canvas.banner-radiant-little-stars {
  background: linear-gradient(110deg, #edf4fb 0%, #f1eefa 58%, #fbebe8 100%);
}

.banner-radiant-woodland-green,
.baby-event-builder-canvas.banner-radiant-woodland-green {
  background: linear-gradient(110deg, #dbece3 0%, #eef7f1 42%, #f5e9f1 100%);
}

.banner-radiant-peach-balloons,
.baby-event-builder-canvas.banner-radiant-peach-balloons {
  background: linear-gradient(110deg, #fff5ee 0%, #f7deda 58%, #f1eefa 100%);
}

.banner-radiant-moon-and-stars,
.baby-event-builder-canvas.banner-radiant-moon-and-stars {
  background: linear-gradient(110deg, #dbe9f7 0%, #e8e8f7 52%, #f6edf3 100%);
}

.banner-radiant-linen-blue,
.baby-event-builder-canvas.banner-radiant-linen-blue {
  background: linear-gradient(110deg, #c9e5f5 0%, #e8f3f8 46%, #f4eef4 100%);
}

.banner-radiant-confetti-pastel,
.baby-event-builder-canvas.banner-radiant-confetti-pastel {
  background: linear-gradient(110deg, #eff7fb 0%, #f7f0fb 48%, #faebe7 100%);
}

.banner-radiant-warm-sunrise,
.baby-event-builder-canvas.banner-radiant-warm-sunrise {
  background: linear-gradient(110deg, #f9ece1 0%, #f7deda 38%, #f1eefa 70%, #d9edf7 100%);
}

.banner-design-picker {
  position: relative;
}

.banner-design-control,
.banner-design-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.banner-design-control {
  justify-content: space-between;
  min-height: 40px;
  padding: 6px 10px;
}

.banner-design-control .banner-design-value {
  flex: 1;
}

.banner-design-control .lucide-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.banner-design-picker.open .banner-design-control {
  border-color: #bfdaea;
  box-shadow: 0 0 0 3px rgba(79, 149, 190, 0.12);
}

.banner-design-menu {
  position: absolute;
  z-index: 35;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  max-height: 360px;
  overflow: auto;
  padding: 6px;
  border: 1px solid #e6dfe5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(47, 49, 55, 0.12);
}

.banner-design-picker.open .banner-design-menu {
  display: grid;
  gap: 4px;
}

.banner-design-group {
  display: grid;
  gap: 2px;
}

.banner-design-group + .banner-design-group {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid #eee7eb;
}

.banner-design-group-label {
  padding: 4px 8px 3px;
  color: #717987;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.banner-design-option {
  min-height: 42px;
  padding: 6px 8px;
  border-color: transparent;
}

.banner-design-option:hover,
.banner-design-option.selected {
  background: #eef8fd;
  color: #286f9b;
}

.banner-design-swatch {
  position: relative;
  flex: 0 0 58px;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(79, 142, 180, 0.18);
  border-radius: 7px;
  background-size: 170% 170%;
  animation: bannerPreviewDrift 6s ease-in-out infinite alternate;
}

.banner-design-control .banner-design-swatch {
  flex-basis: 64px;
  height: 28px;
}

.registry-hero-image-field {
  min-width: 0;
  margin: 0;
  border: 1px solid #e6dfe5;
  border-radius: 8px;
  background: #fff;
}

.registry-hero-image-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 10px;
  cursor: pointer;
  list-style: none;
}

.registry-hero-image-summary::-webkit-details-marker {
  display: none;
}

.registry-hero-image-summary .lucide-icon {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--muted);
  transition: transform 160ms ease;
}

.registry-hero-image-field[open] .registry-hero-image-summary {
  border-bottom: 1px solid #eee7eb;
}

.registry-hero-image-field[open] .registry-hero-image-summary .lucide-icon {
  transform: rotate(180deg);
}

.registry-hero-image-swatch {
  flex: 0 0 64px;
  height: 28px;
  overflow: hidden;
  border: 1px solid rgba(79, 142, 180, 0.18);
  border-radius: 7px;
  background: linear-gradient(135deg, #e9f4fa, #f5eef5);
  background-repeat: no-repeat;
  background-size: cover;
}

.registry-hero-image-summary-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.registry-hero-image-summary-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.registry-hero-image-content {
  display: grid;
  gap: 9px;
  padding: 10px 12px 12px;
}

.registry-hero-image-content > small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.registry-hero-crop-preview {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 112px;
  aspect-ratio: 16 / 5;
  place-items: center;
  overflow: hidden;
  border: 1px dashed #c9dbe7;
  border-radius: 7px;
  background: linear-gradient(135deg, #e9f4fa, #f5eef5);
  background-repeat: no-repeat;
  background-size: cover;
}

.registry-hero-crop-preview.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 39, 54, 0.12);
}

.registry-hero-crop-preview span {
  position: relative;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 5px;
  color: #617183;
  background: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 800;
}

.registry-hero-crop-preview.has-image span {
  color: #fff;
  background: rgba(34, 47, 61, 0.58);
}

.registry-hero-upload-control {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.registry-hero-upload-control:hover,
.registry-hero-upload-control:focus-within {
  border-color: color-mix(in srgb, var(--brand) 54%, var(--line));
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 142, 180, 0.1);
}

.registry-hero-upload-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.registry-hero-upload-button .lucide-icon {
  width: 15px;
  height: 15px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.registry-hero-crop-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.registry-hero-crop-controls label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.registry-hero-crop-controls input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 14px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.registry-hero-crop-controls input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 74%, var(--sky-soft));
}

.registry-hero-crop-controls input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  margin-top: -3.5px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 1px 3px rgba(47, 111, 149, 0.22);
}

.registry-hero-crop-controls input[type="range"]::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 74%, var(--sky-soft));
}

.registry-hero-crop-controls input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 1px 3px rgba(47, 111, 149, 0.22);
}

.registry-hero-remove {
  justify-self: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}

.registry-hero-remove:hover {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  color: var(--brand-strong);
}

.banner-design-swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.38) 48%, transparent 100%);
  transform: translateX(-120%);
  animation: bannerPreviewShine 4.8s ease-in-out infinite;
}

@keyframes bannerPreviewDrift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes bannerPreviewShine {
  0%, 42% {
    transform: translateX(-120%);
  }
  72%, 100% {
    transform: translateX(120%);
  }
}

.banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: white;
  font-weight: 700;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.btn.primary {
  color: var(--on-brand);
  background: var(--brand);
}

.btn.primary:hover {
  color: white;
  background: var(--brand-strong);
}

.btn.secondary {
  border-color: var(--line);
  background: #fff;
}

.btn.ghost {
  border-color: var(--line);
  background: var(--soft);
}

.btn.danger {
  color: #8f4b68;
  border-color: var(--blush);
  background: var(--nude);
}

.layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px 52px;
}

.guest-mobile-preview-shell {
  position: relative;
  width: min(430px, calc(100vw - 34px));
  height: min(932px, calc(100vh - 34px));
  min-height: 720px;
  margin: 17px auto;
  overflow-x: hidden;
  overflow-y: auto;
  border: 12px solid #15171b;
  border-radius: 54px;
  background: #fff;
  box-shadow:
    0 28px 70px rgba(24, 39, 54, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 142, 180, 0.46) transparent;
}

.guest-mobile-preview-shell::before {
  content: "";
  position: sticky;
  top: 10px;
  z-index: 80;
  display: block;
  width: 116px;
  height: 30px;
  margin: 10px auto -40px auto;
  border-radius: 999px;
  background: #15171b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.guest-mobile-preview-shell .topbar {
  position: static;
  top: auto;
  z-index: 1;
  height: auto;
  min-height: 94px;
  flex-wrap: wrap;
  align-content: end;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 50px 16px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.guest-mobile-preview-shell .topbar .nav {
  display: none;
}

.guest-mobile-preview-shell .topbar .search {
  display: none;
}

.guest-mobile-preview-shell .topbar .brand {
  font-size: 24px;
}

.guest-mobile-preview-shell .topbar .brand-mark {
  width: 30px;
  height: 30px;
}

.guest-mobile-preview-shell .top-actions {
  margin-left: auto;
}

.guest-mobile-preview-shell .language-trigger {
  min-width: 64px;
  min-height: 44px;
  justify-content: center;
}

.guest-mobile-preview-shell .layout {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 14px 36px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}

.guest-mobile-preview-shell .banner {
  min-height: 154px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.guest-mobile-preview-shell .registry-card {
  grid-template-columns: 1fr;
  margin-top: -86px;
  padding: 14px;
  border-radius: 0;
  box-shadow: none;
}

.guest-mobile-preview-shell .main {
  padding-left: 0;
}

.guest-mobile-preview-shell .photo-button,
.guest-mobile-preview-shell .photo-button img {
  width: 100%;
  height: 148px;
}

.guest-mobile-preview-shell .photo-button {
  width: min(244px, 76%);
  margin: 0 0 18px 0;
  transform: none;
  box-shadow: 0 16px 34px rgba(47, 49, 55, 0.16);
}

.guest-mobile-preview-shell .registry-title {
  font-size: 24px;
}

.guest-mobile-preview-shell .registry-topline {
  display: none;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.guest-mobile-preview-shell .registry-product-grid {
  grid-template-columns: 1fr;
}

.guest-mobile-preview-shell .gift-card {
  grid-template-columns: 1fr;
  padding: 10px;
}

.guest-mobile-preview-shell .gift-media {
  height: 180px;
}

.guest-mobile-preview-shell .gift-actions {
  display: grid;
  grid-column: auto;
  grid-template-columns: 1fr;
}

.guest-mobile-preview-shell .quick-icons,
.guest-mobile-preview-shell .buy-box {
  width: 100%;
}

.guest-mobile-preview-shell .guest-return-card {
  position: fixed;
  top: 24px;
  left: max(24px, calc(50vw - 560px));
  z-index: 120;
  width: auto;
  min-width: 178px;
  margin: 0;
  padding: 0 16px;
  box-shadow: 0 12px 30px rgba(79, 142, 180, 0.14);
}

.layout.with-utility-panel,
.add-registry-shell.with-utility-panel {
  grid-template-columns: 285px minmax(320px, 380px) minmax(0, 1fr);
}

.baby-event-layout {
  grid-template-columns: 280px minmax(0, 1fr);
}

.baby-event-layout.with-utility-panel {
  grid-template-columns: 280px minmax(320px, 380px) minmax(0, 1fr);
}

.baby-event-layout,
.add-gift-layout {
  max-width: none;
  margin: 0;
  padding-left: 28px;
}

.workspace-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  background: #fff;
}

.workspace-sidebar {
  padding: 28px 16px 26px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fcff 0%, #fff 62%);
}

.workspace-sidebar h2 {
  margin: 0 0 2px;
  font-size: 21px;
  line-height: 1.25;
}

.sidebar-caret {
  display: block;
  margin-bottom: 28px;
  font-size: 20px;
}

.registry-link-block {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.registry-link-block small {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.link-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
}

.link-copy span {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.mini-links {
  display: flex;
  gap: 9px;
  margin-top: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.mini-links button {
  border: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  font-weight: 700;
}

.workspace-menu-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-bottom: 14px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 28px rgba(79, 142, 180, 0.08);
}

.workspace-menu-title svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.workspace-menu-title strong {
  font-size: 14px;
  letter-spacing: 0.01em;
}

.workspace-nav {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.workspace-nav button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  color: #405065;
  background: transparent;
  text-align: left;
  font-weight: 600;
}

.workspace-nav-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #9aa9b5;
  font-size: 20px;
}

.workspace-nav-label {
  min-width: 0;
}

.workspace-nav-arrow {
  justify-self: end;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.workspace-nav button:hover {
  color: var(--brand);
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
}

.workspace-nav button.active {
  color: var(--brand);
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
  box-shadow: none;
}

.workspace-nav button.active .workspace-nav-arrow {
  color: var(--brand);
}

.workspace-main {
  padding: 40px 22px;
  background: #fff;
}

.workspace-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
}

.workspace-title-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workspace-title h1 {
  margin: 0;
  font-size: 26px;
}

.concept-page {
  max-width: 1500px;
  margin: 0 auto;
  padding: 36px 28px 70px;
  background: #fff;
}

.concept-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.concept-title h1 {
  margin: 4px 0 8px;
  font-size: 34px;
}

.concept-title p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.concept-kicker,
.concept-card-head span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.concept-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.concept-card-head h2 {
  margin: 6px 0;
  font-size: 22px;
}

.concept-card-head p {
  margin: 0;
  color: var(--muted);
}

.concept-preview {
  min-height: 500px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.cc-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  color: var(--on-brand);
  background: var(--brand);
}

.cc-bar small {
  display: block;
  opacity: 0.86;
}

.cc-actions {
  display: flex;
  gap: 6px;
}

.cc-actions button,
.planner-columns button,
.compact-header button {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--ink);
  background: white;
  font-weight: 700;
}

.cc-action-grid {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.cc-action-grid button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.cc-action-grid span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--lavender);
}

.cc-action-grid small,
.mini-task,
.planner-stat span,
.recent-mini span,
.compact-row small,
.compact-side span,
.compact-tasks small {
  color: var(--muted);
}

.cc-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 12px;
}

.mini-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.mini-panel h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.mini-task {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0;
}

.planner-board .concept-preview {
  background: linear-gradient(180deg, #fff, var(--lavender));
}

.planner-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.planner-columns section,
.planner-discovery,
.compact-main,
.compact-side {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.planner-columns h3 {
  margin: 0 0 10px;
}

.planner-columns section:first-child {
  display: grid;
  gap: 8px;
}

.planner-columns section:first-child button {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.planner-stat,
.recent-mini,
.compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.recent-mini {
  justify-content: flex-start;
}

.recent-mini .lucide-icon,
.compact-row .lucide-icon {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

.planner-discovery {
  margin-top: 12px;
}

.planner-discovery div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.planner-discovery span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 8px;
  background: var(--sky-soft);
  font-weight: 700;
}

.compact-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(135px, 0.8fr);
  gap: 12px;
  background: #fff;
}

.compact-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.compact-header button {
  color: var(--on-brand);
  background: var(--brand);
}

.compact-list {
  display: grid;
}

.compact-row {
  justify-content: flex-start;
}

.compact-row > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--lavender);
}

.compact-row div {
  min-width: 0;
  flex: 1;
}

.compact-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-row em {
  color: var(--brand);
  font-style: normal;
  font-weight: 700;
}

.compact-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.compact-side > div:not(.compact-actions):not(.compact-tasks) {
  display: grid;
  gap: 4px;
}

.compact-actions {
  display: flex;
  gap: 8px;
}

.compact-actions button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--on-brand);
  background: var(--brand);
}

.compact-tasks {
  display: grid;
  gap: 8px;
}

.example-page {
  min-height: calc(100vh - 72px);
  padding: 28px;
  background: #fff;
}

.example-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto 22px;
}

.example-switcher > div {
  display: flex;
  gap: 8px;
}

.example-switcher button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  background: #fff;
  font-weight: 700;
}

.example-switcher button.active {
  color: var(--on-brand);
  border-color: var(--brand);
  background: var(--brand);
}

.full-command-hero,
.planner-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 42px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--sky-soft), var(--lavender) 48%, var(--nude));
}

.full-command-hero h1,
.planner-hero h1 {
  max-width: 760px;
  margin: 8px 0 10px;
  font-size: 42px;
  line-height: 1.08;
}

.full-command-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.full-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.full-action-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1320px;
  margin: 22px auto;
}

.full-action-strip button {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 3px 14px;
  min-height: 118px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
  text-align: left;
}

.full-action-strip span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--on-brand);
  background: var(--brand);
}

.full-action-strip small,
.planner-task span {
  color: var(--muted);
}

.full-command-grid,
.planner-board-full,
.planner-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
  margin: 22px auto;
}

.full-command-grid article,
.planner-board-full article,
.planner-content-grid > div,
.compact-dashboard-side,
.compact-dashboard-main,
.compact-two-col article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
}

.full-command-grid h2,
.planner-board-full h2,
.planner-content-grid h2,
.compact-two-col h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.full-task {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: transparent;
  text-align: left;
}

.full-task em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.snapshot-grid,
.compact-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.snapshot-grid div,
.compact-metrics div,
.planner-large-stat {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.snapshot-grid span,
.compact-metrics span,
.planner-large-stat span {
  color: var(--muted);
}

.snapshot-grid strong,
.compact-metrics strong,
.planner-large-stat strong {
  font-size: 22px;
}

.planner-hero {
  background: linear-gradient(90deg, var(--lavender), #fff 55%, var(--sky-soft));
}

.planner-board-full article:first-child {
  display: grid;
  gap: 10px;
}

.planner-board-full article:first-child button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--soft);
  font-weight: 700;
}

.planner-task {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.planner-content-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.planner-content-grid .home-discovery {
  margin: 0;
}

.planner-item-list {
  display: grid;
  gap: 10px;
}

.planner-item-list div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
}

.planner-item-list .lucide-icon {
  color: var(--brand);
  width: 24px;
  height: 24px;
}

.compact-dashboard {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}

.compact-dashboard-side {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.compact-dashboard-side h1 {
  margin: 0;
  font-size: 28px;
}

.compact-dashboard-side p {
  color: var(--muted);
}

.compact-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.compact-dashboard-head h2 {
  margin: 4px 0 0;
  font-size: 34px;
}

.compact-dashboard-actions {
  display: flex;
  gap: 8px;
}

.compact-dashboard-actions button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--on-brand);
  background: var(--brand);
}

.compact-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.compact-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 18px;
}

.compact-full-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.compact-full-row > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--lavender);
}

.compact-full-row small {
  display: block;
  color: var(--muted);
}

.compact-full-row em {
  color: var(--brand);
  font-style: normal;
  font-weight: 700;
}

.compact-dashboard .home-discovery {
  max-width: none;
}

.registry-example-page {
  min-height: calc(100vh - 72px);
  padding: 28px;
  background: #fff;
}

.registry-example-switcher {
  max-width: 1400px;
}

.reg-workspace-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.reg-workspace-nav {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.reg-workspace-nav h2 {
  margin: 0 0 10px;
}

.reg-workspace-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.reg-workspace-nav button.active {
  color: var(--on-brand);
  background: var(--brand);
}

.reg-workspace-main {
  display: grid;
  gap: 18px;
}

.reg-header-panel,
.reg-sectioned-header,
.reg-board-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--sky-soft), var(--lavender), var(--nude));
}

.reg-header-panel h1,
.reg-sectioned-header h1,
.reg-board-header h1 {
  margin: 6px 0 12px;
  font-size: 34px;
}

.reg-meta-pills,
.reg-header-actions,
.reg-sectioned-actions,
.reg-board-header > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.reg-meta-pills span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.reg-status-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.reg-status-row div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reg-status-row span,
.reg-summary-card span,
.reg-sectioned-row span,
.reg-board-stats span,
.reg-board-card-foot span {
  color: var(--muted);
}

.reg-status-row strong,
.reg-summary-card strong,
.reg-board-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.reg-panel,
.reg-category-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
}

.reg-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.reg-panel-head h2,
.reg-category-title h2 {
  margin: 0;
}

.reg-workspace-list {
  display: grid;
}

.reg-workspace-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.reg-workspace-row:last-child {
  border-bottom: 0;
}

.reg-row-media,
.reg-board-icon,
.reg-board-media {
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--brand);
  background: linear-gradient(135deg, var(--lavender), var(--sky-soft));
}

.reg-row-media {
  width: 88px;
  height: 78px;
}

.reg-workspace-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.reg-row-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.reg-sectioned-shell,
.reg-board-shell {
  max-width: 1400px;
  margin: 0 auto;
}

.reg-sectioned-body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.reg-summary-card {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
}

.reg-summary-card h2 {
  margin: 0;
}

.reg-summary-card div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.reg-sectioned-list {
  display: grid;
  gap: 20px;
}

.reg-category-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.reg-sectioned-row,
.reg-sectioned-fund {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.reg-sectioned-row {
  grid-template-columns: 72px minmax(0, 1fr) 130px 110px 110px;
}

.reg-sectioned-fund {
  grid-template-columns: 72px minmax(0, 1fr) 140px;
  background: var(--soft);
}

.reg-sectioned-row:last-child,
.reg-sectioned-fund:last-child {
  border-bottom: 0;
}

.reg-sectioned-row .reg-row-media,
.reg-sectioned-fund .reg-row-media {
  width: 72px;
  height: 64px;
}

.reg-sectioned-fund p {
  margin: 5px 0 10px;
  color: var(--muted);
}

.reg-board-header {
  margin-bottom: 18px;
}

.reg-board-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.reg-board-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reg-board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.reg-board-card {
  display: grid;
  gap: 12px;
  min-height: 340px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
}

.reg-board-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.reg-board-card p {
  margin: 0;
  color: var(--muted);
}

.reg-board-fund {
  grid-column: span 2;
  background: linear-gradient(135deg, #fff, var(--lavender));
}

.reg-board-icon {
  width: 64px;
  height: 64px;
  color: var(--on-brand);
  background: var(--brand);
}

.reg-board-media {
  height: 132px;
  font-size: 34px;
}

.reg-board-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.bento-example-page {
  min-height: calc(100vh - 72px);
  padding: 28px;
  background: #fff;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.bento-card {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-card.span-3 {
  grid-column: span 3;
}

.bento-hero {
  min-height: 270px;
  background: linear-gradient(135deg, var(--sky-soft), var(--lavender), var(--nude));
}

.bento-hero h1,
.editorial-hero h1,
.compact-command h1 {
  max-width: 760px;
  margin: 8px 0 12px;
  font-size: 38px;
  line-height: 1.08;
}

.bento-hero p,
.editorial-hero p,
.compact-command p {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
}

.bento-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.metric-card {
  display: grid;
  align-content: center;
  gap: 6px;
}

.metric-card span {
  color: var(--muted);
  font-weight: 700;
}

.metric-card strong {
  color: var(--brand);
  font-size: 48px;
  line-height: 1;
}

.metric-card button {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  font-weight: 700;
  text-decoration: underline;
}

.action-card,
.compact-action {
  display: grid;
  align-content: center;
  gap: 10px;
  cursor: pointer;
}

.action-card .lucide-icon,
.compact-action .lucide-icon {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.action-card h2,
.fund-card h2,
.payment-card h2,
.tracker-card h2,
.share-card h2,
.registry-list-card h2 {
  margin: 0 0 8px;
}

.action-card p,
.share-card p {
  margin: 0;
  color: var(--muted);
}

.fund-card,
.payment-card,
.tracker-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.fund-card {
  background: linear-gradient(135deg, #fff, var(--lavender));
}

.registry-list-card,
.registry-stack {
  display: grid;
  gap: 10px;
}

.bento-mini-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.bento-mini-item:last-child {
  border-bottom: 0;
}

.bento-mini-item > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--lavender);
}

.bento-mini-item small {
  display: block;
  color: var(--muted);
}

.bento-mini-item em {
  color: var(--brand);
  font-style: normal;
  font-weight: 700;
}

.editorial-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.editorial-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 310px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), #7caecb 45%, var(--pink));
}

.editorial-hero .concept-kicker,
.editorial-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.visual-tile {
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.visual-tile h2 {
  max-width: 180px;
  margin: 0 0 8px;
  font-size: 28px;
}

.visual-tile p {
  max-width: 220px;
  color: var(--ink);
}

.visual-tile .lucide-icon {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 82px;
  height: 82px;
  opacity: 0.32;
}

.visual-tile.blue {
  background: var(--sky-soft);
}

.visual-tile.pink {
  background: var(--pink);
}

.visual-tile.lavender {
  background: var(--lavender);
}

.store-bento div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.store-bento button {
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.compact-bento-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.bento-side-rail {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.bento-side-rail h1 {
  margin: 0 0 12px;
  font-size: 22px;
}

.bento-side-rail button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
}

.bento-side-rail button.active {
  color: var(--on-brand);
  background: var(--brand);
}

.compact-bento-grid {
  margin: 0;
}

.compact-command {
  background: linear-gradient(135deg, var(--nude), var(--sky-soft));
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin-top: 28px;
}

.home-recommendations {
  max-width: 1180px;
  margin-top: 34px;
}

.recommendation-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.recommendation-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.recommendation-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.recommendation-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.recommendation-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  min-height: 232px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.recommendation-card strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.25;
}

.recommendation-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.recommendation-primary {
  background: linear-gradient(145deg, color-mix(in srgb, var(--sky-soft) 28%, white), color-mix(in srgb, var(--lavender) 45%, white));
}

.recommendation-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: #fff;
  box-shadow: 0 8px 18px rgba(79, 142, 180, 0.12);
}

.recommendation-icon .lucide-icon {
  width: 24px;
  height: 24px;
}

.guide-recommendation-card .guide-mini-image {
  height: 92px;
}

.recommendation-product-card {
  min-height: 232px;
}

.recommendation-product-card .pick-media {
  height: 92px;
  font-size: 38px;
}

.recommendation-product-card .pick-media .product-icon {
  width: 42px;
  height: 42px;
}

.recommendation-product-card .pick-media button {
  width: 34px;
  height: 34px;
}

.recommendation-product-card span {
  min-height: 38px;
}

.recommendation-product-card.affiliate-pick-card {
  min-height: 300px;
}

.recommendation-product-card.affiliate-pick-card .pick-media {
  height: 86px;
}

.affiliate-pick-card p {
  margin: 2px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}

.affiliate-pick-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.affiliate-pick-card .pick-link-btn {
  margin-top: 4px;
}

.recommendation-card .btn {
  width: 100%;
  min-height: 40px;
}

.home-discovery {
  max-width: 980px;
  margin-top: 44px;
}

.home-discovery h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
}

.home-discovery p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.store-grid,
.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.logo-tile {
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #252329;
  background: #fff;
  box-shadow: 0 12px 30px rgba(79, 142, 180, 0.09);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.amazon-store-grid {
  align-items: stretch;
}

.amazon-store-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 9px;
  min-height: 258px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  overflow: hidden;
  text-align: left;
  background: var(--soft);
  box-shadow: 0 16px 34px rgba(79, 142, 180, 0.11);
}

.amazon-store-card:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 142, 180, 0.34);
  box-shadow: 0 18px 40px rgba(79, 142, 180, 0.16);
}

.amazon-store-title {
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.08;
}

.amazon-store-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.amazon-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.amazon-product-grid > span {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.amazon-product-grid i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--lavender);
}

.amazon-product-grid i svg {
  width: 20px;
  height: 20px;
}

.amazon-product-grid b {
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.amazon-store-card.store-nestlist {
  background: linear-gradient(145deg, #d8effb, #f1eefa);
}

.amazon-store-card.store-etsy {
  background: linear-gradient(145deg, #f4e2e0, #f8f2f1);
}

.amazon-store-card.store-h-m {
  background: linear-gradient(145deg, #efcec8, #f7e8e4);
}

.amazon-store-card.store-ikea {
  background: linear-gradient(145deg, #bbe0f4, #f3eef8);
}

.amazon-store-card.store-target {
  background: linear-gradient(145deg, #f7deda, #fff6f4);
}

.amazon-store-card.store-nordstrom {
  background: linear-gradient(145deg, #eef0f6, #f7f2f8);
}

.amazon-store-card.store-amazon {
  background: linear-gradient(145deg, #d9edf7, #f8f1e8);
}

.amazon-store-card.store-baby-gap {
  background: linear-gradient(145deg, #e7f3fb, #eef6ee);
}

.store-nestlist {
  color: var(--brand);
  font-size: 30px;
}

.store-etsy {
  color: #b1786d;
  font-family: Georgia, serif;
  font-size: 48px;
}

.store-wayfair {
  color: var(--accent);
}

.store-h-m {
  color: #c979a0;
  font-family: Georgia, serif;
  font-size: 40px;
  font-style: italic;
}

.store-walmart {
  color: var(--brand);
}

.store-target {
  color: #c979a0;
}

.store-baby-gap {
  color: #456f88;
  font-family: Georgia, serif;
}

.store-amazon {
  color: var(--ink);
}

.amazon-store-card.store-nestlist,
.amazon-store-card.store-etsy,
.amazon-store-card.store-h-m,
.amazon-store-card.store-ikea {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: normal;
}

.pick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 14px;
}

.pick-card {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.pick-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 174px;
  border-radius: 8px;
  color: #5e7484;
  background: linear-gradient(135deg, var(--lavender), var(--sky-soft));
  font-size: 58px;
}

.pick-media .product-icon,
.gift-media .product-icon {
  width: 58px;
  height: 58px;
  stroke-width: 1.7;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pick-media button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: white;
  background: var(--brand);
  font-size: 28px;
}

.pick-card strong,
.pick-card b {
  font-size: 16px;
}

.pick-card span {
  min-height: 42px;
  color: var(--muted);
  line-height: 1.35;
}

.stars {
  color: var(--brand);
  font-size: 15px;
}

.stars .lucide-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.stars small {
  color: var(--ink);
}

.more-pill {
  display: block;
  margin: 28px auto 0;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 700;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-title-row h2 {
  margin: 0;
}

.brand-logo {
  color: #456f88;
  font-size: 20px;
}

.brand-logo:nth-child(2n) {
  color: #b1786d;
}

.brand-logo:nth-child(3n) {
  color: #7c9bae;
}

.brand-logo:nth-child(4n) {
  color: var(--accent);
}

.guides-page {
  background: #fff;
  min-height: calc(100vh - 72px);
}

.guide-search-band {
  position: sticky;
  top: 72px;
  z-index: 25;
  display: flex;
  align-items: flex-end;
  gap: 28px;
  max-width: none;
  padding: 12px 52px 0;
  background: var(--sky-soft);
  border-bottom: 1px solid var(--sky);
}

.guide-search {
  position: relative;
  flex: 0 0 340px;
  width: 340px;
  min-width: 240px;
  max-width: 340px;
  margin: 0 0 12px auto;
  padding: 0;
}

.guide-search span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  z-index: 1;
}

.guide-search input {
  width: 100%;
  height: 36px;
  padding: 0 16px 0 42px;
  border: 1px solid rgba(233, 223, 230, 0.9);
  border-radius: 999px;
  background: white;
  box-shadow: 0 10px 24px rgba(79, 142, 180, 0.08);
  font-size: 14px;
}

.guide-tabs {
  display: flex;
  gap: 30px;
  flex: 0 1 auto;
  max-width: min(840px, 66vw);
  margin: 0;
  padding: 0;
  overflow: visible;
}

.guide-tab-item {
  position: relative;
  flex: 0 0 auto;
}

.guide-tab-item > button {
  min-height: 40px;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 4px 14px;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
  font-size: 15px;
}

.guide-tab-item > button.active {
  color: var(--brand-strong);
  border-bottom-color: var(--brand);
}

.guide-tab-preview {
  position: absolute;
  left: 0;
  top: calc(100% + 1px);
  z-index: 60;
  width: min(560px, calc(100vw - 104px));
  padding: 22px 28px 26px;
  border: 1px solid rgba(233, 223, 230, 0.78);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(62, 95, 120, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.guide-tab-item:nth-last-child(-n + 2) .guide-tab-preview {
  left: auto;
  right: 0;
}

.guide-tab-item:hover .guide-tab-preview,
.guide-tab-item:focus-within .guide-tab-preview {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.guide-tab-preview-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 2px;
}

.guide-tab-preview-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(166, 187, 201, 0.34);
}

.guide-tab-preview button {
  display: block;
  width: calc(100% - 10px);
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  background: transparent;
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  transition: background 150ms ease, color 150ms ease;
}

.guide-tab-preview button:hover,
.guide-tab-preview button:focus-visible {
  background: color-mix(in srgb, var(--sky-soft) 24%, white);
  color: var(--brand-strong);
  text-decoration: none;
}

.guide-tab-preview-nested {
  width: min(540px, calc(100vw - 104px));
}

.guide-tab-preview-essentials {
  width: min(680px, calc(100vw - 104px));
}

.guide-tab-preview-buying-guides {
  width: min(540px, calc(100vw - 104px));
}

.guide-tab-preview-child-development {
  width: min(640px, calc(100vw - 104px));
}

.guide-tab-preview-checklists {
  left: 0;
  right: auto;
  width: min(340px, calc(100vw - 32px));
}

.guide-tab-item:nth-last-child(-n + 2) .guide-tab-preview-checklists {
  left: 0;
  right: auto;
}

.guide-tab-preview-nested-list {
  position: relative;
  display: grid;
  grid-template-columns: 206px minmax(220px, 1fr);
  column-gap: 20px;
  min-height: 270px;
  padding-top: 0;
}

.guide-tab-preview-essentials .guide-tab-preview-nested-list {
  grid-template-columns: 220px minmax(340px, 1fr);
  min-height: 420px;
}

.guide-tab-preview-child-development .guide-tab-preview-nested-list {
  grid-template-columns: 230px minmax(280px, 1fr);
  min-height: 194px;
}

.guide-tab-preview-nested-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(190px + 17px);
  width: 1px;
  background: rgba(79, 142, 180, 0.3);
}

.guide-tab-preview-child-development .guide-tab-preview-nested-list::before {
  left: calc(230px + 10px);
}

.guide-tab-preview-list-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.guide-tab-preview-list-single::before {
  display: none;
}

.guide-tab-preview-group {
  display: contents;
}

.guide-tab-preview-primary {
  grid-column: 1;
  min-height: 40px;
  width: 100%;
  font-weight: 600;
}

.guide-tab-preview-group.active .guide-tab-preview-primary,
.guide-tab-preview-group:hover .guide-tab-preview-primary,
.guide-tab-preview-group:focus-within .guide-tab-preview-primary {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 24%, white);
  text-decoration: none;
}

.guide-tab-preview .guide-tab-preview-primary:hover,
.guide-tab-preview .guide-tab-preview-primary:focus-visible {
  text-decoration: none;
}

.guide-tab-preview-submenu {
  grid-column: 2;
  grid-row: 1 / span 12;
  display: none;
  align-content: start;
  gap: 4px;
  padding-left: 0;
}

.guide-tab-preview-submenu button {
  width: 100%;
  border-radius: 8px;
  color: color-mix(in srgb, var(--ink) 76%, var(--muted));
  font-weight: 400;
}

.guide-tab-preview .guide-tab-preview-product-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-tab-preview .guide-tab-preview-product-row .essential-badge {
  flex: 0 0 auto;
  padding: 1px 6px;
  border-color: rgba(79, 142, 180, 0.2);
  background: color-mix(in srgb, var(--sky-soft) 14%, white);
  color: color-mix(in srgb, var(--brand-strong) 78%, var(--muted));
  font-size: 10px;
  font-weight: 600;
}

.guide-tab-preview-submenu button:hover,
.guide-tab-preview-submenu button:focus-visible {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 26%, white);
  text-decoration: none;
}

.guide-tab-preview-group.active .guide-tab-preview-submenu,
.guide-tab-preview-group:hover .guide-tab-preview-submenu,
.guide-tab-preview-group:focus-within .guide-tab-preview-submenu {
  display: grid;
}

.guide-tab-preview-nested-list:hover .guide-tab-preview-group.active:not(:hover):not(:focus-within) .guide-tab-preview-primary {
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
  background: transparent;
  text-decoration: none;
}

.guide-content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 26px 70px;
}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 42px;
  cursor: pointer;
}

.guide-image,
.guide-card-image,
.guide-mini-image,
.article-hero-image,
.article-product-media {
  display: grid;
  place-items: center;
  border-radius: 4px;
  overflow: hidden;
  color: rgba(83, 43, 87, 0.82);
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.65), transparent 26%),
    radial-gradient(circle at 72% 65%, rgba(255, 255, 255, 0.55), transparent 24%),
    linear-gradient(135deg, var(--sky-soft), var(--pink));
}

.guide-image {
  min-height: 360px;
  font-size: 118px;
}

.guide-image span,
.guide-card-image span,
.article-hero-image span {
  letter-spacing: 0.08em;
}

.guide-scene-icon {
  width: 42%;
  min-width: 46px;
  max-width: 118px;
  height: auto;
  stroke-width: 1.5;
}

.guide-card-image .guide-scene-icon,
.guide-mini-image .guide-scene-icon,
.article-product-media .guide-scene-icon {
  width: 52px;
  max-width: 60%;
}

.guide-image.mint,
.guide-card-image.mint,
.guide-mini-image.mint,
.article-hero-image.mint,
.article-product-media.mint {
  background: linear-gradient(135deg, var(--lavender), var(--sky-soft));
}

.guide-image.warm,
.guide-card-image.warm,
.guide-mini-image.warm,
.article-hero-image.warm,
.article-product-media.warm {
  background: linear-gradient(135deg, var(--nude), var(--sky-soft));
}

.guide-image.aqua,
.guide-card-image.aqua,
.guide-mini-image.aqua,
.article-hero-image.aqua,
.article-product-media.aqua {
  background: linear-gradient(135deg, var(--sky), var(--lavender));
}

.guide-image.pink,
.guide-card-image.pink,
.guide-mini-image.pink,
.article-hero-image.pink,
.article-product-media.pink {
  background: linear-gradient(135deg, var(--blush), var(--lavender));
}

.guide-image.lavender,
.guide-card-image.lavender,
.guide-mini-image.lavender,
.article-hero-image.lavender,
.article-product-media.lavender {
  background: linear-gradient(135deg, var(--lavender), var(--nude));
}

.guide-image.stone,
.guide-card-image.stone,
.guide-mini-image.stone,
.article-hero-image.stone,
.article-product-media.stone {
  background: linear-gradient(135deg, var(--nude), var(--blush));
}

.guide-image.sage,
.guide-card-image.sage,
.guide-mini-image.sage,
.article-hero-image.sage,
.article-product-media.sage {
  background: linear-gradient(135deg, var(--sky-soft), var(--blush));
}

.guide-hero-copy h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.1;
  text-decoration: underline;
}

.guide-hero-copy p {
  max-width: 560px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.45;
}

.guide-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 52px;
}

.guide-card {
  cursor: pointer;
}

.guide-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.guide-meta-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 999px;
  padding: 0 9px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 22%, white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.guide-card-image {
  height: 150px;
  margin-bottom: 12px;
  font-size: 46px;
}

.guide-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
}

.guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.guide-section {
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.guide-section-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px 24px;
}

.guide-subcategory-overview {
  margin-top: 42px;
}

.guide-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.guide-subcategory-card {
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(79, 142, 180, 0.08);
}

.guide-subcategory-card.ready {
  border-color: color-mix(in srgb, var(--brand) 32%, var(--line));
  background: linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--sky-soft) 32%, white) 100%);
}

.guide-subcategory-card span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-subcategory-card h3 {
  margin: 7px 0 14px;
  font-size: 19px;
}

.guide-subcategory-card ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.guide-subcategory-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.guide-row-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  cursor: pointer;
}

.guide-row-card.lead {
  grid-row: span 4;
  grid-template-columns: 1fr;
}

.guide-mini-image {
  height: 72px;
  font-size: 26px;
}

.guide-row-card.lead .guide-mini-image {
  height: 260px;
  font-size: 78px;
}

.guide-row-card h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.guide-row-card.lead h3 {
  font-size: 23px;
}

.guide-row-card p {
  margin: 0;
  color: var(--muted);
}

.article-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 70px;
}

.back-link {
  border: 0;
  padding: 0;
  color: var(--brand);
  background: transparent;
  font-weight: 700;
  margin-bottom: 24px;
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.article-header .breadcrumb {
  margin: 0 0 14px;
  font-size: 14px;
}

.article-header .breadcrumb strong {
  font-weight: 700;
}

.byline {
  color: color-mix(in srgb, var(--muted) 82%, white);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

.article-header h1 {
  margin: 12px 0;
  font-size: 42px;
  line-height: 1.08;
}

.article-header p {
  font-family: Georgia, serif;
  font-size: 21px;
  line-height: 1.45;
}

.article-header .guide-meta-chips {
  margin: 18px 0 12px;
}

.article-hero-image {
  min-height: 310px;
  font-size: 92px;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding-top: 30px;
}

.toc {
  position: sticky;
  top: 190px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.toc strong {
  margin: 4px 8px 8px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0;
}

.toc a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.toc a span {
  display: none;
}

.toc a:hover {
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--sky-soft) 34%, white);
  transform: translateX(2px);
}

.toc a.active {
  color: var(--brand-deep);
  background: linear-gradient(135deg, color-mix(in srgb, var(--sky-soft) 56%, white), color-mix(in srgb, var(--lavender) 42%, white));
}

.article-body section {
  margin-bottom: 34px;
  scroll-margin-top: 190px;
}

.article-body h2 {
  margin: 0 0 10px;
  font-size: 27px;
}

.article-body p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.article-bullet-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.article-bullet-list li::marker {
  color: var(--brand);
}

.guide-checklist-panel {
  display: grid;
  gap: 14px;
}

.guide-checklist-intro p {
  max-width: 820px;
  margin: 0;
}

.guide-checklist-list {
  display: grid;
  gap: 10px;
}

.guide-check-item {
  border: 1px solid color-mix(in srgb, var(--line) 82%, white);
  border-radius: 8px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--sky-soft) 18%, white), #fff 34%);
  box-shadow: 0 10px 26px rgba(79, 142, 180, 0.06);
  overflow: hidden;
}

.guide-check-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  gap: 18px;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}

.guide-check-item summary::-webkit-details-marker {
  display: none;
}

.guide-check-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.guide-check-main strong {
  color: var(--ink);
  font-size: 17px;
}

.guide-check-main small,
.guide-check-timing {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.guide-check-timing {
  justify-self: end;
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  white-space: nowrap;
}

.guide-check-body {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
}

.guide-check-body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.guide-check-body li::marker {
  color: var(--brand);
}

.guide-check-body dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.guide-check-body dl div {
  min-height: 84px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 76%, white);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.guide-check-body dt {
  margin-bottom: 6px;
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.guide-check-body dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.source-checklist-shell {
  display: grid;
  gap: 28px;
  max-width: 1360px;
}

.source-checklist-header {
  border-bottom: 0;
  margin-bottom: 0;
}

.source-checklist-board {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.source-checklist-board-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.source-checklist-board-head span {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.source-checklist-board-head h2 {
  margin: 0;
  font-size: 28px;
}

.source-checklist-board-head small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.source-checklist-list {
  display: grid;
  gap: 10px;
}

.source-check-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(231, 246, 255, 0.42), transparent 34%),
    white;
  box-shadow: 0 12px 34px rgba(62, 95, 120, 0.055);
  overflow: hidden;
}

.source-check-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
}

.source-check-item summary::-webkit-details-marker {
  display: none;
}

.source-check-title {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.source-check-meta {
  max-width: 280px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

.source-check-chevron {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: #9aa9b5;
  transition: transform 160ms ease;
}

.source-check-chevron svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.source-check-item[open] .source-check-chevron {
  transform: rotate(180deg);
}

.source-check-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.65fr) minmax(190px, 0.75fr) minmax(260px, 1.08fr) minmax(220px, 0.9fr);
  gap: 12px;
  padding: 4px 16px 16px;
}

.source-check-grid.single-column {
  grid-template-columns: minmax(0, 1fr);
}

.source-check-column {
  min-height: 128px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 76%, white);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.source-check-column h3 {
  margin: 0 0 10px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.source-check-column p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.source-check-tip-label {
  color: var(--ink);
  font-weight: 800;
}

.source-check-column p + p {
  margin-top: 9px;
}

.source-check-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.source-check-list li + li {
  margin-top: 6px;
}

.source-check-sublist {
  margin: 7px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.source-check-sublist li + li {
  margin-top: 4px;
}

.article-product {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(79, 142, 180, 0.09);
}

.article-product-media {
  height: 120px;
  font-size: 36px;
}

.article-product h3 {
  margin: 0 0 6px;
}

.article-product-actions {
  display: grid;
  gap: 8px;
}

.article-product-card-set {
  margin-top: 20px;
  min-width: 0;
}

.article-product-card-set-head {
  margin-bottom: 14px;
}

.article-product-card-set-head h3 {
  margin: 0 0 6px;
}

.article-product-card-set-head p {
  margin: 0;
}

.article-product-card-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 2px 12px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--brand) var(--soft);
}

.article-mentioned-product-card {
  min-width: 190px;
  scroll-snap-align: start;
}

.article-mentioned-product-media {
  height: 138px;
}

.article-mentioned-product-card span {
  min-height: 44px;
}

.article-recommended-products {
  margin-bottom: 34px;
}

.article-recommended-head {
  margin-bottom: 16px;
}

.article-recommended-head h2 {
  margin-bottom: 8px;
}

.article-recommended-head p {
  max-width: 720px;
}

.article-recommended-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 14px;
}

.article-recommended-media {
  height: 156px;
  font-size: 48px;
}

.article-recommended-card .guide-scene-icon {
  width: 58px;
  height: 58px;
}

.newsletter-box,
.article-data-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.faq-box {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--sky-soft) 44%, var(--line));
  border-radius: 8px;
  background: linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--sky-soft) 18%, white) 100%);
  box-shadow: 0 16px 34px rgba(79, 142, 180, 0.1);
}

.faq-box h2 {
  margin: 0 0 6px;
}

.article-data-box {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-data-box h2 {
  margin: 0 0 4px;
  color: color-mix(in srgb, var(--ink) 72%, white);
  font-size: 14px;
}

.article-data-box p {
  max-width: 820px;
  margin: 0;
  color: color-mix(in srgb, var(--muted) 82%, white);
  font-size: 12px;
  line-height: 1.5;
}

.article-disclaimer {
  max-width: 780px;
  margin: 8px 0 0;
  padding-top: 6px;
  border-top: 1px solid color-mix(in srgb, var(--line) 58%, white);
  color: color-mix(in srgb, var(--muted) 58%, white);
  font-size: 10px;
  line-height: 1.35;
}

.article-source-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.article-source-list a {
  color: var(--brand);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.article-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.article-signal-grid span {
  display: grid;
  gap: 4px;
  min-height: 70px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.article-signal-grid strong {
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.faq-box details {
  border: 1px solid color-mix(in srgb, var(--line) 78%, white);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.faq-box summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 48px 14px 16px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-box summary::-webkit-details-marker {
  display: none;
}

.faq-box summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 44%, white);
  font-weight: 800;
  transform: translateY(-50%);
}

.faq-box details[open] summary::after {
  content: "-";
}

.faq-box details:hover,
.faq-box details:focus-within {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
}

.faq-box details p {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.62;
}

.newsletter-box div {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.home-stat-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 10px;
  min-height: 185px;
  padding: 18px 18px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff 0%, var(--soft) 100%);
  box-shadow: 0 14px 30px rgba(79, 142, 180, 0.08);
}

.home-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
}

.home-stat-card.stat-checklist::before {
  background: var(--green);
}

.home-stat-card.stat-gifts::before {
  background: var(--brand);
}

.home-stat-card h2 {
  margin: 0;
  font-size: 16px;
}

.home-stat-card strong {
  color: var(--accent);
  font-size: 52px;
  line-height: 1;
}

.home-stat-card strong.green {
  color: var(--green);
}

.home-stat-card strong.blue {
  color: var(--brand);
}

.home-stat-card small {
  font-size: 22px;
}

.home-stat-card span {
  color: var(--muted);
}

.progress-block {
  display: grid;
  gap: 7px;
  width: 100%;
}

.progress-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.progress-meta strong {
  color: var(--green);
  font-size: 18px;
  line-height: 1;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lavender), var(--soft));
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(105, 164, 132, 0.08);
}

.progress-block.compact {
  gap: 6px;
}

.home-stat-card button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  align-self: end;
  min-height: 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0;
  color: color-mix(in srgb, var(--brand) 82%, var(--muted));
  background: transparent;
  font-size: 14px;
  font-weight: 450;
  text-decoration: none;
}

.home-stat-card button:hover {
  color: var(--brand-strong);
  text-decoration: underline;
}

.home-stat-card button svg {
  width: 15px;
  height: 15px;
}

.sidebar {
  position: relative;
  padding: 0 18px 32px 0;
}

.sidebar::after {
  content: "";
  position: absolute;
  top: 38px;
  right: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.registry-card {
  position: sticky;
  top: 92px;
  margin-top: -80px;
}

.registry-card.event-builder-sidebar-card {
  margin-top: 0;
}

.photo-button {
  appearance: none;
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 215px);
  aspect-ratio: 4 / 3;
  margin: 0 0 24px;
  z-index: 2;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  box-shadow: none;
  font-size: 38px;
  overflow: hidden;
  line-height: 0;
}

.photo-button img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.photo-upload-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: var(--on-brand);
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(47, 111, 149, 0.24);
}

.photo-upload-badge svg {
  width: 17px;
  height: 17px;
}

.registry-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.15;
}

.guest-return-card {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line));
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 34%, white);
  font-weight: 800;
}

.guest-return-card .lucide-icon {
  width: 17px;
  height: 17px;
}

.sidebar-actions {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.sidebar-menu-section {
  display: grid;
  gap: 2px;
}

.sidebar-menu-group {
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 48%, white);
}

.sidebar-registry-group {
  display: grid;
  gap: 2px;
  padding: 4px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 68%, white);
}

.sidebar-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 10px;
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-weight: 700;
  text-align: left;
}

.sidebar-action-row > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.sidebar-action-row em {
  margin-left: 8px;
  color: var(--ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.sidebar-action-row:last-child {
  border-bottom: 0;
}

.sidebar-action-row:hover,
.sidebar-action-row.active {
  color: var(--brand);
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
}

.sidebar-action-row .lucide-icon {
  width: 19px;
  height: 19px;
  color: var(--muted);
}

.sidebar-utility-panel {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  align-content: start;
  gap: 10px;
  height: fit-content;
  max-height: calc(100vh - 118px);
  min-height: 0;
  margin: 38px 24px 32px 0;
  padding: 16px;
  border: 0;
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.utility-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 6px;
}

.utility-panel-head h2 {
  margin: 0;
  font-size: 20px;
}

.utility-panel-head p {
  margin: 0;
  color: var(--muted);
}

.utility-form {
  display: grid;
  gap: 14px;
}

.utility-form > .btn {
  justify-self: start;
  font-size: 14px;
}

.registry-quick-setting {
  display: grid;
  gap: 6px;
}

.registry-autosave-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 4px;
  color: #4f846e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.registry-autosave-status .lucide-icon {
  width: 14px;
  height: 14px;
  padding: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, #dff2e7 86%, white);
}

.utility-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.registry-share-panel {
  display: grid;
  gap: 12px;
}

.registry-share-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.registry-share-path-field {
  position: relative;
}

.registry-share-path {
  overflow: hidden;
  min-height: 56px;
  width: 100%;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.registry-share-path-field.is-saved .registry-share-path {
  padding-right: 48px;
}

.registry-share-saved {
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #4f846e;
  background: color-mix(in srgb, var(--green) 20%, white);
  transform: translateY(-50%);
  pointer-events: none;
}

.registry-share-saved .lucide-icon {
  width: 15px;
  height: 15px;
}

.registry-share-path:focus {
  outline: 0;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 142, 180, 0.12);
}

.registry-share-url {
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.registry-share-status {
  font-size: 12px;
  font-weight: 700;
}

.registry-share-status.checking {
  color: var(--muted);
}

.registry-share-status.success {
  color: #4f846e;
}

.registry-share-status.error {
  color: #a14d5d;
}

.registry-share-actions {
  display: grid;
  gap: 10px;
}

.registry-share-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.registry-share-action:hover {
  border-color: color-mix(in srgb, var(--brand) 40%, var(--line));
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 20%, white);
}

.utility-form .shipping-address-field > small {
  margin-top: -3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.password-access-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 54px;
  padding: 10px 12px;
  background: transparent;
}

.registry-password-access {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.password-access-toggle span {
  display: grid;
  flex: 1;
  gap: 2px;
}

.password-access-toggle strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.password-access-toggle small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.password-access-toggle input {
  appearance: none;
  position: relative;
  display: block;
  width: 42px !important;
  height: 24px !important;
  min-width: 42px;
  min-height: 24px !important;
  flex: 0 0 auto;
  align-self: center;
  border: 1px solid color-mix(in srgb, var(--brand) 58%, var(--line));
  border-radius: 999px;
  padding: 0;
  background: color-mix(in srgb, var(--sky-soft) 42%, white);
  cursor: pointer;
}

.password-access-toggle input::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(47, 49, 55, 0.18);
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.password-access-toggle input:checked {
  border-color: var(--brand);
  background: var(--brand);
}

.password-access-toggle input:checked::after {
  transform: translate(18px, -50%);
}

.registry-guest-password-field {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.registry-guest-password-field label {
  gap: 7px;
}

.registry-guest-password-field > small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.utility-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.utility-form input,
.utility-form select,
.utility-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  font-weight: 400;
}

.utility-form input[type="date"] {
  color-scheme: light;
  border-color: color-mix(in srgb, var(--line) 78%, var(--brand));
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--sky-soft), var(--lavender), var(--peach)) border-box;
  box-shadow: inset 0 0 0 1px rgba(79, 142, 180, 0.04);
}

.utility-form input[type="date"]::-webkit-calendar-picker-indicator {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  padding: 3px;
  background-color: var(--lavender);
  cursor: pointer;
}

.nest-date-picker {
  position: relative;
}

.nest-date-picker summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--brand));
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--sky-soft), var(--lavender), var(--peach)) border-box;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
}

.nest-date-picker summary::-webkit-details-marker {
  display: none;
}

.nest-date-picker summary .lucide-icon:first-child {
  color: var(--brand);
}

.nest-date-picker summary .lucide-icon:last-child {
  margin-left: auto;
  color: var(--muted);
}

.nest-calendar {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(292px, calc(100vw - 48px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(79, 142, 180, 0.16);
}

.nest-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.nest-calendar-head strong {
  font-size: 14px;
}

.nest-calendar-head span {
  display: flex;
  gap: 6px;
}

.nest-calendar-head button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-strong);
  background: var(--soft);
}

.nest-calendar-weekdays,
.nest-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.nest-calendar-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.nest-calendar-grid button {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
}

.nest-calendar-grid button:hover {
  border-color: var(--sky);
  background: var(--soft);
}

.nest-calendar-grid button.muted {
  color: #a8adb6;
}

.nest-calendar-grid button.today {
  border-color: var(--sky);
}

.nest-calendar-grid button.selected {
  color: var(--on-brand);
  border-color: var(--brand);
  background: var(--brand);
}

.nest-calendar-today {
  width: 100%;
  min-height: 34px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-strong);
  background: var(--soft);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.onboarding-date-picker {
  width: 100%;
}

.onboarding-date-picker summary {
  min-height: 60px;
  border-color: color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 8px;
  padding: 0 16px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--sky-soft), var(--lavender), var(--peach)) border-box;
  box-shadow: 0 12px 28px rgba(79, 142, 180, 0.1);
  font-weight: 700;
}

.onboarding-date-picker summary .lucide-icon:first-child {
  width: 22px;
  height: 22px;
  color: var(--brand-strong);
}

.onboarding-date-picker[open] summary {
  border-color: color-mix(in srgb, var(--brand) 48%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky-soft) 42%, transparent);
}

.onboarding-date-picker .nest-calendar {
  left: 50%;
  width: min(380px, calc(100vw - 32px));
  padding: 18px;
  border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(79, 142, 180, 0.2);
  transform: translateX(-50%);
}

.onboarding-date-picker .nest-calendar-head {
  margin-bottom: 14px;
}

.onboarding-date-picker .nest-calendar-head strong {
  color: var(--brand-strong);
  font-size: 16px;
}

.onboarding-date-picker .nest-calendar-head button {
  width: 36px;
  height: 36px;
  background: color-mix(in srgb, var(--sky-soft) 34%, white);
}

.onboarding-date-picker .nest-calendar-weekdays {
  margin-bottom: 8px;
  font-size: 12px;
}

.onboarding-date-picker .nest-calendar-grid {
  gap: 7px;
}

.onboarding-date-picker .nest-calendar-grid button {
  font-size: 14px;
  font-weight: 700;
}

.onboarding-date-picker .nest-calendar-grid button:hover {
  border-color: color-mix(in srgb, var(--brand) 38%, var(--sky));
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
}

.onboarding-date-picker .nest-calendar-grid button.today {
  border-color: var(--pink);
  background: color-mix(in srgb, var(--lavender) 58%, white);
}

.onboarding-date-picker .nest-calendar-grid button.selected {
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 8px 16px rgba(79, 142, 180, 0.25);
}

.onboarding-date-picker .nest-calendar-today {
  min-height: 40px;
  margin-top: 14px;
  border-color: color-mix(in srgb, var(--brand) 20%, var(--line));
  background: color-mix(in srgb, var(--lavender) 42%, white);
}

.utility-form textarea {
  min-height: 118px;
  resize: vertical;
}

.preview-options {
  display: grid;
  gap: 6px;
}

.preview-options button {
  display: grid;
  grid-template-columns: 1fr 18px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 8px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.preview-options button:hover {
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
}

.preview-options button.active {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 42%, white);
}

.preview-options button > .lucide-icon {
  width: 22px;
  height: 22px;
  color: var(--brand);
}

.preview-options button > .lucide-icon:last-child {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.preview-options strong,
.preview-options small {
  display: block;
  font-size: 13px;
}

.preview-options small {
  margin-top: 3px;
  color: var(--muted);
}

.baby-event-layout .registry-card.event-builder-sidebar-card {
  top: 76px;
}

.baby-event-layout .sidebar {
  padding-top: 28px;
}

.baby-event-layout .sidebar-actions {
  gap: 14px;
  margin-top: 8px;
}

.baby-event-layout .sidebar-action-row {
  min-height: 44px;
  padding: 0 10px;
  color: #405065;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
}

.baby-event-layout .sidebar-action-row .lucide-icon {
  width: 16px;
  height: 16px;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.meta-row {
  display: grid;
  grid-template-columns: 18px minmax(0, auto);
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
}

.rsvp-access-row {
  width: fit-content;
  margin-top: -6px;
  margin-left: -9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.rsvp-access-row .lucide-icon {
  color: var(--brand);
}

button.rsvp-access-row:hover {
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
  background: color-mix(in srgb, var(--sky-soft) 22%, white);
}

.side-panel {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.side-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 22px rgba(79, 142, 180, 0.08);
}

.tile-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  text-align: left;
}

.tile-progress-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
  flex: 1;
  justify-items: start;
  text-align: left;
}

.tile-progress-copy > strong {
  color: var(--ink);
}

.tile-copy-title {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

.tile-progress-copy .progress-meta {
  font-size: 12px;
}

.tile-progress-copy .progress-track {
  height: 6px;
}

.tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--accent);
  background: var(--sky-soft);
  font-weight: 700;
}

.tile-doodle {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}

.doodle-icon {
  display: block;
  width: 52px;
  height: 52px;
  overflow: visible;
}

.tile-icon .lucide-icon,
.check-status-btn .lucide-icon {
  width: 20px;
  height: 20px;
}

.main {
  padding: 24px 0 0 26px;
}

.checklist-layout {
  margin-top: 0;
}

.checklist-main {
  padding-top: 26px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 16px;
}

.breadcrumb button {
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
}

.breadcrumb strong {
  color: var(--ink);
  font-weight: 700;
}

.breadcrumb .lucide-icon {
  width: 17px;
  height: 17px;
  color: #9aa9b5;
}

.guides-page > .breadcrumb {
  max-width: 1300px;
  margin: 14px auto 10px;
  padding: 0 26px;
  font-size: 14px;
}

.checklist-head {
  max-width: 1120px;
  margin-bottom: 18px;
  padding: 10px 0 18px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.checklist-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checklist-head h1 {
  margin: 0;
  font-size: 36px;
}

.checklist-head p {
  margin: 0 0 8px;
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.download-link {
  color: var(--ink);
  font-weight: 700;
}

.checklist-progress-summary {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;
}

.gauge {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--ink);
}

.gauge-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: conic-gradient(var(--gauge-color) calc(var(--pct) * 1%), var(--soft) 0);
}

.gauge-ring::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--panel);
}

.gauge-ring strong {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.gauge-copy {
  display: block;
}

.gauge-copy span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.gauge.brand {
  --gauge-color: var(--brand);
}

.gauge.accent {
  --gauge-color: var(--accent);
}

.checklist-accordion {
  display: grid;
  gap: 10px;
  max-width: 1120px;
  padding-top: 0;
}

.check-category {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(231, 246, 255, 0.45), transparent 36%),
    white;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(62, 95, 120, 0.055);
}

.check-category-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 30px;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 66px;
  border: 0;
  padding: 0 16px;
  background: transparent;
  text-align: left;
}

.check-category-head strong {
  display: block;
  font-size: 20px;
}

.check-category-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.check-category-copy small {
  color: var(--brand-strong);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.check-count {
  display: grid;
  justify-items: end;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.check-count strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.check-count small {
  color: var(--muted);
  font-size: 11px;
}

.chevron {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: #9aa9b5;
  font-size: 18px;
  transition: transform 160ms ease;
}

.check-category.open .chevron {
  transform: rotate(180deg);
}

.category-progress {
  height: 5px;
  margin: -8px 16px 12px;
  border-radius: 999px;
  background: rgba(239, 235, 247, 0.95);
  overflow: hidden;
}

.category-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}

.check-items {
  display: grid;
  gap: 0;
  max-height: 0;
  padding: 0 18px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 220ms ease, opacity 180ms ease, padding 180ms ease;
}

.check-category.open .check-items {
  max-height: 1800px;
  padding-top: 2px;
  padding-bottom: 18px;
  opacity: 1;
}

.check-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  min-height: 84px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.check-item:last-child {
  border-bottom: 0;
}

.check-item h3 {
  margin: 0;
  font-size: 17px;
}

.check-item-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.essential-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid rgba(79, 142, 180, 0.2);
  border-radius: 999px;
  padding: 0 8px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 42%, white);
  font-size: 11px;
  font-weight: 800;
}

.check-item p {
  margin: 5px 0 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.45;
}

.check-item-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  justify-content: flex-end;
  padding-top: 2px;
}

.check-status-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--brand-strong);
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.check-complete-btn {
  min-height: 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.check-complete-btn:hover {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 32%, transparent);
}

.check-complete-btn.completed {
  color: #2f7055;
  background: color-mix(in srgb, #e9f4ee 72%, transparent);
}

.check-status-btn .lucide-icon {
  width: 17px;
  height: 17px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.tracker-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tracker-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.tracker-category-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 74%, var(--brand));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(79, 142, 180, 0.08);
  color: var(--ink);
  text-align: left;
}

.tracker-category-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
}

.tracker-category-card.remaining::before {
  background: var(--accent);
}

.tracker-category-card:hover {
  border-color: color-mix(in srgb, var(--brand) 52%, var(--line));
  transform: translateY(-1px);
}

.tracker-category-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--brand);
  background: color-mix(in srgb, var(--sky-soft) 48%, white);
}

.tracker-category-card.remaining .tracker-category-icon {
  color: #a45d86;
  background: color-mix(in srgb, var(--accent) 22%, white);
}

.tracker-category-card > span:not(.tracker-category-icon) {
  display: grid;
  gap: 3px;
}

.tracker-category-card strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.2;
}

.tracker-category-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tracker-category-card em {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 42%, white);
  font-style: normal;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.tracker-sections {
  display: grid;
  gap: 18px;
}

.tracker-section {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--sky-soft) 14%, white));
  box-shadow: 0 16px 36px rgba(70, 95, 115, 0.06);
}

.tracker-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.tracker-section-head h2 {
  margin: 0;
  font-size: 18px;
}

.tracker-section-head em {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  margin-left: auto;
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 42%, white);
  font-style: normal;
  font-weight: 800;
}

.tracker-empty {
  border: 1px dashed color-mix(in srgb, var(--line) 70%, var(--brand));
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.toolbar h2 {
  margin: 0;
  font-size: 20px;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.registry-toolbar {
  justify-content: flex-end;
}

.registry-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.registry-topline .breadcrumb {
  margin-bottom: 0;
}

.registry-topline + .section-heading {
  margin-top: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0 8px;
}

.tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  background: white;
  font-weight: 700;
}

.tab.active {
  color: var(--on-brand);
  border-color: var(--brand);
  background: var(--brand);
}

.section-heading {
  margin: 22px 0 14px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 550;
  letter-spacing: 0;
}

.gift-list {
  display: grid;
  gap: 18px;
}

.registry-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 245px));
  justify-content: start;
  gap: 14px;
  align-items: stretch;
}

.gift-card {
  position: relative;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 190px;
  gap: 20px;
  min-height: 205px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.gift-media {
  display: grid;
  place-items: center;
  height: 165px;
  border-radius: 8px;
  color: #5e7484;
  background: linear-gradient(135deg, var(--lavender), var(--nude));
  font-size: 44px;
}

.gift-info h3 {
  margin: 6px 0 8px;
  font-size: 21px;
  line-height: 1.3;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.store-badge {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: white;
  background: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.gift-note {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.45;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 600;
}

.gift-actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.quick-icons {
  display: flex;
  gap: 8px;
}

.buy-box {
  display: grid;
  gap: 8px;
  width: 100%;
}

.buy-box .btn {
  width: 100%;
}

.reserved {
  color: #5f8d77;
  font-weight: 700;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 28px 60px;
}

.add-registry-shell {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  max-width: 1480px;
  margin: -38px auto 0;
  padding: 0 28px 60px;
}

.add-sidebar {
  padding: 0 24px 32px 0;
}

.add-main {
  max-width: none;
  margin: 0;
  padding: 64px 0 0 26px;
}

.page-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-title h1 {
  margin: 0;
  font-size: 34px;
}

.legal-page {
  max-width: 960px;
}

.legal-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-panel h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 18px;
}

.legal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-panel a {
  color: var(--brand-strong);
  font-weight: 700;
}

.legal-warning {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.legal-warning strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-strong);
}

.app-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 28px 24px 36px;
  color: var(--muted);
  font-size: 13px;
}

.app-footer button {
  border: 0;
  background: transparent;
  color: var(--brand-strong);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.finance-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.finance-summary-grid article,
.finance-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(79, 142, 180, 0.08);
}

.finance-summary-grid article {
  padding: 22px;
}

.finance-summary-grid span,
.finance-fund-row span,
.finance-fund-row small {
  color: var(--muted);
}

.finance-summary-grid article > span {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.finance-summary-grid strong {
  display: block;
  font-size: 34px;
  color: var(--brand);
}

.finance-summary-grid p {
  margin: 8px 0 0;
  color: var(--muted);
}

.finance-panel {
  padding: 22px;
}

.finance-fund-list {
  display: grid;
  gap: 12px;
}

.finance-fund-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.finance-fund-row div {
  display: grid;
  gap: 4px;
}

.finance-fund-row div:last-child {
  text-align: right;
}

.add-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.add-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.add-choice {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  min-height: 112px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  text-align: left;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
}

.add-choice > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
}

.add-choice-doodle .doodle-icon {
  width: 58px;
  height: 58px;
}

.add-choice strong {
  align-self: end;
  font-size: 17px;
}

.add-choice small {
  color: var(--muted);
}

.add-main .home-discovery {
  margin-top: 34px;
}

.add-main .home-discovery h2,
.product-link-panel h2 {
  margin: 0 0 4px;
  color: #44515e;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
}

.cash-fund-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 980px;
  min-height: 64px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.06);
}

.cash-fund-row-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
}

.cash-fund-row-icon .doodle-icon {
  width: 46px;
  height: 46px;
}

.cash-fund-row strong,
.cash-fund-row small {
  display: block;
}

.cash-fund-row strong {
  font-size: 15px;
}

.cash-fund-row small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
}

.panel-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.panel-header h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.panel-body {
  padding: 22px;
}

.product-link-form {
  max-width: 980px;
  margin-top: 12px;
  gap: 10px;
}

.product-link-panel {
  max-width: 980px;
  margin-top: 30px;
  margin-bottom: 26px;
}

.product-link-panel .gift-note {
  margin: 0;
  font-size: 13px;
}

.product-url-field {
  position: relative;
  display: block;
}

.product-url-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 17px;
  height: 17px;
  color: var(--brand-strong);
  pointer-events: none;
  transform: translateY(-50%);
}

.product-link-form input {
  min-height: 38px;
}

.product-url-field input {
  width: 100%;
  padding-left: 42px;
}

.product-link-form .btn {
  justify-self: start;
  width: auto;
  min-height: 36px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.item-edit-drawer .form-actions .btn {
  min-height: 34px;
  padding: 0 14px;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.item-edit-drawer .form-actions .btn:hover {
  border-color: #cddce6;
  background: #f8fbfd;
  color: var(--ink);
}

.item-edit-drawer .form-actions .btn.primary.is-dirty {
  border-color: var(--brand);
  color: var(--on-brand);
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(79, 142, 180, 0.24);
  font-weight: 800;
}

.item-edit-drawer .form-actions .btn.primary.is-dirty:hover {
  border-color: var(--brand-strong);
  color: var(--on-brand);
  background: var(--brand-strong);
}

.delete-confirm {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #efcfd3;
  border-radius: 8px;
  background: #fff8f8;
  color: var(--ink);
  font-size: 13px;
}

.delete-confirm span {
  color: #7f4754;
}

.delete-confirm div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.delete-confirm .btn {
  min-height: 32px;
  padding: 0 12px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: white;
}

textarea {
  min-height: 86px;
  resize: vertical;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.template-btn {
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  background: var(--soft);
}

.template-btn strong {
  display: block;
  margin-bottom: 8px;
}

.payment-status-row,
.stripe-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.payment-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--soft);
  font-weight: 700;
}

.payment-status.active {
  color: #2f7055;
  background: #e9f4ee;
}

.payment-status.pending {
  color: #816435;
  background: #f9efd9;
}

.money-gift-card {
  border-color: var(--blush);
}

.money-gift-media {
  color: var(--brand);
  background: linear-gradient(135deg, var(--lavender), var(--sky-soft));
}

.money-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.fund-progress {
  height: 7px;
  margin: 10px 0 7px;
  border-radius: 999px;
  background: var(--lavender);
  overflow: hidden;
}

.fund-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--sky));
}

.fund-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  color: var(--muted);
  font-size: 13px;
}

.fund-meta strong {
  color: var(--ink);
}

.payment-type-help {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.payment-type-help div {
  display: grid;
  gap: 2px;
}

.payment-type-help span {
  color: var(--muted);
}

.stripe-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  text-align: center;
}

.stripe-card h3 {
  margin: 0;
}

.stripe-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--on-brand);
  background: var(--brand);
  font-size: 24px;
}

.stripe-steps {
  display: grid;
  gap: 10px;
}

.stripe-steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stripe-steps span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--muted);
  background: var(--lavender);
  font-weight: 700;
}

.avatar-dot .lucide-icon {
  width: 17px;
  height: 17px;
  color: var(--brand-strong);
  stroke-width: 2.1;
}

.avatar-dot.large {
  width: 52px;
  height: 52px;
  font-size: 20px;
}

.stripe-steps .done span {
  color: var(--on-brand);
  background: var(--green);
}

.guide-list {
  display: grid;
  gap: 12px;
}

.guide-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(47, 49, 55, 0.35);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: min(430px, 100vw);
  height: 100vh;
  padding: 26px;
  background: white;
  box-shadow: -18px 0 50px rgba(79, 142, 180, 0.18);
  overflow: auto;
}

.account-drawer {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.baby-guest-drawer {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(390px, 100vw);
  padding: 18px 20px 20px;
  padding-top: 24px;
}

.item-edit-drawer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(430px, 100vw);
  padding: 18px 18px 20px;
}

.cash-fund-drawer {
  width: min(430px, 100vw);
  height: 100vh;
  padding: 0;
  overflow: hidden;
}

.cash-fund-drawer-track {
  display: flex;
  width: 200%;
  height: 100%;
  transform: translateX(0);
  transition: transform 260ms ease;
}

.cash-fund-drawer.showing-stripe-onboarding .cash-fund-drawer-track {
  transform: translateX(-50%);
}

.cash-fund-editor-pane,
.cash-fund-stripe-pane {
  flex: 0 0 50%;
  min-width: 0;
  box-sizing: border-box;
  overflow: auto;
}

.cash-fund-editor-pane {
  padding: 18px 18px 20px;
}

.cash-fund-stripe-pane {
  padding: 22px;
  background: linear-gradient(145deg, #f7fbfe 0%, #f6f3fb 100%);
}

.cash-fund-stripe-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cash-fund-stripe-head h2 {
  margin: 7px 0 0;
  font-size: 20px;
}

.cash-fund-test-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid #c9dcea;
  border-radius: 999px;
  color: var(--brand-strong);
  background: #edf7fc;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.cash-fund-stripe-intro {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.cash-fund-onboarding-steps {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.cash-fund-onboarding-steps > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #dfe8ee;
  border-radius: 8px;
  background: rgba(255, 255, 255, .76);
}

.cash-fund-onboarding-steps > div > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #d6dfe6;
  border-radius: 999px;
  color: var(--muted);
  background: white;
  font-size: 12px;
  font-weight: 800;
}

.cash-fund-onboarding-steps strong,
.cash-fund-onboarding-steps small {
  display: block;
}

.cash-fund-onboarding-steps strong {
  font-size: 13px;
}

.cash-fund-onboarding-steps small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.cash-fund-onboarding-steps .complete > span {
  border-color: var(--green);
  color: white;
  background: var(--green);
}

.cash-fund-onboarding-steps .complete > .lucide-icon {
  width: 17px;
  color: #2f7055;
}

.cash-fund-onboarding-steps .current {
  border-color: #a9cfe5;
  background: #f1f9fd;
}

.cash-fund-onboarding-steps .current > span {
  border-color: var(--brand);
  color: var(--on-brand);
  background: var(--brand);
}

.cash-fund-test-fields {
  display: grid;
  gap: 10px;
}

.cash-fund-test-fields label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.cash-fund-test-fields input,
.cash-fund-test-fields select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  color: var(--ink);
  background: white;
  font: inherit;
  font-size: 13px;
}

.cash-fund-test-fields input[readonly] {
  color: var(--muted);
  background: #fbfbfc;
}

.cash-fund-test-fields .stripe-test-acknowledgement {
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

.cash-fund-test-fields .stripe-test-acknowledgement input {
  min-height: 16px;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--brand);
}

.cash-fund-stripe-actions {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.cash-fund-stripe-actions .btn {
  justify-content: center;
}

.cash-fund-stripe-actions small {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.item-edit-drawer .two-col {
  grid-template-columns: 1fr;
}

.item-edit-drawer .drawer-head {
  padding-bottom: 10px;
}

.item-edit-drawer .drawer-head h2 {
  margin: 0;
  font-size: 20px;
}

.item-edit-drawer .form-grid {
  gap: 10px;
}

.title-image-editor {
  position: relative;
  display: block;
  justify-self: start;
  align-self: start;
  width: 190px;
  height: 129px;
  aspect-ratio: 1 / 0.68;
  min-height: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #e6dfe5;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--lavender), var(--nude));
  cursor: pointer;
}

.title-image-preview {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #5e7484;
}

.title-image-preview .product-icon {
  width: 32px;
  height: 32px;
  stroke-width: 1.8;
}

.title-image-preview .product-image {
  width: 100%;
  height: 100%;
}

.title-image-overlay {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  box-shadow: 0 8px 18px rgba(47, 49, 55, 0.08);
}

.title-image-overlay .lucide-icon {
  width: 14px;
  height: 14px;
}

.title-image-editor:hover {
  border-color: #cddce6;
}

.title-image-editor input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.item-edit-drawer label {
  gap: 5px;
  font-size: 13px;
}

.item-edit-drawer input,
.item-edit-drawer select,
.item-edit-drawer textarea {
  min-height: 38px;
  padding: 8px 10px;
}

.category-picker {
  position: relative;
}

.category-picker-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.category-picker-control .lucide-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.category-picker.open .category-picker-control {
  border-color: #bfdaea;
  box-shadow: 0 0 0 3px rgba(79, 149, 190, 0.12);
}

.category-picker-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  max-height: 300px;
  overflow: auto;
  padding: 6px;
  border: 1px solid #e6dfe5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(47, 49, 55, 0.12);
}

.category-picker.open .category-picker-menu {
  display: grid;
  gap: 2px;
}

.custom-category-create {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  padding: 7px;
  margin: 1px 0 4px;
  border: 1px solid #d9ebf5;
  border-radius: 8px;
  background: #f6fbfe;
}

.custom-category-create[hidden] {
  display: none;
}

.custom-category-create input {
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid #cfe0ea;
  border-radius: 7px;
  background: #fff;
  font: inherit;
}

.custom-category-create .btn {
  min-height: 32px;
  padding: 0 12px;
  border-color: #cfe0ea;
  background: #fff;
  color: #286f9b;
  font-size: 13px;
  font-weight: 500;
}

.category-picker-row {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  border-radius: 7px;
}

.category-picker-option {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 8px;
  min-height: 32px;
  padding: 7px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.category-picker-row:hover,
.category-picker-row:focus-within,
.category-picker-option.selected {
  background: #eef8fd;
}

.category-picker-option:hover,
.category-picker-option.selected {
  color: #286f9b;
}

.category-delete-btn {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #b8757b;
  opacity: 0;
  pointer-events: none;
  transition: opacity 120ms ease, background 120ms ease;
}

.category-picker-row:hover .category-delete-btn,
.category-picker-row:focus-within .category-delete-btn {
  opacity: 1;
  pointer-events: auto;
}

.category-delete-btn:hover {
  background: #fae9e8;
}

.category-delete-btn .lucide-icon {
  width: 15px;
  height: 15px;
}

.category-picker-option.add-option {
  color: #2d7fae;
  font-weight: 600;
}

.category-picker-option.add-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e7f3fb;
  color: #2d7fae;
  font-size: 15px;
  line-height: 1;
}

.payment-mode-picker {
  position: relative;
}

.payment-mode-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.payment-mode-control > span,
.payment-mode-option {
  display: grid;
  gap: 2px;
}

.payment-mode-control strong,
.payment-mode-option strong {
  font-size: 13px;
  font-weight: 600;
}

.payment-mode-control small,
.payment-mode-option small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.payment-mode-control .lucide-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.payment-mode-picker.open .payment-mode-control {
  border-color: #bfdaea;
  box-shadow: 0 0 0 3px rgba(79, 149, 190, 0.12);
}

.payment-mode-menu {
  position: absolute;
  z-index: 35;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: none;
  padding: 6px;
  border: 1px solid #e6dfe5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(47, 49, 55, 0.12);
}

.payment-mode-picker.open .payment-mode-menu {
  display: grid;
  gap: 4px;
}

.payment-mode-option {
  width: 100%;
  min-height: 54px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
}

.payment-mode-option:hover,
.payment-mode-option.selected {
  background: #eef8fd;
}

.payment-mode-option.selected strong {
  color: #286f9b;
}

.item-edit-drawer textarea {
  min-height: 88px;
}

.must-have-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 0;
}

.must-have-toggle input {
  appearance: none;
  position: relative;
  width: 42px;
  height: 24px;
  min-height: 24px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: var(--line);
  cursor: pointer;
}

.must-have-toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(47, 49, 55, 0.18);
  transition: transform 160ms ease;
}

.must-have-toggle input:checked {
  background: var(--brand);
}

.must-have-toggle input:checked::after {
  transform: translateX(18px);
}

.payout-verify-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  padding: 0 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.payout-verify-row:hover {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
  padding-inline: 10px;
}

.payout-verify-row .lucide-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.payout-verify-row.verified {
  color: #2f7055;
}

.payout-verify-row.verified .lucide-icon {
  color: #2f7055;
}

.cash-fund-setup-notice {
  margin: -3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.baby-guest-drawer > .drawer-head {
  position: relative;
}

.baby-guest-drawer > .drawer-head > .icon-btn {
  position: absolute;
  top: -10px;
  right: -8px;
}

.drawer-form {
  display: grid;
  gap: 12px;
}

.drawer-form label,
.drawer-label {
  display: grid;
  gap: 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.drawer-form input,
.drawer-form select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.drawer-form input:focus,
.drawer-form select:focus {
  outline: 2px solid rgba(79, 142, 180, 0.18);
  border-color: var(--brand);
}

.guest-rsvp-drawer .drawer-head p,
.gift-choice-drawer .drawer-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.guest-rsvp-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 54%, white);
}

.guest-rsvp-toggle span {
  display: grid;
  gap: 3px;
}

.guest-rsvp-toggle strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.guest-rsvp-toggle small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.guest-rsvp-toggle input {
  appearance: none;
  position: relative;
  width: 42px;
  height: 24px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}

.guest-rsvp-toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(47, 49, 55, 0.18);
  transition: transform 160ms ease;
}

.guest-rsvp-toggle input:checked {
  background: var(--accent-pink);
}

.guest-rsvp-toggle input:checked::after {
  transform: translateX(18px);
}

.guest-rsvp-live-preview {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}

.guest-rsvp-live-preview ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px 18px 16px 34px;
  border: 1px solid color-mix(in srgb, var(--warm) 54%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--nude) 24%, white);
}

.guest-rsvp-live-preview li {
  padding-left: 2px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.guest-rsvp-live-preview li::marker {
  color: var(--green);
}

.guest-rsvp-info-link {
  padding: 0;
  border: 0;
  color: var(--brand-strong);
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.guest-rsvp-add-questions {
  justify-self: end;
  min-width: 164px;
}

.gift-choice-live-preview {
  margin-top: 16px;
}

.gift-choice-live-preview ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px 18px 16px 34px;
  border: 1px solid color-mix(in srgb, var(--sky-soft) 72%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--sky-soft) 20%, white);
}

.gift-choice-live-preview li {
  padding-left: 2px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.gift-choice-live-preview li::marker {
  color: var(--brand);
}

.gift-choice-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.gift-choice-add {
  min-width: 132px;
}

.guest-rsvp-disabled-note {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--accent-pink) 24%, var(--line));
  border-radius: 8px;
  color: var(--muted);
  background: color-mix(in srgb, var(--lavender) 48%, white);
  font-size: 14px;
  line-height: 1.45;
}

.guest-rsvp-status {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 72%, white);
}

.guest-rsvp-status legend {
  padding: 0 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.guest-rsvp-status label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: var(--ink);
  font-weight: 800;
}

.guest-rsvp-status input {
  width: 17px;
  height: 17px;
  min-height: 17px;
  accent-color: var(--brand);
}

.guest-rsvp-questions {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.tag-picker {
  position: relative;
}

.tag-picker summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--muted);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.tag-picker summary::-webkit-details-marker {
  display: none;
}

.tag-picker summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
}

.tag-picker[open] summary {
  border-color: var(--brand);
  outline: 2px solid rgba(79, 142, 180, 0.14);
}

.tag-picker-menu {
  display: grid;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(79, 142, 180, 0.13);
  overflow: hidden;
}

.tag-picker-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.tag-picker-option input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 11px;
  color: var(--ink);
  background: color-mix(in srgb, var(--tag-color) 28%, white);
  font-weight: 800;
}

.tag-add-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  padding: 0 16px;
  color: var(--brand-strong);
  background: var(--soft);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tag-color-field {
  display: grid;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
}

.tag-color-field legend {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tag-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-color-swatch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tag-color-swatch span,
.tag-color-box {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--tag-color);
}

.tag-color-swatch input:checked + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.embedded-tag-manager {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: color-mix(in srgb, var(--soft) 68%, white);
}

.embedded-tag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.embedded-tag-head h2 {
  margin: 0;
  font-size: 16px;
}

.tag-manager-done {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--brand-strong);
  background: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.embedded-tag-manager .drawer-form {
  gap: 10px;
}

.embedded-tag-manager .drawer-form input {
  min-height: 38px;
}

.embedded-tag-manager .btn {
  min-height: 38px;
}

.tag-list {
  display: grid;
  gap: 8px;
}

.tag-list-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: #fff;
}

.tag-list-row strong {
  font-size: 13px;
}

.tag-list-row button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-pink);
  background: #fff;
  cursor: pointer;
}

.tag-list-row button:hover {
  border-color: var(--accent-pink);
  background: color-mix(in srgb, var(--accent-pink) 8%, white);
}

.tag-list-row .tag-color-box {
  width: 28px;
  height: 28px;
}

.account-menu {
  display: grid;
  gap: 9px;
}

.account-menu-row,
.account-back-row,
.account-link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-align: left;
}

.account-menu-row .lucide-icon,
.account-link-row .lucide-icon,
.account-back-row .lucide-icon {
  width: 18px;
  height: 18px;
  justify-self: end;
  color: var(--muted);
}

.account-back-row {
  display: inline-grid;
  grid-template-columns: 1fr;
  place-items: center;
  width: 34px;
  min-height: 34px;
  padding: 0;
  color: var(--brand-strong);
}

.account-back-row .lucide-icon {
  justify-self: center;
}

.account-submenu-page {
  display: grid;
  gap: 8px;
}

.account-menu-row:hover,
.account-link-row:hover,
.account-link-row.active {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
}

.account-back-row:hover {
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
}

.account-detail-panel {
  display: grid;
  gap: 9px;
  width: auto;
  margin: 3px 0 8px;
  padding: 8px 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.account-detail-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.account-detail-panel label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.account-detail-panel input,
.account-detail-panel select,
.account-detail-panel textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.account-detail-panel textarea {
  min-height: 86px;
  resize: vertical;
}

.account-detail-panel .btn {
  justify-self: start;
  min-height: 38px;
  border-radius: 999px;
  padding: 0 18px;
  box-shadow: 0 10px 22px rgba(79, 142, 180, 0.18);
}

.switch-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.switch-row input {
  width: auto;
}

.account-footer-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.account-page {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 42px;
}

.account-overview-title {
  margin-bottom: 18px;
}

.account-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 24px;
}

.account-card-tile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 132px;
  padding: 22px;
  border: 1px solid #d9dfe5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.account-card-tile:hover {
  border-color: #b9ccd9;
  background: #f8fbfd;
}

.account-card-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: #cfeef3;
}

.account-card-icon .lucide-icon {
  width: 34px;
  height: 34px;
}

.account-card-tile strong,
.account-card-tile small {
  display: block;
}

.account-card-tile strong {
  margin-bottom: 7px;
  font-size: 20px;
  line-height: 1.2;
}

.account-card-tile small {
  color: #4d5967;
  font-size: 15px;
  line-height: 1.35;
}

.account-page-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 12px 0 20px;
}

.account-page-title h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.account-page-title p {
  margin: 7px 0 0;
  color: var(--muted);
}

.account-page-back {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--brand-strong);
}

.account-page-back:hover {
  background: color-mix(in srgb, var(--sky-soft) 32%, white);
}

.account-tabs {
  display: flex;
  align-items: end;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.account-tabs button {
  min-height: 44px;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 2px;
  background: transparent;
  color: #0f5594;
  font: inherit;
  font-weight: 500;
}

.account-tabs button.active {
  border-bottom-color: var(--brand);
  color: var(--ink);
  font-weight: 700;
}

.account-tab-panel {
  max-width: 680px;
  display: grid;
  gap: 14px;
}

.account-tab-panel .account-detail-panel {
  padding: 0;
}

.modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 90;
  width: min(680px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  padding: 0;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
  overflow: auto;
}

.modal.small {
  width: min(460px, calc(100vw - 28px));
}

.baby-section-delete-modal {
  width: min(420px, calc(100vw - 28px));
}

.baby-section-delete-head {
  padding: 20px 22px 18px;
}

.baby-section-delete-head h2 {
  margin: 0;
  font-size: 20px;
}

.baby-section-delete-body {
  display: grid;
  gap: 20px;
  padding: 20px 22px 22px;
}

.baby-section-delete-copy {
  max-width: 39ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.baby-section-delete-copy strong {
  color: var(--ink);
}

.baby-section-delete-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.baby-section-delete-actions .btn {
  min-height: 38px;
  padding: 0 16px;
}

.invite-modal {
  width: min(620px, calc(100vw - 28px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.invite-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.invite-modal-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.05;
}

.invite-modal-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.invite-close {
  width: 38px;
  height: 38px;
  border-color: var(--line);
  color: var(--brand-strong);
  background: #fff;
}

.invite-message {
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.52;
}

.invite-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.invite-language,
.invite-action-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.invite-language {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.invite-language span {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 900;
}

.invite-language select {
  width: 100%;
  border: 0;
  appearance: none;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
}

.invite-language select:focus {
  outline: 0;
}

.invite-language .lucide-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.invite-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.invite-action-button:hover,
.invite-language:focus-within {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--sky-soft) 16%, white);
}

.invite-action-button.full {
  grid-column: 1 / -1;
}

.modal-head,
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.account-drawer > .drawer-head {
  border-bottom: 0;
}

.modal-head {
  padding: 22px;
}

.modal-body {
  padding: 22px;
}

.guest-purchase-modal {
  overflow: hidden;
}

.guest-purchase-modal-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 24px 24px 18px;
}

.guest-purchase-modal-head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.guest-purchase-modal-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.guest-purchase-store-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--sky-soft);
}

.guest-purchase-store-mark .lucide-icon {
  width: 20px;
  height: 20px;
}

.guest-purchase-modal-body {
  display: grid;
  gap: 20px;
  padding: 8px 24px 24px;
}

.guest-purchase-modal-body > p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
}

.guest-purchase-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.guest-purchase-modal-actions .btn {
  min-height: 42px;
  padding: 0 18px;
}

.guest-purchase-modal-actions .btn .lucide-icon {
  width: 16px;
  height: 16px;
}

.guest-purchase-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.guest-purchase-item-media {
  display: grid;
  place-items: center;
  height: 76px;
  border-radius: 6px;
  color: var(--brand-strong);
  background: linear-gradient(135deg, var(--lavender), var(--sky-soft));
}

.guest-purchase-item-media .lucide-icon {
  width: 34px;
  height: 34px;
}

.guest-purchase-item > span:last-child {
  display: grid;
  gap: 6px;
}

.guest-purchase-item strong {
  line-height: 1.35;
}

.guest-purchase-item b {
  color: var(--ink);
  font-size: 14px;
}

.guest-purchase-address {
  padding: 16px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--lavender) 46%, white);
}

.guest-purchase-address strong {
  display: block;
  font-size: 14px;
}

.guest-purchase-address p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.guest-purchase-address .guest-purchase-address-value {
  color: var(--ink);
  font-weight: 600;
}

.share-url {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checklist {
  display: grid;
  gap: 12px;
}

.check-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.check-row.done {
  opacity: 0.68;
}

.baby-shower-main {
  padding-top: 44px;
}

.baby-event-builder-main {
  position: relative;
  padding-top: 0;
}

.baby-event-layout .sidebar::after {
  top: 0;
}

.add-gift-layout .sidebar::after {
  top: 0;
}

.checklist-workspace .sidebar::after {
  top: 0;
}

.tracker-workspace .sidebar::after {
  top: 0;
}

.guest-management-workspace .sidebar::after {
  top: 0;
}

.registry-workspace .sidebar::after {
  top: 0;
}

.add-gift-main,
.registry-workspace-main,
.checklist-workspace-main,
.tracker-workspace-main,
.guest-management-workspace-main {
  padding: 12px 30px 34px;
  background: linear-gradient(90deg, var(--sky-soft), var(--lavender) 54%, var(--nude));
}

.add-gift-surface,
.registry-workspace-surface,
.checklist-workspace-surface,
.tracker-workspace-surface,
.guest-management-workspace-surface {
  min-height: 100%;
  padding: 26px 28px 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(79, 142, 180, 0.1);
}

.registry-workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.registry-workspace-head h1 {
  margin: 0;
  font-size: 36px;
}

.registry-workspace-content {
  display: grid;
  gap: 24px;
}

.registry-workspace-content .section-heading {
  margin: 0 0 12px;
}

.add-gift-surface .page-title {
  margin-bottom: 24px;
}

.add-gift-surface .home-discovery {
  margin-top: 0;
}

.guest-management-workspace-head {
  margin-bottom: 24px;
}

.guest-management-workspace-head h1 {
  margin: 0;
}

.guest-management-workspace-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.guest-management-workspace-content {
  display: grid;
  gap: 16px;
}

.guest-management-workspace-content .baby-panel {
  box-shadow: none;
}

.baby-shower-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.baby-shower-content {
  display: grid;
  gap: 16px;
}

.baby-event-builder-canvas {
  display: grid;
  gap: 16px;
  padding: 12px 30px 34px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--sky-soft), var(--lavender) 54%, var(--nude));
  box-shadow: var(--shadow);
}

.guest-baby-event-main {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: calc(100vh - 72px);
  margin: 0;
  padding: 28px max(24px, calc((100% - 1120px) / 2)) 56px;
}

.guest-baby-event-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.guest-event-preview-shell {
  overflow-x: clip;
}

.guest-preview-exit {
  position: fixed;
  top: 92px;
  left: 24px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--brand) 32%, var(--line));
  border-radius: 999px;
  color: var(--brand-strong);
  background: rgb(255 255 255 / 0.94);
  box-shadow: 0 10px 24px rgba(79, 142, 180, 0.13);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.guest-preview-exit:hover {
  border-color: var(--brand);
  background: var(--sky-soft);
}

.guest-preview-exit .lucide-icon {
  width: 17px;
  height: 17px;
}

.guest-baby-event-page .baby-event-empty-content,
.guest-baby-event-page .baby-event-content-stack,
.guest-baby-event-page .baby-text-block,
.guest-baby-event-page .baby-image-block,
.guest-baby-event-page .baby-photo-carousel-block,
.guest-baby-event-page .baby-map-block,
.guest-baby-event-page .baby-youtube-block,
.guest-baby-event-page .baby-spotify-block,
.guest-baby-event-page .baby-faq-block,
.guest-baby-event-page .baby-photo-carousel-preview {
  min-width: 0;
  max-width: 100%;
}

.guest-baby-event-page .baby-event-page-header {
  width: min(100%, 860px);
  margin-inline: auto;
}

.guest-baby-event-page .baby-event-page-header:not(.has-registry-hero-image) {
  border-color: rgb(255 255 255 / 0.66);
  background: rgb(255 255 255 / 0.32);
  box-shadow: 0 18px 42px rgb(42 73 105 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
  backdrop-filter: blur(18px) saturate(132%);
}

.baby-event-builder-canvas > .baby-event-page-header:not(.has-registry-hero-image) {
  border-color: rgb(255 255 255 / 0.66);
  background: rgb(255 255 255 / 0.32);
  box-shadow: 0 18px 42px rgb(42 73 105 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
  backdrop-filter: blur(18px) saturate(132%);
}

.guest-baby-event-page .baby-map-block.baby-map-public,
.guest-baby-event-page .baby-youtube-block.baby-youtube-public,
.guest-baby-event-page .baby-spotify-block.baby-spotify-public,
.guest-baby-event-page .baby-faq-block.baby-faq-public {
  width: min(100%, 860px);
  margin-inline: auto;
}

.guest-baby-event-page .baby-youtube-preview,
.guest-baby-event-page .baby-spotify-preview {
  width: min(100%, 860px);
}

.guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public,
.guest-baby-event-page .baby-image-block.baby-image-public {
  width: min(100%, 860px);
  margin-inline: auto;
}

.guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public .baby-photo-carousel-preview {
  position: relative;
  display: block;
  width: 100%;
}

.guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public .baby-photo-carousel-preview img,
.guest-baby-event-page .baby-image-block.baby-image-public img {
  width: 100%;
  max-height: none;
}

.guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public .baby-photo-carousel-preview button {
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
}

.guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public .baby-photo-carousel-preview button:first-child {
  left: 16px;
}

.guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public .baby-photo-carousel-preview button:last-child {
  right: 16px;
}

.guest-baby-event-page .baby-photo-carousel-preview img {
  min-width: 0;
  max-width: 100%;
}

/* Section names are navigation for guests, not editable fields. */
.guest-baby-event-page .baby-event-section-label,
.guest-baby-event-page .baby-event-section-tab.active .baby-event-section-label {
  border-bottom: 0;
}

.guest-event-gift-list {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.guest-event-gift-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.guest-event-gift-list-head h2 {
  margin: 0;
  font-size: 20px;
}

.guest-event-gift-list-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.guest-event-gift-list .gift-list {
  margin: 0;
}

.guest-gifts-page {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  padding: 42px max(24px, calc((100% - 1120px) / 2)) 64px;
}

.guest-gifts-canvas {
  width: 100%;
  min-width: 0;
}

.guest-gifts-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin-bottom: 28px;
}

.guest-gifts-back {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 8px 20px rgba(79, 142, 180, 0.08);
}

.guest-gifts-back:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
  background: var(--sky-soft);
}

.guest-gifts-back .lucide-icon {
  width: 18px;
  height: 18px;
}

.guest-gifts-header h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
}

.guest-gifts-header p {
  max-width: 600px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.guest-gifts-sections {
  display: grid;
  gap: 34px;
}

.guest-gifts-section {
  min-width: 0;
}

.guest-gifts-section h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.guest-cash-funds-section {
  padding-top: 28px;
  border-top: 1px solid rgb(255 255 255 / 0.68);
}

.guest-gifts-grid {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.guest-gifts-grid.registry-product-grid {
  align-items: start;
}

.guest-gifts-grid .gift-card {
  min-width: 0;
  min-height: 0;
}

.guest-gifts-grid .guest-gift-card .buy-box {
  display: flex;
  justify-content: flex-start;
}

.guest-gifts-grid .guest-gift-card .buy-box .btn {
  width: auto;
  min-width: 112px;
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .guest-gifts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .guest-gifts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .guest-event-gift-list {
    padding: 18px 14px;
  }

  .guest-event-gift-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .guest-event-gift-list-head .btn {
    width: 100%;
  }

  .guest-gifts-page {
    min-height: 100vh;
    padding: 28px 16px 44px;
  }

  .guest-gifts-header {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 22px;
  }

  .guest-gifts-header h1 {
    font-size: 34px;
  }

  .guest-gifts-header p {
    font-size: 14px;
  }

  .guest-gifts-sections {
    gap: 26px;
  }

  .guest-cash-funds-section {
    padding-top: 22px;
  }

  .guest-gifts-grid {
    grid-template-columns: 1fr;
  }
}

.baby-event-meta-public {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 600;
}

.guest-baby-event-page .baby-event-live-preview-note,
.guest-baby-event-page .baby-block-actions,
.guest-baby-event-page .baby-event-add-row,
.guest-baby-event-page .baby-image-change,
.guest-baby-event-page .baby-photo-add-button,
.guest-baby-event-page .baby-image-empty-content,
.guest-baby-event-page .baby-photo-empty {
  display: none;
}

.guest-baby-event-page .baby-image-upload-surface,
.guest-baby-event-page .baby-photo-carousel-block [draggable="true"] {
  pointer-events: none;
}

.guest-baby-event-page .baby-image-upload-surface input,
.guest-baby-event-page .baby-photo-strip span {
  display: none;
}

.baby-event-public-note {
  width: min(100%, 760px);
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.55;
  text-align: center;
}

.guest-baby-event-page .baby-map-public .baby-event-public-note {
  width: min(100%, 860px);
}

@media (max-width: 620px) {
  .guest-baby-event-main {
    min-height: 100dvh;
    padding: 16px 16px 40px;
  }

  .guest-baby-event-page .baby-event-empty-content {
    gap: 14px;
    padding-top: 14px;
  }

  .guest-baby-event-page .baby-event-content-stack {
    gap: 16px;
  }

  .guest-baby-event-page .baby-map-preview iframe {
    height: 240px;
  }

  .guest-baby-event-page .baby-spotify-preview iframe {
    height: 280px;
  }
}

.guest-mobile-preview-shell .guest-baby-event-main {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px;
}

.guest-mobile-preview-shell .guest-gifts-page {
  min-height: 100%;
  padding: 20px 14px 32px;
}

.guest-mobile-preview-shell .guest-gifts-header {
  gap: 12px;
  margin-bottom: 20px;
}

.guest-mobile-preview-shell .guest-gifts-header h1 {
  font-size: 30px;
}

.guest-mobile-preview-shell .guest-gifts-grid {
  grid-template-columns: 1fr;
}

.guest-mobile-preview-shell .guest-baby-event-page {
  padding: 12px;
  border: 0;
  box-shadow: none;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-event-heading {
  padding: 18px 0;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-event-heading h1 {
  font-size: clamp(28px, 8vw, 38px);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.guest-mobile-preview-shell .baby-event-meta-public {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-event-page-header {
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  padding: 18px 14px;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-event-primary-actions {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-event-primary-actions button {
  box-sizing: border-box;
  width: min(190px, 100%);
  min-width: 0;
  min-height: 40px;
  padding-inline: 14px;
  font-size: 14px;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-event-section-nav {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding-top: 16px;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-event-section-nav nav {
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  overflow-x: auto;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-photo-carousel-block {
  box-sizing: border-box;
  width: 100%;
  padding: 14px;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-photo-carousel-preview {
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 8px;
  width: 100%;
}

.guest-mobile-preview-shell .guest-baby-event-page .baby-photo-carousel-preview button {
  width: 36px;
  height: 36px;
}

.baby-event-builder-canvas.banner-soft-rainbow,
.guest-baby-event-main.banner-soft-rainbow {
  background-color: #eaf3f8;
  background-image: url("assets/backgrounds/soft-rainbow.svg");
  background-position: center bottom;
  background-repeat: repeat-x;
  background-size: 720px auto;
  background-attachment: fixed;
}

.baby-event-builder-canvas.banner-storybook-clouds,
.guest-baby-event-main.banner-storybook-clouds {
  background-color: #e8f2f8;
  background-image: url("assets/backgrounds/storybook-clouds.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: 720px auto;
  background-attachment: fixed;
}

.baby-event-builder-canvas.banner-garden-party,
.guest-baby-event-main.banner-garden-party {
  background-color: #edf5ec;
  background-image: url("assets/backgrounds/garden-party.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: 720px auto;
  background-attachment: fixed;
}

.baby-event-builder-canvas.banner-little-stars,
.guest-baby-event-main.banner-little-stars {
  background-color: #eff3fb;
  background-image: url("assets/backgrounds/little-stars.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: 720px auto;
  background-attachment: fixed;
}

.baby-event-builder-canvas.banner-woodland-green,
.guest-baby-event-main.banner-woodland-green {
  background-color: #e6f0e6;
  background-image: url("assets/backgrounds/woodland-green.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: 720px auto;
  background-attachment: fixed;
}

.baby-event-builder-canvas.banner-peach-balloons,
.guest-baby-event-main.banner-peach-balloons {
  background-color: #fdf0eb;
  background-image: url("assets/backgrounds/peach-balloons.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: 720px auto;
  background-attachment: fixed;
}

/* Live and public pages share the same taller, offset balloon composition so
   editing faithfully matches the guest-facing result. */
.baby-event-builder-canvas.banner-peach-balloons,
.guest-baby-event-main.banner-peach-balloons {
  background-image: url("assets/backgrounds/peach-balloons-guest.svg");
  background-position: center top;
  background-size: 960px auto;
  background-attachment: scroll;
}

/* Celebration patterns are deliberately taller and asymmetrical on guest
   surfaces, so scrolling reveals a new composition instead of repeated rows. */
.guest-baby-event-main.banner-storybook-clouds,
.guest-baby-event-main.banner-garden-party,
.guest-baby-event-main.banner-little-stars,
.guest-baby-event-main.banner-woodland-green,
.guest-baby-event-main.banner-moon-and-stars,
.guest-baby-event-main.banner-linen-blue,
.guest-baby-event-main.banner-confetti-pastel {
  background-position: center top;
  background-size: 960px auto;
  background-attachment: scroll;
}

.guest-baby-event-main.banner-storybook-clouds { background-image: url("assets/backgrounds/storybook-clouds-guest.svg"); }
.guest-baby-event-main.banner-garden-party { background-image: url("assets/backgrounds/garden-party-guest.svg"); }
.guest-baby-event-main.banner-little-stars { background-image: url("assets/backgrounds/little-stars-guest.svg"); }
.guest-baby-event-main.banner-woodland-green { background-image: url("assets/backgrounds/woodland-green-guest.svg"); }
.guest-baby-event-main.banner-moon-and-stars { background-image: url("assets/backgrounds/moon-and-stars-guest.svg"); }
.guest-baby-event-main.banner-linen-blue { background-image: url("assets/backgrounds/linen-blue-guest.svg"); }
.guest-baby-event-main.banner-confetti-pastel { background-image: url("assets/backgrounds/confetti-pastel-guest.svg"); }

@media (max-width: 620px) {
  .guest-baby-event-main.banner-storybook-clouds,
  .guest-baby-event-main.banner-garden-party,
  .guest-baby-event-main.banner-little-stars,
  .baby-event-builder-canvas.banner-peach-balloons,
  .guest-baby-event-main.banner-peach-balloons,
  .guest-baby-event-main.banner-woodland-green,
  .guest-baby-event-main.banner-moon-and-stars,
  .guest-baby-event-main.banner-linen-blue,
  .guest-baby-event-main.banner-confetti-pastel {
    background-size: 500px auto;
  }
}

.baby-event-builder-canvas.banner-moon-and-stars,
.baby-event-builder-canvas.banner-moon-and-stars {
  background-color: #e2e8f5;
  background-image: url("assets/backgrounds/moon-and-stars.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: 720px auto;
  background-attachment: fixed;
}

/* The public composition uses a taller, staggered pattern so moons and stars
   vary as guests scroll instead of lining up in repetitive columns. */
.guest-baby-event-main.banner-moon-and-stars {
  background-color: #e2e8f5;
  background-image: url("assets/backgrounds/moon-and-stars-guest.svg");
  background-position: center top;
  background-repeat: repeat;
  background-size: 960px auto;
  background-attachment: scroll;
}

@media (max-width: 620px) {
  .guest-baby-event-main.banner-moon-and-stars {
    background-size: 500px auto;
  }
}

.baby-event-builder-canvas.banner-linen-blue,
.guest-baby-event-main.banner-linen-blue {
  background-color: #dceef5;
  background-image: url("assets/backgrounds/linen-blue.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: 720px auto;
  background-attachment: fixed;
}

.baby-event-builder-canvas.banner-confetti-pastel,
.baby-event-builder-canvas.banner-confetti-pastel {
  background-color: #faf5f2;
  background-image: url("assets/backgrounds/confetti-pastel.svg");
  background-position: center;
  background-repeat: repeat;
  background-size: 720px auto;
  background-attachment: fixed;
}

/* The guest pattern is intentionally tall and irregular so scrolling reveals
   different confetti clusters instead of repeating the same short tile. */
.guest-baby-event-main.banner-confetti-pastel {
  background-color: #faf5f2;
  background-image: url("assets/backgrounds/confetti-pastel-guest.svg");
  background-position: center top;
  background-repeat: repeat;
  background-size: 960px auto;
  background-attachment: scroll;
}

@media (max-width: 620px) {
  .guest-baby-event-main.banner-confetti-pastel {
    background-size: 500px auto;
  }
}

.baby-event-builder-canvas.banner-warm-sunrise,
.guest-baby-event-main.banner-warm-sunrise {
  background-color: #fff0e3;
  background-image: url("assets/backgrounds/warm-sunrise.svg");
  background-position: center bottom;
  background-repeat: repeat-x;
  background-size: 720px auto;
  background-attachment: fixed;
}

.baby-event-live-preview-note {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  gap: 12px;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(79, 142, 180, 0.08);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.baby-event-live-preview-note .lucide-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-strong);
  flex: 0 0 auto;
}

.baby-event-page-header {
  position: relative;
  display: grid;
  gap: 0;
  padding: 26px 28px 20px;
  border: 1px solid rgb(255 255 255 / 0.66);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.32);
  box-shadow: 0 18px 42px rgb(42 73 105 / 0.12), inset 0 1px 0 rgb(255 255 255 / 0.5);
  -webkit-backdrop-filter: blur(18px) saturate(132%);
  backdrop-filter: blur(18px) saturate(132%);
}

.baby-event-page-header.has-registry-hero-image {
  isolation: isolate;
  overflow: hidden;
  background-color: rgb(255 255 255 / 0.32);
  background-repeat: no-repeat;
  background-size: cover;
}

.baby-event-page-header.has-registry-hero-image::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgb(255 255 255 / var(--registry-hero-image-overlay-opacity, 0.46));
}

.baby-event-page-header.has-registry-hero-image > * {
  position: relative;
  z-index: 1;
}

.baby-event-page-header.has-registry-hero-image > .baby-event-save-state {
  position: absolute;
  top: 26px;
  right: 28px;
}

.baby-event-save-state {
  position: absolute;
  top: 26px;
  right: 28px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--green) 42%, white);
  border-radius: 999px;
  color: #47735b;
  background: #f0f7f1;
  font-size: 13px;
  font-weight: 800;
}

.saved-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #5d8f35;
}

.baby-event-heading {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 28px 88px 28px;
}

.baby-event-heading h1 {
  max-width: 820px;
  margin: 0;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: 0;
}

.baby-event-heading h1 [contenteditable="true"],
.baby-event-inline-field,
.baby-event-date-picker > summary span {
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 34%, transparent);
}

.baby-event-heading h1 [contenteditable="true"],
.baby-event-inline-field[contenteditable="true"] {
  display: inline-block;
  min-width: 4ch;
  border-radius: 6px;
  cursor: text;
}

.baby-event-heading h1 [contenteditable="true"]:focus,
.baby-event-inline-field[contenteditable="true"]:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 38%, transparent);
  outline-offset: 5px;
  background: color-mix(in srgb, var(--sky-soft) 20%, transparent);
}

.baby-event-meta-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 12px;
}

.baby-event-inline-field {
  padding: 0 2px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}

.baby-event-editable-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.baby-event-editable-field .lucide-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  opacity: 0;
  color: var(--brand-strong);
  transform: translateX(-3px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.baby-event-editable-field:hover .lucide-icon,
.baby-event-editable-field:focus-within .lucide-icon {
  opacity: 0.72;
  transform: translateX(0);
}

.baby-event-title-field .lucide-icon {
  width: 18px;
  height: 18px;
}

.baby-event-date-picker {
  position: relative;
}

.baby-event-date-picker > input {
  display: none;
}

.baby-event-date-picker > summary {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-height: 32px;
  border: 0;
  border-radius: 0;
  padding: 0 2px 2px;
  list-style: none;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
}

.baby-event-date-picker > summary::-webkit-details-marker {
  display: none;
}

.baby-event-date-picker > summary .lucide-icon {
  display: none;
}

.baby-event-date-picker .nest-calendar {
  left: 50%;
  transform: translateX(-50%);
}

.baby-event-date-picker .nest-calendar button {
  font-size: 13px;
}

.baby-event-meta-edit > button {
  border-top: 0;
  border-right: 0;
  border-left: 0;
  padding: 0 2px 2px;
  color: var(--muted);
  background: transparent;
  font-size: 17px;
  font-weight: 600;
}

.baby-event-meta-edit button:hover {
  color: var(--brand-strong);
}

.baby-event-primary-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.baby-event-primary-actions button {
  min-width: 220px;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.baby-event-primary-actions button:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.baby-event-primary-actions button.is-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--muted) 52%, var(--line));
  color: var(--muted);
  background: color-mix(in srgb, var(--soft) 62%, white);
}

.baby-event-primary-actions button.is-disabled:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

.baby-event-primary-actions button.is-disabled .lucide-icon {
  width: 17px;
  height: 17px;
}

.baby-event-section-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 0;
}

.baby-event-section-nav nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.baby-event-section-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
}

button.baby-event-section-tab {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.baby-event-section-label {
  display: inline-block;
  min-width: 3ch;
  padding: 0 1px 2px;
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 34%, transparent);
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: text;
}

.baby-event-section-label:focus {
  outline: 2px solid color-mix(in srgb, var(--brand) 38%, transparent);
  outline-offset: 3px;
  border-radius: 4px;
}

.baby-event-section-tab.active .baby-event-section-label {
  color: var(--brand);
  border-bottom-color: color-mix(in srgb, var(--brand) 58%, transparent);
}

.baby-event-section-delete {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid color-mix(in srgb, var(--warm) 72%, white);
  border-radius: 999px;
  color: #e35d5d;
  background: white;
  box-shadow: 0 6px 14px rgba(244, 226, 224, 0.46);
  line-height: 0;
  transform: translateY(-3px);
}

.baby-event-section-delete .lucide-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  transform: translate(-50%, -50%);
}

.baby-event-round-action {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(79, 142, 180, 0.18);
}

.baby-event-round-action .lucide-icon {
  width: 16px;
  height: 16px;
}

.baby-event-add-row {
  display: flex;
  justify-content: center;
  min-height: 28px;
  align-items: center;
}

.baby-event-add-content {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(79, 142, 180, 0.2);
  font-size: 14px;
  font-weight: 800;
}

.baby-event-add-content:hover {
  background: var(--brand-strong);
}

.baby-event-empty-content {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 18px 0 8px;
}

.baby-event-section-empty {
  box-sizing: border-box;
  justify-self: center;
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 32px 20px;
  border: 1px dashed color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: 8px;
  color: var(--muted);
  background: rgb(255 255 255 / 0.44);
  text-align: center;
}

.baby-event-content-stack {
  display: grid;
  gap: 18px;
  width: min(100%, 1180px);
}

.baby-text-block,
.baby-image-block,
.baby-photo-carousel-block,
.baby-map-block,
.baby-youtube-block,
.baby-spotify-block,
.baby-faq-block {
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  padding: 14px 16px 28px;
  border: 1px solid color-mix(in srgb, var(--nude) 72%, var(--line));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(79, 142, 180, 0.08);
}

.baby-text-block {
  min-height: 220px;
}

.baby-block-actions {
  position: absolute;
  top: -16px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.baby-text-block:hover .baby-block-actions,
.baby-text-block:focus-within .baby-block-actions,
.baby-image-block:hover .baby-block-actions,
.baby-image-block:focus-within .baby-block-actions,
.baby-photo-carousel-block:hover .baby-block-actions,
.baby-photo-carousel-block:focus-within .baby-block-actions,
.baby-map-block:hover .baby-block-actions,
.baby-map-block:focus-within .baby-block-actions,
.baby-youtube-block:hover .baby-block-actions,
.baby-youtube-block:focus-within .baby-block-actions,
.baby-spotify-block:hover .baby-block-actions,
.baby-spotify-block:focus-within .baby-block-actions,
.baby-faq-block:hover .baby-block-actions,
.baby-faq-block:focus-within .baby-block-actions {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.baby-block-actions button {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, white);
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 58%, white);
  box-shadow: 0 8px 18px rgba(79, 142, 180, 0.12);
}

.baby-block-actions button:hover {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.baby-block-actions .remove {
  color: #a45a6f;
  border-color: color-mix(in srgb, var(--accent) 28%, white);
  background: color-mix(in srgb, var(--nude) 70%, white);
}

.baby-block-actions .remove:hover {
  color: white;
  border-color: #c64c68;
  background: #c64c68;
}

.baby-block-actions .lucide-icon {
  width: 15px;
  height: 15px;
}

.baby-block-drag {
  cursor: grab;
}

.baby-block-drag:active {
  cursor: grabbing;
}

.baby-text-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 76%, white);
  overflow: visible;
}

.baby-toolbar-group {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 2px;
  min-height: 34px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.baby-text-toolbar button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 650;
}

.baby-text-toolbar button:hover,
.baby-text-toolbar button.active {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--green) 20%, white);
}

.baby-text-toolbar .lucide-icon {
  width: 16px;
  height: 16px;
}

.baby-toolbar-dropdown {
  position: relative;
  flex: 0 0 auto;
  min-width: 118px;
}

.baby-toolbar-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 600;
}

.baby-toolbar-dropdown summary::-webkit-details-marker {
  display: none;
}

.baby-toolbar-dropdown summary .lucide-icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
  transition: transform 160ms ease;
}

.baby-toolbar-dropdown[open] summary {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line));
  box-shadow: 0 0 0 3px rgba(79, 142, 180, 0.1);
}

.baby-toolbar-dropdown[open] summary .lucide-icon {
  transform: rotate(180deg);
}

.baby-toolbar-dropdown-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  display: grid;
  min-width: 100%;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(47, 49, 55, 0.14);
}

.baby-toolbar-dropdown-menu button {
  justify-content: start;
  width: 100%;
  min-width: 0;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.baby-toolbar-dropdown-menu button:hover,
.baby-toolbar-dropdown-menu button.selected {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 34%, white);
}

.baby-toolbar-clear {
  border: 1px solid var(--line) !important;
  background: white !important;
}

.baby-text-save-state {
  justify-self: end;
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 800;
}

.baby-text-editor {
  min-height: 96px;
  padding: 0 8px;
  color: var(--ink);
  line-height: 1.55;
  outline: 0;
}

.baby-text-editor:empty::before {
  content: attr(data-placeholder);
  color: color-mix(in srgb, var(--green) 38%, var(--muted));
}

.baby-text-editor a {
  color: var(--brand);
  text-decoration: underline;
}

.baby-image-block {
  padding: 16px;
}

.baby-image-head strong {
  color: var(--ink);
  font-size: 17px;
}

.guest-baby-event-page .baby-image-block.baby-image-public {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.guest-baby-event-page .baby-image-block.baby-image-public img {
  display: block;
  width: 100%;
  max-height: none;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(79, 142, 180, 0.1);
}

.baby-image-upload-surface {
  position: relative;
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(100%, 760px);
  min-height: 220px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px dashed color-mix(in srgb, var(--brand) 34%, var(--line));
  border-radius: 8px;
  color: var(--brand-strong);
  background: linear-gradient(135deg, color-mix(in srgb, var(--sky-soft) 52%, white), color-mix(in srgb, var(--lavender) 46%, white));
  cursor: pointer;
}

.baby-image-upload-surface:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--sky-soft) 42%, white);
}

.baby-image-upload-surface input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.baby-image-upload-surface img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.baby-image-empty-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 360px;
  text-align: left;
}

.baby-image-empty-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: var(--brand);
  background: white;
  box-shadow: 0 10px 24px rgba(79, 142, 180, 0.12);
}

.baby-image-empty-icon .lucide-icon {
  width: 24px;
  height: 24px;
}

.baby-image-upload-surface strong {
  display: block;
  font-size: 18px;
}

.baby-image-upload-surface small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 600;
}

.baby-image-change {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(47, 49, 55, 0.12);
}

.baby-image-change .lucide-icon {
  width: 16px;
  height: 16px;
}

.baby-media-title-field {
  display: grid;
  gap: 7px;
}

.baby-media-title-field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.baby-media-title-field input {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: color-mix(in srgb, var(--soft) 54%, white);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: 0;
}

.baby-media-title-field input:focus {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky-soft) 64%, transparent);
}

.baby-media-title-field-inline {
  width: min(652px, calc(100% - 108px));
  position: absolute;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}

.baby-image-title-field {
  width: min(100%, 760px);
  margin: -8px auto 0;
}

.baby-media-public-title {
  width: min(100%, 860px);
  margin: 0 auto 2px;
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.baby-photo-carousel-block {
  padding: 16px;
}

.baby-photo-carousel-head {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.baby-photo-carousel-head > div {
  display: grid;
  gap: 3px;
}

.baby-photo-carousel-head strong {
  color: var(--ink);
  font-size: 17px;
}

.baby-photo-carousel-head span {
  color: var(--muted);
  font-size: 13px;
}

.baby-photo-add-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  color: white;
  background: var(--brand);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(79, 142, 180, 0.16);
}

.baby-photo-add-button input,
.baby-photo-empty input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.baby-photo-add-button .lucide-icon {
  width: 16px;
  height: 16px;
}

.baby-photo-empty {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 190px;
  border: 1px dashed color-mix(in srgb, var(--brand) 34%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--sky-soft) 34%, white);
  cursor: pointer;
}

.baby-photo-empty strong,
.baby-photo-empty small {
  display: block;
}

.baby-photo-empty strong {
  color: var(--brand-strong);
  font-size: 17px;
}

.baby-photo-empty small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.baby-photo-carousel-preview {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  width: min(100%, 760px);
  margin: 0 auto;
}

.baby-photo-carousel-preview img {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 8px;
  object-fit: contain;
  background: var(--soft);
}

.baby-photo-carousel-preview button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  border-radius: 999px;
  color: var(--brand-strong);
  background: white;
}

.baby-photo-carousel-preview button:hover {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.baby-photo-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 9px 0 4px;
}

.baby-photo-strip button {
  position: relative;
  flex: 0 0 auto;
  width: 86px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
}

.baby-photo-strip button.active {
  border-color: var(--brand);
}

.baby-photo-strip-add {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  flex: 0 0 auto;
  width: 86px;
  height: 64px;
  border: 1px dashed color-mix(in srgb, var(--brand) 44%, var(--line));
  border-radius: 8px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 46%, white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.baby-photo-strip-add .lucide-icon {
  width: 16px;
  height: 16px;
}

.baby-photo-strip-add input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.baby-photo-strip-add:hover {
  border-color: var(--brand);
  background: var(--sky-soft);
}

.baby-photo-strip img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
  background: var(--soft);
}

.baby-photo-strip span {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #a45a6f;
  background: white;
  box-shadow: 0 6px 14px rgba(47, 49, 55, 0.12);
}

.baby-photo-strip span:hover {
  color: white;
  background: #c64c68;
}

.baby-map-block {
  padding: 16px;
}

.guest-baby-event-page .baby-map-block.baby-map-public {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.baby-map-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.baby-map-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 58%, white);
}

.baby-map-head strong,
.baby-map-head small {
  display: block;
}

.baby-map-head strong {
  color: var(--ink);
  font-size: 17px;
}

.baby-map-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.baby-map-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.baby-map-fields label,
.baby-map-note {
  display: grid;
  gap: 7px;
}

.baby-map-fields span,
.baby-map-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.baby-map-fields input,
.baby-map-note textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: color-mix(in srgb, var(--soft) 54%, white);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: 0;
}

.baby-map-fields input {
  height: 42px;
  padding: 0 12px;
}

.baby-map-fields input:focus,
.baby-map-note textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky-soft) 64%, transparent);
}

.baby-link-input {
  position: relative;
  display: block;
}

.baby-link-input .lucide-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--brand-strong);
  transform: translateY(-50%);
  pointer-events: none;
}

.baby-link-input input {
  padding-left: 40px !important;
}

.baby-map-preview {
  overflow: hidden;
  width: min(100%, 860px);
  margin: 0 auto;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 18px 44px rgba(79, 142, 180, 0.1);
}

.baby-map-preview iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.baby-map-external {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 116px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--sky-soft) 30%, white);
  color: var(--brand-strong);
  font-weight: 800;
  text-align: center;
}

.baby-map-external:hover {
  background: color-mix(in srgb, var(--sky-soft) 52%, white);
}

.baby-map-external .lucide-icon {
  width: 19px;
  height: 19px;
}

.baby-map-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  border: 1px dashed color-mix(in srgb, var(--brand) 34%, var(--line));
  border-radius: 8px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 34%, white);
  text-align: center;
}

.baby-map-empty .lucide-icon {
  width: 28px;
  height: 28px;
}

.baby-map-note textarea {
  min-height: 86px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.45;
}

.baby-map-note-toggle,
.baby-youtube-note-toggle,
.baby-spotify-note-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: color-mix(in srgb, var(--soft) 54%, white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.baby-map-note-toggle input,
.baby-youtube-note-toggle input,
.baby-spotify-note-toggle input {
  order: -1;
  appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 22px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
}

.baby-map-note-toggle input::after,
.baby-youtube-note-toggle input::after,
.baby-spotify-note-toggle input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(47, 49, 55, 0.18);
  transition: transform 160ms ease;
}

.baby-map-note-toggle input:checked,
.baby-youtube-note-toggle input:checked,
.baby-spotify-note-toggle input:checked {
  background: var(--brand);
}

.baby-map-note-toggle input:checked::after,
.baby-youtube-note-toggle input:checked::after,
.baby-spotify-note-toggle input:checked::after {
  transform: translateX(16px);
}

.baby-youtube-block {
  padding: 16px;
}

.guest-baby-event-page .baby-youtube-block.baby-youtube-public {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public,
.guest-baby-event-page .baby-spotify-block.baby-spotify-public {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.baby-youtube-head {
  display: flex;
  align-items: center;
}

.baby-youtube-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 58%, white);
}

.baby-youtube-head strong,
.baby-youtube-head small {
  display: block;
}

.baby-youtube-head strong {
  color: var(--ink);
  font-size: 17px;
}

.baby-youtube-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.baby-youtube-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.baby-youtube-fields label,
.baby-youtube-note {
  display: grid;
  gap: 7px;
}

.baby-youtube-fields span,
.baby-youtube-note span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.baby-youtube-fields input,
.baby-youtube-note textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: color-mix(in srgb, var(--soft) 54%, white);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: 0;
}

.baby-youtube-fields input {
  height: 42px;
  padding: 0 12px;
}

.baby-youtube-fields input:focus,
.baby-youtube-note textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky-soft) 64%, transparent);
}

.baby-youtube-search {
  display: grid;
  gap: 8px;
}

.baby-youtube-search > label {
  display: grid;
  gap: 7px;
}

.baby-youtube-search > label > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.baby-youtube-search-control {
  display: flex;
  gap: 8px;
}

.baby-youtube-search-control input {
  min-width: 0;
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
  outline: 0;
}

.baby-youtube-search-control input:focus {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky-soft) 64%, transparent);
}

.baby-youtube-search-control .btn {
  min-width: 88px;
}

.baby-youtube-search-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.baby-youtube-search-message.error {
  color: #a54444;
}

.baby-youtube-search-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.baby-youtube-search-result {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.baby-youtube-search-result:hover {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  background: color-mix(in srgb, var(--sky-soft) 20%, white);
}

.baby-youtube-search-result img,
.baby-youtube-search-placeholder {
  display: grid;
  place-items: center;
  width: 76px;
  height: 43px;
  border-radius: 5px;
  object-fit: cover;
  color: var(--brand-strong);
  background: var(--lavender);
}

.baby-youtube-search-result strong,
.baby-youtube-search-result small {
  display: block;
}

.baby-youtube-search-result strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 1.25;
}

.baby-youtube-search-result small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.baby-youtube-preview {
  overflow: hidden;
  width: min(100%, 760px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 18px 44px rgba(79, 142, 180, 0.1);
}

.baby-youtube-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.baby-youtube-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  border: 1px dashed color-mix(in srgb, var(--brand) 34%, var(--line));
  border-radius: 8px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 34%, white);
  text-align: center;
}

.baby-youtube-empty .lucide-icon {
  width: 30px;
  height: 30px;
}

.baby-youtube-note textarea {
  min-height: 82px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.45;
}

.baby-spotify-block,
.baby-faq-block {
  padding: 16px;
}

.baby-spotify-head,
.baby-faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.baby-spotify-head > span,
.baby-faq-head > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 58%, white);
}

.baby-spotify-head > div,
.baby-faq-head > div {
  min-width: 0;
  flex: 1;
}

.baby-spotify-head strong,
.baby-spotify-head small,
.baby-faq-head strong,
.baby-faq-head small {
  display: block;
}

.baby-spotify-head strong,
.baby-faq-head strong {
  color: var(--ink);
  font-size: 17px;
}

.baby-spotify-head small,
.baby-faq-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.baby-faq-head button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid color-mix(in srgb, var(--brand) 24%, var(--line));
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 44%, white);
  font-size: 13px;
  font-weight: 700;
}

.baby-faq-head button:hover {
  color: white;
  border-color: var(--brand);
  background: var(--brand);
}

.baby-spotify-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.baby-spotify-fields label,
.baby-spotify-note,
.baby-faq-title-field {
  display: grid;
  gap: 7px;
}

.baby-spotify-fields span,
.baby-spotify-note span,
.baby-faq-title-field span,
.baby-faq-item-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.baby-spotify-fields input,
.baby-spotify-note textarea,
.baby-faq-title-field input,
.baby-faq-item input,
.baby-faq-item textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: color-mix(in srgb, var(--soft) 54%, white);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  outline: 0;
}

.baby-spotify-fields input,
.baby-faq-title-field input,
.baby-faq-item input {
  height: 42px;
  padding: 0 12px;
}

.baby-spotify-fields input:focus,
.baby-spotify-note textarea:focus,
.baby-faq-title-field input:focus,
.baby-faq-item input:focus,
.baby-faq-item textarea:focus {
  border-color: color-mix(in srgb, var(--brand) 56%, var(--line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky-soft) 64%, transparent);
}

@media (max-width: 720px) {
  .baby-map-fields,
  .baby-youtube-fields,
  .baby-spotify-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .baby-photo-carousel-head {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .baby-media-title-field-inline {
    position: static;
    width: 100%;
    margin-left: 0;
    transform: none;
  }
}

.baby-spotify-preview {
  overflow: hidden;
  width: min(100%, 760px);
  margin: 0 auto;
  border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line));
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 18px 44px rgba(79, 142, 180, 0.1);
}

.baby-spotify-preview iframe {
  display: block;
  width: 100%;
  height: 352px;
  border: 0;
}

.baby-spotify-empty {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 160px;
  border: 1px dashed color-mix(in srgb, var(--brand) 34%, var(--line));
  border-radius: 8px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 34%, white);
  text-align: center;
}

.baby-spotify-empty .lucide-icon {
  width: 30px;
  height: 30px;
}

.baby-spotify-note textarea {
  min-height: 78px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.45;
}

.baby-faq-items {
  display: grid;
  gap: 12px;
}

.baby-faq-item {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--brand) 12%, var(--line));
  border-radius: 8px;
  background: color-mix(in srgb, var(--soft) 46%, white);
}

.baby-faq-public .baby-faq-head {
  margin-bottom: 2px;
}

.baby-faq-public .baby-faq-head strong {
  font-size: 20px;
  letter-spacing: 0.01em;
}

.baby-faq-public .baby-faq-items {
  gap: 8px;
}

.baby-faq-public .baby-faq-item {
  gap: 0;
  padding: 0;
  background: white;
}

.baby-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.baby-faq-question:hover {
  background: color-mix(in srgb, var(--sky-soft) 40%, white);
}

.baby-faq-question .lucide-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--brand-strong);
  transition: transform 160ms ease;
}

.baby-faq-item.is-expanded .baby-faq-question .lucide-icon {
  transform: rotate(180deg);
}

.baby-faq-answer {
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.55;
}

.baby-faq-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.baby-faq-item-head button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, white);
  border-radius: 999px;
  color: #a45a6f;
  background: white;
}

.baby-faq-item-head button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.baby-faq-item-head button:not(:disabled):hover {
  color: white;
  background: #c64c68;
}

.baby-faq-item textarea {
  min-height: 92px;
  resize: vertical;
  padding: 11px 12px;
  line-height: 1.45;
}

.baby-content-drawer {
  width: min(460px, 100vw);
  max-width: none;
  padding: 24px 22px;
}

.baby-content-drawer .drawer-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.baby-content-drawer .drawer-head {
  position: relative;
  display: block;
  min-height: 58px;
  padding-bottom: 18px;
  padding-right: 52px;
  border-bottom: 0;
}

.baby-content-drawer .drawer-head h2 {
  font-size: 22px;
}

.baby-content-drawer .drawer-head .icon-btn {
  position: absolute;
  top: 0;
  right: 0;
}

.baby-guest-management-drawer {
  width: min(1040px, calc(100vw - 32px));
  padding: 24px;
}

.baby-guest-management-drawer .drawer-head {
  padding-bottom: 14px;
}

.baby-guest-management-drawer .drawer-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.baby-guest-management-content {
  display: grid;
  gap: 16px;
}

.baby-guest-management-content .baby-shower-overview {
  margin-bottom: 0;
}

.baby-guest-management-content .baby-panel {
  box-shadow: none;
}

.baby-content-module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 2px 0 0;
}

.baby-content-module {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 4px 12px;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.baby-content-module:hover {
  border-color: color-mix(in srgb, var(--brand) 36%, var(--line));
  background: color-mix(in srgb, var(--sky-soft) 22%, white);
}

.baby-content-module > span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--brand-strong);
  background: var(--lavender);
}

.baby-content-module strong {
  align-self: end;
  font-size: 15px;
}

.baby-content-module small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.baby-shower-tabs {
  display: flex;
  gap: 24px;
  margin: 10px 0 22px;
  border-bottom: 1px solid var(--line);
}

.baby-shower-tabs button {
  border: 0;
  padding: 0 0 10px;
  color: var(--muted);
  background: transparent;
  font-size: 22px;
  font-weight: 700;
}

.baby-shower-tabs button.active {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--brand);
}

.baby-event-card,
.baby-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 30px rgba(79, 142, 180, 0.08);
}

.baby-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.baby-event-card h2,
.baby-panel h2 {
  margin: 0 0 6px;
}

.baby-event-card p,
.baby-panel-head p {
  margin: 0;
  color: var(--muted);
}

.baby-shower-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  justify-content: stretch;
  gap: 14px;
  margin-bottom: 14px;
}

.baby-summary-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff 0%, var(--soft) 100%);
  box-shadow: var(--shadow);
}

.gift-card.editable-card {
  cursor: pointer;
}

.registry-product-grid .gift-card {
  display: flex;
  flex-direction: column;
  min-height: 318px;
  padding: 10px;
  gap: 7px;
  box-shadow: 0 12px 28px rgba(70, 95, 115, 0.07);
}

.registry-product-grid .guest-gift-card {
  cursor: pointer;
}

.registry-product-grid .guest-gift-card.expanded {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  min-height: 250px;
  padding: 20px;
  gap: 20px;
  border-color: color-mix(in srgb, var(--brand) 36%, var(--line));
  box-shadow: 0 18px 38px rgba(79, 142, 180, 0.14);
}

.registry-product-grid .guest-gift-card.expanded .gift-media {
  height: 100%;
  min-height: 210px;
  aspect-ratio: auto;
}

.registry-product-grid .guest-gift-card.expanded .gift-info {
  align-content: start;
  gap: 10px;
}

.registry-product-grid .guest-gift-card.expanded .gift-info h3 {
  min-height: 0;
  font-size: 22px;
  line-height: 1.25;
  display: block;
}

.registry-product-grid .guest-gift-card.expanded .gift-note {
  min-height: 0;
  font-size: 14px;
  line-height: 1.5;
  display: block;
}

.registry-product-grid .guest-gift-card.expanded .gift-actions {
  grid-column: 2;
  align-self: end;
  align-items: stretch;
}

.registry-product-grid .guest-gift-card.expanded .buy-box {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registry-product-grid .guest-gift-card.expanded .buy-box .btn {
  min-height: 42px;
}

.registry-product-grid .gift-media {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 0.62;
}

.registry-product-grid .gift-info {
  display: grid;
  gap: 6px;
}

.registry-product-grid .gift-info h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.28;
  min-height: 38px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.registry-product-grid .price-line {
  font-size: 13px;
}

.registry-product-grid .gift-note {
  min-height: 32px;
  max-width: none;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.registry-product-grid .tag-row {
  gap: 6px;
  margin-top: 0;
}

.registry-product-grid .chip {
  min-height: 22px;
  padding: 0 7px;
  font-size: 11.5px;
}

.registry-product-grid .purchased-card {
  overflow: hidden;
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
  background: #f7fafb;
  box-shadow: none;
}

.registry-product-grid .purchased-card .gift-media {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 58%, white);
  opacity: 0.82;
}

.registry-product-grid .purchased-card .gift-info,
.registry-product-grid .purchased-card .gift-actions {
  opacity: 0.48;
  filter: grayscale(0.65);
}

.purchased-card-banner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 9px;
  color: var(--on-brand);
  background: var(--brand-strong);
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(47, 111, 149, 0.2);
}

.purchased-card-banner .lucide-icon {
  width: 15px;
  height: 15px;
  stroke-width: 3;
}

.purchased-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 3px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(47, 111, 149, 0.18);
}

.purchased-mark .lucide-icon {
  width: 34px;
  height: 34px;
  stroke-width: 3;
}

.registry-product-grid .gift-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: auto;
}

.tracker-product-grid .tracker-gift-card {
  min-height: 0;
}

.tracker-product-grid .tracker-gift-card .gift-info {
  min-height: 0;
}

.registry-product-grid .quick-icons {
  position: absolute;
  top: 10px;
  right: 10px;
}

.registry-product-grid .buy-box {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  min-width: 0;
  margin-top: auto;
}

.registry-product-grid .buy-box .btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
}

.baby-summary-card h2 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.2;
}

.baby-summary-body {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.donut-chart {
  width: 100px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background: conic-gradient(var(--segments));
}

.donut-chart::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: inherit;
  background: #fff;
}

.donut-chart-center {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 2px;
  text-align: center;
}

.donut-chart strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.donut-chart small {
  max-width: 62px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.summary-legend {
  display: grid;
}

.summary-legend-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}

.summary-legend-row:last-child {
  border-bottom: 0;
}

.summary-legend-row span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 400;
}

.summary-legend-row i {
  display: block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(79, 142, 180, 0.08);
}

.summary-legend-row strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.baby-panel {
  display: grid;
  gap: 12px;
}

.baby-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.baby-guest-controls {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(160px, 220px) minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: stretch;
}

.baby-guest-controls .btn:first-of-type {
  grid-column: 4;
}

.baby-guest-controls .btn:last-of-type {
  grid-column: 5;
}

.baby-guest-controls input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 400;
  box-shadow: 0 10px 24px rgba(79, 142, 180, 0.06);
}

.baby-guest-filter-picker {
  position: relative;
  min-width: 0;
}

.baby-guest-filter-picker summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 24px rgba(79, 142, 180, 0.06);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.baby-guest-filter-picker summary::-webkit-details-marker {
  display: none;
}

.baby-guest-filter-picker summary .lucide-icon {
  width: 16px;
  height: 16px;
  color: var(--brand-strong);
  transition: transform 160ms ease;
}

.baby-guest-filter-picker[open] summary {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 142, 180, 0.12), 0 10px 24px rgba(79, 142, 180, 0.08);
}

.baby-guest-filter-picker:focus-within summary {
  outline: 2px solid rgba(79, 142, 180, 0.16);
  outline-offset: 1px;
}

.baby-guest-filter-picker[open] summary .lucide-icon {
  transform: rotate(180deg);
}

.baby-guest-filter-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--brand));
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(47, 49, 55, 0.14);
}

.baby-guest-filter-menu button {
  width: 100%;
  min-height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.baby-guest-filter-menu button:hover,
.baby-guest-filter-menu button.selected {
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--sky-soft) 46%, white);
}

.baby-guest-controls .btn {
  min-height: 42px;
  padding-inline: 14px;
  white-space: nowrap;
}

.baby-guest-controls input::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.baby-guest-controls input:focus,
.baby-guest-controls select:focus {
  outline: 2px solid rgba(79, 142, 180, 0.16);
  border-color: var(--brand);
}

.baby-guest-row input,
.baby-guest-row select,
.table-guest select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: white;
  font-size: 12px;
  font-weight: 400;
}

.baby-tag-dropdown {
  position: relative;
}

.baby-tag-trigger {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
}

.baby-tag-trigger .lucide-icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.baby-tag-dropdown.open .baby-tag-trigger {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 142, 180, 0.12);
}

.baby-tag-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.baby-tag-menu button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
}

.baby-tag-menu button:last-child {
  border-bottom: 0;
}

.baby-tag-menu button:hover,
.baby-tag-menu button.active {
  background: color-mix(in srgb, var(--soft) 70%, white);
}

.baby-tag-menu i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--tag-color);
}

.baby-tag-menu .baby-tag-add {
  color: var(--brand-strong);
  font-weight: 600;
  background: color-mix(in srgb, var(--sky-soft) 55%, white);
}

.baby-guest-table {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.baby-guest-header,
.baby-guest-row {
  display: grid;
  grid-template-columns: 1.1fr 1.35fr 0.82fr 0.88fr 0.9fr;
  gap: 9px;
  align-items: center;
  min-width: 700px;
}

.baby-guest-header {
  padding: 9px 11px;
  color: var(--brand-strong);
  background: var(--soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.baby-guest-row {
  padding: 9px 11px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  font-size: 13px;
}

.baby-guest-row:hover {
  background: color-mix(in srgb, var(--sky-soft) 18%, white);
}

.baby-guest-row small {
  display: block;
  color: var(--muted);
}

.baby-guest-row div:nth-child(2) span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.baby-guest-empty {
  min-width: 840px;
  padding: 22px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.mini-pill {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--brand-strong);
  background: white;
  font-size: 12px;
  font-weight: 400;
}

.invite-actions {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.invite-pill {
  display: inline-grid;
  place-items: center;
  min-width: 104px;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  color: var(--brand-strong);
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.invite-pill:hover {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--sky-soft) 28%, white);
}

.invite-pill.sent {
  min-height: 38px;
  color: #48745f;
  background: #e4f1eb;
}

.invite-pill.sent span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.invite-pill.sent .lucide-icon {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

.invite-pill.sent small {
  color: #48745f;
  font-size: 11px;
  font-weight: 600;
}

.invite-sent-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: auto;
  min-height: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 8px;
  color: var(--ink);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.invite-sent-check:hover {
  border-color: var(--brand);
  background: var(--soft);
}

.invite-sent-check input {
  width: 12px;
  height: 12px;
  accent-color: var(--brand);
}

.baby-guest-row .invite-sent-check input {
  width: 12px;
  height: 12px;
  min-height: 12px;
  border-radius: 3px;
  padding: 0;
}

.guest-question-placeholder {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 400;
}

.question-type-note {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
}

.existing-question-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.existing-question-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.existing-question-row strong,
.existing-question-row span {
  display: block;
}

.existing-question-row strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.existing-question-row span,
.existing-question-row small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.existing-question-row small {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--soft);
  white-space: nowrap;
}

.existing-question-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mini-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand);
  background: #fff;
  cursor: pointer;
}

.mini-icon-btn:hover {
  border-color: var(--brand);
  background: var(--soft);
}

.mini-icon-btn.danger {
  color: #b8757b;
}

.mini-icon-btn svg {
  width: 14px;
  height: 14px;
}

.baby-status-dropdown {
  position: relative;
}

.baby-status-trigger {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.baby-status-trigger .lucide-icon {
  width: 14px;
  height: 14px;
  color: currentColor;
}

.baby-status-dropdown.open .baby-status-trigger {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 142, 180, 0.12);
}

.baby-status-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 32;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.baby-status-menu button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
}

.baby-status-menu button:last-child {
  border-bottom: 0;
}

.baby-status-menu button:hover,
.baby-status-menu button.active {
  background: color-mix(in srgb, var(--sky-soft) 36%, white);
}

.mini-pill.done,
.status-select.accepted {
  color: #48745f;
  background: #e4f1eb;
}

.status-select.declined {
  color: #9d4e56;
  background: #f7e7e5;
}

.status-select.pending {
  color: var(--brand-strong);
  background: var(--soft);
}

.small-input {
  width: 64px;
}

.table-stepper {
  display: grid;
  grid-template-columns: 48px 56px 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-stepper button {
  border: 0;
  background: white;
  font-size: 22px;
}

.table-stepper strong {
  display: grid;
  place-items: center;
  border-inline: 1px solid var(--line);
  font-size: 20px;
}

.table-summary,
.invitation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.table-summary article,
.invitation-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.table-summary strong {
  display: block;
  color: var(--brand);
  font-size: 30px;
}

.table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.table-card {
  min-height: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.table-card-head,
.table-guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.table-card-head {
  margin-bottom: 14px;
}

.table-card-head h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.table-guest {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.empty {
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  background: #fff;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  padding: 13px 16px;
  border-radius: 8px;
  color: white;
  background: var(--brand-strong);
  box-shadow: var(--shadow);
  font-weight: 700;
}

.network-status-stack {
  position: sticky;
  top: 72px;
  z-index: 55;
  display: grid;
  gap: 8px;
  padding: 10px 28px 0;
  background: transparent;
}

.network-status {
  width: min(980px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(79, 142, 180, 0.1);
}

.network-status.loading .lucide-icon {
  color: var(--brand);
  animation: spin 1s linear infinite;
}

.network-status.error {
  border-color: color-mix(in srgb, #b65d66 36%, var(--line));
  color: #8f3942;
  background: color-mix(in srgb, #f3c6ca 28%, white);
}

.network-status button {
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
}

.registry-loading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-box,
.skeleton-lines span {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--soft), #fff, var(--soft));
  background-size: 220% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
}

.skeleton-box.media {
  width: 100%;
  aspect-ratio: 1.5;
}

.skeleton-lines {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.skeleton-lines span {
  height: 13px;
}

.skeleton-lines span:nth-child(2) {
  width: 74%;
}

.skeleton-lines span:nth-child(3) {
  width: 48%;
}

.item-inline-error,
.form-inline-error {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, #b65d66 34%, var(--line));
  border-radius: 8px;
  color: #8f3942;
  background: color-mix(in srgb, #f3c6ca 25%, white);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.registry-empty-state .btn {
  margin-top: 12px;
}

@keyframes shimmer {
  from { background-position: 110% 0; }
  to { background-position: -110% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.mobile-menu {
  display: none;
}

@media (max-width: 1020px) {
  .topbar {
    gap: 14px;
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .layout {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .layout.with-utility-panel,
  .add-registry-shell.with-utility-panel {
    grid-template-columns: 1fr;
  }

  .sidebar-utility-panel {
    position: static;
    margin: 0 0 18px;
    box-shadow: var(--shadow);
  }

  .sidebar {
    border-right: 0;
    padding-right: 0;
  }

  .sidebar::after {
    display: none;
  }

  .registry-card {
    position: static;
    margin-top: -24px;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 18px;
    border-radius: 8px;
    background: white;
    box-shadow: var(--shadow);
  }

  .photo-button {
    width: 120px;
    height: auto;
    margin: 0;
    transform: none;
  }

  .side-panel {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
  }

  .main {
    padding-left: 0;
  }

  .gift-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .gift-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }

  .buy-box {
    width: auto;
    min-width: 220px;
  }

  .add-grid {
    grid-template-columns: 1fr;
  }

  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    padding: 22px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
  }

  .workspace-nav button {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 6px;
    min-height: 62px;
    padding: 8px 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    font-size: 12px;
  }

  .workspace-main {
    padding: 26px 18px 44px;
  }

  .home-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-subcategory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tracker-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-grid,
  .brand-grid,
  .pick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .checklist-head {
    gap: 14px;
  }

  .check-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .check-item-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .guide-tabs {
    gap: 24px;
    max-width: 58vw;
    padding-left: 0;
    padding-right: 0;
  }

  .guide-hero,
  .article-header,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .guide-feature-grid,
  .guide-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-row-card.lead {
    grid-row: auto;
  }

  .toc {
    position: static;
  }

  .article-product {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .article-product-card-strip {
    grid-auto-columns: minmax(180px, 42%);
  }

  .article-recommended-grid {
    grid-template-columns: 1fr;
  }

  .source-checklist-board {
    max-width: none;
  }

  .source-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-product-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-page {
    padding-top: 30px;
  }
}

@media (max-width: 720px) {
  .app-shell {
    overflow-x: hidden;
  }

  .topbar {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand {
    font-size: 22px;
  }

  .top-actions {
    gap: 8px;
    margin-left: auto;
  }

  .search {
    order: 3;
    flex-basis: 100%;
    min-width: 0;
  }

  .account-pill span:not(.avatar-dot) {
    display: none;
  }

  .account-pill-compact {
    min-width: 44px;
    justify-content: center;
    padding: 4px 5px;
  }

  .language-trigger {
    min-width: 72px;
    justify-content: center;
  }

  .banner {
    padding: 28px 16px 18px;
  }

  .banner-actions {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .layout,
  .add-registry-shell,
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .add-registry-shell {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .add-sidebar {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .add-main {
    padding: 22px 0 36px;
  }

  .registry-card {
    grid-template-columns: 1fr;
  }

  .photo-button {
    width: 106px;
    height: auto;
  }

  .side-panel,
  .stats-row,
  .finance-summary-grid,
  .add-choice-grid,
  .template-grid,
  .two-col,
  .share-options {
    grid-template-columns: 1fr;
  }

  .baby-shower-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .baby-event-builder-canvas {
    padding: 18px 12px 24px;
  }

  .baby-event-live-preview-note {
    min-height: 50px;
    padding: 10px 14px;
    font-size: 15px;
  }

  .add-gift-main,
  .registry-workspace-main,
  .checklist-workspace-main,
  .tracker-workspace-main,
  .guest-management-workspace-main {
    padding: 18px 12px 24px;
  }

  .add-gift-surface,
  .registry-workspace-surface,
  .checklist-workspace-surface,
  .tracker-workspace-surface,
  .guest-management-workspace-surface {
    padding: 18px 14px 28px;
  }

  .registry-workspace-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .registry-workspace-head .btn {
    width: 100%;
  }

  .registry-workspace-head h1 {
    font-size: 30px;
  }

  .baby-event-page-header {
    padding: 18px 14px;
  }

  .baby-event-page-header.has-registry-hero-image > .baby-event-save-state {
    position: absolute;
    top: 18px;
    right: 14px;
    margin: 0;
  }

  .baby-event-heading {
    padding: 0 0 20px;
  }

  .baby-event-heading h1 {
    font-size: 32px;
  }

  .baby-event-meta-edit,
  .baby-event-primary-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .baby-event-primary-actions button {
    width: 100%;
    min-width: 0;
  }

  /* Keep the two guest-facing header actions compact and equally sized on phones. */
  .guest-baby-event-page .baby-event-primary-actions {
    align-items: center;
  }

  .guest-baby-event-page .baby-event-primary-actions button {
    width: min(190px, 100%);
    min-width: 0;
    min-height: 40px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public .baby-photo-carousel-preview button {
    width: 32px;
    height: 32px;
    border-color: color-mix(in srgb, var(--brand) 18%, var(--line));
    box-shadow: none;
    opacity: 0.88;
  }

  .guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public .baby-photo-carousel-preview button:first-child {
    left: 10px;
  }

  .guest-baby-event-page .baby-photo-carousel-block.baby-photo-carousel-public .baby-photo-carousel-preview button:last-child {
    right: 10px;
  }

  .baby-event-section-nav {
    grid-template-columns: 42px 1fr 42px;
    gap: 10px;
  }

  .baby-event-section-nav nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .baby-event-block-row {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .baby-event-block-row button {
    grid-column: 2;
    justify-self: start;
  }

  .baby-content-module-grid {
    grid-template-columns: 1fr;
  }

  .toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbar-actions {
    width: 100%;
  }

  .toolbar-actions .btn {
    flex: 1;
  }

  .gift-card {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .registry-product-grid {
    grid-template-columns: 1fr;
  }

  .registry-product-grid .guest-gift-card.expanded {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 14px;
  }

  .registry-product-grid .guest-gift-card.expanded .gift-media {
    min-height: 180px;
  }

  .registry-product-grid .guest-gift-card.expanded .gift-actions {
    grid-column: auto;
  }

  .registry-product-grid .guest-gift-card.expanded .buy-box {
    grid-template-columns: 1fr;
  }

  .guest-purchase-modal-head {
    padding: 20px 18px 16px;
  }

  .guest-purchase-modal-head h2 {
    font-size: 20px;
  }

  .guest-purchase-modal-body {
    padding: 6px 18px 18px;
  }

  .guest-purchase-modal-actions {
    flex-direction: column-reverse;
  }

  .guest-purchase-modal-actions .btn {
    width: 100%;
  }

  .guest-rsvp-add-questions {
    width: 100%;
    justify-self: stretch;
  }

  .gift-choice-add {
    width: 100%;
  }

  .gift-choice-actions {
    justify-content: stretch;
  }

  .gift-media {
    height: 180px;
  }

  .gift-actions {
    display: grid;
    gap: 12px;
  }

  .quick-icons,
  .buy-box {
    width: 100%;
  }

  .page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-card-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .account-card-tile {
    grid-template-columns: 1fr;
    align-items: flex-start;
    min-height: auto;
    padding: 18px 16px;
  }

  .account-card-icon {
    display: none;
  }

  .account-card-tile strong {
    font-size: 18px;
  }

  .account-card-tile small {
    max-width: none;
  }

  .account-page-title h1 {
    font-size: 28px;
  }

  .account-tabs {
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .account-tabs button {
    flex: 0 0 auto;
  }

  .workspace-sidebar {
    padding: 18px 14px;
  }

  .workspace-nav {
    grid-template-columns: 1fr;
  }

  .workspace-nav button {
    grid-template-columns: 30px minmax(0, 1fr);
    justify-items: start;
    min-height: 46px;
    text-align: left;
  }

  .workspace-main {
    padding: 22px 14px 36px;
  }

  .workspace-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .workspace-title-actions,
  .concept-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .concept-grid,
  .cc-bottom,
  .compact-preview,
  .full-action-strip,
  .full-command-grid,
  .planner-board-full,
  .planner-content-grid,
  .compact-dashboard,
  .compact-two-col,
  .compact-metrics,
  .reg-workspace-shell,
  .reg-status-row,
  .reg-sectioned-body,
  .reg-board-stats,
  .reg-board-grid,
  .reg-workspace-row,
  .reg-sectioned-row,
  .reg-sectioned-fund,
  .bento-grid,
  .editorial-grid,
  .compact-bento-layout {
    grid-template-columns: 1fr;
  }

  .full-command-hero,
  .planner-hero,
  .example-switcher,
  .full-command-actions,
  .reg-header-panel,
  .reg-sectioned-header,
  .reg-board-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .reg-board-fund {
    grid-column: auto;
  }

  .bento-card.span-2,
  .bento-card.span-3 {
    grid-column: auto;
  }

  .editorial-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .reg-row-side {
    justify-items: start;
  }

  .home-cards {
    grid-template-columns: 1fr;
  }

  .home-recommendations {
    padding: 16px;
  }

  .recommendation-head {
    align-items: stretch;
    flex-direction: column;
  }

  .recommendation-grid,
  .article-signal-grid {
    grid-template-columns: 1fr;
  }

  .tracker-category-grid,
  .tracker-product-grid {
    grid-template-columns: 1fr;
  }

  .home-discovery h2 {
    font-size: 24px;
  }

  .store-grid,
  .brand-grid,
  .pick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .amazon-store-card {
    min-height: 230px;
    padding: 13px;
  }

  .logo-tile {
    min-height: 92px;
    font-size: 18px;
  }

  .pick-media {
    height: 132px;
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .checklist-main {
    padding-top: 22px;
  }

  .checklist-head h1 {
    font-size: 30px;
  }

  .checklist-progress-summary {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    margin-left: 0;
  }

  .checklist-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .check-category-head {
    grid-template-columns: minmax(0, 1fr) auto 28px;
    gap: 10px;
    min-height: 62px;
    padding: 0 12px;
  }

  .check-items {
    padding-left: 12px;
    padding-right: 12px;
  }

  .check-category.open .check-items {
    padding-left: 12px;
    padding-right: 12px;
  }

  .category-progress {
    margin-left: 12px;
    margin-right: 12px;
  }

  .check-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .check-item-actions {
    grid-column: 1 / -1;
  }

  .baby-shower-overview,
  .table-summary,
  .invitation-grid,
  .table-grid {
    grid-template-columns: 1fr;
  }

  .baby-summary-body {
    grid-template-columns: 1fr;
  }

  .baby-guest-controls {
    grid-template-columns: 1fr;
  }

  .baby-guest-controls .btn:first-of-type,
  .baby-guest-controls .btn:last-of-type {
    grid-column: auto;
  }

  .baby-event-card,
  .baby-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .baby-shower-tabs {
    overflow-x: auto;
  }

  .guide-search-band {
    top: 116px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px 0;
  }

  .guide-search {
    order: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0 0 12px;
    padding: 0;
  }

  .guide-search span {
    left: 16px;
    top: 50%;
  }

  .guide-tabs {
    order: 1;
    gap: 18px;
    max-width: 100%;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .guide-tab-preview {
    display: none;
  }

  .guide-content,
  .article-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .guide-hero-copy h1,
  .article-header h1 {
    font-size: 31px;
  }

  .guide-image {
    min-height: 240px;
    font-size: 76px;
  }

  .guide-feature-grid,
  .guide-section-grid {
    grid-template-columns: 1fr;
  }

  .guide-row-card,
  .guide-row-card.lead {
    grid-template-columns: 1fr;
  }

  .guide-row-card.lead .guide-mini-image,
  .guide-card-image {
    height: 170px;
  }

  .article-hero-image {
    min-height: 210px;
    font-size: 68px;
  }

  .article-product {
    grid-template-columns: 1fr;
  }

  .article-product-card-strip {
    grid-auto-columns: minmax(170px, 76%);
  }

  .guide-check-item summary,
  .guide-check-body dl {
    grid-template-columns: 1fr;
  }

  .source-checklist-board-head,
  .source-check-item summary {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .source-checklist-board-head {
    display: grid;
  }

  .source-check-meta {
    max-width: none;
    text-align: left;
  }

  .source-check-chevron {
    position: absolute;
    right: 14px;
    top: 18px;
  }

  .source-check-item summary {
    position: relative;
    padding-right: 54px;
  }

  .source-check-grid {
    grid-template-columns: 1fr;
  }

  .guide-check-timing {
    justify-self: start;
    white-space: normal;
  }

  .article-recommended-media {
    font-size: 28px;
  }

  .article-product-actions {
    grid-template-columns: 1fr;
  }

  .newsletter-box div {
    flex-direction: column;
  }

  .invite-modal {
    padding: 18px;
  }

  .invite-modal-head h2 {
    font-size: 24px;
  }

  .invite-message {
    min-height: 0;
    padding: 16px;
    font-size: 14px;
  }

  .invite-modal-grid {
    grid-template-columns: 1fr;
  }

  .invite-action-button.full {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .onboarding-page {
    min-height: 100svh;
    padding: 24px 16px 20px;
  }

  .onboarding-brand {
    justify-content: flex-start;
  }

  .onboarding-brand .brand {
    font-size: 21px;
  }

  .onboarding-panel {
    gap: 18px;
    padding: 38px 0 24px;
  }

  .onboarding-panel h1 {
    font-size: 30px;
  }

  .onboarding-panel p {
    font-size: 16px;
  }

  .onboarding-choice-grid.four,
  .onboarding-choice-grid.three,
  .onboarding-choice-grid.two,
  .onboarding-name-row {
    grid-template-columns: 1fr;
  }

  .onboarding-choice {
    min-height: 112px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
  }

  .onboarding-choice.text-only {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .onboarding-next,
  .onboarding-submit {
    width: 100%;
    min-width: 0;
  }

  .onboarding-date-picker .nest-calendar {
    left: 0;
    width: 100%;
    transform: none;
  }

  .onboarding-footer {
    font-size: 13px;
  }

  .onboarding-shape.shape-a {
    left: -120px;
    bottom: 8%;
  }

  .onboarding-shape.shape-b {
    right: -150px;
    top: 18%;
  }

  .onboarding-shape.shape-c {
    display: none;
  }
}

