:root {
  --bg: #f3eee6;
  --surface: rgba(255, 251, 246, 0.84);
  --surface-strong: rgba(255, 253, 249, 0.97);
  --panel-border: rgba(18, 53, 75, 0.1);
  --text: #18324a;
  --muted: #647689;
  --accent: #020b21;
  --primary: #020b21;
  --primary-700: #0b1a3a;
  --accent-2: #ecc46d;
  --shadow: 0 24px 64px rgba(18, 41, 59, 0.1);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Instrument Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(2, 11, 33, 0.1), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(236, 196, 109, 0.2), transparent 22%),
    linear-gradient(180deg, #fcf8f2 0%, #f1ebdf 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 50, 77, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 50, 77, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
  pointer-events: none;
}

.page-shell {
  width: min(1380px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.site-main #platform-admin {
  display: none;
}

.site-main #hotel-entry {
  display: none;
}

.platform-standalone #hotel-entry,
.platform-standalone #guest-portal,
.platform-standalone #hotel-portal {
  display: none !important;
}

.platform-standalone .main-grid {
  grid-template-columns: 1fr;
}

.platform-standalone #platform-admin {
  display: block;
}

.platform-standalone .hero {
  padding: 16px 28px 18px;
}

.platform-standalone .hero-grid {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 12px;
  gap: 6px;
}

.platform-standalone .hero-copy {
  max-width: 100%;
}

.platform-standalone .hero-copy h2 {
  max-width: 18ch;
  font-size: clamp(1.35rem, 2.1vw, 1.7rem);
  line-height: 0.98;
}

.platform-standalone .hero-copy .hero-text {
  max-width: 42ch;
  font-size: 0.84rem;
  margin-top: 8px;
}

.platform-standalone .hero-copy .eyebrow {
  margin-bottom: 6px;
  font-size: 0.64rem;
}

.platform-standalone .platform-login-card {
  justify-self: start;
}

.platform-standalone .platform-contact-sales {
  display: none !important;
}

.platform-standalone #platformPricingStep .platform-inline-note {
  display: none !important;
}

.hero,
.panel,
.metric-card,
.phone-frame,
.guest-hero-card,
.stack-form,
.summary-card,
.data-card,
.phase-card,
.tab-chip,
.screen-card,
.list-card {
  border: 1px solid var(--panel-border);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero,
.panel {
  border-radius: var(--radius-xl);
}

.auth-landing-panel {
  padding: 24px 26px 28px;
}

.hero {
  padding: 30px;
  background:
    linear-gradient(140deg, rgba(255, 252, 248, 0.98), rgba(239, 245, 242, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.4));
}

.topbar,
.hero-grid,
.main-grid,
.showcase-grid,
.dashboard-grid,
.auth-grid,
.portal-toolbar,
.hero-actions,
.hero-pills,
.dashboard-summary,
.data-panels,
.phone-status,
.guest-tabs,
.detail-row,
.top-links,
.dual-actions,
.color-grid {
  display: flex;
  gap: 16px;
}

.topbar,
.portal-toolbar,
.phone-status {
  justify-content: space-between;
  align-items: center;
}

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

.hero-grid,
.showcase-grid,
.dashboard-grid,
.auth-grid,
.dashboard-summary,
.data-panels,
.color-grid {
  align-items: stretch;
}

.main-grid,
.stack-column {
  display: grid;
  gap: 24px;
}

.guest-qr-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.guest-qr-panel {
  gap: 10px;
  padding: 16px 18px;
}

.guest-qr-panel h4 {
  margin: 0;
}

.guest-qr-panel .section-copy {
  max-width: 680px;
  margin: 0;
  line-height: 1.35;
}

.guest-qr-panel .guest-qr-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.guest-qr-panel .dual-actions {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guest-qr-panel .secondary-button,
.guest-qr-panel .ghost-button {
  min-height: 42px;
  padding: 10px 16px;
  line-height: 1;
}

.guest-qr-panel .qr-helper-copy {
  flex: 1 1 260px;
  font-size: 0.94rem;
}

.qr-helper-copy {
  margin: 0;
}

.qr-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: 18px;
  align-items: start;
}

.showcase-grid.admin-workspace-wide {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.showcase-grid.admin-workspace-wide #hotel-portal {
  justify-self: center;
  width: min(100%, 1260px);
}

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

.hero-grid {
    margin-top: 36px;
    justify-content: flex-start;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.9fr) minmax(320px, 0.75fr);
  gap: 24px;
}

.hero-copy {
  max-width: 820px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  gap: 16px;
  align-content: end;
}

.hero-visual-backdrop {
  position: absolute;
  inset: 30px 0 24px 0;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 18%, rgba(2, 11, 33, 0.18), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(236, 196, 109, 0.24), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(239, 245, 242, 0.38));
  border: 1px solid rgba(23, 50, 77, 0.08);
}

.hero-scene-stack,
.hero-scene-card,
.hero-scene-copy {
  display: grid;
  gap: 12px;
}

.hero-scene-stack {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-scene-card {
  position: relative;
  z-index: 1;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  background: rgba(255, 252, 248, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 52px rgba(17, 33, 52, 0.08);
}

.hero-scene-card-main {
  min-height: 320px;
}

.hero-scene-card-small {
  min-height: 176px;
}

.hero-scene-image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-scene-card-main .hero-scene-image {
  min-height: 214px;
}

.hero-scene-image::before,
.hero-scene-image::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-scene-image-resort {
  background:
    linear-gradient(180deg, rgba(2, 11, 33, 0.02), rgba(2, 11, 33, 0.06)),
    url("/images/hero-guest-arrival.png") center / cover no-repeat;
}

.hero-scene-image-resort::before {
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 238, 190, 0.88), transparent 16%),
    linear-gradient(180deg, rgba(255,255,255,0.22), transparent 45%),
    linear-gradient(0deg, rgba(244, 227, 190, 0.36), transparent 30%);
}

.hero-scene-image-resort::after {
  background:
    linear-gradient(180deg, transparent 55%, rgba(255,255,255,0.14) 56%, rgba(255,255,255,0.04) 72%, transparent 73%),
    radial-gradient(circle at 20% 85%, rgba(11, 26, 58, 0.22), transparent 18%),
    radial-gradient(circle at 72% 84%, rgba(16, 35, 77, 0.28), transparent 16%);
  clip-path: polygon(0 60%, 100% 48%, 100% 100%, 0 100%);
}

.hero-scene-image-event {
  background:
    linear-gradient(140deg, rgba(244, 226, 188, 0.08), rgba(16, 35, 77, 0.08)),
    url("/images/hero-events.png") center / cover no-repeat;
}

.hero-scene-image-event::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 40%),
    radial-gradient(circle at 24% 28%, rgba(255, 234, 185, 0.64), transparent 10%),
    radial-gradient(circle at 42% 34%, rgba(255, 228, 167, 0.54), transparent 8%),
    radial-gradient(circle at 61% 29%, rgba(255, 236, 190, 0.54), transparent 9%);
}

.hero-scene-image-event::after {
  background:
    linear-gradient(180deg, transparent 62%, rgba(18, 34, 40, 0.28) 63%, transparent 64%),
    linear-gradient(90deg, transparent 32%, rgba(248, 234, 193, 0.34) 33%, rgba(248, 234, 193, 0.34) 36%, transparent 37%, transparent 62%, rgba(248, 234, 193, 0.34) 63%, rgba(248, 234, 193, 0.34) 66%, transparent 67%);
}

.hero-scene-image-stay {
  background:
    linear-gradient(140deg, rgba(255, 246, 223, 0.08), rgba(16, 35, 77, 0.08)),
    url("/images/hero-stay.png") center / cover no-repeat;
}

.hero-scene-image-resort::before,
.hero-scene-image-resort::after,
.hero-scene-image-event::before,
.hero-scene-image-event::after,
.hero-scene-image-stay::before,
.hero-scene-image-stay::after {
  display: none;
}

.hero-scene-image-stay::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.16), transparent 35%),
    radial-gradient(circle at 76% 18%, rgba(255, 235, 188, 0.84), transparent 14%);
}

.hero-scene-image-stay::after {
  background:
    linear-gradient(180deg, transparent 58%, rgba(255,255,255,0.12) 59%, rgba(255,255,255,0.03) 74%, transparent 75%),
    radial-gradient(circle at 24% 82%, rgba(11, 26, 58, 0.22), transparent 18%),
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.18) 49%, rgba(255,255,255,0.18) 52%, transparent 53%);
}

.hero-scene-copy h4,
.hero-scene-copy h5 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  color: var(--text);
  line-height: 1;
}

.hero-scene-copy h4 {
  font-size: 1.65rem;
}

.hero-scene-copy h5 {
  font-size: 1.2rem;
}

.hero.is-compact .hero-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
  gap: 18px;
}

.hero.is-compact .hero-copy {
  max-width: 520px;
}

.hero.is-compact .hero-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  max-width: 9ch;
}

.hero.is-compact .hero-copy .hero-text {
  max-width: 40ch;
  font-size: 0.98rem;
}

.hero-access-card {
    align-self: end;
    border: 1px solid rgba(23, 50, 77, 0.12);
    background: rgba(255, 252, 248, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  gap: 14px;
    max-width: 380px;
    justify-self: end;
  }

.hero-signup-footer {
  margin-top: 18px;
  padding: 22px 24px 24px;
}

.compact-section-head {
  margin-bottom: 2px;
}

.footer-pricing-grid {
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  overflow-x: auto;
  padding-bottom: 6px;
}

.hero-enterprise-trial-card {
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  padding: 18px;
  display: flex;
  justify-content: flex-start;
}

.hero-enterprise-trial-button {
  min-width: min(100%, 260px);
}

.hero-access-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-access-card .platform-pricing-grid,
.hero-pricing-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

.hero-access-card .platform-plan-card {
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
    min-width: 220px;
    scroll-snap-align: start;
  }

.hero-access-card .platform-plan-card h5 {
    font-size: 1.8rem;
  }

.hero-access-card .platform-plan-card h5 span {
    font-size: 0.88rem;
  }

.hero-access-card .platform-plan-card .secondary-button {
    width: 100%;
  }

.hero-access-card .platform-feature-list {
    gap: 4px;
    font-size: 0.95rem;
  }

.hero-inline-note {
    padding: 14px 16px;
  }

.hero-summary-stack {
  display: grid;
  gap: 12px;
}

.hero-summary-card {
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  padding: 16px;
  display: grid;
  gap: 12px;
}

.hero-summary-card h6 {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
}

.hero-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23, 50, 77, 0.08);
}

.hero-summary-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-summary-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-summary-row strong {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  text-align: right;
}

.hero-access-actions {
  display: grid;
  gap: 12px;
}

.hero-access-actions .primary-button,
.hero-access-actions .secondary-button {
  width: 100%;
}

.hero-access-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-access-note.error,
.status-line.error {
  color: #b64343;
}

.status-line.success {
  color: #10234d;
}

.form-error-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 11px 13px;
  border: 1px solid rgba(176, 46, 46, 0.34);
  border-radius: 14px;
  background: rgba(176, 46, 46, 0.08);
  color: #8f2323;
  font-size: 0.9rem;
  font-weight: 800;
}

label.field-error > span {
  color: #8f2323;
  font-weight: 800;
}

label.field-error input:not([type="checkbox"]),
label.field-error select,
label.field-error textarea,
input.field-error,
select.field-error,
textarea.field-error {
  border-color: rgba(176, 46, 46, 0.78) !important;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(176, 46, 46, 0.13);
}

.platform-managed-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-login-card {
  align-self: center;
  justify-self: end;
  width: min(100%, 360px);
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 252, 248, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.platform-login-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  margin: 0;
}

.platform-reset-form {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 50, 77, 0.1);
}

.platform-reset-form h4 {
  margin: 0;
}

.platform-create-wizard {
  display: grid;
  gap: 18px;
}

.platform-create-step {
  display: grid;
  gap: 18px;
}

.platform-plan-pricing-editor {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(17, 33, 52, 0.05);
}

.platform-plan-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.platform-plan-pricing-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.platform-plan-pricing-grid input {
  min-height: 42px;
  border: 1px solid rgba(23, 50, 77, 0.14);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
}

.platform-plan-pricing-editor .status-line {
  margin: 0;
}

.platform-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-plan-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(17, 33, 52, 0.05);
}

.platform-plan-card.featured,
.platform-plan-card.selected {
  border-color: rgba(16, 35, 77, 0.32);
  box-shadow: 0 20px 44px rgba(16, 35, 77, 0.12);
}

.platform-plan-card h5,
.platform-checkout-head h5 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}

.platform-plan-card h5 span {
  font-family: "Instrument Sans", sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  margin-left: 4px;
}

.platform-feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--text-soft);
}

.platform-inline-note,
.platform-contact-sales,
.platform-payment-placeholder {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(23, 50, 77, 0.08);
}

.platform-contact-sales strong,
.platform-placeholder-title {
  display: block;
  margin-bottom: 6px;
}

.platform-checkout-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.hero-checkout-head {
  padding: 16px 18px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-checkout-head h5 {
  font-size: 1.45rem;
}

.hero-checkout-head .ghost-button {
  width: auto;
  min-width: 190px;
  align-self: center;
}

.hero-plan-summary .section-copy {
  max-width: 420px;
  margin-bottom: 0;
}

.platform-inline-checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 50, 77, 0.08);
  background: rgba(248, 250, 252, 0.92);
}

.platform-inline-checkbox label {
  margin: 0;
  font-weight: 500;
  color: var(--text-soft);
}

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

.platform-summary-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card-wide {
  grid-column: span 2;
}

.hero-auth-inline {
  display: grid;
  gap: 12px;
}

