:root {
  color-scheme: light;
  --paper: oklch(97.8% 0.014 84);
  --surface: oklch(99.2% 0.008 84);
  --surface-muted: oklch(94.5% 0.022 82);
  --ink: oklch(26% 0.025 62);
  --ink-muted: oklch(48% 0.025 67);
  --line: oklch(78% 0.055 79);
  --line-soft: oklch(88% 0.03 81);
  --gold: oklch(57% 0.105 78);
  --gold-deep: oklch(45% 0.09 74);
  --success: oklch(47% 0.095 150);
  --success-soft: oklch(93% 0.035 150);
  --warning: oklch(56% 0.11 74);
  --warning-soft: oklch(94% 0.05 85);
  --error: oklch(48% 0.15 27);
  --error-soft: oklch(94% 0.035 27);
  --info: oklch(45% 0.08 240);
  --info-soft: oklch(94% 0.028 240);
  --whatsapp: oklch(48% 0.13 151);
  --focus: oklch(58% 0.15 75);
  --shadow: 0 16px 42px oklch(28% 0.03 65 / 0.09);
  --radius-sm: 0.45rem;
  --radius-md: 0.75rem;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: var(--gold-deep);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 3vw, 2.75rem);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-crest {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-weight: 760;
  letter-spacing: -0.015em;
}

.brand-context {
  color: var(--ink-muted);
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.topbar-actions,
.topbar-actions form {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
}

.app-shell {
  width: min(100%, 1500px);
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.75rem) 4rem;
}

.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.page-heading > div {
  max-width: 72ch;
}

.page-heading-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
}

.page-heading-actions form {
  margin: 0;
}

