:root {
  color-scheme: light;
  --paper: #f6f3ec;
  --paper-deep: #ede8de;
  --cream: #fffefa;
  --surface: #fffefa;
  --surface-muted: #f1ede5;
  --ink: #252922;
  --ink-soft: #52584f;
  --muted: #7a8078;
  --line: #e2ded5;
  --line-dark: #cbc6ba;
  --gold: #997849;
  --gold-soft: #c4aa7c;
  --rose: #b87570;
  --sage: #748574;
  --forest: #263a33;
  --forest-raised: #32483f;
  --radius-card: 10px;
  --radius-control: 5px;
  --radius-pill: 999px;
  --serif: ui-serif, 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 26px 70px rgba(38, 45, 38, .13);
  --shadow-soft: 0 10px 30px rgba(38, 45, 38, .075);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: #d9c9ad; color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.section-wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.section { padding: 108px 0; }
.eyebrow { margin: 0 0 17px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .19em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 32px; height: 1px; margin: 0 10px 3px 0; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
h1 em, h2 em { color: var(--gold); font-family: var(--serif); font-weight: 400; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 13px; border: 1px solid transparent; border-radius: var(--radius-control); padding: 0 19px; font-size: 12px; font-weight: 650; letter-spacing: .015em; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-1px); }
.button-dark { background: var(--forest); color: var(--cream); }
.button-dark:hover { background: var(--forest-raised); box-shadow: 0 5px 14px rgba(38,58,51,.16); }
.button-light { background: var(--cream); color: var(--ink); }
.button-light:hover { background: #e8dfcf; }
.button-outline { border-color: var(--line-dark); background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--ink); background: rgba(255,255,255,.3); }
.button-text { border-color: transparent; background: transparent; color: var(--ink); }
.button-text:hover { color: var(--gold); }
.button-large { min-height: 54px; padding-inline: 22px; }
.button-wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--gold-soft); padding-bottom: 3px; font-size: 12px; font-weight: 650; }
.text-link:hover { color: var(--gold); }