.hero-inline-form {
  display: grid;
  gap: 14px;
}

.hero-inline-form label {
  display: grid;
  gap: 6px;
}

.hero-inline-form label span {
  color: var(--muted);
  font-size: 0.92rem;
}

.password-helper {
  margin: -4px 0 2px;
  font-size: 0.86rem;
  line-height: 1.4;
}

.hero-password-helper {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(16, 35, 77, 0.2);
  border-radius: 14px;
  background: rgba(16, 35, 77, 0.08);
  color: var(--accent);
  font-weight: 700;
}

.hero-inline-form input {
  min-height: 46px;
  padding: 10px 14px;
}

.hero-signup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.hero-signup-fields label {
  margin: 0;
}

.hero-signup-span-2 {
  grid-column: span 2;
}

.hero-inline-form .primary-button,
.hero-inline-form .secondary-button {
  width: 100%;
}

.hero-inline-form .ghost-button {
  width: 100%;
  margin-top: 0;
}

#heroSignupForm {
  max-width: 920px;
}

#heroSignupForm > .secondary-button {
  justify-self: end;
  width: auto;
  min-width: 220px;
}

.hero-inline-link {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

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

.brand-mark,
.mini-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #1a3568);
  color: white;
  font-weight: 700;
}

.brand-mark {
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  overflow: hidden;
}

.brand-mark.has-image {
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
}

.brand-logo-mark {
  width: 78px;
  height: 78px;
  padding: 8px;
  background: #020b21;
  border: 1px solid rgba(2, 11, 33, 0.18);
  box-shadow: 0 14px 30px rgba(2, 11, 33, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-logo-mark img {
  object-fit: contain;
  border-radius: 12px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1,
h2,
h3,
.metric-card strong,
.guest-hero-card h4 {
  font-family: "Cormorant Garamond", serif;
}

h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  line-height: 0.98;
  max-width: 13ch;
}

.hero-text,
.section-copy,
.status-line,
.list-meta,
.guest-helper,
.phase-copy {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.top-links {
  flex-wrap: wrap;
  align-items: flex-end;
}

.topbar-logout {
  margin-top: 0;
  align-self: flex-end;
}

.top-login-button {
  margin-top: 0;
  align-self: flex-end;
}

.top-links a {
  align-self: flex-end;
}

.top-language-switcher {
  align-self: flex-end;
}

.language-switcher {
  display: grid;
  gap: 6px;
  min-width: 136px;
}

.language-switcher span {
  font-size: 0.78rem;
  color: var(--muted);
}

.language-switcher select {
  min-height: 40px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
}

.top-language-switcher {
  padding-left: 4px;
}

.admin-language-toolbar {
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.top-links a,
.ghost-button,
.secondary-button,
.tab-chip,
.quick-chip {
  text-decoration: none;
  color: var(--text);
  border-radius: 999px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  background: rgba(255, 255, 255, 0.62);
  padding: 10px 15px;
}

.hero-pills,
.guest-tabs {
  flex-wrap: wrap;
}

.hero-pills span,
.quick-chip {
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(16, 35, 77, 0.08);
  border: 1px solid rgba(16, 35, 77, 0.12);
  color: var(--accent);
}

.hero-actions {
  margin-top: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-copy .hero-text {
  max-width: 64ch;
}

.primary-button,
.secondary-button,
.ghost-button {
  cursor: pointer;
  font: inherit;
}

.primary-button,
.secondary-button,
.ghost-button,
input,
select,
textarea,
button {
  border-radius: var(--radius-md);
}

.primary-button,
.secondary-button {
  border: none;
  padding: 13px 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), #1a3568);
  color: white;
}

.secondary-button {
  background: linear-gradient(135deg, rgba(242, 202, 114, 0.88), rgba(255, 233, 182, 0.95));
  color: #4d3720;
}

.ghost-button {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid rgba(23, 50, 77, 0.16);
  font-weight: 700;
}

.hero-card,
.stack-column {
  display: grid;
  gap: 16px;
}

.metric-card,
.summary-card,
.data-card,
.phase-card,
.screen-card,
.list-card,
.stack-form {
  border-radius: var(--radius-lg);
  padding: 20px;
}

.metric-card strong,
.summary-card strong {
  display: block;
  font-size: 1.75rem;
  margin: 6px 0;
}

.metric-card p {
  margin-bottom: 0;
}

.accent {
  background: linear-gradient(180deg, rgba(242, 202, 114, 0.24), rgba(255, 255, 255, 0.72));
}

.panel {
  padding: 24px;
}

.section-head {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.guest-panel {
  min-width: 0;
  max-width: 620px;
}

.guest-panel .section-head {
  margin-bottom: 14px;
}

.guest-panel .portal-toolbar {
  align-items: end;
}

.admin-language-toolbar {
  align-items: end;
}

.admin-language-toolbar .language-switcher {
  align-self: end;
}

.admin-tab-bar {
  flex-wrap: wrap;
  margin-bottom: 0;
}

.phone-frame {
  position: relative;
  width: min(100%, 420px);
  margin-top: 12px;
  border-radius: 34px;
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(2, 11, 33, 0.98), rgba(11, 26, 58, 0.96));
  color: white;
}

.phone-status {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.guest-hero-card {
  margin-top: 16px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: white;
}

.guest-hero-card h4 {
  font-size: 2.15rem;
  line-height: 0.98;
}

.guest-hero-card .ghost-button {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.guest-tabs {
  margin: 18px 0 14px;
  gap: 10px;
}

.tab-chip {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  font-weight: 600;
}

.tab-chip.active {
  background: rgba(236, 196, 109, 0.18);
  border-color: rgba(236, 196, 109, 0.55);
  box-shadow: inset 0 0 0 1px rgba(236, 196, 109, 0.22);
}

.guest-screen {
  display: grid;
  gap: 14px;
}

.stay-request-card {
  display: grid;
  gap: 10px;
}

.stay-request-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stay-request-list li {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.stay-request-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}

.realtime-voice-card {
  display: grid;
  gap: 12px;
}

.realtime-voice-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.realtime-voice-head h4 {
  margin: 0;
}

.realtime-voice-dot {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.realtime-voice-dot.active {
  background: #62d19f;
  box-shadow: 0 0 0 7px rgba(98, 209, 159, 0.2);
}

.realtime-voice-status {
  margin: 0;
}

.realtime-voice-log {
  min-height: 42px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.4;
  white-space: pre-wrap;
}

.realtime-voice-card audio {
  display: none;
}

.screen-card,
.list-card {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.screen-card h4,
.list-card h4 {
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.quick-grid,
.list-grid,
.phase-grid {
  display: grid;
  gap: 12px;
}

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

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

.quick-chip {
  display: block;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.map-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 250px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-shell img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.map-overlay {
  position: absolute;
  inset: 0;
}

.map-route,
.map-zone {
  fill: rgba(242, 202, 114, 0.18);
  stroke-width: 2;
}

.map-route {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hotspot-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
}

.hotspot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid white;
  background: var(--accent-2);
  box-shadow: 0 0 0 7px rgba(242, 202, 114, 0.18);
  cursor: pointer;
  padding: 0;
}

.guest-map-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.guest-map-toolbar label {
  width: 100%;
}

.guest-map-toolbar label span {
  color: rgba(255, 255, 255, 0.78);
}

.guest-location-status {
  width: 100%;
  margin: 0;
  color: rgba(236, 244, 248, 0.78);
  font-size: 0.9rem;
}

.guest-device-marker-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.guest-device-marker {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #1a3568;
  border: 3px solid white;
  box-shadow:
    0 0 0 10px rgba(26, 53, 104, 0.22),
    0 8px 18px rgba(9, 33, 48, 0.24);
}

.guest-amenity-list {
  display: grid;
  gap: 10px;
}

.guest-amenity-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  padding: 13px 16px;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.guest-amenity-item::after {
  content: ">";
  color: rgba(255, 255, 255, 0.58);
  font-weight: 700;
}

.guest-amenity-item:hover,
.guest-amenity-item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(236, 196, 109, 0.24);
  transform: translateY(-1px);
}

.guest-location-modal {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: center;
  padding: 18px;
}

.guest-location-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 11, 33, 0.66);
  backdrop-filter: blur(8px);
}

.guest-location-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 320px);
  max-height: calc(100% - 8px);
  overflow: auto;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 26, 58, 0.98), rgba(2, 11, 33, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(2, 11, 33, 0.34);
  color: white;
}

.guest-location-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.guest-location-sheet-close {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 36px;
  height: 36px;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.guest-location-meta {
  display: grid;
  gap: 8px;
}

.guest-location-meta p {
  margin: 0;
}

.guest-location-hours {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.guest-location-description {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.guest-booking-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guest-booking-summary,
.guest-booking-actions,
.event-card-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.guest-booking-summary span,
.event-card-chips span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.event-card-chips span {
  background: rgba(16, 35, 77, 0.08);
  color: var(--primary);
}

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

.guest-booking-status,
.guest-booking-price,
.guest-booking-total,
.guest-booking-confirmation {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.4;
}

.guest-booking-confirmation {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.event-map-preview {
  display: grid;
  gap: 10px;
}

.event-map-preview-head {
  display: grid;
  gap: 4px;
}

.event-map-preview-head strong {
  color: white;
  font-size: 0.98rem;
}

.event-map-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.event-map-shell img {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
}

.event-map-pin-wrap {
  position: absolute;
  transform: translate(-50%, -100%);
  display: grid;
  justify-items: center;
  gap: 6px;
}

.event-map-pin {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent-2);
  border: 2px solid white;
  box-shadow: 0 0 0 8px rgba(242, 202, 114, 0.18);
}

.event-map-label {
  max-width: 150px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2, 11, 33, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.8rem;
  line-height: 1.15;
  text-align: center;
}

.guest-location-gallery {
  display: grid;
  gap: 10px;
}

.guest-location-gallery-frame {
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.guest-location-gallery-frame > img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, 0.04);
}

.guest-location-track {
  display: flex;
  transition: transform 180ms ease;
}

.guest-location-track img {
  min-width: 100%;
  height: 170px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.guest-location-gallery-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.guest-location-gallery-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  width: 38px;
  height: 38px;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.guest-location-gallery-count {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.editor-map-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 320px;
  background: rgba(23, 50, 77, 0.08);
  border: 1px dashed rgba(23, 50, 77, 0.18);
  cursor: grab;
}

.editor-map-shell img {
  width: 100%;
  display: block;
  cursor: inherit;
}

.editor-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.editor-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid white;
  background: #eb6755;
  box-shadow: 0 0 0 8px rgba(235, 103, 85, 0.18);
  padding: 0;
  cursor: pointer;
}

.editor-pin.saved {
  background: var(--accent-2);
  box-shadow: 0 0 0 8px rgba(242, 202, 114, 0.18);
}

.editor-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 2;
}

.editor-label {
  position: absolute;
  transform: translate(-50%, calc(-100% - 10px));
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(23, 50, 77, 0.78);
  color: white;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
}

.editor-actions {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.editor-marker:hover .editor-actions,
.editor-marker:focus-within .editor-actions {
  opacity: 1;
  pointer-events: auto;
}

.editor-action-chip {
  border: 1px solid rgba(23, 50, 77, 0.14);
  border-radius: 999px;
  padding: 8px 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.editor-action-chip.edit {
  background: rgba(2, 11, 33, 0.96);
  color: white;
}

.editor-action-chip.drag {
  background: rgba(242, 202, 114, 0.98);
  color: var(--ink);
  border-color: rgba(181, 134, 22, 0.18);
}

.editor-action-chip.delete {
  background: rgba(255, 245, 245, 0.98);
  color: #8f2323;
  border-color: rgba(176, 46, 46, 0.22);
}

.editor-marker.drag-armed .editor-pin.saved {
  box-shadow: 0 0 0 10px rgba(16, 35, 77, 0.24);
  border-color: rgba(16, 35, 77, 0.95);
}

.editor-marker.dragging {
  z-index: 5;
}

.editor-marker.dragging .editor-pin,
.editor-map-shell.dragging-point,
.editor-map-shell.dragging-point img {
  cursor: grabbing;
}

.editor-empty {
  margin: 0;
  padding: 24px;
  color: var(--muted);
}

.editor-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 33, 49, 0.58);
  backdrop-filter: blur(8px);
}

.editor-dialog {
  width: min(1200px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 28px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 250, 244, 0.97);
  box-shadow: 0 30px 90px rgba(23, 50, 77, 0.22);
  padding: 24px;
}

.editor-dialog-head,
.editor-dialog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.editor-zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.editor-zoom-controls .ghost-button {
  min-width: 56px;
  min-height: 42px;
  padding: 8px 12px;
}

.editor-dialog-toolbar {
  margin: 16px 0;
  align-items: end;
}

.editor-dialog .editor-map-shell {
  min-height: 560px;
  cursor: grab;
}

.editor-dialog .editor-map-shell.panning-active {
  cursor: grabbing;
}

.editor-map-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.editor-map-stage {
  position: relative;
  transform-origin: center center;
  will-change: transform;
}

.editor-dialog .editor-map-stage img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #e2e7f0;
  cursor: inherit;
}

.context-popover {
  position: fixed;
  z-index: 30;
  width: min(360px, calc(100vw - 24px));
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 20px 60px rgba(23, 50, 77, 0.24);
  padding: 14px;
}

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

.list-meta,
.phase-list,
.detail-list {
  margin: 8px 0 0;
  padding-left: 18px;
}

.compact-detail-list {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-left: 0;
}

.event-card-button {
  cursor: pointer;
}

.guest-event-card-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guest-event-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
}

.guest-event-gallery img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

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

.auth-mode-switch {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.auth-mode-button {
  appearance: none;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-mode-button.active {
  background: rgba(16, 35, 77, 0.12);
  border-color: rgba(16, 35, 77, 0.35);
  color: var(--accent);
}

.platform-admin-grid {
  display: grid;
  gap: 18px;
}

#platformHotelList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 10px;
}

.platform-hotel-search-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 620px;
  margin: 10px 0 12px;
  padding: 8px 10px;
  border: 1px solid rgba(2, 11, 33, 0.12);
  border-radius: 14px;
  background: rgba(250, 252, 255, 0.82);
}

.platform-hotel-search-label {
  display: grid;
  gap: 4px;
  flex: 1 1 260px;
  margin: 0;
}

.platform-hotel-search-label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.platform-hotel-search-label input {
  min-height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(2, 11, 33, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  padding: 7px 10px;
}

.platform-hotel-search-label input:focus {
  outline: 2px solid rgba(26, 53, 104, 0.18);
  border-color: rgba(26, 53, 104, 0.36);
}

.platform-hotel-search-toolbar .section-copy {
  margin: 0 0 7px auto;
  white-space: nowrap;
}

.platform-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px;
  border: 1px dashed rgba(2, 11, 33, 0.2);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.platform-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.collapsible-section-body {
  display: grid;
  gap: 16px;
}

.stack-form[data-collapsible-section].is-collapsed {
  gap: 0;
  padding-bottom: 18px;
}

.stack-form[data-collapsible-section].is-collapsed .collapsible-section-body {
  display: none;
}

.platform-collapse-toggle {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
}

.platform-hotel-row {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(17, 33, 52, 0.045);
}

.platform-account-alert-board {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(176, 57, 57, 0.24);
  background: linear-gradient(135deg, rgba(255, 244, 244, 0.98), rgba(255, 250, 242, 0.94));
  box-shadow: 0 16px 34px rgba(176, 57, 57, 0.08);
}

.platform-account-alert-board strong {
  color: #7f2d2d;
}

.platform-account-alert-board .section-copy {
  margin: 4px 0 0;
}

.platform-alert-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.platform-alert-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.platform-alert-chip.expired,
.platform-alert-chip.payment {
  border-color: rgba(176, 57, 57, 0.22);
  background: rgba(176, 57, 57, 0.1);
  color: #8f3030;
}

.platform-alert-chip.requested,
.platform-alert-chip.awaiting {
  border-color: rgba(214, 159, 33, 0.28);
  background: rgba(243, 201, 105, 0.2);
  color: #735500;
}

.platform-hotel-row.platform-attention {
  position: relative;
  overflow: hidden;
}

.platform-hotel-row.platform-attention::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: #b03939;
}

.platform-hotel-row.platform-attention-expired,
.platform-hotel-row.platform-attention-payment {
  border-color: rgba(176, 57, 57, 0.28);
  background: linear-gradient(180deg, rgba(255, 247, 247, 0.97), rgba(255, 252, 249, 0.94));
  box-shadow: 0 14px 34px rgba(176, 57, 57, 0.09);
}

.platform-hotel-row.platform-attention-requested,
.platform-hotel-row.platform-attention-awaiting {
  border-color: rgba(214, 159, 33, 0.3);
  background: linear-gradient(180deg, rgba(255, 250, 237, 0.97), rgba(255, 253, 247, 0.94));
  box-shadow: 0 14px 34px rgba(143, 104, 13, 0.08);
}

.platform-hotel-row.platform-attention-requested::before,
.platform-hotel-row.platform-attention-awaiting::before {
  background: #d69f21;
}

.platform-hotel-alert-line {
  display: block;
  margin-top: 5px;
  color: #8f3030;
  font-size: 0.74rem;
  line-height: 1.25;
  font-weight: 700;
}

.platform-attention-requested .platform-hotel-alert-line,
.platform-attention-awaiting .platform-hotel-alert-line {
  color: #735500;
}

.platform-hotel-row:not(.is-expanded) {
  gap: 7px;
  padding: 9px 11px;
}

.platform-hotel-row.is-expanded {
  grid-column: 1 / -1;
}

.platform-hotel-summary {
  display: grid;
  gap: 7px;
}

.platform-hotel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.platform-hotel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-hotel-row:not(.is-expanded) .platform-hotel-meta {
  display: none;
}

.platform-hotel-row:not(.is-expanded) .platform-hotel-head {
  align-items: center;
}

.platform-hotel-row:not(.is-expanded) .platform-hotel-actions {
  margin-top: 0;
}

.platform-hotel-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

#platformHotelList .platform-hotel-summary .location-row-meta strong {
  font-size: 0.84rem;
  line-height: 1.1;
}

#platformHotelList .platform-hotel-summary .location-row-meta span,
#platformHotelList .platform-hotel-summary .section-copy {
  font-size: 0.72rem;
  line-height: 1.25;
}

#platformHotelList .platform-hotel-summary .pill {
  padding: 4px 8px;
  font-size: 0.68rem;
}

