:root {
  --bg: #f5f7f2;
  --bg-deep: #eef2ea;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --surface-soft: rgba(255, 255, 255, 0.58);
  --ink: #13202c;
  --ink-soft: #41505f;
  --line: rgba(19, 32, 44, 0.12);
  --line-strong: rgba(19, 32, 44, 0.2);
  --orange: #ff7d00;
  --orange-strong: #f05a00;
  --green: #41ad32;
  --green-strong: #177f30;
  --navy: #0f1720;
  --navy-soft: #1c2835;
  --success: #0e8d63;
  --danger: #d92d20;
  --shadow: 0 22px 70px rgba(16, 24, 32, 0.12);
  --shadow-soft: 0 14px 40px rgba(16, 24, 32, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(255, 125, 0, 0.14), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(65, 173, 50, 0.16), transparent 26%),
    radial-gradient(circle at 50% 78%, rgba(15, 23, 32, 0.06), transparent 34%),
    linear-gradient(180deg, #fbfcfa 0%, var(--bg) 45%, var(--bg-deep) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -80px;
  right: -80px;
  background: rgba(255, 125, 0, 0.18);
}

body::after {
  bottom: -120px;
  left: -100px;
  background: rgba(65, 173, 50, 0.16);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 22px 16px 42px;
}

.narrow-shell {
  max-width: 780px;
}

main,
.dashboard,
.grid,
.stack-form,
.list-stack {
  display: grid;
  gap: 18px;
}

.hero,
.topbar,
.dashboard-strip,
.grid,
.two-cols,
.split-grid,
.panel,
.panel-wide,
.stack-form,
.list-stack,
.identity-card {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 18px;
  margin-bottom: 20px;
}

.hero-copy,
.hero-card,
.panel,
.metric-card,
.topbar {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-copy,
.hero-card {
  padding: 24px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -50px -70px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 125, 0, 0.14), transparent 68%);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 24px rgba(15, 23, 32, 0.12));
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.eyebrow,
.panel-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--orange-strong);
}

.brand-tagline {
  color: var(--green-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero h1,
.panel h1,
.panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 56ch;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-card {
  display: grid;
  align-content: start;
  gap: 14px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    linear-gradient(135deg, rgba(255, 125, 0, 0.08), rgba(65, 173, 50, 0.1));
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 32, 0.9);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card strong {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero-card span {
  color: var(--ink-soft);
  line-height: 1.7;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 18px;
}

.topbar-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
  box-shadow: var(--shadow-soft);
}

.topbar strong {
  display: block;
  font-size: 1rem;
}

.topbar span,
.info-box span,
.hero-card span,
.panel p,
.list-card span,
.list-card p,
.choice-card small,
.choice-card em {
  color: var(--ink-soft);
}

.flash {
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}

.flash.success {
  background: rgba(14, 141, 99, 0.12);
  border-color: rgba(14, 141, 99, 0.18);
  color: var(--success);
}

.flash.error {
  background: rgba(217, 45, 32, 0.1);
  border-color: rgba(217, 45, 32, 0.18);
  color: var(--danger);
}

.dashboard-strip,
.grid,
.split-grid,
.two-cols {
  display: grid;
  gap: 16px;
}

.dashboard-strip {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.grid.two-cols {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.split-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.metric-card {
  padding: 20px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.58)),
    linear-gradient(135deg, rgba(255, 125, 0, 0.08), rgba(65, 173, 50, 0.1));
}

.metric-card span {
  display: block;
  margin-bottom: 10px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--ink-soft);
}

.metric-card strong {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-family: "Cormorant Garamond", Georgia, serif;
}

.capacity-banner {
  display: grid;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.capacity-copy {
  display: grid;
  gap: 6px;
}

.capacity-copy h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--navy);
}

.capacity-copy p:last-child {
  margin: 0;
  font-weight: 700;
}

