/* Alora Planner. Tokens match the live aloraeventss.com Default theme. */
:root {
  --bg: #f7f0e9;
  --card: #fbf7f2;
  --muted-bg: #efe5dd;
  --secondary: #eee0d8;
  --ink: #2d2524;
  --ink-2: #5f4c49;
  --ink-3: #756967;
  --line: #dfd0c5;
  --line-soft: rgba(45, 37, 36, .08);
  --input: #d9c9bd;
  --plum: #673c4d;
  --plum-soft: #ead9dc;
  --gold: #a67b39;
  --ivory: #fffaf5;
  --ok: #3f6f4a;
  --ok-soft: #e3eee2;
  --warn: #9a6a1c;
  --bad: #a3392f;
  --bad-soft: #f6e1dd;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --r: 3px;
  --r-lg: 6px;
  --shadow: 0 1px 2px rgba(45, 37, 36, .05), 0 8px 24px rgba(45, 37, 36, .07);
  --shadow-lg: 0 24px 60px rgba(45, 37, 36, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--font); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.ic { width: 18px; height: 18px; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 900px; }
.page-pad { padding-top: 28px; padding-bottom: 72px; }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.row { display: flex; align-items: center; flex-wrap: wrap; }
.gap { gap: 8px; }
.wrap-sm { flex-wrap: wrap; gap: 8px; }

/* Type */
.eyebrow { margin: 0 0 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.display, .display-sm, .display-xs, .ev-title, .h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; line-height: 1; margin: 0; }
.display { font-size: clamp(46px, 8.4vw, 104px); letter-spacing: -.045em; line-height: .94; }
.display-sm { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.035em; margin-bottom: 14px; }
.display-xs { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 8px; }
.display em, .display-sm em, .display-xs em, .g-title em { font-style: italic; font-weight: 400; color: var(--plum); }
.h2 { font-size: 30px; }
.h3 { font-family: var(--font); font-size: 15px; font-weight: 600; margin: 0 0 6px; letter-spacing: 0; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 520px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-decoration: none; transition: background .2s var(--ease), color .2s, border-color .2s, transform .1s; white-space: nowrap; }
.btn:hover { background: var(--plum); border-color: var(--plum); }
.btn:active { transform: translateY(1px); }
.btn .ic { width: 15px; height: 15px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.danger { color: var(--bad) !important; }
.btn-ghost.danger:hover { border-color: var(--bad); }
.link { background: none; border: 0; padding: 0; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.link .ic { width: 15px; height: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow .ic { width: 14px; height: 14px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid transparent; border-radius: var(--r); background: transparent; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--card); border-color: var(--line); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-seal { width: 30px; height: 30px; }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-size: 12px; font-weight: 600; letter-spacing: .21em; }
.brand small { font-size: 8px; letter-spacing: .38em; color: var(--gold); margin-top: 4px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.field > span { color: var(--ink-2); font-weight: 500; }
.field i { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea, .add-row input, .filters select, .filters input, .copy-row input, textarea, .search-box input {
  width: 100%; min-height: 44px; padding: 10px 12px; background: var(--ivory); border: 1px solid var(--input); border-radius: var(--r); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .add-row input:focus, textarea:focus, .filters select:focus, .search-box input:focus { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(103, 60, 77, .12); }
.field input:disabled { background: var(--muted-bg); color: var(--ink-3); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.stack { display: grid; gap: 14px; margin: 18px 0; }
.check-line { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; }
.check-line input { width: 18px; height: 18px; accent-color: var(--plum); }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.field-end { display: flex; align-items: flex-end; }
.alert { padding: 12px 14px; border-radius: var(--r); background: var(--bad-soft); color: var(--bad); font-size: 14px; margin: 12px 0; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }

/* Switch */
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch > span { position: absolute; inset: 0; background: var(--input); border-radius: 99px; transition: background .2s; }
.switch > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--plum); }
.switch input:checked + span::after { transform: translateX(18px); }
.toggle-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; }
.toggle-line b { display: block; font-weight: 500; }
.toggle-line small { display: block; color: var(--ink-3); font-size: 12.5px; }
.toggle-list { display: grid; margin-bottom: 14px; border-bottom: 1px solid var(--line-soft); padding-bottom: 8px; }

/* Checkbox (round) */
.check { position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; cursor: pointer; }
.check input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.check span { width: 22px; height: 22px; border: 1.5px solid var(--ink-3); border-radius: 50%; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.check input:checked + span { background: var(--plum); border-color: var(--plum); }
.check input:checked + span::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Panels, tiles */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.panel-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.panel-danger { border-color: var(--bad-soft); }
.panel-alora { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; background: linear-gradient(120deg, var(--card), var(--secondary)); padding: 26px; }
.panel-alora > div { max-width: 560px; }
.sent-note { display: inline-flex; gap: 8px; align-items: center; color: var(--ok); font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } .tiles-3 { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; min-width: 0; }
a.tile:hover { border-color: var(--ink-3); }
.tile-k { font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.tile-v { font-family: var(--display); font-size: 32px; line-height: 1.05; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile-v small { font-family: var(--font); font-size: 13px; color: var(--ink-3); letter-spacing: 0; }
.tile-s { font-size: 12.5px; color: var(--ink-3); }
.tile-yes .tile-v { color: var(--ok); }
.tile-no .tile-v { color: var(--bad); }
.bar { display: block; height: 4px; background: var(--muted-bg); border-radius: 9px; overflow: hidden; margin-top: 8px; }
.bar > span { display: block; height: 100%; background: var(--plum); border-radius: 9px; transition: width .4s var(--ease); }
.bar-lg { height: 6px; margin: 4px 0 18px; }
.two-col { display: grid; gap: 16px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* Public pages */
.pub-head { position: sticky; top: 0; z-index: 30; background: rgba(247, 240, 233, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.pub-head-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.pub-nav { display: flex; align-items: center; gap: 22px; font-size: 12.5px; letter-spacing: .03em; }
.pub-nav a { text-decoration: none; }
.pub-nav > a:not(.nav-cta) { display: none; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.nav-cta .ic { width: 14px; height: 14px; }
@media (min-width: 860px) { .pub-nav > a:not(.nav-cta) { display: inline; } }
.hero { padding: 36px 0 70px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; } .hero { padding: 70px 0 110px; } }
.hero-text .lead { margin: 22px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero-note { margin-top: 26px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 14px; }
.hero-note::before { content: ""; width: 34px; height: 1px; background: var(--ink-3); }
.hero-visual { position: relative; height: 470px; }
.mock { position: absolute; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 18px; border-radius: var(--r-lg); }
.mock-a { left: 0; top: 10px; width: 62%; }
.mock-b { right: 0; top: 100px; width: 54%; background: var(--ink); color: var(--bg); border-color: var(--ink); text-align: center; padding: 26px 18px; }
.mock-c { left: 6%; bottom: 0; width: 50%; }
.mock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.mock-list li { display: flex; align-items: center; gap: 9px; }
.mock-list i { width: 15px; height: 15px; border: 1.4px solid var(--ink-3); border-radius: 50%; }
.mock-list .done { color: var(--ink-3); text-decoration: line-through; }
.mock-list .done i { background: var(--plum); border-color: var(--plum); }
.mock-list .sub { padding-left: 24px; font-size: 12.5px; }
.mock-bar { height: 4px; background: var(--muted-bg); margin-top: 14px; border-radius: 9px; }
.mock-bar span { display: block; height: 100%; background: var(--plum); border-radius: 9px; }
.mock-kicker { font-family: var(--display); font-size: 30px; font-style: italic; margin: 0; line-height: 1; }
.mock-date { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #d8b98a; margin: 8px 0 16px; }
.mock-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 11px; }
.mock-btns span { border: 1px solid rgba(247, 240, 233, .3); padding: 8px 4px; }
.mock-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 10px; }
.mock-photos i { aspect-ratio: 1; background: linear-gradient(135deg, var(--secondary), #d9b9a9); border-radius: 2px; }
.mock-photos i:nth-child(2) { background: linear-gradient(135deg, #e6d3c3, #b98a6e); }
.mock-photos i:nth-child(3) { background: linear-gradient(135deg, #3b3132, #8a6a5f); }
.mock-photos i:nth-child(4) { background: linear-gradient(135deg, #f1e6d6, #c9a45c); }
.band { padding: 80px 0; background: var(--card); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.band-ink { background: var(--ink); color: var(--bg); }
.band-ink .display-sm em { color: #d8b98a; }
.band-ink .lead { color: rgba(247, 240, 233, .75); }
.feat-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feat-grid { grid-template-columns: repeat(4, 1fr); } }
.feat { background: var(--card); padding: 26px 22px; }
.feat-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); color: var(--plum); margin-bottom: 14px; }
.feat h3 { font-family: var(--display); font-size: 24px; font-weight: 500; margin: 0 0 6px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 14px; }
.how { padding: 80px 0; }
.how-grid { display: grid; gap: 30px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: .8fr 1.2fr; } }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-family: var(--display); font-size: 30px; color: var(--plum); line-height: 1; }
.steps b { font-weight: 600; }
.steps span { color: var(--ink-2); }
.guest-explain { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .guest-explain { grid-template-columns: 1fr 1fr; } }
.guest-btns-demo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.guest-btns-demo span { display: flex; flex-direction: column; gap: 10px; padding: 22px 18px; border: 1px solid rgba(247, 240, 233, .2); font-size: 15px; }
.guest-btns-demo .ic { width: 24px; height: 24px; color: #d8b98a; }
.cta-band { padding: 70px 0; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.pub-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.pub-foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.pub-foot-row > div:first-child { max-width: 420px; }
.pub-foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.auth { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 40px var(--gut); }
.auth-card { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); padding: 34px 28px; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.code-input { font-family: var(--display) !important; font-size: 34px !important; letter-spacing: .35em; text-align: center; }
.resend { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.prose-page { padding: 50px 0 80px; }
.prose h3 { font-family: var(--display); font-size: 24px; font-weight: 500; margin: 28px 0 6px; }
.prose p { color: var(--ink-2); }

/* App chrome */
.app-head { background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.app-head-row { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.app-head-nav { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.app-head-nav a { text-decoration: none; }
.app-head-nav a.on { border-bottom: 1px solid var(--ink); }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--plum); color: var(--ivory); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.ev-head { background: var(--card); border-bottom: 1px solid var(--line); padding-top: 22px; position: sticky; top: 0; z-index: 20; }
.ev-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.ev-head-text { min-width: 0; }
.ev-head .eyebrow { margin-bottom: 6px; }
.ev-title { font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-head-actions { display: flex; gap: 6px; align-items: center; flex: none; }
.ev-head-actions .btn { display: none; }
@media (min-width: 700px) { .ev-head-actions .btn { display: inline-flex; } }
.tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 12px 13px; font-size: 13px; text-decoration: none; color: var(--ink-3); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a .ic { width: 16px; height: 16px; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-color: var(--plum); font-weight: 500; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: var(--r); font-size: 13.5px; z-index: 100; transition: all .25s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--bad); }
.save-state { font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }
.save-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.save-state.saving::before { background: var(--gold); }
.save-state.err::before { background: var(--bad); }
.save-state:empty { display: none; }

/* Dashboard */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.ev-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ev-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ev-grid { grid-template-columns: repeat(3, 1fr); } }
.ev-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; min-height: 196px; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.ev-card:hover { border-color: var(--ink-3); box-shadow: var(--shadow); transform: translateY(-2px); }
.ev-card-new { align-items: center; justify-content: center; text-align: center; border-style: dashed; background: transparent; }
.ev-card-new .plus { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--bg); margin-bottom: 6px; }
.ev-card-top { display: flex; justify-content: space-between; align-items: center; }
.ev-type { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.ev-type .ic { width: 15px; height: 15px; }
.days { font-size: 12px; background: var(--secondary); padding: 3px 9px; border-radius: 99px; }
.days.past { background: var(--muted-bg); color: var(--ink-3); }
.ev-card-title { font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1.05; letter-spacing: -.02em; margin: 8px 0 0; }
.ev-card .bar { margin-top: auto; }
.ev-card-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); gap: 6px; }

/* New event */
.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 30px; }
@media (min-width: 700px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
.type-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); cursor: pointer; transition: border-color .15s, background .15s; }
.type-tile input { position: absolute; opacity: 0; }
.type-tile:hover { border-color: var(--ink-3); }
.type-tile:has(input:checked) { border-color: var(--plum); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--plum); }
.type-tile:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.type-ic { color: var(--plum); margin-bottom: 6px; }
.type-ic .ic { width: 26px; height: 26px; }
.type-tile b { font-weight: 600; font-size: 15px; }
.type-tile small { color: var(--ink-3); font-size: 12.5px; line-height: 1.35; }
.new-ev-details { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 14px; }

/* Overview */
.next-list { list-style: none; padding: 0; margin: 0; }
.next-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.next-list li:first-child { border-top: 0; }
.next-title { flex: 1; min-width: 0; }
.next-list li.is-done .next-title { text-decoration: line-through; color: var(--ink-3); }
.due { font-size: 12px; color: var(--ink-3); background: var(--muted-bg); padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.due.late { background: var(--bad-soft); color: var(--bad); }
.copy-row { display: flex; gap: 8px; margin: 10px 0 14px; }
.copy-row input { font-size: 13.5px; color: var(--ink-2); min-width: 0; }

/* Modal */
.modal { border: 0; padding: 0; background: transparent; max-width: calc(100vw - 24px); width: 520px; color: var(--ink); }
.modal::backdrop { background: rgba(45, 37, 36, .45); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.modal-card { position: relative; background: var(--card); border-radius: var(--r-lg); padding: 28px 24px 24px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; max-height: calc(100vh - 40px); overflow: auto; }
.modal-wide { width: 100%; }
.modal:has(.modal-wide) { width: 880px; }
.modal-x { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; }
.modal-x:hover { background: var(--muted-bg); }

/* Tool head and chips */
.tool-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; margin: 6px 0 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 16px; padding-bottom: 2px; }
.chip { border: 1px solid var(--line); background: transparent; padding: 7px 14px; border-radius: 99px; font-size: 13px; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { font-size: 11px; opacity: .7; }
.chip .ic { width: 14px; height: 14px; }
.hint-line { margin-top: 18px; }

/* Checklist */
.add-row { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 14px; }
.add-row .add-ic { color: var(--ink-3); }
.add-row input[name="title"] { border: 0; background: transparent; padding: 8px 0; min-height: 40px; box-shadow: none !important; }
.add-row input[type="date"] { width: 150px; flex: none; min-height: 38px; font-size: 13px; }
@media (max-width: 560px) { .add-row { flex-wrap: wrap; } .add-row input[name="title"] { flex: 1 1 70%; } .add-row input[type="date"] { flex: 1; } }
.tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.task { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.task-row { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; min-height: 52px; }
.task-title { flex: 1; min-width: 0; border: 0; background: transparent; padding: 6px 4px; font-size: 15px; border-radius: var(--r); outline: none; }
.task-title:focus { background: var(--ivory); box-shadow: inset 0 0 0 1px var(--input); }
.task.done > .task-row .task-title { text-decoration: line-through; color: var(--ink-3); }
.task .due-btn { border: 0; background: var(--muted-bg); color: var(--ink-2); font-size: 12px; padding: 4px 9px; border-radius: 99px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.task .due-btn .ic { width: 13px; height: 13px; }
.task .due-btn.late { background: var(--bad-soft); color: var(--bad); }
.task .due-btn.empty { background: transparent; color: var(--ink-3); }
.task .due-in { width: 140px; min-height: 32px; padding: 4px 6px; font-size: 13px; border: 1px solid var(--input); border-radius: var(--r); }
.task .sub-count { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.task .tbtn { width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; color: var(--ink-3); flex: none; }
.task .tbtn:hover { background: var(--muted-bg); color: var(--ink); }
.task .tbtn .ic { width: 16px; height: 16px; }
.task .tbtn.open .ic { transform: rotate(90deg); }
.subs { list-style: none; margin: 0; padding: 0 10px 10px 48px; display: grid; gap: 2px; }
.subs .task-row { min-height: 40px; padding: 4px 6px 4px 0; border-top: 1px dashed var(--line-soft); }
.subs .task-title { font-size: 14px; }
.subs .done .task-title { text-decoration: line-through; color: var(--ink-3); }
.sub-add { display: flex; gap: 8px; padding-top: 6px; }
.sub-add input { flex: 1; min-height: 36px; padding: 6px 10px; border: 1px dashed var(--input); background: transparent; border-radius: var(--r); font-size: 14px; }
@media (max-width: 560px) { .task .sub-count { display: none; } .subs { padding-left: 22px; } }

/* Budget */
.budget-top { display: grid; gap: 14px; margin-bottom: 24px; }
@media (min-width: 900px) { .budget-top { grid-template-columns: 1fr 1.4fr; align-items: stretch; } .budget-top .tiles { margin: 0; } }
.budget-total { margin: 0; }
.budget-total-row { display: flex; align-items: baseline; gap: 6px; border-bottom: 1px solid var(--line); }
.budget-total-row .rand { font-family: var(--display); font-size: 34px; color: var(--ink-3); }
.budget-total-row input { border: 0; background: transparent; font-family: var(--display); font-size: 48px; width: 100%; padding: 0; outline: none; letter-spacing: -.02em; }
.meter { display: flex; height: 10px; background: var(--muted-bg); border-radius: 9px; overflow: hidden; margin: 16px 0 10px; }
.meter span { display: block; height: 100%; transition: width .4s var(--ease); }
.m-paid, .l-paid { background: var(--plum); }
.m-spent, .l-spent { background: #b68a98; }
.m-plan, .l-plan { background: #dcc6c0; }
.meter.over { box-shadow: 0 0 0 2px var(--bad); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ink-3); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.b-cats { display: grid; gap: 12px; }
.b-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.b-cat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.b-cat-name { flex: 1; min-width: 0; font-weight: 600; border: 0; background: transparent; padding: 4px; border-radius: var(--r); outline: none; font-size: 15px; }
.b-cat-name:focus { background: var(--ivory); box-shadow: inset 0 0 0 1px var(--input); }
.b-cat-sum { text-align: right; font-size: 13px; white-space: nowrap; }
.b-cat-sum b { font-family: var(--display); font-size: 22px; font-weight: 500; display: block; line-height: 1; }
.b-cat-sum small { color: var(--ink-3); }
.b-cat .bar { margin: 0 16px 12px; }
.b-cat-body { border-top: 1px solid var(--line-soft); padding: 4px 8px 10px; }
.b-lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.b-lines th { text-align: left; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; padding: 8px 6px 4px; }
.b-lines td { padding: 3px 4px; vertical-align: middle; }
.b-lines input { width: 100%; min-height: 36px; padding: 6px 8px; border: 1px solid transparent; background: transparent; border-radius: var(--r); font-size: 14px; outline: none; }
.b-lines input:hover { border-color: var(--line); }
.b-lines input:focus { border-color: var(--plum); background: var(--ivory); }
.b-lines .num input { text-align: right; font-variant-numeric: tabular-nums; }
.b-lines .x { width: 36px; }
.b-add { margin: 6px 6px 0; }
@media (max-width: 700px) {
  .b-lines thead { display: none; }
  .b-lines tr { display: grid; grid-template-columns: 1fr 1fr 1fr 36px; gap: 2px; padding: 8px 0; border-top: 1px dashed var(--line-soft); }
  .b-lines td.nm { grid-column: 1 / -1; }
  .b-lines td.num::before { content: attr(data-l); display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-left: 8px; }
}

/* Guests */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.search-box { position: relative; flex: 1 1 220px; }
.search-box .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 16px; }
.search-box input { padding-left: 36px; }
.filters select { width: auto; flex: 0 1 180px; }
.g-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.g-row-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line-soft); }
.g-row-item:first-child { border-top: 0; }
.g-row-item.plus { padding-left: 34px; background: rgba(239, 229, 221, .35); }
.g-row-main { min-width: 0; display: flex; align-items: center; gap: 10px; }
.g-ava { width: 34px; height: 34px; border-radius: 50%; background: var(--secondary); color: var(--plum); display: grid; place-items: center; font-weight: 600; font-size: 13px; flex: none; }
.g-row-item.plus .g-ava { width: 26px; height: 26px; font-size: 11px; }
.g-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-sub { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-right { display: flex; align-items: center; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; font-size: 12px; border: 0; white-space: nowrap; background: var(--muted-bg); color: var(--ink-2); }
.pill-yes { background: var(--ok-soft); color: var(--ok); }
.pill-no { background: var(--bad-soft); color: var(--bad); }
.pill-maybe { background: #f4e8cf; color: var(--warn); }
.pill-table { background: var(--secondary); color: var(--plum); }
select.pill { appearance: none; padding-right: 22px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23756967' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 6px center; background-size: 12px; }
.mini { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 0; background: transparent; border-radius: 50%; color: var(--ink-3); text-decoration: none; }
.mini:hover { background: var(--muted-bg); color: var(--ink); }
.mini .ic { width: 16px; height: 16px; }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: 36px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 6px; min-width: 210px; z-index: 15; display: grid; }
.menu-pop button, .menu-pop a { display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 10px; border: 0; background: transparent; border-radius: var(--r); font-size: 13.5px; text-decoration: none; }
.menu-pop button:hover, .menu-pop a:hover { background: var(--muted-bg); }
.menu-pop .ic { width: 16px; height: 16px; color: var(--ink-3); }
@media (max-width: 640px) { .g-row-item { grid-template-columns: 1fr; } .g-right { justify-content: flex-start; padding-left: 44px; } .g-row-item.plus .g-right { padding-left: 36px; } }
.empty { text-align: center; padding: 50px 20px; color: var(--ink-2); max-width: 520px; margin: 0 auto; }
.empty-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--plum); margin-bottom: 14px; }
.empty-ic .ic { width: 28px; height: 28px; }

/* Inspiration */
.pins { columns: 2 160px; column-gap: 12px; }
@media (min-width: 900px) { .pins { columns: 4 200px; } }
.pin { break-inside: avoid; margin: 0 0 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; }
.pin img { width: 100%; height: auto; }
.pin-body { padding: 10px 12px; font-size: 13.5px; }
.pin-seg { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pin-link { display: flex; gap: 8px; align-items: center; padding: 16px 12px; background: var(--muted-bg); font-size: 13px; text-decoration: none; word-break: break-all; }
.pin .pin-x { position: absolute; top: 8px; right: 8px; background: rgba(255, 250, 245, .92); opacity: 0; transition: opacity .15s; }
.pin:hover .pin-x, .pin:focus-within .pin-x { opacity: 1; }
@media (hover: none) { .pin .pin-x { opacity: 1; } }
.drop { position: relative; display: grid; place-items: center; gap: 6px; min-height: 140px; padding: 18px; border: 1.5px dashed var(--input); border-radius: var(--r-lg); background: var(--ivory); cursor: pointer; text-align: center; color: var(--ink-3); overflow: hidden; }
.drop:hover { border-color: var(--plum); color: var(--plum); }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop img:not([hidden]) ~ .drop-ic, .drop img:not([hidden]) ~ .drop-t { position: relative; z-index: 1; background: rgba(255, 250, 245, .9); padding: 4px 10px; border-radius: 99px; color: var(--ink); }
.drop-ic .ic { width: 26px; height: 26px; }
.drop-wide { min-height: 170px; }
.or { text-align: center; color: var(--ink-3); font-size: 12px; margin: -4px 0; letter-spacing: .2em; text-transform: uppercase; }

/* Photos and memories (host) */
.toggle-line + .gallery, .toggle-line + .memories, .toggle-line + .empty { margin-top: 10px; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
.ph { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ph img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.ph figcaption { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 2px 10px; gap: 4px; }
.ph .who { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph .acts { display: flex; }
.ph .mini { width: 28px; height: 28px; }
.ph .mini .ic { width: 14px; height: 14px; }
.is-hidden img, .is-hidden video, .is-hidden .voice { opacity: .35; }
.is-fav [data-media-fav] { color: var(--gold); }
.is-fav [data-media-fav] .ic { fill: var(--gold); }
.memories { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .memories { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .memories { grid-template-columns: repeat(3, 1fr); } }
.memory { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.memory-media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #111; }
.voice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; aspect-ratio: 4 / 3; background: linear-gradient(140deg, var(--secondary), var(--plum-soft)); padding: 16px; }
.voice-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--plum); color: var(--ivory); display: grid; place-items: center; }
.voice-ic .ic { width: 28px; height: 28px; }
.voice audio { width: 100%; }
.memory-body { padding: 12px 14px; display: grid; gap: 4px; }
.memory-body .who { margin: 0; }
.memory-body p { margin: 0; }
.memory .acts { display: flex; margin-left: -8px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20, 16, 16, .94); display: grid; place-items: center; padding: 50px 10px; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lb-x { top: 12px; right: 12px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.modal-dark { width: 720px; }
.reel { position: relative; background: #141010; color: #f7f0e9; border-radius: var(--r-lg); padding: 50px 18px 18px; display: grid; gap: 12px; }
.reel .modal-x { color: #fff; }
.reel .modal-x:hover { background: rgba(255,255,255,.12); }
.reel-stage { min-height: 280px; display: grid; place-items: center; }
.reel-stage video { max-height: 62vh; width: 100%; background: #000; }
.reel-stage .voice { width: 100%; max-width: 420px; aspect-ratio: auto; padding: 40px 20px; border-radius: var(--r-lg); }
.reel-meta p { margin: 0; }
.reel-meta #reelWho { font-family: var(--display); font-size: 26px; }
.reel-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; }
.reel-ctrl .icon-btn { color: #fff; }

/* Event page designer */
.designer { display: grid; gap: 26px; }
@media (min-width: 1000px) { .designer { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; } .designer-preview { position: sticky; top: 150px; } }
.fs { border: 0; border-top: 1px solid var(--line); margin: 0; padding: 18px 0 8px; display: grid; gap: 12px; }
.fs legend { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; padding: 0 10px 0 0; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 640px) { .swatches { grid-template-columns: repeat(6, 1fr); } }
.swatch { display: grid; gap: 6px; justify-items: center; cursor: pointer; font-size: 12px; }
.swatch input { position: absolute; opacity: 0; }
.sw { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r-lg); background: var(--a); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; place-items: center; }
.sw::before { content: "Aa"; font-family: var(--display); font-size: 26px; color: var(--c); }
.sw i { position: absolute; left: 20%; right: 20%; bottom: 14%; height: 6px; background: var(--b); border-radius: 9px; }
.swatch input:checked + .sw { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--plum); }
.swatch input:focus-visible + .sw { outline: 2px solid var(--gold); outline-offset: 4px; }
.cover-pick { display: grid; gap: 8px; justify-items: start; }
.cover-pick .drop { width: 100%; }
.schedule-edit { display: grid; gap: 8px; }
.sched-row { display: grid; grid-template-columns: 110px 1fr 36px; gap: 8px; }
.sched-row input { min-height: 40px; padding: 8px 10px; border: 1px solid var(--input); border-radius: var(--r); background: var(--ivory); font-size: 14px; }
.designer-preview { display: grid; gap: 12px; justify-items: center; }
.phone { width: 340px; max-width: 100%; height: 680px; border-radius: 40px; background: #1b1617; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 20px; background: #1b1617; z-index: 2; }
.phone iframe { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #fff; }
@media (max-width: 999px) { .phone { height: 600px; } }

/* Share */
.qr-grid { display: grid; gap: 14px; margin: 16px 0; }
@media (min-width: 760px) { .qr-grid { grid-template-columns: 1fr 1fr; } }
.qr-card { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; scroll-margin-top: 170px; }
.qr-card:target { box-shadow: 0 0 0 2px var(--plum); }
.qr-img { width: 120px; height: 120px; flex: none; background: #fff; padding: 8px; border: 1px solid var(--line); }
.qr-img svg { width: 100%; height: 100%; }
.qr-text { min-width: 0; }
.qr-text .h3 { display: flex; align-items: center; gap: 8px; }
.qr-login { display: flex; justify-content: center; padding: 10px 0; }
.qr-box { min-height: 60px; display: grid; place-items: center; gap: 10px; text-align: center; }
.qr-box svg { width: 220px; height: 220px; background: #fff; padding: 12px; }
@media (max-width: 480px) { .qr-card { flex-direction: column; align-items: flex-start; } .qr-img { width: 150px; height: 150px; } }

/* Floor plan (host) */
body.is-seating .app-main { padding: 0; }
.fp { display: flex; flex-direction: column; height: calc(100vh - 60px - 129px); min-height: 520px; background: var(--card); }
.fp-bar { display: flex; align-items: center; gap: 8px; padding: 8px var(--gut); border-bottom: 1px solid var(--line); background: var(--bg); flex-wrap: wrap; }
.fp-bar-mid { display: flex; align-items: center; gap: 2px; }
.fp-bar-end { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.seg button { border: 0; background: transparent; padding: 8px 14px; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.seg button .ic { width: 15px; height: 15px; }
.seg button.on { background: var(--ink); color: var(--bg); }
.fp-body { flex: 1; display: grid; grid-template-columns: 1fr; min-height: 0; position: relative; }
@media (min-width: 1000px) { .fp-body { grid-template-columns: 220px 1fr 300px; } }
.fp-side { background: var(--card); overflow-y: auto; padding: 14px; min-height: 0; }
.fp-left { border-right: 1px solid var(--line); }
.fp-right { border-left: 1px solid var(--line); }
@media (max-width: 999px) {
  .fp-side { position: absolute; left: 0; right: 0; bottom: 0; max-height: 58%; z-index: 6; box-shadow: 0 -12px 30px rgba(45,37,36,.18); border: 0; border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; transform: translateY(105%); transition: transform .3s var(--ease); }
  .fp-side.open { transform: none; }
  .fp { height: calc(100vh - 60px - 129px - 56px); }
}
.fp-mobile-tabs { display: none; }
@media (max-width: 999px) {
  .fp-mobile-tabs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: var(--bg); position: fixed; left: 0; right: 0; bottom: 0; z-index: 8; padding-bottom: env(safe-area-inset-bottom); }
  .fp-mobile-tabs button { border: 0; background: transparent; padding: 10px; font-size: 13px; display: flex; gap: 8px; justify-content: center; align-items: center; min-height: 56px; }
  .fp-mobile-tabs button.on { color: var(--plum); font-weight: 600; }
}
.fp-stage { position: relative; overflow: hidden; background: #e9e1d9; touch-action: none; min-height: 0; }
#fpSvg { width: 100%; height: 100%; user-select: none; -webkit-user-select: none; cursor: grab; }
#fpSvg.panning { cursor: grabbing; }
.fp-3d { position: absolute; inset: 0; background: linear-gradient(#f5efe9, #e3d9cf); }
.fp-3d canvas { width: 100% !important; height: 100% !important; touch-action: none; }
.fp-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(45, 37, 36, .86); color: var(--bg); font-size: 12.5px; padding: 8px 14px; border-radius: 99px; pointer-events: none; opacity: 0; transition: opacity .3s; white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
.fp-hint.show { opacity: 1; }
.pal-group { margin-bottom: 16px; }
.pal-group h4 { margin: 0 0 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
@media (max-width: 999px) { .pal-grid { grid-template-columns: repeat(4, 1fr); } }
.pal-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ivory); font-size: 11.5px; text-align: center; line-height: 1.2; cursor: grab; touch-action: none; }
.pal-item:hover { border-color: var(--plum); }
.pal-item svg { width: 40px; height: 30px; }
.insp { display: grid; gap: 12px; }
.insp h3 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 500; }
.insp .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.insp .field input, .insp .field select { min-height: 38px; padding: 6px 10px; font-size: 14px; }
.colors { display: flex; gap: 6px; flex-wrap: wrap; }
.colors button { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.colors button.on { box-shadow: 0 0 0 2px var(--plum); }
.insp-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.seat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.seat-list li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--ivory); font-size: 13.5px; min-height: 40px; }
.seat-list .n { width: 22px; height: 22px; border-radius: 50%; background: var(--muted-bg); display: grid; place-items: center; font-size: 11px; flex: none; }
.seat-list li.filled .n { background: var(--plum); color: var(--ivory); }
.seat-list .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-list .empty-seat { color: var(--ink-3); font-style: italic; }
.seat-list li.drop-on { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.unseated { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 320px; overflow: auto; }
.unseated li { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ivory); font-size: 13.5px; cursor: grab; touch-action: none; }
.unseated li.picked { border-color: var(--plum); background: var(--plum-soft); }
.unseated li small { margin-left: auto; color: var(--ink-3); font-size: 11px; }
.drag-ghost { position: fixed; z-index: 300; pointer-events: none; background: var(--ink); color: var(--bg); padding: 6px 12px; border-radius: 99px; font-size: 13px; transform: translate(-50%, -130%); box-shadow: var(--shadow-lg); }
.tpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .tpl-grid { grid-template-columns: repeat(3, 1fr); } }
.tpl { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ivory); padding: 10px; text-align: left; display: grid; gap: 6px; }
.tpl:hover { border-color: var(--plum); }
.tpl svg { width: 100%; height: 110px; background: #efe7df; border-radius: var(--r); }
.tpl b { font-size: 14px; }
.tpl small { color: var(--ink-3); font-size: 12px; }
@media print {
  .app-head, .ev-head, .fp-bar, .fp-side, .fp-mobile-tabs, .toast { display: none !important; }
  .fp { height: 100vh; } .fp-body { display: block; } .fp-stage { background: #fff; height: 100vh; }
}

/* ---------------- Guest pages ---------------- */
body.guest { background: var(--g-bg); color: var(--g-ink); font-size: 16px; }
.owner-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px var(--gut); background: #2d2524; color: #f7f0e9; font-size: 13px; position: sticky; top: 0; z-index: 30; }
.owner-bar a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; border-bottom: 1px solid rgba(247,240,233,.5); white-space: nowrap; }
.owner-bar .ic { width: 14px; height: 14px; }
.g-main { max-width: 640px; margin: 0 auto; padding: 0 0 30px; }
.g-eyebrow { margin: 0 0 10px; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--g-accent); }
.g-title { font-family: var(--g-display); font-weight: 500; font-size: clamp(48px, 13vw, 84px); line-height: .95; letter-spacing: -.03em; margin: 0; }
.design-modern .g-title { font-weight: 600; letter-spacing: -.04em; }
.g-title em { color: var(--g-accent); }
.g-title-sm { font-size: clamp(34px, 9vw, 50px); margin-bottom: 12px; }
.g-hero { padding: 54px 24px 26px; text-align: center; }
.g-hero.has-cover { padding-top: 0; }
.g-cover { margin: 0 0 30px; position: relative; }
.g-cover img { width: 100%; height: min(62vh, 560px); object-fit: cover; }
.g-cover::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(transparent, var(--g-bg)); }
.g-when { margin: 18px 0 4px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.g-where { margin: 0; display: flex; justify-content: center; gap: 6px; align-items: center; opacity: .85; font-size: 15px; }
.g-where .ic { width: 16px; height: 16px; }
.countdown { display: flex; width: fit-content; gap: 22px; margin: 26px auto 0; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--g-ink) 15%, transparent); }
.countdown span { display: flex; flex-direction: column; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.countdown b { font-family: var(--g-display); font-size: 40px; font-weight: 500; letter-spacing: 0; line-height: 1; opacity: 1; }
.g-actions { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 18px 26px; }
.g-actions .g-act { flex: 1 1 calc(50% - 5px); }
.g-act { display: flex; flex-direction: column; gap: 12px; padding: 18px 16px; background: var(--g-soft); border: 1px solid color-mix(in srgb, var(--g-ink) 10%, transparent); border-radius: 4px; text-decoration: none; min-height: 118px; transition: transform .15s var(--ease), border-color .15s; }
.g-act:active { transform: scale(.98); }
.g-act:hover { border-color: var(--g-accent); }
.g-act .ic { width: 26px; height: 26px; color: var(--g-accent); }
.g-act b { display: block; font-size: 17px; font-weight: 600; }
.g-act small { display: block; font-size: 12.5px; opacity: .7; margin-top: 2px; }
.g-actions .g-act-main { flex-basis: 100%; flex-direction: row; align-items: center; background: var(--g-accent); color: var(--g-bg); min-height: 86px; border: 0; }
.g-act-main .ic { color: var(--g-bg); width: 30px; height: 30px; }
.g-act-main small { opacity: .85; }
.g-sec { padding: 26px 24px; }
.g-sec-wide { padding-left: 10px; padding-right: 10px; }
.g-sec + .g-sec { border-top: 1px solid color-mix(in srgb, var(--g-ink) 10%, transparent); }
.g-story { font-family: var(--g-display); font-size: 23px; line-height: 1.45; }
.design-modern .g-story { font-size: 18px; }
.g-sched { list-style: none; margin: 0; padding: 0; }
.g-sched li { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid color-mix(in srgb, var(--g-ink) 10%, transparent); }
.g-sched li:first-child { border-top: 0; }
.g-sched time { font-family: var(--g-display); font-size: 22px; color: var(--g-accent); line-height: 1.2; }
.g-details { display: grid; gap: 18px; }
.g-details p { margin: 0; }
.g-map { margin: 14px 0; border-radius: 4px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--g-ink) 12%, transparent); }
.g-map iframe { width: 100%; height: 240px; border: 0; display: block; }
.g-row { display: flex; flex-wrap: wrap; gap: 8px; }
.g-row-center { justify-content: center; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; background: var(--g-ink); color: var(--g-bg); border: 1px solid var(--g-ink); border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.g-btn .ic { width: 18px; height: 18px; }
.g-btn-ghost { background: transparent; color: var(--g-ink); border-color: color-mix(in srgb, var(--g-ink) 25%, transparent); }
.g-btn-block { width: 100%; flex: 1; }
.g-btn[disabled] { opacity: .5; pointer-events: none; }
.g-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 14px; }
.g-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.g-center { text-align: center; }
.g-pad-xl { padding-top: 90px; padding-bottom: 90px; }
.g-sub-head { padding: 16px 20px 0; }
.g-back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13.5px; opacity: .8; }
.g-back .ic { width: 16px; height: 16px; }
.g-narrow { max-width: 520px; margin: 0 auto; }
.g-muted { opacity: .7; }
.g-alert { padding: 12px 14px; border-radius: 4px; background: #f6e1dd; color: #a3392f; margin: 12px 0; font-size: 14.5px; }
.g-form { display: grid; gap: 16px; margin-top: 18px; }
.g-field { display: grid; gap: 6px; font-size: 14px; }
.g-field > span, .g-label { font-weight: 600; font-size: 14px; margin: 0; }
.g-field i { font-style: normal; font-weight: 400; opacity: .65; }
.g-field input, .g-field select, .g-field textarea, .g-plus input, .g-search input { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; background: color-mix(in srgb, var(--g-soft) 60%, #fff); color: var(--g-ink); border: 1px solid color-mix(in srgb, var(--g-ink) 18%, transparent); border-radius: 4px; outline: none; }
.design-midnight .g-field input, .design-midnight .g-field select, .design-midnight .g-field textarea, .design-midnight .g-plus input, .design-midnight .g-search input { background: var(--g-soft); }
.g-field input:focus, .g-field textarea:focus, .g-field select:focus, .g-plus input:focus, .g-search input:focus { border-color: var(--g-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--g-accent) 18%, transparent); }
.g-plus { display: grid; gap: 8px; }
.g-two { display: grid; gap: 12px; }
@media (min-width: 520px) { .g-two { grid-template-columns: 1fr 1fr; } }
.g-choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.g-choice legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.g-choice label { position: relative; }
.g-choice input { position: absolute; opacity: 0; }
.g-choice span { display: flex; align-items: center; gap: 10px; padding: 16px; border: 1px solid color-mix(in srgb, var(--g-ink) 18%, transparent); border-radius: 4px; cursor: pointer; font-size: 16px; }
.g-choice span .ic { color: var(--g-accent); }
.g-choice input:checked + span { border-color: var(--g-accent); background: color-mix(in srgb, var(--g-accent) 10%, transparent); box-shadow: inset 0 0 0 1px var(--g-accent); }
.g-choice input:focus-visible + span { outline: 2px solid var(--g-accent); outline-offset: 2px; }
.g-form:has(input[name="attending"][value="no"]:checked) .g-if-yes { display: none; }
.g-if-yes { display: grid; gap: 16px; }
.hp { position: absolute !important; left: -9999px !important; }
.g-done { padding: 30px 0; }
.g-done-ic { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: var(--g-accent); color: var(--g-bg); margin-bottom: 16px; }
.g-done-ic .ic { width: 30px; height: 30px; }
.g-big { font-size: 20px; margin: 0 0 12px; }
.g-search { display: flex; gap: 8px; margin: 18px 0; }
.g-search input { flex: 1; min-width: 0; }
.g-matches { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.g-matches a { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1px solid color-mix(in srgb, var(--g-ink) 15%, transparent); border-radius: 4px; text-decoration: none; font-size: 17px; }
.g-mini-plan { background: var(--g-soft); border-radius: 4px; padding: 8px; margin: 10px 0; }
.g-mini-plan svg { width: 100%; height: auto; max-height: 60vh; }
.g-upload { display: grid; gap: 12px; margin-top: 18px; }
.g-pick { cursor: pointer; }
.g-queue { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.g-queue li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 6px; background: var(--g-soft); border-radius: 4px; }
.g-queue img { width: 42px; height: 42px; object-fit: cover; border-radius: 3px; flex: none; }
.g-queue .q-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-queue .q-bar { width: 70px; height: 4px; background: color-mix(in srgb, var(--g-ink) 12%, transparent); border-radius: 9px; overflow: hidden; flex: none; }
.g-queue .q-bar span { display: block; height: 100%; width: 0; background: var(--g-accent); transition: width .2s; }
.g-queue .q-ok { color: #3f6f4a; }
.g-queue .q-err { color: #a3392f; font-size: 12px; }
.g-gallery { columns: 2 140px; column-gap: 6px; }
@media (min-width: 560px) { .g-gallery { columns: 3 160px; } }
.g-gallery a { display: block; margin-bottom: 6px; break-inside: avoid; }
.g-gallery img { width: 100%; height: auto; border-radius: 2px; }
.g-seg { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid color-mix(in srgb, var(--g-ink) 18%, transparent); border-radius: 4px; overflow: hidden; margin: 18px 0; }
.g-seg button { border: 0; background: transparent; padding: 13px; display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 15px; }
.g-seg button.on { background: var(--g-ink); color: var(--g-bg); }
.g-seg .ic { width: 18px; height: 18px; }
.rec-screen { position: relative; aspect-ratio: 3 / 4; max-height: 62vh; background: #161212; border-radius: 6px; overflow: hidden; display: grid; place-items: center; margin: 0 auto; width: 100%; }
.rec-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rec-screen.mirror video { transform: scaleX(-1); }
.rec-screen.review video { transform: none; }
.rec-screen.audio { aspect-ratio: 4 / 3; background: linear-gradient(140deg, var(--g-soft), color-mix(in srgb, var(--g-accent) 30%, var(--g-soft))); }
.rec-voice { display: grid; justify-items: center; gap: 16px; position: relative; z-index: 1; }
.rec-voice-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--g-accent); color: var(--g-bg); display: grid; place-items: center; }
.rec-voice-ic .ic { width: 36px; height: 36px; }
.rec-voice audio { width: 260px; }
.rec-start { position: relative; z-index: 2; text-align: center; color: #fff; padding: 20px; }
.rec-screen.audio .rec-start { color: var(--g-ink); }
.rec-start .g-btn { background: #fff; color: #161212; border-color: #fff; }
.rec-screen.audio .rec-start .g-btn { background: var(--g-ink); color: var(--g-bg); border-color: var(--g-ink); }
.rec-timer { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.55); color: #fff; padding: 5px 12px; border-radius: 99px; font-size: 14px; font-variant-numeric: tabular-nums; z-index: 3; display: inline-flex; gap: 8px; align-items: center; }
.rec-timer.live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #e5484d; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.rec-ctrl, .rec-review { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 16px 0 6px; }
.rec-btn { width: 76px; height: 76px; border-radius: 50%; border: 4px solid color-mix(in srgb, var(--g-ink) 25%, transparent); background: transparent; display: grid; place-items: center; padding: 0; }
.rec-btn span { width: 56px; height: 56px; border-radius: 50%; background: #e5484d; transition: all .2s var(--ease); }
.rec-btn.on span { width: 28px; height: 28px; border-radius: 6px; }
.g-progress { height: 6px; background: color-mix(in srgb, var(--g-ink) 12%, transparent); border-radius: 9px; overflow: hidden; }
.g-progress span { display: block; height: 100%; width: 0; background: var(--g-accent); transition: width .2s; }
.g-alt { margin-top: 26px; font-size: 14px; opacity: .85; }
.g-alt summary { cursor: pointer; margin-bottom: 12px; }
.g-foot { text-align: center; padding: 30px 20px 40px; }
.g-made { font-size: 12px; letter-spacing: .08em; text-decoration: none; opacity: .55; }
.g-made b { font-weight: 600; }
@media (min-width: 700px) {
  .g-hero { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
