:root {
  --bg: #f4f0e8;
  --paper: #fffdf9;
  --ink: #1f1d1b;
  --muted: #77716b;
  --line: #ded8cf;
  --coral: #f06a58;
  --coral-soft: #f7c3ba;
  --sage: #bad7bd;
  --lilac: #cfc4ea;
  --butter: #f0dc8a;
  --dark-green: #324f45;
  --shadow: 0 18px 55px rgba(50, 42, 36, .08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.app-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 252px;
  padding: 30px 22px 22px;
  background: #211f1e;
  color: #f8f3eb;
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  margin-bottom: 42px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  transform: rotate(-7deg);
}

.brand-copy {
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 13px;
}

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #a9a39d;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 13px;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: .2s ease;
}

.nav-item:hover { background: rgba(255,255,255,.05); color: white; }
.nav-item.active { background: #f5f0e8; color: #1f1d1b; }
.nav-icon { font-size: 17px; }
.nav-badge {
  min-width: 23px;
  height: 23px;
  padding: 0 7px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.sidebar-bottom { margin-top: auto; }
.mini-event {
  padding: 17px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}
.mini-event .eyebrow { color: #8d8782; }
.mini-event strong { font-size: 14px; letter-spacing: .05em; }
.mini-event > span:last-child { color: #bcb5af; font-size: 12px; }

.profile-card {
  width: 100%;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
}
.profile-card:hover { background: rgba(255,255,255,.05); }
.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #554f4a;
  font-family: "DM Serif Display", serif;
  font-size: 18px;
}
.profile-copy { display: flex; flex-direction: column; }
.profile-copy strong { font-size: 13px; }
.profile-copy small { color: #928b86; font-size: 11px; margin-top: 2px; }

.main {
  margin-left: 252px;
  padding: 32px clamp(26px, 4vw, 64px) 80px;
  max-width: 1680px;
}

.topbar {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}
.topbar h1 {
  margin: 4px 0 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(31px, 4vw, 46px);
  font-weight: 400;
  line-height: 1;
}
.soft-heart { color: var(--coral); }
.topbar-actions { display: flex; gap: 10px; }

.eyebrow {
  margin: 0;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--muted);
}

.primary-button, .ghost-button, .text-button, .icon-button, .filter-chip,
.pagination button, .message-controls button {
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, opacity .18s ease;
}
.primary-button:active, .ghost-button:active, .icon-button:active { transform: translateY(1px); }

.primary-button {
  min-height: 43px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}
.primary-button:hover { opacity: .86; }
.ghost-button {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}
.ghost-button:hover { background: #f7f3ed; }
.text-button {
  background: transparent;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
}
.icon-button {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
.notification-dot {
  position: absolute;
  right: 9px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
}
.no-underline { text-decoration: none; }

.view { display: none; animation: fadeIn .28s ease; }
.view.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.hero-card {
  min-height: 330px;
  background: var(--coral-soft);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: clamp(34px, 5vw, 60px);
  max-width: 690px;
  z-index: 2;
}
.hero-copy .eyebrow { color: #8f4037; }
.hero-copy h2 {
  margin: 14px 0 16px;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: clamp(46px, 6vw, 72px);
  line-height: .94;
  letter-spacing: -.025em;
}
.hero-copy h2 em { font-weight: 400; }
.hero-copy > p:not(.eyebrow) {
  max-width: 530px;
  margin: 0;
  color: #6d4d48;
  font-size: 14px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.hero-art {
  position: relative;
  min-height: 330px;
  overflow: hidden;
}
.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border: 1.4px solid rgba(31,29,27,.35);
  border-radius: 50%;
}
.hero-art::before {
  width: 270px; height: 270px;
  right: 44px; top: 18px;
}
.hero-art::after {
  width: 220px; height: 220px;
  right: -25px; bottom: -70px;
}
.hero-date {
  width: 182px;
  height: 225px;
  background: #fffaf3;
  position: absolute;
  right: 95px;
  top: 51px;
  transform: rotate(6deg);
  border: 1px solid rgba(31,29,27,.12);
  box-shadow: 0 18px 30px rgba(100,50,44,.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-date span, .hero-date small {
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 700;
}
.hero-date strong {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: 82px;
  line-height: .9;
}
.doodle { position: absolute; font-family: "DM Serif Display", serif; }
.doodle-one { font-size: 52px; top: 25px; right: 24px; transform: rotate(12deg); }
.doodle-two { font-size: 35px; left: 30px; bottom: 42px; }
.doodle-three {
  left: 18px; top: 36px;
  font-size: 17px;
  line-height: .9;
  font-style: italic;
  transform: rotate(-9deg);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}
.kpi-card {
  min-height: 164px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(125,115,105,.14);
  padding: 21px;
  display: flex;
  flex-direction: column;
}
.kpi-heading { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.kpi-icon {
  width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; font-weight: 700;
}
.coral { background: #f9d5cf; }
.lilac { background: #e8e1f5; }
.sage { background: #dfeee0; }
.butter { background: #f6edc8; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.kpi-number {
  font-family: "DM Serif Display", serif;
  font-size: 45px;
  font-weight: 400;
  margin-top: 18px;
  line-height: 1;
}
.kpi-number small { font: 500 14px "DM Sans", sans-serif; color: #8f8983; }
.kpi-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 11px; color: var(--muted); margin-top: auto;
}
.trend { color: var(--dark-green); font-weight: 700; }
.tiny-link { border: 0; background: transparent; text-decoration: underline; cursor: pointer; font-size: 11px; }

.overview-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  margin-bottom: 14px;
}
.lower-grid { grid-template-columns: .95fr 1.05fr; }
.panel {
  background: var(--paper);
  border: 1px solid rgba(125,115,105,.14);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.panel-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  margin-bottom: 22px;
}
.panel-header h3 {
  margin: 5px 0 0;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-size: 25px;
}
.status-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 28px;
}
.donut-wrap { display: grid; place-items: center; }
.donut {
  width: 164px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.donut::after {
  content: "";
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--paper);
  position: absolute;
}
.donut-center {
  position: relative;
  z-index: 2;
  text-align: center;
  display: grid;
}
.donut-center strong { font: 400 36px "DM Serif Display", serif; line-height: 1; }
.donut-center span { color: var(--muted); font-size: 11px; margin-top: 4px; }
.legend { display: grid; gap: 12px; }
.legend-row {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  align-items: center;
  gap: 10px;
}
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-row span { font-size: 12px; color: var(--muted); }
.legend-row strong { font-size: 13px; }
.deadline {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.deadline > div { display: flex; align-items: center; gap: 11px; }
.deadline-icon {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #f7dfda; color: #a93b2c; font-weight: 700;
}
.deadline strong { font-size: 12px; }
.deadline p { margin: 2px 0 0; font-size: 11px; color: var(--muted); }

.live-pill, .count-pill {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  padding: 7px 10px;
}
.live-pill { background: #e5efe5; color: #365944; }
.live-pill i {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #4e8b62; margin-right: 5px;
}
.count-pill { background: #eee8df; }

.activity-list { display: grid; }
.activity-item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #ebe6df;
}
.activity-item:last-child { border-bottom: 0; }
.activity-avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: #eee8df; font: 400 15px "DM Serif Display", serif;
}
.activity-copy strong { display: block; font-size: 12px; font-weight: 600; }
.activity-copy small { display: block; color: var(--muted); font-size: 10px; margin-top: 2px; }
.activity-status { font-size: 11px; font-weight: 700; }
.activity-status.yes { color: #467259; }
.activity-status.no { color: #b45446; }

.todo-list { display: grid; gap: 8px; }
.todo-item {
  width: 100%;
  border: 0;
  background: #f7f3ed;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 14px;
  cursor: pointer;
}
.todo-item:hover { background: #f1ebe3; }
.todo-check {
  width: 35px; height: 35px; border-radius: 50%; display: grid; place-items: center;
  background: white; border: 1px solid var(--line); font-size: 10px; font-weight: 700;
}
.todo-item strong { display: block; font-size: 12px; }
.todo-item small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }

.message-panel { background: #2d3028; color: #f7f2ea; }
.message-panel .eyebrow { color: #aaa99c; }
.message-controls { display: flex; gap: 7px; }
.message-controls button {
  width: 32px; height: 32px; border-radius: 50%; background: transparent; border: 1px solid rgba(255,255,255,.2); color: white;
}
.message-panel blockquote {
  margin: 35px 0 20px;
  font: 400 clamp(22px, 2.5vw, 31px)/1.2 "DM Serif Display", serif;
  max-width: 720px;
}
.message-author { color: #aaa99c; font-size: 11px; margin: 0; }

/* Section headings */
.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 12px 0 26px;
}
.section-intro h2 {
  margin: 7px 0 6px;
  font: 400 clamp(40px, 5vw, 58px)/.98 "DM Serif Display", serif;
}
.section-copy { margin: 0; color: var(--muted); font-size: 13px; }
.rsvp-total { text-align: right; }
.rsvp-total strong { display: block; font: 400 42px "DM Serif Display", serif; }
.rsvp-total span { color: var(--muted); font-size: 11px; }

/* Guests */
.guest-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.stat-strip-card {
  border-radius: 16px;
  padding: 15px 17px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(125,115,105,.13);
}
.stat-strip-card strong { font: 400 26px "DM Serif Display", serif; }
.stat-strip-card span { display: block; font-size: 10px; color: var(--muted); margin-top: 2px; }

.table-panel { padding: 0; overflow: hidden; }
.table-toolbar {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.search-field {
  height: 42px;
  min-width: 230px;
  background: #f7f3ed;
  border: 1px solid #e7e0d7;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
}
.search-field input {
  min-width: 0;
  width: 100%;
  outline: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
}
.search-field.compact { min-width: 0; width: 100%; }
.filter-row { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.filter-chip {
  height: 34px; padding: 0 12px; border-radius: 999px; background: transparent; border: 1px solid var(--line); font-size: 10px; font-weight: 600;
}
.filter-chip.active { background: var(--ink); color: white; border-color: var(--ink); }

.desktop-table-wrap { overflow-x: auto; }
.guest-table { width: 100%; border-collapse: collapse; min-width: 800px; }
.guest-table th {
  text-align: left; padding: 12px 20px; background: #faf7f2; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; color: #8f8983;
}
.guest-table td { padding: 15px 20px; border-top: 1px solid #eee9e2; font-size: 11px; }
.guest-table tbody tr { cursor: pointer; transition: background .15s ease; }
.guest-table tbody tr:hover { background: #fbf7f2; }
.guest-name { font-size: 12px; font-weight: 600; }
.guest-meta { font-size: 9px; color: var(--muted); margin-top: 3px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 0 10px; border-radius: 999px; font-size: 9px; font-weight: 700;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.status-confirmed { background: #e6f0e7; color: #456652; }
.status-confirmed::before { background: #5d8f6d; }
.status-pending { background: #f7efd5; color: #856d2a; }
.status-pending::before { background: #c6a84a; }
.status-declined { background: #f7e1dd; color: #965043; }
.status-declined::before { background: #c36c5c; }
.status-unknown { background: #ece8e3; color: #6e6862; }
.status-unknown::before { background: #8c857e; }
.sent-yes { color: #4e725a; }
.sent-no { color: #a65448; }
.table-link-button, .row-more {
  border: 0; background: transparent; cursor: pointer; font-size: 10px; text-decoration: underline;
}
.row-more { text-decoration: none; font-size: 18px; }
.pagination {
  padding: 15px 20px;
  display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted);
}
.pagination div { display: flex; gap: 7px; }
.pagination button {
  width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: white;
}
.pagination button:disabled { opacity: .35; cursor: default; }
.mobile-guest-list { display: none; }

/* RSVP */
.rsvp-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  margin-bottom: 14px;
}
.rsvp-response-list { display: grid; }
.rsvp-response-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  align-items: center;
  border-bottom: 1px solid #ebe6df;
}
.rsvp-response-item:last-child { border-bottom: 0; }
.date-square {
  width: 44px; height: 44px; border-radius: 12px; background: #f2ece4; display: grid; place-items: center; text-align: center;
}
.date-square strong { font: 400 19px "DM Serif Display", serif; line-height: .8; }
.date-square small { font-size: 8px; letter-spacing: .08em; }
.rsvp-names strong { display: block; font-size: 12px; }
.rsvp-names small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.people-status { display: flex; gap: 4px; }
.mini-yes, .mini-no {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700;
}
.mini-yes { background: #e5efe5; color: #42644d; }
.mini-no { background: #f6dfdb; color: #9b4d41; }

.dietary-list {
  max-height: 450px;
  overflow: auto;
  padding-right: 6px;
}
.dietary-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #ebe6df;
}
.dietary-item:last-child { border-bottom: 0; }
.dietary-icon {
  width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #f4e9c7; font-size: 12px;
}
.dietary-item strong { display: block; font-size: 11px; }
.dietary-item p { margin: 2px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.message-grid {
  columns: 3 260px;
  column-gap: 12px;
}
.message-card {
  break-inside: avoid;
  margin-bottom: 12px;
  background: #f7f3ed;
  border-radius: 16px;
  padding: 18px;
}
.message-card p {
  margin: 0 0 15px;
  font: 400 16px/1.35 "DM Serif Display", serif;
}
.message-card small { color: var(--muted); font-size: 9px; }

/* Seating */
.seating-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(125,115,105,.14);
  background: var(--paper);
  border-radius: 18px;
  margin-bottom: 14px;
  overflow: hidden;
}
.seating-summary > div {
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}
.seating-summary > div:last-child { border-right: 0; }
.seating-summary span { display: block; font-size: 10px; }
.seating-summary strong { font: 400 30px "DM Serif Display", serif; }
.seating-workspace {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 590px;
  border: 1px solid rgba(125,115,105,.14);
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.unassigned-panel { padding: 21px; border-right: 1px solid var(--line); }
.unassigned-list { display: grid; gap: 7px; margin-top: 14px; max-height: 450px; overflow: auto; }
.unassigned-person {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 11px; border-radius: 12px; background: #f7f3ed; font-size: 10px;
}
.unassigned-person strong { font-weight: 600; }
.unassigned-person span { color: var(--muted); }
.tables-area {
  padding: 25px;
  background-color: #f7f3ed;
  background-image: radial-gradient(#d8d0c7 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  position: relative;
}
.empty-seating {
  max-width: 390px;
  margin: 120px auto;
  text-align: center;
}
.empty-seating h3 { font: 400 31px "DM Serif Display", serif; margin: 15px 0 8px; }
.empty-seating p { margin: 0 auto 20px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.empty-rings { display: flex; justify-content: center; }
.empty-rings span {
  width: 50px; height: 50px; border: 1px solid #b9afa4; border-radius: 50%; margin-left: -8px;
}
.table-card {
  width: min(100%, 560px);
  margin: 15px auto;
  background: rgba(255,253,249,.94);
  border: 1px solid #dcd4ca;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
}
.table-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.table-card-header h3 { margin: 0; font: 400 24px "DM Serif Display", serif; }
.table-card-header span { font-size: 10px; color: var(--muted); }
.seat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
.seat {
  min-height: 42px; border: 1px dashed #ccc2b7; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--muted); background: #fbf8f4;
}

/* Website */
.website-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; }
.website-preview { padding: 0; overflow: hidden; }
.browser-bar {
  min-height: 46px;
  display: flex; align-items: center; gap: 6px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f5f0ea;
}
.browser-bar > span { width: 7px; height: 7px; border-radius: 50%; background: #b9b0a7; }
.browser-bar > div {
  margin-left: 8px; flex: 1; background: white; border: 1px solid #e1dad2; border-radius: 8px; padding: 5px 10px; text-align: center; font-size: 9px; color: var(--muted);
}
.invite-mock {
  min-height: 570px;
  padding: 70px 45px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(240,106,88,.22), transparent 24%),
    radial-gradient(circle at 20% 75%, rgba(207,196,234,.42), transparent 25%),
    #f3e9dd;
  position: relative;
}
.invite-kicker { font-size: 9px; letter-spacing: .2em; font-weight: 700; }
.invite-mock h3 {
  margin: 60px 0 22px;
  font: 400 clamp(60px, 8vw, 104px)/.78 "DM Serif Display", serif;
  letter-spacing: -.04em;
}
.invite-mock h3 em { font-weight: 400; }
.invite-date { font-size: 11px; letter-spacing: .22em; }
.invite-scribble {
  position: absolute; right: 10%; bottom: 14%; font: italic 20px "DM Serif Display", serif; transform: rotate(-8deg);
}
.website-side { display: grid; gap: 14px; align-content: start; }
.copy-field {
  margin-top: 18px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  overflow: hidden;
}
.copy-field span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; }
.copy-field button { align-self: stretch; border: 0; border-left: 1px solid var(--line); background: #f6f1ea; padding: 0 14px; cursor: pointer; font-size: 10px; font-weight: 700; }
.share-card h3, .site-status-card h3 { margin: 6px 0 0; font: 400 26px "DM Serif Display", serif; }
.site-status-row { display: flex; align-items: center; justify-content: space-between; }
.status-dot-live { width: 12px; height: 12px; border-radius: 50%; background: #6f9c7c; box-shadow: 0 0 0 6px #e4eee5; }
.site-meta { display: grid; gap: 12px; margin-top: 25px; }
.site-meta div { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 11px; border-bottom: 1px solid var(--line); font-size: 10px; }
.site-meta div:last-child { border-bottom: 0; }
.site-meta span { color: var(--muted); }
.site-meta strong { font-size: 11px; }

/* Modal + toast */
.guest-dialog {
  width: min(92vw, 520px);
  border: 0;
  border-radius: 24px;
  padding: 30px;
  background: var(--paper);
  box-shadow: 0 35px 100px rgba(0,0,0,.25);
}
.guest-dialog::backdrop { background: rgba(31,29,27,.45); backdrop-filter: blur(4px); }
.dialog-close {
  position: absolute; top: 14px; right: 16px; border: 0; background: transparent; font-size: 25px; cursor: pointer;
}
.guest-dialog h3 { font: 400 34px/1.05 "DM Serif Display", serif; margin: 8px 0 12px; }
.dialog-status { margin-bottom: 20px; }
.dialog-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-bottom: 22px;
}
.dialog-detail { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.dialog-detail span { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.dialog-detail strong { display: block; margin-top: 5px; font-size: 11px; overflow-wrap: anywhere; }
.dialog-actions { display: flex; gap: 8px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: #211f1e;
  color: white;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 11px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.mobile-nav { display: none; }

/* Responsive */
@media (max-width: 1150px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid, .lower-grid, .rsvp-grid, .website-grid { grid-template-columns: 1fr; }
  .hero-card { grid-template-columns: 1fr .65fr; }
  .table-toolbar { align-items: flex-start; flex-direction: column; }
  .filter-row { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .sidebar { display: none; }
  .main { margin-left: 0; padding: 22px 16px 105px; }
  .topbar { align-items: center; margin-bottom: 20px; }
  .topbar .primary-button { display: none; }
  .hero-card { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 34px 25px; }
  .hero-copy h2 { font-size: 50px; }
  .hero-art { min-height: 250px; border-top: 1px solid rgba(31,29,27,.12); }
  .hero-date { right: 50%; transform: translateX(50%) rotate(5deg); top: 18px; height: 195px; }
  .doodle-three { left: 8%; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-card { min-height: 145px; padding: 17px; }
  .kpi-number { font-size: 38px; }
  .status-layout { grid-template-columns: 1fr; }
  .deadline { align-items: flex-start; flex-direction: column; }
  .section-intro { align-items: flex-start; flex-direction: column; }
  .section-intro .primary-button { width: 100%; }
  .rsvp-total { text-align: left; }
  .guest-stats { grid-template-columns: repeat(2, 1fr); }
  .desktop-table-wrap { display: none; }
  .mobile-guest-list { display: grid; }
  .mobile-guest-card {
    padding: 15px 18px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10px;
    cursor: pointer;
  }
  .mobile-guest-top, .mobile-guest-bottom { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
  .mobile-guest-bottom { font-size: 9px; color: var(--muted); }
  .message-grid { columns: 2 220px; }
  .seating-workspace { grid-template-columns: 1fr; }
  .unassigned-panel { border-right: 0; border-bottom: 1px solid var(--line); max-height: 300px; }
  .tables-area { min-height: 500px; }
  .mobile-nav {
    position: fixed;
    z-index: 60;
    left: 10px; right: 10px; bottom: 10px;
    min-height: 65px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 7px;
    border-radius: 20px;
    background: rgba(33,31,30,.96);
    box-shadow: 0 15px 45px rgba(0,0,0,.25);
    backdrop-filter: blur(15px);
  }
  .mobile-nav-item {
    border: 0; background: transparent; color: #918a83; display: grid; place-items: center; align-content: center; gap: 2px; border-radius: 14px;
  }
  .mobile-nav-item span { font-size: 16px; }
  .mobile-nav-item small { font-size: 8px; }
  .mobile-nav-item.active { background: #f5f0e8; color: #211f1e; }
}

@media (max-width: 520px) {
  .topbar h1 { font-size: 31px; }
  .hero-copy h2 { font-size: 44px; }
  .hero-copy > p:not(.eyebrow) { font-size: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .text-button { text-align: left; }
  .kpi-grid { gap: 8px; }
  .kpi-card { border-radius: 16px; min-height: 139px; }
  .kpi-heading { align-items: flex-start; }
  .kpi-number { font-size: 34px; }
  .overview-grid { gap: 9px; }
  .panel { padding: 19px; border-radius: 17px; }
  .panel-header { margin-bottom: 18px; }
  .panel-header h3 { font-size: 22px; }
  .activity-item { grid-template-columns: 32px 1fr auto; }
  .message-panel blockquote { font-size: 24px; }
  .section-intro h2 { font-size: 43px; }
  .table-toolbar { padding: 15px; }
  .search-field { min-width: 0; width: 100%; }
  .filter-row { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 3px; }
  .filter-chip { white-space: nowrap; }
  .message-grid { columns: 1; }
  .seating-summary { grid-template-columns: 1fr; }
  .seating-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .seating-summary > div:last-child { border-bottom: 0; }
  .invite-mock { min-height: 480px; padding: 55px 20px; }
  .invite-mock h3 { font-size: 65px; }
  .dialog-grid { grid-template-columns: 1fr; }
}
