/* Guest entry 1.3.3 — deliberately isolated from legacy portal styles so a
   previously cached stylesheet cannot restore the old accordion layout. */
.maq-guest-entry {
  width: min(860px, 100%);
}

.maq-guest-entry__intro {
  max-width: 680px;
  margin: -.25rem 0 1.4rem;
  color: var(--maq-muted, #637083);
  line-height: 1.6;
}

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

.maq-guest-entry__choice {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: .85rem;
  align-items: center;
  min-height: 92px;
  padding: 1rem 1.1rem;
  border: 2px solid #cbd5e1;
  border-radius: 15px;
  background: #fff;
  color: var(--maq-text, #172033);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 18px rgba(16, 43, 78, .06);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.maq-guest-entry__choice:hover {
  border-color: var(--maq-primary, #17365d);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 43, 78, .12);
}

.maq-guest-entry__choice.is-active,
.maq-guest-entry__choice[aria-selected="true"] {
  border-color: var(--maq-primary, #17365d);
  background: color-mix(in srgb, var(--maq-primary, #17365d) 6%, #fff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--maq-primary, #17365d) 14%, transparent);
}

.maq-guest-entry__choice-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--maq-primary, #17365d);
  color: #fff;
  font-size: 1.18rem;
  font-weight: 900;
}

.maq-guest-entry__choice strong,
.maq-guest-entry__choice small {
  display: block;
}

.maq-guest-entry__choice strong {
  margin-bottom: .2rem;
  font-size: 1rem;
}

.maq-guest-entry__choice small {
  color: var(--maq-muted, #637083);
  font-size: .82rem;
  line-height: 1.35;
}

.maq-guest-entry__attention {
  position: absolute;
  z-index: 1;
  top: -12px;
  right: 12px;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: var(--maq-accent, #c9a227);
  color: #172033;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 5px 14px rgba(117, 85, 0, .22);
  animation: maq-returning-attention 1.6s ease-in-out 4;
}

.maq-guest-entry__choice[data-guest-access-mode="returning"] {
  animation: maq-returning-card 1.6s ease-in-out 4;
}

.maq-guest-entry__choice[data-guest-access-mode="returning"].is-active {
  animation: none;
}

.maq-guest-entry__panel {
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid var(--maq-border, #d7dde5);
  border-radius: 15px;
  background: var(--maq-surface-soft, #f5f7fa);
}

.maq-guest-entry__panel[hidden] {
  display: none !important;
}

.maq-guest-entry__panel h3 {
  margin: 0 0 .35rem;
}

.maq-guest-entry__panel > p {
  margin: 0 0 1rem;
  color: var(--maq-muted, #637083);
}

.maq-guest-entry__panel .maq-guest-form,
.maq-guest-entry__panel .maq-guest-return-form {
  max-width: 100%;
}

.maq-guest-entry__panel .maq-guest-form > input,
.maq-guest-entry__panel .maq-guest-return-form > input {
  width: 100%;
}

.maq-guest-entry__memory-note {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  margin: 1rem 0 0;
  padding: .8rem 1rem;
  border-radius: 10px;
  background: #eef3f8;
  color: #526174;
  font-size: .8rem;
  line-height: 1.5;
}

@keyframes maq-returning-attention {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.06); }
}

@keyframes maq-returning-card {
  0%, 100% { border-color: #cbd5e1; }
  50% { border-color: var(--maq-accent, #c9a227); box-shadow: 0 0 0 4px color-mix(in srgb, var(--maq-accent, #c9a227) 19%, transparent); }
}

@media (max-width: 680px) {
  .maq-guest-entry__choices { grid-template-columns: 1fr; }
  .maq-guest-entry__choice { min-height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .maq-guest-entry__choice,
  .maq-guest-entry__attention { animation: none !important; transition: none !important; }
}