.capacity-banner-ok {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)),
    linear-gradient(135deg, rgba(65, 173, 50, 0.1), rgba(65, 173, 50, 0.02));
}

.capacity-banner-neutral {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(15, 23, 32, 0.06), rgba(15, 23, 32, 0.02));
}

.capacity-banner-warning {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74)),
    linear-gradient(135deg, rgba(255, 125, 0, 0.16), rgba(255, 125, 0, 0.04));
  border-color: rgba(255, 125, 0, 0.24);
}

.capacity-banner-danger {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(217, 45, 32, 0.14), rgba(217, 45, 32, 0.03));
  border-color: rgba(217, 45, 32, 0.22);
}

.capacity-banner-danger h3,
.capacity-banner-danger [data-capacity-message] {
  color: var(--danger);
}

.capacity-banner-warning h3,
.capacity-banner-warning [data-capacity-message] {
  color: var(--orange-strong);
}

.panel {
  padding: 22px;
  margin: 0;
}

.panel-featured {
  min-height: 100%;
}

.panel-wide {
  width: 100%;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.panel-head-spaced {
  margin-top: 22px;
}

.panel h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.stack-form,
.list-stack {
  display: grid;
  gap: 14px;
}

.tab-bar {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.sticky-tab-bar {
  position: sticky;
  top: 8px;
  z-index: 30;
  padding: 10px;
  border-radius: 22px;
  background: rgba(245, 247, 242, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 16px 36px rgba(19, 32, 44, 0.08);
}

.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: max-content;
  padding: 13px 18px;
  border: 1px solid rgba(19, 32, 44, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  border-radius: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.tab-button.is-active {
  background: linear-gradient(135deg, var(--orange), var(--green));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 32px rgba(34, 111, 40, 0.18);
}

.tab-panel {
  display: none;
  gap: 18px;
}

.tab-panel.is-active,
.tab-panel:target,
.tab-panel[hidden]:target {
  display: grid !important;
}

.tab-panel[hidden] {
  display: none !important;
}

.action-row,
.filter-toolbar,
.filter-actions,
.print-head,
.inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.spaced-inline {
  justify-content: space-between;
}

.filter-toolbar label {
  min-width: 180px;
  flex: 1 1 180px;
}

.filter-actions {
  align-self: end;
}

.sticky-panel-head {
  position: sticky;
  top: 88px;
  z-index: 18;
  padding: 10px 0 12px;
  background:
    linear-gradient(180deg, rgba(245, 247, 242, 0.96), rgba(245, 247, 242, 0.84) 72%, rgba(245, 247, 242, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sticky-toolbar {
  position: sticky;
  top: 170px;
  z-index: 17;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

label,
input,
select,
textarea,
button {
  font: inherit;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(19, 32, 44, 0.12);
  border-radius: 16px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(255, 125, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 125, 0, 0.14);
  transform: translateY(-1px);
}

textarea {
  min-height: 118px;
  resize: vertical;
}

button,
.button-link {
  appearance: none;
  border: 0;
  border-radius: 16px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    border-color 0.16s ease;
}

button:hover,
.button-link:hover {
  transform: translateY(-2px) scale(1.01);
  filter: saturate(1.04);
}

button:active,
.button-link:active {
  transform: translateY(0);
}

.primary-btn {
  background: linear-gradient(135deg, var(--orange), var(--orange-strong));
  color: #fff;
  box-shadow: 0 16px 30px rgba(240, 90, 0, 0.22);
}

.secondary-btn {
  background: linear-gradient(135deg, var(--green), var(--green-strong));
  color: #fff;
  box-shadow: 0 16px 30px rgba(23, 127, 48, 0.2);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border: 1px solid rgba(19, 32, 44, 0.12);
  box-shadow: var(--shadow-soft);
}

.danger-btn {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #fff;
  box-shadow: 0 16px 30px rgba(185, 28, 28, 0.24);
}

.bordered-form {
  border-top: 1px dashed rgba(19, 32, 44, 0.14);
  padding-top: 16px;
}

.info-box,
.list-card,
.course-block,
.mini-qr,
.qr-showcase {
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.info-box {
  padding: 16px;
  border-radius: 18px;
  display: grid;
  gap: 6px;
}

.info-box strong {
  color: var(--navy);
}

.list-card {
  padding: 15px;
  border-radius: 18px;
  display: grid;
  gap: 6px;
}

.list-card.compact {
  gap: 4px;
}

.member-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-filter.is-active {
  background: linear-gradient(135deg, var(--orange), var(--green));
  color: #fff;
  border-color: transparent;
}

.member-card {
  border: 1px solid rgba(19, 32, 44, 0.1);
  border-radius: 18px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.member-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
}

.member-summary::-webkit-details-marker {
  display: none;
}

.member-identity {
  display: grid;
  gap: 4px;
}

.member-meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.member-body {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}

.table-stack {
  margin-top: 4px;
}

.table-card {
  overflow: visible;
}

.table-guest-block {
  display: grid;
  gap: 12px;
}

.table-guest-line {
  justify-content: space-between;
  align-items: end;
}

.table-guest-copy {
  display: grid;
  gap: 4px;
  min-width: 180px;
  flex: 1 1 220px;
}

.table-guest-select {
  min-width: 180px;
  flex: 0 1 220px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-active {
  background: rgba(14, 141, 99, 0.14);
  color: var(--success);
}

.status-inactive {
  background: rgba(217, 45, 32, 0.12);
  color: var(--danger);
}

.status-pending {
  background: rgba(255, 125, 0, 0.14);
  color: var(--orange-strong);
}

.staff-directory-note {
  margin-bottom: 14px;
}

.danger-zone {
  margin-top: 8px;
}

.danger-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.8)),
    linear-gradient(135deg, rgba(217, 45, 32, 0.12), rgba(217, 45, 32, 0.03));
  border: 1px solid rgba(217, 45, 32, 0.18);
  box-shadow: var(--shadow-soft);
}

.danger-box strong {
  color: var(--danger);
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: transparent;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(19, 32, 44, 0.08);
}

th {
  background: rgba(15, 23, 32, 0.94);
  color: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.35);
}

.readonly-inline {
  min-width: 280px;
  background: rgba(247, 249, 245, 0.98);
}

.inline-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  margin: 2px 6px 2px 0;
  border-radius: 999px;
  background: rgba(65, 173, 50, 0.12);
  color: var(--green-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.identity-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
}

.mini-qr,
.qr-showcase {
  border-radius: 18px;
  padding: 10px;
}

.mini-qr {
  min-height: 92px;
}

.qr-showcase {
  min-height: 188px;
  display: grid;
  place-items: center;
}

.scanner-block,
.scanner-region {
  display: grid;
  gap: 12px;
}

.scanner-region {
  width: 100%;
  max-width: 360px;
}

.hidden {
  display: none !important;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-line input {
  width: auto;
}

.course-block {
  padding: 16px;
  border-radius: 18px;
}

.course-block legend {
  padding: 0 8px;
  color: var(--orange-strong);
  font-weight: 800;
}

.choice-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid rgba(19, 32, 44, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
}

.choice-card input {
  width: auto;
  margin-top: 2px;
}

.choice-card strong,
.choice-card small,
.choice-card em {
  display: block;
}

.media-preview-grid,
.selection-grid {
  display: grid;
  gap: 14px;
}

.media-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.media-preview-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 32, 44, 0.1);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.media-preview-card img,
.invitation-visual-card img,
.couple-photo-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.media-preview-card img {
  height: 180px;
  border-radius: 14px;
}

.guest-flow {
  gap: 20px;
}

.invitation-stage {
  overflow: hidden;
}

.invitation-hero {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.3fr) minmax(220px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.invitation-hero-dual {
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.2fr);
}

.invitation-hero-single {
  grid-template-columns: 1fr;
}

.invitation-visual-card,
.couple-photo-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, rgba(255, 125, 0, 0.1), rgba(65, 173, 50, 0.12));
  box-shadow: var(--shadow-soft);
}

.invitation-visual-card img,
.couple-photo-card img {
  min-height: 100%;
  height: 100%;
}

.invitation-copy {
  display: grid;
  gap: 16px;
  align-content: start;
}

.invitation-chip {
  width: fit-content;
}

.invitation-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  color: var(--navy);
}

.invitation-description,
.helper-text,
.drink-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.guest-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.guest-meta-card {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(19, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
}

.guest-meta-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--orange-strong);
}

.guest-action-row {
  align-items: center;
}

.guest-search-toolbar {
  margin-bottom: 16px;
  align-items: end;
}

.guest-search-meta {
  align-items: center;
}

.search-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(19, 32, 44, 0.08);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  color: var(--ink-soft);
}

.search-count-pill strong {
  color: var(--navy);
}

.guest-step-grid {
  align-items: start;
}

.guest-status-panel .qr-showcase {
  min-height: 150px;
  background: rgba(255, 255, 255, 0.68);
}

.selection-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.choice-card-radio {
  position: relative;
  min-height: 100%;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.choice-card-radio:hover,
.menu-choice-card:hover,
.drink-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 125, 0, 0.28);
  box-shadow: 0 18px 38px rgba(19, 32, 44, 0.08);
}

