:root {
  --theme-overlay-teal: rgba(17, 135, 139, 0.12);
  --theme-overlay-gold: rgba(214, 170, 99, 0.14);
  --theme-overlay-rose: rgba(239, 178, 141, 0.12);
  --theme-focus: rgba(17, 135, 139, 0.18);
  --theme-shadow-soft: 0 22px 50px rgba(15, 29, 45, 0.1);
  --theme-menu-border: rgba(16, 36, 50, 0.08);
  --theme-menu-fill: rgba(255, 255, 255, 0.78);
  --theme-menu-fill-strong: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 248, 0.92));
  --theme-menu-shadow: 0 12px 24px rgba(15, 29, 45, 0.08);
  --theme-menu-shadow-hover: 0 16px 28px rgba(15, 29, 45, 0.12);
  --theme-type-hero: clamp(2.3rem, 4.4vw, 4.1rem);
  --theme-type-section: clamp(1.75rem, 2.6vw, 2.6rem);
  --theme-type-card: 1.32rem;
  --theme-type-subtitle: 1.06rem;
  --theme-type-body: 0.96rem;
  --theme-type-small: 0.88rem;
  --theme-leading-heading: 1.08;
  --theme-leading-body: 1.72;
}

body.theme-dashboard,
body.theme-auth,
body.theme-admin {
  position: relative;
  overflow-x: hidden;
}

body.theme-dashboard::before,
body.theme-dashboard::after,
body.theme-auth::before,
body.theme-auth::after,
body.theme-admin::before,
body.theme-admin::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  filter: blur(16px);
}

body.theme-dashboard::before,
body.theme-admin::before {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -110px;
  background: var(--theme-overlay-teal);
}

body.theme-dashboard::after,
body.theme-admin::after {
  width: 300px;
  height: 300px;
  left: -120px;
  bottom: 8%;
  background: var(--theme-overlay-gold);
}

body.theme-auth::before {
  width: 320px;
  height: 320px;
  top: -110px;
  right: -90px;
  background: var(--theme-overlay-teal);
}

body.theme-auth::after {
  width: 280px;
  height: 280px;
  left: -110px;
  bottom: 10%;
  background: var(--theme-overlay-rose);
}

.theme-dashboard .site-header,
.theme-auth .auth-hero,
.theme-auth .auth-panel,
.theme-admin .admin-sidebar,
.theme-admin .admin-card,
.theme-admin .admin-hero {
  position: relative;
  overflow: hidden;
}

.theme-dashboard .site-header::before,
.theme-auth .auth-hero::before,
.theme-auth .auth-panel::before,
.theme-admin .admin-card::before,
.theme-admin .admin-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.36), transparent 24%),
    radial-gradient(circle at bottom left, rgba(17, 135, 139, 0.08), transparent 26%);
}

.theme-dashboard .partner-brand,
.theme-dashboard .search-panel,
.theme-dashboard .hotel-card,
.theme-dashboard .team-card,
.theme-dashboard .service-card,
.theme-dashboard .branch-card,
.theme-dashboard .info-card,
.theme-dashboard .side-menu-card,
.theme-dashboard .hero,
.theme-dashboard .trade-card,
.theme-dashboard .team-hero,
.theme-dashboard .branch-hero,
.theme-dashboard .empty-state,
.theme-auth .auth-hero,
.theme-auth .auth-panel,
.theme-admin .admin-sidebar,
.theme-admin .admin-card,
.theme-admin .admin-hero {
  box-shadow: var(--theme-shadow-soft);
}

.theme-dashboard .hero h1,
.theme-dashboard .team-hero h1,
.theme-dashboard .service-hero h1,
.theme-dashboard .branch-hero h1,
.theme-auth .auth-hero h1,
.theme-admin .admin-hero h1 {
  font-size: var(--theme-type-hero);
  line-height: var(--theme-leading-heading);
  letter-spacing: -0.02em;
}

.theme-dashboard .section-heading h2,
.theme-dashboard .profile-head h2,
.theme-auth .auth-panel h2,
.theme-admin .admin-card h2 {
  font-size: var(--theme-type-section);
  line-height: 1.12;
}

