:root {
  color-scheme: light;
  --ink: #121615;
  --muted: #68716d;
  --panel: #ffffff;
  --line: rgba(18, 22, 21, 0.12);
  --green: #22a06b;
  --deep: #10201b;
  --coral: #f25f4c;
  --gold: #f1b84b;
  --aqua: #6ee7d8;
  --violet: #8f63ff;
  --space: #111318;
  --space-2: #221631;
  --shadow: 0 20px 60px rgba(18, 22, 21, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 850;
}

.button.primary {
  color: #ffffff;
  border-color: var(--deep);
  background: var(--deep);
}

.button.secondary {
  background: transparent;
}

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

.brand-lockup strong,
.brand-lockup span {
  display: block;
}

.brand-lockup strong,
.brand-lockup.compact span {
  font-weight: 900;
}

.brand-lockup:not(.compact) span:not(.orbit-logo) {
  color: var(--muted);
  font-size: 0.9rem;
}

.orbit-logo {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--coral) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 50%, transparent 0 13px, var(--green) 14px 16px, transparent 17px);
}

.orbit-logo::after {
  position: absolute;
  top: 7px;
  right: -3px;
  width: 11px;
  height: 11px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(110, 231, 216, 0.28), transparent 28%),
    radial-gradient(circle at 86% 28%, rgba(242, 95, 76, 0.22), transparent 24%),
    #f6f7f3;
}

.landing-shell {
  display: grid;
  align-content: center;
  min-height: 100vh;
  max-width: 820px;
  padding: 44px;
}

.landing-shell h1 {
  margin: 42px 0 16px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.9;
}

.landing-shell p {
  max-width: 640px;
  color: #3f4945;
  font-size: 1.2rem;
  line-height: 1.5;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.landing-actions .button {
  padding: 0 18px;
}

.admin-page {
  min-height: 100vh;
  background: #f6f7f3;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 243, 0.92);
  backdrop-filter: blur(18px);
}

.admin-topbar nav {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.admin-layout {
  padding: clamp(24px, 4vw, 52px);
}

.admin-hero {
  max-width: 860px;
  margin-bottom: 28px;
}

.admin-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.92;
}

.admin-hero p {
  color: #44504b;
  font-size: 1.12rem;
  line-height: 1.5;
}

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

.panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 16px 40px rgba(18, 22, 21, 0.08);
}

.panel.wide {
  grid-column: span 2;
}

.panel-heading,
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-heading h2,
.section-title h2 {
  margin: 0;
  font-size: 1.2rem;
}

.panel-heading span,
.section-title span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

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

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