#platformHotelList .platform-hotel-summary .location-mini-button,
#platformHotelList .platform-hotel-summary .secondary-button,
#platformHotelList .platform-hotel-summary .ghost-button {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
}

.platform-account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.platform-account-form {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  background: rgba(249, 251, 253, 0.92);
  border: 1px solid rgba(23, 50, 77, 0.08);
  border-radius: 18px;
  padding: 18px;
}

.platform-form-section {
  display: grid;
  gap: 12px;
}

.platform-form-section + .platform-form-section {
  padding-top: 8px;
  border-top: 1px solid rgba(23, 50, 77, 0.08);
}

.platform-form-section h4,
.platform-managed-panel h4 {
  margin: 0;
}

.platform-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}

.platform-form-span-2 {
  grid-column: span 2;
}

.platform-form-actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.platform-managed-panel {
  gap: 14px;
}

.platform-managed-hotel-editor {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(23, 50, 77, 0.08);
  border-radius: 16px;
  background: rgba(249, 251, 253, 0.92);
}

.platform-managed-hotel-editor input[readonly] {
  background: rgba(235, 241, 246, 0.8);
  color: var(--muted);
}

.platform-section-head.compact {
  align-items: center;
}

.platform-managed-list {
  display: grid;
  gap: 10px;
}

.platform-managed-row {
  padding: 12px 14px;
}

.platform-add-hotel-form {
  padding-top: 4px;
  border-top: 1px solid rgba(23, 50, 77, 0.08);
}

.platform-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.platform-status-badge.active,
.platform-status-badge.trial {
  background: rgba(16, 35, 77, 0.12);
  color: var(--accent);
}

.platform-status-badge.requested-continuation {
  background: rgba(69, 98, 146, 0.14);
  color: #35527a;
}

.platform-status-badge.awaiting-payment {
  background: rgba(243, 201, 105, 0.24);
  color: #765400;
}

.platform-status-badge.payment-link-sent {
  background: rgba(243, 201, 105, 0.28);
  border-color: rgba(214, 159, 33, 0.32);
  color: #8a5b00;
}

.platform-status-badge.payment-requested,
.platform-status-badge.payment-pending {
  background: rgba(51, 102, 153, 0.14);
  border-color: rgba(51, 102, 153, 0.2);
  color: #2a5276;
}

.platform-status-badge.payment-received,
.platform-status-badge.stripe-active,
.platform-status-badge.paid {
  background: rgba(16, 35, 77, 0.14);
  border-color: rgba(26, 53, 104, 0.24);
  color: #10234d;
}

.platform-status-badge.payment-failed {
  background: rgba(179, 67, 67, 0.12);
  border-color: rgba(179, 67, 67, 0.2);
  color: #9f3a3a;
}

.platform-status-badge.trial-expired {
  background: rgba(176, 57, 57, 0.12);
  color: #9e3434;
}

.platform-status-badge.past-due {
  background: rgba(243, 201, 105, 0.24);
  color: #765400;
}

.platform-status-badge.mixed {
  background: rgba(69, 98, 146, 0.14);
  color: #35527a;
}

.platform-status-badge.inactive,
.platform-status-badge.suspended,
.platform-status-badge.canceled {
  background: rgba(176, 57, 57, 0.12);
  color: #9e3434;
}

.platform-billing-queue {
  display: grid;
  gap: 16px;
}

.platform-request-grid {
  display: grid;
  gap: 12px;
}

.platform-request-card {
  align-items: center;
}

.platform-request-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stack-form {
  display: grid;
  gap: 12px;
  background: var(--surface-strong);
}

.admin-collapsible-panel > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--text);
}

.admin-collapsible-panel > summary::-webkit-details-marker {
  display: none;
}

.admin-collapsible-panel > summary::after {
  content: "Show";
  border: 1px solid rgba(2, 11, 33, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
}

.admin-collapsible-panel[open] > summary::after {
  content: "Hide";
}

.admin-collapsible-panel[open] > summary {
  margin-bottom: 4px;
}

.admin-panel .stack-form,
.location-inline-form,
.context-form {
  --admin-label-gap: 6px;
  --admin-input-height: 46px;
  --admin-input-padding-y: 10px;
  --admin-input-padding-x: 14px;
  --admin-textarea-height: 104px;
  --admin-button-height: 48px;
}

.admin-panel .stack-form label,
.location-inline-form label,
.context-form label {
  gap: var(--admin-label-gap);
}

.admin-panel .stack-form label span,
.location-inline-form label span,
.context-form label span {
  font-size: 0.9rem;
  line-height: 1.2;
  color: var(--muted);
}

.admin-panel .stack-form input:not([type="file"]),
.admin-panel .stack-form select,
.location-inline-form input:not([type="file"]),
.location-inline-form select,
.context-form input:not([type="file"]),
.context-form select {
  min-height: var(--admin-input-height);
  padding: var(--admin-input-padding-y) var(--admin-input-padding-x);
}

.admin-panel .stack-form textarea,
.location-inline-form textarea,
.context-form textarea {
  min-height: var(--admin-textarea-height);
  padding: 12px var(--admin-input-padding-x);
}

.admin-panel .stack-form input[type="file"],
.location-inline-form input[type="file"],
.context-form input[type="file"] {
  min-height: var(--admin-input-height);
  width: 100%;
  padding: 7px 12px 7px 7px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.94)),
    #ffffff;
  color: rgba(24, 50, 74, 0.72);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 22px rgba(18, 41, 59, 0.05);
}

.admin-panel .stack-form input[type="file"]::file-selector-button,
.location-inline-form input[type="file"]::file-selector-button,
.context-form input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #020b21, #1a3568);
  color: #ffffff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(18, 41, 59, 0.16);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.admin-panel .stack-form input[type="file"]::-webkit-file-upload-button,
.location-inline-form input[type="file"]::-webkit-file-upload-button,
.context-form input[type="file"]::-webkit-file-upload-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #020b21, #1a3568);
  color: #ffffff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(18, 41, 59, 0.16);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.admin-panel .stack-form input[type="file"]:hover::file-selector-button,
.location-inline-form input[type="file"]:hover::file-selector-button,
.context-form input[type="file"]:hover::file-selector-button,
.admin-panel .stack-form input[type="file"]:hover::-webkit-file-upload-button,
.location-inline-form input[type="file"]:hover::-webkit-file-upload-button,
.context-form input[type="file"]:hover::-webkit-file-upload-button {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #07162e, #244a7c);
  box-shadow: 0 14px 26px rgba(18, 41, 59, 0.2);
}

.admin-panel .stack-form input[type="file"]:focus-visible,
.location-inline-form input[type="file"]:focus-visible,
.context-form input[type="file"]:focus-visible {
  outline: 3px solid rgba(26, 53, 104, 0.18);
  border-color: rgba(26, 53, 104, 0.34);
}

.admin-panel .stack-form .primary-button,
.admin-panel .stack-form .secondary-button,
.admin-panel .stack-form .ghost-button,
.location-inline-form .location-mini-button,
.context-form .secondary-button,
.context-form .ghost-button {
  min-height: var(--admin-button-height);
}

.auth-form {
  align-content: start;
  gap: 12px;
}

.auth-submit {
  min-height: 48px;
  margin-top: 4px;
}

.hotel-info-form {
  align-content: start;
  align-self: start;
  gap: 14px;
}

.hotel-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  align-items: start;
}

.hotel-info-grid > label {
  align-self: start;
}

.hotel-info-form h4 {
  margin-bottom: 2px;
}

.hotel-billing-panel {
  align-content: start;
  gap: 14px;
}

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

.billing-summary-card {
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px 16px;
}

.billing-summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.billing-summary-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}

.billing-warning-box {
  border: 1px solid rgba(179, 67, 67, 0.14);
  background: rgba(255, 247, 245, 0.88);
  border-radius: 18px;
  padding: 14px 16px;
}

.billing-warning-box strong {
  display: block;
  margin-bottom: 6px;
  color: #9f3a3a;
}

.payment-history-list {
  display: grid;
  gap: 8px;
}

.payment-history-row {
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
}

.payment-history-row .location-row-meta {
  gap: 2px;
}

.payment-history-mainline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-history-mainline strong {
  line-height: 1.15;
}

.payment-history-note {
  line-height: 1.3;
}

.payment-history-row .location-row-actions {
  align-items: center;
  justify-content: flex-end;
}

.payment-history-row .detail-chip,
.payment-history-row .platform-status-badge {
  padding: 5px 9px;
  font-size: 0.82rem;
}