.theme-dashboard .info-card h2,
.theme-dashboard .hotel-card h2,
.theme-dashboard .team-card-copy h2,
.theme-dashboard .service-card h2,
.theme-dashboard .branch-card h2,
.theme-dashboard .card-head h2,
.theme-dashboard .room-modal-head h2,
.theme-admin .service-group-head h3,
.theme-admin .admin-table-section h3 {
  font-size: var(--theme-type-card);
  line-height: 1.2;
}

.theme-dashboard .hero-text,
.theme-dashboard .team-hero-copy,
.theme-dashboard .service-hero-copy p:last-child,
.theme-dashboard .branch-hero-copy,
.theme-dashboard .branch-hero-aside p,
.theme-dashboard .hotel-meta,
.theme-dashboard .hotel-room-meta,
.theme-dashboard .rate-line,
.theme-dashboard .team-card-description,
.theme-dashboard .service-card p,
.theme-dashboard .branch-card-copy,
.theme-dashboard .deal-card p,
.theme-dashboard .empty-state,
.theme-auth .hero-copy,
.theme-auth .form-head p:last-child,
.theme-auth .form-switch,
.theme-auth .test-login-box p,
.theme-auth .auth-message,
.theme-admin .admin-hero p:last-child,
.theme-admin .muted-copy,
.theme-admin .inventory-guide p,
.theme-admin .credential-box p,
.theme-admin .field-note,
.theme-admin .panel-message,
.theme-admin .team-member-admin-meta,
.theme-admin .team-member-admin-contact,
.theme-admin .branch-admin-meta,
.theme-admin .branch-admin-contact {
  font-size: var(--theme-type-body);
  line-height: var(--theme-leading-body);
}

.theme-dashboard .team-intro-strip strong,
.theme-dashboard .hotel-room-title,
.theme-dashboard .service-hero-metrics strong,
.theme-dashboard .branch-hero-aside strong,
.theme-dashboard .hotel-booking-copy strong,
.theme-admin .fixed-access-title,
.theme-admin .credential-title {
  font-size: var(--theme-type-subtitle);
  line-height: 1.35;
}

.theme-dashboard .eyebrow,
.theme-dashboard .hotel-label,
.theme-dashboard .service-kicker,
.theme-dashboard .branch-kicker,
.theme-dashboard .branch-hero-label,
.theme-dashboard .team-intro-strip span,
.theme-auth .eyebrow,
.theme-admin .eyebrow,
.theme-admin .admin-table-section h3 + p,
.theme-dashboard footer,
.theme-auth footer,
.theme-admin footer {
  font-size: var(--theme-type-small);
}

.theme-dashboard footer,
.theme-auth footer,
.theme-admin footer {
  line-height: 1.6;
}

.theme-dashboard .global-site-footer,
.theme-auth .global-site-footer,
.theme-admin .global-site-footer {
  margin: 24px auto 16px;
  padding: 0 18px;
  text-align: center;
  color: rgba(16, 36, 50, 0.74);
}

.theme-dashboard .site-nav a,
.theme-dashboard .site-nav button,
.theme-admin .admin-nav a,
.theme-admin .admin-nav button,
.theme-admin .sidebar-logout,
.theme-auth .auth-tab,
.theme-dashboard .button,
.theme-auth .button,
.theme-admin .button {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
  color 180ms ease;
}

.theme-dashboard .site-header {
  padding: 8px 12px;
  gap: 12px;
  border-radius: 18px;
}

.theme-dashboard .partner-brand {
  padding: 6px 8px;
  gap: 10px;
  border-radius: 14px;
}

