/* ============================================================
   Apexia RSVP design system (shared tokens with My Apexia). Mobile first. Light + dark.
   ============================================================ */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/InterVariable.woff2') format('woff2'); }

:root, [data-bs-theme=light] {
  --apx-brand: #930aff; --apx-brand-2: #9f00a7; --apx-brand-soft: rgba(147, 10, 255, .10); --apx-brand-ink: #6b0ac0;
  --apx-bg: #f6f5fa; --apx-surface: #ffffff; --apx-surface-2: #faf9fd; --apx-border: #e8e5f0; --apx-border-strong: #d8d3e6;
  --apx-text: #17122b; --apx-muted: #6f6a85; --apx-faint: #a39eb7;
  --apx-shadow: 0 1px 2px rgba(23, 18, 43, .04), 0 8px 24px -12px rgba(23, 18, 43, .12);
  --apx-shadow-lg: 0 24px 60px -24px rgba(23, 18, 43, .25);
  --apx-radius: 14px; --apx-radius-sm: 10px;
  --bs-body-bg: var(--apx-bg); --bs-body-color: var(--apx-text); --bs-border-color: var(--apx-border);
  --bs-primary: var(--apx-brand); --bs-primary-rgb: 147, 10, 255; --bs-link-color: var(--apx-brand-ink); --bs-link-hover-color: #520a94;
  --bs-secondary-color: var(--apx-muted); --bs-font-sans-serif: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
[data-bs-theme=dark] {
  --apx-brand-soft: rgba(168, 85, 247, .18); --apx-brand-ink: #c084fc;
  --apx-bg: #0e0b18; --apx-surface: #171226; --apx-surface-2: #1d1730; --apx-border: #2b2540; --apx-border-strong: #3b3355;
  --apx-text: #eeecf6; --apx-muted: #a49fbb; --apx-faint: #6f6a85;
  --apx-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
  --apx-shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --bs-body-bg: var(--apx-bg); --bs-body-color: var(--apx-text); --bs-border-color: var(--apx-border);
  --bs-link-color: var(--apx-brand-ink); --bs-link-hover-color: #d8b4fe; --bs-secondary-color: var(--apx-muted);
}

html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--bs-font-sans-serif); font-feature-settings: 'cv11', 'ss01'; letter-spacing: -.005em; min-height: 100dvh; background: var(--apx-bg); color: var(--apx-text); }
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { letter-spacing: -.02em; font-weight: 650; }
a { text-decoration: none; } a:hover { text-decoration: underline; }
.apx-muted { color: var(--apx-muted) !important; } .apx-faint { color: var(--apx-faint) !important; }
.apx-icon { flex: none; vertical-align: -.2em; }
.apx-icon-lg { width: 24px; height: 24px; }