label {
  display: grid;
  gap: 6px;
  color: #38433f;
  font-size: 0.82rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.mini-list,
.event-table {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mini-row,
.event-row {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf8;
}

.event-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mini-row strong,
.event-row strong {
  font-size: 0.95rem;
}

.mini-row span,
.event-row span,
.help-text {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.event-pill {
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font-size: 0.76rem;
  font-weight: 850;
}

.app-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 12%, rgba(110, 231, 216, 0.2), transparent 26%),
    radial-gradient(circle at 80% 8%, rgba(242, 95, 76, 0.18), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(143, 99, 255, 0.18), transparent 30%),
    linear-gradient(135deg, var(--space), var(--space-2));
  color: #fff;
}

.phone-shell {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: clamp(10px, 3vw, 26px);
}

.app-chrome {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(420px, 1.25fr);
  grid-template-areas:
    "header header"
    "hero map"
    "tools map"
    "presence feed";
  gap: 14px;
}

.app-header,
.hero-panel,
.map-card,
.location-tools,
.presence-strip,
.feed-section {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.app-header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 16px;
}

.app-header .orbit-logo::after {
  box-shadow: 0 0 0 4px var(--space);
}

.app-header a {
  color: var(--aqua);
  font-size: 0.88rem;
  font-weight: 850;
}

.hero-panel {
  grid-area: hero;
  padding: 18px;
}

.hero-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.92;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.search-row input {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
}

.search-row input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.icon-button {
  min-width: 74px;
  color: #111;
  border-color: var(--aqua);
  background: var(--aqua);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip-row button,
.location-tools button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.chip-row button.active {
  color: #111;
  border-color: var(--gold);
  background: var(--gold);
}

.map-card {
  grid-area: map;
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

#map {
  height: 100%;
  min-height: 560px;
  background: #111;
}

.leaflet-container {
  font: inherit;
}

.gravity-marker,
.cluster-marker {
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #111;
  background: var(--aqua);
  box-shadow: 0 0 0 8px rgba(110, 231, 216, 0.16), 0 12px 30px rgba(0, 0, 0, 0.35);
  font-weight: 950;
}

.cluster-marker {
  width: 42px;
  height: 42px;
  background: var(--gold);
}

.gravity-marker {
  width: 24px;
  height: 24px;
}

.alert-card {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 500;
  max-width: min(360px, calc(100% - 28px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(17, 19, 24, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.alert-card.hidden {
  display: none;
}

.alert-card strong {
  display: block;
  margin-bottom: 6px;
}

.alert-card span {
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 850;
}

.location-tools {
  grid-area: tools;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  align-self: start;
  padding: 12px;
}

.presence-strip {
  grid-area: presence;
  padding: 16px;
}

.presence-list {
  display: grid;
  gap: 9px;
}

.presence-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #111;
  font-weight: 950;
}

.presence-item strong,
.feed-card strong {
  display: block;
}

.presence-item span,
.feed-card p,
.feed-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.4;
}

.feed-section {
  grid-area: feed;
  padding: 16px;
}

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

.feed-card {
  display: grid;
  gap: 10px;
  min-height: 196px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
}

.feed-meta,
.feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.feed-chip {
  padding: 5px 8px;
  border-radius: 999px;
  color: #111;
  background: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
}

.feed-actions button {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  font-weight: 850;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #111;
  background: var(--aqua);
  box-shadow: var(--shadow);
  font-weight: 850;
}

@media (max-width: 980px) {
  .app-chrome {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "hero"
      "map"
      "tools"
      "presence"
      "feed";
  }

  .event-feed {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .panel.wide {
    grid-column: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-topbar nav {
    gap: 10px;
    font-size: 0.82rem;
  }

  .map-card,
  #map {
    min-height: 380px;
  }
}

@media (max-width: 520px) {
  .landing-shell,
  .admin-layout,
  .phone-shell {
    padding: 14px;
  }

  .admin-topbar {
    padding: 12px 14px;
  }

  .landing-shell h1,
  .admin-hero h1,
  .hero-panel h1 {
    font-size: 2.75rem;
  }

  .landing-actions,
  .landing-actions .button {
    width: 100%;
  }

  .event-row {
    grid-template-columns: 1fr;
  }
}

.business-onboarding-page {
  min-height: 100vh;
  color: #f7fbff;
  background:
    radial-gradient(circle at 52% 10%, rgba(110, 231, 216, 0.18), transparent 18%),
    radial-gradient(circle at 72% 22%, rgba(143, 99, 255, 0.24), transparent 26%),
    radial-gradient(circle at 30% 30%, rgba(242, 95, 76, 0.15), transparent 22%),
    radial-gradient(circle at 50% 50%, #090a0f 0 10%, #11131c 11% 17%, transparent 18%),
    linear-gradient(135deg, #05070b, #12111d 55%, #06080d);
}

.business-onboarding-page::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-radial-gradient(circle at 50% 42%, transparent 0 22px, rgba(255, 255, 255, 0.025) 23px 24px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
  mask-image: radial-gradient(circle at 50% 38%, rgba(0, 0, 0, 0.95), transparent 72%);
}

.horizon-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 14px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 7, 11, 0.74);
  backdrop-filter: blur(20px);
}

.horizon-topbar nav {
  display: flex;
  gap: 18px;
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 750;
}

.horizon-logo::after {
  box-shadow: 0 0 0 4px #05070b;
}

.horizon-shell {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 4vw, 56px);
}

.horizon-hero {
  max-width: 980px;
  margin-bottom: 28px;
}

.horizon-hero h1 {
  max-width: 940px;
  margin: 0 0 18px;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.horizon-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(247, 251, 255, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.5;
}

.onboarding-grid {
  display: grid;
  grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.horizon-steps,
.horizon-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(9, 10, 15, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.horizon-steps {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.step-node {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas:
    "num title"
    "num sub";
  gap: 2px 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: rgba(247, 251, 255, 0.62);
  background: rgba(255, 255, 255, 0.045);
}

.step-node span {
  grid-area: num;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #0b1014;
  background: rgba(110, 231, 216, 0.58);
  font-weight: 950;
}

.step-node strong {
  grid-area: title;
  color: #fff;
}

.step-node small {
  grid-area: sub;
}

.step-node.active {
  border-color: rgba(110, 231, 216, 0.42);
  color: rgba(247, 251, 255, 0.82);
  background:
    radial-gradient(circle at 12% 30%, rgba(110, 231, 216, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.08);
}

.step-node.active span {
  background: var(--aqua);
  box-shadow: 0 0 28px rgba(110, 231, 216, 0.38);
}

.horizon-panels {
  min-width: 0;
}

.horizon-panel {
  display: none;
  padding: clamp(18px, 3vw, 30px);
}

.horizon-panel.active {
  display: block;
}

.horizon-panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

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

.horizon-panel .panel-heading span {
  color: var(--aqua);
}

.panel-copy,
.oauth-card p,
.pin-preview p {
  color: rgba(247, 251, 255, 0.68);
  line-height: 1.5;
}

.horizon-form label,
.dev-confirmation label {
  color: rgba(247, 251, 255, 0.78);
}

.horizon-form input,
.horizon-form select,
.horizon-form textarea,
.dev-confirmation input {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7fbff;
  background: rgba(0, 0, 0, 0.22);
}

.horizon-form input::placeholder,
.dev-confirmation input::placeholder {
  color: rgba(247, 251, 255, 0.4);
}

.horizon-form .button.primary,
.horizon-panel .button.primary {
  color: #07100f;
  border-color: var(--aqua);
  background: var(--aqua);
  box-shadow: 0 0 32px rgba(110, 231, 216, 0.22);
}

.horizon-form .button.secondary,
.horizon-panel .button.secondary {
  color: #f7fbff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.oauth-card,
.dev-confirmation,
.pin-preview,
.review-card,
.outbox-preview {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.google-button {
  width: 100%;
  color: #0b1014;
  border-color: #fff;
  background: #fff;
}

.divider {
  display: grid;
  place-items: center;
  margin: 18px 0;
  color: rgba(247, 251, 255, 0.42);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.divider::before {
  width: 100%;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.12);
}

.divider span {
  margin-top: -10px;
  padding: 0 12px;
  background: #11131b;
}

.confirmation-link {
  display: block;
  margin-top: 12px;
  color: var(--aqua);
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  font-weight: 850;
}

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

.plan-card {
  display: grid;
  gap: 6px;
  min-height: 168px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  color: rgba(247, 251, 255, 0.7);
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
}

.plan-card strong {
  color: #fff;
  font-size: 1.15rem;
}

.plan-card span {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 950;
}

.plan-card small,
.plan-card em {
  font-style: normal;
}

.plan-card.active {
  border-color: rgba(110, 231, 216, 0.68);
  background:
    radial-gradient(circle at 15% 15%, rgba(110, 231, 216, 0.16), transparent 34%),
    rgba(110, 231, 216, 0.08);
  box-shadow: 0 0 34px rgba(110, 231, 216, 0.15);
}

.pin-preview {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(320px, 1fr);
  gap: 16px;
  align-items: stretch;
}

#businessPinMap {
  min-height: 300px;
  overflow: hidden;
  border-radius: 12px;
  background: #10131a;
}

.category-output {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-output span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(110, 231, 216, 0.26);
  border-radius: 999px;
  color: var(--aqua);
  background: rgba(110, 231, 216, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.review-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.review-card {
  display: grid;
  gap: 8px;
}

.review-card strong {
  font-size: 1.25rem;
}

.review-card span {
  color: rgba(247, 251, 255, 0.74);
}

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

.outbox-row {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
}

.outbox-row strong {
  color: #fff;
}

.outbox-row span,
.outbox-row small {
  color: rgba(247, 251, 255, 0.62);
}

.dashboard-shell {
  display: grid;
  gap: 22px;
}

.dashboard-hero h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.dashboard-login {
  display: block;
  max-width: 640px;
}

.dashboard-view {
  display: grid;
  gap: 16px;
}

.dashboard-view.hidden,
.dashboard-login.hidden {
  display: none;
}

.dashboard-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(9, 10, 15, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.dashboard-toolbar h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.toolbar-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.toolbar-actions label {
  display: grid;
  gap: 7px;
  min-width: min(320px, 52vw);
  color: rgba(247, 251, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 850;
}

.toolbar-actions select {
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.14);
  color: #f7fbff;
  background: rgba(0, 0, 0, 0.22);
}

.dashboard-toolbar .button.secondary {
  color: #f7fbff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

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

.dashboard-grid .horizon-panel {
  display: block;
}

.dashboard-grid .wide {
  grid-column: 1 / -1;
}

.status-panel {
  min-height: 100%;
}

.status-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.status-metrics div {
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.status-metrics strong {
  color: #fff;
  font-size: 1.2rem;
}

.status-metrics span {
  color: rgba(247, 251, 255, 0.6);
  font-size: 0.84rem;
  font-weight: 800;
}

#dashboardPinMap {
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #10131a;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(247, 251, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: capitalize;
}

.status-approved {
  border-color: rgba(110, 231, 216, 0.34);
  color: var(--aqua);
  background: rgba(110, 231, 216, 0.09);
}

.status-pending-review,
.status-pending-manual-review {
  border-color: rgba(201, 154, 33, 0.38);
  color: var(--gold);
  background: rgba(201, 154, 33, 0.1);
}

.status-rejected,
.status-suspended,
.status-canceled {
  border-color: rgba(242, 95, 76, 0.38);
  color: var(--coral);
  background: rgba(242, 95, 76, 0.1);
}

@media (max-width: 980px) {
  .onboarding-grid,
  .pin-preview,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .horizon-steps {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-selector {
    grid-template-columns: 1fr;
  }

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

  .toolbar-actions label {
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .horizon-topbar {
    align-items: flex-start;
  }

  .horizon-topbar nav {
    flex-direction: column;
    gap: 6px;
  }

  .horizon-shell {
    padding: 14px;
  }

  .horizon-hero h1 {
    font-size: 3.2rem;
  }

  .horizon-steps {
    grid-template-columns: 1fr;
  }

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

  .event-actions {
    justify-content: start;
  }
}

/* Event Horizon v2 visual system */
:root {
  --eh-bg: #050910;
  --eh-bg-2: #07111e;
  --eh-panel: rgba(13, 25, 40, 0.78);
  --eh-panel-2: rgba(18, 31, 50, 0.86);
  --eh-line: rgba(148, 169, 204, 0.16);
  --eh-text: #f4f7ff;
  --eh-soft: rgba(226, 235, 255, 0.68);
  --eh-muted: rgba(226, 235, 255, 0.46);
  --eh-violet: #7438ff;
  --eh-violet-2: #a855ff;
  --eh-pink: #ff426c;
  --eh-orange: #ff8c3d;
  --eh-blue: #4d85ff;
  --eh-green: #66d697;
  --eh-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.landing-page,
.event-admin-page,
.business-dashboard-page.dashboard-authenticated,
.consumer-page {
  color: var(--eh-text);
  background:
    radial-gradient(circle at 20% 16%, rgba(116, 56, 255, 0.18), transparent 32%),
    radial-gradient(circle at 82% 22%, rgba(255, 66, 108, 0.12), transparent 28%),
    linear-gradient(135deg, #050910 0%, #06111d 52%, #081525 100%);
}

.cinematic-shell,
.portal-layout,
.consumer-shell {
  position: relative;
  isolation: isolate;
}

.cinematic-shell::before,
.portal-layout::before,
.consumer-shell::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.85) 0 1px, transparent 1.6px),
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 48% 7%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1.6px),
    radial-gradient(circle at 76% 12%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.5px),
    linear-gradient(rgba(120, 153, 210, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 153, 210, 0.04) 1px, transparent 1px);
  background-size: 260px 180px, 320px 220px, 410px 250px, 380px 210px, 58px 58px, 58px 58px;
}

.button.primary,
.glow-button {
  color: #fff;
  border-color: rgba(142, 91, 255, 0.9);
  background: linear-gradient(135deg, var(--eh-violet), #6623d9);
  box-shadow: 0 12px 34px rgba(116, 56, 255, 0.32);
}

.button.secondary,
.glass-button {
  color: var(--eh-text);
  border-color: rgba(226, 235, 255, 0.22);
  background: rgba(255, 255, 255, 0.055);
}

.event-logo {
  display: inline-flex;
  align-items: center;
  width: 190px;
  min-height: 54px;
  color: #fff;
}

.event-logo.compact {
  width: 150px;
  min-height: 43px;
}

.event-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 70, 120, 0.16));
}

.event-logo-mark,
.event-logo-text {
  display: none;
}

.landing-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.cinematic-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: none;
  padding: 0 clamp(18px, 3.3vw, 58px) 30px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 58%, rgba(77, 133, 255, 0.2), transparent 30%),
    linear-gradient(180deg, transparent 0 53%, rgba(255, 92, 71, 0.18) 54%, rgba(6, 17, 29, 0.2) 72%, rgba(5, 9, 16, 0.92) 100%);
}

.cinematic-shell::after {
  position: absolute;
  left: 30%;
  right: -5%;
  bottom: 28%;
  z-index: -1;
  height: 42%;
  content: "";
  border: 3px solid rgba(77, 133, 255, 0.8);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  filter: drop-shadow(0 0 22px rgba(77, 133, 255, 0.62));
  transform: rotate(-8deg);
  transform-origin: bottom center;
}

.landing-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 92px;
}

.landing-nav nav,
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
}

.landing-nav nav {
  justify-content: center;
  color: rgba(244, 247, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.landing-nav-actions {
  justify-content: end;
  color: rgba(244, 247, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 750;
}

.landing-nav-actions .button,
.landing-actions .button {
  min-height: 44px;
  padding: 0 24px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.96fr) minmax(320px, 0.64fr);
  gap: clamp(24px, 5vw, 90px);
  align-items: center;
  flex: 1;
  min-height: 580px;
  padding-top: 18px;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 30px;
  padding: 0 18px;
  border: 1px solid rgba(226, 235, 255, 0.2);
  border-radius: 999px;
  color: rgba(244, 247, 255, 0.86);
  background: rgba(9, 19, 32, 0.74);
  font-size: 0.88rem;
}

.landing-copy h1 {
  margin: 0 0 24px;
  color: #f5f7ff;
  font-size: clamp(3.35rem, 6.4vw, 7.1rem);
  line-height: 0.99;
  letter-spacing: 0;
}

.landing-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, #ff4e76 0%, #b853ff 54%, #5a74ff 100%);
  background-clip: text;
}

.landing-copy p:not(.hero-pill) {
  max-width: 560px;
  color: rgba(244, 247, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.55;
}

.landing-actions {
  gap: 14px;
  margin-top: 30px;
}

.phone-preview {
  display: grid;
  place-items: center;
  min-height: 560px;
  perspective: 1100px;
}

.phone-frame {
  position: relative;
  width: min(320px, 74vw);
  min-height: 575px;
  padding: 18px 16px 16px;
  border: 5px solid rgba(15, 18, 27, 0.98);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, 0.94), rgba(9, 13, 24, 0.98)),
    #0a101c;
  box-shadow: -26px 26px 90px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: rotate(7deg);
}

.phone-status,
.phone-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(244, 247, 255, 0.8);
  font-size: 0.73rem;
  font-weight: 800;
}

.mini-map {
  position: relative;
  height: 210px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 60% 48%, rgba(77, 133, 255, 0.28), transparent 18%),
    linear-gradient(35deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(125deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #0d1b2d;
  background-size: auto, 38px 38px, 44px 44px, auto;
}

.map-pin,
.activity-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 950;
}

.map-pin {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 70, 106, 0.82);
  box-shadow: 0 0 0 9px rgba(255, 70, 106, 0.14), 0 0 24px rgba(255, 70, 106, 0.42);
}

.pin-a { left: 24%; top: 26%; }
.pin-b { left: 73%; top: 22%; }
.pin-c { left: 66%; top: 60%; }
.pin-d { left: 18%; top: 63%; }
.pin-main {
  left: 48%;
  top: 44%;
  background: var(--eh-blue);
  box-shadow: 0 0 0 12px rgba(77, 133, 255, 0.18), 0 0 32px rgba(77, 133, 255, 0.72);
}

.nearby-card {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(226, 235, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
}

.nearby-card > span {
  color: rgba(244, 247, 255, 0.76);
  font-size: 0.82rem;
}

.nearby-image,
.event-visual {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 110, 72, 0.08), rgba(6, 13, 24, 0.72)),
    radial-gradient(circle at 62% 40%, rgba(255, 66, 108, 0.3), transparent 24%),
    linear-gradient(150deg, #241b38 0%, #0f2540 48%, #1a1224 100%);
}

.nearby-image {
  height: 82px;
  border-radius: 13px;
}

.nearby-card strong {
  font-size: 0.98rem;
}

.nearby-card small {
  color: rgba(244, 247, 255, 0.62);
}

.mini-avatars {
  display: flex;
  align-items: center;
}

.mini-avatars i,
.mini-avatars em {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-right: -6px;
  border: 2px solid #111927;
  border-radius: 50%;
  color: #fff;
  background: var(--eh-violet);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
}

.mini-cta {
  display: grid;
  place-items: center;
  min-height: 36px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--eh-violet), #6424d7);
  font-size: 0.8rem;
  font-weight: 850;
}

.phone-tabs {
  margin-top: 16px;
  color: rgba(244, 247, 255, 0.58);
  font-size: 0.66rem;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: -20px;
  padding: 0 clamp(8px, 2vw, 40px);
}

.feature-rail article {
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.feature-rail strong {
  font-size: 0.96rem;
}

.feature-rail small {
  max-width: 190px;
  color: rgba(244, 247, 255, 0.58);
  line-height: 1.4;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(137, 92, 255, 0.42);
  border-radius: 50%;
  background: rgba(116, 56, 255, 0.14);
  box-shadow: 0 0 32px rgba(116, 56, 255, 0.18);
}

.feature-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--eh-violet-2);
  border-radius: 4px;
}

.location-icon::before {
  border-color: #ff496d;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pulse-icon::before {
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(116, 56, 255, 0.24);
}

.calendar-icon::before {
  border-radius: 3px;
}

.friends-icon::before {
  border-radius: 50%;
  box-shadow: 12px 4px 0 -5px var(--eh-violet-2), -12px 4px 0 -5px var(--eh-violet-2);
}

.trusted-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 42px;
  color: rgba(244, 247, 255, 0.55);
}

.trusted-strip > span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 235, 255, 0.18), transparent);
}