.payment-history-row .payment-receipt-button {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(23, 50, 77, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #17324d;
  font-size: 0.78rem;
  line-height: 1;
}

.payment-history-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.payment-history-toolbar label {
  display: grid;
  gap: 4px;
  min-width: 180px;
  margin: 0;
  color: #66778a;
  font-size: 0.86rem;
}

.payment-history-toolbar input {
  height: 38px;
  border: 1px solid rgba(23, 50, 77, 0.14);
  border-radius: 12px;
  padding: 0 12px;
  color: #17324d;
  background: rgba(255, 255, 255, 0.9);
}

.payment-history-toolbar .section-copy {
  margin: 0 0 8px auto;
}

.amenity-search-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.amenity-search-label {
  display: grid;
  gap: 5px;
  flex: 1 1 260px;
  margin: 0;
}

.amenity-search-label span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.amenity-search-label input {
  min-height: 42px;
  border: 1px solid rgba(23, 50, 77, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0 14px;
  color: var(--primary);
  font: inherit;
}

.amenity-search-label input:focus {
  outline: 2px solid rgba(26, 53, 104, 0.18);
  border-color: rgba(26, 53, 104, 0.36);
}

.amenity-search-toolbar .section-copy {
  margin: 0 0 9px auto;
  white-space: nowrap;
}

.stack-form.amenity-admin-panel {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(16, 35, 77, 0.14);
  background: #fbfcfd;
}

.amenity-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(2, 11, 33, 0.98), rgba(20, 64, 73, 0.96)),
    #020b21;
  color: #ffffff;
}

.amenity-admin-head .eyebrow {
  margin-bottom: 7px;
  color: #ecc46d;
  font-size: 0.68rem;
}

.amenity-admin-head h4 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  letter-spacing: 0;
}

.amenity-admin-head .section-copy {
  max-width: 680px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.amenity-status-legend {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.amenity-legend-item,
.amenity-admin-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.amenity-legend-item {
  min-height: 36px;
  padding: 9px 13px;
  font-size: 0.78rem;
  border-width: 1.5px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.amenity-admin-status-badge {
  min-height: 28px;
  padding: 5px 10px;
  font-size: 0.76rem;
}

.amenity-legend-item.status-requestable,
.amenity-admin-status-badge.status-requestable {
  border-color: rgba(88, 204, 166, 0.46);
  background: rgba(47, 122, 99, 0.34);
  color: #d9fff0;
}

.amenity-legend-item.status-billable,
.amenity-admin-status-badge.status-billable {
  border-color: rgba(255, 224, 139, 0.54);
  background: rgba(204, 143, 24, 0.44);
  color: #fff5d4;
}

.amenity-legend-item.status-info,
.amenity-admin-status-badge.status-info {
  border-color: rgba(130, 175, 226, 0.46);
  background: rgba(69, 98, 146, 0.36);
  color: #e2efff;
}

.amenity-legend-item.status-paused,
.amenity-admin-status-badge.status-paused {
  border-color: rgba(255, 149, 143, 0.52);
  background: rgba(173, 81, 79, 0.42);
  color: #ffe0dd;
}

.amenity-admin-status-badge.status-requestable {
  border-color: rgba(47, 122, 99, 0.2);
  background: rgba(47, 122, 99, 0.16);
  color: #1f604d;
}

.amenity-admin-status-badge.status-billable {
  border-color: rgba(204, 143, 24, 0.22);
  background: rgba(236, 196, 109, 0.28);
  color: #664700;
}

.amenity-admin-status-badge.status-info {
  border-color: rgba(69, 98, 146, 0.2);
  background: rgba(69, 98, 146, 0.16);
  color: #27466f;
}

.amenity-admin-status-badge.status-paused {
  border-color: rgba(173, 81, 79, 0.2);
  background: rgba(173, 81, 79, 0.16);
  color: #903d3a;
}

.amenity-admin-panel #amenityForm {
  padding: 18px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.amenity-request-board {
  display: grid;
  gap: 12px;
  margin: 18px 18px 0;
  padding: 14px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 249, 0.9)),
    #ffffff;
  box-shadow: 0 16px 36px rgba(16, 35, 77, 0.08);
}

.service-request-board {
  justify-self: center;
  width: min(100%, 1160px);
  margin: 10px auto 0;
}

.amenity-request-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.amenity-request-board-head h5 {
  margin: 0;
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.1;
}

.amenity-request-board-head .section-copy {
  max-width: 680px;
  margin: 6px 0 0;
  font-size: 0.84rem;
}

.amenity-request-refresh-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(47, 122, 99, 0.2);
  border-radius: 999px;
  background: rgba(47, 122, 99, 0.12);
  color: #1f604d;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.amenity-request-grid {
  display: grid;
  gap: 14px;
}

.amenity-request-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.amenity-request-summary-grid article {
  display: grid;
  gap: 4px;
  min-height: 54px;
  padding: 9px 12px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 35, 77, 0.05);
}

.amenity-request-summary-grid span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.amenity-request-summary-grid strong {
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
}

.amenity-request-table-panel {
  overflow: hidden;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 35, 77, 0.05);
}

.amenity-request-view-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
  background: #ffffff;
}

.amenity-request-view-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 999px;
  background: rgba(247, 250, 252, 0.96);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.amenity-request-view-tab span {
  color: var(--muted);
}

.amenity-request-view-tab.active {
  border-color: rgba(2, 11, 33, 0.18);
  background: #020b21;
  color: #ffffff;
}

.amenity-request-view-tab.active span {
  color: rgba(255, 255, 255, 0.72);
}

.amenity-request-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
  background: rgba(247, 250, 252, 0.92);
}

.amenity-request-search-label,
.amenity-request-filter-label {
  display: grid;
  gap: 5px;
}

.amenity-request-search-label {
  flex: 1 1 320px;
}

.amenity-request-filter-label {
  flex: 0 0 180px;
}

.amenity-request-search-label span,
.amenity-request-filter-label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.amenity-request-search-label input,
.amenity-request-filter-label select {
  min-height: 34px;
  border: 1px solid rgba(16, 35, 77, 0.13);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  padding: 7px 10px;
}

.amenity-request-result-count {
  margin-left: auto;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.amenity-request-table-wrap {
  max-height: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.amenity-request-table {
  width: 100%;
  min-width: 960px;
  border-collapse: separate;
  border-spacing: 0;
}

.amenity-request-table th,
.amenity-request-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
  font-size: 0.8rem;
  text-align: left;
  vertical-align: middle;
}

.amenity-request-table th {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.96);
}

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

.amenity-request-table-row {
  background: #ffffff;
}

.amenity-request-table-row:hover {
  background: rgba(247, 250, 252, 0.94);
}

.amenity-request-cell-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 174px;
}

.amenity-request-cell-main > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.amenity-request-cell-main strong {
  color: var(--primary);
  font-size: 0.86rem;
  line-height: 1.15;
}

.amenity-request-note-cell {
  width: 58px;
}

.amenity-request-note-indicator {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 999px;
  background: rgba(236, 196, 109, 0.18);
  color: #664700;
  cursor: help;
  outline: none;
}

.amenity-request-note-indicator:hover,
.amenity-request-note-indicator:focus {
  border-color: rgba(204, 143, 24, 0.42);
  background: rgba(236, 196, 109, 0.3);
  box-shadow: 0 0 0 3px rgba(236, 196, 109, 0.18);
}

.amenity-request-note-glyph {
  position: relative;
  width: 12px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.amenity-request-note-glyph::before,
.amenity-request-note-glyph::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.amenity-request-note-glyph::before {
  top: 3px;
}

.amenity-request-note-glyph::after {
  top: 7px;
}

.amenity-request-note-indicator::after {
  content: attr(data-note);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 30;
  width: max-content;
  max-width: 300px;
  padding: 9px 11px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(16, 35, 77, 0.18);
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.amenity-request-note-indicator:hover::after,
.amenity-request-note-indicator:focus::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.amenity-request-note-empty {
  color: rgba(24, 50, 74, 0.34);
  font-weight: 900;
}

.amenity-request-row-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 1px solid rgba(204, 143, 24, 0.22);
  border-radius: 999px;
  background: rgba(236, 196, 109, 0.18);
  color: #664700;
  font-size: 0.72rem;
  font-weight: 900;
}

.amenity-request-table-row.status-confirmed .amenity-request-row-icon {
  border-color: rgba(69, 98, 146, 0.22);
  background: rgba(69, 98, 146, 0.12);
  color: #27466f;
}

.amenity-request-table-row.status-completed .amenity-request-row-icon {
  border-color: rgba(47, 122, 99, 0.22);
  background: rgba(47, 122, 99, 0.12);
  color: #1f604d;
}

.amenity-request-table-row.status-cancelled .amenity-request-row-icon {
  border-color: rgba(173, 81, 79, 0.22);
  background: rgba(173, 81, 79, 0.12);
  color: #903d3a;
}

.amenity-request-status-stack {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.amenity-request-billable-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 4px 8px;
  border: 1px solid rgba(116, 78, 171, 0.2);
  border-radius: 999px;
  background: rgba(116, 78, 171, 0.12);
  color: #6840a3;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.amenity-request-row-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  min-width: 174px;
}

.amenity-request-row-actions select {
  min-width: 112px;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid rgba(16, 35, 77, 0.16);
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
}

.amenity-request-row-actions .service-request-save-button {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 0.7rem;
}

.amenity-request-table .service-request-status-badge {
  min-height: 22px;
  padding: 4px 8px;
  font-size: 0.62rem;
}

.amenity-request-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid rgba(16, 35, 77, 0.08);
  background: rgba(247, 250, 252, 0.92);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.amenity-request-pagination div {
  display: flex;
  gap: 7px;
}

.amenity-request-pagination button {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

.amenity-request-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.amenity-request-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 12px;
}

.amenity-request-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 11px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(204, 143, 24, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(236, 196, 109, 0.1), #ffffff 38%);
  box-shadow: 0 14px 32px rgba(16, 35, 77, 0.07);
}

.amenity-request-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #cc8f18;
}