.theme-dashboard .partner-brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.theme-dashboard .brand-user-logo-wrap {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.theme-dashboard .partner-brand-copy {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 3px;
  min-width: 0;
}

.theme-dashboard .partner-brand-copy strong {
  grid-column: 1 / 2;
  font-size: 0.9rem;
  line-height: 1.1;
}

.theme-dashboard .partner-brand-copy > span:nth-of-type(1) {
  grid-column: 2 / 3;
  justify-self: start;
}

.theme-dashboard .partner-brand-copy > span:nth-of-type(2) {
  grid-column: 1 / -1;
}

.theme-dashboard .partner-brand-copy > span:nth-of-type(3) {
  grid-column: 1 / 2;
}

.theme-dashboard .partner-brand-copy > span:nth-of-type(4) {
  grid-column: 2 / 3;
}

.theme-dashboard .partner-brand-copy > span:nth-of-type(5) {
  grid-column: 3 / 4;
  justify-self: start;
}

.theme-dashboard .partner-brand-role,
.theme-dashboard .partner-brand-code,
.theme-dashboard .partner-brand-detail {
  font-size: 0.68rem;
  line-height: 1.18;
  min-width: 0;
}

.theme-dashboard .partner-brand-detail,
.theme-dashboard .partner-brand-code,
.theme-dashboard .partner-brand-role {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.theme-dashboard .partner-brand-copy > span:nth-of-type(2),
.theme-dashboard .partner-brand-copy > span:nth-of-type(5) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-dashboard .site-nav {
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
}

.theme-dashboard .site-header {
  overflow: visible;
}

.theme-dashboard .promotion-ticker {
  position: relative;
  margin: 18px 0 12px;
  padding: 6px 0;
  border-radius: 22px;
  border: 1px solid rgba(213, 129, 84, 0.16);
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.96), rgba(236, 248, 247, 0.92));
  box-shadow: 0 18px 38px rgba(14, 33, 46, 0.1);
  overflow: hidden;
}

.theme-dashboard .promotion-ticker-viewport {
  overflow: hidden;
}

.theme-dashboard .promotion-ticker-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: promotion-ticker-scroll 42s linear infinite;
  will-change: transform;
}

.theme-dashboard .promotion-ticker-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 1in;
  padding: 6px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 37, 51, 0.08);
}

.theme-dashboard .promotion-ticker-item img {
  display: block;
  height: calc(1in - 12px);
  width: auto;
  max-width: min(42vw, 420px);
  object-fit: contain;
}

@keyframes promotion-ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.theme-dashboard .representative-banner {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 12px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17, 135, 139, 0.16);
  background: linear-gradient(135deg, rgba(235, 249, 247, 0.96), rgba(255, 250, 242, 0.94));
  box-shadow: 0 14px 28px rgba(14, 33, 46, 0.08);
}

.theme-dashboard .representative-banner-label {
  color: #0f5b66;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-dashboard .representative-banner-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: #16324f;
  font-size: 0.84rem;
  line-height: 1.4;
}

.theme-dashboard .representative-banner-details span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.theme-dashboard .representative-banner-details strong {
  color: #0f5b66;
}

.theme-dashboard .dashboard-layout.menus-only {
  grid-template-columns: 300px;
  justify-content: start;
  min-height: calc(100vh - 140px);
}