.eyebrow {
  margin-bottom: 0.45rem;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h2 {
  margin-bottom: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.lede {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

.button {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 0.95rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color 180ms cubic-bezier(0.25, 1, 0.5, 1), border-color 180ms cubic-bezier(0.25, 1, 0.5, 1), color 180ms cubic-bezier(0.25, 1, 0.5, 1), transform 180ms cubic-bezier(0.25, 1, 0.5, 1);
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button-primary {
  background: var(--gold-deep);
  color: var(--surface);
}

.button-primary:hover:not(:disabled) {
  background: var(--ink);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover:not(:disabled),
.button-quiet:hover:not(:disabled) {
  border-color: var(--gold);
  background: var(--warning-soft);
}

.button-quiet {
  border-color: transparent;
  background: transparent;
  color: var(--ink-muted);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: var(--surface);
}

.button-whatsapp:hover:not(:disabled) {
  background: var(--success);
}

.button-small {
  min-height: 2.05rem;
  padding: 0.44rem 0.65rem;
  font-size: 0.79rem;
}

.notice {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid;
  border-radius: var(--radius-sm);
  line-height: 1.55;
}

.notice-success {
  border-color: oklch(76% 0.08 150);
  background: var(--success-soft);
  color: oklch(35% 0.085 150);
}

.notice-warning {
  border-color: oklch(76% 0.1 78);
  background: var(--warning-soft);
  color: oklch(39% 0.075 72);
}

.notice-error {
  border-color: oklch(75% 0.09 27);
  background: var(--error-soft);
  color: var(--error);
}

.notice-info {
  border-color: oklch(78% 0.06 240);
  background: var(--info-soft);
  color: var(--info);
}

.notice code {
  overflow-wrap: anywhere;
  font-size: 0.88em;
}

.notice-action {
  margin-top: 0.75rem;
}

.notice-list {
  margin: 0.55rem 0 0;
  padding-inline-start: 1.2rem;
}

.notice-list li + li {
  margin-top: 0.25rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.5rem 0 1.75rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.15rem 0.75rem;
  padding: 1rem 1.1rem;
  border-inline-end: 1px solid var(--line-soft);
}

.metric:last-child {
  border-inline-end: 0;
}

.metric span {
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.metric strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 1.65rem;
  letter-spacing: -0.035em;
}

.metric small {
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.metric-attention strong {
  color: var(--error);
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.search-form {
  display: flex;
  flex: 1 1 34rem;
  align-items: center;
  gap: 0.55rem;
}

input[type="search"],
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
select {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}

select {
  appearance: auto;
}

input::placeholder {
  color: oklch(60% 0.02 70);
}

.search-form input[type="search"] {
  max-width: 26rem;
}

.text-link {
  font-weight: 650;
}

.filter-nav {
  display: flex;
  max-width: 100%;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.2rem;
  scrollbar-width: thin;
}

.filter-pill {
  flex: 0 0 auto;
  padding: 0.48rem 0.68rem;
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.filter-pill:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.filter-pill.is-active {
  background: var(--ink);
  color: var(--surface);
}

.guest-section {
  border-top: 1px solid var(--line-soft);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.section-heading span {
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.guest-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  text-align: left;
}

.guest-table th {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--ink-muted);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.guest-table th:nth-child(1) { width: 22%; }
.guest-table th:nth-child(2) { width: 17%; }
.guest-table th:nth-child(3) { width: 33%; }
.guest-table th:nth-child(4) { width: 28%; }

.guest-table td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.guest-table tbody tr:last-child td {
  border-bottom: 0;
}

.guest-table tbody tr:hover {
  background: oklch(98% 0.013 84);
}

.row-attention {
  background: oklch(97% 0.025 83);
}

.guest-name {
  font-weight: 760;
  letter-spacing: -0.01em;
}

.guest-meta {
  margin-top: 0.22rem;
  color: var(--ink-muted);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}

.contact-value {
  margin-bottom: 0.35rem;
  overflow-wrap: anywhere;
  font-size: 0.85rem;
}

.ticket-link {
  font-weight: 720;
}

.status-line,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.action-row {
  margin-top: 0.65rem;
}

.action-row form {
  margin: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.46rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 760;
}

.status-success {
  background: var(--success-soft);
  color: var(--success);
}

.status-pending {
  background: var(--warning-soft);
  color: var(--warning);
}

.status-error {
  background: var(--error-soft);
  color: var(--error);
}

.status-muted {
  background: var(--surface-muted);
  color: var(--ink-muted);
}

.count {
  color: var(--ink-muted);
  font-size: 0.74rem;
}

.inline-error {
  max-width: 42ch;
  margin-top: 0.35rem;
  color: var(--error);
  font-size: 0.74rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 3.5rem 1rem;
  color: var(--ink-muted);
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
}

.login-panel {
  width: min(100%, 31rem);
  margin: 4vh auto 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-panel h1 {
  font-size: 2rem;
}

.form-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field > span {
  font-size: 0.8rem;
  font-weight: 740;
}

.field > span small {
  color: var(--ink-muted);
  font-weight: 550;
}

.field-hint {
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 450;
  line-height: 1.45;
}

.installer-shell {
  width: min(100%, 1220px);
}

.installer-heading {
  max-width: 72ch;
  margin-bottom: 2rem;
}

.installer-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 2fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.preflight-panel {
  position: sticky;
  top: 1.5rem;
  padding: 1.2rem 0 0;
  border-top: 2px solid var(--gold);
}

.preflight-panel > p {
  margin: 0.55rem 0 1.15rem;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-row {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line-soft);
}

.check-row strong,
.check-row small {
  display: block;
}

.check-row strong {
  font-size: 0.8rem;
}

.check-row small {
  margin-top: 0.1rem;
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.check-mark {
  display: inline-grid;
  width: 1.45rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.check-row.is-ready .check-mark {
  background: var(--success-soft);
  color: var(--success);
}

.check-row.is-failed .check-mark {
  background: var(--error-soft);
  color: var(--error);
}

.installer-form {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-section {
  padding: clamp(1.35rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line-soft);
}

.section-intro {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.section-intro p {
  margin: 0.28rem 0 0;
  color: var(--ink-muted);
  font-size: 0.83rem;
}

.section-number {
  padding-top: 0.14rem;
  color: var(--gold-deep);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field-grid:has(.field-wide) {
  grid-template-columns: 2fr 0.65fr 0.8fr;
}

.field-grid:has(.field-wide) .field:nth-of-type(4),
.field-grid:has(.field-wide) .field:nth-of-type(6) {
  grid-column: 1 / span 2;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.check-field input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.18rem 0 0;
  accent-color: var(--gold-deep);
}

.check-field strong,
.check-field small {
  display: block;
}

.check-field small {
  margin-top: 0.18rem;
  color: var(--ink-muted);
  font-size: 0.77rem;
}

.install-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem clamp(1.35rem, 3vw, 2rem);
  background: var(--surface-muted);
}

.install-submit p {
  max-width: 48ch;
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.installation-complete {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.25rem;
  width: min(100%, 46rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.completion-mark {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 1.45rem;
  font-weight: 800;
}

.installation-complete h2 {
  font-size: 1.45rem;
}

.installation-complete p {
  margin-top: 0.55rem;
  color: var(--ink-muted);
}

.completion-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.4rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.completion-details div {
  padding: 0.85rem 0.75rem;
  border-inline-end: 1px solid var(--line-soft);
}

.completion-details div:last-child {
  border-inline-end: 0;
}

.completion-details dt {
  color: var(--ink-muted);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.completion-details dd {
  margin: 0.18rem 0 0;
  font-weight: 760;
}

.installer-actions {
  margin-top: 1rem;
}

.security-reminder {
  margin-bottom: 0 !important;
}

.settings-heading {
  margin-bottom: 1.25rem;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(15rem, 0.72fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.settings-form {
  max-width: 54rem;
}

.smtp-grid {
  grid-template-columns: 2fr 0.65fr 0.8fr;
}

.smtp-grid .field:nth-of-type(4) {
  grid-column: 1 / span 2;
}

.port-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-muted);
  font-size: 0.76rem;
}

.port-guide strong {
  color: var(--ink);
}

.settings-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.55rem;
}

.smtp-help {
  padding-top: 1.2rem;
  border-top: 2px solid var(--gold);
}

.smtp-help p {
  color: var(--ink-muted);
  font-size: 0.83rem;
}

.smtp-help blockquote {
  margin: 1rem 0;
  padding: 0.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.8rem;
}

.smtp-result {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 1.1rem;
  border: 1px solid;
  border-radius: var(--radius-md);
}

.smtp-result.is-success {
  border-color: oklch(76% 0.08 150);
  background: var(--success-soft);
}

.smtp-result.is-failed {
  border-color: oklch(75% 0.09 27);
  background: var(--error-soft);
}

.smtp-result.is-success .check-mark {
  background: var(--surface);
  color: var(--success);
}

.smtp-result.is-failed .check-mark {
  background: var(--surface);
  color: var(--error);
}

.smtp-result h2 {
  overflow-wrap: anywhere;
}

.smtp-result p {
  max-width: 75ch;
  margin: 0.45rem 0 0;
}

.diagnostic-details {
  margin-top: 0.8rem;
}

.diagnostic-details summary {
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 720;
}

.diagnostic-details pre {
  max-height: 14rem;
  margin: 0.65rem 0 0;
  overflow: auto;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--surface);
  font: 0.72rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
}

.footer {
  padding: 1.2rem;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.76rem;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric:nth-child(2) {
    border-inline-end: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-form {
    flex: 0 1 auto;
  }

  .installer-layout {
    grid-template-columns: 1fr;
  }

  .preflight-panel {
    position: static;
  }

  .settings-layout {
    grid-template-columns: 1fr;
  }

  .smtp-help {
    max-width: 54rem;
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 64px;
  }

  .brand-crest {
    width: 38px;
    height: 38px;
  }

  .page-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .page-heading .button {
    width: 100%;
  }

  .page-heading-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2) {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .search-form {
    align-items: stretch;
    flex-direction: column;
  }

  .search-form input[type="search"] {
    max-width: none;
  }

  .field-grid,
  .field-grid:has(.field-wide),
  .smtp-grid {
    grid-template-columns: 1fr;
  }

  .field-grid .field,
  .field-grid:has(.field-wide) .field,
  .field-grid:has(.field-wide) .field:nth-of-type(4),
  .field-grid:has(.field-wide) .field:nth-of-type(6) {
    grid-column: 1;
  }

  .smtp-grid .field:nth-of-type(4) {
    grid-column: 1;
  }

  .install-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    gap: 0;
  }

  .topbar-actions .button {
    padding-inline: 0.55rem;
    font-size: 0.78rem;
  }

  .installation-complete {
    grid-template-columns: 1fr;
  }

  .completion-details {
    grid-template-columns: 1fr;
  }

  .completion-details div {
    border-inline-end: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .completion-details div:last-child {
    border-bottom: 0;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .guest-table {
    min-width: 0;
  }

  .guest-table thead {
    display: none;
  }

  .guest-table,
  .guest-table tbody,
  .guest-table tr,
  .guest-table td {
    display: block;
    width: 100%;
  }

  .guest-table tr {
    margin-bottom: 0.85rem;
    overflow: hidden;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--surface);
  }

  .guest-table td {
    display: grid;
    grid-template-columns: 6.3rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.8rem;
  }

  .guest-table td::before {
    content: attr(data-label);
    color: var(--ink-muted);
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .guest-table td > * {
    grid-column: 2;
  }

  .guest-table td[data-label="Guest"] .guest-name {
    grid-row: 1;
  }

  .guest-table td[data-label="Guest"] .guest-meta {
    grid-row: 2;
  }

  .inline-error {
    white-space: normal;
  }
}

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