html {
  font-size: 14px;
}

:root {
  --minddesk-event-accent: #87384f;
  --minddesk-gold: #d3a344;
  --minddesk-gold-light: #f2d58d;
  --minddesk-dark: #0b1220;
  --minddesk-ink: #17212b;
  --minddesk-paper: #fffcf6;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem rgba(255, 252, 246, .9), 0 0 0 0.25rem rgba(135, 56, 79, .24);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% -10%, rgba(216, 171, 72, .18), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(135, 56, 79, .16), transparent 30%),
    linear-gradient(180deg, #0b1220 0%, #090a0d 220px, #efe6d6 220px, #efe6d6 100%);
  color: #17212b;
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.event-stage-background {
  background-color: #090a0d;
  background-image:
    linear-gradient(180deg, rgba(5, 7, 11, .72) 0%, rgba(9, 10, 13, .54) 34%, rgba(239, 230, 214, .9) 70%, rgba(239, 230, 214, .96) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, .55) 0%, rgba(5, 7, 11, .2) 46%, rgba(5, 7, 11, .5) 100%),
    url("/img/backgrounds/event-stage-1920.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.top-menu-bar {
  background:
    radial-gradient(circle at 16% -20%, rgba(222, 174, 73, .14), transparent 32%),
    linear-gradient(180deg, #0b1220 0%, #090a0d 58%, #06070a 100%);
  border-bottom: 1px solid rgba(218, 171, 72, .62);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  flex: 0 0 auto;
  padding: 8px 0;
}

.top-menu-inner {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 72px;
}

.top-menu-left,
.top-menu-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.top-menu-actions {
  justify-content: flex-end;
}

.brand-wordmark-link {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
}

.brand-wordmark {
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .36));
  height: 58px;
  max-width: min(300px, 42vw);
  object-fit: contain;
  width: auto;
}

.brand-icon-link {
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-icon {
  background:
    radial-gradient(circle at 50% 42%, rgba(218, 171, 72, .12), transparent 68%),
    rgba(9, 10, 13, .62);
  border: 1px solid rgba(218, 171, 72, .52);
  border-radius: 10px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(255, 255, 255, .04);
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .42));
  height: 52px;
  object-fit: contain;
  padding: 4px;
  width: 52px;
}

.hamburger-button,
.top-action-button,
.top-icon-button {
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(218, 171, 72, .54);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  color: #f4ead9;
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
  transition: background-color .16s ease, transform .16s ease;
}

.hamburger-button {
  height: 44px;
  flex: 0 0 auto;
  width: 44px;
}

.top-action-button {
  min-height: 40px;
  padding: 0 14px;
  font-size: .86rem;
  font-weight: 800;
}

.top-icon-button {
  height: 40px;
  padding: 0;
  position: relative;
  width: 40px;
}

.top-icon-button svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 20px;
}

.hamburger-button:hover,
.hamburger-button:focus,
.top-action-button:hover,
.top-action-button:focus,
.top-icon-button:hover,
.top-icon-button:focus {
  background: rgba(218, 171, 72, .14);
  color: #ffffff;
  transform: translateY(-1px);
}

.notification-badge {
  align-items: center;
  background: #d3a344;
  border: 1px solid #090a0d;
  border-radius: 999px;
  color: #17120d;
  display: inline-flex;
  font-size: .62rem;
  font-weight: 900;
  height: 18px;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  padding: 0 5px;
  position: absolute;
  right: -5px;
  top: -5px;
}

.notification-badge.is-empty {
  display: none;
}

.hamburger-button .navbar-toggler-icon {
  background-image: none;
  border-bottom: 2px solid #f4ead9;
  border-top: 2px solid #f4ead9;
  height: 16px;
  position: relative;
  width: 20px;
}

.hamburger-button .navbar-toggler-icon::before {
  border-top: 2px solid #f4ead9;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 5px;
}

.top-menu-customer {
  color: rgba(244, 234, 217, .72);
  font-size: .9rem;
  font-weight: 780;
  max-width: min(360px, 34vw);
  min-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu {
  flex: 0 0 auto;
}

.profile-dropdown-menu {
  min-width: 260px;
}

.profile-dropdown-header {
  display: grid;
  gap: 2px;
  padding: 8px 16px 6px;
}

.profile-dropdown-header strong {
  color: var(--minddesk-ink);
  font-size: .95rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.profile-dropdown-header span,
.profile-dropdown-header small {
  color: #6b6258;
  font-size: .82rem;
  line-height: 1.25;
}

.profile-dropdown-header small {
  overflow-wrap: anywhere;
}

.content-shell {
  flex: 1 0 auto;
}

.content-main {
  backdrop-filter: blur(6px);
  background: rgba(255, 252, 246, .88);
  border: 1px solid rgba(140, 100, 36, .34);
  border-radius: 8px;
  box-shadow:
    0 18px 42px rgba(32, 37, 45, .12),
    inset 0 1px 0 rgba(255, 255, 255, .64);
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 24px;
}

.content-main-stage {
  backdrop-filter: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  margin-bottom: 28px;
  margin-top: 28px;
  padding: 0;
}

.public-slug-tag {
  background: rgba(255, 252, 246, .88);
  border: 1px solid rgba(135, 56, 79, .26);
  border-radius: 6px;
  color: #6d3245;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;
  margin-left: 8px;
  max-width: min(100%, 34rem);
  overflow-wrap: anywhere;
  padding: 3px 8px;
  vertical-align: middle;
  white-space: normal;
}

.app-notification-stack {
  display: grid;
  gap: 10px;
  margin: 0;
  max-width: min(380px, calc(100vw - 24px));
  pointer-events: none;
  position: fixed;
  right: 16px;
  top: 76px;
  width: 380px;
  z-index: 2300;
}

.app-tip {
  align-items: start;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .98), rgba(250, 244, 234, .96));
  border: 1px solid rgba(140, 100, 36, .28);
  border-left: 5px solid var(--minddesk-gold);
  border-radius: 8px;
  box-shadow:
    0 12px 26px rgba(32, 37, 45, .12),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  color: var(--minddesk-ink);
  display: grid;
  gap: 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 58px;
  overflow: hidden;
  opacity: 0;
  padding: 13px 38px 13px 14px;
  pointer-events: auto;
  position: relative;
  transform: translateX(16px);
  transition: opacity .18s ease, transform .18s ease;
  width: 100%;
}

.app-tip.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.app-tip.is-leaving {
  opacity: 0;
  transform: translateX(16px);
}

.app-tip::before {
  align-items: center;
  background: var(--minddesk-gold);
  border-radius: 999px;
  color: #0b1220;
  content: "i";
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  line-height: 1;
  margin-top: 1px;
  width: 28px;
}

.app-tip-body {
  min-width: 0;
}

.app-toast-close {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: rgba(23, 33, 43, .58);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 850;
  height: 24px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
}

.app-toast-close:hover {
  background: rgba(23, 33, 43, .08);
  color: #17212b;
}

.app-tip strong {
  color: #17212b;
  display: block;
  font-size: .9rem;
  font-weight: 860;
  line-height: 1.25;
  margin: 0;
}

.app-tip p,
.app-tip ul {
  color: rgba(23, 33, 43, .78);
  font-size: .95rem;
  line-height: 1.45;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.app-tip ul {
  padding-left: 18px;
}

.app-tip-success {
  border-left-color: #2f855a;
}

.app-tip-success::before {
  background: #2f855a;
  color: #ffffff;
  content: "ok";
  font-size: .62rem;
  letter-spacing: 0;
}

.app-tip-error {
  border-left-color: var(--minddesk-event-accent);
}

.app-tip-error::before {
  background: var(--minddesk-event-accent);
  color: #ffffff;
  content: "!";
}

.app-tip-info {
  border-left-color: #2b6cb0;
}

.app-tip-info::before {
  background: #2b6cb0;
  color: #ffffff;
}

.status-bar {
  background:
    linear-gradient(180deg, #06070a 0%, #090a0d 42%, #0b1220 100%);
  border-top: 1px solid rgba(218, 171, 72, .54);
  box-shadow:
    0 -10px 28px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  color: #f4ead9;
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 700;
  padding: 7px 0;
}

.status-bar-inner {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 26px;
  text-align: center;
}

.offcanvas {
  background: linear-gradient(180deg, var(--minddesk-paper) 0%, #f6f0e5 100%);
  border-right: 1px solid rgba(140, 100, 36, .32);
  color: var(--minddesk-ink);
}

.offcanvas-header {
  border-bottom: 1px solid rgba(140, 100, 36, .22);
}

.offcanvas-title {
  color: var(--minddesk-ink);
  font-weight: 850;
  letter-spacing: 0;
}

.btn-close:focus {
  box-shadow: 0 0 0 .25rem rgba(135, 56, 79, .18);
}

.app-menu {
  display: grid;
  gap: 8px;
}

.app-menu a {
  border-radius: 8px;
  color: #17212b;
  display: block;
  font-weight: 740;
  padding: 10px 12px;
  text-decoration: none;
}

.app-menu a:hover,
.app-menu a:focus {
  background: rgba(135, 56, 79, .09);
  color: #87384f;
}

.app-menu-group {
  border-top: 1px solid #e6ebf0;
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding-top: 12px;
}

.app-menu-group span {
  color: #667085;
  font-size: .74rem;
  font-weight: 800;
  padding: 0 12px;
  text-transform: none;
}

.btn-primary {
  background: linear-gradient(180deg, #f1d489 0%, #d3a344 100%);
  border-color: #d5aa50;
  box-shadow: 0 10px 22px rgba(27, 37, 48, .14);
  color: #17120d;
  font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(180deg, #f5dda0 0%, #dcaf55 100%);
  border-color: #e1b85f;
  color: #100d09;
}

.btn-outline-primary {
  background: rgba(255, 252, 246, .72);
  border-color: rgba(140, 100, 36, .42);
  color: #8a5f21;
  font-weight: 760;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background: rgba(218, 171, 72, .16);
  border-color: rgba(140, 100, 36, .7);
  color: #17120d;
}

.btn-outline-secondary {
  background: rgba(255, 252, 246, .72);
  border-color: rgba(140, 100, 36, .34);
  color: #6b6258;
  font-weight: 760;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background: rgba(135, 56, 79, .08);
  border-color: rgba(135, 56, 79, .46);
  color: var(--minddesk-event-accent);
}

.app-menu .btn-outline-secondary {
  background: rgba(255, 252, 246, .58);
  border-color: rgba(140, 100, 36, .42);
  color: #6b5125;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(135, 56, 79, .6);
  box-shadow: 0 0 0 .2rem rgba(135, 56, 79, .15);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.event-app-home {
  max-width: 720px;
  margin: 48px auto;
  padding: 28px;
  border: 1px solid rgba(140, 100, 36, .34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 8%, rgba(135, 56, 79, .12), transparent 30%),
    linear-gradient(180deg, rgba(255, 252, 246, .96), rgba(246, 240, 229, .92));
  backdrop-filter: blur(10px);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .76);
}

.event-home-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.event-home-brand img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: contain;
  background: #030303;
  border: 1px solid rgba(218, 171, 72, .5);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
}

.event-home-brand span {
  color: #87384f;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: none;
}

.event-app-home h1 {
  margin: 8px 0 10px;
  font-size: 2.2rem;
}

.event-app-home p {
  color: #6b6258;
}

.auth-stage {
  align-items: center;
  display: grid;
  min-height: min(560px, calc(100vh - 190px));
  padding: 32px 0;
}

.auth-card {
  backdrop-filter: blur(12px);
  background:
    radial-gradient(circle at 92% 8%, rgba(135, 56, 79, .12), transparent 34%),
    linear-gradient(180deg, rgba(255, 252, 246, .96), rgba(246, 240, 229, .92));
  border: 1px solid rgba(140, 100, 36, .34);
  border-radius: 8px;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .76);
  color: var(--minddesk-ink);
  margin: 0 auto;
  max-width: 440px;
  padding: 28px;
  width: 100%;
}

.auth-card h1 {
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 12px 0 20px;
}

.auth-card-brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.auth-card-brand img {
  background: #030303;
  border: 1px solid rgba(218, 171, 72, .5);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
  height: 48px;
  object-fit: contain;
  padding: 4px;
  width: 48px;
}

.auth-card-brand span {
  color: var(--minddesk-event-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: none;
}

.portal-shell {
  max-width: 1120px;
  margin: 28px auto 56px;
}

.event-dashboard-home {
  max-width: 1180px;
}

.event-dashboard-home .portal-header {
  color: #f4ead9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.event-dashboard-home .portal-kicker {
  color: #d7a7b6;
}

.event-dashboard-home .portal-header h1 {
  color: #f4ead9;
}

.event-dashboard-home .portal-user span {
  color: rgba(244, 234, 217, .78);
}

.portal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.portal-kicker {
  color: #87384f;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: none;
}

.portal-header h1 {
  margin: 4px 0 0;
  font-size: 2rem;
}

.portal-user {
  display: grid;
  gap: 2px;
  min-width: 180px;
  text-align: right;
}

.portal-user span {
  color: #6b6258;
  font-size: 0.9rem;
}

.notification-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.notification-summary-grid div {
  background: rgba(255, 252, 246, .94);
  border: 1px solid rgba(140, 100, 36, .28);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18, 32, 50, .08);
  padding: 15px 16px;
}

.notification-summary-grid span {
  color: #6b6258;
  display: block;
  font-size: .82rem;
  font-weight: 800;
}

.notification-summary-grid strong {
  color: var(--minddesk-ink);
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  margin-top: 5px;
}

.notification-center-panel {
  display: grid;
  gap: 12px;
}

.notification-center-list {
  display: grid;
  gap: 10px;
}

.notification-center-item {
  align-items: start;
  background: #fbfaf8;
  border: 1px solid rgba(122, 90, 53, .16);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 14px;
}

.notification-center-item.is-unread {
  background: #fffdfa;
  border-color: rgba(135, 56, 79, .28);
  box-shadow: inset 4px 0 0 rgba(135, 56, 79, .62);
}

.notification-center-marker {
  border-radius: 999px;
  height: 10px;
  margin-top: 8px;
  width: 10px;
}

.notification-center-item.is-info .notification-center-marker {
  background: #5d738c;
}

.notification-center-item.is-success .notification-center-marker {
  background: #3a8649;
}

.notification-center-item.is-warning .notification-center-marker {
  background: #967620;
}

.notification-center-item.is-critical .notification-center-marker {
  background: #87384f;
}

.notification-center-content {
  min-width: 0;
}

.notification-center-meta {
  align-items: center;
  color: #6b6258;
  display: flex;
  flex-wrap: wrap;
  font-size: .78rem;
  font-weight: 800;
  gap: 8px;
}

.notification-center-meta span,
.notification-center-meta time {
  overflow-wrap: anywhere;
}

.notification-center-content h2 {
  color: var(--minddesk-ink);
  font-size: 1rem;
  line-height: 1.25;
  margin: 4px 0 0;
}

.notification-center-content p {
  color: #514840;
  font-size: .9rem;
  margin: 5px 0 0;
}

.notification-center-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portal-metrics div {
  padding: 16px;
  border: 1px solid rgba(140, 100, 36, .32);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 252, 246, .94), rgba(246, 240, 229, .9));
  box-shadow: 0 18px 42px rgba(18, 32, 50, .1);
}

.portal-metrics span {
  display: block;
  color: #6b6258;
  font-size: 0.85rem;
}

.portal-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 1.6rem;
}