.amenity-request-card.status-confirmed {
  border-color: rgba(69, 98, 146, 0.24);
  background: linear-gradient(180deg, rgba(69, 98, 146, 0.08), #ffffff 38%);
}

.amenity-request-card.status-confirmed::before {
  background: #456292;
}

.amenity-request-card.status-completed {
  border-color: rgba(47, 122, 99, 0.24);
  background: linear-gradient(180deg, rgba(47, 122, 99, 0.08), #ffffff 38%);
}

.amenity-request-card.status-completed::before {
  background: #2f7a63;
}

.amenity-request-card.status-cancelled {
  border-color: rgba(173, 81, 79, 0.24);
  background: linear-gradient(180deg, rgba(173, 81, 79, 0.08), #ffffff 38%);
}

.amenity-request-card.status-cancelled::before {
  background: #ad514f;
}

.amenity-request-card-head,
.amenity-request-status-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.amenity-request-kicker {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.amenity-request-name {
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.18;
}

.amenity-request-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.amenity-request-meta-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(16, 35, 77, 0.08);
  border-radius: 10px;
  background: rgba(16, 35, 77, 0.035);
}

.amenity-request-meta-grid small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.amenity-request-meta-grid strong {
  overflow: hidden;
  color: #17324d;
  font-size: 0.84rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amenity-request-note {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.amenity-request-status-control {
  align-items: flex-end;
  padding-top: 4px;
}

.amenity-request-status-control label {
  flex: 1 1 auto;
  gap: 4px;
}

.amenity-request-status-control label span {
  color: var(--primary);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.amenity-request-status-control select {
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  border: 1px solid rgba(16, 35, 77, 0.18);
  border-radius: 9px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.1;
}

.amenity-request-empty {
  margin: 0;
  padding: 16px;
  border: 1px dashed rgba(16, 35, 77, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

.amenity-admin-search {
  margin: 18px 18px 0;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 35, 77, 0.05);
}

.amenity-admin-list {
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.amenity-admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.amenity-admin-metric {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 35, 77, 0.06);
}

.amenity-admin-metric span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.amenity-admin-metric strong {
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1;
}

.amenity-admin-card-list {
  display: grid;
  gap: 12px;
}

.amenity-admin-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
  padding: 16px 16px 16px 20px;
  border: 1px solid rgba(69, 98, 146, 0.28);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(69, 98, 146, 0.08), #ffffff 28%);
  box-shadow: 0 14px 34px rgba(16, 35, 77, 0.07);
}

.amenity-admin-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: #456292;
}

.amenity-admin-card.status-requestable {
  border-color: rgba(47, 122, 99, 0.32);
  background: linear-gradient(90deg, rgba(47, 122, 99, 0.08), #ffffff 28%);
}

.amenity-admin-card.status-requestable::before {
  background: #2f7a63;
}

.amenity-admin-card.status-billable {
  border-color: rgba(204, 143, 24, 0.34);
  background: linear-gradient(90deg, rgba(236, 196, 109, 0.1), #ffffff 28%);
}

.amenity-admin-card.status-billable::before {
  background: #ecc46d;
}

.amenity-admin-card.status-paused {
  border-color: rgba(173, 81, 79, 0.28);
  background: linear-gradient(90deg, rgba(173, 81, 79, 0.08), #ffffff 28%);
}

.amenity-admin-card.status-paused::before {
  background: #ad514f;
}

.amenity-admin-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.amenity-admin-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.amenity-admin-title-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.amenity-admin-title-row strong {
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.16;
}

.amenity-admin-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.amenity-admin-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 8px;
}

.amenity-admin-info-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(16, 35, 77, 0.08);
  border-radius: 10px;
  background: rgba(16, 35, 77, 0.035);
}

.amenity-admin-info-grid small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
}

.amenity-admin-info-grid strong {
  overflow: hidden;
  color: #17324d;
  font-size: 0.86rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amenity-admin-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.amenity-admin-actions {
  align-self: start;
  justify-content: flex-end;
}

.amenity-admin-card .location-inline-form {
  grid-column: 1 / -1;
  margin-top: 0;
  padding: 14px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 14px;
  background: rgba(247, 250, 252, 0.92);
}

.amenity-admin-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(16, 35, 77, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

.amenity-admin-pagination {
  padding: 0 18px 18px;
  background: #ffffff;
}

@media (max-width: 720px) {
  .amenity-admin-head {
    flex-direction: column;
    padding: 18px;
  }

  .amenity-admin-search {
    margin: 12px 12px 0;
  }

  .amenity-request-board {
    margin: 12px 12px 0;
    padding: 14px;
  }

  .amenity-request-board-head,
  .amenity-request-status-control {
    align-items: stretch;
    flex-direction: column;
  }

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

  .amenity-request-search-label,
  .amenity-request-filter-label {
    flex-basis: auto;
  }

  .amenity-request-result-count {
    margin-left: 0;
    padding: 0;
  }

  .amenity-request-view-tabs,
  .amenity-request-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .amenity-request-pagination div {
    justify-content: flex-start;
  }

  .amenity-admin-list {
    padding: 12px;
  }

  .amenity-admin-metrics,
  .amenity-request-summary-grid,
  .amenity-admin-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amenity-request-card-grid {
    grid-template-columns: 1fr;
  }

  .amenity-admin-card {
    grid-template-columns: 1fr;
  }

  .amenity-admin-actions {
    justify-content: flex-start;
  }

  .amenity-admin-pagination {
    padding: 0 12px 12px;
  }
}

.compact-button {
  min-height: 38px;
  padding: 8px 12px;
}

.payment-history-row.payment-link-sent {
  border-color: rgba(214, 159, 33, 0.26);
  background: linear-gradient(180deg, rgba(255, 247, 224, 0.96), rgba(255, 251, 241, 0.92));
}

.payment-history-row.payment-requested,
.payment-history-row.payment-pending {
  border-color: rgba(51, 102, 153, 0.22);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(248, 251, 255, 0.92));
}

.payment-history-row.payment-received,
.payment-history-row.stripe-active,
.payment-history-row.paid {
  border-color: rgba(16, 35, 77, 0.22);
  background: linear-gradient(180deg, rgba(237, 242, 252, 0.96), rgba(248, 250, 255, 0.92));
}

.payment-history-row.payment-failed {
  border-color: rgba(179, 67, 67, 0.22);
  background: linear-gradient(180deg, rgba(254, 239, 239, 0.96), rgba(255, 248, 248, 0.92));
}

.payment-request-panel {
  display: grid;
  gap: 12px;
}

.payment-request-panel + .payment-request-panel {
  margin-top: 16px;
}

.payment-request-panel h5 {
  margin: 0;
  font-size: 0.98rem;
  color: #19324d;
}

.payment-request-list {
  display: grid;
  gap: 10px;
}

.payment-request-row.payment-requested,
.payment-request-row.payment-pending {
  border-color: rgba(51, 102, 153, 0.22);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(248, 251, 255, 0.92));
}

.payment-request-row.payment-failed {
  border-color: rgba(179, 67, 67, 0.22);
  background: linear-gradient(180deg, rgba(254, 239, 239, 0.96), rgba(255, 248, 248, 0.92));
}

.payment-request-row.paid {
  border-color: rgba(16, 35, 77, 0.22);
  background: linear-gradient(180deg, rgba(237, 242, 252, 0.96), rgba(248, 250, 255, 0.92));
}

.payment-request-row.request-created {
  border-color: rgba(214, 159, 33, 0.26);
  background: linear-gradient(180deg, rgba(255, 247, 224, 0.96), rgba(255, 251, 241, 0.92));
}

.payment-request-attempts {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.payment-request-attempt {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(24, 50, 74, 0.08);
  font-size: 0.9rem;
  color: #607182;
}

.payment-request-attempt strong {
  color: #19324d;
}

.payment-failure-copy {
  color: #9f3a3a;
  font-weight: 600;
}

.payment-request-cta {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(24, 50, 74, 0.08);
}

.payment-request-pay-button {
  width: fit-content;
  min-width: 180px;
}

.payment-history-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.payment-history-pager .section-copy {
  margin: 0;
  text-align: center;
  flex: 1;
}

.stripe-status-grid {
  margin-bottom: 18px;
}

.platform-account-form .platform-summary-grid.compact {
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.platform-account-form .platform-summary-grid.compact .summary-card {
  border-radius: 16px;
  min-height: 88px;
  padding: 14px 16px;
  overflow: hidden;
}

.platform-account-form .platform-summary-grid.compact .summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
  margin-bottom: 6px;
}

.platform-account-form .platform-summary-grid.compact .summary-card strong {
  color: var(--text);
  font-size: clamp(0.75rem, 1vw, 0.95rem);
  line-height: 1.1;
  margin: 0;
  overflow-wrap: anywhere;
}

.platform-account-form .platform-summary-grid.compact.stripe-status-grid .summary-card {
  min-height: 78px;
}

.platform-account-form .platform-form-section h4 {
  margin-bottom: 10px;
}

.platform-account-form .platform-form-actions .location-mini-button {
  border-radius: 12px;
  font-size: 0.86rem;
  min-height: 38px;
  padding: 9px 14px;
}

.billing-action-row {
  flex-wrap: wrap;
  gap: 10px;
}

.danger-ghost-button {
  border-color: rgba(179, 67, 67, 0.28);
  color: #9f3a3a;
}

.danger-ghost-button:hover {
  background: rgba(179, 67, 67, 0.08);
}

.hotel-info-span-2 {
  grid-column: span 2;
}

.hotel-info-submit {
  width: fit-content;
  min-width: 180px;
  padding-inline: 20px;
  margin-top: 2px;
}

.hotel-openai-section {
  display: grid;
  gap: 14px;
}

.ai-knowledge-label textarea {
  min-height: 180px;
  resize: vertical;
}

.hotel-logo-upload-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hotel-logo-preview {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.hotel-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotel-logo-preview span {
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
}

label {
  display: grid;
  gap: 7px;
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 13px;
  font: inherit;
  color: var(--text);
}

textarea {
  resize: vertical;
}

.dashboard-shell {
  margin-top: 18px;
}

#hotel-portal {
  position: relative;
}

#hotel-portal > .section-head {
  padding-right: 220px;
}

#hotel-portal .admin-language-toolbar {
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 2;
}

#hotel-portal .portal-header-row {
  display: block;
}

#hotel-portal .admin-tab-bar {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

#hotel-portal .admin-tab-bar::-webkit-scrollbar {
  display: none;
}

#hotel-portal .admin-tab-button {
  flex: 0 0 auto;
  padding: 9px 14px;
  font-size: 0.88rem;
  line-height: 1;
}

#hotel-portal .portal-language-switcher select,
#hotel-portal .admin-language-toolbar .language-switcher select {
  min-height: 40px;
  padding-block: 8px;
}

.admin-tab-bar {
  margin-top: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid rgba(2, 11, 33, 0.08);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 235, 0.76)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(2, 11, 33, 0.08);
}

.admin-tab-button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(2, 11, 33, 0.72);
  padding: 11px 18px;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.admin-tab-button:hover {
  transform: translateY(-1px);
  background: rgba(2, 11, 33, 0.06);
  color: var(--primary-700);
}

.admin-tab-button:focus-visible {
  outline: 3px solid rgba(26, 53, 104, 0.2);
  outline-offset: 3px;
}

.admin-tab-button.active {
  background: linear-gradient(135deg, var(--primary-700), var(--primary));
  border-color: rgba(2, 11, 33, 0.18);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(2, 11, 33, 0.22);
}

.admin-tab-panels {
  margin-top: 18px;
}

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

.admin-tab-panel[data-admin-panel="account"] .dashboard-shell {
  display: grid;
  gap: 18px;
}

.account-command-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: 26px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 249, 0.84)),
    linear-gradient(180deg, rgba(236, 196, 109, 0.14), transparent 62%);
  box-shadow: 0 24px 58px rgba(18, 41, 59, 0.1);
}

.account-command-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 11, 33, 0.07), transparent 36%),
    linear-gradient(135deg, transparent 0 68%, rgba(236, 196, 109, 0.2) 68% 100%);
  pointer-events: none;
}

.account-command-copy,
.account-command-rail {
  position: relative;
  z-index: 1;
}

.account-command-copy {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 166px;
}

.account-command-copy h4 {
  max-width: 720px;
  margin: 0;
  color: #07162e;
  font-size: 1.95rem;
  line-height: 1.08;
}

.account-command-copy .section-copy {
  max-width: 66ch;
  margin: 0;
  color: rgba(24, 50, 74, 0.74);
  line-height: 1.55;
}

.account-command-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.account-command-button {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 14px;
  text-align: left;
  color: var(--text);
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(18, 41, 59, 0.08);
  cursor: pointer;
  font: inherit;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.account-command-button:hover,
.account-command-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(2, 11, 33, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 34px rgba(18, 41, 59, 0.12);
}

.account-command-button:focus-visible {
  outline: 3px solid rgba(26, 53, 104, 0.18);
  outline-offset: 3px;
}

.account-command-button span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.account-command-button strong {
  color: inherit;
  font-size: 1rem;
  line-height: 1.15;
}

.account-command-button.is-primary {
  color: #ffffff;
  border-color: rgba(2, 11, 33, 0.2);
  background: linear-gradient(135deg, #07162e, #183866);
  box-shadow: 0 18px 34px rgba(2, 11, 33, 0.22);
}

.account-command-button.is-primary span {
  color: rgba(236, 196, 109, 0.96);
}

.admin-tab-panel[data-admin-panel="account"] .account-insight-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-tab-panel[data-admin-panel="account"] .account-insight-strip .summary-card {
  min-width: 0;
  border: 1px solid rgba(23, 50, 77, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 252, 0.86));
  box-shadow: 0 16px 36px rgba(18, 41, 59, 0.08);
}

.admin-tab-panel[data-admin-panel="account"] .stack-column {
  gap: 18px;
}

.admin-tab-panel[data-admin-panel="account"] .stack-form {
  position: relative;
  overflow: hidden;
  border-color: rgba(23, 50, 77, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 252, 0.9));
  box-shadow: 0 20px 46px rgba(18, 41, 59, 0.08);
}

.admin-tab-panel[data-admin-panel="account"] .stack-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #07162e, #ecc46d);
  opacity: 0.78;
}

.admin-tab-panel[data-admin-panel="account"] .stack-form h4 {
  margin: 0;
  color: #07162e;
  font-size: 1.08rem;
  line-height: 1.2;
}

.admin-tab-panel[data-admin-panel="account"] .stack-form .section-copy {
  color: rgba(24, 50, 74, 0.72);
  line-height: 1.45;
}

.admin-tab-panel[data-admin-panel="account"] .guest-qr-panel {
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  grid-template-areas:
    "qr-title qr-actions"
    "qr-copy qr-actions";
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
}

.admin-tab-panel[data-admin-panel="account"] .guest-qr-panel h4 {
  grid-area: qr-title;
  align-self: end;
  white-space: normal;
}

.admin-tab-panel[data-admin-panel="account"] .guest-qr-panel > .section-copy {
  grid-area: qr-copy;
  align-self: start;
  max-width: 760px;
}

.admin-tab-panel[data-admin-panel="account"] .guest-qr-panel .guest-qr-actions {
  grid-area: qr-actions;
  display: grid;
  gap: 10px;
  justify-content: flex-end;
  justify-items: end;
  max-width: 430px;
}

.admin-tab-panel[data-admin-panel="account"] .guest-qr-panel .dual-actions {
  justify-content: flex-end;
}

.admin-tab-panel[data-admin-panel="account"] .guest-qr-panel .qr-helper-copy {
  max-width: 360px;
  text-align: right;
}

.admin-tab-panel[data-admin-panel="account"] .hotel-info-grid {
  gap: 14px;
}

.admin-tab-panel[data-admin-panel="account"] .hotel-info-grid > label,
.admin-tab-panel[data-admin-panel="account"] .hotel-openai-section > label,
.admin-tab-panel[data-admin-panel="account"] .mini-form-grid > label,
.admin-tab-panel[data-admin-panel="account"] .payment-history-toolbar label {
  padding: 11px 12px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-tab-panel[data-admin-panel="account"] .stack-form label span {
  color: rgba(24, 50, 74, 0.68);
  font-weight: 800;
}

.admin-tab-panel[data-admin-panel="account"] .stack-form input:not([type="file"]),
.admin-tab-panel[data-admin-panel="account"] .stack-form select,
.admin-tab-panel[data-admin-panel="account"] .stack-form textarea {
  border-color: rgba(23, 50, 77, 0.13);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.admin-tab-panel[data-admin-panel="account"] .stack-form input:focus,
.admin-tab-panel[data-admin-panel="account"] .stack-form select:focus,
.admin-tab-panel[data-admin-panel="account"] .stack-form textarea:focus {
  outline: 3px solid rgba(26, 53, 104, 0.16);
  border-color: rgba(26, 53, 104, 0.32);
}

.admin-tab-panel[data-admin-panel="account"] .hotel-logo-preview {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  border-color: rgba(23, 50, 77, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 248, 0.9));
  box-shadow: 0 14px 28px rgba(18, 41, 59, 0.1);
}

.admin-tab-panel[data-admin-panel="account"] .primary-button,
.admin-tab-panel[data-admin-panel="account"] .secondary-button,
.admin-tab-panel[data-admin-panel="account"] .ghost-button {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 14px;
  letter-spacing: 0;
  box-shadow: 0 12px 24px rgba(18, 41, 59, 0.08);
}

.admin-tab-panel[data-admin-panel="account"] .primary-button {
  background: linear-gradient(135deg, #07162e, #183866);
}

.admin-tab-panel[data-admin-panel="account"] .secondary-button {
  color: #3d2b17;
  background: linear-gradient(135deg, #ecc46d, #ffe7ad);
}

.admin-tab-panel[data-admin-panel="account"] .ghost-button {
  margin-top: 0;
  background: rgba(255, 255, 255, 0.88);
}

.admin-tab-panel[data-admin-panel="account"] .primary-button:hover,
.admin-tab-panel[data-admin-panel="account"] .secondary-button:hover,
.admin-tab-panel[data-admin-panel="account"] .ghost-button:hover {
  transform: translateY(-1px);
}

.admin-tab-panel[data-admin-panel="account"] .platform-section-head.compact {
  align-items: flex-start;
}

.admin-tab-panel[data-admin-panel="account"] .platform-collapse-toggle {
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 12px;
}

.analytics-dashboard {
  display: grid;
  gap: 18px;
}

.analytics-control-panel {
  gap: 16px;
}

.analytics-head,
.analytics-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.analytics-head h4,
.analytics-chart-head h4 {
  margin: 0;
}

.analytics-live-pill {
  border-radius: 999px;
  background: rgba(16, 35, 77, 0.1);
  color: var(--navy);
  border: 1px solid rgba(16, 35, 77, 0.16);
  padding: 7px 12px;
  font-weight: 700;
  white-space: nowrap;
}

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

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

.analytics-summary-card {
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 255, 0.9));
  box-shadow: 0 18px 38px rgba(2, 11, 33, 0.06);
  padding: 16px;
}

.analytics-summary-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 8px;
}