.theme-dashboard .site-nav a,
.theme-dashboard .site-nav button {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--theme-menu-border);
  background: var(--theme-menu-fill-strong);
  color: var(--theme-ink, #102432);
  box-shadow: var(--theme-menu-shadow);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.theme-dashboard .nav-cta.nav-logout {
  background: linear-gradient(135deg, rgba(255, 238, 232, 0.96), rgba(255, 245, 242, 0.92));
  color: #9b4d3b;
  border-color: rgba(217, 121, 98, 0.2);
}

.theme-dashboard .site-nav a:hover,
.theme-dashboard .site-nav a:focus-visible,
.theme-dashboard .site-nav button:hover,
.theme-dashboard .site-nav button:focus-visible {
  background: linear-gradient(135deg, rgba(17, 135, 139, 0.14), rgba(22, 50, 79, 0.1));
  color: #102432;
  border-color: rgba(17, 135, 139, 0.18);
  box-shadow: var(--theme-menu-shadow-hover);
}

.theme-dashboard .nav-toggle {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.theme-dashboard .nav-toggle span {
  width: 14px;
  margin: 4px auto;
}

.theme-admin .admin-nav {
  gap: 10px;
}

.theme-admin .admin-nav a,
.theme-admin .admin-nav button,
.theme-admin .sidebar-logout {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(214, 244, 240, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 18px rgba(8, 20, 31, 0.14);
  font-size: 0.8rem;
}

.theme-admin .admin-nav a:hover,
.theme-admin .admin-nav a:focus-visible,
.theme-admin .admin-nav button:hover,
.theme-admin .admin-nav button:focus-visible,
.theme-admin .sidebar-logout:hover,
.theme-admin .sidebar-logout:focus-visible {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(159, 229, 230, 0.18));
  border-color: rgba(159, 229, 230, 0.32);
  box-shadow: 0 14px 24px rgba(8, 20, 31, 0.18);
}

.theme-admin .sidebar-logout {
  background: linear-gradient(135deg, rgba(217, 121, 98, 0.3), rgba(166, 79, 60, 0.22));
}

.theme-auth .auth-tabs {
  padding: 6px;
  border-radius: 16px;
}

.theme-auth .auth-tab {
  min-height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(247, 252, 252, 0.82));
  border: 1px solid rgba(16, 36, 50, 0.08);
  box-shadow: 0 10px 18px rgba(15, 29, 45, 0.06);
}

.theme-auth .auth-tab.is-active {
  background: linear-gradient(135deg, rgba(17, 135, 139, 0.14), rgba(22, 50, 79, 0.1));
  border-color: rgba(17, 135, 139, 0.18);
  box-shadow: 0 14px 24px rgba(15, 29, 45, 0.1);
}

.theme-dashboard .site-nav a:hover,
.theme-dashboard .site-nav a:focus-visible,
.theme-dashboard .site-nav button:hover,
.theme-dashboard .site-nav button:focus-visible,
.theme-admin .admin-nav a:hover,
.theme-admin .admin-nav a:focus-visible,
.theme-admin .admin-nav button:hover,
.theme-admin .admin-nav button:focus-visible,
.theme-admin .sidebar-logout:hover,
.theme-admin .sidebar-logout:focus-visible,
.theme-auth .auth-tab:hover,
.theme-auth .auth-tab:focus-visible,
.theme-dashboard .button:hover,
.theme-dashboard .button:focus-visible,
.theme-auth .button:hover,
.theme-auth .button:focus-visible,
.theme-admin .button:hover,
.theme-admin .button:focus-visible {
  transform: translateY(-1px);
}

.theme-dashboard .button-primary,
.theme-auth .button-primary,
.theme-admin .button-primary {
  box-shadow: 0 16px 34px rgba(22, 50, 79, 0.18);
}

.theme-dashboard .button-secondary,
.theme-admin .button-secondary {
  background: rgba(255, 255, 255, 0.88);
}

.theme-dashboard .filter-grid input:focus,
.theme-dashboard .filter-grid select:focus,
.theme-auth .auth-form input:focus,
.theme-auth .auth-form select:focus,
.theme-admin input:focus,
.theme-admin select:focus,
.theme-admin textarea:focus {
  outline: 2px solid var(--theme-focus);
  outline-offset: 1px;
}

@media (max-width: 760px) {
  .theme-dashboard .site-header {
    overflow: visible;
    padding: 8px 10px;
  }

  .theme-dashboard .representative-banner {
    margin: 10px 0 16px;
    padding: 12px 14px;
  }

  .theme-dashboard .representative-banner-details {
    flex-direction: column;
    gap: 6px;
  }

  .theme-dashboard .promotion-ticker {
    margin: 12px 0 16px;
    border-radius: 18px;
  }

  .theme-dashboard .promotion-ticker-item {
    min-width: 150px;
    height: 1in;
    padding: 6px 10px;
  }

  .theme-dashboard .promotion-ticker-item img {
    height: calc(1in - 12px);
    max-width: 68vw;
  }

  .theme-dashboard .site-nav {
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid rgba(16, 36, 50, 0.08);
    box-shadow: 0 22px 44px rgba(15, 29, 45, 0.12);
    gap: 10px;
    padding: 12px;
  }

  .theme-dashboard .site-nav a,
  .theme-dashboard .site-nav button {
    min-height: 36px;
    justify-content: flex-start;
  }

  .theme-dashboard .partner-brand-copy {
    grid-template-columns: 1fr 1fr;
    column-gap: 8px;
  }

  .theme-dashboard .partner-brand-copy strong {
    grid-column: 1 / 2;
  }

  .theme-dashboard .partner-brand-copy > span:nth-of-type(1) {
    grid-column: 2 / 3;
  }

  .theme-dashboard .partner-brand-copy > span:nth-of-type(2) {
    grid-column: 1 / -1;
  }

  .theme-dashboard .partner-brand-copy > span:nth-of-type(3) {
    grid-column: 1 / 2;
  }

  .theme-dashboard .partner-brand-copy > span:nth-of-type(4) {
    grid-column: 2 / 3;
  }

  .theme-dashboard .partner-brand-copy > span:nth-of-type(5) {
    grid-column: 1 / -1;
  }
}