.event-home-tile-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 22px;
}

.event-home-tile {
  --tile-tint: rgba(11, 18, 32, .72);
  --tile-position: center;
  align-content: end;
  aspect-ratio: 16 / 10;
  background-color: #0b1220;
  background-image:
    linear-gradient(180deg, rgba(10, 8, 6, .08), var(--tile-tint)),
    url("/img/backgrounds/event-stage-960.jpg");
  background-position: var(--tile-position);
  background-size: cover;
  border: 1px solid rgba(218, 171, 72, .34);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .32);
  color: #ffffff;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.event-home-tile:hover,
.event-home-tile:focus {
  border-color: rgba(218, 171, 72, .72);
  box-shadow: 0 22px 46px rgba(0, 0, 0, .42);
  color: #ffffff;
  transform: translateY(-1px);
}

.event-home-tile span,
.event-home-tile em {
  color: rgba(255, 255, 255, .78);
  font-style: normal;
  font-weight: 800;
  text-transform: none;
}

.event-home-tile span {
  font-size: .84rem;
}

.event-home-tile strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  line-height: 1.04;
  margin-top: 4px;
}

.event-home-tile em {
  font-size: .78rem;
  margin-top: 10px;
}

.event-home-tile-events {
  --tile-position: 42% 30%;
  --tile-tint: rgba(31, 39, 54, .78);
}

.event-home-tile-calendar {
  --tile-position: 70% 48%;
  --tile-tint: rgba(20, 32, 52, .76);
}

.event-home-tile-guests {
  --tile-position: 28% 65%;
  --tile-tint: rgba(86, 58, 46, .76);
}

.event-home-tile-contact {
  --tile-position: 70% 46%;
  --tile-tint: rgba(25, 70, 64, .76);
}

.event-home-tile-operation {
  --tile-position: 58% 48%;
  --tile-tint: rgba(135, 56, 79, .76);
}

.event-home-tile-reports {
  --tile-position: 78% 55%;
  --tile-tint: rgba(63, 52, 87, .78);
}

.event-home-tile-settings {
  --tile-position: 18% 40%;
  --tile-tint: rgba(89, 78, 56, .78);
}

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

.event-hub-card {
  background:
    radial-gradient(circle at 88% 10%, rgba(135, 56, 79, .1), transparent 32%),
    linear-gradient(180deg, rgba(255, 252, 246, .96), rgba(246, 240, 229, .92));
  border: 1px solid rgba(140, 100, 36, .32);
  border-radius: 8px;
  box-shadow:
    0 18px 42px rgba(18, 32, 50, .1),
    inset 0 1px 0 rgba(255, 255, 255, .74);
  color: var(--minddesk-ink);
  display: grid;
  min-height: 132px;
  padding: 18px;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.event-hub-card:hover,
.event-hub-card:focus {
  border-color: rgba(135, 56, 79, .46);
  box-shadow: 0 22px 52px rgba(18, 32, 50, .14);
  color: var(--minddesk-ink);
  transform: translateY(-1px);
}

.event-hub-card span {
  color: var(--minddesk-event-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: none;
}

.event-hub-card strong {
  align-self: end;
  font-size: 1.38rem;
  line-height: 1.1;
}

.event-report-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-report-summary div {
  background: rgba(255, 252, 246, .72);
  border: 1px solid rgba(140, 100, 36, .24);
  border-radius: 8px;
  padding: 14px;
}

.event-report-summary span {
  color: #6b6258;
  display: block;
  font-size: .82rem;
  font-weight: 800;
  text-transform: none;
}

.event-report-summary strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-top: 4px;
}

.portal-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 18px 0;
}

.portal-filter label {
  grid-column: 1 / -1;
  margin-bottom: -6px;
  color: #6b6258;
  font-weight: 700;
}

.event-list-filter {
  grid-template-columns: minmax(160px, .8fr) minmax(136px, .62fr) minmax(136px, .62fr) minmax(220px, 1fr) auto;
}

.event-list-filter label {
  grid-column: auto;
  margin-bottom: 6px;
}

.event-list-table {
  min-width: 980px;
}

.event-list-title-col {
  width: 32%;
}

.event-list-venue-col {
  width: 16%;
}

.event-list-date-col {
  width: 15%;
}

.event-list-guests-col,
.event-list-attendance-col {
  width: 11%;
}

.event-list-package-col {
  width: 12%;
}

.event-list-actions-col {
  width: 96px;
}

.event-list-title-cell strong {
  display: block;
  overflow-wrap: anywhere;
}

.event-list-filter-actions,
.event-list-actions {
  display: flex;
  gap: 6px;
}

.event-list-filter-actions {
  align-items: end;
}

.event-list-actions {
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
}

.event-list-delete-form {
  display: inline-flex;
  margin: 0;
}

.event-decision-overview {
  display: grid;
  gap: 14px;
}

.event-overview-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(96px, .65fr) minmax(260px, 1.7fr) repeat(3, minmax(160px, 1fr));
}

.event-overview-item {
  align-items: start;
  background: rgba(255, 252, 246, .72);
  border: 1px solid rgba(140, 100, 36, .22);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 94px;
  padding: 12px;
}