.analytics-summary-card strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
  word-break: break-word;
}

.analytics-summary-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.analytics-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.analytics-chart-card {
  min-width: 0;
}

.analytics-chart-card-wide {
  grid-row: span 2;
}

.analytics-line-chart svg {
  width: 100%;
  min-height: 190px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(16, 35, 77, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 77, 0.05) 1px, transparent 1px),
    rgba(255, 255, 255, 0.78);
  background-size: 100% 42px, 72px 100%, auto;
  border: 1px solid rgba(16, 35, 77, 0.1);
}

.analytics-chart-axis,
.analytics-trend-mini {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.analytics-trend-mini {
  display: grid;
  margin-top: 12px;
}

.analytics-trend-mini div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.analytics-bar-chart {
  display: grid;
  gap: 12px;
}

.analytics-bar-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.analytics-bar-row div {
  height: 12px;
  background: rgba(16, 35, 77, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.analytics-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #020b21, #1a3568);
}

.analytics-device-chart {
  display: grid;
  place-items: center;
  gap: 14px;
}

.analytics-donut {
  width: 168px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(16, 35, 77, 0.12);
}

.analytics-donut::after {
  content: "";
  position: absolute;
  inset: 32px;
  border-radius: inherit;
  background: var(--surface-strong);
}

.analytics-donut span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: var(--ink);
}

.analytics-device-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  color: var(--muted);
}

.analytics-device-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.analytics-device-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.analytics-table-wrap {
  overflow-x: auto;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.analytics-table th,
.analytics-table td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.1);
  text-align: left;
}

.analytics-table th {
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.analytics-table td {
  color: var(--muted);
}

.analytics-empty {
  padding: 18px;
  border-radius: 16px;
  background: rgba(16, 35, 77, 0.06);
  color: var(--muted);
}

.admin-login-note {
  border-radius: 18px;
  border: 1px dashed rgba(23, 50, 77, 0.18);
  background: rgba(255, 255, 255, 0.52);
  padding: 16px;
  color: var(--muted);
}

.pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.simple-admin-grid,
.mini-form-grid {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.simple-admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-tab-panel[data-admin-panel="maps"] .maps-admin-grid {
  width: min(100%, 1180px);
  margin: 22px auto 0;
  grid-template-columns: minmax(340px, 0.94fr) minmax(390px, 1.06fr);
  gap: 22px;
  align-items: start;
}

.maps-left-rail,
.maps-right-rail {
  gap: 18px;
}

.map-upload-panel,
.map-library-panel,
.map-locations-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(16, 35, 77, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 247, 249, 0.9)),
    #ffffff;
  box-shadow: 0 20px 48px rgba(18, 41, 59, 0.1);
}

.map-upload-panel::before,
.map-library-panel::before,
.map-locations-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #020b21, #173f54 45%, #ecc46d);
}

.map-upload-panel h4,
.map-library-panel h4,
.map-locations-panel > summary span {
  color: #07162e;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.map-upload-panel label,
.map-library-panel .map-manager-bar {
  padding: 12px;
  border: 1px solid rgba(16, 35, 77, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
}

.map-upload-panel input:not([type="file"]) {
  background: rgba(255, 255, 255, 0.96);
}

#mapUploadInput {
  border-radius: 14px;
  background: rgba(247, 250, 252, 0.96);
}

.mini-form-grid {
  margin-top: 0;
  gap: 12px;
}

.mini-form-grid .dual-actions {
  margin-top: 2px;
}

.settings-badge-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.platform-stripe-settings input[readonly] {
  background: rgba(235, 241, 246, 0.82);
  color: var(--muted);
}

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

.checkbox-line input {
  width: auto;
}

.map-card-list {
  display: grid;
  gap: 12px;
}

.admin-tab-panel[data-admin-panel="maps"] .map-card-list {
  gap: 14px;
}

.map-manager-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.map-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 18px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.88);
}

.admin-tab-panel[data-admin-panel="maps"] .map-card {
  gap: 14px;
  padding: 14px;
  border-color: rgba(16, 35, 77, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.9)),
    #ffffff;
  box-shadow: 0 18px 38px rgba(18, 41, 59, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.admin-tab-panel[data-admin-panel="maps"] .map-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: rgba(69, 98, 146, 0.38);
}

.admin-tab-panel[data-admin-panel="maps"] .map-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 35, 77, 0.18);
  box-shadow: 0 24px 52px rgba(18, 41, 59, 0.12);
}

.map-card.active {
  border-color: rgba(16, 35, 77, 0.35);
  box-shadow: inset 0 0 0 1px rgba(16, 35, 77, 0.18);
}

.admin-tab-panel[data-admin-panel="maps"] .map-card.active {
  border-color: rgba(204, 143, 24, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 251, 239, 0.98), rgba(255, 255, 255, 0.92)),
    #ffffff;
  box-shadow: 0 24px 56px rgba(204, 143, 24, 0.13), inset 0 0 0 1px rgba(204, 143, 24, 0.22);
}

.admin-tab-panel[data-admin-panel="maps"] .map-card.active::before {
  background: linear-gradient(180deg, #ecc46d, #cc8f18);
}

.map-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.admin-tab-panel[data-admin-panel="maps"] .map-card img {
  height: 190px;
  border-radius: 18px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  box-shadow: 0 16px 28px rgba(16, 35, 77, 0.12);
  transition: transform 180ms ease;
}

.admin-tab-panel[data-admin-panel="maps"] .map-card:hover img {
  transform: scale(1.015);
}

.map-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-tab-panel[data-admin-panel="maps"] .map-card-head strong {
  color: #07162e;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.admin-tab-panel[data-admin-panel="maps"] .map-card.active .map-card-head::after {
  content: "Live";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 1px solid rgba(47, 122, 99, 0.22);
  border-radius: 999px;
  background: rgba(47, 122, 99, 0.14);
  color: #1f604d;
  font-size: 0.72rem;
  font-weight: 900;
}

.map-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-tab-panel[data-admin-panel="maps"] .map-card-actions {
  gap: 8px;
}

.admin-tab-panel[data-admin-panel="maps"] .map-action-button,
.admin-tab-panel[data-admin-panel="maps"] .location-mini-button {
  border-radius: 12px;
  min-height: 38px;
  padding: 9px 13px;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 20px rgba(18, 41, 59, 0.08);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.admin-tab-panel[data-admin-panel="maps"] .map-action-button:hover,
.admin-tab-panel[data-admin-panel="maps"] .location-mini-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(18, 41, 59, 0.12);
}

.admin-tab-panel[data-admin-panel="maps"] .map-action-button:not(.map-action-select):not(.map-action-open):not(.map-action-delete) {
  border: 1px solid rgba(16, 35, 77, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #17324d;
}

.admin-tab-panel[data-admin-panel="maps"] .map-action-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
  box-shadow: none;
}

.location-list {
  display: grid;
  gap: 12px;
}

.admin-tab-panel[data-admin-panel="maps"] .location-list {
  gap: 12px;
  margin-top: 14px;
}

.location-image-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
}

.event-admin-panel .location-image-strip {
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}

.event-image-empty-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px dashed rgba(16, 35, 77, 0.16);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.86);
  color: #526981;
}

.event-image-empty-state strong {
  flex: 0 0 auto;
  color: #10234d;
  font-size: 0.9rem;
}

.event-image-empty-state span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
  text-align: right;
}

.event-admin-panel #eventForm > .dual-actions {
  grid-column: 1 / -1;
  justify-content: flex-start;
  padding-top: 2px;
}

.admin-event-gallery-preview {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 5px 0 3px;
}

.admin-event-gallery-preview img {
  width: 58px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(23, 50, 77, 0.12);
}

.location-image-card {
  display: grid;
  gap: 6px;
  position: relative;
}

.location-image-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(23, 50, 77, 0.12);
}

.location-image-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(2, 11, 33, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(2, 11, 33, 0.18);
}

.location-image-remove:hover {
  background: #fff;
  color: #8f2323;
  border-color: rgba(176, 46, 46, 0.35);
}

.location-image-order-controls {
  position: absolute;
  left: 6px;
  top: 6px;
  display: inline-flex;
  gap: 4px;
}

.location-image-order {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(2, 11, 33, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(2, 11, 33, 0.18);
}

.location-image-order:hover {
  background: #fff;
  color: var(--primary);
  border-color: rgba(26, 53, 104, 0.35);
}

.location-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.84);
}

.admin-tab-panel[data-admin-panel="maps"] .location-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
  padding: 16px 16px 16px 20px;
  border-color: rgba(16, 35, 77, 0.1);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(236, 196, 109, 0.08), rgba(255, 255, 255, 0.96) 28%),
    #ffffff;
  box-shadow: 0 14px 32px rgba(18, 41, 59, 0.07);
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.admin-tab-panel[data-admin-panel="maps"] .location-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #ecc46d, #456292);
}

.admin-tab-panel[data-admin-panel="maps"] .location-row:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 35, 77, 0.18);
  box-shadow: 0 20px 42px rgba(18, 41, 59, 0.1);
}

.location-row-meta {
  display: grid;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.admin-tab-panel[data-admin-panel="maps"] .location-row-meta strong {
  color: #07162e;
  font-size: 1rem;
  line-height: 1.15;
}

.admin-tab-panel[data-admin-panel="maps"] .location-row-meta .section-copy {
  margin: 0;
  color: rgba(24, 50, 74, 0.68);
  font-size: 0.92rem;
  line-height: 1.25;
}

.location-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 35, 77, 0.08);
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.2;
}

.detail-chip strong {
  color: var(--primary);
  font-weight: 700;
}

.location-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-tab-panel[data-admin-panel="maps"] .location-row-actions {
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
}

.admin-tab-panel[data-admin-panel="maps"] .location-edit-button {
  background: linear-gradient(135deg, #020b21, #1a3568);
}

.admin-tab-panel[data-admin-panel="maps"] .location-delete-button,
.admin-tab-panel[data-admin-panel="maps"] .map-action-delete {
  background: rgba(176, 46, 46, 0.1);
  color: #8f2323;
  border: 1px solid rgba(176, 46, 46, 0.22);
}

.admin-tab-panel[data-admin-panel="maps"] .location-inline-form {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 16px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 18px;
  background: rgba(247, 250, 252, 0.86);
}

@media (max-width: 760px) {
  .admin-tab-panel[data-admin-panel="maps"] .maps-admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-tab-panel[data-admin-panel="maps"] .location-row {
    grid-template-columns: 1fr;
  }

  .admin-tab-panel[data-admin-panel="maps"] .location-row-actions,
  .admin-tab-panel[data-admin-panel="maps"] .map-card-actions {
    justify-content: flex-start;
  }
}

.user-permission-checklist {
  display: grid;
  gap: 0;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
}

.user-permission-checklist.compact {
  grid-template-columns: 1fr;
}

.user-permission-checklist > h5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
  color: #07162e;
  font-size: 0.9rem;
  line-height: 1.2;
}

.user-permission-checklist > h5 small {
  color: rgba(24, 50, 74, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.permission-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 220px);
  gap: 18px;
  align-items: center;
  min-height: 68px;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
  border-radius: 0;
  background: transparent;
}

.permission-option:last-child {
  border-bottom: 0;
}

.permission-option:hover {
  background: rgba(247, 250, 252, 0.78);
}

.permission-option span {
  display: grid;
  gap: 3px;
}

.permission-copy {
  min-width: 0;
}

.permission-copy strong {
  color: #07162e;
  font-size: 0.92rem;
  line-height: 1.15;
}

.permission-access {
  justify-items: stretch;
  align-items: center;
}

.permission-access > small {
  color: rgba(24, 50, 74, 0.54);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.permission-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
  min-height: 38px;
  padding: 3px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 999px;
  background: rgba(247, 250, 252, 0.92);
  box-shadow: inset 0 1px 2px rgba(16, 35, 77, 0.04);
}

.permission-segment {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #17324d;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.permission-segment:hover {
  background: rgba(16, 35, 77, 0.06);
}

.permission-segment.is-active {
  background: #07162e;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(7, 22, 46, 0.18);
}

.permission-segment[data-permission-toggle="1"].is-active {
  background: #1f7a60;
  box-shadow: 0 6px 14px rgba(31, 122, 96, 0.2);
}

.permission-locked-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  width: 100%;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 999px;
  background: rgba(247, 250, 252, 0.86);
  color: rgba(24, 50, 74, 0.58);
  font-size: 0.78rem;
  font-weight: 900;
}