.trusted-strip p {
  margin: 0;
  font-size: 1.04rem;
}

.trusted-logos {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
  padding: 0 28px;
}

.trusted-logos strong {
  color: rgba(244, 247, 255, 0.42);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.dashboard-authenticated .dashboard-public-topbar,
.dashboard-authenticated .dashboard-auth-copy,
.dashboard-authenticated .dashboard-login {
  display: none;
}

.dashboard-authenticated .dashboard-shell {
  max-width: none;
  padding: 0;
}

.portal-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  min-height: 100vh;
}

.portal-sidebar {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 18px;
  min-height: 100vh;
  padding: 24px 18px;
  border-right: 1px solid var(--eh-line);
  background: rgba(5, 13, 24, 0.74);
  box-shadow: 18px 0 60px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(24px);
}

.sidebar-kicker {
  margin: 8px 0 -4px;
  color: rgba(226, 235, 255, 0.44);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidebar-nav {
  display: grid;
  align-content: start;
  gap: 5px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(226, 235, 255, 0.66);
  font-size: 0.9rem;
  font-weight: 760;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
  color: #fff;
  background: rgba(116, 56, 255, 0.26);
}

.sidebar-plan,
.sidebar-help {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--eh-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.sidebar-plan small,
.sidebar-plan span,
.sidebar-help small {
  color: rgba(226, 235, 255, 0.58);
  font-size: 0.78rem;
}

.sidebar-plan strong {
  color: #fff;
  font-size: 1.16rem;
}

.sidebar-plan .button {
  width: 100%;
  min-height: 36px;
  font-size: 0.78rem;
}

.sidebar-help {
  grid-template-columns: 34px 1fr;
  align-items: center;
}

.portal-main {
  min-width: 0;
  padding: 24px clamp(18px, 3vw, 38px) 34px;
}

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

.portal-header h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2.3rem);
  font-weight: 820;
}

