:root {
  --ivory: #f7f5ef;
  --paper: #fffefa;
  --ink: #242724;
  --charcoal: #3d423e;
  --muted: #767b75;
  --sage: #7f917f;
  --sage-deep: #435747;
  --sage-pale: #e6ebe3;
  --gold: #b69559;
  --gold-pale: #f0e6d3;
  --wine: #7a4a4b;
  --blue: #536b73;
  --line: #deddd6;
  --line-dark: #cac9c0;
  --danger: #a24e48;
  --shadow: 0 18px 50px rgba(40, 44, 40, .11);
  --shadow-soft: 0 8px 26px rgba(40, 44, 40, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--ivory); color: var(--ink); font-family: "DM Sans", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }
.kicker { margin: 0 0 7px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, .serif { font-family: "Libre Caslon Display", Georgia, serif; font-weight: 400; letter-spacing: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 18px; letter-spacing: 0; }
.wordmark { display: flex; align-items: center; gap: 11px; white-space: nowrap; }
.wordmark strong { font-family: "Libre Caslon Display", Georgia, serif; font-size: 19px; font-weight: 400; }
.mark-glyph { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid currentColor; border-radius: 50% 50% 50% 8px; font-family: "Libre Caslon Display", Georgia, serif; font-size: 14px; letter-spacing: 0; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 7px; padding: 0 16px; font-weight: 700; text-decoration: none; }
.button.primary { background: var(--sage-deep); color: white; box-shadow: 0 7px 18px rgba(49, 71, 54, .22); }
.button.secondary { border-color: var(--line-dark); background: var(--paper); color: var(--ink); }
.button.gold { background: var(--gold); color: #1f241f; }
.button.danger { border-color: #e3c6c3; background: #fff6f4; color: var(--danger); }
.button.small { min-height: 34px; padding: 0 11px; font-size: 12px; }
.button svg { width: 16px; height: 16px; }
.ghost-light { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.08); color: white; }
.icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--charcoal); padding: 0; }
.icon-button svg { width: 17px; height: 17px; }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--sage-deep); padding: 4px 0; font-weight: 700; }
.text-button svg { width: 16px; }