.permission-locked-pill.is-allowed {
  border-color: rgba(31, 122, 96, 0.18);
  background: rgba(31, 122, 96, 0.08);
  color: #1f6f58;
}

.permission-option small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.permission-option.is-disabled {
  opacity: 0.58;
}

.user-management-row {
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.user-management-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.user-management-identity {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.user-management-identity > strong {
  color: #07162e;
  font-size: 1rem;
  line-height: 1.15;
}

.user-management-identity > .section-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.25;
}

.user-role-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 999px;
  background: rgba(247, 250, 252, 0.96);
  color: rgba(24, 50, 74, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.user-management-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.user-management-actions .location-mini-button {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.84rem;
  box-shadow: none;
}

.user-management-actions .location-mini-button:not(.location-edit-button):not(.location-delete-button) {
  border: 1px solid rgba(16, 35, 77, 0.1);
  background: rgba(247, 250, 252, 0.92);
  color: #07162e;
}

.user-access-note {
  color: rgba(24, 50, 74, 0.64);
  font-size: 0.84rem;
  font-weight: 800;
}

#hotelUserList {
  gap: 10px;
}

@media (max-width: 760px) {
  .user-management-head {
    align-items: stretch;
    flex-direction: column;
  }

  .user-management-actions {
    justify-content: flex-start;
  }

  .permission-option {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .permission-access {
    justify-items: stretch;
  }
}

.event-bookings-panel {
  width: 100%;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 50, 77, 0.1);
}

.event-bookings-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.event-booking-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(23, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.event-booking-status-control {
  min-width: 180px;
}

.stack-form.service-requests-panel {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(16, 35, 77, 0.14);
  background: #fbfcfd;
}

.service-requests-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(2, 11, 33, 0.98), rgba(20, 54, 90, 0.96)),
    #020b21;
  color: #ffffff;
}

.service-requests-head .eyebrow {
  margin-bottom: 7px;
  color: #ecc46d;
  font-size: 0.68rem;
}

.service-requests-head h4 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  letter-spacing: 0;
}

.service-requests-head .section-copy {
  max-width: 660px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.service-requests-live-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(236, 196, 109, 0.34);
  border-radius: 999px;
  background: rgba(236, 196, 109, 0.14);
  color: #fff1c2;
  font-size: 0.78rem;
  font-weight: 700;
}

.service-request-list {
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

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

.service-request-metric {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 35, 77, 0.06);
}

.service-request-metric span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-request-metric strong {
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1;
}

.service-request-card-list {
  display: grid;
  gap: 12px;
}

.service-request-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(168px, 184px);
  gap: 12px;
  overflow: hidden;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(236, 196, 109, 0.38);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(236, 196, 109, 0.08), #ffffff 28%);
  box-shadow: 0 14px 34px rgba(16, 35, 77, 0.07);
}

.service-request-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: #ecc46d;
}

.service-request-card.status-confirmed {
  border-color: rgba(69, 98, 146, 0.34);
  background: linear-gradient(90deg, rgba(69, 98, 146, 0.08), #ffffff 28%);
}

.service-request-card.status-completed {
  border-color: rgba(47, 122, 99, 0.34);
  background: linear-gradient(90deg, rgba(47, 122, 99, 0.08), #ffffff 28%);
}

.service-request-card.status-cancelled {
  border-color: rgba(173, 81, 79, 0.34);
  background: linear-gradient(90deg, rgba(173, 81, 79, 0.08), #ffffff 28%);
}

.service-request-card.status-confirmed::before {
  background: #456292;
}

.service-request-card.status-completed::before {
  background: #2f7a63;
}

.service-request-card.status-cancelled::before {
  background: #ad514f;
}

.service-request-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.service-request-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.service-request-title-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.service-request-title-row strong {
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.16;
}

.service-request-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-request-status-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(204, 143, 24, 0.22);
  border-radius: 999px;
  background: rgba(236, 196, 109, 0.3);
  color: #664700;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(204, 143, 24, 0.12);
}

.service-request-status-badge.status-confirmed {
  border-color: rgba(69, 98, 146, 0.2);
  background: rgba(69, 98, 146, 0.18);
  color: #27466f;
  box-shadow: 0 8px 16px rgba(69, 98, 146, 0.1);
}

.service-request-status-badge.status-completed {
  border-color: rgba(47, 122, 99, 0.2);
  background: rgba(47, 122, 99, 0.18);
  color: #1f604d;
  box-shadow: 0 8px 16px rgba(47, 122, 99, 0.1);
}

.service-request-status-badge.status-cancelled {
  border-color: rgba(173, 81, 79, 0.2);
  background: rgba(173, 81, 79, 0.16);
  color: #903d3a;
  box-shadow: 0 8px 16px rgba(173, 81, 79, 0.1);
}

.service-request-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(92px, 1fr));
  gap: 8px;
}

.service-request-meta-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(16, 35, 77, 0.08);
  border-radius: 10px;
  background: rgba(16, 35, 77, 0.035);
}

.service-request-meta-grid small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
}

.service-request-meta-grid strong {
  overflow: hidden;
  color: #17324d;
  font-size: 0.86rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-request-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-request-actions {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  align-self: start;
  padding: 6px;
  border: 1px solid rgba(204, 143, 24, 0.22);
  border-radius: 12px;
  background: rgba(236, 196, 109, 0.12);
}

.service-request-card.status-confirmed .service-request-actions {
  border-color: rgba(69, 98, 146, 0.2);
  background: rgba(69, 98, 146, 0.08);
}

.service-request-card.status-completed .service-request-actions {
  border-color: rgba(47, 122, 99, 0.2);
  background: rgba(47, 122, 99, 0.08);
}

.service-request-card.status-cancelled .service-request-actions {
  border-color: rgba(173, 81, 79, 0.2);
  background: rgba(173, 81, 79, 0.08);
}

.service-request-actions label {
  display: grid;
  flex: 1 1 auto;
  gap: 4px;
  min-width: 0;
}

.service-requests-panel .service-request-actions label span {
  color: var(--primary);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.service-requests-panel .service-request-actions select {
  width: 100%;
  min-height: 30px;
  padding: 5px 8px;
  border: 1px solid rgba(204, 143, 24, 0.34);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.1;
}

.service-request-card.status-confirmed .service-request-actions select {
  border-color: rgba(69, 98, 146, 0.34);
}

.service-request-card.status-completed .service-request-actions select {
  border-color: rgba(47, 122, 99, 0.34);
}

.service-request-card.status-cancelled .service-request-actions select {
  border-color: rgba(173, 81, 79, 0.34);
}

.service-request-save-button {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  padding: 5px 8px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(16, 35, 77, 0.12);
}

.service-request-save-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.service-request-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(16, 35, 77, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

@media (max-width: 960px) {
  .service-request-card {
    grid-template-columns: 1fr;
  }

  .service-request-actions {
    align-items: flex-end;
    justify-self: start;
    width: min(100%, 260px);
  }
}

@media (max-width: 620px) {
  .service-requests-head {
    flex-direction: column;
    padding: 18px;
  }

  .service-request-list {
    padding: 12px;
  }

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

  .service-request-card {
    padding: 14px;
  }

  .service-request-title-row {
    flex-direction: column;
  }

  .service-request-actions {
    align-items: stretch;
    width: 100%;
  }

  .service-request-save-button {
    min-width: 58px;
  }
}

#eventList {
  gap: 14px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
}

.stack-form.event-admin-panel {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: rgba(16, 35, 77, 0.14);
  background: #fbfcfd;
}

.event-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background:
    linear-gradient(135deg, rgba(2, 11, 33, 0.98), rgba(22, 60, 76, 0.96)),
    #020b21;
  color: #ffffff;
}

.event-admin-head .eyebrow {
  margin-bottom: 7px;
  color: #ecc46d;
  font-size: 0.68rem;
}

.event-admin-head h4 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  letter-spacing: 0;
}

.event-admin-head .section-copy {
  max-width: 680px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.event-status-legend {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.event-legend-item,
.event-admin-status-badge,
.event-booking-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.event-legend-item {
  min-height: 36px;
  padding: 9px 13px;
  border-width: 1.5px;
  font-size: 0.78rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.event-admin-panel #eventForm {
  padding: 18px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.event-schedule-card {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 251, 0.78));
}

.event-schedule-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.event-schedule-card-head > div:first-child {
  display: grid;
  gap: 4px;
}

.event-schedule-card-head span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-schedule-card-head strong {
  color: var(--primary);
  font-size: 0.98rem;
}

.event-schedule-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 999px;
  background: #ffffff;
}

.event-schedule-toggle label {
  margin: 0;
}

.event-schedule-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.event-schedule-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #526981;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.event-schedule-toggle input:checked + span {
  background: #07142e;
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 20, 46, 0.16);
}

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

.event-schedule-panel.hidden {
  display: none;
}

.event-schedule-weekdays {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.event-schedule-weekdays label {
  margin: 0;
}

.event-schedule-weekdays input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.event-schedule-weekdays span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(16, 35, 77, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #526981;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.event-schedule-weekdays input:checked + span {
  border-color: rgba(47, 122, 99, 0.35);
  background: rgba(47, 122, 99, 0.14);
  color: #1f6a55;
}

.event-schedule-weekdays.field-error span {
  border-color: rgba(176, 46, 46, 0.58);
  background: #fff8f8;
}

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

.event-admin-metric {
  display: grid;
  gap: 5px;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 35, 77, 0.06);
}

.event-admin-metric span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.event-admin-metric strong {
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1;
}

.event-admin-card-list {
  display: grid;
  gap: 12px;
}

.event-admin-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
  padding: 16px 16px 16px 20px;
  border: 1px solid rgba(47, 122, 99, 0.32);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(47, 122, 99, 0.08), #ffffff 28%);
  box-shadow: 0 14px 34px rgba(16, 35, 77, 0.07);
}

.event-admin-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  background: #2f7a63;
}

.event-admin-card.status-paid {
  border-color: rgba(204, 143, 24, 0.34);
  background: linear-gradient(90deg, rgba(236, 196, 109, 0.1), #ffffff 28%);
}

.event-admin-card.status-paid::before {
  background: #ecc46d;
}

.event-admin-card.status-full,
.event-admin-card.status-paused {
  border-color: rgba(69, 98, 146, 0.28);
  background: linear-gradient(90deg, rgba(69, 98, 146, 0.08), #ffffff 28%);
}

.event-admin-card.status-full::before {
  background: #ad514f;
}

.event-admin-card.status-paused::before {
  background: #456292;
}

.event-admin-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.event-admin-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.event-admin-title-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.event-admin-title-row strong {
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.16;
}

.event-admin-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-admin-status-badge,
.event-booking-status-badge {
  min-height: 28px;
  padding: 5px 10px;
  font-size: 0.76rem;
}

.event-legend-item.status-open,
.event-admin-status-badge.status-open,
.event-booking-status-badge.status-paid {
  border-color: rgba(47, 122, 99, 0.2);
  background: rgba(47, 122, 99, 0.16);
  color: #1f604d;
}

.event-legend-item.status-paid,
.event-admin-status-badge.status-paid,
.event-booking-status-badge.status-pending {
  border-color: rgba(204, 143, 24, 0.22);
  background: rgba(236, 196, 109, 0.28);
  color: #664700;
}

.event-legend-item.status-full,
.event-admin-status-badge.status-full,
.event-booking-status-badge.status-cancelled,
.event-booking-status-badge.status-no-show {
  border-color: rgba(173, 81, 79, 0.2);
  background: rgba(173, 81, 79, 0.16);
  color: #903d3a;
}

.event-legend-item.status-paused,
.event-admin-status-badge.status-paused,
.event-booking-status-badge.status-confirmed {
  border-color: rgba(69, 98, 146, 0.2);
  background: rgba(69, 98, 146, 0.16);
  color: #27466f;
}

.event-legend-item.status-open {
  border-color: rgba(88, 204, 166, 0.46);
  background: rgba(47, 122, 99, 0.34);
  color: #d9fff0;
}

.event-legend-item.status-paid {
  border-color: rgba(255, 224, 139, 0.54);
  background: rgba(204, 143, 24, 0.44);
  color: #fff5d4;
}

.event-legend-item.status-full {
  border-color: rgba(255, 149, 143, 0.52);
  background: rgba(173, 81, 79, 0.42);
  color: #ffe0dd;
}

.event-legend-item.status-paused {
  border-color: rgba(130, 175, 226, 0.46);
  background: rgba(69, 98, 146, 0.36);
  color: #e2efff;
}

.event-admin-gallery {
  margin: 0;
}

.event-admin-info-grid,
.event-admin-capacity-grid {
  display: grid;
  gap: 8px;
}

.event-admin-info-grid {
  grid-template-columns: repeat(4, minmax(92px, 1fr));
}

.event-admin-capacity-grid {
  grid-template-columns: repeat(3, minmax(92px, 1fr));
}

.event-admin-info-grid span,
.event-admin-capacity-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(16, 35, 77, 0.08);
  border-radius: 10px;
  background: rgba(16, 35, 77, 0.035);
}

.event-admin-info-grid small,
.event-admin-capacity-grid small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.1;
}

.event-admin-info-grid strong,
.event-admin-capacity-grid strong {
  overflow: hidden;
  color: #17324d;
  font-size: 0.86rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-admin-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.event-admin-actions {
  align-self: start;
  justify-content: flex-end;
}

.event-admin-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(16, 35, 77, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
}

#eventList > .location-row {
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
}

#eventList > .location-row > .location-row-meta {
  gap: 2px;
}

#eventList > .location-row > .location-row-meta > strong {
  font-size: 0.92rem;
  line-height: 1.15;
}