.portal-header p {
  margin: 0;
  color: rgba(226, 235, 255, 0.62);
}

.portal-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 10px;
}

.portal-header-actions label {
  min-width: min(300px, 42vw);
  color: rgba(226, 235, 255, 0.62);
}

.portal-header-actions select,
.consumer-search input,
.event-admin-page input,
.event-admin-page select,
.event-admin-page textarea {
  border-color: rgba(226, 235, 255, 0.14);
  color: #f4f7ff;
  background: rgba(3, 8, 15, 0.42);
}

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

.metric-card,
.portal-card {
  border: 1px solid var(--eh-line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(9, 19, 32, 0.82);
  box-shadow: var(--eh-shadow);
  backdrop-filter: blur(20px);
}

.metric-card {
  position: relative;
  min-height: 112px;
  padding: 18px 18px 14px;
  overflow: hidden;
}

.metric-card span,
.metric-card small {
  display: block;
  color: rgba(226, 235, 255, 0.68);
  font-size: 0.84rem;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.metric-card small {
  margin-top: 8px;
  color: #46d88b;
  font-weight: 850;
}

.metric-card svg {
  position: absolute;
  right: 14px;
  bottom: 22px;
  width: 112px;
  height: 38px;
}

.metric-card polyline {
  fill: none;
  stroke: var(--eh-violet-2);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.metric-card.accent-red polyline {
  stroke: var(--eh-pink);
}

.metric-card.green-line polyline {
  stroke: var(--eh-green);
}

.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 14px;
  margin-top: 14px;
}

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

.portal-card {
  padding: 18px;
}

.portal-card .panel-heading h2 {
  color: #fff;
  font-size: 1rem;
}

.portal-card .panel-heading span,
.portal-card .panel-heading a {
  color: rgba(226, 235, 255, 0.62);
  font-size: 0.8rem;
}

.chart-card {
  min-height: 284px;
}

.line-chart {
  min-height: 225px;
}

.line-chart svg {
  width: 100%;
  height: 224px;
}

.chart-grid line {
  stroke: rgba(226, 235, 255, 0.08);
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.chart-line-violet {
  stroke: var(--eh-violet-2);
}

.chart-line-red {
  stroke: var(--eh-pink);
}

.chart-labels text {
  fill: rgba(226, 235, 255, 0.48);
  font-size: 13px;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: rgba(226, 235, 255, 0.7);
  font-size: 0.82rem;
}

.violet-dot,
.red-dot,
.interest-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.violet-dot { background: var(--eh-violet-2); }
.red-dot { background: var(--eh-pink); }

.top-events-list,
.recent-checkins-list,
.interest-list,
.upcoming-list {
  display: grid;
  gap: 10px;
}

.top-event-row,
.recent-checkin-row,
.upcoming-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(226, 235, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.top-event-row strong,
.recent-checkin-row strong,
.upcoming-row strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}

.top-event-row span,
.recent-checkin-row span,
.upcoming-row span {
  color: rgba(226, 235, 255, 0.58);
  font-size: 0.78rem;
}

.top-event-row em,
.upcoming-row em {
  min-width: 46px;
  padding: 7px 10px;
  border-radius: 8px;
  color: rgba(226, 235, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.event-thumb,
.upcoming-thumb {
  width: 54px;
  height: 46px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 120, 60, 0.08), rgba(6, 13, 24, 0.7)),
    radial-gradient(circle at 60% 35%, rgba(255, 66, 108, 0.38), transparent 24%),
    linear-gradient(135deg, #32224b, #12243e);
}

.subtle-link {
  display: block;
  margin-top: 14px;
  color: var(--eh-violet-2);
  font-size: 0.84rem;
  font-weight: 850;
  text-align: center;
}

.interest-layout {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 16px;
  align-items: center;
}

.donut-chart {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0a1727 0 40%, transparent 41%),
    conic-gradient(var(--eh-violet) 0 42%, var(--eh-blue) 42% 57%, var(--eh-pink) 57% 72%, var(--eh-orange) 72% 84%, #8894aa 84% 100%);
}

.donut-chart span {
  color: rgba(226, 235, 255, 0.82);
  font-size: 0.73rem;
  font-weight: 850;
}

.interest-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-height: 25px;
}

.interest-row strong {
  color: rgba(226, 235, 255, 0.78);
  font-size: 0.82rem;
}

.interest-row em {
  color: rgba(226, 235, 255, 0.62);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 850;
}

.dot-0 { background: var(--eh-violet); }
.dot-1 { background: var(--eh-blue); }
.dot-2 { background: var(--eh-pink); }
.dot-3 { background: var(--eh-orange); }
.dot-4 { background: #9ca7bb; }

.mini-location-map,
.activity-map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 235, 255, 0.08);
  border-radius: 10px;
  background:
    radial-gradient(circle at 54% 44%, rgba(116, 56, 255, 0.22), transparent 17%),
    linear-gradient(35deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(125deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #0d1b2d;
  background-size: auto, 38px 38px, 44px 44px, auto;
}

.mini-location-map {
  height: 118px;
  margin-bottom: 10px;
}

.mini-location-map .pin-main {
  left: 50%;
  top: 45%;
}

.location-preview-card p {
  margin: 0 0 4px;
  color: rgba(226, 235, 255, 0.72);
  font-size: 0.86rem;
}

.location-preview-card small {
  color: rgba(226, 235, 255, 0.54);
}

.operations-section {
  margin-top: 18px;
}

.operations-section .section-title {
  margin-bottom: 12px;
}

.operations-section .section-title h2 {
  color: #fff;
  font-size: 1.15rem;
}

.operations-grid {
  margin-top: 0;
}

.event-admin-page {
  min-height: 100vh;
}

.event-admin-page .portal-main {
  padding-top: 26px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 14px;
  margin-top: 14px;
}

.admin-dashboard-grid .wide {
  grid-column: span 1;
}

.activity-map {
  height: 278px;
}

.activity-node {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(226, 235, 255, 0.26);
  background: rgba(116, 56, 255, 0.72);
  box-shadow: 0 0 0 16px rgba(116, 56, 255, 0.12), 0 0 34px rgba(116, 56, 255, 0.34);
}

.activity-node.n1 { left: 12%; top: 18%; }
.activity-node.n2 { left: 31%; top: 52%; }
.activity-node.n3 { left: 58%; top: 38%; }
.activity-node.n4 { left: 83%; top: 64%; }

.event-admin-page .panel {
  border-color: var(--eh-line);
  border-radius: 12px;
  color: var(--eh-text);
  background: rgba(9, 19, 32, 0.82);
  box-shadow: var(--eh-shadow);
}

.event-admin-page .panel-heading h2,
.event-admin-page .panel h2 {
  color: #fff;
}

.event-admin-page label {
  color: rgba(226, 235, 255, 0.76);
}

.event-admin-page .mini-row,
.event-admin-page .event-row {
  border-color: rgba(226, 235, 255, 0.09);
  color: var(--eh-text);
  background: rgba(255, 255, 255, 0.045);
}

.event-admin-page .mini-row span,
.event-admin-page .event-row span,
.event-admin-page .help-text {
  color: rgba(226, 235, 255, 0.58);
}

.approvals-card {
  max-height: 620px;
  overflow: hidden;
}

.review-queue {
  max-height: 540px;
  overflow: auto;
  padding-right: 4px;
}

.review-queue .event-row {
  grid-template-columns: 1fr;
  align-items: start;
}

.review-queue .event-actions {
  justify-content: start;
}

.review-queue .status-chip {
  min-height: 36px;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  height: 230px;
  padding-top: 10px;
}

.bar-column {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 9px;
  height: 100%;
  align-items: end;
}

.bar-column i {
  display: block;
  min-height: 18px;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(180deg, var(--eh-violet-2), #4e2abf);
}

.bar-column span {
  color: rgba(226, 235, 255, 0.52);
  font-size: 0.76rem;
  text-align: center;
}

.category-bars {
  display: grid;
  gap: 14px;
}

.category-bar-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: center;
}

.category-bar-row span,
.category-bar-row strong {
  color: rgba(226, 235, 255, 0.78);
  font-size: 0.84rem;
}

.category-bar-row strong {
  text-align: right;
}

.category-bar-row div {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 235, 255, 0.09);
}

.category-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--eh-violet), var(--eh-violet-2));
}