/* ---- Buttons & forms -------------------------------------------------- */
.btn { --bs-btn-border-radius: var(--apx-radius-sm); --bs-btn-padding-y: .7rem; --bs-btn-padding-x: 1.1rem; --bs-btn-font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.btn-sm { --bs-btn-padding-y: .4rem; --bs-btn-padding-x: .8rem; --bs-btn-font-size: .875rem; min-height: 36px; }
.btn-primary { --bs-btn-bg: var(--apx-brand); --bs-btn-border-color: var(--apx-brand); --bs-btn-hover-bg: #7d0ad9; --bs-btn-hover-border-color: #7d0ad9; --bs-btn-active-bg: #6b0ac0; --bs-btn-active-border-color: #6b0ac0; --bs-btn-disabled-bg: #b77cf0; --bs-btn-disabled-border-color: #b77cf0; box-shadow: 0 6px 16px -8px rgba(147, 10, 255, .6); }
.btn-outline-primary { --bs-btn-color: var(--apx-brand-ink); --bs-btn-border-color: var(--apx-border-strong); --bs-btn-hover-bg: var(--apx-brand-soft); --bs-btn-hover-border-color: var(--apx-brand); --bs-btn-hover-color: var(--apx-brand-ink); --bs-btn-active-bg: var(--apx-brand-soft); --bs-btn-active-color: var(--apx-brand-ink); --bs-btn-active-border-color: var(--apx-brand); }
.btn-outline-secondary { --bs-btn-color: var(--apx-text); --bs-btn-border-color: var(--apx-border-strong); --bs-btn-hover-bg: var(--apx-surface-2); --bs-btn-hover-color: var(--apx-text); --bs-btn-hover-border-color: var(--apx-border-strong); }
.btn-outline-danger { --bs-btn-border-color: var(--apx-border-strong); }
.btn-link { min-height: 0; padding: 0; font-weight: 500; }
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.form-control, .form-select { border-radius: var(--apx-radius-sm); border-color: var(--apx-border-strong); padding: .7rem .9rem; font-size: 16px; min-height: 48px; background-color: var(--apx-surface); color: var(--apx-text); }
.form-control-sm { min-height: 36px; padding: .35rem .6rem; font-size: 14px; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--apx-brand); box-shadow: 0 0 0 4px var(--apx-brand-soft); }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: .15em; border-color: var(--apx-border-strong); }
.form-check-input:checked { background-color: var(--apx-brand); border-color: var(--apx-brand); }
.form-text { color: var(--apx-muted); }
.apx-input-group { position: relative; }
.apx-input-group .form-control { padding-right: 3rem; }
.apx-input-group .apx-input-btn { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--apx-muted); padding: .5rem; border-radius: 8px; line-height: 0; }
.apx-input-group .apx-input-btn:hover { background: var(--apx-surface-2); color: var(--apx-text); }
.apx-otp { font-size: 1.6rem; letter-spacing: .35em; text-align: center; font-variant-numeric: tabular-nums; }
.alert { border-radius: var(--apx-radius-sm); border: 1px solid transparent; padding: .8rem 1rem; }
.alert-danger { background: rgba(220, 53, 69, .08); border-color: rgba(220, 53, 69, .25); color: #b42335; }
.alert-success { background: rgba(25, 135, 84, .08); border-color: rgba(25, 135, 84, .25); color: #146c43; }
.alert-warning { background: rgba(255, 193, 7, .12); border-color: rgba(255, 193, 7, .35); color: #7a5a00; }
[data-bs-theme=dark] .alert-danger { color: #f5a3ad; } [data-bs-theme=dark] .alert-success { color: #8fd7b0; } [data-bs-theme=dark] .alert-warning { color: #ffd66b; }
.badge { font-weight: 600; border-radius: 999px; padding: .35em .7em; }
.badge.bg-purple { background: var(--apx-brand-soft) !important; color: var(--apx-brand-ink); }
.badge.text-bg-success { background: rgba(25, 135, 84, .12) !important; color: #146c43 !important; } [data-bs-theme=dark] .badge.text-bg-success { color: #8fd7b0 !important; }
.badge.text-bg-warning { background: rgba(255, 193, 7, .18) !important; color: #7a5a00 !important; } [data-bs-theme=dark] .badge.text-bg-warning { color: #ffd66b !important; }
.badge.text-bg-secondary, .badge.text-bg-light { background: var(--apx-surface-2) !important; color: var(--apx-muted) !important; border: 1px solid var(--apx-border); }
code.apx-code, .apx-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; background: var(--apx-surface-2); border: 1px solid var(--apx-border); padding: .15rem .45rem; border-radius: 6px; word-break: break-all; color: var(--apx-text); }
details > summary { cursor: pointer; list-style: none; } details > summary::-webkit-details-marker { display: none; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--apx-text); --bs-table-border-color: var(--apx-border); margin: 0; }
.table > thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--apx-muted); font-weight: 600; border-bottom-width: 1px; padding: .75rem 1rem; white-space: nowrap; }
.table > tbody td { padding: .85rem 1rem; vertical-align: middle; }
.table > tbody tr:last-child td { border-bottom: 0; }
.pagination { --bs-pagination-border-radius: 8px; --bs-pagination-active-bg: var(--apx-brand); --bs-pagination-active-border-color: var(--apx-brand); --bs-pagination-color: var(--apx-text); --bs-pagination-bg: var(--apx-surface); --bs-pagination-border-color: var(--apx-border); }
.dropdown-menu { border-radius: var(--apx-radius-sm); border-color: var(--apx-border); box-shadow: var(--apx-shadow-lg); padding: .4rem; --bs-dropdown-bg: var(--apx-surface); --bs-dropdown-link-color: var(--apx-text); --bs-dropdown-link-hover-bg: var(--apx-surface-2); --bs-dropdown-link-hover-color: var(--apx-text); }
.dropdown-item { border-radius: 8px; padding: .55rem .75rem; display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.dropdown-header { padding: .5rem .75rem .35rem; }
.list-group-item { background: transparent; border-color: var(--apx-border); color: var(--apx-text); }

/* ---- Cards ------------------------------------------------------------- */
.apx-card { background: var(--apx-surface); border: 1px solid var(--apx-border); border-radius: var(--apx-radius); box-shadow: var(--apx-shadow); }
.apx-card > .card-body { padding: 1.25rem; }
@media (min-width: 768px) { .apx-card > .card-body { padding: 1.5rem; } }
.apx-card-title { font-size: 1rem; font-weight: 650; margin: 0 0 .25rem; display: flex; align-items: center; gap: .5rem; }
.apx-card-sub { color: var(--apx-muted); font-size: .9rem; margin: 0 0 1rem; }
.apx-stat { display: flex; align-items: center; gap: .9rem; }
.apx-stat-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--apx-brand-soft); color: var(--apx-brand-ink); display: flex; align-items: center; justify-content: center; flex: none; }
.apx-stat-icon.is-ok { background: rgba(25, 135, 84, .12); color: #198754; } .apx-stat-icon.is-warn { background: rgba(255, 193, 7, .18); color: #a06f00; }
.apx-stat-value { font-size: 1.35rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.apx-stat-label { color: var(--apx-muted); font-size: .8rem; font-weight: 500; }
.apx-empty { text-align: center; padding: 2.25rem 1rem; color: var(--apx-muted); }
.apx-empty .apx-icon { width: 36px; height: 36px; color: var(--apx-faint); margin-bottom: .6rem; }
.apx-row-list > * { display: flex; align-items: center; gap: .9rem; padding: .9rem 0; border-top: 1px solid var(--apx-border); }
.apx-row-list > *:first-child { border-top: 0; padding-top: 0; } .apx-row-list > *:last-child { padding-bottom: 0; }
.apx-row-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--apx-surface-2); border: 1px solid var(--apx-border); display: flex; align-items: center; justify-content: center; color: var(--apx-muted); flex: none; }
.apx-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--apx-brand), var(--apx-brand-2)); color: #fff; font-weight: 700; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; flex: none; }
.apx-avatar-lg { width: 56px; height: 56px; font-size: 1.15rem; }
img.apx-avatar { object-fit: cover; background: var(--apx-surface-2); }
.apx-avatar-xl { width: 96px; height: 96px; font-size: 2rem; }
.apx-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--apx-surface-2); border: 1px solid var(--apx-border); color: var(--apx-muted); }
.apx-pill.is-ok { color: #146c43; background: rgba(25, 135, 84, .1); border-color: transparent; } [data-bs-theme=dark] .apx-pill.is-ok { color: #8fd7b0; }
.apx-pill.is-warn { color: #7a5a00; background: rgba(255, 193, 7, .15); border-color: transparent; } [data-bs-theme=dark] .apx-pill.is-warn { color: #ffd66b; }
.apx-callout { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--apx-radius); background: var(--apx-brand-soft); border: 1px solid transparent; }
.apx-callout.is-warn { background: rgba(255, 193, 7, .12); }
.apx-callout .apx-icon { color: var(--apx-brand-ink); margin-top: .1rem; } .apx-callout.is-warn .apx-icon { color: #a06f00; }
.apx-recovery { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; letter-spacing: .04em; }
.apx-qr { display: inline-block; padding: .75rem; background: #fff; border-radius: 12px; border: 1px solid var(--apx-border); } .apx-qr svg { width: 180px; height: 180px; display: block; }

/* ---- Auth layout ------------------------------------------------------- */
.apx-auth { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 2rem 1rem 2.5rem; }
.apx-auth-card { width: 100%; max-width: 440px; }
.apx-auth-logo { text-align: center; margin-bottom: 1.5rem; }
.apx-auth-logo .apx-brand { justify-content: center; }
.apx-auth-logo .apx-brand > img { width: 38px; height: 38px; }
.apx-auth-card .card-body { padding: 1.5rem 1.25rem; }
.apx-auth-title { font-size: 1.5rem; margin: 0 0 .25rem; }
.apx-auth-lead { color: var(--apx-muted); margin: 0 0 1.5rem; }
.apx-auth-foot { color: var(--apx-faint); font-size: .8rem; text-align: center; margin: 1.5rem 0 0; }
.apx-auth-foot a { color: var(--apx-faint); }
.apx-divider { display: flex; align-items: center; gap: .75rem; color: var(--apx-faint); font-size: .8rem; margin: 1.1rem 0; }
.apx-divider::before, .apx-divider::after { content: ''; flex: 1; height: 1px; background: var(--apx-border); }
.apx-auth-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--apx-brand-soft); color: var(--apx-brand-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.apx-auth-icon .apx-icon { width: 28px; height: 28px; }
@media (min-width: 768px) {
  .apx-auth { justify-content: center; padding: 3rem 1.5rem; }
  .apx-auth-logo .apx-brand > img { width: 42px; height: 42px; }
  .apx-auth-card .card-body { padding: 2.25rem; }
  .apx-auth-title { font-size: 1.75rem; }
}

/* ---- App shell --------------------------------------------------------- */
.apx-topbar { position: sticky; top: 0; z-index: 1020; background: color-mix(in srgb, var(--apx-surface) 88%, transparent); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--apx-border); height: 60px; }
.apx-topbar .container-xl { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.apx-brand { display: flex; align-items: center; gap: .55rem; color: var(--apx-text); font-weight: 650; }
.apx-brand > img { width: 32px; height: 32px; object-fit: contain; }
.apx-brand-copy { display: grid; gap: 2px; line-height: 1; }
.apx-brand-copy strong { color: var(--apx-text); font-size: .96rem; letter-spacing: .015em; }
.apx-brand-copy small { color: var(--apx-muted); font-size: .52rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.apx-topnav { display: none; gap: .25rem; margin-left: 1.5rem; }
.apx-topnav a { color: var(--apx-muted); font-weight: 600; padding: .45rem .8rem; border-radius: 8px; font-size: .92rem; }
.apx-topnav a:hover { background: var(--apx-surface-2); text-decoration: none; color: var(--apx-text); }
.apx-topnav a.active { color: var(--apx-brand-ink); background: var(--apx-brand-soft); }
@media (min-width: 768px) { .apx-topnav { display: flex; } }
.apx-user-btn { display: flex; align-items: center; gap: .6rem; background: transparent; border: 0; padding: .25rem; border-radius: 999px; color: var(--apx-text); }
.apx-user-btn:hover { background: var(--apx-surface-2); }
.apx-user-btn .apx-user-name { display: none; font-weight: 600; font-size: .9rem; }
@media (min-width: 768px) { .apx-user-btn .apx-user-name { display: block; } .apx-user-btn { padding: .25rem .6rem .25rem .25rem; } }
.apx-shell { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: 1.25rem 0 3rem; }
.apx-sidebar { display: none; }
.apx-sidenav { display: grid; gap: .15rem; position: sticky; top: 76px; }
.apx-sidenav a { display: flex; align-items: center; gap: .65rem; padding: .6rem .8rem; border-radius: 10px; color: var(--apx-muted); font-weight: 600; font-size: .92rem; }
.apx-sidenav a:hover { background: var(--apx-surface-2); color: var(--apx-text); text-decoration: none; }
.apx-sidenav a.active { background: var(--apx-brand-soft); color: var(--apx-brand-ink); }
.apx-sidenav .apx-sidenav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--apx-faint); font-weight: 700; padding: .9rem .8rem .35rem; }
.apx-subnav { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -1rem .25rem; padding: 0 1rem .35rem; }
.apx-subnav::-webkit-scrollbar { display: none; }
.apx-subnav a { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem; border-radius: 999px; background: var(--apx-surface); border: 1px solid var(--apx-border); color: var(--apx-muted); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.apx-subnav a.active { background: var(--apx-brand-soft); border-color: transparent; color: var(--apx-brand-ink); }
.apx-subnav a:hover { text-decoration: none; }
@media (min-width: 992px) {
  .apx-shell { grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; padding: 2rem 0 4rem; }
  .apx-sidebar { display: block; }
  .apx-subnav { display: none; }
}
.apx-main { min-width: 0; }
.apx-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.apx-page-head h1 { font-size: 1.5rem; margin: 0; }
.apx-page-head p { color: var(--apx-muted); margin: .25rem 0 0; }
.apx-page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (min-width: 768px) { .apx-page-head h1 { font-size: 1.75rem; } }
.apx-section + .apx-section { margin-top: 1.25rem; }
.apx-footer { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; color: var(--apx-faint); font-size: .8rem; padding: 0 0 2rem; }
.apx-footer a { color: var(--apx-faint); }
.apx-parent-brand { display: inline-flex; align-items: center; gap: .38rem; }
.apx-parent-brand img { width: auto; height: 13px; opacity: .72; }
[data-bs-theme=dark] .apx-parent-brand img { filter: brightness(0) invert(1); }
.apx-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.apx-kv { display: grid; grid-template-columns: 1fr; gap: .5rem 1rem; font-size: .9rem; }
.apx-kv dt { color: var(--apx-muted); font-weight: 500; } .apx-kv dd { margin: 0 0 .35rem; word-break: break-word; }
@media (min-width: 576px) { .apx-kv { grid-template-columns: 160px 1fr; } .apx-kv dd { margin: 0; } }
.apx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--apx-radius); }
.apx-table-wrap .table-wide { min-width: 640px; }
.apx-legal { max-width: 760px; margin: 0 auto; }
.apx-legal h2 { font-size: 1.1rem; margin-top: 1.75rem; }
.apx-legal p, .apx-legal li { color: var(--apx-muted); }
.apx-legal-brand { display: flex; justify-content: center; padding: 1.5rem 0; }
.apx-legal-brand img { height: 30px; } [data-bs-theme=dark] .apx-legal-brand img { filter: brightness(0) invert(1); }
.apx-consent-scopes { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.apx-consent-scopes li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; }
.apx-consent-scopes .apx-icon { color: #198754; flex: none; margin-top: .1rem; }
.apx-app-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; border: 1px solid var(--apx-border); background: var(--apx-surface-2); }
@media (prefers-reduced-motion: no-preference) { .btn, .form-control, .apx-sidenav a, .apx-subnav a, .dropdown-item { transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s; } }
.min-w-0 { min-width: 0; } .flex-none { flex: none; }
[data-bs-theme=dark] .apx-callout.is-warn { background: rgba(255, 193, 7, .1); } [data-bs-theme=dark] .apx-callout.is-warn .apx-icon { color: #ffd66b; }
[data-bs-theme=dark] .apx-stat-icon.is-warn { color: #ffd66b; } [data-bs-theme=dark] .apx-stat-icon.is-ok { color: #8fd7b0; }
.apx-stat-value.fs-6 { font-size: .95rem !important; }


/* ============================================================
   Apexia RSVP additions
   ============================================================ */
.apx-auth-logo { display: flex; align-items: center; justify-content: center; gap: .6rem; }
.apx-shell-single { padding: 1.25rem 0 3rem; }
@media (min-width: 992px) { .apx-shell-single { padding: 2rem 0 4rem; } }
.apx-back { display: inline-flex; align-items: center; gap: .35rem; color: var(--apx-muted); font-weight: 600; font-size: .85rem; margin-bottom: .75rem; }
.apx-event-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.apx-event-bar-title { font-weight: 700; font-size: 1.05rem; }
.apx-subnav { margin-bottom: 1rem; }
.btn-lg { --bs-btn-padding-y: .85rem; --bs-btn-padding-x: 1.4rem; --bs-btn-font-size: 1.05rem; min-height: 52px; }
.apx-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .apx-stat-grid { grid-template-columns: repeat(4, 1fr); } }
.apx-stat-icon.is-muted { background: var(--apx-surface-2); color: var(--apx-muted); }
.apx-progress { height: 8px; border-radius: 999px; background: var(--apx-surface-2); border: 1px solid var(--apx-border); overflow: hidden; display: flex; }
.apx-progress > span { display: block; height: 100%; } .apx-progress .is-yes { background: #198754; } .apx-progress .is-no { background: var(--apx-faint); }
.apx-event-list { display: grid; gap: .75rem; }
.apx-event-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; align-items: center; color: var(--apx-text); text-decoration: none; }
.apx-event-card:hover { text-decoration: none; color: var(--apx-text); border-color: var(--apx-brand); }
.apx-event-date { width: 56px; height: 60px; border-radius: 12px; background: var(--apx-brand-soft); color: var(--apx-brand-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.apx-event-date b { font-size: 1.35rem; font-weight: 800; } .apx-event-date small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.apx-event-card.is-past .apx-event-date { background: var(--apx-surface-2); color: var(--apx-muted); }
.apx-event-title { font-weight: 700; font-size: 1.05rem; }
.apx-event-meta { color: var(--apx-muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.apx-event-counts { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; }
.apx-link-box { display: flex; gap: .5rem; align-items: center; }
.apx-link-box .form-control { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.apx-choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
@media (min-width: 576px) { .apx-choice-grid { grid-template-columns: repeat(3, 1fr); } }
.apx-choice { position: relative; }
.apx-choice input { position: absolute; opacity: 0; inset: 0; }
.apx-choice label { display: flex; align-items: center; gap: .5rem; padding: .65rem .8rem; border: 1px solid var(--apx-border-strong); border-radius: var(--apx-radius-sm); background: var(--apx-surface); cursor: pointer; font-weight: 600; font-size: .92rem; width: 100%; }
.apx-choice input:checked + label { border-color: var(--apx-brand); background: var(--apx-brand-soft); color: var(--apx-brand-ink); }
.apx-choice input:focus-visible + label { box-shadow: 0 0 0 4px var(--apx-brand-soft); }
.apx-swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.apx-swatch { position: relative; }
.apx-swatch input { position: absolute; opacity: 0; inset: 0; }
.apx-swatch label { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .5rem; border: 2px solid transparent; border-radius: 12px; cursor: pointer; font-size: .78rem; font-weight: 600; color: var(--apx-muted); }
.apx-swatch span { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,.08); background: var(--sw); box-shadow: inset 0 0 0 4px var(--sw), inset 0 0 0 12px var(--sw2); }
.apx-swatch input:checked + label { border-color: var(--apx-brand); color: var(--apx-brand-ink); background: var(--apx-brand-soft); }
.apx-form-section { padding-top: 1.25rem; margin-top: 1.25rem; border-top: 1px solid var(--apx-border); }
.apx-form-section h2 { font-size: 1.05rem; margin-bottom: .25rem; } .apx-form-section > p { color: var(--apx-muted); font-size: .9rem; margin-bottom: 1rem; }
.apx-guest-name { font-weight: 600; } .apx-guest-sub { color: var(--apx-muted); font-size: .82rem; }
.apx-icon-btn { border: 1px solid var(--apx-border-strong); background: var(--apx-surface); color: var(--apx-muted); width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.apx-icon-btn:hover { color: var(--apx-text); background: var(--apx-surface-2); }
.apx-icon-btn.is-danger:hover { color: #b42335; border-color: #b42335; }
.apx-table-actions { display: flex; gap: .3rem; justify-content: flex-end; }
.apx-dietary-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.apx-filter-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.apx-filter-tabs a { padding: .4rem .8rem; border-radius: 999px; background: var(--apx-surface); border: 1px solid var(--apx-border); color: var(--apx-muted); font-weight: 600; font-size: .85rem; }
.apx-filter-tabs a.active { background: var(--apx-brand-soft); border-color: transparent; color: var(--apx-brand-ink); }
.apx-note { white-space: pre-wrap; }
.apx-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.apx-checklist li { display: flex; align-items: flex-start; gap: .6rem; }
.apx-checklist .apx-icon { flex: none; margin-top: .15rem; color: var(--apx-faint); } .apx-checklist li.is-done .apx-icon { color: #198754; } .apx-checklist li.is-done { color: var(--apx-muted); text-decoration: line-through; }

/* ---- Marketing --------------------------------------------------------- */
.apx-mkt-nav { display: none; align-items: center; gap: 1.8rem; margin-left: auto; margin-right: 1.5rem; }
.apx-mkt-nav a { color: var(--apx-muted); font-size: .87rem; font-weight: 600; }
.apx-mkt-nav a:hover { color: var(--apx-text); text-decoration: none; }
.apx-mkt-actions { display: flex; align-items: center; gap: .9rem; }
.apx-mkt-signin { color: var(--apx-text); font-size: .87rem; font-weight: 650; }
.apx-mkt-signin:hover { color: var(--apx-brand-ink); text-decoration: none; }
.apx-topbar.is-marketing { height: 68px; background: color-mix(in srgb, var(--apx-surface) 92%, transparent); }
.apx-topbar.is-marketing .btn { min-height: 38px; padding: .5rem .9rem; font-size: .84rem; box-shadow: none; }
#how, #features, #guests { scroll-margin-top: 68px; }
.mkt-eyebrow { margin: 0 0 .85rem; color: var(--apx-brand-ink); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.mkt-section-intro { max-width: 660px; margin-bottom: 3rem; }
.mkt-section-intro h2, .mkt-guest-copy h2, .mkt-final h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 720; line-height: 1.04; letter-spacing: -.045em; }
.mkt-section-intro > p:last-child { margin: 1rem 0 0; color: var(--apx-muted); font-size: 1.05rem; line-height: 1.65; }

/* Hero */
.mkt-hero { position: relative; overflow: hidden; padding: 5rem 0 5.5rem; background: var(--apx-surface); }
.mkt-hero::before { position: absolute; inset: 0; content: ''; pointer-events: none; background-image: linear-gradient(rgba(120, 108, 150, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 108, 150, .07) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to right, #000, transparent 46%); }
.mkt-hero-grid { position: relative; display: grid; gap: 4.5rem; align-items: center; }
.mkt-kicker { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem; color: var(--apx-brand-ink); font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.mkt-kicker span { width: 23px; height: 2px; border-radius: 10px; background: var(--apx-brand); }
.mkt-hero h1 { max-width: 11ch; margin: 0 0 1.35rem; color: var(--apx-text); font-size: clamp(3.1rem, 5.7vw, 4.7rem); font-weight: 760; line-height: .94; letter-spacing: -.065em; }
.mkt-lead { max-width: 34rem; margin: 0; color: var(--apx-muted); font-size: 1.12rem; line-height: 1.65; }
.mkt-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; margin-top: 2rem; }
.mkt-cta-row .btn { box-shadow: 0 14px 30px -14px rgba(111, 18, 196, .75); }
.mkt-cta-row .btn .apx-icon { transition: transform .2s ease; }
.mkt-cta-row .btn:hover .apx-icon { transform: translateX(3px); }
.mkt-text-link { padding: .75rem 0; border-bottom: 1px solid var(--apx-border-strong); color: var(--apx-text); font-size: .94rem; font-weight: 680; }
.mkt-text-link:hover { border-color: var(--apx-brand); color: var(--apx-brand-ink); text-decoration: none; }
.mkt-hero-note { display: flex; align-items: center; gap: .45rem; margin: 1.5rem 0 0; color: var(--apx-muted); font-size: .8rem; }
.mkt-hero-note .apx-icon { color: #16805a; }

/* Product preview */
.mkt-product { position: relative; min-width: 0; border: 1px solid #d9d4e4; border-radius: 15px; background: #f7f6fa; box-shadow: 0 40px 90px -42px rgba(41, 29, 65, .45), 0 12px 28px -18px rgba(41, 29, 65, .3); color: #17122b; transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); transform-origin: left center; }
.mkt-product-bar { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: center; height: 38px; padding: 0 .7rem; border-bottom: 1px solid #e5e1ec; border-radius: 15px 15px 0 0; background: #fff; }
.mkt-window-dots { display: flex; gap: 5px; }
.mkt-window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #ddd8e5; }
.mkt-product-url { display: flex; align-items: center; justify-content: center; gap: .3rem; padding: .3rem .5rem; border-radius: 5px; background: #f5f3f8; color: #9690a7; font-size: .57rem; }
.mkt-product-body { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 418px; }
.mkt-product-nav { padding: 1rem .65rem; border-right: 1px solid #e5e1ec; background: #fff; border-radius: 0 0 0 15px; }
.mkt-mini-brand { display: flex; align-items: center; gap: .4rem; margin: 0 .35rem 1.4rem; font-size: .68rem; font-weight: 800; }
.mkt-mini-brand img { width: 18px; height: 18px; object-fit: contain; }
.mkt-nav-item { display: flex; align-items: center; gap: .45rem; min-height: 31px; margin-bottom: .25rem; padding: 0 .45rem; border-radius: 6px; color: #777087; font-size: .59rem; font-weight: 650; }
.mkt-nav-item.is-active { background: #f1e8fb; color: #6812ae; }
.mkt-nav-item b { margin-left: auto; font-size: .54rem; }
.mkt-product-main { min-width: 0; padding: 1.35rem; }
.mkt-product-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.mkt-product-heading h2 { margin: .18rem 0 0; font-size: 1.06rem; font-weight: 740; letter-spacing: -.025em; }
.mkt-overline { color: #8a8497; font-size: .58rem; font-weight: 600; }
.mkt-live { display: inline-flex; align-items: center; gap: .32rem; padding: .28rem .52rem; border: 1px solid #bae4d0; border-radius: 99px; background: #ecf8f2; color: #13704e; font-size: .55rem; font-weight: 750; }
.mkt-live i { width: 5px; height: 5px; border-radius: 50%; background: #20a874; }
.mkt-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin: 1.15rem 0 .7rem; }
.mkt-stat { display: flex; align-items: center; gap: .55rem; padding: .7rem; border: 1px solid #e8e5ed; border-radius: 9px; background: #fff; }
.mkt-stat > span { display: grid; width: 29px; height: 29px; flex: none; place-items: center; border-radius: 7px; background: #f3f1f6; color: #777087; }
.mkt-stat.is-primary > span { background: #eee2fa; color: #7415bd; }
.mkt-stat b { display: block; font-size: .95rem; line-height: 1; }
.mkt-stat small { display: block; margin-top: .2rem; color: #8a8497; font-size: .52rem; font-weight: 650; }
.mkt-response-progress { height: 5px; margin-bottom: 1.1rem; overflow: hidden; border-radius: 99px; background: #e8e4ec; }
.mkt-response-progress span { display: block; width: 82%; height: 100%; border-radius: inherit; background: #7919c4; }
.mkt-product-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(115px, .85fr); gap: .7rem; }
.mkt-activity, .mkt-summary { overflow: hidden; padding: .85rem; border: 1px solid #e8e5ed; border-radius: 9px; background: #fff; }
.mkt-card-head { display: flex; justify-content: space-between; margin-bottom: .55rem; font-size: .6rem; }
.mkt-card-head span { color: #7618bb; font-weight: 700; }
.mkt-person { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: .45rem; min-height: 47px; border-top: 1px solid #f0edf3; }
.mkt-person-avatar, .mkt-guest-row i { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #eee2fa; color: #6d12ad; font-size: .49rem; font-style: normal; font-weight: 800; }
.mkt-person-avatar.is-green, .mkt-guest-row i.is-green { background: #e4f4eb; color: #166f50; }
.mkt-person-avatar.is-orange, .mkt-guest-row i.is-orange { background: #fff0dc; color: #9a5b10; }
.mkt-person b { display: block; overflow: hidden; font-size: .57rem; text-overflow: ellipsis; white-space: nowrap; }
.mkt-person small { display: block; overflow: hidden; margin-top: .15rem; color: #9892a2; font-size: .47rem; text-overflow: ellipsis; white-space: nowrap; }
.mkt-status { display: inline-flex; width: max-content; padding: .25rem .42rem; border-radius: 99px; background: #e8f6ef; color: #147250; font-size: .48rem; font-weight: 750; white-space: nowrap; }
.mkt-status.is-no { background: #f2f0f4; color: #77717e; }
.mkt-status.is-waiting { background: #fff3df; color: #94600f; }
.mkt-summary-row { display: flex; align-items: center; justify-content: space-between; min-height: 35px; border-top: 1px solid #f0edf3; color: #77717e; font-size: .52rem; }
.mkt-summary-row b { color: #302a3d; }
.mkt-summary button { display: flex; align-items: center; justify-content: center; gap: .35rem; width: 100%; margin-top: .5rem; padding: .46rem; border: 1px solid #ded8e6; border-radius: 6px; background: #fff; color: #403949; font-size: .5rem; font-weight: 700; }
.mkt-product-toast { position: absolute; right: 16px; bottom: -27px; display: flex; align-items: center; gap: .65rem; width: 207px; padding: .72rem .8rem; border: 1px solid #ded9e6; border-radius: 10px; background: #fff; box-shadow: 0 18px 40px -18px rgba(37, 25, 59, .45); color: #231b30; }
.mkt-product-toast > .apx-icon { color: #16805a; }
.mkt-product-toast b, .mkt-product-toast span { display: block; }
.mkt-product-toast b { font-size: .61rem; }
.mkt-product-toast span { margin-top: .15rem; color: #817b8c; font-size: .52rem; }

/* Feature signal */
.mkt-signal { border-top: 1px solid var(--apx-border); border-bottom: 1px solid var(--apx-border); background: var(--apx-surface); }
.mkt-signal .container-xl { display: grid; }
.mkt-signal .container-xl > div { display: flex; align-items: center; gap: .8rem; min-height: 94px; padding: 1.2rem 0; border-bottom: 1px solid var(--apx-border); color: var(--apx-brand-ink); }
.mkt-signal .container-xl > div:last-child { border-bottom: 0; }
.mkt-signal span { display: block; color: var(--apx-muted); font-size: .78rem; line-height: 1.4; }
.mkt-signal b { display: block; margin-bottom: .08rem; color: var(--apx-text); font-size: .9rem; }

/* How it works */
.mkt-how { padding: 6rem 0; }
.mkt-timeline { position: relative; display: grid; gap: 2rem; margin: 0; padding: 0; list-style: none; }
.mkt-timeline::before { display: none; position: absolute; top: 30px; right: 16.66%; left: 16.66%; height: 1px; background: var(--apx-border-strong); content: ''; }
.mkt-timeline li { position: relative; }
.mkt-timeline li > span { display: block; margin-bottom: .7rem; color: var(--apx-faint); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.mkt-step-icon { position: relative; z-index: 1; display: grid; width: 50px; height: 50px; margin-bottom: 1.4rem; place-items: center; border: 1px solid var(--apx-border); border-radius: 50%; background: var(--apx-surface); color: var(--apx-brand-ink); box-shadow: 0 0 0 8px var(--apx-bg); }
.mkt-timeline h3 { margin: 0 0 .55rem; font-size: 1.08rem; font-weight: 720; }
.mkt-timeline p { max-width: 340px; margin: 0; color: var(--apx-muted); font-size: .9rem; line-height: 1.65; }

/* Product features */
.mkt-control { padding: 6rem 0; border-top: 1px solid var(--apx-border); background: var(--apx-surface); }
.mkt-section-intro-wide { display: grid; max-width: none; gap: 1rem 4rem; align-items: end; }
.mkt-section-intro-wide > p:last-child { max-width: 500px; margin: 0; }
.mkt-bento { display: grid; gap: 1rem; }
.mkt-bento-main, .mkt-bento-card { position: relative; overflow: hidden; border: 1px solid var(--apx-border); border-radius: 18px; background: var(--apx-bg); }
.mkt-bento-main { min-width: 0; min-height: 420px; padding: 1.5rem; }
.mkt-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1.2rem; }
.mkt-list-toolbar b, .mkt-list-toolbar span { display: block; }
.mkt-list-toolbar b { font-size: .96rem; }
.mkt-list-toolbar div > span { margin-top: .12rem; color: var(--apx-muted); font-size: .68rem; }
.mkt-faux-button { display: inline-flex !important; align-items: center; gap: .35rem; padding: .48rem .65rem; border-radius: 7px; background: var(--apx-brand); color: #fff; font-size: .62rem; font-weight: 700; }
.mkt-list-filters { display: flex; gap: .35rem; overflow: hidden; padding-bottom: .85rem; border-bottom: 1px solid var(--apx-border); }
.mkt-list-filters > span { display: flex; gap: .3rem; padding: .38rem .58rem; border-radius: 99px; color: var(--apx-muted); font-size: .57rem; font-weight: 650; white-space: nowrap; }
.mkt-list-filters > span.is-active { background: var(--apx-brand-soft); color: var(--apx-brand-ink); }
.mkt-list-filters b { font-size: inherit; }
.mkt-guest-row { display: grid; grid-template-columns: minmax(130px, 1fr) 65px 70px; align-items: center; gap: .4rem; min-height: 67px; border-bottom: 1px solid var(--apx-border); color: var(--apx-muted); font-size: .65rem; }
.mkt-guest-row > span:first-child { display: grid; grid-template-columns: 29px minmax(0, 1fr); column-gap: .55rem; align-items: center; }
.mkt-guest-row i { grid-row: 1 / 3; width: 29px; height: 29px; }
.mkt-guest-row b { overflow: hidden; color: var(--apx-text); font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.mkt-guest-row small { overflow: hidden; color: var(--apx-faint); font-size: .54rem; text-overflow: ellipsis; white-space: nowrap; }
.mkt-list-label { min-height: 35px; color: var(--apx-faint); font-size: .53rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.mkt-list-label > span:first-child { display: block; }
.mkt-list-fade { position: absolute; right: 0; bottom: 0; left: 0; height: 65px; background: linear-gradient(transparent, var(--apx-bg)); pointer-events: none; }
.mkt-bento-card { display: flex; min-height: 280px; flex-direction: column; padding: 1.5rem; }
.mkt-feature-icon { display: grid; width: 42px; height: 42px; margin-bottom: 2.3rem; place-items: center; border-radius: 11px; background: var(--apx-brand-soft); color: var(--apx-brand-ink); }
.mkt-bento-card h3 { max-width: 320px; margin: 0 0 .6rem; font-size: 1.2rem; font-weight: 720; line-height: 1.2; }
.mkt-bento-card > p { max-width: 390px; margin: 0; color: var(--apx-muted); font-size: .84rem; line-height: 1.6; }
.mkt-bento-card.is-purple { background: #f5effb; }
[data-bs-theme=dark] .mkt-bento-card.is-purple { background: #261a35; }
.mkt-bento-card.is-dark { border-color: #21192c; background: #181220; color: #fff; }
.mkt-bento-card.is-dark > p { color: #aaa1b4; }
.mkt-bento-card.is-dark .mkt-feature-icon { background: rgba(255,255,255,.09); color: #d5abf3; }
.mkt-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; padding-top: 1.25rem; }
.mkt-tags span { padding: .38rem .55rem; border: 1px solid #ded0ec; border-radius: 99px; background: rgba(255,255,255,.55); color: #664d78; font-size: .55rem; font-weight: 650; }
.mkt-reminder { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding: .7rem; border: 1px solid var(--apx-border); border-radius: 9px; background: var(--apx-surface); font-size: .61rem; }
.mkt-reminder span { display: flex; align-items: center; gap: .4rem; color: var(--apx-brand-ink); font-weight: 700; }
.mkt-export { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: .72rem .8rem; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; background: rgba(255,255,255,.05); color: #d9d2e1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .62rem; }

/* Guest experience */
.mkt-guests { overflow: hidden; padding: 6rem 0; background: #181220; color: #fff; }
.mkt-guest-grid { display: grid; gap: 4rem; align-items: center; }
.mkt-phone-wrap { position: relative; display: flex; min-height: 570px; align-items: center; justify-content: center; }
.mkt-phone-wrap::before { position: absolute; width: 440px; height: 440px; border-radius: 50%; background: #2a1b38; content: ''; }
.mkt-phone { position: relative; z-index: 1; width: 276px; padding: 8px; border: 1px solid #55495f; border-radius: 38px; background: #0f0b14; box-shadow: 0 38px 80px -30px rgba(0,0,0,.75); transform: rotate(-2deg); }
.mkt-phone-top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 31px; padding: 0 15px; color: #ddd5e4; font-size: .56rem; font-weight: 650; }
.mkt-phone-top i { position: absolute; top: 3px; left: 50%; width: 78px; height: 21px; border-radius: 99px; background: #050406; transform: translateX(-50%); }
.mkt-phone-screen { overflow: hidden; border-radius: 26px; background: var(--inv-bg); color: var(--inv-text); }
.mkt-phone-invite { min-height: 500px; padding: 4rem 1.1rem 1.5rem; text-align: center; }
.mkt-phone-invite .inv-eyebrow { font-size: .5rem; line-height: 1.5; }
.mkt-phone-invite .inv-title { font-size: 1.7rem; }
.mkt-phone-invite .inv-rule { width: 38px; margin: 1rem auto; }
.mkt-phone-invite .inv-when { font-size: .9rem; }
.mkt-phone-invite .inv-where { font-size: .67rem; }
.mkt-phone-question { margin: 2.5rem 0 .8rem; font-family: var(--inv-display); font-size: 1rem; font-weight: 650; }
.mkt-phone-answers { display: grid; gap: .45rem; }
.mkt-phone-answers span { display: flex; align-items: center; justify-content: center; min-height: 37px; padding: .5rem; border: 1px solid var(--inv-border); border-radius: 8px; background: var(--inv-card); font-size: .61rem; font-weight: 650; }
.mkt-phone-answers span:first-child { border-color: var(--inv-accent); background: var(--inv-accent); color: var(--inv-accent-ink); }
.mkt-theme-swatch { position: absolute; z-index: 2; right: 2%; bottom: 15%; display: flex; align-items: center; gap: .3rem; padding: .65rem .75rem; border: 1px solid #4d4058; border-radius: 10px; background: #21182b; box-shadow: 0 16px 30px -16px rgba(0,0,0,.8); }
.mkt-theme-swatch span { width: 15px; height: 15px; border-radius: 50%; background: #b5475f; box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
.mkt-theme-swatch span:nth-child(2) { background: #3f6b45; }
.mkt-theme-swatch span:nth-child(3) { background: #d4b36a; }
.mkt-theme-swatch span:nth-child(4) { background: #930aff; }
.mkt-theme-swatch small { margin-left: .25rem; color: #c4baca; font-size: .55rem; font-weight: 650; }
.mkt-guest-copy .mkt-eyebrow { color: #c990ef; }
.mkt-guest-copy h2 { max-width: 9ch; color: #fff; }
.mkt-guest-lead { max-width: 520px; margin: 1.25rem 0 2.2rem; color: #aaa1b4; font-size: 1.06rem; line-height: 1.65; }
.mkt-check-list { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.mkt-check-list li { display: flex; align-items: flex-start; gap: .85rem; }
.mkt-check-list li > .apx-icon { margin-top: .15rem; padding: 3px; border-radius: 50%; background: rgba(191, 124, 239, .15); color: #cf92fa; }
.mkt-check-list b, .mkt-check-list span { display: block; }
.mkt-check-list b { margin-bottom: .2rem; color: #f7f4f9; font-size: .9rem; }
.mkt-check-list span { max-width: 460px; color: #aaa1b4; font-size: .82rem; line-height: 1.55; }

/* Occasions and final CTA */
.mkt-occasions { padding: 2rem 0; border-bottom: 1px solid var(--apx-border); background: var(--apx-surface); }
.mkt-occasions .container-xl { display: flex; flex-direction: column; gap: 1rem 2rem; }
.mkt-occasions p { margin: 0; color: var(--apx-muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.mkt-occasion-list { display: flex; flex-wrap: wrap; gap: .55rem; }
.mkt-occasion-list span { display: inline-flex; align-items: center; gap: .42rem; padding: .55rem .72rem; border: 1px solid var(--apx-border); border-radius: 99px; color: var(--apx-muted); font-size: .72rem; font-weight: 650; }
.mkt-occasion-list .apx-icon { color: var(--apx-brand-ink); }
.mkt-final { padding: 6rem 0; }
.mkt-final-panel { position: relative; display: grid; gap: 3rem; align-items: center; overflow: hidden; padding: 2rem; border: 1px solid var(--apx-border); border-radius: 24px; background: var(--apx-surface); }
.mkt-final-panel::before { position: absolute; top: -180px; left: -180px; width: 420px; height: 420px; border-radius: 50%; background: rgba(147, 10, 255, .07); content: ''; pointer-events: none; }
.mkt-final-copy { position: relative; }
.mkt-final-copy > p:last-child { max-width: 500px; margin: 1.2rem 0 0; color: var(--apx-muted); font-size: .98rem; line-height: 1.65; }
.mkt-price-card { position: relative; padding: 1.6rem; border: 1px solid var(--apx-border); border-radius: 16px; background: var(--apx-bg); box-shadow: var(--apx-shadow); }
.mkt-price-card > span { color: var(--apx-muted); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.mkt-price-card > div { display: flex; align-items: baseline; gap: .55rem; margin: .8rem 0 1rem; }
.mkt-price-card > div b { font-size: 2.65rem; line-height: 1; letter-spacing: -.055em; }
.mkt-price-card > div small { color: var(--apx-muted); font-size: .76rem; font-weight: 650; }
.mkt-price-card ul { display: grid; gap: .5rem; margin: 0 0 1.35rem; padding: 1rem 0 0; border-top: 1px solid var(--apx-border); list-style: none; }
.mkt-price-card li { display: flex; align-items: center; gap: .45rem; color: var(--apx-muted); font-size: .76rem; }
.mkt-price-card li .apx-icon { color: #16805a; }
.mkt-price-card .btn { width: 100%; }
.apx-mkt-footer { padding: 2rem 0 2.5rem; border-top: 1px solid var(--apx-border); color: var(--apx-faint); font-size: .78rem; }
.apx-mkt-footer .container-xl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.apx-mkt-footer a { color: var(--apx-muted); }
.apx-footer-product { width: 172px; height: auto; }
.apx-mkt-footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .75rem 1.25rem; }
.apx-mkt-footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
[data-bs-theme=dark] .apx-footer-product { filter: brightness(0) invert(1); }

@media (min-width: 576px) {
  .mkt-signal .container-xl { grid-template-columns: repeat(3, 1fr); }
  .mkt-signal .container-xl > div { padding: 1.2rem 1.4rem; border-right: 1px solid var(--apx-border); border-bottom: 0; }
  .mkt-signal .container-xl > div:first-child { padding-left: 0; }
  .mkt-signal .container-xl > div:last-child { padding-right: 0; border-right: 0; }
  .mkt-bento { grid-template-columns: repeat(2, 1fr); }
  .mkt-bento-main { grid-column: 1 / -1; }
  .mkt-bento-card.is-dark { grid-column: 1 / -1; }
  .mkt-final-panel { padding: 3rem; }
}
@media (min-width: 768px) {
  .mkt-timeline { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .mkt-timeline::before { display: block; }
  .mkt-section-intro-wide { grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr); }
  .mkt-occasions .container-xl { flex-direction: row; align-items: center; }
  .mkt-final-panel { grid-template-columns: minmax(0, 1fr) minmax(300px, 390px); padding: 4rem; }
}
@media (min-width: 992px) {
  .apx-mkt-nav { display: flex; }
  .mkt-hero { padding: 7rem 0 7.5rem; }
  .mkt-hero-grid { grid-template-columns: minmax(400px, .76fr) minmax(0, 1.24fr); gap: 4.5rem; }
  .mkt-product { margin-right: -3.5rem; }
  .mkt-bento { grid-template-columns: 1.35fr .8fr .8fr; }
  .mkt-bento-main { grid-row: 1 / 3; grid-column: 1; }
  .mkt-bento-card { min-height: 250px; }
  .mkt-bento-card.is-purple { grid-column: 2 / 4; }
  .mkt-bento-card.is-dark { grid-column: auto; }
  .mkt-guest-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr); gap: 6rem; }
}
@media (max-width: 767.98px) {
  .mkt-how, .mkt-control, .mkt-guests, .mkt-final { padding: 4.5rem 0; }
  .mkt-section-intro { margin-bottom: 2.3rem; }
  .mkt-phone-wrap { min-height: 545px; }
}
@media (max-width: 575.98px) {
  .apx-mkt-signin { display: none; }
  .apx-topbar.is-marketing .apx-brand > img { width: 29px; height: 29px; }
  .mkt-hero { padding: 4rem 0 4.5rem; }
  .mkt-hero-grid { gap: 3rem; }
  .mkt-hero-copy { text-align: center; }
  .mkt-kicker, .mkt-hero-note { justify-content: center; }
  .mkt-hero h1, .mkt-lead { margin-left: auto; margin-right: auto; }
  .mkt-hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .mkt-cta-row { align-items: stretch; flex-direction: column; }
  .mkt-cta-row .btn { width: 100%; }
  .mkt-text-link { align-self: center; }
  .mkt-product { margin: 0 -.55rem; transform: none; }
  .mkt-product-body { grid-template-columns: 1fr; min-height: 365px; }
  .mkt-product-nav { display: none; }
  .mkt-product-main { padding: 1rem; }
  .mkt-product-grid { grid-template-columns: 1fr; }
  .mkt-summary { display: none; }
  .mkt-product-toast { right: 10px; bottom: -25px; }
  .mkt-signal .container-xl > div { min-height: 78px; }
  .mkt-section-intro { margin-left: auto; margin-right: auto; text-align: center; }
  .mkt-section-intro > p:last-child { margin-left: auto; margin-right: auto; }
  .mkt-section-intro-wide { display: block; }
  .mkt-section-intro-wide > p:last-child { margin: 1rem auto 0; }
  .mkt-timeline { gap: 2.75rem; }
  .mkt-timeline li { text-align: center; }
  .mkt-timeline li > span { margin-bottom: .55rem; }
  .mkt-step-icon { margin-left: auto; margin-right: auto; }
  .mkt-timeline p { max-width: 310px; margin-left: auto; margin-right: auto; }
  .mkt-bento-card { text-align: center; }
  .mkt-feature-icon, .mkt-bento-card h3, .mkt-bento-card > p { margin-left: auto; margin-right: auto; }
  .mkt-tags { justify-content: center; }
  .mkt-reminder, .mkt-export { text-align: left; }
  .mkt-guest-row { grid-template-columns: minmax(120px, 1fr) 60px; }
  .mkt-guest-row > span:nth-child(2), .mkt-list-label > span:nth-child(2) { display: none; }
  .mkt-list-filters > span:last-child { display: none; }
  .mkt-guest-copy { text-align: center; }
  .mkt-guest-copy h2, .mkt-guest-lead { margin-left: auto; margin-right: auto; }
  .mkt-check-list { text-align: left; }
  .mkt-theme-swatch { right: 0; }
  .mkt-occasions .container-xl { align-items: center; text-align: center; }
  .mkt-occasion-list { justify-content: center; }
  .mkt-final-copy { text-align: center; }
  .mkt-final-copy > p:last-child { margin-left: auto; margin-right: auto; }
  .mkt-final-panel { padding: 1.5rem; }
  .mkt-price-card { text-align: left; }
  .apx-mkt-footer .container-xl { flex-direction: column; justify-content: center; text-align: center; }
  .apx-mkt-footer-meta { justify-content: center; }
  .apx-mkt-footer-links { justify-content: center; }
}

/* ---- Invitation (guest-facing) ----------------------------------------- */
/* Each theme sets: --inv-bg (page), --inv-card, --inv-accent, --inv-text, --inv-muted, --inv-border, --inv-display (font) */
.inv-theme-classic  { --inv-bg: #f4efe6; --inv-card: #fffdf9; --inv-accent: #8a6d3b; --inv-accent-ink: #fff; --inv-text: #2b2620; --inv-muted: #7d7468; --inv-border: #e6dfd2; --inv-display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; }
.inv-theme-blush    { --inv-bg: #fbe9ec; --inv-card: #fffafb; --inv-accent: #b5475f; --inv-accent-ink: #fff; --inv-text: #3a2229; --inv-muted: #8b6a72; --inv-border: #f2d5db; --inv-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; }
.inv-theme-botanical{ --inv-bg: #e9efe4; --inv-card: #fbfcf9; --inv-accent: #3f6b45; --inv-accent-ink: #fff; --inv-text: #1f2b21; --inv-muted: #6b7a6d; --inv-border: #d5e0d2; --inv-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; }
.inv-theme-midnight { --inv-bg: #111627; --inv-card: #1b2238; --inv-accent: #d4b36a; --inv-accent-ink: #1b1608; --inv-text: #f3efe6; --inv-muted: #a9a698; --inv-border: #2d3554; --inv-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; }
.inv-theme-sunshine { --inv-bg: #fff1cf; --inv-card: #fffdf7; --inv-accent: #d9740b; --inv-accent-ink: #fff; --inv-text: #3a2a10; --inv-muted: #8a7452; --inv-border: #f4e2b8; --inv-display: 'Avenir Next', 'Segoe UI', system-ui, sans-serif; }
.inv-theme-ocean    { --inv-bg: #e3eef3; --inv-card: #fbfdfe; --inv-accent: #1f6f8b; --inv-accent-ink: #fff; --inv-text: #14262e; --inv-muted: #5f7883; --inv-border: #cfdfe7; --inv-display: 'Avenir Next', 'Segoe UI', system-ui, sans-serif; }
.inv-theme-minimal  { --inv-bg: #f4f4f4; --inv-card: #ffffff; --inv-accent: #111111; --inv-accent-ink: #fff; --inv-text: #111111; --inv-muted: #6b6b6b; --inv-border: #e4e4e4; --inv-display: 'Helvetica Neue', Helvetica, Arial, sans-serif; }
.inv-theme-apexia   { --inv-bg: #efe4ff; --inv-card: #fdfbff; --inv-accent: #930aff; --inv-accent-ink: #fff; --inv-text: #1f1233; --inv-muted: #74688a; --inv-border: #e3d3fb; --inv-display: 'Inter', system-ui, sans-serif; }
html[class*="inv-theme-"] body { background: var(--inv-bg); color: var(--inv-text); }
.inv { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 1.25rem 1rem 2rem; }
.inv-card { width: 100%; max-width: 640px; background: var(--inv-card); border: 1px solid var(--inv-border); border-radius: 24px; padding: 2rem 1.5rem; box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .35); color: var(--inv-text); }
.inv-card + .inv-card { margin-top: 1rem; }
.inv-hero { text-align: center; }
.inv-eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--inv-accent); margin-bottom: 1rem; }
.inv-title { font-family: var(--inv-display); font-weight: 600; font-size: 2.1rem; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5rem; color: var(--inv-text); }
.inv-hosts { color: var(--inv-muted); font-size: 1rem; margin-bottom: 1.5rem; }
.inv-rule { width: 56px; height: 2px; background: var(--inv-accent); margin: 1.25rem auto; opacity: .7; }
.inv-when { font-family: var(--inv-display); font-size: 1.3rem; color: var(--inv-text); }
.inv-where { color: var(--inv-muted); margin-top: .25rem; }
.inv-body { color: var(--inv-text); margin-top: 1.5rem; font-size: 1.02rem; line-height: 1.7; }
.inv-body p:last-child { margin-bottom: 0; }
.inv-details { display: grid; gap: .9rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--inv-border); text-align: left; }
.inv-detail { display: flex; gap: .8rem; align-items: flex-start; }
.inv-detail .apx-icon { color: var(--inv-accent); flex: none; margin-top: .15rem; }
.inv-detail b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--inv-muted); font-weight: 700; }
.inv-detail a { color: var(--inv-accent); font-weight: 600; }
.inv-calendar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.inv .btn-outline-secondary { --bs-btn-color: var(--inv-text); --bs-btn-border-color: var(--inv-border); --bs-btn-hover-bg: var(--inv-bg); --bs-btn-hover-color: var(--inv-text); --bs-btn-hover-border-color: var(--inv-accent); }
.inv .btn-primary { --bs-btn-bg: var(--inv-accent); --bs-btn-border-color: var(--inv-accent); --bs-btn-color: var(--inv-accent-ink); --bs-btn-hover-bg: var(--inv-accent); --bs-btn-hover-border-color: var(--inv-accent); --bs-btn-hover-color: var(--inv-accent-ink); --bs-btn-active-bg: var(--inv-accent); --bs-btn-active-border-color: var(--inv-accent); --bs-btn-active-color: var(--inv-accent-ink); --bs-btn-disabled-bg: var(--inv-accent); --bs-btn-disabled-border-color: var(--inv-accent); box-shadow: none; filter: saturate(1); }
.inv .btn-primary:hover { filter: brightness(.92); }
.inv .form-control, .inv .form-select { background: var(--inv-card); color: var(--inv-text); border-color: var(--inv-border); }
.inv .form-control:focus, .inv .form-select:focus { border-color: var(--inv-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--inv-accent) 18%, transparent); }
.inv .form-label { color: var(--inv-text); } .inv .form-text { color: var(--inv-muted); }
.inv-rsvp h2 { font-family: var(--inv-display); font-size: 1.5rem; margin: 0 0 .25rem; }
.inv-rsvp .inv-lead { color: var(--inv-muted); margin-bottom: 1.25rem; }
.inv-answer { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: 1.25rem; }
.inv-answer .apx-choice label { justify-content: center; padding: 1rem; font-size: 1rem; border-color: var(--inv-border); color: var(--inv-text); background: var(--inv-card); }
.inv-answer .apx-choice input:checked + label { border-color: var(--inv-accent); background: color-mix(in srgb, var(--inv-accent) 12%, var(--inv-card)); color: var(--inv-text); }
.inv-answer .apx-choice input:focus-visible + label { box-shadow: 0 0 0 4px color-mix(in srgb, var(--inv-accent) 18%, transparent); }
.inv-status { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px; background: color-mix(in srgb, var(--inv-accent) 10%, var(--inv-card)); border: 1px solid color-mix(in srgb, var(--inv-accent) 30%, var(--inv-border)); }
.inv-status .apx-icon { color: var(--inv-accent); flex: none; margin-top: .1rem; }
.inv-status.is-muted { background: var(--inv-bg); border-color: var(--inv-border); } .inv-status.is-muted .apx-icon { color: var(--inv-muted); }
.inv-powered { margin: 1.5rem 0 0; font-size: .78rem; color: var(--inv-muted); } .inv-powered a { color: var(--inv-muted); font-weight: 600; }
.inv .alert-danger { background: rgba(220, 53, 69, .08); }
@media (min-width: 640px) { .inv { padding: 3rem 1.5rem; } .inv-card { padding: 2.75rem 2.5rem; } .inv-title { font-size: 2.6rem; } }
[hidden] { display: none !important; }
/* Event tab bar shows at every width (My Apexia hides its subnav on desktop in favour of a sidebar) */
@media (min-width: 992px) { .apx-subnav { display: flex; margin: 0 0 1.25rem; padding: 0; } }
.table > tbody td:first-child { min-width: 180px; }
.badge.text-bg-danger { background: rgba(220, 53, 69, .12) !important; color: #b42335 !important; } [data-bs-theme=dark] .badge.text-bg-danger { color: #f5a3ad !important; }
/* Cover photos */
.apx-cover-preview img { display: block; width: 100%; max-width: 420px; border-radius: 12px; border: 1px solid var(--apx-border); }
.inv-hero.has-cover { padding-top: 0; overflow: hidden; }
.inv-cover { margin: 0 -1.5rem 1.75rem; }
.inv-cover img { display: block; width: 100%; max-height: 360px; object-fit: cover; }
@media (min-width: 640px) { .inv-cover { margin: 0 -2.5rem 2rem; } }

/* ---- Host platform refresh -------------------------------------------- */
.apx-app-body { overflow-x: clip; background: linear-gradient(180deg, color-mix(in srgb, var(--apx-brand) 3%, var(--apx-bg)) 0, var(--apx-bg) 220px); }
.apx-app-body .apx-topbar { height: 64px; background: color-mix(in srgb, var(--apx-surface) 94%, transparent); }
.apx-app-body .apx-topbar .container-xl { max-width: 1200px; }
.apx-app-body .apx-brand > img { width: 31px; height: 31px; }
.apx-app-body .apx-topnav { margin-left: 2rem; gap: .35rem; }
.apx-app-body .apx-topnav a { position: relative; padding: .55rem .75rem; background: transparent; font-size: .86rem; }
.apx-app-body .apx-topnav a.active { background: transparent; color: var(--apx-text); }
.apx-app-body .apx-topnav a.active::after { position: absolute; right: .75rem; bottom: -.68rem; left: .75rem; height: 2px; border-radius: 99px; background: var(--apx-brand); content: ''; }
.apx-app-body .apx-user-btn { border: 1px solid transparent; }
.apx-app-body .apx-user-btn:hover { border-color: var(--apx-border); background: var(--apx-surface-2); }
.apx-app-body > .container-xl { max-width: 1200px; }
.apx-shell-single { width: 100%; max-width: 1160px; margin: 0 auto; padding: 1.25rem 0 2.5rem; }
.apx-event-bar { margin: 0 0 .85rem; padding: .25rem 0 .85rem; }
.apx-event-kicker { display: flex; align-items: center; gap: .35rem; margin-bottom: .3rem; color: var(--apx-brand-ink); font-size: .66rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.apx-event-bar-title { font-size: 1.35rem; font-weight: 740; letter-spacing: -.035em; }
.apx-event-bar .small { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin-top: .25rem; font-size: .76rem; }
.apx-preview-btn { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
.apx-preview-label { display: none; }
.apx-page-head { align-items: center; margin: .5rem 0 1.5rem; }
.apx-page-head h1 { font-size: 1.7rem; font-weight: 740; letter-spacing: -.035em; }
.apx-page-head p { max-width: 640px; margin-top: .35rem; font-size: .88rem; }
.apx-page-actions .btn { min-height: 40px; }
.apx-back { margin-bottom: 1rem; }
.apx-card { border-color: color-mix(in srgb, var(--apx-border) 88%, var(--apx-surface)); border-radius: 16px; box-shadow: 0 1px 2px rgba(23,18,43,.025), 0 10px 30px -24px rgba(23,18,43,.2); }
.apx-card > .card-body { padding: 1.1rem; }
.apx-card-title { font-size: .98rem; font-weight: 720; letter-spacing: -.015em; }
.apx-card-title > .apx-icon { color: var(--apx-brand-ink); }
.apx-card-sub { margin-top: .35rem; font-size: .82rem; line-height: 1.55; }
.apx-stat-grid { gap: .65rem; }
.apx-stat-grid .apx-card { box-shadow: none; }
.apx-stat { gap: .75rem; }
.apx-stat-icon { width: 38px; height: 38px; border-radius: 10px; }
.apx-stat-value { font-size: 1.45rem; font-weight: 760; }
.apx-stat-label { margin-top: .1rem; font-size: .72rem; line-height: 1.35; }
.apx-progress { height: 7px; background: color-mix(in srgb, var(--apx-border) 75%, transparent); border: 0; }
.apx-callout { border: 1px solid color-mix(in srgb, var(--apx-brand) 16%, var(--apx-border)); border-radius: 12px; font-size: .86rem; line-height: 1.55; }
.apx-event-list { gap: .8rem; }
.apx-event-card { grid-template-columns: 54px minmax(0, 1fr) 24px; gap: .9rem; min-height: 126px; padding: .9rem 1rem; }
.apx-event-card .card-body { padding: 0; }
.apx-event-date { width: 54px; height: 58px; border-radius: 13px; }
.apx-event-title { font-size: 1.02rem; font-weight: 740; letter-spacing: -.02em; }
.apx-event-meta { margin-top: .25rem; font-size: .75rem; }
.apx-event-counts { margin-top: .65rem; }
.apx-event-counts .apx-pill { padding: .25rem .52rem; font-size: .66rem; }
.apx-event-arrow { color: var(--apx-faint); transition: transform .15s ease; }
.apx-event-card:hover .apx-event-arrow { color: var(--apx-brand-ink); transform: translateX(2px); }
.apx-empty { padding: 3rem 1.25rem; }
.apx-empty .apx-icon { width: 42px; height: 42px; margin-bottom: 1rem; padding: 9px; border-radius: 12px; background: var(--apx-brand-soft); color: var(--apx-brand-ink); }
.apx-empty h2 { color: var(--apx-text); font-weight: 720; }
.apx-empty p { max-width: 490px; margin-right: auto; margin-left: auto; font-size: .86rem; line-height: 1.6; }
.apx-row-list > * { gap: .75rem; padding: .8rem 0; }
.apx-row-icon { width: 36px; height: 36px; border-radius: 9px; }
.apx-kv { font-size: .83rem; }
.apx-kv dt { font-weight: 650; }
.apx-link-box { align-items: stretch; flex-direction: column; }
.apx-link-box .btn { width: 100%; }
.apx-form-section { margin-top: 1.6rem; padding-top: 1.6rem; }
.apx-form-section h2 { margin-bottom: .2rem; font-size: 1.08rem; font-weight: 730; }
.apx-form-section > p { margin-bottom: 1.1rem; font-size: .8rem; }
.apx-event-form { width: 100%; max-width: 880px; margin-right: auto; margin-left: auto; }
.apx-event-form > .card-body { padding: 1.2rem; }
.apx-event-form .form-label { font-size: .82rem; font-weight: 670; }
.apx-event-form .form-text { font-size: .74rem; line-height: 1.5; }
.apx-event-form textarea.form-control { line-height: 1.55; }
.apx-form-actions { display: grid; gap: .6rem; margin-top: 1.75rem; }
.apx-form-actions .btn { width: 100%; }
.apx-choice label { min-height: 48px; padding: .65rem .72rem; font-size: .82rem; }
.apx-swatch label { min-width: 61px; min-height: 77px; justify-content: center; }
.apx-swatch span { width: 40px; height: 40px; }
.apx-danger-zone { border-color: rgba(220, 53, 69, .22); box-shadow: none; }
.apx-danger-zone .apx-card-title { color: #b42335; }
.apx-filter-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -12px; margin-left: -12px; padding: 0 12px .3rem; scrollbar-width: none; }
.apx-filter-tabs::-webkit-scrollbar { display: none; }
.apx-filter-tabs a { flex: none; min-height: 38px; padding: .52rem .75rem; background: transparent; font-size: .75rem; }
.apx-filter-tabs a.active { background: var(--apx-brand-soft); }
.apx-icon-btn { width: 40px; height: 40px; border-radius: 10px; }
.apx-table-actions { gap: .4rem; }
.table > thead th { padding: .7rem .75rem; font-size: .66rem; }
.table > tbody td { padding: .75rem; font-size: .82rem; }

@media (max-width: 767.98px) {
  .apx-app-body .apx-topbar { height: 58px; }
  .apx-app-body .apx-brand > img { width: 29px; height: 29px; }
  .apx-admin-subnav { margin-bottom: 1rem; }
  .apx-page-head { align-items: stretch; }
  .apx-page-actions { width: 100%; }
  .apx-page-actions .btn { width: 100%; }
  .apx-stat-grid .card-body { min-height: 88px; padding: .9rem; }
  .apx-stat-grid .apx-stat-icon { width: 34px; height: 34px; }
  .apx-stat-value { font-size: 1.3rem; }
  .apx-stat-label { font-size: .66rem; }
  .apx-actions { gap: .4rem; }
  .apx-actions > form { display: flex; flex: 1 1 auto; }
  .apx-actions > form .btn { width: 100%; }
  .apx-table-wrap:has(.apx-mobile-card-table) { overflow: visible; }
  .apx-mobile-card-table, .apx-mobile-card-table tbody { display: block; width: 100%; min-width: 0 !important; }
  .apx-mobile-card-table thead { display: none; }
  .apx-mobile-card-table tbody { display: grid; gap: .7rem; }
  .apx-mobile-card-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; padding: .9rem; border: 1px solid var(--apx-border); border-radius: 12px; background: var(--apx-surface-2); }
  .apx-mobile-card-table td { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: .6rem; padding: 0 !important; border: 0 !important; text-align: right; }
  .apx-mobile-card-table td::before { color: var(--apx-faint); content: attr(data-label); font-size: .6rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
  .apx-mobile-card-table td:first-child { display: block; grid-column: 1 / -1; padding-bottom: .7rem !important; border-bottom: 1px solid var(--apx-border) !important; text-align: left; }
  .apx-mobile-card-table td:first-child::before { display: none; }
  .apx-mobile-card-table .apx-table-actions { justify-content: flex-end; }
  .apx-guest-table td[data-label="Actions"] { grid-column: 1 / -1; align-items: center; padding-top: .2rem !important; }
  .apx-guest-table td[data-label="Actions"] .apx-table-actions { margin-left: auto; }
  .apx-response-table tr { grid-template-columns: 1fr; }
  .apx-response-table td { grid-column: 1; }
  .apx-response-table td:first-child { grid-column: 1; }
}

@media (min-width: 576px) {
  .apx-link-box { align-items: center; flex-direction: row; }
  .apx-link-box .btn { width: auto; }
  .apx-form-actions { display: flex; }
  .apx-form-actions .btn { width: auto; }
}

@media (min-width: 768px) {
  .apx-shell-single { padding: 2rem 0 4rem; }
  .apx-event-bar { padding: .5rem 0 1.2rem; }
  .apx-event-bar-title { font-size: 1.65rem; }
  .apx-preview-btn { width: auto; height: auto; padding: .4rem .8rem; border-radius: var(--apx-radius-sm); }
  .apx-preview-label { display: inline; }
  .apx-event-tabs { display: flex; gap: 1.75rem; margin: 0 0 1.5rem; padding: 0; overflow: visible; border-bottom: 1px solid var(--apx-border); }
  .apx-event-tabs a { position: relative; padding: .7rem 0 .85rem; border: 0; border-radius: 0; background: transparent; font-size: .8rem; }
  .apx-event-tabs a.active { background: transparent; color: var(--apx-text); }
  .apx-event-tabs a.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 99px 99px 0 0; background: var(--apx-brand); content: ''; }
  .apx-page-head { margin-bottom: 1.75rem; }
  .apx-page-head h1 { font-size: 2rem; }
  .apx-card > .card-body { padding: 1.35rem; }
  .apx-event-form > .card-body { padding: 2rem; }
}

@media (min-width: 992px) {
  .apx-event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apx-stat-grid .card-body { min-height: 104px; }
}