#eventList > .location-row .section-copy {
  font-size: 0.82rem;
  line-height: 1.25;
  margin: 0;
}

#eventList > .location-row > .location-row-actions {
  gap: 6px;
}

#eventList .location-detail-chips {
  gap: 5px;
  margin-top: 5px;
}

#eventList .detail-chip {
  gap: 4px;
  padding: 4px 7px;
  font-size: 0.72rem;
  line-height: 1.1;
}

#eventList .location-mini-button {
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 0.82rem;
  line-height: 1;
}

#eventList .event-bookings-panel {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 12px;
  border-top-color: rgba(16, 35, 77, 0.08);
}

#eventList .event-bookings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#eventList .event-bookings-head > strong {
  font-size: 0.86rem;
}

#eventList .event-bookings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
}

#eventList .event-booking-date-filter {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border: 1px solid rgba(204, 143, 24, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

#eventList .event-booking-date-filter input {
  min-height: 28px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  outline: none;
}

#eventList .event-bookings-action-button {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  min-height: 0;
}

#eventList .event-bookings-list {
  gap: 7px;
  margin-top: 7px;
}

#eventList .event-booking-row {
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border-color: rgba(204, 143, 24, 0.26);
  background: rgba(236, 196, 109, 0.08);
}

#eventList .event-booking-row.status-confirmed {
  border-color: rgba(69, 98, 146, 0.22);
  background: rgba(69, 98, 146, 0.07);
}

#eventList .event-booking-row.status-paid {
  border-color: rgba(47, 122, 99, 0.22);
  background: rgba(47, 122, 99, 0.07);
}

#eventList .event-booking-row.status-cancelled,
#eventList .event-booking-row.status-no-show {
  border-color: rgba(173, 81, 79, 0.22);
  background: rgba(173, 81, 79, 0.07);
}

#eventList .event-booking-row > div {
  display: grid;
  gap: 3px;
}

#eventList .event-booking-row strong {
  font-size: 0.86rem;
  line-height: 1.15;
}

#eventList .event-booking-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#eventList .event-booking-status-control {
  display: grid;
  flex: 0 0 218px;
  gap: 4px;
  max-width: 218px;
  padding: 7px;
  border: 1px solid rgba(204, 143, 24, 0.24);
  border-radius: 12px;
  background: rgba(236, 196, 109, 0.1);
}

#eventList .event-booking-status-control.status-confirmed {
  border-color: rgba(69, 98, 146, 0.22);
  background: rgba(69, 98, 146, 0.08);
}

#eventList .event-booking-status-control.status-paid {
  border-color: rgba(47, 122, 99, 0.22);
  background: rgba(47, 122, 99, 0.08);
}

#eventList .event-booking-status-control.status-cancelled,
#eventList .event-booking-status-control.status-no-show {
  border-color: rgba(173, 81, 79, 0.22);
  background: rgba(173, 81, 79, 0.08);
}

#eventList .event-booking-status-control span {
  color: var(--primary);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

#eventList .event-booking-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

#eventList .event-booking-status-control select {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 30px;
  padding: 5px 8px;
  border-color: rgba(204, 143, 24, 0.32);
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.1;
}

#eventList .event-booking-status-save {
  flex: 0 0 auto;
  min-width: 48px;
  min-height: 30px;
  padding: 5px 8px;
  border-radius: 8px;
  font-size: 0.76rem;
}

#eventList .event-booking-status-save:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.event-booking-board {
  display: grid;
  gap: 14px;
}

.event-booking-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 0 2px;
}

.event-booking-board-head h5 {
  margin: 4px 0 0;
  color: var(--primary);
  font-size: 1.08rem;
  line-height: 1.15;
}

.event-booking-board-head .section-copy {
  max-width: 640px;
  margin: 6px 0 0;
  font-size: 0.84rem;
}

.event-booking-card-list {
  display: grid;
  gap: 14px;
}

.event-booking-card {
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(16, 35, 77, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(16, 35, 77, 0.06);
}

.event-booking-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
}

.event-booking-card-head h5 {
  margin: 2px 0 0;
  color: var(--primary);
  font-size: 1.02rem;
  line-height: 1.15;
}

.event-booking-card-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 520px;
}

.event-booking-card-tools > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(16, 35, 77, 0.08);
  border-radius: 999px;
  background: rgba(16, 35, 77, 0.04);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.event-booking-card-tools .event-bookings-action-button {
  border: 1px solid rgba(16, 35, 77, 0.12);
  background: #ffffff;
  color: var(--primary);
  box-shadow: none;
}

.event-booking-card-tools .event-bookings-action-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.event-guest-booking-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(16, 35, 77, 0.08);
  border-radius: 14px;
  background: #ffffff;
}

.event-guest-booking-table {
  width: 100%;
  min-width: 850px;
  border-collapse: separate;
  border-spacing: 0;
}

.event-guest-booking-table th,
.event-guest-booking-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(16, 35, 77, 0.08);
  color: #17324d;
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: left;
  vertical-align: top;
}

.event-guest-booking-table th {
  background: rgba(247, 250, 252, 0.9);
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.event-guest-booking-row:hover {
  background: rgba(247, 250, 252, 0.84);
}

.event-guest-name-cell strong {
  color: var(--primary);
  font-size: 0.88rem;
  line-height: 1.15;
}

.event-booking-date-display {
  display: grid;
  gap: 2px;
  min-width: 112px;
}

.event-booking-date-display strong {
  color: var(--primary);
  font-size: 0.84rem;
  line-height: 1.1;
}

.event-booking-date-display span,
.event-booking-date-missing {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.event-guest-booking-empty {
  margin: 0;
  padding: 15px;
  border: 1px dashed rgba(16, 35, 77, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

#eventList .event-guest-booking-table .event-booking-status-control {
  display: grid;
  grid-template-columns: 160px 230px;
  align-items: end;
  gap: 8px 10px;
  width: 100%;
  max-width: none;
  min-width: 400px;
  padding: 0;
  border: 0;
  background: transparent;
}

#eventList .event-guest-booking-table .event-booking-status-control > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

#eventList .event-guest-booking-table .event-booking-status-row {
  display: flex;
  align-items: end;
  gap: 6px;
  width: auto;
}

#eventList .event-booking-date-inline {
  display: grid;
  align-items: start;
  gap: 4px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#eventList .event-booking-date-inline input {
  width: 150px;
  min-height: 32px;
  border: 1px solid rgba(16, 35, 77, 0.14);
  border-radius: 9px;
  padding: 6px 8px;
  background: #ffffff;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

#eventList .event-guest-booking-table .event-booking-status-control select {
  flex: 0 0 170px;
  width: 170px;
  min-width: 170px;
  max-width: 170px;
  border-color: rgba(16, 35, 77, 0.14);
  background: #ffffff;
}

#eventList .event-guest-booking-table .event-booking-status-save {
  background: #020b21;
  color: #ffffff;
}

@media (max-width: 720px) {
  .event-admin-head {
    flex-direction: column;
    padding: 18px;
  }

  #eventList {
    padding: 12px;
  }

  .event-admin-metrics,
  .event-admin-info-grid,
  .event-admin-capacity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-schedule-card-head,
  .event-schedule-panel {
    grid-template-columns: 1fr;
  }

  .event-schedule-card-head {
    flex-direction: column;
  }

  .event-schedule-toggle {
    width: 100%;
  }

  .event-schedule-toggle label {
    flex: 1;
  }

  .event-schedule-toggle span {
    justify-content: center;
    width: 100%;
  }

  .event-admin-card {
    grid-template-columns: 1fr;
  }

  .event-admin-actions {
    justify-content: flex-start;
  }

  #eventList .event-booking-row {
    align-items: stretch;
    flex-direction: column;
  }

  #eventList .event-booking-status-control {
    width: 100%;
    max-width: none;
    min-width: 0;
    flex-basis: auto;
  }

  #eventList .event-booking-status-row {
    width: 100%;
  }

  #eventList .event-bookings-head {
    align-items: flex-start;
    flex-direction: column;
  }

  #eventList .event-bookings-actions {
    justify-content: flex-start;
  }

  .event-booking-board-head,
  .event-booking-card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-booking-card-tools {
    justify-content: flex-start;
    max-width: none;
  }

  #eventList .event-guest-booking-table .event-booking-status-control {
    grid-template-columns: 1fr;
    min-width: 230px;
  }

  #eventList .event-booking-date-inline input {
    width: 100%;
  }

  #eventList .event-guest-booking-table .event-booking-status-row {
    width: 100%;
  }

  #eventList .event-guest-booking-table .event-booking-status-control select {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

.location-inline-form {
  width: 100%;
  margin-top: 14px;
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 50, 77, 0.1);
}

.location-inline-form .location-mini-button:not(.location-delete-button) {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border: 1px solid rgba(23, 50, 77, 0.16);
}

.location-inline-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}

.location-inline-image-card {
  position: relative;
}

.location-inline-gallery img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(23, 50, 77, 0.12);
}

.location-mini-button {
  border: none;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.location-edit-button {
  background: linear-gradient(135deg, rgba(2, 11, 33, 0.96), rgba(26, 53, 104, 0.96));
  color: white;
}

.location-delete-button {
  background: rgba(176, 46, 46, 0.12);
  color: #8f2323;
  border: 1px solid rgba(176, 46, 46, 0.22);
}

.map-action-button {
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.map-action-select {
  background: linear-gradient(135deg, rgba(242, 202, 114, 0.96), rgba(255, 229, 164, 1));
  color: #4d3720;
}

.map-action-open {
  background: linear-gradient(135deg, rgba(2, 11, 33, 0.96), rgba(26, 53, 104, 0.96));
  color: white;
}

.map-action-delete {
  background: rgba(176, 46, 46, 0.12);
  color: #8f2323;
  border: 1px solid rgba(176, 46, 46, 0.22);
}

.summary-card {
  flex: 1;
  min-width: 0;
  background: var(--surface-strong);
}

.amenity-feature-card {
  min-height: 0;
}

.data-panels,
.blueprint-grid {
  margin-top: 20px;
  flex-wrap: wrap;
}

.data-card,
.phase-card {
  flex: 1 1 260px;
  min-width: 0;
}

.phase-card h4 {
  font-size: 1.5rem;
}

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

.status-line {
  margin: 18px 0 0;
}

.hidden {
  display: none;
}

code {
  font-size: 0.9em;
  background: rgba(23, 50, 77, 0.08);
  padding: 2px 6px;
  border-radius: 8px;
}

@media (max-width: 1200px) {
  .showcase-grid,
  .simple-admin-grid {
    grid-template-columns: 1fr;
  }

  .account-command-panel {
    grid-template-columns: 1fr;
  }

  .account-command-copy {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .hotel-info-grid {
    grid-template-columns: 1fr;
  }

  .hotel-info-span-2 {
    grid-column: auto;
  }

  .hotel-info-submit {
    width: 100%;
  }

  .admin-tab-panel[data-admin-panel="account"] .account-insight-strip {
    grid-template-columns: 1fr;
  }

  .account-command-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .account-command-copy h4 {
    font-size: 1.55rem;
  }

  .account-command-rail {
    grid-template-columns: 1fr;
  }

  .admin-tab-panel[data-admin-panel="account"] .guest-qr-panel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "qr-title"
      "qr-copy"
      "qr-actions";
  }

  .admin-tab-panel[data-admin-panel="account"] .guest-qr-panel .guest-qr-actions {
    justify-content: flex-start;
    justify-items: start;
    max-width: none;
  }

  .admin-tab-panel[data-admin-panel="account"] .guest-qr-panel .dual-actions {
    justify-content: flex-start;
  }

  .admin-tab-panel[data-admin-panel="account"] .guest-qr-panel .qr-helper-copy {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .platform-account-form .platform-summary-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .auth-grid,
  .platform-admin-grid,
  .list-grid,
  .quick-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-access-card {
    max-width: none;
    justify-self: stretch;
  }

  .platform-login-card {
    width: 100%;
    justify-self: stretch;
  }

  .topbar,
  .portal-toolbar,
  .hero-actions,
  .editor-dialog-head,
  .editor-dialog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy h2 {
    max-width: none;
  }

  .phone-frame {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .platform-account-form .platform-summary-grid.compact {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(100% - 16px, 1380px);
  }

  .hero,
  .panel {
    padding: 18px;
    border-radius: 22px;
  }

  .stack-form,
  .summary-card,
  .data-card,
  .phase-card,
  .screen-card,
  .list-card {
    padding: 14px;
  }

  .platform-section-head,
  .platform-hotel-head,
  .platform-request-head {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-scene-stack {
    grid-template-columns: 1fr;
  }

  .platform-account-layout,
  .platform-form-grid,
  .platform-plan-pricing-grid,
  .platform-pricing-grid,
  .platform-summary-grid,
  .platform-summary-grid.compact {
    grid-template-columns: 1fr;
  }

  .hero-signup-fields {
    grid-template-columns: 1fr;
  }

  .footer-pricing-grid {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    overflow-x: visible;
  }

  .platform-form-span-2 {
    grid-column: auto;
  }

  .hero-signup-span-2 {
    grid-column: auto;
  }

  .summary-card-wide {
    grid-column: auto;
  }

  .analytics-filters,
  .analytics-summary-grid,
  .analytics-chart-grid {
    grid-template-columns: 1fr;
  }

  #hotel-portal > .section-head {
    padding-right: 0;
  }

  #hotel-portal .admin-language-toolbar {
    position: static;
    margin-bottom: 12px;
  }

  .analytics-chart-card-wide {
    grid-row: auto;
  }

  .analytics-head,
  .analytics-chart-head {
    display: grid;
  }

  .billing-summary-grid {
    grid-template-columns: 1fr;
  }
}