.admin-tools-grid {
  margin-top: 0;
}

.consumer-shell {
  min-height: 100vh;
  padding: 14px;
}

.consumer-browser {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 14px;
  max-width: 1500px;
  min-height: calc(100vh - 28px);
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--eh-line);
  border-radius: 18px;
  background: rgba(6, 15, 27, 0.82);
  box-shadow: var(--eh-shadow);
}

.consumer-nav,
.consumer-layout,
.social-strip {
  grid-column: 1;
  grid-area: auto;
}

.consumer-map-card,
.recommendations-panel,
.upcoming-panel {
  grid-area: auto;
}

.consumer-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(240px, 330px) auto;
  gap: 16px;
  align-items: center;
}

.consumer-nav nav {
  display: flex;
  gap: 18px;
  align-items: center;
  color: rgba(226, 235, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 780;
}

.consumer-nav nav a.active {
  color: #fff;
  border-bottom: 2px solid var(--eh-violet-2);
}

.consumer-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.pulse-button {
  min-width: 64px;
  color: #fff;
  border-color: rgba(116, 56, 255, 0.66);
  background: rgba(116, 56, 255, 0.32);
}

.consumer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: 14px;
}

.discovery-pane {
  min-width: 0;
}

.category-tabs {
  margin: 0 0 12px;
}