.choice-card-radio input {
  margin-top: 6px;
}

.choice-copy {
  display: grid;
  gap: 6px;
}

.choice-price {
  font-style: normal;
  font-weight: 800;
  color: var(--green-strong);
}

.drink-panel {
  display: grid;
  gap: 14px;
}

.drink-card {
  cursor: default;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(15, 23, 32, 0.03), rgba(65, 173, 50, 0.08));
}

.drink-card em {
  font-style: normal;
  color: var(--orange-strong);
  font-weight: 700;
}

.no-print {
  display: inline-flex;
}

body.print-mode {
  background: #fff;
}

body.print-mode .app-shell {
  max-width: 100%;
  padding: 0;
}

@media print {
  body {
    background: #fff;
  }

  .no-print,
  .tab-bar,
  .topbar {
    display: none !important;
  }

  .panel,
  .metric-card,
  .hero-copy,
  .hero-card {
    box-shadow: none;
    background: #fff;
    border-color: #d8dde3;
    backdrop-filter: none;
  }

  .table-wrap {
    overflow: visible;
    border: 1px solid #d8dde3;
    box-shadow: none;
  }

  table {
    min-width: 0;
  }
}

@media (max-width: 1040px) {
  .hero,
  .identity-card,
  .invitation-hero {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 920px) {
  .app-shell {
    padding: 16px 12px 30px;
  }

  .sticky-tab-bar {
    top: 6px;
  }

  .sticky-panel-head {
    top: 92px;
  }

  .sticky-toolbar {
    top: 164px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel {
    padding: 18px;
  }

  .hero-copy,
  .hero-card {
    padding: 20px;
  }

  .invitation-copy h3 {
    font-size: 2.4rem;
  }

  .filter-toolbar label,
  .filter-actions,
  .action-row a,
  .action-row button,
  .action-row .button-link {
    width: 100%;
  }

  table {
    min-width: 760px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .sticky-panel-head {
    top: 86px;
  }

  .sticky-toolbar {
    top: 150px;
    padding: 10px;
  }

  .tab-button {
    width: auto;
    padding-inline: 16px;
  }

  .metric-card {
    padding: 16px;
  }

  .panel h2 {
    font-size: 1.9rem;
  }

  .guest-meta-grid,
  .selection-grid {
    grid-template-columns: 1fr;
  }

  .media-preview-card img {
    height: 160px;
  }

  .table-guest-line {
    align-items: stretch;
  }
}