/* Public website */
.announcement { display: flex; min-height: 35px; align-items: center; justify-content: center; gap: 9px; background: #292821; color: #eee8dc; font-size: 10px; letter-spacing: .045em; }
.announcement a { margin-left: 7px; color: #cfb58e; }
.announcement-dot { width: 5px; height: 5px; border-radius: 50%; background: #c9ab7a; }
.site-header { display: flex; height: 82px; align-items: center; justify-content: space-between; gap: 26px; padding: 0 max(36px, calc((100vw - 1280px) / 2)); background: var(--paper); }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-size: 23px; letter-spacing: -.045em; }
.brand-mark { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid var(--gold-soft); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 20px; font-style: italic; line-height: 1; }
.primary-nav { display: flex; align-items: center; gap: clamp(19px, 3vw, 39px); color: #5c5951; font-size: 11px; }
.primary-nav a:hover, .nav-signin:hover { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 23px; }
.nav-signin { color: #5c5951; font-size: 11px; }
.nav-create { min-height: 40px; padding-inline: 15px; font-size: 10px; }
.language-switcher { position: relative; display: inline-flex; width: fit-content; flex: 0 0 auto; align-items: center; }
.language-trigger { display: inline-flex; min-width: 154px; min-height: 40px; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 0 13px 0 15px; color: var(--ink); font-family: var(--sans); font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.language-trigger:hover, .language-switcher.is-open .language-trigger { border-color: #9EADA4; }
.language-trigger:focus-visible { outline: 3px solid rgba(41,68,58,.2); outline-offset: 3px; }
.language-trigger svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: var(--forest); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; transition: transform .18s ease; }
.language-switcher.is-open .language-trigger svg { transform: rotate(180deg); }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1000; display: grid; width: 168px; min-width: 154px; max-width: calc(100vw - 32px); gap: 3px; border: 1px solid var(--line); border-radius: 13px; background: #fff; padding: 5px; box-shadow: 0 16px 38px rgba(27,35,30,.16); }
.language-options[hidden] { display: none; }
.language-option { display: flex; width: 100%; min-height: 40px; align-items: center; justify-content: space-between; gap: 18px; border: 0; border-radius: 8px; background: transparent; padding: 0 11px; color: var(--ink-soft); font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.3; text-align: left; white-space: nowrap; cursor: pointer; transition: background .16s ease, color .16s ease; }
.language-option:hover, .language-option:focus-visible { background: #F3F6F3; color: var(--forest); outline: none; }
.language-option[aria-checked="true"] { background: #EAF0EC; color: var(--forest-raised); font-weight: 650; }
.language-option[aria-checked="true"]::after { content: "✓"; color: var(--forest); font-size: 12px; font-weight: 700; }
.dashboard-language-switcher .language-trigger { min-height: 36px; }
.primary-nav .language-trigger { min-height: 36px; }
.gallery-hero .language-switcher { margin-top: 16px; }
.auth-language-switcher { position: absolute; top: 24px; left: 32px; }
.checkin-language-switcher { margin: -9px 0 16px; }
.invite-topbar .language-switcher { margin-left: auto; }
.mobile-menu-toggle { display: none; }
.hero { position: relative; display: grid; min-height: 664px; grid-template-columns: 1fr .91fr; align-items: center; gap: 46px; padding-top: 42px; padding-bottom: 90px; }
.hero-copy { z-index: 2; padding: 26px 0 35px 33px; }
.hero-copy h1 { margin-bottom: 25px; font-family: var(--serif); font-size: clamp(54px, 6.2vw, 81px); letter-spacing: -.058em; line-height: .99; }
.hero-copy h1 em { color: var(--gold); }
.hero-description { max-width: 440px; margin-bottom: 30px; color: var(--ink-soft); font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-note { display: flex; align-items: center; gap: 13px; margin-top: 49px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.avatar-stack { display: flex; padding-left: 4px; }
.avatar-stack i { display: grid; width: 27px; height: 27px; place-items: center; margin-left: -5px; border: 2px solid var(--paper); border-radius: 50%; background: #d8c5a8; color: #504433; font-family: var(--serif); font-size: 11px; font-style: normal; }
.avatar-stack i:nth-child(2) { background: #d7b2a8; }
.avatar-stack i:nth-child(3) { background: #a6a98e; }
.hero-art { position: relative; min-height: 545px; }
.hero-side-note { position: absolute; top: 6px; right: 4px; z-index: 2; display: flex; gap: 20px; color: #9d988b; font-size: 8px; letter-spacing: .16em; writing-mode: vertical-rl; }
.hero-backdrop { position: absolute; top: 57px; left: 24px; width: 77%; height: 76%; border-radius: 48% 48% 3px 3px; background: #e9e2d5; transform: rotate(3deg); }
.hero-invitation { position: absolute; top: 28px; left: 76px; display: flex; width: min(74%, 375px); min-height: 498px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(174, 146, 107, .44); background: linear-gradient(150deg, #fffdf8 0%, #f2ede3 100%); box-shadow: 0 24px 45px rgba(52, 42, 30, .13); text-align: center; }
.hero-invitation::before, .hero-invitation::after { position: absolute; inset: 13px; border: 1px solid rgba(177, 151, 112, .34); content: ''; pointer-events: none; }
.hero-invitation::after { inset: 20px; border-color: rgba(177, 151, 112, .16); }
.hero-invitation-top, .hero-invite-bottom { position: absolute; right: 34px; left: 34px; display: flex; justify-content: space-between; color: #968364; font-size: 7px; letter-spacing: .18em; }
.hero-invitation-top { top: 37px; }
.hero-invitation-top span:last-child { font-size: 14px; }
.hero-invite-bottom { bottom: 37px; color: #aaa18e; }
.invite-pretitle { position: relative; z-index: 1; margin: 39px 0 7px; color: #998568; font-family: var(--serif); font-size: 14px; font-style: italic; }
.hero-invitation h2 { position: relative; z-index: 1; margin: 4px 0 15px; color: #383327; font-family: var(--serif); font-size: clamp(56px, 5.8vw, 76px); letter-spacing: -.06em; line-height: .9; }
.hero-invitation h2 small { color: var(--gold); font-size: .55em; font-style: italic; font-weight: 400; }
.hero-invite-rule { width: 39px; height: 1px; margin: 13px 0 18px; background: #b69a70; }
.hero-invite-date, .hero-invite-place { margin: 0 0 6px; color: #776b55; font-size: 8px; letter-spacing: .15em; }
.hero-invite-place { color: #9b927f; font-size: 7px; }
.hero-flower { position: absolute; color: #b4a285; opacity: .68; font-size: 105px; }
.flower-one { top: 73px; left: -14px; transform: rotate(-22deg); }
.flower-two { right: -21px; bottom: 46px; color: #bc9182; font-size: 135px; transform: rotate(24deg); }
.hero-caption { position: absolute; right: 0; bottom: 1px; display: flex; align-items: center; gap: 10px; color: #7d786d; font-family: var(--serif); font-size: 11px; font-style: italic; }
.caption-line { width: 37px; height: 1px; background: #aa956f; }
.hero-orbit { position: absolute; border: 1px solid rgba(172, 148, 111, .35); border-radius: 50%; }
.orbit-a { top: 87px; right: 34px; width: 21px; height: 21px; }
.orbit-b { right: 2px; bottom: 110px; width: 11px; height: 11px; background: #e5d6bd; }
.hero-scroll { position: absolute; bottom: 35px; left: 34px; display: flex; align-items: center; gap: 13px; color: #979185; font-size: 8px; letter-spacing: .18em; }
.hero-scroll span:last-child { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; font-size: 12px; }
.trust-strip { display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px max(36px, calc((100vw - 1110px) / 2)); color: #898578; font-size: 8px; letter-spacing: .13em; }
.trust-strip > span { color: #655e50; font-weight: 700; }
.trust-strip div { display: flex; gap: clamp(25px, 5vw, 72px); }
.trust-strip i { color: #c4ad86; font-style: normal; }
.section-head, .collection-head { display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.section-head h2, .collection-head h2, .feature-copy h2 { margin-bottom: 0; font-family: var(--serif); font-size: clamp(39px, 4.5vw, 57px); letter-spacing: -.05em; line-height: 1.04; }
.section-intro { max-width: 375px; margin: 0 0 6px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 53px; }
.category-card { position: relative; min-height: 178px; border: 1px solid var(--line); background: rgba(255, 253, 249, .55); padding: 22px 20px; transition: transform .22s ease, background .22s ease, box-shadow .22s ease; }
.category-card:hover { z-index: 1; background: #fffdf9; box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.category-icon { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #dfd3c0; border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 17px; }
.category-name { margin: 19px 0 4px; font-family: var(--serif); font-size: 19px; }
.category-desc { max-width: 190px; margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.category-arrow { position: absolute; top: 23px; right: 19px; color: #aaa18f; font-size: 16px; }
.skeleton-category, .template-skeleton { min-height: 178px; background: linear-gradient(90deg, rgba(233,227,215,.5), rgba(250,247,240,.8), rgba(233,227,215,.5)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.center-link { display: flex; justify-content: center; margin-top: 33px; }
.section-collection { background: #efebe2; }
.collection-head { align-items: end; }
.collection-head .button { margin-bottom: 4px; }
.template-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; margin-top: 42px; }
.template-card { min-width: 0; }
.template-art { position: relative; display: flex; min-height: 355px; align-items: center; justify-content: center; overflow: hidden; background: #e5ddd0; }
.template-art::before { position: absolute; top: 9%; left: 18%; width: 65%; height: 79%; border: 1px solid rgba(168, 134, 84, .4); background: rgba(255, 253, 248, .78); box-shadow: 0 14px 25px rgba(50, 43, 34, .12); content: ''; transition: transform .35s ease; }
.template-card:hover .template-art::before { transform: translateY(-5px) rotate(-1deg); }
.template-art::after { position: absolute; top: 13%; left: 22%; width: 57%; height: 71%; border: 1px solid rgba(168, 134, 84, .23); content: ''; pointer-events: none; }
.template-art-copy { position: relative; z-index: 1; display: flex; width: 55%; min-height: 240px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.template-art-copy .template-kicker { margin-bottom: 14px; color: var(--template-accent, #927953); font-size: 7px; letter-spacing: .2em; text-transform: uppercase; }
.template-art-copy strong { color: var(--template-ink, #363329); font-family: var(--serif); font-size: 31px; font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.template-art-copy .template-flower { margin-top: 12px; color: var(--template-accent, #927953); font-size: 25px; }
.template-badge { position: absolute; top: 13px; left: 14px; z-index: 2; background: rgba(255,253,249,.84); padding: 5px 8px; color: #776b55; font-size: 7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.template-favorite { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,253,249,.87); color: #665f54; cursor: pointer; font-size: 16px; }
.template-favorite[aria-pressed="true"] { color: #b05e57; }
.template-meta { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: 14px 2px 0; }
.template-meta h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 19px; }
.template-meta p { margin: 0; color: var(--muted); font-size: 10px; }
.template-actions { display: flex; gap: 7px; padding-top: 12px; }
.template-actions .button { min-height: 34px; padding: 0 11px; font-size: 9px; }
.template-skeleton { min-height: 355px; }
.gallery-back { margin-left: auto; color: #706b61; font-size: 10px; }
.gallery-back:hover { color: var(--gold); }
.gallery-hero { padding: 69px 0 52px; background: #efebe2; }
.gallery-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(47px, 6vw, 70px); letter-spacing: -.055em; line-height: .99; }
.gallery-hero h1 em { color: var(--gold); }
.gallery-hero .section-wrap > p:not(.eyebrow) { max-width: 500px; margin: 17px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.gallery-count { color: #8b8477; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.gallery-body { padding-top: 33px; padding-bottom: 70px; }
.gallery-toolbar { display: grid; grid-template-columns: minmax(220px,.8fr) 1.5fr; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.gallery-search { display: flex; min-height: 42px; align-items: center; gap: 9px; border: 1px solid var(--line-dark); background: #fffdf9; padding: 0 11px; color: #8c8578; }
.gallery-search span { font-size: 19px; }
.gallery-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }
.gallery-search input::placeholder { color: #a29b8e; }
.gallery-selects { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
.gallery-selects label { display: flex; flex-direction: column; gap: 4px; color: #898376; font-size: 8px; }
.gallery-selects select { min-width: 0; min-height: 39px; border: 1px solid var(--line); border-radius: 0; background: #fbf9f4; padding: 0 7px; color: #4a473f; font-size: 9px; }
.gallery-status { min-height: 34px; padding-top: 11px; color: #8e887c; font-size: 9px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px 20px; }
.gallery-template-card .template-art { min-height: 330px; }
.gallery-template-card .template-art::before { left: 20%; width: 60%; }
.gallery-template-card .template-art::after { left: 23%; width: 54%; }
.gallery-template-card .template-meta h2 { margin: 0 0 2px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.gallery-pagination { display: flex; align-items: center; justify-content: center; gap: 17px; margin-top: 35px; color: #7c766a; font-size: 9px; }
.gallery-pagination .button { min-height: 35px; padding-inline: 12px; font-size: 8px; }
.gallery-pagination .button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.gallery-empty { grid-column: 1/-1; display: flex; min-height: 260px; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed var(--line-dark); color: var(--muted); text-align: center; }
.gallery-empty h2 { margin: 7px 0 4px; color: #4d493f; font-family: var(--serif); font-size: 26px; }
.gallery-empty p { margin: 0 0 14px; font-size: 10px; }
.template-demo { padding: 22px 6px 20px; }
.template-demo-cover { position: relative; display: flex; width: min(280px,100%); min-height: 325px; flex-direction: column; align-items: center; justify-content: center; gap: 13px; overflow: hidden; margin: 0 auto; border: 1px solid rgba(168,134,84,.42); background: var(--template-paper,#eee6d8); text-align: center; }
.template-demo-cover::before { position: absolute; inset: 11px; border: 1px solid rgba(168,134,84,.36); content: ''; }
.template-demo-cover > span, .template-demo-cover > small, .template-demo-cover > b { position: relative; z-index: 1; color: var(--template-accent,var(--gold)); font-size: 7px; letter-spacing: .17em; text-transform: uppercase; }
.template-demo-cover strong { position: relative; z-index: 1; color: var(--template-ink,#363329); font-family: var(--serif); font-size: 42px; font-weight: 400; letter-spacing: -.05em; line-height: .8; }
.template-demo-cover i { position: relative; z-index: 1; color: var(--template-accent,var(--gold)); font-family: var(--serif); font-size: 13px; }
.template-demo-cover > b { font-size: 6px; font-weight: 500; }
.template-demo > p { max-width: 360px; margin: 14px auto 0; color: var(--muted); font-family: var(--serif); font-size: 12px; text-align: center; }
.palette-ivory { --template-paper: #ebe4d5; --template-ink: #373126; --template-accent: #a58d67; }
.palette-champagne { --template-paper: #e9ddc6; --template-ink: #564835; --template-accent: #a17c48; }
.palette-noir { --template-paper: #35332f; --template-ink: #eee5d7; --template-accent: #c2a272; }
.palette-garden { --template-paper: #dce1d5; --template-ink: #354235; --template-accent: #6c806d; }
.palette-rose { --template-paper: #ead9d4; --template-ink: #573d3c; --template-accent: #b77a76; }
.palette-sand { --template-paper: #e4dccd; --template-ink: #52493d; --template-accent: #9d896a; }
.palette-burgundy { --template-paper: #55333a; --template-ink: #f5ead8; --template-accent: #d7b684; }
.palette-blue { --template-paper: #d8e0e2; --template-ink: #293b46; --template-accent: #69808d; }
.palette-gold { --template-paper: #e7dcc0; --template-ink: #57452a; --template-accent: #aa8a52; }
.palette-sage { --template-paper: #dae1d5; --template-ink: #3b493e; --template-accent: #758b73; }
.palette-moon { --template-paper: #e6e1e7; --template-ink: #443a4d; --template-accent: #88798f; }
.palette-terracotta { --template-paper: #e8d5c9; --template-ink: #583d32; --template-accent: #b87961; }
.palette-navy { --template-paper: #d8dee3; --template-ink: #263846; --template-accent: #657f91; }
.palette-lilac { --template-paper: #e4deec; --template-ink: #40374c; --template-accent: #7f6c94; }
.palette-coral { --template-paper: #efd8ce; --template-ink: #583a34; --template-accent: #b66d58; }
.palette-forest { --template-paper: #d9e4dc; --template-ink: #2b4135; --template-accent: #52755e; }
.template-art[class*="palette-"] { background: var(--template-paper, #e5ddd0); }
.template-art[class*="palette-"] .template-art-copy strong { color: var(--template-ink, #363329); }
.template-art[class*="palette-"] .template-art-copy .template-kicker, .template-art[class*="palette-"] .template-art-copy .template-flower { color: var(--template-accent, #927953); }

/* Design families use different compositions, not only different palette swatches. */
.template-art.design-editorial::before { top: 5%; left: 28%; width: 54%; height: 88%; transform: rotate(2deg); }
.template-art.design-editorial::after { top: 10%; left: 32%; width: 46%; height: 78%; transform: rotate(2deg); }
.template-art.design-editorial .template-art-copy { width: 48%; min-height: 270px; align-items: flex-start; text-align: left; }
.template-art.design-editorial .template-art-copy strong { font-size: 35px; }
.template-art.design-botanical::before, .template-art.design-floral::before { top: 8%; left: 18%; width: 64%; height: 82%; border-radius: 48% 48% 3px 3px; }
.template-art.design-botanical::after, .template-art.design-floral::after { top: 12%; left: 22%; width: 56%; height: 74%; border-radius: 46% 46% 2px 2px; border-style: dashed; }
.template-art.design-botanical .template-flower, .template-art.design-floral .template-flower { font-size: 35px; }
.template-art.design-luxury::before, .template-art.design-classic::before { inset: 6%; width: 88%; height: 88%; border: 2px double var(--template-accent); background: transparent; box-shadow: none; }
.template-art.design-luxury::after, .template-art.design-classic::after { inset: 10%; width: 80%; height: 80%; border-color: color-mix(in srgb, var(--template-accent), transparent 45%); }
.template-art.design-modern::before, .template-art.design-professional::before, .template-art.design-contemporary::before { top: 0; left: 0; width: 38%; height: 100%; border: 0; background: color-mix(in srgb, var(--template-accent), transparent 76%); box-shadow: none; }
.template-art.design-modern::after, .template-art.design-professional::after, .template-art.design-contemporary::after { top: 18%; right: 9%; left: auto; width: 35%; height: 64%; border: 1px solid color-mix(in srgb, var(--template-accent), transparent 32%); transform: rotate(7deg); }
.template-art.design-modern .template-art-copy, .template-art.design-professional .template-art-copy, .template-art.design-contemporary .template-art-copy { width: 70%; min-height: 265px; align-items: flex-end; text-align: right; }
.template-art.design-modern .template-art-copy strong, .template-art.design-professional .template-art-copy strong, .template-art.design-contemporary .template-art-copy strong { font-family: var(--sans); font-size: 28px; font-weight: 500; letter-spacing: -.05em; }
.template-art.design-minimal::before, .template-art.design-minimal::after, .template-art.design-warm-minimal::before, .template-art.design-warm-minimal::after { display: none; }
.template-art.design-minimal .template-art-copy, .template-art.design-warm-minimal .template-art-copy { width: 74%; align-items: flex-start; text-align: left; }
.template-art.design-minimal .template-flower, .template-art.design-warm-minimal .template-flower { margin-top: 23px; font-size: 14px; }
.template-art.design-romantic::before, .template-art.design-gentle::before { inset: 12% 18%; width: 64%; height: 76%; border-radius: 48% 48% 44% 44%; }
.template-art.design-romantic::after, .template-art.design-gentle::after { inset: 16% 22%; width: 56%; height: 68%; border-radius: 46% 46% 42% 42%; }
.template-art.design-romantic .template-flower, .template-art.design-gentle .template-flower { font-size: 29px; }
.template-art.design-playful::before, .template-art.design-celebration::before { inset: 15% 13%; width: 74%; height: 70%; border-radius: 42% 58% 52% 48%; transform: rotate(-7deg); }
.template-art.design-playful::after, .template-art.design-celebration::after { inset: 20% 19%; width: 62%; height: 60%; border-radius: 43% 57% 49% 51%; transform: rotate(-7deg); }
.template-art.design-playful .template-art-copy strong, .template-art.design-celebration .template-art-copy strong { font-size: 34px; }
.template-demo-cover.design-modern::before, .template-demo-cover.design-professional::before, .template-demo-cover.design-contemporary::before { right: auto; left: 0; width: 34%; border: 0; background: color-mix(in srgb, var(--template-accent), transparent 78%); }
.template-demo-cover.design-modern strong, .template-demo-cover.design-professional strong, .template-demo-cover.design-contemporary strong { font-family: var(--sans); font-size: 34px; font-weight: 500; }
.template-demo-cover.design-editorial::before { left: 22%; width: 58%; transform: rotate(2deg); }
.template-demo-cover.design-minimal::before, .template-demo-cover.design-warm-minimal::before { inset: 0; border: 0; }

/* New occasion-led design families */
.template-art.design-celestial, .template-option-art.design-celestial, .template-demo-cover.design-celestial, .editor-preview.design-celestial {
  background-image: radial-gradient(circle at 16% 19%,var(--template-accent) 0 1px,transparent 2px),radial-gradient(circle at 79% 26%,var(--template-accent) 0 1px,transparent 2px),radial-gradient(circle at 83% 78%,var(--template-accent) 0 1.5px,transparent 2px),radial-gradient(circle at 24% 76%,var(--template-accent) 0 1px,transparent 2px);
  background-color: var(--template-paper);
}
.template-art.design-celestial::before { inset: 7% 18%; width: 64%; height: 86%; border-radius: 48% 48% 7px 7px; background: linear-gradient(155deg,color-mix(in srgb,var(--template-paper),white 34%),var(--template-paper)); box-shadow: 0 14px 28px color-mix(in srgb,var(--template-ink),transparent 84%); }
.template-art.design-celestial::after { inset: 12% 22%; width: 56%; height: 76%; border-radius: 45% 45% 4px 4px; border-style: dotted; }
.template-art.design-celestial .template-flower { font-size: 33px; }
.template-art.design-art-deco::before, .template-option-art.design-art-deco::before { inset: 6% 17%; width: 66%; height: 88%; border: 2px double var(--template-accent); background: linear-gradient(90deg,transparent 0 47%,color-mix(in srgb,var(--template-accent),transparent 91%) 47% 53%,transparent 53%); }
.template-art.design-art-deco::after, .template-option-art.design-art-deco::after { inset: 11% 22%; width: 56%; height: 78%; border: 1px solid color-mix(in srgb,var(--template-accent),transparent 38%); background: repeating-linear-gradient(135deg,transparent 0 12px,color-mix(in srgb,var(--template-accent),transparent 88%) 13px 14px); }
.template-art.design-art-deco .template-art-copy { width: 53%; min-height: 255px; }
.template-art.design-heritage::before, .template-option-art.design-heritage::before { inset: 7%; width: 86%; height: 86%; border: 1px solid var(--template-accent); background: repeating-linear-gradient(0deg,transparent 0 12px,color-mix(in srgb,var(--template-accent),transparent 91%) 13px 14px),var(--template-paper); }
.template-art.design-heritage::after, .template-option-art.design-heritage::after { inset: 11%; width: 78%; height: 78%; border: 1px dashed color-mix(in srgb,var(--template-accent),transparent 30%); }
.template-art.design-whimsical, .template-demo-cover.design-whimsical { background-image: radial-gradient(ellipse at 10% 14%,color-mix(in srgb,var(--template-accent),transparent 61%) 0 11%,transparent 12%),radial-gradient(ellipse at 89% 82%,color-mix(in srgb,var(--template-accent),transparent 65%) 0 14%,transparent 15%); background-color: var(--template-paper); }
.template-art.design-whimsical::before { inset: 14% 13%; width: 74%; height: 70%; border: 0; border-radius: 40% 60% 47% 53%; background: color-mix(in srgb,var(--template-paper),white 36%); transform: rotate(-5deg); box-shadow: 0 15px 30px color-mix(in srgb,var(--template-ink),transparent 87%); }
.template-art.design-whimsical::after { inset: 19% 19%; width: 62%; height: 60%; border-radius: 45% 55% 51% 49%; transform: rotate(4deg); }
.template-art.design-geometric { background-image: linear-gradient(135deg,color-mix(in srgb,var(--template-accent),transparent 79%) 0 26%,transparent 26% 100%),linear-gradient(315deg,color-mix(in srgb,var(--template-accent),transparent 86%) 0 24%,transparent 24% 100%); background-color: var(--template-paper); }
.template-art.design-geometric::before, .template-option-art.design-geometric::before { inset: 0 auto 0 0; width: 34%; height: 100%; border: 0; background: color-mix(in srgb,var(--template-accent),transparent 74%); }
.template-art.design-geometric::after, .template-option-art.design-geometric::after { inset: 17% 10% 17% auto; width: 36%; height: 66%; border: 1px solid var(--template-accent); transform: rotate(8deg); }
.template-art.design-geometric .template-art-copy { width: 68%; min-height: 260px; align-items: flex-end; text-align: right; }
.template-art.design-geometric .template-art-copy strong { font-family: var(--sans); font-size: 28px; font-weight: 550; letter-spacing: -.04em; }
.template-art.design-collage::before, .template-option-art.design-collage::before { inset: 13% 17% 11% 25%; width: 58%; height: 76%; border: 1px solid color-mix(in srgb,var(--template-accent),transparent 40%); background: color-mix(in srgb,var(--template-paper),white 38%); transform: rotate(5deg); box-shadow: 0 10px 24px color-mix(in srgb,var(--template-ink),transparent 88%); }
.template-art.design-collage::after, .template-option-art.design-collage::after { inset: 9% 24% 16% 16%; width: 61%; height: 75%; border: 1px solid color-mix(in srgb,var(--template-accent),transparent 26%); background: linear-gradient(145deg,transparent 0 34%,color-mix(in srgb,var(--template-accent),transparent 84%) 35% 62%,transparent 63%); transform: rotate(-4deg); }
.template-art.design-noir { background: radial-gradient(ellipse at 50% 18%,color-mix(in srgb,var(--template-accent),transparent 76%),transparent 62%),var(--template-paper); }
.template-art.design-noir::before { inset: 8% 18%; width: 64%; height: 84%; border: 1px solid color-mix(in srgb,var(--template-ink),transparent 48%); background: linear-gradient(155deg,color-mix(in srgb,var(--template-paper),white 7%),var(--template-paper) 60%); box-shadow: 0 18px 32px color-mix(in srgb,var(--template-ink),transparent 75%); }
.template-art.design-noir::after { inset: 13% 23%; width: 54%; height: 74%; border-color: color-mix(in srgb,var(--template-accent),transparent 23%); }
.template-art.design-noir .template-art-copy strong { font-family: var(--sans); font-weight: 500; letter-spacing: -.05em; }
.template-art.design-gala::before, .template-option-art.design-gala::before { inset: 6%; width: 88%; height: 88%; border: 3px double var(--template-accent); border-radius: 48% 48% 3px 3px; background: linear-gradient(180deg,color-mix(in srgb,var(--template-paper),white 24%),var(--template-paper)); }
.template-art.design-gala::after, .template-option-art.design-gala::after { inset: 11%; width: 78%; height: 78%; border: 1px solid color-mix(in srgb,var(--template-accent),transparent 38%); border-radius: 46% 46% 2px 2px; }
.template-art.design-type-led::before, .template-option-art.design-type-led::before { inset: 0 auto 0 0; width: 14%; height: 100%; border: 0; background: var(--template-accent); }
.template-art.design-type-led::after, .template-option-art.design-type-led::after { inset: 12% 10% 12% 20%; width: 70%; height: 76%; border-width: 1px 0; }
.template-art.design-type-led .template-art-copy { width: 70%; min-height: 250px; align-items: flex-start; text-align: left; }
.template-art.design-type-led .template-art-copy strong { font-size: 32px; }
.template-art.design-dynamic { background-image: repeating-linear-gradient(135deg,transparent 0 21px,color-mix(in srgb,var(--template-accent),transparent 91%) 22px 25px); background-color: var(--template-paper); }
.template-art.design-dynamic::before { inset: 8% 14%; width: 72%; height: 84%; border: 0; background: linear-gradient(145deg,color-mix(in srgb,var(--template-accent),transparent 72%) 0 22%,color-mix(in srgb,var(--template-paper),white 28%) 22% 77%,transparent 77%); clip-path: polygon(0 11%,86% 0,100% 89%,16% 100%); }
.template-art.design-dynamic::after { inset: 17% 23%; width: 56%; height: 66%; border-style: dashed; transform: rotate(-4deg); }
.template-art.design-dynamic .template-art-copy { width: 67%; align-items: flex-end; text-align: right; }
.template-art.design-dynamic .template-art-copy strong { font-family: var(--sans); font-weight: 650; letter-spacing: -.05em; }

.template-option-art.design-celestial, .template-option-art.design-whimsical, .template-option-art.design-noir, .template-option-art.design-collage, .template-option-art.design-dynamic { background-color: var(--template-paper); }
.template-option-art.design-art-deco::after, .template-option-art.design-heritage::after, .template-option-art.design-gala::after, .template-option-art.design-type-led::after { content: ''; }
.template-option-art.design-geometric span { margin-left: 24%; font-family: var(--sans); }
.template-demo-cover.design-celestial::before, .template-demo-cover.design-gala::before { inset: 12px 16%; width: 68%; border-radius: 48% 48% 4px 4px; }
.template-demo-cover.design-art-deco::before, .template-demo-cover.design-heritage::before { inset: 12px; border: 2px double var(--template-accent); background: repeating-linear-gradient(135deg,transparent 0 13px,color-mix(in srgb,var(--template-accent),transparent 90%) 14px 15px); }
.template-demo-cover.design-geometric::before, .template-demo-cover.design-type-led::before { inset: 0 auto 0 0; width: 28%; border: 0; background: color-mix(in srgb,var(--template-accent),transparent 76%); }
.template-demo-cover.design-geometric strong, .template-demo-cover.design-type-led strong { font-family: var(--sans); font-size: 34px; font-weight: 550; }
.template-demo-cover.design-noir::before { border-color: color-mix(in srgb,var(--template-accent),transparent 15%); background: linear-gradient(145deg,color-mix(in srgb,var(--template-paper),white 9%),var(--template-paper)); }
.template-demo-cover.design-collage::before { transform: rotate(-5deg); background: color-mix(in srgb,var(--template-paper),white 34%); }
.template-demo-cover.design-collage::after { position: absolute; inset: 17px 20%; border: 1px solid color-mix(in srgb,var(--template-accent),transparent 30%); content: ''; transform: rotate(4deg); }
.template-demo-cover.design-whimsical::before { inset: 27px 12%; border-radius: 43% 57% 48% 52%; transform: rotate(-4deg); }
.editor-preview.design-celestial, .editor-preview.design-art-deco, .editor-preview.design-heritage, .editor-preview.design-whimsical, .editor-preview.design-geometric, .editor-preview.design-collage, .editor-preview.design-noir, .editor-preview.design-gala, .editor-preview.design-type-led, .editor-preview.design-dynamic { background-color: var(--template-paper); }
.editor-preview.design-celestial, .editor-preview.design-gala { border-radius: 48% 48% 8px 8px; }
.editor-preview.design-art-deco, .editor-preview.design-heritage { border: 3px double var(--invite-accent); }
.editor-preview.design-geometric, .editor-preview.design-type-led { align-items: flex-start; border-left: 8px solid var(--template-accent); text-align: left; }
.editor-preview.design-noir { box-shadow: inset 0 0 0 1px var(--template-accent),0 12px 25px rgba(0,0,0,.12); }
.editor-preview.design-dynamic { clip-path: polygon(0 5%,95% 0,100% 94%,4% 100%); }

.invite-body.template-style-celestial .invite-cover { background: radial-gradient(circle at 15% 18%,color-mix(in srgb,var(--invite-accent),transparent 24%) 0 1px,transparent 2px),radial-gradient(circle at 83% 27%,color-mix(in srgb,var(--invite-accent),transparent 20%) 0 2px,transparent 3px),radial-gradient(circle at 76% 78%,color-mix(in srgb,var(--invite-accent),transparent 24%) 0 1px,transparent 2px),linear-gradient(160deg,color-mix(in srgb,var(--invite-paper),var(--invite-accent) 11%),var(--invite-paper)); }
.invite-body.template-style-celestial .invite-cover::before, .invite-body.template-style-gala .invite-cover::before { inset: 10px 14%; border-radius: 48% 48% 4px 4px; }
.invite-body.template-style-art-deco .invite-cover, .invite-body.template-style-heritage .invite-cover { background: repeating-linear-gradient(135deg,transparent 0 22px,color-mix(in srgb,var(--invite-accent),transparent 92%) 23px 24px),var(--invite-paper); }
.invite-body.template-style-art-deco .invite-cover::before, .invite-body.template-style-heritage .invite-cover::before { inset: 9px; border: 2px double color-mix(in srgb,var(--invite-accent),transparent 18%); }
.invite-body.template-style-art-deco .invite-cover::after, .invite-body.template-style-heritage .invite-cover::after { position: absolute; inset: 17px; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 55%); content: ''; pointer-events: none; }
.invite-body.template-style-whimsical .invite-cover { background: radial-gradient(ellipse at 13% 15%,color-mix(in srgb,var(--invite-accent),transparent 77%) 0 15%,transparent 16%),radial-gradient(ellipse at 87% 80%,color-mix(in srgb,var(--invite-accent),transparent 80%) 0 18%,transparent 19%),var(--invite-paper); }
.invite-body.template-style-whimsical .invite-cover::before { inset: 18px 12%; border: 0; border-radius: 38px 12px 34px 14px; transform: rotate(-1deg); box-shadow: inset 0 0 0 1px color-mix(in srgb,var(--invite-accent),transparent 48%); }
.invite-body.template-style-geometric .invite-cover { background: linear-gradient(135deg,color-mix(in srgb,var(--invite-accent),transparent 82%) 0 25%,transparent 25% 100%),linear-gradient(315deg,color-mix(in srgb,var(--invite-accent),transparent 86%) 0 22%,transparent 22% 100%),var(--invite-paper); }
.invite-body.template-style-geometric .invite-cover::before { inset: 12px 8%; border-left: 0; }
.invite-body.template-style-collage .invite-cover { background: linear-gradient(145deg,transparent 0 32%,color-mix(in srgb,var(--invite-accent),transparent 88%) 33% 67%,transparent 68%),var(--invite-paper); }
.invite-body.template-style-collage .invite-cover::before { inset: 14px 17%; transform: rotate(-2deg); box-shadow: 7px 7px 0 color-mix(in srgb,var(--invite-accent),transparent 90%); }
.invite-body.template-style-noir .invite-cover { background: radial-gradient(ellipse at 48% 10%,color-mix(in srgb,var(--invite-accent),transparent 77%),transparent 65%),linear-gradient(155deg,color-mix(in srgb,var(--invite-paper),white 8%),var(--invite-paper)); }
.invite-body.template-style-noir .invite-cover::before { border-color: color-mix(in srgb,var(--invite-accent),transparent 20%); }
.invite-body.template-style-type-led .invite-cover { align-items: flex-start; padding-left: 15%; background: linear-gradient(90deg,var(--invite-accent) 0 12%,transparent 12% 100%),var(--invite-paper); }
.invite-body.template-style-type-led .invite-cover::before { inset: 14px 8% 14px 18%; border-width: 1px 0; }
.invite-body.template-style-type-led .cover-ornament { align-self: flex-start; font-size: 54px; }
.invite-body.template-style-dynamic .invite-cover { background: repeating-linear-gradient(135deg,transparent 0 25px,color-mix(in srgb,var(--invite-accent),transparent 91%) 26px 28px),var(--invite-paper); }
.invite-body.template-style-dynamic .invite-cover::before { inset: 10px 12%; transform: skewY(-2deg); border-style: dashed; }
.invite-body.template-style-gala .invite-cover { background: linear-gradient(155deg,color-mix(in srgb,var(--invite-paper),var(--invite-accent) 12%),var(--invite-paper) 70%); }
.invite-body.template-style-gala .invite-cover::before { border: 3px double var(--invite-accent); }
.editorial-feature { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: clamp(65px, 10vw, 140px); padding-top: 112px; padding-bottom: 118px; }
.feature-visual { position: relative; min-height: 480px; }
.feature-frame { position: absolute; top: 19px; left: 8%; display: flex; width: 70%; height: 415px; align-items: center; justify-content: center; overflow: hidden; background: #dfe2d8; }
.feature-frame::before { position: absolute; inset: 15px; border: 1px solid rgba(75, 91, 72, .32); content: ''; }
.feature-frame-label { position: absolute; top: 34px; left: 33px; color: #697463; font-size: 7px; letter-spacing: .17em; }
.feature-art-flower { position: absolute; right: -28px; bottom: -57px; color: rgba(112, 131, 106, .48); font-size: 200px; transform: rotate(18deg); }
.feature-frame-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; color: #5a6857; text-align: center; }
.feature-frame-content > span { font-size: 7px; letter-spacing: .2em; }
.feature-frame-content strong { margin: 20px 0; color: #344335; font-family: var(--serif); font-size: 44px; font-weight: 400; letter-spacing: -.06em; line-height: .97; }
.feature-frame-content i { font-size: 7px; font-style: normal; letter-spacing: .15em; }
.feature-note { position: absolute; right: 0; bottom: 28px; z-index: 2; border: 1px solid var(--line); background: var(--cream); padding: 15px 19px; box-shadow: var(--shadow-soft); color: var(--ink-soft); font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.45; }
.feature-copy { max-width: 448px; }
.feature-copy > p:not(.eyebrow) { margin: 20px 0 28px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.feature-steps { margin-bottom: 28px; border-top: 1px solid var(--line); }
.feature-steps > div { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.feature-steps > div > span { color: var(--gold); font-family: var(--serif); font-size: 14px; }
.feature-steps strong, .feature-steps small { display: block; }
.feature-steps strong { font-size: 11px; font-weight: 650; }
.feature-steps small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.section-quote { position: relative; display: flex; min-height: 352px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: #ebe7de; padding: 75px 24px; text-align: center; }
.quote-mark { height: 42px; color: #b59a70; font-family: var(--serif); font-size: 75px; line-height: 1; }
.section-quote blockquote { max-width: 730px; margin: 12px 0 24px; color: #38362f; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 39px); letter-spacing: -.03em; line-height: 1.25; }
.quote-attribution { color: #8d887b; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.quote-sparkle { position: absolute; right: 12%; bottom: 41px; color: #bea880; font-size: 39px; opacity: .7; }
.cta-band { overflow: hidden; background: #303129; color: #f6f0e6; }
.cta-band-inner { position: relative; display: flex; min-height: 405px; flex-direction: column; align-items: center; justify-content: center; padding: 72px 24px; text-align: center; }
.cta-band .eyebrow { color: #c5ab7d; }
.cta-band h2 { margin: 0 0 25px; font-family: var(--serif); font-size: clamp(42px, 5.6vw, 65px); letter-spacing: -.055em; line-height: 1.03; }
.cta-band h2 em { color: #ceb991; }
.cta-ornament { position: absolute; right: 13%; bottom: -50px; color: rgba(208, 188, 149, .1); font-size: 250px; }
.site-footer { background: #262720; color: #f2ede3; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 28px; padding-top: 55px; padding-bottom: 53px; }
.site-footer .brand { color: #f2ede3; }
.footer-brand p { margin: 15px 0 0; color: #a9a59a; font-family: var(--serif); font-size: 13px; font-style: italic; line-height: 1.5; }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: 9px; color: #aaa69a; font-size: 10px; }
.footer-column span { margin-bottom: 4px; color: #c6b28f; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.footer-column a:hover { color: #fff; }
.footer-end { display: flex; flex-direction: column; align-items: end; gap: 8px; color: #9e9a8f; font-size: 9px; }

/* Authentication */
.auth-body { min-height: 100vh; background: var(--cream); }
.auth-layout { display: grid; min-height: 100vh; grid-template-columns: minmax(390px, .85fr) 1.15fr; }
.auth-aside { position: relative; display: flex; min-height: 100vh; flex-direction: column; background: #35362f; padding: 34px clamp(34px, 6vw, 83px); color: #f5f0e6; }
.auth-aside .brand { color: #f5f0e6; }
.auth-aside .brand-mark { color: #d1b887; }
.auth-aside-copy { width: min(390px, 100%); margin: auto; padding: 58px 0 75px; }
.auth-aside-copy .eyebrow { color: #ccb384; }
.auth-aside-copy h1 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(46px, 5.3vw, 67px); letter-spacing: -.06em; line-height: 1.02; }
.auth-aside-copy h1 em { color: #ceb78d; }
.auth-aside-art { display: flex; min-height: 217px; align-items: center; justify-content: center; margin: 23px 0 17px; background: #41433a; }
.auth-mini-card { position: relative; display: flex; width: 174px; height: 195px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(206, 183, 141, .6); background: #eee8dc; color: #4b483f; text-align: center; }
.auth-mini-card::before { position: absolute; inset: 7px; border: 1px solid rgba(168, 134, 84, .3); content: ''; }
.auth-mini-card > span:first-child { color: #987f5c; font-size: 6px; letter-spacing: .18em; }
.auth-mini-card strong { margin: 12px 0; font-family: var(--serif); font-size: 27px; font-weight: 400; letter-spacing: -.05em; line-height: .98; }
.auth-mini-card i { color: #92866f; font-size: 6px; font-style: normal; letter-spacing: .14em; }
.auth-mini-spark { position: absolute; right: 17px; bottom: 15px; color: #aa8b60; font-size: 13px; }
.auth-aside-note { color: #b4b1a6; font-family: var(--serif); font-size: 12px; font-style: italic; text-align: center; }
.auth-aside-foot { color: #96958a; font-size: 8px; letter-spacing: .15em; }
.auth-main { position: relative; display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 80px 36px; }
.back-home { position: absolute; top: 35px; right: 43px; color: #827d72; font-size: 10px; }
.back-home:hover { color: var(--gold); }
.auth-form-wrap { width: min(390px, 100%); }
.auth-form-wrap .eyebrow { margin-bottom: 10px; }
.auth-form-wrap h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 37px; letter-spacing: -.045em; }
.auth-subtitle { margin-bottom: 32px; color: var(--muted); font-size: 12px; }
.auth-form { display: flex; flex-direction: column; gap: 17px; }
.auth-form label, .wizard-field { display: flex; flex-direction: column; gap: 7px; color: #545149; font-size: 10px; font-weight: 650; }
.auth-form input, .wizard-field input, .wizard-field select, .wizard-field textarea { width: 100%; min-height: 46px; border: 1px solid var(--line-dark); border-radius: 0; background: #fffdfa; padding: 0 13px; color: var(--ink); font-size: 12px; font-weight: 400; outline: 0; }
.auth-form input:focus, .wizard-field input:focus, .wizard-field select:focus, .wizard-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(168, 134, 84, .13); }
.auth-form input::placeholder, .wizard-field input::placeholder, .wizard-field textarea::placeholder { color: #aca79b; }
.auth-form [hidden] { display: none; }
.auth-submit { min-height: 50px; margin-top: 3px; }
.auth-error { min-height: 14px; margin: -4px 0; color: #a84e49; font-size: 11px; }
.auth-toggle { margin: 22px 0 0; color: var(--muted); font-size: 11px; text-align: center; }
.auth-toggle a { color: #826a48; text-decoration: underline; text-underline-offset: 3px; }
.auth-privacy { margin-top: 44px; color: #aaa59a; font-size: 9px; text-align: center; }

/* Dashboard */
.app-body { min-height: 100vh; background: #f5f2eb; }
.app-shell { display: grid; min-height: 100vh; grid-template-columns: 245px minmax(0,1fr); }
.app-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; border-right: 1px solid #e5dfd3; background: #fbf9f4; padding: 27px 17px 15px; }
.app-sidebar .brand { margin: 0 0 33px 11px; font-size: 22px; }
.sidebar-workspace { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fffdf9; padding: 10px 8px; }
.workspace-avatar, .account-avatar { display: grid; width: 31px; height: 31px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e7ddcc; color: #67583f; font-family: var(--serif); font-size: 13px; }
.sidebar-workspace strong, .sidebar-workspace small { display: block; }
.sidebar-workspace strong { font-size: 10px; font-weight: 650; }
.sidebar-workspace small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.sidebar-nav-label { margin: 31px 10px 10px; color: #999387; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.app-nav { display: flex; flex-direction: column; gap: 4px; }
.app-nav a { display: flex; min-height: 39px; align-items: center; gap: 10px; border-radius: 2px; padding: 0 11px; color: #6e6a60; font-size: 10px; }
.app-nav a:hover { background: #f2eee5; }
.app-nav a.active { background: #ede8de; color: #413d34; font-weight: 650; }
.nav-icon { width: 17px; color: #9d8b6a; font-size: 15px; text-align: center; }
.nav-soon { margin-left: auto; color: #aaa496; font-size: 7px; letter-spacing: .08em; }
.sidebar-bottom { margin-top: auto; }
.sidebar-help { display: flex; flex-direction: column; align-items: start; border: 1px solid #e8e0d1; background: #f5f1e8; padding: 13px; }
.help-icon { margin-bottom: 6px; color: var(--gold); font-size: 17px; }
.sidebar-help strong { font-size: 10px; }
.sidebar-help small { margin: 3px 0 9px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.sidebar-help a { color: #8a7049; font-size: 8px; font-weight: 650; }
.sign-out { width: 100%; min-height: 40px; margin-top: 9px; border: 0; background: transparent; color: #777268; cursor: pointer; font-size: 10px; text-align: left; }
.sign-out:hover { color: #a4544c; }
.sign-out span { margin: 0 7px 0 9px; }
.app-main { min-width: 0; }
.app-topbar { display: flex; height: 66px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8e2d7; background: #faf8f3; padding: 0 clamp(25px, 4vw, 54px); }
.breadcrumb { color: #706c62; font-size: 10px; }
.breadcrumb span { margin: 0 8px; color: #bbb4a6; }
.topbar-account { display: flex; align-items: center; gap: 19px; }
.topbar-date { color: #8b867b; font-size: 9px; }
.account-avatar { width: 30px; height: 30px; border: 1px solid #d6c6ac; background: #efe6d6; }
.sidebar-toggle { display: none; }
.dashboard-content { width: min(1170px, 100%); margin-inline: auto; padding: 43px clamp(25px, 4vw, 54px) 70px; }
.dashboard-welcome { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 33px; }
.dashboard-welcome .eyebrow { margin-bottom: 13px; }
.dashboard-welcome h1 { margin: 0 0 11px; font-family: var(--serif); font-size: clamp(38px, 4.4vw, 55px); letter-spacing: -.055em; line-height: 1.02; }
.welcome-copy { margin: 0; color: var(--muted); font-size: 11px; }
.button-create { min-height: 47px; flex: 0 0 auto; padding-inline: 17px; font-size: 10px; }
.plus-mark { font-size: 18px; font-weight: 300; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.stat-card { min-height: 126px; border: 1px solid #e7e1d7; background: #fbf9f4; padding: 17px 17px 14px; }
.stat-card > span { display: block; color: #8d887d; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.stat-card strong { display: block; margin: 9px 0 2px; color: #35342e; font-family: var(--serif); font-size: 32px; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.stat-card small { color: #969084; font-size: 8px; }
.stat-card-accent { border-color: #e0d3bd; background: #f3ecdf; }
.stat-card-accent strong { font-size: 25px; }
.events-section { margin-top: 49px; }
.events-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.events-section-head .eyebrow { margin-bottom: 7px; }
.events-section-head h2 { margin: 0; font-family: var(--serif); font-size: 27px; letter-spacing: -.04em; }
.event-search { display: flex; width: min(245px, 40%); min-height: 37px; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fbf9f4; padding: 0 10px; color: #8d8679; }
.event-search span { font-size: 17px; }
.event-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 9px; }
.event-search input::placeholder { color: #a29c90; }
.event-tabs { display: flex; gap: 22px; margin-top: 25px; border-bottom: 1px solid #e2dcd0; }
.event-tab { position: relative; display: flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 0 0 11px; color: #898478; cursor: pointer; font-size: 9px; }
.event-tab span { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 10px; background: #eae5dc; padding: 0 5px; color: #777166; font-size: 8px; }
.event-tab.active { color: #34332e; font-weight: 650; }
.event-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--gold); content: ''; }
.event-list { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.event-card { display: grid; grid-template-columns: 112px minmax(180px,1.2fr) minmax(100px,.7fr) minmax(95px,.55fr) auto; align-items: center; gap: 18px; border: 1px solid #e7e1d7; background: #fbf9f4; padding: 12px; transition: box-shadow .2s ease, transform .2s ease; }
.event-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-1px); }
.event-card-art { position: relative; display: flex; min-height: 79px; align-items: center; justify-content: center; overflow: hidden; background: #e6dece; }
.event-card-art[class*="palette-"] { background: var(--template-paper, #e6dece); }
.event-card-art::before { position: absolute; inset: 8px 20px; border: 1px solid rgba(168, 134, 84, .4); background: rgba(255, 253, 248, .72); content: ''; }
.event-card-art span { position: relative; z-index: 1; max-width: 78%; color: var(--template-ink,#413a2e); font-family: var(--serif); font-size: 13px; text-align: center; }
.event-card-copy .event-category { display: block; margin-bottom: 3px; color: #9a896c; font-size: 7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.event-card-copy h3 { overflow: hidden; margin: 0 0 4px; font-family: var(--serif); font-size: 18px; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.event-card-copy p, .event-card-data small { margin: 0; color: #8a857a; font-size: 9px; }
.event-card-data { display: flex; flex-direction: column; gap: 5px; }
.event-card-data strong { font-size: 9px; font-weight: 600; }
.event-status { display: inline-flex; width: fit-content; align-items: center; gap: 5px; border-radius: 20px; background: #e8eee5; padding: 5px 8px; color: #54704d; font-size: 8px; font-weight: 650; }
.event-status::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ''; }
.event-status.draft { background: #eee9de; color: #84765a; }
.event-card-actions { display: flex; gap: 6px; }
.event-card-actions .button { min-height: 32px; padding-inline: 10px; font-size: 8px; }
.event-card-actions { flex-wrap: wrap; }
.event-card-actions .button { white-space: nowrap; }
.event-draft-note { max-width: 175px; color: var(--muted); font-size: 10px!important; line-height: 1.45; }
.event-card-actions .icon-button { width: 32px; height: 32px; }
.dashboard-loading, .empty-state, .no-results { display: flex; min-height: 185px; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #d9d1c2; color: #8a857a; text-align: center; }
.dashboard-loading { flex-direction: row; gap: 10px; border-style: solid; font-size: 10px; }
.loading-spinner { width: 17px; height: 17px; border: 2px solid #e1d8c8; border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
.empty-icon { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 12px; border: 1px solid #dfd3c0; border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 22px; }
.empty-state h3 { margin: 0 0 5px; color: #4c493f; font-family: var(--serif); font-size: 23px; }
.empty-state p, .no-results { font-size: 10px; }
.empty-state p { margin: 0 0 15px; }
.no-results { min-height: 100px; }
.mobile-only { display: none; }

/* Event wizard and details */
.modal-shell { width: 100%; max-width: none; height: 100%; max-height: none; border: 0; background: rgba(40, 39, 33, .5); padding: 24px; }
.modal-shell[open] { display: grid; place-items: center; animation: fade-in .15s ease-out; }
.modal-shell::backdrop { background: transparent; }
.modal-card { width: min(580px, 100%); max-height: min(760px, calc(100vh - 48px)); overflow: auto; border: 1px solid #e4ddcf; background: #fbf9f4; box-shadow: var(--shadow); padding: 28px; }
.modal-wide { width: min(760px, 100%); }
.modal-header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.modal-header .eyebrow { margin-bottom: 5px; }
.modal-header h2 { margin: 0; font-family: var(--serif); font-size: 29px; letter-spacing: -.04em; }
.icon-button { display: grid; width: 35px; height: 35px; flex: 0 0 auto; place-items: center; border: 1px solid var(--line); background: transparent; color: #6f6a60; cursor: pointer; font-size: 21px; font-weight: 300; line-height: 1; }
.icon-button:hover { border-color: var(--ink-soft); color: var(--ink); }
.wizard-stepper { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 21px; border-bottom: 1px solid var(--line); }
.wizard-step { position: relative; display: flex; gap: 8px; align-items: center; padding: 0 0 12px; color: #9a958a; font-size: 9px; }
.wizard-step span { display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #d8d0c1; border-radius: 50%; color: inherit; font-size: 8px; }
.wizard-step.active { color: #524b3e; font-weight: 650; }
.wizard-step.active span, .wizard-step.complete span { border-color: #9f855c; background: #9f855c; color: #fffdf9; }
.wizard-step.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--gold); content: ''; }
.wizard-body { min-height: 282px; }
.wizard-prompt { margin: 0 0 13px; color: #5f5b52; font-family: var(--serif); font-size: 19px; }
.category-picker { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; max-height: 300px; overflow: auto; padding: 1px 2px 4px 1px; }
.category-option { display: flex; min-height: 73px; flex-direction: column; align-items: start; justify-content: center; gap: 4px; border: 1px solid var(--line); background: #fffdf9; padding: 9px; cursor: pointer; text-align: left; }
.category-option:hover, .category-option.selected { border-color: #a99169; background: #f6f0e5; }
.category-option .category-option-icon { color: var(--gold); font-family: var(--serif); font-size: 15px; }
.category-option strong { font-size: 9px; font-weight: 600; }
.category-group-title { grid-column: 1/-1; margin: 12px 0 0; color: #969084; font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.wizard-fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; padding: 0 1px 17px; }
.wizard-field { gap: 6px; }
.wizard-field.full { grid-column: 1/-1; }
.wizard-field textarea { min-height: 80px; padding-top: 10px; resize: vertical; }
.wizard-field select { cursor: pointer; }
.wizard-help { margin: 8px 0 0; color: #918b80; font-size: 9px; }
.template-picker { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; max-height: 364px; overflow: auto; padding: 1px 2px 4px 1px; }
.template-option { overflow: hidden; border: 1px solid var(--line); background: #fffdf9; padding: 0; cursor: pointer; text-align: left; }
.template-option:hover, .template-option.selected { border-color: #9d855d; box-shadow: 0 0 0 1px #9d855d; }
.template-option-art { position: relative; display: flex; min-height: 115px; align-items: center; justify-content: center; overflow: hidden; background: var(--template-paper,#e5ddd0); }
.template-option-art::before { position: absolute; inset: 10px 23px; border: 1px solid rgba(168,134,84,.4); background: rgba(255,253,248,.72); content: ''; }
.template-option-art span { position: relative; z-index: 1; max-width: 76%; color: var(--template-ink,#403a30); font-family: var(--serif); font-size: 17px; text-align: center; }
.template-option-art.design-editorial::before { inset: 8px 27px; transform: rotate(2deg); }
.template-option-art.design-modern::before, .template-option-art.design-professional::before, .template-option-art.design-contemporary::before { inset: 0 auto 0 0; width: 33%; border: 0; }
.template-option-art.design-modern span, .template-option-art.design-professional span, .template-option-art.design-contemporary span { margin-left: 16%; font-family: var(--sans); font-weight: 550; }
.template-option-art.design-botanical::before, .template-option-art.design-floral::before { inset: 8px 18px; border-radius: 48% 48% 0 0; border-style: dashed; }
.template-option-art.design-luxury::before, .template-option-art.design-classic::before { inset: 8px; border: 2px double var(--template-accent); background: transparent; }
.template-option-art.design-minimal::before, .template-option-art.design-warm-minimal::before { inset: 5px 10px; border-width: 0 0 1px; background: transparent; }
.template-option-art.design-playful::before, .template-option-art.design-celebration::before { inset: 12px 16px; border-radius: 16px 4px 18px 5px; transform: rotate(-3deg); }
.template-option-text { display: flex; flex-direction: column; gap: 2px; padding: 8px 9px; }
.template-option-text strong { font-size: 9px; font-weight: 650; }
.template-option-text small { color: var(--muted); font-size: 8px; }
.customization-editor { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; margin-top: 16px; border: 1px solid var(--line); background: #f5f1e8; padding: 14px; }
.customization-controls { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; align-content: start; }
.customization-controls > .eyebrow { grid-column: 1/-1; margin: 0; }
.customization-controls .wizard-field { min-width: 0; }
.customization-controls .wizard-field input[type="color"] { min-height: 39px; padding: 4px; cursor: pointer; }
.customization-controls .wizard-field select { min-height: 39px; font-size: 9px; }
.customization-controls .wizard-field.full { grid-column: 1/-1; }
.customization-toggles { display: flex; grid-column: 1/-1; flex-wrap: wrap; gap: 7px 13px; }
.customization-toggles label { display: flex; align-items: center; gap: 5px; color: #696459; font-size: 8px; }
.customization-toggles input { accent-color: var(--gold); }
.customization-live { display: flex; flex-direction: column; gap: 8px; }
.customization-live > .eyebrow { margin: 0; }
.preview-device-switch { display: flex; align-self: start; gap: 3px; border: 1px solid var(--line); background: #fffdf9; padding: 3px; }
.preview-device-switch button { min-height: 25px; border: 0; background: transparent; padding: 0 8px; color: #7c766b; cursor: pointer; font-size: 7px; }
.preview-device-switch button.active { background: #e9e2d6; color: #413c32; font-weight: 650; }
.editor-preview { display: flex; min-height: 180px; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid color-mix(in srgb, var(--invite-accent), transparent 40%); background: var(--template-paper,#eee6d8); padding: 18px; color: var(--template-ink,#403a30); text-align: center; }
.editor-preview.preview-mobile { width: 150px; min-height: 210px; align-self: center; border: 5px solid color-mix(in srgb, var(--invite-accent), #393630 20%); border-radius: 13px; padding: 15px 9px; box-shadow: 0 8px 18px rgba(48,40,28,.12); }
.editor-preview small { color: var(--invite-accent); font-size: 7px; letter-spacing: .13em; text-transform: uppercase; }
.editor-preview strong { color: var(--template-ink,#403a30); font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.1; }
.editor-preview i { color: var(--invite-accent); font-family: var(--serif); font-size: 11px; }
.editor-preview > span { color: #797266; font-size: 8px; }
.editor-preview.design-editorial { justify-content: flex-end; align-items: flex-start; text-align: left; }
.editor-preview.design-modern, .editor-preview.design-professional, .editor-preview.design-contemporary { justify-content: flex-end; align-items: flex-end; text-align: right; background: linear-gradient(90deg,color-mix(in srgb,var(--template-accent),transparent 82%) 0 30%,var(--template-paper,#eee6d8) 30% 100%); }
.editor-preview.design-modern strong, .editor-preview.design-professional strong, .editor-preview.design-contemporary strong { font-family: var(--sans); }
.editor-preview.design-minimal, .editor-preview.design-warm-minimal { justify-content: center; align-items: flex-start; border-width: 0 0 1px; background: transparent; text-align: left; }
.editor-preview.design-romantic, .editor-preview.design-gentle { border-radius: 45% 45% 5px 5px; }
.editor-preview.design-botanical, .editor-preview.design-floral { background: radial-gradient(circle at 82% 72%,color-mix(in srgb,var(--template-accent),transparent 82%) 0 18%,transparent 19%),var(--template-paper,#eee6d8); }
.editor-preview.design-luxury, .editor-preview.design-classic { border: 2px double var(--invite-accent); }
.editor-preview.design-playful, .editor-preview.design-celebration { border-radius: 28px 6px 24px 8px; transform: rotate(-1.3deg); }
.typeface-editorial h1, .typeface-editorial .editor-preview strong { font-family: 'Baskerville Old Face', 'Palatino Linotype', Georgia, serif; letter-spacing: .01em; }
.typeface-modern h1, .typeface-modern .editor-preview strong { font-family: 'Aptos', 'Segoe UI', Arial, sans-serif; font-size: .9em; font-weight: 500; letter-spacing: -.035em; }
.layout-framed .invite-cover { border: 8px solid var(--invite-paper); outline: 1px solid color-mix(in srgb, var(--invite-accent), transparent 45%); outline-offset: -18px; }
.layout-framed .invite-copy { border-right: 1px solid color-mix(in srgb, var(--invite-accent), transparent 73%); border-left: 1px solid color-mix(in srgb, var(--invite-accent), transparent 73%); }
.layout-minimal .invite-cover { min-height: 105px; }
.layout-minimal .cover-ornament { font-size: 48px; opacity: .25; }
.layout-minimal .invite-copy { padding-top: 27px; }
.editor-preview.layout-framed { outline: 1px solid color-mix(in srgb, var(--invite-accent), transparent 45%); outline-offset: -8px; }
.editor-preview.layout-minimal { min-height: 155px; border-width: 0 0 1px; background: transparent; }
.typeface-editorial .editor-preview strong { font-family: 'Baskerville Old Face', 'Palatino Linotype', Georgia, serif; }
.typeface-modern .editor-preview strong { font-family: 'Aptos', 'Segoe UI', Arial, sans-serif; font-weight: 500; }
.wizard-footer { display: flex; justify-content: space-between; gap: 9px; margin-top: 15px; border-top: 1px solid var(--line); padding-top: 15px; }
.wizard-footer .button { min-height: 39px; font-size: 9px; }
.wizard-footer .button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.detail-content { padding-top: 21px; }
.detail-event-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid var(--line); background: #f7f3eb; padding: 14px; }
.detail-event-summary strong, .detail-event-summary small { display: block; }
.detail-event-summary strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.detail-event-summary small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.rsvp-list { display: flex; max-height: 370px; flex-direction: column; gap: 8px; overflow: auto; margin-top: 12px; }
.rsvp-person { display: flex; align-items: start; gap: 10px; border-bottom: 1px solid var(--line); padding: 10px 1px; }
.rsvp-person-avatar { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e9dfce; color: #705f42; font-family: var(--serif); font-size: 12px; }
.rsvp-person-info { min-width: 0; flex: 1; }
.rsvp-person-info strong, .rsvp-person-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rsvp-person-info strong { font-size: 10px; }
.rsvp-person-info small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.rsvp-person-status { color: #64805b; font-size: 8px; font-weight: 650; }
.rsvp-person-status.declined { color: #99746d; }
.detail-empty { display: flex; min-height: 150px; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); text-align: center; }
.detail-empty strong { margin: 9px 0 4px; color: #555147; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.detail-empty span { font-size: 9px; }
.planning-content { padding-top: 18px; }
.planning-event-picker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #827c70; font-size: 9px; }
.planning-event-picker select { min-width: 0; max-width: min(420px,70%); min-height: 34px; border: 1px solid var(--line); background: #fffdf9; padding: 0 9px; color: #4b473f; font-size: 9px; }
.planning-totals { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.planning-totals article { display: flex; min-width: 0; flex-direction: column; gap: 5px; border: 1px solid var(--line); background: #f6f2e9; padding: 11px; }
.planning-totals span { color: #8b8578; font-size: 7px; font-weight: 700; letter-spacing: .12em; }
.planning-totals strong { overflow: hidden; color: #403d35; font-family: var(--serif); font-size: 16px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.planning-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.planning-section { min-width: 0; border: 1px solid var(--line); background: #fffdf9; padding: 13px; }
.planning-section > header { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.planning-section > header .eyebrow { margin-bottom: 4px; font-size: 7px; }
.planning-section > header h3 { margin: 0; color: #403d35; font-family: var(--serif); font-size: 21px; }
.planning-count { color: #888275; font-size: 8px; }
.planning-form { display: flex; flex-direction: column; gap: 7px; margin-bottom: 11px; }
.planning-form input, .planning-form select { width: 100%; min-width: 0; min-height: 33px; border: 1px solid var(--line); border-radius: 0; background: #fbf9f4; padding: 0 8px; color: #4c493f; font-size: 8px; }
.planning-form input::placeholder { color: #a49d91; }
.planning-form-row { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 6px; }
.planning-form-row label { display: flex; flex-direction: column; gap: 3px; color: #8b8578; font-size: 7px; }
.planning-form .button { min-height: 33px; padding-inline: 9px; font-size: 8px; }
.planning-task-list, .planning-budget-list { display: flex; max-height: 300px; flex-direction: column; gap: 6px; overflow: auto; }
.planning-task { display: flex; align-items: center; justify-content: space-between; gap: 9px; border-top: 1px solid #eee8de; padding: 8px 0 2px; }
.planning-task-main { display: flex; min-width: 0; align-items: start; gap: 7px; }
.task-check { display: grid; width: 21px; height: 21px; flex: 0 0 auto; place-items: center; border: 1px solid #ded5c7; border-radius: 50%; color: #9b8765; font-size: 9px; }
.task-check.done { border-color: #91a187; background: #e9efe6; color: #5c7754; }
.planning-task-main > div { min-width: 0; }
.planning-task-main strong, .planning-task-main small, .planning-task-main .task-meta { display: block; overflow: hidden; text-overflow: ellipsis; }
.planning-task-main strong { color: #48443b; font-size: 8px; }
.planning-task-main small { margin-top: 2px; color: #817b6f; font-size: 7px; }
.planning-task-main .task-meta { margin-top: 3px; color: #a19a8e; font-size: 7px; }
.planning-task-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 5px; }
.planning-task-actions select, .planning-budget-fields select { min-height: 27px; border: 1px solid var(--line); background: #fbf9f4; padding: 0 5px; color: #625d52; font-size: 7px; }
.planning-task-actions .icon-button, .planning-budget-top .icon-button { width: 26px; height: 26px; font-size: 16px; }
.planning-budget-item { border-top: 1px solid #eee8de; padding: 8px 0 3px; }
.planning-budget-top { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.planning-budget-top strong, .planning-budget-top small { display: block; }
.planning-budget-top strong { color: #48443b; font-size: 8px; }
.planning-budget-top small { margin-top: 2px; color: #8a8377; font-size: 7px; }
.planning-budget-fields { display: grid; grid-template-columns: 1fr 1fr auto auto; align-items: center; gap: 5px; margin-top: 6px; }
.planning-budget-fields > label { color: #888174; font-size: 7px; }
.planning-budget-fields input { display: block; width: 100%; min-width: 0; min-height: 26px; border: 1px solid var(--line); background: #fbf9f4; padding: 0 5px; color: #555044; font-size: 7px; }
.planning-budget-fields .button { min-height: 27px; padding-inline: 7px; font-size: 7px; }
.guest-manager { margin-top: 16px; }
.guest-manager-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.guest-manager-head strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.guest-manager-head small { color: var(--muted); font-size: 8px; }
.guest-manager-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.guest-manager-actions .button { min-height: 31px; padding-inline: 10px; font-size: 8px; }
.guest-manager-actions input[type="file"] { display: none; }
.guest-add-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 7px; margin-bottom: 9px; }
.guest-add-form input { min-width: 0; height: 34px; border: 1px solid var(--line-dark); background: #fffdf9; padding: 0 9px; font-size: 9px; }
.guest-add-form button { min-height: 34px; padding-inline: 10px; font-size: 8px; }
.guest-list { display: flex; max-height: 335px; flex-direction: column; gap: 6px; overflow: auto; }
.guest-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; border: 1px solid var(--line); background: #fffdf9; padding: 9px; }
.guest-row-main { display: flex; min-width: 0; align-items: center; gap: 9px; }
.guest-row-copy { min-width: 0; flex: 1; }
.guest-row-copy strong, .guest-row-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guest-row-copy strong { font-size: 9px; }
.guest-row-copy small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.guest-status { display: inline-flex; align-items: center; border-radius: 16px; background: #ece8df; padding: 4px 7px; color: #82755b; font-size: 7px; font-weight: 650; white-space: nowrap; }
.guest-status.attending { background: #e8eee5; color: #54704d; }
.guest-status.declined { background: #f1e6e2; color: #96665c; }
.guest-row-actions { display: flex; align-items: center; justify-content: end; gap: 5px; }
.guest-row-actions .button { min-height: 27px; padding-inline: 8px; font-size: 7px; }
.guest-row-actions .button:disabled { cursor: not-allowed; opacity: .5; }
.guest-checkin-label { color: #54704d; font-size: 7px; white-space: nowrap; }
.guest-import-message { min-height: 14px; margin: -2px 0 7px; color: #54704d; font-size: 8px; }
.guest-list-empty { padding: 16px 9px; color: var(--muted); font-size: 9px; text-align: center; }
.published-link { display: flex; align-items: center; gap: 8px; margin-top: 13px; border: 1px solid var(--line); background: #fffdf9; padding: 9px; }
.published-link code { overflow: hidden; flex: 1; color: #615a4d; font-family: var(--sans); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.published-link button { min-height: 29px; border: 1px solid var(--line-dark); background: transparent; padding: 0 9px; cursor: pointer; font-size: 8px; }
.toast { position: fixed; right: 24px; bottom: 22px; z-index: 20; max-width: min(370px, calc(100vw - 48px)); border: 1px solid #d4c8b2; background: #fbf9f4; box-shadow: var(--shadow-soft); padding: 12px 16px; color: #504b40; font-size: 10px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.toast.visible { opacity: 1; transform: translateY(0); }

/* Public invitation */
.invite-body { --invite-paper: #f4efe5; --invite-ink: #39352e; --invite-accent: #a58d67; min-height: 100vh; background: #ebe7de; color: var(--invite-ink); }
.invite-body.palette-champagne { --invite-paper: #f2e7d1; --invite-accent: #a17c48; }
.invite-body.palette-noir { --invite-paper: #33332f; --invite-ink: #efe8dc; --invite-accent: #c4a574; background: #292a27; }
.invite-body.palette-garden, .invite-body.palette-sage { --invite-paper: #e6ebdf; --invite-accent: #70836c; }
.invite-body.palette-rose { --invite-paper: #f0e2de; --invite-accent: #ae7670; }
.invite-body.palette-sand { --invite-paper: #ece5d8; --invite-accent: #9d896a; }
.invite-body.palette-burgundy { --invite-paper: #54363a; --invite-ink: #f3eadc; --invite-accent: #d2b182; background: #2f2928; }
.invite-body.palette-blue, .invite-body.palette-navy { --invite-paper: #e2e9eb; --invite-accent: #627e8c; }
.invite-body.palette-gold { --invite-paper: #eee5cc; --invite-accent: #a98b53; }
.invite-body.palette-moon { --invite-paper: #ebe7ee; --invite-accent: #897b94; }
.invite-body.palette-terracotta { --invite-paper: #f0e0d6; --invite-accent: #b87961; }
.invite-body.template-style-editorial .invite-cover { min-height: 205px; background: linear-gradient(112deg, color-mix(in srgb, var(--invite-paper), var(--invite-accent) 14%), var(--invite-paper) 62%); }
.invite-body.template-style-editorial .cover-ornament { align-self: flex-end; margin-right: 22%; opacity: .2; }
.invite-body.template-style-editorial .invite-copy h1 { font-size: clamp(43px, 8.5vw, 68px); letter-spacing: -.065em; }
.invite-body.template-style-botanical .invite-cover, .invite-body.template-style-floral .invite-cover { min-height: 220px; background: radial-gradient(ellipse at 82% 65%, color-mix(in srgb, var(--invite-accent), transparent 82%) 0 24%, transparent 25%), radial-gradient(ellipse at 20% 35%, color-mix(in srgb, var(--invite-accent), transparent 88%) 0 19%, transparent 20%), var(--invite-paper); }
.invite-body.template-style-botanical .invite-cover::before, .invite-body.template-style-floral .invite-cover::before { inset: 14px 24px; border-style: dashed; border-radius: 47% 47% 0 0; }
.invite-body.template-style-botanical .cover-ornament, .invite-body.template-style-floral .cover-ornament { font-size: 100px; opacity: .35; }
.invite-body.template-style-modern .invite-copy, .invite-body.template-style-professional .invite-copy, .invite-body.template-style-contemporary .invite-copy { max-width: none; margin: 0 34px; text-align: left; }
.invite-body.template-style-modern .fine-rule, .invite-body.template-style-professional .fine-rule, .invite-body.template-style-contemporary .fine-rule { margin-left: 0; }
.invite-body.template-style-modern .invite-details, .invite-body.template-style-professional .invite-details, .invite-body.template-style-contemporary .invite-details { justify-content: flex-start; }
.invite-body.template-style-modern .invite-cover, .invite-body.template-style-professional .invite-cover, .invite-body.template-style-contemporary .invite-cover { align-items: flex-end; padding-right: 22%; background: linear-gradient(90deg, color-mix(in srgb, var(--invite-accent), transparent 76%) 0 31%, var(--invite-paper) 31% 100%); }
.invite-body.template-style-modern .invite-cover::before, .invite-body.template-style-professional .invite-cover::before, .invite-body.template-style-contemporary .invite-cover::before { inset: 14px 10%; border-left: 0; }
.invite-body.template-style-modern .cover-ornament, .invite-body.template-style-professional .cover-ornament, .invite-body.template-style-contemporary .cover-ornament { align-self: flex-end; margin-right: 4%; font-size: 54px; opacity: .22; }
.invite-body.template-style-minimal .invite-cover, .invite-body.template-style-warm-minimal .invite-cover { min-height: 112px; background: transparent; }
.invite-body.template-style-minimal .invite-cover::before, .invite-body.template-style-warm-minimal .invite-cover::before { inset: auto 14% 0; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--invite-accent), transparent 48%); }
.invite-body.template-style-minimal .cover-ornament, .invite-body.template-style-warm-minimal .cover-ornament { font-size: 38px; opacity: .2; }
.invite-body.template-style-minimal .invite-copy, .invite-body.template-style-warm-minimal .invite-copy { max-width: 580px; text-align: left; }
.invite-body.template-style-minimal .fine-rule, .invite-body.template-style-warm-minimal .fine-rule { margin-left: 0; }
.invite-body.template-style-luxury .invite-cover, .invite-body.template-style-classic .invite-cover { min-height: 210px; }
.invite-body.template-style-luxury .invite-cover::before, .invite-body.template-style-classic .invite-cover::before { inset: 9px; border: 2px double color-mix(in srgb, var(--invite-accent), transparent 30%); }
.invite-body.template-style-luxury .invite-copy, .invite-body.template-style-classic .invite-copy { max-width: 560px; }
.invite-body.template-style-romantic .invite-cover, .invite-body.template-style-gentle .invite-cover { min-height: 205px; }
.invite-body.template-style-romantic .invite-cover::before, .invite-body.template-style-gentle .invite-cover::before { inset: 15px 22%; border-radius: 48% 48% 44% 44%; }
.invite-body.template-style-playful .invite-cover, .invite-body.template-style-celebration .invite-cover { background: radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--invite-accent), transparent 82%) 0 16%, transparent 17%), radial-gradient(circle at 83% 76%, color-mix(in srgb, var(--invite-accent), transparent 83%) 0 20%, transparent 21%), var(--invite-paper); }
.invite-body.template-style-playful .invite-cover::before, .invite-body.template-style-celebration .invite-cover::before { inset: 17px 12%; border-radius: 36px 11px 32px 14px; transform: rotate(-1deg); }
.invite-page { width: min(720px, calc(100% - 38px)); margin-inline: auto; padding: 25px 0 31px; }
.invite-topbar { display: flex; align-items: center; justify-content: space-between; padding: 0 3px 17px; }
.brand-small { gap: 7px; font-size: 18px; }
.brand-small .brand-mark { width: 23px; height: 23px; font-size: 15px; }
.invite-edition { color: #8d877a; font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.invite-card { overflow: hidden; border: 1px solid rgba(173, 157, 127, .38); background: var(--invite-paper); box-shadow: 0 20px 60px rgba(54, 47, 37, .13); }
.invite-cover { position: relative; display: flex; min-height: 175px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: color-mix(in srgb, var(--invite-paper), var(--invite-accent) 8%); }
.invite-cover::before { position: absolute; inset: 12px; border: 1px solid color-mix(in srgb, var(--invite-accent), transparent 56%); content: ''; }
.cover-kicker, .cover-bottom { position: absolute; z-index: 1; color: var(--invite-accent); font-size: 7px; letter-spacing: .19em; text-transform: uppercase; }
.cover-kicker { top: 27px; }
.cover-bottom { bottom: 24px; opacity: .75; }
.cover-ornament { position: relative; color: var(--invite-accent); font-size: 76px; opacity: .45; }
.invite-copy { max-width: 515px; margin: 0 auto; padding: 39px 42px 42px; text-align: center; }
.invite-copy .eyebrow { margin-bottom: 10px; color: var(--invite-accent); }
.invite-copy h1 { margin: 0; color: var(--invite-ink); font-family: var(--serif); font-size: clamp(38px, 8vw, 60px); letter-spacing: -.055em; line-height: 1.06; }
.invite-host { margin: 11px 0 0; color: var(--invite-accent); font-family: var(--serif); font-size: 16px; font-style: italic; }
.invite-greeting { margin: 19px 0 -13px; color: var(--invite-accent); font-family: var(--serif); font-size: 13px; font-style: italic; }
.invite-body.typeface-editorial .invite-copy h1, .invite-body.typeface-editorial .section-heading h2 { font-family: 'Baskerville Old Face', 'Palatino Linotype', Georgia, serif; letter-spacing: .01em; }
.invite-body.typeface-modern .invite-copy h1, .invite-body.typeface-modern .section-heading h2 { font-family: 'Aptos', 'Segoe UI', Arial, sans-serif; font-size: .92em; font-weight: 500; letter-spacing: -.04em; }
.invite-body.layout-framed .invite-cover { border: 8px solid var(--invite-paper); outline: 1px solid color-mix(in srgb, var(--invite-accent), transparent 45%); outline-offset: -18px; }
.invite-body.layout-framed .invite-copy { border-right: 1px solid color-mix(in srgb, var(--invite-accent), transparent 73%); border-left: 1px solid color-mix(in srgb, var(--invite-accent), transparent 73%); }
.invite-body.layout-minimal .invite-cover { min-height: 105px; }
.invite-body.layout-minimal .cover-ornament { font-size: 48px; opacity: .25; }
.invite-body.layout-minimal .invite-copy { padding-top: 27px; }
.fine-rule { display: block; width: 40px; height: 1px; margin: 23px auto; background: var(--invite-accent); }
.invite-introduction { max-width: 440px; margin: 0 auto; color: color-mix(in srgb, var(--invite-ink), transparent 23%); font-family: var(--serif); font-size: 15px; line-height: 1.65; }
.invite-details { display: flex; justify-content: center; gap: 32px; margin-top: 30px; border-top: 1px solid color-mix(in srgb, var(--invite-accent), transparent 76%); border-bottom: 1px solid color-mix(in srgb, var(--invite-accent), transparent 76%); padding: 18px 0; text-align: left; }
.invite-details > div { display: flex; min-width: 115px; flex-direction: column; gap: 3px; }
.invite-details strong, .invite-details time { color: var(--invite-ink); font-family: var(--serif); font-size: 12px; font-weight: 400; }
.invite-details span:not(.detail-label) { color: #8d877a; font-size: 9px; }
.detail-label { color: var(--invite-accent); font-size: 7px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rsvp-section { border-top: 1px solid color-mix(in srgb, var(--invite-accent), transparent 76%); background: color-mix(in srgb, var(--invite-paper), white 36%); padding: 37px 42px 42px; }
.section-heading { margin-bottom: 19px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 6px; color: var(--invite-accent); }
.section-heading h2 { margin: 0 0 4px; font-family: var(--serif); font-size: 31px; letter-spacing: -.04em; }
.section-heading p:last-child { margin: 0; color: #8b8579; font-size: 9px; }
.rsvp-form { display: grid; max-width: 430px; grid-template-columns: 1fr 1fr; gap: 13px; margin-inline: auto; }
.rsvp-form > label:not(.honeypot) { display: flex; flex-direction: column; gap: 6px; color: #5b574f; font-size: 9px; font-weight: 650; }
.rsvp-form input:not([type="radio"]):not([type="checkbox"]), .rsvp-form select, .rsvp-form textarea { width: 100%; min-height: 40px; border: 1px solid #ddd4c5; border-radius: 0; background: #fffdf9; padding: 8px 10px; color: var(--ink); font-size: 10px; outline: 0; }
.rsvp-form textarea { resize: vertical; }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { border-color: var(--invite-accent); }
.rsvp-form input::placeholder, .rsvp-form textarea::placeholder { color: #aca69b; }
.rsvp-form .optional-label { color: #9c968a; font-size: 8px; font-weight: 400; }
.attendance-field { display: flex; grid-column: 1/-1; flex-wrap: wrap; gap: 8px; border: 0; margin: 1px 0 0; padding: 0; }
.attendance-field legend { width: 100%; margin-bottom: 5px; color: #5b574f; font-size: 9px; font-weight: 650; }
.choice { position: relative; display: flex; flex: 1; align-items: center; gap: 7px; border: 1px solid #ddd4c5; background: #fffdf9; padding: 9px; color: #686257; cursor: pointer; font-size: 8px; }
.choice input { accent-color: var(--invite-accent); }
.rsvp-form > label:nth-of-type(4), .rsvp-form > label:nth-of-type(5) { grid-column: 1/-1; }
.honeypot { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.rsvp-form > .button { grid-column: 1/-1; margin-top: 2px; }
.form-message { min-height: 14px; grid-column: 1/-1; margin: -7px 0 0; color: #54704d; font-size: 9px; text-align: center; }
.form-message.error { color: #a84e49; }
.invite-footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 17px; color: #8d877a; font-size: 8px; }
.invite-body.palette-noir .invite-edition, .invite-body.palette-burgundy .invite-edition { color: #c0b7a5; }

/* QR check-in */
.checkin-body { min-height: 100vh; background: #efebe2; }
.checkin-layout { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 28px 18px; }
.checkin-layout > .brand { margin-bottom: 22px; }
.checkin-card { width: min(440px, 100%); border: 1px solid var(--line-dark); background: #fbf9f4; box-shadow: var(--shadow-soft); padding: 34px; text-align: center; }
.checkin-card .eyebrow { margin-bottom: 14px; }
.checkin-icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 15px; border: 1px solid #dfd3c0; border-radius: 50%; color: var(--gold); font-size: 22px; }
.checkin-card h1 { margin: 0 0 8px; font-family: var(--serif); font-size: 31px; letter-spacing: -.04em; line-height: 1.08; }
.checkin-copy { min-height: 34px; margin: 0 0 15px; color: var(--muted); font-size: 10px; }
.checkin-details { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 15px; padding: 14px 0; }
.checkin-details strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.checkin-details span, .checkin-details small { color: #797469; font-size: 9px; }
.checkin-card .button { margin-top: 3px; }
.checkin-card [hidden] { display: none; }
.checkin-back { display: inline-block; margin-top: 18px; color: #88754f; font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.checkin-footer { margin-top: 16px; color: #959084; font-size: 8px; }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1020px) {
  .hero { gap: 15px; }
  .hero-copy { padding-left: 7px; }
  .hero-copy h1 { font-size: clamp(53px, 6.5vw, 72px); }
  .hero-invitation { left: 45px; width: 78%; }
  .trust-strip { padding-inline: 36px; }
  .trust-strip div { gap: 22px; }
  .event-card { grid-template-columns: 95px minmax(135px,1fr) minmax(90px,.7fr) auto; gap: 13px; }
  .event-card > .event-card-data:nth-of-type(4) { display: none; }
  .event-card-actions { flex-direction: column; }
  .event-card-actions .button { min-width: 92px; }
  .app-shell { grid-template-columns: 220px minmax(0,1fr); }
  .gallery-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section-wrap { width: min(100% - 38px, 560px); }
  .section { padding: 75px 0; }
  .announcement { min-height: 32px; gap: 6px; font-size: 8px; }
  .announcement a { margin-left: 2px; }
  .site-header { position: relative; height: 67px; padding-inline: 19px; }
  .brand { font-size: 21px; }
  .mobile-menu-toggle { display: flex; width: 34px; height: 34px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; border: 1px solid var(--line); background: transparent; }
  .mobile-menu-toggle span { width: 14px; height: 1px; background: var(--ink); }
  .primary-nav { position: absolute; top: 66px; right: 0; left: 0; z-index: 10; display: none; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); background: #faf8f3; padding: 7px 19px 14px; box-shadow: var(--shadow-soft); }
  .primary-nav.open { display: flex; }
  .primary-nav a { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .nav-actions { gap: 10px; }
  .gallery-back { margin-left: 0; margin-right: auto; padding-left: 9px; font-size: 9px; }
  .nav-signin { display: none; }
  .nav-create { min-height: 36px; padding-inline: 10px; font-size: 8px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 0; padding-top: 40px; padding-bottom: 55px; }
  .hero-copy { padding: 0; }
  .hero-copy .eyebrow { font-size: 8px; }
  .hero-copy h1 { margin-bottom: 17px; font-size: clamp(50px, 14vw, 70px); }
  .hero-description { max-width: 410px; margin-bottom: 19px; font-size: 12px; }
  .hero-actions { align-items: center; gap: 4px; }
  .hero-actions .button { min-height: 45px; padding-inline: 13px; font-size: 9px; }
  .hero-note { margin-top: 25px; }
  .hero-art { width: min(430px, 100%); min-height: 465px; margin: 21px auto 0; }
  .hero-invitation { top: 14px; left: 50%; width: min(74%, 330px); min-height: 418px; transform: translateX(-50%); }
  .hero-invitation-top, .hero-invite-bottom { right: 28px; left: 28px; }
  .hero-invitation h2 { font-size: 61px; }
  .hero-backdrop { top: 43px; left: 11%; width: 78%; height: 76%; }
  .hero-side-note { right: 4px; font-size: 7px; }
  .flower-one { top: 67px; left: 2px; font-size: 77px; }
  .flower-two { right: -3px; bottom: 46px; font-size: 100px; }
  .hero-caption { right: 2px; bottom: -2px; font-size: 9px; }
  .hero-scroll { display: none; }
  .trust-strip { min-height: 79px; flex-direction: column; align-items: start; justify-content: center; gap: 9px; padding: 15px 19px; font-size: 7px; }
  .trust-strip div { width: 100%; justify-content: space-between; gap: 7px; font-size: 7px; letter-spacing: .02em; }
  .section-head, .collection-head { align-items: start; flex-direction: column; gap: 17px; }
  .section-head h2, .collection-head h2, .feature-copy h2 { font-size: 42px; }
  .section-intro { max-width: 490px; font-size: 11px; }
  .category-grid { grid-template-columns: repeat(2,1fr); gap: 8px; margin-top: 30px; }
  .category-card { min-height: 153px; padding: 14px 12px; }
  .category-icon { width: 30px; height: 30px; font-size: 14px; }
  .category-name { margin-top: 14px; font-size: 17px; }
  .category-desc { font-size: 9px; }
  .category-arrow { top: 15px; right: 12px; }
  .skeleton-category { min-height: 153px; }
  .center-link { margin-top: 25px; }
  .collection-head .button { min-height: 40px; }
  .template-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 24px; }
  .template-grid .template-card:not(:first-child) { display: none; }
  .template-art { min-height: 335px; }
  .gallery-hero { padding: 46px 0 35px; }
  .gallery-hero h1 { font-size: 49px; }
  .gallery-body { padding-top: 21px; }
  .gallery-selects { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 10px; }
  .gallery-template-card .template-art { min-height: 235px; }
  .gallery-template-card .template-art-copy strong { font-size: 24px; }
  .gallery-template-card .template-meta { padding-top: 10px; }
  .gallery-template-card .template-meta h2 { font-size: 16px; }
  .gallery-template-card .template-meta p { font-size: 8px; }
  .gallery-template-card .template-actions { flex-direction: column; gap: 5px; }
  .gallery-template-card .template-actions .button { min-height: 31px; width: 100%; font-size: 8px; }
  .gallery-pagination { gap: 9px; }
  .template-art::before { left: 20%; width: 60%; }
  .template-art::after { left: 23%; width: 54%; }
  .editorial-feature { grid-template-columns: 1fr; gap: 24px; padding-top: 74px; padding-bottom: 77px; }
  .feature-visual { min-height: 380px; order: 2; }
  .feature-frame { left: 4%; width: 76%; height: 355px; }
  .feature-frame-content strong { font-size: 39px; }
  .feature-note { right: 0; bottom: 9px; }
  .feature-copy { order: 1; }
  .feature-copy > p:not(.eyebrow) { margin-block: 15px 20px; }
  .section-quote { min-height: 300px; padding-block: 63px; }
  .section-quote blockquote { font-size: 29px; }
  .quote-sparkle { right: 7%; bottom: 18px; font-size: 27px; }
  .cta-band-inner { min-height: 360px; }
  .cta-band h2 { font-size: 43px; }
  .cta-band .button { min-height: 48px; font-size: 10px; }
  .cta-ornament { right: -30px; font-size: 180px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 29px 19px; padding-top: 38px; padding-bottom: 35px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-end { grid-column: 1/-1; align-items: start; padding-top: 13px; border-top: 1px solid #45463e; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { min-height: 100vh; padding: 80px 24px 45px; }
  .back-home { top: 23px; right: 21px; }
  .auth-form-wrap h2 { font-size: 33px; }
  .auth-privacy { margin-top: 35px; }
  .app-shell { display: block; }
  .app-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; width: 245px; height: 100dvh; box-shadow: var(--shadow); transform: translateX(-105%); transition: transform .22s ease; }
  .app-sidebar.open { transform: translateX(0); }
  .app-topbar { height: 57px; padding-inline: 17px; }
  .sidebar-toggle { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); background: transparent; color: #6c675d; font-size: 13px; }
  .breadcrumb { margin-right: auto; margin-left: 11px; font-size: 9px; }
  .topbar-account { gap: 0; }
  .topbar-date { display: none; }
  .dashboard-content { padding: 29px 17px 50px; }
  .dashboard-welcome { align-items: start; flex-direction: column; gap: 17px; margin-bottom: 22px; }
  .dashboard-welcome h1 { font-size: 42px; }
  .welcome-copy { max-width: 340px; font-size: 10px; }
  .button-create { min-height: 41px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); gap: 7px; }
  .stat-card { min-height: 102px; padding: 12px; }
  .stat-card strong { font-size: 27px; }
  .stat-card-accent strong { font-size: 21px; }
  .events-section { margin-top: 37px; }
  .events-section-head { align-items: start; flex-direction: column; gap: 12px; }
  .events-section-head h2 { font-size: 24px; }
  .event-search { width: 100%; }
  .event-tabs { gap: 17px; margin-top: 19px; }
  .event-card { grid-template-columns: 73px minmax(0,1fr) auto; gap: 10px; padding: 9px; }
  .event-card-art { min-height: 65px; }
  .event-card-art::before { inset: 6px 12px; }
  .event-card-art span { font-size: 10px; }
  .event-card-copy h3 { max-width: 100%; font-size: 15px; }
  .event-card-copy p { font-size: 8px; }
  .event-card > .event-card-data:nth-of-type(4) { display: none!important; }
  .event-card-actions { flex-direction: column; }
  .event-card-actions .button { min-width: 73px; min-height: 28px; padding-inline: 6px; font-size: 7px; }
  .event-card-actions .icon-button { width: 28px; height: 28px; }
  .modal-shell { padding: 9px; }
  .modal-card { max-height: calc(100dvh - 18px); padding: 20px 16px; }
  .modal-header h2 { font-size: 25px; }
  .wizard-stepper { margin: 19px 0 16px; }
  .wizard-step { gap: 5px; font-size: 8px; }
  .wizard-step span { width: 18px; height: 18px; }
  .wizard-body { min-height: 240px; }
  .category-picker { grid-template-columns: repeat(3,1fr); gap: 6px; max-height: 260px; }
  .category-option { min-height: 66px; padding: 7px; }
  .category-option strong { font-size: 8px; }
  .wizard-fields { gap: 10px; }
  .wizard-field { font-size: 9px; }
  .wizard-field input, .wizard-field select, .wizard-field textarea { min-height: 41px; padding-inline: 10px; font-size: 10px; }
  .template-picker { grid-template-columns: repeat(2,1fr); gap: 7px; max-height: 290px; }
  .template-option-art { min-height: 100px; }
  .template-option-art::before { inset: 8px 17px; }
  .template-option-art span { font-size: 14px; }
  .customization-editor { grid-template-columns: 1fr; gap: 13px; padding: 11px; }
  .customization-controls { gap: 8px; }
  .wizard-footer .button { padding-inline: 12px; }
  .guest-add-form { grid-template-columns: 1fr; }
  .guest-row { grid-template-columns: 1fr; }
  .guest-row-actions { flex-wrap: wrap; justify-content: start; }
  .guest-manager-head { align-items: start; flex-direction: column; gap: 3px; }
  .planning-grid { grid-template-columns: 1fr; }
  .planning-totals strong { font-size: 13px; }
  .planning-form-row { grid-template-columns: 1fr 1fr; }
  .planning-form-row .button { grid-column: 1/-1; }
  .planning-budget-fields { grid-template-columns: 1fr 1fr; }
  .planning-budget-fields .button { grid-column: 2; }
  .invite-page { width: calc(100% - 18px); padding-top: 13px; }
  .invite-topbar { padding-inline: 4px; }
  .invite-card { border-left: 0; border-right: 0; }
  .invite-cover { min-height: 132px; }
  .invite-copy { padding: 30px 20px 31px; }
  .invite-copy h1 { font-size: 42px; }
  .invite-introduction { font-size: 13px; }
  .invite-details { gap: 15px; margin-top: 21px; padding-block: 14px; }
  .invite-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .invite-details > div { min-width: 0; }
  .invite-details > div:last-child:nth-child(3) { grid-column: 1/-1; }
  .invite-details > div { min-width: 90px; }
  .invite-details strong { font-size: 10px; }
  .rsvp-section { padding: 29px 18px; }
  .section-heading h2 { font-size: 27px; }
  .rsvp-form { gap: 10px; }
  .rsvp-form > label:not(.honeypot) { font-size: 8px; }
  .choice { padding: 8px 5px; font-size: 7px; }
}
@media (max-width: 390px) {
  .section-wrap { width: calc(100% - 30px); }
  .hero-copy h1 { font-size: 47px; }
  .hero-actions .button { gap: 7px; padding-inline: 10px; font-size: 8px; }
  .hero-art { min-height: 420px; }
  .hero-invitation { min-height: 385px; }
  .hero-invitation h2 { font-size: 55px; }
  .trust-strip div { font-size: 6px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-template-card .template-art { min-height: 300px; }
  .category-grid { gap: 6px; }
  .category-card { min-height: 147px; }
  .category-name { font-size: 15px; }
  .dashboard-welcome h1 { font-size: 38px; }
  .event-card { grid-template-columns: 59px minmax(0,1fr) auto; gap: 7px; }
  .event-card-actions .button { min-width: 63px; }
  .invite-details { gap: 8px; }
  .invite-details > div { min-width: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; }
}

/* Shared finish: quiet surfaces, clear hierarchy, and consistent controls. */
.site-header { border-bottom: 1px solid rgba(203,198,186,.58); }
.brand-mark { border-color: var(--gold-soft); }
.button { border-radius: var(--radius-control); font-weight: 600; }
.button-outline { border-color: #c9c5bb; background: rgba(255,254,250,.52); }
.button-outline:hover { box-shadow: 0 4px 12px rgba(38,45,38,.07); }
.text-link, .nav-signin, .primary-nav a, .footer-column a { transition: color .18s ease; }
.category-card, .stat-card, .event-card, .planning-section, .modal-card, .template-option, .gallery-search, .gallery-selects select { border-radius: var(--radius-card); }
.category-card { background: var(--surface); box-shadow: 0 2px 9px rgba(38,45,38,.025); }
.category-card:hover { border-color: #d3c9b5; box-shadow: 0 13px 30px rgba(38,45,38,.075); }
.template-art { border-radius: 7px; }
.template-art::before { border-radius: 4px; }
.template-card, .gallery-template-card { min-width: 0; }
.template-actions .button, .gallery-template-card .template-actions .button { min-width: 102px; }
.app-sidebar { border-right-color: #32483f; background: var(--forest); color: #f3f0e7; }
.app-sidebar .brand { color: #f3f0e7; }
.app-sidebar .brand-mark { border-color: #9e926f; color: #d2bc91; }
.sidebar-workspace { border-color: #52665b; border-radius: 7px; background: #30443b; }
.sidebar-workspace strong { color: #f5f2e9; }
.sidebar-workspace small, .workspace-chevron { color: #bac5b9; }
.workspace-avatar { background: #d3c29f; color: #34453c; }
.sidebar-nav-label { color: #b3c0b5; }
.app-nav a { border-radius: 6px; color: #d0d8cf; }
.app-nav a:hover { background: #30443b; }
.app-nav a.active { background: #41584c; color: #fffdf7; }
.app-nav .nav-icon { color: #d2bc91; }
.nav-soon { color: #bdc6ba; }
.sidebar-help { border-color: #4b6055; border-radius: 7px; background: #30443b; }
.sidebar-help strong { color: #f4f0e5; }
.sidebar-help small { color: #bdc6ba; }
.sidebar-help a { color: #e2c99a; }
.sign-out { border-radius: 6px; color: #d1d9d0; }
.sign-out:hover { background: rgba(255,255,255,.06); color: #f5c7bd; }
.app-topbar { background: #fffefa; box-shadow: 0 2px 10px rgba(38,45,38,.025); }
.stat-card { border-color: #e2ded5; background: #fffefa; box-shadow: 0 5px 18px rgba(38,45,38,.035); }
.stat-card-accent { border-color: #e3d7c1; background: #f1ebdf; }
.event-card { border-color: #e1ddd4; background: #fffefa; box-shadow: 0 3px 12px rgba(38,45,38,.025); }
.event-card:hover { border-color: #d1c8b8; box-shadow: 0 10px 24px rgba(38,45,38,.07); }
.event-card-art { border-radius: 6px; }
.event-search, .auth-form input, .wizard-field input, .wizard-field select, .wizard-field textarea, .rsvp-form input:not([type="radio"]):not([type="checkbox"]), .rsvp-form select, .rsvp-form textarea { border-radius: 4px; }
.modal-shell { background: rgba(27,35,30,.55); backdrop-filter: blur(3px); }
.modal-card { border-color: #e4ded2; box-shadow: 0 28px 80px rgba(27,35,30,.2); }
.invite-card { border-radius: 8px; box-shadow: 0 24px 70px rgba(39,43,35,.14); }
.invite-cover { border-radius: 6px 6px 0 0; }
.rsvp-form input:not([type="radio"]):not([type="checkbox"]), .rsvp-form select, .rsvp-form textarea { min-height: 44px; font-size: 11px; }
.choice { min-height: 42px; border-radius: 4px; font-size: 9px; }
.template-demo-cover { border-radius: 5px; box-shadow: 0 15px 35px rgba(38,45,38,.09); }
.gallery-template-card .template-art { box-shadow: 0 4px 14px rgba(38,45,38,.035); }
.template-preview-dialog, .checkin-card { border-radius: 12px; }
.toast { border-radius: 6px; }
.auth-form input, .wizard-field input, .wizard-field select, .wizard-field textarea { min-height: 45px; }
.gallery-search input { min-height: 39px; }
.focus-ring:focus-visible, :focus-visible { outline-color: #7f6945; }
@media (pointer: coarse) {
  .button { min-height: 42px; }
  .icon-button { width: 40px; height: 40px; }
  .template-favorite { width: 40px; height: 40px; }
  .event-tab { min-height: 42px; }
  .mobile-menu-toggle { min-height: 42px; }
  .gallery-template-card .template-actions .button, .planning-form .button { min-height: 40px; }
}

/* Art direction by design family. */
.invite-body.template-style-editorial .invite-cover::before { inset-inline: 10%; transform: rotate(1deg); }
.invite-body.template-style-editorial .cover-bottom { letter-spacing: .22em; }
.invite-body.template-style-modern .invite-copy h1, .invite-body.template-style-contemporary .invite-copy h1 { max-width: 11ch; }
.invite-body.template-style-professional .invite-card { border-top: 5px solid var(--invite-accent); }
.invite-body.template-style-luxury .invite-card, .invite-body.template-style-classic .invite-card { border-width: 2px; }
.invite-body.template-style-romantic .invite-cover { background-image: radial-gradient(circle at 15% 24%, color-mix(in srgb, var(--invite-accent), transparent 81%) 0 8px, transparent 9px), radial-gradient(circle at 84% 72%, color-mix(in srgb, var(--invite-accent), transparent 82%) 0 12px, transparent 13px); }
.invite-body.template-style-gentle .invite-cover { background: linear-gradient(160deg, color-mix(in srgb, var(--invite-paper), white 50%), var(--invite-paper)); }
.invite-body.template-style-playful .invite-cover .cover-ornament, .invite-body.template-style-celebration .invite-cover .cover-ornament { transform: rotate(-9deg) scale(1.12); }
.invite-body.template-style-minimal .invite-details, .invite-body.template-style-warm-minimal .invite-details { border-top: 0; }

/* Premium dashboard surfaces and shared interaction states. */
:root {
  --line: #dedbd2;
  --line-dark: #c7c5bc;
  --shadow-soft: 0 9px 24px rgba(31,43,36,.065);
}
body { background-color: var(--paper); }
.announcement { min-height: 38px; background: #23352f; letter-spacing: .035em; }
.site-header { min-height: 78px; border-bottom-color: rgba(199,197,188,.5); }
.hero { min-height: 690px; }
.hero-backdrop { background: radial-gradient(circle at 64% 35%, #e7e4d9 0 29%, #e9e2d5 30% 100%); }
.hero-invitation { border-radius: 4px 4px 9px 9px; box-shadow: 0 28px 65px rgba(36,42,35,.16); }
.trust-strip { background: rgba(255,254,250,.48); }
.category-card { min-height: 184px; border-radius: 8px; padding: 23px; }
.category-icon { width: 38px; height: 38px; border-color: #d9cfbc; }
.template-art { border: 1px solid rgba(57,60,50,.06); box-shadow: 0 8px 22px rgba(36,42,35,.06); }
.template-art::before { border-radius: 3px; box-shadow: 0 17px 30px rgba(36,42,35,.11); }
.template-art-copy .template-kicker { letter-spacing: .16em; }
.template-badge { border-radius: 3px; }
.template-favorite { width: 34px; height: 34px; box-shadow: 0 3px 12px rgba(36,42,35,.1); }
.site-footer { background: #263730; }
.auth-aside { background: radial-gradient(circle at 80% 15%, #415246 0, #314239 38%, #25362f 100%); }
.app-body { background: #f3f1ea; }
.app-shell { grid-template-columns: 254px minmax(0,1fr); }
.app-sidebar { padding: 29px 18px 17px; }
.app-sidebar .brand { margin-bottom: 35px; }
.sidebar-workspace { min-height: 58px; padding: 11px 9px; }
.sidebar-workspace strong { font-size: 11px; }
.app-nav a { min-height: 42px; font-size: 11px; }
.sidebar-help { padding: 15px; }
.app-topbar { height: 70px; }
.dashboard-content { padding-top: 48px; }
.dashboard-welcome h1 { letter-spacing: -.06em; }
.stat-card { min-height: 132px; border-radius: 9px; padding: 18px; }
.stat-card > span { letter-spacing: .15em; }
.stat-card-accent { background: linear-gradient(145deg,#f4eddf,#eee5d5); }
.events-section { margin-top: 53px; }
.event-card { min-height: 112px; border-radius: 8px; padding: 13px; }
.event-card-art { border-radius: 6px; }
.event-card-actions .button { border-radius: 4px; }
.app-topbar, .event-search, .stat-card, .event-card, .modal-card, .detail-event-summary, .guest-row, .planning-section { box-shadow: 0 3px 16px rgba(38,45,38,.035); }
.events-section-head h2 { font-size: 29px; }
.event-tab.active::after { height: 3px; border-radius: 3px 3px 0 0; }
.auth-form input, .wizard-field input, .wizard-field select, .wizard-field textarea, .planning-form input, .planning-form select { border-radius: 5px; }
.modal-card { padding: 31px; }
.modal-header h2 { letter-spacing: -.05em; }
.invite-page { width: min(760px, calc(100% - 38px)); }
.invite-card { border-color: color-mix(in srgb, var(--invite-accent), transparent 72%); }
.invite-copy { max-width: 560px; }
.invite-copy h1 { letter-spacing: -.06em; }
.rsvp-section { border-radius: 0 0 8px 8px; }
.checkin-card { border-radius: 11px; }
.gallery-hero { background: linear-gradient(116deg,#eeebe2 0%,#f5f1e8 58%,#e9e6dc 100%); }
.gallery-search, .gallery-selects select { border-radius: 5px; }
.gallery-template-card .template-art { min-height: 350px; }
.gallery-template-card .template-meta h2 { font-size: 20px; }
.gallery-pagination .button { border-radius: 5px; }
@media (max-width: 1020px) {
  .app-shell { grid-template-columns: 232px minmax(0,1fr); }
  .hero { min-height: 642px; }
}
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-art { min-height: 475px; }
  .dashboard-content { padding-top: 31px; }
  .events-section { margin-top: 38px; }
  .modal-card { padding: 22px 18px; }
  .gallery-template-card .template-art { min-height: 250px; }
}
@media (max-width: 390px) {
  .section-wrap { width: calc(100% - 30px); }
  .hero-art { min-height: 432px; }
  .stat-card { padding: 13px; }
  .modal-card { padding: 18px 14px; }
  .gallery-template-card .template-art { min-height: 300px; }
}
@media (max-width: 360px) {
  .site-header { gap: 10px; padding-inline: 12px; }
  .gallery-back { display: block; width: auto; height: auto; flex: 0 1 auto; margin-left: auto; padding-left: 0; overflow: visible; font-size: 8px; white-space: nowrap; }
  .gallery-back::before { content: none; }
  .nav-actions { gap: 0; }
  .nav-actions .nav-create { min-height: 34px; gap: 5px; padding-inline: 8px; font-size: 8px; }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .app-shell { grid-template-columns: 232px minmax(0,1fr); }
  .event-card { grid-template-columns: 95px minmax(135px,1fr) minmax(90px,.7fr) auto; gap: 13px; }
  .event-card > .event-card-data:nth-of-type(4) { display: none; }
  .event-card-actions { flex-direction: column; }
  .event-card-actions .button { min-width: 92px; }
}

/* Momentra 2026 visual system */
:root {
  color-scheme: light;
  --paper: #FAF9F6;
  --paper-deep: #F1F0EC;
  --cream: #FFFFFF;
  --surface: #FFFFFF;
  --surface-muted: #F4F3EF;
  --ink: #252525;
  --ink-soft: #626262;
  --muted: #626262;
  --line: #E7E5E0;
  --line-dark: #D3D1CB;
  --gold: #C18A55;
  --gold-readable: #80542E;
  --gold-soft: #DAB895;
  --rose: #E9DAD0;
  --sage: #8EA99A;
  --forest: #29443A;
  --forest-raised: #20362E;
  --radius-card: 14px;
  --radius-control: 9px;
  --serif: "DM Serif Display", "Iowan Old Style", Georgia, serif;
  --sans: Inter, Manrope, Aptos, "Segoe UI", Arial, sans-serif;
  --shadow: 0 24px 64px rgba(31, 43, 36, .14);
  --shadow-soft: 0 10px 28px rgba(31, 43, 36, .07);
}

html { background: var(--paper); }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
::selection { background: #D5E2DA; color: var(--forest-raised); }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; }
.section-wrap { width: min(1200px, calc(100% - 80px)); }
.section { padding-block: 112px; }
h1, h2, h3 { color: var(--ink); font-weight: 650; }
.eyebrow { margin-bottom: 15px; color: var(--forest); font-size: 11px; font-weight: 750; letter-spacing: .14em; }
.eyebrow-rule { background: var(--gold); }
h1 em, h2 em { color: var(--forest); font-family: var(--serif); font-weight: 400; }
.button { min-height: 48px; gap: 10px; border-radius: var(--radius-control); padding-inline: 20px; font-size: 14px; font-weight: 650; letter-spacing: 0; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--forest); color: #fff; box-shadow: 0 4px 10px rgba(41,68,58,.12); }
.button-dark:hover { background: var(--forest-raised); box-shadow: 0 8px 20px rgba(32,54,46,.2); }
.button-light { background: #fff; color: var(--forest); }
.button-light:hover { background: #F1F5F2; }
.button-outline { border-color: var(--line-dark); background: #fff; color: var(--forest); }
.button-outline:hover { border-color: var(--forest); background: #F4F7F5; }
.button-text { color: var(--forest); }
.button-text:hover, .text-link:hover { color: var(--gold-readable); }
.button-large { min-height: 56px; padding-inline: 24px; }
.text-link { border-color: var(--gold-soft); color: var(--forest); font-size: 14px; }

/* Site navigation and homepage */
.announcement { min-height: 38px; background: var(--forest-raised); color: #F3F7F4; font-size: 12px; font-weight: 550; letter-spacing: .01em; }
.announcement a { color: #E8C8A7; }
.announcement-dot { background: #E8C8A7; }
.site-header { position: relative; z-index: 5; min-height: 76px; height: auto; border-bottom: 1px solid var(--line); background: rgba(250,249,246,.96); padding-inline: max(40px, calc((100vw - 1280px) / 2)); }
.brand { gap: 10px; color: var(--forest); font-family: var(--sans); font-size: 23px; font-weight: 750; letter-spacing: -.06em; }
.brand-mark { width: 32px; height: 32px; border: 0; border-radius: 10px; background: var(--forest); color: #fff; font-family: var(--serif); font-size: 21px; font-style: normal; }
.primary-nav { gap: clamp(20px, 3vw, 40px); color: #424642; font-size: 14px; font-weight: 550; }
.primary-nav a:hover, .nav-signin:hover { color: var(--forest); }
.nav-actions { gap: 22px; }
.nav-signin { color: #424642; font-size: 14px; font-weight: 600; }
.nav-create { min-height: 43px; padding-inline: 17px; font-size: 13px; }
.mobile-menu-toggle { border-radius: 8px; }
.hero { min-height: 680px; grid-template-columns: 1fr .95fr; gap: 50px; padding-top: 40px; padding-bottom: 82px; }
.hero-copy { padding: 20px 0 28px 20px; }
.hero-copy .eyebrow { color: var(--forest); font-size: 11px; }
.hero-copy h1 { margin-bottom: 25px; color: var(--ink); font-family: var(--serif); font-size: clamp(54px, 6vw, 78px); font-weight: 400; letter-spacing: -.045em; line-height: 1.03; }
.hero-copy h1 em { color: var(--forest); }
.hero-description { max-width: 470px; color: #50534F; font-size: 17px; line-height: 1.75; }
.hero-actions { gap: 12px; }
.hero-actions .button-text { text-decoration: none; }
.hero-actions .button-text span { transition: transform .2s ease; }
.hero-actions .button-text:hover span { transform: translateY(3px); }
.hero-note { margin-top: 38px; color: #626262; font-size: 13px; }
.avatar-stack i { width: 32px; height: 32px; border-color: var(--paper); color: var(--forest); font-family: var(--sans); font-size: 12px; font-weight: 700; }
.hero-art { min-height: 560px; }
.hero-side-note { color: #626C64; font-size: 10px; font-weight: 650; }
.hero-backdrop { top: 58px; left: 36px; width: 78%; height: 77%; border-radius: 46% 46% 10px 10px; background: linear-gradient(145deg, #E8EEE9, #D8E4DC); }
.hero-invitation { top: 25px; left: 75px; width: min(76%, 390px); min-height: 505px; border: 1px solid rgba(41,68,58,.24); border-radius: 4px 4px 12px 12px; background: linear-gradient(145deg, #FFFFFF 0%, #F7F8F3 100%); box-shadow: 0 28px 70px rgba(28,48,39,.2); }
.hero-invitation::before { inset: 14px; border-color: rgba(41,68,58,.3); }
.hero-invitation::after { inset: 22px; border-color: rgba(41,68,58,.12); }
.hero-invitation-top, .hero-invite-bottom { color: #53665A; font-size: 9px; font-weight: 650; }
.hero-invitation-top { top: 36px; }
.hero-invitation-top span:last-child { color: var(--gold); }
.hero-invite-bottom { bottom: 35px; color: #626262; }
.invite-pretitle { color: var(--forest); font-family: var(--sans); font-size: 13px; font-style: normal; font-weight: 600; }
.hero-invitation h2 { color: var(--forest); font-family: var(--serif); font-size: clamp(59px, 5.7vw, 77px); font-weight: 400; }
.hero-invitation h2 small { color: var(--gold-readable); }
.hero-invite-rule { background: var(--gold); }
.hero-invite-date, .hero-invite-place { color: #394B40; font-size: 9px; font-weight: 650; }
.hero-invite-place { color: #626262; }
.hero-flower { color: #72907E; opacity: .38; }
.flower-two { color: #BC8A78; }
.hero-caption { color: #50534F; font-family: var(--sans); font-size: 12px; font-style: normal; font-weight: 550; }
.caption-line { background: var(--gold); }
.hero-orbit { border-color: rgba(41,68,58,.35); }
.orbit-b { background: var(--rose); }
.hero-scroll { color: #626262; font-size: 10px; font-weight: 650; }
.hero-scroll span:last-child { border-color: var(--line-dark); color: var(--forest); }
.trust-strip { min-height: 90px; border-color: var(--line); background: #fff; color: #626262; font-size: 11px; font-weight: 550; letter-spacing: .04em; }
.trust-strip > span { color: var(--forest); }
.trust-strip i { color: var(--gold); }
.section-head h2, .collection-head h2, .feature-copy h2 { color: var(--ink); font-family: var(--serif); font-size: clamp(40px, 4.5vw, 58px); font-weight: 400; letter-spacing: -.04em; line-height: 1.08; }
.section-intro { color: #555955; font-size: 15px; line-height: 1.75; }
.category-grid { gap: 16px; }
.category-card { min-height: 182px; border-color: var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(31,43,36,.035); padding: 22px; }
.category-card:hover { border-color: #B5C7BB; background: #fff; box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.category-icon { width: 40px; height: 40px; border-color: #D4E0D8; background: #F1F5F2; color: var(--forest); font-family: var(--sans); font-size: 17px; }
.category-name { margin-top: 17px; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 650; }
.category-desc { color: #626262; font-size: 13px; line-height: 1.55; }
.category-arrow { color: var(--forest); font-size: 18px; }
.skeleton-category, .template-skeleton { background: linear-gradient(90deg, #F0F1ED, #FAFAF8, #F0F1ED); background-size: 200% 100%; }
.section-collection { background: #F1F3EF; }
.collection-head .button { margin-bottom: 7px; }
.template-grid { gap: 26px; }
.template-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; padding: 8px; box-shadow: 0 5px 18px rgba(31,43,36,.04); transition: transform .22s ease, box-shadow .22s ease; }
.template-card:hover { box-shadow: 0 18px 36px rgba(31,43,36,.12); transform: translateY(-4px); }
.template-art { min-height: 355px; border: 0; border-radius: 10px; }
.template-art::before { border-radius: 4px; }
.template-art::after { border-color: color-mix(in srgb, var(--template-accent), transparent 50%); }
.template-art-copy .template-kicker { color: var(--template-accent); font-size: 10px; font-weight: 650; letter-spacing: .12em; }
.template-art-copy strong { font-family: var(--serif); font-size: 34px; font-weight: 400; }
.template-art-copy .template-flower { color: var(--template-accent); }
.template-badge { top: 14px; left: 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(255,255,255,.93); padding: 7px 10px; color: var(--forest); font-size: 9px; font-weight: 750; letter-spacing: .07em; }
.template-favorite { top: 12px; right: 12px; width: 38px; height: 38px; border: 1px solid rgba(41,68,58,.12); background: rgba(255,255,255,.95); color: var(--forest); font-size: 20px; box-shadow: 0 3px 12px rgba(31,43,36,.1); }
.template-favorite[aria-pressed="true"] { color: #A5484B; }
.template-meta { padding: 15px 8px 0; }
.template-meta h3 { margin-bottom: 3px; font-family: var(--sans); font-size: 17px; font-weight: 700; }
.template-meta p { color: #626262; font-size: 13px; }
.template-actions { gap: 9px; padding: 12px 8px 8px; }
.template-actions .button { min-height: 42px; flex: 1; padding-inline: 10px; font-size: 12px; }
.editorial-feature { gap: clamp(65px, 10vw, 140px); }
.feature-frame { border-radius: 14px; background: linear-gradient(145deg, #E5EBE4, #D6E0D7); }
.feature-frame::before { border-color: rgba(41,68,58,.32); }
.feature-frame-label, .feature-frame-content { color: #3F594A; }
.feature-frame-content strong { color: var(--forest); font-family: var(--serif); font-size: 46px; font-weight: 400; }
.feature-art-flower { color: rgba(67,109,84,.27); }
.feature-note { border-color: var(--line); border-radius: 10px; color: #424642; font-family: var(--sans); font-size: 13px; font-style: normal; }
.feature-copy > p:not(.eyebrow) { color: #555955; font-size: 15px; line-height: 1.75; }
.feature-steps strong { font-size: 14px; font-weight: 650; }
.feature-steps small { color: #626262; font-size: 13px; }
.feature-steps > div > span { color: var(--gold-readable); font-family: var(--sans); font-size: 13px; font-weight: 700; }
.section-quote { background: #EAF0EB; }
.quote-mark { color: var(--gold-readable); }
.section-quote blockquote { color: var(--forest); font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); }
.quote-attribution { color: #505B53; font-size: 11px; font-weight: 650; }
.quote-sparkle { color: var(--gold); }
.cta-band { background: var(--forest); color: #fff; }
.cta-band .eyebrow { color: #E9C9A6; }
.cta-band h2 { color: #fff; font-family: var(--serif); font-weight: 400; }
.cta-band h2 em { color: #F0D8C3; }
.cta-ornament { color: rgba(233,218,208,.09); }
.site-footer { background: #202F28; color: #F7F8F5; }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--forest); }
.footer-brand p { color: #D0D9D2; font-family: var(--sans); font-size: 14px; font-style: normal; }
.footer-column { color: #D0D9D2; font-size: 13px; }
.footer-column span { color: #E9C9A6; font-size: 10px; }
.footer-end { color: #D0D9D2; font-size: 12px; }

/* Gallery, filters, and distinct invitation art */
.gallery-back { color: #424642; font-size: 14px; font-weight: 550; }
.gallery-back:hover { color: var(--forest); }
.gallery-hero { padding-block: 70px 58px; background: linear-gradient(120deg, #E9F0EA, #F5F5F1 70%); }
.gallery-hero h1 { color: var(--ink); font-family: var(--serif); font-size: clamp(48px, 6vw, 72px); font-weight: 400; line-height: 1.04; }
.gallery-hero h1 em { color: var(--forest); }
.gallery-hero .section-wrap > p:not(.eyebrow) { max-width: 560px; color: #555955; font-size: 16px; line-height: 1.7; }
.gallery-count { color: var(--forest); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.gallery-body { padding-top: 35px; }
.gallery-toolbar { gap: 18px; border-bottom-color: var(--line); padding-bottom: 20px; }
.gallery-search { min-height: 48px; border-color: var(--line-dark); border-radius: 10px; background: #fff; color: var(--forest); padding-inline: 14px; }
.gallery-search span { color: var(--forest); font-size: 22px; }
.gallery-search input { min-height: 44px; color: var(--ink); font-size: 14px; }
.gallery-search input::placeholder { color: #686B68; }
.gallery-selects { gap: 10px; }
.gallery-selects label { gap: 6px; color: #50534F; font-size: 12px; font-weight: 650; }
.gallery-selects select { min-height: 43px; border-color: var(--line); border-radius: 8px; background: #fff; padding-inline: 10px; color: var(--ink); font-size: 13px; }
.gallery-status { min-height: 38px; padding-top: 12px; color: #555955; font-size: 13px; }
.gallery-grid { gap: 28px 22px; }
.gallery-template-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; padding: 8px; box-shadow: 0 5px 18px rgba(31,43,36,.04); transition: transform .22s ease, box-shadow .22s ease; }
.gallery-template-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(31,43,36,.12); }
.gallery-template-card .template-art { min-height: 340px; border-radius: 10px; box-shadow: none; }
.gallery-template-card .template-meta { padding: 15px 8px 0; }
.gallery-template-card .template-meta h2 { color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 700; }
.gallery-template-card .template-meta p { color: #626262; font-size: 12px; }
.gallery-template-card .template-actions { padding: 12px 8px 8px; }
.gallery-template-card .template-actions .button { min-height: 43px; min-width: 0; font-size: 13px; }
.gallery-pagination { gap: 20px; color: #424642; font-size: 13px; }
.gallery-pagination .button { min-height: 42px; padding-inline: 14px; font-size: 13px; }
.gallery-empty { border-color: var(--line-dark); border-radius: 14px; color: #626262; }
.gallery-empty h2 { color: var(--ink); font-family: var(--sans); font-size: 24px; font-weight: 700; }
.gallery-empty p { font-size: 14px; }
.template-demo-cover { border-color: rgba(41,68,58,.25); border-radius: 9px; }
.template-demo-cover::before { border-color: color-mix(in srgb, var(--template-accent), transparent 44%); }
.template-demo-cover > span, .template-demo-cover > small, .template-demo-cover > b { color: var(--template-accent); font-size: 9px; font-weight: 650; }
.template-demo-cover strong { color: var(--template-ink); font-family: var(--serif); font-size: 44px; font-weight: 400; }
.template-demo-cover i { color: var(--template-accent); }
.template-demo > p { color: #50534F; font-family: var(--sans); font-size: 14px; }
.palette-ivory { --template-paper: #F4F4EF; --template-ink: #29443A; --template-accent: #526F5E; }
.palette-champagne { --template-paper: #F3E9E3; --template-ink: #503B34; --template-accent: #80573A; }
.palette-noir { --template-paper: #29312E; --template-ink: #F8F8F4; --template-accent: #E2B78F; }
.palette-garden { --template-paper: #E1ECE3; --template-ink: #29443A; --template-accent: #3D684B; }
.palette-rose { --template-paper: #F1E2DD; --template-ink: #543C3B; --template-accent: #884C4C; }
.palette-sand { --template-paper: #E9EAE5; --template-ink: #343B37; --template-accent: #4F5F55; }
.palette-burgundy { --template-paper: #58363F; --template-ink: #FFF8F0; --template-accent: #E9C49C; }
.palette-blue { --template-paper: #DFE9ED; --template-ink: #2C414B; --template-accent: #3F6171; }
.palette-gold { --template-paper: #F0E9D8; --template-ink: #403A2F; --template-accent: #73582F; }
.palette-sage { --template-paper: #DDE9E0; --template-ink: #30483A; --template-accent: #456C52; }
.palette-moon { --template-paper: #E9E6EE; --template-ink: #40394A; --template-accent: #635474; }
.palette-terracotta { --template-paper: #F0E0D6; --template-ink: #583D32; --template-accent: #824532; }
.palette-navy { --template-paper: #DDE6EB; --template-ink: #263846; --template-accent: #486577; }
.template-art.palette-noir::before, .template-option-art.palette-noir::before { border-color: rgba(248,248,244,.32); background: rgba(41,49,46,.9); }
.template-art.palette-burgundy::before, .template-option-art.palette-burgundy::before { border-color: rgba(255,248,240,.32); background: rgba(88,54,63,.9); }

/* Account, dashboard, editor, guest management, and shared forms */
.auth-body, .app-body, .checkin-body { background: var(--paper); }
.auth-layout { grid-template-columns: minmax(390px, .92fr) 1.08fr; }
.auth-aside { background: radial-gradient(circle at 82% 10%, #496C58, #29443A 48%, #20362E 100%); }
.auth-aside .brand-mark { background: #fff; color: var(--forest); }
.auth-aside-copy h1 { color: #fff; font-family: var(--serif); font-size: clamp(48px, 5.3vw, 68px); font-weight: 400; }
.auth-aside-copy h1 em { color: #E9C9A6; }
.auth-aside-copy .eyebrow { color: #F3F7F4; }
.auth-aside-art { border-radius: 14px; background: rgba(255,255,255,.09); }
.auth-mini-card { border-color: rgba(41,68,58,.3); border-radius: 4px; background: #F7F8F4; }
.auth-mini-card::before { border-color: rgba(41,68,58,.22); }
.auth-mini-card > span:first-child, .auth-mini-card i { color: var(--forest); }
.auth-mini-card strong { color: var(--forest); font-family: var(--serif); }
.auth-mini-spark { color: var(--gold); }
.auth-aside-note { color: #E2E9E3; font-family: var(--sans); font-size: 14px; font-style: normal; }
.auth-aside-foot { color: #D0D9D2; font-size: 10px; }
.back-home { color: #424642; font-size: 13px; font-weight: 550; }
.back-home:hover { color: var(--forest); }
.auth-form-wrap .eyebrow { color: var(--forest); }
.auth-form-wrap h2 { color: var(--ink); font-family: var(--serif); font-size: 38px; font-weight: 400; }
.auth-subtitle { color: #555955; font-size: 15px; }
.auth-form { gap: 18px; }
.auth-form label, .wizard-field { color: #343A36; font-size: 13px; font-weight: 650; }
.auth-form input, .wizard-field input, .wizard-field select, .wizard-field textarea { min-height: 48px; border-color: var(--line-dark); border-radius: 9px; background: #fff; padding-inline: 14px; color: var(--ink); font-size: 14px; }
.auth-form input:focus, .wizard-field input:focus, .wizard-field select:focus, .wizard-field textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(41,68,58,.12); }
.auth-form input::placeholder, .wizard-field input::placeholder, .wizard-field textarea::placeholder { color: #70736F; }
.auth-submit { min-height: 52px; }
.auth-error { font-size: 13px; }
.auth-toggle { color: #555955; font-size: 14px; }
.auth-toggle a { color: var(--forest); font-weight: 650; }
.auth-privacy { color: #626262; font-size: 12px; }
.app-shell { grid-template-columns: 258px minmax(0,1fr); }
.app-sidebar { border-right: 1px solid #20362E; background: var(--forest); color: #F6F8F5; padding: 27px 18px 17px; }
.app-sidebar .brand { color: #fff; font-size: 23px; }
.app-sidebar .brand-mark { background: #fff; color: var(--forest); }
.sidebar-workspace { border-color: rgba(255,255,255,.16); border-radius: 10px; background: rgba(255,255,255,.08); }
.sidebar-workspace strong { color: #fff; font-size: 13px; }
.sidebar-workspace small { color: #D0D9D2; font-size: 11px; }
.workspace-avatar { background: #E9DAD0; color: var(--forest); font-family: var(--sans); font-weight: 700; }
.sidebar-nav-label { color: #D0D9D2; font-size: 10px; letter-spacing: .12em; }
.app-nav a { min-height: 46px; border-radius: 9px; color: #E6ECE7; font-size: 14px; font-weight: 550; }
.app-nav a:hover { background: rgba(255,255,255,.1); }
.app-nav a.active { background: #fff; color: var(--forest); font-weight: 700; }
.app-nav .nav-icon { color: #E9C9A6; font-size: 17px; }
.app-nav a.active .nav-icon { color: var(--forest); }
.sidebar-help { border-color: rgba(255,255,255,.18); border-radius: 11px; background: rgba(255,255,255,.08); padding: 15px; }
.sidebar-help strong { color: #fff; font-size: 13px; }
.sidebar-help small { color: #E0E7E1; font-size: 11px; }
.sidebar-help a { color: #F0D8C3; font-size: 12px; }
.help-icon { color: #E9C9A6; }
.sign-out { min-height: 44px; color: #E6ECE7; font-size: 13px; }
.sign-out:hover { background: rgba(255,255,255,.08); }
.app-topbar { height: 70px; border-bottom-color: var(--line); background: #fff; padding-inline: clamp(24px, 4vw, 56px); }
.breadcrumb { color: #424642; font-size: 13px; font-weight: 550; }
.breadcrumb span { color: #777B77; }
.topbar-date { color: #555955; font-size: 12px; }
.account-avatar { border: 0; background: #DCE8DF; color: var(--forest); font-family: var(--sans); font-weight: 700; }
.dashboard-content { padding: 48px clamp(24px, 4vw, 56px) 72px; }
.dashboard-welcome h1 { color: var(--ink); font-family: var(--serif); font-size: clamp(39px, 4.3vw, 56px); font-weight: 400; line-height: 1.08; }
.dashboard-welcome .eyebrow { color: var(--forest); }
.welcome-copy { color: #555955; font-size: 15px; }
.button-create { min-height: 49px; font-size: 14px; }
.stat-grid { gap: 14px; }
.stat-card { min-height: 134px; border-color: var(--line); border-radius: 13px; background: #fff; padding: 19px; box-shadow: 0 5px 18px rgba(31,43,36,.04); }
.stat-card > span { color: #505752; font-size: 11px; letter-spacing: .1em; }
.stat-card strong { color: var(--forest); font-family: var(--sans); font-size: 34px; font-weight: 700; }
.stat-card small { color: #626262; font-size: 12px; }
.stat-card-accent { border-color: #D7E4DA; background: #EAF1EB; }
.stat-card-accent strong { font-size: 26px; }
.events-section { margin-top: 52px; }
.events-section-head .eyebrow { color: var(--forest); }
.events-section-head h2 { color: var(--ink); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.event-search { min-height: 43px; border-color: var(--line-dark); border-radius: 9px; background: #fff; color: var(--forest); }
.event-search input { min-height: 40px; color: var(--ink); font-size: 13px; }
.event-search input::placeholder { color: #70736F; }
.event-tabs { border-bottom-color: var(--line); }
.event-tab { min-height: 44px; color: #555955; font-size: 13px; }
.event-tab span { min-width: 21px; height: 21px; background: #EEF0EC; color: #424642; font-size: 11px; }
.event-tab.active { color: var(--forest); }
.event-tab.active::after { background: var(--forest); }
.event-card { min-height: 112px; border-color: var(--line); border-radius: 12px; background: #fff; padding: 13px; }
.event-card-art { border-radius: 8px; }
.event-card-copy .event-category { color: var(--forest); font-size: 10px; }
.event-card-copy h3 { color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 700; }
.event-card-copy p, .event-card-data small { color: #626262; font-size: 12px; }
.event-card-data strong { font-size: 12px; }
.event-status { background: #E7F1E9; color: #285D3A; font-size: 11px; }
.event-status.draft { background: #F1ECE6; color: #665341; }
.event-card-actions { gap: 8px; }
.event-card-actions .button { min-height: 38px; padding-inline: 12px; font-size: 12px; }
.dashboard-loading, .empty-state, .no-results { border-color: var(--line-dark); color: #555955; }
.dashboard-loading { font-size: 13px; }
.loading-spinner { border-color: #DDE8DF; border-top-color: var(--forest); }
.empty-icon { border-color: #D5E2DA; background: #F1F5F2; color: var(--forest); }
.empty-state h3 { color: var(--ink); font-family: var(--sans); font-size: 23px; font-weight: 700; }
.empty-state p, .no-results { font-size: 13px; }
.modal-shell { background: rgba(21,34,27,.56); backdrop-filter: blur(5px); }
.modal-card { border-color: var(--line); border-radius: 16px; background: #fff; padding: 30px; }
.modal-header .eyebrow { color: var(--forest); }
.modal-header h2 { color: var(--ink); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.icon-button { width: 42px; height: 42px; border-color: var(--line); border-radius: 9px; color: #424642; font-size: 23px; }
.icon-button:hover { border-color: var(--forest); color: var(--forest); }
.wizard-stepper { border-bottom-color: var(--line); }
.wizard-step { min-height: 38px; color: #626262; font-size: 12px; }
.wizard-step span { width: 25px; height: 25px; border-color: var(--line-dark); font-size: 11px; }
.wizard-step.active { color: var(--forest); }
.wizard-step.active span, .wizard-step.complete span { border-color: var(--forest); background: var(--forest); color: #fff; }
.wizard-step.active::after { background: var(--forest); }
.wizard-prompt { color: var(--ink); font-family: var(--sans); font-size: 18px; font-weight: 650; }
.category-option { min-height: 78px; border-radius: 9px; background: #fff; }
.category-option:hover, .category-option.selected { border-color: var(--forest); background: #F1F5F2; }
.category-option .category-option-icon { color: var(--forest); }
.category-option strong { color: var(--ink); font-size: 12px; }
.category-group-title { color: #555955; font-size: 10px; }
.wizard-help { color: #626262; font-size: 12px; }
.template-option { border-color: var(--line); border-radius: 10px; background: #fff; }
.template-option:hover, .template-option.selected { border-color: var(--forest); box-shadow: 0 0 0 2px rgba(41,68,58,.15); }
.template-option-text { gap: 4px; padding: 10px; }
.template-option-text strong { color: var(--ink); font-size: 12px; }
.template-option-text small { color: #626262; font-size: 11px; }
.customization-editor { border-color: var(--line); border-radius: 12px; background: #F4F6F3; padding: 16px; }
.customization-toggles label { color: #424642; font-size: 12px; }
.customization-toggles input { accent-color: var(--forest); }
.preview-device-switch { border-color: var(--line); border-radius: 8px; }
.preview-device-switch button { min-height: 32px; color: #50534F; font-size: 11px; }
.preview-device-switch button.active { background: #E5EEE7; color: var(--forest); }
.editor-preview { border-radius: 10px; }
.wizard-footer { border-top-color: var(--line); }
.wizard-footer .button { min-height: 43px; font-size: 13px; }
.detail-content { padding-top: 20px; }
.detail-event-summary { border-color: var(--line); border-radius: 10px; background: #F4F6F3; }
.detail-event-summary strong { color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 700; }
.detail-event-summary small { color: #626262; font-size: 12px; }
.guest-status.attending { background: #E7F1E9; color: #285D3A; }
.guest-status.declined { background: #F6E8E6; color: #8B413D; }
.guest-checkin-label, .guest-import-message { color: #285D3A; font-size: 11px; }
.guest-list-empty { color: #626262; font-size: 13px; }
.published-link { border-color: var(--line); border-radius: 9px; background: #fff; }
.published-link code { color: #424642; font-size: 12px; }
.published-link button { min-height: 36px; border-color: var(--line-dark); border-radius: 7px; background: #fff; color: var(--forest); font-size: 12px; font-weight: 650; }
.toast { border-color: var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; }
.rsvp-person { gap: 12px; padding-block: 12px; }
.rsvp-person-avatar { width: 36px; height: 36px; background: #E5EEE7; color: var(--forest); font-family: var(--sans); font-size: 13px; font-weight: 700; }
.rsvp-person-info strong { color: var(--ink); font-size: 13px; }
.rsvp-person-info small { color: #626262; font-size: 11px; }
.rsvp-person-status, .rsvp-person-status.declined { font-size: 11px; font-weight: 650; }
.rsvp-person-status { color: #285D3A; }
.rsvp-person-status.declined { color: #8B413D; }
.detail-empty { color: #626262; }
.detail-empty strong { color: var(--ink); font-family: var(--sans); font-size: 18px; font-weight: 700; }
.detail-empty span { font-size: 12px; }
.planning-content { padding-top: 20px; }
.planning-event-picker { gap: 12px; color: #424642; font-size: 13px; font-weight: 600; }
.planning-event-picker select { min-height: 42px; border-color: var(--line); border-radius: 8px; background: #fff; padding-inline: 10px; color: var(--ink); font-size: 13px; }
.planning-totals { gap: 10px; }
.planning-totals article { gap: 6px; border-color: var(--line); border-radius: 10px; background: #F4F6F3; padding: 13px; }
.planning-totals span { color: #505752; font-size: 10px; letter-spacing: .08em; }
.planning-totals strong { color: var(--forest); font-family: var(--sans); font-size: 17px; font-weight: 700; }
.planning-section { border-color: var(--line); border-radius: 12px; background: #fff; padding: 15px; }
.planning-section > header .eyebrow { color: var(--forest); font-size: 10px; }
.planning-section > header h3 { color: var(--ink); font-family: var(--sans); font-size: 19px; font-weight: 700; }
.planning-count { color: #555955; font-size: 11px; }
.planning-form { gap: 9px; }
.planning-form input, .planning-form select { min-height: 42px; border-color: var(--line-dark); border-radius: 8px; background: #fff; padding-inline: 10px; color: var(--ink); font-size: 13px; }
.planning-form input::placeholder { color: #70736F; }
.planning-form-row { gap: 8px; }
.planning-form-row label { gap: 5px; color: #424642; font-size: 11px; font-weight: 600; }
.planning-form .button { min-height: 42px; padding-inline: 11px; font-size: 12px; }
.planning-task-list, .planning-budget-list { gap: 8px; }
.planning-task { gap: 10px; border-top-color: var(--line); padding-block: 10px 4px; }
.planning-task-main { gap: 9px; }
.planning-task-main strong { color: var(--ink); font-size: 12px; font-weight: 650; }
.planning-task-main small { color: #555955; font-size: 11px; }
.planning-task-main .task-meta { color: #626262; font-size: 10px; }
.planning-task-actions { gap: 6px; }
.planning-task-actions select, .planning-budget-fields select { min-height: 36px; border-color: var(--line); border-radius: 7px; background: #fff; padding-inline: 7px; color: #343A36; font-size: 11px; }
.planning-task-actions .icon-button, .planning-budget-top .icon-button { width: 38px; height: 38px; border-radius: 8px; font-size: 18px; }
.planning-budget-item { border-top-color: var(--line); padding-block: 10px 5px; }
.planning-budget-top strong { color: var(--ink); font-size: 12px; font-weight: 650; }
.planning-budget-top small { color: #555955; font-size: 11px; }
.planning-budget-fields { gap: 7px; margin-top: 8px; }
.planning-budget-fields > label { color: #424642; font-size: 10px; font-weight: 600; }
.planning-budget-fields input { min-height: 36px; border-color: var(--line); border-radius: 7px; background: #fff; padding-inline: 7px; color: var(--ink); font-size: 12px; }
.planning-budget-fields .button { min-height: 38px; padding-inline: 9px; font-size: 11px; }
.guest-manager { margin-top: 18px; }
.guest-manager-head { margin-bottom: 11px; }
.guest-manager-head strong { color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 700; }
.guest-manager-head small { color: #555955; font-size: 11px; }
.guest-manager-actions { gap: 8px; }
.guest-manager-actions .button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
.guest-add-form { gap: 8px; }
.guest-add-form input { height: 42px; border-color: var(--line-dark); border-radius: 8px; background: #fff; padding-inline: 10px; color: var(--ink); font-size: 13px; }
.guest-add-form input::placeholder { color: #70736F; }
.guest-add-form button { min-height: 42px; padding-inline: 11px; font-size: 12px; }
.guest-list { gap: 8px; }
.guest-row { gap: 10px; border-color: var(--line); border-radius: 9px; background: #fff; padding: 11px; }
.guest-row-main { gap: 10px; }
.guest-row-copy strong { color: var(--ink); font-size: 12px; font-weight: 650; }
.guest-row-copy small { color: #555955; font-size: 11px; }
.guest-status { border-radius: 999px; background: #F1ECE6; padding: 5px 9px; color: #5D4A3A; font-size: 10px; font-weight: 700; }
.guest-row-actions { gap: 6px; }
.guest-row-actions .button { min-height: 38px; padding-inline: 10px; font-size: 11px; }
.guest-row-actions .button:disabled { opacity: .6; }
.guest-checkin-label { color: #285D3A; font-size: 11px; }
.guest-import-message { font-size: 12px; }
.guest-list-empty { color: #626262; font-size: 12px; }

/* Invitations, RSVP, and host check-in */
.invite-body { --invite-paper: #FFFFFF; --invite-ink: #252525; --invite-accent: #29443A; background: #F1F3EF; color: var(--invite-ink); }
.invite-body.palette-champagne { --invite-paper: #F5ECE7; --invite-accent: #80573A; }
.invite-body.palette-noir { --invite-paper: #29312E; --invite-ink: #F8F8F4; --invite-accent: #E2B78F; background: #202823; }
.invite-body.palette-garden, .invite-body.palette-sage { --invite-paper: #E5EEE6; --invite-accent: #416C50; }
.invite-body.palette-rose { --invite-paper: #F4E9E5; --invite-accent: #884C4C; }
.invite-body.palette-sand { --invite-paper: #F0F0EB; --invite-accent: #52675A; }
.invite-body.palette-burgundy { --invite-paper: #58363F; --invite-ink: #FFF8F0; --invite-accent: #E9C49C; background: #30272A; }
.invite-body.palette-blue, .invite-body.palette-navy { --invite-paper: #E5EDF0; --invite-accent: #3F6171; }
.invite-body.palette-gold { --invite-paper: #F3EDDF; --invite-accent: #73582F; }
.invite-body.palette-moon { --invite-paper: #EFEDF2; --invite-accent: #6C5A7E; }
.invite-body.palette-terracotta { --invite-paper: #F4E8E0; --invite-accent: #91533F; }
.invite-page { width: min(800px, calc(100% - 40px)); padding-top: 28px; }
.invite-edition { color: #505752; font-size: 11px; font-weight: 650; letter-spacing: .09em; }
.invite-card { border-color: rgba(41,68,58,.18); border-radius: 14px; background: var(--invite-paper); box-shadow: 0 24px 70px rgba(31,43,36,.13); }
.invite-cover { min-height: 195px; }
.cover-kicker, .cover-bottom { color: var(--invite-accent); font-size: 10px; font-weight: 700; }
.cover-bottom { opacity: .9; }
.cover-ornament { color: var(--invite-accent); }
.invite-copy { max-width: 600px; padding: 43px 44px; }
.invite-copy .eyebrow, .section-heading .eyebrow { color: var(--invite-accent); font-size: 11px; }
.invite-copy h1 { color: var(--invite-ink); font-family: var(--serif); font-size: clamp(42px, 8vw, 64px); font-weight: 400; }
.invite-host, .invite-greeting { color: var(--invite-accent); font-family: var(--sans); font-size: 15px; font-style: normal; font-weight: 600; }
.invite-introduction { color: color-mix(in srgb, var(--invite-ink), transparent 12%); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
.invite-details { gap: 28px; border-color: color-mix(in srgb, var(--invite-accent), transparent 72%); }
.invite-details strong { color: var(--invite-ink); font-family: var(--sans); font-size: 14px; font-weight: 650; }
.invite-details span:not(.detail-label) { color: color-mix(in srgb, var(--invite-ink), transparent 18%); font-size: 12px; }
.detail-label { color: var(--invite-accent); font-size: 10px; font-weight: 750; }
.rsvp-section { border-color: color-mix(in srgb, var(--invite-accent), transparent 76%); background: color-mix(in srgb, var(--invite-paper), white 14%); padding: 40px 44px 44px; }
.section-heading h2 { color: var(--invite-ink); font-family: var(--serif); font-size: 34px; font-weight: 400; }
.section-heading p:last-child { color: color-mix(in srgb, var(--invite-ink), transparent 15%); font-size: 13px; }
.rsvp-form { gap: 15px; }
.rsvp-form > label:not(.honeypot), .attendance-field legend { color: var(--invite-ink); font-size: 13px; font-weight: 650; }
.rsvp-form input:not([type="radio"]):not([type="checkbox"]), .rsvp-form select, .rsvp-form textarea { min-height: 46px; border-color: #C8CBC5; border-radius: 8px; background: #fff; color: #252525; font-size: 14px; }
.rsvp-form input:focus, .rsvp-form select:focus, .rsvp-form textarea:focus { border-color: var(--invite-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--invite-accent), transparent 83%); }
.rsvp-form input::placeholder, .rsvp-form textarea::placeholder { color: #70736F; }
.rsvp-form .optional-label { color: #626262; font-size: 11px; }
.choice { min-height: 46px; border-color: #C8CBC5; border-radius: 8px; background: #fff; color: #343A36; font-size: 12px; }
.choice input { accent-color: var(--forest); }
.form-message { color: #285D3A; font-size: 13px; }
.form-message.error { color: #8B413D; }
.invite-footer { color: #505752; font-size: 11px; }
.invite-body.palette-noir .invite-edition, .invite-body.palette-burgundy .invite-edition { color: #E1E5DF; }
.checkin-body { background: linear-gradient(145deg, #EAF0EB, #F7F7F3); }
.checkin-card { border-color: var(--line); border-radius: 16px; background: #fff; padding: 38px; }
.checkin-card .eyebrow { color: var(--forest); font-size: 11px; }
.checkin-icon { width: 54px; height: 54px; border-color: #D4E0D8; background: #F1F5F2; color: var(--forest); }
.checkin-card h1 { color: var(--ink); font-family: var(--serif); font-size: 34px; font-weight: 400; }
.checkin-copy { color: #555955; font-size: 14px; }
.checkin-details strong { color: var(--ink); font-family: var(--sans); font-size: 18px; font-weight: 650; }
.checkin-details span, .checkin-details small { color: #555955; font-size: 12px; }
.checkin-back { color: var(--forest); font-size: 13px; }
.checkin-footer { color: #555955; font-size: 12px; }

@media (max-width: 1020px) {
  .section-wrap { width: min(1200px, calc(100% - 56px)); }
  .hero { gap: 28px; }
  .hero-copy { padding-left: 0; }
  .hero-invitation { left: 48px; }
  .gallery-template-card .template-art { min-height: 310px; }
}

/* Full-page invitation builder and multimedia invitation sections */
.app-shell[hidden], .builder-page[hidden] { display: none; }
.builder-page { min-height: 100vh; background: #FAF9F6; color: #252525; }
.builder-topbar { position: sticky; z-index: 20; top: 0; display: grid; min-height: 72px; grid-template-columns: 1fr auto auto 1fr; align-items: center; border-bottom: 1px solid #E7E5E0; background: rgba(255,255,255,.96); padding: 0 34px; }
.builder-back { justify-self: start; border: 0; background: transparent; color: #29443A; cursor: pointer; font-size: 14px; font-weight: 650; }
.builder-back span { margin-right: 8px; }
.builder-topbar .brand { justify-self: center; }
.builder-topbar .language-switcher { justify-self: center; }
.builder-save-status { justify-self: end; color: #626262; font-size: 12px; }
.builder-layout { display: grid; min-height: calc(100vh - 72px); grid-template-columns: 290px minmax(0,1fr); }
.builder-sidebar { position: sticky; top: 72px; display: flex; height: calc(100vh - 72px); flex-direction: column; background: #29443A; padding: 38px 28px; color: #fff; }
.builder-sidebar > .eyebrow { color: #D8B18D; font-size: 11px; }
.builder-sidebar > h2 { margin: 8px 0 36px; color: #fff; font-family: var(--serif); font-size: 29px; font-weight: 450; line-height: 1.16; }
.builder-page .wizard-stepper { display: flex; flex-direction: column; gap: 6px; border: 0; margin: 0; }
.builder-page .wizard-step { min-height: 48px; align-items: center; border: 0; border-radius: 10px; background: transparent; padding: 7px 10px; color: #D8E0DB; cursor: pointer; font: 550 13px var(--sans); text-align: left; }
.builder-page .wizard-step:disabled { cursor: default; opacity: .66; }
.builder-page .wizard-step span { width: 27px; height: 27px; border-color: #9BAFA4; color: #fff; font-size: 11px; }
.builder-page .wizard-step.active { background: rgba(255,255,255,.12); color: #fff; }
.builder-page .wizard-step.active span, .builder-page .wizard-step.complete span { border-color: #D5AE88; background: #D5AE88; color: #252525; }
.builder-page .wizard-step.active::after { display: none; }
.builder-side-note { margin-top: auto; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 16px; }
.builder-side-note > span { color: #D8B18D; font-size: 20px; }
.builder-side-note strong { display: block; margin-top: 7px; font-size: 13px; }
.builder-side-note p { margin: 5px 0 0; color: #E1E9E4; font-size: 12px; line-height: 1.6; }
.builder-main { width: min(100%, 1120px); margin-inline: auto; padding: 45px clamp(22px,5vw,70px) 60px; }
.builder-heading { margin-bottom: 30px; }
.builder-heading .eyebrow { margin-bottom: 9px; color: #29443A; font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.builder-heading h1 { margin: 0; color: #252525; font-family: var(--serif); font-size: clamp(32px,4vw,47px); font-weight: 450; letter-spacing: -.04em; }
.builder-heading > p:last-child { margin: 9px 0 0; color: #626262; font-size: 15px; line-height: 1.6; }
.builder-page .wizard-body { min-height: 320px; }
.builder-page .wizard-prompt { color: #252525; font-family: var(--sans); font-size: 17px; font-weight: 650; }
.builder-page .category-picker { max-height: 60vh; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.builder-page .category-option { min-height: 90px; border-color: #E7E5E0; border-radius: 11px; background: #fff; padding: 13px; }
.builder-page .category-option:hover, .builder-page .category-option.selected { border-color: #29443A; background: #F1F5F2; }
.builder-page .category-option .category-option-icon { color: #29443A; font-size: 20px; }
.builder-page .category-option strong { color: #252525; font-size: 12px; }
.builder-page .category-group-title { margin: 18px 0 3px; color: #626262; font-size: 10px; }
.builder-page .wizard-fields { gap: 16px; padding-bottom: 24px; }
.builder-page .wizard-field { display: flex; min-width: 0; flex-direction: column; color: #343A36; font-size: 13px; font-weight: 650; }
.builder-page .wizard-field input, .builder-page .wizard-field select, .builder-page .wizard-field textarea { min-height: 46px; border: 1px solid #C8CBC5; border-radius: 9px; background: #fff; padding: 10px 12px; color: #252525; font: 500 14px var(--sans); }
.builder-page .wizard-field textarea { min-height: 96px; }
.builder-page .wizard-field input:focus, .builder-page .wizard-field select:focus, .builder-page .wizard-field textarea:focus { border-color: #29443A; outline: 3px solid rgba(41,68,58,.12); }
.builder-page .optional-label { color: #626262; font-size: 11px; font-weight: 450; }
.builder-page .wizard-footer { position: sticky; bottom: 0; z-index: 5; justify-content: flex-end; gap: 12px; margin: 20px -12px 0; border: 1px solid #E7E5E0; border-radius: 12px; background: rgba(255,255,255,.97); padding: 12px; box-shadow: 0 -7px 24px rgba(37,37,37,.04); }
.builder-page .wizard-footer .button { min-height: 46px; padding-inline: 20px; font-size: 13px; }
.builder-page .wizard-footer .button-outline { margin-right: auto; }
.builder-page .template-picker { max-height: none; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.builder-page .template-option { border-color: #E7E5E0; border-radius: 12px; background: #fff; }
.builder-page .template-option-art { min-height: 150px; }
.builder-page .template-option-text { padding: 12px; }
.builder-page .template-option-text strong { color: #252525; font-size: 13px; }
.builder-page .template-option-text small { color: #626262; font-size: 11px; }
.builder-page .customization-editor { border-color: #E7E5E0; border-radius: 14px; background: #fff; padding: 19px; }
.builder-page .customization-controls .wizard-field select { min-height: 44px; font-size: 13px; }
.builder-page .customization-toggles label { color: #343A36; font-size: 12px; }
.builder-page .customization-toggles input { accent-color: #29443A; }
.builder-page .wizard-help { color: #626262; font-size: 12px; }
.content-section { margin: 20px 0; border: 1px solid #E7E5E0; border-radius: 14px; background: #fff; padding: 20px; }
.content-section-heading, .media-editor-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.content-section-heading h3, .media-editor-heading h3 { margin: 0; color: #252525; font-size: 16px; font-weight: 700; }
.content-section-heading p, .media-editor-heading p { max-width: 440px; margin: 5px 0 0; color: #626262; font-size: 13px; line-height: 1.6; }
.content-row { position: relative; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; border-top: 1px solid #E7E5E0; padding: 16px 38px 8px 0; }
.content-row .wizard-field.full { grid-column: 1/-1; }
.content-row-remove { position: absolute; top: 14px; right: 0; width: 34px; height: 34px; border: 1px solid #E7E5E0; border-radius: 8px; background: #fff; color: #626262; cursor: pointer; font-size: 18px; }
.content-add { min-height: 39px; border: 1px solid #C8CBC5; border-radius: 8px; background: #fff; padding: 0 13px; color: #29443A; cursor: pointer; font: 650 12px var(--sans); }
.content-add:hover { border-color: #29443A; background: #F1F5F2; }
.builder-page .customization-editor { margin-top: 19px; }
.builder-page .customization-controls .wizard-field input[type="color"] { min-height: 44px; }
.media-editor { display: grid; gap: 18px; }
.media-slot { border: 1px solid #E7E5E0; border-radius: 13px; background: #fff; padding: 18px; }
.media-slot-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.media-slot-head strong { display: block; color: #252525; font-size: 14px; }
.media-slot-head small { display: block; margin-top: 4px; color: #626262; font-size: 12px; }
.media-upload-label { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 10px; border: 1px dashed #90A298; border-radius: 10px; background: #F7F9F7; padding: 11px 14px; color: #29443A; cursor: pointer; font-size: 13px; font-weight: 650; }
.media-upload-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.media-upload-label:focus-within { outline: 3px solid rgba(41,68,58,.2); }
.media-upload-label span:last-child { flex: 0 0 auto; border-radius: 7px; background: #29443A; padding: 8px 11px; color: #fff; font-size: 12px; }
.media-asset-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(145px,1fr)); gap: 10px; margin-top: 14px; }
.media-asset { position: relative; overflow: hidden; min-height: 150px; border: 1px solid #E7E5E0; border-radius: 10px; background: #F6F7F4; }
.media-asset img, .media-asset video { display: block; width: 100%; height: 125px; object-fit: cover; background: #E9ECE8; }
.media-asset-copy { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 9px; }
.media-asset-copy strong { overflow: hidden; color: #343A36; font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.media-asset-copy button { flex: 0 0 auto; width: 27px; height: 27px; border: 0; border-radius: 7px; background: #F0E7E1; color: #7A433E; cursor: pointer; font-size: 17px; }
.audio-asset-preview { display: grid; height: 125px; place-items: center; background: #EAF0EB; color: #29443A; font-size: 35px; }
.media-file-note { margin: 12px 0 0; color: #626262; font-size: 12px; line-height: 1.6; }
.music-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 13px; }
.music-option { display: flex; min-height: 85px; flex-direction: column; justify-content: center; gap: 6px; border: 1px solid #E7E5E0; border-radius: 10px; background: #fff; padding: 13px; color: #252525; cursor: pointer; text-align: left; }
.music-option strong { font-size: 13px; }
.music-option small { color: #626262; font-size: 11px; }
.music-option.selected { border-color: #29443A; background: #F1F5F2; box-shadow: inset 0 0 0 1px #29443A; }
.builder-preview { margin-top: 20px; border: 1px solid #E7E5E0; border-radius: 14px; background: #F5F6F3; padding: 18px; }
.builder-preview h3 { margin: 0 0 10px; font-size: 14px; }
.builder-preview-frame { overflow: hidden; border: 1px solid #E7E5E0; border-radius: 11px; background: #fff; padding: 16px; }

.invite-opening { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; overflow: auto; background: radial-gradient(ellipse at 18% 20%,rgba(193,138,85,.2),transparent 38%),linear-gradient(145deg,#F7F5F0,#E9EEE9); padding: 24px; }
.invite-opening[hidden] { display: none; }
.invite-opening-card { width: min(460px,100%); border: 1px solid rgba(41,68,58,.2); border-radius: 24px; background: rgba(255,255,255,.94); padding: clamp(28px,6vw,54px); box-shadow: 0 25px 85px rgba(37,37,37,.16); text-align: center; }
.opening-mark { display: grid; width: 50px; height: 50px; place-items: center; margin: 0 auto 23px; border-radius: 16px; background: #29443A; color: #fff; font: 500 31px var(--serif); }
.invite-opening-card .eyebrow { color: #29443A; font-size: 11px; font-weight: 750; letter-spacing: .16em; }
.invite-opening-card h1 { margin: 12px 0; color: #252525; font: 450 clamp(34px,8vw,52px)/1.08 var(--serif); letter-spacing: -.04em; }
.invite-opening-card > p:not(.eyebrow) { margin: 0 0 24px; color: #626262; font-size: 15px; }
.invite-opening-card .button { min-height: 49px; padding-inline: 21px; font-size: 14px; }
.invite-locked { overflow: hidden; }
.invite-cover.has-photo { min-height: 340px; }
.invite-cover-image, .invite-cover-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-shade { position: absolute; z-index: 0; inset: 0; background: linear-gradient(0deg,rgba(18,30,24,.75),rgba(18,30,24,.08) 80%); }
.cover-kicker, .cover-bottom { z-index: 1; color: #fff; }
.cover-title { position: relative; z-index: 1; display: flex; max-width: 85%; flex-direction: column; align-items: center; gap: 8px; margin: auto; color: #fff; text-align: center; }
.cover-title > span { font-size: 11px; font-weight: 750; letter-spacing: .18em; }
.cover-title h1 { margin: 0; color: #fff; font: 450 clamp(34px,7vw,62px)/1.06 var(--serif); text-wrap: balance; }
.cover-title .invite-greeting { margin: 5px 0 0; color: #fff; font-size: 14px; }
.cover-download { position: relative; z-index: 2; border-radius: 8px; background: #29443A; padding: 9px 13px; color: #fff; font-size: 13px; text-decoration: none; }
.invite-music { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.music-toggle { display: inline-flex; min-height: 42px; align-items: center; gap: 9px; border: 1px solid #29443A; border-radius: 999px; background: #29443A; padding: 0 15px; color: #fff; cursor: pointer; font: 650 13px var(--sans); }
.music-toggle:disabled { opacity: .7; }
.music-track-label { color: #626262; font-size: 12px; }
.invite-section { border-top: 1px solid color-mix(in srgb,var(--invite-accent),transparent 78%); padding: 38px clamp(22px,5vw,54px); }
.invite-section-heading { margin-bottom: 21px; text-align: center; }
.invite-section-heading .eyebrow { margin: 0 0 7px; color: var(--invite-accent); font-size: 10px; font-weight: 750; letter-spacing: .15em; }
.invite-section-heading h2 { margin: 0; color: var(--invite-ink); font: 450 clamp(28px,5vw,38px)/1.12 var(--serif); letter-spacing: -.035em; }
.invite-section-heading > p:last-child { margin: 8px 0 0; color: color-mix(in srgb,var(--invite-ink),transparent 18%); font-size: 13px; }
.invite-countdown { margin: 26px auto 0; border-radius: 14px; background: color-mix(in srgb,var(--invite-accent),white 92%); padding: 19px; text-align: center; }
.invite-countdown > p { margin: 0 0 12px; color: var(--invite-accent); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.invite-countdown > div { display: flex; justify-content: center; gap: clamp(10px,4vw,28px); }
.invite-countdown span { display: flex; min-width: 46px; flex-direction: column; gap: 3px; }
.invite-countdown strong { color: var(--invite-ink); font-size: 24px; font-variant-numeric: tabular-nums; }
.invite-countdown small { color: color-mix(in srgb,var(--invite-ink),transparent 15%); font-size: 11px; }
.calendar-link, .invite-map-link { display: table; margin: 17px auto 0; }
.couple-profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.couple-profile { border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 80%); border-radius: 13px; background: color-mix(in srgb,var(--invite-paper),white 18%); padding: 22px 18px; text-align: center; }
.profile-initial { display: grid; width: 45px; height: 45px; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: color-mix(in srgb,var(--invite-accent),white 88%); color: var(--invite-accent); font: 500 20px var(--serif); }
.couple-profile h3, .schedule-card h3, .story-timeline h3 { margin: 0; color: var(--invite-ink); font-size: 16px; font-weight: 700; }
.couple-profile p, .schedule-card p, .story-timeline p { margin: 7px 0 0; color: color-mix(in srgb,var(--invite-ink),transparent 18%); font-size: 13px; line-height: 1.6; }
.couple-profile a, .schedule-card a { display: inline-block; margin-top: 10px; color: var(--invite-accent); font-size: 13px; font-weight: 650; }
.schedule-list { display: grid; gap: 12px; }
.schedule-card { display: grid; grid-template-columns: 16px 1fr; gap: 13px; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 82%); border-radius: 12px; background: color-mix(in srgb,var(--invite-paper),white 25%); padding: 17px; }
.schedule-mark { width: 12px; height: 12px; margin-top: 4px; border: 3px solid var(--invite-accent); border-radius: 50%; }
.schedule-card strong { display: block; margin-top: 7px; color: var(--invite-ink); font-size: 14px; }
.invite-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.invite-gallery-photo { display: block; overflow: hidden; height: clamp(150px,28vw,250px); border-radius: 11px; background: #E7E5E0; }
.invite-gallery-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.invite-gallery-photo:hover img { transform: scale(1.035); }
.invite-gallery-video { overflow: hidden; border-radius: 11px; background: #202823; }
.invite-gallery-video video { display: block; width: 100%; max-height: 340px; }
.media-download { display: inline-block; margin: 8px 10px; color: var(--invite-accent); font-size: 12px; font-weight: 650; }
.media-fallback { display: inline-block; margin: 8px 10px; color: var(--invite-accent); font-size: 12px; font-weight: 650; }
.invite-media-download { display: flex; min-height: 130px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 78%); border-radius: 11px; background: color-mix(in srgb,var(--invite-paper),white 20%); padding: 15px; color: var(--invite-ink); text-align: center; text-decoration: none; }
.invite-media-download > span { color: var(--invite-accent); font-size: 22px; }
.invite-media-download strong { max-width: 100%; overflow-wrap: anywhere; font-size: 13px; }
.invite-media-download small { color: color-mix(in srgb,var(--invite-ink),transparent 20%); }
.story-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.story-timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 17px; border-left: 1px solid color-mix(in srgb,var(--invite-accent),transparent 55%); margin-left: 9px; padding: 0 0 24px 23px; }
.story-timeline li::before { position: absolute; top: 4px; left: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--invite-accent); content: ""; }
.story-date { color: var(--invite-accent); font-size: 12px; font-weight: 700; }
.gift-account-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 11px; }
.gift-account { display: flex; flex-direction: column; align-items: start; gap: 8px; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 80%); border-radius: 12px; background: color-mix(in srgb,var(--invite-paper),white 22%); padding: 17px; }
.gift-account > span { color: var(--invite-accent); font-size: 12px; font-weight: 700; }
.gift-account strong { color: var(--invite-ink); font-size: 14px; }
.gift-account code { color: var(--invite-ink); font-size: 15px; letter-spacing: .04em; }
.gift-account .button { min-height: 38px; margin-top: 4px; }
.rsvp-form > label.share-wish { flex-direction: row; align-items: center; gap: 9px; }
.rsvp-form > .share-wish input[type="checkbox"] { width: 17px; height: 17px; min-height: 17px; flex: 0 0 17px; margin: 0; padding: 0; accent-color: #29443A; }
.rsvp-message-field { grid-column: 1/-1; }
.guestbook-list { display: grid; gap: 10px; }
.guestbook-entry { border-left: 3px solid var(--invite-accent); border-radius: 0 9px 9px 0; background: color-mix(in srgb,var(--invite-paper),white 22%); padding: 12px 15px; }
.guestbook-entry strong { color: var(--invite-ink); font-size: 13px; }
.guestbook-entry p { margin: 5px 0; color: color-mix(in srgb,var(--invite-ink),transparent 12%); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.guestbook-entry time { color: color-mix(in srgb,var(--invite-ink),transparent 28%); font-size: 11px; }
.guestbook-empty { margin: 0; color: color-mix(in srgb,var(--invite-ink),transparent 18%); font-size: 13px; text-align: center; }
.guestbook-more { display: block; margin: 14px auto 0; }
.media-fallback[hidden] { display: none; }
.invite-guestbook { border-bottom: 1px solid color-mix(in srgb,var(--invite-accent),transparent 78%); }

@media (max-width: 760px) {
  .builder-topbar { min-height: 62px; grid-template-columns: 1fr auto 1fr; padding-inline: 15px; }
  .builder-topbar .brand { display: none; }
  .builder-back { min-height: 44px; font-size: 11px; white-space: nowrap; }
  .builder-topbar .language-trigger { min-width: 0; min-height: 44px; gap: 6px; padding-inline: 10px; font-size: 11px; }
  .builder-save-status { max-width: 45vw; font-size: 10px; text-align: right; }
  .builder-layout { display: block; }
  .builder-sidebar { position: static; height: auto; padding: 17px 18px 13px; }
  .builder-sidebar > .eyebrow, .builder-sidebar > h2, .builder-side-note { display: none; }
  .builder-page .wizard-stepper { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; }
  .builder-page .wizard-step { min-height: 64px; flex-direction: column; justify-content: center; gap: 3px; padding: 3px; font-size: 11px; line-height: 1.15; text-align: center; }
  .builder-page .wizard-step span { width: 21px; height: 21px; font-size: 9px; }
  .builder-main { padding: 27px 18px 44px; }
  .builder-heading { margin-bottom: 21px; }
  .builder-heading > p:last-child { font-size: 13px; }
  .builder-page .category-picker { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .builder-page .template-picker { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .builder-page .template-option-art { min-height: 105px; }
  .builder-page .customization-editor { grid-template-columns: 1fr; padding: 13px; }
  .builder-page .wizard-footer { bottom: 0; margin-inline: -8px; }
  .builder-page .wizard-footer .button { min-height: 44px; padding-inline: 9px; font-size: 11px; }
  .content-section { padding: 15px; }
  .content-section-heading, .media-editor-heading { flex-direction: column; }
  .content-row { grid-template-columns: 1fr; padding-right: 38px; }
  .content-row .wizard-field.full { grid-column: auto; }
  .music-options { grid-template-columns: 1fr; }
  .music-option { min-height: 66px; }
  .invite-page { width: min(100% - 24px, 800px); padding-top: 16px; }
  .invite-cover.has-photo { min-height: 280px; }
  .invite-copy { padding: 31px 21px; }
  .invite-section { padding: 30px 19px; }
  .couple-profile-grid { grid-template-columns: 1fr; }
  .invite-gallery-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .invite-gallery-photo { height: clamp(130px,40vw,220px); }
  .rsvp-section { padding: 31px 19px; }
  .rsvp-form { grid-template-columns: 1fr; }
  .rsvp-form > label:not(.honeypot), .attendance-field, .rsvp-form > .button, .form-message { grid-column: 1; }
  .attendance-field { flex-direction: column; }
  .story-timeline li { grid-template-columns: 1fr; gap: 5px; }
  .invite-music { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .section-wrap { width: min(100% - 38px, 560px); }
  .section { padding-block: 76px; }
  .announcement { min-height: 36px; gap: 6px; font-size: 10px; }
  .site-header { min-height: 68px; padding-inline: 17px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 30px; height: 30px; }
  .mobile-menu-toggle { width: 42px; height: 42px; border-color: var(--line); background: #fff; }
  .mobile-menu-toggle span { width: 17px; height: 2px; background: var(--forest); }
  .primary-nav { top: 67px; background: #fff; padding-inline: 18px; }
  .primary-nav a { min-height: 46px; color: #343A36; font-size: 15px; font-weight: 600; }
  .nav-actions { flex: 0 0 auto; gap: 8px; }
  .nav-create { min-height: 39px; padding-inline: 11px; font-size: 11px; }
  .nav-actions .nav-create { white-space: nowrap; }
  .gallery-back { padding-left: 0; font-size: 12px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 2px; padding-top: 39px; padding-bottom: 54px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .hero-copy h1 { margin-bottom: 17px; font-size: clamp(46px, 11vw, 66px); line-height: 1.03; }
  .hero-description { margin-bottom: 20px; font-size: 15px; line-height: 1.65; }
  .hero-actions { gap: 7px; }
  .hero-actions .button { min-height: 49px; padding-inline: 15px; font-size: 12px; }
  .hero-note { margin-top: 25px; font-size: 12px; }
  .hero-art { min-height: 455px; margin-top: 18px; }
  .hero-invitation { top: 14px; left: 50%; width: min(78%, 330px); min-height: 408px; transform: translateX(-50%); }
  .hero-invitation h2 { font-size: 61px; }
  .hero-invitation-top, .hero-invite-bottom { right: 25px; left: 25px; }
  .hero-backdrop { top: 39px; left: 11%; width: 78%; height: 78%; }
  .hero-side-note { font-size: 8px; }
  .hero-caption { right: 3px; bottom: -1px; font-size: 10px; }
  .trust-strip { min-height: 86px; gap: 10px; padding: 14px 19px; font-size: 9px; }
  .trust-strip div { gap: 7px; font-size: 9px; letter-spacing: 0; }
  .section-head h2, .collection-head h2, .feature-copy h2 { font-size: 40px; }
  .section-intro { font-size: 14px; }
  .category-grid { gap: 9px; margin-top: 30px; }
  .category-card { min-height: 153px; border-radius: 12px; padding: 14px 12px; }
  .category-icon { width: 34px; height: 34px; }
  .category-name { margin-top: 13px; font-size: 15px; }
  .category-desc { font-size: 12px; }
  .category-arrow { top: 14px; right: 12px; }
  .template-grid { grid-template-columns: 1fr; gap: 22px; }
  .template-grid .template-card:not(:first-child) { display: none; }
  .template-card { padding: 7px; }
  .template-art { min-height: 320px; }
  .template-actions .button { min-height: 42px; font-size: 12px; }
  .gallery-hero { padding-block: 46px 36px; }
  .gallery-hero h1 { font-size: 48px; }
  .gallery-hero .section-wrap > p:not(.eyebrow) { font-size: 14px; }
  .gallery-selects { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .gallery-selects label { font-size: 11px; }
  .gallery-selects select { min-height: 41px; font-size: 12px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 10px; }
  .gallery-template-card { padding: 6px; }
  .gallery-template-card .template-art { min-height: 235px; }
  .gallery-template-card .template-art-copy strong { font-size: 23px; }
  .gallery-template-card .template-meta { padding: 10px 4px 0; }
  .gallery-template-card .template-meta h2 { font-size: 14px; }
  .gallery-template-card .template-meta p { font-size: 11px; }
  .gallery-template-card .template-actions { flex-direction: column; gap: 6px; padding: 10px 4px 4px; }
  .gallery-template-card .template-actions .button { width: 100%; min-height: 39px; font-size: 11px; }
  .gallery-pagination { gap: 9px; font-size: 11px; }
  .gallery-pagination .button { min-height: 39px; padding-inline: 10px; font-size: 11px; }
  .editorial-feature { grid-template-columns: 1fr; gap: 26px; padding-block: 76px; }
  .feature-visual { min-height: 380px; order: 2; }
  .feature-frame { left: 4%; width: 76%; height: 350px; }
  .feature-frame-content strong { font-size: 38px; }
  .feature-copy { order: 1; }
  .feature-copy > p:not(.eyebrow) { margin-block: 15px 20px; font-size: 14px; }
  .feature-steps strong { font-size: 13px; }
  .feature-steps small { font-size: 12px; }
  .section-quote { min-height: 300px; padding-block: 62px; }
  .section-quote blockquote { font-size: 28px; }
  .quote-attribution { font-size: 10px; }
  .cta-band-inner { min-height: 360px; }
  .cta-band h2 { font-size: 42px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 19px; padding-block: 40px; }
  .footer-column { gap: 10px; font-size: 12px; }
  .footer-end { font-size: 11px; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { min-height: 100vh; padding: 80px 24px 45px; }
  .back-home { top: 23px; right: 21px; }
  .auth-form-wrap h2 { font-size: 33px; }
  .app-shell { display: block; }
  .app-sidebar { position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; width: 258px; height: 100dvh; transform: translateX(-105%); }
  .app-sidebar.open { transform: translateX(0); }
  .app-topbar { height: 60px; padding-inline: 15px; }
  .sidebar-toggle { display: grid; width: 42px; height: 42px; border-color: var(--line); border-radius: 8px; background: #fff; color: var(--forest); font-size: 17px; }
  .breadcrumb { margin-left: 10px; font-size: 12px; }
  .dashboard-content { padding: 31px 17px 50px; }
  .dashboard-welcome { gap: 15px; margin-bottom: 22px; }
  .dashboard-welcome h1 { font-size: 40px; }
  .welcome-copy { max-width: 340px; font-size: 13px; }
  .button-create { min-height: 45px; font-size: 13px; }
  .stat-grid { gap: 8px; }
  .stat-card { min-height: 108px; padding: 13px; }
  .stat-card > span { font-size: 10px; }
  .stat-card strong { font-size: 27px; }
  .stat-card small { font-size: 11px; }
  .events-section { margin-top: 37px; }
  .events-section-head h2 { font-size: 24px; }
  .event-search { width: 100%; }
  .event-tabs { gap: 16px; margin-top: 18px; }
  .event-tab { font-size: 12px; }
  .event-card { grid-template-columns: 72px minmax(0,1fr) auto; gap: 9px; padding: 8px; }
  .event-card-art { min-height: 65px; }
  .event-card-copy h3 { font-size: 13px; }
  .event-card-copy p { font-size: 11px; }
  .event-card-actions .button { min-width: 68px; min-height: 36px; padding-inline: 7px; font-size: 10px; }
  .event-card-actions .icon-button { width: 36px; height: 36px; }
  .modal-shell { padding: 9px; }
  .modal-card { max-height: calc(100dvh - 18px); padding: 20px 16px; }
  .modal-header h2 { font-size: 25px; }
  .wizard-stepper { margin: 18px 0 16px; }
  .wizard-step { gap: 5px; font-size: 10px; }
  .wizard-step span { width: 22px; height: 22px; }
  .wizard-body { min-height: 230px; }
  .category-picker { grid-template-columns: repeat(3,1fr); gap: 6px; max-height: 260px; }
  .category-option { min-height: 66px; padding: 7px; }
  .category-option strong { font-size: 10px; }
  .wizard-fields { gap: 10px; }
  .wizard-field { font-size: 11px; }
  .wizard-field input, .wizard-field select, .wizard-field textarea { min-height: 43px; padding-inline: 10px; font-size: 12px; }
  .template-picker { grid-template-columns: repeat(2,1fr); gap: 7px; max-height: 290px; }
  .template-option-art { min-height: 100px; }
  .template-option-art span { font-size: 14px; }
  .customization-editor { grid-template-columns: 1fr; gap: 13px; padding: 11px; }
  .customization-controls { gap: 8px; }
  .wizard-footer .button { padding-inline: 12px; }
  .guest-add-form { grid-template-columns: 1fr; }
  .guest-row { grid-template-columns: 1fr; }
  .guest-row-actions { flex-wrap: wrap; justify-content: start; }
  .planning-grid { grid-template-columns: 1fr; }
  .planning-form-row { grid-template-columns: 1fr 1fr; }
  .planning-form-row .button { grid-column: 1/-1; }
  .planning-budget-fields { grid-template-columns: 1fr 1fr; }
  .planning-budget-fields .button { grid-column: 2; }
  .invite-page { width: calc(100% - 20px); padding-top: 13px; }
  .invite-cover { min-height: 140px; }
  .invite-copy { padding: 30px 20px 31px; }
  .invite-copy h1 { font-size: 42px; }
  .invite-introduction { font-size: 14px; }
  .invite-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 21px; padding-block: 14px; }
  .invite-details > div { min-width: 0; }
  .invite-details > div:last-child:nth-child(3) { grid-column: 1/-1; }
  .invite-details strong { font-size: 12px; }
  .detail-label { font-size: 9px; }
  .rsvp-section { padding: 29px 18px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading p:last-child { font-size: 12px; }
  .rsvp-form { gap: 10px; }
  .rsvp-form > label:not(.honeypot), .attendance-field legend { font-size: 11px; }
  .rsvp-form input:not([type="radio"]):not([type="checkbox"]), .rsvp-form select, .rsvp-form textarea { font-size: 13px; }
  .choice { padding: 8px 5px; font-size: 10px; }
  .checkin-card { padding: 28px 20px; }
}
@media (max-width: 390px) {
  .section-wrap { width: calc(100% - 30px); }
  .hero-copy h1 { font-size: 44px; }
  .hero-actions .button { gap: 7px; padding-inline: 10px; font-size: 11px; }
  .hero-art { min-height: 420px; }
  .hero-invitation { min-height: 385px; }
  .hero-invitation h2 { font-size: 55px; }
  .trust-strip div { font-size: 8px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-template-card .template-art { min-height: 300px; }
  .category-card { min-height: 147px; }
  .category-name { font-size: 14px; }
  .dashboard-welcome h1 { font-size: 36px; }
  .event-card { grid-template-columns: 59px minmax(0,1fr) auto; gap: 7px; }
  .event-card-actions .button { min-width: 60px; }
  .invite-details { gap: 8px; }
  .gallery-back { font-size: 11px; }
}
@media (max-width: 360px) {
  .site-header { gap: 9px; padding-inline: 12px; }
  .brand { gap: 7px; font-size: 19px; }
  .brand-mark { width: 27px; height: 27px; }
  .gallery-back { font-size: 10px; }
  .nav-actions .nav-create { min-height: 36px; gap: 4px; padding-inline: 7px; font-size: 10px; }
}
@media (max-width: 360px) {
  .gallery-page .gallery-back { display: none; }
  .invite-edition { display: none; }
}
@media (pointer: coarse) {
  .button { min-height: 46px; }
  .icon-button { width: 44px; height: 44px; }
  .template-favorite { width: 42px; height: 42px; }
  .event-tab { min-height: 44px; }
  .mobile-menu-toggle { min-height: 44px; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .site-header { gap: 12px; padding-inline: 24px; }
}

.photo-editor {
    margin-block: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    padding: 20px;
  }
  .photo-editor-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
  .photo-editor-heading .eyebrow { margin: 0 0 6px; color: var(--forest); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
  .photo-editor-heading h3 { margin: 0; color: var(--ink); font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: -.025em; }
  .photo-editor-heading > p { max-width: 360px; margin: 0; color: #626262; font-size: 12px; line-height: 1.55; }
  .photo-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; }
  .photo-slot { min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: #FAF9F6; padding: 13px; }
  .photo-slot-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--ink); }
  .photo-slot-heading > span { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #EAF0EB; color: var(--forest); font-size: 10px; font-weight: 750; }
  .photo-slot-heading strong { min-width: 0; font-size: 13px; font-weight: 700; }
  .photo-slot-heading small { margin-left: auto; color: #626262; font-size: 11px; font-weight: 650; }
  .photo-file-label { position: relative; display: flex; min-height: 44px; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 5px 6px 5px 10px; color: #454945; font-size: 11px; font-weight: 600; cursor: pointer; }
  .photo-file-label input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
  .photo-file-label:focus-within { outline: 3px solid rgba(193,138,85,.55); outline-offset: 2px; }
  .photo-file-label.is-disabled { background: #F1F1EE; color: #70736F; cursor: not-allowed; opacity: .65; }
  .photo-file-label.is-disabled input { cursor: not-allowed; }
  .photo-file-button { display: grid; min-height: 32px; flex: 0 0 auto; align-items: center; border-radius: 6px; background: var(--forest); padding-inline: 10px; color: #fff; font-size: 11px; font-weight: 700; }
  .photo-cover-preview { position: relative; overflow: hidden; margin: 14px 0 0; border-radius: 9px; background: #E7E5E0; }
  .photo-cover-preview img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
  .photo-cover-preview figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(transparent, rgba(20, 28, 23, .72)); padding: 22px 10px 9px; color: #fff; font-size: 11px; font-weight: 650; }
  .photo-empty-state { display: flex; min-height: 128px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; border: 1px dashed #C9D0C9; border-radius: 9px; padding: 16px; color: #626262; text-align: center; }
  .photo-empty-state > span { color: var(--gold); font-size: 20px; }
  .photo-empty-state strong { color: var(--ink); font-size: 12px; font-weight: 650; }
  .photo-empty-state small { font-size: 11px; }
  .photo-empty-state.gallery-empty { min-height: 77px; margin: 12px 0 0; }
  .photo-gallery-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
  .photo-gallery-item { position: relative; min-width: 0; overflow: hidden; margin: 0; border-radius: 7px; background: #E7E5E0; }
  .photo-gallery-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
  .photo-remove { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(31, 39, 34, .78); color: #fff; font: 500 19px/1 var(--sans); cursor: pointer; }
  .photo-cover-preview .photo-remove { width: 30px; height: 30px; }
  .photo-gallery-item .photo-remove { position: absolute; top: 4px; right: 4px; }
  .photo-remove:hover { background: #20362E; }
  .photo-remove:focus-visible { outline: 3px solid #C18A55; outline-offset: 2px; }
  .photo-editor-note { margin: 12px 0 0; color: #626262; font-size: 11px; line-height: 1.5; }
  .editor-preview.has-photo { position: relative; overflow: hidden; isolation: isolate; background: #26362E; }
  .editor-preview.has-photo::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(20, 29, 24, .12) 5%, rgba(20, 29, 24, .12) 30%, rgba(20, 29, 24, .76) 100%); content: ''; pointer-events: none; }
  .editor-preview-photo { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .editor-preview.has-photo > :not(.editor-preview-photo) { position: relative; z-index: 2; color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,.4); }
  .editor-preview.has-photo > strong { color: #fff; }
  .event-card-art.has-cover-photo::before { display: none; }
  .event-card-art.has-cover-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .event-card-art.has-cover-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, rgba(20, 29, 24, .72)); content: ''; }
  .event-card-art.has-cover-photo > span { z-index: 1; align-self: end; margin-bottom: 10px; color: #fff; font: 650 11px var(--sans); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
  .invite-body .invite-cover.has-photo { min-height: clamp(280px, 46vw, 520px); align-items: stretch; justify-content: flex-end; background: #26362E; }
  .invite-cover.has-photo::before { z-index: 2; border-color: rgba(255,255,255,.72); }
  .invite-cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .invite-cover.has-photo::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(20, 29, 24, .16) 0%, transparent 36%, rgba(20, 29, 24, .76) 100%); content: ''; }
  .invite-cover.has-photo .cover-kicker, .invite-cover.has-photo .cover-bottom { color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,.48); }
  .cover-title { position: absolute; z-index: 2; right: 24px; bottom: 64px; left: 24px; display: grid; justify-items: center; gap: 7px; text-align: center; }
  .cover-title > span { color: rgba(255,255,255,.92); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
  .cover-title h1 { max-width: 720px; margin: 0; color: #fff; font-family: var(--serif); font-size: clamp(34px, 7vw, 70px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; overflow-wrap: anywhere; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
  .invite-gallery { border-top: 1px solid var(--line); background: #FAF9F6; padding: 26px 30px 30px; }
  .invite-gallery-heading { margin-bottom: 16px; text-align: center; }
  .invite-gallery-heading .eyebrow { margin: 0 0 5px; color: var(--forest); font-size: 10px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
  .invite-gallery-heading h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(23px, 4vw, 32px); font-weight: 500; letter-spacing: -.035em; }
  .invite-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .invite-gallery-photo { display: block; overflow: hidden; border-radius: 9px; background: #E7E5E0; }
  .invite-gallery-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
  .invite-gallery-photo:hover img { transform: scale(1.035); }
  @media (max-width: 760px) {
    .photo-editor { padding: 14px; }
    .photo-editor-heading { align-items: start; flex-direction: column; gap: 8px; }
    .photo-editor-heading h3 { font-size: 17px; }
    .photo-editor-heading > p { font-size: 11px; }
    .photo-editor-grid { grid-template-columns: 1fr; }
    .photo-gallery-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .invite-body .invite-cover.has-photo { min-height: min(112vw, 420px); }
    .cover-title { right: 17px; bottom: 57px; left: 17px; }
    .cover-title h1 { font-size: clamp(31px, 9vw, 48px); }
    .invite-gallery { padding: 23px 15px; }
    .invite-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  }
  @media (max-width: 390px) {
    .photo-slot { padding: 10px; }
    .photo-slot-heading strong { font-size: 12px; }
    .invite-body .invite-cover.has-photo { min-height: 340px; }
    .cover-title h1 { font-size: 31px; }
  }
@media (min-width: 761px) and (max-width: 900px) {
  .nav-actions { order: 2; gap: 16px; margin-left: auto; }
  .nav-create { min-height: 42px; padding-inline: 16px; font-size: 13px; }
  .mobile-menu-toggle { display: grid; order: 3; width: 42px; height: 42px; margin-left: 12px; place-content: center; gap: 4px; border: 1px solid var(--line); background: #fff; }
  .mobile-menu-toggle span { width: 17px; height: 2px; background: var(--forest); }
  .primary-nav { position: absolute; top: calc(100% + 6px); right: 24px; left: auto; z-index: 10; display: none; width: min(360px,calc(100vw - 48px)); flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 8px 16px; box-shadow: var(--shadow); color: #343A36; font-size: 14px; }
  .primary-nav.open { display: flex; }
  .primary-nav a { display: flex; min-height: 46px; align-items: center; border-bottom: 1px solid var(--line); color: #343A36; font-size: 14px; font-weight: 600; }
  .primary-nav .language-switcher { padding-block: 8px; }
  .primary-nav .language-trigger { width: 100%; max-width: 180px; min-height: 40px; font-size: 13px; }
  .planning-grid { grid-template-columns: 1fr; }
}
select:not([multiple]) {
  appearance: none;
  -webkit-appearance: none;
  border-color: var(--line-dark);
  color: var(--ink);
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%2329443A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 14px;
  padding-right: 36px;
  font-family: var(--sans);
  font-weight: 550;
  line-height: 1.35;
  transition: border-color .18s ease, box-shadow .18s ease;
}
select:not([multiple]):hover { border-color: #9EADA4; }
select:not([multiple]):focus-visible { border-color: var(--forest); outline: 3px solid rgba(41,68,58,.22); outline-offset: 2px; }
select:not([multiple]):disabled { background-color: var(--surface-muted); color: var(--muted); cursor: not-allowed; }
select:not([multiple]) option, select:not([multiple]) optgroup { background: #fff; color: var(--ink); }
select:not([multiple]) option:checked { background: #E5EEE7; color: var(--forest-raised); }
.customization-controls .wizard-field select { min-height: 44px; font-size: 13px; }
.planning-task-actions select, .planning-budget-fields select { min-height: 38px; padding-right: 31px; font-size: 12px; }

.animation-picker { grid-column: 1 / -1; min-width: 0; border: 0; margin: 4px 0 0; padding: 0; }
.animation-picker legend { margin-bottom: 5px; color: #252525; font-size: 13px; font-weight: 700; }
.animation-picker > p { margin: 0 0 11px; color: #626262; font-size: 12px; line-height: 1.5; }
.animation-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.animation-option { position: relative; min-width: 0; cursor: pointer; }
.animation-option input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.animation-option-card { display: flex; min-height: 108px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; border: 1px solid #E1E5E1; border-radius: 10px; background: #fff; padding: 11px; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.animation-option input:checked + .animation-option-card { border-color: #29443A; background: #F1F5F2; box-shadow: inset 0 0 0 1px #29443A; }
.animation-option input:focus-visible + .animation-option-card { outline: 3px solid rgba(41,68,58,.28); outline-offset: 2px; }
.animation-option-icon { display: grid; width: 28px; height: 28px; place-items: center; color: #29443A; font-size: 23px; line-height: 1; }
.animation-option-card strong { color: #252525; font-size: 12px; font-weight: 700; }
.animation-option-card small { color: #626262; font-size: 10px; line-height: 1.4; }
.animation-icon-stars { animation: invitation-twinkle 2.4s ease-in-out infinite; }
.animation-icon-petals { animation: invitation-petal-turn 5s ease-in-out infinite; }
.animation-icon-hearts { animation: invitation-heart-beat 2.1s ease-in-out infinite; }
.animation-icon-fireflies { position: relative; }
.animation-icon-fireflies::before { width: 8px; height: 8px; border-radius: 50%; background: #D8A957; box-shadow: 0 0 7px 3px rgba(216,169,87,.42); content: ''; animation: invitation-firefly-glow 2.3s ease-in-out infinite; }
.animation-icon-confetti { animation: invitation-confetti-turn 3.2s ease-in-out infinite; }
.editor-preview { position: relative; isolation: isolate; overflow: hidden; }
.editor-preview-decoration { position: absolute; z-index: 3; top: 13%; right: 12%; display: block; width: 24px; height: 24px; pointer-events: none; }
.editor-preview.has-photo > .editor-preview-decoration { position: absolute; z-index: 3; color: #fff; }
.editor-preview-decoration::before, .editor-preview-decoration::after { position: absolute; color: var(--invite-accent); font-size: 22px; line-height: 1; }
.editor-preview-decoration::before { top: 0; right: 0; }
.editor-preview-decoration::after { top: 23px; right: 22px; font-size: 12px; }
.editor-preview-decoration.animation-icon-stars::before { content: '✦'; animation: invitation-twinkle 2.4s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-stars::after { content: '✧'; animation: invitation-twinkle 2s .4s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-petals::before { content: '❀'; animation: invitation-petal-turn 5s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-petals::after { content: '✿'; animation: invitation-petal-turn 4.4s .5s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-hearts::before { content: '♡'; animation: invitation-heart-beat 2.1s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-hearts::after { content: '♥'; animation: invitation-heart-beat 2.1s .45s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-fireflies::before, .editor-preview-decoration.animation-icon-fireflies::after { width: 7px; height: 7px; border-radius: 50%; background: #E5B75D; box-shadow: 0 0 9px 3px rgba(229,183,93,.7); content: ''; animation: invitation-firefly-glow 2.3s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-fireflies::after { top: 30px; right: 23px; animation-delay: .8s; }
.editor-preview-decoration.animation-icon-confetti::before { content: '◆'; color: #C18A55; animation: invitation-confetti-turn 3.2s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-confetti::after { content: '●'; color: #416C50; animation: invitation-confetti-turn 2.8s .4s ease-in-out infinite; }
.invite-page { position: relative; z-index: 1; }
.invite-effects { position: fixed; z-index: 2; inset: 0; overflow: hidden; contain: paint; pointer-events: none; }
.invite-effects span { position: absolute; top: 110%; left: var(--effect-x); color: var(--invite-accent); font-size: var(--effect-size); line-height: 1; opacity: 0; text-shadow: 0 1px 8px color-mix(in srgb,var(--invite-accent),transparent 65%); }
.invite-effects-stars span { animation: invitation-rise-star var(--effect-duration) linear var(--effect-delay) infinite; }
.invite-effects-petals span { animation: invitation-rise-petal var(--effect-duration) linear var(--effect-delay) infinite; }
.invite-effects-hearts span { animation: invitation-rise-heart var(--effect-duration) linear var(--effect-delay) infinite; }
.invite-effects-fireflies span { width: 5px; height: 5px; border-radius: 50%; background: #E5B75D; box-shadow: 0 0 9px 3px rgba(229,183,93,.65); animation: invitation-rise-firefly var(--effect-duration) linear var(--effect-delay) infinite; }
.invite-effects-confetti span { color: #C18A55; animation: invitation-rise-confetti var(--effect-duration) linear var(--effect-delay) infinite; }
.invite-effects-confetti span:nth-child(3n) { color: #416C50; }
.invite-effects-confetti span:nth-child(3n + 1) { color: #B9685F; }
@keyframes invitation-rise-star { 0% { transform: translate3d(0,0,0) scale(.8); opacity: 0; } 12% { opacity: .46; } 50% { transform: translate3d(0,-62vh,0) scale(1.12) rotate(25deg); opacity: .55; } 100% { transform: translate3d(var(--effect-drift),-125vh,0) scale(.9) rotate(65deg); opacity: 0; } }
@keyframes invitation-rise-petal { 0% { transform: translate3d(0,0,0) rotate(-35deg); opacity: 0; } 12% { opacity: .4; } 50% { transform: translate3d(0,-62vh,0) rotate(95deg); opacity: .46; } 100% { transform: translate3d(var(--effect-drift),-125vh,0) rotate(225deg); opacity: 0; } }
@keyframes invitation-rise-heart { 0% { transform: translate3d(0,0,0) scale(.8); opacity: 0; } 12% { opacity: .34; } 50% { transform: translate3d(0,-62vh,0) scale(1.08); opacity: .42; } 100% { transform: translate3d(var(--effect-drift),-125vh,0) scale(.9); opacity: 0; } }
@keyframes invitation-rise-firefly { 0% { transform: translate3d(0,0,0); opacity: 0; filter: brightness(.8); } 12% { opacity: .35; } 50% { transform: translate3d(0,-62vh,0); opacity: .75; filter: brightness(1.4); } 100% { transform: translate3d(var(--effect-drift),-125vh,0); opacity: 0; filter: brightness(.8); } }
@keyframes invitation-rise-confetti { 0% { transform: translate3d(0,0,0) rotate(0) scale(.8); opacity: 0; } 12% { opacity: .4; } 50% { transform: translate3d(0,-62vh,0) rotate(170deg) scale(1.05); opacity: .5; } 100% { transform: translate3d(var(--effect-drift),-125vh,0) rotate(360deg) scale(.8); opacity: 0; } }
@keyframes invitation-twinkle { 0%,100% { opacity: .42; transform: scale(.86) rotate(-8deg); } 50% { opacity: 1; transform: scale(1.12) rotate(8deg); } }
@keyframes invitation-petal-turn { 0%,100% { transform: rotate(-24deg); } 50% { transform: rotate(30deg); } }
@keyframes invitation-heart-beat { 0%,100% { transform: scale(.88); } 50% { transform: scale(1.12); } }
@keyframes invitation-firefly-glow { 0%,100% { opacity: .3; filter: brightness(.8); } 50% { opacity: 1; filter: brightness(1.45); } }
@keyframes invitation-confetti-turn { 0%,100% { transform: rotate(0) scale(.8); } 50% { transform: rotate(155deg) scale(1.08); } }
@media (max-width: 760px) { .animation-options { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 430px) { .invite-edition { display: none; } }
@media (prefers-reduced-motion: reduce) { .invite-effects { display: none; } }

/* Readability and interaction polish */
:root {
  --ink-soft: #555d57;
  --muted: #5f665f;
  --line: #dedfd9;
  --line-dark: #bec4bd;
  --gold: #795f3b;
  --gold-soft: #aa9168;
  --radius-control: 8px;
}

body { font-size: 16px; line-height: 1.6; }
:focus-visible { outline: 3px solid #355f4d; outline-offset: 3px; }
.eyebrow { margin-bottom: 13px; font-size: 11px; letter-spacing: .14em; }
.button { min-height: 44px; gap: 9px; padding-inline: 16px; font-size: 13px; }
.button-large { min-height: 52px; padding-inline: 20px; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .62; transform: none; }
.announcement { min-height: 38px; padding-inline: 14px; font-size: 11px; }
.site-header { gap: 22px; }
.primary-nav, .nav-signin { font-size: 12px; }
.nav-create { min-height: 40px; padding-inline: 14px; font-size: 12px; }
.hero-description { color: #555d57; font-size: 16px; line-height: 1.7; }
.hero-note { color: #5f665f; font-size: 12px; }
.hero-side-note, .hero-invitation-top, .hero-invite-bottom { color: #76684f; }
.hero-invite-date, .hero-invite-place { font-size: 10px; }
.hero-invite-place { color: #76684f; }
.hero-caption { color: #5f5a50; font-size: 12px; }
.hero-scroll { color: #686458; font-size: 10px; }
.trust-strip { color: #625d53; font-size: 10px; }
.section-intro { color: #555d57; font-size: 14px; }
.category-card { border-radius: 10px; }
.category-desc { color: #555d57; font-size: 12px; }
.template-art-copy .template-kicker { font-size: 9px; letter-spacing: .14em; }
.template-badge { color: #5f574a; font-size: 9px; }
.template-meta p { color: #555d57; font-size: 12px; }
.template-actions .button { min-height: 40px; padding-inline: 12px; font-size: 12px; }
.gallery-hero .section-wrap > p:not(.eyebrow) { color: #555d57; font-size: 14px; }
.gallery-count { color: #5d625b; font-size: 11px; }
.gallery-search input, .gallery-selects select { font-size: 13px; }
.gallery-search input::placeholder { color: #70766f; }
.gallery-selects label { color: #5d625b; font-size: 11px; }
.gallery-selects select { min-height: 42px; }
.gallery-status { color: #555d57; font-size: 12px; }
.gallery-pagination { color: #555d57; font-size: 12px; }
.gallery-pagination .button { font-size: 12px; }
.footer-column { font-size: 12px; }
.footer-end { color: #dadbd5; font-size: 12px; }
.auth-privacy, .auth-aside-foot { font-size: 12px; }
.sidebar-workspace small, .sidebar-help small { font-size: 12px; }
.sidebar-nav-label { font-size: 11px; }
.app-nav a { min-height: 44px; }
.stat-card > span { font-size: 12px; }
.stat-card small { color: #555d57; font-size: 13px; }
.event-search input { font-size: 14px; }
.event-card-copy .event-category { font-size: 11px; letter-spacing: .08em; }
.event-card-copy p, .event-card-data small { color: #555d57; font-size: 13px; }
.event-card-data strong { font-size: 13px; }
.event-card-actions { flex-wrap: wrap; }
.event-card-actions .button { min-height: 40px; padding-inline: 11px; font-size: 12px; }
.event-status { font-size: 12px; }
.wizard-help, .template-option-text small, .customization-toggles label { font-size: 13px; }
.category-group-title { font-size: 11px; }
.guest-picker-intro { margin: 0 0 15px; color: #555d57; font-size: 14px; }
.guest-event-list { display: grid; gap: 9px; }
.guest-event-option { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 13px 15px; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.guest-event-option:hover { transform: translateY(-1px); border-color: #9eada4; background: #f8faf8; }
.guest-event-copy { display: grid; min-width: 0; gap: 4px; }
.guest-event-copy strong { overflow: hidden; color: var(--ink); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.guest-event-copy small { color: #555d57; font-size: 12px; }
.guest-event-action { flex: 0 0 auto; color: var(--forest); font-size: 13px; font-weight: 700; }
.detail-empty .button { margin-top: 14px; }
.planning-section:focus { outline: 3px solid rgba(41,68,58,.3); outline-offset: 3px; }
.planning-totals span, .planning-section > header .eyebrow { font-size: 11px; }
.planning-task-main strong, .planning-budget-top strong { font-size: 14px; }
.planning-task-main small, .planning-budget-top small { color: #555d57; font-size: 12px; }
.planning-task-main .task-meta { color: #555d57; font-size: 11px; }
.planning-form-row label, .planning-budget-fields > label { color: #343a36; font-size: 12px; }
.planning-task-actions select, .planning-budget-fields select { min-height: 40px; font-size: 12px; }
.planning-budget-fields input { min-height: 40px; }
.guest-manager-head small { color: #555d57; font-size: 12px; }
.guest-row-copy strong { font-size: 14px; }
.guest-row-copy small { color: #555d57; font-size: 12px; }
.guest-status { font-size: 11px; }
.guest-row-actions .button, .guest-manager-actions .button { min-height: 40px; font-size: 12px; }
.checkin-footer { color: #555d57; font-size: 12px; }

@media (max-width: 760px) {
  .announcement { min-height: 40px; gap: 7px; font-size: 10px; text-align: center; }
  .announcement a { white-space: nowrap; }
  .mobile-menu-toggle { width: 44px; height: 44px; }
  .primary-nav a { font-size: 15px; }
  .nav-create { min-height: 42px; padding-inline: 11px; font-size: 11px; }
  .hero-copy h1 { font-size: clamp(44px, 10vw, 62px); }
  .hero-actions .button { min-height: 46px; padding-inline: 14px; font-size: 12px; }
  .trust-strip { align-items: start; font-size: 10px; }
  .trust-strip div { flex-wrap: wrap; justify-content: flex-start; gap: 6px 16px; font-size: 10px; }
  .section-intro { font-size: 14px; }
  .category-card { min-height: 158px; padding: 15px 13px; }
  .category-name { font-size: 16px; }
  .category-desc { font-size: 12px; }
  .gallery-template-card .template-meta p { font-size: 12px; }
  .gallery-template-card .template-actions .button { min-height: 42px; font-size: 12px; }
  .gallery-selects label { font-size: 12px; }
  .gallery-selects select { min-height: 44px; font-size: 13px; }
  .dashboard-content { padding-inline: 18px; }
  .dashboard-welcome { align-items: flex-start; }
  .button-create { min-height: 44px; font-size: 13px; }
  .event-card { grid-template-columns: 72px minmax(0,1fr); gap: 9px 11px; }
  .event-card-art { grid-row: span 2; }
  .event-card-copy { grid-column: 2; }
  .event-card-data { grid-column: 2; }
  .event-card > .event-card-data:nth-of-type(4) { display: none; }
  .event-card-actions { grid-column: 1 / -1; flex-direction: row; justify-content: stretch; }
  .event-card-actions .button { min-width: 0; flex: 1 1 88px; }
  .guest-event-option { min-height: 66px; padding: 11px 12px; }
  .planning-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .announcement { font-size: 9px; }
  .section-wrap { width: calc(100% - 32px); }
  .hero-actions { gap: 6px; }
  .hero-actions .button { padding-inline: 10px; font-size: 11px; }
  .stat-card > span { font-size: 10px; }
  .event-card-actions .button { flex-basis: 80px; padding-inline: 8px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.example-wedding .invite-cover:not(.has-photo) .cover-title,
.example-wedding .invite-cover:not(.has-photo) .cover-title h1 { color: var(--invite-ink); text-shadow: none; }
.example-wedding .invite-cover:not(.has-photo) .cover-kicker,
.example-wedding .invite-cover:not(.has-photo) .cover-bottom { color: var(--invite-accent); }

/* Theme picker and complete night palette. */
.theme-switcher { position: relative; z-index: 30; display: inline-flex; flex: 0 0 auto; }
.theme-trigger { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; border: 1px solid var(--line-dark); border-radius: 999px; background: var(--surface); padding: 0 11px; color: var(--ink-soft); font-family: var(--sans); font-size: 11px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.theme-trigger:hover, .theme-switcher.is-open .theme-trigger { border-color: var(--gold); color: var(--ink); }
.theme-trigger-icon { color: var(--gold); font-size: 16px; line-height: 1; }
.theme-trigger-label { white-space: nowrap; }
.theme-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 1001; display: grid; width: 196px; gap: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 5px; box-shadow: 0 16px 38px rgba(20,24,21,.2); }
.theme-options[hidden] { display: none; }
.theme-options button { min-height: 40px; border: 0; border-radius: 8px; background: transparent; padding: 0 11px; color: var(--ink-soft); font-family: var(--sans); font-size: 12px; text-align: left; cursor: pointer; }
.theme-options button:hover, .theme-options button:focus-visible { background: var(--surface-muted); color: var(--ink); outline: none; }
.theme-options button[aria-checked="true"] { background: color-mix(in srgb, var(--gold), transparent 88%); color: var(--ink); font-weight: 700; }
.theme-options button[aria-checked="true"]::after { float: right; color: var(--gold); content: "✓"; }
.topbar-account .theme-trigger { min-height: 34px; padding-inline: 9px; }
.app-topbar .topbar-account { display: flex; align-items: center; gap: 10px; }
.site-header .nav-actions { gap: 12px; }
.builder-topbar .theme-switcher { margin-left: auto; }
.builder-topbar { grid-template-columns: 1fr auto auto auto auto 1fr; }
.builder-topbar .theme-switcher { justify-self: end; }
.builder-topbar .language-switcher { margin-left: 0; }
.invite-topbar .theme-switcher { margin-left: 8px; }
.checkin-layout > .theme-switcher { position: absolute; top: 23px; right: 24px; }
.checkin-layout { position: relative; }
.auth-main > .theme-switcher { position: absolute; top: 24px; left: 205px; }

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1a1d1b;
  --paper-deep: #202421;
  --cream: #272c28;
  --surface: #252a27;
  --surface-muted: #303632;
  --ink: #f0eee7;
  --ink-soft: #cbc9c0;
  --muted: #aaa99f;
  --line: #414742;
  --line-dark: #565d57;
  --gold: #d4b783;
  --gold-soft: #a88f67;
  --rose: #d2928c;
  --sage: #9eaf9b;
  --forest: #c4ad86;
  --forest-raised: #d4c098;
  --shadow: 0 26px 70px rgba(0,0,0,.38);
  --shadow-soft: 0 10px 30px rgba(0,0,0,.22);
  background: var(--paper);
}
html[data-theme="dark"] body:not(.invite-body) { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .gallery-page .site-header,
html[data-theme="dark"] .auth-main,
html[data-theme="dark"] .app-body,
html[data-theme="dark"] .checkin-body { background: var(--paper); }
html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .app-sidebar .brand-mark { background: #54715f; color: #fff; }
html[data-theme="dark"] .announcement { background: #293d33; color: #f0eee7; }
html[data-theme="dark"] .cta-band { background: #293d33; color: #f0eee7; }
html[data-theme="dark"] .cta-band h2 { color: #f0eee7; }
html[data-theme="dark"] .cta-band h2 em { color: #e8d2aa; }
html[data-theme="dark"] .cta-band .button-light { background: #f0eee7; color: #1a1d1b; }
html[data-theme="dark"] .primary-nav { background: #252a27; }
html[data-theme="dark"] .language-trigger,
html[data-theme="dark"] .language-options { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .language-option { color: var(--ink-soft); }
html[data-theme="dark"] .language-option:hover,
html[data-theme="dark"] .language-option:focus-visible,
html[data-theme="dark"] .language-option[aria-checked="true"] { background: #343b36; color: var(--ink); }
html[data-theme="dark"] .primary-nav,
html[data-theme="dark"] .nav-signin,
html[data-theme="dark"] .gallery-back { color: var(--ink-soft); }
html[data-theme="dark"] .section-collection,
html[data-theme="dark"] .gallery-hero,
html[data-theme="dark"] .checkin-body { background: #222724; }
html[data-theme="dark"] .hero-description,
html[data-theme="dark"] .hero-note,
html[data-theme="dark"] .hero-caption,
html[data-theme="dark"] .hero-side-note,
html[data-theme="dark"] .hero-scroll,
html[data-theme="dark"] .section-intro,
html[data-theme="dark"] .feature-copy > p:not(.eyebrow),
html[data-theme="dark"] .feature-steps small,
html[data-theme="dark"] .quote-attribution { color: var(--ink-soft); }
html[data-theme="dark"] .section-quote { background: #222724; }
html[data-theme="dark"] .section-quote blockquote { color: var(--ink); }
html[data-theme="dark"] .category-card,
html[data-theme="dark"] .template-card,
html[data-theme="dark"] .gallery-template-card,
html[data-theme="dark"] .gallery-search,
html[data-theme="dark"] .gallery-selects select,
html[data-theme="dark"] .checkin-card,
html[data-theme="dark"] .auth-form input,
html[data-theme="dark"] .wizard-field input,
html[data-theme="dark"] .wizard-field select,
html[data-theme="dark"] .wizard-field textarea,
html[data-theme="dark"] .planning-form input,
html[data-theme="dark"] .planning-form select,
html[data-theme="dark"] .planning-task-actions select,
html[data-theme="dark"] .planning-budget-fields select { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .category-card:hover { background: #2a302c; }
html[data-theme="dark"] .template-card,
html[data-theme="dark"] .gallery-template-card { border-color: var(--line); }
html[data-theme="dark"] .category-name,
html[data-theme="dark"] .gallery-empty h2,
html[data-theme="dark"] .gallery-template-card .template-meta h2 { color: var(--ink); }
html[data-theme="dark"] .category-desc,
html[data-theme="dark"] .gallery-hero .section-wrap > p:not(.eyebrow),
html[data-theme="dark"] .gallery-count,
html[data-theme="dark"] .gallery-status,
html[data-theme="dark"] .gallery-pagination,
html[data-theme="dark"] .template-meta p,
html[data-theme="dark"] .auth-subtitle,
html[data-theme="dark"] .auth-toggle,
html[data-theme="dark"] .checkin-copy,
html[data-theme="dark"] .checkin-details span,
html[data-theme="dark"] .checkin-details small { color: var(--muted); }
html[data-theme="dark"] .gallery-search input,
html[data-theme="dark"] .gallery-selects label,
html[data-theme="dark"] .gallery-selects select,
html[data-theme="dark"] .auth-form label,
html[data-theme="dark"] .wizard-field,
html[data-theme="dark"] .checkin-details strong { color: var(--ink-soft); }
html[data-theme="dark"] .gallery-toolbar,
html[data-theme="dark"] .checkin-details,
html[data-theme="dark"] .trust-strip { border-color: var(--line); }
html[data-theme="dark"] .trust-strip,
html[data-theme="dark"] .trust-strip > span { color: var(--muted); }
html[data-theme="dark"] .auth-toggle a,
html[data-theme="dark"] .back-home { color: var(--gold); }
html[data-theme="dark"] .auth-form input::placeholder,
html[data-theme="dark"] .wizard-field input::placeholder,
html[data-theme="dark"] .wizard-field textarea::placeholder,
html[data-theme="dark"] .gallery-search input::placeholder { color: #aaa99f; }
html[data-theme="dark"] .button-dark { background: #c4ad86; color: #1a1d1b; }
html[data-theme="dark"] .button-dark:hover { background: #d7c29a; }
html[data-theme="dark"] .button-light { border-color: var(--line-dark); background: var(--surface-muted); color: var(--ink); }
html[data-theme="dark"] .button-outline { border-color: var(--line-dark); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .button-outline:hover { background: #303632; }
html[data-theme="dark"] .app-sidebar,
html[data-theme="dark"] .app-topbar,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .event-card,
html[data-theme="dark"] .modal-card,
html[data-theme="dark"] .planning-section,
html[data-theme="dark"] .guest-manager,
html[data-theme="dark"] .detail-event-summary,
html[data-theme="dark"] .guest-row,
html[data-theme="dark"] .sidebar-workspace,
html[data-theme="dark"] .published-link { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .customization-editor,
html[data-theme="dark"] .preview-device-switch,
html[data-theme="dark"] .planning-totals article { border-color: var(--line); background: var(--surface-muted); color: var(--ink); }
html[data-theme="dark"] .preview-device-switch button { color: var(--ink-soft); }
html[data-theme="dark"] .preview-device-switch button.active { background: #414942; color: var(--ink); }
html[data-theme="dark"] .planning-event-picker { color: var(--muted); }
html[data-theme="dark"] .planning-event-picker select,
html[data-theme="dark"] .planning-budget-fields input,
html[data-theme="dark"] .guest-add-form input { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .wizard-step,
html[data-theme="dark"] .category-group-title,
html[data-theme="dark"] .wizard-help,
html[data-theme="dark"] .template-option-text small,
html[data-theme="dark"] .customization-toggles label,
html[data-theme="dark"] .gallery-empty,
html[data-theme="dark"] .guest-list-empty,
html[data-theme="dark"] .guest-picker-intro,
html[data-theme="dark"] .guest-event-copy small,
html[data-theme="dark"] .checkin-back,
html[data-theme="dark"] .checkin-footer,
html[data-theme="dark"] .event-status { color: var(--muted); }
html[data-theme="dark"] .event-status { background: #354238; }
html[data-theme="dark"] .event-status.draft { background: #3e3931; color: #e1c9a5; }
html[data-theme="dark"] .builder-page { background: var(--paper); color: var(--ink); }
html[data-theme="dark"] .builder-topbar,
html[data-theme="dark"] .builder-page .wizard-footer,
html[data-theme="dark"] .builder-page .content-section,
html[data-theme="dark"] .builder-page .media-slot,
html[data-theme="dark"] .builder-page .music-option,
html[data-theme="dark"] .builder-preview-frame { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .builder-page .builder-save-status,
html[data-theme="dark"] .builder-page .builder-heading > p:last-child,
html[data-theme="dark"] .builder-page .content-section-heading p,
html[data-theme="dark"] .builder-page .media-slot-head small,
html[data-theme="dark"] .builder-page .music-option small,
html[data-theme="dark"] .builder-page .media-file-note { color: var(--muted); }
html[data-theme="dark"] .builder-page .builder-heading h1,
html[data-theme="dark"] .builder-page .wizard-prompt,
html[data-theme="dark"] .builder-page .content-section-heading h3,
html[data-theme="dark"] .builder-page .media-slot-head strong,
html[data-theme="dark"] .builder-page .music-option,
html[data-theme="dark"] .builder-page .template-option-text strong { color: var(--ink); }
html[data-theme="dark"] .builder-page .builder-heading .eyebrow,
html[data-theme="dark"] .builder-page .builder-back { color: var(--gold); }
html[data-theme="dark"] .builder-page .builder-sidebar { background: #202d26; }
html[data-theme="dark"] .builder-page .category-option,
html[data-theme="dark"] .builder-page .template-option,
html[data-theme="dark"] .builder-page .wizard-field input,
html[data-theme="dark"] .builder-page .wizard-field select,
html[data-theme="dark"] .builder-page .wizard-field textarea,
html[data-theme="dark"] .builder-page .content-row-remove,
html[data-theme="dark"] .builder-page .content-add { border-color: var(--line); background: #2b312d; color: var(--ink); }
html[data-theme="dark"] .builder-page .category-option:hover,
html[data-theme="dark"] .builder-page .category-option.selected,
html[data-theme="dark"] .builder-page .music-option.selected { border-color: #9eb9a8; background: #354139; }
html[data-theme="dark"] .builder-page .category-option strong,
html[data-theme="dark"] .builder-page .customization-toggles label { color: var(--ink); }
html[data-theme="dark"] .builder-page .category-group-title,
html[data-theme="dark"] .builder-page .optional-label,
html[data-theme="dark"] .builder-page .content-section-heading p,
html[data-theme="dark"] .builder-page .template-option-text small { color: var(--muted); }
html[data-theme="dark"] .builder-page .animation-picker legend { color: var(--ink); }
html[data-theme="dark"] .builder-page .animation-picker > p { color: var(--muted); }
html[data-theme="dark"] .builder-page .media-upload-label { border-color: #718579; background: #303b34; color: #e2e8e2; }
html[data-theme="dark"] .builder-page .media-upload-label span:last-child { background: #52715e; color: #fff; }
html[data-theme="dark"] .builder-page .media-asset { border-color: var(--line); background: #282e2a; }
html[data-theme="dark"] .builder-page .media-asset-copy strong { color: var(--ink); }
html[data-theme="dark"] .builder-page .content-row { border-color: var(--line); }
html[data-theme="dark"] .builder-page .category-option .category-option-icon { color: var(--gold); }
html[data-theme="dark"] .builder-page .audio-asset-preview { background: #35443a; color: #d8e5db; }
html[data-theme="dark"] .builder-page .builder-preview { border-color: var(--line); background: var(--surface-muted); }
html[data-theme="dark"] .builder-page .builder-preview h3 { color: var(--ink); }
html[data-theme="dark"] .builder-page .music-option.selected { box-shadow: inset 0 0 0 1px #9eb9a8; }
html[data-theme="dark"] .invite-opening { background: radial-gradient(ellipse at 18% 20%,rgba(193,138,85,.12),transparent 38%),linear-gradient(145deg,#202522,#171a18); }
html[data-theme="dark"] .invite-opening-card { border-color: #4c514b; background: rgba(37,42,39,.97); box-shadow: 0 25px 85px rgba(0,0,0,.42); }
html[data-theme="dark"] .invite-opening-card .eyebrow { color: var(--gold); }
html[data-theme="dark"] .invite-opening-card h1 { color: var(--ink); }
html[data-theme="dark"] .invite-opening-card > p:not(.eyebrow) { color: var(--muted); }
html[data-theme="dark"] .invite-section-heading > p:last-child,
html[data-theme="dark"] .music-track-label { color: var(--muted); }
html[data-theme="dark"] .invite-countdown { background: #343b36; color: var(--ink); }
html[data-theme="dark"] .invite-copy .eyebrow,
html[data-theme="dark"] .invite-host,
html[data-theme="dark"] .invite-greeting,
html[data-theme="dark"] .detail-label,
html[data-theme="dark"] .cover-kicker,
html[data-theme="dark"] .cover-bottom { color: color-mix(in srgb, var(--invite-accent), white 36%); }
html[data-theme="dark"] .guest-status { background: #3a3c35; color: #ded2b5; }
html[data-theme="dark"] .guest-status.attending { background: #2f4135; color: #c8e0cc; }
html[data-theme="dark"] .guest-status.declined { background: #493835; color: #ecc3ba; }
html[data-theme="dark"] .app-sidebar { border-right-color: var(--line); }
html[data-theme="dark"] .app-nav a,
html[data-theme="dark"] .sidebar-workspace strong,
html[data-theme="dark"] .sidebar-help strong,
html[data-theme="dark"] .event-card-copy h3,
html[data-theme="dark"] .event-card-data strong,
html[data-theme="dark"] .stat-card strong,
html[data-theme="dark"] .planning-section > header h3,
html[data-theme="dark"] .planning-totals strong,
html[data-theme="dark"] .planning-task-main strong,
html[data-theme="dark"] .planning-budget-top strong,
html[data-theme="dark"] .guest-row-copy strong { color: var(--ink); }
html[data-theme="dark"] .app-nav a:hover,
html[data-theme="dark"] .app-nav a.active,
html[data-theme="dark"] .sidebar-help,
html[data-theme="dark"] .stat-card-accent,
html[data-theme="dark"] .planning-totals article,
html[data-theme="dark"] .planning-form input,
html[data-theme="dark"] .planning-form select,
html[data-theme="dark"] .planning-task-actions select,
html[data-theme="dark"] .planning-budget-fields select { border-color: var(--line); background: #303632; color: var(--ink); }
html[data-theme="dark"] .event-tabs,
html[data-theme="dark"] .planning-task,
html[data-theme="dark"] .planning-budget-item { border-color: var(--line); }
html[data-theme="dark"] .event-tab,
html[data-theme="dark"] .breadcrumb,
html[data-theme="dark"] .sidebar-toggle,
html[data-theme="dark"] .event-card-copy .event-category,
html[data-theme="dark"] .event-card-copy p,
html[data-theme="dark"] .event-card-data small,
html[data-theme="dark"] .stat-card > span,
html[data-theme="dark"] .stat-card small,
html[data-theme="dark"] .planning-count,
html[data-theme="dark"] .planning-task-main small,
html[data-theme="dark"] .planning-task-main .task-meta,
html[data-theme="dark"] .planning-form-row label,
html[data-theme="dark"] .planning-task-actions select,
html[data-theme="dark"] .planning-budget-fields label,
html[data-theme="dark"] .guest-manager-head small,
html[data-theme="dark"] .guest-row-copy small,
html[data-theme="dark"] .detail-event-summary small { color: var(--muted); }
html[data-theme="dark"] .event-tab.active { color: var(--ink); }
html[data-theme="dark"] .toast { border-color: var(--line); background: #303632; color: var(--ink); }
html[data-theme="dark"] .loading-spinner { border-color: var(--line); border-top-color: var(--gold); }

/* Invitations retain their own style while the surrounding card follows night mode. */
html[data-theme="dark"] .invite-body { --invite-paper: #292e2a; --invite-ink: #f0eee7; --invite-accent: #d8bd8c; background: #171a18; color: var(--invite-ink); }
html[data-theme="dark"] .invite-card { border-color: #4c514b; box-shadow: 0 24px 70px rgba(0,0,0,.42); }
html[data-theme="dark"] .invite-details span:not(.detail-label),
html[data-theme="dark"] .section-heading p:last-child,
html[data-theme="dark"] .rsvp-form > label:not(.honeypot),
html[data-theme="dark"] .attendance-field legend,
html[data-theme="dark"] .choice { color: #d0cec5; }
html[data-theme="dark"] .rsvp-section { background: #202522; }
html[data-theme="dark"] .rsvp-form input:not([type="radio"]):not([type="checkbox"]),
html[data-theme="dark"] .rsvp-form select,
html[data-theme="dark"] .rsvp-form textarea,
html[data-theme="dark"] .choice { border-color: #4a514b; background: #2c322e; color: #f0eee7; }
html[data-theme="dark"] .rsvp-form input::placeholder,
html[data-theme="dark"] .rsvp-form textarea::placeholder { color: #aaa99f; }
html[data-theme="dark"] .invite-topbar .brand { color: #f0eee7; }
html[data-theme="dark"] .invite-edition,
html[data-theme="dark"] .invite-footer { color: #aaa99f; }

@media (max-width: 760px) {
  .theme-trigger { min-height: 36px; padding-inline: 9px; }
  .theme-trigger-label { max-width: 77px; overflow: hidden; text-overflow: ellipsis; }
  .site-header .theme-trigger-label,
  .app-topbar .theme-trigger-label,
  .builder-topbar .theme-trigger-label { display: none; }
  .site-header .theme-trigger,
  .app-topbar .theme-trigger,
  .builder-topbar .theme-trigger { width: 40px; justify-content: center; padding: 0; }
  .site-header .nav-actions { gap: 7px; }
  .site-header .theme-trigger { padding-inline: 8px; }
  .dashboard-language-switcher .language-trigger { width: 42px; min-width: 42px; justify-content: center; padding: 0; }
  .dashboard-language-switcher .language-trigger-label { display: none; }
  .builder-topbar { grid-template-columns: auto 42px minmax(0,1fr) 40px; gap: 6px; }
  .builder-topbar .language-trigger { width: 42px; min-width: 42px; justify-content: center; padding: 0; }
  .builder-topbar .language-trigger-label { display: none; }
  .builder-topbar .builder-save-status { max-width: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .auth-main > .theme-switcher { top: 19px; right: 18px; left: auto; }
  .invite-topbar .theme-trigger-label,
  .invite-topbar .language-trigger-label { display: none; }
  .invite-topbar .theme-trigger { width: 40px; justify-content: center; padding: 0; }
  .invite-topbar .language-trigger { width: 42px; min-width: 42px; justify-content: center; padding: 0; }
  .checkin-layout > .theme-switcher { top: 14px; right: 14px; }
  .builder-topbar .theme-switcher { margin-left: auto; }
}

/* Motion that brings the landing page and invitations to life without competing with their typography. */
.motion-reveal { opacity: 0; transform: translate3d(0,22px,0) scale(.99); transition: opacity .65s ease var(--motion-delay,0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--motion-delay,0ms); will-change: opacity, transform; }
.motion-reveal.motion-revealed { opacity: 1; transform: none; will-change: auto; }
.hero-copy { animation: momentra-enter .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-art { animation: momentra-enter .95s .12s cubic-bezier(.2,.7,.2,1) both; }
.hero-invitation { animation: hero-card-glow 7s ease-in-out .9s infinite; }
.hero-flower { transform-origin: center; animation: hero-flower-drift 7s ease-in-out infinite; }
.flower-two { animation-name: hero-flower-drift-two; animation-delay: -3.3s; }
.hero-orbit { transform-origin: center; animation: hero-orbit-pulse 5.5s ease-in-out infinite; }
.orbit-b { animation-delay: -2.2s; }
.hero-invitation::after { animation: hero-frame-glow 6s ease-in-out infinite alternate; }
.category-icon { transition: transform .25s ease; }
.category-card:hover .category-icon { transform: rotate(-8deg) scale(1.08); }
.template-card:hover, .gallery-template-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.template-art { transition: background-position .6s ease, filter .3s ease; }
.template-card:hover .template-art, .gallery-template-card:hover .template-art { filter: saturate(1.06); }
.hero-actions .button:hover, .template-actions .button:hover { box-shadow: 0 9px 22px rgba(38,58,51,.15); }
.cta-ornament { animation: ornament-turn 32s linear infinite; transform-origin: center; }
.invite-opening-card { animation: invitation-opening-arrive .75s cubic-bezier(.2,.75,.2,1) both; }
.invite-opening.is-closing { animation: invitation-opening-dismiss .46s cubic-bezier(.4,0,.8,.35) both; pointer-events: none; }
.invite-page:not([inert]) .invite-card { animation: invitation-card-open .78s cubic-bezier(.2,.75,.2,1) both; transform-origin: top center; }
.invite-page:not([inert]) .cover-title { animation: invitation-title-arrive .82s .16s cubic-bezier(.2,.75,.2,1) both; }
.invite-page:not([inert]) .cover-ornament { animation: invitation-ornament-arrive 1s .22s cubic-bezier(.2,.75,.2,1) both; }
.invite-body .invite-cover::before { animation: invitation-frame-breathe 8s ease-in-out infinite alternate; }
.invite-body .cover-ornament { transform-origin: center; }
.invite-music .music-toggle[aria-pressed="true"] > span:first-child { animation: music-note-pulse 1.35s ease-in-out infinite; }
.guestbook-entry { animation: guestbook-entry-arrive .45s ease both; }
.modal-shell[open] .modal-card { animation: modal-card-arrive .34s cubic-bezier(.2,.7,.2,1) both; }
@keyframes momentra-enter { from { opacity: 0; transform: translate3d(0,18px,0); } to { opacity: 1; transform: translate3d(0,0,0); } }
@keyframes hero-card-glow { 0%,100% { box-shadow: 0 28px 70px rgba(28,48,39,.18); } 50% { box-shadow: 0 34px 78px rgba(28,48,39,.24); } }
@keyframes hero-flower-drift { 0%,100% { transform: translateY(0) rotate(-20deg); } 50% { transform: translateY(-8px) rotate(-13deg); } }
@keyframes hero-flower-drift-two { 0%,100% { transform: translateY(0) rotate(24deg); } 50% { transform: translateY(-7px) rotate(16deg); } }
@keyframes hero-orbit-pulse { 0%,100% { transform: scale(.92); opacity: .65; } 50% { transform: scale(1.16); opacity: 1; } }
@keyframes hero-frame-glow { from { opacity: .48; } to { opacity: .95; } }
@keyframes ornament-turn { to { transform: rotate(360deg); } }
@keyframes invitation-opening-arrive { from { opacity: 0; transform: translateY(16px) scale(.975); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes invitation-opening-dismiss { to { opacity: 0; transform: translateY(-9px) scale(1.02); visibility: hidden; } }
@keyframes invitation-card-open { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes invitation-title-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes invitation-ornament-arrive { from { opacity: 0; transform: scale(.72) rotate(-12deg); } to { opacity: .45; transform: scale(1) rotate(0); } }
@keyframes invitation-frame-breathe { from { opacity: .56; } to { opacity: .96; } }
@keyframes music-note-pulse { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-3px) scale(1.12); } }
@keyframes guestbook-entry-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modal-card-arrive { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.animation-icon-sparkles, .invite-effects-sparkles span { animation: invitation-twinkle 2s ease-in-out infinite; }
.animation-icon-balloons { animation: invitation-balloon-sway 2.7s ease-in-out infinite; }
.animation-icon-bubbles { position: relative; }
.animation-icon-bubbles::before, .animation-icon-bubbles::after { position: absolute; width: 7px; height: 7px; border: 1px solid #82b7bc; border-radius: 50%; content: ''; animation: invitation-bubble-rise 2.2s ease-in-out infinite; }
.animation-icon-bubbles::after { top: 10px; left: 17px; width: 5px; height: 5px; animation-delay: .6s; }
.animation-icon-ribbons { animation: invitation-ribbon-sway 2.6s ease-in-out infinite; }
.animation-icon-lanterns { animation: invitation-lantern-glow 2.4s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-sparkles::before { content: '✦'; animation: invitation-twinkle 1.8s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-sparkles::after { content: '✧'; animation: invitation-twinkle 2.2s .5s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-balloons::before { content: '🎈'; font-size: 21px; animation: invitation-balloon-sway 2.7s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-bubbles::before, .editor-preview-decoration.animation-icon-bubbles::after { width: 9px; height: 9px; border: 1px solid #82b7bc; border-radius: 50%; content: ''; animation: invitation-bubble-rise 2.2s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-bubbles::after { top: 18px; right: 21px; width: 6px; height: 6px; animation-delay: .6s; }
.editor-preview-decoration.animation-icon-ribbons::before { content: '〰'; animation: invitation-ribbon-sway 2.6s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-lanterns::before { content: '✦'; color: #d5a957; text-shadow: 0 0 8px rgba(213,169,87,.65); animation: invitation-lantern-glow 2.4s ease-in-out infinite; }
.editor-preview-decoration.animation-icon-lanterns::after { content: '✧'; color: #d5a957; }
.invite-effects-sparkles span { animation: invitation-rise-star var(--effect-duration) linear var(--effect-delay) infinite, invitation-twinkle 2s ease-in-out calc(var(--effect-delay) + 1s) infinite; }
.invite-effects-balloons span { font-size: max(18px,var(--effect-size)); animation: invitation-rise-balloon var(--effect-duration) ease-in-out var(--effect-delay) infinite; }
.invite-effects-bubbles span { width: var(--effect-size); height: var(--effect-size); border: 1px solid color-mix(in srgb,#9bd4d6,transparent 15%); border-radius: 50%; background: radial-gradient(circle at 32% 27%,rgba(255,255,255,.66),rgba(155,212,214,.12) 48%,transparent 72%); box-shadow: 0 0 12px rgba(155,212,214,.18); animation: invitation-rise-bubble var(--effect-duration) ease-in-out var(--effect-delay) infinite; }
.invite-effects-ribbons span { animation: invitation-rise-ribbon var(--effect-duration) ease-in-out var(--effect-delay) infinite; }
.invite-effects-lanterns span { color: #e9c97f; text-shadow: 0 0 12px rgba(233,201,127,.5); animation: invitation-rise-lantern var(--effect-duration) ease-in-out var(--effect-delay) infinite; }
@keyframes invitation-balloon-sway { 0%,100% { transform: translateY(1px) rotate(-7deg); } 50% { transform: translateY(-4px) rotate(7deg); } }
@keyframes invitation-bubble-rise { 0%,100% { transform: translateY(3px) scale(.85); opacity: .55; } 50% { transform: translateY(-6px) scale(1.08); opacity: 1; } }
@keyframes invitation-ribbon-sway { 0%,100% { transform: translateX(-2px) rotate(-8deg); } 50% { transform: translateX(3px) rotate(8deg); } }
@keyframes invitation-lantern-glow { 0%,100% { opacity: .65; filter: drop-shadow(0 0 1px rgba(233,201,127,.2)); } 50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(233,201,127,.75)); } }
@keyframes invitation-rise-balloon { 0% { transform: translate3d(0,0,0) rotate(-8deg); opacity: 0; } 12% { opacity: .7; } 50% { transform: translate3d(5px,-62vh,0) rotate(7deg); opacity: .8; } 100% { transform: translate3d(var(--effect-drift),-125vh,0) rotate(-5deg); opacity: 0; } }
@keyframes invitation-rise-bubble { 0% { transform: translate3d(0,0,0) scale(.72); opacity: 0; } 12% { opacity: .48; } 50% { transform: translate3d(-8px,-62vh,0) scale(1.08); opacity: .62; } 100% { transform: translate3d(var(--effect-drift),-125vh,0) scale(.88); opacity: 0; } }
@keyframes invitation-rise-ribbon { 0% { transform: translate3d(0,0,0) rotate(-12deg); opacity: 0; } 12% { opacity: .48; } 50% { transform: translate3d(6px,-62vh,0) rotate(14deg); opacity: .64; } 100% { transform: translate3d(var(--effect-drift),-125vh,0) rotate(-7deg); opacity: 0; } }
@keyframes invitation-rise-lantern { 0% { transform: translate3d(0,0,0) scale(.76); opacity: 0; filter: brightness(.8); } 12% { opacity: .46; } 50% { transform: translate3d(0,-62vh,0) scale(1.1); opacity: .82; filter: brightness(1.3); } 100% { transform: translate3d(var(--effect-drift),-125vh,0) scale(.9); opacity: 0; filter: brightness(.9); } }
@media (prefers-reduced-motion: reduce) {
  .motion-reveal:not(.motion-revealed) { opacity: 1 !important; transform: none !important; transition: none !important; }
  .motion-reveal.motion-revealed { transition: none !important; }
}

/* Invitation covers use layered color, clear hierarchy, and restrained motion. */
.invite-opening-card { position: relative; isolation: isolate; overflow: hidden; border-color: color-mix(in srgb,var(--invite-accent),transparent 68%); background: radial-gradient(circle at 88% 8%,color-mix(in srgb,var(--invite-accent),transparent 87%) 0 18%,transparent 19%),linear-gradient(145deg,color-mix(in srgb,var(--invite-paper),white 24%),var(--invite-paper)); }
.invite-opening-card::before { position: absolute; inset: 10px; z-index: 0; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 78%); border-radius: 17px; content: ""; pointer-events: none; }
.invite-opening-card::after { position: absolute; top: 23px; right: 28px; z-index: 1; color: var(--invite-accent); content: "✧"; font-size: 25px; opacity: .62; animation: invitation-lantern-glow 3.5s ease-in-out infinite; }
.invite-opening-card > * { position: relative; z-index: 1; }
.invite-opening-card .opening-mark { background: var(--invite-accent); box-shadow: 0 7px 21px color-mix(in srgb,var(--invite-accent),transparent 72%); animation: invitation-mark-glow 4s ease-in-out infinite; }
.invite-opening-card .button { box-shadow: 0 10px 24px color-mix(in srgb,var(--invite-accent),transparent 78%); transition: transform .22s ease,box-shadow .22s ease; }
.invite-opening-card .button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb,var(--invite-accent),transparent 68%); }
.invite-body:not(.example-wedding) { background: radial-gradient(ellipse at 10% 7%,color-mix(in srgb,var(--invite-accent),transparent 90%),transparent 35%),radial-gradient(ellipse at 92% 72%,color-mix(in srgb,var(--invite-accent),transparent 92%),transparent 31%),var(--paper); }
.invite-body:not(.example-wedding) .invite-page { width: min(860px,calc(100% - 38px)); padding-block: clamp(20px,4vw,42px) 48px; }
.invite-body:not(.example-wedding) .invite-card { overflow: hidden; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 78%); border-radius: 22px; box-shadow: 0 30px 90px rgba(27,36,31,.14); }
.invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media) { min-height: clamp(300px,39vw,430px); padding: 65px 28px; background: radial-gradient(circle at 13% 20%,color-mix(in srgb,var(--invite-accent),transparent 84%) 0 13%,transparent 14%),radial-gradient(circle at 87% 78%,color-mix(in srgb,var(--invite-accent),transparent 86%) 0 18%,transparent 19%),linear-gradient(137deg,color-mix(in srgb,var(--invite-paper),white 15%),var(--invite-paper) 50%,color-mix(in srgb,var(--invite-paper),var(--invite-accent) 18%)); }
.invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media)::after { position: absolute; top: 50%; left: 50%; width: min(52vw,390px); aspect-ratio: 1; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 82%); border-radius: 50%; box-shadow: 0 0 0 16px color-mix(in srgb,var(--invite-accent),transparent 96%),0 0 0 34px color-mix(in srgb,var(--invite-accent),transparent 97%); content: ""; transform: translate(-50%,-50%); }
.invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media)::before { inset: 18px; border-color: color-mix(in srgb,var(--invite-accent),transparent 57%); }
.invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media) .cover-ornament { position: absolute; top: 50%; left: 50%; align-self: auto; margin: 0; color: var(--invite-accent); font-size: clamp(160px,25vw,270px); opacity: .1; transform: translate(-50%,-50%); }
.invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media) .cover-title { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; max-width: min(750px,90%); margin: auto; color: var(--invite-ink); text-align: center; }
.invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media) .cover-title h1 { max-width: 100%; color: var(--invite-ink); font-size: clamp(46px,8vw,82px); line-height: 1.02; overflow-wrap: anywhere; text-shadow: none; }
.invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media) .cover-title .invite-greeting { color: color-mix(in srgb,var(--invite-ink),transparent 18%); }
.invite-body .cover-ornament { animation: invitation-ornament-float 7s ease-in-out infinite; }

/* The example opens like an invitation and previews the complete event story. */
.example-wedding { overflow-x: hidden; background: radial-gradient(ellipse at 4% 4%,rgba(160,137,93,.12),transparent 32%),radial-gradient(ellipse at 98% 58%,rgba(111,142,119,.12),transparent 34%),linear-gradient(145deg,#f2f0e8,#e7ede8 72%,#f2ebe2); }
.example-wedding .invite-opening { background: radial-gradient(ellipse at 12% 8%,rgba(157,129,84,.21),transparent 34%),radial-gradient(ellipse at 91% 86%,rgba(105,137,116,.22),transparent 38%),linear-gradient(145deg,#f7f5ef,#e8eee9); }
.example-wedding .example-opening-card { width: min(520px,100%); padding: 28px clamp(25px,6vw,52px) 38px; border-radius: 27px; }
.example-opening-card .opening-mark { margin-bottom: 7px; }
.example-envelope-stage { position: relative; width: min(360px,100%); height: 218px; margin: 0 auto 4px; }
.example-envelope-glow { position: absolute; top: 20px; left: 50%; width: 210px; height: 160px; border-radius: 50%; background: radial-gradient(ellipse,color-mix(in srgb,var(--invite-accent),transparent 79%),transparent 68%); filter: blur(8px); transform: translateX(-50%); }
.example-letter { position: absolute; top: 16px; left: 50%; z-index: 1; display: flex; width: 158px; height: 190px; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(157,129,84,.38); background: linear-gradient(150deg,#fffefa,#f3eee3); box-shadow: 0 12px 30px rgba(47,47,40,.11); color: #34342f; transform: translateX(-50%) rotate(-4deg); animation: example-letter-float 5.2s ease-in-out infinite; }
.example-letter::before { position: absolute; inset: 6px; border: 1px solid rgba(157,129,84,.23); content: ""; }
.example-letter > span,.example-letter > i { z-index: 1; color: #9d8154; font-size: 7px; font-style: normal; font-weight: 700; letter-spacing: .2em; }
.example-letter > strong { z-index: 1; margin: 11px 0; font: 500 27px/.91 var(--serif); text-align: center; }
.example-envelope { position: absolute; right: 0; bottom: 8px; left: 0; z-index: 2; width: 270px; height: 133px; overflow: hidden; margin-inline: auto; border-radius: 5px 5px 12px 12px; background: linear-gradient(145deg,#e9deca,#cdb88f); box-shadow: 0 17px 35px rgba(46,44,37,.2); animation: example-envelope-float 5.2s ease-in-out infinite; }
.example-envelope::before { position: absolute; inset: 0; z-index: 1; background: linear-gradient(35deg,#e9dcc4 0 49.5%,transparent 50%),linear-gradient(-35deg,#f1e6d2 0 49.5%,transparent 50%); content: ""; }
.example-envelope::after { position: absolute; inset: 0; z-index: 2; background: linear-gradient(145deg,#e9dfce,#d3c2a3); clip-path: polygon(0 100%,50% 42%,100% 100%); content: ""; }
.example-envelope-flap { position: absolute; inset: 0 0 auto; z-index: 3; height: 78%; background: linear-gradient(145deg,#d9c5a3,#f0e6d4); clip-path: polygon(0 0,100% 0,50% 78%); transform: rotateX(0); transform-origin: top center; transition: transform .5s ease; }
.example-envelope-seal { position: absolute; top: 49px; left: 50%; z-index: 4; display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; background: linear-gradient(145deg,#b38b51,#8c6f43); box-shadow: 0 3px 10px rgba(50,40,25,.2); color: #fff8e8; font-size: 17px; transform: translateX(-50%); }
.example-sparkle { position: absolute; z-index: 3; color: #aa8a55; text-shadow: 0 0 14px rgba(174,142,83,.38); animation: invitation-lantern-glow 3s ease-in-out infinite; }
.sparkle-one { top: 36px; left: 31px; font-size: 20px; }
.sparkle-two { top: 69px; right: 22px; font-size: 26px; animation-delay: .9s; }
.sparkle-three { right: 49px; bottom: 63px; font-size: 15px; animation-delay: 1.5s; }
.example-opening-card .eyebrow { margin: 0 0 7px; }
.example-opening-card h1 { margin: 0 0 10px; font-size: clamp(38px,8vw,56px); }
.example-opening-card > p:not(.eyebrow) { margin: 0 0 20px; }
.example-opening-card .button { min-width: 205px; }
.example-opening-note { display: block; margin-top: 15px; color: color-mix(in srgb,var(--invite-ink),transparent 35%); font-size: 10px; letter-spacing: .06em; }
.example-wedding .invite-page { position: relative; z-index: 1; width: min(1000px,calc(100% - 46px)); padding: 25px 0 44px; }
.example-wedding .invite-topbar { min-height: 48px; gap: 18px; margin-bottom: 17px; border-bottom: 1px solid rgba(74,91,78,.15); padding: 0 4px 15px; }
.example-wedding .invite-edition { margin-left: auto; color: #66776a; font-size: 9px; }
.example-wedding .invite-card { overflow: hidden; border: 1px solid rgba(83,101,86,.14); border-radius: 24px; background: #fbfaf6; box-shadow: 0 35px 100px rgba(43,54,46,.16); }
.example-wedding .example-cover { min-height: clamp(390px,49vw,560px); background: radial-gradient(circle at 17% 78%,rgba(146,171,145,.3) 0 12%,transparent 12.5%),radial-gradient(circle at 85% 25%,rgba(197,158,104,.25) 0 13%,transparent 13.5%),radial-gradient(ellipse at 50% 47%,rgba(255,255,255,.97),rgba(249,246,237,.75) 42%,transparent 68%),linear-gradient(128deg,#e5eadf,#fbf8ee 48%,#e9dfcb); }
.example-wedding .example-cover::before { inset: 19px; border: 1px solid rgba(157,129,84,.48); border-radius: 14px; }
.example-wedding .example-cover::after { position: absolute; inset: 50% auto auto 50%; width: min(48vw,390px); aspect-ratio: 1; border: 1px solid rgba(157,129,84,.18); border-radius: 50%; box-shadow: 0 0 0 18px rgba(157,129,84,.035),0 0 0 38px rgba(157,129,84,.025); content: ""; transform: translate(-50%,-50%); }
.example-wedding .example-cover-orbit { position: absolute; top: 50%; left: 50%; width: min(39vw,310px); aspect-ratio: 1; border: 1px dashed rgba(157,129,84,.25); border-radius: 50%; transform: translate(-50%,-50%); }
.example-wedding .example-cover .cover-kicker,.example-wedding .example-cover .cover-bottom { color: #826b45; font-size: 10px; }
.example-wedding .example-cover .cover-kicker { top: 43px; }
.example-wedding .example-cover .cover-bottom { bottom: 39px; }
.example-wedding .example-cover .cover-ornament { position: absolute; top: 50%; left: 50%; z-index: 0; color: #728b71; font-size: clamp(200px,31vw,330px); line-height: 1; opacity: .12; transform: translate(-50%,-50%); }
.example-wedding .example-cover .cover-title { position: relative; z-index: 2; display: grid; max-width: 90%; justify-items: center; gap: 14px; margin: auto; color: #293a31; text-align: center; }
.example-wedding .example-cover .cover-title > span { color: #826b45; font-size: 11px; font-weight: 700; letter-spacing: .24em; }
.example-wedding .example-cover .cover-title h1 { max-width: 100%; color: #29443a; font-size: clamp(58px,10vw,112px); line-height: .95; overflow-wrap: anywhere; text-shadow: none; }
.example-wedding .example-cover-note { margin: 4px 0 0; color: #596d5f; font: italic 17px var(--serif); }
.example-wedding .example-intro { max-width: 790px; padding: clamp(34px,6vw,63px) clamp(20px,6vw,74px) 44px; }
.example-wedding .example-intro .eyebrow { font-size: 10px; letter-spacing: .2em; }
.example-wedding .example-intro .invite-introduction { max-width: 565px; font-size: clamp(17px,2.2vw,21px); line-height: 1.72; }
.example-wedding .example-intro .invite-host { margin-top: 8px; font-size: 20px; }
.example-wedding .example-intro .invite-details { justify-content: space-between; gap: 20px; margin-top: 39px; border-color: rgba(157,129,84,.24); padding: 24px 0; }
.example-wedding .example-intro .invite-details > div { min-width: 0; gap: 6px; }
.example-wedding .example-intro .detail-label { font-size: 9px; letter-spacing: .14em; }
.example-wedding .example-intro .invite-details strong,.example-wedding .example-intro .invite-details time { font-family: var(--sans); font-size: 13px; font-weight: 650; }
.example-wedding .example-intro .invite-details span:not(.detail-label) { font-size: 12px; }
.example-calendar-link { margin-top: 24px; }
.example-wedding .example-countdown { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px; margin: 0 clamp(18px,5vw,58px) 12px; border-radius: 16px; background: linear-gradient(120deg,#273e34,#355345 65%,#566b53); padding: 25px clamp(20px,4vw,39px); color: #fffdf6; box-shadow: 0 17px 40px rgba(39,62,52,.18); }
.example-countdown > p { margin: 0; color: #e0ceb0; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.example-countdown > div { display: grid; grid-template-columns: repeat(4,minmax(44px,1fr)); gap: 11px; }
.example-countdown > div > span { display: grid; justify-items: center; gap: 4px; border-left: 1px solid rgba(255,255,255,.22); padding-left: 12px; }
.example-countdown strong { font: 500 30px/.95 var(--serif); font-variant-numeric: tabular-nums; }
.example-countdown small { color: #e5dece; font-size: 8px; letter-spacing: .11em; }
.example-wedding .example-couple,.example-wedding .example-schedule,.example-wedding .example-story,.example-wedding .example-gallery { border-top: 1px solid rgba(157,129,84,.16); padding: clamp(34px,6vw,66px) clamp(20px,6vw,76px); }
.example-wedding .invite-section-heading { margin-bottom: 26px; }
.example-wedding .invite-section-heading .eyebrow { color: #9b7f53; font-size: 9px; letter-spacing: .19em; }
.example-wedding .invite-section-heading h2 { color: #29443a; font: 500 clamp(31px,5vw,48px)/1.06 var(--serif); }
.example-wedding .invite-section-heading p:last-child { color: #6c7169; font-size: 13px; }
.example-wedding .example-couple .couple-profile-grid { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.example-wedding .example-couple .couple-profile { display: grid; justify-items: center; gap: 9px; border: 1px solid rgba(157,129,84,.18); border-radius: 15px; background: linear-gradient(150deg,#fffefa,#f4f1e7); padding: 27px 15px; text-align: center; }
.example-profile-mark { display: grid; width: 62px; height: 62px; place-items: center; border: 1px solid rgba(157,129,84,.4); border-radius: 50%; background: radial-gradient(circle at 30% 27%,#fff,#e4e8dd 74%); color: #57705e; font: 500 30px var(--serif); }
.example-wedding .example-couple .couple-profile h3 { margin: 0; color: #29443a; font: 500 25px var(--serif); }
.example-wedding .example-couple .couple-profile p { margin: 0; color: #73766d; font-size: 12px; }
.example-couple-amp { color: #a38757; font: italic 33px var(--serif); }
.example-wedding .example-schedule .schedule-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.example-wedding .example-schedule .schedule-card { min-height: 170px; border: 1px solid rgba(157,129,84,.2); border-radius: 14px; background: linear-gradient(150deg,#fffefa,#f4f1e7); padding: 23px; }
.example-wedding .example-schedule .schedule-card h3 { color: #29443a; font: 500 24px var(--serif); }
.example-wedding .example-schedule .schedule-card strong { margin-top: 3px; color: #383f38; font-size: 13px; }
.example-wedding .example-story .story-timeline li { grid-template-columns: 150px 1fr; padding-bottom: 28px; }
.example-wedding .example-story .story-date { font-size: 12px; }
.example-wedding .example-story .story-timeline h3 { margin: 0 0 5px; color: #29443a; font: 500 23px var(--serif); }
.example-wedding .example-story .story-timeline p { margin: 0; color: #6c7169; font-size: 13px; line-height: 1.65; }
.example-wedding .example-gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 13px; }
.example-gallery-card { position: relative; display: flex; min-height: 220px; flex-direction: column; justify-content: end; overflow: hidden; border: 1px solid rgba(157,129,84,.15); border-radius: 15px; padding: 20px; box-shadow: 0 14px 34px rgba(40,50,42,.09); transition: transform .4s ease,box-shadow .4s ease; }
.example-gallery-card:hover { transform: translateY(-5px); box-shadow: 0 21px 44px rgba(40,50,42,.14); }
.example-gallery-card::before { position: absolute; top: -45%; right: -18%; width: 90%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.56); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.1),0 0 0 40px rgba(255,255,255,.08); content: ""; }
.example-gallery-card > * { position: relative; z-index: 1; }
.example-gallery-card small { color: rgba(255,255,255,.8); font-size: 8px; font-weight: 700; letter-spacing: .2em; }
.example-gallery-card strong { max-width: 190px; margin-top: 6px; color: #fffdf7; font: 500 23px/1.05 var(--serif); }
.example-art-garden { background: radial-gradient(circle at 69% 26%,rgba(255,248,218,.67) 0 12%,transparent 13%),linear-gradient(160deg,#aab59a,#647c68 63%,#354e42); }
.example-art-vows { background: radial-gradient(circle at 51% 30%,#f1d9a8 0 9%,rgba(241,217,168,.25) 10% 19%,transparent 20%),linear-gradient(155deg,#c2a57d,#836a57 60%,#4c4d42); }
.example-art-flowers { background: radial-gradient(circle at 70% 35%,rgba(245,225,211,.66) 0 13%,transparent 14%),linear-gradient(145deg,#cbb9ae,#987d79 58%,#645b57); }
.example-art-flower,.example-art-stem { position: absolute!important; top: 21px; right: 25px; color: rgba(255,250,230,.72); font-size: 80px; animation: invitation-ornament-float 7s ease-in-out infinite; }
.example-art-sun { position: absolute!important; top: 34px; right: 42px; width: 70px; height: 70px; border: 1px solid rgba(255,255,255,.58); border-radius: 50%; box-shadow: 0 0 0 13px rgba(255,255,255,.13); }
.example-final-cta { display: grid; justify-items: center; border-top: 1px solid rgba(157,129,84,.16); background: linear-gradient(145deg,#f4f1e8,#e7ece4); padding: clamp(39px,7vw,75px) 24px; text-align: center; }
.example-final-cta .eyebrow { margin: 0 0 10px; color: #9b7f53; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.example-final-cta h2 { max-width: 610px; margin: 0; color: #29443a; font: 500 clamp(34px,6vw,57px)/1.04 var(--serif); }
.example-final-cta > p:not(.eyebrow) { max-width: 500px; margin: 13px 0 22px; color: #667069; font-size: 14px; line-height: 1.65; }
.example-wedding .invite-footer { gap: 13px; padding-top: 20px; color: #657067; font-size: 10px; }
.example-wedding .invite-footer .brand { color: #29443a; }
.example-wedding .invite-footer .brand-mark { background: #29443a; color: white; }
.invite-opening.is-closing .example-envelope-flap { transform: rotateX(155deg); }
.invite-opening.is-closing .example-letter { opacity: 1; transform: translateX(-50%) translateY(-34px) rotate(0); }

@keyframes invitation-mark-glow { 0%,100% { box-shadow: 0 7px 21px color-mix(in srgb,var(--invite-accent),transparent 72%); } 50% { box-shadow: 0 9px 31px color-mix(in srgb,var(--invite-accent),transparent 57%); } }
@keyframes invitation-ornament-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes example-envelope-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes example-letter-float { 0%,100% { transform: translateX(-50%) rotate(-4deg); } 50% { transform: translateX(-50%) translateY(-7px) rotate(-1deg); } }

@media (max-width: 760px) {
  .example-wedding .invite-page { width: calc(100% - 24px); padding-top: 17px; }
  .example-wedding .invite-topbar { min-height: 44px; padding-bottom: 12px; }
  .example-wedding .invite-edition { font-size: 8px; }
  .example-wedding .example-cover { min-height: 420px; }
  .example-wedding .example-cover .cover-title h1 { font-size: clamp(53px,13vw,82px); }
  .example-wedding .example-cover .cover-kicker { top: 37px; }
  .example-wedding .example-cover .cover-bottom { bottom: 33px; }
  .example-wedding .example-intro .invite-details { display: grid; grid-template-columns: 1fr; gap: 15px; text-align: center; }
  .example-wedding .example-intro .invite-details > div { align-items: center; }
  .example-wedding .example-countdown { grid-template-columns: 1fr; justify-items: center; gap: 17px; margin-inline: 13px; padding: 22px 14px; }
  .example-countdown > div { width: 100%; max-width: 370px; gap: 5px; }
  .example-countdown > div > span { padding-left: 5px; }
  .example-countdown strong { font-size: 24px; }
  .example-wedding .example-couple .couple-profile-grid { grid-template-columns: 1fr; gap: 13px; }
  .example-couple-amp { line-height: 1; }
  .example-wedding .example-schedule .schedule-list { grid-template-columns: 1fr; }
  .example-wedding .example-story .story-timeline li { grid-template-columns: 1fr; gap: 5px; }
  .example-wedding .example-gallery-grid { grid-template-columns: 1fr 1fr; }
  .example-gallery-card { min-height: 190px; padding: 16px; }
  .example-gallery-card:first-child { grid-column: 1/-1; }
  .example-wedding .invite-footer { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .invite-opening-card::after,.invite-opening-card .opening-mark,.invite-body .cover-ornament,.example-envelope,.example-letter,.example-sparkle,.example-art-flower,.example-art-stem { animation: none !important; }
}

html[data-theme="dark"] .example-wedding { background: radial-gradient(ellipse at 4% 4%,rgba(177,154,111,.1),transparent 32%),radial-gradient(ellipse at 98% 58%,rgba(111,142,119,.08),transparent 34%),linear-gradient(145deg,#171b19,#202622 72%,#1c1d1a); }
html[data-theme="dark"] .example-wedding .invite-opening { background: radial-gradient(ellipse at 12% 8%,rgba(157,129,84,.15),transparent 34%),radial-gradient(ellipse at 91% 86%,rgba(105,137,116,.13),transparent 38%),linear-gradient(145deg,#202522,#171a18); }
html[data-theme="dark"] .example-wedding .example-cover { background: radial-gradient(circle at 17% 78%,rgba(146,171,145,.17) 0 12%,transparent 12.5%),radial-gradient(circle at 85% 25%,rgba(197,158,104,.14) 0 13%,transparent 13.5%),radial-gradient(ellipse at 50% 47%,rgba(61,68,60,.97),rgba(41,47,42,.82) 42%,transparent 68%),linear-gradient(128deg,#3b463d,#2b302b 48%,#454034); }
html[data-theme="dark"] .example-wedding .example-cover .cover-title,html[data-theme="dark"] .example-wedding .example-cover .cover-title h1 { color: #f0eee7; }
html[data-theme="dark"] .example-wedding .example-cover-note,html[data-theme="dark"] .example-wedding .example-cover .cover-kicker,html[data-theme="dark"] .example-wedding .example-cover .cover-bottom { color: #ddc89e; }
html[data-theme="dark"] .example-wedding .invite-card { border-color: rgba(210,190,151,.18); background: #292e2a; }
html[data-theme="dark"] .example-wedding .example-intro .invite-details { border-color: rgba(210,190,151,.2); }
html[data-theme="dark"] .example-wedding .invite-section-heading h2,html[data-theme="dark"] .example-wedding .example-couple .couple-profile h3,html[data-theme="dark"] .example-wedding .example-schedule .schedule-card h3,html[data-theme="dark"] .example-wedding .example-story .story-timeline h3,html[data-theme="dark"] .example-wedding .example-final-cta h2 { color: #f0eee7; }
html[data-theme="dark"] .example-wedding .example-intro .invite-details strong,html[data-theme="dark"] .example-wedding .example-intro .invite-details time,html[data-theme="dark"] .example-wedding .example-schedule .schedule-card strong { color: #f0eee7; }
html[data-theme="dark"] .example-wedding .example-couple .couple-profile,html[data-theme="dark"] .example-wedding .example-schedule .schedule-card { border-color: rgba(210,190,151,.2); background: linear-gradient(150deg,#303632,#262b27); }
html[data-theme="dark"] .example-wedding .example-gallery,html[data-theme="dark"] .example-wedding .example-story,html[data-theme="dark"] .example-wedding .example-couple,html[data-theme="dark"] .example-wedding .example-schedule,html[data-theme="dark"] .example-wedding .example-final-cta { border-color: rgba(210,190,151,.16); }
html[data-theme="dark"] .example-wedding .example-final-cta { background: linear-gradient(145deg,#303632,#252a27); }
html[data-theme="dark"] .example-wedding .example-final-cta > p:not(.eyebrow),html[data-theme="dark"] .example-wedding .invite-section-heading p:last-child,html[data-theme="dark"] .example-wedding .example-story .story-timeline p,html[data-theme="dark"] .example-wedding .example-couple .couple-profile p { color: #c2c5bc; }

/* Photo galleries become a calm, controllable slideshow rather than a wall of thumbnails. */
.invite-gallery-carousel { position: relative; }
.invite-gallery-grid[data-gallery-track] { display: grid; min-height: clamp(270px,52vw,650px); grid-template-columns: minmax(0,1fr); gap: 0; overflow: hidden; border-radius: 17px; background: color-mix(in srgb,var(--invite-paper),var(--invite-accent) 9%); }
.invite-gallery-slide { position: relative; grid-area: 1/1; min-width: 0; min-height: clamp(270px,52vw,650px); visibility: hidden; opacity: 0; transform: translate3d(26px,0,0) scale(.99); transition: opacity .75s ease,transform .9s cubic-bezier(.2,.7,.2,1),visibility .75s; }
.invite-gallery-slide.is-active { z-index: 1; visibility: visible; opacity: 1; transform: translate3d(0,0,0) scale(1); }
.invite-gallery-slide .invite-gallery-image,.invite-gallery-slide .invite-gallery-video { display: block; width: 100%; height: clamp(270px,52vw,650px); overflow: hidden; border: 0; border-radius: 17px; background: color-mix(in srgb,var(--invite-paper),var(--invite-accent) 9%); }
.invite-gallery-slide .invite-gallery-photo { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.invite-gallery-slide .invite-gallery-photo::after { position: absolute; inset: 42% 0 0; background: linear-gradient(transparent,rgba(15,22,18,.18)); content: ""; pointer-events: none; }
.invite-gallery-slide .invite-gallery-photo img,.invite-gallery-slide .invite-gallery-video video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.7,.2,1); }
.invite-gallery-slide.is-active .invite-gallery-photo img { transform: scale(1.025); }
.invite-gallery-slide .invite-media-download { display: grid; min-height: inherit; height: 100%; align-content: center; justify-items: center; border: 0; border-radius: 17px; background: radial-gradient(ellipse at 50% 25%,color-mix(in srgb,var(--invite-accent),transparent 80%),transparent 46%),color-mix(in srgb,var(--invite-paper),white 10%); }
.invite-gallery-controls { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px; margin-top: 15px; color: var(--invite-ink); }
.gallery-nav { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 58%); border-radius: 50%; background: color-mix(in srgb,var(--invite-paper),white 12%); color: var(--invite-ink); font-size: 19px; cursor: pointer; transition: transform .2s ease,background .2s ease,border-color .2s ease; }
.gallery-nav:hover { transform: translateY(-2px); border-color: var(--invite-accent); background: color-mix(in srgb,var(--invite-accent),transparent 91%); }
.gallery-progress-wrap { display: grid; min-width: 132px; grid-template-columns: auto auto auto; align-items: center; justify-content: center; gap: 4px; color: var(--invite-accent); font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.gallery-count-separator { color: color-mix(in srgb,var(--invite-ink),transparent 58%); }
.invite-gallery-progress { display: block; width: 100%; height: 2px; grid-column: 1/-1; overflow: hidden; margin-top: 4px; background: color-mix(in srgb,var(--invite-accent),transparent 82%); }
.invite-gallery-progress > span { display: block; width: 100%; height: 100%; background: var(--invite-accent); transform: scaleX(0); transform-origin: left center; }
.invite-gallery-carousel.is-playing .invite-gallery-progress > span { animation: gallery-slide-progress var(--gallery-duration,6800ms) linear forwards; }
.gallery-toggle { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 65%); border-radius: 999px; background: transparent; padding: 0 12px; color: var(--invite-ink); font: inherit; font-size: 10px; cursor: pointer; transition: background .2s ease,border-color .2s ease; }
.gallery-toggle:hover { border-color: var(--invite-accent); background: color-mix(in srgb,var(--invite-accent),transparent 92%); }
.gallery-toggle [data-gallery-toggle-icon] { color: var(--invite-accent); font-size: 11px; }
.example-wedding .invite-gallery-carousel { max-width: 820px; margin-inline: auto; }
.example-wedding .example-gallery-grid[data-gallery-track] { min-height: clamp(310px,43vw,480px); }
.example-wedding .example-gallery-grid .invite-gallery-slide { min-height: clamp(310px,43vw,480px); }
.example-wedding .example-gallery-card { width: 100%; height: clamp(310px,43vw,480px); min-height: 0; border: 0; border-radius: 17px; padding: clamp(24px,5vw,52px); }
.example-wedding .example-gallery-card strong { max-width: 390px; font-size: clamp(30px,5vw,56px); }
.example-wedding .example-gallery-card small { font-size: 10px; }
.example-wedding .example-gallery-card::before { top: -34%; right: -8%; width: min(70%,420px); }
.example-wedding .example-art-flower,.example-wedding .example-art-stem { top: 9%; right: 14%; font-size: clamp(100px,20vw,220px); }
.example-wedding .example-art-sun { top: 17%; right: 18%; width: clamp(80px,16vw,170px); height: clamp(80px,16vw,170px); box-shadow: 0 0 0 22px rgba(255,255,255,.13),0 0 0 54px rgba(255,255,255,.08); }
.example-wedding .invite-gallery-controls { margin-top: 19px; }
@keyframes gallery-slide-progress { to { transform: scaleX(1); } }

/* Finish invitations with contrast-safe type and sizing that holds up on phones. */
.invite-body { --invite-accent-text: color-mix(in srgb,var(--invite-accent) 58%,var(--invite-ink)); }
html[data-theme="dark"] .invite-body { --invite-accent-text: color-mix(in srgb,var(--invite-accent) 50%,var(--invite-ink)); }
.invite-body .invite-edition,
.invite-body .cover-kicker,
.invite-body .cover-bottom,
.invite-body .invite-copy .eyebrow,
.invite-body .invite-host,
.invite-body .invite-greeting,
.invite-body .detail-label,
.invite-body .section-heading .eyebrow,
.invite-body .gallery-progress-wrap,
.invite-body .invite-actions .text-link { color: var(--invite-accent-text); }
.invite-body .invite-copy { width: 100%; padding: clamp(28px,5vw,46px) clamp(18px,6vw,50px); }
.invite-body .invite-copy h1,
.invite-body .cover-title h1,
.invite-body .invite-section-heading h2 { overflow-wrap: anywhere; text-wrap: balance; }
.invite-body .invite-cover .cover-title { width: min(100%,820px); max-width: 94%; }
.invite-body .cover-kicker,
.invite-body .cover-bottom { right: 16px; left: 16px; max-width: calc(100% - 32px); text-align: center; overflow-wrap: anywhere; }
.invite-body .invite-details { width: 100%; gap: clamp(12px,3vw,28px); }
.invite-body .invite-details > div { min-width: 0; flex: 1 1 135px; overflow-wrap: anywhere; }
.invite-body .button { max-width: 100%; min-height: 42px; padding: 10px 16px; line-height: 1.35; text-align: center; white-space: normal; overflow-wrap: anywhere; }
.invite-body .button-outline { border-color: color-mix(in srgb,var(--invite-accent-text),transparent 48%); background: color-mix(in srgb,var(--invite-paper),var(--invite-ink) 4%); color: var(--invite-ink); }
.invite-body .button-outline:hover { border-color: var(--invite-accent-text); background: color-mix(in srgb,var(--invite-paper),var(--invite-accent) 9%); }
.invite-body .calendar-link,
.invite-body .invite-map-link { display: flex; width: fit-content; max-width: 100%; align-items: center; justify-content: center; gap: 6px; margin: 17px auto 0; }
.invite-body .invite-cover.has-photo .cover-kicker,
.invite-body .invite-cover.has-photo .cover-bottom { right: auto; left: 50%; display: block; width: fit-content; max-width: calc(100% - 40px); border: 1px solid color-mix(in srgb,var(--invite-accent-text),transparent 72%); border-radius: 999px; background: color-mix(in srgb,var(--invite-paper) 90%,transparent); padding: 5px 10px; color: var(--invite-accent-text); line-height: 1.35; text-align: center; text-shadow: none; transform: translateX(-50%); backdrop-filter: blur(7px); }
.invite-body img { max-width: 100%; }
.invite-body .invite-gallery-grid[data-gallery-track],
.invite-body .invite-gallery-slide { min-height: clamp(250px,54vw,620px); }
.invite-body .invite-gallery-slide .invite-gallery-image,
.invite-body .invite-gallery-slide .invite-gallery-video { height: clamp(250px,54vw,620px); }
.invite-body.typeface-editorial .invite-copy h1,
.invite-body.typeface-editorial .invite-section-heading h2,
.typeface-editorial .editor-preview strong { font-family: ui-serif,'Iowan Old Style','Palatino Linotype',Georgia,serif; font-weight: 500; letter-spacing: -.035em; }
.invite-body.typeface-modern .invite-copy h1,
.invite-body.typeface-modern .invite-section-heading h2,
.typeface-modern .editor-preview strong { font-family: var(--sans); font-weight: 550; letter-spacing: -.045em; }
.invite-body.typeface-rounded .invite-copy h1,
.invite-body.typeface-rounded .invite-section-heading h2,
.invite-body.typeface-rounded .invite-host,
.typeface-rounded .editor-preview strong { font-family: ui-rounded,'SF Pro Rounded','Segoe UI',system-ui,sans-serif; font-weight: 600; letter-spacing: -.035em; }
.typeface-rounded .editor-preview strong { color: var(--template-ink,#403a30); }
.example-wedding .example-cover .cover-title { width: min(100%,760px); max-width: 94%; }
.invite-body.example-wedding .invite-cover.example-cover { min-height: clamp(260px,27vw,340px); }
.example-wedding .example-cover .cover-title h1 { font-size: clamp(43px,7.2vw,78px); line-height: 1.02; text-wrap: balance; }
.example-wedding .example-calendar-link { display: flex; width: fit-content; max-width: calc(100% - 30px); align-items: center; justify-content: center; margin: 24px auto 0; }

@media (max-width: 760px) {
  .invite-body.example-wedding .invite-cover.example-cover { min-height: 360px; }
  .invite-body:not(.example-wedding) .invite-page { width: calc(100% - 24px); }
  .invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media) { min-height: 330px; padding: 58px 18px; }
  .invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media) .cover-title h1 { font-size: clamp(35px,9vw,58px); line-height: 1.04; }
  .invite-body:not(.example-wedding) .invite-copy h1 { font-size: clamp(30px,8vw,38px); line-height: 1.08; }
  .invite-body .invite-details { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,145px),1fr)); text-align: center; }
  .invite-body .invite-details > div { align-items: center; }
  .invite-body .invite-copy { padding: 30px clamp(17px,5vw,30px); }
  .invite-body .calendar-link,
  .invite-body .invite-map-link { width: min(100%,340px); }
  .example-wedding .invite-page { width: calc(100% - 20px); }
  .example-wedding .example-cover { min-height: 360px; padding: 66px 16px; }
  .example-wedding .example-cover .cover-title h1 { font-size: clamp(33px,9vw,55px); line-height: 1.04; }
  .example-wedding .example-cover .cover-kicker { top: 29px; }
  .example-wedding .example-cover .cover-bottom { bottom: 25px; }
  .example-wedding .example-intro { padding: 34px 20px 36px; }
  .example-wedding .example-calendar-link { width: min(100%,340px); }
  .example-wedding .example-countdown > div { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .example-wedding .example-countdown strong { font-size: clamp(19px,6vw,24px); }
  .example-wedding .invite-gallery-controls { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 390px) {
  .invite-body:not(.example-wedding) .invite-page { width: calc(100% - 18px); }
  .invite-body:not(.example-wedding) .invite-cover:not(.has-photo):not(.has-cover-media) .cover-title h1 { font-size: clamp(31px,8.5vw,38px); }
  .invite-body .invite-details { grid-template-columns: 1fr; }
  .example-wedding .example-cover .cover-title h1 { font-size: clamp(30px,8.2vw,34px); }
  .example-wedding .example-countdown { margin-inline: 8px; padding-inline: 10px; }
  .example-wedding .example-gallery-controls { gap: 7px; }
}

@media (max-width: 600px) {
  .invite-gallery-grid[data-gallery-track],.invite-gallery-slide { min-height: 56vh; }
  .invite-gallery-slide .invite-gallery-image,.invite-gallery-slide .invite-gallery-video { height: 56vh; min-height: 300px; }
  .invite-gallery-controls { gap: 8px; }
  .gallery-nav { width: 38px; height: 38px; flex-basis: 38px; }
  .gallery-progress-wrap { min-width: 74px; }
  .gallery-toggle { min-height: 36px; padding-inline: 9px; font-size: 9px; }
  .example-wedding .example-gallery-grid[data-gallery-track],.example-wedding .example-gallery-grid .invite-gallery-slide { min-height: 350px; }
  .example-wedding .example-gallery-card { height: 350px; }
}

@media (prefers-reduced-motion: reduce) {
  .invite-gallery-slide,.invite-gallery-slide .invite-gallery-photo img { transition: none !important; }
  .invite-gallery-carousel.is-playing .invite-gallery-progress > span { animation: none !important; transform: none; }
}

/* Always-visible invitation preview in the full-page builder. */
.builder-live-preview { position: sticky; top: 88px; display: flex; min-width: 0; height: min(790px,calc(100vh - 108px)); min-height: 520px; flex-direction: column; align-self: start; overflow: hidden; margin: 20px 20px 20px 0; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: 0 12px 38px rgba(30,42,34,.08); }
.builder-live-preview-header { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 15px; }
.builder-live-preview-header .eyebrow { margin: 0 0 4px; color: var(--forest); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.builder-live-preview-header p:last-child { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.builder-preview-close { display: none; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 22px; }
.builder-live-preview-caption { display: flex; min-height: 36px; align-items: center; gap: 8px; padding: 0 15px; color: var(--muted); font-size: 10px; }
.preview-status-dot { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #63836d; box-shadow: 0 0 0 3px rgba(99,131,109,.13); }
.builder-live-preview-stage { position: relative; min-height: 0; flex: 1; overflow: hidden; border-top: 1px solid var(--line); background: #e9ece8; }
.builder-live-preview-stage iframe { display: block; width: 100%; height: 100%; border: 0; background: #e9ece8; }
.builder-live-preview-note { margin: 0; border-top: 1px solid var(--line); padding: 10px 14px 12px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.builder-preview-toggle, .builder-preview-scrim { display: none; }
.builder-live-preview-document { min-height: 100vh; background: #e9ece8; padding: 12px; }
.builder-live-preview-document .invite-page { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 0 14px; }
.builder-live-preview-document .invite-topbar { min-height: 37px; gap: 8px; margin: 0 0 9px; border-bottom: 1px solid color-mix(in srgb,var(--invite-accent),transparent 83%); padding: 0 3px 8px; }
.builder-live-preview-document .invite-topbar .brand { gap: 6px; font-size: 14px; }
.builder-live-preview-document .invite-topbar .brand-mark, .builder-live-preview-document .invite-footer .brand-mark { width: 22px; height: 22px; font-size: 15px; }
.builder-live-preview-document .invite-edition { margin-left: auto; color: var(--invite-accent); font-size: 8px; }
.builder-live-preview-document .invite-card { overflow: hidden; border-radius: 12px; box-shadow: 0 12px 34px rgba(37,44,37,.13); }
.builder-live-preview-document .invite-cover { min-height: 235px; padding: 37px 18px; }
.builder-live-preview-document .invite-cover.has-photo { min-height: 245px; }
.builder-live-preview-document .cover-kicker { top: 22px; font-size: 7px; }
.builder-live-preview-document .cover-bottom { bottom: 18px; font-size: 7px; }
.builder-live-preview-document .cover-title { max-width: 90%; }
.builder-live-preview-document .cover-title h1 { font-size: clamp(31px,9vw,49px); overflow-wrap: anywhere; }
.builder-live-preview-document .invite-copy { max-width: none; padding: 24px 18px 27px; }
.builder-live-preview-document .invite-copy .eyebrow { margin-bottom: 7px; font-size: 8px; }
.builder-live-preview-document .invite-copy h1 { font-size: clamp(27px,7vw,38px); overflow-wrap: anywhere; }
.builder-live-preview-document .invite-host { font-size: 13px; overflow-wrap: anywhere; }
.builder-live-preview-document .invite-introduction { font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.builder-live-preview-document .fine-rule { margin: 15px auto; }
.builder-live-preview-document .invite-details { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,110px),1fr)); gap: 11px; margin-top: 19px; padding: 13px 0; }
.builder-live-preview-document .invite-details > div { min-width: 0; overflow-wrap: anywhere; }
.builder-live-preview-document .invite-details strong { font-size: 10px; overflow-wrap: anywhere; }
.builder-live-preview-document .detail-label { font-size: 7px; }
.builder-live-preview-document .invite-countdown { margin: 0 12px 12px; border-radius: 10px; padding: 13px; }
.builder-live-preview-document .invite-countdown > p { font-size: 8px; }
.builder-live-preview-document .invite-countdown > div { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.builder-live-preview-document .invite-countdown strong { font-size: 19px; }
.builder-live-preview-document .invite-countdown small { font-size: 7px; }
.builder-live-preview-document .invite-section, .builder-live-preview-document .rsvp-section { padding: 23px 17px; }
.builder-live-preview-document .invite-section-heading { margin-bottom: 13px; }
.builder-live-preview-document .invite-section-heading .eyebrow, .builder-live-preview-document .section-heading .eyebrow { font-size: 7px; }
.builder-live-preview-document .invite-section-heading h2, .builder-live-preview-document .section-heading h2 { font-size: 26px; }
.builder-live-preview-document .couple-profile-grid { gap: 8px; }
.builder-live-preview-document .couple-profile { min-width: 0; padding: 13px 9px; }
.builder-live-preview-document .couple-profile h3 { font-size: 16px; overflow-wrap: anywhere; }
.builder-live-preview-document .couple-profile p { font-size: 10px; overflow-wrap: anywhere; }
.builder-live-preview-document .schedule-card { gap: 9px; padding: 12px; }
.builder-live-preview-document .schedule-card h3 { font-size: 17px; overflow-wrap: anywhere; }
.builder-live-preview-document .schedule-card p, .builder-live-preview-document .schedule-card strong { font-size: 10px; overflow-wrap: anywhere; }
.builder-live-preview-document .story-timeline li { grid-template-columns: 1fr; gap: 3px; padding: 0 0 16px 16px; }
.builder-live-preview-document .story-timeline h3 { font-size: 16px; overflow-wrap: anywhere; }
.builder-live-preview-document .story-timeline p { font-size: 10px; overflow-wrap: anywhere; }
.builder-live-preview-document .gift-account-list { grid-template-columns: 1fr; }
.builder-live-preview-document .gift-account { gap: 5px; padding: 11px; }
.builder-live-preview-document .gift-account strong, .builder-live-preview-document .gift-account code { font-size: 11px; overflow-wrap: anywhere; }
.builder-live-preview-document .builder-live-preview-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.builder-live-preview-document .builder-live-preview-gallery img, .builder-live-preview-document .builder-live-preview-gallery video { width: 100%; height: 118px; border-radius: 7px; object-fit: cover; }
.builder-live-preview-document .builder-live-preview-hint { border: 1px dashed color-mix(in srgb,var(--invite-accent),transparent 52%); border-radius: 8px; margin: 0; padding: 11px; color: color-mix(in srgb,var(--invite-ink),transparent 17%); font-size: 10px; line-height: 1.5; text-align: center; }
.builder-live-preview-document .builder-live-preview-calendar { display: block; width: fit-content; max-width: 100%; margin: 15px auto 0; border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 36%); border-radius: 7px; padding: 8px 12px; color: var(--invite-ink); font-size: 10px; }
.builder-live-preview-document .builder-live-preview-rsvp { display: grid; grid-template-columns: 1fr; gap: 7px; }
.builder-live-preview-document .builder-live-preview-rsvp span { border: 1px solid color-mix(in srgb,var(--invite-accent),transparent 76%); border-radius: 6px; background: var(--invite-paper); padding: 8px 9px; color: color-mix(in srgb,var(--invite-ink),transparent 14%); font-size: 10px; }
.builder-live-preview-document .invite-music { flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.builder-live-preview-document .music-toggle { min-height: 30px; padding: 0 10px; font-size: 10px; }
.builder-live-preview-document .music-track-label { font-size: 9px; }
.builder-live-preview-document .invite-footer { padding-top: 10px; font-size: 8px; }
.builder-live-preview-hint { border: 1px dashed color-mix(in srgb,var(--invite-accent),transparent 52%); border-radius: 8px; padding: 11px; color: color-mix(in srgb,var(--invite-ink),transparent 17%); font-size: 10px; line-height: 1.5; text-align: center; }

@media (min-width: 1101px) {
  .builder-layout { grid-template-columns: minmax(225px,250px) minmax(400px,1fr) minmax(320px,360px); }
  .builder-main { width: 100%; padding: 38px clamp(24px,2.8vw,42px) 60px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .builder-layout { grid-template-columns: 210px minmax(360px,1fr) 300px; }
  .builder-main { width: 100%; padding: 32px 22px 55px; }
  .builder-sidebar { padding: 30px 17px; }
  .builder-page .template-picker { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .builder-layout { display: block; }
  .builder-sidebar { position: static; height: auto; padding: 12px 16px; }
  .builder-sidebar > .eyebrow, .builder-sidebar > h2, .builder-side-note { display: none; }
  .builder-page .wizard-stepper { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 4px; margin: 0; }
  .builder-page .wizard-step { min-height: 55px; flex-direction: column; justify-content: center; gap: 3px; padding: 3px; font-size: 10px; line-height: 1.15; text-align: center; }
  .builder-page .wizard-step span { width: 21px; height: 21px; font-size: 9px; }
  .builder-main { width: 100%; padding: 27px clamp(18px,4vw,36px) 52px; }
  .builder-live-preview { display: none; }
  .builder-live-preview.is-open { position: fixed; z-index: 52; inset: 12px; display: flex; width: auto; height: auto; min-height: 0; max-height: none; margin: 0; border-radius: 16px; }
  .builder-preview-close { display: grid; place-items: center; }
  .builder-preview-scrim { position: fixed; z-index: 51; inset: 0; display: block; border: 0; background: rgba(16,24,19,.52); cursor: pointer; }
  .builder-preview-scrim[hidden] { display: none; }
  .builder-preview-toggle { position: fixed; z-index: 50; right: 15px; bottom: 15px; display: inline-flex; min-height: 47px; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: #29443A; padding: 0 17px; color: #fff; box-shadow: 0 9px 26px rgba(25,43,33,.25); cursor: pointer; font: 700 13px var(--sans); }
  .builder-preview-open .builder-preview-toggle { opacity: 0; pointer-events: none; }
}
@media (max-width: 760px) {
  .builder-live-preview-header { min-height: 64px; padding: 10px 13px; }
  .builder-live-preview-stage { min-height: 0; }
  .builder-live-preview-note { padding: 9px 13px; }
  .builder-preview-toggle { bottom: 14px; right: 14px; }
}