.category-tabs button {
  border-radius: 8px;
  text-transform: capitalize;
}

.category-tabs button.active {
  color: #fff;
  border-color: var(--eh-violet);
  background: linear-gradient(135deg, var(--eh-violet), #5b28d7);
}

.consumer-map-card {
  min-height: 252px;
  border-radius: 12px;
}

.consumer-map-card #map {
  min-height: 252px;
}

.consumer-page .leaflet-tile {
  filter: saturate(0.65) hue-rotate(175deg) brightness(0.58) contrast(1.35);
}

.consumer-page .leaflet-control-container,
.business-dashboard-page .leaflet-control-container {
  filter: invert(1) hue-rotate(180deg);
}

.map-search-button {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 500;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(226, 235, 255, 0.18);
  border-radius: 50%;
  background: rgba(5, 13, 24, 0.74);
}

.map-search-button::before {
  position: absolute;
  inset: 11px;
  content: "";
  border: 2px solid rgba(226, 235, 255, 0.75);
  border-radius: 50%;
}

.map-search-button::after {
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 8px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: rgba(226, 235, 255, 0.75);
  transform: rotate(45deg);
}

.consumer-page .location-tools {
  margin: 10px 0 4px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.recommendations-panel,
.upcoming-panel,
.event-detail-panel,
.social-strip {
  border: 1px solid var(--eh-line);
  border-radius: 12px;
  background: rgba(9, 19, 32, 0.82);
  box-shadow: var(--eh-shadow);
}

.recommendations-panel,
.upcoming-panel,
.social-strip {
  padding: 16px;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
}

.recommendation-card {
  min-height: 268px;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
}

.recommendation-card.selected,
.upcoming-row.selected {
  border-color: rgba(116, 56, 255, 0.64);
  box-shadow: 0 0 0 1px rgba(116, 56, 255, 0.28), 0 20px 60px rgba(0, 0, 0, 0.32);
}

.recommendation-image {
  min-height: 118px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

.event-visual-tasting,
.event-visual-winery {
  background:
    linear-gradient(180deg, rgba(255, 119, 66, 0.12), rgba(6, 13, 24, 0.72)),
    radial-gradient(circle at 62% 34%, rgba(255, 66, 108, 0.36), transparent 24%),
    linear-gradient(135deg, #43253a, #17283f 58%, #0a101c);
}

.event-visual-food {
  background:
    linear-gradient(180deg, rgba(255, 158, 53, 0.14), rgba(6, 13, 24, 0.72)),
    radial-gradient(circle at 58% 38%, rgba(255, 140, 61, 0.42), transparent 24%),
    linear-gradient(135deg, #402214, #152a35);
}

.event-visual-music {
  background:
    linear-gradient(180deg, rgba(255, 66, 108, 0.16), rgba(6, 13, 24, 0.76)),
    radial-gradient(circle at 58% 38%, rgba(116, 56, 255, 0.44), transparent 24%),
    linear-gradient(135deg, #26173a, #10243d);
}

.event-visual-wellness {
  background:
    linear-gradient(180deg, rgba(55, 215, 178, 0.14), rgba(6, 13, 24, 0.76)),
    radial-gradient(circle at 58% 38%, rgba(55, 215, 178, 0.38), transparent 24%),
    linear-gradient(135deg, #12352e, #16243a);
}

.event-visual-market {
  background:
    linear-gradient(180deg, rgba(77, 133, 255, 0.16), rgba(6, 13, 24, 0.76)),
    radial-gradient(circle at 58% 38%, rgba(255, 140, 61, 0.28), transparent 24%),
    linear-gradient(135deg, #1a2442, #332039);
}

.rating-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.rating-row strong {
  color: #ffb23f;
}

.rating-row span {
  color: rgba(226, 235, 255, 0.62);
  font-size: 0.82rem;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: rgba(226, 235, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
  text-transform: capitalize;
}

.upcoming-panel {
  margin-top: 12px;
}

.upcoming-row {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  cursor: pointer;
}

.upcoming-thumb {
  width: 48px;
  height: 48px;
  background-size: cover;
  background-position: center;
}

.event-detail-panel {
  position: sticky;
  top: 14px;
  align-self: start;
  overflow: hidden;
}

.event-detail-hero {
  min-height: 275px;
  background-size: cover;
  background-position: center;
}

.event-detail-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.back-link {
  color: rgba(226, 235, 255, 0.58);
  font-size: 0.82rem;
}

.event-detail-body h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(226, 235, 255, 0.66);
  font-size: 0.9rem;
}

.event-detail-body p {
  margin: 0;
  color: rgba(226, 235, 255, 0.72);
  line-height: 1.55;
}

.detail-actions {
  display: flex;
  gap: 10px;
}

.detail-actions .button {
  flex: 1;
  min-height: 44px;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.detail-info-grid article {
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 13px;
  border: 1px solid rgba(226, 235, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.detail-info-grid strong {
  color: #fff;
}

.detail-info-grid span {
  color: rgba(226, 235, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.35;
}

.detail-info-grid a,
.detail-info-grid button {
  width: max-content;
  border: 0;
  padding: 0;
  color: var(--eh-violet-2);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 850;
}

.detail-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid rgba(226, 235, 255, 0.09);
}

.detail-tabs span {
  padding-bottom: 11px;
  color: rgba(226, 235, 255, 0.58);
  font-size: 0.84rem;
}

.detail-tabs .active {
  color: #fff;
  border-bottom: 2px solid var(--eh-violet-2);
}

.detail-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
}

.friends-going {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(226, 235, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.friends-going > div {
  display: flex;
  align-items: center;
}

.mini-avatar {
  width: 30px;
  height: 30px;
  margin-right: -7px;
  border: 2px solid #0a1727;
  color: #fff;
  font-size: 0.75rem;
}

.social-strip {
  margin-top: 0;
}

.social-strip .presence-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .phone-preview {
    min-height: 460px;
  }

  .phone-frame {
    transform: rotate(2deg);
  }

  .consumer-layout,
  .portal-grid,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .event-detail-panel {
    position: static;
  }
}

@media (max-width: 980px) {
  .portal-layout {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: static;
    min-height: auto;
    grid-template-rows: auto;
  }

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

  .metric-grid,
  .feature-rail,
  .trusted-logos,
  .social-strip .presence-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consumer-nav {
    grid-template-columns: 1fr;
  }

  .consumer-nav nav,
  .landing-nav nav,
  .landing-nav-actions {
    flex-wrap: wrap;
    justify-content: start;
  }

  .landing-nav {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
  }
}

@media (max-width: 680px) {
  .cinematic-shell,
  .consumer-shell {
    padding: 12px;
  }

  .landing-copy h1 {
    font-size: 3.08rem;
  }

  .feature-rail,
  .trusted-logos,
  .metric-grid,
  .detail-info-grid,
  .detail-bottom,
  .interest-layout,
  .recommendation-grid,
  .social-strip .presence-list {
    grid-template-columns: 1fr;
  }

  .portal-main,
  .consumer-browser,
  .event-detail-body {
    padding: 14px;
  }

  .portal-header,
  .portal-header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .portal-header-actions label {
    min-width: 0;
  }

  .phone-frame {
    width: min(300px, 90vw);
    min-height: 540px;
  }

  .event-detail-hero {
    min-height: 210px;
  }
}