/* Entry */
.auth-screen { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 100vh; background: #1c231f; }
.auth-image { min-height: 100vh; background: linear-gradient(90deg, transparent 45%, rgba(28,35,31,.94)), url("assets/welcome-reception.png") center / cover no-repeat; }
.auth-content { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; gap: 30px; padding: 36px clamp(30px, 5vw, 76px) 54px; color: white; }
.light-mark { color: #f8f3e8; }
.auth-copy { max-width: 560px; }
.auth-copy h1 { margin-bottom: 20px; font-size: clamp(48px, 6vw, 82px); }
.auth-copy > p:last-child { max-width: 480px; color: #d6d8d3; font-size: 17px; line-height: 1.65; }
.auth-form { display: grid; max-width: 560px; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-form label { color: #dddcd6; font-size: 12px; font-weight: 600; }
.auth-form input { width: 100%; min-height: 46px; margin-top: 6px; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; background: rgba(255,255,255,.08); color: white; padding: 0 13px; }
.portal-selector { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 8px; padding: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.05); }
.portal-selector button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-radius: 6px; background: transparent; color: #d9ddd8; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.portal-selector button.selected { background: #f4f0e6; color: #26342c; }
.portal-selector svg { width: 17px; height: 17px; }
.auth-actions, .form-status { grid-column: 1 / -1; }
.auth-actions { display: flex; gap: 9px; }
.form-status { margin: 0; color: #afb5ae; font-size: 12px; }

.welcome-screen { min-height: 100vh; padding: 26px max(24px, calc((100vw - 1240px) / 2)) 70px; background: var(--ivory); }
.welcome-header { display: flex; align-items: center; justify-content: space-between; }
.welcome-intro { max-width: 760px; padding: 72px 0 42px; }
.welcome-intro h1 { margin-bottom: 18px; }
.welcome-intro > p:last-child, .setup-heading > p:last-child { max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.event-type-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.event-type-card { position: relative; display: grid; min-height: 190px; align-content: space-between; gap: 16px; overflow: hidden; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 22px; text-align: left; transition: transform .18s ease, background .18s ease; }
.event-type-card:hover { z-index: 2; background: var(--sage-pale); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.event-type-card svg { width: 26px; height: 26px; color: var(--gold); }
.event-type-card h3 { margin: 0; font-family: "Libre Caslon Display", Georgia, serif; font-size: 26px; font-weight: 400; }
.event-type-card p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.event-type-card .arrow { position: absolute; right: 18px; top: 18px; color: var(--muted); }

.setup-screen { min-height: 100vh; background: linear-gradient(115deg, var(--ivory) 0 66%, var(--sage-pale) 66%); padding: 32px 24px; }
.setup-shell { width: min(960px, 100%); margin: 0 auto; }
.back-action { margin-bottom: 60px; }
.setup-heading { max-width: 720px; margin-bottom: 34px; }
.setup-heading h1 { margin-bottom: 12px; }
.setup-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.86); box-shadow: var(--shadow); }
label { display: grid; gap: 6px; color: var(--charcoal); font-size: 12px; font-weight: 700; }
input, select, textarea { width: 100%; min-height: 42px; border: 1px solid var(--line-dark); border-radius: 7px; background: #fffefa; color: var(--ink); padding: 9px 11px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(127,145,127,.15); }
textarea { min-height: 90px; resize: vertical; }
.setup-submit { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }

/* Application shell */
.app-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; border-right: 1px solid var(--line); background: #f0f2ec; padding: 22px 16px 16px; z-index: 30; }
.sidebar-mark { padding: 0 8px 22px; }
.sidebar-mark strong { font-size: 16px; }
.mode-switcher { display: grid; gap: 5px; margin-bottom: 18px; padding: 5px; border: 1px solid #d8ddd4; border-radius: 8px; background: rgba(255,255,255,.55); }
.mode-switcher button { display: grid; grid-template-columns: 28px 1fr; min-height: 39px; align-items: center; border: 0; border-radius: 6px; background: transparent; color: var(--muted); padding: 0 8px; text-align: left; font-size: 12px; font-weight: 700; }
.mode-switcher button.selected { background: var(--paper); color: var(--sage-deep); box-shadow: 0 4px 12px rgba(45,55,47,.08); }
.mode-switcher svg, .side-nav svg { width: 16px; height: 16px; }
.side-nav { display: grid; gap: 3px; overflow: auto; padding-right: 2px; }
.nav-section-label { margin: 14px 9px 4px; color: #959b95; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-item { display: grid; grid-template-columns: 28px 1fr auto; min-height: 37px; align-items: center; border: 0; border-radius: 7px; background: transparent; color: #626862; padding: 0 9px; text-align: left; font-size: 12px; font-weight: 600; }
.nav-item:hover { background: rgba(255,255,255,.62); color: var(--ink); }
.nav-item.selected { background: var(--sage-deep); color: white; }
.nav-item small { min-width: 20px; border-radius: 999px; background: rgba(182,149,89,.18); color: var(--gold); padding: 2px 6px; text-align: center; }
.nav-item.selected small { background: rgba(255,255,255,.15); color: white; }
.event-switch-card { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; margin-top: auto; border: 1px solid #d8ddd4; border-radius: 8px; background: rgba(255,255,255,.72); padding: 11px; }
.event-switch-card > div { display: grid; min-width: 0; gap: 2px; }
.event-switch-card small, .event-switch-card span { color: var(--muted); font-size: 10px; }
.event-switch-card strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.event-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wine); box-shadow: 0 0 0 4px rgba(122,74,75,.12); }
.event-switch-card .icon-button { width: 28px; height: 28px; background: transparent; }
.app-main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: rgba(247,245,239,.94); backdrop-filter: blur(2px); padding: 0 28px; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.breadcrumbs svg { width: 13px; }
.breadcrumbs strong { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.notification-button { position: relative; }
.notification-button span { position: absolute; right: 8px; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--wine); }
.profile-button { display: grid; grid-template-columns: 34px auto 16px; gap: 8px; align-items: center; border: 0; background: transparent; padding: 0 3px; text-align: left; }
.profile-button > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--gold-pale); color: #6d5328; font-size: 11px; font-weight: 700; }
.profile-button > div { display: grid; }
.profile-button strong { font-size: 12px; }
.profile-button small { color: var(--muted); font-size: 9px; }
.profile-button svg { width: 14px; }
.mobile-menu { display: none; }
.content { width: min(1500px, 100%); min-height: calc(100vh - 70px); margin: 0 auto; padding: 30px 30px 70px; }

/* Reusable views */
.view-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.view-header h1 { margin-bottom: 7px; font-size: clamp(36px, 4.2vw, 58px); }
.view-header p:last-child { max-width: 720px; margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.header-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow-soft); padding: 20px; }
.panel.unframed { border: 0; background: transparent; box-shadow: none; padding: 0; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.panel-header h3, .panel-header p { margin-bottom: 0; }
.panel-header p { color: var(--muted); font-size: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat-card { display: grid; min-height: 130px; align-content: space-between; padding: 17px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.stat-card .stat-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.stat-card .stat-top svg { width: 17px; color: var(--gold); }
.stat-card strong { font-family: "Libre Caslon Display", Georgia, serif; font-size: 34px; font-weight: 400; }
.stat-card small { color: var(--muted); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 16px; margin-top: 16px; }
.progress-line { height: 7px; overflow: hidden; border-radius: 999px; background: #e8e9e4; }
.progress-line span { display: block; height: 100%; border-radius: inherit; background: var(--sage); }
.event-overview-hero { position: relative; display: grid; min-height: 300px; align-content: end; overflow: hidden; border-radius: 8px; background: linear-gradient(90deg, rgba(24,30,26,.85), rgba(24,30,26,.08)), url("assets/welcome-reception.png") center / cover; color: white; padding: 26px; }
.event-overview-hero h2 { max-width: 650px; margin-bottom: 10px; font-size: clamp(34px, 5vw, 56px); }
.event-overview-hero p { max-width: 600px; margin-bottom: 0; color: #e3e3de; }
.timeline-list, .task-list, .message-list, .activity-list, .invoice-list { display: grid; gap: 9px; }
.timeline-row, .task-row, .message-row, .activity-row, .invoice-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.timeline-row:last-child, .task-row:last-child, .message-row:last-child { border-bottom: 0; }
.clickable-row { width: 100%; border-left: 0; border-right: 0; border-top: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.clickable-row:hover { background: rgba(67,83,69,.07); }
.clickable-card { cursor: pointer; text-align: left; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.clickable-card:hover { transform: translateY(-2px); border-color: var(--sage); box-shadow: var(--shadow); }
.mini-row { grid-template-columns: minmax(0, 1fr) auto; border-bottom: 0; padding: 0; }
.timeline-date { display: grid; width: 45px; min-height: 45px; place-items: center; border-radius: 7px; background: var(--sage-pale); color: var(--sage-deep); font-size: 10px; font-weight: 700; text-align: center; }
.timeline-row strong, .task-row strong, .message-row strong { font-size: 12px; }
.timeline-row p, .task-row p, .message-row p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.status-pill, .tag { display: inline-flex; min-height: 24px; align-items: center; border-radius: 999px; background: var(--sage-pale); color: var(--sage-deep); padding: 0 9px; font-size: 10px; font-weight: 700; }
.status-pill.gold, .tag.gold { background: var(--gold-pale); color: #715629; }
.status-pill.wine { background: #f3e4e4; color: var(--wine); }
.data-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.search-field { position: relative; width: min(320px, 100%); }
.search-field svg { position: absolute; left: 11px; top: 12px; width: 16px; color: var(--muted); }
.search-field input { padding-left: 36px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { color: var(--muted); font-size: 9px; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.data-table td { font-size: 12px; }
.avatar-name { display: flex; align-items: center; gap: 9px; }
.avatar { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--gold-pale); color: #705529; font-size: 9px; font-weight: 700; }
.empty-state { display: grid; min-height: 260px; place-items: center; color: var(--muted); text-align: center; }
.empty-state svg { width: 34px; height: 34px; margin-bottom: 10px; color: var(--gold); }
.chart-bars { display: grid; height: 180px; grid-template-columns: repeat(6, 1fr); gap: 12px; align-items: end; padding-top: 20px; }
.chart-bar { display: grid; height: 100%; align-items: end; gap: 7px; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.chart-bar:hover span { background: var(--gold); }
.chart-bar span { display: block; min-height: 6px; border-radius: 5px 5px 0 0; background: var(--sage); }
.chart-bar small { color: var(--muted); font-size: 9px; text-align: center; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 16px; }
.three-column { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wide { grid-column: 1 / -1; }

/* People and parties */
.party-tabs { display: flex; gap: 7px; flex-wrap: wrap; margin: -12px 0 18px; }
.party-tabs button { min-height: 34px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); padding: 0 12px; font-size: 11px; font-weight: 700; }
.party-tabs button.selected { border-color: var(--sage-deep); background: var(--sage-deep); color: white; }
.party-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.party-card { display: grid; gap: 13px; min-height: 190px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 16px; box-shadow: var(--shadow-soft); }
.party-card h3 { margin: 0; font-size: 18px; }
.party-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.party-card-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.party-card-top p { font-size: 11px; }
.party-card-actions, .party-preset-row { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.checklist-mini { display: grid; gap: 8px; }
.checklist-mini span { display: flex; gap: 7px; align-items: center; color: #575c52; font-size: 12px; font-weight: 700; }
.checklist-mini svg { color: var(--sage); flex: 0 0 auto; }
.outfit-swatch { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--sage-pale), var(--gold-pale)); color: var(--sage-deep); }
.party-toolbar { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 14px; }
.party-toolbar h3, .party-toolbar p { margin: 0; }
.party-toolbar p { color: var(--muted); font-size: 12px; line-height: 1.5; }

/* Marketplace */
.marketplace-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
.filter-panel { position: sticky; top: 92px; display: grid; gap: 13px; }
.category-grid { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.category-filter { min-height: 32px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); padding: 0 12px; font-size: 11px; font-weight: 700; }
.category-filter.selected { border-color: var(--sage-deep); background: var(--sage-deep); color: white; }
.vendor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.vendor-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: var(--shadow-soft); }
.vendor-image { display: grid; height: 132px; place-items: center; background: var(--vendor-art, var(--sage-pale)); color: rgba(255,255,255,.8); }
.vendor-image svg { width: 36px; height: 36px; }
.vendor-body { display: grid; gap: 8px; padding: 14px; }
.vendor-title { display: flex; justify-content: space-between; gap: 8px; }
.vendor-title h3 { margin: 0; font-size: 15px; }
.rating { color: #876b36; font-size: 11px; font-weight: 700; }
.vendor-meta { color: var(--muted); font-size: 10px; }
.vendor-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.vendor-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.legal-note { margin-top: 18px; padding: 14px; border-left: 3px solid var(--gold); background: #f6f1e7; color: #655c4f; font-size: 11px; line-height: 1.55; }

/* Business leads */
.lead-filter-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 16px; }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lead-card { display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; padding: 14px; cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.lead-card:hover { transform: translateY(-2px); border-color: var(--sage); box-shadow: var(--shadow); }
.lead-card-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.lead-card-top h3 { margin: 0 0 3px; font-size: 16px; }
.lead-card-top p, .lead-card-body p { margin: 0; color: var(--muted); line-height: 1.55; }
.lead-card-body { display: grid; gap: 12px; }
.lead-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lead-meta-grid span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: #615f58; font-size: 11px; font-weight: 700; }
.lead-meta-grid svg { width: 14px; height: 14px; color: var(--gold); flex: 0 0 auto; }
.lead-card-actions { display: flex; justify-content: flex-end; gap: 8px; }
.lead-detail { display: grid; gap: 16px; }
.lead-detail-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border-radius: 8px; background: var(--sage-pale); padding: 14px; }
.lead-detail-hero h3 { margin: 0 0 4px; font-size: 18px; }
.lead-detail-hero p { margin: 0; color: var(--muted); }
.lead-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lead-detail-grid article { border: 1px solid var(--line); border-radius: 7px; background: #fbfaf6; padding: 12px; }
.lead-detail-grid span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }

/* Design studio and 3D */
.studio-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 3px; }
.studio-tabs button { min-height: 36px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--muted); padding: 0 12px; white-space: nowrap; font-size: 11px; font-weight: 700; }
.studio-tabs button.selected { border-color: var(--sage-deep); background: var(--sage-deep); color: white; }
.inspiration-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 220px 180px; gap: 10px; }
.inspiration-tile { position: relative; overflow: hidden; border-radius: 8px; background: var(--tile-bg); }
.inspiration-tile:first-child { grid-row: 1 / 3; }
.inspiration-tile span { position: absolute; left: 12px; bottom: 12px; border-radius: 5px; background: rgba(255,255,255,.9); padding: 6px 8px; font-size: 10px; font-weight: 700; }
.planner-shell { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr) 240px; height: calc(100vh - 170px); min-height: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #e9ece6; box-shadow: var(--shadow); }
.planner-toolbar, .planner-inspector { overflow: auto; background: var(--paper); padding: 14px; }
.planner-toolbar { border-right: 1px solid var(--line); }
.planner-inspector { border-left: 1px solid var(--line); }
.close-inspector-control { display: none; }
.inspector-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.inspector-heading h3 { margin: 3px 0 10px; }
.asset-group { margin-bottom: 18px; }
.asset-group h3 { margin-bottom: 8px; color: var(--muted); font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }
.asset-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.asset-button { display: grid; min-height: 66px; place-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 7px; background: #fbfaf6; color: var(--charcoal); padding: 7px; font-size: 9px; font-weight: 700; text-align: center; }
.asset-button:hover { border-color: var(--sage); background: var(--sage-pale); }
.asset-button svg { width: 20px; height: 20px; color: var(--gold); }
.asset-button .library-art { width: 42px; height: 34px; }
.planner-viewport { position: relative; min-width: 0; background: #dfe4de; }
#threeCanvas { display: block; width: 100%; height: 100%; touch-action: none; }
.canvas-toolbar { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.canvas-toolbar > div { display: flex; gap: 6px; pointer-events: auto; }
.canvas-toolbar .icon-button, .view-toggle { background: rgba(255,255,255,.9); backdrop-filter: blur(8px); }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 7px; padding: 3px; }
.view-toggle button { min-height: 30px; border: 0; border-radius: 5px; background: transparent; padding: 0 9px; font-size: 10px; font-weight: 700; }
.view-toggle button.selected { background: var(--sage-deep); color: white; }
.canvas-help { position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%); border-radius: 999px; background: rgba(35,40,36,.76); color: white; padding: 7px 12px; font-size: 9px; pointer-events: none; white-space: nowrap; }
.inspector-empty { display: grid; min-height: 340px; place-items: center; color: var(--muted); text-align: center; }
.inspector-empty svg { width: 28px; color: var(--gold); }
.object-inspector { display: grid; gap: 11px; }
.object-inspector h3 { margin-bottom: 0; }
.property-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.linked-asset-note { display: grid; gap: 5px; border: 1px solid rgba(113,131,111,.3); border-radius: 8px; background: #f7f8f2; padding: 10px; color: var(--muted); font-size: 10px; }
.linked-asset-note strong { color: var(--ink); font-size: 12px; }
.linked-asset-note .button { justify-self: start; margin-top: 3px; }
.calendar-grid { display: grid; grid-template-columns: 68px repeat(7, minmax(92px, 1fr)); gap: 1px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--line); }
.calendar-grid > strong, .calendar-corner, .calendar-hour { min-height: 38px; display: grid; place-items: center; background: #f8f7f1; color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.calendar-hour { background: #fffdf8; color: #7d776b; }
.calendar-slot { min-height: 58px; border: 0; background: #fffdf8; color: var(--ink); padding: 6px; text-align: left; cursor: pointer; }
.calendar-slot:hover { background: var(--sage-pale); }
.calendar-slot.booked { background: linear-gradient(135deg,#eef3e9,#fff8eb); box-shadow: inset 3px 0 0 var(--gold); }
.calendar-slot strong, .calendar-slot small { display: block; font-size: 10px; line-height: 1.25; }
.calendar-month .calendar-slot { min-height: 72px; }
.calendar-day { grid-template-columns: 68px minmax(280px, 1fr); }
.calendar-day > strong:nth-of-type(n+2), .calendar-day .calendar-slot:nth-child(8n+4), .calendar-day .calendar-slot:nth-child(8n+5), .calendar-day .calendar-slot:nth-child(8n+6), .calendar-day .calendar-slot:nth-child(8n+7), .calendar-day .calendar-slot:nth-child(8n+8), .calendar-day .calendar-slot:nth-child(8n+9), .calendar-day .calendar-slot:nth-child(8n+10) { display: none; }
body[data-portal="founder"] .sidebar { background: #202620; color: #f6f2e9; }
body[data-portal="founder"] .sidebar .wordmark, body[data-portal="founder"] .nav-section-label { color: #e4d0a6; }
body[data-portal="founder"] .nav-item { color: #d8ddd4; }
body[data-portal="founder"] .nav-item.selected { background: rgba(228,208,166,.16); color: #fffdf8; }
.property-grid input { min-height: 36px; }
.stack-preview { display: grid; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: #f7f6f1; }
.stack-layer { display: flex; justify-content: space-between; padding: 6px; border-radius: 5px; background: white; font-size: 10px; }
.asset-license-panel { display: grid; gap: 10px; }
.license-row { display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 7px; }
.license-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: var(--sage-pale); color: var(--sage-deep); }
.license-row strong { display: block; font-size: 11px; }
.license-row p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }

/* Business */
.business-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 18px; padding: 22px; border-radius: 8px; background: var(--charcoal); color: white; }
.business-banner h2 { margin-bottom: 7px; font-size: 34px; }
.business-banner p { margin: 0; color: #d2d4d0; }
.catalog-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.catalog-option { display: grid; min-height: 150px; align-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: inherit; padding: 17px; text-align: left; cursor: pointer; }
.catalog-option:hover { border-color: var(--sage); box-shadow: var(--shadow-soft); }
.catalog-option svg { color: var(--gold); }
.catalog-option h3 { margin: 0; }
.catalog-option p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.catalog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.catalog-art { display: grid; height: 100px; place-items: center; background: var(--sage-pale); color: var(--sage-deep); }
.catalog-card > div:last-child { padding: 12px; }
.catalog-card h3 { margin-bottom: 5px; font-size: 13px; }
.catalog-card p { margin-bottom: 4px; color: var(--muted); font-size: 9px; }
.invoice-disclaimer { margin-top: 18px; padding: 15px; border: 1px solid #d9c9aa; border-radius: 8px; background: #f7f0e3; color: #675c49; font-size: 11px; line-height: 1.6; }

/* Keepsake */
.keepsake-cover { position: relative; display: grid; min-height: 360px; align-content: end; overflow: hidden; border-radius: 8px; background: linear-gradient(90deg, rgba(25,31,27,.9), rgba(25,31,27,.2)), url("assets/welcome-reception.png") center / cover; color: white; padding: 28px; }
.keepsake-cover h2 { max-width: 650px; margin-bottom: 8px; font-size: 50px; }
.keepsake-cover p { max-width: 560px; margin: 0; color: #e0e2dd; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.archive-item { min-height: 150px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: inherit; padding: 16px; text-align: left; }
.archive-item svg { color: var(--gold); }
.archive-item h3 { margin: 18px 0 5px; }
.archive-item p { margin: 0; color: var(--muted); font-size: 11px; }
.premium-preview { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 16px; padding: 22px; border: 1px solid #ccb98f; border-radius: 8px; background: linear-gradient(120deg, #f3ead8, #e6ebe3); }
.archive-preview-modal { display: grid; gap: 14px; }
.archive-preview-hero { display: grid; min-height: 180px; align-content: end; border-radius: 8px; background: linear-gradient(90deg, rgba(25,31,27,.9), rgba(25,31,27,.25)), url("assets/welcome-reception.png") center / cover; color: white; padding: 18px; }
.archive-preview-hero h3 { margin: 3px 0 7px; font-size: 32px; }
.archive-preview-hero p { max-width: 540px; margin: 0; color: #e6e6df; line-height: 1.55; }
.archive-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.archive-preview-grid article { display: grid; gap: 7px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf6; padding: 12px; }
.archive-preview-grid svg { color: var(--gold); }
.archive-preview-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

/* Website/messages/seating */
.website-preview { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow); }
.website-preview-hero { display: grid; min-height: 330px; align-content: center; background: linear-gradient(rgba(29,35,31,.3), rgba(29,35,31,.35)), url("assets/welcome-reception.png") center / cover; color: white; padding: 30px; text-align: center; }
.website-preview-hero h2 { margin-bottom: 8px; font-size: 52px; }
.website-preview-section { display: grid; grid-template-columns: repeat(3, 1fr); }
.website-preview-section > div, .website-preview-section > button { padding: 22px; border: 0; border-right: 1px solid var(--line); background: white; color: inherit; text-align: left; cursor: pointer; }
.website-preview-section > div:last-child, .website-preview-section > button:last-child { border-right: 0; }
.website-preview-section > button:hover { background: var(--sage-pale); }
.website-preview-section p { margin: 0; color: var(--muted); font-size: 11px; }
.conversation-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 540px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.conversation-list { border-right: 1px solid var(--line); padding: 10px; }
.conversation-item { display: grid; grid-template-columns: 34px 1fr; gap: 8px; width: 100%; border: 0; border-radius: 7px; background: transparent; padding: 10px; text-align: left; }
.conversation-item.selected { background: var(--sage-pale); }
.conversation-item strong { display: block; font-size: 11px; }
.conversation-item span { color: var(--muted); font-size: 9px; }
.chat-pane { display: grid; grid-template-rows: auto 1fr auto; }
.chat-header, .chat-compose { padding: 14px; border-bottom: 1px solid var(--line); }
.chat-thread { display: grid; align-content: end; gap: 9px; overflow: auto; padding: 18px; }
.chat-bubble { max-width: 70%; border-radius: 8px 8px 8px 2px; background: #eceee9; padding: 10px 12px; font-size: 11px; }
.chat-bubble.mine { justify-self: end; border-radius: 8px 8px 2px 8px; background: var(--sage-deep); color: white; }
.chat-compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid var(--line); border-bottom: 0; }
.seating-board { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 12px; }
.seat-table { min-height: 260px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 14px; }
.seat-table h3 { display: flex; justify-content: space-between; }
.seat-guest { display: flex; justify-content: space-between; margin-top: 6px; border-radius: 5px; background: #f1f2ed; padding: 7px; font-size: 10px; }
.seating-visual { position: relative; height: 170px; margin: 12px 0; border: 1px solid rgba(118,101,78,.2); border-radius: 8px; background: radial-gradient(circle at center, rgba(225,217,202,.72), transparent 52%), repeating-linear-gradient(0deg,#f1efe7 0,#f1efe7 1px,transparent 1px,transparent 18px), repeating-linear-gradient(90deg,#f1efe7 0,#f1efe7 1px,transparent 1px,transparent 18px), #fffdf8; overflow: hidden; }
.seating-table-art { position: absolute; left: 50%; top: 50%; width: 42%; height: 42%; transform: translate(-50%,-50%); filter: drop-shadow(0 12px 14px rgba(59,45,32,.2)); }
.seating-table-art .art { position: absolute; inset: 0; }
.seating-table-art strong { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 8px; color: #4d3927; font-size: 10px; text-align: center; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.seating-chair { position: absolute; width: 28px; height: 34px; filter: drop-shadow(0 5px 6px rgba(44,36,27,.18)); }
.seating-chair .art { position: absolute; inset: 0; }
.seat-chip-row { display: flex; flex-wrap: wrap; gap: 5px; }
.seat-chip { border-radius: 999px; background: #f1f2ed; color: #5a5e56; padding: 5px 8px; font-size: 9px; font-weight: 800; }

/* Founder QA visual 2D planners */
.visual-planner { display: grid; gap: 14px; }
.visual-planner-header { display: flex; justify-content: space-between; gap: 14px; align-items: start; }
.visual-planner-header h3 { margin: 0 0 4px; font-size: 22px; }
.visual-planner-header p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.visual-topbar { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.asset-mode-select { min-height: 32px; border: 1px solid var(--line); border-radius: 7px; background: #fffdf8; color: var(--ink); padding: 0 9px; font-size: 10px; font-weight: 800; }
.visual-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr) 240px; gap: 12px; align-items: stretch; }
.visual-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 12px; min-width: 0; }
.visual-panel h3 { margin: 0 0 10px; font-size: 15px; }
.visual-panel label { display: grid; gap: 5px; margin-bottom: 8px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.visual-panel input, .visual-panel select { min-height: 34px; border: 1px solid var(--line); border-radius: 6px; background: #fffdf8; padding: 0 9px; color: var(--ink); }
.visual-library-grid { display: grid; gap: 8px; max-height: 660px; overflow: auto; padding-right: 3px; }
.visual-library-grid .button { justify-content: flex-start; min-height: 32px; white-space: normal; text-align: left; }
.visual-library-item { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 46px; border: 1px solid var(--line); border-radius: 7px; background: #fffdf8; color: var(--ink); padding: 6px 8px; text-align: left; cursor: pointer; }
.visual-library-item:hover { border-color: var(--sage); background: var(--sage-pale); }
.visual-library-item strong { min-width: 0; font-size: 10px; line-height: 1.2; }
.library-art { position: relative; width: 34px; height: 30px; display: block; filter: drop-shadow(0 4px 5px rgba(39,47,40,.14)); }
.library-art .art { position: absolute; inset: 0; }
.planning-mode { filter: drop-shadow(0 2px 2px rgba(39,47,40,.09)) saturate(.82); }
.planning-mode .art, .visual-object.planning-mode .art { opacity: .82; }
.presentation-mode { filter: drop-shadow(0 10px 13px rgba(39,47,40,.23)) saturate(1.08) contrast(1.02); }
.visual-object.presentation-mode { filter: drop-shadow(0 12px 15px rgba(39,47,40,.25)); }
.visual-object.planning-mode .object-label, .visual-object.planning-mode small { display: none; }
.visual-workspace { min-width: 0; display: grid; gap: 10px; }
.visual-controls { display: grid; grid-template-columns: repeat(5, minmax(100px, 1fr)); gap: 8px; border: 1px solid var(--line); border-radius: 8px; background: #f8f7f1; padding: 10px; }
.visual-controls label { display: grid; gap: 5px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.visual-controls input, .visual-controls select { min-height: 34px; border: 1px solid var(--line); border-radius: 6px; background: white; padding: 0 9px; color: var(--ink); }
.visual-canvas-shell { min-width: 0; min-height: 640px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: repeating-linear-gradient(0deg,#ecece4 0,#ecece4 1px,transparent 1px,transparent 24px), repeating-linear-gradient(90deg,#ecece4 0,#ecece4 1px,transparent 1px,transparent 24px), #f9f8f2; padding: 24px; }
.visual-stage { position: relative; width: min(1040px, 100%); min-width: 720px; margin: 0 auto; transform: scale(var(--zoom)); transform-origin: top left; border: 2px solid #2f3d34; background: #fffdf8; box-shadow: 0 20px 60px rgba(41,49,43,.12); overflow: hidden; touch-action: none; }
.floor-stage { min-height: 620px; }
.tablescape-stage { min-height: 680px; border-radius: 10px; background: radial-gradient(circle at center, rgba(221,215,202,.7), transparent 38%), #fffdf8; }
.surface-stage { min-height: 420px; }
.room-label { position: absolute; left: 10px; top: 10px; z-index: 50; border-radius: 5px; background: rgba(38,49,43,.88); color: white; padding: 5px 8px; font-size: 11px; font-weight: 800; }
.visual-object { position: absolute; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #26312b; padding: 0; cursor: grab; user-select: none; touch-action: none; filter: drop-shadow(0 7px 9px rgba(39,47,40,.18)); font-size: 10px; font-weight: 800; text-align: center; line-height: 1.1; }
.visual-object .object-label, .visual-object small { position: absolute; left: 50%; max-width: 150%; transform: translateX(-50%); opacity: 0; pointer-events: none; white-space: nowrap; }
.visual-object .object-label { top: calc(100% + 5px); border-radius: 999px; background: rgba(38,49,43,.9); color: white; padding: 4px 7px; font-size: 9px; }
.visual-object small { top: calc(100% + 26px); color: rgba(38,49,43,.68); font-size: 8px; font-weight: 700; }
.visual-object:hover .object-label, .visual-object:hover small, .visual-object.selected .object-label { opacity: 1; }
.visual-object.roundish, .visual-object.slim, .visual-object.wide { background: transparent; }
.visual-object.selected { outline: 3px solid #b28343; outline-offset: 2px; box-shadow: 0 0 0 6px rgba(178,131,67,.16); }
.visual-object.locked { cursor: not-allowed; opacity: .72; }
.visual-inspector .visual-actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.shared-assets-panel .panel-header { align-items: flex-start; }
.asset-category-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.shared-asset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.shared-asset-card { display: grid; gap: 8px; align-content: start; min-height: 236px; border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; color: var(--ink); padding: 14px; text-align: left; cursor: pointer; box-shadow: 0 10px 24px rgba(39,47,40,.06); }
.shared-asset-card:hover { border-color: var(--sage); background: #fbfcf6; transform: translateY(-1px); }
.shared-asset-card strong { font-size: 14px; }
.shared-asset-card small, .asset-meta { color: var(--muted); font-size: 10px; font-weight: 800; }
.shared-asset-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.shared-asset-art { position: relative; width: 100%; height: 86px; border-radius: 8px; background: radial-gradient(circle at center, rgba(255,255,255,.95), rgba(239,237,226,.75)); box-shadow: inset 0 0 0 1px rgba(91,102,93,.12); }
.shared-asset-art .art { position: absolute; inset: 18% 26%; }
.shared-asset-art .round-table.art, .shared-asset-art .dance-floor.art, .shared-asset-art .banquet-table.art, .shared-asset-art .buffet-table.art, .shared-asset-art .bar.art { inset: 13% 18%; }
.art { position: absolute; inset: 0; display: block; border-radius: inherit; }
.art i, .art b, .art em { position: absolute; display: block; box-sizing: border-box; }
.round-table { border-radius: 999px; background: radial-gradient(circle at 42% 34%, #fffaf2 0 20%, #ded4c4 21% 63%, #a98d68 64% 72%, #725940 73% 100%); box-shadow: inset 0 0 0 7px rgba(255,255,255,.35), inset 0 -10px 18px rgba(76,56,38,.18); }
.round-table i { inset: 12%; border-radius: 999px; border: 2px dashed rgba(92,68,48,.22); }
.round-table b { left: 44%; top: 8%; width: 12%; height: 84%; border-radius: 999px; background: rgba(255,255,255,.2); transform: rotate(42deg); }
.banquet-table, .square-table, .oval-table { border-radius: 13px; background: linear-gradient(135deg,#fbf4e8,#d2c3ad 56%,#9b805f); box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), inset 0 -8px 18px rgba(69,50,34,.16); }
.banquet-table i, .square-table i, .oval-table i { inset: 10%; border: 2px solid rgba(112,83,56,.28); border-radius: 9px; }
.banquet-table b, .square-table b, .oval-table b { left: 12%; right: 12%; top: 44%; height: 12%; border-radius: 999px; background: rgba(255,255,255,.2); }
.oval-table { border-radius: 999px; }
.oval-table i { border-radius: 999px; }
.chair-art { border-radius: 9px 9px 15px 15px; background: linear-gradient(#f4eadc,#b99868); box-shadow: inset 0 -6px 8px rgba(80,56,35,.2); }
.chair-art i { left: 14%; right: 14%; top: 6%; height: 24%; border-radius: 7px 7px 3px 3px; background: #76593b; }
.chair-art b { left: 18%; right: 18%; bottom: 10%; height: 48%; border: 2px solid rgba(87,62,40,.34); border-radius: 7px; }
.dance-art { border-radius: 4px; background: repeating-linear-gradient(90deg,#b98452 0 18%,#d1a16c 18% 36%); box-shadow: inset 0 0 0 4px #7d5837; }
.dance-art i { inset: 8%; border: 1px solid rgba(255,255,255,.38); }
.dance-art b { left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(98,62,34,.34); }
.dance-art em { left: 0; right: 0; top: 50%; height: 1px; background: rgba(98,62,34,.34); }
.stage-art { border-radius: 8px; background: linear-gradient(#8c8173,#5b5046); box-shadow: inset 0 -10px 0 rgba(37,31,27,.32), inset 0 0 0 3px rgba(255,255,255,.14); }
.stage-art i { left: 6%; right: 6%; bottom: 10%; height: 10px; border-radius: 999px; background: rgba(34,30,27,.42); }
.stage-art b { left: 10%; right: 10%; top: 18%; height: 2px; background: rgba(255,255,255,.22); }
.dj-art { border-radius: 10px; background: linear-gradient(#2e3430,#151917); box-shadow: inset 0 -7px 0 rgba(0,0,0,.3); }
.dj-art i { left: 12%; top: 22%; width: 24%; height: 44%; border-radius: 999px; background: radial-gradient(circle,#cfd7d1 0 18%,#292f2b 19% 100%); }
.dj-art b { right: 12%; top: 22%; width: 24%; height: 44%; border-radius: 999px; background: radial-gradient(circle,#cfd7d1 0 18%,#292f2b 19% 100%); }
.dj-art em { left: 42%; top: 28%; width: 16%; height: 34%; border-radius: 3px; background: #c8a35b; }
.band-art { border-radius: 10px; background: linear-gradient(135deg,#76685d,#423b35); }
.band-art i { left: 12%; top: 20%; width: 22%; height: 42%; border-radius: 999px; background: radial-gradient(circle,#232421 0 28%,#d6c7a8 30% 42%,#39332d 43%); }
.band-art b { left: 44%; top: 16%; width: 6%; height: 62%; border-radius: 999px; background: #242724; box-shadow: 18px 8px 0 #242724; }
.band-art em { right: 12%; bottom: 16%; width: 22%; height: 16%; border-radius: 999px; background: #caa65f; }
.bar-art { border-radius: 18px 18px 8px 8px; background: linear-gradient(#4a3125,#251a16); box-shadow: inset 0 10px 0 rgba(255,255,255,.12), inset 0 -9px 0 rgba(0,0,0,.2); }
.bar-art i { left: 8%; right: 8%; top: 12%; height: 28%; border-radius: 999px; background: #c49855; }
.bar-art b, .bar-art em { top: 50%; width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.65); }
.bar-art b { left: 30%; }
.bar-art em { right: 30%; }
.buffet-art { border-radius: 10px; background: linear-gradient(#f3eadc,#b99669); box-shadow: inset 0 0 0 4px rgba(104,75,47,.28); }
.buffet-art i { left: 8%; top: 20%; width: 24%; height: 48%; border-radius: 999px; background: radial-gradient(circle,#f9f5e9 0 48%,#b7834f 50%); }
.buffet-art b { left: 38%; top: 22%; width: 24%; height: 44%; border-radius: 6px; background: #dcc06c; }
.buffet-art em { right: 9%; top: 20%; width: 22%; height: 48%; border-radius: 999px; background: radial-gradient(circle,#f9f5e9 0 48%,#8e9f7f 50%); }
.cake-art { border-radius: 999px; background: radial-gradient(circle,#fff8f3 0 32%,#d7c7ad 33% 45%,#a17b5a 46%); }
.cake-art i { left: 31%; right: 31%; top: 18%; height: 26%; border-radius: 999px 999px 4px 4px; background: #fff; box-shadow: 0 12px 0 #f4dce0; }
.cake-art b { left: 22%; right: 22%; bottom: 24%; height: 12%; border-radius: 999px; background: #b98f61; }
.gift-art { border-radius: 8px; background: #e7d6be; }
.gift-art i, .gift-art b, .gift-art em { border-radius: 3px; background: #b45c54; }
.gift-art i { left: 12%; top: 18%; width: 34%; height: 34%; box-shadow: 26px 10px 0 #8fa081; }
.gift-art b { left: 36%; top: 16%; width: 10%; height: 58%; }
.gift-art em { left: 10%; top: 38%; width: 70%; height: 9%; }
.guestbook-art, .sign-art, .card-art { border-radius: 5px; background: linear-gradient(#fffdf7,#eadcc4); box-shadow: inset 0 0 0 2px rgba(87,62,40,.18); }
.guestbook-art i { left: 49%; top: 8%; bottom: 8%; width: 2px; background: #b99c69; }
.guestbook-art b { left: 13%; right: 13%; top: 44%; height: 2px; background: rgba(87,62,40,.2); box-shadow: 0 8px 0 rgba(87,62,40,.16); }
.sign-art i { left: 44%; top: 58%; width: 12%; height: 34%; background: #7b5d3e; }
.sign-art b { left: 18%; right: 18%; top: 15%; height: 44%; border-radius: 4px; border: 2px solid #8a6a45; background: #fffaf0; }
.plate-art { border-radius: 999px; background: radial-gradient(circle,#fff 0 32%,#e7e1d5 33% 48%,#fcfbf6 49% 66%,#c9bca8 67% 100%); box-shadow: inset 0 -3px 8px rgba(99,76,54,.16); }
.charger-art { background: radial-gradient(circle,#fff 0 28%,#f4efe6 29% 44%,#c9a55f 45% 72%,#8a6838 73%); }
.fork-art, .knife-art, .spoon-art { border-radius: 999px; background: linear-gradient(90deg,transparent 0 35%,#c9c3b7 36% 64%,transparent 65%); }
.fork-art i { left: 36%; right: 36%; top: 12%; height: 72%; border-radius: 999px; background: #c9c3b7; }
.fork-art b { left: 26%; top: 6%; width: 48%; height: 20%; border-left: 3px solid #c9c3b7; border-right: 3px solid #c9c3b7; box-shadow: inset 6px 0 0 transparent, inset -6px 0 0 transparent; }
.knife-art i { left: 40%; top: 8%; width: 24%; height: 78%; border-radius: 999px 999px 40% 40%; background: linear-gradient(90deg,#ddd8cf,#a9a294); }
.spoon-art i { left: 31%; top: 6%; width: 38%; height: 34%; border-radius: 999px; background: #c9c3b7; }
.spoon-art b { left: 43%; top: 34%; width: 14%; height: 56%; border-radius: 999px; background: #c9c3b7; }
.glass-art { border-radius: 999px; background: radial-gradient(circle at 42% 34%,rgba(255,255,255,.86),rgba(171,209,216,.48) 42%,rgba(86,128,139,.38) 68%,rgba(255,255,255,.3)); border: 1px solid rgba(92,136,145,.36); }
.glass-art i { left: 38%; right: 38%; bottom: 14%; height: 30%; background: rgba(139,180,190,.42); }
.glass-art b { left: 26%; right: 26%; bottom: 8%; height: 9%; border-radius: 999px; background: rgba(100,138,148,.42); }
.napkin-art { border-radius: 5px; background: linear-gradient(135deg,#748866 0 48%,#94a783 49% 52%,#62765c 53%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.napkin-art i { left: 18%; top: 18%; width: 64%; height: 2px; background: rgba(255,255,255,.28); transform: rotate(36deg); }
.card-art i { left: 18%; right: 18%; top: 38%; height: 2px; background: rgba(87,62,40,.26); box-shadow: 0 8px 0 rgba(87,62,40,.18); }
.centerpiece-art { border-radius: 999px; background: radial-gradient(circle,#d8c0a5 0 18%,#708565 19% 34%,transparent 35%); }
.centerpiece-art i, .centerpiece-art b, .centerpiece-art em { border-radius: 999px; background: #f2efe5; width: 34%; height: 34%; }
.centerpiece-art i { left: 12%; top: 26%; box-shadow: 22px -10px 0 #b87978, 36px 18px 0 #e8dfcf; }
.centerpiece-art b { right: 14%; top: 30%; background: #8d9d76; }
.centerpiece-art em { left: 34%; bottom: 10%; background: #f0d8d7; }
.door-art { border-radius: 2px; background: #8b6542; transform-origin: left center; }
.door-art i { inset: 10%; border-radius: 999px 999px 2px 2px; border: 2px solid rgba(255,255,255,.28); }
.window-art { border-radius: 3px; background: rgba(172,206,213,.45); border: 3px solid #5d6c65; }
.window-art i { left: 49%; top: 0; bottom: 0; width: 2px; background: #5d6c65; }
.window-art b { left: 0; right: 0; top: 49%; height: 2px; background: #5d6c65; }
.column-art { border-radius: 999px; background: radial-gradient(circle,#fffaf0,#c6b79f 60%,#776655); }
.decor-art { border-radius: 10px; background: linear-gradient(135deg,#e8dfd0,#a9ba9c); box-shadow: inset 0 0 0 3px rgba(255,255,255,.3); }
.table-shape { position: absolute; left: 50%; top: 50%; width: 44%; height: 44%; transform: translate(-50%,-50%); display: grid; place-items: center; border: 0; background: radial-gradient(circle at 42% 34%, #fffaf2 0 20%, #ded4c4 21% 63%, #a98d68 64% 72%, #725940 73% 100%); color: #503f2e; font-weight: 800; box-shadow: 0 15px 30px rgba(62,48,34,.16), inset 0 0 0 10px rgba(255,255,255,.28); }
.table-shape.round, .table-shape.oval { border-radius: 999px; }
.table-shape.rectangle { width: 58%; height: 34%; border-radius: 18px; background: linear-gradient(135deg,#fbf4e8,#d2c3ad 56%,#9b805f); }
.table-shape.square { width: 42%; height: 42%; border-radius: 10px; }
.table-shape.square { background: linear-gradient(135deg,#fbf4e8,#d2c3ad 56%,#9b805f); }
.table-shape.oval { width: 58%; height: 38%; background: linear-gradient(135deg,#fbf4e8,#d2c3ad 56%,#9b805f); }
.seat-marker { position: absolute; min-width: 40px; min-height: 34px; border: 0; border-radius: 7px 7px 13px 13px; background: linear-gradient(#f4eadc,#b99868); color: transparent; font-size: 0; font-weight: 800; cursor: pointer; filter: drop-shadow(0 5px 6px rgba(44,36,27,.18)); }
.seat-marker::before { content: ""; position: absolute; left: 16%; right: 16%; top: 7%; height: 23%; border-radius: 7px 7px 3px 3px; background: #76593b; }
.seat-marker::after { content: ""; position: absolute; left: 21%; right: 21%; bottom: 12%; height: 48%; border: 2px solid rgba(87,62,40,.34); border-radius: 7px; }
.surface-base { position: absolute; left: 7%; right: 7%; top: 16%; bottom: 16%; display: grid; place-items: center; border: 0; border-radius: 16px; background: linear-gradient(135deg,#fbf4e8,#d2c3ad 56%,#9b805f); color: #503f2e; font-weight: 800; box-shadow: 0 16px 32px rgba(62,48,34,.16), inset 0 0 0 10px rgba(255,255,255,.24), inset 0 -10px 18px rgba(69,50,34,.16); }

@media (max-width: 1400px) {
  .visual-layout { grid-template-columns: 1fr; }
  .visual-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 220px; }
  .visual-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Modal and toast */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(45,20,18,.38); padding: 20px; backdrop-filter: blur(2px); }
.modal { width: min(640px, 100%); max-height: 90vh; overflow: auto; border-radius: 8px; background: var(--paper); box-shadow: 0 28px 90px rgba(20,25,21,.3); padding: 22px; }
.modal-header { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 20px; }
.modal-header h2 { margin: 0; font-size: 34px; }
.modal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.notification-list { display: grid; gap: 9px; }
.notification-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fffdf8; color: inherit; padding: 12px; text-align: left; cursor: pointer; }
.notification-item:hover { border-color: var(--sage); background: var(--sage-pale); }
.notification-item svg { color: var(--gold); }
.notification-item p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.notification-item span { color: var(--sage-deep); font-size: 10px; font-weight: 800; white-space: nowrap; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 200; max-width: 340px; transform: translateY(20px); opacity: 0; pointer-events: none; border-radius: 7px; background: var(--charcoal); color: white; padding: 11px 14px; transition: .18s ease; font-size: 12px; }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1180px) {
  .stats-grid, .vendor-grid, .lead-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planner-shell { grid-template-columns: 180px minmax(0, 1fr); }
  .planner-inspector { position: absolute; right: 0; top: 0; bottom: 0; width: 250px; transform: translateX(100%); transition: transform .2s; z-index: 5; }
  .planner-shell.inspector-open .planner-inspector { transform: translateX(0); }
  .planner-shell.inspector-dismissed .planner-inspector { transform: translateX(100%); }
  .planner-shell.inspector-open .close-inspector-control { display: inline-grid; }
  .planner-viewport { position: relative; }
}

@media (max-width: 820px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-image { position: absolute; inset: 0; min-height: 100vh; opacity: .58; }
  .auth-content { position: relative; min-height: 100vh; background: linear-gradient(90deg, rgba(22,29,24,.9), rgba(22,29,24,.58)); }
  .event-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; transform: translateX(-100%); width: 264px; transition: transform .2s; box-shadow: var(--shadow); }
  .sidebar.open { transform: translateX(0); }
  .mobile-menu { display: inline-grid; }
  .topbar { padding: 0 15px; }
  .breadcrumbs { display: none; }
  .content { padding: 22px 16px 60px; }
  .view-header { align-items: start; flex-direction: column; }
  .dashboard-grid, .two-column, .marketplace-layout, .conversation-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .conversation-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .vendor-grid, .lead-grid, .three-column, .archive-grid, .party-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .planner-shell { grid-template-columns: 1fr; height: 720px; }
  .planner-toolbar { position: absolute; left: 0; top: 0; bottom: 0; width: 190px; transform: translateX(-100%); z-index: 6; transition: transform .2s; }
  .planner-shell.assets-open .planner-toolbar { transform: translateX(0); }
  .planner-viewport { grid-column: 1; }
  .catalog-options { grid-template-columns: 1fr; }
  .website-preview-section { grid-template-columns: 1fr; }
  .website-preview-section > div, .website-preview-section > button { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .auth-form, .setup-form, .form-grid, .modal-form { grid-template-columns: 1fr; }
  .portal-selector { grid-template-columns: 1fr; }
  .auth-form label, .auth-actions, .form-status, .setup-submit, .wide { grid-column: auto; }
  .auth-actions { flex-direction: column; }
  .auth-content { padding: 25px 22px 36px; }
  .welcome-screen { padding-inline: 16px; }
  .welcome-intro { padding-top: 52px; }
  .event-type-grid, .stats-grid, .vendor-grid, .lead-grid, .three-column, .archive-grid, .catalog-grid, .seating-board, .party-grid { grid-template-columns: 1fr; }
  .lead-card-top, .lead-detail-hero { grid-template-columns: auto minmax(0, 1fr); }
  .lead-card-top .status-pill, .lead-detail-hero .status-pill { grid-column: 1 / -1; width: max-content; }
  .lead-detail-grid, .lead-meta-grid { grid-template-columns: 1fr; }
  .event-type-card { min-height: 155px; }
  .profile-button > div, .profile-button > svg { display: none; }
  .data-toolbar, .business-banner, .premium-preview, .party-toolbar { align-items: stretch; flex-direction: column; grid-template-columns: 1fr; }
  .data-table { min-width: 660px; }
  .panel { padding: 15px; }
  .inspiration-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 150px; }
  .inspiration-tile:first-child { grid-column: 1 / -1; grid-row: auto; }
  .planner-shell { height: 680px; }
  .canvas-help { max-width: 86%; overflow: hidden; text-overflow: ellipsis; }
}

/* The Event Central official landing page */
:root {
  --brand-burgundy-dark: #4A0F14;
  --brand-burgundy: #68151B;
  --brand-burgundy-soft: #7E232A;
  --brand-ivory: #FFF7EB;
  --brand-cream: #F4E5CF;
  --brand-champagne: #D9B875;
  --brand-champagne-dark: #A77734;
  --brand-rose: #B78875;
  --brand-ink: #351214;
  --brand-muted: #795A4E;
  --brand-line: rgba(104, 21, 27, .18);
  --brand-focus: rgba(217, 184, 117, .42);
}

.auth-screen.landing-page {
  display: block;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 6%, rgba(255,255,255,.95), rgba(255,247,235,.65) 42%, rgba(244,229,207,.95) 100%),
    var(--brand-ivory);
  color: var(--brand-ink);
}

.landing-page button:focus-visible,
.landing-page a:focus-visible,
.landing-page input:focus-visible {
  outline: 3px solid var(--brand-focus);
  outline-offset: 3px;
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 247, 235, .88);
  border-bottom: 1px solid rgba(104, 21, 27, .08);
  backdrop-filter: blur(2px);
}

.landing-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brand-burgundy-dark);
  text-decoration: none;
}

.tec-mark {
  position: relative;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid var(--brand-burgundy-dark);
  border-radius: 50%;
  color: var(--brand-burgundy-dark);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 25px;
  line-height: .78;
  text-align: center;
  box-shadow: inset 0 0 0 8px rgba(217,184,117,.08);
}

.tec-mark::before,
.tec-mark::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-left-color: var(--brand-burgundy-dark);
  transform: rotate(-28deg);
}

.tec-mark::after {
  border-left-color: transparent;
  border-right-color: var(--brand-burgundy-dark);
  transform: rotate(28deg);
}

.tec-wordmark {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.tec-wordmark strong,
.footer-brand strong {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tec-wordmark small,
.footer-brand small {
  color: var(--brand-champagne-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.landing-nav {
  display: flex;
  gap: clamp(16px, 2vw, 34px);
  align-items: center;
}

.landing-nav a {
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}

.landing-actions {
  display: flex;
  gap: 12px;
  justify-content: end;
}

.landing-login,
.landing-signup,
.hero-primary,
.hero-secondary {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 7px;
  padding: 0 28px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.landing-login,
.hero-secondary {
  border: 1px solid var(--brand-burgundy);
  background: rgba(255,247,235,.55);
  color: var(--brand-burgundy-dark);
}

.landing-signup,
.hero-primary {
  border: 1px solid var(--brand-burgundy-dark);
  background: linear-gradient(180deg, var(--brand-burgundy), var(--brand-burgundy-dark));
  color: white;
  box-shadow: 0 16px 34px rgba(74,15,20,.22);
}

.landing-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--brand-line);
  border-radius: 7px;
  background: rgba(255,255,255,.46);
  color: var(--brand-burgundy-dark);
}

.landing-hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 110px);
  place-items: center;
  overflow: hidden;
  padding: 58px 18px 148px;
  text-align: center;
}

.hero-center {
  position: relative;
  z-index: 3;
  width: min(900px, 100%);
}

.hero-logo-stack {
  display: grid;
  place-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-mark {
  width: 100px;
  height: 100px;
  font-size: 33px;
}

.ornament {
  display: block;
  width: 220px;
  height: 18px;
  background:
    linear-gradient(90deg, transparent, var(--brand-champagne-dark) 38%, transparent 38% 62%, var(--brand-champagne-dark) 62%, transparent),
    radial-gradient(circle at 50% 50%, var(--brand-champagne-dark) 0 5px, transparent 6px);
  opacity: .86;
}

.landing-hero h1 {
  margin: 0;
  color: var(--brand-burgundy-dark);
  font-size: clamp(56px, 8vw, 112px);
  text-transform: uppercase;
}

.hero-tagline {
  max-width: 740px;
  margin: 20px auto 22px;
  color: var(--brand-burgundy);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.08;
}

.hero-tagline::first-letter {
  color: var(--brand-champagne-dark);
}

.hero-support {
  max-width: 660px;
  margin: 0 auto 34px;
  color: #4a3128;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions svg,
.landing-actions svg,
.value-bar svg {
  width: 22px;
  height: 22px;
}

.hero-floral {
  position: absolute;
  top: 78px;
  bottom: 102px;
  z-index: 1;
  width: min(32vw, 430px);
  opacity: .92;
  filter: saturate(1.05) contrast(1.02);
  background:
    radial-gradient(circle at 34% 35%, rgba(255,247,235,.05), rgba(255,247,235,.78) 56%, rgba(255,247,235,0) 57%),
    url("assets/welcome-reception.png") center / cover no-repeat;
  mask-image: radial-gradient(ellipse at center, black 0 58%, transparent 76%);
  pointer-events: none;
}

.hero-floral-left {
  left: -68px;
  background-position: left center;
}

.hero-floral-right {
  right: -68px;
  transform: scaleX(-1);
  background-position: right center;
}

.hero-table-scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 2;
  height: 210px;
  background:
    linear-gradient(180deg, rgba(255,247,235,0), rgba(244,229,207,.92) 38%, rgba(228,205,172,.98)),
    radial-gradient(ellipse at center top, rgba(255,255,255,.88), rgba(217,184,117,.12) 54%, rgba(104,21,27,.10) 100%);
  border-top: 1px solid rgba(167,119,52,.2);
}

.table-setting {
  position: absolute;
  bottom: 30px;
  width: 214px;
  height: 126px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 49%, #fffdfa 0 34%, #e8d7b6 35% 38%, #fffefa 39% 53%, #d7ac61 54% 57%, transparent 58%),
    linear-gradient(90deg, transparent 0 22%, #d6b26d 22% 24%, transparent 24% 76%, #d6b26d 76% 78%, transparent 78%),
    radial-gradient(ellipse at center, rgba(74,15,20,.08), transparent 64%);
  box-shadow: 0 18px 30px rgba(74,15,20,.18);
}

.table-setting::before {
  content: "";
  position: absolute;
  left: 52px;
  right: 52px;
  top: 46px;
  height: 40px;
  border-radius: 6px 6px 28px 28px;
  background: linear-gradient(180deg, #7b1219, #4a0f14);
  box-shadow: inset 0 8px 0 rgba(255,255,255,.08);
}

.table-setting::after {
  content: "";
  position: absolute;
  top: 21px;
  right: 12px;
  width: 34px;
  height: 48px;
  border: 2px solid rgba(104,21,27,.35);
  border-radius: 14px 14px 10px 10px;
  background: rgba(104,21,27,.18);
}

.setting-left { left: clamp(14px, 9vw, 150px); }
.setting-right { right: clamp(14px, 9vw, 150px); }

.auth-panel {
  position: relative;
  z-index: 5;
  width: min(620px, calc(100% - 32px));
  margin: 32px auto 0;
  border: 1px solid rgba(104,21,27,.18);
  border-radius: 10px;
  background: rgba(255, 252, 246, .96);
  box-shadow: 0 26px 70px rgba(74,15,20,.18);
  padding: 24px;
  text-align: left;
  backdrop-filter: none;
  filter: none;
}

.auth-panel[hidden] {
  display: none;
}

.auth-panel .auth-copy h2 {
  margin-bottom: 10px;
  color: var(--brand-burgundy-dark);
  font-size: clamp(28px, 4vw, 42px);
}

.auth-panel .auth-copy p:last-child {
  color: var(--brand-muted);
  line-height: 1.55;
}

.auth-panel .auth-form {
  max-width: none;
  color: var(--brand-ink);
}

.auth-panel .auth-form label {
  color: var(--brand-ink);
}

.auth-panel .auth-form input {
  border-color: var(--brand-line);
  background: white;
  color: var(--brand-ink);
}

.auth-panel .portal-selector {
  border-color: var(--brand-line);
  background: rgba(104,21,27,.04);
}

.auth-panel .portal-selector button {
  color: var(--brand-muted);
}

.auth-panel .portal-selector button.selected {
  background: var(--brand-burgundy);
  color: white;
}

.auth-panel .button.primary {
  background: var(--brand-burgundy);
}

.auth-panel .ghost-light {
  border-color: rgba(104,21,27,.24);
  background: transparent;
  color: var(--brand-burgundy);
}

.auth-panel .form-status {
  color: var(--brand-muted);
}

.auth-close {
  position: absolute;
  top: 15px;
  right: 15px;
}

.value-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background:
    linear-gradient(180deg, var(--brand-burgundy), var(--brand-burgundy-dark)),
    var(--brand-burgundy);
  color: white;
  padding: 26px clamp(18px, 6vw, 96px);
}

.value-bar article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 4px 28px;
  border-right: 1px solid rgba(217,184,117,.45);
}

.value-bar article:last-child {
  border-right: 0;
}

.value-bar svg {
  color: var(--brand-champagne);
}

.value-bar h2 {
  margin: 0 0 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.value-bar p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  line-height: 1.5;
}

.landing-section {
  padding: 78px clamp(18px, 7vw, 112px);
  background: var(--brand-ivory);
}

.landing-section.tinted {
  background: linear-gradient(180deg, #fffaf1, #f4e5cf);
}

.landing-section > h2,
.landing-section > div > h2 {
  max-width: 820px;
  margin-bottom: 24px;
  color: var(--brand-burgundy-dark);
}

.landing-section > p:not(.kicker),
.landing-section > div > p {
  max-width: 860px;
  color: var(--brand-muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.resources-grid article,
.step-grid article,
.pricing-card {
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 28px rgba(74,15,20,.06);
  padding: 20px;
}

.feature-grid svg,
.resources-grid svg {
  width: 28px;
  height: 28px;
  color: var(--brand-champagne-dark);
}

.feature-grid h3,
.resources-grid h3,
.step-grid h3 {
  margin: 14px 0 8px;
  color: var(--brand-burgundy-dark);
}

.feature-grid p,
.resources-grid p,
.step-grid p,
.pricing-card p {
  margin: 0;
  color: var(--brand-muted);
  font-size: 13px;
  line-height: 1.55;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.step-grid span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-burgundy);
  color: white;
  font-weight: 800;
}

.pricing-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 34px;
  align-items: center;
}

.pricing-card {
  min-height: 210px;
  display: grid;
  align-content: center;
  gap: 12px;
}

.pricing-card span {
  color: var(--brand-champagne-dark);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pricing-card strong {
  color: var(--brand-burgundy-dark);
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
}

.about-section {
  text-align: center;
}

.about-section h2,
.about-section p {
  margin-left: auto;
  margin-right: auto;
}

.landing-footer {
  display: grid;
  grid-template-columns: minmax(260px, .7fr) 1fr;
  gap: 28px;
  align-items: center;
  background: #2b0a0d;
  color: white;
  padding: 36px clamp(18px, 6vw, 96px);
}

.footer-brand {
  color: white;
}

.footer-brand .tec-mark {
  width: 58px;
  height: 58px;
  color: var(--brand-champagne);
  border-color: var(--brand-champagne);
  font-size: 20px;
}

.footer-brand strong {
  display: block;
  font-size: 28px;
}

.landing-footer nav {
  display: flex;
  gap: 14px 22px;
  justify-content: end;
  flex-wrap: wrap;
}

.landing-footer a {
  color: rgba(255,255,255,.86);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.landing-footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .landing-header {
    grid-template-columns: 1fr auto auto;
  }
  .tec-wordmark small {
    display: none;
  }
  .landing-nav {
    gap: 16px;
  }
  .feature-grid,
  .resources-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .step-grid,
  .value-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value-bar article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .landing-header {
    grid-template-columns: 1fr auto;
  }
  .landing-menu-toggle {
    display: inline-grid;
  }
  .landing-nav,
  .landing-actions {
    grid-column: 1 / -1;
    display: none;
  }
  .landing-header.menu-open .landing-nav,
  .landing-header.menu-open .landing-actions {
    display: flex;
  }
  .landing-header.menu-open .landing-nav {
    flex-direction: column;
    align-items: stretch;
    padding-top: 8px;
  }
  .landing-header.menu-open .landing-actions {
    justify-content: stretch;
  }
  .landing-header.menu-open .landing-actions button {
    flex: 1;
  }
  .hero-floral {
    width: 42vw;
    opacity: .55;
  }
  .pricing-section,
  .landing-footer {
    grid-template-columns: 1fr;
  }
  .landing-footer nav {
    justify-content: start;
  }
}

@media (max-width: 700px) {
  .tec-mark {
    width: 54px;
    height: 54px;
    font-size: 19px;
  }
  .tec-wordmark strong {
    font-size: 26px;
  }
  .landing-hero {
    min-height: 760px;
    padding-top: 44px;
  }
  .hero-floral {
    display: none;
  }
  .hero-tagline {
    font-size: 34px;
  }
  .hero-actions,
  .auth-actions {
    flex-direction: column;
  }
  .hero-primary,
  .hero-secondary {
    width: 100%;
  }
  .auth-panel .auth-form {
    grid-template-columns: 1fr;
  }
  .auth-panel .portal-selector,
  .auth-panel .auth-actions,
  .auth-panel .form-status {
    grid-column: auto;
  }
  .value-bar,
  .feature-grid,
  .resources-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }
  .value-bar article {
    border-right: 0;
    border-bottom: 1px solid rgba(217,184,117,.35);
    padding: 18px 0;
  }
  .value-bar article:last-child {
    border-bottom: 0;
  }
  .table-setting {
    transform: scale(.74);
  }
  .setting-left {
    left: -42px;
  }
  .setting-right {
    right: -42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page *,
  .landing-page *::before,
  .landing-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
  }
}

/* Approved homepage artwork correction */
.approved-homepage .landing-header {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(82px, 8vw, 126px);
  z-index: 10;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  filter: none;
}

.approved-homepage .landing-logo,
.approved-homepage .landing-nav,
.approved-homepage .landing-actions {
  opacity: 0;
}

.approved-homepage .landing-logo,
.approved-homepage .landing-nav a,
.approved-homepage .landing-actions button {
  pointer-events: auto;
}

.approved-homepage .landing-hero {
  min-height: auto;
  height: clamp(610px, 55.34vw, 850px);
  padding: 0;
  background: url("assets/the-event-central-approved-homepage.png") top center / 100% auto no-repeat, var(--brand-ivory);
}

.approved-homepage .hero-floral,
.approved-homepage .hero-table-scene {
  display: none;
}

.approved-homepage .hero-center {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  max-width: none;
  pointer-events: none;
}

.approved-homepage .hero-logo-stack,
.approved-homepage .hero-center h1,
.approved-homepage .hero-tagline,
.approved-homepage .hero-support {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.approved-homepage .hero-actions {
  position: absolute;
  left: 50%;
  top: 79%;
  display: grid;
  width: min(590px, 38.5vw);
  height: clamp(54px, 4.42vw, 68px);
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.2vw, 34px);
  transform: translateX(-50%);
  pointer-events: auto;
}

.approved-homepage .hero-primary,
.approved-homepage .hero-secondary {
  width: 100%;
  min-height: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: transparent;
  padding: 0;
}

.approved-homepage .hero-primary svg,
.approved-homepage .hero-secondary svg {
  opacity: 0;
}

.approved-homepage .hero-primary:focus-visible,
.approved-homepage .hero-secondary:focus-visible,
.approved-homepage .landing-actions button:focus-visible,
.approved-homepage .landing-nav a:focus-visible,
.approved-homepage .landing-logo:focus-visible {
  outline: 3px solid var(--brand-champagne);
  outline-offset: 4px;
  opacity: 1;
}

.approved-homepage .auth-panel {
  margin-top: clamp(92px, 8vw, 130px);
}

@media (min-width: 1537px) {
  .approved-homepage .landing-hero {
    height: min(850px, 55.34vw);
    background-size: 1536px auto;
  }
}

@media (max-width: 900px) {
  .approved-homepage .landing-header {
    position: sticky;
    height: auto;
    background: rgba(255, 247, 235, .92);
    border-bottom: 1px solid rgba(104, 21, 27, .08);
    backdrop-filter: blur(2px);
  }
  .approved-homepage .landing-logo,
  .approved-homepage .landing-nav,
  .approved-homepage .landing-actions {
    opacity: 1;
  }
  .approved-homepage .landing-hero {
    min-height: 760px;
    height: auto;
    padding: 92px 18px 54px;
    background:
      linear-gradient(180deg, rgba(255,247,235,.58), rgba(255,247,235,.88) 38%, rgba(255,247,235,.96)),
      url("assets/the-event-central-approved-homepage.png") top center / cover no-repeat;
  }
  .approved-homepage .hero-center {
    position: relative;
    inset: auto;
    width: min(680px, 100%);
    margin: 0 auto;
    pointer-events: auto;
  }
  .approved-homepage .hero-logo-stack,
  .approved-homepage .hero-center h1,
  .approved-homepage .hero-tagline,
  .approved-homepage .hero-support {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
  .approved-homepage .hero-actions {
    position: static;
    display: flex;
    width: auto;
    height: auto;
    transform: none;
  }
  .approved-homepage .hero-primary,
  .approved-homepage .hero-secondary {
    min-height: 54px;
    color: inherit;
    padding: 0 28px;
  }
  .approved-homepage .hero-primary {
    border: 1px solid var(--brand-burgundy-dark);
    background: linear-gradient(180deg, var(--brand-burgundy), var(--brand-burgundy-dark));
    color: white;
    box-shadow: 0 16px 34px rgba(74,15,20,.22);
  }
  .approved-homepage .hero-secondary {
    border: 1px solid var(--brand-burgundy);
    background: rgba(255,247,235,.78);
    color: var(--brand-burgundy-dark);
  }
  .approved-homepage .hero-primary svg,
  .approved-homepage .hero-secondary svg {
    opacity: 1;
  }
}

/* Separate Founder Admin access */
.founder-login-screen {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 12%, rgba(255,247,235,.12), transparent 38%),
    linear-gradient(135deg, #26070a, var(--brand-burgundy-dark) 54%, #1b0709);
  color: white;
  padding: 28px;
}

.founder-login-shell {
  display: grid;
  min-height: calc(100vh - 56px);
  place-items: center;
}

.founder-login-logo {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--brand-ivory);
}

.founder-login-logo .tec-mark {
  width: 58px;
  height: 58px;
  border-color: var(--brand-champagne);
  color: var(--brand-champagne);
  font-size: 20px;
}

.founder-login-logo .tec-wordmark strong {
  color: white;
  font-size: 30px;
}

.founder-login-logo .tec-wordmark small {
  display: block;
  color: var(--brand-champagne);
}

.founder-login-card {
  width: min(560px, 100%);
  margin-top: 92px;
  border: 1px solid rgba(217,184,117,.28);
  border-radius: 10px;
  background: rgba(255, 247, 235, .96);
  color: var(--brand-ink);
  box-shadow: 0 32px 90px rgba(0,0,0,.34);
  padding: clamp(24px, 5vw, 40px);
}

.founder-login-card h1 {
  margin-bottom: 14px;
  color: var(--brand-burgundy-dark);
  font-size: clamp(42px, 7vw, 68px);
}

.founder-login-card > p:not(.kicker) {
  color: var(--brand-muted);
  line-height: 1.65;
}

.founder-login-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.founder-login-form input {
  border-color: var(--brand-line);
  background: white;
}

.founder-login-form .auth-actions {
  display: flex;
  grid-column: auto;
  gap: 10px;
  flex-wrap: wrap;
}

.founder-login-form .form-status {
  grid-column: auto;
  color: var(--brand-muted);
}

.founder-security-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin-top: 22px;
  border: 1px solid rgba(104,21,27,.16);
  border-radius: 8px;
  background: rgba(104,21,27,.05);
  padding: 14px;
}

.founder-security-note svg {
  color: var(--brand-champagne-dark);
}

.founder-security-note div {
  display: grid;
  gap: 3px;
}

.founder-security-note span {
  color: var(--brand-muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .founder-login-logo {
    position: static;
    justify-self: start;
    margin-bottom: 22px;
  }
  .founder-login-shell {
    place-items: start stretch;
  }
  .founder-login-card {
    margin-top: 0;
  }
  .founder-login-form .auth-actions {
    flex-direction: column;
  }
}