.event-overview-item span {
  color: #6b6258;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.event-overview-item strong {
  align-self: end;
  color: var(--minddesk-ink);
  font-size: .98rem;
  grid-column: 1 / -1;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.event-overview-value-row {
  align-items: center;
  display: flex;
  gap: 8px;
  grid-column: 1 / -1;
  min-width: 0;
}

.event-overview-value-row strong {
  flex: 1 1 auto;
  grid-column: auto;
  min-width: 0;
}

.event-overview-item small {
  color: #7a7167;
  font-size: .72rem;
  grid-column: 1 / -1;
}

.event-overview-item .public-slug-tag {
  margin-left: 0;
}

.event-summary-edit-button {
  align-items: center;
  background: rgba(255, 252, 246, .96);
  border: 1px solid rgba(135, 56, 79, .28);
  border-radius: 8px;
  color: #6d3245;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .86rem;
  height: 30px;
  justify-content: center;
  padding: 0;
  width: 30px;
}

.event-summary-edit-button:disabled {
  cursor: not-allowed;
  opacity: .52;
}

.event-decision-grid {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.event-decision-state {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.event-decision-state span {
  color: var(--minddesk-event-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: none;
}

.event-decision-state strong {
  color: var(--minddesk-ink);
  font-size: 1.28rem;
  line-height: 1.15;
}

.event-decision-state small {
  color: #6b6258;
  font-size: .86rem;
}

.event-status-actions {
  align-items: center;
  flex-wrap: wrap;
}

.event-operation-stack {
  display: grid;
  gap: 18px;
}

.event-invitation-qr-header-actions {
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0;
}

.event-package-list-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.event-package-list-header h2 {
  margin-bottom: 0;
}

.event-package-list-table {
  margin-bottom: 0;
}

.event-program-summary-panel {
  display: grid;
  gap: 10px;
}

.event-program-summary-list {
  display: grid;
  gap: 6px;
}

.event-program-summary-item {
  align-items: center;
  border-bottom: 1px solid rgba(37, 33, 29, .08);
  display: grid;
  gap: 10px;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  min-height: 44px;
  padding: 7px 0;
}

.event-program-summary-item:last-child {
  border-bottom: 0;
}

.event-program-summary-item.is-passive {
  opacity: .62;
}

.event-program-summary-item time {
  color: #6d3245;
  font-size: .86rem;
  font-weight: 850;
  white-space: nowrap;
}

.event-program-summary-item strong {
  color: var(--minddesk-ink);
  display: block;
  line-height: 1.18;
}

.event-program-summary-item small {
  color: #6b6258;
  display: block;
  font-size: .82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-public-page-links-panel {
  display: grid;
  gap: 14px;
}

.event-public-page-link-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.event-public-page-link-card {
  background: #fbfaf8;
  border: 1px solid rgba(122, 90, 53, .18);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
}

.event-public-page-link-card.is-muted {
  border-style: dashed;
}

.event-public-page-link-main {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
}

.event-public-page-link-main img {
  background: #ffffff;
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 8px;
  display: block;
  height: 92px;
  padding: 6px;
  width: 92px;
}

.event-public-page-link-main > div:only-child {
  grid-column: 1 / -1;
}

.event-public-page-link-main span {
  color: var(--minddesk-event-accent);
  display: block;
  font-size: .78rem;
  font-weight: 800;
}

.event-public-page-link-main strong {
  color: var(--minddesk-ink);
  display: block;
  font-family: var(--bs-font-monospace);
  font-size: .94rem;
  overflow-wrap: anywhere;
}

.event-public-page-link-main small {
  color: #6b6258;
  display: block;
  font-size: .82rem;
}

.event-public-page-link-label {
  color: #6b6258;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: -6px;
}

.event-public-page-link-url {
  color: #6b6258;
  display: block;
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.event-public-page-link-message {
  min-height: 74px;
  resize: vertical;
}

.event-public-page-link-actions {
  align-items: center;
  flex-wrap: wrap;
}

.event-owner-access-panel {
  display: grid;
  gap: 14px;
}

.event-owner-access-header-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0;
}

.event-owner-access-list {
  display: grid;
  gap: 8px;
}

.event-owner-access-row {
  align-items: center;
  background: #fbfaf8;
  border: 1px solid rgba(122, 90, 53, .18);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
  padding: 10px 12px;
}

.event-owner-access-row.is-muted {
  border-style: dashed;
  opacity: .78;
}

.event-owner-access-summary {
  align-items: center;
  display: grid;
  gap: 2px 12px;
  grid-template-columns: auto minmax(160px, 1fr) minmax(130px, .7fr);
  min-width: 0;
}

.event-owner-access-summary span {
  color: var(--minddesk-event-accent);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.event-owner-access-summary strong {
  color: var(--minddesk-ink);
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.event-owner-access-summary small {
  color: #6b6258;
  font-size: .82rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.event-owner-access-summary small:last-child {
  grid-column: 2 / -1;
}

.event-owner-access-row-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  justify-content: flex-end;
}

.event-owner-access-share {
  border: 1px solid rgba(140, 100, 36, .2);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 12px;
}

.event-owner-access-share-message {
  min-height: 138px;
  white-space: pre-wrap;
}

.event-owner-access-share-actions {
  flex-wrap: wrap;
}

.event-owner-access-modal-empty-link {
  background: #fff6d9;
  border: 1px dashed rgba(150, 118, 32, .26);
  border-radius: 8px;
  color: #6b6258;
  font-size: .86rem;
  font-weight: 700;
  padding: 10px 12px;
}

.event-food-menu-summary-panel {
  display: grid;
  gap: 10px;
}

.event-food-menu-compact-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0;
}

.event-food-menu-compact-summary {
  align-items: center;
  background: #fbfaf8;
  border: 1px solid rgba(122, 90, 53, .18);
  border-radius: 8px;
  display: grid;
  gap: 6px 12px;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  padding: 10px 12px;
}

.event-food-menu-compact-summary span {
  color: var(--minddesk-event-accent);
  font-size: .78rem;
  font-weight: 800;
  min-width: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.event-food-menu-compact-summary strong {
  color: var(--minddesk-ink);
  font-size: .98rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-food-menu-compact-summary.is-muted {
  opacity: .72;
}

.event-food-menu-modal-tools {
  border-top: 1px solid rgba(37, 33, 29, .08);
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
}

.event-food-menu-qr-card {
  align-items: center;
  background: #fbfaf8;
  border: 1px solid rgba(122, 90, 53, .18);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  grid-template-columns: 176px minmax(0, 1fr);
  padding: 16px;
}

.event-food-menu-qr-image-wrap {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 8px;
  display: flex;
  height: 176px;
  justify-content: center;
  padding: 10px;
  width: 176px;
}

.event-food-menu-qr-image {
  display: block;
  height: 152px;
  width: 152px;
}

.event-food-menu-qr-detail {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.event-food-menu-qr-detail:only-child {
  grid-column: 1 / -1;
}

.event-food-menu-qr-detail span {
  color: var(--minddesk-event-accent);
  font-size: .78rem;
  font-weight: 800;
}

.event-food-menu-qr-detail strong {
  color: var(--minddesk-ink);
  font-family: var(--bs-font-monospace);
  font-size: .98rem;
  overflow-wrap: anywhere;
}

.event-food-menu-qr-actions {
  align-items: center;
  flex-wrap: wrap;
}

.event-food-menu-qr-empty {
  align-items: center;
  background: #fbfaf8;
  border: 1px dashed rgba(122, 90, 53, .28);
  border-radius: 8px;
  color: #6b6258;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0;
  padding: 14px 16px;
}

.event-food-menu-qr-print-area {
  display: none;
}

.food-menu-qr-report {
  background: #fffdf7;
  border: 2px solid #a98649;
  box-shadow: inset 0 0 0 8px #fffdf7, inset 0 0 0 9px #c5a66d, inset 0 0 0 16px #fffdf7, inset 0 0 0 17px #d9c49d;
  color: #514536;
  display: grid;
  font-family: Georgia, "Times New Roman", serif;
  grid-template-rows: auto 1fr auto;
  height: 190mm;
  padding: 18mm;
  text-align: center;
  width: 128mm;
}

.food-menu-qr-report header {
  color: #7a5a35;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.food-menu-qr-report section {
  align-content: center;
  display: grid;
  gap: 8mm;
  justify-items: center;
}

.food-menu-qr-report section span {
  color: #9a7a42;
  font: 700 .78rem Arial, sans-serif;
  letter-spacing: 0;
}

.food-menu-qr-report h1 {
  color: #59452f;
  font-size: 2.35rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}

.food-menu-qr-report time {
  color: #6b6258;
  font: 700 .98rem Arial, sans-serif;
}

.food-menu-qr-report img {
  display: block;
  height: 58mm;
  width: 58mm;
}

.food-menu-qr-report footer {
  color: #7b7065;
  display: flex;
  font: 700 .72rem Arial, sans-serif;
  justify-content: space-between;
  letter-spacing: 0;
  text-align: left;
}

.food-menu-preview-panel {
  background: #f6f2eb;
  border: 1px solid rgba(37, 33, 29, .16);
  border-radius: 8px;
  overflow: hidden;
}

.food-menu-preview-header {
  align-items: center;
  background: #fffdf8;
  border-bottom: 1px solid rgba(37, 33, 29, .12);
  color: #5c5144;
  display: flex;
  font-size: .82rem;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0;
  padding: 10px 12px;
}

.food-menu-preview-frame {
  background: #eee7dc;
  border: 0;
  display: block;
  height: min(58vh, 720px);
  min-height: 520px;
  width: 100%;
}

.event-program-modal-toolbar {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 10px;
}

#eventProgramItemModal .modal-content,
#eventProgramTemplateModal .modal-content {
  max-height: calc(100vh - 1rem);
}

#eventProgramItemModal .modal-body,
#eventProgramTemplateModal .modal-body {
  overflow-y: auto;
}

.event-program-list-scroll {
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  max-height: min(58vh, 560px);
  overflow: auto;
}

.event-program-list-table {
  margin-bottom: 0;
  min-width: 880px;
}

.event-program-list-table thead th {
  background: #f5efe4;
  color: #5d5348;
  font-size: .76rem;
  font-weight: 850;
  position: sticky;
  text-transform: none;
  top: 0;
  z-index: 2;
}

.event-program-list-table tr.is-passive {
  background: rgba(107, 98, 88, .06);
  opacity: .72;
}

.event-program-page-panel .event-program-list-scroll {
  max-height: min(calc(100vh - 260px), 720px);
}

.event-program-order-column {
  width: 82px;
}

.event-program-action-column {
  width: 172px;
}

.event-program-sort-cell {
  align-items: center;
  display: flex;
  gap: 6px;
}

.event-program-row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.operations-event-heading {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.operations-event-heading h2 {
  margin-bottom: 2px;
}

.operations-event-heading span {
  color: #6b6258;
  display: block;
  font-size: .9rem;
  font-weight: 760;
}

.operations-program-panel {
  display: grid;
  gap: 12px;
}

.operations-metrics {
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 4px;
}

.operations-metrics div {
  min-height: 86px;
  padding: 14px;
}

.operations-metrics strong {
  font-size: 1.42rem;
  line-height: 1.1;
}

.operations-program-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.operations-program-item {
  align-items: center;
  background: #fffaf1;
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 56px 116px minmax(0, 1fr) minmax(260px, auto);
  min-height: 82px;
  padding: 12px;
}

.operations-program-item.is-passive {
  opacity: .62;
}

.operations-program-item.is-completed {
  background: #f1f8f4;
  border-color: rgba(47, 133, 90, .26);
}

.operations-program-item.is-cancelled {
  background: #fff2f2;
  border-color: rgba(154, 45, 38, .22);
}

.operations-program-order,
.operations-program-time,
.operations-program-main,
.operations-program-actions {
  min-width: 0;
}

.operations-program-order {
  align-items: center;
  display: flex;
  gap: 6px;
}

.operations-program-time time {
  color: #6d3245;
  display: block;
  font-size: 1rem;
  font-weight: 880;
  white-space: nowrap;
}

.operations-program-time small,
.operations-program-main small {
  color: #6b6258;
  display: block;
  font-size: .82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.operations-program-main strong {
  color: var(--minddesk-ink);
  display: block;
  font-size: 1rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.operations-program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.operations-program-meta span {
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(37, 33, 29, .08);
  border-radius: 999px;
  color: #5d5348;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 4px 8px;
}

.operations-program-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.event-template-grid {
  align-items: start;
  grid-template-columns: minmax(380px, 1.25fr) minmax(320px, .9fr);
}

.event-template-editor-panel {
  min-width: 0;
}

.event-template-items-scroll {
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  max-height: min(54vh, 620px);
  overflow: auto;
}

.event-template-items-table {
  margin-bottom: 0;
  min-width: 760px;
}

.event-template-items-table thead th {
  background: #f5efe4;
  color: #5d5348;
  font-size: .76rem;
  font-weight: 850;
  position: sticky;
  text-transform: none;
  top: 0;
  z-index: 2;
}

.event-template-row-number-column {
  width: 68px;
}

.event-template-duration-column {
  width: 132px;
}

.event-template-state-column {
  width: 164px;
}

.event-template-remove-column {
  width: 54px;
}

.event-template-row-checks {
  align-items: flex-start;
  display: grid;
  gap: 6px;
}

.event-template-option-list {
  display: grid;
  gap: 8px;
}

.event-template-option {
  align-items: flex-start;
  border: 1px solid rgba(37, 33, 29, .12);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 10px 12px;
}

.event-template-option:hover,
.event-template-option:focus-within {
  border-color: rgba(140, 100, 36, .34);
  box-shadow: 0 10px 24px rgba(28, 22, 15, .08);
}

.event-template-option input {
  margin-top: 4px;
}

.event-template-option span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.event-template-option strong {
  color: var(--minddesk-ink);
  line-height: 1.2;
}

.event-template-option small {
  color: #6b6258;
}

.event-template-option em {
  color: var(--minddesk-event-accent);
  font-size: .82rem;
  font-style: normal;
  font-weight: 800;
}

.modal {
  z-index: 2000;
}

.event-invitation-qr-panel {
  display: grid;
  gap: 14px;
}

.event-invitation-qr-state {
  align-items: center;
  background: rgba(29, 127, 84, .12);
  border: 1px solid rgba(29, 127, 84, .28);
  border-radius: 999px;
  color: #1d7f54;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  min-height: 30px;
  padding: 4px 10px;
}

.event-invitation-qr-state-muted {
  background: rgba(107, 98, 88, .1);
  border-color: rgba(107, 98, 88, .24);
  color: #6b6258;
}

.event-invitation-qr-empty {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.event-invitation-qr-layout {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.event-invitation-qr-image-wrap {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 8px;
  display: flex;
  height: 220px;
  justify-content: center;
  padding: 12px;
  width: 220px;
}

.event-invitation-qr-image-wrap.is-empty {
  background: #fbfaf8;
  border-style: dashed;
  color: #6b6258;
  font-size: .86rem;
  font-weight: 700;
  padding: 18px;
  text-align: center;
}

.event-invitation-qr-image {
  display: block;
  height: 196px;
  width: 196px;
}

.event-invitation-qr-detail {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.event-invitation-qr-detail span {
  color: var(--minddesk-event-accent);
  font-size: .78rem;
  font-weight: 800;
  text-transform: none;
}

.event-invitation-qr-detail strong {
  color: var(--minddesk-ink);
  font-family: var(--bs-font-monospace);
  font-size: .98rem;
  overflow-wrap: anywhere;
}

.event-invitation-qr-detail label {
  color: #6b6258;
  font-weight: 700;
  margin-bottom: -2px;
}

.event-invitation-qr-detail small {
  color: #6b6258;
  display: block;
}

.event-invitation-qr-actions {
  align-items: center;
  flex-wrap: wrap;
}

.invitation-qr-report {
  display: none;
}

.print-page-root {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  height: 210mm;
  justify-content: center;
  left: -10000px;
  overflow: hidden;
  padding: 10mm;
  pointer-events: none;
  position: fixed;
  top: 0;
  visibility: hidden;
  width: 148mm;
  z-index: -1;
}

.print-page-root .invitation-qr-report,
.print-page-root .food-menu-qr-report {
  display: grid;
}

/* Positions follow the supplied 1055 x 1491 invitation artwork. */
.print-page-root.print-invitation-qr-root {
  padding: 0;
}

.print-page-root .invitation-qr-report {
  background: #ffffff;
  display: block;
  height: 210mm;
  overflow: hidden;
  position: relative;
  width: 148mm;
}

.invitation-qr-report-template {
  display: block;
  height: 100%;
  width: 100%;
}

.invitation-qr-report-code {
  background: #ffffff;
  box-sizing: border-box;
  display: block;
  height: 66mm;
  left: 50%;
  padding: 3mm;
  position: absolute;
  top: 34.5%;
  transform: translateX(-50%);
  width: 66mm;
}

.invitation-qr-report-logo {
  display: block;
  height: 40mm;
  left: 50%;
  object-fit: contain;
  object-position: center;
  position: absolute;
  top: calc(77% - 8.5mm);
  transform: translateX(-50%);
  width: 120mm;
}

.event-digital-invitation-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.event-invitation-design-panel,
.event-guest-list-panel {
  display: grid;
  gap: 14px;
}

.event-invitation-design-summary {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.event-invitation-design-summary > div,
.event-guest-kpi-grid > div,
.event-guest-context-panel {
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 12px;
}

.event-invitation-design-summary span,
.event-guest-kpi-grid span,
.event-guest-context-panel span {
  color: #6b6258;
  font-size: .76rem;
  font-weight: 800;
  text-transform: none;
}

.event-invitation-design-summary strong,
.event-guest-context-panel strong {
  color: var(--minddesk-ink);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.event-invitation-design-summary small,
.event-guest-kpi-grid small {
  color: #6b6258;
  font-size: .82rem;
}

.event-invitation-design-lock {
  min-width: 132px;
}

.event-invitation-design-lock strong {
  color: var(--minddesk-event-accent);
}

.event-guest-kpi-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
}

.event-guest-kpi-grid strong {
  color: var(--minddesk-ink);
  font-size: 1.55rem;
  line-height: 1.05;
}

.event-guest-context-panel {
  margin-bottom: 16px;
}

.event-package-form {
  margin-top: 12px;
}

.calendar-content-main {
  max-width: min(1780px, calc(100vw - 32px));
  padding-top: 16px;
  padding-bottom: 16px;
}

.event-calendar-workspace {
  display: grid;
  gap: 14px;
  min-height: calc(100vh - 140px);
}

.event-calendar-toolbar {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(240px, 1.1fr) minmax(180px, .7fr) minmax(180px, .7fr);
}

.event-calendar-toolbar label {
  color: #6b6258;
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.event-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 74px;
  overflow: auto;
}

.event-calendar-legend span {
  align-items: center;
  background: rgba(255, 252, 246, .82);
  border: 1px solid rgba(140, 100, 36, .24);
  border-radius: 999px;
  color: #39322c;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  gap: 7px;
  min-height: 30px;
  padding: 4px 10px;
}

.event-calendar-legend i {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.event-calendar-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 330px;
  min-height: calc(100vh - 318px);
}

.event-calendar-board {
  height: calc(100vh - 318px);
  min-height: 680px;
  overflow: hidden;
  padding: 14px;
}

#eventCalendar {
  height: 100%;
}

.event-calendar-fallback {
  align-items: center;
  color: #6b6258;
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 420px;
}

.event-calendar-board .fc {
  color: var(--minddesk-ink);
  font-family: inherit;
}

.event-calendar-board .fc .fc-toolbar {
  gap: 10px;
}

.event-calendar-board .fc .fc-toolbar-title {
  color: #211a16;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
}

.event-calendar-board .fc .fc-button {
  background: rgba(255, 252, 246, .94);
  border-color: rgba(140, 100, 36, .42);
  border-radius: 8px;
  color: #332b24;
  font-weight: 800;
  min-height: 38px;
  text-transform: none;
}

.event-calendar-board .fc .fc-button:hover,
.event-calendar-board .fc .fc-button:focus {
  background: #efe6d6;
  border-color: rgba(135, 56, 79, .5);
  color: #211a16;
}

.event-calendar-board .fc .fc-button-primary:not(:disabled).fc-button-active,
.event-calendar-board .fc .fc-button-primary:not(:disabled):active {
  background: var(--minddesk-event-accent);
  border-color: var(--minddesk-event-accent);
  color: #ffffff;
}

.event-calendar-board .fc .fc-col-header-cell {
  background: rgba(239, 230, 214, .58);
}

.event-calendar-board .fc .fc-col-header-cell-cushion,
.event-calendar-board .fc .fc-daygrid-day-number {
  color: #3a3028;
  font-weight: 800;
  text-decoration: none;
}

.event-calendar-board .fc .fc-scrollgrid,
.event-calendar-board .fc td,
.event-calendar-board .fc th {
  border-color: rgba(140, 100, 36, .24);
}

.event-calendar-board .fc .fc-day-today {
  background: rgba(218, 171, 72, .14);
}

.event-calendar-board .fc .fc-event {
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(18, 32, 50, .12);
  overflow: hidden;
}

.md-calendar-event-content {
  display: grid;
  gap: 1px;
  line-height: 1.15;
  padding: 2px 4px;
}

.md-calendar-event-venue {
  font-size: .68rem;
  font-weight: 800;
  opacity: .86;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.md-calendar-event-title {
  font-size: .76rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-day-agenda {
  align-content: start;
  display: grid;
  gap: 12px;
}

.event-day-agenda-header span {
  color: var(--minddesk-event-accent);
  display: block;
  font-size: .78rem;
  font-weight: 800;
  text-transform: none;
}

.event-day-agenda-header strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.12;
  margin-top: 3px;
}

.event-day-agenda-list {
  display: grid;
  gap: 9px;
}

.event-day-agenda-actions {
  margin-top: 2px;
}

.event-day-agenda-item {
  background: rgba(255, 252, 246, .76);
  border: 1px solid rgba(140, 100, 36, .22);
  border-left: 5px solid var(--minddesk-event-accent);
  border-radius: 8px;
  color: var(--minddesk-ink);
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  text-decoration: none;
}

.event-day-agenda-item:hover,
.event-day-agenda-item:focus {
  border-color: rgba(135, 56, 79, .36);
  color: var(--minddesk-ink);
}

.event-day-agenda-item span {
  color: #6b6258;
  font-size: .78rem;
  font-weight: 800;
}

.event-day-agenda-item strong {
  line-height: 1.18;
}

.event-day-agenda-item em {
  color: #6b6258;
  font-size: .78rem;
  font-style: normal;
}

.quick-event-slug-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 14px;
}

.quick-event-slug-row label {
  margin: 0;
}

.quick-event-slug-row .public-slug-tag {
  margin-left: 0;
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.portal-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.portal-panel {
  padding: 18px;
  border: 1px solid rgba(140, 100, 36, .32);
  border-radius: 8px;
  background: rgba(255, 252, 246, .94);
  box-shadow:
    0 18px 42px rgba(18, 32, 50, .1),
    inset 0 1px 0 rgba(255, 255, 255, .74);
}

.portal-panel h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.portal-panel h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.portal-form {
  display: grid;
  gap: 10px;
}

.portal-form label,
.portal-guest-row label {
  color: #6b6258;
  font-size: 0.86rem;
  font-weight: 700;
}

.portal-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.portal-input-action {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.portal-input-action .btn {
  min-width: 92px;
  white-space: nowrap;
}

.portal-field-error {
  color: var(--minddesk-event-accent);
  display: block;
  font-size: .8rem;
  font-weight: 760;
  line-height: 1.35;
  min-height: 1.08rem;
  overflow-wrap: anywhere;
  padding-top: 4px;
}

.portal-field-error:empty {
  padding-top: 0;
}

.input-validation-error {
  border-color: rgba(135, 56, 79, .72);
  box-shadow: 0 0 0 .18rem rgba(135, 56, 79, .12);
}

.portal-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  min-height: 38px;
  padding-top: 24px;
}

.portal-checks label {
  color: #25211d;
  font-size: 0.9rem;
  font-weight: 500;
}

.portal-guest-editor {
  display: grid;
  gap: 10px;
}

.portal-choice-list {
  display: grid;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(37, 33, 29, 0.1);
  border-radius: 8px;
  background: #fff;
}

.portal-choice-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 8px;
  border-bottom: 1px solid rgba(37, 33, 29, 0.08);
}

.portal-choice-row:last-child {
  border-bottom: 0;
}

.portal-choice-row small {
  display: block;
  color: #6b6258;
}

.portal-choice-row em {
  color: #6b6258;
  font-style: normal;
  font-size: 0.84rem;
}

.portal-guest-row {
  display: grid;
  grid-template-columns: minmax(140px, 1.3fr) minmax(120px, 1fr) 92px auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(37, 33, 29, 0.1);
  border-radius: 8px;
  background: #fff;
}

.portal-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.portal-inline-actions {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: flex-end;
  white-space: nowrap;
}

.portal-copy-field {
  align-items: center;
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 260px;
}

.portal-inline-form {
  display: grid;
  grid-template-columns: minmax(132px, 1fr) 84px minmax(150px, 1fr) auto;
  gap: 6px;
  align-items: center;
  min-width: 520px;
}

.portal-table-panel {
  min-width: 0;
}

.invitation-send-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.invitation-send-panel {
  min-width: 0;
}

.invitation-send-form {
  display: grid;
  gap: 12px;
}

.invitation-send-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.invitation-send-select-all {
  align-items: center;
  color: #25211d;
  display: inline-flex;
  font-size: .92rem;
  font-weight: 750;
  gap: 8px;
  margin: 0;
}

.invitation-send-scroll {
  max-width: 100%;
  min-width: 0;
  overflow: auto;
}

.invitation-send-table {
  min-width: 1080px;
  table-layout: fixed;
  width: 100%;
}

.invitation-send-table th,
.invitation-send-table td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.invitation-send-select-column,
.invitation-send-select-cell {
  text-align: center;
  width: 54px;
}

.invitation-send-table tr.is-passive > td {
  background: rgba(245, 240, 232, .42);
}

.portal-header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.guestbook-print-button {
  white-space: nowrap;
}

.guestbook-report-print-area {
  display: none;
}

.guestbook-memory-report {
  box-sizing: border-box;
  color: #3a2d22;
  display: flex;
  flex-direction: column;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  height: 297mm;
  overflow: hidden;
  padding: 69mm 27mm 26mm;
  position: relative;
  width: 210mm;
}

.guestbook-memory-template {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.guestbook-memory-report-header {
  display: grid;
  gap: 1.5mm;
  justify-items: center;
  min-width: 0;
  position: relative;
  text-align: center;
  z-index: 1;
}

.guestbook-memory-report h1 {
  color: #8c5b1f;
  font-size: 14pt;
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.guestbook-memory-report-header time {
  color: #a86f24;
  font: 700 9pt "Segoe UI", Arial, sans-serif;
}

.guestbook-memory-report-content {
  flex: 1 0 auto;
  margin-top: 8mm;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.guestbook-memory-list {
  display: grid;
  gap: 6mm;
  list-style: none;
  margin: 0;
  padding: 0;
}

.guestbook-memory-card {
  display: grid;
  gap: 2mm;
  overflow: visible;
  padding: 0;
  position: relative;
}

.guestbook-memory-card blockquote {
  color: #46311c;
  font-size: 12pt;
  font-style: italic;
  line-height: 1.48;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: left;
  white-space: pre-wrap;
}

.guestbook-memory-meta {
  display: block;
  min-width: 0;
  text-align: right;
}

.guestbook-memory-meta strong {
  color: #9b671f;
  display: inline-block;
  font: 400 17pt "Brush Script MT", "Segoe Script", "Snell Roundhand", cursive;
  line-height: 1.05;
  min-width: 0;
  overflow-wrap: anywhere;
  padding-right: 3mm;
}

.guestbook-memory-remote-note {
  color: #7e4d58;
  display: block;
  font: 700 8.5pt "Segoe UI", Arial, sans-serif;
  margin-top: 1mm;
  text-align: right;
}

.guestbook-memory-empty {
  color: #9b671f;
  font: italic 13pt "Palatino Linotype", Palatino, Georgia, serif;
  margin: 0;
  padding-top: 26mm;
  text-align: center;
}

.guestbook-memory-report-footer {
  display: block;
  margin-top: auto;
  min-width: 0;
  position: relative;
  text-align: center;
  z-index: 1;
}

.guestbook-memory-report-footer > strong {
  color: #9b671f;
  font-size: 13pt;
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.event-guests-grid-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
}

.guest-grid-toolbar {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 1fr) minmax(170px, 210px) minmax(170px, 210px) auto;
  min-width: 0;
}

.guest-grid-search {
  min-width: 0;
}

.guest-grid-toolbar label {
  display: none;
}

.guest-grid-toolbar .form-control,
.guest-grid-toolbar .form-select,
.guest-grid-toolbar .btn {
  min-height: 32px;
}

.guest-grid-toolbar .btn {
  padding-left: 14px;
  padding-right: 14px;
  white-space: nowrap;
}

.guest-grid-filters {
  display: contents;
}

.guest-grid-scroll {
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  max-width: 100%;
  max-height: calc(100vh - 260px);
  min-width: 0;
  overflow: auto;
}

.guest-entry-table {
  margin: 0;
  min-width: 1100px;
  width: 100%;
}

.guest-entry-table thead th {
  background: #f5efe4;
  border-bottom: 1px solid rgba(37, 33, 29, .13);
  color: #5d5348;
  font-size: .76rem;
  font-weight: 850;
  position: sticky;
  text-transform: none;
  top: 0;
  z-index: 2;
}

.guest-entry-table td,
.guest-entry-table th {
  padding: 7px;
  vertical-align: middle;
}

.guest-entry-table .form-control,
.guest-entry-table .form-select {
  border-color: rgba(37, 33, 29, .16);
  border-radius: 6px;
  min-height: 34px;
}

.guest-entry-table .form-control:focus,
.guest-entry-table .form-select:focus {
  border-color: rgba(91, 120, 106, .72);
  box-shadow: 0 0 0 .16rem rgba(91, 120, 106, .14);
}

.guest-grid-row.is-cancelled {
  background: rgba(135, 56, 79, .07);
}

.guest-grid-row.is-cancelled .guest-family-input,
.guest-grid-row.is-cancelled .phone-input {
  text-decoration: line-through;
}

.guest-phone-warning {
  color: #8b5d13;
  display: block;
  font-size: .72rem;
  font-weight: 760;
  line-height: 1.25;
  margin-top: 4px;
}

.guest-order-column {
  width: 96px;
}

.guest-action-column {
  width: 78px;
}

.guest-sort-cell {
  align-items: center;
  display: flex;
  gap: 6px;
  min-width: 86px;
}

.guest-sort-number {
  color: #6b6258;
  display: inline-block;
  font-size: .82rem;
  font-weight: 800;
  min-width: 22px;
}

.row-move-buttons {
  display: inline-grid;
  gap: 2px;
}

.row-order-button {
  align-items: center;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(37, 33, 29, .12);
  border-radius: 5px;
  color: #4c443d;
  display: inline-flex;
  font-size: .58rem;
  height: 17px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 22px;
}

.row-order-button:hover:not(:disabled) {
  background: #edf4f1;
  border-color: rgba(91, 120, 106, .38);
  color: #344e45;
}

.row-order-button:disabled {
  opacity: .28;
}

.guest-family-cell {
  min-width: 200px;
}

.guest-phone-cell {
  min-width: 190px;
}

.guest-number-cell {
  width: 94px;
}

.guest-number-cell .form-control {
  text-align: right;
}

.guest-detail-cell {
  min-width: 96px;
  white-space: nowrap;
}

.guest-count-pill {
  background: #edf4f1;
  border: 1px solid rgba(91, 120, 106, .24);
  border-radius: 999px;
  color: #344e45;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  justify-content: center;
  margin-left: 5px;
  min-width: 25px;
  padding: 2px 7px;
}

.guest-note-cell {
  min-width: 240px;
}

.guest-note-cell .form-control {
  min-width: 220px;
}

.guest-action-cell {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
  min-width: 72px;
  text-align: center;
  width: 78px;
}

.guest-row-save-state {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  line-height: 1;
  width: 26px;
}

.guest-row-save-state.is-blank {
  color: transparent;
}

.guest-row-save-state.is-dirty {
  background: #fff6d9;
  border-color: rgba(150, 118, 32, .28);
  color: #72591a;
}

.guest-row-save-state.is-saving {
  background: #eef1f4;
  border-color: rgba(70, 83, 98, .16);
  color: #475466;
  position: relative;
}

.guest-row-save-state.is-saving::after {
  animation: row-save-spin .72s linear infinite;
  border: 2px solid currentcolor;
  border-right-color: transparent;
  border-radius: 999px;
  content: "";
  height: 14px;
  width: 14px;
}

.guest-row-save-state.is-saved {
  background: #edf8ef;
  border-color: rgba(58, 134, 73, .22);
  color: #2e743f;
}

.guest-row-save-state.is-error {
  background: #fae9ee;
  border-color: rgba(135, 56, 79, .28);
  color: #87384f;
}

.guest-row-delete-button {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(135, 56, 79, .24);
  border-radius: 999px;
  color: #87384f;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 850;
  height: 26px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 26px;
}

.guest-row-delete-button:hover:not(:disabled) {
  background: #fae9ee;
  border-color: rgba(135, 56, 79, .42);
}

.guest-row-delete-button:disabled {
  opacity: .48;
}

.guest-grid-row.has-save-error {
  background: rgba(135, 56, 79, .06);
}

@keyframes row-save-spin {
  to {
    transform: rotate(360deg);
  }
}

.status-chip {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: .76rem;
  font-weight: 850;
  line-height: 1.1;
  padding: 5px 8px;
  white-space: nowrap;
}

.status-chip-muted {
  background: #f3f0eb;
  border-color: rgba(107, 98, 88, .16);
  color: #62584d;
}

.status-chip-neutral {
  background: #eef1f4;
  border-color: rgba(70, 83, 98, .16);
  color: #475466;
}

.status-chip-primary {
  background: #edf3ff;
  border-color: rgba(52, 94, 164, .2);
  color: #2c5593;
}

.status-chip-info {
  background: #edf4f1;
  border-color: rgba(60, 125, 102, .2);
  color: #356b5a;
}

.status-chip-success {
  background: #edf8ef;
  border-color: rgba(58, 134, 73, .2);
  color: #2e743f;
}

.status-chip-warning {
  background: #fff6d9;
  border-color: rgba(150, 118, 32, .22);
  color: #72591a;
}

.status-chip-danger {
  background: #fae9ee;
  border-color: rgba(135, 56, 79, .22);
  color: #87384f;
}

.guest-detail-placeholder {
  display: none !important;
}

.guest-detail-fields,
.guest-detail-fields[hidden] {
  display: none !important;
}

.guest-detail-fields.is-open {
  display: block !important;
}

#guestDetailModal {
  pointer-events: auto;
  z-index: 2000;
}

#guestDetailModal .modal-dialog,
#guestDetailModal .modal-content,
#guestDetailModal .form-control,
#guestDetailModal .form-select,
#guestDetailModal button,
#guestDetailModal label {
  pointer-events: auto;
}

#guestDetailModal .guest-detail-fields {
  display: block !important;
}

.modal-backdrop {
  z-index: 1990;
}

.guest-person-list {
  display: grid;
  gap: 8px;
}

.guest-person-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 32px minmax(180px, 1.1fr) minmax(140px, .85fr) 78px 64px minmax(260px, 1.55fr);
}

.guest-person-notes-input {
  min-width: 220px;
}

.guest-person-index {
  color: #6b6258;
  font-size: .82rem;
  font-weight: 800;
  text-align: right;
}

.guest-person-number {
  text-align: right;
}

.guest-person-check {
  align-items: center;
  color: #4c443d;
  display: inline-flex;
  font-size: .84rem;
  gap: 5px;
  margin: 0;
  white-space: nowrap;
}

.guest-grid-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.guest-grid-totals {
  align-items: center;
  background: #f8f3eb;
  border: 1px solid rgba(140, 100, 36, .16);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-end;
  margin-top: 10px;
  padding: 10px 12px;
}

.guest-grid-totals span {
  color: #6b6258;
  font-size: .86rem;
  font-weight: 760;
}

.guest-grid-totals strong {
  color: #25211d;
  display: inline-block;
  font-size: 1rem;
  margin-left: 6px;
  min-width: 26px;
  text-align: right;
}

.portal-span-wide {
  grid-column: 1 / -1;
}

.portal-detail-list {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
  gap: 8px 14px;
  margin: 0;
}

.portal-detail-list dt {
  color: #6b6258;
  font-weight: 700;
}

.portal-detail-list dd {
  margin: 0;
}

.portal-text-preview,
.portal-html-preview {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  color: #25211d;
  margin: 0;
  padding: 12px;
}

.portal-text-preview {
  font: inherit;
  white-space: pre-wrap;
}

.portal-html-preview h3,
.portal-html-preview h4 {
  margin: 0 0 8px;
}

.portal-html-preview ul,
.portal-html-preview ol {
  margin-bottom: 0;
}

.restricted-task-body {
  display: block;
  min-height: 100vh;
}

.restricted-task-shell {
  margin: 0 auto;
  max-width: min(1180px, calc(100vw - 24px));
  padding: 18px 0 28px;
}

.restricted-status-bar {
  margin-top: 6px;
}

.restricted-status-bar-inner {
  flex-wrap: wrap;
  gap: 8px 18px;
}

.restricted-status-bar a {
  color: #f4ead9;
  text-decoration: none;
}

.restricted-status-bar a:hover,
.restricted-status-bar a:focus {
  color: #f2d58d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-access-shell {
  display: grid;
  gap: 16px;
}

.event-access-header-leading {
  align-items: center;
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  min-width: 0;
}

.event-access-header-nav {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 6px;
}

.event-access-logo-link,
.event-access-menu-icon {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(37, 33, 29, .12);
  border-radius: 8px;
  color: #25211d;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  text-decoration: none;
  width: 38px;
}

.event-access-logo-link img {
  height: 28px;
  width: 28px;
}

.event-access-menu-icon:hover {
  background: #f8f3eb;
  border-color: rgba(126, 77, 88, .32);
  color: #7e4d58;
}

.event-access-header {
  align-items: end;
  background: rgba(255, 252, 246, .94);
  border: 1px solid rgba(140, 100, 36, .24);
  border-radius: 8px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: clamp(18px, 4vw, 28px);
}

.event-access-header span,
.event-access-session span,
.event-access-login-header span,
.event-access-login-meta span,
.event-access-task-card span,
.event-access-dev-code span {
  color: #7e4d58;
  display: block;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.event-access-menu-icon span {
  color: inherit;
  display: block;
  font-size: 1.16rem;
  font-weight: 900;
  line-height: 1;
}

.event-access-header h1,
.event-access-login-header h1 {
  color: #25211d;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  letter-spacing: 0;
  line-height: 1.08;
  margin: 4px 0 6px;
}

.event-access-header p,
.event-access-login-header p {
  color: #6b6258;
  font-weight: 760;
  margin: 0;
}

.event-access-session {
  background: #ffffff;
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  min-width: min(100%, 220px);
  padding: 12px;
  text-align: right;
}

.event-access-session strong {
  color: #25211d;
  display: block;
  font-size: .95rem;
}

.event-access-summary {
  background: rgba(255, 252, 246, .88);
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 8px;
  padding: 16px;
}

.event-access-summary dl {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 0;
}

.event-access-summary div {
  min-width: 0;
}

.event-access-summary dt {
  color: #7e4d58;
  font-size: .78rem;
  font-weight: 850;
}

.event-access-summary dd {
  color: #25211d;
  font-weight: 850;
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.event-access-guest-summary .has-warning dt,
.event-access-guest-summary .has-warning dd {
  color: #8b5d13;
}

.event-access-readonly-note {
  background: #fff6d9;
  border: 1px solid rgba(150, 118, 32, .24);
  border-radius: 8px;
  color: #72591a;
  font-weight: 760;
  padding: 12px 14px;
}

.event-access-list-completion {
  align-items: center;
  background: rgba(255, 252, 246, .96);
  border: 1px solid rgba(140, 100, 36, .26);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  min-width: 0;
  padding: 13px 14px;
}

.event-access-list-completion.is-complete {
  border-color: rgba(58, 134, 73, .28);
}

.event-access-list-completion.is-pending {
  border-color: rgba(150, 118, 32, .28);
}

.event-access-list-completion span,
.event-access-list-completion small {
  color: #6b6258;
  display: block;
  font-size: .78rem;
  font-weight: 750;
}

.event-access-list-completion strong {
  color: var(--minddesk-ink);
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 2px;
}

.event-access-list-completion-form {
  flex: 0 0 auto;
  margin: 0;
}

.event-access-guest-list .event-guests-grid-panel {
  background: rgba(255, 252, 246, .96);
}

.event-access-guest-list .guest-grid-toolbar {
  grid-template-columns: minmax(0, 1fr);
}

.event-access-guest-list .guest-grid-toolbar.has-owner-selector {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
}

.event-access-owner-list-selector {
  align-items: end;
  display: grid;
  gap: 5px;
  min-width: 0;
  width: 100%;
}

.event-access-owner-list-selector label {
  color: #6b6258;
  display: block;
  font-size: .78rem;
  font-weight: 800;
}

.event-access-owner-list-selector select {
  min-height: 34px;
  width: 100%;
}

.event-access-guestbook-summary .has-warning dt,
.event-access-guestbook-summary .has-warning dd {
  color: #8b5d13;
}

.event-access-guestbook-panel {
  background: rgba(255, 252, 246, .96);
}

.event-access-guestbook-list {
  display: grid;
  gap: 12px;
}

.event-access-guestbook-message {
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(42, 47, 51, .12);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 14px;
}

.event-access-guestbook-message.is-hidden {
  background: rgba(255, 255, 255, .62);
  border-style: dashed;
}

.event-access-guestbook-message-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.event-access-guestbook-message-header {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  min-width: 0;
}

.event-access-guestbook-message-header strong,
.event-access-guestbook-message-header small {
  display: block;
}

.event-access-guestbook-message-header strong {
  color: #25211d;
  font-size: .98rem;
  overflow-wrap: anywhere;
}

.event-access-guestbook-message-header small {
  color: #6b6258;
  font-size: .78rem;
  font-weight: 750;
  margin-top: 2px;
}

.event-access-guestbook-badges {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.event-access-guestbook-badges span {
  background: rgba(126, 77, 88, .08);
  border: 1px solid rgba(126, 77, 88, .16);
  border-radius: 999px;
  color: #7e4d58;
  display: inline-flex;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1;
  padding: 6px 8px;
}

.event-access-guestbook-badges span.is-visible {
  background: rgba(38, 113, 88, .08);
  border-color: rgba(38, 113, 88, .18);
  color: #267158;
}

.event-access-guestbook-badges span.is-hidden {
  background: rgba(128, 92, 22, .08);
  border-color: rgba(128, 92, 22, .18);
  color: #805c16;
}

.event-access-guestbook-message blockquote {
  color: #332c28;
  font-size: .95rem;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.event-access-guestbook-visibility-form {
  align-items: center;
  display: flex;
  margin: 0;
}

.event-access-task-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
}

.event-access-task-card {
  background: #ffffff;
  border: 1px solid rgba(42, 47, 51, .14);
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 16px;
  text-decoration: none;
}

.event-access-task-card.is-open[href] {
  border-color: rgba(38, 113, 88, .28);
  box-shadow: 0 10px 24px rgba(38, 113, 88, .1);
  cursor: pointer;
  position: relative;
}

.event-access-task-card.is-open[href]::after {
  align-items: center;
  background: #267158;
  border-radius: 999px;
  color: #ffffff;
  content: "Aç";
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  justify-content: center;
  justify-self: start;
  min-height: 28px;
  min-width: 52px;
  padding: 0 12px;
}

.event-access-task-card.is-open[href]:hover {
  border-color: rgba(38, 113, 88, .54);
  box-shadow: 0 14px 30px rgba(38, 113, 88, .16);
  transform: translateY(-1px);
}

.event-access-info-task {
  font: inherit;
  text-align: left;
  width: 100%;
}

.event-access-task-card.is-open.event-access-info-task {
  border-color: rgba(38, 113, 88, .28);
  box-shadow: 0 10px 24px rgba(38, 113, 88, .1);
  cursor: pointer;
  position: relative;
}

.event-access-task-card.is-open.event-access-info-task::after {
  align-items: center;
  background: #267158;
  border-radius: 999px;
  color: #ffffff;
  content: "Aç";
  display: inline-flex;
  font-size: .78rem;
  font-weight: 900;
  justify-content: center;
  justify-self: start;
  min-height: 28px;
  min-width: 52px;
  padding: 0 12px;
}

.event-access-task-card.is-open.event-access-info-task:hover {
  border-color: rgba(38, 113, 88, .54);
  box-shadow: 0 14px 30px rgba(38, 113, 88, .16);
  transform: translateY(-1px);
}

.event-access-task-card.is-closed {
  background: rgba(255, 255, 255, .58);
  border-style: dashed;
  cursor: not-allowed;
  opacity: .68;
}

.event-access-task-card strong {
  color: #25211d;
  font-size: 1.04rem;
  line-height: 1.22;
}

.event-access-task-card small {
  color: #6b6258;
  line-height: 1.42;
}

.event-access-invitation-task {
  min-width: 0;
}

.event-access-public-link {
  background: rgba(38, 113, 88, .06);
  border: 1px solid rgba(38, 113, 88, .16);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
}

.event-access-public-link span {
  color: #267158;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.event-access-public-link a {
  color: #1e6049;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.32;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.event-access-public-link a:hover {
  text-decoration: underline;
}

.event-access-task-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.event-access-task-actions a {
  align-items: center;
  background: #267158;
  border: 1px solid rgba(38, 113, 88, .2);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 850;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  text-decoration: none;
}

.event-access-task-actions .event-access-task-action-secondary {
  background: #ffffff;
  color: #267158;
}

.event-access-task-actions .event-access-task-action-primary {
  background: #267158;
  color: #ffffff;
}

.event-access-task-actions a:hover {
  border-color: rgba(38, 113, 88, .48);
  box-shadow: 0 8px 18px rgba(38, 113, 88, .12);
}

.event-access-details-modal[hidden] {
  display: none;
}

.event-access-details-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(14px, 4vw, 32px);
  position: fixed;
  z-index: 1060;
}

.event-access-details-backdrop {
  background: rgba(18, 16, 14, .58);
  inset: 0;
  position: absolute;
}

.event-access-details-panel {
  background: #fffdf8;
  border: 1px solid rgba(140, 100, 36, .24);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 16, 14, .28);
  color: #25211d;
  max-height: min(86vh, 760px);
  max-width: 920px;
  overflow: auto;
  position: relative;
  width: min(100%, 920px);
}

.event-access-details-panel:focus {
  outline: none;
}

.event-access-details-header {
  align-items: center;
  background: #fffdf8;
  border-bottom: 1px solid rgba(37, 33, 29, .1);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 20px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.event-access-details-header span {
  color: #7e4d58;
  display: block;
  font-size: .78rem;
  font-weight: 850;
}

.event-access-details-header h2 {
  color: #25211d;
  font-size: 1.3rem;
  line-height: 1.18;
  margin: 2px 0 0;
}

.event-access-details-close {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(37, 33, 29, .14);
  border-radius: 8px;
  color: #25211d;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.event-access-details-close span {
  color: inherit;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.event-access-details-close:hover {
  background: #f8f3eb;
  border-color: rgba(126, 77, 88, .32);
  color: #7e4d58;
}

.event-access-details-body {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.event-access-details-list {
  border-bottom: 1px solid rgba(37, 33, 29, .1);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 0;
  padding-bottom: 18px;
}

.event-access-details-list div {
  min-width: 0;
}

.event-access-details-list dt {
  color: #7e4d58;
  font-size: .78rem;
  font-weight: 850;
}

.event-access-details-list dd {
  color: #25211d;
  font-weight: 850;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.event-access-details-section {
  display: grid;
  gap: 10px;
}

.event-access-details-section h3 {
  color: #25211d;
  font-size: 1rem;
  line-height: 1.25;
  margin: 0;
}

.event-access-details-program-list,
.event-access-details-menu-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-access-details-program-list li {
  align-items: start;
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 116px minmax(0, 1fr);
  padding: 12px;
}

.event-access-details-program-list time {
  color: #267158;
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.25;
}

.event-access-details-program-list strong,
.event-access-details-program-list small,
.event-access-details-program-list p {
  display: block;
  min-width: 0;
}

.event-access-details-program-list strong {
  color: #25211d;
  font-size: .95rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.event-access-details-program-list small {
  color: #6b6258;
  font-size: .78rem;
  font-weight: 750;
  margin-top: 2px;
}

.event-access-details-program-list p {
  color: #4a423a;
  line-height: 1.42;
  margin: 7px 0 0;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.event-access-details-menu-list li {
  border-bottom: 1px solid rgba(37, 33, 29, .08);
  color: #332c28;
  font-weight: 760;
  line-height: 1.42;
  overflow-wrap: anywhere;
  padding: 7px 0;
}

.event-access-details-menu-list li:last-child {
  border-bottom: 0;
}

.event-access-details-empty {
  color: #6b6258;
  font-weight: 760;
  margin: 0;
}

body.event-access-details-modal-open {
  overflow: hidden;
}

.event-access-login-panel {
  background: rgba(255, 252, 246, .96);
  border: 1px solid rgba(140, 100, 36, .24);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 32, 50, .1);
  display: grid;
  gap: 16px;
  margin: 7vh auto 0;
  max-width: 520px;
  padding: clamp(20px, 5vw, 32px);
  width: min(100%, 520px);
}

.event-access-login-meta {
  background: #ffffff;
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  display: grid;
  gap: 3px;
  padding: 12px;
}

.event-access-login-meta strong {
  color: #25211d;
  font-family: var(--bs-font-monospace);
}

.event-access-login-meta small {
  color: #6b6258;
  font-size: .82rem;
}

.event-access-login-form {
  display: grid;
  gap: 12px;
}

.event-access-phone-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 96px minmax(0, 1fr);
}

.event-access-login-form label {
  display: grid;
  gap: 6px;
  margin: 0;
}

.event-access-login-form label span {
  color: #6b6258;
  font-size: .84rem;
  font-weight: 800;
}

.event-access-login-form input {
  background: #ffffff;
  border: 1px solid rgba(42, 47, 51, .18);
  border-radius: 8px;
  color: #25211d;
  font: inherit;
  min-height: 46px;
  outline: 0;
  padding: 10px 12px;
  width: 100%;
}

.event-access-login-form input:focus {
  border-color: rgba(126, 77, 88, .56);
  box-shadow: 0 0 0 3px rgba(126, 77, 88, .12);
}

.event-access-login-form button {
  background: #7e4d58;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 0 18px;
}

.event-access-code-form {
  border-top: 1px solid rgba(37, 33, 29, .08);
  padding-top: 14px;
}

.event-access-dev-code {
  background: #f3f6f7;
  border: 1px solid rgba(42, 89, 107, .18);
  border-radius: 8px;
  padding: 12px;
}

.event-access-dev-code strong {
  color: #25211d;
  display: block;
  font-family: var(--bs-font-monospace);
  font-size: 1.35rem;
  line-height: 1.1;
}

.invitation-editor-form {
  min-width: 0;
}

.invitation-editor-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  min-width: 0;
}

.invitation-editor-tools,
.invitation-editor-preview-panel {
  background: rgba(255, 252, 246, .96);
  border: 1px solid rgba(140, 100, 36, .26);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 32, 50, .1);
  min-width: 0;
}

.invitation-editor-tools {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.invitation-editor-tool-section {
  border-bottom: 1px solid rgba(140, 100, 36, .16);
  display: grid;
  gap: 10px;
  padding: 16px;
}

.invitation-editor-tool-section:last-child {
  border-bottom: 0;
}

.invitation-editor-tool-section h2 {
  color: #25211d;
  font-size: 1rem;
  line-height: 1.2;
  margin: 0 0 2px;
}

.invitation-background-asset-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-height: 270px;
  overflow: auto;
}

.invitation-background-asset-item {
  background: #fff;
  border: 1px solid rgba(140, 100, 36, .2);
  border-radius: 8px;
  color: #25211d;
  cursor: pointer;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 8px;
}

.invitation-background-asset-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.invitation-background-asset-item:has(input:checked) {
  border-color: rgba(135, 56, 79, .64);
  box-shadow: 0 0 0 2px rgba(135, 56, 79, .14);
}

.invitation-background-asset-item img {
  aspect-ratio: 9 / 16;
  background: #f6f0e5;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.invitation-background-asset-item span,
.invitation-background-asset-item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invitation-background-asset-item span {
  font-size: .8rem;
  font-weight: 800;
}

.invitation-background-asset-item small {
  color: #6b6258;
  font-size: .72rem;
  font-weight: 700;
}

.invitation-background-asset-empty {
  align-content: center;
  aspect-ratio: 9 / 16;
  justify-items: center;
}

.invitation-background-summary {
  display: grid;
  gap: 10px;
}

.invitation-background-current {
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 8px;
}

.invitation-background-preview-thumb {
  align-items: center;
  aspect-ratio: 9 / 16;
  background: #f6f0e5;
  border: 1px solid rgba(140, 100, 36, .14);
  border-radius: 6px;
  color: #8b8174;
  display: flex;
  flex: 0 0 62px;
  font-size: .78rem;
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
  width: 62px;
}

.invitation-background-preview-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.invitation-background-current-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.invitation-background-current-meta strong,
.invitation-background-current-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invitation-background-current-meta strong {
  color: #25211d;
  font-size: .88rem;
}

.invitation-background-current-meta span {
  color: #6b6258;
  font-size: .78rem;
  font-weight: 750;
}

.invitation-background-modal .modal-content {
  border: 0;
  border-radius: 8px;
}

.invitation-background-modal-body {
  display: grid;
  gap: 14px;
}

.invitation-background-tab-pane {
  padding-top: 14px;
}

.invitation-background-modal-asset-list {
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  max-height: min(58vh, 560px);
  padding: 2px;
}

.invitation-background-owned-list {
  margin-bottom: 14px;
}

.invitation-background-upload-controls,
.invitation-background-ai-controls {
  display: grid;
  gap: 9px;
  max-width: 760px;
}

.invitation-background-empty-state {
  align-items: center;
  border: 1px dashed rgba(140, 100, 36, .28);
  border-radius: 8px;
  color: #6b6258;
  display: flex;
  font-size: .86rem;
  font-weight: 750;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
}

.invitation-editor-tool-section label,
.invitation-editor-color-grid span {
  color: #6b6258;
  font-size: .82rem;
  font-weight: 800;
}

.invitation-editor-color-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.invitation-editor-color-grid label {
  display: grid;
  gap: 6px;
}

.invitation-editor-color-grid input[type="color"],
.invitation-editor-text-controls input[type="color"],
.invitation-editor-selected-text input[type="color"] {
  background: #ffffff;
  border: 1px solid rgba(37, 33, 29, .14);
  border-radius: 8px;
  height: 38px;
  padding: 4px;
  width: 100%;
}

.invitation-editor-text-controls {
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.invitation-editor-text-controls strong {
  color: #25211d;
  font-size: .9rem;
  line-height: 1.2;
}

.invitation-editor-text-toolbar {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.invitation-editor-text-toolbar h2 {
  margin-bottom: 0;
}

.invitation-editor-text-list {
  display: grid;
  gap: 6px;
  max-height: 210px;
  overflow: auto;
}

.invitation-editor-text-list-item {
  background: #fff;
  border: 1px solid rgba(140, 100, 36, .2);
  border-radius: 8px;
  color: #25211d;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 9px 10px;
  text-align: left;
}

.invitation-editor-text-list-item strong,
.invitation-editor-text-list-item span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invitation-editor-text-list-item strong {
  font-size: .82rem;
}

.invitation-editor-text-list-item span {
  color: #6b6258;
  font-size: .76rem;
}

.invitation-editor-text-list-item.is-selected {
  border-color: rgba(135, 56, 79, .58);
  box-shadow: 0 0 0 2px rgba(135, 56, 79, .12);
}

.invitation-editor-selected-text {
  border: 1px solid rgba(37, 33, 29, .1);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.invitation-editor-selected-text[hidden] {
  display: none;
}

.invitation-editor-save {
  border-top: 1px solid rgba(140, 100, 36, .16);
  padding: 14px 16px 16px;
}

.invitation-editor-preview-panel {
  min-height: 600px;
  padding: 18px;
  position: sticky;
  top: 18px;
}

.invitation-editor-preview-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.invitation-editor-preview-header span {
  color: #7e4d58;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.invitation-editor-preview-header small {
  color: #6b6258;
  font-size: .78rem;
  font-weight: 700;
  text-align: right;
}

.invitation-editor-preview {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 540px;
  min-width: 0;
}

.designed-invitation {
  --invitation-bg: #f6eadc;
  --invitation-frame: #8c6424;
  aspect-ratio: 9 / 16;
  background: var(--invitation-bg);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(18, 32, 50, .16);
  color: #25211d;
  display: block;
  isolation: isolate;
  max-width: min(100%, 430px);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.designed-invitation-bg,
.designed-invitation-bg-image,
.designed-invitation::before {
  inset: 0;
  position: absolute;
}

.designed-invitation-bg {
  background: var(--invitation-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
}

.designed-invitation-bg-image {
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  width: 100%;
  z-index: 0;
}

.designed-invitation::before {
  content: "";
  opacity: .24;
  pointer-events: none;
  z-index: 1;
}

.designed-invitation[data-base-type="image"]::before,
.designed-invitation[data-base-type="color"]::before {
  opacity: 0;
}

.pattern-linen::before {
  background:
    linear-gradient(90deg, rgba(37, 33, 29, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .36) 1px, transparent 1px);
  background-size: 18px 18px;
}

.pattern-soft-dots::before {
  background-image: radial-gradient(circle, rgba(37, 33, 29, .18) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
}

.pattern-floral::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(159, 80, 100, .22) 0 11px, transparent 12px),
    radial-gradient(circle at 84% 78%, rgba(140, 100, 36, .2) 0 13px, transparent 14px),
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, .5) 0 8px, transparent 9px);
  background-size: 180px 180px;
}

.designed-invitation-frame {
  align-items: center;
  border: 2px solid var(--invitation-frame);
  display: flex;
  inset: 7%;
  justify-content: center;
  padding: 7%;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.frame-none .designed-invitation-frame {
  border-color: transparent;
}

.frame-rounded .designed-invitation-frame {
  border-radius: 22px;
}

.frame-double .designed-invitation-frame {
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .58);
}

.designed-invitation-copy {
  display: grid;
  gap: 14px;
  max-width: 100%;
  width: 100%;
}

.designed-invitation-text-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.designed-invitation-copy h2,
.designed-invitation-copy p,
.designed-invitation-text {
  letter-spacing: 0;
  margin: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.designed-invitation-text-layer .designed-invitation-text {
  background: transparent;
  border: 1px solid transparent;
  cursor: default;
  line-height: 1.18;
  min-height: 24px;
  padding: 4px 6px;
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: pre-wrap;
}

.invitation-editor-text-box {
  appearance: none;
  pointer-events: auto;
  user-select: none;
}

.invitation-editor-text-box:not(:disabled) {
  cursor: move;
}

.invitation-editor-text-box.is-selected {
  background: rgba(255, 255, 255, .28);
  border-color: rgba(13, 110, 253, .72);
  box-shadow: 0 0 0 2px rgba(13, 110, 253, .18);
}

.font-family-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.font-family-sans {
  font-family: Inter, Arial, sans-serif;
}

.font-family-script {
  font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
}

.font-family-display {
  font-family: Didot, "Bodoni 72", Georgia, serif;
}

.font-family-modern {
  font-family: "Avenir Next", Inter, Arial, sans-serif;
}

.font-family-classic {
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
}

.font-family-mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.font-family-hand {
  font-family: "Bradley Hand", "Segoe Print", "Comic Sans MS", cursive;
}

.font-weight-regular {
  font-weight: 400;
}

.font-weight-medium {
  font-weight: 650;
}

.font-weight-bold {
  font-weight: 800;
}

.font-style-normal {
  font-style: normal;
}

.font-style-italic {
  font-style: italic;
}

.designed-invitation-copy h2,
.designed-invitation-text-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.05;
}

.text-size-large {
  font-size: clamp(2rem, 5.6vw, 3.8rem);
}

.text-size-medium {
  font-size: clamp(1.08rem, 2.4vw, 1.55rem);
  font-weight: 650;
  line-height: 1.25;
}

.text-size-normal {
  font-size: clamp(.98rem, 1.7vw, 1.18rem);
  line-height: 1.55;
}

.text-size-small {
  font-size: clamp(.82rem, 1.3vw, .98rem);
  font-weight: 700;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .portal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal-header-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .notification-summary-grid,
  .notification-center-item {
    grid-template-columns: 1fr;
  }

  .notification-center-marker {
    display: none;
  }

  .notification-center-actions {
    justify-content: flex-start;
  }

  .portal-user {
    text-align: left;
  }

  .portal-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-home-tile-grid,
  .event-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-program-summary-item {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .operations-event-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .operations-program-item {
    align-items: start;
    grid-template-columns: 48px minmax(96px, auto) minmax(0, 1fr);
  }

  .operations-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-program-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .event-program-summary-item small {
    white-space: normal;
  }

  .event-home-tile {
    min-height: 170px;
    padding: 18px;
  }

  .portal-filter,
  .event-calendar-toolbar,
  .event-calendar-layout,
  .portal-grid,
  .event-decision-grid,
  .event-digital-invitation-grid,
  .event-public-page-link-grid,
  .event-invitation-design-summary,
  .event-guest-kpi-grid,
  .invitation-editor-layout,
  .invitation-editor-color-grid,
  .portal-copy-field,
  .portal-form-row,
  .portal-input-action,
  .portal-guest-row,
  .guest-grid-toolbar,
  .guest-grid-filters,
  .event-food-menu-compact-summary,
  .portal-inline-form {
    grid-template-columns: 1fr;
  }

  .event-food-menu-compact-actions {
    justify-content: flex-start;
  }

  .event-owner-access-row,
  .event-owner-access-summary,
  .event-owner-access-row-actions {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .event-owner-access-summary small:last-child {
    grid-column: auto;
  }

  .guest-grid-scroll {
    max-height: none;
  }

  .event-access-guest-list .guest-grid-toolbar,
  .event-access-guest-list .guest-grid-toolbar.has-owner-selector {
    grid-template-columns: minmax(0, 1fr);
  }

  .event-access-list-completion {
    align-items: stretch;
    flex-direction: column;
  }

  .event-access-list-completion-form .btn {
    width: 100%;
  }

  .guest-person-row {
    grid-template-columns: 28px minmax(150px, 1fr) minmax(130px, 1fr);
  }

  .guest-person-row .guest-person-number,
  .guest-person-row .guest-person-check {
    grid-column: span 1;
  }

  .guest-person-row input[name$=".Notes"] {
    grid-column: 2 / -1;
  }

  .portal-inline-form {
    min-width: 0;
  }

  .app-notification-stack {
    right: 12px;
    top: 12px;
    width: calc(100vw - 24px);
  }

  .invitation-editor-preview-panel {
    min-height: 0;
    position: static;
  }

  .invitation-editor-preview-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .invitation-editor-preview-header small {
    text-align: left;
  }

  .invitation-editor-preview {
    min-height: 420px;
  }

  .event-package-list-header {
    align-items: stretch;
    flex-direction: column;
  }

  .event-invitation-qr-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .event-invitation-qr-layout {
    grid-template-columns: 1fr;
  }

  .event-invitation-qr-image-wrap {
    height: min(74vw, 240px);
    width: min(74vw, 240px);
  }

  .event-invitation-qr-image {
    height: calc(min(74vw, 240px) - 24px);
    width: calc(min(74vw, 240px) - 24px);
  }

  .portal-checks {
    padding-top: 0;
  }
}

@media print {
  @page {
    margin: 0;
    size: A5 portrait;
  }

  html.print-invitation-qr-mode,
  html.print-food-menu-qr-mode,
  body.print-invitation-qr-mode,
  body.print-food-menu-qr-mode {
    background: #ffffff !important;
    background-image: none !important;
    display: block !important;
    height: 210mm !important;
    margin: 0 !important;
    max-height: 210mm !important;
    overflow: hidden !important;
    padding: 0 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    width: 148mm !important;
  }

  body.print-invitation-qr-mode > :not(.print-page-root),
  body.print-food-menu-qr-mode > :not(.print-page-root) {
    display: none !important;
  }

  body.print-invitation-qr-mode .print-page-root,
  body.print-food-menu-qr-mode .print-page-root {
    align-items: center;
    background: #ffffff;
    box-sizing: border-box;
    display: flex;
    height: 210mm;
    justify-content: center;
    left: auto;
    margin: 0;
    padding: 10mm;
    pointer-events: auto;
    position: static;
    top: auto;
    visibility: visible;
    width: 148mm;
  }
  
  body.print-invitation-qr-mode .print-page-root {
    padding: 0;
  }

  body.print-invitation-qr-mode .print-page-root .invitation-qr-report {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body.print-invitation-qr-mode .print-page-root,
  body.print-invitation-qr-mode .print-page-root * {
    visibility: visible;
  }

  body.print-food-menu-qr-mode .print-page-root .food-menu-qr-report {
    box-sizing: border-box;
    box-shadow: inset 0 0 0 8px #fffdf7, inset 0 0 0 9px #c5a66d, inset 0 0 0 16px #fffdf7, inset 0 0 0 17px #d9c49d;
    break-inside: avoid;
    height: 190mm;
    overflow: hidden;
    page-break-inside: avoid;
    width: 128mm;
  }

  body.print-food-menu-qr-mode .print-page-root,
  body.print-food-menu-qr-mode .print-page-root * {
    visibility: visible;
  }

  html.print-guestbook-report-mode,
  body.print-guestbook-report-mode {
    background: #ffffff !important;
    background-image: none !important;
    display: block !important;
    height: auto !important;
    margin: 0 !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    width: auto !important;
  }

  body.print-guestbook-report-mode > header,
  body.print-guestbook-report-mode footer.status-bar,
  body.print-guestbook-report-mode .content-main > :not(.guestbook-report-print-area) {
    display: none !important;
  }

  body.print-guestbook-report-mode .content-shell,
  body.print-guestbook-report-mode .content-main {
    backdrop-filter: none !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
    display: block !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
  }

  body.print-guestbook-report-mode .guestbook-report-print-area {
    display: block !important;
    margin: 0 auto !important;
    width: 210mm !important;
  }

  body.print-guestbook-report-mode .guestbook-memory-report {
    break-after: page;
    break-inside: avoid;
    height: 297mm;
    margin: 0 !important;
    min-height: 297mm;
    page-break-after: always;
    page-break-inside: avoid;
    width: 210mm;
  }

  body.print-guestbook-report-mode .guestbook-memory-report:last-child {
    break-after: auto;
    page-break-after: auto;
  }

  body.print-guestbook-report-mode .guestbook-memory-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

.event-public-body {
  --event-accent: #87384f;
  --event-accent-strong: #1d7f54;
  --event-accent-muted: #6b6258;
  --event-card-bg: rgba(255, 252, 246, 0.94);
  --event-card-border: rgba(140, 100, 36, 0.28);
  --event-page-bg:
    radial-gradient(circle at 16% 0%, rgba(218, 171, 72, .22), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(135, 56, 79, .22), transparent 32%),
    linear-gradient(180deg, #0b1220 0%, #141016 38%, #efe6d6 38%, #efe6d6 100%);
  background: #efe6d6;
  color: #25211d;
  display: block;
  min-height: 100vh;
}

.event-theme-city-minimal {
  --event-accent: #285e70;
  --event-accent-strong: #164e63;
  --event-accent-muted: #59616a;
  --event-card-bg: rgba(250, 252, 252, 0.95);
  --event-card-border: rgba(35, 46, 55, 0.16);
  --event-page-bg:
    linear-gradient(135deg, rgba(238, 242, 242, 0.94), rgba(224, 231, 235, 0.92)),
    linear-gradient(45deg, rgba(40, 94, 112, 0.18), rgba(111, 85, 65, 0.14));
}

.event-theme-sea-classic {
  --event-accent: #155e63;
  --event-accent-strong: #0f766e;
  --event-accent-muted: #626c72;
  --event-card-bg: rgba(249, 252, 251, 0.95);
  --event-card-border: rgba(21, 94, 99, 0.18);
  --event-page-bg:
    linear-gradient(135deg, rgba(231, 245, 242, 0.94), rgba(244, 238, 226, 0.9)),
    linear-gradient(45deg, rgba(15, 118, 110, 0.18), rgba(150, 93, 63, 0.14));
}

.event-page {
  min-height: 100vh;
  padding: 32px 16px;
  background: var(--event-page-bg);
  background-size: cover;
  background-position: center;
}

.event-shell {
  box-sizing: border-box;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--event-card-border);
  border-radius: 8px;
  background: var(--event-card-bg);
  box-shadow: 0 24px 60px rgba(37, 33, 29, 0.12);
}

.event-invitation-shell {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 64px);
}

.event-food-only-shell {
  box-sizing: border-box;
  width: min(620px, 100%);
  margin: 0 auto;
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--event-card-border);
  border-radius: 8px;
  background: var(--event-card-bg);
  box-shadow: 0 24px 60px rgba(37, 33, 29, .12);
}

.event-food-only-header h1 {
  color: #25211d;
  font-size: clamp(1.65rem, 8vw, 3.1rem);
  line-height: 1.02;
  margin: 0;
  text-align: center;
}

.event-food-only-menu {
  align-self: center;
  border-top: 1px solid var(--event-card-border);
  border-bottom: 1px solid var(--event-card-border);
  padding: 24px 0;
}

.event-food-only-menu h2 {
  color: var(--event-accent);
  font-size: clamp(1.35rem, 6vw, 2.2rem);
  line-height: 1.1;
  margin: 0 0 16px;
  text-align: center;
}

.event-food-only-brand {
  color: var(--event-accent-muted);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

@media (max-width: 767.98px) {
  body.event-stage-background {
    background-image:
      linear-gradient(180deg, rgba(5, 7, 11, .72) 0%, rgba(9, 10, 13, .58) 36%, rgba(239, 230, 214, .92) 72%, rgba(239, 230, 214, .98) 100%),
      linear-gradient(90deg, rgba(5, 7, 11, .48) 0%, rgba(5, 7, 11, .2) 50%, rgba(5, 7, 11, .48) 100%),
      url("/img/backgrounds/event-stage-960.jpg");
    background-attachment: scroll;
    background-position: center top;
  }

  .top-menu-bar {
    padding: 7px 0;
  }

  .top-menu-inner {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 56px;
  }

  .top-menu-left {
    gap: 8px;
  }

  .brand-wordmark {
    height: 46px;
    max-width: 150px;
  }

  .hamburger-button {
    height: 40px;
    width: 40px;
  }

  .top-action-button {
    font-size: .8rem;
    min-height: 38px;
    padding: 0 11px;
  }

  .top-icon-button {
    height: 38px;
    width: 38px;
  }

  .top-menu-customer {
    font-size: .78rem;
    max-width: 108px;
    min-width: 0;
  }

  .profile-dropdown-menu {
    min-width: min(260px, calc(100vw - 24px));
  }

  .brand-icon {
    height: 42px;
    width: 42px;
  }

  .top-menu-user {
    display: none;
  }

  .content-main {
    margin-top: 14px;
    padding: 16px;
  }

  .content-main-stage {
    margin-bottom: 18px;
    padding: 0 10px;
  }

  .auth-stage {
    min-height: calc(100vh - 168px);
    padding: 18px 0;
  }

  .auth-card,
  .event-app-home {
    margin: 24px auto;
    padding: 22px;
  }
}

@media (min-width: 1200px) {
  .top-menu-customer {
    max-width: 460px;
  }
}

@media (max-width: 575.98px) {
  .brand-wordmark {
    height: 40px;
    max-width: 128px;
  }

  .top-menu-customer {
    display: none;
  }

  .top-menu-actions {
    gap: 8px;
  }

  .hamburger-button,
  .top-icon-button {
    height: 36px;
    width: 36px;
  }
}

.event-brand {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--event-accent);
  text-transform: none;
}

.event-page h1 {
  margin: 12px 0 8px;
  font-size: clamp(2rem, 8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.event-page .event-public-title {
  color: #25211d;
  font-size: 2rem;
  line-height: 1.12;
  margin: 0 0 10px;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}

.event-page h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.event-page p {
  max-width: 58ch;
  margin: 0 0 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.eyebrow,
.event-host,
.event-date,
.event-subtitle,
.event-venue span {
  color: var(--event-accent-muted);
}

.eyebrow {
  margin-top: 18px;
  text-transform: none;
  font-weight: 700;
  font-size: 0.78rem;
}

.event-page .event-host {
  font-size: 1.2rem;
  font-weight: 600;
  max-width: none;
  text-align: center;
}

.event-page .event-date {
  margin-bottom: 28px;
  font-weight: 700;
  max-width: none;
  text-align: center;
}

.event-section {
  padding: 22px 0;
  border-top: 1px solid var(--event-card-border);
}

.event-invitation {
  display: grid;
  justify-items: center;
}

.event-invitation .designed-invitation {
  margin-inline: auto;
}

.event-invitation-image {
  display: block;
  width: 100%;
  max-height: 340px;
  margin-bottom: 18px;
  border-radius: 8px;
  object-fit: cover;
}

.event-invitation-final-image {
  aspect-ratio: 9 / 16;
  max-height: none;
  max-width: min(100%, 430px);
}

.event-invitation-body {
  white-space: pre-line;
}

.event-food-menu h2,
.event-food-menu h3,
.event-food-menu h4 {
  color: var(--event-accent);
  font-size: 1.05rem;
  margin: 16px 0 6px;
}

.event-food-menu h2 {
  font-size: 1.28rem;
}

.event-food-menu h2:first-child,
.event-food-menu h3:first-child,
.event-food-menu h4:first-child {
  margin-top: 0;
}

.event-food-menu ul,
.event-food-menu ol {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding-left: 22px;
}

.event-food-menu li {
  line-height: 1.5;
}

.event-food-menu blockquote {
  background: color-mix(in srgb, var(--event-accent) 6%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--event-accent) 24%, transparent);
  border-left: 4px solid var(--event-accent);
  border-radius: 8px;
  margin: 14px 0;
  padding: 12px 14px;
}

.event-food-menu .ql-align-center {
  text-align: center;
}

.event-food-menu .ql-align-right {
  text-align: right;
}

.event-food-menu .ql-align-justify {
  text-align: justify;
}

.event-food-menu .ql-size-small {
  font-size: .88rem;
}

.event-food-menu .ql-size-large {
  font-size: 1.18rem;
}

.event-food-menu .ql-size-huge {
  font-size: 1.38rem;
}

.event-food-menu .ql-indent-1 {
  margin-left: 1.5rem;
}

.event-food-menu .ql-indent-2 {
  margin-left: 3rem;
}

.event-food-menu .ql-indent-3 {
  margin-left: 4.5rem;
}

.event-food-menu .ql-indent-4 {
  margin-left: 6rem;
}

.event-food-menu .ql-indent-5 {
  margin-left: 7.5rem;
}

.event-food-menu .ql-indent-6 {
  margin-left: 9rem;
}

.event-food-menu .ql-indent-7 {
  margin-left: 10.5rem;
}

.event-food-menu .ql-indent-8 {
  margin-left: 12rem;
}

.event-food-menu hr {
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--event-accent) 32%, transparent);
  margin: 16px 0;
}

.event-food-menu a {
  color: var(--event-accent-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.event-food-menu span[style*="background-color"] {
  border-radius: 4px;
  padding: 0 .18em;
}

.event-food-menu-text {
  white-space: pre-line;
}

.event-parties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 24px;
}

.event-parties span {
  min-width: 84px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--event-accent) 28%, transparent);
  border-radius: 8px;
  color: var(--event-accent);
  font-weight: 700;
  text-align: center;
}

.event-whatsapp {
  align-items: center;
  background: var(--event-accent-strong);
  border-radius: 8px;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--event-accent-strong) 24%, transparent);
  color: #fff;
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  justify-content: center;
  line-height: 1.25;
  margin: 6px 0 18px;
  max-width: 100%;
  min-height: 58px;
  min-width: 0;
  padding: 14px 18px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  width: 100%;
}

.event-whatsapp:hover {
  color: #fff;
  filter: brightness(0.92);
}

.event-subscription-prompt[hidden] {
  display: none !important;
}

.event-subscription-prompt {
  align-items: start;
  background: rgba(15, 18, 22, .46);
  bottom: 0;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  left: 0;
  padding: 18px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1050;
}

.event-subscription-prompt-dialog {
  background: #fffdf8;
  border: 1px solid color-mix(in srgb, var(--event-accent) 28%, transparent);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(16, 18, 22, .22);
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  margin-top: min(16vh, 84px);
  max-width: 420px;
  padding: 22px 18px 18px;
  position: relative;
  width: min(100%, 420px);
}

.event-subscription-prompt-close {
  align-items: center;
  background: transparent;
  border: 0;
  color: #6b6258;
  display: inline-flex;
  font-size: 1.35rem;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 8px;
  top: 8px;
  width: 36px;
}

.event-subscription-prompt-dialog h2 {
  color: #25211d;
  font-size: 1.18rem;
  line-height: 1.18;
  margin: 0;
  padding-right: 34px;
}

.event-subscription-prompt-dialog p,
.event-subscription-prompt-dialog small {
  color: #5d554d;
  font-size: .9rem;
  line-height: 1.45;
  margin: 0;
}

.event-subscription-prompt-button {
  align-items: center;
  background: #1d7f54;
  border-radius: 8px;
  box-sizing: border-box;
  color: #ffffff;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  width: 100%;
}

.event-subscription-prompt-button:hover {
  color: #ffffff;
  filter: brightness(.94);
}

.event-subscription-prompt-help {
  font-weight: 700;
}

.event-privacy-link {
  align-self: center;
  color: var(--event-accent-muted);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-privacy-link:hover {
  color: var(--event-accent-strong);
}

.event-map-link {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--event-accent) 36%, transparent);
  border-radius: 8px;
  color: var(--event-accent-strong);
  display: inline-flex;
  font-weight: 800;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
}

.event-map-link:hover {
  background: color-mix(in srgb, var(--event-accent) 8%, transparent);
  color: var(--event-accent-strong);
}

.event-action-links {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 2px;
}

.event-action-links a {
  align-items: center;
  background: #1d7f54;
  border: 1px solid #1d7f54;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font: 800 .92rem Arial, sans-serif;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
}

.event-action-links a:hover {
  color: #ffffff;
  filter: brightness(.94);
}

.event-venue-inline {
  display: grid;
  align-items: center;
  gap: 12px;
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

.event-venue-marker {
  align-items: center;
  align-self: start;
  background: color-mix(in srgb, var(--event-accent) 8%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--event-accent) 28%, transparent);
  border-radius: 8px;
  color: var(--event-accent);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.event-venue-marker svg {
  fill: none;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 21px;
}

.event-venue-content {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.event-venue-content strong {
  color: #25211d;
  font-size: 1rem;
  line-height: 1.25;
}

.event-venue-content small {
  color: var(--event-accent-muted);
  font-weight: 700;
  line-height: 1.35;
}

.event-venue-inline .event-map-link {
  justify-self: end;
  white-space: nowrap;
}

.event-public-brand-footer {
  align-items: center;
  border-top: 1px solid var(--event-card-border);
  color: var(--event-accent-muted);
  display: flex;
  font-size: .72rem;
  font-weight: 800;
  gap: 12px;
  justify-content: space-between;
  letter-spacing: 0;
  margin-top: 2px;
  padding-top: 18px;
  text-align: left;
}

.event-invitation-shell .event-public-brand-footer {
  margin-top: auto;
}

body.event-food-menu-body {
  --event-accent: #7a5a35;
  --event-accent-muted: #75706a;
  --event-card-border: rgba(42, 47, 51, .12);
  background: #f6f7f4;
  color: #202428;
}

body.event-program-body {
  --event-accent: #285e70;
  --event-accent-muted: #59616a;
  --event-card-border: rgba(42, 47, 51, .12);
  background: #f5f7f7;
  color: #202428;
}

.event-food-menu-body .event-page {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(246, 247, 244, .98)),
    linear-gradient(135deg, rgba(122, 90, 53, .08), rgba(39, 93, 83, .06));
  display: grid;
  min-height: 100vh;
  padding: clamp(20px, 5vw, 52px) 16px;
}

.event-program-body .event-page {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(245, 247, 247, .96), rgba(231, 238, 239, .92)),
    linear-gradient(45deg, rgba(40, 94, 112, .16), rgba(122, 90, 53, .12));
  display: flex;
  justify-content: center;
  padding: clamp(20px, 5vw, 52px) 16px;
}

.event-food-menu-body .event-food-only-shell {
  background: #ffffff;
  border: 1px solid rgba(42, 47, 51, .12);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(32, 36, 40, .09);
  display: grid;
  gap: 28px;
  grid-template-rows: auto auto auto auto;
  margin: 0 auto;
  max-width: 760px;
  min-height: auto;
  padding: 36px;
  width: min(100%, 760px);
}

.event-program-shell {
  background: #ffffff;
  border: 1px solid rgba(42, 47, 51, .12);
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 18px 54px rgba(32, 36, 40, .09);
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 760px;
  padding: 36px;
  width: min(100%, 760px);
}

.event-program-header {
  border-bottom: 1px solid rgba(42, 47, 51, .1);
  padding-bottom: 22px;
  text-align: center;
}

.event-program-header span {
  color: #7a5a35;
  display: block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.event-program-header h1 {
  color: #202428;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 400;
  line-height: 1.06;
  margin: 0;
}

.event-program-header time,
.event-program-header strong {
  color: #59616a;
  display: block;
  font-weight: 800;
  margin-top: 10px;
}

.event-program-list {
  display: grid;
  gap: 12px;
}

.event-program-item {
  align-items: start;
  border: 1px solid rgba(40, 94, 112, .16);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: 108px minmax(0, 1fr) auto;
  padding: 16px;
}

.event-program-item time {
  color: #285e70;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.event-program-item span,
.event-program-item em {
  color: #59616a;
  display: block;
  font-size: .78rem;
  font-style: normal;
  font-weight: 800;
}

.event-program-item h2 {
  color: #202428;
  font-size: 1.18rem;
  line-height: 1.2;
  margin: 2px 0 0;
}

.event-program-item p {
  color: #4a535b;
  margin: 8px 0 0;
  white-space: pre-line;
}

.event-program-empty {
  color: #59616a;
  font-weight: 700;
  margin: 0;
  text-align: center;
}

.event-food-menu-body .event-food-only-header {
  align-items: start;
  border-bottom: 1px solid rgba(42, 47, 51, .1);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto);
  padding-bottom: 24px;
  text-align: left;
}

.event-food-menu-body .event-food-only-header h1 {
  color: #202428;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.65rem;
  font-weight: 400;
  line-height: 1.02;
  margin: 0;
  text-align: left;
}

.event-food-menu-body .event-food-only-header time {
  color: #6b6258;
  display: block;
  font-weight: 800;
  margin-top: 10px;
}

.event-food-menu-body .event-food-only-header strong {
  color: #7a5a35;
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.event-food-menu-body .event-food-only-menu {
  align-self: auto;
  border: 0;
  padding: 0;
}

.event-food-menu-body .event-food-only-menu h2 {
  color: #7a5a35;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 18px;
  text-align: center;
  text-transform: none;
}

.event-food-menu-body .event-food-only-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-food-menu-body .event-food-only-list li {
  border-top: 1px solid rgba(42, 47, 51, .1);
  color: #202428;
  font-size: 1.15rem;
  line-height: 1.45;
  padding: 15px 4px;
  text-align: center;
}

.event-food-menu-body .event-food-only-list li:first-child {
  border-top: 0;
}

.event-food-menu-body .event-food-menu {
  color: #202428;
  font-size: 1.15rem;
  line-height: 1.55;
}

.event-food-menu-body .event-food-html-frame {
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  display: block;
  height: min(760px, calc(100vh - 260px));
  min-height: 620px;
  overflow: hidden;
  width: 100%;
}

.event-food-menu-body .event-food-menu-text {
  color: #202428;
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 0;
  max-width: none;
  text-align: center;
}

.event-food-menu-body .event-food-only-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-food-menu-body .event-food-only-actions a,
.event-food-menu-body .event-food-only-actions button {
  align-items: center;
  background: #1d7f54;
  border: 1px solid #1d7f54;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font: 800 .92rem Arial, sans-serif;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
}

.event-food-menu-body .event-food-only-actions button:disabled {
  background: #f1eee8;
  border-color: rgba(42, 47, 51, .16);
  color: #8b8378;
}

.event-food-menu-body .event-food-only-brand,
.event-program-body .event-food-only-brand {
  align-items: center;
  border-top: 1px solid rgba(42, 47, 51, .1);
  color: #75706a;
  display: flex;
  font-size: .72rem;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: 0;
  padding-top: 18px;
  text-align: left;
  text-transform: none;
}

@media (max-width: 640px) {
  .event-page .event-public-title {
    font-size: 1.55rem;
  }

  .event-action-links {
    grid-template-columns: 1fr;
  }

  .event-venue-inline {
    align-items: start;
    gap: 8px;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .event-venue-marker {
    height: 34px;
    width: 34px;
  }

  .event-venue-marker svg {
    height: 19px;
    width: 19px;
  }

  .event-venue-content strong {
    font-size: .94rem;
  }

  .event-venue-content small {
    font-size: .78rem;
  }

  .event-venue-inline .event-map-link {
    font-size: .84rem;
    grid-column: 1 / -1;
    justify-content: center;
    justify-self: stretch;
    min-height: 38px;
    padding: 0 10px;
  }

  .event-food-menu-qr-card {
    grid-template-columns: 1fr;
  }

  .event-food-menu-qr-image-wrap {
    justify-self: center;
  }

  .event-food-menu-qr-empty {
    align-items: stretch;
    flex-direction: column;
  }

  .event-food-menu-body .event-food-only-shell {
    gap: 22px;
    padding: 24px 18px;
  }

  .event-program-shell {
    gap: 22px;
    padding: 24px 18px;
  }

  .event-program-header h1 {
    font-size: 2rem;
  }

  .event-program-item {
    grid-template-columns: 1fr;
  }

  .event-program-item em {
    justify-self: start;
  }

  .event-food-menu-body .event-food-only-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .event-food-menu-body .event-food-only-header h1,
  .event-food-menu-body .event-food-only-header strong {
    text-align: center;
  }

  .event-food-menu-body .event-food-only-header h1 {
    font-size: 2rem;
  }

  .event-food-menu-body .event-food-html-frame {
    height: 650px;
    min-height: 570px;
  }

  .event-food-menu-body .event-food-only-actions {
    grid-template-columns: 1fr;
  }

  .event-food-menu-body .event-food-only-brand,
  .event-program-body .event-food-only-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

.app-menu-group span,
.portal-kicker,
.event-home-tile span,
.event-home-tile em,
.event-hub-card span,
.event-report-summary span,
.event-overview-item span,
.event-decision-state span,
.event-food-menu-compact-summary span,
.event-program-list-table thead th,
.event-invitation-qr-detail span,
.event-invitation-design-summary span,
.event-guest-kpi-grid span,
.event-guest-context-panel span,
.md-calendar-event-venue,
.event-day-agenda-header span,
.guest-entry-table thead th {
  letter-spacing: 0;
  text-transform: none;
}

body.event-guestbook-body {
  --event-accent: #7c3450;
  --event-accent-muted: #716a64;
  background: #f7f3ee;
  color: #202428;
}

.event-guestbook-body .event-page {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(247, 243, 238, .98)),
    linear-gradient(135deg, rgba(124, 52, 80, .1), rgba(45, 98, 83, .08));
  display: grid;
  min-height: 100vh;
  padding: clamp(20px, 5vw, 52px) 16px;
}

.event-guestbook-shell {
  background: #ffffff;
  border: 1px solid rgba(42, 47, 51, .12);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(32, 36, 40, .09);
  display: grid;
  gap: 22px;
  margin: 0 auto;
  max-width: 560px;
  padding: clamp(26px, 6vw, 46px);
  width: min(100%, 560px);
}

.event-guestbook-header {
  border-bottom: 1px solid rgba(42, 47, 51, .1);
  padding-bottom: 20px;
  text-align: center;
}

.event-guestbook-header span {
  color: #7c3450;
  display: block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 10px;
  text-transform: none;
}

.event-guestbook-body .event-guestbook-header h1 {
  color: #202428;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.04;
  margin: 0;
}

.event-guestbook-form {
  display: grid;
  gap: 12px;
}

.event-guestbook-form label {
  color: #332c28;
  font-size: .92rem;
  font-weight: 800;
}

.event-guestbook-form label span {
  color: #716a64;
  display: block;
  font-size: .76rem;
  font-weight: 700;
  margin-top: 2px;
}

.event-guestbook-form input,
.event-guestbook-form textarea {
  background: #fbfaf8;
  border: 1px solid rgba(42, 47, 51, .16);
  border-radius: 8px;
  color: #202428;
  font: inherit;
  line-height: 1.45;
  outline: 0;
  padding: 13px 14px;
  width: 100%;
}

.event-guestbook-form textarea {
  min-height: 170px;
  resize: vertical;
}

.event-guestbook-remote-check {
  align-items: flex-start;
  background: rgba(124, 52, 80, .05);
  border: 1px solid rgba(124, 52, 80, .14);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  padding: 12px;
}

.event-guestbook-form .event-guestbook-remote-check input[type="checkbox"] {
  accent-color: #7c3450;
  flex: 0 0 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  width: 18px;
}

.event-guestbook-remote-check span {
  color: #332c28;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.35;
}

.event-guestbook-form input:focus,
.event-guestbook-form textarea:focus {
  border-color: rgba(124, 52, 80, .54);
  box-shadow: 0 0 0 3px rgba(124, 52, 80, .12);
}

.event-guestbook-form button {
  background: #7c3450;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font: inherit;
  font-weight: 900;
  min-height: 48px;
  padding: 0 18px;
}

.event-guestbook-form button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.event-public-message {
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.45;
  padding: 13px 14px;
}

.event-public-message-success {
  background: #edf7ef;
  border: 1px solid rgba(42, 122, 67, .2);
  color: #1f6a3c;
}

.event-public-message-error {
  background: #fff1f0;
  border: 1px solid rgba(166, 51, 42, .2);
  color: #9a2d26;
}

.event-guestbook-brand {
  border-top: 1px solid rgba(42, 47, 51, .1);
  color: #716a64;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding-top: 18px;
  text-align: center;
  text-transform: none;
}

@media (max-width: 560px) {
  .event-home-tile-grid,
  .event-hub-grid,
  .event-report-summary {
    grid-template-columns: 1fr;
  }

  .event-page {
    padding: 16px 10px;
  }

  .event-shell {
    padding: 22px;
  }

  .event-food-menu-body .event-page {
    padding: 12px;
  }

  .event-food-menu-body .event-food-only-shell {
    box-shadow: 0 12px 34px rgba(32, 36, 40, .08);
    min-height: calc(100vh - 24px);
  }

  .event-food-menu-body .event-food-html-frame {
    height: calc(100vh - 218px);
    min-height: 560px;
  }

  .event-guestbook-body .event-page {
    padding: 12px;
  }

  .event-guestbook-shell {
    box-shadow: 0 12px 34px rgba(32, 36, 40, .08);
    min-height: calc(100vh - 24px);
  }

  .event-access-header {
    align-items: stretch;
    flex-direction: column;
  }

  .event-access-session {
    text-align: left;
  }

  .event-access-phone-grid {
    grid-template-columns: 1fr;
  }

  .event-access-details-modal {
    align-items: stretch;
    padding: 10px;
  }

  .event-access-details-panel {
    max-height: calc(100vh - 20px);
  }

  .event-access-details-header,
  .event-access-details-body {
    padding: 14px;
  }

  .event-access-details-list {
    grid-template-columns: 1fr;
  }

  .event-access-details-program-list li {
    grid-template-columns: 1fr;
  }

  .event-access-guestbook-message {
    grid-template-columns: 1fr;
  }

  .event-access-guestbook-message-header {
    align-items: stretch;
    flex-direction: column;
  }

  .event-access-guestbook-badges {
    justify-content: flex-start;
  }

  .event-access-guestbook-visibility-form .btn {
    width: 100%;
  }

  .event-owner-access-card-header {
    flex-direction: column;
  }

  .event-owner-access-completion {
    align-items: flex-start;
    flex-direction: column;
  }

  .event-owner-access-completion strong {
    text-align: left;
  }
}

/* Personnel uses a full-width list and a scrollable editor on small screens. */
.personnel-page,
.personnel-page > .portal-panel,
.personnel-modal .portal-form,
.personnel-modal .portal-form-row > * {
  min-width: 0;
}

.personnel-modal .portal-form > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.personnel-modal .portal-form-row label {
  display: block;
  margin-bottom: 6px;
}

.personnel-table th:nth-last-child(-n+3),
.personnel-table td:nth-last-child(-n+3) {
  white-space: nowrap;
}

/* Fixed desktop layout rendered to a PDF, independently of print/driver CSS. */
.guestbook-pdf-render-root {
  position: absolute;
  left: -12000px;
  top: 0;
  width: 210mm;
  pointer-events: none;
}

.guestbook-pdf-render-root .guestbook-report-print-area {
  display: block;
  width: 210mm;
}

.guestbook-pdf-render-root .guestbook-memory-report {
  display: block;
  width: 210mm;
  height: 297mm;
  margin: 0;
  transform: none;
}

.guestbook-pdf-render-root .guestbook-memory-report-footer {
  position: absolute;
  bottom: 26mm;
  left: 26mm;
  right: 26mm;
  margin: 0;
}

.guestbook-pdf-status {
  margin: 8px 0;
}
